skysight-inc/HackerNews huggingface dataset:
GrapheneOS is able to support relocking the bootloader, but only works on Pixel devices (the bootloader lock is one of the main reasons they only work with Pixels).

I personally think the booloader lock is of dubious value. It protects against physical attacks against the device (evil maid attacks).

That's very low in the list of threats I worry about.

(Though I am using GrapheneOS, and am happy with it.)

I'd be more worried about the lag between Android security patches (and vendor blobs, which GrapheneOS gets direct with android updates, from what I can tell) and custom ROM updates.

You're much more likely to get hit by some Samsung zero day that impacts 100M active devices than something targeting a custom ROM.

(All of this is assuming you're a boring target, which most people are.)

Anyway, the main deciding factor for me between the two operating systems was device support.
Not necessarly - most monotheistics religions sells very narrow version of personal God. Me as a God would not fit they world view at all.
It would probably be sth like K&P imagined :
https://youtu.be/asnQGz7BdfI
what a sad state of affairs that people think the most plausible solution to unifying us all is a common enemy serving us with a strong insecurity of our future..
Funnily enough, that describes UK’s policy towards others for the past few hundred years.
> Why is "shitposting" a bad thing?

The people I know who think “shitposting” is universally a bad thing are typically those who manage their communities with an iron fist, with very strict rules, even more so than HN. Often they aren’t very interesting places to visit.
Where is Vercel's cloud functions running? How do they compare to AWS Lambda/Edge?

The documentation on https://nextjs.org/learn/basics/api-routes/api-routes-detail... seems quite sparse. I see basic routing and middleware but seems nowhere near as many features as other frameworks.

I see it's great for building an MVP but may not be a good fit outside of startups. Nevertheless, its the front-end and server side rendering is quite interesting to me.

What are some problems with this setup? Might have a go just for the frontend portion but seems to good to be true in some aspects.
> Yeah, so learning C is required to write a portable C++ lib/extension, so you know what can go in `extern "C"` and what can't. At that point, you might as well do the whole thing in C and benefit from the super fast compile times.

Neither claim there is really true at all. Learning how to write a stable extern C ABI really doesn't require learning C at all, nor even actually using C. Eg, I can put C++ classes in extern C functions just fine, as long as I do so as opaque pointers. Which you need to do for C as well, or use one of the other struct versioning schemes.

And then similarly why would I bother with C's nightmare of data structures or error handling in the implementation when I can use C++ instead and have it be a walk in the park? Marginally faster compile times isn't remotely worth it when you're compiling more often to fix more bugs.

Finally no you don't need C ABI to have a portable C++ library. You only need a C ABI to have a backwards compatible library as a prebuilt (and even that isn't strictly true, see eg libc++), which is a very very small niche within a niche. Like you're only doing that if you're an OS platform. Everyone else just ships C++ APIs and it works great (eg, abseil, folly, boost, skia, etc...)
> "Instead of learning jq DSL, learn zq DSL".

A saner approach is to gron the damn json and just use regular unix tools on the data.
If there were an alien invasion tomorrow, conspiracy theorists would immediately begin claiming that aliens don’t exist and anyone who believes in them has been brainwashed by George Soros and CNN. Nothing will change.
Ah yes, NATO-Russian conflict. Russia can't possibly be losing to "insignificant Ukraine", which only exists because of the grace of Lenin or whatever. No, clearly Russia is having trouble because it's NATO fighting them.

Yeah, yeah. It's OK, after this is over and Russians learn more of the truth, Ukrainians will be just as respected by them as the Chechens and Germans.
When I was young I loved magazines like Popular Electronics.

After getting my EE, I looked back at those magazines in my collection I immediately thought "That's so wrong!" or "That omits so/too much" or "I can't believe I thought this was electronics" or "Baby project! How lame!".

:-)

So it's very much about what can be absorbed and tailoring to the audience. You can't start with the math load that an EE student gets with a broad, general audience.

