skysight-inc/HackerNews huggingface dataset:
> It argues that arbitrary limits on the number of instances of a particular type of data or structure should not be allowed.

Either this is a misuse of "arbitrary" or it's not really arguing for no limits beyond 1. In the Carmack example from another comment, if you know your solution isn't going to scale well beyond 1000 items, that's not an arbitrary limit, and it's not 0 or 1 either. When we choose not to allow users to back up their hard drive in the username field of their account, that's not an arbitrary limit.
Nothing changes. memseting a struct to zero has always been and still is implementation defined behavior, as there are no guarantees on the bit representation of a null pointer. [1]

The C11 standard says that a null pointer constant is defined as follows: "An integer constant expression with the value 0, or such an expression cast to type void , is called a null pointer constant."

The new definition is: "An integer constant expression with the value 0, such an expression cast to type void , or the constant nullptr are all a null pointer constant."

The reason for adding nullptr, is because NULL is roughly defined as a macro that expands to "0" or "(void*)0". This causes trouble with the addition of type detection trough _Generic and now typeof.

[1] https://c-faq.com/null/machnon0.html
It's byte for byte identical once you expand to an array of pixels. The storage format uses more advanced (lossless) compression, but the pixels that come out are identical.
Yes, which was kind of a result of people making a fuss about this a year or two ago iirc.
It doesn’t look like any of those allow you to arbitrarily add and remove elements from the parent list in the same way Go does (if I understand Go slices correctly).

Java does let you make modifications, but only under very tight restrictions:

The semantics of the list returned by this method become undefined if the backing list (i.e., this list) is structurally modified in any way other than via the returned list. (Structural modifications are those that change the size of this list, or otherwise perturb it in such a fashion that iterations in progress may yield incorrect results.)

I take that to mean the parent list can’t be modified at the same time, nor can multiple views be modified.

