skysight-inc/HackerNews huggingface dataset:
I am a Python user, but never heard of most of the tools in that list. This is probably because everyone and their cousin attempts to write yet another package manager for Python.

The built-in tools venv, pip, (together with requirements.txt and constraints.txt) meet 99% of real life dependency management needs.
Sure, but I‘d rather have a linter detect this kind of code smell automatically if it provides a reasonable explanation to the author.

In my experience, a fairly strict non-aesthetic linter setup makes mentoring much more efficient.
Barcelona is pretty aerial though. I’ve been there twice in my life and I’m very impressed by its original urbanism. At first sight by looking at a map it looks really American inspired but once you dig a little, it’s in fact a unique "modular" urbanism (of course I’m not talking about the historical city center, that’s another interesting topic).

What amazed me is how that city manages to be so densely populated but is designed so you never feel packed. My only "complaint" would be that there could be more trees but there were still more than in most French cities (which I’m from) so …
Restore movemail / Unix mailspool support in Thunderbird
It's about Entity Component Systems in video games
This smells like the MHz comparison of the G4 vs Pentium, when they claimed that their 500Mhz was equivalent to a 1GHz Pentium.

There's a tiny nugget of truth surrounded by mostly bullshit.

Only this time they put themselves in this position. They should own it, either admit that they couldn't keep their margins otherwise or take the US$ 50 or so profit hit and avoid the bad press on an otherwise great machine.
It's not going to know that this widget's green is blue-ish because it's designed to match the colours in the nth-generation photocopied manual, which at some point was copied on a machine that had low magenta – nor that it's essential that the green remains blue-ish, because lime and moss are different categories added in a different part of the system. Documentation is supposed to explain why, not just what, the code does – and how it can be used to do what it is for: all things that you cannot derive from the source code, no matter how clever you are.

Honestly, I don't actually care what you do. The more documentation is poisoned by GPT-4 output, the less useful future models built by the “big data” approach will be, but the easier it'll be to spot and disregard their output as useless. If this latest “automate your documentation” fad paves the way for a teaching moment or three, it'll have served some useful purpose.
You gain in those items and may lose in others. It probably depends on how the unions are set up.

For example, my work environment in France was so toxic that over time I developed psychological problems, because the institution could not address the abuse, harassment, bullying, etc, since everyone had secure permanent contracts protected by unions.
I mean, it’s definitely indirectly related to the entire certification thingy. After all, we do want to see rust code in space. That what kicked off that whole idea :)
There is something to this though I don't have benchmarks, I use an 8gb M1 air and it has never been an issue. I also have a 64gb desktop with a 4090 with 24GB of VRAM, and a MBPro M2Max with 32 and an old intel macbook with 16, and I do a lot of random stuff like video editing and running random docker containers, and what have you, and the MBAir is solid and never has any problem with it.
Only thing I know is a group of limp wristed keyboard warriors hate some people write a wall of text and try to "rationalize" why. The facts don't matter, only the tone does and it's full of impotent anger.
The battery life one is interesting. I haven't installed windows on my Deck, but I would certainly expect that it wouldn't be anywhere near as good at managing the battery and hardware performance. That's fascinating.

Personally I've had way more trouble on the windows side, where the NVIDIA driver regularly breaks, causes wacky performance and screen tearing issues. There have been a few games where linux performance was notably worse, but mostly EA type things that eventually got fixed.
Or https://www.nytimes.com/2023/11/08/dining/kit-kats.html?unlo...
If we built everything to tiptoe around every 0.01% disorder out there, we wouldn't have anything nice.
And they're made of cheap plastic, have horrible keyboard flexing, and their trackpads suck.

I am envious of gp though, I kind of miss being younger and thinking the only thing that mattered in a laptop was raw CPU/GPU performance.
msft and nvidia tackling CUDA drivers on WSL2 is a godsend. Especially when you can use Docker Desktop on it.

