skysight-inc/HackerNews huggingface dataset:
Counting lines is useless. I try to commit the smallest "logical unit" (which is only fuzzily defined in my head) possible.

If that's 2000 lines as in the case of changing an API signature across the whole application, so be it.

Most of the time you can go much smaller than that though.

Also, i believe you've never had to go through year old large commits to figure out why a change was made? :)
It defers to a repealed 97/7/EC, replaced by 2011/83/EU:

> Durable media should enable the consumer to store the information for as long as it is necessary for him to protect his interests stemming from his relationship with the trader. Such media should include in particular paper, USB sticks, CD-ROMs, DVDs, memory cards or the hard disks of computers as well as e-mails.

USB sticks are on the list, but so is paper and e-mail. This USB stick could have been an e-mail.
Yes they sold out, but they did it because they thought they could tame the dragon and make lots of money for America. But it didn't want to be tame.
API on the horizon?
The only thing that really has value at Reddit right now seems to be their giant archive of user generated posts. It is certainly going to be interesting come IPO day.
It feels like you're just trying to pretend the issue isn't real

> closed and fixed ... 'list' command is supposed to list all

This is NOT a fix, but a confirmation that this design flaw is unlikely to get fixed. I don't need fzf to be flooded with useless info either.

How would using it for real help here?
That thread from a year ago has a link to the OP issue
https://www.timesnownews.com/world/spy-trojan-horse-or-lift-...
Been possible to do without JavaScript before, and is still possible today :) Where there is a will, there is a way. I'd still argue Pornhub is a bad example for the point parent was making.
This will kill a lot of Low Effort, So Called Ai Startups that just prompt engineered chatgpt.

Good work guys!
1 commit per PR sounds like terrible advice, unless it's a change of just a couple of lines. Don't squash your PRs to make logs look shorter, learn to use the `--first-parent` option to show only the merges if you want less detail.
Bucharest. This is the article about it [1], in Romanian but google translate can help, and especially you can see a photo of one of those cars at the very start of the article.

[1] https://www.hotnews.ro/stiri-administratie_locala-26379925-c...
These topics are awesome- they go to the heart of what it means to be human. With that, I'm not so sure your premise of "semantics are meaningful distinctions."

In my mental model of an apple, I envision an apple against the backdrop of a void. The only existing relationship is "apple" to "not apple." This is a meaningful property, but I don't think it means I have any clue about what an apple is.

I wonder about asking chatgpt "what is two plus two" a billion times or whatever. Given errors in the training data, and the negative correlation to answers that are not "four" is only a probability, will it tell me two plus two equals five? My gut says yes. And yes, humans could misspeak, but we can also self correct.

"Apple-not apple" also makes me doubt adding space-time to the mix is enough for actual understanding.
You're comparing developed countries ( who don't want a 5% increase) vs. Developing countries ( who need a 5% increase).
You're implementing a Slab allocator. That's exactly what any Slab allocator does, including gmalloc, tcmalloc, jemalloc and SLUB (Linux kernel). But, there is probably much much more you can do on a modern machine to squeeze even more performance. Some of the things that comes into my mind are: reducing tlb stalls with hugepage awareness[1], and reducing false cache sharing on SMPs [2].

For the compression part, have you thought about OS-managed memory compression [3][4]?

[1] https://google.github.io/tcmalloc/temeraire.html

[2] https://people.freebsd.org/~jasone/jemalloc/bsdcan2006/jemal...

[3] https://dl.acm.org/doi/pdf/10.1145/3297858.3304053

[4] https://www.kernel.org/doc/Documentation/vm/zswap.txt
This is even worse in companies that have security offices actively sending out phishing emails worded as internal emails from your company that shame you if you click any of the links in them.

email is well and truly dead.
OpenBSD – mwx(4), another new wi-fi driver, added to -current
>But that's terrible advice. Debit cards will debit immediately from your account and you may know that banks are very creative in re-ordering transactions to inflict you maximum pain.

