skysight-inc/HackerNews huggingface dataset:
> I always saw VLC as subpar. A typical case of software that's just trying to copy what the pioneers do.

What pioneer is/was VLC trying to copy? Media Player Classic? Windows Media Player? Before VLC, the ecosystem of video players was a mess, and if you came across a format you didn't already had installed codecs for, chances were you couldn't play that file. But VLC always could play it, no matter what file, as long as it said it was a video file.

> However, it never pushed the envelope in terms of codecs

VLC literally took over the world because you could install VLC and VLC only, and stop having to care about codecs at all, at the time at least. Maybe today it's different, because the ideas of VLC already spread, but at the time, things were different.

I personally use mpv most of the times today, but when I got started with computers and didn't understand as much as I do now, installing codecs to be able to view some video I just downloaded was a pretty confusing task. CCCP (Combined Community Codec Pack) for MPC helped a lot, but to even get to that point took some time.
> I actually don’t have a problem with this because just because it looked good conceptually, doesn’t me it is going to look good before going live.

That's perfectly fine. That's also not the case, though. The case in question is that when asked to review a design your assessment is that it's perfect, but only when the project comes to fruition you suddenly somehow have a series of epiphanies on how there's all sorts of problems with the design and how if you were tasked or even asked to design something you would never ever made those mistakes. That's a little different than stumbling upon emergent requirements. That's backstabbing plain and simple.
Hell, I've been a neet since graduating high school since I collect SSI and was disabled before I turned 18/21. Just the thought of entering the workforce makes me ill. Everything is so messed up. I'll stay like this as long as I can. $12,384 a year is quite easy to live off of.
It's not. The title is ambiguous. You're used to read headlines in a "headline tone" and you know/assume the meaning because you internalised the fact that magnesium is not bad for you, which is correct. If someone knows perfect English, but doesn't take that fact as axiomatic, the title is ambiguous.
My understanding (which may be incorrect) is this:

On the login page of the web version of Discord, you have the option to log in in two ways: either by using a username/password combination, or by scanning a QR code with the Discord app on your mobile.

The QR code is linked to your desktop session, and scanning the QR code with a mobile device will cause Discord to authenticate the desktop session with the credentials stored on the mobile.

Thus, if the attackers take one of the QR codes from their own desktop session and give it to you, scanning it will authenticate their desktop session with your credentials.

The QR codes have a rotating code that's meant to prevent old QR codes from being used, but that only means that the attackers just need to re-request the QR code every so often and show the new one.
So, you use DB row locks as a shared mutex? Am I reading that right? You created a centralized mutex service that your services use to share state with the cunning use of DB row locks.
I agree that politics shouldn't be in software, but this is not exactly that. The issue is more about security. China has already been caught planting malware into open source. Russia could attempt the same.
> But my staff was composed of sober, highly-experienced engineers. I don’t think it would work for a team of youngsters.

That's the key difference. The ideas of highly-experienced, sober engineers will be high-quality, and most of all, sober.

The ideas of a team of youngsters are almost guaranteed to be...less sober.
The language is old, the JVM is not. As a human i am happy that my language is well understood, independent of how old i am. I can express myself, and thats what counts. From time to time we get new words. But i do not have to ditch the old stuff. Is it not astounding how old many of the programming languages have become?
Ex-Zodiac is another Star Fox inspired game that was released on Steam with big chunky pixels.
It comes with the option to disable the pixel filter to simply play with a clean low poly aesthetic.
I find the big pixels to be extremely tiring after only a few minutes, so I find this option to be a game-changer (pun intended).

Typing this I remembered "A short Hike" similarly had the option to disable it and I also preferred it disabled. It wasn't as important as it is slower paced though.
How is that screwing someone over? Maybe the company said that because the candidate was slightly underqualified for the role, and they would only hire if they felt like they were getting a deal and not taking too much risk. The low ball offer is better than a no. If I was being hired like that, I might view it as a foot in the door to prove how valuable I am. Besides you can always keep interviewing after you're hired to find better offers. Even if you don't take them, it'll give you more bargaining power.
I would say at least for mental health reasons. From personal experience and accounts of others, if you have nothing to work towards and you are not forced to go out and socialise, you will just get depressed after a while.

Now if you are a NEET with a healthy social life and fulfilling hobbies, that may work but I would hazard a guess that this is the exception, not the norm.
Editing fetal genomes is on the horizon
Your experience reminds me of how Google just cancels products, instead of figuring out some way to spin them out. Like maybe pass a product over to Google Ventures. Or set up an incubator.

eg I'm certain that Google Inbox could have been a decent modest company on its own.

