skysight-inc/HackerNews huggingface dataset:
It really depends on your visual rep. For me, I took symbols related to CFG and RegEx representations, and then focused on direct manipulation of those representations. You can find a YouTube video of it probably, and I know I have a paper somewhere, but it’s been so long.

A conversational interface is already going to work well for simple things, but that isn’t very visual. Without abstraction, encapsulation, and generalization, are you even programming?
because the speed of light is really the speed of information, much like the clock-speed of the processor if the universe was a simulation.
> Schematics don't scale well at all

Schematics aren't supposed to scale. They're a lossy representation of a subcircuit without caring about the intricate details like footprints or electrical/electro-mechanic constraints.

PCB designers largely don't use HDLs because they don't really solve their problems. Splitting a BGA component into subcircuits that have easily legible schematics is not hard, but it's also not what they care about. That shit is easy, making sure the blocks are all connected correctly.

Verifying the electrical constraints of the 256 pad component is much harder and not represented in the schematic at all. They need to see the traces and footprint exactly.

As an example, the schematic doesn't tell you if a naive designer put the silkscreen label and orientation marker underneath the component which will cause manufacturing defects like tombstoning in jellybean parts.
The real dumbest idea in computer security is "we'll add security later, after the basic functionality is complete"
Yeah it sounds more like a media show he put on to our pressure precisely on that corporation rather than the people in the kitchen.

Probably pretty effective too considering he was Mr. Brand Image
Speaking from a US perspective, a lot of people have lost their connection to society and to a sense of meaningful cultural identity.

There's a crisis of singleness that hasn't been present in much, although not all, of human history.

Home ownership is way down. At various points throughout human history it was common for people to own their own homes.

Most people have very little autonomy in their day to day work. In the past most people worked on small scale farms and cottage industries where they didn't have layers upon layers of middle managers micromanaging them.
I switched off at paragraph two:

"Prokaryotes emerged 3.5 billion years ago, their gene networks acting like rudimentary brains. These networks controlled chemical reactions and cellular processes, laying the foundation for complexity."

... for which there is no evidence at all. Psuedo-science, aka Fantasy.
I recommend finding some established nextjs codebases and reviewing how they are built. You have a lot of info wrong in your post and I think you'd get a lot of value out of seeing how it's used by engineers experienced with the framework.
All in all, this is a good post. I look forward to sharing it with coworkers tomorrow with regards to documentation improvements.

> But nobody ever made a flow chart to read

for (i in 0..10) if even?(i) print(i).

I have. I do it at the last because I don't know the tool that well and it's never asked for in the Jira ticket. But if I have time, I 100% believe workflow diagrams should show this and should be automatically generated and attached to, eg, Doxygen comments/markdown in the IDE and shown in Doxygen (or ReadTheDocs) sites.

> Developers familiar with code already like and understand textual representations to read and write business logic

Yes, but workflow diagrams help non-programmers even more. Product teams, hardware teams, and training/reference manuals can all be better derived with all three (workflow diagrams, autogenerated/comments, code snippets)

> let me ask you: do you know exactly how your data is laid out in memory? Bad memory layouts are one of the biggest contributors to poor performance. Yet it is very hard to "see" how a given piece of data is laid out and contrast it with the access patterns present in the codebase.

Yes. I would love to see a tool that builds on a C++ language server to show memory layouts of each concrete class at the instantiation of `new` or anything which calls it such as `make_unique` or `make_shared` or similar static functions or etc. Show me call trees where allocations occur, especially ephemeral allocations!

I would love to see how many of a given object might fit on typical cache lines or page sizes, to optimize reserve sizes of containers especially memory pools. That can be done in code with sizeof() fairly easily, but it would be cool to have a it shown graphically in the IDE.

> do you know all the external dependencies your code hits when responding to a given HTTP request?

No, but I use open source software stack up to and including the kernel, and can read the whole stack if I find any odd behavior.

> Are you sure?

Yup, most recent complex issue was related to Address Sanitizer memory layout and kernel ASLR changes. Complex issue prior to that was gRPC or protobuf library crashing before main() starts. That was never fixed, it was worked around multiple times. Good luck anyone using protobuf in C++ for anything more complicated than the examples! protobuf and gRPC code is a f00kkin nightmare of bad practices!

> Didn't you notice that Bob just added a call to a rate limiter service in the middleware? Don't worry, you'll learn about it in the next outage.

Don't blame the outage on Bob, he did pretty good work. I even approved the unit tests for it. It's my fault I didn't catch the rate limiter's O(n) quickly ramps up logarithmically with connection count per instance, I forgot to ask for an automated benchmark test for it.
As far as I can tell, anti-nuclear people either have a very shallow understanding of energy and can’t really have a conversation with you using well sourced numbers or they can but know the numbers show that nuclear is the only realistic choice and either way they just respond without numbers in very short and easy to repeat (and incorrect) arguments like “storage” and “bigger grids”.

