skysight-inc/HackerNews huggingface dataset:
HN doesn't talk about it often but PHP is still the workhorse of the web. And that is for good reason. It's fast, stateless, easy to use and not just batteries included, you also get the charger, the repair kit, repair parts and adapters for seemingly every use case.

That said, it's clunky in many ways and (very) slowly losing it's dominance. It's community clings on class based, mutable OO (while even languages like Java expand in other directions). And there are thousands of little gotchas, weirdness-es and limitations that make using the language un-fun and sometimes unproductive/limiting. For newcomers it is a nightmare to fall into all these traps for the first time.

A true PHP competitor however would need to be incredibly accessible and re-imagine a lot of things. I think it would need to fully embrace modern HTTP, HTML, CSS and browser APIs. Deno is seems to partially lean on that direction for example, but that is "just" the server side so it doesn't count. Isomorphic development is a big deal. There is Imba which is also an interesting attempt. Modern languages like Clojure and Kotlin provide the capabilities but not the development accessibility and defaults (personally a huge Clojure fan though).
GitHub's own documentation about GHA has a nav section titled "Hosting your own runners".

Here's a link: https://duckduckgo.com/?q=github+actions+self+hosted+runners

I haven't used it myself so I can't speak to how well it works.
Renewable Energy Crunch Comes to the UK
This is mostly good advice. I have so many clients who want to be the next Facebook and think it's as simple as running a site.

The technical stuff is easy, but the real work is actually running a community, it's not enough to just have a site, you need to live on it, be there 24/7, handle everything personally grow the community etc.

Also I think Facebook has butchered the word 'community', a community is like 100-150 people tops, by definition you can't have the 'community' of a small country, it's nonsense.
>> Oh. Wait. There's literally no such way.

> I think there is?

There is no official way to do that. There's no history. There are no tools in nix to do that. As you noted, you have to rely on the kindness of strangers to provide this service. Here's lazamar's own explanation why he built the tool: https://lazamar.github.io/download-specific-package-version-... Look at the beginning of the "automating" section to see what is required to do all that with nix.

On top of that, in the entire discussion here exactly one person could actually show how to pin something to a version, so it's poorly documented, extremely complex and not really understood even for people who propose nix.

> Now, with nvm, how could you guarantee that a particular version would not conflict with one the host OSs low-level libraries

