skysight-inc/HackerNews huggingface dataset:
The problem is not the brackets, and the colons and so on, but rather the cultural habit of wanting to cram as many concepts as possible into as few lines as possible.

A Rust function has to be generic and fast, it should absolutely use references and also Result types, some functional idiom and generally encode as much as possible in the type system. When other languages would settle for another if or an exception, Rust always has one more weird trick up its sleeve to use instead.

This is the curse of the bigbrain programmer wanting to use bigbrain concepts everywhere. Crate and library developers have internalized these lessons and it has become a self-fulfilling prophecy.
The problem with hindsight is people often forget just how chaotic previous events like the entire pandemic was.

Even the "experts" were flip flopping globe affecting decisions, we had no idea what the right solution was and how long it would be... 3 months? 6? Permanent?

Long term decisions had to be with numerous unknowns, it is clear now they were wrong but I am not certain I would have made the right choice either.

I wouldn't go so far to say they wanted an excuse to fire, but they definitely bet the wrong odds.
>These people once mentioned, on twitter, that people who hate systemd are like reactionaries (as in, politically far right), as if a choice of init is a correlative of political ideology. When you view others' preferences for fucking software as so important to your world view that they might as well be nazis[0], you can tell your priorities are not in order.

I hate that everything is politically-coded nowadays, but, honestly, as much distaste as I feel even writing this, I think they're not entirely wrong / there is something significant underlying that sentiment. Especially post-2014, nearly everything on the internet, including open source technology, is highly entangled with the culture wars. For better or worse, Rust really is left-coded and anti-systemd sentiment really is right-coded. A lot of this stems from the 4chan /g/ (Technology) board's staunch opposition to systemd and Rust + the broad cultural influence 4chan retains to this day. I've been a 4chan regular for over a decade and have seen all sides of this.

I know what I'm saying sounds, and is, utterly ridiculous, but this really actually is a "thing", for some reason. Of course most people who like/dislike systemd or Rust aren't politically motivated or even aware of these associations, but there's a surprisingly large chunk of both who are, even if they aren't really consciously thinking of it in this way. It's very easy and understandable to laugh at someone accusing systemd critics of being neo-Nazis - it's the ultimate Godwin smear/cope - but for a variety of reasons the inverse pretty much does hold: alt-right technologists indeed are near-universally actively opposed to systemd, and generally actively hostile towards Rust. The Rust opposition is in large part due to their belief that Rust and Mozilla are associated with trans people and that if you use Rust you are "pro-trans agenda", "cucked", "pro-Jewish", "pro-globohomo". The systemd opposition is less concrete and seems to be more a matter of happenstance + typical conservatism/"if it ain't broke, don't fix it".
Yes. It was.

But async workers have the tendency to be busy on long running processes, whereas a web server typically has connections that last at most seconds. Their different profile makes restarting just a tad harder.
I think that's part of it, but I think they primarily mean politically reactionary. I wrote more about this here: https://news.ycombinator.com/item?id=34543573
Tech also depended a lot on the zero interest backed money from investors. Now that interest is up, money costs money, so the situation as changed as well.
Parallel evolution? Incredibly unlikely, but possible. I'd like to think my great great grand daddy might be a mollusk with some wicked genetic mutations.
Tennessee high school students build robotic hand for classmate
> Moreover, this type of reasoning reinforces the debunked model of speciation that claims apes are "less evolved" than humans.

They are less evolved in terms of acoustic language.
Why would you Install any of this spyware when you can just use the web version and know everything is sandboxed as good as a browser can offer.
> sneak it through code review

The ** is code review? Most places didn't even have version control. Version control in most game development studios was "let me copy my source files on to another 5+1/4 floppy just in case disaster happens."

