6,826 karma · joined Apr 19, 2017 (9y ago) · 1,859 submissions
comment 9mo ago · link · parent
(function() print("Test1") end)(); -- That semicolon is required
(function() print("Test2") end)()
Tangential, but I sidestepped this ambiguity in a language I've been designing on the side, via the simple rule that the function being called and the opening parenthesis can't have whitespace between them (e.g. "f()" is fine but "f ()" or "f\n()" is not). Ditto for indexing ("x[y]"). If these characters are encountered after whitespace, the parser considers it the beginning of a new expression.By sacrificing this (mostly unused, in practice) syntactic flexibility, I ended up not needing any sort of "semicolon insertion" logic - we just parse expressions greedily until they're "done" (i.e. until the upcoming token is not an operator).
comment 9mo ago · link · parent
comment 9mo ago · link · parent
Or is your reasoning that they will be upset about not having invented it themselves (similar to those conspiracy theories about, the cure for cancer existing but scientists withholding it so they can keep doing treatment research)?
comment 9mo ago · link · parent
In fact it's the language HackerNews is written in.
comment 9mo ago · link · parent
Preparing for chess tournaments is always hard work. But the point is that he no longer has motivation to do that hard work to participate in the championship, since he's won it so many times and the result is never in doubt.
He said previously that he would defend his title again if his challenger was Alireza Firouzja. In other words there are certain things which would've caused him to be more interested /care more about competing, and thus motivated him to do that hard work. Make any sense?
comment 9mo ago · link · parent
Not sure I follow. Are you saying that AI researchers would be out of a job if scaling up transformers leads to AGI? How? Or am I misunderstanding your point.
comment 9mo ago · link · parent
comment 9mo ago · link · parent
comment 9mo ago · link · parent
IMO Git is not an unassailable juggernaut - I think if a new SCM came along and it had a frontend like GitHub and a VSCode plugin, that alone would be enough for a many users to adopt it (barring users who are heavy customers of GitHub Actions). It's just that nobody has decided to do this, since there's no money in it and most people are fine with Git.
comment 9mo ago · link · parent
Of the languages listed, Elixir, Python and Rust can all achieve this combination. Elixir has a pipe operator built-in, and Python and Rust have operator overloading, so you could overload the bitwise | operator (or any other operator you want) to act as a pipeline operator. And Rust and Elixir have macros, and Python has decorators, which can be used to automatically add logging/tracing to functions.
It's not automatic for all functions, though having to be explicit/selective about what is logged/traced is generally considered a good thing. It's rare that real-world software wants to log/trace literally everything, since it's not only costly (and slow) but also a PII risk.
comment 9mo ago · link · parent
This framing is exactly how lots of people in the industry are thinking about AI right now, but I think it's wrong.
The way to adopt new science, new technology, new anything really, has always been that you validate it for small use cases, then expand usage from there. Test on mice, test in clinical trials, then go to market. There's no need to speculate about "too much" or "too little" usage. The right amount of usage is knowable - it's the amount which you've validated will actually work for your use case, in your industry, for your product and business.
The fact that AI discourse has devolved into a Pascal's Wager is saddening to see. And when people frame it this way in earnest, 100% of the time they're trying to sell me something.
comment 9mo ago · link · parent
Again, you're arguing a distinction which the author agrees with. From the article:
> Most people who enjoy making art should not try to make it their full time job. When you turn an avocation (hobby) into a vocation (job) you have to do new things you do not enjoy.
I think perhaps you're getting hung up on some semantic quibble rather than focusing on the broader point. "Artist", "professional artist", "artist for a living", "someone who spends most of their hours making art but also needs to eat". Choose whichever term satisfies your complaint. These people need money to live, that's just how the world works.
comment 9mo ago · link · parent
What you're highlighting is that art's value proposition is different from the value proposition of typical businesses. But not that artists are somehow free from having to worry about basic economics.
comment 9mo ago · link · parent
In the blog post he also mentioned doing commissions.
As for the public art, I don't think he was directly paid for the initial honey bear, I think it was just marketing - that is, its popularity boosted his following.
comment 9mo ago · link · parent
Occam's Razor says, this order came down from Trump. If that's the case, only question remaining would be what is he planning.