skysight-inc/HackerNews huggingface dataset:
For Android-Android, there's Google's nearby share. It's built into GSF so every single Android phone out there has it out of the box.

I reverse engineered enough of its protocol to be able to transfer a file from my phone to my computer over LAN. I really need to do a writeup on this stuff, and also finish my macOS app to be actually usable.
There are many tools mostly scripts for converting IP addresses, CIDR blocks, aggregating CIDR blocks and ranges, calculating netmasks and much more. Most of those tools are written for IPv4. I have not seen many of them written to calculate the same things for IPv6 or even convert existing IPv4 networks to fit into IPv6 networks.

If someone went back and forked or rewrote all those C, Perl and Python scripts into modern code then perhaps adoption of IPv6 would be slightly higher as network engineers would have more tools in their hands to manage and assign network configurations. Even better, if there was a public git repo that tracked all the older projects and the evolution to newer code in one place I think the adoption of usage would be really high.
> in idiomatic Rust I did not find the use of unsigned as mentioned in the article, signed for indexes is the norm

Huh? If you write things[n] in Rust, and n isn't usize that's an error, you can't index things with the other primitive types at all out of the box.
Contagious dementia? What a terrifying article.
Good News Netework (changes daily)
https://www.goodnewsnetwork.org/category/news/

OpenCulture (changes daily)
https://www.openculture.com

The Browser (subscription, changes daily)
https://thebrowser.com

Food52 (changes daily)
https://food52.com

The New Yorker Cartoon Bank (look up any word, phrase)
https://cartoonbank.com

1930s, 40s, 50s comedies free on YouTube
https://www.youtube.com/playlist?list=PL8Nn95jd6kYV-3_2MHflf...

