skysight-inc/HackerNews huggingface dataset:
I think this depends on person. There are two levels of reading code, one is getting a rough idea of how the code flows and works, the other is to check all the details of the code. Some people are better at the prior and some are better at later.

What this refactoring essentially do is to segment code in natural language blocks. For people who process things in natural language concept blocks this makes it easier to get the general idea of how the function works at a glance and diving in the implementation of the inner functions later.

This will of course introduce the overhead that you have mentioned that will increase the time for you to process the detailed flow of code. But as far as I can see it is only an overhead and by spending some time (or smart IDE or a pencil) there will not be a fundamental problem.

For people that are good at reading raw code without the help of concept-based segmentation, they may not experience the benefit but only the overhead.
I agree, but not only that.

The "value" of real world money comes from the physical production behind it: someone, somewhere, is working against thermodynamic equilibrium, which is why when you and I have money, it's useful. Even things that seem like they're not rooted in this principle actually are.. they're just a layer or several layers of abstraction above the physical process.

Cryptocurrency, by contrast, works with thermodynamic equilibrium -- you take a bunch of energy that could do useful work, and then waste it as heat; and declare that the "value" produced actually arose from the waste itself!

This difference between cryptocurrency and regular currency is not rooted in ideology, technology, or any of other woo. It is rooted in the law of nature.
"normal" ones are usual NiMH which put out 1.25v.
Standard alkaline batteries put out 1.5v.

Some devices care about the difference.

The tiny electronics that allows the lithium battery chemistry to be charged via microUSB also converts the 3.?v output to 1.5v.
Because there is no way to enforce those passwords are actually different or not endless variations of the same easy to guess password. Users have been doing all the wrong things with passwords ever since they were invented. I actually caught my father with an actual notebook of all the key passwords a few years ago and introduced him to Bitwarden. A burglar could have gotten access to pretty much everything with that notebook.
I wanted to enable YubiKey for my Bitwarden account and feared exactly this. Now I've spent 200€ for 4 YubiKeys, so if I ever miss or break one, I will hopefully be fine. But imagine telling your grandma to buy at least 2 YubiKeys for 100€ just to make your Facebook login more secure.
No, Vectorflow is not supported out of the box, and I'm not sure the workloads it targets are the right fit for Cloud TPU hardware. However, be sure to check out the "Ranking and recommendation" section of the linked blog post above - Cloud TPUs are able to accelerate the ML models with very large embeddings that are increasingly common in state-of-the-art ranking and recommendation systems.
do I need npm and node set up to run this CLI.
and then use this CLI to setup React?

why can't i just run create-react-app or its equivalents directly using npm?
YouTube premium is just too expensive because they bundle it with music and you need a paid account for each user (unlike other ‘streaming/vod’ services).

For a family of two it’s either two times €6.99 or a €17.99 family account. That’s more expensive than Netflix, who besides stream their content also have to produce/lease it.
I don't feel like you were asking on good faith after this response.
> - including per-pixel/smooth scrolling which AFAICT is only available via the emacs-mac port

The master branch (Emacs 29) has this in `pixel-scroll-precision-mode` and it seems to perform better than the emacs-mac implementation.
Of the reqs, having to hold the investment for 10 years seems like the biggest barrier in applying this to a startup.
Standard isn't so much a 'league' as it is a dumping ground for all the stuff you did in past leagues
You can still introduce very hard to debug blocking operations in nodejs, which will cause the whole runtime to slow down.
Show HN: An Embedded (iFrame) PDF Editor
Do these TPU VMs have preemptible/spot pricing? I'm just a hobbyist, but it always seemed annoying before that one would have to orchestrate VMs to spin up/down alongside spot instances of TPUs manually.
http://web.archive.org/web/20220510032130/https://www.netmei...
Snaps don't seem compatible with NFS home directories in Ubuntu 22.04
The CRN-KZ Situation
That's not quite correct. FIDO is using public key cryptography. To not transmit secrets. On an authenticator, the private key could be (locally) secured using Face ID or whatever, even just using a PIN.
John Oliver on Abortion Ruling [video]
By modern values, yes those are reasons to allow abortions.

