skysight-inc/HackerNews huggingface dataset:
https://news.ycombinator.com/item?id=37189872
Wikipedia donations used for politics, not for running Wikipedia
https://news.ycombinator.com/newsguidelines.html

What to Submit

On-Topic: Anything that good hackers would find interesting. That includes more than hacking and startups. If you had to reduce it to a sentence, the answer might be: anything that gratifies one's intellectual curiosity.

Off-Topic: Most stories about politics, or crime, or sports, or celebrities, unless they're evidence of some interesting new phenomenon. Videos of pratfalls or disasters, or cute animal pictures. If they'd cover it on TV news, it's probably off-topic.
> How about we get GPT to turn good movies into great books? Like a large inverse prompt engineering problem.

GPT has trouble making great sentences, much less great books from a data type completely different from its training. GPT, at the core, is a "likely next word" generator. No great literature came as a process of "likely next word" in a vacuum. Likely next word from complex experiences of a decade and plot designed from those complex experiences, sure. But not the algorithm that GPT is.

> Could we then even feed that text as input to make a better, though arbitrarily different movie?

Nothing about a feedback loop of mediocrity describes a practical way to improve quality. This concept is as sound as the alien encoding stick and the sloot encoding scheme itself.
Avro uses json for its schema language.
I'm wondering how comparable the two timeframes are. How much of it was automated back then vs now?
The software support for AMD gpu is probably lags 10 years or so after Nvidia. They just release there sdk for windows this year (more specifically 2023-05-24, Rocm 5.5.1). While CUDA exists for both platform like forever. So there won't be a common user group besides some lab (which have the man power to invest in linux software and setup new tool chains) that use AMD card for AI related task.

But since Rocm for windows finally released. The situation may finally change. We can probably just wait and see what will go on.
He can have John Brown ... who was one of the very few actually violent abolitionists. Most were pacifists, especially the leadership.

Brown raised an army of, like, 30 men to attack slavery with. Planned partisan war basically, lost pretty quickly.
Maybe find a way to inspire in the rich the kind of philanthropy practiced by Andrew Carnegie. He wrote his views in, The Gospel of Wealth - not having read it, but having long heard Carnegie's name as an example of wealth turned to good, I'm planning to give it a read.

Unfortunately with a political system wholly owned by the wealthy (US), I fear that there may be more truth than I want in my father's admonition that things will never get better in this country until we have another revolution. I've been around a bit and so much of today seems to be a rinse and repeat of the issues I experienced when I was young - not the world I wanted to see for my daughter. Hopefully the next generation has a stronger backbone - mine and the couple after seem to have surrendered our dreams to greed and consumerism.
Suggestion: black bars should be clickable to bring to a relevant post.
Why does this read like a cult manifesto?
Except that the Commons is only the start of votes. Then there is the Lords. Then there are legal challenges.
That's a fair criticism. I know Perl can do pretty amazing things with text, but I've never bothered to learn it.