So, I think Go’s ability to do those structural modifications on slices is rather unusual (as well as error-prone and not obviously useful).
American translation: graduating with anything other than a 4.0 or a 1.0 is wasted.
With the way U.S. citizens are retreating to ever further extremes of their chosen political ~cult~ party and villainizing anyone even remotely resembling "the other", how much longer before U.S. cities are "war torn" too? What ever happened to United States citizen? Nowadays it's almost literally you're Democrat, Republican, or an enemy of both. (I guess that puts me squarely in the "no longer a proper citizen" camp, as I've zero "patriotism" left in this "everyone against everyone else" environment we call "civilized society".)
Hush, April Ludgate might hear you!
Mainly volume. The margins are best at a farmers market, but there are significantly fewer purchases and pretty high up-front labor costs. Selling in bulk to a distributor allows a farmer to move many more goods with less labor (though at far lower margins)

There are also problems with paying for getting seed in the ground. A lot of farmers are incentivized to sell contracts for their goods for cheap as a way to finance planting.
I think a better way to formulate the same rule of thumb is that zero, one, and infinity are the only numbers that don't need to be justified. You should always have an answer to the question "why 5000 and not 6000?"

Of course, the justification can be as simple as "it has to be some number and 5000 is as good as any", but that opens the door to the discussion of whether 5000 really is as good as any other number, which is often surprisingly enlightening.
> What I want to know is who was behind it. "You can't drive to the library therefore copyright is suspended" is a feat of such mindbending idiocy it had to be driven by a single powerful individual or a small group.

Don't underestimate echo chambers. In this case there were at least two echo chambers at play. The first being IA team itself, generally all being on the same wavelength as transgressive mavericks accustomed to pushing the bounds of copyright law. The second was much broader, mainstream society itself panicking about Covid, creating a zeitgeist of flaunting the rules to do something about Covid.

I would be surprised if any part of the IA org pushed back on this idea.
That was my first thought when I clicked on the website link in the Twitter thread -- expecting a disclosure/high-level info page in the fashion of the last decade of big-deal exploits with cute names -- and found only a tool the tweet author (not OP, but apparently working with him?) built that runs in-browser, requires no knowledge/setup, and appears to enable recovery of cropped-out image data at scale by even non-technical users. Jeez.

Edit: I find myself wryly weighing this against the ongoing unleashing of LLMs upon the world. Both have shades of clever people prioritizing being and demonstrating clever at the cost of... other stuff. On the bright side, it is distracting me from facepalming at the underlying Pixel bug.
I mean it’s fairly obvious. You can do this through build.rs files as well.

There was talk about trying to compile proc macros to WASM and run them sandboxed in the compiler. Not sure what happened to that RFC (by dtolnay?)
That implies they actually watch video, but yeah, ads are an alternative to paying a subscription.
...Maybe I didn't do a good enough job of trying to avoid that implication, but the point is not "I don't lie anymore" (implying "that would be a lie"), but rather "I now obsessively tell the truth in all situations even when it would be detrimental" (meaning "that would be omitting things I Absolutely Must Say").

In other words, even if I know just saying "ok" would probably work, I feel the need to somehow "brag" or otherwise disclose my proud ignorance, even if that only results in the literal opposite of what I want.
Uhm, allocating money to a budget doesn't create great products anymore than wishing very hard for something before blowing the birthday candles.

It's the engineers that actually create the cool things.
They're not in trouble for sharing books that were available in the public domain.
You can’t change the length of a JS ArrayBuffer, or write past the end of your view.
If you are in the Bay Area during RSA Conference, Space Rogue and me, Weld, are going to be fireside chatting and signing books at the W Hotel. Come get one and hang out! https://info.veracode.com/rsa-2023-book-signing.html
What makes you thing TCC isn't maintained anymore?
So, Team Reagan left the hostages there longer, sold arms to an enemy and subverted the POTUS - why is there a statue of that !@# at Washington National Airport?????
Most of the appeal of getting a laptop speed with Linux is the expectation of good Linux hardware support.

Most of the utility in running Linux on your hardware is from running the Linux distribution you prefer.
The SVB debacle has exposed the hypocrisy of Silicon Valley
Speaking of cheap, i discovered the E&J XO brandy a couple years ago and it blew me away. It's only about $12 where i get it and it beats the crap out if the $40 specialty brandy's I've gotten over the years. I have the suspicion that they flavor it or something but it's full proof and doesn't say it's flavored anywhere. It's honestly so good it feels too good to be true.
You definitely cannot assume any of those bias assumptions from this article, for sure, but the point is you can't demonstrate that they are not. Maybe the actual experiment controlled for this, but if so the article here didn't mention any of that.
This was in a frame above the bath when I was a kid. It sunk in - I've always remembered it and can recite it pretty well even now, 40+ years later. I think it's a lovely bit of advice :-)
Evariste Galois: Facts and Fiction [pdf]
> more education is almost always good

There is a lot of nonsense credentialing in America. My most rewarding liberal arts classes in college were electives. Scratch that: the only liberal arts classes I took that had merit were electives.

The others’ reading lists were fun. But the discussion, assignments and evaluation stupid to the point that I spent years thinking up clever quips to the absurdity of it all.
> The code is written as direct and straightforwardly as the author could. It’s mostly plain C with minimal C++ features.

Sounds fair to me
Each Imo’s franchise is independently owned, and uses either Provel or cheaper “Zesty Pizza Loaf” depending on location.

Now that I think about it, it’s like a white, grainy, Velveeta. One of the biggest problems with a cracker-thin crust is that you need to eat twice as much (or more) to get full, and it’s not any cheaper, but Imo’s does lay strips of bacon across their Deluxe and I’m a basic bitch.
I do believe we are getting sidetracked by the example. The original argument was that some fields are studied for their own sake. And that is a good thing.

