skysight-inc/HackerNews huggingface dataset:
Alright sure, I guess I just don't understand what it is "you need" for state management then, but I don't want to get caught up in this too much, you've made your point.

I 100% agree that React is super boilerplate heavy, a lot of things are indeed 'a whole celebration', I personally choose something like Svelte over React if I have the choice, because I don't enjoy that either.
All I'm saying is that plain React is not useless! It's completely fine.
I don't mind working with it, it makes a tradeoff of being more ceremony but perhaps less magic and I think the tradeoff is okay.
>> All universities should provide digital copies of their students bachelor's and masters thesis as well as PhDs

I'm not sure that is healthy, not for undergraduates. I'm all for open access to knowledge, but I question how much knowledge is actually in the average undergraduate thesis. I think a greater danger exists in people being held to things they said while an undergraduate student.

Famously, some of the stuff written by president Obama while he was a law student at Harvard has not been released, nor should it be. We shouldn't hold people for a lifetime to the incorrect, dangerous, or just outright silly stuff they might have said in a papers when they are new to a subject. Putting undergrad work into a perpetual public archive would also have a chilling effect amongst young students who should be enjoying academic freedom. I cannot remember 99% of the stuff I wrote as an undergraduate, but I know that somewhere in there is something horrible that I am glad to have forgotten.
> gradations of nuclear exchange

This is the first time that I have seen this terminology. I tried to Google for it, but I cannot find any information about this idea. Are there any war college studies (US/Europe) that you can share?

