skysight-inc/HackerNews huggingface dataset:
Interestingly, the features of Emacs, Vim and VSCode are largely orthogonal (on top of any basic text editor). Further, a lot of people advocate using CLI instead of most VSCode features. Waiting for the holy grail, you can still learn from each:

* Vim key bindings for text edits

* CLI commands for Git

* Emacs modes such as Magit and org-mode

* VSCode for tight Typescript integration, nice block structure visualisation etc.

I hope some editor will combine this all. (I think Emacs will be best placed to achieve this with its extension ecosystem that already includes Magit, org-mode, evil-mode etc.)
But this saves you a click so what do you dislike?
I expect apple have seen the writing is on the wall in EU just takes time to put into force so they started making design more repairable ahead of time to test design.

Yeah I'm thrilled about EU forcing apple to adopt usb-c. It's ridiculous they selling phones for $1k or even phones with 1TB for $1.5 with still usb 2.0 transfer speed.

And will be nice to use one cable to charge everything else and use cheap off-the-shelf Usb-c pendrive instead of MFI compliant pendrive or not needing to buy some dedicated dongles.
You are correct. The 700B is mostly wages and R&D, I take it. The 100bil throws me off because knowing Germany just spent 100bil on just one order of F-35s, that are being discussed here.

Not being contrarian, just making a point, I believe US weapons manufacturing being 50% of the US industry. The point being the heavy redaction of all data on this topic. "Prove me wrong"
I consider myself experienced, started professionally with sql in 1994 with oracle 6, and it really depends on how familiar you are with the database. I often work with databases I’m not familiar with, so exploring the structure by looking at examples of the data is where I start.
Intrigue in Copenhagen: A Tale of High-Stakes Corporate Espionage
Their RX-220 servers are also amazing.

Ampere 80 core machines for $220/m.

We use these for anything requiring a lot of threads.
I often ask the difference between a merge and a rebase is in my interview questions. It is exceptional common that they cannot even describe it.

I typically use it as a barometer for how in depth the candidate tries to understand underlying mechanisms of tools they use.
That's how all polls ever work.
For example gitlab. The latest arm image, as far as I could tell, isn't the same as the most recent x86. And, iirc, it was from some other person, not gitlab. It's often hard to tell what you are getting when you run an image, because docker pull can pull an image that isn't a multi platform build. I've had issues where the SSL certificates don't work, and I'm assuming it is because the stack could listen on 443, but the full ssl when running on arm didn't work. I'm not sure if that was because it is emulating using Rosetta or whether the software inside the container built correctly but isn't actually running on the arm platform correctly or what. It just feels like the wild west with arm images right now. I'm sure it will get better but it is still a minority platform and that comes with those issues.

And, this might just be exposing my ignorance. Until recently I hadn't needed to use arm but now with macos it's gotten more interesting and more complicated.
https://archive.is/3yfXB

Once again they’re doing something the west should be doing. But here in Germany the reactors are being shut down. SMH.
Should America condemn Modi's India? Let the pertinent facts decide
Why would you ever skip a page of search results?
Arc's Out - https://news.ycombinator.com/item?id=106398 - Jan 2008 (124 comments)
Infinite scrolling means infinite ads... :-D
No idea, but the following sites were down for me: Fastmail, Github, Camunda.
https://archive.ph/3yfXB

Article found from: https://twitter.com/levelsio/status/1670080968038948865

Update with more recent data: https://en.m.wikipedia.org/wiki/List_of_commercial_nuclear_r...
For keyboard users it acts as a focus trap, breaking the expected interaction model of the page. You can’t ever reach the footer, at least until the results stop.
Ah, there's nothing better than being granted the opportunity to burn money.
So many, I like reading how other people write code.

R - sf package is a clean example of functional OOP

Python - pytudes (Peter Norvig’s notebooks)

Haskell - Elm compiler. I could mostly understand what’s going on even though I barely know any Haskell.

Ruby - Sequel is really nice.

Rust - Ripgrep

Pretty much any F# codebase is super readable too.
I wonder if make and model of SSD factors in. Generally I've only purchased SSDs that have been proven reliable and don't try to cut costs by going for cheaper options with mystery meat controllers or cut rate NAND.