You see the opposite of this with academic papers - either the level of assumed audience is stratospheric OR it's clearly wording to keep the riff-raff out of the field. Mostly the former but sometimes the latter. You often also see this in STEM textbooks - the audience isn't even freshmen oriented!
I realize the AMA is about working at CCP, but someone really needs to write a book detailing the exploits of various corporations and nefarious denizens playing their game Eve Online. It's like a game of Dwarf Fortress writ large in that thanks to human ingenuity there's always a new and unexpected twist, but it still ends in a sudden but inevitable betrayal.
This looks good I'll give it a shot! Thank you
or a lightweight tablet

or old laptop/desktop

or maybe even a phone
If you are reading this, thank you for backporting to kernel 4.4! My phone is only a year and a half old.

I'll just wait for the OpenGapps to have at least an unofficial 12.0 version to upgrade, so I can keep using the minimal Gapps required and not bloat my phone with crap I'll never use like Gmail or Youtube.
CVE-2022-24706: Apache CouchDB Remote Privilege Escalation
Unless the major upgrade is Fedora, then it works great and is well supported to update in place for many years. The one major issue I had once was my fault because a force rebooted in the middle of the install. Still got it working though.
This is a direct consequence of having a free will: if only one world leader decides (in his free will) to terrorize others, others must defend themselves against him - and so they are spending money for military...
It's usually not a good idea to ascribe motives online...

The fact is that the US military outfought both the Viet Cong and the NVA in most battles. The famed Tet Offensive wiped out the VC, and it wasn't until the US had basically cut off all military support in 1975 that the NVA was able to successfully invade the South.

This is what you would expect when you compare the size and scope of each countries military. It doesn't denigrate anything the Vietnamese people accomplished in their fight for a unified, independent country.

The Vietnamese were a hardy, tough opponent, that demonstrated incredible creativity and ingenuity in fighting a much wealthier foe. In small unit battles, they were as good as any US troops.

US troops also fought well, contrary to the stereotype of drug addled draftees who fragged their officers while committing war crimes.

Acknowledging the things that benefitted each side isn't trying to diminish the skills they exhibited. It's simply acknowledging the battlefield they fought on, and all of its constraints. The VPAF had both constraints and advantages as they fought a much better equipped foe.

http://acepilots.com/vietnam/viet_aces.html
What? I don't understand.
Show HN: Xlibe – A serverless Xlib (X11) compatibility layer for Haiku
Hello HN,

While there are some projects that implement partial versions of Xlib APIs on non-X11 platforms for compatibility (most notably, Tk), I don't know of any others sophisticated enough to run Cairo and GTK applications (albeit with a few hacks). So I figured this might be technically interesting.

As of now it just implements the base Xlib APIs, it doesn't implement XRender, GLX, XInput2, etc. (though it's more than possible, I just didn't see a need yet.) Cross-program interaction is also very limited, and there are plenty of X11 features that likely can't be implemented; but this works sufficiently well that GTK3 is now in Haiku's default package repositories, with GIMP and Inkscape atop it to boot, using this.