EDIT: I decided to ask GPT-4 to translate the gawk script to Perl. I make zero claims that this is ideal (as stated, I don't know Perl at all), but it _does_ produce the same output, but slightly slower than the gawk script.

$ hyperfine "perl -lane '\$ips{\$F[0]}++; END {print \"\$ips{\$_} \$_\" for (sort {\$ips{\$b} <=> \$ips{\$a}} keys %ips)[0..9]}' fake_log.txt"
Benchmark 1: perl -lane '$ips{$F[0]}++; END {print "$ips{$_} $_" for (sort {$ips{$b} <=> $ips{$a}} keys %ips)[0..9]}' fake_log.txt
Time (mean ± σ): 1.499 s ± 0.006 s [User: 1.447 s, System: 0.050 s]
Range (min … max): 1.490 s … 1.507 s 10 runs
> The market did all those things; acts characterized as government are services traded on the market.

We live in a world dominated by trade, everything has a price and an index. But here you're saying that the chicken came before the egg rather than viceversa. I wouldn't be so sure.

The point I'm making is that there is the market, and there is the government. The one that has the power to affect the other is the government itself, with its laws and tariffs and monopoly over violence. The result is some kind of symbiosis, of course, but everything started in the king's court, not the other way around.

Blaming the market for the ills of our world is like blaming the Internet for the existence of revenge porn. Both money and the internet are simply a technology to exchange information and some form of energy, and if it didn't exist, people would invent it (see black markets)
Please tell me that writing is a substantial part of your daily work! Or at least that you're prolific outside of your professional commitments? This was written so well..a real delight to read.
Introduction to Mojo Language
I submitted an url and appended (2017) to the title, did that cause the error in the url?
They want this as an excuse to force the tech companies to post the news link AND pay the media oligarchs, aka Canada's own Murdoch.

Yes there is no reason why they can't just use the government links since those r not banned.
> but the way the movement was carried out made women in general a liability to interact with.

That statement only begins to make sense from the POV that the default human being is a man and that whatever benefits women received from the heightened scrutiny of sexual offenses in the workplace aren't even worthy of enumeration.
Usually the hardware makers are the first to profit after a revolution, but then the next biggest thing in the stack (software) makes 10x the money.

In the 1990s Cisco and the ISPs were the biggest internet companies, then it quickly moved to yahoo and google, then mere websites (Facebook, Twitter etc).

Methinks apple and Microsoft just bullied Adobe and kept them down.
> somehow made me malicious and he asked me to not work on it.

Something like what you describe happened to me. Not a fun gig, I sympathize.
If the compiler is so smart, I guess it could insert a memcpy when needed?

The standard, you may say.. I would argue it's the standard need to be changed. The modern reading of the standard is not useful as a low-level language and is unsafe as a high-level language.
oh the irony :-|
It is open source and they generally scrape it from the most direct source: https://github.com/electricitymaps/electricitymaps-contrib

It started as an open source project and it became an entire company
Tangentially related: I posted a shebang for scripting in rust some years ago, if anyone is interested: https://neosmart.net/blog/self-compiling-rust-code/
Honestly, I think you are both incorrect.

C has always had a concept of implementation defined behavior, and unaligned memory accesses used to be defined to work correctly on x86.

Intel added instructions that can’t handle unaligned access, so they broke that contract. I’d argue that it is an instruction set architecture bug.

Alternatively, Intel could argue that compilers shouldn’t emit vector instructions unless they can statically prove the pointer is aligned. That’s not feasible in general for languages like C/C++, so that’s a pretty weak defense of having the processor pay the overhead of supporting unaligned access on some, but not all, paths.
I like Go, but its insistence on not permitting unused imports and unused variables make it unsuitable for scripting, imo.

For scripting I want something that I can be fast and messy in. Go is the opposite of that.

It's ok, a language doesn't have to be good at everything.
I beat the drum of complexity vs complication. Solutions to a given problem have an inherent complexity. That’s the minimum amount of sophistication and cleverness required to implement them. And then there’s complications (think of the watchmaker’s term) which extra features that don’t directly solve the problem but, well, they look kinda neat!

Strive to find that inherent, irreducible complexity and solve at that level. Resist the urge to say “for just 20% more effort…”

I want to get a YAGNI tattoo.
An organisation that separates frontend and backend teams will naturally converge to an architecture where the collaboration between frontend and backend is minimized (i.e., a generic REST API) -- Conway's law.

This doesn't mean that an actual cross-functional team that contains both frontend and backend developers can't use the proposed single-purpose API to run circles around the split team.
> For example, I've had experts in quantum field theory -- people who've spent years calculating path integrals of mind-boggling complexity -- ask me to explain the Bell inequality to them.

My favourite quantum mechanics textbook is Griffiths: Introduction to Quantum Mechanics. It is popular as a textbook for the first quantum mechanics course, which is typically in the second or third year of a physics curriculum. It has sections on EPR paradox and Bell's Theorem. First edition was published in 1994.
They could take revenge by gutting software patents, or promoting open-source software and right to repair that doesn't enrich and hand control to US corporations.

But no, the chief target and victim of this "revenge" is the Australian and UK public. Tech companies wouldn't even be harmed, only their users.
See also the “Glasgow Effect”: https://en.m.wikipedia.org/wiki/Glasgow_effect#:~:text=The%2...
I wonder when (If ever) will it leave beta
I've done this, and agree.

But it was a good exercise for me, and I ended up using the general-purpose backend for a specific frontend.

It's just that it's way overkill. Much more complex than it needs to be.

But it works really, really well, and is secure as hell.
ah, that's a shame. The careless disbanding and/or corrosion of what was a highly effective team is all too common in larger companies.
Except for 2018, most sequels failed to outperform their predecessor. But that is an statistic outlier.
I once had an idea for a file transfer system based on digits of pi that sounds the same as this idea.

You'd give everybody DVDs of digits of pi (or they could calculate them themselves) , and then transfer files faster by just sending them the offset into pi.

At the time I thought it could work with a big enough bank of digits of PI on both sides. If transfer was expensive, and calculating digits was cheap then you could give everyone an infinite supply of digits of pi and have a nearly infinite compression system.

I discovered that often the offset into pi is much larger than the data you are sending. Turns out it's an expensive way to sent things.

Also, it turns out that this area was already well understood. There are no free lunches with entropy.

But it was a fun idea to kick around.
> From the back row, I watched my friends scroll their social media feeds with ferocious intensity.

Meh, groups taking short rides in long SUVs like he talks about here, that's a good time to catch up on social media before everyone's face to face again.

Sustaining group conversations in a long multi-row SUV is painful. Get your social media stuff done briefly, then when you get out of the car, go back to interacting in person. This is fine.
There is currently only one small interconnect between Ireland and Northern Ireland. Another one (1500MW) is being built. This will allow Northern Ireland to benefit from Ireland’s substantial wind resources (~2GW).

https://www.bbc.com/news/articles/czdvj4dv2pyo

> Procurement for the supply of materials for the construction of the overhead line is underway. Testing of the final pylon designs is being undertaken, with a view to construction beginning next year in order to have the project fully operational by 2026.

https://www.soni.ltd.uk/the-grid/projects/tyrone-cavan/the-p...
If you really are targeting the x86_64 instruction set, you should be writing x86_64 instructions. Then you get exactly what the hardware does and don’t get any of those pesky compiler assumptions.

Of course you don’t get any of those pleasant optimizations either. But those optimizations are only possible because of the assumptions.
Unfortunately, I won't have time to expand on this project unless someone hires me to work on it. For now, it's just to educate people and let them copy it.
Yes, but jq’s syntax is impossible to memorize for me.

gron | rg

FTW
Also JSON schemas can represent the exact same type in multiple ways, meaning some form of normalization is required prior.
I’m going to get zapped once again, but if you’re building complex applications, custom read models automatically updated based on events from operational writes is the optimal way to connect a front-end to APIs.

Each read model should have a distinct business purpose.

Generic models will only confuse maintainers and they’re very likely going to see such code as brittle and tech debt.
> the PC standard built around the x86 forced system integrators to compete in price

Not necessarily a good thing if none of the manufacturers can afford to innovate or take any risk due to too low margins.

Without Apple we'd probably still have horrible tiny touchpads and low-res 16:9 screens (not that Apple's influence on the PC market has been entirely positive..).
Some context from someone close:

https://hachyderm.io/@quintessence/110922746691596046

> The person I cherished more than any other, @nova , died unexpectedly late Wednesday in a climbing accident.

> I have no words, only despair. The light in my soul is gone.

> Joe Beda @jbeda and Nivenly are posting announcements. Others will also.
> The author even points out "programs as pipelines" which is literally the UNIX philosophy.

Yes, and if the thing I'm trying to do has a small input, it will only be done once, etc. I will often just pipe `grep` to `sort` or whatever, because it's less typing, it's generally clearer to a wider range of people, etc.

But on larger inputs, or even things like doing a single pattern inversion mixed with a pattern match, I like awk.
France Is Cracking Down on the Influencer Industry
That's not the opposition's fault, or the adverserial system's. It's infighting. And to be honest they could still get a fair bit done with a majority of 80, should they feel inclined.
> How did we get to the point where simple and effective server-side pages are either unknown as a way of doing things or are considered to be a technical heresy?

We are not at that point nor we were ever at that point, or close to it.

Server-side rendering has been a hot topic in JavaScript framework circles for over a decade, and React famously solved that problem so well that it is now a standard, basic technique.

Also, just because you throw the same buzzword around that does not mean the problem stayed the same. Reassembling a javascript-generated DOM with a coherent state is not the same as sending a HTML document down the wire. And you know why people started assembling DOMs with JavaScript? Because sending HTML documents down the wire was too slow and did not allowed for any control over aspects that dictate perceived performance.
Very similar sentiment to this article https://bower.sh/dogma-of-restful-api
and feel free to do that in _your_ application. don’t shackle others with the limitations of your domain.

