skysight-inc/HackerNews huggingface dataset:
>You can always make your code self explanatory

this code is done in this way because EU regulation #1374 regarding Maritime tracing.

this code seems inefficient and silly but is that way to get around a specific rendering issue in Opera Mini which needs to be supported because our project needs to support basically everything because it is a required governmental service.

This code is dealing with an issue in Safari that is supposed to be fixed by June 2024 release - please check if it is still an issue - test by doing the following...

Tldr: No, you can not always make your code self-explanatory.
The article begins by assuming a world split into two camps;
freedom-loving liberal democracies and authoritarian hell-holes, each
delimited by strong national borders.

That's still somewhat true. We may criticise our society in this forum
and not be arrested by thugs. That should be evidence enough that for
80 years since the last world war we've maintained an alliance of
ideals that were worth fighting for. Indeed, it's why we have concepts
like "national security", although the common meaning of that has been
perverted and its reputation dragged into the mud.

Our more subtle problem is the supposed perimeters are no longer
clear. We have fascists amongst us on our own soil. They are well
ensconced in both government and private enterprise. Globalism and the
Internet allowed the spread of authoritarianism which has taken root
"at home", sadly much assisted by the technology we've built.

I think it's cynical and does us a disservice if you suggest that
every company who disagrees with what the government wants has their
CEO thrown in jail. When bullied, providers like Lavabit, TrueCrypt
and others chose to shut down their companies and tell everybody why
rather than collude in fascism. Much as I dislike Apple (because they
are duplicitous) they also put on a show of principles. They may even
sincerely believe that "protecting" their customers is a core value.

80 years ago people chose to make the "ultimate sacrifice" by giving
their lives. Today the ultimate sacrifice is to forgo money. Qwest
folded because they were weak on fascism and put money first, but they
are not the only example to hold up. There are more important things
than money in this world.
It’s funny how emotional discussions about UI choices are.

I liked the article and its demonstrations because I learnt something.

Personally, I switch off animations whenever possible, preferring snappy action over flashy effects. But they have their use, for example in the rubber band effect which would be quite jarring without motion smoothing.
Donno. Haven't had the issue for long now, so donno.
They seem to have shifted to cater to a more American audience at some point.
That's one of the main values of Google Maps: it's not just a navigation app, it's a business directory. I don't need to know how to get to a set of GPS coordinates; I need to find an Italian restaurant, or a veterinarian, or whatever. Only then do I care about how I go there.
Binary toggles are everywhere in web UX. They are almost always used where a simple dropdown menu with WORDS indicating the chosen state would be better. However designers hate that because then they can't write fancy animations on creamy toggle widgets.

A dropdown with the words enabled/disabled indicating the state will always be better than a toggle with some subtle animation and colour signalling the state.
I don’t even believe that would be required. Providing proof of residence or citizenship would likely be considered excessive under the GDPR.
I like the bot's tone. It speaks normally and informally, unlinke ChatGPT, doesn't spit out loads of nonsense and useless boilerplate and is actually engaging to talk with. It's also not heavily censored like Gemini, so you can ask it about issues that might be politically sensitive. I really hope the app will be available in the EU soon.
App Store Account (ie. billing address) country isn't enough this time around, Apple enforces via "on-device processing" of physical location

https://support.apple.com/en-gb/118110#:~:text=Availability%...
Any real governing model cannot afford to be entirely authoritarian or entirely libertarian. It seems it has to have a mix of qualities.

How can you enforce legislation without authority? But also, how can you foster innovation without liberty?

Well, the question of the specific make up of an entire governing model, complex as that would be, is an important question. I don’t think it’s the question that’s key here.

What I was referring to was we need a world that is without borders and doesn’t incentivize existential competition between different groups.

We’re smart enough to figure out how to all get along if we can just be better, than the way we’re made. Compulsive, animal natures.
The current NATO expansion happens only because those countries are scared of Russia. Also, by definition, NATO exists to fight Russia.
Maybe I've missed it in the article - but how long would a full training run take on 2 consumer GPUs (local or rented) ? Ballpark - hours, days... ?
Is the LLMs inferrence process much simpler than a Turing machine?
Google Maps has been weird lately.

Not too long ago, I was looking for a shop which, it turned out, was at the next junction of a very short street. Like, I could've seen it but for a signpost and restaurant outdoor furniture blocking my view.

