skysight-inc/HackerNews huggingface dataset:
> So, pretend that this somewhat realistic scenario is happening to you: it's 4:00 am you just got a panicked call from someone at your company that the website is down. You log into a server and you want to see if the website is actually down or if it's just dns. You probably want to know the answers to these basic questions

Those questions the page raises are based on what systemd tells you, not what I'd be askiny myself. I wouldn't want to know most of those, nor do they actually answer if "DNS is down" or not (what does it even mean).

From my computer: dig www.mysite.com -- checks DNS is available externally. Check it at a few sites (dig www.mysite.com @1.1, @8.8.8.8, @9.9.9.9 etc). My monitoring checks my website every 10 minutes anyway from multiple locations across the world and tells me if something is wrong, so it won't be that.

If I think the problem is that DNS lookups are failing on the server (so it can't see db1.mysite.com or whatever), something I might suspect if it takes a couple of seconds to log in as the reverse dns times out, I'd just log in and type

$ dig www.google.com -- checks DNS lookups are working internally

If it's not working, I'd check what's configured

$ cat /etc/resolv.conf

But oh dear, systemd has put its ugly fingers into DNS, and resolv.conf is pointing to 127.0.0.53, so I have to remember some convoluted command to run to try to find out what DNS it's using.

The easiest way in a systemd world to do that is

$ tcpdump -i any udp port 53 -nn

One of the many reasons systemd is so broken.

In systemd that's no longer the case, another daemon is running on my machine, another daemon to go wrong, another daemon to hide what's actually happening, another daemon to wake me up at 4am because it's not working.

I type systemd-resolve --status

and get 82 lines of nonsense (on my desktop), with perhaps 1 line perhaps telling my the 'current' server configured, and a few lines telling me other servers. But then there's different servers on different links, so it's all a bit of a guess, hence tcpdump is far more reliable to see where lookups are actually going.

I have a small monitoring PC which runs a bunch of VLC sessions and webpages. It broke a couple of months ago because of systemd hijacking DNS. That means spending time looking in to why it's broken, which is a waste of time, or just having a script to fix it on bootup. The script is an ugly hack, but systemd is draining. It gets in my way, I never asked for it, but practically every distro forces its use in various (and constantly changing) ways. That's why some people get pissed off by it, it doesn't just add features you can use, it fundamentally changes the core of your machine without even buying you dinner first.
"someone would've had have been" doesn't sound remotely natural. "someone must've been watching her" would be legitimate, but doesn't have the same connotations; it humanises the watcher, whereas "she must've had been being watched" suggests it could have been an organization rather than an individual, and so feels more sinister.
This has been one of the most terrifying aspects of the pandemic, seeing how big tech and social media combine to forma narrative, then most people end up repeating. Numerous scientist and doctors have spoken out against the way the pandemic was handled, but most got silenced, or at minimum fact-checked on facebook. There has not been an open and honest debate.
> ... a couple of very pleasant guys popped in and dropped off their business cards. They told him it wouldn’t be a problem anymore ...

> End of the day, if someone is creating interference, they need to stop.

I'm not sure which way to interpret this, your username might check out after all.
I created https://microapis.io to make it easier to launch API mock servers in the cloud with one click, no signup or login required.

The problem I found with most existing providers is they require you to create an account and often subscribe before you can use their services. For a quick test that's excessive overhead.

Until recently I was using prism[1] to run the mock server locally, but it's very limited when it comes to configuration and you have to install and run it locally, which again it's an unnecessary overhead when you want to run a simple test.

I've been using microapis.io for a few months now with my clients and it's proving a life saver to run integration tests and to help the frontend and the backend teams to work separately while ensuring they both comply with the same API specification.

[1] https://github.com/stoplightio/prism
Azure AD should 403
Seems like the only benefit to admitting guilt is for ones own conscience, but clearly that’s not enough for many.
Credit where it's due, the GNU Guix folks made elogind and Gentoo picked it up.
Thanks! Very informative
The problem is, the landing page says it's "similar to Java" right in the first sentence and in the second sentence "same portability benefits as high-level languages like Go and Rust", and later on "excellent performance on modern desktops and servers" and "compared with glibc, you should expect Cosmopolitan to be almost as fast".

The tricky part is, those claims are all true, they're just not all true at the same time. The portability claims are true (only if you ignore performance), the performance claims are true (only if you're on x86-64).
The word “threatens” gives the impression of something dangerous going on with remote work. It may be motivated by click traffic, but seems hyperbolic.

