skysight-inc/HackerNews huggingface dataset:
Apple knows that you are going somewhere...but doesn't know where.
C++ is increasingly being covered by an ABI in all but name i.e. there are types that do have standard layouts.
True but any password manager in the cloud should require MFA, which means if you lose your devices you’re still stuck.
This is extra interesting given the recent (un?)importance of Telegram in the Ukraine conflict. EFF wrote about it recently here: https://www.eff.org/deeplinks/2022/03/telegram-harm-reductio...
That already exists and is called Heroku. It works until it doesn't and then you need a bunch of engineers to work around the limitations.
I'm sorry? What elaborate narrative am I based on? What dubious sources?

If you think my point about how you know something is satire, you are mistaken - I am serious.

The problem is that most people are unable to discern what they know from what think they know (aka belief). Because they saw it on a screen or other people say so this. This is NOT knowing. Watching something on a screen only means that you know you saw something on a screen, not that what you saw was faithfully portrayed! You didn't believe Independence Day was real, but you do believe the news, etc is.

Knowing is not easy, but believing we know is.
I don't even see the link to the text itself.

I watched the EP parliament press release on Wednesday and the actual proposal is nowhere near what these headlines are saying. It has more to do about tracking components during battery manufacturing to ensure that the ecological cost is appropriately reported, that they do not come from conflict regions, promote alternatives to rare earths, etc.
Or just read the book and decide for yourself.
i was just starting a project and considering the use of s2. i'm going with geohash instead because I would get different values for the s2 cell based on implementation.

ruby:

S2Cells::S2LatLon.new(34.1234, -84.1234).to_s2_id(30)

=> -8577780315821624425

S2Cells::S2LatLon.new(34.1234, -84.1234).to_s2_id(1)

=> -8358680908399640576

https://gojekfarm.github.io/s2-calc/ agrees with these values

python's s2sphere (from sidewalk labs, seems like it'd be more of a reference implementation) gives very different numbers:

s2sphere.Cell.from_lat_lng(s2sphere.LatLng.from_degrees(34.1234, -84.1234))

=> Cell: face 4, level 30, orientation 0, id 9868963757887927191

This discrepancy feels like it'd be some kind of signed/unsigned integer issue, but I didn't think that would be a thing in Ruby. It also doesn't seem like the level=1 cell value in Ruby would be such a large, specific number. I'm missing something.
No, it’s not ok, anymore than it’s not ok for me to come punch you in the face anytime I feel like letting off some steam. Things that don’t have any negative externalities are ok for you to do at any point, but quite a large number of things that you may wish to do affect other people, and you cannot violate their freedom in the process of getting more freedom yourself.

In the case of batteries and other electronic components, the amount of e waste is very much becoming a problem that other people are being forced to deal with, and that’s not even considering future generations, whose freedoms I very much argue should also be protected.

“Your rights end where mine begin” is very much a laudable sentiment, but we need to be honest about when things sneak over that line, and not fool ourselves because the negative externality isn’t blatantly obvious.
It’s not just climate: Are we ignoring other causes of disasters?
How? Why do you think so?
"As expected" -> none of the youtube videos are available in my country (UK)
BTW, there are more people protesting Russian invasion in occupied Ukrainian cities, at gunpoint, than there are people protesting the war in Moscow.
Here's from Kherson today: https://twitter.com/mrsorokaa/status/1502983453452734468
Asteroid discovered hours before Earth impact
You don't have to throw those phones away right now. Apple can easily replace batteries for you. The consumer doesn't need to be able to do this with a bigass Philips-head screwdriver in order to accomplish this goal.
The main issue is that even though C has typedefs like intmax_t that are supposed to help implementations modify them depending on compiler and platform support, in practice, ABI requirements force these typedefs never to change if programs ever link to external functions with them. This can also be seen in time_t, which could not easily be switched to 64 bits due to existing interfaces that expect 32-bit time_t values.

For how transparent aliases help solve this, suppose that there is some ancient library function called get_year:

typedef int32_t time_t;
int get_year(time_t time);
// document time_t and get_year

Then, library users will call get_year with 32-bit time_t values. But suppose that eventually, as Y2038 draws near, the library writers want get_year (and related functions) to instead take 64-bit time_t for all newly compiled programs that use get_year. Previously, this was impossible: users would have to modify their programs to call a new version of every function, or link to a new version of the library. But with transparent aliases, library writers can simply replace the headers with:

typedef int64_t time_t;
int get_year_v2(time_t time);
_Alias get_year = get_year_v2;
// document time_t and get_year