>You have $1000 balance and on the same day issue payments for $10, $20, $30, $40, $50 and $999. If the bank processes those in the same order you get hit with one overdraft fee when the final $999 payment goes through.

>But no, the bank will rearrange that to process $999 first, and hit you with five overdraft fees. So nice of them. I mean nice for them.

According to[0/PDF] the Consumer Financial Protection Bureau (CFPB)[1], reordering transactions in that way is illegal.

[0] https://files.consumerfinance.gov/f/documents/cfpb_unanticip...

[1] N.B.: The CFPB is a US Government agency.

Edit: I'd clarify that I am not claiming that this sort of transaction doesn't happen, but rather that it's not a new issue and happens often enough that the CFPB felt it important enough to publicly opine about its illegality several years ago.

Additional Edit: Added more context from parent comment to make their point (to which I certainly wasn't in disagreement) clearer. Apologies for any confusion.
> It makes no sense to not let the site online in an archived form, for the posterity

I wanted to say, that Dr. Dobb's did that. https://drdobbs.com/ But some time in the last few years something mus have gone broken. You can't open the article links anymore.
Well, of course Phenomenology is more important when thinking about computation, but by the time Heidegger was writing about zeros and techne he was already quite old, and computation had developed significantly; the same with Godel, who we consider to be a very important thinker with regard to the theory of computation, but the machinery of the computer was already being put together before the invention of the formal logic that we today consider necessary for computer programming.

I say Kant because I suppose Kant was the first thinker to suggest (after Aristotle) that logic always has an existential import, that it only appears to us in the world and its not really certain if it exists in and of itself--at least, that's how Hegel reads him. And in any case Kant's philosophy is the beginning of modern western society from science to law to aesthetics, and, of course, philosophy.
You still need software support for it on the host device.

While you can imitate Keyboard and Mouse (and they would work through boot or without OS), Video is out of question for now.

And while there is still some value on it using on a healthy system, most of the time KVM device is needed when something is not working.

NB there is/was Intel ATM which provides (at least on paper and on rare, extremely rare posts on Internet) KVM-like experience and power control. Theoretically it can be used as the basis for single USB port KVM interface.
> An extremely fast Python package installer and resolver, written in Rust.

Is “written in rust” a legal requirement in the compiler’s EULA?
Regarding the external domain thing, I can say that dealing with domains in a big company gets about as bureaucratic and terrible as just about everything else; I experienced this myself - at a youngish company when I needed a new sub-domain off the big official domain, it was just talk to $dude on the DNS team and he’ll help you out. And he did. A few years later once things had “grown up” a bit, I needed to update a record and I asked the same guy. He told me I needed to fill out a 25 question form and they’d review it. I about half copy and pasted it from another team member’s project and they accepted it.

Obviously it doesn’t excuse the practice, but I can see why people use alternative domains to get things done. The above anecdote was also purely within the company; I’m sure that if you add in a partner/managed service, it only amplifies the complexity.
I was quite pleased I figured out what the error was about a minute before the video started explaining it :-)
But how's that actually working in practice?

Because last time I checked illegal street parking in Bucharest is still a shitshow where all drivers just park wherever they want because the chance of the police actually fining them is super small.

So is that more for show and fearmongering drivers to not park illegally or do they actually issue and chase down fines now?
Gotta juice your government contract. Charge a scrappage fee for removing the naughty crane, charge full price for a new crane and a special surcharge for over-night installation... and then have the chutzpah to explain that yes, Chinese and American cranes do look very similar... convergent design something something <cough>.
I’ve been using Firefox for nearly two decades and I’d be hard pressed to switch now. I’m practically married to it: through sickness and health.
> The same guys also force us to change our passwords every 6 months and block the last twenty

It's good we have 26 letters, that comfortably leaves you a margin of 6 combinations :-)
IC Chip with irregular spaced pins
I had some colleagues at a former company who absolutely swore by this.