You probably don't, or stick it in a container somewhere. But this is about tradeoffs: does nix provide enough tradeoffs to use this complicated, complex and poorly documented system?
That would be next level spam. But it sounds entirely possible.
I have no problems with pedal-assisted vehicles or scooters on proper bicycle paths that are at least 2m wide (per direction, so 4m if there's oncoming traffic). There overtaking isn't an issue, and 25km/h vehicles are somewhat average in terms of speed is there's no incline (leisure bikers are slower, while a good road bike goes faster).

The problem are those 0.5-1m wide "bike lanes" they squeeze in as an afterthought in cities. Overtaking on them is basically impossible without breaking some rules, so scooters and pedal-assisted vehicles make it worse than it already is.
I made a (bit complex) diagram.
https://louwrentius.com/my-home-network-setup-based-on-manag...
This. Nothing wrong with decorators per se. Just one typical example: measuring a couple of functions execution time by just decorating them definitely fullfils what the OP wants: simple and readable. Obviously there is more than one way to measure execution time, but the 'there should be one way' mantra really only holds true for very basic things anyway imo. And yes just like any other pattern out there it can be abused. One could try and blame the language for allowing such abuse, but that is not always fair I think, and also not in this case. Bad code is written all the time all over the place, and if a language would try to really really fix that it would be way to restrictive probably and hinder development in other ways.

Same story for list comprehensions: it's almost beyond me how one can be against a simple single list comprehension. It's simple, readable, almost beautiful. Now if people start nesting 5 comprehensions it's not so nice anymore; but then is the language to blame (as in, would we really want to forbid nested comprehensions?), or the people?
Show HN: Browse Hackage from the Terminal
> could be equally applied to dollars.

It could, but it'd be wrong.

What would happen if nobody wanted to buy or receive BTC tomorrow? Some people would be very angry.

Now imagine what would happen if the dollar ceased to have any value? Unimaginable, isn't it? Economies would collapse, the whole world would be in disarray.
B2B SEO strategy not working? Here's how to make it shine in 10 steps
I didn't want to believe it, but then I did a search through their repo:

```

else if (value.Contains("Microsoft.Azure.DevOps"))
{
m_typeName = value.Replace("Microsoft.Azure.DevOps", "GitHub");
m_typeName = m_typeName.Substring(0, m_typeName.IndexOf(",")) + ", Sdk";

}

```
That's the point: without using Nix, you'd have to do LD_LIBRARY_PATH hacking to have two programs use two different versions of glibc. When people say "oh nix looks so complicated I can do this using bash scripts" I reply "well show me these beautifully expressive and simple bash scripts then".
I don't think I've used a single microsoft product in like six or seven years. Docs has replaced Word and Excel. I own a Mac and prior to that I owned a linux machine. I use Zoom and FaceTime for video calls. I don't even use github.
PHP, _like Javascript_, can be great when used with some extra care. I have no beef with PHP (although omg do they waste space with curly braces on their own lines and vast amounts of indentation!)

A good foundation can be in any language, such as PHP. But it needs to have a modern, better architecture with a more consistent base library/API for the plugin writers to take advantage of. WP is like 1.0 of this. We've learned so much in the last 10-15 years; it would be nice to have a completely rethought foundation.

But for the plugins, I think there should be a standard interface layer (based on probably http, tcp, pipes, files, even memory stores for communication). Then plugins could be written in any language, hosted locally or remotely, and sandboxed.
Correct, I don't know how faster Pis would perform.
This is precisely the thing I do not want from python. Subclassing is super useful in convoluted tests where fakes are superior to mocks. I don't like being told "you can't do this" by some library's code.
Getting through the learning curve of crypto mining
Interesting. PythonCard used to be a very handy tool, built on top of wxPython, but it was abandoned some years ago.
> My grip is actually the contrary, many python code bases are stuck in the past.

From the outside looking in the Python community seems aggressively anti reworking their code to adapt to new language features. The 2 to 3 debacle comes to mind when compared to other languages, like JS, which made a much bigger change and everyone jumped in it and rewrote their code to adapt, or Ruby which went through some backwards incompatible changes at the same time as Python.
It's not a bug, it's a feature.

- How do you keep so big part of the population working all their lives otherwise in jobs they don't like if not by necessity?

- How can you earn as much passive income as possible (landlords, investors)?
Looking back at it today, the ads are so interesting ! So many different products/solutions out there
Anyone who grew up on IRC or in the early days of online dating/video games will rightfully recognize this as completely, totally false.
Driver, you have 20 seconds to comply!
No, it would if it is in-line with your internet connection, thus forwaring ip-traffic.
Just want to point out that Kafka based his stories in part on his experience working in the (Hapsburg i think?) bureaucracy, in particular the idea of a faceless and impenetrable organization that can't be reasoned with an is full of catch-22s (which I haven't read). So I find it funny we call it Kafkaesque when Kafka was just referring to how bureaucracy is. We should call it bureaucratic and admit that is what all big orgs end up becoming.
> Based on the distribution of human bones on the upper and lower tall, we propose that the force of a high-temperature, debris-laden, high-velocity blast wave from an airburst/impact (i) incinerated and flayed their exposed flesh, (ii) decapitated and dismembered some individuals, (iii) shattered many bones into mostly cm-sized fragments, (iv) scattered their bones across several meters, (v) buried the bones in the destruction layer, and (vi) charred or disintegrated any bones that were still exposed.

What a way to go
Thanks for your kind words.

Do you remember Hugo, that old DOS game? You use keys to navigate and type commands, was super fun!

But yeah, definately give this game a go on the phone, much more enjoyable to play :)
> Any kind of flow to handle these scenarios is basically going to look a lot like how it looks now: Keep emergency recover codes that the user has to print out and use as an extreme emergency, etc.

The worst problem: these recovery codes are not protected from government seizure or theft. A password? I can keep that in my head and, sans government-planted keyloggers or tactical use of a wrench (https://xkcd.com/538/), the government or thief doesn't stand a chance.
Atari Logo
I don't think seeing developers as users is interesting but I definitely think that DX impacts yourself users experience. So in that sense your DX is your UX.
I fell into a phase of reading free e-books (I love amateur authors and fan-fiction generally) on my phone and that lasted about a year but the constant charging and eye strain was a pain.

So I finally got an e-reader (the cheapest simplest Kobo) and I've had it nine months now. Oh what a difference the screen makes! Completely transformed how much I read and for how long I read.

The software on the Kobo sucks, and even with a builtin web-browser there is no good way to get free e-books onto the device without a cable to a laptop with Calibre. But once you have your books on the reader, it's super easy and nice.

I still love browsing old second hand book shops (they are dying) but I'm thinking there really isn't much future for commercial fiction generally. The chances of authors 'making it' is so slender and when its accepted it isn't a job, it can be unleashed as a hobby and they'll reach bigger audiences and get more interaction with readers by giving their work away. And that's what you see when there are over 800k Harry Potter books on fanfiction.org, and perhaps 50k are fantastic and fun to find. The 50k I like might not be the same 50k you'd choose, but its there.

Any leads on where to find similar other sources of amateur fiction appreciated.
Print Preview?
Hmm. Well, that circle-drawer is indeed atrocious. But its atrocity is according to the design spec. It says to use a modal window with a slider. Everyone's supposed to build the same thing. Your criticisms should go 'upstream' to the original 7GUIs task specifier, eugenkiss (whose domain has been hijacked by some gambling operation, onoes!)

eta: Bad UX granted, I gather that the task is meant to compare DX. (And it'd be useful for comparing coding approaches by individuals, for evaluating interview candidates. For that purpose, it'd perhaps be useful to be able to test a person's particular design choices, and how they interpret the spec, perhaps to see if they are justified in building something not-quite-to-spec.)

eta2:
https://eugenkiss.github.io/7guis/tasks#circle

Man, look how detailed this is. I suppose some people's job as developers is to literally implement specs exactly. Glad that's not my job. But maybe some folks would prefer not to have to deal with ambiguity.
It's oral history; I can imagine they added Lot and other characters to turn it into a more exciting story with a lesson to be learned in there. I mean the story of Sodom and Gomorrah is best known for showing what happens with sinners. Likewise that of Noah, likewise that of the tower of Babel.
What I find interesting is that, civilizations have fallen so many times due to catastrophic natural disasters or in the hands of each other. Some fell suddenly (Pompeii, Tall el-Hammam) and some perished gradually (Indus valley, Mayans). All these prayed to different gods who were not much use. And we still continue to put our faith in another set of gods hoping that they are the real deal (until the next city-block sized asteroid comes along). Humans are truly incapable of learning anything from history.

PS: in case someone wonders where all this is coming from, I was pondering on the arrow that points to the Temple in this picture (https://www.nature.com/articles/s41598-021-97778-3/figures/1). Countless may have prayed at its steps for their safety and at the end, universe just swept all that aside.
>Given the number of trainings that he would have attended while working at the NSA, I find it hard to believe that his OpSec radar wouldn't have been going off at that point.

I've seen a similar line of thinking with regard to federal employees (who should have known better) and were successfully recruited, but then later arrested. You have to wonder to what degree they're telling the truth, or to what degree they really had blinders due to being so successfully charmed. Either way, this is common. I think it's hard for people to say "yes, I knew deep down this was a problem but hoped it wasn't true somehow."
Not sure if this is exactly what the article refers to, but at one of my customers I helped create an app literally called Glue. It has things like a task scheduler for scheduling http posts to developers apps, or monitoring email boxes and posting to web hooks when email comes in. It _does_ need maintenance but I think it beats putting that logic in each app.
> I wonder if anyone is working on a solution to this

I think the solution is to read 4chan. Even if the conclusions are 100% wrong, the info is often raw in its form. No wonder media wants to kill that hacker.

Problem is how news orgs get paid for journalism and recency of news is extremely important for an attention economy.
What does SRE do? We analyzed 30 job postings from Google, Airbnb and more
The fact that form-wise it’s a copy of iPhone 8 is sad. Especially the glass back and bigger size. Jack omitted (now, please don’t just say - “since I bought AirPods I’ve not looked back”). Besides even 12 mini is smaller than that.

I’d say SE2 is rather a quiet breakup note to SE1.
Well I have seen a lot of less than mediocre code from the last century. This code I have seen was from huge successful companies and many of us used such products or depended on them. I think in no way the old school programmers where more capable as any passionate programmer is today. If anything they had the opportunity to concentrate on less complex systems (multithreading?) and less, less complex technologies. Maintainability was not yet invented back then also. I must admit on the other hand today there are some mediocre programmers around that you might not want in your company, because of the sheer demand.
> What if your strategic enemy secretly figured out how to evade detection?

They probably already do; stealth tech is a thing, as are hypersonic long distance missiles. Plus submarines, to bring the nukes in real close, reducing response time.
In this context I think it was fairly clear I was referring to HTTP API. If they want to utilize a sqlite client or query local data in some other way I think that makes sense. You could download the whole project as a project dependency, and build your app as an offline app. I wouldn't expect a Quran app to require internet connection.

You must be a joy to peer review at work.
What are my choices for accessing a service that uses Microsoft's "identity platform" / "modern authentication" / (whatever they're calling it now) from a cross-platform desktop client application?

From what I can tell from their ADAL/MSAL documentation, the choices seem to be 1) using Windows with Windows Integrated Authentication (i.e., not cross-platform) or 2) building a web app that redirects to their web-based authentication flow (i.e, not a desktop app).
In my experience PJAX/turbolinks + server rendering will get you 80-100% of the way depending on use case. The remaining pieces can be filled in with careful and disciplined use of something like React/Preact or Stimulus.
Just wanted to correct that no.2 is irrelevant. Things being much better has only to do with technology and productivity.

If you had told me "Houses have gotten much better, but the cost to manufacture the things that make them much better remains the same" then you'd have a point.

I see this argument over and over. "You're so much better off than your parents, what are you complaining about?! For example in my time we couldn't even fly, and now with your "low wage" you can! Proof that the wage is not so bad!" Well BS argument. For example, now we don't fly in fully manually built airplanes, that were designed on paper, with hand calculators.
If it's enforced at the type-level then, don't check types during your test runs? shrugs
I used to spend about 4 hours a day posting articles, pictures etc from various sites to my sites. I automated that to save myself time, a bit like hootsuite and sprout but designed for my sites and not as complicated.

Now I still spend just as much time posting content but the scripts do it too, so it basically doubled productivity but kept the hours the same.
I wanted the first ant to climb out of the bunker, find the home nest destroyed, and yell, “You finally really did it. You maniacs! You blew it up!”
eReaders are awesome. I used to read so many physical books but the physical space that they were taking + needing to carry the books around was a barrier.

I tried reading books on my phone but it just destroyed my eyes. I got a super old Kindle Paperwhite and it has been super enjoyable. There are times I just throw it in my pocket now I will end up reading on the go.

It took me a while to discover Calibre but once I did the management of ebooks became really so easy. I am 41 books in this year on my goal of 52.
We were taught Logo in the first year in highschool ( 1986 ) on a network of BBC B's.