Definitely making the best of a less than ideal situation.
> Professors aren't in the habit of repeatedly changing the assignment out from under you while you're halfway finished

That would be quite interesting in terms of "real world" education. The unfortunate thing is that most terms/semesters are only a few months long and so work has to be very explicitly defined and scoped to be achievable in that time with the expectation of the student spending maybe 10 hours a week on any one class, tops.
I can easily see the status of my garage door (open or closed) from anywhere. Solves the problem of "Did I forget to close the garage door?" (and the number of times the answer to that question is "Yes" is > 0).

I can open the door from anywhere to let someone in if they've forgotten their keys (times I've done this is > 0).

I can enter the house through the garage if I've forgotten my keys (times I've done this is > 0).

I have given access to my house to a houseguest without giving them a set of keys to my house; I easily revoked this access when they left.
Commercial airliners intended for mass transportation have inertial reference units (IRUs); these are usually spinning laser autogyros. The plane knows where it is based on this; every action has an equal and opposite reaction, so banking left or pitching up will have the opposite effect on the IRU. GNSS merely augments this. If the IRUs and the GNSS receiver significantly disagree, the pilots will be warned, and the plane may start automatically ignoring the GNSS receiver.

I can't speak for much simpler smaller aircraft with e.g. 2 or 4 seats. They may well have only GNSS to rely on. However, if you are at any point unsure as to where you are exactly, you can always try to grab a VOR-DME radial or the intersection of 2 VORs.
Colloquially speaking, "In-car Wifi" has come to mean "in-car internet connectivity". I presume this is what the parent meant.

https://www.verizon.com/support/connected-car-wi-fi/

https://www.att.com/plans/in-car-wifi/

https://www.caranddriver.com/research/a32814112/cars-with-wi...
Ah, I see. Doesn't seem that much better given the outcome.
Look beyond the West for your answer
As I said, RDD is the dominant paradigm because it is rewarded. The career trajectory of someone who hops companies versus someone who doesn't is wildly different.

I also pointed out that the problem isn't with the developers but the leadership, starting at the top. The programmers are just acting rationally in the environment they are given. The value of a programmer is exponential with time in the code, and yet, they aren't compensated for it. What they are compensated for instead is decorating their resume for their next job.
I mainly use it as a rubber duck. I like that I can ask stupid questions and get mostly right information back. I’ll still verify anything important.

It’s also really quite good in transforming language A to language B if you’re learning a new programming language
That's a really neat plugin! Couple of questions for you:

1. How many times a [day/month] do you use it?

2. In your experience how often does GPT 'hallucinate' an explanation?
> Somehow this seems an awful lot like a multibillion dollar company offloading work on me.

That's most of the tech industry in a nutshell. From the office suite through all the "self-service" web/mobile interfaces, self-service checkouts in stores, to stuff like this - it's all making you do the work that was previously done by full-time professionals. It's a net loss of efficiency, and it only looks otherwise because salaries of full-time professionals are legible to bean-counters, while the same workload redistributed in tiny bits to masses of people is invisible in balance sheets.

In short: I'm starting to believe that most of the "improvements" that came with software are actually just accounting tricks, and this is why actual performance gains don't seem to track expected gains.
That's entirely unrelated to the comment I was responding to, and we already have cross-platform messaging apps today.
This queries dns in some cases
No, any spawn_blocking will run on its own dedicated thread
This is genius. As someone who is familiar-enough with minor electronics to fuck something up, but not confident enough to look at this photo and go for it—what am I trying to learn here? What are the terms I'm trying to google to figure out how to connect <electronic board> to <electronic board> via <wires>?
From the documentation... "We recommend against using EventBus. It was designed many years ago, and newer libraries offer better ways to decouple components and react to events."
I would love to! My email is in profile.
what's the tech stack?
There might be an energy hit… but there are a LOT of compute cycles available between cache fills: https://www.blosc.org/pages/blosc-in-depth/
I suggest your TS is moderately valuable, and certs are only a slight mention at best.

