skysight-inc/HackerNews huggingface dataset:
Type hints are an absolute must for me in modern Python, starting with one really simple reason: All the tooling can use them.

That means:

- The static checker / linter
- My LSP server
- Documentation Generators
- Testing frameworks

All of them can use type hints to work better, or to put this in to words that interest me: make my life easier. Laziness is a programmers virtue. I am lazy. I don't want to guess or lookup what type a param has. I want my LSP to yell it at me loudly when calling something. Taking the 1.5 extra seconds to write that type hint, is a minute saved later when using the code.

Oh, and to everyone using LLM in their editing environment: They understand type hints as well, and can make good use of them.

And for when I am feeling especially lazy: I have a keybind that sends the current code block to the LLM asking it to add type hints and a docstring ;-)
> This is useful because most operating systems have sqlite3 and python3, but are missing the SQLite CLI.

Not sure what you mean -- sqlite3 is the SQLite CLI.
> But parent was talking about a comparison with running a Linux mobile distro on a PinePhone

But the comparison works. No mobile linux distro adds hoops to jump through.

Of course (Almost?) nobody thinks that mobile linux is as convenient / usable as Android right know.

For many of us it's about developing an ecosystem that's truly open source / that does not rely on Google.

> But again, I think dropping support for those two (basic, let's be honest) apps is really not a problem.

No, indeed. The custom rom will survive. There seems to be correct alternative apps, and someone might even put the effort in maintaining the AOSP ones.

It's just a symptom / a clue of the broader issue.
> People don't pay for journalism because journalism went

It's a vicious circle really.
K=thousands....

https://en.wikipedia.org/wiki/Kilo-
Amazing resource.

The retrospectives in particular are incredibly useful, taking this deep research work & connecting it & adding context.

The Corona paper was a great example. The team built incredibly advanced chip-scale 3d photonics. They assumed electrical connections would become more of a roadblock, but here we are sending 50+ gigatransfers/s across PAM4 copper in ethernet & soon PCIe. Epic. And they talk about the industry's proprietariness preventing things like effective adoption of Wavelength-Division-Multiplexing (wdm) which would help boost density/speed. Great paper to read really really good things getting built & they are happening, but much much slower, in lower-fi ways. A very just quote at the end for their paper, "Make no little plans, they have no magic in them to stir [the] blood."

On a damper note, it worries me a bit that the last decade feel like it has very few papers that will mean much to most of computing. Some of them might potentially see some break-out applications, that see truly great success. But very few seem likely to have broad applications & a significant chance at adoption. Where-as even 10 years ago it felt like most papers reflected the industry more broadly; even if it was talking about fancy data-center fabric, it was still fabric for workloads that were vaguely recognizable by most folk. It feels like we've descended into a much more speculative, much more niche mode of architecting.
I think this is a common delusion of contemporary people. They think that the mass mobilization of the modern nation state that started with Napoleon was how it has always been, ignoring that there used to be a high prestige warrior class which was above the peasant class. They can’t imagine a world where people choose to be warriors.
99.9% of consumers probably have never heard about custom ROMs, and I'd reckon 99.9% of consumers who do hear about custom ROMs have boring old fashioned objections like "will it break my warranty" and "if it ain't broke don't fix it" and "I wonder what's on Netflix tonight/I think I shall be washing my hair".

For the few people who distrust Google enough to install LineageOS or some such, they probably distrust Google enough to not care too much about not using Google. Who is in this sweetspot where they want (i.e. install and use, not merely aspire to installing and using) a custom ROM but having no access to proprietary Google APIs is a bridge too far?
The irony is that a lot of the boilerplate from both, including that massive case...esac part, has been eliminatable for about 10 years. See https://unix.stackexchange.com/a/480897/5132.

These are not "recent" at all, which is part of the problem. The wiki page largely froze in 2010, several years before the init-d-script innovation; and the people maintaining the nagios script until around 2018 never even tried to make use of init-d-script.
> Just look how Google effectively broke the AuroraStore App recently.

For anyone who has been hit by this, you can workaround the api issue by long pressing on a playstore http link and clicking open in app (aurora icon).

So you can't search using the app anymore, but if you have the link to what you want you can still install without playstore or a google account.

It's frustrating but isn't the end.
Ya investing in healing is the best thing to do right for yourself in my opinion. 17 is really young even more when at this age you already know Rust, Python, and TS well… At this age I was barely starting to code. You could be 22 and know those well and I will still say you are young have a heads up. Not many people have this advantage.

So use this heads up you got at your advantage to negate what is happening to you right now, by taking the time to heal first. It will literally pay dividends of a lifetime.

I will be praying for you.
The “k” means “thousands”, meaning they raised $670,000 and not $670 million.
Ever tried LineageOS, /e/OS, GrapheneOS or CalyxOS?

Of course you need to choose a supported phone, but these days there are plenty. And those alternative ROMs are getting really, really good. I have been running /e/OS for two years and I can't tell you a single thing I cannot do because of that (maybe a banking app started crashing once, and after I updated it, it was fine?).

The biggest thing really is that instead of Google Maps, I use one of the awesome OSM apps (Organic Maps and OSMAnd, in my case). And maybe it takes a little bit longer to get a GPS fix (I'm talking a couple of minutes, sometimes).
> Google Cloud is far better than the others.

Per their own documentation, Kagi servers are hosted on Google Cloud.
There's a huge difference between typical VC funding and what this is. Kagi is already a self-sustaining business with a working and effective search engine. This is extra funding on top that they have available for improving Kagi. That's great. You don't need 30 million for that.
Back when I used custom ROMs, that was already a non-issue. Cyanogen already came with its own dialer and messaging apps, iirc.
We already kinda have that with FRAND for patents. That still has its issues, but the idea is workable.

The main question is what you want to prevent. For me the answer is "the stuff you want is spread over 15 different subscriptions". Preventing that was the main selling point of netflix or steam over piracy.
> it tells me that a substitution of Bm7 for Em produces a ii-V-I in C.

That's because it's using GPT-4. Which means it just makes stuff up, and you can't rely on it to tell the truth. It's a fun tool to see possibly novel output, but you can never rely on it to be accurate or correct.
Just that it was a smaller number than would you are expected to sell your soul for with VC cash. Only raising what you need to grow "naturally" and retaining control is a good thing in my book, but that isn't what a lot of people want to do in that situation.
I'm wondering how "writing unit files" even registers as a meaningful percentage of work (time) versus the parts where I (and others) see the problems. Looking at logs, having problems with journald, not being able to shutdown the laptop because something hangs.

Don't get me wrong, I've made my peace with systemd and I've never been an outright hater, but I did more sysadmin work in sysv and the transition times than now but I still get bitten by systemd more often per year. Usually small stuff, but apparently it only made those things better that never bothered me.
> I'm surprised there hasn't been some kind of payment aggregator for news ..

Apple News?
You're probably thinking of CSS sprites, if you mean only displaying a certain portion of the image file at a time. An image map is when you display the whole image file as-is, but have different clickable links at different coordinates/dimensions.

The former is specifically for reducing requests, while the latter is more about UX.
The original Space Jam (1996) site does this for navigation (and it still works fine): https://www.spacejam.com/1996/cmp/jamcentral/jamcentralframe...
You can use pdb

Just

python -m pdb -m module
I like these however why not just use pseudo-selectors instead of a named container?

#header:stuck {}
#nav:wrapped {}

I feel like we already have a system for states like this with :hover, :empty etc?

Or am I missing something?
> If the primary issue is the wealthy controlling housing then why is the brand new Toronto mayor, a representative of the working class party (NDP), have zero stuff about reforming housing policy like zoning and height limits, or anything about anti-NIMBYism? Basically the stuff that's very obviously been holding back development forever.

I have no idea what you're complaining about. All of the policies you want are what she is promising. And has done.

She made it so that you can now build four story, four unit multiplexes. It's right there on the website you linked. This already happened a few months ago.

And she says "Olivia would streamline, coordinate and simplify the approval process for housing so we can get more built, faster."

And she wants to put a wealth tax on those expensive homes you don't like.

You can complain that the city could move faster. But, all of the things you want are what she is doing.
You don't need the `.` fwiw, just `produce-compact-json | jq` will do.
> Right now I use Ecosia, so I'm actually more motivated to do extra searches, to increase the number of trees they plant.

Ecosia and Kagi aren't targeting the same market. Ecosia, for example, isn't as serious about privacy: https://news.ycombinator.com/item?id=25713050
If Google "breaks" AOSP, I am pretty sure that the next big thing will be a fork of AOSP. But that would probably be bad for Google (they probably wouldn't want Samsung + Huawei + others to start maintaining a fork of AOSP, I think).
One problem with this mentality is that customers need to search more and more to find blacksmiths that provide anything other than cheap swords. They may reasonably conclude that this is just the nature of swords, and that there’s no such thing as a sword that withstands more than one or two blows. Eventually, even people who want good swords accept that they won’t be able to find a blacksmith who makes them, and settle for cheap swords instead.

In effect, https://en.wikipedia.org/wiki/The_Market_for_Lemons
That would be one search every 3 min, if you sleep 8hrs a day...
I think this isn't their goal simply because they already achieved it.

Almost no one in my social circle (except some IT people) types in urls anymore.
That's because you are in the other 1% of users, they're not saying 300 searches is the average, median or mean across all users.
Excellent suggestion! I will add chord input by function in the next version.
Anyone who can build and market this kind of system would want way more than 5%.
Community proposal for building Digital Euro on top of Cardano Blockchain
Neeva - cofounded by an ex-Google exec also provided a paid search experience with similar features. They have since shut down and in their blog post pointed out that the issue they faced was not convincing people that they should pay for search but rather the fact that distribution of their service is difficult (i.e. being browser defaults, at work, on people's phones).
What's Kagi doing differently to be able to succeed?
A credit card generally is meant to give a person credit. In third world countries, lots of people are poor, and do not have access to credit. The credit cards that they do have access to charge absurdly high interest rate, and most working class people should probably stay away from them.
> Android, today, is completely functional without Google

I know, I have used microG and all that stuff.

My point is that the way they are produced, Android phones are not built to last / be kept up to date. I don't believe it's a problem with AOSP proper, I could run the latest Android on a 12 year old intel tablet (difficult with 1G of RAM, but still). But that's because it can run a mainline Linux kernel when no Android phone currently can.
Why would you expect anything different? Left-NIMBYism is a real - and unfortunate - thing, especially among older members of the left, and Chow's been in politics for 30 years.

I'm a pretty boring social democrat in most regards, so saying this as someone who generally holds fairly leftist views on many things: the leftist ideology, very roughly speaking, believes that government intervention results in better results for the common man than a capitalist market left to its own devices; this gestures directly towards price controls, zoning laws, every kind of regulation, and socialized housing. Leftists are deeply skeptical of market-based solutions; even basic economic principles like supply-and-demand are viewed with skepticism by association with Economics as a field, which tends to be viewed (not totally or necessarily wrongly) as a false science that's more of an ideological tool of capitalists than anything. They view profit-making and companies that seek to make profit - like developers - as fundamentally impure and in need of reining in. And because of decades of urban sprawl in North America, they associate development with environmental destruction, even though, ironically, one important way we could help save the environment is by densifying the hell out of our cities. And don't get me started on fears of gentrification - although there we're beginning to blur the line between "progressives" and leftists, but those lines are already pretty blurred.

I know enough left-NIMBYs to know that their intentions are pure - it's not a case of ladder-kickers. Just a particularly bad strain of thought that's - like you said - pretty widespread in municipal politics. Probably because NIMBYism transcends ideology in a way - there's different kinds of NIMBYism across the spectrum, always with the same outcome, and many voters will happily cross party lines to keep their neighbourhood just the way it is, thank you very much.

Happily, in my experience younger urbanists - even the left-wing ones - tend to (though don't always) recognize the excesses of left-NIMBYism.
Given that Edmonton's population is 26% immigrants, that's simply false. The main problem is that these cities are very small, so even though as a percentage they absorb a lot of immigrants, they can't make that much of a dent overall.
Running banking apps on my /e/ OS, no problem there.
Furious with Stripe's Unfair Action
I'm writing this review with a great deal of anger. Stripe, a service we trusted, just turned our world upside down, and it's not okay!

Our business sells perfectly legal products that aren't even close to Stripe's 'no-go' list. We've always played by the rules, made sure we were transparent and fair with our customers. But what do we get for it? Stripe just closes our account without any warning!

And here's the kicker – we only had TWO disputes in the last couple of months. Just two! You would think we were running some sort of scam with the way Stripe treated us. But nope, we were just trying to run our business and make our customers happy.

Now, with our account shut, Stripe wants to return our customers' payments. But guess what? We've already shipped all the products! So, we're left out of pocket, and it feels like Stripe doesn't even care.

The whole thing is just ridiculous! We're a small business, and this kind of thing can really mess us up. We trusted Stripe, and they've let us down big time. It's not fair, it's not right, and they need to sort out their act!
Blame google.
That's a paltry amount, why would they need to raise so little, don't they have the cash flow to cover it? I guess VCs arent in the mood to be so generous with their money anymore with the competition for capital so intense. We've probably reached the culling stage of the current cycle.
What you want is compulsory licensing. It exists for e.g. music. Radio stations generally can play whatever they want. They pay a (sometimes flat) licensing fee. All those station fees are pooled together and redistributed to the artists/distributors. I exists in other forms too, like the blank media fee in Europe (not sure if that still exists?)

I would love for something like that to exist for video and news. It would mean that a service like Netflix could offer all content.
The marketing boys surely are hiding some causality mixups to drive their department budgets.

I mean if I Google a brand store the first result is usually and ad for the store and the next the store. If they measure the revenue from adclickers they hugely overestimate the value of the ad since the clickers where going there in the first place.

It is probably a complicit SC between Google and marketing folks. They are pimping their PowerPoints.
For anyone else who, like me, was confused by the name:

> Are you affiliated with the legendary Kagi shareware platform?

> No. That Kagi went bankrupt in an unfortunate turn of events. We liked the name and acquired it when we got the chance.
Funny, I can pinpoint players location based on their pings pretty accurately too. 300ms + is Asia, 350+ is Australia, Americans are 120+, South America 170+.

Ping towards USA has lowered the most. This used to be 225ms in the earlier online days.
Oh, maybe I did misunderstand it, indeed. Sorry :)
Canada is acute, but this is the same issue in many countries right now. The older, voting generation has voted, every time, to maximise their personal wellbeing at the expense of the younger generations. Because they comprise such a large voting bloc, and they're diligent voters, and they can buy political influence, policies remain catered towards them. I agree that the only solution here is through democracy, and that means demographic changes. In the next 1-2 decades, home owners will be in the minority in many countries. That's when things will get very interesting, politically. In New Zealand, for example, the younger, disenfranchised demographics have been chewed up and spat on their entire lives. We're talking everyone born after 1980. They harbour hate. The political swings are going to be wild. I think there will be enormous land value taxes levied.
Yes, I have. I know all this. I also know that the phone I was using back then is discontinued from what I can read from the LineageOS website. Which should not happen for a 7 years old device. And in any case, I strongly believe I should not have to use proprietary drivers.

> And maybe it takes a little bit longer to get a GPS fix (I'm talking a couple of minutes, sometimes).

That's probably related to A-GPS. The modem should be able to receive A-GPS data from the phone. It might even be able to fetch this data by itself. Have you tried microG? I had no such issues when I was using an Android phone with Lineage / microG.
The problem with getting ban happy and that generated / black hat content doesn’t care. It expects to be banned. They just make more. But higher value, none automated content gets killed by google (Adsense ban, negative seo or just out ranked by crap) and then they give us and stay dead.

These are hard problems to solve. But google at scale efforts have failed.
> I'd propose a :no-children-but-maybe-empty pseudo-class

Can we make this a vote? My candidate is :emptyish
In defense of the Soviet Union, these zoning laws don't come from there. They come from the US, as an effort in the early 20th century to keep undesirable people (jews, blacks, chinese, etc.) away from precious whites.
I think the big question is whether they “improve” the APIs these apps require at the same time.

That would break the alternative implementations.
excellent! now can you solve this?
https://neal.fun/password-game/
This is a solved problem. We've been doing it for decades. See e.e. compulsory licensing in radio, or the EU blank media fee.
> Thing is though, the entire web feels pretty sluggish to me these days. And that's with us-east-1 less than 300 miles away from me. Because most web sites aren't slow due to where they're hosted, but rather because of how bloated with crap most of them have become.

It doesn't seem much faster than it seemed in 1995 when I first got online. There's much more stuff, but the latency doesn't really seem much better.

It's probably commercial: people don't mind wasting 3-4 seconds at a time loading Reddit/FB/etc and in that time a whole bunch of code that's useful to the website operator is loaded. All the stuff that tracks what you're up to.
Maybe this is the benefit of poor taste but.... I honestly did not notice any of that!

We've been having a blast with Diablo IV, the gameplay is simple and fun, the setting is soooo much darker and truer to the original than Diablo III. The polish to me is evident in having accessibility settings be the first thing you see. You know engineering got everything done that they'd planned when accessibility got the proper treatment
> But he figured out how to simultaneously hum and whistle to mimic a dial tone.

And there I was, humbly whistling in front of this comment.

I managed to humwhistle "11*". Though the detector [0] might have a different accuracy than me.

[0] https://nhollmann.github.io/DTMF-Tool/
Yet, "free to play" games are ludicrously profitable. Surely a large part of that is addiction, but there also is a tech problem here. If paying for a newspaper article has lots of friction (sign up here, confirm email, credit card, 2 factor confirmation, now you have a subscription instead of just buying; cancelation only by carrier pigeon at midnight), then no way.

That is also why the Google and apple appstores can charge such large fees. Sure, buying on websites and sideloading are possible but much higher friction -> many customers simply won't bother.
How much extra would HN pay?

The answers in this thread are essentially all under $1. There seems to be not much rationale behind these numbers besides "it should be cheaper," so the anchor point is probably $0.
I don’t think the pieces of advice contradict each other. If exceptions are handled at the lowest scope possible, and exceptions are most useful when the rise above many scopes, then exceptions are most useful when the scope that encounters the error is very deep compared to the scope that can handle the error.

This agrees with my intuition, that error codes are most fragile when they must be checked and re-raised across many scopes.
No, I just meant to say sourdough fermentation is slower than a quick rise enabled by commercial yeast. Though I do ferment rye breads longer than wheat, and with a rye bread, you would also usually sour more of the bread, like up to 50% of total flour amount.

That said, I think they cultivate newer rye varieties to be less rich with enzymes. I presume that is to meet the requirements of industrial baking.
Solera - they had a product to find automotive spare parts. Their biggest customers were insurance companies.

Hotelbeds - Like Sabre, or Amadeus but for hotel rooms. Based in Majorca (they have an office near the airport). Nice people (and cool tech, btw)