skysight-inc/HackerNews huggingface dataset:
Purple thumbs are a pretty good system, and they were definitely not convinced by voting machines, nor paper ballots. But, it's a physical security nightmare. My job was to keep IEDs out of the polling places. There are many more issues such as multiple voting, cross-district voting, cross-border voting, voter intimidation, retaliation, etc.

And imagine an academic suggesting that it's not practical. The most celebrated academic result of the last 25 years in the field was a crypto system that would take a thousand years to multiply one-bit numbers.

Regardless, you're right. It is a waste of time. There's no funding. Academia is like consulting. You make money by telling people what they want to hear. I've become more aware of this.
In my mind, Ubuntu Desktop, and desktop linux in general, has always been a hobbyist project masquerading as a real production-ready environment. There's no money in building a desktop distro, so nobody really cares what happens there.

The real power of Ubuntu has really always been as a server distro. I used to run desktop Ubuntu when I was younger and had more spare time to tinker with this nonsense, but nowadays I administer enough ubuntu servers at work, I don't need to do it at home too. Ubuntu server is great -- everything is very well-documented, LTS is stable, snaps are sometimes pretty useful (I recently had to quickly spin up redis temporarily for a project and it was a one-liner), and everything just works in general.

I used to run CentOS (rip) servers, and Ubuntu, whilst noticeably worse, is still great to administer. It's not all sunshine and rainbows for sure, but things generally work the way you expect them to and things are generally sane.
China must rethink its reliance on property sales to see real growth
Hey! I'm still learning and testing, but here's some of my thoughts: https://news.ycombinator.com/item?id=36622992#36623549
"All you have to do is make sure you append an explicit 'exit' to the end of your program before your new 'data section', so that bash won't parse any of the 'data section'."

Or just use exec.

exec tail -c [number of bytes for the binary] $0
The bundling is enough, IMO. Meta's dominant position in social with FB/Insta/Whatsapp/etc. is indisputable, count the users, and leveraging those products (primarily IG accounts) is bundling and could be literally torn apart by the DOJ if only they had the balls they did two decades ago.
How is typing "hi" a waste of time?
It's the org chart. The. org. chart.

I think we're talking past each other.
> EDIT: Why did you delete your thoughtful reply 34wtg?

New account. Somehow the flagging / banning system caught them. I vouched for his comment as it looks pretty good and relevant.

Vouching is basically an "anti-flag" on Hacker News. If you've got your settings to be on "show all", including banned comments / erased comments, then you have the ability to vouch. I think its a feature that unlocks above a certain karma, so you may have missed it in your settings the first time you registered for Hacker News.
That assumes that most comments contain cursing.
At the time I made that comment, my browser was sending "Accept-Encoding: gzip, deflate". I got "Content-Encoding: br" back.

I just re-checked, though, and it loads fine in my browser now; I'm getting "Content-Encoding: gzip" back. Perhaps it was a server misconfiguration?
>Guess I'll just write my next project in Bash then, after all, if it's a good idea they will come right? Execution can wait until you've got a few hundred mil.

Yea actually. Bash/CGI could handle plenty. If thats your most comfortable language then go for it.
Ubuntu Minimal didn't have a desktop environment out of the box either, did it
?
Many people have purposely forgotten. It surely isn't the only Twitter account people immediately ignore or block outright.

Having said that, the negativity gets harder and harder to block and ignore, because it has been growing at such an unmanageable rate.

Other than Mastodon and HN for the most part, I think there are very few places for people who don't lean towards the right. Twitter keeps leaning harder like there's some kind of competition for it.
I wouldn't say it's THE scenario, but it's A scenario.

There's a reason IEEE says it's best practice to give IoT devices a strong username and password and to segment them away from the rest of your network, right?
I think you can view tweets without account again now, at least this is what I experience. Not sure when did they reversed their decicion.
> changing oil is easy to do at home and takes less than an hour including gathering the tools and cleaning up