I learned from reading u/patio11 that there's a market for buying and selling small businesses. Is it weird that nothing like that has popped up for VCs/investors who want to divest from their non-unicorn companies?
CCCP – Combined Community Codec Pack
And did you update it again a few days later when they changed their opening hours?

Google - a real person - calls every week to update.
I hope you know that while it's true what you say, the effects last for as little as two hours.

You can eat black beans for one meal and your next meal won't be affected.
Huh? The ways to be cash flow positive but unprofitable are borrowing/investors putting money in, depreciation adjustments, or growing accounts payable. All of which eventually stop.
What I hated that time was exposure of the CRTs to magnetic fields while shipment.
I remember I got some of them with a display like total crap then I had to travel back for replacement.. newer CRTs had degaussing built-in BTW
The most interesting point to me was the recognition that a digital copy isn’t enough, because the threat of manipulation is too high for muddying the waters.

Also the bit about the lost history burned during the cultural revolution. The winner and decide the history, this is an interesting outlier to that (for now).
For a long time google had cachet as the most engineering friendly big tech firm (which was mostly deserved) and also the place with the highest level of talent (which is more team dependent but also somewhat deserved). You might end up working on ads or some other inane thing, but at least your engineer coworkers would be really good. They're still riding that wave to some degree because they haven't scared away all their top talent yet.
Other than features specific to a given browser—-which seem to be more uncommon as a user than as a developer—-how can browsers lock you in in anywhere near the way a standalone application can?
OT: how come there are so many OCaml posts recently? Genuinely curious!
It's too easy to hide wealth so you'd need to choose some other metric such as private jet rides, then have some kind of lottery.
Client tells techie:You're not leaving the country until this printer is working
My under sink cabinet is a mess. For me, I have no idea if someone is my last tube or just that another one is hiding. This way at least if the different tube is the only one I've found within a reasonable time, there is a high probability that it's the last one. Similar to the classic probability example of marbles in bags.
Why are they turning the phones off then placing them in a Faraday bag? I've only heard this before when someone is trying to subvert surveillance.
I am very confused by this article. Is it trying to explain the equivalent of PayPal `PAYMENT.CAPTURE.COMPLETED` webhook? Also, why is this such a problem for Airbnb since they don't have to settle immediately (it's not like someone is withdrawing crypto). If the payment failed, Airbnb has probably ample time to revert the booking (as most bookings happens days if not weeks in advance).
That's not really a CS [1]-specific tool, though, that's just a good practice in general.

[1] Computer Science
> Do you mind sharing a concrete example?

If you're interested on the topic, you can start by reading up on "disagree and commit".

To weed out sociopaths, Amazon even went to the extent of coining their leadership principle "have backbone - disagree and commit". The emphasis on having backbone underlines how they explicitly target people throwing others under the bus.
IntelliJ Ultimate is a steal. It is less that my spotify abonnement. It is time for them to increase prizes.
I would throw this into the mix. No new CRTs have been made in a very very very long time. The plastics on any of them are much more brittle than when they were new. Shipping one today will be way harder than shipping one when they were new.
Unfortunately not just my opinion. See for instance https://www.svt.se/nyheter/granskning/ug/unga-om-hart-sex-st...

I don't doubt that it has been done before, and I think consenting adults should be able to do nearly everything. But by children and young adults as part of their first sexual experiences? That's a bad trend.
old but gold use it on the regular. Only thing that could be improved is an option for someone receiving the file to open it up on a website. file.pizza used to do this
> this person has never programmed on windows in their lives

https://nitter.poast.org/da_wamwoowam/status/182487490957266...

How about some fucking empathy? Yes, maybe the dev isn't a windows expert, but I'd guess most devs aren't. Most people don't have the luxury of pulling in a specialist to do every little feature, nor the luxury to do a deep dive to figure the absolute correct way. Such is the reality of (commercial) software development. I don't think we need to have snarky attacks on the front page of HN for that.
>The python dict implementation is actually extremely optimized, and used in very critical hot paths throughout the interpreter and object model (for example, ``object.__dict__``). Additionally, python dicts (in cpython) are implemented in C, so any "slowness" there is going to be the result of the python code written to use the dictionary, and not the dict itself.

Yes. Raymond Hettinger has one or more videos on YouTube titled something like "Python dictionaries" or "Modern Python dictionaries" that talk about the optimisations done on them.
Disenshittify or Die (Defcon Talk from Cory Doctorow)
You are implying that the drone noise you heard is the same as an Amazon drone’s noise. That is not necessarily true. It’s possible that the Amazon drones are quieter than the drone from your “asshole neighbor”.

You can’t logically compare the sound of two different drones to arrive at your conclusion of “all drones = bad”.
As David Cameron once famously said, “too many tweets make a twat”
Calorie-cutting mice still exercise, challenging exercise-energy belief
The vendor tells us that Tyche is supposedly derived from their existing carbonite satellites.