Controversially, I don't think generals from either the US, nor Russia, would be willing to "pull the trigger" and launch a nuclear attack. Yes, I really think there would be a constitutional crisis where senior ministers and military leaders might stage an "instant" coup to prevent a nuclear attack.
I was indeed wondering. Thank you.
BBC Weather fault forecasts hurricanes across world
The cool thing about rust is that it forces you to use thread safety primitives. It's called fearless concurrency
Agreed. In that situation (following tfa's language) the product owner must either be an architect or be besties with one. A hoard of relatively unskilled laborers is not going to produce a cogent product otherwise. Then, what are you left with? The architect is leading the charge.

It's also good to take a step back and recall that all of these prescriptive, brand-name models for making software are, in fact, products in and of themselves. Their purported aim is to improve software, but what they really do is sell books, conference tickets, and consulting services.
Coffee for Your Heart: The Regenerative Power of Caffeine on Vascular Health
Recent big thread https://news.ycombinator.com/item?id=40378433
> I don't know of any browser engine in C#/Java?

A famous one is HotJava. According to Wikipedia, it was also the first web browser to support Java applets.
I _think_ they're an employee of the gov.uk design service?
Show HN: Echo, AI voice and text notes
Hi everyone - My cofounder, Reuben, and I have been working on Echo, a voice & text, mobile-first, note-taking app that uses GPT-4o to organize your thoughts and bring them to life.

Download here: https://apps.apple.com/us/app/echo-ai-notes/id6503351019

How Echo works:
1. Write or record notes. We recommend going for a walk and just rambling. Echo works well with unstructured thoughts.
2. Echo automatically organizes your notes into topics.
3. You can ask Echo questions, and it will use your notes to generate a response.

We launched in the App Store on Sep 3. The most common use-cases our users share with us are:
- Habit building by capturing how you feel instead of just counting events.
- Getting unstuck when writing by talking out loud.
- Capturing inspiration when it strikes.
- Boosting creativity through daily ramblings.

Personally, I use Echo to think through a syllabus for a law school class I'm teaching in the fall. I'm a lawyer turned software designer and I've always struggled to write, but I get energized when talking about my ideas. So, I take Echo for a walk and just talk my way through what I want to teach these students. After a couple days of this, I ask Echo to draft a syllabus for me.

Echo is free to use. We're still very early-stage and would love your feedback. You can reach me at thomas@echonotes.ai

Thank you!

p.s.
We're launching on Product Hunt today. Wish us luck.
I found a live example here, on the page where you can check if you are eligible for legal aid: https://www.gov.uk/check-legal-aid then click "Start now" then "Domestic abuse"
Netflix's TimeSeries Data Abstraction Layer
"AI girlfriend" site Muah[.]AI had 1.9M email addresses breached last month
I've been using std::vector with arrays that take up to tens of gigabytes for ~15 years without any real issues. Once the size of the allocation exceeds a few megabytes, any reasonable allocator is going to use an anonymous memory map anyway. And if the array doesn't need to grow, it takes effort to make a standard library vector worse than a manually optimized one. It's just a pointer and two integers, after all.
I inherited a small hardcover handbook on the use of cocaine in medicine and the household. I don’t have it in front of me at the moment so I don’t remember the print date. I’m guessing late 1800 or early 1900. Ah. DDG to rescue, here is a version of it. https://www.thebookmerchantjenkins.com/product/coca-and-coca...
Certainly a different perspective on it from today.
How to Create Team Values That Drive Performance
Phytoremediation of pollutants from wastewater: A concise review (2022)
Thanks for the feedback! More than happy to learn more about your workflow if you'd like to share (farouq@finetunedb.com)
I think maybe the GP's point is that we should use systems languages, with their focus on efficiency, for things that the OP defines as out of scope, as an antidote to the creeping software bloat that we all like to complain about from time to time.

And let's not forget that Word 97 felt bloated in its day, however fondly we may look back on it now.
Executive Potential Means Shifting the Altitude of the Conversation
I disagree. In particular for me the allure for CGI was its simplicity.
Have you played around with WASM in the browser? It involves way too many steps to get it integrated into the web page and to interact with it.

I let chatgpt do the tedious work, have a look at a minimal example:

https://chatgpt.com/share/6707c2f3-5840-8008-96eb-e5002e2241...
I am by no means an expert, but I used Flux.jl for a convolutional neural net in electromagnetics for my latest paper and it was such a breath of fresh air compared to Python and PyTorch. (I'm an EE and not great at programming, so I found a lot of frustration in PyTorch). Even though the Keras library in Python is pretty nice, even then I got myself into some odd pickles when trying to do some custom layers which used FFT processing as it relates to gradient computation. Things are much smoother in Julia, and that doesn't even count how much easier the Plots library is! I'm ashamed to admit that I have no idea how to manipulate the figures and axes in Matplotlib without extensive googling.
> they made bad technical decisions in the design

Considering that the most important design requirement was to have a security model that's good enough for running untrusted code in web browsers at near native performance, I think the WASM peeps did a pretty good job.

Your requirements may be different, but then maybe WASM simply isn't the right solution for you (there are plenty of alternatives outside web browsers after all).
Plumbers do have the advantage of being third parties though.

As a side note, I have no idea what you mean by /r/plumbing. Is that something that I should know?
> As much as I love the aesthetic, I'm developing a fear that they'll soon spin off into a startup with some kind of paid model

I mean, unless the next PM is Zombie Thatcher, this seems like an excessive level of privatisation.
What they mean is that in Java, for example, a method has to explicitly state which exceptions it might throw as part of its signature. Note that they said "throws", not "throw".

Python does not have that.
I’m a fan of all these projects that are leveraging S3 to implement high availability / high scalability for traditionally sensitive stateful workloads.

Local caching is a key element of such architectures, otherwise S3 is too slow and expensive to query.
It took us almost 2 decades but finally the truly cloud native architectures are becoming a reality. Warp and Turbopuffer are some of the many other examples
Not just Mars, NASA plans to land an upper stage on the moon. I think it will need pretty large landing legs, because there is no flat surface on the moon. And gravity being lower while inertia is the same means that things topple over much more easily than on Earth.
Forgive me my ignorance, but if I write

int foo(int *x) {
*x = 0;
// wait until another thread writes to *x
return *x;
}

Can the C compiler really optimize foo to always return 0? That seems extremely unintuitive to me.
I am really waiting for the day Julia ML ecosystem improves and I can jump ship to it.
And this whole war was preventable by NATO ceasing its expansion.
> I can't find the link right now but I seem to remember that Firefox already replaced some internal native subsystems with the same code compiled to WASM - or maybe even compiled to WASM and then translated back to C

Was it this one? https://hacks.mozilla.org/2021/12/webassembly-and-back-again...

Or perhaps this one? https://hacks.mozilla.org/2020/02/securing-firefox-with-weba...
That is Firefox standalone behavior when it detects its files have been changed and differ from the ones loaded by the current instance. In theory, what snap is doing avoid changing files from a program while it is running.
“Talent is a pursued interest. Anything that you're willing to practice, you can do.” - Bob Ross
Owe your banker £1k you are at his mercy; owe him £1m the position is reversed (2019)
Best-case scenario for climate change is now 1.6°C of warming
Anarchy in this case seems like a good choice of word to me, at least. No single leader, no single direction.
But if you do the "in" syntax with some_function() then you would need to assign the value before anyway or have to call the function twice?

if some_function() not in table:
return default_value
value = table[some_function()]
The advantage of satisfying the borrow checker isn't all that obvious. The BC is designed to make the program behave well with the fundamental machine model of a common computing device. You may be able to get away with spaghetti code for a new feature in a GC-based language. However my experience is that such technical debt grows over time and you're forced to carry out a massive refactor later anyways. GC isn't going to help you there. You might as well refactor the code in the beginning itself with the guidance of the BC in order to avoid pain in the end. This is why Rust programs have a reputation to run correctly almost always if they compile.

And as the other commenter said, the borrow checker isn't all that hard to satisfy. BC complaints are often related to serious memory handling bugs. So if you know how to solve such bugs (which you need to know with C or C++ anyway), BC won't frustrate you. You may occasionally face some issues that are hard to solve under the constraints of the BC. But you can handle them by moving the safety checks from compile-time to runtime (using RefCell, Mutex, etc) or handle it manually (using unsafe) if you know what you're doing.

Like the other commenter, I find some of the complaints about programming friction and refactor to be exaggerated very often. That's unfair towards Rust in that it hurts its adoption.
I thought about creating a search engine using https://github.com/phiresky/sql.js-httpvfs, commoncrawl and cloudflare R2. But never found the time to start...
I don't think it would be the company that focused on those Moonshots. The founder types with $Billions get bored and start new things that try these instead.
Although 3.1 also meets that criteria. And even with python 2, the dependencies could still update. The main thing is that it's the not-updating that will make your code run forever (on any system, language, version), not the fact that it's python 2.
Something I keep seeing is that modern ML makes for some really cool and impressive tech demos in the creative field, but is not productionizable due to a lack of creative control.

Namely, anything generating music / video / images - tweaking the output is not workable.

Some notable exceptions are when you need stock art for a blog post (no need for creative control), Adobe's recolorization tool (lots of control built in), and a couple more things here and there.

I don't know how it is for 3D assets or rigged model animation (as per the article), never worked with them. I'd be curious to hear about successful applications, maybe there's a pattern.
The skills that you are treating as innate may be a lot more learnable than you think. The first time I did micro-soldering (soldering things on the scale of 1 mm) when I was an EE, my hands shook a lot, and I basically just tried to figure out how to catch the soldering iron in the right place while it waved around. After doing more micro-soldering, people later complimented my "very steady hands" when soldering small things, and they were very steady. Since then, being able to aim things precisely has carried over. I walked on to the NCAA fencing team at school and was good enough to go to several meets largely because I am 6'3" and left-handed, and could accurately aim the point of an epee at small targets. I also later have been target shooting a bit, and was told I did a lot better than most new shooters.

I have fantastic fine motor control thanks to piano playing, but I am very clumsy otherwise. I regularly run into doorways and have near-misses with static objects. The fencing coach found this hilarious. I assume the fine motor control comes from practice (while most people learned to not run into doors, I studied the blade).

Certain aspects of this stuff are innate, but I think a lot less of it is than most people do. Those innate things do seem to include "speed at which you learn new stuff," as well as very basic parameters of your body like reflexes, bone density, and body shape.
The same essential skills make a great PO/business analyst as a great engineer: the ability to think in abstract terms and the ability to debug.

When successful POs write a book or something, they present the best-practices. They don't share the most important wisdom though: there are pretty smart to start with... Applying their practices without the ability to think does not work, and it's not something one can pick up on the go.

Nothing comes from nothing.
Do you realise that as soon as you go to any of those websites, your details are scraped and sold? The second you put any data in drive or worksdpace, that is scraped into LLMs and sold?

Theres a reason that you have to log into a Google account to use those services, which means agreeing to their rather large TOS.

Buying something doesnt necessarily mean you have to pay money for it. Your time and information is worth something too.
Another great feature of Tcl for writing servers it that you can reload the code while it is running and keep all the state and connections open. Code up/bootstrap your server while it is running the whole time. Sure this is a security nightmare, but it is fun to code.
This reminds me of Seeing Like a State[0] (I know, it's not new... but I only got around to reading it earlier this year.)

Automating a process makes it more standardized and legible, but takes away a lot of the nuance and of the resilience that human institutions tend to bake in. Do it too little, you get chaos; do it too much, you're destroying the very thing you were trying to nurture.

It's certainly deformation professionnelle, but the parallel with software is eerily relevant.

---
[0] https://en.wikipedia.org/wiki/Seeing_Like_a_State
Dutch traffic lights vulnerable to hackers: report
> It sounds pessimistic and awful

It isn't really. I don't know you but what e.g. movie or music taste we have in common is probably quite blend and boring. The art is in the niche.

And for some reason the algorithm thinks we love what we have in common with others. Click one 'blend' video and its genre takes over your feed.
Is there more embarrassing pro-Zionist material on IA than there is embarrassing pro-Palestine (for lack of a better term for whatever "the opposite" is) material?
I just wrote that as an observation, and I did not mean to offend the parent.

Now, let me explain why I felt that way. First and foremost, the phrase "undefined behavior" only applies to C and C++ because the specifications of those languages define it. The statement that Rust has no UB does not make sense because Rust has no specification, and all behavior is defined by the default implementation.

For example, C/C++ specifications state that using a pointer after calling "free()" on it is UB. But an implementation can make it well-defined by adding a GC and making "free()" a no-op. Hence, memory safety is entirely orthogonal to UB.

Another example: signed overflow being UB is not a memory safety problem unless the value is used for array indexing. Also, it is possible to enable bounds checking in STL containers (like _GLIBCXX_ASSERTIONS).

It seems like that a lot of Rust fans read John Regehr's posts and use "undefined behavior" as a boogeyman to throw shade at C/C++. They repeat the same points ad nauseam. It also helps that the phrase "undefined behavior" evokes strong emotions (eg., "nasal demons"). I see the parent commenter doing this frequently and sometimes[1] even in the C++ subreddit (of all the places!). How is this not obnoxious?

Here[2] is another person doing the same, but in a spicier tone. Linked lists and graphs are safe if you have an isoheap allocator (look at Fil-C).

You can say that it is moral to endlessly reiterate the problems of unsafe languages, because it could lead to more secure software. But see the reply to my other comment by "hyperbrainer"[3] which says that Rust is "completely" memory safe, which is entirely wrong[4]. It is hard not to suspect the motives of those who claim to be concerned about memory safety.

[1] -https://old.reddit.com/r/cpp/comments/1fu0y6n/when_a_backgro...
[2] - https://news.ycombinator.com/item?id=32121622
[3] - I am unable to reply because of the depth.
[4] - Rust requires unsafe to do a lot of things which can be done in safe code in a GC'd language. Thus, unsafe is pretty common in Rust than most GC'd languages. If a segfault can literally kill a person, it is absolutely immoral to choose Rust over Java (it does not matter that Rust "feels" safer than Java).
Note the “all” in the example binds to “across”, not “McD’s”.

“All McD’s” - quite precise; literally all the McD’s.

“McD’s all across the country” - a much looser group, implies various McD’s spanning roughly coast to coast (hence “all across the country”), but not necessarily including the westernmost and easternmost McD’s - just a decent distribution of west-to-east, perhaps with no giant gaps (like missing the whole Midwest).
Seems like this site is getting hugged to death right now
My question is: How did Scott Helme end up with a password hash that features his own name?
If you need childcare to return to the office, we're you really, wholly working from home?
totally.

The break up occurred in the 80's. and since then through mergers/acquisitions, they have re-joined.

So we have monopolies again.

Somehow we have lost the will-power in government to impose the needed actions to ensure a free market. Like also denying mergers that would create monopolies.

Like how was Ticketmaster even allowed to happen. We let it buy its competitors and now it is a monopoly.
This isn't some 4D-chess. Reads more like you feel attacked because they share the same opinion as you and you just want to deflect.
> product speed is declining, see this chart.

How do you measure product speed in a useful manner?

I'd disqualify metrics such as number of tickets, lines of code, and "story points", because they either have an undefined relationship with product velocity (e.g. LOC per week), can vary in size too much to be useful (e.g. number of tickets per week), or they're tautological (e.g. story points per week).

What's left?
Cool, that's what I want to say - Arc-like browser
Of course!

I'm pointing out that if you cross the border, it is easy to find dev jobs that pay a lot more than italian jobs. Salary in Italy have been stagnant for over 10 years (more now. Haven't looked at the job market in a while). At the time, it was 30k gross vs 70k for positions in Germany (and some 90k too, i assume those were outliers).

A few of my friends moved to Iceland and hit those salaries (and more) without troubles
Right. We are now arguing over the nuances of what would make quantum computers useful, which I address in a comment where I say "Everything matters" later in this thread.

Most people who work in this field doubt that every quantum simulation problem we care about will be classical tractable in practice, that is, non worst-case. If we believed that, we might as well give up and continue to use the robust, mature classical computers we have and will continue to have better instances of for the foreseeable future.
RoadDanger Platform – Who is killing who?
How long does a fineliner typically last? During the pandemic I tried doing Draw A Box, which demands fineliners. It seemed like they’d die on me extremely fast, and was a big reason I stopped. I don’t know if I got a bad batch or that’s just how they are.
The data of an individual may be worth something like $0.001 which is not that much to an individual.

However the value is not nothing, and if you are a company with multiple billion users, that value of data can get pretty big pretty fast
Fidelity says data breach exposed personal data of 77,000 customers
For e-mail addresses as an authentication tool, you don't really need to be able to send emails at all, just receive them, and I think that is pretty feasible to not run afoul of the usual shenanigans.
I think you are close, but we need to stop these mega-mergers where the acquisition would give any company X% of the market. We also need to go after the anti-monopoly practices of the mega giants; like what Amazon did to Diapers.com. As we've seen through the pandemic and elsewhere, extreme consolidation is only good for shareholders and more rent-seeking. It is never good for workers or the market or competition. It has affected everything from food to energy to "news" to healthcare.
Why don't you think aircraft carrier deployed F/A-18 Super Hornet would be effective against China to protect Taiwan?
Yes. Now try applying it to something like this very HN comment section, which is mixing words belonging to different cultures inside a single comment - and in some cases even inside the same word.

Sure, you can now do case conversion for a specific culture, but which one?
In embedded this situation is quite common when x points to a hardware register. The typical solution is to declare x as volatile[1] which tells the compiler to omit these optimizations.

It's very common for beginner embedded programmers to forget to do this and spend hours debugging why the register doesn't change when it should.

[1] https://en.m.wikipedia.org/wiki/Volatile_(computer_programmi...
Well, it was more broken in more interesting ways before they implemented the forced restart
Yes. Is there ANY way good to type combined words using the default Android keyboard? I keep manually removing spaces, and then the spellchecker of course incorrectly marks the combined word as being incorrect.