Anti-nuclear environmentalists’ first choice would be to let people freeze to death. That being politically untenable their second choice is to continue using fossil fuels as the baseload and offset it as much as possible with renewables. They think nuclear is “an excuse” to continue the “business as usual” of affordable energy. They want energy to be unavailable and expensive. They oppose human progress and economic development as itself evil, even if the environmental impact is zero. Making energy expensive is their goal, not something they reluctantly accept. All the counter productive positions and bad arguments make perfect sense when you realize that they simply have a totally different goal from you.
> I specifically said that including the boilerplate is a common pitfall, and requires teaching around a bunch of impertinent concepts.

And again, I'm saying I disagree with this. You are saying don't include the boilerplate at all when teaching. I a saying, do include the boilerplate and don't teach it until students are ready to understand it.

As a separate topic, if the language doesn't need boilerplate to make the program work (like Racket) that's spectacular. But if it does, then I'm explicitly saying "show the boilerplate and explain 'you don't need to focus on it now. You will learn it later'".

It is best give people a fully working program at all times, even if they don't understand all of it. So they can play around with it, rather than just read along while the author writes about what would have happened if it were fully functioning code they could play with.

And to make it very clear, the example I linked to explicitly includes all of the boilerplate, and I explained exactly the best method to teach a student with that specific concrete source code.

> https://www.geeksforgeeks.org/java-hello-world-program/

Now all of that said - this isn't really important enough to continue arguing on the internet over. I think we both had good intentions but just weren't communicating clearly. I hope you have a great day.
App that compares classic rock songs to new rock songs?
Much like an algorithm does "if you like this". For example an app that can compare "Dorothy" (Martin) to "sounds like Grace Slick". I'm writing articles to help classic fans find new rock music.
Thanks for that comment, refreshing to read amidst this war zone of a comment section, ha ha! :)
At least in so far as the higher level (DOM, browser runtime) and lower level (memory access, to the extent that it's mediated by the WASM VM) have no security issues...

The VM itself is pretty tight, but abstractions have a nasty habit of being leaky.
More stats proving that you can have more issues with frequent feature updates without upgrading hardware: https://en.wikipedia.org/wiki/Issues_relating_to_iOS
Here's a complete archive of the Bell System Technical Journal from 1922–1983. https://archive.org/details/bstj-archives
You can use Algolia search just as well as I can: https://news.ycombinator.com/item?id=40957344

The rest is well documented in the news.
Depends very highly on region.

Here in Spain it's very very common to eat out for our lunch break at work. We don't even have a full canteen at the office because everyone just goes to the local restaurants anyway.

For around 12€ you get a daily rotating menu with a few choices for starter, main, dessert or coffee and a drink. And it's a nice relaxed experience rather than a quick canteen sandwich while everyone looks at their watch.

Eating out at lunch time is so common almost all restaurants do these cheap menus and are pretty full. During the night it's more for special occasions and a la carte with higher pricing. Many restaurants around the office don't even open at night as they don't get the volume.
I looked at 0mq et al, and what I couldn't understand is why sockets have a single exclusive type. Like say I want a process that generally sends out streaming broadcast updates, but is also controlled through request-reply. It would need two separate sockets. Then I'd have to reinvent some sort of ordering protocol across the two (as well as program logic to handle the partially-connected state), which would defeat much of the point of using 0mq?
A couple? https://news.ycombinator.com/item?id=40957344 make sure you can view all the dead comments.

Not taking people's alt accounts that are also spamming this and other Trump related posts seriously is dangerous at best. There's a pattern here that's not hard to see.
Ah ok. Was wondering why this was on HN front page today. :)
Housing problem is more about politics + zoning and minimum parking requirements. To build more housing you need space and demand and usually zoning+pk mins are the opposite. Also, in other areas like EU housing is a problem for another reasons like bureaucracy, few authorisations from city council, the lobby of home owners to keep supply low, the lobby from car companies (no parking and more density means cars less needed)

The construction jobs even if in demand, usually can be filled with ppl from poorer countries, so it's not such a big problem
The citation of 7% as the true return isn't a "shortcut", though a nominal return of 10% could be argued to be, but an acknowledgement that total returns are not real without accounting for inflation. If an hypothetical index in a developing country rises by 50%, but inflation is 100%, then even though the nominal index returns may look impressive, it has actually had a negative real return, as the real inflation-adjusted value has decreased. The use of nominal terms for market returns is money illusion.

For the 50 year period from January 1974 to January 2024, the annualized inflation adjusted real return of the S&P 500 has been 7.04%, which is not a shortcut, but simply correct. The nominal annualized total return has been 11.14%, but it is an illusory return of value without being inflation adjusted.
What actually constitutes an "attempt to overthrow a government"? Do you think a random mob would be followed by the country as a whole? Do you have so little faith in the government's institutions that they'd just agree to follow them? Do you think the military would?

