skysight-inc/HackerNews huggingface dataset:
There are three distinct types being discussed here, let me try to briefly explain them.

1. Just a hash table, Rust's std::collections::HashMap, C++ std::unordered_map, Go's map

This type is not about the "order" of its contents. If you want the "order" in any sense, that's not what this is for and you have the wrong type just as surely as if you were surprised that your integer type can't store a half. Types of this kind can be optimised to provide extremely fast indexing by key which is why they exist as this is useful in many problems.

2. A container arranged by the value of the keys, Rust's BTreeMap, C++ std::map

This type is about the order of its contents by value. It doesn't matter when you put a 4 into this container, it goes between 3 and 5 anyway. This type is good when you need to work in that "by value" order later, for example to take the "Most important" item or the "Soonest". It doesn't remember the order in which things were added, and it is relatively slow to find items by their key.

3. A container forever arranged by order of insertion, Python's OrderedDict (and dict), in Rust that's https://crates.io/crates/linked-hash-map LinkedHashMap

This type remembers the order in which you inserted items into the container and can give them all back in that order efficiently. In other ways it's like the first container, but it compromises performance significantly to deliver this "order" promise.

It is problematic that people talk past each other on this, both in terms of a useful discussion on HN, but much worse in a Software Engineerign team if you thought you were being given an OrderedDict, but it was actually a BTreeMap for example.

Python chooses to provide (3) because Python is slow anyway so why not at least provide the least surprising container given how slow the language is. The existing Python dict was so awful that OrderedDict is actually faster (not fast in the wider scheme of things, but faster than that) so that's good enough.
And why should anything matter at all, right?
Salyut-3 – The Russian space station with an anti-aircraft cannon
You can play it: https://nasser.itch.io/restricted-airspace

I did not find any videos.
The final result looks great, but I found it even more convincing limiting it to about 15 FPS: https://jsfiddle.net/9mksgbe6/1/
> I never understood why VLC was so widely praised.

Because it's the one you can reasonably suggest to all your utterly nontechnical friends and relatives to get them to stop downloading random sketchy exe's from the internet to install codecs.

mpv, and mplayer before it, has always been better for me and I find VLC to be pretty shoddy. But when it comes to people like my mom, I don't hesitate to sing praise for VLC. In that context, VLC is the greatest thing since sliced bread and I don't muddy the waters by even mentioning mpv.
In definitions, it is common to use "if" even though "if and only if" is meant
The chart is dumb (the axes badly labelled).
It's a power-law graph (used to explain the Pareto principle).
I think the message is that a large percentage of interventions are not cost-effective, and only a small number are.
Arguably 99.99999% of all art is pure and steaming crap, the vast majority of which gets pinched off and discarded down the toilet of obscurity before anyone but the creator of that particular crap has a chance to see / hear / taste / feel / smell it.

Of what actually makes it out into public view as “art”, I’d say way less than 90% is, actually, crap.
Of course, because the managers have no idea about the cost-benefit tradeoffs of such a technical decision.
Login to azure portal. You should see a similar message that redirects you to the relevant resource
https://en.wikipedia.org/wiki/National_Anti-Fraud_Center

APK - https://apkpure.com/cn/guo-jia-fan-zha-zhong-xin/com.hicoren...
The brain creates three copies for a single memory
> because making solutions is a lot of work!

Imagine how much more work it is to try to solve these exercises then. Exponentially more than creating solutions for someone who already mastered this topic. This tells me a lot about how a teacher thinks of students.
If they answer is "you don't need my permission", that is permission. Then, and in any circumstance like it in the future.

When it fails, the underling can say "boss said I don't need to ask permission for that", and it appropriately falls upon the boss instead.

I would never say that except in extremely simple circumstances. Anyone asking permission is unsure, and you should help them be sure.
It's a (romantic if not logical) shame that my usual sources have full scans for 1872, but not for the edition(s) containing Versuch einer Selbstkritik.
> why is it the sole responsibility of the company to pay the cost of rectification?

It isn't - it's the company's responsibility to pass the cost to the customer.
Discord runs Powershell on load to find Nvidia binaries
This is S tier software. I remember using this on a laptop with 2gb RAM years ago. The combo of mpv and youtube-dl could deal with large number of sites (not just youtube), when even the browser struggled.
Enjoy, it’s still one of my favorites: https://github.com/sergiou87/open-supaplex
Good. Doesn't prevent it from using (not selling) in your company.
In medicine/surgery, 'invasive' is a bit of a term of art, meaning that implements physically enter the body. 'keyhole surgery' (a small incision with a scope and tiny tooling pushed through) for example is often described as 'minimally invasive'.
Of course he has a right to say his opinion. And this doesn't even count as "complaining".
From a Blockbuster shareholder perspective, that would be good. From a user perspective, streaming is nothing like video rental and I don't see why we should expect them to be the same company. Why should a rental company that pivots to streaming be better for overall society than a native streaming company (which Netflix isn't, I note).
Is that still the case though? I use plus addressing everywhere and works fine for me so far.

I haven't had issues with it in many years.
I think youtube-dl is no longer under development. Any suggestions for an alternative?
I would welcome less typing, more decision making. I don't think that world is anywhere close (and I'm already using Aider and Plandex for development). But yeah, I believe in a couple of decades we're likely going to do this whole thing in a very different way.
What commercial video player do you use which is better than both mpv and VLC?
> actively omit subtitle languages that aren't "relevant" to your geolocation. I cannot respect a service like that.

This may also be due to legal issues / restrictions in the contract they had with that content's right holders or subtitles providers.
"kill" is not a good metaphor in tech/markets, because established things and companies actually goes away.
"Dethrone" is better, as the newer thing at some point becomes equal, and then dominant. But the old still exists, potentially staying in terms of absolute market value, but minority in terms of relative market value.

During the lifetime of Google: mobile has dethroned PC, video streaming has dethroned TV, SaaS over pay-once software, online advertising over physical, etc. Google has been a force in all of these (and more) - though not alone of course.
I am on mobile, so cannot really link GitHub for examples, but I'd recommend anyone considering using VM over Prometheus to take a cursory look into how similar things are implemented in both projects, and what shortcuts were made in the name of getting "better performance".

Performance-wise e.g. VictoriaMetrics' prometheus-benchmark only covered instant queries without look back for example the last time I checked.

Regarding FUD marketing: All Prometheus community channels (mailing lists, StackOverflow, Reddit, GitHub, etc.) are full of VM devs pushing VM, bashing everything from the ecosystem without mentioning any of the tradeoffs. I am also not aware of VictoriaMetrics giving back anything to the Prometheus ecosystem (can you maybe link some examples if I am wrong?) which is a very similar to Microsoft's embrace, extend, and extinguish strategy.
As per recent actual examples, here's a 2 submission of the same post bashing project in the ecosystem: https://news.ycombinator.com/item?id=40838531, https://news.ycombinator.com/item?id=39391208, but it's really hard to avoid all the rest in the places mentioned above.
I had a an accounting class in college and cash flow never clicked.

I get the examples, especially the restaurant one.

But I don’t blame anyone for not being able to play cash flow games.
Android definitely has fine grained permissions. In fact my phone asks me each time a new app wants to use my location. Interestingly enough, I don't recall seeing a location prompt for Google's services
iPhone-recorded Dolby Vision videos uses an additional metadata called "Ambient Viewing Environment", and I don't think any third-party player supports it at the moment.

https://developer.apple.com/documentation/technotes/tn3145-h...
I'm always impressed by the "straightedge-and-compass"-flavoured techniques drafters of old used to rotate views of odd 3D shapes from pairs of 2D schematics, in the centuries before CAD software.

https://en.wikipedia.org/wiki/Descriptive_geometry#Finding_t...

https://en.wikipedia.org/wiki/Gaspard_Monge#1789_and_after
You're right of course. I was thinking that human languages change naturally while in use.
Visa enables the fraud with their insecure payment system, then place the blame on merchants with chargeback fees.
Imagine a SWE-AI being managed by story points and sprints which are also put in place by a Scrum-AI …
My advice would have been not to write this blog post. If the author had asked for my permission I would have said "please, no."