mechanism vs policy and all that.
And what kind of train was that?
I am asking a question in good faith because I really don't know what you're thinking.

You said that homelessness is a symptom of underlying problems, which is true, but also said, "You need to address the issues that cause people to act like that". Sure, this will work for some, but not others.

I am genuinely asking what you propose to do about the people for whom this is not feasible or possible - whose underlying problems we cannot address.
Is there any serialization format that handles (discriminated) unions well?
This is par for the course for any nation or alliance with desires to extend its power globally. I am very tired of people treating China as some terrifying exception with no comparison.
I’m a systems engineer and SPA’s are a superior architecture to deal with from a delivery POV. It is very difficult to cache a dynamic web app with a CDN. There are ways, like SSI, managing variants, Purging, and so on, but a huge pain. And if you don’t have a sophisticated CDN and are using something like Cloudfront, forget about all those fancy features.

SPA? I can serve the whole thing with static files and remove 90% of the traffic from my web server. The API can be served from a different path from the static files. API requests are super tiny and more tolerant to fluctuating network conditions, and you can hide a lot of that with Javascript.
Yeah, that ^^^^ was pretty much my reasoning. Thanks for articulating it so clearly.

Honestly I didn't expect my original comment to be controversial.
It was a climbing accident on Wednesday.
She does something that can happen in a medium entirely unlike the printed word: she publishes what she has, marks it according to what state its in.

https://maggieappleton.com/garden-history
This does not justify another dictator training camp, does it?
Emacs 29 then
I don’t think that’s true for devtools. I use FF devtools ever day, and it frequently crashes. Even the view source page has horrible performance issues when using cmd+f.
currently: https://news.ycombinator.com/item?id=37197243
If Books Could Kill's review of Rich Dad, Poor Dad was kind of fun.

https://www.listennotes.com/podcasts/if-books-could-kill/ric...

https://www.reddit.com/r/IfBooksCouldKill/comments/12dg2r6/i...
Thanks. I wasn't aware that putting a date in the title might violate the guidelines.
I think you are confusing several different aspects of security and privacy here, like iCloud data backups and encrypted local iPhone storage. Apple does have access to iCloud data, but they do not and cannot have access to locally encrypted stuff which is locked behind your personal PIN code. Apple does share iCloud data with law enforcement.

Knowing this allows users to improve their protection and privacy at the cost of convenience. For instance, one can avoid using iCloud altogether, or choose to encrypt iCloud backups.
It helps if you stop modeling the US a democracy where, say, 65% want single payer healthcare and therefore they get it and start modeling it as an oligarchy where, unless the underclasses revolt, people with money and property set policy.
> You can see this today on the daily graph for France when solar production ramps over the day, pushing down nuclear generation.

That.... is exactly what nuclear plants are literally designed to do.

As for "economics". If we don't discuss the politics of disregard and underinvestment in nuclear power plants, we can't discuss the economics. The only reason your last link exists is precisely because French government sat on its ass and did nothing to the most important energy source in their country. What do you think will happen to your renewable energy after decades of similar disregard?