Now, existing compiled programs continue to call get_year in the library, which remains implemented for compatibility. Meanwhile, newly compiled programs instead call get_year_v2, without having to modify their source code at all! This enables types such as time_t and intmax_t to be transitioned without breaking any code.
New solar sail may travel to Alpha Centauri
Right and you don’t own anything. Just purchase some amount of service periodically at a steep markup. The mbas saw what was going on in services and wanted to turn everything into a similarly periodic transaction.
Fine particles like PM 2.5 are basically fine dust. You won't die of dust.
I used to do this with a local copy of the IP2Location database [1]. This way you don't have to poll a third party. The caveat is you have to keep the database up to date.

https://www.ip2location.com/
[1]
Great story, but I can't help but feel like the Uber Eats dev team was at fault here. Success should only happen when the API returns a success status at the very least. If PayTM was returning an error (as the author states) and they handled it as success, this is definitely bad form on Uber Eats's part. An API is not expected to always return the same error for unsuccessful responses; there are different kinds of errors
While it's true that there are more houses empty than homeless people, many of the empty houses are in disrepair, vacation homes, or just temporarily vacant between owners / renters. See https://someunpleasant.substack.com/p/three-factoids-that-ar... for some more details.
OpenAI may have solved a fundamental AI bottleneck
Thanks, I was unaware of this---I initially (naively?) thought that being banned would at least deter some wannabe attackers. In your experience, does it do anything if I start collecting some reports on repeat offenders and notify their ISP? Or is that just more wishful thinking of my part?
> Because the taxi meter only runs when that passenger is in the car so it punishes suburb-to-suburb trips