But modern values devalue life in part because they also devalue sex. They treat sex casually, as though it isn't the outward symbol and seal of a lifelong commitment and promise, and the very means by which more human life is created.

There would be no felt need for abortion to exist if sex and human life were both valued as they ought to be - as sacred, as gifts with a particular design not our own, as capable of great glory when used rightly -- and great devastation when used wrongly.

Consider how delicately and carefully we handle matters when the stakes are high - when there's the possibility of gaining or losing much based on our decisions. Sex and marriage and family ought to be held in high regard, because the stakes are so high. They can end so well -- or incredibly badly when handled outside their designed operating parameters.

Abortion to me represents the human collateral and fallout from having abandoned a right view of sex and marriage and family. So much death. Ideas have consequences, indeed.

As a side note, a high view of sex and life also increases the travesty that rape is. It's so much worse, morally speaking, than liberals can say it is given their moral framework.
Intel has a 4 port 10/25gbps version of the e810.
You can even get it in low profile if you use the supermicro version.

You can shove whatever multi-gig SFP+ you want in them.

You don't see more than this because there is essentially no market.

If you are virtualizing them, it's easier to sr-iov them and use a higher bandwidth physical port

If you are using them as a switch, it's an expensive switch - mikrotik has a 4x100g switch that is 40 watts (maximum) and 800 bucks (vs a 4 port e810 at 1200-1500 bucks).

etc
Unfashionable thought: pay your damn taxes.

Loopholes are one thing and IMO should be closed but morality is another. The whole idea that you can make a billion dollar business without being hugely dependent on the infrastructure, education, history, societal background etc that has largely been paid for by...taxes...is utter fallacy.

Maybe if massively profitable businesses spent a bit more time doing the right thing then everyone would be happier.

Just a thought.

~ braces for inevitable downvotes ~
Glad to see someone else noticed the similarity.

I was more subtle in my comment, hoping that someone would pick up the thread and point it out.

https://news.ycombinator.com/item?id=31315171
You're saying all we need to defeat these drones is lure them into a jammer and destroy them all at once with conventional air burst munitions? If you want to be fancy use a helicopter to make your air defence solution mobile.
Stable Teams and Dynamic Structures
Thank god for you. Wish I could upvote this 10x :-)
> But I think if any hard working people really found out what happened they'd almost go French revolution on government.

I can't speak for everyone, but I have simply decided to opt-out wherever possible; I'm not going to fight against a system that has moated itself out of obsolescence. If startup culture has taught me anything it's been to learn when to expend your energy matters more than you may think as it compounds over time. If you're constantly deluding yourself there is reform in a system that is designed to be this way, you'll be in incapable of creating viable alternatives.

I had qualms about how poor the US education system--I went to both private and public schools--when I was student, I couldn't fathom just how much we spent and how poor the results were in almost all facets until I realized that this was exactly what it was intended to be: a bloated bureaucratic system designed to siphon funds from the pubic coffers into private hands and enrich an administrative class who seem content with throwing out what they feel impedes them meeting their easily manipulated metrics.

With that said, I still think the airline bailout was the real takeaway of how this whole debacle was managed [0] in the US. It's the typical Socialism for the rich, ruthless Capitalism for the poor playing out all over again as we saw in 2008. Failing up happened, and the stock market and housing market rallied in the midst of mass unemployment and re-opening problems for small businesses etc... this is all make-believe, and it has been for most of my Life, too. It would be almost laughable, in a jaded George Carlin way, if it didn't have such dire consequences: homelessness, and over-dose death due to substance abuse is a pandemic itself.

Personally speaking, after having done sales for my fintech startup, I learned to do the same: but I'm realizing just how internally jaded it has made me about most things in Life. It has a spill-over effect that didn't really dawn me until much later in Life long after I left tech for a while, and returned to culinary whose work force is mainly the 'working poor' who constantly get screwed over. I've helped several of my friends get over the worst situation, and I'm glad they are mostly doing better, but it isn't by much after inflation and perpetual rent hikes.