If we don't discuss where to get energy on a quiet night, we can't discuss "economics". The only reason "Germany has replaced nuclear with renewables" discource exists is because Germany burns insane amounts of coal and imports energy from France and Denmark every time there's a dip in renewables (aka at least every 12 hours or so).
Interactive C++ with Cling (2020)
I’ve followed several of these accidents.

Not one accident I saw was cruises fault.

I might not have the full information.
Unaligned memory accesses are undefined behavior in C. If you're writing C, you should be abiding by C rules. "Used to work correctly" is more guesswork and ignorance than "abiding by C rules". In C, playing fast&loose with definitions hurts, BAD.

Frankly, I'd be ashamed to write this blog post since the only thing it accomplishes is exposing its writers as not understanding the very thing they're signaling expertise on.
Ah, malicious compliance, my "last trick in the bag". When I'm tired of arguing, I do exactly what I'm told. Nothing opens eyes quite so well as getting exactly what you asked for.
Reminder that 7z can extract .rar files, and is open source!
I like to think they cut costs by lopping letters off the word twitter until all they had left was a “t”, and then some bozo walked up and kicked the remaining character over.
Or that the offices of the large company are destroyed.

It might even be much better for the world economy, long-term.
What does 100 stolen credit card numbers cost?
> They often aren't broken up and forced into shelters

I don't think the article mention this.
To share briefly our journey, we started by launching this simple website: https://lonelyworld.info as a mini MVP.
Then we got a tremendous response from various forums including Hacker News and Reddit, that we decided to pursue this idea further and develop into an app.
Our team is me, my wife, and a friend from South Africa that I met on the LonelyWorld website! I realize that had I never launched that mini MVP, I wouldn't have met my friend to work on my mission together! The mantra is right: one should always build in public :)
I hope Facebook keeps the Canadian news ban in place unless and until the Online News Act is fully repealed.
I am in the "awk > perl" camp. I think the idea of "vastly more extensible" is a negative for my scripting language, and "cleaner" just doesn't matter - I just want to write it the one time I want to use it and then be done with it. The awk language is really simple and quick to write.

By the way, I think this is why Perl lost to Python on larger scripting and programming projects - it's just easier to write (albeit harder to read, to antagoinze the Python lovers out there).
Their iOS app got taken down by Apple. I doubt many super rich folk use Android as well. So the user base is probably not optimal.
Anyone else bothered by the phrasing of the title? Find “star that is?”
If you want to build a moderately complex interactive experience that doesn’t suffer from roundtrip latency on every single interaction, you need to recreate the interactive parts of DOM in JavaScript anyway (ignore wasm), else you need to do imperative updates which quickly become a nightmare. jQuery-oriented development is a classic for sure, doesn’t mean people want to go back to it.
We are losing out on so much.
> a leading zero in an integer literal means octal. It compiles and works out, because `7`, `07` and `0x07` happen to have the same value

That is a hilariously beautiful and simple example to communicate that.
In a project I'm working on[0], there's an array object type used throughout, which can sometimes point to arbitrary data elsewhere. In a funky edge-case[1], such an array can be built with an unaligned data pointer.

Thus, if gcc/clang started seriously utilizing aligned pointer accesses everywhere, nearly every single load & store in the entire project would have to be replaced with something significantly more verbose. Maybe in a more fancy language you could have ptr<int> vs unaligned_ptr<int> or similar, but in C you kinda just have compiler flags, and maybe __attribute__-s if you can spare some verbosity.

C UB is often genuinely useful, but imo having an opt-out option for certain things is, regardless, a very reasonable request.

[0]: https://github.com/dzaima/CBQN

[1]: Any regularly allocated array has appropriate alignment. But there are some functions that take a slice of the array "virtually" (i.e. pointing to it instead of copying), and another one that bitwise-reinterprets an array to one with a different element type (again, operating virtually). This leads to a problem when e.g. taking i8 elements [3;7) and reinterpreting as an i32 array. A workaround would be to make the reinterpret copy memory if necessary (and this would have to be done if targeting something without unaligned load/store), but that'd ruin it being a nice O(1).