skysight-inc/HackerNews huggingface dataset:
>The fact that Jetbrains was actually behind rust-analyzer

To clarify, I was not working at JetBrains when I started to work on rust-analyzer, so they are not _directly_ behind. They are very much indirectly behind though, as

- JetBrains was funding a lot of educational projects for students of software engineering, such as myself.
- JetBrains generally pioneered modern static analysis based IDEs: https://martinfowler.com/bliki/PostIntelliJ.html
- Most of things I've learned about IDEs, I learned at JB, studying their open source tools
- I was able to spend a year hacking on rust-analyzer for free due to my savings from the work at JetBrains
- And, after those funds run out, I worked part time in the educational department of JB, teaching students algorithms, Python, and Rust

> I suppose there was lots of "support" from the more experienced people, specially regarding the architecture, which I believe is what you're saying made it even possible?

Not really, in a sense that I didn't have a dedicated mentor to check on me on a daily basis, but also such support is not really needed. You are writing a plugin, so the overall architecture is a given, and you just fill in the details. And most of the things you need you can learn from the docs and source code of existing plugins, and that also retroactively explains the overall architecture to you. So, by the time I started hacking on rust-analyzer, the core "throughput-vs-latency" tradeoff was clear to me, and, after taking an extra look at dart-analyzer, roslyn, and Swift libsyntax all pieces fell into place. It's a shame of course that there's no single "IDE book", and you really need to dig into the source and uncover the knowledge, but that's why `https://rust-analyzer.github.io/blog` exists!

>I guess Rust would've been successful (because of its own merits as a language) even if its IDE story was as bad as other new languages normally are (and eventually, because of many people having interest in it, the situation would improve fast), but maybe I'm wrong and the existence of rust-analyzer and RLS before that did actually "cause" the success...

Yeah, it's hard to untangle these! I would say these all were mutually reinforcing: fundamentals of language design screaming "this _could_ be big if it doesn't fail", people getting excited about Rust early on and hacking on the language and associated tooling, the tooling making it pleasant to actually use the language, people getting excited about using Rust to do stuff and increasing the size of the ecosystem (which directly defines the amount of funding available). The bottom turtle is maybe Graydon engineering the best language-design-and-implementation team in the world?
> The goal is to enhance the user experience and interface, making it more user-friendly and visually appealing

I don't want to sound discouraging, but the thing you need to realize is most of us are here because we like its user interface, not despite it. If you're looking to enhance the site you should improve on its strengths, not change it to something it isn't.

Hacker News loads instantly all the time and I think I speak for most here that we don't want all these extra JS or Next React wizardry.
The term "generative art" really has changed the last few years. The wave of interest in generative art a few years ago (along with NFTs) also involved a lot of art that wasn't directly created directly from code [0] and no one seemed to have much problem with it. It's not much of an active market lately, but at the time it was just a different type of generative art from stuff that is much more code-based [1].

[0] https://objkt.com/asset/hicetnunc/416966

[1] https://monogrid.xyz/
Not sure either but people with Indexes, Vives, etc seem to be competitive on the Beat Saber leaderboards so any loss can’t be too bad.
How Can AI Help Visually Impaired People See the World
24hour clock?
What If People Don't Need to Care About Climate Change to Fix It?
Live proxy and VPN detection
This is my perspective as well. I'm not confident I could use math to make myself a lot of money, more that I can use the style of thinking to pin down how my experiences and actions effect my habits for example.
And huge thanks to dang for all his work over the year!
FTA: “But what Dr. Miller doesn’t understand, is why tap water was allegedly used.

She says there should be sterile options available that wouldn’t put patients at risk.”

Combined with the fact that nobody has been charged yet, I think it’s possible that a third party made the replacement, not a nurse administering the drug.
> In an age where updates are increasingly the norm, I wonder if there's legislation needed to hold manufacturers accountable for updates that break otherwise perfectly-functioning hardware?

Maybe there should be a law that says:

1. Upgrades may be performed but never behind the user's back.

2. In particular, the user determines exactly when an upgrade is performed.

