skysight-inc/HackerNews huggingface dataset:
> Let the market decide if they want cars!

* Does that include carbon pricing on gas to take into account climate change externalities?

* Higher health insurance premiums as a non-active transport method causes a more sedentary lifestyle?

* Distance-based and weight-based fees for damage on roads that cars do to roads (as compared bicycles, or even motorcycles)?

* Tolls on roads instead of subsidizing highway construction?

* Having the suburbs actually pay for themselves long-term, versus the current Ponzi scheme of development?

** https://www.strongtowns.org/journal/2020/8/28/the-growth-pon...

** https://www.strongtowns.org/journal/2020/5/14/americas-growt...
Was it just me, or did anyone else read the "TL;DR" explaining how to AVOID the antipattern to BE the antipattern?
Oh I really like that idea!

Over at pico.sh we are trying to make it dead simple to host N static sites using common tools: rsync, scp, and sftp.

https://pgs.sh

It really should be as simple as you are describing!
> That AI-generated header image is horrible...

It looks like there are rows of parked cars along the road... in ancient Rome!
...the entire cast of Glee! bwaahahaha....
> Why limit ourselves with a sub-optimal language be it PRQL?

Actually why limit yourself with SQL...?

PRQL is a language compiled into SQL and makes certain hard-to-do things in SQL easy purely because it allows to streamline operations which SQL needs CTE joins or whatever hoop jumping to solve.

My favorite example which sounds easy but isn't - select the row which is MAX(...).
Its not about this being a "winner" it's about being able to make the dam things domestically. Full Stop.

We have national defense concerns and zero faith in intel.

EDIT: This makes it "defense spending" in a civilian line item.
The share is determined by contract, not by some fair-minded algorithm. You would have to listen to that artist over 3000 times in a month for them to get $10 at the normal artist's $0.0032/play. Big artists don't see such low figures, though more obviously goes to the system that pays the salaries of the people who get those deals for them.
Mac worldwide is niche, and most it backend/developers are GNU/Linux bound.
In these countries they usually don't hand out permanent contracts to anyone.
An airline was sued and lost because their chatbot provided incorrect information.
What do you think will happen if MedGPT makes a mistake, not to mention the risk of killing someone?

Who will be liable?

You don't want another
https://en.wikipedia.org/wiki/Therac-25
They still have to pay the 13 billion one...
https://en.wikipedia.org/wiki/Apple's_EU_tax_dispute