If lucky to have access to a mini computer with a hard drive then you kept separate directories for backups of your code. And you got cussed out by the high priest of IT because your backups were taking up more than 500KB of drive space. Maybe you got SCCS that would happily destroy your work regularly if you breathed wrong. If your company was rich it had a fully paid up copy of RCS runing on the Perkin-Elmer mini computer with 1MB of RAM and a 200MB HDD hooked up to a data station that looked like it was stolen off the set of Silent Running along with a 32kbps serial cable to your ICE box plugged in to the arcade board. And you got cussed out by the high priest of IT because now your RCS directory was bigger than your backup directory. And then inevitably someone wasn't paying attention one day and did an 'rm -rf *' on the wrong directory and the version control repository for your project got erased.

Code merging on non-UNIX development was usually "give me your floppy and I'll re-type bits of code you changed in that text file into my text file and then I'll give you back a fresh copy of the file to work with." If you were both smart about it, you worked in separate files and just had one or two common files that you played hot potato with, which was the fashion back in the day. Or you had a nifty little tool that would concatenate all the files together and then deleted duplicate lines and kept only the last version of changed lines because we believed we were too manly to use real development tools but the real reason was the company was too tight fisted to pay for them. "Hard drives are for the weak and why do you programmers need the high quality DS/DD floppies from Fujitsu anyway!?! Look, I've got this little gadget I bought for you that'll punch a notch in the other corner so you can just flip the disc over and use the other side too."

> and not be fired by Namco?

Nobody would have gotten fired over that even if they had purposely put it in there. The QA team would have found it, severity would have been decided, and it would have probably be pushed to "eh, there's not enough bytes in the ROM to patch it, it doesn't crash the machine and we've just burned enough PROMs on the gang programmer that the cost of pulling the PROMs off of arcade boards, junking a few thousand ICs and doing over is too great." It is almost certain that someone on the QA team found the bug, wrote it up, it was discussed, and then WNF'd, and then a little later on, news about it leaked out.

This also assumes of course they had a QA team and it wasn't just Bob who took a smoke break between running his bare hand over the live wiring looms feeling for shorts and exposed wiring to kill a few burbling aliens.
`impl` exists now, so you can write

pub fn read(path: impl AsRef<Path>) -> io::Result<Vec<u8>> {

in Rust without needing to declare P separately.
rust is the sloth from goonies.
I might be wrong, but I believe that Mypyc is like Nuitka in that you're still using an interpreter that will end up being your bottleneck even after compiling your code. Nuitka gives a ~4x speedup for most code, the bottleneck being the Python VM.

You might want to reach for something else if you need better performance than that.
Teams are much cheaper though - $4 vs $7.25 per user per month for a roughly equivalent plan.
I on the other hand like that _int_ doesn't mean "some integer of implementation defined width". I want to know for sure how big my numbers can be and how much memory an array of such numbers consumes.
I was laid off, along with many of my remote coworkers, and coworkers in satellite offices. The CTO was internally heard saying that he believed remote does not work for eng.
why bother? all that data is for sale, and relatively cheap. is this an actual thing that is in the works?
Personally, I struggle to see what's good about unspecified-but-fixed-width integer types as in C/C++. A lot of real-world code I see uses uint32_t (sometimes typedef'd to u32) and the like to get predictable data layout and to avoid cute gotchas like long being 64-bit on x86_64 Linux but 32-bit on Windows.

I also like how Rust makes both signed and unsigned types equally easy to type, because I feel that a lot of people use signed integers where they should be using unsigned simply because it's easier to type "int" compared to "unsigned (int)". And if you absolutely need a machine word size dependent type in Rust, you do have usize, which is the equivalent of size_t.
I like the real Rust syntax more, save for double colons. (And I might prefer other brackets to <> with generics) But how is that syntax of yours separating types and generics with traits? Currently `AsRef<Path>` looks like a type although it's not supposed to be one.
New body plans are coming in a few decades, so it’s ok as long as we can make it that far.
You complain about abbreviation of omnipresent keywords, but then allow function only two more letters? :D I think proofs well, syntax is overrated and it is all opinionated taste..

> Which one is more readable?

Not seeing any difference.
Suspension trainer (TRX). And a cycle hometrainer hooked up to an ipad and kinomap.

