skysight-inc/HackerNews huggingface dataset:
Yup, that's also why I decided to get good in vim.

I was pretty happy in TextMate at the time, but the popularity tide had turned as he was working on TextMate2. The writing appeared to be on the wall, so I learnt vim properly. Sublime took over, then came Atom, now VSCode. Neovim is home for me now, and that's been a whole other beast to configure, but vim has just been such a stable, efficient environment for me for almost 15 years now.
https://archive.md/W4TZ8
I worked at a company for over ten years mainly for access to their computational infrastructure, source code, and to pick the brains of fellow engineers. By the end I was only there for the money, and that's when I left.
People buy expensive art because it's an exclusive item, and they value the bragging rights it confers to them (generally).

It's different from NFTs, which are just pointers to an item rather than the actual item itself.

But I agree with you that crypto bears some similarity to art/gold/collectibles. However crypto can be spawned out of thin air and these other things can't.

Why would the world settle on using a Blockchain where a few whales hold huge percentages of the coins? People will just invent a new one and standardize on that. If decentralized apps become the new norm.

This would devalue existing blockchains and their tokens greatly. The only ones motivated to stay on a Blockchain with enormous inequality are the few early adopters. The public would create a standard and adopt that in longer run if Blockchain backed decentralized apps are truly the future.
Interesting, thank you. I know nothing of Durkheim, so I looked in the Internet Encyclopedia of Philosophy (a serious source by actual philosophers):

https://iep.utm.edu/durkheim/

> Durkheim’s term for this “froid moral” in which morality breaks down is anomie, a state of deregulation, in which the traditional rules have lost their authority.

That seems like a different meaning. Or am I missing something from the documentary? Is there some sort of anomie in the sense of the IEP quote (which roughly matches the Oxford English Dictionary, which in term cites Durkheim).
Could it be that more ads on the pirate sites mean more Google revenue?
That part is obvious, but it seems like it would only be clearly beneficial for menial or hourly labor.

For work where decision making and creativity are important, you’d expect it to be counterproductive.
This paper inspired another fun followup: "Could a Neuroscientist Understand a Microprocessor?" [0] The authors investigated a 6502 running Atari games using popular neuroscience methods, finding things like transistors that are uniquely necessary to run Space Invaders, but, of course, never getting close to an actual understanding of how the processor functions. It really highlights how even with the huge amounts of data we are able to get from biological systems now, there's still a lot of information we paradigmatically can't understand.

[0]: https://journals.plos.org/ploscompbiol/article?id=10.1371/jo...
I'm not like, broadly familiar with community service as a punishment across the globe, cultures, and time, but the way I'm familiar with is a mandate of X hours and its on you to find a place to volunteer and get them to sign off. So its not like the court told them to do this particular act of penance, which yes would strain credulity, it was self selected.
If you bought every BTC you'd have a monopoly on .... what exactly?

But if you bought every share of TSLA or AAPL you could at least make the company do something.
You have to admit it’s amusing how public sentiment of block chain mirrors the price trajectory.
It depends how twitter is organizing the replies or the device you use. Sometimes twitter arranges comments by newest first but other times it sorts them seemingly randomly. It used to be that verified accounts would always rank high, but then 2019-2020 twitter changed it so that they don't automatically get a ranking boost.
Thanks for pointing this out! I already see Typesense listed there.
It's easy to have standardized setups, even immutable and rollbackable ones. What isn't so easy is troubleshooting when things go wrong, especially with many moving parts.

It's better to have a simpler, dumber system due to less things that can go wrong.

Do you have a particular thing for which you'd like "sysadmin in a box"?
People don't wear seat belts because they've thought to themselves, "I could be injured and therefore less capable if I don't wear a seat belt." They wear a seat belt because they (very rationally) fear death or serious injury. It's interesting that some folks have such a stigma about admitting fear, though. It's like the people who insist that advertising has no effect on them, just all those other weaklings.
Yeah, I made it to do my chemistry homework where a lot of problems were duplicated with different numbers. The truth is that it's not well tested outside of that though so it's hard to trust for complicated stuff. I might end up using yours :)
Text messages from HMRC's 60886 number could snoop on Brit taxpayers' locations
I fully expect devs to drag their feet.