As far as failing gracefully, for me HDDs have been a mixed bag. Some have shown warning signs beforehand but I've had a few that just up and died one day with their performance up until that point having been business as usual.
I'm not quite sure, but I think what they're getting at is that when you send a message and immediately wait for the reply, that's generally a selective receive: in the optimized case, it inspects all inbound messages from after you created your outbound message; in the non optimized case, it looks through the whole process mailbox before waiting for new messages.

Either way, it's processing some inbound messages before others for a process that is getting messages for requests as well as responses.

Personally, I have seen ocassional attempts to prioritize inbound queues, but it gets unwieldy quickly: you end up either reading nearly the whole mailbox on each iteration, or having to queue non-priority messages yourself, or do terrible things in erts code to add the ability to send to the front of a mailbox.
Yeah don't get me wrong. Technically the Asus SoC is straight up better in every way, but

- It could be even better if it was a true low power chip like the Deck, with a 4 core config, a lower voltage target for the transistors and such.

- It practice, Asus runs the chip kinda hot? It doesn't handle low stress loads as efficiently as it should, and again this might be a consequence of using a laptop chip.
If your first language is English, and you end up using Google in a non-Anglophonic country, the option to change language (without going through sign-in hoops) is a drop-down at the bottom. The infinite scrolling, where results get lazy-loaded is really irksome in that case.
Show HN: A lib to parse Python functions for ChatGPT and call them automatically
Fair point. Alchemists as good at marketing as DeBeers could make this work.
"As with so much in mathematics, the proof started with coffee"

When I knew that the article wouldn't get straight to it, and make me dig through for the point.
Yes. And just like you’re implying, it has nothing to do with the beer quality itself (which might even be better now that they’re owned by Sapporo [1]) but some other criteria like “being cool”.

[1] Note that I said “might be better [quality]…” Without knowing the details of how Anchor beer is made specifically, corporate ownership can bring more resources and remove barriers, enabling “more, better” or it can exploit a trusted brand by using it to sell a lower quality product until consumers catch on. My bet would be that Sapporo is doing the former.
Picking the chart links out from among the fashion ads:

https://climate.copernicus.eu/copernicus-first-days-june-sur...

https://climate.copernicus.eu/sites/default/files/custom-upl...

https://nsidc.org/arcticseaicenews/charctic-interactive-sea-...

https://scrippsco2.ucsd.edu/data/atmospheric_co2/primary_mlo...
By this logic any time you take a job at a business you're being exploited. This seems like a horrible psychological prison to put yourself in.
What contract terms do employers change? The US has strong contract laws that would make that quite expensive for the employer.
I have friends who have very different careers with very little technical expertise. Why can't he?

The point is that he is not talking to them about engineering, but sports, videogames or music.
Yup this is definitely an improvement for me.

Having to page through ephemeral search results is just added friction. I'm already scrolling anyways so this is much better UX.
Gluten is indeed the protein in the wheat, so I guess not having at least some would impede transformation of the host into flesh. Makes total sense.
I really hope you disrupt the industry. Even if, as you say, your target market is mostly FSBO. Taking anything away from the Realtor organization is only making things better. Good luck!
Google gets go-ahead to build 153-acre Bay Area neighborhood by headquarters
Yeah, it’s really not clear unless you click through and see that the weight per unit is 37 lbs. Unsurprisingly, purveyors of church goods almost invariably have terrible websites. Ziegler’s is comparatively decent, lol.
> bisect is definitely not common

Agree.

> I’d place it into the look-it-up-if-needed category.

Disagree. Bisect is so useful in so many different scenarios that learning about it and the basics of how to use it is a great way to get people into git. Obviously not right at the beginning of their learning curve but as soon as the basics have been covered satisfactorily.
Catholic school, pretty common in my part of the country. My wife had a similar experience on a bus at a public school, two counties more rural.
> Infinite scroll is annoying because e.g you cannot link to thing

Infinite scroll is also annoying because it often breaks when navigating back to the page.