3. The user may roll back any update at any time.

4. Any services which the software depends on should be compatible with all versions of the updated software.

EDIT: 5. Security backports should be made available. However, the user should always be in control over whether they are installed. Sometimes working code is more important than 100% secure code. Also this rule will prevent companies from quickly forcing an update and sweeping security breaches under the rug.
https://web.archive.org/web/20231231015114/https://www.nytim...

https://archive.ph/ycYQl
> I fully believe it can get you to A1 reading and writing

For some languages they claim B1 and I believe B2 (Spanish & French?) for reading/writing. I'm only about 1/3 through the spanish course and testing at the A1/A2 range on reading/writing tests, so I'd buy it.

But yes, it's almost useless for speaking. When I've been in conversational situations I can sometimes make out what the person is saying, but I can't talk at all. Which also tracks, at no point does it put your brain in a situation where it needs to come up with & speak arbitrary sentences in response to random events. Different neural pathways.

That's neither good nor bad, it just requires people to have properly set expectation. There is no way to build up conversational skills without having conversations.
I've worked on similar testing process (but for filesystems): https://www.spec.org/sfs2014/ (and it has increments every so many years).

"Tuning the benchmark" is probably "tuning your system to score high on the benchmark". There are always caveats of course. You, as a developer, may be able to find some implicit assumptions in the test and exploit it to "game" the test. Suppose, for example, the test assumes that acknowledging deletion means deletion completed, but your code simply schedules a file for deletion instead of actually deleting it before acknowledge is sent.

You'd have to argue somehow that your system is behaving in such a way that scheduling and deleting are essentially the same thing which would allow you to pass the test, but that's about the level of "cheating" that you can do on these tests.

Also, by the nature of things, the way these systems are sold, you don't really want to pull these numbers out of nowhere. This kind of unsophisticated fraud will get you disqualified very quickly, but the investment into building such systems is usually on the scale of upwards from five or more years until it even gets into the stage where you can show something to the customer. So, it's a large investment that you don't want to risk.
happy new year -3H
There is an enormous power imbalance between Sony and the customer which will lead to abuse.

They will filibuster and or beaurocrat-ize away any will to pursue lawsuits, or they will offer token trivial compensation (which doesn’t nearly reflect the actual lost income)

Your “meh” apathy is what leads to the abuse of power by the larger parties
I'd love to hear more about your story!
> At the time, to verify an enemy vessel (especially subs) were sunk, they would send down divers in the old fashioned "heavy gear" suits to identify the vessels.

Just hope you don't sink someone over the Mariana Trench.
I think this is a good idea. I personally enjoy seeing where I place and trying to use the least possible number of moves. However, I also thought it would be good to be able to play as many puzzles as you want in a day, and a casual mode may be a way to do this.

There could be an official word each day that is ranked, but also randomly generated puzzles that you could play limitlessly. Only issue there is when you have words appearing in the casual mode and ranked mode, which I'm not entirely sure how to fix.
Thanks everyone. I have learned so much here and have a backlog of interesting articles to consume. All the best to everyone in 2024.
There are 5 peanut proteins (Ara 1 1/2/3/5/8) that are associated with peanut allergies, with Ara h 1 being the most common (~90% of people with peanut allergies are allergic to h 1).

This study --
https://onlinelibrary.wiley.com/doi/abs/10.1034/j.1398-9995....

"Quantification of major peanut allergens Ara h 1 and
Ara h 2 in the peanut varieties Runner, Spanish, Virginia,
and Valencia, bred in different parts of the world"

concluded:

"The results suggest that peanuts of different varieties, and from different parts of the world contain similar proteins, including Ara h 1 and Ara h 2. Consequently, the IgE-binding properties are similar to a great extent. This indicates that differences in the serology of peanut allergy may not originate from differences in the allergen composition of the peanut."