Google Maps recommended I walked to that junction, turned left, walked halfway to the next junction, got on the underground, took the underground to the next stop, got off the underground, and then walked back.
At 1719 CET yesterday, the NINA citizen warning app ( https://www.bbk.bund.de/EN/Home/home_node.html ) triggered a German wide alert. Usually, small regions are marked to indicate bad weather situations like storms, floods, I have never seen a country-scope alert before.

Since the whole of Germany was marked in orange, I read the explanation was a low-likelihood threat warning caused by ISS battery debris (rather than an invasion from the East).
Survival as a niche toy is completely irrelevant for the business and productivity market.
Not to mention DevSecOps that only know enough to run certain tools but not understand enough that certain flags don't apply because the canned test doesn't work the same as your app.

In my specific example /auth was reverse procured to a completely separate app, and /auth/login/bad wouldn't show the same content as / ... And even after explaining their test is invalid they still escalate rather than fixing or removing that test. Leaving me to explain 3 more times asking the way.
Cool, any plan to support searching within favorite list?
What are the orbital parameters before and after the moon close approach?
FWIW, the / search isn't part of Tridactyl but we do inject some code that frees up / from most websites so Firefox can use it.

It's possible to write your own user script to do it (you just need to add a keypress event handler that does preventDefault() and maybe stopPropagation()) with no need for Tridactyl :)
Hey Pete_arten, this is released now, thanks again for suggesting!
So they can whine about how regulation interferes with their ability to innovate
The cynicism doesn't seem that fair in this case.

Re HN becoming like Reddit..

Perhaps there is a generic 'cynical feeling' in the air with technology, with feelings of distrust about the intentions of governments and corporations over their use of the profound technology that is appearing, and how this is being constructed with the intention to constrain and manage the individual, rather than enabling greater freedom.
Truly a staple of my childhood, I think many people can remember trying to do a Kamehameha or cheering for Goku during the first tournament or going crazy when Krillin died and Goku turned Super Saiyan for the first time. Good times, thanks Akira
It depends on where you are; Google Maps is indispensable in some cities, and apparently somewhat useless in other locales. Here in Tokyo, it's a must-have app, and basically everyone uses it because it's so useful. Good luck trying to navigate the public transit system with some other navigation app, or find some very particular restaurant you want to eat at. Of course, one of Google's big locations for Maps development is here in Tokyo, so that might have something to do with why it works so well.
It is a shitty thing to do, but there is nothing particularly special about the fact that it is a grave, or that there is a particular person involved.

Society suffers, because people do not wish to be subjected to the sight and smells associated with urination.

A cemetery is usually something of a public park, of sorts. Urinating on a random grave is around the same order of shittiness as urinating on any part of a public park meant to be appreciated or contemplated by people.

If the grave of the random person matters a lot to you, ask yourself, would it matter if the headstone were not there? Would it matter if you did not know there was a grave there?

Every time you urinate on the ground, you are urinating on the remains of millions of people.

With every breath you take, you are inhaling the remains of everyone who has ever been cremated longer ago than it took for their burn gases to homogeneously mix in into the atmosphere (which really does not take very long).
In fact European moose are more aggressive, if wikipedia is to be believed.
"look, just tell me what you want my password to goddam be, and I'll go with that!"
> OP claimed Dragon Ball is universal and transcendent

No he wrote:

> Dragon Ball transcends cultures, languages, and generations like few creative works I can think of do.

Nowhere did he say it is universal or that it transcends gender in anyway. You are arguing against nothing here.
Some people will always find something to complain about. I feel like it’s completely reasonable to give a “sorry this link was only valid for 5 minutes and is now expired, request a new code here” message. State it in the email that originally contained the link and state it again on the page when they click it afterwards. This is incredibly common practice and very unlikely to be the first time someone has seen this workflow. If they want to complain further, direct them to a password manager and remind them there’s probably one built into their browser already
There's some investigation as to how Apple uses countryd to determine what jurisdiction you're in.

>[countryd] combines multiple data such as current GPS location, country code from the Wi-Fi router, and information obtained from the SIM card to determine the country the user is in.

https://9to5mac.com/2023/04/25/ios-16-restrict-features-base...

Since I imagine you have a European Wi-Fi router, SIM card and GPS location, there's a good chance you'll get the EU features.
Prosemirror user, it is fantastic. Didn't know Marijn was so prolific, all with free/open source projects. Wonder how can make a living...
I don't understand people who give a shit about vulgarity. And more importantly, people that expect other people to adjust to them. They're just fucking words. Lots of little things about the way some people write or speak may annoy me, like their dialect or some word/phrase they use too much, but the adult thing to do is to fucking deal with it and keep it to yourself. It's your problem, not everyone else's.
Research universities have devolved into memetic generation machines valuing quantity (publish) over quality (considered the "perish" camp) as a consequence of the upheaval in university socioeconomic demographic shifts post-WW2. Rigor is steadily being chipped away.
> Many settings, such as your car, would improve if a driver could talk with a car instead of pushing buttons.

You have watched too much sci-fi and not read enough UX.
Self Learners
I would like to open a topic about autodidacts.
During my day job as a frontend developer, I have to cope with this quite often. When you raise a point with the manager that we could be fixing real bugs instead re-doing a non-essential, very subjective thing the designer came up with, they usually reply that they trust the designer as a professional and they know better - the developers don't have a choice.
We don't know the prior probability. Life being common has the same probability as life being rare.
I been seeing people on Twitter mocking the project, but I need it...

You have no idea how much time I've wasted trying to block some products from pinging their home server with curious data stream, but failed to do so because I can't be bothered to sit my ass in front of Wireshark to sniff out all their DoH servers.

With this project, it's hopeful that in the future I can just not putting their domains in the TLS whitelist, even when they use DoH.

---

Off topic but BTW: "Fully Encrypted Traffic" is really a confusing term that can only be understood correctly if the context is correct too. How about calling those protocols "High Entropy" (HighE)? Which IMO is more specific than calling it "Fully Encrypted". It's just my two-cents suggestion.
In a lot of ways we're just now reclaiming the good parts of the flash-dominated web. Fair bit of bad collectively as we're relearning, but things are trending in an interesting direction.
The "processor-memory performance gap" is a big reason why lookup tables aren't as clear of a win on modern hardware as they were on the SNES.

If it takes two CPU cycles to read from RAM, a lookup table will basically always be faster than doing the math at runtime. If it takes fifty cycles (because, while your RAM may be faster, your CPU is a lot faster), and your processor has more advanced hardware that can do more math per cycle, maybe just doing the math is faster.
Probably more about Safari than Maps

If they limit the market they disincentivize google and mozilla from investing in native iOS versions of their browsers
Show HN: A directory of open source alternatives to proprietary software
Hi, Piotr here

I was collecting nice open-source companies for quite some time now. Mostly to take some inspiration and learn from their code.

Last week, I though it would be fun to learn this Astro thing everyone's talking about. So I thought building a directory website out of this collection was pretty good idea.

After 2 days of building, OpenAlternative was born. It's a community driven list of open source alternatives to proprietary software and applications.

Enjoy and thank you for your support!
> All open-source contributors of Bruno will receive a free license for the Golden Edition.
I'm a fan of this idea. I hope we see more attempts to make open source sustainable while still keeping the product accessible like this project.
And that's because most people don't really care about performance, just that it works.

The most important thing is that something exists not that it's at its peak performance.
JTX Board, it's an Android app for tasks, notes, and journals, it uses iCalendar to store all the data, and integrates with DAVx⁵ to sync your data to any CalDAV server, such as Nextcloud, so you can see your tasks in the Nextcloud web app, and automaticlly sync them to your PC.

I use the Nextcloud app on my KDE Plasma laptop, and it works perfectly, I only realized this works when reminders started magically showing up on my laptop without me needing to set anything up

https://jtx.techbee.at/
https://www.davx5.com/
https://nextcloud.com/
I like having a satnav screen.
I anal but I understand that in the US, it is unlawful to falsely claim to be a US citizen. I don't know if the EU has something similar?
Many people haven't experienced dictatorships or authoritarian regimes. So their view of this is painted in relative terms, not absolute. Things got worse, things look more and more like what they hear from dictatorships so they draw a conclusion that democracies doing the same means they are the same.

But in fact in such cases they're more right that you think. If a force is powerful enough to push a healthy democracy towards authoritarianism you damn well should be very, very concerned. Because it takes an enormous amount of will and effort do do this but it gets easier at every step. This is far more power than most dictators have to just maintain the status quo.

Like a train slowly rolling out of the train station, don't think it's barely moving, think that the motor behind it can move the whole damn thing from a standstill. By the time you figure out what's happening it's too late to fix anything without a lot of collateral damage.
I found the opposite to be true in many European cities including Brussels, London, Cologne, and especially Antwerp where the metro tram network was fatally error-laden on Google Maps.
Oh yes, 3 files changed compared to parent and the changes are gitignore and updated URLs to the forked repo.
Hmm, in my opinion, not great examples of how rockets aren't difficult anymore. Read recently that for Vulcan, ULA reused a lot of existing systems from Atlas V (such as the entire second stage, but also many other system) which obviously have been developed and used in actual flights for decades:

https://spacenews.com/ula-to-fly-vulcan-technology-on-atlas-...

And SLS reused old-tech even more so (at least from my understanding). For SLS, NASA used the boosters from the space shuttle for the first stage:
https://www.nasa.gov/reference/space-launch-system-solid-roc...

Yeah, NASA and ULA take the most conservative approach to rockets, using technology that they developed decades ago.

... but maybe that's what you mean by "following the established component and integration test playbook." It's smart and safe, but still, this also means they aren't innovating and, as you know, even for Space X, doing something new took them many, many years of failures, for Falcon 1, Falcon 9, and on into Starship.
You might not consciously observe how your light switch transitions to the opposite position, but I’d argue that most people still have an immediate and intuitive understanding of how both end-states of a light switch are related to them applying physical force onto the switch.

The toggle transition is supposed to resemble this notion, and aims to allow the user to build up an analogous mental model of cause and effect.

To me, this sounds like a valid and worthwhile idea in general. That animations are not always appropriate or fitting, or that they sometimes are laggy and sluggish, is a different story.
Thank you for posting this! Happy to answer any questions anyone has :)
I was truly amazed when my high school computer science teacher expanded the sine function into a Taylor series for us to implement in class.