If you already own and know everything you need, yes. Most regular people don’t own a jack capable of lifting the car high enough. Most people don’t own jack stands to make getting under the car safe. Most people don’t own an oil filter wrench. Most people in cities can’t just do all this on the street without getting their legs run over. Most people don’t know how to dispose of motor oil. Most people don’t know or are not allowed to know which oil to buy and how much (my car’s manual doesn’t say that).
Ask HN: What are some Git aliases you setup that save you time?
For me it's nothing fancy. Just "co", "st", and "br" for "checkout", "status" and "branch".
> jumps are a lot slower than conditional arithmetic.

This statement is true if the jumps are unpredictable. If the jumps are predictable, then jumps will be faster.

Linus had a whole rant about this back in the day, arguing that cmov is not useful if branches are predictable: https://yarchive.net/comp/linux/cmov.html
Don't Migrate to Kubernetes
I still don't see where the iterator version would need to have all the values already exist but thanks for the links.

To me it seems the benefit is conciseness of the implementation and its usage at the call site.
RFC 9110 - https://httpwg.org/specs/rfc9110.html#overview.of.status.cod...

It’s like saying “what makes it wrong to signal left but turn right?”

It makes the component you’re operating behave less predictably, resulting in a less stable system overall. Follow the spec.
I finally got an invite code to Bluesky the other day.

There is absolutely no content. Not as in “blank page nothing here” type of no content, I mean as in the “open the fridge, look around, and decide there’s nothing to eat” type of no content.

Meanwhile, Threads is content rich and there’s already people I know posting cool stuff to see and interact with.

The result, is that I don’t give a fuck about Bluesky, and I’m not going to bother spreading invite codes.

If I get at least 20 upvotes on this comment though maybe I’ll consider it since it means the interest is there.
The British transport YouTubers I follow, particularly Jago Hazard, every time they mention the Great Western Railway, are careful to remind us that it has no relation to the original company of that name.
There are links from the blog post to the Mesa sources and to a Linux tree containing their DRM kernel driver.
I’m a physicist. Last week’s gravitational waves announcement sent me reeling
Show HN: An online cookbook for cooking with feelings, not measurements
A cookbook that is based on principles and feelings, not measurements. I pretty much never follow recipes when I cook, but people still tend to think I cook decently well.

Curious about anyone's feedback or thoughts about how to improve this cookbook! Ideas for a custom domain name also welcome.
Looks nice, but are there any other visuals than the three you demoed? Also, is your user name in any way related to the bulgarian mobster that got killed in Amsterdam?
I worked at IG on a previous iteration of Threads, with some of the engineers who wrote the current Threads app. It's Django!

(Heavily modded, run on a custom Python JIT, and using an extremely custom FB-developed database, also used for IG and FB.)

It's Django because IG was originally written in Django back in the day. FB's general approach to scaling is keep the interface generally similar, and slowly replace things behind the scenes as necessary — rather than doing big rewrites. It's seemed to work pretty well.

Ultimately the language used for the web server isn't a huge deal compared to the performance of the database, for these kinds of massive social apps. Plus, well, they do have the custom JIT — but that's very new, and when I first joined IG in 2019, we were running vanilla Python in production.
That's completely fair!

There have been cases where very slight changes in methodology completely fall apart - reasons varying. Timing, cache fit, and whatever else you may think of.

Jenkins is something I've been picking up lately, and the 'DSL' has a ridiculous number of quirks
I live in Gulf Breeze FL on the Gulf of Mexico and see stingrays daily.
In this thread we’re talking about gpt-3.5-turbo-instruct, not GPT4
https://archive.ph/yHo3P
"Why not 20K every year? Get rid of all government programs ( welfare, healthchare, social security, etc ) and replace it with a universal yearly $20K."