I don't see anything wrong with checking with people to see if they have an objection. It is in NO way disrespectful, and strikes me as bizarre to suggest otherwise.

Posts like this seem to be written from a philosophy of anxiety about ever saying or doing the wrong thing, and then proceed to problematize ordinary behavior, which only creates MORE opportunity to say the wrong thing. How about this: don't worry about it! Ask advice, ask permission, whatever. It'll be okay.
Don't know. Last time I experienced problems was when entering a family members gmail address with a plus sign to share my newspaper subscription. They could not use it and I could not remove it... That was about 5 years ago. Have been burned too often, don't try it anymore.
Animated gradient over a live video feed
> Your missing the point: this was a solved problem 40 years ago and Tesla has decided to reinvent what works, for less capacity, with a far more difficult problem to solve and it’s somehow better?

I never said it was or wasn't unsolved. I also agree with that, and I do not understand how you could confuse what I've said as some sort of approval for Tesla. Like, I didn't say it was unsolved, just that it's a difficult problem. I didn't say their approach was good. And I sure didn't say it's better!

> You called it not metro, other people in this thread are calling it a metro and it “will be better then a metro

What? Okay? What's that got to do with me?

Like for real, you're just making stuff up in your head and getting mad at me over it, and I don't see a point of continuing this conversation if YOU'RE going to keep doing it.
Because: why not?
Tim Peters, author of the Zen, has been humiliated and banned recently. Barry Warsaw was responsible for brutal earlier Steering Council overreach.
Yeah, that's frequent card creation cause in our systems.

Relatively junior (e.g. graduated less than a year ago) engineer is tasked to make a List of Rooms. They write some EF, despite an actual formal course on SQL none of them seems to know the first thing about databases, but they can figure out EF apparently, the EF gives them a list of Rooms and it appears (at a glance) to be right so they commit their work and this ships to our users.

The people using the software ask why "8340B" is between "8340D" and "8340E" and the technical answer is "During database changes a year ago, the underlying data was reordered and that's where this record is" but that's not what they mean, they mean "Why didn't you idiots sort the data?" and the answer is well, junior engineer.

Of course with a layer of people to decide requirements by the time the card is in my next item pile it doesn't say "Just sort the EF query" - now it's about how we need to adjust the column widths, change to a new colour scheme, and add a checkbox nobody will use... oh, but also can this list be sorted ? So there's an excellent chance if another junior engineer takes that card the sorting gets overlooked and the users assume we can't (rather than don't) fix it.
Would the customer still agree to that 3% discount, after their computer got infected with a virus and 100% of their money was irrevocably gone?
The reason merchants don't pass fees onto credit card customers only is that the credit card network prohibits them from doing so. If they were to charge a credit card fee, they'd get banned from processing credit cards at all.
youtube-dl is still under development (last commit at the time of writing was 2 weeks ago), but there are forks with more features, such as yt-dlp.[1]

[1] https://github.com/yt-dlp/yt-dlp
At least you can login. Alipay in China has (or had, it's been a while) a max length of about 16 characters for your full name, but when linking to your bank account it compares with the whole string, so any name longer than 16 characters will always return false.
yt-dlp[1] has now taken on that mantle. I think mpv nowadays just recognises yt-dlp as the de facto alternative, but if yours doesn't then you can just put this in your mpv.conf:

script-opts=ytdl_hook-ytdl_path=yt-dlp

[1] https://github.com/yt-dlp/yt-dlp
"Strikingly, up to 80% of individuals diagnosed with ASD are male, suggesting sex-specific neurodevelopment underlies this condition."

There's also a suggestion that women have more social pressure/conditioning to act a certain way and thus are more efficient at an early age at "masking" symptoms of ASD and less likely to get an opportunity to be tested. Maybe there can be multiple suggestions though (yes, rtfad).
Delphi is leagues better and still supported
I wonder: Is this why vlc delays for 5 to 10 seconds every time I use the "skip backward" functionality on my iPad, where other players don't have that delay?
> cringy ask to “let us know if you think of any other features you might like”

One of the worst examples I've seen is trillion-dollar corporations like Microsoft basically putting new features to the popular vote.

You can buy from them a cloud service to the tune of a million dollars a month, but if you notice a bug, they tell you to go try and drum up votes from other users on some public forum.

It's insane, to the point where you can point out that their own product A doesn't work with their own product B where literally the only purpose of A and B is to be used in combination and they'll go tell you to upvote a "suggestion" to fix it.

The hilarity of this is that votes (or customer opinions) are hugely biased when sampled like this. If a new product isn't out of beta yet, it has very few users to vote on its features. If a some subset of a product just doesn't work, then users ignore it and then it effectively zero users, so zero votes on its issues.

Potential users cast no votes.
It breaks on suspend-to-memory for my system with a nVIDIA GPU. I assume that's a driver problem, though.
I was merely pointing out the reality of the situation. Significant penalties generally only come about as a result of prominent cases of substantial harm being inflicted in a way where the causality is not in doubt. People like us here holding companies to higher standards by itself doesn't have that effect. I'm not saying that we shouldn't hold them to higher standards — I certainly do — just that realistically much more will have to happen.

It's similar with climate change. It's just a fact of the matter that people at scale only react as actual consequences become palpable.
Show HN: A free, opensource, pair programmer and smart code debugger
AI powered CLI tool that converts human language into command-line instructions, analyzes and debugs code, offers programming hints, and provides an interactive, styled interface.
I worked at blockbuster. Sure, we had the wall of new releases and occasional promotions, but the rest of the store was organized quite simply. First by genre, then alphabetically. You could opt into curation, but it wasn’t the majority of the store.
I see VLC as the swiss army knife that can play anything you throw at it, no matter how weird. I see mpv as a more streamlined, less abstract implementation that supports many fewer options, but can contain special-case code paths for hardware acceleration, for example. Hardware-accelerated playback on my Raspberry Pi 3 works out of the box with mpv but requires some special trick or doesn't work at all in vlc. I assume mpv's design allows it to contain a special-case code path when you happen to be playing something compatible with a Raspberry Pi's GPU on a Raspberry Pi.
Battle between US and China over future of Mao's secretary's diary
Show HN: I Built an AI That Matches Perfumes with Their Closest Twins
Hey HN!

Ever wondered if there’s a fragrance out there that smells just like your favorite but from a completely different brand?

That’s what got me thinking, and after a weekend of deep work, I created DupeFinderAI.

What It Does:

DupeFinderAI is an AI-powered tool that scans and compares thousands of perfumes, identifying those that share nearly identical notes and aromas.

Whether you're curious about scent similarities or just love discovering new perfumes, this tool has you covered.

How I Built It:

- Scraped data from 40,000+ perfumes over a weekend
- Used that data to train the AI on recognizing fragrance profiles
- Focused on making the experience smooth and intuitive

Why It’s Cool:

Finds "scent twins" across different brands
Helps you explore new fragrances based on ones you already love
Could even be useful for perfumers and fragrance enthusiasts alike

I’d love to hear your feedback, ideas, and any thoughts on how to improve it! Check it out and let me know what you think.
Speak for yourself. I would much rather have a buggy feature than no feature at all.
Ask HN: Service that ensures policy compliance for Apps
I have seen various posts where services on Play Store or Apple's App Store are removed from listing or stripped of their revenue stating violation of their policy.
Is there a market for a service that ensures your builds are compliant? or Is this a tarpit idea?
Well it's not quite sentencing people to death for blasphemy, but you've got to walk before you run I guess.

Perhaps "failed state" just takes a while to bake.
Well, the recent US claim of national ownership of the Artic seabed and Bering sea in contravention of long-established conventions of UNCLOS is even more imperialistic. But, hey, its OK when Americans do it.

https://www.bloomberg.com/news/articles/2023-12-22/us-claims...

https://www.idsa.in/idsacomments/Assessing-US-Extended-Conti...
cool dissection, thanks
Bit late to the party, but I can warmly recommend "Discrete mathematics with applications" by Susanna Epp. There are a couple of books with similar titles, but the ones by Epp are amazingly well written. An incredible amount of care and attention to detail went into this textbook, and it shows. Excellent for self study.

The Math Sorcerer did a video on an older edition, which is just a lovely ode to the book, the man is in love. https://www.youtube.com/watch?v=FPr5-X9nZc4
These media copy protection schemes remind me of web application firewalls. They're both digital snake oil, but huge corporations keep buying them.

It's absurd that I have a Netflix subscription, but the easiest way to watch Netflix 4K content on my PC is to just download it from a bay filled with pirates.
Out of Spirit; Music https://youtu.be/QLodkaDHn4g?t=23
In case you haven't realized yet, a hash table that maintains the insertion order can be still do O(1) deletes as long as the key order doesn't change arbitrarily after the initial insertion.
Given the high scores, I guess it was an easy one. I've taken the longer one, and got the following

> You scored 28/100. The best language model, gpt-4, scored 32/100. The unigram model, which just picks the most common word without reading the prompt, scored 28/100.

Assuming complexity averages out on N=100, small test with LLM score above ~5 is "easy"
So as I understand you play these games with cash flow but ultimately the objective eventually is to still turn that into profit. After you've grown your company for several decades at aome point you stop growing and you start milking it. Similarly you want to accumulate float as a restaurant to prepay your suppliers to get better prices and hence more profit.
But under that argument, any art that has ever earned money (such as a movie or song that sold a single copy, or a video that earned a single penny of advertising revenue, or a busker who gets given a few quid) has value.

And in many cases the value of of a piece of art is not about the quality of the artwork itself, but the perception of it's value. I wonder how many people would genuinely want a Picasso in their home if he was an unknown artist and it had no financial value or bragging rights?

But if you only value art by jow profitable it is, that seems to be completely different the point the article is trying to make about quality. And you'd probably come to the conclusion that Mickey Mouse or Pokémon is the epitome of art, which I suspect many would disagree with.
The paper I have mentioned can be found here https://arxiv.org/pdf/2206.09787

There are so many things that have only been invented in the last couple of years like RINS, MCF cuts, conflict analysis, symmetry detection, dynamic search,... (see e.g. Tobias Achterberg's line of work).

On the other hand, hardware improvements were not as relevant for LP and MILP solvers as one would expect: For instance, as of now there is still no solver that really uses GPU compute (though people are working on that). The reason is that parallelization of simplex solvers is quite though since the algorithm is inherently sequential (it's a descend over simplex vertices) and the actual linear algebra is very sparse (if not entirely matrix free). You can do some things like lookahead for better pricing or row/column generation approaches, but you have to be very careful in that (interior point methods are arguably nicer to parallelize but in many cases have a penalty in performance compared to simplex).

MILP/MINLP solvers are much nicer to parallelize at first glance since you can parallelize across branches in the branch-and-bound, but in practice that is also pretty hard: Moderns solvers are so efficient that it can easily happen that you spend a lot of compute exploring a branch that is quickly proven to be unncessary to explore by a different branch (e.g. SCIP, the fastest open-source MINLP solver is completely single threaded and still _somewhat_ competetive). This means that a lot of the algorithmic improvements are hidden inside the parallelization improvements. I.e. a lot of time has been spent on the question of "What do we have to do to parallelize the solver without just wasting the additional threads".
That's not remotely similar to any of the established definitions.

Those tends to be based on variants of democracy being "institutions that enable a peaceful transfer of power". This usually includes the so called democratic freedoms, overseeing journalists, and a non-politicized judicial system.

Every practicing democracy however includes some exceptions for law and intelligence services, as that is required to uphold the system in times of uprisings and uncertainty. Advocating genocide or revolting against the democratic institutions is not considered within the bounds of democracy anywhere.