The quantity of transport vehicles can be reduced to a point where it is in alignment with current needs. There are other ideas better than that.

This isn’t a scary outcome waiting to happen.
If you like (the mess) that is OSX, use OSX.
Top Marketing Challenges – CMOS Are Facing in 2021
Open-Source IPTV/CCTV Media Service WebRTC/SRT
Are you insane? There are tons of countries that are not totalitarian, with big land borders, that have done far better than the US .... There are obviously thousands of things that could have been differently and or better.

The latter part doesn't follow logically from the first. It can be that performance is essentially random, or determined by geographical factors, or by the pre-existing health of the population, and so on. The assumption that governments can control respiratory viruses like SARS-CoV-2 is at the heart of all of this but needs very strong evidential support, given how strong the evidence against this belief is by now.

If you look at the data then there are no obvious explanations for why some countries did better than others. It's far from insane to observe this. There are a lot of plausible sounding explanations but they all fall apart due to exceptions, e.g. Japan did very little for a long time and yet has hardly been affected. In fact Asia in general has not been strongly affected (Taiwan is another example) despite a wide variety of response severities, which raises the question of whether Australia/New Zealand's relatively good performance is due to location rather than behaviour. Meanwhile Latin America was very hard hit despite some truly totalitarian responses by the authorities.

Your own explanation is especially weak because it appears to be based on a cartoon New York Times interpretation of what happened outside the USA. The British government's messaging was the polar opposite of Trump's. The PM appeared next to two chief scientists every single day, and the government was basically replaced by SAGE, the scientific advisory board. The SAGE scientists took total control of the messaging including designing large scale ad campaigns specifically designed by behavioral psychologists to provoke as much fear as possible in the population. The UK also has by far the highest vaccine uptake in the world. The whole thing had a singular focus, the messaging was very well organized to an extent that evokes people's worst fears of competent totalitarianism and so the idea that the UK was somehow doing the same things as Trump just has no basis in reality.

Yet, in the end, it didn't seem to matter. Sweden has had lower excess deaths despite consistent year-long messaging of chill, relax, it's no big deal. Hence, politics can be pretty conclusively eliminated as the source of any differences.
Show HN: GUI client for Cloud Firestore with JavaScript query editor, table view
I think the issue is not that it's binary, but that it's a custom half-assed format. It's actually pretty slow because there is not enough indexing, this is why `systemctl status` can takes seconds to show the last 10 log lines[1]. Even worse, systemd can detect corruption but can't repair the logs[2], in practice a power failure can mean months of logs thrown away. Thankfully it can skip over corruption, so logging continues to work.

I would have no problem if systemd used a database like sqlite, lmdb or anything else with some valid tooling, indexing, caching and proper recovery solutions.

[1]: https://github.com/systemd/systemd/issues/2460

[2]: https://unix.stackexchange.com/questions/86206
You can also trigger it from macOS!

With a bit of organisation, adequate lighting, and a photo tripod, this is quicker than using my flatbed scanner.
If sharing state, you're much better off using locks and test with go's race detector. There'll be subtle bugs or contention though, unless you don't share state.