Pretending that the reason to study them is that they may prove useful in some undetermined future is just a distraction used to convince others, usually in order to provide funding or as a means to gain status. We should simply embrace that things are worth studying for the sake of knowledge itself instead of letting the pursuit of knowledge be corrupted by all devouring capitalism which reduces everything to a monetary value by denying the existence of any other kind of value.
Why do we need this stupid metric of "will I ever use this"? That is a recipe for ignorance. You will never be able to handle novel circumstances if you limit your knowledge to shit you think you will need.
This turns upside down the standard role of automation in control systems. E.g. the humans sets the temperature on the thermostat controller, or the pilot sets the parameters on the autopilot, but the plane is still under control of the pilot. Automated controllers don’t have goals that aren’t set by controllers above them in the hierarchy. In my opinion it’s definitionally impossible for automation to be the chief executive since there must be someone above setting the goals.
Recruiters are looking for software developers on Mastodon and Google Scholar
As another macOS user, it's absolutely insane how much worse Windows has been allowed to get over the years, and I sincerely wish that my mid-2015 MBP had never broken, because this is still absolutely awful even after almost 2 years of getting re-acquainted with an OS that I had already used for 7 years before my first Mac.

macOS was just too good.
I didn't grow up in Chicago but in my experience visiting relatives in the southwest suburbs the thin-crust pizza I ate there (usually Aurelio's) was pretty distinct from other kinds I've eaten in the Great Lakes states. The description other commenters have given of a "cracker" crust is apt. A pizza parlor where I worked in Michigan, for example, had thin pies cut "party-style" but with a much chewier crust.
In ClickHouse, querying Google Sheets works out of the box, no plugins required:

select * from url('https://docs.google.com/spreadsheets/d/1XGCy0tYU5YcEouO09_ErZIyqjA-VJ4pidLZmMmJkEdk/gviz/tq?tqx=out:csv&sheet=Sheet1&range=A:C', CSVWithNames)
Internet is part of the rent in my case, same as electric bill and so on. Indeed I forgot to add I also pay Giffgaff (cell service) and Mullvad VPN (paid 1 year in advance tho).

I'm not saying I'm against subscriptions, everyone can do whatever they want with their hard earned money but don't understand why Bloomberg, of all things, would have a piece about it.

Different people have difference life choices. "We" in this context, definitely doesn't include everyone.

About your common lifestyles, see how I live just fine besides coding and listening to music (my opinion, my life, ymmv, etc):

* I read the news for free online.

* uBlock Origin + Sponsorblock extensions on Firefox and NewPipe app in Android. No ads.

* I don't use Netflix, HBO, etc.

* I don't use iCloud.

* I buy all my frequent consumables in the supermarket when they're almost running out. I use reminders on my calendar app.

* Patreon and so on is something I don't use but totally understand being something people want to do and that's cool.

* I don't order enough from Amazon to justify Prime, no Costco here, I have a Tesco clubcard but that's free.

* I don't have anything to host.

* I don't even buy books! Library is amazing, even lets me borrow ebooks to read in the Kobo ereader.
L.A. riders bail on Metro trains amid ‘horror’ of deadly drug overdoses, crime
The filesystem complaint seems so fundamental, you might as well be complaining that Linux didn't use C:\ as its filesystem root.
There's an old book called The Richest Man In Babylon that has to do with personal finance. One of the key points is to pay yourself first. You have your rent, utility bills, maybe credit-card debt, etc., and even tonight you want to order in, even though it's expensive, because you're way too tired to cook. That's all fine, as long as you first set aside 10% of your paycheck for savings. Although that leaves only 90% left for all the other needs clawing at you, somehow you make it all work.

All too often people tend to their financial needs first, and find there's nothing left for themselves. No surprise most people die broke. Isn't it strange how their lifetime income just happened to almost exactly equal their lifetime expenses? Hmmm....

You might see where I'm going. Why are you giving the best of your time (rather than money) to everyone else, leaving nothing for yourself at the end of the day? Maybe start with just five minutes at the start of the day to pay yourself intellectually. If that works out, make it a habit!
At least in the UK I believe that your search history over the last 12 months is accessible by the police. So if for whatever reason you become under investigation it is sensible to ask yourself what the police would think about what you searched...
It's the never-ending game of get the maximum bag

