skysight-inc/HackerNews huggingface dataset:
I programmed in C++ before, mostly doing high performance stuff. Like anyone who used C++ for a while, I had issues with the language. Here are why I dislike it:

1. Compile times. There's a big difference in user experience between <10sec and >30 sec between clicking "build" and getting feedback on what mistakes you made.

Above 15-20 seconds I tend to shift my focus to something else. This means when I read the error message I have to context switch back to the task. The productivity gains from fast builds (Go, D, or even Python to be honest) are immense in my experience.

2. The syntax is bad. It's rare to have a meaningful line of code with fewer than 70-90 characters. Your eyes go horizontally as well as vertically. There's a lot of coginitive overhead in learning which stuff to skip reading, because it's boilerplate or language quirks.

3. Building C++ is nonsense, everyone has their own different solution, so getting external libraries into a project that aren't header only is hell. And header only libraries make problem #1 even worse.

C++ being insecure is not my problem. Rust focuses hard on that thing which is not my problem, but Rust puts little focus on problems #1 and #2. They do solve problem #3, they have a package manager, great, but every other language also does that so it's not a competitive advantage for me.

I seriously doubt if most people listed their priorities with languages they would align with Rust's. Few people are actually writing linux kernel code or core system libraries that could expose dangerous memory bugs.
Well, you have to have paperwork claiming it was installed correctly. You don't _have_ to install it correctly. See e.g. doors installed so correctly that they blow out in flight etc.
When I started, I selected items for my packages based on professional advice. Over the years, I've listened to feedback from the people getting them and have refined them a lot. Because I don't hand out thousands of them, I can make them a bit more generous than most. Each package currently costs me about $7.

I have two flavors, one for winter and one for summer. I don't have a complete inventory list with me right now, but from memory: socks (1 pair in summer, 2 in winter: socks are perhaps the most difficult clothing item for homeless people to find), a small first aid kit, sun screen, ibuprofen, hand warmers, mylar blanket, toothpaste & toothbrush, a menstrual pad (amazingly useful even if you don't menstruate), a snack that can be eaten with bad or no teeth, a P-51 can opener, a personal letter from me and a sheet listing local resources (including places to get free meals: if someone uses them all, they can eat a solid meal six days out of the week), that sort of thing.

My goal is that the package provides, basically, emergency urban survival items that will last for 2-3 days.

I think the best things to include vary from place to place, so if you are thinking of doing this yourself, my advice is to talk to homeless service providers in your area to get an initial list, then refine over time.

There is a very large homeless population in my area, and about 2/3rds of them are "regulars". I have a pretty fixed territory and the people in my area know who I am enough that I'm no longer really considered an "outsider" anymore. In fact, I often have regulars point me toward people who are in particular need or who are newly homeless.

The care packages are only part of it, though. Another big part is just letting people know that someone out there sees and values them as people, and another big part is just general wellness checks. If someone is having a crisis, others will tell me when they won't tell those they consider outsiders, then I can call in a local agency that will come out to give them a level of assistance I'm not able to. This has happened a dozen or so times now.
AuthZed, creators of SpiceDB, raises $12M Series A
RGB is intuitive for math adepts or for folks that can visualize the full RGB cube along 3-axis in their minds.

The rest of us need to work with average-brain color systems such as HSL (or the even better but sadly not well supported HSB) with an acronym for colors at every 60° in the wheel.

Hue:
Young(60°-Yellow) Guys(120°-Green) Can(180°-Cyan) Be(240°-Blue) Messy(300°-Magenta) Rascals(0°/360°-Red)

Saturation: From 0%-Dullard Gray to 100%-Eye Popping Full Color of Hue

Lightness: From 0%-Black to 100%-White.

Usually one fixes the Hue and then adjusts saturation/lightness to get the tints one needs.

You can split hue even further at 30° intervals to get the some more standard named colors.

