Hacker News new | past | comments | ask | show | jobs | submit | ternaryoperator's comments login

That's right. One of the knocks on those early versions was that every new release broke previous code in significant ways. Which is one reason that v. 1.0 was so important to the community. They could finally commit code using a stable language.

Agreed. The author being "Michael" with no last name and no bio, the lack of any technical description of Notepad++, the lack of any comment from Don Ho, etc.


Search in HN for Typst and you'll see this link is routinely posted and as little as three months ago got nearly 200 comments.


price + (10.percent * 2) looks like 12: If 10.percent = 1, 1*2 = 2. 10 + 2 = 12.

Under the usual rules of operator precedence, that would be the expected answer (multiplication having higher precedence than addition).


How does computer know it's 10% of 10? Unless specified, 10% is 0.1 Or am I an idiot and missing something here


If you oveload "+" to mean whatever-you-want, it's possible. Using bad python [1], it's something like:

  def sum(x,y):
    if is_number(x) and is_number(y):
      return x + y
    elif is_number(x) and is_percent(y):
      return x * (1 + y.value/100)
    else:
      raise fatal_error
I don't claim it's a good idea, but it's possible if the language allows operator overload.

[1] Sorry, my main current language is Racket, but I thought that python-like is easier to read for most people, in spite people that likes python can find like 10 error in 7 LOC.


> The most batteries included multiplatform language right now is _by far_ Kotlin and nothing else is remotely close.

Kotlin is nowhere close to Java in this comparison. For all intents, there is just one realistic IDE for Kotlin. And realistically only one build system. And the community is very small. Java, by comparison, has many IDEs to choose from, many build systems, and a very large community to answer questions.

K


> I'm able to customize almost every aspect I need to.

Are you, though? I've not seen a single site that I know to be published with Obsidian Publish that does not have the content graph. And when I checked out Publish, I found no way to get rid of it and use that real estate for content of greater value to the reader. Has that changed?


There are settings, but at the end of the day it's just html/css/js. The publish site is not the easiest to customize, but it's possible.

We can create a js and css file.

I didn't need/want to change much, but I know I could. I just added tags, creation and update times, my newsletter form, plausible analytics etc.

One feature I lack is the ability to define canonical links..


Huh, I hadn't even noticed that the content graph was in the corner of every Obsidian docs page. That's a bit pointless.


I believe there was some custom CSS extension? If so, just add `.graph-view-outer { display: none; }` or similar.


Agreed on all points except #3 re the core libraries. Coming from the Java ecosystem, it was a bit of a shock to see how small the standard libraries are. For example, the minuscule collections library, among others.


> Giving them a relatively small amount of money, say $10,000 per year

We must live in different universes. In mine, $10K is not "a small amount of money" nor even close.


If you are wealthy enough to throw parties with security, guest lists, 200+ people, it's a rounding error. Extremely cost effective and useful. People purchase palatial estates primarily to throw huge parties and events, to impress the elites. It's not usually to walk around a mansion for your own private enjoyment (at least for those with penthouses in major cities).


he didn't write "a small amount of money" ...


> The telephone companies make money based on minutes of usage.

I don't see how that could be correct. Once you pay your monthly fee, the fewer minutes you tie up the company's resources the better for them. That's true too for pay-ahead plans.


Your provider get paid by the caller's provider for taking the call, and the marginal costs of a phone call are close to zero.


My Mac is constantly bugging me to install OS updates. Same with my iPad and my iPhone. Apple gives you no option to skip the updates. The only way to avoid the constant carping is to allow Apple to do the update automatically, which is not by any means having control of your own devices.


This is just simply untrue. Go to System Settings, General, Software Update, then click on the "i" next to Automatic. Turn off "Check for updates".


Your suggestion doesn't solve the problem. I want to know about updates without being forced to install them to avoid being badgered. AFAIK that's not possible.


> My Mac is constantly bugging me to install OS updates. Same with my iPad and my iPhone. Apple gives you no option to skip the updates. The only way to avoid the constant carping is to allow Apple to do the update automatically, which is not by any means having control of your own devices.

I've re-read what you wrote several times, and I can't help but come to the same conclusion that the problem you're reporting is related to "constantly bugging" and "Apple gives you no option to skip the updates". Turning off the updates solves both of these.

Now you say you want the harping, but don't want the automatic updates. That's easy: "Check for updates" is on, "Install macOS updates" is off, "Install Security Responses and system files" is off. Now you'll be alerted but the updates won't happen automatically.

I'm not sure if you really couldn't figure this out, or if you're just venting a bit, so I'm happy to give the benefit of the doubt. Either way, now you'll have exactly what you want :)


I think GP wants to have the notifications, and have the option to "skip and don't bother me again with this version", instead of having the same OS upgrade notification popping up every once a while.

It seems like a valid use case (except it goes against Apple's policy of encouraging people to upgrade), but awfully awkward in the context of disputing "(Mac) doesn't bother me for anything and lets me do what I want".


There’s no OS way to do this, but you can certainly kill all the nagging and find out or subscribe to updates through other means.


Idk what you tried, but it's never bothered me. I went out of date without realizing.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: