skysight-inc/HackerNews huggingface dataset:
> You can't market your way into billions of sales over such a long period while a superior product exists at a lower price sold literally right next to it.

Of course you can! This is the point of marketing! You don't need to make the best product, you just need to make people think you make the best product (you can't skimp completely on quality). Apple has always been extremely good at that.

It's especially true for expensive gadgets that require familiarity, because 99% of people won't spend a lot of time and money testing each option. They will buy whatever seems to be best and stick with it.
Bridging the Cultural UX Divide: Why China's Approach Matters (2023)
This seems to show an (ongoing) increase of some energy prices in Germany after Sep 22:

https://media.aroundhome.de/image/upload/f_auto/q_auto/w_800...

I mean, the sentence in the article is very vague. "Energy prices surged". Which energy? How soon? For how long? Where? For which buyers (private or public)? It could mean a lot of things, so I'll grant this one line of journalism isn't great. Journalism isn't easy, though. I have no opinion on the WSJ in particular as I don't really know it, but if you dismiss everything that has a few sloppy lines in it, you might not necessarily end up with the best sum of information.
Correct. The wormhole code is a channel number (called a "nameplate") and a short secret, which defaults to 16 bits of entropy. The secret is used as the input to a PAKE, which only gives the other party (hopefully your intended recipient, but maybe an attacker) a single guess. The security of the protocol stems from the PAKE algorithm: yes, someone might jump into your conversation and attempt to guess the secret, but they're going to guess it incorrectly most of the time, and each time they fail, the connection is interrupted, and you (the sender) get an error. You'll probably give up well before they get a reasonable chance of success.

The secret can be any string you like, the protocol doesn't care, instead of "4-purple-sausages" it could be "4-65535" or "4-qtx", and have the same resistance to attack. The CLI encodes the secret as two words from the PGP word list, which was designed to be spoken and transcribed accurately even over a noisy voice channel (sort of like the Alpha/Bravo/Charlie/.. "military phonetic alphabet", except it's two alternating lists of 256 words each). In practice that pair of words is much easier to speak and listen and hold in your head for a minute or two than a random number, or the first two letters of each word divorced from the words themselves.

There are some provisions in the protocol (not yet implemented) to allow alternate word lists, so if the sender uses e.g. a French wordlist instead of the default English one, the receiving CLI learns about it early enough so that "wormhole rx" can auto-complete against the correct list. The server/attacker could learn which wordlist is in use, but still faces the same level of entropy about the PAKE secret itself.
It would be as accurate and make as much sense as saying the 100m finish line traveled to Usian Bolt in 9.6 seconds.
Any research/advice/tips on how a software engineer makes himself more effective in the job market?
> improving life in Brazil a bit in general

My life is not at all improved by this nonsense.
Going back one frame is about as hard as going back one second. VLC allows you to click on the bar to go back to a time, which doesn’t work in all video formats (as mentioned by the dev). Going back one frame would not be any harder or more variable across formats than going to a specific time.
Isn't that what garbage collection essentially is?
This is a good point, handhelds were indeed sharp (barring a rabbit hole about temporal smearing on some of the ancient Gameboy era ones). That said, they were actually pretty visually sharp too, not really the chunk-ified aesthetic you see added here. E.g. the GBA was 240x160 in 2.9" so ~100 DPI. To display that in the same aesthetic on the modern web you can just render 1x since it assumes about the same virtualized render density (96 DPI). If you blow it up to have chunky pixels as here it's again not about the original aesthetic and more about creating a cool pixelated render.
Pacemaker and hearing aids as well, eventually a temp-teacher will cause a right mess.
> Dog attacks and bites are…way more common than car accidents

This is nonsense.

There are on “average 337,103 ED visits each year for dog bites,” with an “annual incidence” of “1.1 per 1,000” [1]. This makes them “the 13th most common injury,” exceeding “those occurring on motorcycles (14th), to pedestrians (15th) and firearm gunshot injuries (16th).” These result, however, in just 30 to 50 deaths per year [2].

Motor vehicles killed over 40 thousand Americans in 2021 and 2022 [3]. They are the fourth most common injury in EDs, and by far the more fatal one.

[1] https://www.ncbi.nlm.nih.gov/pmc/articles/PMC6431755/

[2] https://en.m.wikipedia.org/wiki/Fatal_dog_attacks_in_the_Uni...

[3] https://en.m.wikipedia.org/wiki/Motor_vehicle_fatality_rate_...
I can’t tell you how many times I’d have hobbled together a tool like this to use in go. I will be converting to this.

Sometimes we don’t actually want to parse yaml, we just want to mutate it without needing to module the underlying objects.

Being able to select and replace, add data to an existing yaml document is a huge win for automation.
Ah, I wasn't online yesterday and submitted thinking it would de-dupe (I expected it to be here already).

But yesterday's was a Twitter link, and I used the Fedi link. Ah well :)
> They initially told him the design was good as is and required no feedback and change, but once the project was about to be deployed they suddenly became very opinionated

Because the design usually is presented in a way that looks the most plausible, default-looking and approvable, hiding the real problems and decision points. And when the project is close to being deployed, the problems become visible.

Very rarely I see design being presented like 'here is the problem we need solve, here are the constraints, here are the unknowns, by this logic we come to this solution'. One of the reasons this rarely happens, is that in big organisations there is often a hidden agenda like 'I want as many people and departments as possible to start depending on me so I can get my promotion'.
“Not yet, but it's on the roadmap for sure.” — https://mastodon.social/@alshafei/112974828655984716
This is easily bypassed and/or worked around. What is to prevent an indefinite investigation? The FBI D.B Cooper case was open for decades, for example.
I need to try Waydroid. So far, my Android emulation experience was done via KVM + Android x86, but unfortunately many apps need arm things, and the last release is like 4 years old now, which is ancient in smartphone terms. Thanks for the recommendation.
This opens the door to routine injustices whereby those who can afford expensive attorneys get a sweet deal, and everyone else gets stabbed in the name of justice.
Do you have a source for this? Dog attacks being more common than car accidents seems extremely unlikely to me, given how prevalent car accidents are.

I really wouldn't expect a cellphone ban for students to result in a significant rise of delayed treatment for injuries caused specifically by dog attacks.
Even if dogs attacking students is such a common occurrence that it warrants consideration in this proposal (which I doubt), it's still a school. Teachers and other staff are around. Just have them call emergency services in case of injuries.
Then they could have giant piles of nuclear waste, that they have no idea how to dispose of, just like france...
How to Cheat with Math – The Russian Cards Problem
It would not comply the with ruling unless they could provide “reasonable” grounds for holding it that long, and any precisely specified length of time would probably run afoul of the ruling, since that would by definition be specifying the length of time the police could hold it without reason (they could well give it back because they have no continued use for it, but they choose to withhold it arbitrarily because they can, since the deadline for return hasn’t arrived)
Ah ok, I was tired and didn't pick up the if-modified-since part. Now it makes sense.
Man I miss PDAs. My dad worked for 3com so I had a palm since about when I learned to read.

I was early with smartphones because I thought they'd essentially be PDAs with a modem ("They're just working out the kinks.") Smartphones have to be the most disappointing thing that's happened to consumer computing.

It's kind of funny that with pervasive networking I miss having to be mindful and sync everything I wanted to take with me.
It would not be up to the police to define but a court.

And that’s why times aren’t given. Legal precedent can adapt to time, changing views, and corner cases far more easily than a hard number can.

Police would implement their policy knowing that if they keep an item too long they may have to go to court over it. They wouldn’t have a hard number at first, but the system that results could be better and more adaptable than if a legislator just said “45 days”.
Does a "kernel" of a field really does increase in size over time? or is it that we are accustomed to being highly specialized?
It sounds like their architecture enables them to solve much more interesting problems than would usually be encountered in meeting their business requirements.
It doesn’t need to be, but the annotated function can still miss optimization opportunities, because it must be compiled as if it had a try-catch block if the compiler can’t prove the absence of exceptions, and this places constraints on reordering and inlining.

On the other hand, the guarantee given by noexcept can enable optimizations in the caller.
New Zealand just banned student mobile phones recently in all schools [1]. I would guess LTE connected devices would also count.

I think banning fitness trackers is a bit much, they are very useful for sports such as cycling, running, tri & swimming.

[1] https://www.education.govt.nz/school/digital-technology/cell...
Baby steps though, progress not perfection. None of your points are invalid
> I don't care about my manager's feedback, because he's not technical, and vice versa.

This is kind of a crappy attitude to have
I forget who originally suggested this so I can’t take credit.

But what if device manufacturers worked with schools to implement some kind of “School Mode” on these devices? Students could retain their access in exchange for schools setting policies on what’s allowed, e.g. you can keep wearing your watch, but it’s effectively in collection-only mode during the school day. Nothing intrusive to the students; more like Apple’s “Focus” modes but mandatory on school property.

I can also imagine all kinds of technical issues with this, but as our devices become increasingly wearable and integrated with daily life, it seems like a ban is only a temporarily viable solution, even if it’s the right option at this moment.
Although Fitbits aren't as app-rich as full-fledged smartwatches, some models do support basic games
> Some had no hallucinogens at all, a few featured compounds from a different psychoactive fungus with unpleasant side effects, and one contained only bath salts.

Isn’t bath salts a whole group of substances? I’m surprised they would specifically mention psilocybin but not specify what bath salts stands for here - I’m guessing MDPV?
The concept of "War is a racket" could be applied to any externalities of the world, in the economy there are a lot of organizations and people who are benefiting from others' suffering. Beyond the ethical and/or moral factor it is what it is. There could be cases where controlling those factors goes against public interest (again, without putting an ethical/moral side).

I think that when you add moral aspects your enemy takes advantages. That is war, the continuation of politics.

Also, the recommendations put in your link [1] hasn't been widely proven.

[1] https://en.wikipedia.org/wiki/War_Is_a_Racket#Recommendation...
Incidentally, you could find the hidden input in developer tools, and just type your password there like a normal person. But yeah. That site is so bad that I never bought more ibonds even though they were a great deal.
Where at least I know I'm free
Garbage collection doesn't impose a subjective reasonable vs unreasonable time limit for holding memory. It checks if the memory is still in use or not. Garbage collection is never subjective; it is entirely objective and without ambiguity or bias with regard to the guarantees it offers.
Very, very few average people actually use Twitter/X

It's significants was always massively overstated in tech circles and various echo chambers.
I see your point, but frame advance/rewind is very very basic stuff, a feature that has been around since VCRs went on sale to consumers in the 1980s. Doing it on digital videos with intraframe compression obviously requires some memory tradeoffs, but it's inarguably core functionality for a video playback application.
What are some basic patterns you see that hold true for HN?

In what way would it be useful for end users, get more visibility for posts?
Yes, the constitution itself only prohibits "unreasonable" searches and seizures, and only states that "probable cause" is required for a warrant. These terms are undefined, and left to the courts to interpret.
If they asked them not to use cell phones and they did not follow the rules, what will happen when they are banned?

Simply put. They had rules in place but failed to enforce them.

Why will banning them make the enforcement problem solved?
There is a striking divide between how the rich and FAANG employed treat technology around their kids versus everyone else. The single most potent difference I’ve seen as a result is their kids’ ability to maintain eye contact during conversation.
If I click on this page I get something about Wedding AI.

Joke?
The prize is for an idea how to do it. Actually doing it will cost billions.
You could enter your plan into the contest :)
If you care about performance, you should consider using Abseil's hash tables instead of unordered_set and unordered_map. The Abseil containers are mostly drop in replacements for the standard unordered containers, except they have a tweaked API (e.g. erase() returning void) that admits important performance optimizations and (except the node based ones) use open addressed hash tables instead of chaining (i.e. each hash bucket is no longer a linked list). You end up with 2x-3x speedups in a lot of scenarios. The standard containers can't be fixed to match the performance of the Abseil ones because 1) the specification API requires pessimization, 2) Linux distributors are reluctant to break C++ "ABI" (such as it is).

I mean, of course you should follow this article's advice on noexcept, but there's a whole world of associative container performance optimizations out there.
They same thing that would prevent anything else they do, being taken to court. It’s the only thing they fear.
I did some benchmarks, and it seems you are right that there's no (more) cache-friendly solution in general (at least, not that I could come up with). Memoizing the full entries (key and value) into a slice and then sorting that slice by key has basically the same cache-thrashing characteristics as randomly accessing the values, and is no faster (sometimes slower).
The scores are falling in the Blue states a-flush with cash. E.g. Washington: https://www.nationsreportcard.gov/profiles/stateprofile/over...

The Red states are actually staying fairly steady.

I don't think that the lack of memorization is the main reason, but it definitely is one of the reasons. Mobile phones and tablets in education are also not helping, and their spread is well-correlated with the start of the decline.
> It is way more common than car accidents!

It is not accurate when looking at the statistics!
Wherever this is, sounds like the kids should just carry guns instead.
Yeah. Throwing from a noexcept function is often a better abort() than abort() itself because the std::terminate machinery will print information about whatever caused the termination, whereas abort will just SIGABRT.
Android development with an emulator on my 8-core 64Gb desktop system feels a bit like this nowadays
But what happens when the property is something that cant be reasonably returned in 30 or 60 days? Maybe it's a cruise ship that got seized and needs to be be made sea worthy before being transported? Hard numbers don't allow for edge cases, the vagueness is a feature not a bug.
Nope. It needs to contact the "mailbox server" to coordinate the rest of the protocol. Two machines with local connectivity (e.g. on the same LAN, but your WAN connection is broken) could still implement the second half of the protocol, where they use each other's IP addresses to make a direct connection, but without the first half they couldn't learn those addresses or exchange the key-negotiation messages.

We've sketched out some approaches to working in a disconnected environment like that, using local multicast and mDNS/ZeroConf/Bonjour to act as an alternate mailbox server (https://github.com/magic-wormhole/magic-wormhole/issues/48). There's still design work needed, though, and I fear it would degrade the experience for fully-connected nodes (extra timeouts), so it might want to be opt-in with a `--offline` flag on both sides.
> Well on a basic level, if the consumer buys your motherboard or laptop and it doesn't work out of the box (but your competitors do) then you are going to have a massive customer satisfaction problem.

Ah I see what you mean. I over-focused on the full integrated system with pre-installed windows.

> I don't think so. DRM is an old lens of understanding the problem from the last generation. See https://www.youtube.com/watch?v=HUEvRyemKSg . The new methods use a softer approach.

Thanks for the link.
It's never really been about saving keystrokes, but about re-writing the same (fairly common) operation over and over again (and not necessarily the same way each time), and not being able to benefit from future optimizations.

However, as examined in a sibling thread, there doesn't seem to actually be any missed optimization which could potentially be applied here.
It’s the same thought. Terrorist attacks are directed to the nation as a whole even if they kill a small percentage of the population. That makes them different from events that just happen to kill the same number of people.
Are you alright? This reads like it was written by someone actively experiencing psychosis or a manic episode.
I don;t think they are trying very hard. They make the claim that the property is involved in a crime (not the owner) and the property does not have rights.

https://www.law.cornell.edu/wex/civil_forfeiture
I wish IT would restrict slack access to the first and last 30 minutes of the day. Productivity would soar.
> The greatest minds that have thus far graced this planet were not specialists, they exceeded in a wide pool of areas

For each polymath there's also Michael Jordan and golfing.
> banning fitness trackers is a bit much

Fitbits let you “see calls, texts & smartphone app notifications on your wrist when your phone is nearby” [1].

Unless you’re doing a full backpack and pocket search, permitting Fitbits seems like a guaranteed loophole.

[1] https://www.fitbit.com/global/us/products/smartwatches/sense...
> Each minister has ~40 judges - not counting other staffers, law clerks, specialists, chief of staff - under them

Not true. Each minister can pick only 3 assistant judges. There are only 38 assistant judges for the whole Supreme Court.

From the Supreme Court's website. I combined auxiliary, instructor and substitute judges as assistant judges.

https://egesp-portal.stf.jus.br/forca_trabalho
Next thing we will see is a roll of 1000 sheets... Just really tiny ones...
[dupe]

Web post: https://organicmaps.app/news/2024-08-17/last-night-organic-m...

Discussion: https://news.ycombinator.com/item?id=41272925
As everybody was saying, their idea was silly at best. Good there's a study for that now
Those "giant piles" are abysmal compared to the damage done by coal plants which they keep running.
It is all to create a focused learning environment
What's bad about it? It seems straight forward to me.
vysotsky's last wife was french-born, though she was ethnically at least part russian, her father fled during the soviet revolution. but you could look at it as a long history of a weird kind of friendship between the two countries: during the french terror french nobility fled to russia, establishing and strengthening burgeoning francophone tendencies of russian aristocracy. then during communist terror in russia, russian nobility fled to france, establishing the fifth column there, but also perhaps ensuring and cultivating soviet-french relationship through 20th century.

i'm pretty sure everyone had a copy of emmanuelle on vhs at some point, but very much within the cultural sphere i was talking about in op. like speaking of emmanuelle, there was a handful of porn movies that the entirety of europe, france and late perestroyka su watched, that americans never heard of.

the secam bit might be relevant, but i distinctly remember pal/secam switch on both the tape player and the tv. i think maybe the technical followed social, La tulipe noire was played in soviet cinema in the 60s and it was a huge huge success.
Coal even releases nuclear isotopes into the air.
Courts tend to follow precident, indeed precident is nearly the same as law. It's not really the case that an expensive attorney can argue his way around the well-established interpretations of the meaning of the constitution and other laws. Maybe, in the case of something novel, or for a question that has never come up before. It's not at all routine.
Why would you think it is a lie? Planet Labs' SkySat satellites have been flying for a decade and have 30cm resolution. The UK ones are based on existing Carbonite satellite that do 90cm.

If anything, having only 90cm when could be better is the odd thing.
What do mean "not remotely similar"?

You don't offer an established definition, but you do list some things the government must not do, e.g. overseeing journalists, politicizing the judicial system. Those things could easily fall within GP's definition.
I also find it useful to learn about how other people are learning about a certain topic. For example when the new Cosmos had come out, I watched it largely because I wanted to experience what the record-breaking sized audience was being presented with.
This is the sort of reaction I’d expect from someone having their phone taken away who really needs their phone taken away.
Indeed, since at least 1997, when HTML 3.2 standardized tables.
Catching is a table lookup in modern systems. I've yet to see a measurable happy path slowdown caused by adding noexcept.
"If all the electricity use of the USA was distributed evenly among its population, and all of it came from nuclear power, then the amount of nuclear waste each person would generate per year would be 34 grams"

https://whatisnuclear.com/waste.html#howmuch
> I think banning fitness trackers is a bit much, they are very useful for sports such as cycling, running, tri & swimming.

The ban seems to target children too young to need to keep track of things like that, as far as I understand the article.