Thanks awesome school!
Probably unrelated but I really just love archive.org efforts to preserve knowledge, even if trivial, mundane or pop. The other day I was in nostalgia mode and wanted to play again Secret of Monkey Island and Monkey Island 2 and they are perfectly available on archive.org in the abandonware section, comfortably packed in a zip file with even copy protection removed (this applies to MI2, MI1 didn't have any).
> exactly the same USP [uniqie selling proposition]

hmm...
What would you like them to learn?

Humans are small and the world they operate in is big. Sometimes humans get crushed.
How to Bridge the Gender Gap in Tech
Isn't it from It or They Came From Outer Space?
That would be nontrivial (although probably not impossible). At least that was Meson's experience in trying to support Rust: https://lwn.net/Articles/820836/
So if IPv6 NAT worked as well as IPv4 NAT/was not buggy, you would be fine switching in a hyoothetical IPv6 mandate?
Why would the victims accuse the other victims, who are creating different products?
Not related entirely related but...

What I hate most about vertical scrolling, and specifically infinite scroll is when you click through to a segment, and then navigate back you're now back to the top where you started.

I get around this by opening every segment in a new tab, but what an annoyance.
Just hotkey detection gone wrong. Not that big of a surprise because implementing hotkeys on a website is a complete minefield. I don't think you can conclude that Tumblr is badly written from this. Badly tested maybe.
> Why is there so much hype surrounding it?

I Am Not A RISC Expert (IANARE), but I think it boils down to how reprogrammable each core is. My understanding is that each core has degrees of flexibility that can be used to easily hardware-accelerate workflows. As the other commenter mentioned, SIMD also works hand-in-hand with this technology to make a solid case for replacing x86 someday.

Here's a thought: the hype around ARM is crazy. In a decade or so, when x86 is being run out of datacenters en-masse, we're going to need to pick a new server-side architecture. ARM is utterly terrible at these kinds of workloads, at least in my experience (and I've owned a Raspberry Pi since Rev1). There's simply not enough gas in the ARM tank to get people where they're wanting it to go, whereas RISC-V has enough fundamental differences and advantages that it's just overtly better than it's contemporaries. The downside is that RISC-V is still in a heavy experimentation phase, and even the "physical" RISC-V boards that you can buy are really just glorified FPGAs running someone's virtual machine.
Surely there have been generals who have stolen a good deal more, from days of the Roman republic up through Goering eighty years ago.
Interview with The Expanse's James S.A. Corey about writing, TV, and sci-fi
(The correct address is facebookwkhpilnemxj7asaniu7vnjjbiltxjqhye3mhbshg7kx5tfyd.onion)
I cannot help but wonder, why does this person still spends their time on tumblr if they dislike it so much?

Just move somewhere else.
Haha, PepsiCo (Lays owner) lost case against farmers who produced the special potatoes in India.
React & Java
SRE is one of the hottest roles in startups and enterprises right now. But the job responsibilities and scope can change from company to company. We wanted to see what were the top expectations in the SRE role, so we analyzed 30 job postings from Google, Airbnb, Coinbase etc. to find out.
my opinion is that god/religions evolve simply to provide psychological comfort to people and for social control. I don't think any rational person believes their god is going to save their city.

how many people would be motivated to do anything if they knew that when you die, you cease to be? Or that there's no trial of your life's deeds.
I updated my reply. Can you confirm that inheriting from a forked nixpkgs with a patched default.nix in ruby directory is the solution for cases that a particular version was not ever present in history?
The linked study mentions the possibility of Tall el-Hammam being Sodom, but they specifically say thats a whole line of study in itself and they won't go into details in the paper.
It isn't poor quality stuff. Just because you don't like the content that Youtube creators make doesn't make it poor quality

Ironically, when I go to Peertube, all the content there is objectively low quality with extremely poor production value, little to no editing, and clearly done with the lowest of budgets.

The content airing on Youtube from the top ~1000+ creators is easily as good or better than the majority of cable TV.

It's often extremely high quality content, frankly.
I live 9 400 kilometers from the Bay Area and I can assure you that it's definitely a thing here, in my room.
It's just less interesting to me now, unfortunately.
Poor Foodora being extorted, forced to pay a living wage and provide better working conditions. I’m sure the other workers you’re referring to are really upset that they’ll now receive compensation for equipment and a higher hourly wage.
That wouldn’t have helped Livermore because he was trading on margin.