I've met multiple interviewers who said if you know the material, you wouldn't bother with a certificate... For them a cert is an anti-signal for competence in getting a job!

That said, I'm now working on completing Terraform cert. I know the material well, but missed a question in an interview. Investing time/energy in fleshing out my knowledge for the cert will be helpful, even if I don't mention _having_ the cert at all.
Marketing assholery.

Apple is good at memory compression but that's not physical ram. They compress like crazy but you can still run out of it. I have. On a 16 Gb M2. It had 7 Gb of compressed ram at that moment.
Cool, thanks for the details.

So if I smoosh everything in my sorta “collaboration context” together into one document, are there any provisions for delta updates on the wire? Your browser-side storage format sounds like it’s compatible with that approach, but what about clients that are far apart version-wise? Are you storing full relay history and also a snapshot?

I see in your format docs [0] that you store change chunks. Are these exposed in the API for atomicity at all? Are there any atomicity guaranties?

And you discuss backends, but I don’t see any pointers to an S3 or Postgres implementation. Is that something you’re keeping closed source for your business model, or am I just missing something?

I haven’t found anything about authorization. Have you done any work there? I quite like the Firebase model in which you can write simple validation rules that can evaluate against the document itself —- “only allow users who are listed in path `members` to write to this document” or whatever.

[0] https://automerge.org/automerge-binary-format-spec/#chunk-co...
For an amusing but harmless example, see the Amelia Bedelia article. It's been long since reverted, but I'm sure there are many similar prank edits that survive to this day

https://en.wikipedia.org/wiki/Talk:Amelia_Bedelia

https://www.dailydot.com/unclick/amelia-bedelia-wikipedia-ho...