Being used to trunk-based development, my approach was simply to make small commits. And if you insist on PRs, make small PRs. Although not totally cost free, they are easy enough to create that the overhead is trivial even with very small PR sizes.

I asked them how this improved on just making small PRs, particularly with the need for extra tooling an complexity, and all I got was blank stares.

Reading the blog entry, I don't see anything that goes beyond "just make small PRs. And now here's some tooling that's totally unnecessary if you make small PRs, but you'll have to organize your big PRs as a set of smaller PRs anyway"

What am I missing?
>it's the natural order of things

What is natural about computation? I've never seen writing in nature.
He pulled up the flag and held onto it instead of trying to reposition it. At first, I also found it funny that it was a secret service agent that went there, but then it made sense: with the flag moving like that (it seems it had a somewhat heavy wooden structure instead of just fabric), there would be a risk of the strings holding it breaking, and then there would be a risk that it could fly and hit whoever was talking later at that empty podium. I believe it's part of their job to avoid these kinds of risks.
> “It does not engage in storage, communication, or transmission of any imagery or personally identifiable information,”

Probably bullshit.

Firstly, "personally identifiable information" is usually defined very specifically, like 'we didn't record their social security number'.

Secondly, they send a bunch of information extracted from the image and they probably store the raw images on the machines which are then manually extracted at some point. Like photocopier that store a scan of everything put on the bed in its own hard-drive.
I'm sure there are some that do this.

I once worked with a test manager that was effectively judged by how many bugs were found and how many tests were written. He was actually a nice guy just trying to play the game given to him, but if you didn't know this you would think he was doing exactly as you described.

There will always be a few bad eggs in the mix, but I'd check the incentives forced on them before judging too harshly.
I'm one of the most obsessive team members when it comes to commit / PR size and hygiene. I want each PR to change just one thing, for the commit title to uniquely identify it, and the rest of the commit description to explain everything a reviewer or future maintainer would want to know.

But even I don't insist on any particular line count metrics. Sometimes doing just the one thing does mean a 1k line PR or more. That might be the MVP of a feature or refactor that's in a state that can be reviewed. Splitting it up into functions which can't yet be understood in their broader context makes them harder to review, not easier.

I do try to split out any preliminary refactor which makes the big diff smaller and more focused, but sometimes that just shaves off 10 lines. It's good hygiene but it doesn't change the reviewer's experience much, and the commit description now has to pull the weight of explaining why this refactor came first.

Stacking is definitely a huge pain in GitHub and after years of attempts I have mostly given up. I very occasionally include multiple commits in one PR, so reviewers can switch between focusing on one change and seeing it in broader context at their choosing. `git rebase --interactive` means amending the whole branch is still just one command with no third party tooling to buy or learn.

I think it's a very reasonable compromise with the tools available today. The biggest limiation is they can still only approve the PR overall no matter how many commits it has, but when you do this you scope the PR appropriately for that. That's the Linux kernel model of splitting commits but still soliciting review for the lot of them.
The management will overreact by implementing 100-factor authentication, requiring 30 letter password with mandatory Unicode symbols
often, chatgpt translates better.
remember when. intel had intel branded reference boards? I would like a comeback please
I use brave exclusively for years - zero problems - seems faster to me than other options. Also use it with Spotify and can't remember ever having an issue (brave on mac if it makes a difference).

Yes it has Tor built-in, but you don't ever need to use it - it's just there in case you do (I have never needed it myself).
How many of those same people would've lost their lives during a ground invasion of Japan?
Ah yes, the safety concern makes sense.

Pretty silly they tied a heavy wooden frame to it when they could a of just tied a bare flag in 4 points over the Chinese brand without the risk of it falling and injuring someone.
Shoutout to ezyang‘s ghstack as well!
ghstack also adopts the one-PR-per-commit paradigm, which means you have to get comfortable with a lot of amending and interactive rebases and moving fixup commits around your stack. Amendments are nicely mapped to new commits in the PR though.