30°-Orange between 0°-Red and 60°-Yellow
90°-Chartreuse between 60°-Yellow and 120°-Green
150°-Spring Green between 120°-Green and 180°-Cyan
210°-Azure between 180°-Cyan and 240°-Blue
270°-Violet between 240°-Blue and 300°-Magenta
330°-Rose between 300°-Magenta and 360°-Red

See https://upload.wikimedia.org/wikipedia/commons/thumb/5/56/RG...
I don't think SpaceX is a great example. They have incidents of all kinds but the community has accepted that as the price of advancing the technology. This is probably okay given their goal. They are not a passenger airliner manufacturer.

It also sounds like you are misinformed as to why the astronauts have not returned. Granted, the media is not really doing a commendable job explaining it, because clicks matter more. But it has been discussed accurately here on HN a few times. Spoiler: the astronauts can leave anytime they want, on the Starliner, and nobody (aside from laypersons unfamiliar with the situation) thinks otherwise. Nobody is going to need to 'rescue' them, because they are staying voluntarily.
Yeah but the author went from typescript to rust… what did they expect.
Get ready for the Judicial Branch (especially the Supreme Court) to be in charge of every federal agency going forward. It's going to get real ugly....
I wish urbanists (I more or less consider myself one) would stop bringing up climate change. There is a chance that these issues could have strong bipartisan support if you would stop tying them to highly partisan issues. Put a pin in it - there are lots of other reasons to support these measures.
I hate rust, but I think this article is unfair because the author has got his expectation wrong.

I meant, he is comparing that to pythons and typescript?
> Manx is the Celtic language of the Isle of Man. It almost went extinct with the death of its last native speaker in 1974. But thanks to an island-wide revival movement, there are now thousands of speakers.

Wait, how do these people even know how to pronounce things? Isn't it essentially a conlang at that point?
Thats how you make a bomb. With pure oxygen you can add /much/ more fuel in, and it detonates rather than deflagrates.

Search on youtube for some hydrogeh/oxygen baloon explosions to see what I mean.
I'd like a see clamsell foldable with eink inside and a small oled screen outside as camera view finder and occasional video watching. Or bring back Yota phone.
I am not convinced about that. I think that many people discovered the notion of "memory safety" with Rust, and think that only Rust provides it. The grandparent is right: Rust brings memory safety at low cost, that's the whole point.
Widespread Mail Monitoring in the U.S. (2014 Report)
Context-Augmented Retrieval: A Novel Framework for Fast Information Retrieval
Very well said, you capture what I feel but couldn't articulate.
Can I ask, do you live in NYC and take the subway?
https://web.archive.org/web/20240331183608/https://www.nytim...
There's a warning when you step off the airplane onto the jetbridge at SFO.

Good luck refusing to get off the plane because you see the cancer warning and decide not to risk it.
I think this omits one item that can be relevant. It talks about rust being fast. Rust can be quite slow to compile. If development velocity is relevant, then Rust may not be as "fast" as go to compile as an example. Of course, some folks are chasing speed at all costs (and spending 18 months re-writing to do so). Rust may be a good fit there.
Several years ago I worked on a system that operated quite like this. It used DTN (Delay/Disruption Tolerant Networking) and web proxies to allow really remote villages to get internet by bus or mule drawn carriage or however they got supplies. You would make the request, it would be batched up with all of the other requests and handed off to he supply vehicle that came around every week or twice a week. That vehicle would eventually make it to a bigger city where they had real internet and it would spider out the requests a few layers deep (up to a low number of MB), then the vehicle would make another trek and it would populate a web cache in the villages so someone hitting the same URL would be served a slightly stale version of the content. It also had email so the person who make the request would get a mail stating that it was ready and give them the link.
Interesting alternative to standard RAG. This approach works around what the paper terms to be "noisy results" with large vector search systems.

Generating the context to pass to the LLM is quickly becoming the most important part of Generative AI.
Solar panel prices have fallen by around 20% every time global capacity doubled
Omega-3 fatty acids (fish oil) could combat depression
I could have told them this 15 years ago.
Notes on implementing dark mode
This ruling effectively makes SCOTUS in charge of everything, most notably every federal agency really, even Congress.
I’m the author of this blog post, very cool to have it here.