Most taxi companies in the suburbs would be a flat rate that the dispatcher would tell you before you got picked up (or the driver would ask the dispatcher curbside), they often didn't use the meter.
By cloud function, do you mean something like AWS Lambda?
Discover a newsletter on your favorite subjects each day
This is one of the central supporting arguments for government regulation: customers won't pick what's better for society, but rather according to their own short-term needs. Since customers don't care, companies don't either (save those that use their environmental concern as part of their marketing...I suspect most of those measures don't really move the needle, though). That leaves only government. I wish it weren't this way, but I can't argue with the evidence.
This guy suggest SyncThing for automated route of syncing databases of password savers.

https://www.ctrl.blog/entry/keepass-vs-bitwarden-server.html

https://syncthing.net/
The point is to get rid of the old crappy function, replacing it with the new better function, in new code while allowing old code to keep working.

Old functions should not have first mover advantages on names, nobody wants to riddle their function calls with *_v2 all over the place, and neither do library maintainers want people to keep using *_v2 when *_v3 fixes issues present in *_v2.
Propaganda is a general definition for the dessemination of politically biased messages. All the news is covered by this definition. Especially during the war time. I don't understand why DuckDuckGo decides for their users whose propaganda is better.
I don’t think unbiased results can exist in the sense that every ranking algorithm has an objective function that is essentially a bias.

You might say, hey I just mean political bias. But consider what that means. When does it not show up?

Search for front end frameworks and there is no question that rankings will be “political” in the sense that the ranking will favor some things over others. (Example: this ranking shows React, Svelte and Vue because it over weights popularity and doesn’t give my obscure but mighty framework any oxygen!)

If you search for the history of any battle (just to take us away from the present conflict), I doubt two experts agree on the salient aspects let alone two algorithms.
what is being de-ranked isn't so called propaganda but outright disinformation. note the difference between disinfo and misinfo where the former is being spread intentionally the latter because the audience didn't know it was wrong. What DDG does the right thing by saying we will not put lies on the front-page of our results.

It would be impossible to filter out most propaganda - at least not the effective kind. Using the word propaganda makes these measures sound unjustified. It's better to call it what it is: deranking lies from the top search results.
Thanks, I wanted to say something very similar. "Choice by wallet" is a nice theory and even in practice it can work (e.g. buying fairtrade, organic meat alternatives IF you can afford it). But in that case it failed. And the manufacturers have little incentives to make it succeed - after all, buying these high margin products more often is in their shared interest. So even a first mover to offer flagship phones with removable batteries (again) would just cut their profits a little less than the competition.
Proof for claim: If phones with replaceable batteries were competitive in the current market, they would be offered.

I think it can not be denied that the current smartphone business has a negative ecological impact (waste during the whole life cycle except during usage) and additionally also a negative social impact (manufacturing conditions as well as rare material extraction; not sure if broken phones are shipped to Africa like other e-trash, but would expect that as well). These long-term impacts are not in our interest, but no individual alone can change that in the current market. But that's often the case: If we are not strong enough alone, we work together and bundle our power. Like in a state or even above the state level.
This is really interesting certainly given the recent hack of sattelite modems:
https://www.reuters.com/business/energy/satellite-outage-kno...
Well yeah, some pundits obviously do that but I don't think most pawns do.
Can’t say I’ve ever had those problems. It just works here.

I’ve got a 14” MBP. It has pull tags and is easy to replace. I’d still take it in apple store to get it replaced.
Very. It is why there are product graveyards though. Usually compelling ideas that never were validated with product market fit.

https://killedbygoogle.com/

https://killedbymicrosoft.info/

The other side is internal initiatives that become priority number 1 for a team and then die over the next year or so.
For the record: we're not even talking about DDG anymore. The subject now is YouTube and UK.
> iphones don't have replaceable batteries but people keep buying them because they don't see that as important.

Primarc clothing sometimes comes with scraps of paper 'Help, i am being kept as a slave', but people keep buying it. That tells us they don't see slavery as important.

On the contrary, the fact that they were willing to die to end slavery doesn't tell us anything.
"Water resistant" is a meaningless, vague term, of course. The question is how resistant. That phone was IP67 rated.

Current iPhones are IP68 rated, which is markedly superior.
It is the first and only GPU I ever bought. Since it is the most expensive part in a PC, I have also kept to the "do I really really need it?"-mantra and have never upgraded it.

With this PC I will not be doing anything anymore, I believe. I just don't have a use for it. So I guess I will follow the advice of most comments here and just sell it after all :)
Skeleton to create a C++ header-only library
OP is using google cloud/GCP, cloud functions and cloud run are google cloud serverless offerings. Cloud functions is comparable to lambda, cloud run is basically a kubernetes-based PaaS.
Looks like you are enjoying consuming the content which corresponds to your political bias.
shortage*

* at the current price point
But do they work in Spanish? I imagine a lot of them hire developers from other countries (ex: Eastern Europe) and would then end up using English.
Yes, the one bordering Russia, that was contemplating joining an organization which aims missiles at Russia. This doesn't excuse the invasion but your reasoning is self-defeating.
It surprised me for some reason, but the average age of a covid death in the US is 80, and 81 in the UK.
It is hard to measure approval in places like Russia, where people who say the wrong things publicly enough disappear from their homes. Most ordinary Russians hold two opinions: a public one and one for round the kitchen table. Which one are you referring to?
Absolutely nothing will be done about reports of people running SSH scanners against your host; it would be like Cnut on his seashore throne ruling the waves to recede: even in the unlikely event that a hosting provider shut someone off (we probably would, if you told us), they'd be followed by 10,000 more.
I just looked briefly and it looks like you're right.
Probably because it’s not math…
It’s mostly about history, regulatory climate, sunk investments, institutions and skills. Nothing to do with race.
spicyusername has it right.

There's a concept called COST - Configuration that Outperforms a Single Thread, which basically asks the question: "how many cores/servers does a system need to outperform a single thread/core". Often this means that to outperform a single beefy server you need to get to 100+ servers to overcome the coordination costs and actually do more processing or process more faster. Lots of workload specific details here, but the general application in data engineering is "How many nodes does your spark cluster need to outperform my laptop, or how many nodes does your cluster need to outperform a single turbo.large.beef instance?"

My belief is that most companies chase scalability wrong in data.

That said, there are some companies that handle telemetry at scale and actually need to record and analyze billions of events per second. In these cases you will trivially hit the scaling limits of a single server. 99% of companies are not here.

I could be convinced that this number is actually as low as 90% :)
And not one MLOps data platform was named in all of the comments.
Sure. And if the Moon were made of green cheese and we had regular transport from a mining operation there we could all eat as much green cheese as we want.
Russian Patriarch Kirill Statement in Response to World Council of Churches
True the manager does have influence in that way. They can definitely increase the chances. I read the parent comment as saying it was as flexible as Senior and below promos which is why I incorrectly assumed you hadn't worked in FAANG culture.

I think the promo comittees do a significantly better job than relying on managers alone, but they definitely have bias. Not perfect, or even good but still way better because there's less incentive to game the system.

I agree that Staff-plus isn't Jedi-like and there is a trope about that. I assumed your criticism there was about the StaffEng book which doesn't promote that trope, instead it gives a practical guide on what it usually takes to get that promo.
We have many industries of examples where this solved also by market forces as well

Cars as an example, the key here is to allow the market to MAKE replacement parts, and compete to selling them. Stop vendor lock-in

If I want to buy replacement part for my car I often have a selection of 3-5 different vendors making the replacement in addition to the OEM.

You can not tell me that appliances, electronics, etc are that much different from cars that similar solutions can not be found. Especially given that most of these things are just off the shelf parts that the OEM combines into a product anyway
Whataboutism is whataboutism.

the word should get you warned to stop dismissing valid comparisons.

ironically, whataboutism was an intentionally misapplied fallacy popularized by the russians.
That's a nice idea up until the point where Belize's police officers show up on your island because you've been breaking Belizian laws/not paying taxes/whatever.

I don't think Belize cares that a bunch of rich white kids are playing pretend on one of their islands. They'll do as they were.
Well yeah and they are hardwired to at least one physically wired network: the energy grid. Why they don't have decent cabled inter/intranet is beyond me.