this piece of music (5th movement from Schnittke's Suite in the Old Style)
https://www.youtube.com/watch?v=R7ijCZIc9W8
> I would love it if I could see what companies, governments, and people near me were spending their money on. It would enable me to make better decisions.

I dont get this. I mean, spend your money on the things you need, and if there's money left after that, spend it on things you want.
Dont spend it on something your neighbour wants. Let them spend their money on that.
Climate change is a tricky one, in this context: it’s widely accepted, and supported by heaps of evidence. If I were to say that gravity doesn’t exist (eg in a discussion about dark matter), I suppose I’d be downvoted too.

Climate change is also highly politicized. That just makes it harder to tell the reason behind the downvotes, because chances are that other people see your comment as a way to push a (very dangerous) agenda. I’m that case, adapting the tone of the message can perhaps help, although -as I pointed out before- it doesn’t take much to reach the bottom score.
You must write popular, agreeable, and very politically correct posts that everyone will have no other option but to up vote.
Yeah. And salt. That 3am kebab makes wonders.
Not to mention that every one of these startup CEO's thinks they are the next Steve Jobs and find it necessary to act like him.
https://www.youtube.com/c/AndreasKling

Kling is building an operating system and a web browser, and frequently relases videos about the work. Most go through development of a single feature. The videos are unedited to show all of the development steps: design, implementation and debugging. A Masters program usually has more theory and larger scope, but this is more hands-on and in-depth.
Startups as Hypotheses
Yep that’s more true - it’s an inevitable demographic shift caused by multiple factors and modernization. But I don’t think the cultural revolution play a critical role at all
PinePhone keyboard and cases are here
But isn't this what we have been advocating for on some levels? Everyone pays according to their ability? Rich pay more and poor pay less.
Is that really so? Because I do find myself at situations when I don't turn on internet and none of that happens.

Books are as boring as with internet, I just don't like them anymore. I don't end up doing something all that great as a result.
EcoHealth alliance is as transparent of an intelligence front as it gets.
Also kratom tea & coffee. Probably not the healthiest but you're hung over anyway so...
> according to telemetry data - just the past 2-3 years people started to use 64 bit operating systems et mass

This is what happens when you blindly trust telemetry when the target group of a product is the most likely to disable it because of company policy or personal preference.
Amazon.com
I browse cool interesting products
But then how do you deal with unique constraints or things like upserts? If I want to add 10 entries, then I need to know that all have been added and not pre-existing, or else the code for adding new entries doesn't actually get tested. Or you end up with spurious test errors if insertion fails due to duplicates.
Yeah, and the amount of power they export has about halved in the last year. They're just turning stuff off without a way to replace it which will bite us all in the ass in the long run.

It's the classic outsource stuff to other nations and claim victory tactic that helps nobody.
I read this sentence as "No convincing scientific evidence that hangover, cures work". A great start to the new year I must say.
The "there is no cliff" fallacy?
I’ve always wondered how Australians manage to turn two-letter, monosyllabic “no” into “nairyoo”.
One way that would really help achieve better mental hygiene for the masses would be if we had some sort of sensors that could detect when a person’s attention is being diverted away from the task at hand, and remind them to refocus. A person could then see a sort of screen time type summary of how long they are being productive and when they are wasting time on mindless garbage. Perhaps even employers could provide bonuses to those workers who maintain the highest productivity times, which over time would encourage people to improve their mindfulness in day to day life.
I think the talk is very carefully laid out as an incremental journey, and each stepping stone involves contextual decision-making. I don't think Andreas is saying "you must end up with the SSE2 implementation at the end", or even that approaches like the OP are illegitimate -- I'm commending the OP for thinking about the problem the right way! But using machine-specific intrinsics is just another dependency decision very similar to deciding to use a given library -- you may choose otherwise, for good reason. I would have loved the talk and probably still thought of it and posted it, even if it ended before the intrinsics (but I think he does an excellent job at that part too).

But porting SSE2 to Neon is actually pretty easy -- if you use https://github.com/DLTcollab/sse2neon, IME it's very easy to do incrementally (or avoid or postpone indefinitely, depending on your needs).
I mostly use signed... but one of my primary activities is to use uint8, uint16, and uint32 for indexes and indexes into indexes etc. The workflow was designed around the various uint size limitations so that they are not exceeded. Uint32 is the largest chunk size that I use. The fact that it is twice as big as an Int32 is handy. It allows me to pass bigger chunks to the GPU. Plus I'm already working with uint8 and uint16 so it's consistent. I've not needed Uint64 or Int64 but it would vastly increase memory size for no benefit for my use case. Memory is cheap but I'm bottlenecked by memory bandwidth. I've looked into using variable ints but I haven't needed them yet. For things that I know I'm going to scan over having compressed variable ints of a diffed sorted bag would be great but I would need to write a ton of custom CPU and GPU code for it. You can index into variable ints with a post process provided a maximum number constraint and some padding on the end.

This sort of code is written very carefully and mistakes give completely wrong answers so they are noticed right away.
i know for me assuming my business would fail was a natural assumption.

what i would like to see is more articles on bouncing back after a bad failure, or dealing with the rejection from friends and family during the building process.

mvp’s do not come over night so any advice on sticking in there until you have an mvp would be highly valuable especially with those of us who started out in extreme poverty and don’t have anybody else to look towards for support.
Normal Number
This was a thing: https://piratebox.cc/start : open WiFi network that's not connected to the Internet, but it had a forum software. I even bought a simple router and got it installed, but I sadly never set it up in public. A friend who was involved with a local hangout got interested in the idea of an "Internet" where you had to physically go to the location to access the content, although I don't think he set it up there either.
It's even in the article;

> Investments in natural gas power plants would also be deemed green if they produce emissions below 270g of CO2 equivalent per kilowatt hour (kWh), replace a more polluting fossil fuel plant, receive a construction permit by Dec. 31 2030 and plan to switch to low-carbon gases by the end of 2035.

This is about keeping infrastructure in place that can be retooled for a hydrogen economy [0].

[0] https://www.reuters.com/business/cop/europes-gas-firms-prime...
Also cryptography.
Parts from Home Depot used just 15 months ago: https://www.thedrive.com/tech/36274/tesla-model-y-owners-fin...
I've always been of the suspicion that Scottish and Irish English remained rhotic cause they derived from English as it was spoken when they first heard it, namely, when it was fully rhotic. Likewise, America/Canada of course since English was rhotic when the colonies were first founded.
You're either young or lucky. Or both.
There is a much better way to reset the database: Postgres has template databases. You can clone a new database for each test like this:

CREATE DATABASE test_run_1234 TEMPLATE "vanilla_database";

It's fast. Also, truncating tables doesn't reset the database; there is a lot of "static" data initialized in my migration scripts. Rerunning the migrations would be very slow.

In CI, my template database is initialized with migration scripts at the beginning of each suite run. Locally, I reset the template database (and purge the generated test databases) by running a script manually.
You can unlock it even if you live in China. Just queue up like the rest of the world. No worries.
I read it the same but with the idea being a hangover incentivizes you to call in sick for work thus “curing” the affliction you have with working. Except it doesn’t cure the affliction as you still have to go in eventually.
Shelter, food, water, warmth — all these are primal needs. I think there's an inbuilt satisfaction that we feel when we satisfy one of these needs with mind and body. There is little else that produces that feeling. So, though we are busy, though our time may be more costly than hiring an expert, we build buildings, we raise meat and vegetables, we split wood, we light fires, and we feel the satisfaction that our earliest ancestors must have felt when they did the same.

It is good and right that we do these things.
I've had trouble with airdrop from phone to mbp when the mbp was on VPN. I don't know how airdrop works but I'm guessing the fact the VPN takes over DNS (and blocks requests to all other nameservers) has something to do with it.

Who knows though. Apple's engineers love writing software that doesn't produce useful logs.
I had to ask myself why VR was different and it's because there's no screen that a parent can monitor. Once a child puts the glasses on, who knows where they go are where they are? I think parents will demand a screencast feature built in so they can at least watch what their kids are doing.
Nuclear can't seem to be built anywhen, it seems to take decades and cost an order of magnitude more per kWh than offshore wind.

It can't be built anywhere either, given the local protests (personally I'd rather have a nuclear plant than a coal plant a few miles away, but for some reason people don't like that idea)
I don't have a favorite. There's a whole series of relative posts.

https://news.ycombinator.com/item?id=131501443

https://news.ycombinator.com/item?id=12318449

https://news.ycombinator.com/item?id=7094402

https://news.ycombinator.com/item?id=6146930

https://news.ycombinator.com/item?id=11026699

https://news.ycombinator.com/item?id=8107588

https://news.ycombinator.com/item?id=21389776

https://news.ycombinator.com/item?id=8246255

https://news.ycombinator.com/item?id=14583312

https://news.ycombinator.com/item?id=18479588

https://news.ycombinator.com/item?id=4639271

https://news.ycombinator.com/item?id=3770510

https://news.ycombinator.com/item?id=18906094

https://news.ycombinator.com/item?id=5903868

https://news.ycombinator.com/item?id=2358111

https://news.ycombinator.com/item?id=11755036

https://news.ycombinator.com/item?id=27107919

https://news.ycombinator.com/item?id=387789

https://news.ycombinator.com/item?id=25316912

https://news.ycombinator.com/item?id=10726489

https://news.ycombinator.com/item?id=15483692

https://news.ycombinator.com/item?id=24859111

https://news.ycombinator.com/item?id=29766034
Yeah, I was also thinking “what does it mean to cure work? And who thought a hangover could cure anything?”
Wonder if there's anything like this for the iWatch and Android.
I'm Canadian and since living abroad I can only say how impressed I am with health care systems OTHER than Canada's. Getting a specialist appointment in Canada can take weeks to months and even then the specialist barely has time for you.

I have friends from Europe who (now) have dual citizenship and fly back to their country of origin for anything beyond a basic checkup.

In Asia I go to the hospital and I get all the results in a folder and can review them myself. There are no hidden mysteries like in Canada -- what are they hiding in Canada? I've asked for a copy of my medical file and they've looked me like I'm a lunatic!

In Canada:

"So when do I get my test results?"

"We'll call you if there is a problem."

No joke!

In Quebec I always have to pay $500 a year for medical -- I guarantee you I can get A+ coverage for that amount of money in any SEA country. So it's definitely not "free".

Canadian health care is most certainly a better financial deal than the US system if stories are to be believed. But it's most certainly not the best world wide.
Just pray they didn't alter SDL like factorio does: https://news.ycombinator.com/item?id=27246164
The standard definition of a fiat currency is that it’s not backed by some kind of asset and thus has only the value given by social convention. The most widespread examples are backed by sovereign states and thus have the weight you describe but there have been private ones as well.

This is why I described it as a very weak one because it doesn’t even have the commitment of a bank behind it and the extremely highly operating costs means there’s a real long-term risk of not being able to find a buyer.
This is like asking why talented video game programmers dont do more to advance compiler optimization since they re so good.

I suppose some people think software goes beyond entertaining video games.
I'm curious how you would categorize total economic freedom in any sense an "imposition of belief". It is simply absence of any imposition into the economic realm. What other aspects are being sacrificed in order to maximise this aspect? I'm not sure the paradox of tolerance is a statement of fact.
> Second, it's not inherent to the money system to use Visa / Mastercard. You can use other ways to transfer money -- but again, this is irrelevant.

To highlight this, Americans are grappling with Zelle (which is just rolled out) and ACH while their neighbors to the north have Interac running relatively seamlessly and Europeans have SEPA and even some countries have local feeless/reasonably priced quick transfer systems like Swish/iDeal, and discussing how Asians handle their transfer and payments would just shake heads on why those systems aren't available stateside (I'll pick India's UPI and the (mainland) Chinese system as representatives, but that doesn't mean similar systems aren't available elsewhere).
Try a big line of blow. There’s a reason cocaine was thought to be a miracle drug for years before the negative effects of addiction were realized.
I bet most non-drinkers read it this way.
It's not obesity alone. All of our food contains an excessive amount of salt.
Yes, this is one of my major grapes. I’m using LastPass though. The comment below about bitwarden is interesting and I will have to give that a try.
These are interesting and novel predictions, care to elaborate?
Hah, make it give out cryptocoins, and take the idea of peasants waiting for royalty to make it rain money to the 21st century, where it all happens digitally/using a smartphone.

Did kings and emperors even do that in the old times?
> But then how do you deal with unique constraints or things like upserts? If I want to add 10 entries, then I need to know that all have been added and not pre-existing, or else the code for adding new entries doesn't actually get tested.

Then your test code needs to take into account the current state of the database when creating input data for the code under test. It is more complicated than with a know start state where you can pick fixed data, sure, but it's doable.
Is adrenaline really involved significantly in addiction, other than in specific people who enjoy that sort of thrill? As far as my own experience goes, adrenaline is uncomfortable and something I avoid all else equal.
Single year predictions are uninteresting. People either predict "more of the same, but that thing that is almost happening happens" and get it right or wild predictions that are all wrong.

A lot can change in one's life in a single year, but almost nothing can change in a society.
I believe that a few libc functions are reimplemented in libpthread, the idea being that if you don’t link to pthreads, you don’t need the overhead (locking, etc.) that is needed in multithreaded situations. Feels a bit antiquated now…

As for why close specifically though, that’s a good question. I wonder if it has something to do with special libc treatment of the standard fds or anything like that.
Who’s the target audience? If it’s mostly Brits (or former colonies), use British English. If it’s Americans or very broad international, use American English. Of course, ignore that if you’re more comfortable with one over the other.
I'm 37, so not that young. I'll take lucky though.
Comparing covid vaccine mandates to racism severely minimizes how bad racism was/is. It’s the same reason I roll my eyes when people start making vaccine passport holocaust comparisons, it’s absurd hyperbole.

I can’t spread obesity diabetes and depression to others. Cars are regulated immensely (though I do think it’s better to design cities that don’t need them… and hey people that walk more are less obese, which reduces diabetes risk).

For someone quick to point out a supposed fallacy, you’re heavily leaning on whataboutism. Not that you care, but I am also active in my city for improving pedestrian infrastructure at the expensive of space for cars, and I live in one of the most walkable cities in the country.
All this talk about "algorithmic feedback loops" is overselling the quality of said algos (eg. I get more interesting suggestions when I open YT incognito then I do when I'm signed in, I have to scroll through a bunch of stuff I have 0 interest on FB when I open it, etc.) and their importance.

It's completely missing the actual attention grabbing factor here - there's a huge amount of content for consumption on demand in those networks. Unlike TV or radio where at most you could have 100s of channels simultaneously available, there's billions of articles/videos/posts/songs/articles/etc. available with a few clicks.

At best algos get you there faster.
I suspect that’s an oversimplification and the build up of acetaldehyde plays a part.

Toxic chemical flowing through your body, makes sense to me.
This is an misguided and dangerous article.

Suppose that a, b and c are small values close to zero and so can be combined additively/subtractively in any combination without overflow. If they are signed, we can rely on algebra, like:

a - b > c // this expression
a - b - c > 0 // can become this expression
a - c > b // or this

This breaks for unsigned; you cannot just change the sign of c and move it to the other side of the inequality.

Even when you're not actually doing this algebra in the code, it's useful to be able to do it outside of the code. Sometimes in the code too.

For instance, suppose now that the values are not trivial. We have no assurance that a - b will not overflow, but we do have assurance from somewhere that a - c will not. The rewrite a - c > b is then helpful in avoiding overflow, and easily provable to be equivalent to the a - b > c expression that naturally comes from the problem specification.
>> it takes 2-d and 3-d artists, character designers, writers, musicians, sound effect specialists, voice talent, and various specialized programmers.

Minecraft. AAA games need a full crew, but many/most of the truly groundbreaking games come from very small teams. KSP, Factorio and Prison Architect spring to mind. If they don't have the specialist then the game just doesn't get that aspect. Minecraft didn't use writers. KSP used open source music. In the end you discover that none of those disciplines are absolute necessities. Factorio and Prison architect proved even 3d rendering unnecessary.
Quantification of neurotoxin BMAA in seafood from Swedish markets
> “I lost my keys” in British English implies that you already have your keys back, or you’ve had new ones made, or that you no longer live in that same flat or whatever

As a very standard British English speaker I'm not convinced of this. Sure, "I've lost my keys" normally implies it's an ongoing issue, but "I lost my keys" also can unless the context says otherwise.

I actually did lose my wallet recently, and can assure you when I told my British family "I lost my wallet" their first response was to ask if I'd checked everywhere and cancelled my cards, not ask me about my new wallet!

"I've lost my wallet" might be more emphatic perhaps, but the conclusions we draw from that are dependent on context too (I've also lost my passport on a couple of occasions, but I don't think anybody's inferring I'm still troubled by a lack of passport from that phrasing!)
There's a tradeoff around strictness of nominal types and evolvability, e.g. changing the threshold on such a strict type would be a breaking change.
> It’s hard for me to imagine that a qualified crew would fly such a non-standard departure with “we were following the flight director” as an excuse. There’s nothing above you to hit on departure; get away from terrain!

My understanding is that the 121 guys train to fly the FD and not "wing it." I think it's easier for us 91 guys to jump to the "just fly the plane" mentality.

That said, still a pretty baffling situation all around, especially the seemingly lackadaisical attitude towards post-exceedance inspection.
Covid-19 Loader
I've been wondering.. is it possible to write something to override the statically linked functions? In this case, most (if not all) functions have an SDL_ prefix. Would it be possible to LD_PRELOAD a library that loads a shared version of SDL and goes over all the function pointers to move them point them to a new location? Is there a tool for this?
Do we have an epidemic of chess?
Ethical Hacking: A Hands-On Introduction to Breaking In