0: https://www.bbc.com/news/world-us-canada-54381496
Obama listens to his daughters, and his daughters listen to music. Obama even made a personal message to a couple of reaction youtubers because his daughters watched them.
Where would this be useful? I am not trying to bring the article down but I'm genuinely interested in knowing where/how people would use this. It seems like just locally modifying a payload would be more efficient?
My bad, I assumed -cpu-used controlled the number of threads.

I retried with "-row-mt 1 -tiles 2x2" (keeping "-cpu-used 8" so the benchmark is comparable to my previous test): the encoding speed is 0.443x of playback speed; top(1) shows about 8 of my 16 cpu threads are utilized.

Without "-row-mt 1 -tiles 2x2" the encoding speed was 0.329x. So these options only increases speed by 34%. This doesn't match the increased in cpu utilization of +60% (5 to 8 threads). Contention on shared data structures? Looks like it's better to just spawn multiple ffmpeg instances working on different source files instead of leveraging the encoder's multi-threading. That way I could get close to 1x of playback speed.

I have 3500 hours of video content. At 1x I need 5 months to reencode all. Heavy. But doable I guess.
I was going to say that this article should be titled “how to steal from society”, so I’ll join you in downvote-city, comrade.
The interviewer's favorite things to say was "We'll let you get on with it." before he'd really dug into anything. It's funny how these early interviews in the history of gaming from the mass media almost always have a winking sarcasm and contempt for what these nerds are doing.
Not quite right. FIDO2 uses a public/private key pair to authenticate you to a website. The private key is stored on a device you control. The device could be something like a Yubikey, which does not authenticate you, or like a mobile phone, which typically authenticates you using a biometric. In any case, the website sees a FIDO2 authentication request from you based on the private key, not on your biometric.
>But database optimization has become less important for typical applications. <..> As much as I love tuning SQL queries, it's becoming a dying art for most application developers.

We thought so, too, but as our business started to grow, we had to spend months, if not years, rewriting and fine-tuning most of our queries because every day there were reports about query timeouts in large clients' accounts... Some clients left because they were disappointed with performance. Another issue is growing the development team. We made the application stateless so we can spin up additional app instances at no cost, or move them around between nodes, to make sure the load is evenly distributed across all nodes/CPUs (often a node simply dies for some reason). Since they are stateless, if an app instance crashes or becomes unstable, nothing happens, no data is lost, it's just restarted or moved to a less busy node. DB instances are now managed by the SRE team which consists of a few very experienced devs, while the app itself (microservices) is written by several teams of varying experience and you worry less about the app bringing down the whole production because microservice instances are ephemeral and can be quickly killed/restarted/moved around. Simple solutions are attractive but I'd rather invest in a more complex solution from the very beginning, because moving away from SQLite to something like Postgres can be costlier than investing some time in setting up 3-tier if you plan your business to grow, otherwise eventually you can end up reinventing 3-tier, but with SQLite. But that's just my experience, maybe I'm too used to our architecture.
Shanghai tightens lockdown in final push to hit zero-Covid
Yes, that's why I asked what a "walkable" city can provide in terms of providing everything an urban area needs to thrive, that a city with Almere's infrastructure can't?

The way I see it, the city centre is perfectly walkable and thus can provide everything needed (the reasons it doesn't have more to do with Almere's history), while being accessible to everyone in the "suburbs" with practically zero of the downsides of cars (accidents, pollution, noise pollution, etc.). So I'm really curious what you think Almere cannot provide due to its being so bikable.
Well it is certainly good for cloudflares business if a DDoS attacks become more common....
Kustomize patches.
Those are frameworks, not languages.

Edit: just realized it says and frameworks
That's just totally disconnected from reality. The majority of Silicon Valley homeowners don't receive any equity compensation. You should walk around and talk to regular people sometime.