And for the fun of it, I did try to compile Xnest (the X.org server variant running on top of Xlib) on top of this; it crashed on startup in the keyboard handlers. However, that could potentially be because I didn't have the necessary data files and not because of anything missing in Xlibe; I didn't investigate too far (or it could be an actual incompatibility; Xlibe's keyboard subsystem is rather primitive and is most of the reason I had to patch GTK for full functionality.)

(A few more screenshots, including GTK and WINE running atop Xlibe: https://www.haiku-os.org/blog/waddlesplash/2022-01-10_haiku_...)
Yeah? Well, you know, that's just, like, uh, your opinion, man.
Yes, but... would be a be a much more wonderful world if that was the only problem. It's much, much deeper than that.

Tell me, which of our major modern divides can be solved by "rational discourse?"

Consider something like the coronavirus pandemic. Studying the virus itself is a monumental undertaking requiring the funding of states or large corporations. Laypeople must simply "choose sides" and pick the sources they like best. Suppose that you tell me the virus is killing X people a day and I claim it is only killing Y. How do we settle that via "rational discourse?"

We can't discover the truth by talking amongst ourselves like a couple of Greek philosophers using inductive or deductive reasoning.

Our choices are either to perform our own primary research (again, wildly impractical for an individual) or to point to sources we feel are credible.
>>best OLED screens only have about 2 years (600 hours) best case continuous use

I don't have access to paper, but rough estimate is that there are ~17k hours in 2 years.

If screen has actually 2 years 24x7 continuous use (and I assume they use a semi-arbitrary brightness threshold or something?), I imagine for TVs that'll be an easy decade of real-world use, depending on usage patterns. For some phones maybe less. I'd be curious what the specs for LCD & LED are then.
>Scarcity of all kinds. Would prevent a whole lotta conflict

This is coming. Boston dynamics or James Bruton will eventually produce a bot that does useful things. From that platform it will later do more useful things. Eventually we don't really have scarcity.

Sure this will solve basic needs like food, water, warmth, rest, safety. Of which are generally solved in the west.

But this will utterly destroy psychological needs. Where do you make friends? How do you have a feeling of accomplishment or the prestige of doing something that a robot now does?

In some short term factor we might have less conflict but those psychological losses where accomplishments are achieved by robots will lead to far greater conflict.
Right, but who's to say that the designer shirt doesn't have some sort of pattern or logo or totally different color on the back?

If you're not recreating something from actual data elsewhere, it's just being made up on intuition level guessing.

My concern is what the purpose of this "tech" is being used for, and more specifically, how this "tech" will be mis-used for other purposes.
"In god we trust, all others pay cash."

Equity is nice when things are on the up, but things like Netflix's recent problems will never happen to straight cash.

It is certainly a balance.
What do you mean we aren’t making things, I’ve seen all sorts of fascinating Raytheon weapons!
You’re comparing Python and Bash as programming languages, not as shells. Python’s great as a programming language, but it’s a terrible shell. Likewise, Bash is a terrible programming language, but as a shell is pretty good and is probably the most used shell. The point parent was making is that it’s far more difficult in Python to run a process, capture the output, and grep something from it, than it is in Bash. In Bash this is a one liner with extremely minimal syntax. In Python, this is a big multi-line affair invoking several modules and multiple functions. Python isn’t a shell purely because you can’t execute an executable file by typing the bare name of the file. Python also doesn’t pass the cut & paste test - you normally can’t paste snippets from somewhere into a Python repl due to indentation issues, this alone makes it very difficult to use as an interactive shell. And Python is not meant to be an interactive shell, so there isn’t much of a problem.
Thanks for the comprehensive post! The weekly updates in particular sound good.
Also, Micro-Cap is now free; not Open Source, still better than nothing.
Windows only (although I seem to recall a Micro-Cap software running under the Mac Classic in the early 90s), but it works perfectly under Linux+WINE.

http://www.spectrum-soft.com/index.shtm
I dont know about others on HN, but I think this ( the writing ) is a new low for Google.

Like I said before, may be Web 3.0 isn't about Crypto or blockchain, but a complete reboot of Web 2.0.
To be fair, without the several billion USD in free high-tech weapons from the Western countries (mostly though not exclusively NATO members) Ukraine would probably have lost the war by now. It's an open secret that NATO has been passing on intelligence from AWACS and spy satellites to the Ukrainian forces as well.

There might be no NATO troops on the ground but it's a bit of a stretch to say that it is purely Ukraine vs Russia.
Thanks! Still looks a bit generic than I hope for. What I have in mind is sort of best practice cookbooks for embedded developers but focused on the analog part.

It should provide formulas if needed but avoid any mathematical explanation if possible. It should also be based on scenarios instead of components, in a "You should use an X component parallel/serialized between point a and b for the purpose of Y".

For example: "You probably want to protect the Vcc pin by connecting a capacitor between A and B from spikes, because XYZ will bring these spikes".

It should also supply a real life picture because I found it difficult to translate circuits on books to real life breadboards. On textbooks they usually use ideal components such as power sources with one terminal but it's kinda hard to wrap them around my head sometimes.

I understand it's probably too much to ask and one should build such knowledge slowly. But sometimes I dream a bit :D
What do you mean they abandon hardware quickly? They still support the Link, Controller, and Index. The Link hardware still gets software updates, and the idea lives on through the Link application. Same with the Controller: it's discontinued, but the steam input framework it uses still gets updates, and now can be used by all modern controllers.

You could argue they quickly abandoned Steam Machines, but they didn't actually make any, they were just branded PCs (so they didn't need active support from Valve), and barely any sold. They still support the SteamOS some ran on, because the Steam Deck also runs SteamOS.
Good point, R is often referred to as a rate both in media and academic publications, but "number" or "value" appears to be more correct. Fixed.
Graham Pulford's 2007 book, https://archive.org/details/high-security-mechanical-locks-a...

> High-Security Mechanical Locks comprehensively surveys and explains the highly technical area of high security locks in a way that is accessible to a wide audience. Well over 100 different locks are presented, organized into 6 basic types. Each chapter introduces the necessary concepts in a historical perspective and further categorizes the locks. This is followed by detailed 'how it works' descriptions with many pictures, diagrams and references. The descriptions are based on actual dissections of the real locks.
Tesla is already using cobalt-free LFP batteries in half of new cars
but have no problem harassing LGBT people, discriminating against them and calling them slurs when they think no one else is looking.

That's the very reason I suggested staying away from the bars. When people are drunk their inhibitions are gone and judgement is very poor. The LGBT hate crime that I know of happened about 23 years ago outside a bar.
Jeez, thanks so much for sharing your experience. I genuinely thought the worst consequence would be trouble sleeping or dental health, so since I (knock on wood) don't perceive myself to have those issues, I totally shrugged it off. Again, thank you; I'm definitely going to get it checked.
Just a thought. Even if you think someone may not pick your lock, it may be easy to drill it open by destroying the pins. I’ve done that once in a lock inside my home we didn’t have a key to.

Higher security locks may be made out of stronger metals, preventing this.
So many of our innovations come out of the military though. Yes its sad we don't do that sort of research in different circumstances, but its an incredible motivating and driving force to get things done
Security is a bit different for different people. If you want to do browsing minimising ads/spying from rubbish lineage is there. Also one can block minimise data, improve battery life by avoiding playstore

> corporate settings that do ha

Use a dedicated phone
I really don't know what to think about this. Military spending makes me feel very conflicted inside.

I'm the kind of weird pacifistic person who literally sat down at school and took the beating from the bullies, safe in the knowledge that I had the moral high ground. It didn't make me feel much better when they broke my ribs, but I've never punched someone in my life. I've always loved the look of fighter jets and the fact that humans can hop in and go faster than the speed of sound in them, but I've always hated their application. The engineering is amazing; the technology brilliant and the things that are discovered along the way undoubtedly serendipitous. Unfortunately, I know that for a human population to completely disarm is to invite trouble: and armies can and do far worse things than just beat you.

I once went on a trip as a fresh-out-of-college person to a firm that made "kinetic armaments"; I went in with an open mind and left, three days later and with an (unaccepted) job offer, with a very shut one. That was a career pathway that was decidedly not for me.

Eisenhower's famous quote sums it up quite well.

> “Every gun that is made, every warship launched, every rocket fired signifies in the final sense, a theft from those who hunger and are not fed, those who are cold and are not clothed. This world in arms is not spending money alone. It is spending the sweat of its laborers, the genius of its scientists, the hopes of its children. This is not a way of life at all in any true sense. Under the clouds of war, it is humanity hanging on a cross of iron.”
Marginally faster is better than marginally slower, at least. I agree the JSON use is probably more compelling than their ZNG thing.
"total force" should be "total work"…
You still have a problem with people affording rent if you are buying rental properties at 128x average income. Rent is going to be an inconsequential portion of the interest on the mortgage if someone making average income or even 3x average income has to afford it.
What NATO-Russia conflict? Russia invaded Ukraine which isn't a NATO country. As far as I'm aware there's no open conflict between NATO and Russia; tension, sure, but that's because Russia decided to invade another country both this year and in 2014. They're showing aggression, and instead of seeking better relationships with the rest of the world via e.g. trade deals they decided to try and flex, and look pretty shoddy in the process.
Managing and running something isn't the same as owning it. Musk might switch out executives and management with different people and leave Twitter to itself.
I'm arguing that firing people over social media reveals a far more censorious attitude than blocking someone from a social media account, and it showcases that Musk primarily cares about freedom of speech in the abstract and is largely naive/hypocritical about what censorship is and what its effects are.

I'm also arguing that it's silly to say that it's an existential problem for Twitter to do moderation because it's a public square while simultaneously saying that there's no problem with denying critics access to a place of business or firing them from their jobs. I will point out that "denying people access to a private place of business" is literally what Twitter does when it bans people.

Musk has the right to fire employees that argue against company policy, but firing critics is an obvious characteristic of someone who does not actually have that radical of a view about free speech and mostly just likes to think to himself that he does. If you want to understand someone's views about free speech, don't look at how they react to far-away political discussions that largely don't affect their life, see how they react when the speech hits them closer to home. Every time that Musk actually takes offense over speech, I see him immediately lash out in a way that is uncharacteristic of a free speech advocate, and very often that takes the form of trying to financially or reputationally harm critics -- both of which are actions that are a heck of a lot worse than banning someone from Twitter.
I had to lookup "obstreperously." Thank you for teaching me a new word.
EU warns Elon Musk over Twitter moderation plans
> Codebases that lag behind on updates can become vulnerable to security exploits

This is an excellent point, but I think it's always worth considering that the tradeoff isn't between third-party security vulnerabilities and no vulnerabilities; it's between third-party security vulnerabilities and first-party security vulnerabilities.

It's up to your team to decide if you have the capabilities in-house to deal with those. If not, trusting to the wisdom of crowds may often be a better solution. (At the very least, if you're rolling your own crypto solution and not publishing it, take a strong look at why you're doing that and be very sure you aren't falling victim to smartest-kids-in-the-room syndrome).
Great news! We're all so much safer now, don't you feel it! /s
There have been 14 cases of (political) self-immolation in the 2020s so far:

https://en.wikipedia.org/wiki/List_of_political_self-immolat...
Yep, exactly :)
Man uses AirTags and PowerPoint presentation to ask airline for his lost bags
Not true, the bits live in a super complex hardware, the don't create any complexity on their own.
Yes, but you can judge based on force curves to compare switches you have tried to switches you haven't.
Yes, I think GIMP probably can do what I need, the issue as ever is how to go about getting there.

There is a particular selenium look I'm trying to get, it bring out the highlights in tree bark really well, giving them an almost shiny silver grey appearance.

Not sure how to emulate this in GIMP
> The beauty of this is that the query syntax applies not just to JSON but to every type of collection,

This is the best part of pwsh. Everything is standardized, you're not guessing at the idioms of each command, and you're working with objects instead of parsing strings!

My second favorite part is having access to the entire C# standard library.
I've found kids complain about crappy old-fashioned options for games/movies/et c., until that's all they have available. After a day or two those "bad" options become totally fine and they're excited about them and excitedly tell you how great they are.

I grew up mostly on the NES and earlier systems, and IMO from approximately the Super Nintendo on, game system generations have all delivered about the same amount of happiness (though some individual systems were major duds, of course). It's just a matter of what you're used to. Admittedly, the frustration level of average games on the NES and other earlier systems kept them from being quite the joy-generating devices that later ones would be.
"CRT Manufacturing"

https://www.nytimes.com/2022/04/24/us/politics/christopher-r...