The carbonite product page broadly lines up with the claimed specs (~5km swath, ~1m resolution). At the claimed orbit (500km), a ~0.5m aperture (see "washing machine sized") is diffraction limited at about 0.7m, so there doesn't appear to be too too much wiggle room.

Side note - carbonite doesn't just do imagery - it does video too (https://www.youtube.com/watch?v=Sf_zd9MvW44).

https://www.sstl.co.uk/space-portfolio/missions-in-build/202...

https://www.sstl.co.uk/getmedia/b38389d7-cb07-4308-944a-a916...
> scp or rsync or sftp

All of them require an account on the other machine and aren't really suitable for quick transfer one-off file transfer from one computer to another that you don't own.

If I have a direct network connection I tend to go with:

python3 -m http.server

or

tar ...| nc

Neither of which is great, but at least you'll find them on many machines already preinstalled.
Life is not just about working non stop. I spend more time doing nothing (dreaming/sleeping/watching nature)
Because "freeloading with parents" has poor long-term prospects, and "hasn't held a job for years" looks really bad, on a young man's resume?
> It was stable for any one run :D

Not even that, because if you iterate multiple times you get random order in each different iteration:

package main

func main() {
m := map[string]bool{"foo": true, "bar": false, "baz": true, "qux": false, "quux": true}

for range 5 {
for k := range m {
println(k)
}
println()
}
}

$ go run ./main.go
bar
baz
qux
quux
foo

foo
bar
baz
qux
quux

qux
quux
foo
bar
baz

baz
qux
quux
foo
bar

quux
foo
bar
baz
qux

> You say you don't care about order, but then you clarify that you do want them to be stable between runs.

Being stable between runs doesn't mean I want a specific order. Slightly different things.

> Those are not the same thing. To a computer without judgement, any order is fine. The first run is somehow blessed by you, so any runs after seem off or weird. If it didn't actually matter to a computer, it wouldn't care if it was different each run.

If you want to argue about how computers work, remember that computers are bad at doing random things, this is why they need special hardware to do so.

The fact that Go goes as far to actually randomise each iteration is the surprising thing here, making iteration unstable, and not the fact that iterating between hash maps values are random.
In the paradox of intolerance, Popper was writing about violence, not anti-establishment speech.

Known for his critical rationalism and vehement opposition to authoritarianism, Popper would probably be spinning in his grave if he knew that his essay is cited as a token every time someone is persecuted for posting the wrong kind of tweet.
Yeah, let's only do defensive programming in the places where it will actually end up being needed. Brilliant idea! In the same vein, let's only write tests for the places where bugs will actually be.