Since this is a very popular use case in the context of a search page, I’m not a fan of this change.
Nah, eternal praise of Elon's engineeting super powers for the next ten odd years will do.
Event-driven communication is appropriate for implementing hooks for external consumers.

"Firing an event" is roughly equivalent to "running an undefined set of procedures in an undefined order".

That's useful, because consumer behavior is usually undefined, or at least far outside the scope of a single software system.

Your system firing the events should assume the size of that set is 0. That is, it should not rely on its own events for its internal control flow, why introduce what is essentially UB? That would be like a webserver querying its own HTTP endpoints instead of its local database for the same data. Abusing external interfaces for internal purposes. Wasteful and difficult to trace.
>>> lm.do("If I have 7 apples then eat 5, how many apples do I have?")

'You have 8 apples.'

>>> lm.set_max_ram('4gb')

4.0

>>> lm.do("If I have 7 apples then eat 5, how many apples do I have?")

'I have 2 apples left.'

It's funny how it switched from "You" to "I" when the memory was increased.
That's the simple and safe use of rebase. Rolling up your local wip commits into a coherent story of one or a few clearer commits.

The more-complicated but still safe use is to rebase your local branch on top of an advanced upstream before pushing. Some people prefer merge for this case, but it is somewhat impure.

The problematic use of rebase is on pushed branches. Especially if you have collaborators.
I didn't quite understand what this meant from the headline. The introduction in the paper clears it up. The TLDR is that astronomers are concerned they won't be able to do space observations with so many satellites in the way, but SpaceX has optimized for some parameter the indicates this will not be an issue.
"Beelzebub has a devil for a sideboard"
When I began selling real estate in 1966 the legal theory in place was "Caveat Emptor" or let the buyer beware. There were many complaints and over the years the theory drifted to "Caveat Venditor" or let the seller beware. Most states have gone this route but I believe there are one or two states doing let the buyer beware.I cannot find information that quantifies the actual number of complaints, but my experience is that the complaints are about the same. This suggests that neither theory works in practice. I wrote about this[1] several years ago. The article gives you a common sense take on agency [1]https://dearmonty.com/is-your-buyer-agent-legitimate/
Thanks for the feedback! My understanding is that for dry powder inhalers you have to take a sharp breath instead of slow deep breath like for MDI, thus the confusion for patients as well. I'll add that to the instructions. Perhaps I could add one page showing the difference between the two. I think maybe a short text instruction to complement the videos could be helpful as well.

I mainly had this in mind for physicians to quickly look up an inhaler, and then they can show the patient the instruction videos in the room.
I think that's oversimplification. The chase for power and then continued effort to hold one might, but there are very few cases where some perfectly honest individual is suddenly given massive amount of power.

Even inheritance can be argued as the kid was most likely raised by corrupted individual in the first place.
The Nasty Linux 6.3 Nouveau Driver Bug Appears to Have Been Figured Out
Reddit Fight 'Enters News Phase', as Moderators Vow to Pressure Advertisers
Nothing new here, just yet another wrapper around the current language models, and weak ones at that.
The friction with using Docker across arm and x86 was one of the big reasons that I ended up learning NixOS. Now, all the services on my personal remote box and all my one-man-SaaS services run on NixOS + systemd services and my life is so much easier and less stressful.
so ya nerd sniped me-

military budget, at least requested for 2023: total requested is $773B [0]

"FY 2023 budget request for procurement and research
and development totaling $276 billion is the largest in the
history of the Department and ensures combat-credible
forces across all domains"

so if I understand that, R&D is $276 billion, plus a bunch of extra money for more ammunition and stuff like that.

The 2021 US GDP is $23,315.08B [1], which means that the military budget is ~$4.28% of the GDP. Turns out that the 5% number is about right, or at least it was in 2015 [2].