If an "attempt" is so far flung from reality as to be impossible does it actually make it an attempt? If the mob had been half its size, or a quarter its size, or even one person, is that still an "attempt to overthrow the government"?

Even if they'd literally walked in with their guns blazing and killed every single politician they could find, while it'd cause a ton of chaos, the government would still have elections to replace those people killed and government would continue.
No, but you should definitely not vote for them.
You think Corporations are left wing? Tech employees might lean left at least the more vocal ones but corporations are definitely not left wing for the most part. Media and Academia I can accept and I already mentioned journalism or at least news which clearly favours the right.
The key us in understanding why the previous times failed. What constraints existed then, which possibly no longer exist now.

Projects fail for many reasons. Technical, market, capital, time and so on. But things change. Building an add-on for electric cars would likely fail 20 years ago, again 10 years ago. But now? Or 10 years from now?

Only by -really- understanding what caused a project to fail can you determine if that barrier is no longer in place. Which means you can try again, and potentially find the next barrier or success.
Molecular organic biology _is_ already since the dawn of time the realization of nanobots through enzymes and various automata built in chemistry.

I think (to your point) what is interesting is adding new chemical nanobot-esque compounds that nature had not yet developed. For example that can coordinate with external focused energy.
> Again though, feel free to list the stuff we've lost.

The first thing that comes to mind is dependence on other people. Modern life has made it possible for the average person after a certain age to live without meaningful interaction with others. In the same vein one’s ability to choose one’s company has been greatly increased, which leads to superficial relationships and the isolation of those that no one chooses to be with.

> This paints a powerful case for humanity also being psychologically and emotionally better off, on average, than at any older time in history

This is not at all obvious for the reasons listed above, after a certain point material abundance does not cause psychological well-being. I’d argue that point was well within the reach of most of our ancestors, since we have had happy ancestors of modest socioeconomic status.

> Whatever you might think of Steven Pinker, the guy's fundamental argument is broadly true

The only broadly true statement that can be made about this topic is that modern life is generally incomparable how it was historically.

I find that the sentiment underlying these arguments is usually masturbatory in nature.
Or just use https://limine-bootloader.org/, which greatly simplifies everything. No messing around in real mode (even when doing SMP), automatically loads your kernel using a higher-half mapping, and also works on aarch64 and riscv64.
I can only speak for myself, but knowing where my food came from makes me extremely happy and thats something that we have largely lost today.

I spent about a year raising two hogs, babying them when compared to how almost anyone raises pigs. They loved their lives, I know exactly what they ate, and I know exactly what their last moments were. I just started curing another round of bacon a couple days ago, and when I get to enjoy it I know exactly how much work and love went into it.

I don't think this process made anyone as miserable as possible, and it makes me much happier than when I didn't k ow where my food came from, how it was raised, or how it was processed.
I'm going to throw a vote in here for Grasshopper, the visual programming language in Rhino3d as doing it the right way. It is WIDELY used in architectural education and practice alike.

Unfortunately, most visuals you'll get of the populated canvas online are crap. And for those of us who make extremely clean readable programs it's kind of a superpower and we tend to be careful with how widely we spread them. But once you see a good one you get the value immediately.

Here's a good simple program I made, as a sample. [0]

Also, I want to give a shout-out to the Future of Coding community in this.
The Whole Code Catalog [1] and Ivan Reese's Visual Programming Codex [2] are great resources in the area.

I also have to mention, despite the awful name, Flowgorithm is an EXCELLENT tool for teaching the fundamentals of procedural thinking. [3] One neat thing is you can switch between the flow chart view and the script code view in something like 35 different languages natively (or make your own plugin to convert it to your language of choice!)

p.s. If you are used to regular coding, Grasshopper will drive you absolutely freaking bonkers at first, but once you square that it is looping but you have to let the whole program complete before seeing the result, you'll get used to it.

[0] https://global.discourse-cdn.com/mcneel/uploads/default/orig...

[1] https://futureofcoding.org/catalog/

[2] https://github.com/ivanreese/visual-programming-codex

[3] http://flowgorithm.org/
> What has that broccoli ever done to you?

"Carrot Juice is Murder", Arrogant Worms

https://youtu.be/dII1gqGmyso?si=ZGtUy-LvpdZaqQ0N
Instagram influencer jailed for trafficking and slavery
What’s wrong with arm64?
For your sanity, I had this same issue for awhile on some of my devices but not others and couldn't understand exactly what was causing it.
If cracking techniques catch the concatenation of those as suffixes to short undefined things, which I think many people would do at minimum, that would be worrisome indeed.
Lessons learned in 35 years of making software
Ask HN: What is your favorite blogging typeface?
Hi,