One thing I didn’t say in the post: I’m very much a fundamentals-first kind of dev. I teach fundamentals in my courses.

I don’t think you should use tools like frameworks or transpilers/compilers without understanding how they work, because debugging is always better when you know what the tool is doing for you, and it makes it easier to use the tool. React is a particularly leaky abstraction that benefits from understanding it under-the-hood.

You need strong fundamentals to understand how things work.
> People can develop allergies during their lifetime, it's not just something that you're born with.

Sure, but the likelihood of that is low enough that insuring against that isn't worth it for most people

> But my message was about the general principle of insurance being the very thing your comment was against. The situation where the vast majority of people pay some cost of which only a few need to utilise.

No, the principle of insurance is that people pay to hedge against some event that has a reasonable likelihood of happening to them at some point. Whether it's a majority or a minority paying for it is not central to the concept of insurance.
The example author shows as unreadable is perfectly readable to me.
I wonder which root CA the intelligence agencies use to selectively MITM TLS traffic a la Crypto AG.
the discrete hardware part of the Apple II is fascinating window into 1970s hobbyist electronics sometimes. In the flashing text mode, you might think the flashing text (also used for the cursor) is done in software or something. But no, it's a 555 timer gating off the video signal for that particular character.
It’s a chicken and egg problem. You need taxes to find multi billion dollar capital programs.

I do agree this particular program was a dumb idea that advocates tried to push through with the COVID nadir in traffic and office occupancy.
Same space but I don't see any integrations listed at all on the site, just SDKs for someone to write their own integration.
The comment about Rust community being unfriendly (well, the words used are harsher than this) might be specific to Reddit sub.
EVs still have major quality problems, and it's mostly about the software
> With that definition it literally is just the git log though isn't it

I think you're right if you go by that definition ("changelog is a raw, engineering driven manifest of everything that has changed"), but there I think there is an intermediate step between git log and the user-facing release notes, whether or not it's formalized, which is to basically squash the messages into the list of effective changes since another point-in-time (eg: last release).

Let's say you add a feature, then refactor it a bit, then fix a bug in that new code. The only thing that needs to be there is the "Added a feature" part, because the rest is meaningless noise when you compare it to the prior release.

Likewise, if you add then revert something, both can be removed.

Or if you bump a dependency to version 2.0.5, then a couple days later go to 2.0.6, you don't need to mention the 2.0.5 one at all.

For me personally, this is just part of the process of how I go from git history and PRs to actual user-facing release notes (that have "why", context, and are sorted by added vs fixed, and have callouts of deprecations or breaking changes). But there's a case for it being its own output, or even the only output.
Definitely possible, but there was considerable talk about the end of Leap. Thought it was still worth mentioning.
When ChatGPT consistently gives wrong answer to the same question over several attempt, I'd seriously consider if it isn't me who is wrong.
It generally demands deterrence. Helping the victims out is great, and the proceedings should do that as best they can, but the largest benefit that can be brought to society as a whole is showing that doing these kinds of things will be bad for you.
Definitely needs more edge functions to scale horizontally across a global CDN.

Sincerely,
Your friends at the triangle company
Just want to say that the animation on the home page is delightful and a lot more creative than you'd expect from a git tool.
Given _think_ is the wrong word, so is _hallucinate_.

Hallucinate us being used primarily to promote the idea these programs think.

"presenting false information in a way that clearly indicates it [not] _thinks_ the information is true" is just PR spin on "program output is incorrect".
I was thinking "enough to routinely overrule the current 9 Justices".

Representing individual states, as such, is supposed to be the job of Congressmen. And - with how low-functioning Congress is looking, these days, patterning anything new after them is probably a bad idea.
JSX as a syntax itself doesn't require `className` and `htmlFor`, it can support `<div class="example"><label for="someInput">Hello World</label></div>` just fine syntactically, that React API choice is a leak from the standard DOM API which use `className` and `htmlFor` for historic reasons (of bad parsers and stricter keyword parsing in earlier JS standards). In theory by using the DOM names React has less work to do when diffing DOM elements (though how much React actually benefits from it today is an interesting discussion).