So probably no difference with 1690s either.
Happy new year fellow hackers. Hope 2024 brings less bugs and more mental peace.
The way other platforms did it is by either being the first and getting rapid growth that way, or by being exclusive and building your appeal. Facebook did the latter - first Harvard only, then a couple more uni's, and by that time they had the critical mass to sustain a proper platform.
Security rookies significantly improve by using Microsoft Copilot AI
Nah, I hired specialists and caught no end of trouble for doing so. All of them that are still in tech make $1M+ annually these days because they stand out among the lovable but mostly ineffective fungibles that are the cannon fodder for rounds of layoffs there.

But advocating for my direct reports instead of happily figuring out which one to fire next is what made the experience so dreadful and career-limiting when the L8 and L10 herd's jobs depend on continually hiring and firing to look busy.

Pro-tip: if it's an abusive culture, leave ASAP.
AIWA 1982 3 head tape deck repair [video]
You've removed a lot, but not added anything. Except hash signs in front of usernames. I don't get it.

Why remove the hover on links? Does having 3 separate links on each item with no visual clarity "enhance the user experience"?
Thanks for making my work day better :)
I used to have friends in uni with whom i could share very nerdy/technical conversations. near graduation we no longer get together sadly. this has taken a toll on me. HN is a place that feels like home, even if I'm usually just lurking around and overhearing conversations. Thanks everyone for sharing!
As a solely mobile user of HN, my fat fingers much prefer your layout to the current one, which requires a lot of precision or zooming in to find relevant links.
"Three felonies a day"
Agreed; hopefully it will soon be easy to deploy intelligent, locally-run/configurable user agents to crawl the web on our behalf and find our personal gold.

I still think RSS is a great way of encapsulating data in a format that's almost equally human- and machine-readable, regardless of how "smart" you want your aggregation to be.
Go over to Reddit, sounds like you'll love their new design...

Often excessive whitespace and 'spreading out' the content is a dark pattern, used to make you scroll more (or load more pages) and view more ads along the way.
Cheers HN
It is, but I guess the reason it's mentioned so much right now is that the author posted a pretty convincing video a few days ago to Reddit: https://youtu.be/bsRnh_brggM (post: https://old.reddit.com/r/emacs/comments/18s45of/every_llm_in...)

From what I see, gptel is more interested in creating the best and least intrusive interface - it doesn't concern itself too much about which model you're using. The plan is to outsource the "connection" (API, local) to the LLM to another package, eventually.
> we haven’t created an institutional memory beyond “the oldest hacker you know.”

Which I'd wager is due to over-reliance on search engines. The net is stuffed to the brim with useless bullshit designed to steal eyeballs, so finding anything somebody published two decades ago is now impossible. Internet Archive is useful if you already know what website used to exist, not so useful if you don't.

Whatever happened to that website that was a combination of blog + archive of exploit POCs? Wasn't it called PacketStorm? I just tried to find it with two search engines and came up empty. That would've been an ideal place to track down old techniques and news.
Kagi isn't free, that's on the list
Warning: This turned into a pretty long response somehow

Doesn't cua mode kind of break the keybindings of emacs?

For instance I use:

- C-c C-c

- C-c C-e

Maybe those get moved to some other prefix?

Also I get the argument that C-v in emacs for paste would be nice, but doesn't that make it harder for you to discover yank-pop aka C-y M-y?

The problem to me it seems with using cua-mode medium or long term is not thinking in the system and patterns of emacs.

I assume if one doesn't want to learn different copy paste commands, they also probably don't want to read emacs high quality info manuals which impart deep understanding well.

EDIT: I found a good discussion on this.

Question:

> CUA mode is very close to the workflow I am used to outside Emacs, so I am tempted to activate it.

> But I have learned that Emacs may have useful gems hidden in its ways, and CUA mode seems something that was attached later on.

Parts of response:

> In short, what you “lose” is the added complexity to the key use. Following is more detailed explanation.

> Emacs C-x is prefix key for general commands, and C-c is prefix key of current major mode's commands.

> CUA mode uses C-x for cut and C-c for copy. In order to avoid conflict, cua uses some tricks. Specifically, when there's text selection (that is, region active), then these keys acts as cut and copy.