Couldn't wrap my head around the concept until the topic was revisited in college, but idea was there and helped me understand the tradeoffs brought by "fast math" libraries I was using during high school.
Sometimes I wonder about the things that make it to HN's front page...
This is definitely a very cool project to see. Outside of some embedded environments where GPL is a no go, I'm afraid BSD may largely fade into more obscurity, which is a shame.
x-cmd is a great CLI that I've been using lately. It's very lightweight (not exceeding 1.1MB), yet packed with numerous features. It provides a range of interactive CLI tools, currently boasting over 100 modules and close to 500 packages.
Remember when "Apple Maps Bad" was catastrophic? https://www.youtube.com/watch?v=tVq1wgIN62E

Then Uber happened, in particular greyballing.

Then FTX happened.

Then ...

It's not just about pressing a bad product on people, it's about the greed leading the campaign in the first place.
This is why I build an external password thing that emulates a keyboard. Nothing some stupid braindead "security" implementation can do to prevent that from working. It does TOTP too. I had fun with hooking it up to my phone via BT for proximity unlocking. Part of its secret lives on the phone.

I wouldn't say it very secure since i didn't bother with implement a proper asnc encryption for the bt part. And its still vulnerable to a variety of evil maid attacks. My threat model doesn't involve that to ever matter. It should be practically fully resistant to remote full-take attacks.
That's possible (although, I think, unlikely); but at the present time not seeing ads is not just possible but as I said, easy and free.
> It's a well-known fact.