See, advertising was getting the bag for a while but that's crashing as people reject the constant surveillance that feeds it

Now that they hooked you though, they need to make sure to keep advertising backed levels of profit growth in order to ensure that stock prices continue to rise, so the only thing to do is....raise prices.

But shit, you don't pay anything now, or if you do it's too low to cover the spread and you won't like an annual dollar figure, plus if we have recurring revenue and dark patterns then we can make sure we just trickle and trick you into giving us way more than you ever would have if we had a regular subscription to start.

So it's pretty simple - it's the never-ending game of, how can we use the promise of infinite money (raising money) to find high margin profit for our investors, make switching costs hard and then deliver the minimum level of service to ensure that you don't get so fed up that you easily switch.
I don't like people pretending that the language is simple, and commenters berating other languages for being complex while the language they promote and defend has quite a few of complex things and awkward workarounds for no reason.
golang's approach is anemic, so it's not an either/or situation.

Take a look at Java's approach (Loom + Futures + Structured Concurrency). It allows you to be succinct yet avoid the explicit async/await approach.
At least he's not soliciting pre-orders this time.
0. A four-year recruitment and placement agency.
Agreed. Manhattan and north Brooklyn are very different from the rest of the city.

The Chinese food in Flushing or Sunset Park is incredible, for example.
Midsize US Banks Ask FDIC to Insure Deposits for Two Years
Fetching currency data is not phoning home. And how is currency conversion supposed to work without contacting an external service?

Let's not dilute the original meaning. Phoning home means sending telemetry and other usage data to its creator and associated third parties, and this data exchange is not at all necessary for the program to do its job.
> Debian 12 sounds like it is going to open up to this as well.

Thankfully, no. It's only going to include non-free firmware by default.
It's like the Seinfeld episode where they're waiting 5-10 minutes for a restaurant table.

March 31 is suspiciously close to April 1.
> The diadem incident showed that whatever the intent was, Caesar was limited in what he could do.

I largely think this is a good place to leave this conversation, but I can't help but point out that when the limit is 'you can't openly declare yourself king in a nation whose fundamental character is defined as opposition to monarchy', there isn't much of a real limit.
> Learning in a structured environment provides access to the orthodox in the field of study.

That's a trope of critics, but not what happens. Have you studied in college? They (almost always) cover a very wide range - much wider than you will discover on your own - and the focus is to teach you to think critically and be able to examine them yourself. They are not there to teach you information, or that is secondary (at least in social sciences and humanities).

Also, you omit other enormous benefits, including personal tutorial - including guidance, feedback, etc. - from leading experts and PhD students, not to mention a room full of peers studying the same things.
Request for Product: Pipeline Replay
Having foreign policy you disagree with does not make America non-democratic. There are many areas in which the American government doesn't seem to represent the will of the people, but military spending and interventionism are broadly popular.

Now, if you want to argue that people have been duped into holding beliefs contrary to their own best interests, I think you could make a strong argument. But that's not the same thing as saying that the government doesn't reflect the beliefs they DO hold.
https://www.npopov.com/2022/12/20/This-year-in-LLVM-2022.htm...

From the article:

I think this is the first time in quite a few releases where we end up with an overall regression. However, the situation is not quite as bad as it looks.

In particular, the large regression on the right is due to enabling C++17 by default. The close to two times slowdown in 7zip O0 builds comes down to STL headers becoming 2-3 times as large in C++17.

While this is sad, and I had to edit out some choice words on the C++ standardization committee (I hear that this gets even worse in C++20), at least this does not affect non-clang compilers (e.g. Rust) and C code.
Yes - 100% I spend hours a day blasting through line json and I always pre-filter with egrep, and only move to things like jq with the hopefully (dramatically) reduced log size.

Also - with linejson - you can just grab the first 10,000 or so lines and tweak your query with that before throwing it against the full log structure as well.