If not, you might try 0mq, immutable lists or any other facility. Channels are just the in-process idiomatic way to communicate state, but not required at all.
>(opening a text file and writing "Button {}" is definitely more complicated if we're talking about teaching to beginners)

if teaching beginners to programming sure, if teaching a programmer beginning QT development no.
regarding the old comment sorting, I wonder if recent comments percolate the commented-on comment up anyhow?

p-c1-c2

would an activity on C2 influence the sorting of p amongst its peers?
It’s pretty trivial to setup Postgres with very high frequency wal shipping to append-only S3 which gives you point in time recovery and prevents your data from being ransomed.
Please animate a self-solving Rubik's Cube.
Though that might be easier, given that for example Scheme is doing much less dynamic dispatch at runtime.
You could be right of course, but how then are we explaining the appearance of these things on several different sensor platforms, all allegedly very sophisticated? Presumably the people who design these radar systems try and make them account for air density etc. I mean, look, military contractors aren't always the savviest geniuses (see e.g. the F-35 program for hilariously inept and expensive examples), but different sensors on the planes and the ships seeing these things ... dunno.

There's also the tidbit from the original NYT stories from a couple years ago, repeated elsewhere in other interviews with pilots, that the objects were doing things like speeding off and seconds later appearing on radar at the waypoints that the fighter jets had already planned. Allegedly, of course. I'm not one to believe the government uncritically, but it seems to me that the critical view on this can't just be "swamp gas"-style explanations anymore.
Want to say that this model is still alive and well in Japan (like anywhere else obviously), and these days it looks like charging $10k/month (a lot to companies here for a single developer) for $2-5k/month developers in APAC or eastern Europe, with the guarantee that the project will be looked after based on the sensibilities of someone local/from the US (this person is usually the face of the business or extremely high up, etc).

At it's worst this pattern is parasitic but at it's best it's mutually beneficial symbiosis -- if we look at the reality of whether the developers could clear the trust barrier (whether it should be there or not is another question) to getting the roles, it becomes a question of what that barrier skip is worth.

BTW, Japan is rife with middlemen taking cuts. If you want to have a chuckle, look into property purchasing in japan/proptech. There are usually 3+ middlemen in the apartment purchase flow here, and fees that you do not see in most other places, ex. "reikin" (AKA "Key Money")[0].

[0]: https://en.wikipedia.org/wiki/Key_money
If you're talking about being watched at a particular moment, you're not talking about "an organization" watching; you're talking about a person. And whether it's sinister or not is pretty beside the point. I'm saying that phrasing is pretty darn unnatural English, sinister or not.

(And I meant to write "would've"; the "would've had have been" was just a typo...)
Israel takes out Hamas's tunnel network
Jolie, the service-oriented programming language
How the Black Scholes Model Resulted in the 1987 Black Monday Market Crash
our society is also not structured anymore to allowing one to admit guilt, and be absolved by some sort of community process after which you can return to a normal life; if you are guilty now you are forever cursed.
I've written >90% of the existing documentation as well as additional in-house tools to aid in my writing documentation that are themselves documented and shared in the documentation in hopes others will help write some of the documentation.

Every other tech loves and makes use of my documentation - it is one of the most referenced things in the company even by the techs who should be the ones writing the documentation for their code in the first place. Most of the existing documentation is documenting the undocumented features released by another tech department. I left the company for a year and when I returned there were only 3 new additions to the documentation, each one minor, and about 15~ new, undocumented features for our next iteration of our product. I've spent the last few weeks digging into the code and writing documentation for these new editions.

If I didn't care about documentation as much as I can't imagine there would be any documentation at all.
How do you feel about the vaccine?
I am not an anti vaxxer, I have had plenty in the past, but when we have Prince Harry, David Beckham telling you take the vaccine it seems a bit off. I don't understand why it is being forced upon the whole population, when it should be like the flu vaccine - give it to those at risk.
Stuxnet was/is a worm that attacked air gapped PLC systems at Iran’s Natanz nuclear enrichment facility. It was the most sophisticated piece of malware ever discovered, allegedly by US/Israeli operatives.
not related to the product itself, but what's with the quotes around the commit messages? (well, if "OK" can be named a 'message':) Does this come from some weird shell which doesn't strip quotes from git commit -m "OK" or so? A script which incorrectly double-quotes?
> That's not typical Java code. You could do that in quick & dirty code, but I haven't seen such code in production code.

It sounds to me like you're an extremely lucky person. I've seen too much of that sort of thing in production code, including a catch-all for Throwable at the top that didn't even dump a stacktrace.
I would say:

1. No network round trips
2. SQLite runs in the same process as your app, so reading from SQLite is basically like calling a function in your program (from a performance point of view).
Well yes, we abandoned cities when they were being bombed, and would abandon them forever if the bombing was continuous and forever.
16 players on gameboy is incredible, massive props!
Hi HN!
About a year ago we started using Cloud Firestore at work. And while I love it for its amazing realtime and effortless scaling capabilities, I grew more and more frustrated with the limitation in tooling around it. No way to query from shell, export collections, rename docs, edit nested field names, …

One day I had enough and pitched an idea to a friend: to create the experience I wanted to see. Luckily he was all in and we continued to spend our Corona lockdown hacking together an Electron app in TypeScript that makes my work delightful again!
A few months later and we're glad to announce that Firefoo is now live for everyone to use!

Some features include

- Table View

- Export to JSON and CSV

- JavaScript Query Shell

- Batch Edit Documents

- Geo Point Map

We'd love to hear your thoughts and will be around in the comments all day!

- Mathis & Moritz
For full-text search on Rust (and replacing Elastic) have a look at: https://www.meilisearch.com
Your comment assumes free-market pricing, but crude oil exports from the USA used to be unlawful (the ban was lifted in 2015) and they could presumably become unlawful again. There is no legal reason why the US government could not extend such a ban to include refined petroleum.

https://www.pillsburylaw.com/en/news-and-insights/us-repeals...

Also, several oil-producing nations have off-market domestic pricing for refined petroleum that is favorable versus the international spot price. Such prices won't naturally change when, say, the Strait of Hormuz closes. The IMF has been trying to force free-market pricing, as was the cause of the Ecuador protests in 2019.
Emacs inside is very unixy, under a particular angle. Everything is a list, a ton of small composable functions doing one thing well, one common language that unifies all key interfaces, and the general lack of a predefined final construction, but rather a bucket of Lego blocks around a kernel which does the heavy lifting.

Acme us interesting, but pretty different; its automation is apparently written in the shell language using normal OS commands. AFAICT the Plan 9 shell lacks structured data types comparable to Lisp's: it has lists, but not nested lists, so such constructs are a bit less robust. Also, AFAICT, Acme actively wants mouse operations; I hope reasonable keyboard equivalents exist.

I'll explore more of it in my copious free time (sigh).
That’s the kind of great idea that may motivate me enough to spend some more time on this!
Uhh, Bitcoin SV is super sketch though and this chart feels like a veiled shill for it.
TetriNET was huge back in 1998.[0] And gtetrinet[1] still runs on Linux.

[0] https://en.wikipedia.org/wiki/TetriNET

[1] http://gtetrinet.sourceforge.net/ (no HTTPS unfortunately)
I think having options is just sign of more mature language.

In python you could also implement the API framework, do unit testing, TLS, packaging using standard library. And similarly there are 3rd party frameworks for Go as well.
The car has 360 degree awareness of what's going on and cameras everywhere. VR headsets are real. I see no reason why remote drivers couldn't have even better situational awareness than a normal driver given the sheer number of sensors in the car.

At any rate, the remote team in this case IS able to control the car, hence it trying to drive into traffic cones and Google blaming the humans. It appears that their interface just can't be very good, especially as it requires people to physically turn up in a truck - you definitely won't have good situational awareness if you're trying to drive a car through a web app whilst looking out the window at the other side of the road.
A Step-by-Step Guide to Outsource App Development in 2021
I used to work for a company that did this. After two years of asking for a pay raise, I left to be a freelancer. I found out how much they were charging the client and I made the decision to leave.
As your repo grows do you think you'll eventually need to implement some blaze-like tooling? In previous treads you mentioned compiling the entire repo only takes a minute or two but I'm wondering if the reproducability guarantees would help an effort like this.
"But think of the satellite connections" isn't really a meaningful consideration in a world where we don't support IE and most websites are megabytes in side. Mine is fast enough for people stuck in the underground, which is a far more significant demographic for me.

Hypotheticals aside, the fonts load sufficiently fast in a single round trip (two if HTTP2 push isn't supported), and do not block rendering.
Average asking price for UK homes hits record £333,564
They could simply require that they are. Clearly they're not yet at the point where nobody driving is actually possible, they just require third party drivers to cruise the area in case the vehicles get stuck.
Conventional logs are files, the fundamental unifying abstraction of Unix, and so you can read them with any tool, even a tool that was written before your logging system and that your logging system's author didn't know about. Having to take them just as piped input is a much more limited interface that doesn't allow you to do all the things you can do with a real file.
Companies hire external experts (or "experts") in order to fix hiring problems (can't find the necessary people), or because they find it hard to predict future needs (might only need them for 3 months, or 3 years), or because they don't have the management team in place to manage those people (every person hired is a call on managers to give them work to do, and more admin to do). These are all things that are often well worth paying 4X what it'd cost to employ the staff themselves.
I've been where you are, and considered packing it all in. As others have said, not all software shops are the same so I don't agree that there's a universal software dev culture... ignore the silicon valley lot.

If you are set on leaving software dev, you could side step into something like computer/network security... which requires many of the skills you already have.

Additional stop comparing yourself to others, in my case I was doing it and getting incredibly depressed when my peers were getting promotions when I've not moved in 7 years. The way I deal with it is to realise that those people getting promotions are having to do the kind of work I'd personally hate (people management, etc). I'm more happy staying down in the technical weeds. It's not about money - as you've said it's more about happiness.

Good luck
I think that's because, thanks to the internet, "now" never truly ends. You're often just one Google search away from reanimating any significant event in someone else's life.
Top SaaS Startups in 2021: Who Leads?
https://news.ycombinator.com/item?id=27114718
So what are you going to do for work instead?
We learned yesterday on HN that Java 1.0 was only able to run on two systems: Windows and Solaris. https://github.com/ufuu/Java-JDK10 Cosmopolitan 1.0 runs on Windows, Linux, Mac, FreeBSD, OpenBSD, NetBSD, and boots from BIOS on bare metal all in a single 12kb file. https://justine.lol/cosmopolitan/howfat.html If we consider that Java today is on version 17, then I'd ask you to imagine where Cosmopolitan v17 will be in the future.
They use hack of "interface{}" which does type checking at runtime (slow). And you then cast it to a proper type.

If I remember correctly (haven't used it in a year) Go cheats a bit, and it has few functions in standard library that do have generics (like make), it just doesn't provide this functionality to the developer.
Who Owns Australia?
I wish the App Store guidelines had a provision for disallowing that behaviour: if there's no online component (e.g something like WoW or Fortnite, that have regular content updates) then the app should be self-contained in the App Store.

Sadly it used to be the case (not sure now) that the app size limit had Apple itself recommend that behaviour be implemented when it was too big.
But it's not enforced. Far too often, “bug fixes and performance improvements” is a blanket statement that hides all kinds of changes.
You can actually do that in mobile/desktop safari https://www.groovypost.com/howto/use-safari-reader-view-auto...
Wind and waves would be a problem as they'd push the train around and it'd be hard to control with a tug. I think it'd be less hydrodynamically efficient too which would mean higher fuel costs overall: assuming you could build a single large ship with the same capacity as the train then it'll have a lower surface area => lower drag.
By that logic, diligent savers who put their money in a savings account to earn interest isn't "fair". It's fundamentally more fair to invest in expensive heavy machinery and dig precious metals out of the ground.