This happens with every transition in Apple history. It takes pulling the rug out completely before many devs will do it

Look at the Python transition, the carbon to cocoa transition, even the original Rosetta transition.
Sure, but your reply to Jcbrand was dismissive of the idea that there is any value to thinking ahead. Jcbrand was not advocating 'thinking about 100 different rules about "best practices"', only that it is useful to try to work out the consequences of the choices you make, in advance of those consequences being revealed to you by failed tests (or failures in use.)

I have no idea why there is a large (or at least vocal) community of developers whose dogma seems to be that thinking things through is a waste of time (though maybe it is just an overreaction to the equally dogmatic clean coders and similar prescriptivists.)
Quarkus and Mutiny
This thing has "investors", but it doesn't have fiduciary duties to disclose material risks to said investors? Risks such as "our co-founder is a serial fraudster"?

I don't understand how regulators have collectively dropped the ball so hard on this.
Yep, humans are really good at rationalizing decisions made for other reasons. I'm sure the people doing that have convinced themselves that it's totally ethical because they're "saving lives" (using some twisted definition of "save")
> I enjoyed and found thought-provoking his replacement of the cliche "agony and the ecstasy" by "anomie and the ecstasy"

Ha. I didn't catch that (though I still think anomie doesn't make sense there - see the other subthread).
I know this is days late but I don't understand how you can say the voyage was a failure? They hobbled back home for sure, but they made it!
you must type slow ... because I can type it in under half the time you claim it took you to speak it
I use "wake me up in x minutes". Siri always understands that 100%.

So to set a kitchen timer: "wake me up in 11 minutes"
I think Cosmopolitan[1] is a beautiful example for self-modifying executables.

> Cosmopolitan Libc makes C a build-once run-anywhere language, like Java, except it doesn't need an interpreter or virtual machine. Instead, it reconfigures stock GCC and Clang to output a POSIX-approved polyglot format that runs natively on Linux + Mac + Windows + FreeBSD + OpenBSD + NetBSD + BIOS with the best possible performance and the tiniest footprint imaginable.

> Please note that your APE binary will assimilate itself as a conventional resident of your platform after the first run, so it can be fast and efficient for subsequent executions.

[1] https://github.com/jart/cosmopolitan
Traffic Bugs (2007)
In blow to telecoms, California’s net neutrality law upheld
Australian metadata laws. Truly draconian.
In case anyone's wondering what Haggis tastes like - if you like pâté you will love Haggis. It gets is taste from liver, and it's bulk from oats. Like many good novel dishes it made palatable cheap food sources that were usually discarded, so don't ask what the rest is.
Hi, I'm at LaunchDarkly, a commercial feature flag service. I'll explain how our flags work, which is different from more traditional implementations.

But first, as mentioned elsewhere, using a feature flag in code _usually_ looks something like...

flagValue = getFlag(FLAG_NAME, user_context)
if (flagValue == true)
... do the thing
else
... do the other thing

So, a couple of those traditional implementations:

1. Environment variables: Good for fast checking; no I/O needed. But if you need to flip a flag, your code won't pick up that change without restarting, maybe even redeploying. Many uses for flags, such as user enablements and kill switches, rely on flag changes being picked up immediately. Plus, this has no targeting capabilities: if a flag is on or off, it's on or off for _everyone_.

2. Request on demand: You store the flags in a database or other external system, then fetch the value when the code evaluates it. This means that flag changes get picked up without restarts, at the cost of blocking I/O. So, the more flags you have, the worse your performance gets. Not great. But if you send the user_context with the flag request, your flag service can do targeting (different flag values for different users)