So not sure what the point is :)
I pulled up the Spotify app on a Samsung TV (haven't tried it on other smart TVs) and your options were a handful of playlists or search. When you pull up a song, there's no real way to drill down into the artist and their work, or explore the same genre. Just listen to that song and a playlist based on it or a playlist for the artist. Discovery is what makes music interfaces cool.
Realtime Dashboard of India's First Urban Mobility Platform
Sure, the rain sensor might have near zero failures. I would think the rain sensor probably has failure rates on the order of bluetooth radio failure rates, but I had one of those fail. But what has truly 0 failures is to eliminate the rain sensor entirely. More importantly though, the rain sensor is just one of many, many toys the Audi had. Failure rates are multiplicative, so if you can remove 50% of your parts, you eliminate a lot of points of failure, plus a ton of extra wiring and electrical problems, plus the whole problem of integration.
Someone recently applied paint AND it was thought the fossil was 280m years old.

It does rather carry a pall over the idea we can accurately date anything, doesn't it?
https://www.thebyteattic.com/p/q1.html says it had a "neon-orange plasma display", which would have been pretty advanced for the time.
PHP can be super hacky and super structured, within the same file, and it's your choice. You can have tests, static analysis, etc etc, or not. Or you can start without and then adding it as the project mature, without having to necessarily switch to another language.

I'm working on my own startup that started as a side project and it was super hacky at the beginning, but by sticking to PHP (and thanks to PHP continuous improvements) I was able to refactor little by little and make the codebase way more structured and easier to maintain.
> Now why no one bats an eye at node/react doing this very thing and calling it JSX is beyond me but...

Hey don't drag Node into this, you aren't forced to do any of that.

React to me feels like SPA developers discovering the idea of PHP and thinking they invented it. This shouldn't be surprising, since React came from Facebook, and Facebook historically is a PHP shop.

Mixing your business logic and presentation is a bad idea, but it's very attractive when you don't have the informative scars

You might say, doesn't Facebook have the scars to avoid designing React? Well, when you have a hammer, everything looks like a nail.

PS: I would suspect the down voting is just the "LOL", otherwise it's a fair comment.
People are pretty bad at understanding risks.

Sounds more like blame shifting.
I'm sure companies would love that.

Business model of big-corp X:

"We deploy an AI model to make 100 million health care decisions per day and the AI-model is supervised by a independent certified doctor we contracted. Legally it should be treated like that doctor made those decisions, since he supervised the model.

In case of any regulatory breach, the doctor who was hired for the task should be prosecuted, we replace that doctor, tweak the model and keep going.

This way we can charge 100 million units of health diagnosis, and based on custom parameters we can decide i.e. which brand of painkiller should be prescribed.

If that's not legally abstracted enough: Let's license the model to doctors based on a per-decision-license, allowing them to boost their daily insurance-claims for a small revenue-share, but requiring them to approve each diagnosis in some kind of UI"
Gilgamesh has heroes. Someone to be reflected at.
I'm not familiar with ideastronaut, but to me, it feels like every aspect of the site is AI generated, including the article.
If you listen to a single band for 1 hour a week, then you should not be paying for a Spotify subscription, but rather buy the music of that band.

This situation is obviously constructed, but if you were in it and unhappy about it, it would be your own fault for misunderstanding what you're paying Spotify for.
The 'we give up R&D' GlobalFoundries? https://www.anandtech.com/show/13277/globalfoundries-stops-a...
How many people died? Didn't hear a thing about this. I guess they are still looking for survivors.
Lots of things exist in an "annoyance equilibrium" like this.
If you are a framework junky who also cannot write original software then, and only then, be very afraid. You are easy to hire, and easy to fire, and AI will be coming for your once popular job with no entry barrier job that paid enormously well for knowing next to nothing and contributing even less. If on the other hand you can actually write original software that solves real problems you are fine assuming the problems have not already been solved a million times before with copy/paste plus a config file.

Honestly, its my hope AI gets a lot of people fired. The entire point of software is only automation. The original goal of software was to eliminate manual effort (jobs). When software itself becomes a manual effort of little more than copy/paste, like making a CRUD app with React, then the industry has failed on a leadership, hiring, and training level.

As with everything you should have a back up plan. After being laid off last year I abandoned my software development career for data science and enterprise API management. I could afford to be patient about that because I have a back up plan, a second unrelated career in management that I was able to turn into a full time job for a while.

Everything in the modern world is all about micro-successes in only 3 areas: sales, credentials, and experience. A sale is any activity that directly influences an outside party to make a decision directly in your favor. A credential is any recognized certification such as formal education, license, contract, government blessing in writing, and so forth. Both sales and credentials are non-practical social constructs. Experience is the only practical consideration on the list formed from time on utility. If you have those 3 things you can move into any career and/or wealth investment at will.
There are, makes me think no human ever reviewed that image. Or they just have terrible taste.
That's already what everyone here does, mostly, it's just off the books.
It seems similar to how some folks obsess over actors (or really the characters they play) or boy bands, etc. as if they are real personas.

It's a fantasy that they crave (or need in some cases).
Where can I vent about that "upgraded"-page which wants me to click through many dialog boxes of stuff I don't want to know about?

A bigger problem with it is that it unfocuses from the last used/selected tab to this newly added tab so that it's hard to find where I left off, which can get a bit hard when using many nested tabs in Sidebery because the tab gets appended at the very end.
It's pretty easy to do some math on this.

There are pseudonymous background music artists who have just released one or two tracks, and who have more listens than famous bands with a 30-year history, because they were featured in one of Spotify's background music playlists. It is of course rumours that this music is commissioned by Spotify (which they deny) or that they get kickbacks in some other form.

You don't get exact numbers (because Spotify won't share them!) but there's no question background music is vastly more profitable on Spotify than the kind of music people go to concerts for, and it's at the latter's expense.
Snake Cobots: The Ultimate Companions for Human-Robot Teaming in Emergencies
awesome site that geizhals, even if you don't need to buy from there, the amount of filters is just impressive. Take hard drives for example, you can filter on CMR HDDs so you don't get a HDD that is rubbish in your NAS
> News that the world's first commercial octopus farm is closer to becoming reality has been met with dismay by scientists and conservationists. They argue such intelligent "sentient" creatures - considered able to feel pain and emotions - should never be commercially reared for food.