(Possibly relevant source/proof: my TSX-based library supports the HTML shortcut names just fine, like:

`class`: https://github.com/WorldMaker/butterfloat/blob/cb9498354a7fb...

`for`: https://github.com/WorldMaker/butterfloat/blob/cb9498354a7fb...)
There has been some uh, lively discussion about this post on various reddits since yesterday.

The author said

> I wanted to try writing the article in an inflammatory style for engagement.

but to respond to some of the things claimed, for anyone curious:

> Just give me a garbage collector, and let me do what I want to do!

This is absolutely a reasonable opinion to have, but it means Rust was just not the correct choice. That doesn't mean Rust is bad.

> Maybe I’m just an idiot and can’t figure out how to enable stack traces. But when an error happens in my application, I have no idea why!

Panics have an environment variable you can set to print a stacktrace. You can also grab a stacktrace yourself with the tools in std::backtrace, and many error libraries like anyhow will let you capture backtraces for Results. However, part of the pain the author is feeling here is that instead of using error objects directly, their example code shows them converting them to strings and then returning them that way. This is going to make figuring things out harder, but that's because you're not using the tools given.
"Our Story" > Coming Soon!
No, the court has made it obvious how much they dislike judicial activism: so much so that they're willing to roll back decades of precedent and likely cause a lot of confusion for a very long time in order to undo most of the judicial activism from the past.

I'm all for a healthy debate on whether this is good policy, but the caricatures of this Court that keep showing up on HN aren't helpful for anyone. They lead to severe misunderstandings and bad predictions of what the Court will do next.
I built an algorithmic trading platform in Python and used Cython to speed up the hotspots. No regrets.
Phones - at least the mainstream smartphones - are shining light directly at you every time you look at them. It's harder on your eyes and harder on your phone's battery. These are not what you want for a good reading experience. Not to mention that you get to see and hear notifications - even the "silent" ones - while you're reading.

E-readers can go weeks between charges, are easier on your eyes, and - when you're using them instead of your phone - actually help your phone's battery last longer too.

And unless your phone is a "phablet" or a Galaxy Z Fold, that "amazing" screen is probably quite smaller than most e-readers. Which isn't a problem for people with good vision, but for those who need larger fonts to read comfortably, screen size can be a major factor.
Climate Was Expected to Sink Maldives, Marshalls and Tuvalu, but They're Growing
Does this generate type-safe code? We ended up using https://www.hypertune.com/ to solve that problem.
Yes, for the first few.

But the idea of the test is that this could be done in a wider scale. If a significant portion of horns are being confiscated (via radiation sensors) then there’s fewer horns being sold and less money available for all those middleman groups. Over time the market goes away.

Perhaps similar to how the market for stolen iPhones dried up once people could remotely brick their stole phone. There’s just less money to be made so thieves move on to more lucrative targets.
Congress is broken and structurally incapable of passing laws under this level of political polarization because there are too many veto points (bicameral legislature, the filibuster, the presidential veto) for any law to get passed even if it's supported by the majority of legislators and the majority of voters.
React Server Components are async/await. Suspense works with async/await to show loading indicators (it is not a replacement as you are implying). They said they have plans to bring async await to Client Components but they need the AsyncContext tc39 proposal to come to JS first.

The worst part of react is all the FUD hacker news creates about it every time they try to innovate to make the web's defacto framework better.
The impact of our childhood experiences on next generations
I enjoy learning from other people's perspectives, cultural backgrounds, and how they lived. As immigrants, we always carry a piece of our lives with us, even after our lives have been transformed by our expat experience.

I wanted to share this fantastic article from Deb Liu (CEO of Ancestry), in which she reflects on how her upbringing as a child of immigrants has influenced the way she raises her kids from a holistic perspective.

I hope you all enjoy it as much as I did.
Damn I feel personally called out haha.

I'm a 6ft 170lb male and I can bench press maybe 120 lbs for one rep max? I've been neglecting my bench press.
> all the more credible for doing so

Agreed. It just means he is thorough and critical of self.-
CATs are recorded in pilot reports using terms like "light", "moderate", "severe", and "extreme" which each have a definition. I.e. severe is "Occupants are forced violently against seat belts or shoulder straps. Unsecured objects are tossed about. Food service and walking are impossible." I think only severe and extreme turbulence need mandatory reports and the lower two levels are a bit more subjective ("Food service and walking are difficult")

Newer planes have sensors to measure eddy dissipation rates which are an objective measure of turbulence but I don't know how widespread those systems are and whether they get reported anywhere. They're mostly used for long distance transoceanic flights.
Your link is the same as the one gumby posted. I'm not seeing a listing of 5 brands, and Ctrl-f for "such as" results in 0 matches. On that page, I see 31 brands listed: Thomas, Sara Lee, Brownberry, Oroweat (sic), Entenmann's, Arnold, Lender's, Little Bites, Ball Park, Bays, Marinela, Bimbo, Maier's, Beefsteak, Boboli, The Cheesecake Factory, Mrs Baird's, Heiner's, Emmy's Organics, Grandma Sycamore's, Tia Rosa, Stroehmann, Nature's Harvest, Freihofer's, Wholesome Harvest, Goldminer, The Rustik Oven, Grace Baking, San Luis Sourdough, Alfaro's, and Tenderflake. Is this getting close to all of their brands?
Yeah,

> Just give me a garbage collector, and let me do what I want to do!

That line pretty much perfectly shows the author doesn't know what he's talking about.

Note to the author: Rust is specifically made for situations where you can't use a garbage collector.
That commonly repeated datum is one of those that falls under the lies, dirty lies, and then statistics - type of lies. Because most people would think this means that if you instead had a private jet and just started flying literally everywhere (instead of driving) then it'd be much more safe, right? Nope - it'd be dramatically more dangerous in fact.

This owes to the fact that the stat compares deaths per mile, but the real risk in a plane is not measured in miles, but in takeoff/landing/pressurization cycles. Whether the plane then flies for 10 miles or 5000, the risk is pretty much the same. And so if you mask out the danger by looking at deaths/mile then yeah - they're safer. But if you look at it in terms of 'what are my odds of dying on an average trip' - then they're much less safe than driving.

You can really intuit this by imagining some ultra-high risk interstellar starship. If it traveled quadrillions upon quadrillions of miles, but 99% of them randomly blew up and killed everybody on board, then it'd still be far safer than driving in terms of deaths/mile. The deaths/mile datum is not really very useful for modes of transport where the risk models are very different, and that's very much the case for driving vs flying.
The problem is other stakeholders live in the provinces. NYC transit advocates don’t represent them. NYC is a regional megalopolis.

The commentary here is always focused on the strawman terrible people commuting to lower Manhattan, but there are a million reasons why convenient travel to or through Manhattan is needed.

It’s also unfair to characterize the governor of New York as “some politican”. The MTA and most river crossings are owned by public authorities controlled by the state, and the entirety of the system is dependent on New Jersey Transit and the multi-state Port Authority. Congestion pricing was a state initiative all along.
Ohh wow, TIL. This is like that P&G chart, where in one mega corp just acquired majority brands in a business.
Yeah I think he's just coming from a totally different operating domain. I cannot even imagine going from Typescript to C/C++/Rust. I'm even impressed OP maybe it this far...
The problem is Rust's marketing. They sell the language too well for use cases that don't need the same degree of safety or speed, and Java (or Go, or C#) would be the more pragmatic choice.

If you find yourself writing an OS or browser, Rust is a great choice. Basically anything where C++ is the alternative.
> Just give me a garbage collector, and let me do what I want to do!

Yes - a clear sign you have not found a good application for safety, security, and low-level control vs developer speed. Systems, safety critical, embedded, etc.

Why it expanded beyond this is not clear to me, other than hype and falling into a gaping void in distributed systems development that Go never filled for some reason.