3. Background polling: Similar to request on demand, except that you keep an in-memory cache so that flag evaluation happens instantly, and that cache is kept up to date with a background thread that periodically checks the flag service. Better performance than request on demand, but updates have more latency. Increasing the poll rate reduces latency at the cost of load on the flag service. Also, the cache will presumably only cache the flag value for the current user, unless you want to build a rule engine which runs locally.

Here's how LaunchDarkly does it:

Our SDK connects at app startup and downloads the flag data. If it's a server-side SDK, that data will include all the targeting rules. (Yes, we built a rule engine that runs locally. It's pretty powerful.[1]) The SDK caches that data so flags can be evaluated for all user contexts without making a request. However, the SDK then keeps a persistent connection open to our server (or a local proxy). When a flag changes, our server pushes the update through that connection, which updates the SDK's cache instantly. At present, flag updates take about 200ms to propagate to SDKs, usually less.

More technical info here: https://docs.launchdarkly.com/sdk/concepts/contributors-guid...

[1] https://docs.launchdarkly.com/sdk/concepts/flag-evaluation-r...
Hey I'm super interested in such sysadmin work if you could describe it here or share it on another channel (email in bio). Many thanks.
"Easy to refactor", AFAIK, can be approximated via LoC within functions and classes; dimensionality of functions; cyclomatic complexity; etc. Those are the metrics; you can produce reasonable and grounded numerical measurements of them.

But, if you were to just optimize for those metrics, I bet you'd run into issues, whereas if you use those metrics as part of your process for determining if it's easy to refactor, then yeah, I'd expect you to be less vulnerable to Goodhart's Law.

"Easy to refactor" is a goal, not a metric; low cyclomatic complexity is a metric, not a goal. IMO.
Obviously, no one should be OK with their child dating someone that is a pedophile. That is obviously child abuse, and call the authorities. I*m not about to let a child be abused, and I find this particular question a strange place to go, since it does seem to be a slippery slope argument.

The only real way a parent would know if someone is a drug dealer is if the parent does drugs, or if their friends have bought or sold to the child. Otherwise, I'm just being judgemental or listening to gossip. If i have suspicions that my child can get in trouble with them, the proper thing to do is to have a discussion with the child. After that, it is their decision.

I don't realistically find any one religion to be that, in general, but again, if it concerns you, talk to your child about your concerns and hope that you aren't being xenophobic instead of reasonable. Same thing with racism: Chances are, you'll just drive a wedge between you and your child.
You are thinking about this too hard, they are just drawings...some of the manga scenes also portray male kids with adult muscles, it's just comical and light to read. The humour is very different. We all got the right to be silly and playful sometimes, why always so serious?
My favorite example of how an alien civilization could send signals out to the neighborhood is just to put a really big triangle in orbit around their star. Anyone monitoring the brightness of the star for planets would get a real surprise by the signature it puts in their data.
There are definitely some weak spots in the video that are easy to attack, but it doesn't discredit the overall premise. Also, it's too long which is unfortunate because few people will watch to the end.
Correct title: How China spies on the West

Why does HN change the title?
I had a windows laptop a few times while working. I much prefer it to Mac laptops (which is what I've been made to use most of the time), or even linux laptops. Most of my dev work targets linux but with visual studio code remote, or a shell, or a remote desktop, what I run on the local machine is less important.

What is important is having a set of keystrokes that make sense to me (the mac command button does not work well on my PC laptops, and remapping just makes stuff worse) and don't change over decades.
4) Rollback plans - every change needs a rollback plan
I'd expect Costco would require receipts for returns, even for online purchases, like most stores. Then the store would only refund the amount after discounts. But perhaps Costco is more trusting of their customers because they have to pay for membership.
I got one after I let someone have an account on my Linux server in the mid-90s and they used it to send a very detailed and specific death threat to president@whitehouse.gov.
It doesn't matter whether or not I am. IF you agree, you do, and if not, you don't. I know some places have children's rights, which include freedom of association, especially as children get older. (Norway, for instance).
Lightning Bolt is like my hyperfocus button.
I read a paper called "the internet bond" discussing "smart contracts" (cringey name) and how they can be used to lay out and agree to conditions for workers to be paid.