(The numbers may be different if you look solely at recent buyers in a certain limited set of neighborhoods.)
Huh? How is Hollywood at fault?

I think the myth is older than Hollywood and it is ingrained in our languages - when people begin to suffocate they say „I meed more air”, not „The air is to stuffy”. And this leads to a mental model of bringing more oxygen in as helpful instead of letting co2 helpful.
At first it looked interesting, but as pointed out by other people, it's enough to have a 'partial' json with the field that need update. The syntax stays the same, just add what you want to update. We do exactly that and it's very easy
There was also this Nivenhbro guy on the Ars forum about 15 years ago.
That was horrifying to see unfold. Like a giant radioactive slow-motion car crash.

https://arstechnica.com/civis/viewtopic.php?f=26&t=155929
It’s wild that Google, despite being the leader in startup email/business software and literally giving their Slack competitor to everyone for free as part of their Google Business subscription, STILL has such low mindshare in this space that it didn’t even merit a mention in the blog post.

(Full disclosure: my company used Google Chat, and I find the integration ecosystem so pitiful that I’m constantly thinking about paying up for Slack. I don’t know how Google is screwing this market up so badly.)
* We require you to have an account with us which we will use to track you everywhere.

** We will fingerprint your phone in order to abuse it as a pseudo hardware token.

*** Two of us also completely control your phone too, with the third one trying to worm our way into CPU-resident code.

This ought to be fun!
Ask HN: People with tinnitus how do you block sound when you sleep?
I came up with a ridiculous method myself. It works, but I wonder if other people came up with other things.

What I can't do:

* Earplugs

If I do that then the earplugs will get into my ear whenever I sleep on my side. This aggravates the tinnitus sound.

What I can do:

* Earplugs + Airpods Max with ANC off

The earplugs will not get into my ear because the shelf surrounding my ear from the Airpods Max protect it. ANC needs to be off because when I side sleep, the microphone that is meant for ANC goes in some feedback loop and then I hear all kinds of beeps. If I lay on my back I can put ANC on.

That's my method, I'm looking to improve it to either block more sound. I'd also be happy with to block as much sound as I do now while lying more comfortable. Having an Airpods Max on is slightly less comfortable than without.

With that said, I'd argue that this method is also really helpful for people without tinnitus since it blocks more sound than just earplugs alone. The passive noise cancellation from having a shelf around your ear from a headphone blocks a lot of low frequency sounds it seems.

In any case, how do you do it?
Sure, but the point is that either army only attacks if they are 100% sure the other army also attacks. This is just not possible, since the last acknowledgement might have been intercepted by the enemy.
So what if it's mosaic? Consider another non-reproductive measurement: men tend to be taller than women. That does not mean that tall women have 'male height'. Same principle applies for variations in neural microstructure.
If it comes with the same tooling as Oracle and SQL Server, I might think about using it server side, until then not really.
Yes, looks like the only language is JS
Please don't call it zero-fee.

Try buying $1000 worth of any stock and immediately selling again. Notice how you now only have $980. You effectively paid a $20 fee. It was just a hidden fee in the spread caused by whoever executed your trades.
> Why not just send partial fields...?

You have:

{
"baz": "qux",
"foo": "bar"
}

Then you send the patch:

{
"baz": "boo"
}

It's clear you want to change baz value to boo, but did you mean to delete foo or just ignore it? If "ignore", how do you indicate delete? If "delete", you will now have to send the entire JSON every time, anyway, so it's not a patch. Whatever your answers, there, it's not a "why not just..." situation.

You have a deeply nested property in a gigantic JSON document that you want to move, "why not just" send

{ "op": "move", "from": "/a/b/c/d", "path": "/a/b/c/e/f" }