With that said - this entire thread has been gold - lots of useful strategies for working with large json files.
> sexism and racism than most parts of reddit for example, and that makes HN much more interesting

My point, in my first post in this thread, was with this point, which is what I identified as what you were implying in your first post. You have a mentality that accepting racism/sexism is what causes HN to be interesting, or at least more interesting than Reddit. Your general mental frame seems to be "Reddit is always tip toeing about racism and offending people, which neuters how interesting/dynamic their discussions are, while HN explores the full range of thought and doesn't trivialize itself with those matters"

You are claiming that accepting racism/sexism causes things to be more interesting, but I'd wager it's a symptom of the general difference in culture, not a cause.

It's still possible to have a very interesting culture of discussion without racism or sexism, it just slightly narrows the scope of discussing not what is racist/sexist, but what simply appears racist or sexist. At what point, however, would discussing the history of development in nuclear physics, or compiler libraries, or any technical topic, be more interesting if racism/sexism were tolerated vs not tolerated?

I think the few cases where things which may be considered racist/sexist being tolerated making the site more interesting are cases where HN discusses caste discrimination, or the causes of the discrepant gender ratios in the tech world, or certain aspects of human behavior. But even so, what makes those discussions interesting isn't the subset of the discussions that may be sexist or racist, but rather the general analytical and investigative culture this forum has borne out of the more libertarian edge of 2000s silicon valley and internet culture.

My gripe is that a lot of people think that the capacity to tolerate sexism/racism is an inherent strength, an inability to be phased by the squeamishness and hall-monitoring style policing that affects most people, when in reality it's just their ability to justify their normal human biases with their intellect.
FSD Teslas will be out next year [1]

[1] https://youtu.be/zhr6fHmCJ6k
JPEG2000’s patents have expired, there’s no reason to exclude it due to patents at this point.
My space in Cambridge is not on the list. It’s hastypastry.net. Been there for 20 years. It’s private so no need to advertise. I think it’s good to be on these lists so people know hacker spaces exist
Sure is comforting to know that office politics ruins everything, including technical innovation.
Wow that's so cool!

My Mom certainly was not a developer, but she was studying nursing at little Bay Du Noc college in the upper peninsula of Michigan and AMAZINGLY there was a computer lab there with those orange round plastic machines and it was completely empty save for one guy that gave me an account and allowed me to chat with someone in California via a dungeon game. I must have been about 11 or 12. Looking back I wish I'd spent more hours in that lab.
The first thing in the HN guidelines is this:

> 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.

GP suggested the complaint about nameCHEAP wasn't well received because it's boring, not because it's wrong or unfair. It's not a semantic game I'm playing, I agree that the reason the complaint wouldn't be well received is because it is boring/not interesting.

Downvotes may not mean "this company doesn't deserve to be called out." They may mean "I didn't come here to wade through boring content."
Or rather between them, yes. (Or a bit lower than 4.0, that's perfect right? Or do you not have to get full marks on every exam to achieve that?)
Balaji's betting 1 BTC will be $1M in 90 days
nitter is simply a better browser interface than twitter itself. It doesn't burn up my CPU doing god knows what or interrupt my reading with popups asking me to create an account.
Good performance, budget price: DeepCool AG500 Air Cooler reviewed
Over optimistic estimates is how you know he's a real engineer.
Note that AVIF is badly broken in Gimp. Save an image as AVIF, then load it again. Decompose the Luma and Chroma. You will see that the chroma is on a perfect 2x2 pixel grid, as if it was upscaled using nearest neighbor upscaling.

This does not happen for JPEG.
He used spacerog
I could say that the Austin Maxi did those in 1969, although for some reason no one wanted to build it under licence. But the Autobianchi Primula also had hatchback variants and was before that, and unlike the Maxi had the gearbox in a sensible place.

Everyone ultimately nicks the bits that work for everyone else of course. I guess the Golf gets a bit more focus because of the names longevity (and that the Mk I Golf was executed excellently), and perhaps because the article is US focussed so misses some of the cars being mostly sold in Europe only.