> But, sometimes emacs commands work differently depending on whether there's a text selection. For example, comment-dwim will act on a text selection if there's one, else just current line. (when you have transient-mark-mode on.) This is a very nice feature introduced since emacs 23 (in year 2009). It means, for many commands, you don't have to first make a selection.

full response: https://emacs.stackexchange.com/a/26878

I suppose it all hinges upon your response to reading this:

> CUA mode is very close to the workflow I am used to outside Emacs,

My response: Workflow outside of emacs?! How can we fix that? Outside of emacs I'm in danger of hearing "you have no power here!".

Typical response: Why can't emacs be more like other programs so I can more easily use it from time to time?
Most Arm or RISC-V CPUs (with the exception of a few server-oriented models that are much more expensive than x86) have very few PCIe lanes and SATA ports, so you cannot make a high throughput NAS with any of them.

There are some NAS models with Arm-based CPUs and multiple SSDs/HDDs, but those have a very low throughput due to using e.g. only one PCIe lane per socket, with at most PCIe 3 speed.
I haaaaaaated the smell of diesel fumes when riding the school bus as a kid. And I still hate smelling it when dropping the kid off at the bus stop in the morning. Fleet vehicles like school busses are great candidates for electrification because they sit in one spot all night long, and have dedicated maintenance staff and long capital horizons. However given the shortages of lithium in the market, I do wonder if electrifying other vehicles would have been better from a carbon reduction perspective - buses are mass transit, and therefore already far more efficient per passenger-mile than a personal vehicle. Would electrifying a hundred PHEVs been better for the environment or fuel diversification? I won’t complain too much, though. We gotta electrify them all eventually, and thank goodness I (eventually) won’t have to smell diesel exhaust in my neighborhood anymore.
The 6th 'Happy new year' submission today made it. The first 5 from other users didn't get enough upvotes. You won the karma lottery.
> I'm sure this, and other LLM/IDE integration has it's uses, but I'm failing to see how it's really any kind of major productivity boost for normal coding.

The Duomo in Florence took multiple generations to build. Took them forever to figure out how to build a roof for the thing. Would you want to be a builder who focuses your whole life on building a house you can't live in because it has no roof? Or would you simply be proud to be taking part in getting to help lay the foundation for something that'll one day be great?

That's my dream.
https://news.ycombinator.com/item?id=38826283
Imazing Profile Editor works well to generate VPN profiles, and a lot of other profiles I don't use. Runs on Mac or Windows and it's free. No personal stake, just a satisfied user.
https://imazing.com/profile-editor
They don't, but they will be. If for no other reason than the concrete knowledge that somehow your alias on a site is verifiably connectable to person X will lead to a raft of abuses of the legal system to silence or harass people saying things someone doesn't like. And average sites aren't going to have the resources or will to fight this.
You can still, to this day, make considerable money selling faster horses.
So social networks are great except for all the damn people on it?
Both Scala3 and Kotlin allow you to annotate functions with @tailrec which will give you a compiler warning if the compiler can’t optimize. And if you use the xfatal-warn compiler flag the Scala code won’t compile if your function is not tail call.
I don’t understand what the times mean exactly, e.g.

0:34
———-
2:16
Pick a regularly scheduled time, let everyone know they're welcome to come, and don't make them feel bad if they miss. Source: I've been co-hosting an online Hackathon with about 4-6 people on Wednesday nights for 10 years.
SpiderMonkey is still used in over 2% of the browser market share, and is used in non-Firefox applications too. I'd say it matters.
https://archive.ph/v5bAa
Threads.net is the new app.net but with ads and interoperable
Show HN: One Button Calculator (Morse code Python REPL)
> "you have Linux command execution, how do you run native code?"

I was going to ask you what the precise situation is in which you'd apply the ideas from the blog post as I don't know what exactly is meant by "process injection". I think the article would benefit from providing a little bit more background for us non-hackers / non-pentesters. Still, very interesting article – thank you!

PS: The article says

> you need a writable location on disk; this is not always true in e.g. read-only chroots, filesystems, containers, etc