I don't think satellite internet is that much cheaper but, I might be wrong. I am no network engineer. Anyone who CAN comment on that?
No, it was not "waterproof". It had an IP67 water/dust rating, which is inferior to the IP68 rating achieved by current iPhones.
Fixes were attempted on the user end decades ago. What did companies do? They ensured the end user was flooded with browser initiated cookie requests. Notice a parallel with the current situation?

Browsers now use better approaches, but nothing is guaranteed when web developers try to circumvent the protections because they cannot accept that no means no.
That makes no sense because people won't buy cars without seatbelts or airbags - and if they do, it's them dying, which they should have the freedom to do.
> What’s missed in these discussions is these regulations had a point to them.

This varies a lot by area - For example, I'd say the NY medallion regulations had a point to them, and that point was to systematically abuse cab drivers for the profit of the local government and banks.

Then for example - in my area (Atlanta) medallion supply was capped at 1600 - the result meant cabs basically didn't exist outside of the airport. Need a ride home from a party? Called a cab company? They won't show up. At all. They will dispatch cab after cab after cab that simply will never EVER show up.

Cabs would show up to exactly two places - Nice hotels that paid them under the table to make sure they kept coming, and the airport. Conveniently those two places tended to make circular trips.

So are there negative externalities to ride-sharing? Sure. Is it currently better than the previous cab monopolies? I'd argue yes. Do Uber and Lyft really represent a sustainable model? I don't think so.
It's clear where the concern for the suffering and where the appeal to peace resides. The Russian Orthodox church even outside of Russia appears wholly politically compromised. I pray for all Russian Christians.
Maybe you're not the target audience. I quite enjoyed it.
My assertion had been that WASM will eventually replace the container environment but the reality is that you'll still need a way to orchestrate deployments. If a problem space is small, there's still nothing wrong with a monolith.
> there are types that do have standard layouts

Out of interest (I'm not tracking the C++ standard much these days) such as? For example I know about the order of struct members and bit fields, but that has always been the case in C, and so in C++.
How can you accept anything other than explicit success as success when dealing with money? Seems that blame should be entirely on that side.
In the US suicide dropped by 3% over the pandemic.

https://twitter.com/CDCInjury/status/1498357668125323265?s=2...

It's still early days, and there may well be a rise in deaths by suicide as we gradually come out of pandemic. We always need to be watchful.

But all the people who claim that suicide increased during pandemic are simply wrong.
The arguments they're making are a mix between nonsensical and absurd to me. The only vaguely legitimate point they make is that some users have experienced worse browsing experiences (because it's beta software/because some websites don't play nicely with VPNs), but then say that this is intended to push users away from using Safari?

And are they seriously arguing they could build a viable competitor to mobile browsers if only they have access to all our browsing data? Personally I was leaving it off until it was out of beta, but this just convinced me to turn it on
+1 for Keepass, and on iphone imho by far the best client is Keepassium. Sometimes I think that it's the most craftsmanlike software which I ever use on any platform; it's really well designed and implemented. It basically assumes that you'll keep your password file in Dropbox or similar.
> Now people know that they're being tracked. Great. They are still being tracked and now are being annoyed with the modals everywhere

And now when I tell people 'companies are tracking you' noone calls me a conspiracy theorist any more. They say- yes they are.

Mission accomplished, this policy gets my vote
Same here! BASIC, Turbo Pascal, Z80 assembler, saving onto cassette tape, CP/M. Funny to think I didn't have a computer with a mouse until 2000. I've never done programming as a job. I started doing a CS degree in the early 90s. I had a friend with a job programming in an office, something to do with money and corporate clients, I went one day to see what he did at work and it was so depressing I quit my degree.

It's still a lot of fun.
They mentioned "apolitical."

You can have apolitical ranking algorithms (although the results may have political implications.) I think what they were really going for is a-nationalist (to fail to coin a word.) It's legitimate to be wary of private industry partnering with government to push a nationalist agenda.
3.4.0 adds support for $(foo) interpolation, which was the one thing that usually tripped me up when using basic provided scripts e.g. installation instructions in READMEs. Fish previously only supported the (foo) syntax, without the dollar.
Do you know of any toothbrush with an easily replaceable battery? I'm in the need for a new one as my battery slowly dies and I don't want to solder my toothbrush.
I tripped over this early in the article and had to rush back to write a comment.

> Interestingly, Linux was the platform upon which we built everything a decade or more ago. Linux is still ubiquitous, and part of our stack, but few developers care much about it

You definitely care about it when something breaks in a container and you have to figure out what's going on. Abstractions are fine until something doesn't work.
Look through the last 12 months, hardly any with more than 2 stars

The overall rating is based on the last decade of reviews
Yes, but making it explicitly politically biased is even worse