Because next election cycle, some politician will set themselves apart by promising the 20k, plus a supplement for healthcare...and the whole circus begins again...
Go ahead! I'm not much of a web dev either, but decided to struggle through it to, mainly, just have better searching. (originally for intel & ARM intrinsics, which are also available if downloaded offline)
why on earth does my phone need 24gb of ram?
I think we're in agreement here. The general shape of how to build Twitter isn't a trade secret at this point. Copy-pasting source code is.
No it doesn’t. If any more than 0% of comments contain profanity, then on average code with more profanity will be better.
How is it "wasting time"? It takes less than a second to type "hi". Presumably you have something you're doing while you wait to hear back, no? Not being uptight and pedantic is far superior to trying to "optimize" everyone's time by forcing them to communicate in an unnatural way.
Android runs on Linux, so it can waste it on bloated apps just fine.
The ability to install a source package for what's installed isn't even included in the distro's package tooling out of the box.

Coming from Debian you'd expect `pacman` to support doing this, let alone at least say something about it in its man page.

I'm not even sure how the hell you'd figure out `asp` exists and is something you need to explicitly install if all you knew is `pacman`, without using internet searches as an escape hatch.

There was a time long ago when most distros were a hodge podge of work-in-progress discrete tools you had to discover the names of and install separately. Using Arch feels like going back decades in this regard, not in a good way. It's unclear to me why they haven't worked on consolidating these components into a cohesive entrypoint making everything discoverable and more uniform in their UX.
There is also another issue with cybersecurity vendors that this article doesn't touch on, and that's in the area of cloud security where many of them started targeting a specific use case or set of use cases, and have slowly expanded to overlap with other vendors who were not previously competitors. It's not good enough for a tool to just be used for Cloud Security Posture Management (CSPM) - it also has to do CI/CD security stuff and workload protection. And it happens from the other direction, too - previous image scanning and DevOps-y tools are now adding detection and alerting capabilities for your cloud provider's control plane.

There is going to be a lot of tool consolidation at most organizations coming in the next few years.
>Remember when Twitter was written in Ruby?

Ruby is the exception to the rule.

Friends don't let friends start new Ruby projects in 2023.
Fantasy is a popular product for many reasons, especially for those who have inner fantasy response. Too bad you seem to completely lack one. Personally I’d fall into a heavy depression if the only thing I could enjoy about X was its physical property.
Cannot try unless I accept the cookies.
Somebody else asked this but deleted before i could respond, so i am glad you asked.

Centralized DDOS protection and DDOS seem to be two sides of the same coin, so i dont understand what the distinction would entail.

edit: You could argue that DDOS is an equal opportunity tool, while the threat of getting kicked off cloudflare is reserved for a selected few. So the difference would be which is more at threat of getting exploited. Hope that helps.
> because without FDO (or PGO) the compiler has no idea how likely each branch is to be taken

So, the maximum amount of times you can hit '\0' is once in the string, because then the function returns, but you can hit the other characters many times, which seems to be information a compiler has access to without PGO.

PGO does help, of course, and on my machine gives me 2.80s, which is better than the code at the end of the `Rearranging blocks` section :)