I think this is interesting when /r/antiwork has blown up and gen z is brainwashed against their bosses "opressive" leadership extracting their labor. Orgs running on good will are crumbling, corps with iron fist rules are doing okay - what if the future is in getting gen z to write out what their preferred labor -> compensation function is, and commit it to the cloud instead of scapegoating your evil bougie boss for why you hate your contract?
NMAP Vulnerability Scanning Scripts
For content that's essentially free (and using the labour of unpaid workers - aka users), what's the reason to complain? Their business model dictates that option and accept it and make peace with it.
vultr lets you install custom ISOs, can also pxeboot.
You can do an amazing amount of work on a raspberry pi these days. I have a couple of R620s that were running several services. I lost a drive and one went down so I stood up a Pi4 (8GB) to quickly get things back up, and I was amazed that it handled a huge piece of the load, much more than I expected. Definitely worth a try for somebody just starting out.
Similar here. Just an hour ago I had to jiggle Signal to send a message, their implementation is super wonky compared to whatever Wire, Telegram, Threema, etc. uses and it'll often not work for hours. There is also zero indication on when it works and when it's broken, to find out I have to send a test message in a group with only me in it, and then delete that six times if I want to clean it up (2 removals on 3 devices: long tap, remove, yes I'm sure, get a placeholder "this message was removed", long tap, remove that placeholder).

Wire is a much better experience in that sense and has more features. But then those features each work just a little less well than they do on Signal. With the recently rolled-out conference calling they seem to have resolved one of the worst bugs: until a few months ago we'd often have one person not be able to hear another on a group call, while everyone else could hear them. Never had that problem on Signal. Or on iOS (unfortunately have to use that for work) it used to work fine, until an iOS update 2 years ago since which I have to open Wire (and leave it open) for it to download messages, which takes 5 minutes for 250 messages and in the meantime you just can't really use it. Notifications work, but it doesn't seem to download the contents. Signal updates fine on that iOS device, but then yeah on Android I have this other Signal connectivity issue so...

pros and cons, pros and cons

Overall though, compared to Signal, Wire is hugely underrated. It's just as good, if not better, but it just gets zero network effect. People are all on facebook's chat apps, and only if you're lucky Telegram and/or Signal, but Wire? Threema? Matrix?! Forget it :/. My family is now on Signal, I chose it for the network effect (so it would not be for only me, they would hopefully see more benefits than just talking to me), but it was quite a tough choice between mediocre choices after they were on Telegram for a while.
This reminds me of this 3-year-old post about Oracle Database[1], where too many flags were used. Or perhaps the developers were just bad? Or maybe it was the mixing in of macros?

[1] https://news.ycombinator.com/item?id=18442941
This is a really good paper, I've gone over it a few times. Highly recommended.
We use this, great to see it officially announced! This helps offer apps to potential/current/former employees without competing with yourself in App Store search results. The only way to load the App Store app page is via the direct apps.apple.com link. Past that, the app is treated like any other.

You still go through the regular app review process, but honestly I think employees appreciate that and trust the app more seeing it come from the App Store rather than from some enterprise MDM app that prompts for a whole lot of device access/trust.
Adults have seen the life paths of those around them and observed where certain directions can lead. So, parents look out for their kids. Sometimes the parents just have poor judgement, heh

That last bit is the issue. DO you really think a racist parent is going to allow a child to date somone that looks different - or a devout catholic is realistically going to allow their child to enter a same-sex relationship?
Unquestionably the best Beatles solo album? Ummm, no. Plastic Ono Band is the best solo album, and the second is Ram. All Things Must Pass is somewhere up there, but most of it is boring filler.
We do two strange things (right now) that only seem to work with Docker Desktop for Mac <=4.3.2:

We use registry mirrors to access a registry over an SSH tunnel. Doesn't seem to work with Docker via Colima, etc. as it's initiating connections from inside the VM, which doesn't see the SSH tunnel. Broke with Docker Desktop for Mac 4.4.2 as well, and tbh I can't explain why it ever worked, but it did. Nerdctl just learned about registry mirrors like 3 weeks ago[0], but it looks like it's having containerd do the pull so it would be in the same boat.

We set up IP aliases on lo0, and bind containers to individual addresses. This lets multiple containers and their services be directly accessible from the host - and e.g. applications running in Windows on VirtualBox - without having to remap ports. I don't think any of the alternatives support this. I know Colima does not. I don't think anything including Docker Desktop have a way to expose the docker bridge adapter directly to the host.

[0] https://github.com/containerd/nerdctl/pull/642
Incarceration over cannabis is already seen as embarrassing. Mental health care overall, but especially drug addiction will be looked at as positively medieval. The barriers to treatment for ADHD. The disastrous state of treatment for people, but especially women with autism. Hell, the way women are treated by some mental health professionals, it might as well still be the dark ages where hysteria was considered a valid diagnosis.
Apologies, looking again, it was obscured on mobile with the iOS GH app. Should’ve checked from my desktop before posting.
You convinced me. Eventually it should be forbidden (or made prohibitively expensive) to use fossil fuels for energy generation or transportation purposes because the reserves that are left should be used in the chemical industry and others. I didn't want to defend mining (it is wasteful, even when powered by 100% renewables), just wanted to point out that most of the current harm to society is caused by its fossil fuel electricity generation needs.
> and that behavior should be encouraged and rewarded

He gave the reason why, fragile ego.
You're probably correct that I was thinking of the scrapped (or deferred) iCloud Photos proposal. Though this part:

> Also, it uses on-device machine learning to detect and blur NSFW photos. They even removed the feature that notifies the parents if the child chooses to view a photo that was detected as NSFW anyway, so the contents of messages are not sent to Apple or anyone else.

… suggests that there was something similar in iMessage at one point, even if it was later removed. The "on-device learning" (or rather, on-device classification) means you're effectively sharing the data with Apple's agent running on the device, and the user doesn't have the ability to turn that off. Though it wouldn't be unreasonable to consider the parent who authorized this to be one "end" of the conversation since there is a minor involved—assuming there actually is a minor involved. (These "parental controls" have been abused to monitor adults.) It would be best if that fact was somehow communicated to all the other participants, for example with a "parental control active" or "monitored account" badge on the user's icon & profile.
I actually like Python a lot. Although I'm no longer using it professionally, it's my first choice for personal projects.

I'm also an advocate for using the right tool for the job, and in this case, Python may not have been the right tool for this job, but this was only one component in a much larger system. Sometimes you have to be suboptimal locally to be optimal globally.

And it's not like Python couldn't handle it, it was just that it had some design decisions that made things a bit harder than it would have been in some other languages. We got it working pretty well in Python 2, then the Python 3 transition happened, and it was a lot of work to get everything working as it had been, for only a small benefit to our team, but we got it working in 3 as well, and to my knowledge, it's still humming along.
I'm just a "user" aka sysadmin who sets up stuff, so can't really comment on the Golang. Even just the fully automated LE cert magic in Caddy is a win in average on-premises environment, where TLS certs are still a big pain and massive manual work drain. And the JSON API automation is a big plus also. At least for our use cases Caddy resolves one of the biggest issues.
So for webapps this is in the frontend code and the backend code?
Maybe, maybe not. If you're worried about the climate change impact, you can start now by charging additional taxes on all energy consumption.

Why should cryptocurrency be singled out? Just because some people dislike it? We haven't done much about climate change and the big pollutants in decades, but as soon as cryptocurrencies come up, it's suddenly treated as an existential threat to human kind - I don't buy it.