I really don't get the dismay. Sheep, cows, fish even, feel pain and probably feel emotions. So why stop now? It's such an arbitrary line.
As for our mention of XBox on https://castle-engine.io/features : the point I wanted to say there was that we have "development" version of Xbox, as provided by Microsoft. Though it doesn't matter much nowadays, since retail Xbox versions can also be used for development, from what I read. I edited that statement to say this

"""
XBox (we have the hardware — even devkit, though "developer mode" can also be activated on a retail version of Xbox).
"""

As for web:

- This is mentioned on https://castle-engine.io/why_pascal as supported nicely by FPC compiler. FPC can compile regular Pascal code to WebAssembly, there's also Pas2Js that can compile regular Pascal code to JS. See samples e.g. here: https://github.com/genericptr/Pas2JS-WebGL?tab=readme-ov-fil...

- In the context of Castle Game Engine, web is part of "Coming Soon" of https://castle-engine.io/features . We want to utilize above to enable to recompile any Castle Game Engine application (as long as it uses cross-platform API) to the web. Details are on https://castle-engine.io/wp/2023/04/08/web-target-progress-a... .
Intel is one of the recipients/beneficiaries.[1]

[1]: https://www.intel.com/content/www/us/en/corporate/usa-chipma...
It won't work, the courts will not enforce it.

Worse even, it is typically a case where EU can loose some legal power to the European court of human right. Logically, the ECHR should have primacy over the EUCJ, but technically and legally, it does not yet. Any case as broad as this, if the EUCJ is forced by the parliement to enforce it against human rights, would trigger a shit storm, and the EUCJ would either have to bow to the ECHR, or a new constitution would have to be drafted and voted on, and _that_ would be an even worse shitstorm.
Frustratingly the author didn’t discuss get actual coding experience in any detail. How’s the resolution of the terminal and code editor. What was better/worse? What about weight, how long could he sit. Etc etc
Officially, 9 people are missing.
> How long would it take you to write the SQL for that?

I don't want to appear rude, but unless I'm missing something, this is a pretty simple SQL query, of the kind anyone with mimimal SQL experience could write off the top of their head in seconds.

I like the idea of PRQL, but I think a better example is needed to sell it.
pfft - https://www.w3.org/Provider/Style/URI.html
Some of the points are outdated, but the soul of the article, that those stdlib inconsistencies and language quirks as you called it, lead to terrible design and a lot of surprising footguns, is still quite true. Laravel is a good framework and it is because it hides a lot of PHP from the user.
Can someone explain to me why “Show HN” and “Ask HN” posts are always, always in hard-to-read light gray? Is there some cabal that automatically downvotes such posts? Is there something intrinsic to The Algorithm that penalizes such posts? Or do I just have really bad luck and always manage to click through on posts that have gained traction despite having gotten enough downvotes to put them at risk of sudden termination?

This is one of the great HN mysteries to me, and if anyone can shed some light on it, it would be much appreciated.
Just out of curiosity, when was the last time you worked with Symfony?

The framework has changed massively after the earliest versions (1~3). These days it's very similar to Java's SpringBoot. After scaffolding all you get is a thin layer with the HTTP abstraction, configuration support, reflection-based Dependency Injection and a testing framework (PHPUnit).