I have a repeating Todo to bike at least 500kcal on that blasted machine.

The TRX is just awesome and takes away every excuse. What is left is you bs, fears and frustrations. Dealing with those is just as worthy as exercising.

Need to lift weights? TRX. Core? TRX. Stamina? TRX.

Another trick I learned: make three workout routines. One for when you can hardly get out of bed. One for when you feel fine. One for when you want to storm the heavens.

You get to give yourself an A grade for doing the routine that fits you on that particular day.

All in all I went slowly but steadily from 120kg to 113kg over the pas 8 months. In combination with intermittent fasting. Especially cycling at the end of the fast seems golden.
Building a language that functions well is different from designing a language that reads well.

Just like building an app that functions well is different from designing an app that looks great.

We don’t expect every backend developer to be the best front end designer and at some point we shouldn’t expect every language developer to be the best language designer.

It might be worth treating these two tasks as separate disciplines that can be studied and practiced independently.

Otherwise, we keep getting languages that feel akin to 1990’s websites. They function great, but look as if the aesthetic is an afterthought.
Why is that hard to comprehend? `do` starts a new block with sequencing semantics (so we don't need the `?` operators) in Haskell.

CoffeeScript can actually be considered very successful, since it influenced the design of a lot of other language features we take for granted. Same can be said for HAML.
I thought you switched to managed because there were not enough low-level jobs available…
I think that many of the people who write clearly are successful. But I am not sure there is evidence of the arrow of causality pointing the other way.

One thing to realize for clear communication is that there is:

1. The thing you wanna say

2. The thing you actually say

3. The words that reach the other

4. The thing they think you say there

And if you do nothing about it, all four might be different constantly. People who are bad at communicating are not even aware of that. They think "wanting" to say something is enough — it is not. If you don't give others the context they need to understand what you want to say that one is on you and totally on you.

Too many people shift the burden of decoding their cryptic messages on the receiving side and wonder when other people go all like ???!!?
It compiles Ahead Of Time, i.e. you compile to a binary which then can be executed, as opposed to intepreted, like Lua, or JIT (Just In Time - i.e. compiles at runtime when required/hot path) like LuaJIT.
That's not really an excuse, my retired father learned Latin, German (to the level he was translator) and Russian and he still late in his age learned also at least basic English.

Meanwhile my ignorant low educated mother learned just very basic German needed in shop to be able to communicate with German speaking customers.

I can cut you some slack if you are above 50 and know at least some other languages, but honestly you should still know at least very basic English even without formal education. I also learned at least very basic Spanish without any formal education. There is no excuse for anyone below 50 to not speak English even if they speak Latin or German.
Natural gas leaks from pipes, but it's "free" so we don't care.

Hydrogen we need to make using a resource intensive process, and it leaks from every single container ever made, because it's literally the smallest molecule in the universe. Hydrogen transport incurs so big losses that it's not feasible at a large scale [0].

To move an equal amount of energy, you need 4x many ships as LNG, because you lose 23% more during transport than LNG AND you need to transport it at -253C which is a whole another issue.

Hydrogen is a good energy storage medium, but it's not practical for transportation. It's a lot easier and cheaper to move the same amount of energy using the power grid.

The future of hydrogen is renewable energy storage, on location. Not transport.

[0] https://vimeo.com/761934482 (16:50 mark)
Another one is Slint: https://github.com/slint-ui/slint
I'm surprised decorators are going to be a new JS feature. They look simple and helpful but every non-trivial project in other langauges that I've seen using decorators are a quagmire to understand and debug.
Isn't that "build to buy"? By building the simple sol'n we need now, we gain the expertise necessary to pick which off-the-shelf sol'n to continue with after we start to grow out of what we've built?
No, you only need two compilers that have not been subverted by the same adversary.

https://www.schneier.com/blog/archives/2006/01/countering_tr...
Yup, this could and should be a separate preprocessor step. Changing the syntax of the Rust language itself so drastically would be nearly impossible at this stage.
If you feel like this, you shouldn’t take a job that can’t guarantee in writing that they will keep you for X number of years. If you took a calculated risk and took the job anyway, well that’s on you.
Just read some academic papers and realize that anything we're doing right now to reverse global is a little too late. CDR, DAC, fusion, planting trees, solar, wind, nuclear, and nations coming together to decide we need to deploy stratospheric aerosol injection are all decades away while the planet warms 0.1C every decade.

We deeply respect what scientists have been sounding alarm for years, but more people are worried about putting food on table than catastrophic weather events that might happen in the future.

Totally open to hearing another way to slow down global warming that isn't as fucking crazy as dimming the sun, but we're all addicted to burning dead dinos. Unless we put the environment over profits and scale up CO2 sucking tech, our children will have incredibly shitty lives.
The way the code looks was always a high priority for D.

I suppose that dates back to my aviation experience, where if an airplane is beautiful it very likely flies well, too.
From the article:

Dennett models the mind on the idea of the computer. But computers are the products of human designers. Hence it makes no sense to try to explain the mind in terms of computers, since the existence of a computer itself presupposes the existence of a designing mind.

I read no further.
Protomaps – A serverless system for planet-scale maps
Yeah, that's my main gripe with Rust as well: the lack of human-readable words ("pub", "fn" and "mut" are abbreviations, not words, and "return" was even abbreviated to an empty string) and the high density of esoteric special characters.
got it, completely fair. thanks for taking the time to respond
I think if you asked me to write a car OS the ethical thing to do would be to quit.
The last time I went to rent a vehicle I got denied due to my credit (lack of, I pay cash for everything so have nothing on my credit reports).

This despite the fact that I had been renting from this _same exact place_ for years prior. I was so enraged by this I said fuck it and went and purchased the vehicle (with cash) I was planning on renting and it will be a cold day in hell before I ever rent a vehicle again. How many industries are so anti-consumer and still in business?

In many ways, covid has emboldened a lot of companies to behave in shitty ways.
Duplicate of:
https://news.ycombinator.com/item?id=34538965
https://ev-riders.com/news/the-president-of-toyota-will-be-r...
I am seriously confused. Using fixed size integers is about correctness. Randomly changing the size of your integers will cause unexpected integer overflows.

I16 and I64 is more concise than short and long and it is immediately obvious what the number range is for a beginner. The only complaint regarding portability is the unstated assumption that every computer can only store two values per bit. A hypothetical QLC based computer might store a I64 number in 32bits.
> That is incredibly difficult to achieve, and impossible to fully realize. But that should be the aim.

What makes you confident that not fully realized version of your utopia does not end up being a dystopia? For reference, see what happened for the not fully realized utopia of communism in Soviet Union
I understand what you're saying, although it could be argued that at least for some types of image tasks one would prefer something like an SVG output with layers to make it easier to edit.

For music, I think it's partly an academic question of "can we do it" rather than trying to maximize immediate practical usefulness. There's already quite a bit of work on symbolic music generation (mostly MIDI), a lot of it quite competent, especially in more constrained domains like NES chiptunes or classical piano, so a full text-to-audio pipeline probably seemed a more interesting research problem.

And for a lot of use cases, where people might truly not care too much about tweaking the output to their liking, the generated audio might be good enough; the examples were pretty plausible to my ear, if somewhat lo-fi sounding (probably because it's operating at 24kHz, compared to the more standard 44-48kHz).

In the future a more hybrid approach probably makes sense for at least some applications, where MIDI is generated along with some way of specifying the timbre for each instrument (hopefully something better than general MIDI, though even that would be fun; not sure if it's been done). I'm sure that in the near we'll see a lot more work in the DAW and plugin space to have these kind of things built-in, but in a way that they can be edited by the user.
I like galaxus too but they’re not the cheapest. Most of their stock can be had cheaper from other online Swiss retailers.

Toppreise and google shopping (yeah…) often can find better deals on the same items even after shipping.
These "People" tend to have an agenda.

Like the one report that warned us that the earth didn't have enough lithium to electrify everything.

Turns out they calculated that we need, for some reason, enough batteries to store a full month's worth of global electricity production in batteries. No wonder they got the fancy headline :D

Battery tech is constantly evolving. There are cobalt-free and lithium-free batteries in the pipeline already. We even have wood-based batteries on experimental stage: https://www.bbc.com/future/article/20221215-the-batteries-ma...
If you're looking for something a bit more "few-clicks-and-you-are-up-and-running", check out OpsVerse ObserveNow: https://opsverse.io/observenow-observability/ .. Entirely powered by OSS tools, ingestion-driven pricing, and without the hassle of managing the stack and scaling up.
I didn't expect that kind of quality. Incredible
would you be interested in offering india based pricing?

its like most if not all american companies, microsoft for example, simply multiple american prices times US$ conversion rates which are impossible for indians to afford.

that is why netflix/prime costs so less in india. amazon prime costs $14.99/month in US which is INR 14390.4/year while amazon india offers it for INR 1499/year.
Are vape companies competing with Apple?
And that's why we have Unicode!

Vec⟪u8⟫
Vec｢u8｣
Vec⟦u8⟧
Vec༼u8༽

I'm sure this could open up a whole new frontier of exciting, untypeable language designs. If it works for APL, it should work for any language!
Yeah, but I assume in that case you don't talk much during the job and don't have really time to talk to practice the language, so it's complete circle - can't learn it in job which doesn't require the language, because there is no reason to use there language. Sure you could learn few phrases or at least improve your comprehension I guess, but I don't think you could get fluent after half year of such (hard) work.
Maybe "non-market housing" should be the more widely used term in North America for the kind of service "affordable housing" provides. It better frames the idea that the unit of housing isn't meant to be sold and priced based on market forces and dynamics.
Yes, this is important. Stock price reflects future earnings growth potential. That's a mouthful(!), but consider if Google announced 0% growth in earnings, but still same profits. Their stock price would be crushed. This essentially happened to all major investment banks after 2008 crisis. When 30:1 leverage on balance sheet was no longer an option, forwarding looking earnings growth looked tiny compared to 2007.
Maybe I'm bad at spotting these things but it looks and sounds super convincing to me. I really dread this technology weaponized in politics.
Not quite true, once you vos der VAT on these is 7% in CH but 20+% in the EU. Things should therefore be at least 13% cheaper in CH but they aren’t because reasons.
> I don’t think I’ve ever heard their music.

https://www.youtube.com/watch?v=T3rXdeOvhNE

Sorry.
Milton Friedman Speaks: Is Capitalism Humane?
These are over twenty years old with some pushing thirty
Nah, <> are much worse, because they are syntactically binary operators.
> Ruby is still great for throwing something together fast and maintaining it until it runs into scale problems. It added gradual typing with sorbet and RBS.

I think Ruby is much better than Python for building large applications.

Ruby is essentially Smalltalk with a neat Algol-like syntax and some Perl-isms. Its OO system is a joy to work with.

Python got so popular in data-oriented applications because it's a really simple procedural language.

More importantly, it had the right libraries (NumPy, SciPy and Matplotlib) when Torch (implemented in Lua) was no longer viable (due to LuaJIT limitations).
TypeScript is fantastic —- such a flexible type system.

It was introduced 18 years after JavaScript but feels like a perfectly natural evolution of JavaScript. TypeScript _should_ feel like a wonky bolt on but it’s wonderful. A testament to the folks who built it
> must be as unambiguous as possible (so that a computer can understand it)

A nitpick. Unambiguity (and other language features) is extremely important not that a computer can understand the language (it can), but rather that the understanding (or interpretation) of a program by programmer and computer are the same.

Bugs like off by one, use after free and similar issues quite often stem from this misunderstanding.
Apple has ESPP for everyone at least.