So general military procurement (so food, bombs, and probably 401k's & pensions) is about 5% of the US economy, but that doesn't include non-military use, like ensuring that there are more guns than people in Texas (not actually [3]).

If you want to see the breakdown of which types of guns sell the most in the US, this is a pretty good read [4]

I couldn't figure out what combination of words to google to get any further - there's also research labs that get funded out of state and government grants that may not get included in that, and I know that's also probably a decent chunk of change as well.

So to answer your question - probably about 5% of US industry caters to the military specifically. A decent amount of that doesn't go to weapons, but instead people and facilities (which we have a ton of). Civilians can also buy guns, and the US also sells a bunch of weapons across the world.

I would guess about 7-8% of the US economy directly goes into the manufacturing or development of weapons, weapon systems, and military vehicles, but I have no idea where I should be looking for a better answer than a guess.

0 - https://comptroller.defense.gov/Portals/45/Documents/defbudg...

1 - https://www.macrotrends.net/countries/USA/united-states/gdp-...

2 - https://www.brookings.edu/blog/order-from-chaos/2015/08/19/d...

3 - https://worldpopulationreview.com/state-rankings/guns-per-ca...

4 - https://www.atf.gov/firearms/docs/report/2021-firearms-comme...
Funnily enough, I saw a train of Starlink sats from their most recent launch (which was Sunday I think?) on Tuesday night in the skies over northern Utah. I assume this reduction is for normal nighttime hours, and not the times immediately after sunset/before sunrise when they can catch the light while still ascending to their final orbit?

Edit: the launch was early in the morning on Monday
First, I don't think it's fair to characterize it as a lie.

Second, I think Godel's Incompleteness Theorem shows that there are arguments that not everything in math can be described by sets.

[1] https://math.stackexchange.com/questions/2674701/how-why-doe...
That’s the idea behind https://xkcd.com/1597/ and it’s more true than people will admit.
BSA, now that's something I haven't heard in a while; '90s mIRC flashback...
Exactly. They threw him in a hole, he didn't throw himself into the hole to prove a point.

Just because you're willingly disobeying regardless of consequences doesn't mean you're supposed to make it trivially easy for them.
I'm currently using Laravel at work. It's very opinionated, and some folks say it uses anti-patterns with regards to its use of facades. That being said my last job was C#/.Net and I am so much more productive with Laravel. It really allows you to develop quickly and I haven't yet bitten by any of the "anti-patterns". If you give it a shot I'd recommend just using Laravel Sail as, if you already have docker installed, you can have a full dev environment setup in less than 10 minutes.
Hacker gang Clop publishes victim names on dark web
I think fonts and typography all across the UK is excellent. See also British Rail, and all the road signs.

As a Britisher exported to the USA, the fonts and typography of government projects here regularly gives me the heebie-jeebies. I can't even bear to look at the highway signage.
Wheel was incremental too. Plenty of fruits and stones have spherical shapes. If you cut a fruit, or a tree, or a trunk, into slices, you get wheels. Early humans had plenty of opportunities to observe and play with wheel-shaped things.
I have enough room that I don't need to tile them, that's the point.
Especially given GPT-based news summarization services.
It's not a crime to consume, but it's still illegal. Drugs weren't legalised, they were decriminalised.

As you can see here (https://diariodarepublica.pt/dr/detalhe/lei/30-2000-599720) it explicitly says, in Portuguese law, that drug consumption was decriminalised. (Just search for "descriminalização".)
As someone who owns both a MacBook and a ThinkPad, while the construction of ThinkPads (at least "real" ThinkPads, not in-brand-only models) is solid they often leave something desired in terms of case flex. I'm comfortable holding my 16" M1 Max MBP by its corner while it's open because it doesn't flex at all, while I'm more nervous doing that with my X1 Nano despite it being much more lightweight.
Short short version: if the left-hand side of → is false, then the result of → is ALWAYS TRUE.

This is tricky enough compared to normal intuition about "implication" that there's a name for it:

https://en.wikipedia.org/wiki/Paradoxes_of_material_implicat...
>the same as the number of fingers and toes you have.

You really only have 18 fingers and toes when you think about it - 10 toes + 8 fingers.

Those other two appendages are thumbs. Even my kids know this.

EDIT: You also have two sets of knees - your low knees, and your high knees.
A comparison of text-based browsers (2011)
Presumably his views may now conflict with those of his colleagues, friends and, possibly, family. It will be a major life event for him.
The problem with procedural is that it doesn’t optimize very well. The fastest way to get your data for a large number of random queries often depends on the data size, the available indexes, but is also influenced by changes in data size, etc. What is fast for a small dataset might be slow for a larger dataset. The right algorithm also depends on your filters and caching.

It’s almost impossible to write procedural queries that always perform, that is a really hard task. That’s why we use a declarative query language, I tell the database what data I need, and the database optimizer will determine the best performing algorithm to fetch the data based on all dynamic statistics it has.

Don’t underestimate how much hard work the database optimizer takes care of, I’m glad I don’t have to program all of that myself.

Better get used to this way of working, it resembles pretty much how AI assists us.
Well, both can be achieved.
This isn't a war. We can have both. If no effort is put in to make everyone happy, that's bad, so it's good they're working on these light issues.
The abstract makes it clear this is part of searching for an earthquake global warning syndrome. So in terms of motivation why the link exists is secondary, if it can for warn significant earthquakes that is all that matters.

Besides, the first "scientists" looked at the sky and just stared until patterns appeared.

You can't condemn scientists for looking at data. Not everything can be magicked up from first principles in a vacuum.

No scientist would claim that falsifiable hypothesis and empirical validation aren't needed. But I don't think any scientist would criticise someone for looking for patterns on a whim and pointing it out to others.

A favourite example[0].

[0] https://en.wikipedia.org/wiki/Ulam_spiral#History
Can you tell me more about the gamepad and software you used? I've been looking for a decent solution like this for ages.
Nuance? Not really. Bullshit flash in the pan tech stacks are what they are regardless of how much marketing drapery one adorns them with.
Also see British Rail which had an equally outsized effect on UK typography, and was (and continues to be) very beautiful in my eyes:

https://britishrailmanual.com/

https://en.wikipedia.org/wiki/British_Rail_Corporate_Identit...
I know reddit is experiencing some sort of mod-led black out right now but does that mean the kind of content that you'd find there need to make its way here? This is hackernews. We celebrate progress.
Compensating for non-uniform geographical distribution of the sensors is obviously necessary. Any claim that researchers have failed to do so requires evidence.
What’s the limit on the amount of real estate you own before you become unable to understand or empathize with the homeless?

Does this work with other vocations? Should spinsters not be allowed to teach or care for children? If you don’t own a car you can’t become a car mechanic?
C -> Lua, Sqlite
It's good that these expectations are set, and even better that they are met.

We'll probably have more constellations of satellites in the future, so it's good that there are clear goals to hit to limit their negative effects.
I mean that citizenship can now be taken away, in most of Europe, from people who have it and were born in the country and don't have any other citizenships (which is a direct violation of Human Rights: it's not allowed to take someone's last citizenships. Only double citizenships can be taken away)

Also, I doubt very much that worldwide competition for skilled labor is a real problem for voters of right-wing parties. Or left-wing parties for that matter. Skilled labor is just not a sufficient percentage of the population to matter for voting.
The next paragraph makes exactly that point:

"where the iPhone was a more-or-less drop-in replacement for the phone you already had, nine years after Meta bought Oculus, VR is still a new device and a new category for almost everyone. Indeed, the Vision Pro actually looks a bit more like the original Macintosh, which was over $7,000 (adjusted for inflation) when it launched in 1984, and most people didn’t know why they needed one."
This might be widely inappropriate to bring up, but do you know how Chris' lawsuit against his cancellers is going? Like many players I used to look up to his work, and then was of course taken aback by the serious allegations against him; it's one of the messiest he said/she said cases I've encountered, though. Still very curious about the ultimate outcome.

Edit: https://kotaku.com/fallout-new-vegas-avellone-sexual-miscond...
Show HN: I created an UberEats scrapper with Excel download
What's your point exactly?

I spent a lot more than 20h learning emacs. It was my main editor for years.

I use VS Code now. It serves me very well.
I don’t know git besides pull and push (never needed it, not an employed SWE). Should I learn it or should I learn shinier and supposedly easier alternatives like jujutsu? I only code for myself.