Couldn't you create a temporary file in-memory (e.g. in /dev/shm or in some tmpfs), make it executable (+x) and then execute it?
I can only second that.

And by the way, it always makes me happy to see a 'thunderbong' submission reach the front page. To me that's a reassuring sign that we haven't been gentrified yet ;)
Time to ship 2024 to production.
Happy new year, fellow hackers.
May your code always work on the first try and never regress.
Precisely for that reason. Most license agreements require the end-user to waive any recourse. That's what customer protection laws are for.
Happy

sum(n**3 for n in range(2, 10))

to all! May we continue to learn from one another.
> the approach of just overwhelming Ukraine with relentless numbers could be effective

Is unclear at this moment. It only matters how much of this 34M/150M people are in an accurate age/sex to fight. Putin wouldn't survive a move to force massively women to enlist in the army, and Russia had yet a demographics problem. One million of youngsters exiled and are unavailable to became hamburgers.

Also Russia is trying to kill anybody in that 35M of people but Ukraine mostly fight only the Russian soldiers. I bet that each Ukrainian soldier had killed yet more than five Russian soldiers at the current meatwave ratio.
https://archive.is/wuxLA
What does the famous saying in the first paragraph actually say? The phrase is hyperlinked, and it 404s for me: https://regex.info/blog/2006-09-15/247

It's quite odd to see a dead link from a post made literally today.
To be fair, the guidelines[0] request of us:

> Please don't comment about the voting on comments. It never does any good, and it makes boring reading.

Which, yeah.

[0] – https://news.ycombinator.com/newsguidelines.html
Religious Trauma Syndrome
So will this be the year of the Linux desktop?
The timestamp when the "drop" or target moment occurs is at 0:34. The duration of the song is 2:16
Did you know what OpenCV is collecting money right now? https://www.indiegogo.com/projects/opencv-5-support-non-prof...
...to those who observe New Year's Day on January 1st.
Like the others have pointed out, the site is less information dense and I don't think it solves a real problem. HN looks "old school" but has good design, I think, because I come here to find a good article to read or browse an interesting comment section and the design helps me do that without getting in the way. Mostly I never even go to the second page.

Also I love HN's slightly yellowish background. It's better than a whole white bg.
This is a great question. "Be modern" is not a measurable goal and cannot guide development.

Better layout on mobile, more accessible actions, keyboard shortcuts, all those things say "modern" to me, and would be very welcome. Making the background white and adding 100px of empty space between each paragraph, less so.
Webpage is also a PNG file and a ZIP file
Eugene, Oregon has one as well: https://eugenesciencecenter.org/exhibits/eugene-solar-system...
You can follow the GitHub link and see that the author works with Microsoft Intune (MDM) which confirms what you are writing here.
Because I have no negotiating power. Every license agreement says there's no recourse, so I can't pick one that does have it.

There's a major free-market failure because there's no negotiation over the agreement. There's no representative for consumers pushing back. So that representative needs to be the government.

This is the entire reason for consumer protection laws.
The Problem of Misinformation in an Era Without Trust
https://archive.ph/aCttL
Explain a little more. I'm not understanding why the "potential impermanence" of death is a factor at all, much less why that potential impermanence is corroborated by the probability of existing in the first place.

To me it sounds like you're claiming that it makes us nervous that death might not last, and somehow realizing that being alive in the first place being improbable makes that nervousness worse. How in the world that would be the case escapes me, so asserting it as obvious seems like...too few words here to achieve any insight.

I could be misunderstanding, so more words to clarify would be appreciated.
Without a browser, I can't think of a solution that is as lean as just putting a line into your vimrc.

I guess you have to decide on an LLM that provides an API and write a command line tool that talks to the API. There probably also are open source tools that do this.
I use QR codes too. Otoh NFC tags only work on Android, I haven’t managed to get them to work on iPhones yet.
Sweet Jesus.

I'm filing a human rights complaint at The Hague.
Test Smarter, Not Harder: Focus on Outcomes, Not Outputs
Just as I'm less interested in what drivers should do versus what the government should do, I'm also less interested in what the current state of affairs is versus what it could be.