(EDIT: please use noscript if you visit the daily dot link, it's a terrible 3rd party spam site)
Sorry but this is quite wrong. There ar emany debates to be had about what we are primed withy but various behaviours, preferences, attentional biases, stimuli responses, etc are certainly inborn.
Yeah that kind of stuff can definitely scare people away. I don't know what a monad is and I've stopped pretending to care. For me immutability and pure functions are the only important concepts; everything else is a bridge too far for practical corporate use. Still, I think that while null is commonly called "the billion dollar mistake", I wonder... I think that going back in time and making C# and Java immutable-by-default would have a bigger impact than adding null-safety. Maybe not a panacea, but FP does seem to set a pretty acceptable lower bound on how terrible a codebase can get in my experience.
Man crushed to death by robot that mistook him for a box
I'm convinced that shift left is just a way for management to eliminate QA jobs and push that work onto existing devs. Just like DevSecOps. Most people can't do that many things at an expert level.
Isn't it obvious drugs have utility?
Not a direct compiler optimization, but consider memcpy() vs memmove() as an example. If you know two regions of memory do not overlap you can call memcpy() for a direct optimized copy, but if they overlap you must call memmove() and introduce an intermediate copy.
Of course it is a pr stunt. I used to get angry at this when I was younger but then I realized we have hit the peak of actual growth in the real world a while back. So now everything is just spin. It's chopping the small rooms into smaller rooms and selling them. Soon it will be sell a part of your kidney marketplace. All of this happens because the world needs another major revolution and change. Till then enjoy the vulnerable, transparent CEO who enjoys art and doggies. It's similar to the linkedin CEO post who was so vulnerable and transparent that he had to cry and had tears in his eyes because he had to fire people.
I coincidentally was exploring methods to obfuscate auto-incremented IDs to prevent information leakage. The concern arises when resources are accessed using URLs like "website.com/thing/1/children." This approach allows people to guess related URLs (e.g., replacing "1" with "2," "3," ..., N), potentially revealing unintended information or even the number of resources available.

To address these leaks, one option is to generate synthetic keys for each resource. However, this method is costly because it requires indexing the new key alongside the primary key (PK). Indexing is not without overhead, and synthetic keys are often larger, like 128 bits for UUIDs or ULIDs compared to a 64-bit numeric PK. This means that every record insertion necessitates dual indexing. Generating UUIDs can sometimes be challenging too because of reasons.

An alternative involves obfuscating the ID in such way that can be easily reversed in the server. Effective algorithms for this purpose are "squids" [1] (the second version of "hashids"), Skip32 Cypher [2] and ... more math :-p [3] [4]. Chaining both algorithms could provide an additional layer of obfuscation.

Before someone mentions this, yes, obfuscation is not encryption, so not a thorough security measure. But I think obfuscation is a practical way to prevent casual URL leaks, even though more determined attackers may attempt to reverse-engineer the IDs.

More options:

* Add a "salted hash" to the id, ex: website.com/thing/1-hash/children, "hash" could be something like SHA-256("--{id}--{salt}--"). Now the "attacker" would need to know how to generate the hash if trying the id "2". Could also be combined with ID obfuscation as mentioned bedfore. "salt" would be a single string per resource type, or even for the whole app.

* Encrypt the ID: only the server would know the password to decrypt the ID, so this would be secure as long as the password and method of encryption is not leaked.

--

1: https://sqids.org/

2: https://stackoverflow.com/a/4200193

3: https://github.com/c2h5oh/hide

4: https://en.wikipedia.org/wiki/Modular_multiplicative_inverse
No matter how many times I see photos of uniformed troops hunched over an overpriced government laptop looking at “information warfare training” (when they just have Twitter pulled up) it still makes me chuckle at the image.
Hare Evangelism
It’s annoying that linters are responsible for enforcing code-style (indentation, line length, etc.) as well as code correctness (as discussed in the OP), and these sorts of intentional temporary code smells. There’s a huge amount of overlap, so I understand where it comes from. But it means that linters are too intrusive for most small or early-stage projects. (Obviously these lint rules can be turned on and off individually but that’s a hassle.)
Isn’t the onus on the .. investors to make sure they invest in legitimate projects ?
English.

Have a brain fart one day and you'll write something like this and be confused why it doesn't work
Except you can't upgrade Macs anymore, you need to buy a completely new one.
How is the promise to never again participate in warfare compromised? Clearly participating in international criminal investigations is not a military act.
The error in your reasoning is that you're replacing "quarter life" and "half life" with "1/4" and "1/2" (scalars), when the definition is actually about the number of hours the caffeine stays in your system. You are also putting the (2 *) on the wrong side. It should instead be:

half_life_hrs * 2 = quarter_life_hrs

Think of it this way: if caffeine's half life is 6 hours, and you drink 100mg, it means that after 6 hours you still have 50mg in your system.
Given that, you could try to extrapolate and say that after another 6 hours, you would have 0mg left in your system.

However, since "caffeine's quarter life is about double its half life", that means that:

6hrs * 2 = quarter_life_hrs

Therefore, after 12 hours (6hrs * 2), you would still have 25mg (a quarter of 100mg) of caffeine in your system.
Not the person you asked, but (paid) ChatGPT was down so often for me that I almost cancelled... Until I switched to connecting via VPN. Only one outage since then For some reason whole swaths of the Spectrum IP block in Gilroy has trouble.
New analysis of ancient fish may explain how shoulder evolved
NASA warns El Niño could bring 'extra flooding' this winter
So what? Memory exists to be used. This isn't Slack, you don't have it open in perpetuity.
The developers of SciPY are really good, maybe their brains could be focused on developing tools for a different language that doesn't cause articles to be written about how crazy it is to integrate with it.

At some point, move on, Python started as a toy, and grew into a behemoth.
The fact that these outages are so visible and perturb so many people is ample evidence for just how reliant we’ve already become on GPT.
If it was just a fun gadget, nobody would care or notice.
Apps pinned to the top row of the home screen can show their own custom content in the top portion of the screen when highlighted. By default, the Apple TV app is in that row and shows you slides for TV+ content. That is as close to built-in advertising as it gets.
> some going back ~2 decades or so

Some indeed started long ago; e.g. Common Music had its roots in the eighties and became a pretty popular composition environment during the nineties; in 2008 there was even a fundamental redesign and it's still developed. But there was also a certain abundance of new tools; many were released that essentially had the same goal and offered the same features, just implemented a little differently.

> Music hasn't changed ofcourse

Music and the way music is composed, produced and consumed has changed tremendously over the years, and so have the tools. In the past the focus was on algorithmic composition, and tools allowed to extend the possibilities of a composer also to sound design, but it took years until computers were fast enough to render a composition in real-time. Then came the time of the DAW's when eventually everyone could produce music with little investments. In the last ten years live coding became popular which is yet another way of composing and producing music, with new requirements for interactivity and ergonomic efficiency of the tools, and yet a different view of the composer and the composition process.
This is exciting in several ways including the fact that
Martin Kleppmann is involved with the project. Filed at the top of my reading list if nothing else to see an undoubtedly good example of a complex Rust project.
Yeah, fuck these guys big time. I'm literally going to sell my garage door opener and buy a new because of this.
It still shocks me that they've built so much of their infra work for so long on open-source non-enterprise Puppet of all things
> On a side note, Amazon's interface is so much worse than Allegro

No kidding. Allegro isn't perfect, and seems to get worse every iteration, but they're miles ahead. Amazon - they're down there with eBay, worse than AliExpress. I literally only order Kindle books from Amazon, and that's only because I mastered the "google a book, switch to Kindle edition, click the 'buy with one click' button" flow, which they managed to not break just yet.
Does anyone else find the handling of arrays by Python so horrific that they can’t bring themselves to use it?
I just tried it and you are right. Ran

docker run --cpus 0.1 --rm -it progrium/stress --cpu 16

and the machine's cpu sits idle.
> carbon neutral because if you leak it or capture and burn it, it adds the same carbon footprint.

That's a very... ummm... interesting definition of "carbon neutral".
> Starting at $1,599, [...] 8GB of unified memory. [...] Users can opt for 16GB or 24GB at checkout, but these configuration options cost an extra $200 and $400 at purchase, [...]

That's insane. I could upgrade my $1200 laptop, which came with 32GB, to 96GB DDR5 ram for about $300.
Python is now bigger than what even its most keen friends ever imagined might happen. This is not automatically solving the issues, nor make it more likeable to those who dislike it, but it does incentivise serious plumbing work.
It’s tough to get anything decent that will play 4kHDR with frame rate switching etc and included remote control (or work with existing TV remote control) for less than a fire stick. It’s mainly why they are popular and relevant
+1. When there were still spinning HDDs, some of this fuckery was obvious, like spotlight indexing all the time like crazy. This might still happen, or happen again, but we sheeple would'nt know because SDDs are much quieter than HDDs.
Reasons why I switched to Linux Nr.436 (I switched when Windows 10 started injecting News in the Taskbar without asking after an Update)
They're answering the question about why people would use iMessage. It's fine if you don't like their reason, but claiming that they don't understand their own answer is a bit weird.

> Oh, and if Google would replace, ahem, enhance SMS with their own proprietary app you would be the first to cry.

I don't see any reason to object if it follows the same fallback pattern that iMessage does. I mean, in practice the current situation with RCS functions identically to iMessage -- it negotiates whether the person you're trying to message supports a fancier communication system, and if not it falls back to SMS. (The difference is that Apple could support RCS if it wanted to. But since it currently doesn't, there's no practical difference in experience to the users.)

What would be objectionable would be if Google (or Apple) switched the default texting app on their OS to only support a communication protocol that the other OS didn't support.
It’s pretty telling which symbols you chose. The relationship between half notes, quarter notes and eighth notes is obvious.

The rests are shaped similarly to their note counterparts. Eggs are bars; stems are sticks; flags are the same just facing different directions.