Since the framework is component-based you pull dependencies as you need them. I find the documentation really good and honestly I don't see much magic in it, it's an event-based web framework. Laravel and it's facades on the other hand is very magical.
Could you expand on why the time functions in sqlite are pretty bad?
My last job was working for a growing saas company and this means security questionnaires and compliance. Your home server and environment wont tick many boxes.

I have been running my own small saas on Hostgator then Hetzner for the last 17 years. Go for cheap cloud servers. I currently pay £20 per month for £1000mrr
Nice landing page, how did you make it?
Templating systems produce output based on a template and a set of data. PHP produces output based on imperative code that can do anything. While you can certainly adhere to your templates only consuming data (ie some kind of view model), it's actually awkward to do, as PHP files don't take parameters, so you need to use a convention of having your "template" files provide functions and call them, but functions are global so you now need to name them uniquely to avoid collisions. If templates are meant to be pluggable, this is much more difficult because you have two templates that are supposed to be interchangeable, with identifiers for calling them that are different[1]. There are a lot of properties of template systems that PHP does not actually have.

[1] It's so much worse than this... You can use some horrible hacks like undefining a well-known function that each template implements, but this would only work one level deep without also adding a mechanism for "calling" a template, and at that point you are making a template system on top of PHP.
Kharkiv's tech startups became the ultimate test of business resilience
You must not leave the house much.
The thing I hate most about SQL is lack of composability.

In most languages it's easy to pull out functions.

In SQL you end up with a giant hard to comprehend mess.

I think the underlying relational concepts in SQL are sound but I'd love to see ideas like PRQL that aim make SQL easier to write and maintain.

Stored procedures and functions are nice but don't allow the basic idea of breaking a large query apart into smaller logical components.
Depends on usage.

My Galaxy Note 8 has a 400gb microsd card in it that's pretty full. Same for my android tablet.

Tablets without microsd and 3.5mm (such as the fancy and expensive but practically useless iPad I got as a gift) are abomination upon God and man, but I'm a grouchy old geezer so take that opinion with a grain of consumer salt :)
Map of the IPv4 Internet
I tend to be very skeptical of articles that uncover hidden truths from 2,000 years ago, with zero citations.
I think Spotify is still quite good overall. They sometimes make very bad UI decisions. But the latest home screen desaster (of huge, almost full-screen size tiles) was luckily already rolled back.

My main gripe is that it carves overly deep channels around what I've listened to before. For discovering new music I find Shazam more valuable. I wish Spotify had some clever randomness.

A good example are Tarantino soundtracks with songs from all over the genre landscape. I've never seen Spotify create playlists like that.

When staying within a genre the autoplay can be amazing though.
I’m always surprised we adults seem to have this feeling of superiority that we know how to use these things and teenagers don’t.

But we don’t know how to use them, we catch ourselves scrolling unaware, we use them in front of our children, in meetings when we’re bored, at restaurants…

Telling children not to use them while we do it at all inappropriate times is pure hypocrisy. If anything we should teach them (and ourselves) how to use them responsibly from early age onwards.
Japan poised to build world's first wooden satellite
https://archive.ph/sOhE6
That picture appears to be from a Q1/Lite, which is a different beast (and used 4116 DRAM according to the schematics)
Show HN: htmz – a low power tool for HTML
I think we're talking about a difference in timescales. My experience is that culture naturally converges to incentives, but very slowly.

If we were to evaluate teachers in ways which didn't align to tests (or not at all), put in mechanisms to fire bad teachers, added transparency and accountability (so parents know what's going wrong and can try to advocate to fix it), etc. we would have a whole new teaching culture... circa 2044.

A faster reboot is possible, but with more disruption (e.g. wholesale firing). Disruption is harmful in several ways, from impacting morale and stability (making it more difficult to bring in qualified people), to having experienced people leave, to simply taking time to learn how to work in the new order. Whether a disruption is warranted depends on the level of organizational dysfunction.