Graphite really has nice support for that sort of stuff and opens PRs directly against master. I don’t really like that it needs an external service beyond just github and git, but oh well.
The only thing I had problems with is that merging from github is very confusing and I don’t want to be forced to adopt their webinterface. I‘d prefer to merge/land my stacks from the CLI.
Small PRs and more than that, small work chunks are a really good way to get a team going and to be able to be more agile. Estimation is also easier because instead of even T-shirt sizes all you do is "is it small enough?" / "can we finish this task in under 1-2 days?" and if you do that to everything you can get pretty fast (and still offer predictability to the business by measuring throughput).
Anyone found this? Can you remember the episode?
I think the amount of code you need to maintain and simplicity are orthogonal things. When we say go is simple, what we usually mean is that by looking at a bit of code, it's obvious what it does. There's no way that `x + y` can be anything other than addition, or `f(x)` anything other than a function call. It also means, that only function calls can hide additional complexity. You could also talk about lexical proximity to things that can affect the outcomes.

By that metric, Rust is complex. Looking at a piece of code, it could do basically anything at all. It can get rewritten by a macro, operators can be overloaded, any line of code can hide implicit magic that you have no way of knowing about.

Rust gets away with being complex by having lots of correctness checks. C++ is about as complex as Rust, but, without the correctness checks, it can be a nightmare. In Rust, it might be hard to tell what happens when you run some code, but at least you know it will be nothing terrible.

what does simple mean?

1) Simple for me, writing the code

2) Simple for you, reading the code

3) Simple for the SREs who have to operate the code

4) Simple in the sense that there aren't many abstractions

5) Easy to refactor

6) Easy to use and test (a function is simpler than a bunch of objects)

7) Simple to debug (no state is simpler than yes state)

Both Go and Rust score pretty high in aggregate on these different definitions of simple, but they get there in very different ways.
many more - plus hundreds of thousands of USA soldiers as well fighting a battle they didn't need to.
Mahatma Gandhi writes a personal letter to Adolf Hitler
So, in other words, fraud insurance is a socialized cost paid by all consumers.

Where's the incentive to minimize fraud though...
Mate... If the listing I saw is real and it arrives at my door, you might have helped me snatch the deal of a lifetime, like literally saving me nearly 2k.
While it’s not perfect and it’s not ggplot2, Seaborn is definitely a big improvement over bare matplotlib. You can still use matplotlib to modify the plots it spits out if you want to but the defaults are pretty good most of the time.

https://seaborn.pydata.org/
Which is your question, I didn't miss the subtle difference. (and you pointed it out nicely :) If we assume openai is making a profit on queries, it means that their cost to run this is less than what they're charging, at which point, the guess for what they're charging is a ballpark for what it costs. Training is impossibly expensive, inference is totally cheap.
This. Also we were constantly firebombing Japan so much we had to actively stop so we could use the nukes
The rumor yesterday was that they were. Employees had gotten a heads-up to back up their content because it may not be online forever.

(It’s my toot.)
That's a bit like saying that if you want to sail from Europe to America, you should jump in a boat and let the wind take you there naturally. Don't touch the sails.

The entire hypothesis behind a formal DEI program -- whether or not you agree with it -- is that DEI doesn't happen naturally. Humans tend to gravitate toward (I.E. hire) people similar to themselves for various reasons, and that has to be purposely shifted if the organization is aiming for diversity. If they don't care where they end up, that's a different story.
The catering costs alone to do it cinematically make it a no-go.
Bugs that reveal the physicality of computers (2023)
Yes that's what I was referring to by:

> Of course funnily enough 'the house band' could also be a thing, but neither [that nor 'a garage band'] is related to the genre of that name.
Had this lying around for ages. Gave it a polish and released it :)
An IPO target of 5 billion minus the ai deal. Maybe I got my numbers wrong.
I'm starting to lean towards, this is a people problem and not a tools problem.