To be clear, I have never seen JSON Patch before, either.
JSON merge ( https://datatracker.ietf.org/doc/html/rfc7386 ) is the entire basis for how I persist document changes to disk and to clients ( http://www.adama-platform.com/2021/03/28/json.html ).

Arrays require some care to handle which is why I'm got some extensions in my client, but a super power that JSON patching enables is that it can be algebraic in nature. That it, we can define a patching which is associative (another extension where you preserve nulls) such that (X + da) + db = X + (da + db) = X + dc where da + db + dc

This allows you to leverage flow control when congestion happens (especially on mobile connections).
> Emacs is not so much an editor as it is a tool well-suited for writing custom editors.

Yup. And not entirely coincidentally it uses Lisp, which is not so much a programming language as a tool for writing custom programming languages.
Yes, there are a couple of ways to use Cloud TPUs at lower priority and lower cost. If you are a hobbyist, I highly recommend trying out Cloud TPUs for free via the TPU Research Cloud:
https://sites.research.google/trc/

If you are flexible, you (or your scripts) can access a lot of compute power at odd hours!
You are thinking too big. The "power supply" is probably produced by some china factory they order it from

Factory A: Charges 7c per unit with a power switch.

Factory B: Charges 3c per unit with no power switch.

Wanna play the which choice did the C-Suite make game?
I agree. If I'm jumping into unfamiliar code or code I haven't read in a while, I strongly prefer to see what gets pattern-matched out of the incoming struct in as few places as possible. Jumping back and forth between a lot of small helper functions that could have been lines in a pattern match is rough.

In this specific case, I suspect the x_error_api_response would end up becoming half a dozen different functions and understanding what get_customer returned based on the Env struct would require quite a few trips back and forth.

It's a much smaller nit, but I also found the fix for "complex extraction clauses" slightly less readable than the original: https://github.com/lucasvegi/Elixir-Code-Smells#complex-extr...
This isn't a loophole as much as a completely designed tax break.

That's a different deal than some body squeaking around tax law; this was all about trying to change parts of the nature of capitalism's tendency to rerun money to capital more than to labor.

If you think it's misguided, I do too. Though I think it's good to invest in under invested areas, I also think we need to counteract the effects of the Henry George Theorem and also redistribute money from the land rents to people that do not own land.

Both are necessary to try to make our economic system more fair and more efficient. The fewer people that are allocating capital in capitalism, the worse it works. And pretty much all positive defenses of capitalism start with assumptions that most people are starting from somewhat similar places of wealth, or at least enough wealth that they are not destitute. Until we have that base level of security for all, we need things like massive redistribution, which includes carrots like opportunity zones, as well as sticks like taxes on land and monopolies.
I was mistaken about the loan term, I assumed they were typical "pay in 4" loans. That does sound quite bad.
You gotta keep them in a non-custodial wallet and they're less volatile than non-stablecoins.
What if the fish didn't. What if they just stood up with a huge amount of winnings and just walked out?
> When? Which books?

Around 2012, and I don’t recall. I have zero memory for names or titles even when I enjoy a book, much less books I dislike enough to abandon.

(The name thing extends to the rest of my life. I don’t remember names of people or places, period).

> Strong disagree. Boring, preachy, not meaningfully science fiction, sure, but poorly written, nah.

I think those negative traits would qualify writing “poorly written”, but I accept that’s a matter of opinion.
> All the code that has already been written/published already has the FOSS license (in this case APLv2). No take-backsies.

You do realize that this fact does not entitle you to the copyright of the work, right? It entitles you to use it, modify, redistribute, etc, with continued attribution of the copyright holders.

As such, copyright re-assignment is possible for any code that Ben wrote. And, any contributions are probably a grey area of sorts since there was probably no agreement of copyright assignment when contributing as there is in some projects. Any who.
Little known fact that LibreOffice Draw can edit PDF document [1].

We badly need an open source equivalent of Preview for easy PDF documents management that works accross OSes.

Just wondering is there any software that can perform integrated processing for bitmap and vector graphics including PDF documents?

[1]Yes, You Can Use LibreOffice as a PDF Editor – Here’s How

https://www.makeuseof.com/libreoffice-pdf-editor/
psi-notify – alert when resources on your machine are becoming oversaturated