This insight of yours cannot help but save on costs. Be sure to suggest it to management.
So you’re saying that companies that are growing close offices?
Google Translate has been using LLMs for the last 6 years and nobody seems to have an issue with that. Or what about YouTube automatic captions?
And the rest of the world hasn’t gotten the memo. Rotating passwords was best practice for so long that every standard required it. Those haven’t been updated. Until it’s considered to be actively harmful and you fail audits for it, it won’t die. :(
I suppose in this system you could white list such things. It would be a box to click when it directs you through the Auth process. I guess you could directly implement this in stuff like Norway's bank id system.
Yeah.... I don't care if other people have plaque on their teeth, I can't see it anyway. But if they reek, that's nasty.
The point I was trying to make (probably made a bad job at it) is that there is more than one bad actor in the Pacific and the person I replied to only blames one side.

Sure, the US has their bases there (many since WW2), but we can't blame the US alone when we also have China making threats and claims that scare the heck out of other countries. The US doesn't need to move a finger to have Taiwan or Philippines on their side... these countries know what they're up against and will, for obvious reasons, want to have a "big guy" on their side.

In a few years China will not only have US bases around them, but also a handful of countries that won't side with them on anything. And that's how the next version of the "Pacific NATO" will be created... the US will of course take advantage of it, but it could not exist without a China that makes overreaching claims, threats, and their huge military.
Redis runtime now available on Metatype
Those rules sound more like they were developed by admins that don't know proper security and so they add complicated rules to feel like they are improving security.

The only password rule that needs to exist is "use something you've never used before". That really does make it difficult for most users though.
Just like the original comment praising Spring, too. It's always the developers. Whether you use one framework or another or nothing.
No need to burden ever smaller generations with the previous childless. If one can no longer care for themself and can't find/buy someone else to do it, there should be a clean euthanasia path open. At least I wish that it will be open to me.
> it has all kinds of special snowflake behaviors too like alt+f4 just closes it instead of sending it to the tray (while clicking x does close it)

Did you type this wrongly? Closing the app is a normal Windows behaviour for both Alt-F4 and clicking the X.

[edit: Parent edited their comment to say the correct thing - this comment doesn't apply any longer!]
My bank password is 5 digits + MFA. I am FORCED to have it 5 digits. I can’t use any other type of passwords with them.
Needs (2012) in the submission title
Comic writer gets stuck in a hole and Twitter saves him (2015)
I dunno if it’s just me, but I would never buy a monitoring solution from a company that has to ask a web forum this kind of question.

If you’re building a product from scratch you must have some kind of vision based on deficiencies in existing solutions that are motivating you to build a new product, right?
> Ghost is my soulmate. As a OSS maintainer, I feel that.

You also close issues without even trying to understand what they’re about?

https://github.com/mpv-player/mpv/issues/177#issuecomment-29...

https://github.com/mpv-player/mpv/issues/177#issuecomment-62...

> some random dude coming to my repos expecting I implement whatever they ask, or else be called a dick.

If that’s what you took from that discussion, I sincerely recommend you take a break. You may be experiencing burnout. It’s of course your choice to not implement something you don’t want in your project, but let’s not pretend everyone making a request, especially people who have shown research are dicks out to get you.

I tell you this as fellow open-source maintainer. I’ve learned over the years that if people opening issues are a frequent source of frustration, the first step is to investigate how I can make that less of an issue (e.g. using a GitHub template that forces a specific kind of action) and secondly realise that I need some distance and to relax. When you feel like everyone is an asshole, it’s probably just you.

By the way, that maintainer in particularly was known for lashing out at the smallest things and being rude unprovoked. Perhaps consider reading more of the history before calling them your soulmate.
I'm explaining why I have had a bad experience with Spring. Spring is the only framework I've used that does weird stuff with annotation-based DI and can silently fail in production by default due to those annotations not being resolved correctly at runtime (heck, even if they can't be resolved at compile-time, please make them fail at startup instead of later!).

I've had other issues with other non-Java frameworks too, but I'm not giving a comprehensive write-up of the pros and cons of every web framework I've ever used here... just pointing out the pain points I had with Spring.

I also didn't mention LOMBOK because that doesn't seem like it's necessarily part of Spring by default but wow did that also prove to be another source of painful bugs.
Show HN: Minecraft-like multiplayer block game in WebGL
As a kid, I started programming because I wanted to make Minecraft mods. I remember trying to make my own block game in C# XNA when I was in primary school, and failing miserably. Now, more than 10 years later, I've finally created my own multiplayer block game, and it runs in the browser :D

I think many people still associate web games with the era of Flash games. However, with technologies such as WebGL and web sockets, you can actually develop something more advanced. The upcoming WebGPU will also be another game changer.

I hope this post would inspire more folks to develop games on the web, as I believe it's a very underrated gaming platform right now. Games on the web do not need to be downloaded, they can run on any device (try the game on mobile!), and it's super easy to build UI with HTML and CSS.

Feel free to ask any questions and let me know what you think!
They're also the cheapest.
We have had this in the US too for at least a decade, people just don't use them, probably because of convenience.
Is it ? I had dozens of monitors and never saw it
Waiting for all of those “security professionals” to flame you that were here a few weeks ago when CS shit the bed lol.
I'm commenting on the proposed implementation of using an array to keep track of insertion order.
Funny how most of the article reads (to me) "back in the days things were done in the obvious way, while now everything is weird". In other words I still program like in the 1980's. :)

CP/M programming is a lot of fun, even these days! I have a growing collection of retro machines running CP/M, my latest compiler has a CP/M backend, and I have even written a book about the design of a CP/M compiler: http://t3x.org/t3x/0/book.html
Why not measure something like CO2 and use that as a proxy?

The logic being that whenever you bring in fresh air, you decrease radon concentration.

And a high CO2 level means you need to bring in fresh air anyway, and you incidentally also reduce radon concentration.

I could be way off here though, happy to learn more on the topic as I don’t have experience with (dealing with) radon.
State of Code Review 2024
I could not find a satisfying way to detect an unusual log, qualitatively (new message) or quantitatively (abnormal amount of occurrences of a given message, neglecting any variable part), and therefore developed a dirty hack and it works quite well for me:
https://gitlab.com/natmaka/jrnmnt
> I’ve certainly had off days reviewing someone’s work and only realised certain feedback later.

It's one thing to get back to the review and say "hey I just noticed something I didn't noticed earlier, and I feel it's important to address."

It's another thing entirely to afterwards accuse the designer of oversight and proceed to claim that the oversight is so glaringly obvious and that you would never have missed it if you were tasked with the design. As if you didn't missed it yourself when you were prompted to give your feedback.
The Rust implementation on Tailscale worked well for me. Except on a layer 7 firewall have to be quick to permit the connection or else it tries fallback.