As as senior engineer, either I want to review every single change that's being made and I should be doing pair programming anyway, and PR approval is almost purely symbolic.

Or, I trust my colleague enough that I'll spend 5 minutes looking at their justification, explanation, testing strategy, rollout plan and decide to trust their code.

Stacked PRs and insisting on small PRs seems to want to fill some gap in the middle between these two, which isn't necessarily the correct solution.
I would honestly really like to read a book (or New Yorker article, but I repeat myself) about this period. Was he fascist, just not openly, in the early days of Vice? Or was he radicalized later? If he was radicalized, how did that happen?

As loathsome as I find him, he also started two well-known organizations, with very different vibes, but also a through-line you can see if you squint. It must be an interesting story, maybe even an enlightening one.
Ah - I see what you’re saying.

I think I’m going to keep it relatively simple for now, just to see how it goes. If it becomes a bigger issue, I’ll try out your method!
They are, what GP is describing is called a slipped reef/square knot.

Reef knots without the loop can also be capsized for quick untying. It is a dangerous property of that knot for some situations, and a reason some people think is shouldn't be taught as a general purpose knot. But it can be useful in specific cases like in reefing, as its name suggests.
I mean at some point we just get generic enough that we have to agree on the ultimate fact that at least somewhere in the management chain someone has to actually know enough engineering to recognize good work from just running around in circles. I agree what you say happens but if good work isn't consistently recognized and you think you've worked on your comms, there's not much else to do really.
Thanks for pointing that out! Will do some updating to the filtering function.
No, this protocol doesn't deal with SQLite. In fact, SQLite in Fossil is just an implementation detail, the design doesn't depend on it.
Fire bombing of Tokyo had 80,000 - 130,000 killed.
Sheesh! Do you need a hug? Anyway, with chat GPT you can simply give it the image from the reddit post and get the OCRd and translated text. It's one step, it's fast, it's accurate enough. Why not use it?
so, great, something that still serves the purpose of funneling more unsolicited marketing email (spam) into peoples' inboxes, just with a shiny wrapper on it.
I use Brave for YouTube and things that require Chrome and Safari for everything else. Oh… Firefox for when I want to load Facebook. Like once a quarter.
You gotta say "some of the worst" or you fail on a technicality right out of the gate. Humanity has been fighting to produce the worst war crimes since ever and displays no particular signs to give it up any time soon.
Vice: Parenting. School choice: Hip or Dangerous?
You have incrementally added to my joy today. Thanks!
In this scenario, you have to break your product twice to see a benefit. I feel like that's not true for cars.
I could see people still being distracted scrolling through podcasts.
Ask HN: OpenAI Valuation
Isn't the bar for companies to get into the AI world low enough and the tech gap narrow enough, that it almost makes no sense for the OpenAI's 100bn valuation?
Can you elaborate? Our team has a squash-and-merge policy that I never questioned before. I guess people just don’t write clean commits and consider a PR the smallest unit that makes sense.
“Dual-booting requires partitioning…”

Not necessarily. As I hinted in the OP, I'm installed on separate drives. My Lenovo tiny has 2x M.2 SSD and 1x 2.5” SSD all in a 7”x7”x1.5” format.

And I don’t think you can avoid partitioning. Windows makes 4 partitions automatically—unless you’re making multiple installations, then it doesn’t duplicate boot (logically problematic) and WinRE
If we're talking about burying ledes, it seems the real story here is that the US doesn't appear to know how to make cheap, high quality container cranes. That seems vaguely like it should be a security concern in itself; if the US isn't cost-competitive enough to build cranes for US ports, what exactly is going to happen in a war? If the US is seriously worried about fighting China then they're at a real disadvantage because China has all this heavy industry they can repurpose to a war effort.

https://en.wikipedia.org/wiki/ZPMC says the same Chinese group are going to be building a new Bay Bridge in San Francisco. And they (ZPMC) don't even have bridge building experience! I'm going with a US v. USSR style defeated-before-the-fight-starts scenario here favouring China.