The current set of dysfunctions in schools specifically are grounded in a narrow tests which were implemented in 2002. Schools have increasingly broken, as anything not in Common Core was increasingly ignored, and schools competed on the only measure they were evaluated on.
Just always use !==. != will automatically cast and !== won't, therefore "1" != 1 is false and "1" !== 1 is true.
The fact that seemingly smart people get fooled into anthropomorphising current AI is a hundred times scarier to me than the AI risks themselves, between that and the google dude who claimed AI were conscious... what a time to be alive
https://archive.ph/GNUzb
Agree! I also find Pascal very soothing to write.
Yes it's a little more verbose than C but it makes you think ahead and stay organized.
Seek is not “by” iNaturalist. It does use models generated from their data.
A geo-strategic win for securing the semiconductor supply chain, and the top parent comments in here are complaints about the parking lot and how much tax money it’s going to take.

Sheesh.
i haven't tested this, but i think it is a less bad idea for what i want to use it for, which is 5-volt power at up to 500 milliwatts, than for the ts80 tip. if the ts80 tip is 4.5Ω it needs to carry 3.8 amps, which means 17 volts, which would definitely kill your earphones. but you could imagine that the ts80 uses foldback current limiting or some more elaborate scheme to handle short circuits, which will happen in any case during hotplugging due to the shape of the 3.5mm plug. foldback wouldn't help (the earspeakers are higher resistance than the soldering tip, not lower) but you could design the iron to only turn on the 17 volts if 100 millivolts delivers 20 milliamps or more, say

and, yeah, square. i want to do higher data rates and simpler electronics than an actual audio interface can handle, though
AI Learns Like Human Baby
Cloudflare Pages is great for static sites! I use it for a Hugo blog, and it "just works" - plus, deployments are really fast, like a few seconds.

It's all just so simple and fast that it reminds me of the days of SFTP'ing files to prod. Aaahhh.
PostHog built its onboarding email flow (with actual performance data)
I never noticed it and even after it's been pointed out it's not an issue. Seems very nitpicky by those for whom it is an issue.
What does that have to do with Spotify? If Spotify isn't fair to them they should pull their catalog. I can't be an arbiter to every economic transaction I participate in. Just sell me something I want at a price I find reasonable. I don't need a story about how it's so hard for you to pursue your passion or how you can't continue in the future.
That makes carbon monoxide.

Maybe nitrogen?
It's corporate talk for "if it breaks, don't complain"
Worse than that, I remember reading articles about how some artists didn't "make" a single dollar from their first album that sold millions. It all went to the record company and paid for marketing and advances.

Sometimes they didn't begin to see revenue until 2nd or 3rd albums.
I have literally NEVER seen anyone do preventative maintenance or repair on a shopping cart. All I ever see are attendants collecting them from around the store and parking lot, stacking them, and pushing them back to their holding pen.
It's very easy these days. I use nginx+nixos for hosting and it was one line to say use https.
BioMistral: Open-Source Pretrained Large Language Models for Medical Domains
Not my experience. You will see some legacy code but that is to be expected in any coding job.

Wordpress is kind of it's own ecosystem. I have been a PHP dev for years and never touched any Wordpress code.

Most jobs recruit for specific frameworks like symfony or laravel.
Most probably due to corruption. People have been actively protesting this mine for at least a couple of years now [1], including politicians [2].

[1] https://www.veryansintv.com/veryansin-tv-aylarca-haykirdi-ik...
[2] https://www.youtube.com/watch?v=v6jJjDjylPg
1. I've seen enough terrible things in my time, but you can make a mess in any language using any number of frameworks. And it's been a hot minute since I've seen one of those 1000+ line PHP+SQL+HTML+JS+CSS monstrosities in any serious environment.

Improper use of templating engines or trying to use templating engines that aren't up to the task can give you headaches just as well. Sadly no amount of frameworks or templating engines can stop a bad programmer from writing bad code, in the end we're craftsmen who need to learn how to use our tools.

2. This could be a valid use case, but a rather rare one. XML+XSLT is something that sounds fantastic on paper, but as anyone who actually worked with it knows it ranges from a big disappointment to an absolute nightmare.