I am looking for a typeface to use for my new blog, and I am wondering what your favorite typefaces are. (Both for prose, and for code display).
Tufte makes a decent case for why it should be prose. But then, as an academic, it comes easy to him.

As you say, sufficiently self-descriptive bullet points should communicate equally well.

I find that whenever I go to that level of detail, I end up mentally with a prose narration at the leaf level, so I transfer that to the doc. This fills in some important connectives, such as "finally", "on the other hand" and asides such as "this is a minor point that should not affect the final outcome". This is helpful for people who may not have you around to explain. I also tweak that document after the meeting to fill in answers to questions that were asked.

Equally, for an important meeting, it is not enough to be an agenda. The content is important. The audience for the presentation should be people who are not in the meeting, but could have been (people on vacation, people promoted to the appropriate level, future hires).
That’s definitely something you want to do. Datalake can be home for raw and lightly refined data in an “analytics” database such as big query or just raw parquets. This is fast for large queries but slow for small queries. So you want refined data in a “regular” database like Postgres or mssql to serve all the dashboards.
Is web3 just a synonym for 'trying to make $ from crypto / NFT / ponzi'?
Discussed last week https://news.ycombinator.com/item?id=40898640
That's another way yes and I've actually seen another site do this, but I wasn't able to find it in my browser history.
> we found that the total annualised cost (including capital, operation, maintenance and fuel where relevant) of the least-cost renewable energy system is $7-10 billion per year higher than that of the “efficient” fossil scenario. For comparison, the subsidies to the production and use of all fossil fuels in Australia are at least $10 billion per year. So, if governments shifted the fossil subsidies to renewable electricity, we could easily pay for the latter’s additional costs.

They are claiming that a 100% renewable system would be CHEAPER than a fossil fuel system. If that doesn’t stink like some grade A bullshit to you I have nothing more to add.
Why are you thankful for the MPL instead of the LGPL? Is there any advantage to the MPL other than being easier to incorporate MPL code into proprietary software?
Most people can surely remember beyond one password.
It's quite fascinating – I fit into a 17.6 MB text file
There is actually a pretty cool clone of Svoja igra (russian jeopardy clone <https://ru.wikipedia.org/wiki/Своя_игра>) sigame <https://vladimirkhil.com/si/game> which is popular with russian streamers and is open source. It is available as a web and native application, and has an extensive library of packs (sets of questions, tho many of them are in russian).
NATS is the ZeroMQ of today.
The point isn't how many there were. The point is that they were a bunch of newly-created troll accounts and aren't actually members of the HN community at all.
>No, sane way is automating it 100% with zero UI required. But you do you.

Infrastructure as code means text, not a UI. Please Google the things people are suggesting before getting confrontational
Paperclip maximizer confirmed.
> What is the difference between the two though?

If you have a hundred aliases on say, Fastmail, and someone reports one of them, Fastmail can investigate the abuse you are involved in and can suspend your account. But the places you are using those aliases have no way to identify the main account of an alias, they can only report the alias, and Fastmail, the company providing your core service, is the only one that has the ability to deanonymize that relationship. Most of the services who allow these excess aliases are paid services or have identity checks, so other service providers can trust they will do a reasonable job to prevent abuse.

Meanwhile, if you bother to investigate how your service is being used, the percentage of users using it to abuse other sites will inevitably approach 100%. As bot spammers realize you're another set of free email addresses they can stack up, they'll swarm to each new domain you rotate to. If you are as privacy focused as you say, you'll have no tools at your disposable to regulate this either, they have plenty of IP addresses to work with, mostly compromised devices on residential IPs that are part of botnets, that will look like real users from a cursory glance.

> This kind of reasoning is why people can't run their own email servers anymore and instead have to rely on the big services.

That's why it's so fundamental that you understand rotating your domains is abuse, and it hurts the email ecosystem. Every time someone like you thinks this is okay, you make more service providers lock down what email domains they accept, punishing folks like me who just want their own domain on their email. Because disposable mail services do this, we all get punished for your bad behavior.

> Why not use phone numbers instead

Well, that's what a lot of major providers do. Gmail makes it much harder to get going without a phone number these days, mostly for that reason. I certainly don't want to have to give my phone number to every site I sign up with, but if that is, in your opinion better for privacy, by all means, enjoy the fruits of you screwing over email for this.
https://archive.ph/20240712074941/https://www.ft.com/content...
Not to mention they're like underpants, you can use the same one forwards, backwards, inside out, and inside out backwards.
That's great advice and although there's already an open source solution available, there's some hassle involved in setting it up.

I will definitely look into these solutions and although I've seen some of them around, there could maybe be a way to implement a better alternative that's both easy to use and safe so it doesn't get abused.