It's a well-known fact that different people mature at different rates.

> You may also observe how prisons are full of young people.

The bulk of prison inmates are in their 30s and 40s:

https://www.bop.gov/about/statistics/statistics_inmate_age.j...

> Brains that are still developing are far more likely to make really stupid decisions without regard for consequences.

Then how come there are so many more 40 year olds in prison than 20 year olds?

> If I were to pick qualities for a driver, and had to choose between 'Makes good decisions' versus 'Faster reflexes', I'd pick the former any day.

But now we're back to experience, and you have to be allowed to do the thing before you can get that.

> Note that we don't let 12 year-olds drive. We have arbitrary age cutoffs that have nothing to do with quantifiable capability.

We do, but we shouldn't. If a 12-year-old can pass the driver's test then either that 12-year-old is competent to drive or your driver's test is inadequate in testing drivers.
The shadow is around flat piece of paper of zero height, levitating off the background, casting shadow 360 degrees all around. No physical lighting set up could produce this effect.
The second link has dimensions, and they're huge: about 1 by 1 by 0.5 meters, weighing 169 kg each.

https://ntrs.nasa.gov/api/citations/20050215412/downloads/20... has some more details.

The "deadface load" (a term basically not seen anywhere except in these batteries) seems to be related to discharging them to a safe voltage (possibly at end of life before disposal, or generally before maintenance).

"From 2017 to 2021, the nickel-hydrogen batteries were replaced by lithium-ion batteries." according to https://en.wikipedia.org/wiki/Electrical_system_of_the_Inter...
A lot get antiquated by instruction additions, like the infamous inverse square root
I'll give you another example: if you drive to the Dallas Fort Worth DFW airport with toll off, Google maps won't tell you there is no way to get to a terminal to pick up passengers without paying the toll.
The only problem with instant transitions is that sometimes you may not notice what changed. I would like to see a UI built around instant transitions but with subtle animations that happen after to emphasize the change. Like the new content shines, or does a tiny bit of grow/shrink, but not in a way that prevents interaction. There's nothing I hate more than waiting for long transition animations (looking at you, macOS fullscreen button)