> I assume that their test input (which isn't described in the post, and is also not in their GitHub repo)

It's described under `Benchmarking setup`, and is in the repository here: https://github.com/414owen/blog-code/blob/master/01-six-time...

Side note: There's a part two to this post (linked at the bottom) where I make the C code as fast as I possibly can, and it beats all the assembly in this post.

I never said writing assembly is (necessarily) a good idea, I just find optimizing it, and deciphering compiler output, an interesting challenge, and a good learning opportunity.
Some discussion a year ago:
https://news.ycombinator.com/item?id=30642052
I sure hope so. The semantics are trivially identical, the optimizations should be as well, by default - they should depend on semantics, not syntax. And GCC in another comment under this thread seems to be doing similar or identical optimizations in both cases.

I wholly admit that this implies nothing about all optimizers. But it's a pretty reasonable one to expect.
In this case, that's our product. Managed by musician (me) :)

Sorry for being offtopic, but you can find my artist page if you search for "Tequila Funk". I make electronic music.
both, or nothing. or just one.

nothing in between.
They have published a lot of blogs over the years, eg:

https://blog.twitter.com/engineering/en_us/topics/infrastruc...
I see a lot of hate here -- as if most are imagining 'evil' corporate factories with massive discharge pipes oozing onto the landscape.

Let's spare some hate for 'the little people' spread out geographically over large areas whose city and county municipalities have packed trash into landfills over the water table or near surface water sources, for decades.

Styrofoam fast food containers and cups were the industry's 'smart answer' to the grease-stained paper bags and wrappers that were the staple of fast food packaging through the mid-1970s. This was in response to public sentiment that paper products were the death knells of trees. The plastic was forever but could be at least buried out of sight, right?

Not so forever after all. But the latest eco-damage consumer outrage (with a touch of irony) is health-conscious peoples' mass refusal to drink from the tap to favor water globules encased in clear plastic. "As long as it looks clean, it IS clean!"
This all assumes the person doesn't have a reason to verify your presence before doing a brain dump.

Maybe they do. Maybe they want to make sure you're there; maybe their issue is dependent on the time; maybe they want to send/receive a TOTP; maybe the whole point of the conversation is to check whether the medium is functional; maybe they want to send you something sensitive...
I wonder if your tone and advice still make sense in these similar scenarios:

1. You have a large number of peers who start chat conversations with “Hi, are you busy?” That question is begged with just “hi” and implies a forced urgency.

2. All your coworkers start email threads with “hi” and wait for peers to respond before continuing. If that seems ridiculous, you now have an idea what “hi” is like for remote workers.
I'd also love to see a search field. That's my #1 feature request not related to the model.
How do you pay for infrastructure and employees before getting to that 1-billion-user mark? If you take on VC funding, they're going to expect you to shoot for the moon; $1/user/year is not going to cut it for them.

So where else will you get the money? Do you really think you can get a loan for that? Sell bonds? I doubt it.
No, on Qubes OS, different apps work in indepenent VMs and don't know about each other.
I suspect that, by now, the only reason the other mesa3d opengl drivers exist is historical.

If these vendors came up with different enough hardware to need a new driver from scratch, they'd just focus on Vulkan and use Zink for opengl.

After all, opengl is a relatively high level API. It is sensible to implement it in a hardware-independent manner on top of Vulkan.
Wasn’t there some massive icedam caused lake that was the size of basically the entire Pacific Northwest and it flooded out in a matter of years? And nobody believed that could happen.
You make a good point. The United States Government is more like a demanding toddler throwing a tantrum than a 6 year old throwing a tantrum. The difference is the 6 year old is potty trained.
Why on earth does a macbook (pro nonetheless) have as little ram as a phone?
The compiler will generate different code if it knew the rates at which branches were taken.

If a branch is almost always taken or almost never taken, a compiler will want to emit a jump. The frontend will be able to predict the jump with high probability, and a successfully-predicted jump is "free." The cost of a misprediction is paid for by the near-zero cost of the many successful predictions.

If a branch is hard to predict (and taking versus not taking it would load a different value into a register/memory), the compiler wants to emit a conditional move (cmov). A conditional move is slightly "more expensive" in the backend because the CPU has to wait for the condition to resolve before it can execute instructions dependent on the output. However, it is much cheaper than many mispredicted branches (mispredicts around half of the time).

FDO (feedback-directed optimization) or PGO (profile-guided optimization) means "run the code on some sample input and profile how often branches are taken/not taken." It gives the compiler more information to generate better code.

The problem with the blog post is that the compiler has no idea what the function's input data will look like. It (arbitrarily) chose to generate branches instead of cmovs. However, if the benchmark input is better suited for cmovs, then the benchmark will (wrongly) show that the compiler generates "slow" assembly. But that's not a fair test, because with PGO/FDO the compiler would generate equivalent assembly to the "fast" assembly (actually, probably faster). Finally, the human (OP) is using their knowledge of the benchmark data "unfairly" to write better assembly than the compiler.

The takeaway is: most of the time, one can't optimize code/assembly in a vacuum. You also need to know what the input data and access patterns look like. FDO/PGO gives the compiler more data to understand what the input data/access patterns look like.
“Element X currently targets messaging rather than collaboration; other features will be added later this year.”

What does this mean? What’s the difference between “messaging” and “collaboration”?
I use it to generate nonsense fairytales for my sleep podcast (https://deepdreams.stavros.io/), and it will ignore my (pretty specific) instructions and add scene titles to things, and write the text in dramatic format instead of prose, no matter how much I try.
Show HN: Matcheroni, a tiny C++20 header library for building lexers/parsers
Howdy HN, as part of my ongoing programming language experiments I've ended up creating my own C++20 lexing and parsing library of sorts.

Matcheroni is an alternative to parser generators and regular expressions that uses trees of C++ templates to implement highly customizable lexers and parsers that have minimal impact on build times or binary sizes, while still remaining comparable in performance to Boost regular expressions.

The repo includes two example projects - a simple regex parser in ~300 heavily documented lines of code, and a much larger but not quite finished C99 lexer and parser.

All feedback appreciated!
There are several providers in this space. Path, Voxility, etc.
I'd always make one for my work dev folder so I could quickly switch to it as soon as I restarted my terminal. I'd always make it just a 2 letter abbreviation. For example, my last one was an alias "s6" to take me the the correct dev folder.
https://rsf.org/en/harper-years-tough-times-reporters-canada

https://academicmatters.ca/harpers-attack-on-science-no-scie...

https://www.smithsonianmag.com/science-nature/canadian-scien...

They silenced Truth so they could push lies in order to maintain a war that was literally Criminal. They did the same to prop up the oil industry in the province Harper held history with and from which he personally profited and continues to profit.

They said "You're either with Us or with the Pedos" when people criticized an over reaching "justice" bill.

Again, those who oppose Trudeau now are almost exclusively those who were willfully ignorant and silent during the Harper years, mostly because they profited from the injustices which far exceeded those of Trudeau's government.
It’s a planetary gear, three shafts go in. The ICE one is stopped, the wheels one is driven by an electric motor and the third one is rotating freely.
Mind boggling how even with prior knowledge and multiple opportunities, they replicated the Google plus mistake to the minutiae.
Alien vs Predator .. whoever wins we lose!
Where to Launch Your Startup
I've used Debian since the early 2000s and keep wondering why there are any other distributions of Linux.
If I've already emailed someone and they haven't responded in 48 hours, can I send a message that just says "Hi" or is "Hi, respond to your email" more appropriate?
Any entity you distrust is also an entity that most reasonably fits into the classification of dislike.

You may like thier products or services but that's not the same as liking the corp itself.
Argh. I’m lost. Is your outrage being ironic too?
Boom time for snake oil
Caused huge attrition of the 1st and 2nd year stem students (i.e. quit with a masters). The union was dominated by humanities students, and they fought for what they wanted, not what the overall membership wanted. Very few STEM folks had any interest in being part of the union, but because so many voted with their feet, it was hopeless to set up a decertifiying petition.
An Honest Remembrance of My Friend & Co-Founder Mani Gandham
manigandham was a fairly active HN user.
I'll try debian again when they move to a yearly release. Using nearly two year old software in the worst case really sucks for some use cases.
I’m very confident that not everyone on this site could make it work at such a massive scale
A social network being invite-only is such an obvious non-starter that I genuinely can't imagine the conversation that went into that decision. Assuming the basic underlying tech works more often that not (and ideally some story for community moderation), there's literally nothing I want from a Twitter competitor other than having everyone on it. My interest in a Twitter competitor that is invite-only is and will always be exactly zero.
They are comparing text-davinci-003 with ChatGPT which presumably uses gpt-3.5-turbo, so quite different models.

They are killing text-davinci-003 btw.
The big players will probably switch once we get to the point that nothing still running on OpenGL needs optimally efficient usage of the GPU (either because it's old or because it was never performance-critical to start with, such as a student project).
I stopped reading after he declared reddit and twitter dead. That's ludicrous. They may have taken some body blows lately, but dead? Okay I guess.
I found a reference to a game called "Duke Newcomb 3D" in this document. Gave me a nice laugh.