skysight-inc/HackerNews huggingface dataset:
I'm the co-founder of a headless commerce backend framework (Vendure) and I've known of the Vue Storefront project for quite a while now.

Headless commerce (i.e. API-driven, decoupled front-end) is maximally flexible but comes with the tradeoff that you suddenly have to build an entire storefront from scratch. Compared to off-the-shelf solutions like Shopify, which give you a fully integrated storefront with nice themes, it can be a high barrier for businesses which lack significant funding or developer resources.

Previous attempts to solve the front-end part of the headless commerce problem have had mixed results I think. One the one hand is fully-built, backend-agnostic storefronts like Vercel's Next.js Commerce or prior Vue Storefront products. On the other hand is just build from scratch exactly to your needs.

The complexity that comes with maintaining a backend-agnostic, full-featured storefront is huge. I think this release is a good middle ground that reminds me of the amazing Tailwind UI project - design primitives and larger components you can basically copy-paste into your own storefront app. It's probably the right way to go, as it saves a bunch of time but still leaves you free to build the storefront exactly as you want it.

With recent developments in LLM tech I can imagine a future where open-source, self-built solutions suddenly become way more accessible to more companies, as a single developer is able to use libraries like this and have AI stitch the parts together into a full storefront.
FWIW the $600 iPad Air is a wonderful device. It’s light, extremely fast, and the battery lasts forever compared to my older iPad and Samsung tablets.

There’s a lot to be said about software longevity but the gains made by Apple’s newer CPU/SOCs is really impressive and noticeable day-to-day.
Not AI?
thanks for the link. This is interesting.

By carbon free, do they actually mean e2e energy production? Do they include mining for the material needed to make the turbins, the batteries and the impact of throwing the batteries afterwards? ...
Someone needs to do a parody video with mIRC changing channels instantly on a 486
I mean, I guess "don't produce or use buggy software" is good advice, depending on what function you're looking advice to do.
There is no comparison with bitcoin here. Bitcoin is still struggling to find a single legitimate use case, while GPT4 is already proving so useful to so many people (including me).

> What you're seeing now is as good as it gets (in terms of big breakthroughs, there will still be lots of small and medium ones).

Unless you have a strong source for this, I find it hard to believe. Also, GPT3 didn't have many big breakthroughs over GPT2, other than massive parameter size.
The title is incorrect - this isn't phasing out gas cars entirely by 2035, it's stopping sales of _new_ gas cars. Once all new cars are electric, that'll create a slow switchover over the following decade or two.
Group creators can disable history sync if they wish, and when you join a group someone else created, you can see whether it’s enabled or not on the group details screen. I have it disabled in a bunch of my small, more intimate, groups for exactly this reason: so that nobody has to worry about someone else adding a less-trusted person to the group, who automatically gets a copy of history. But in larger groups that already include people who don’t know each other in real life, history sync makes threaded chat much more useful for new group members. And even in the absence of history sync, most people will already rationally treat these large groups as semi-public, knowing that any of the members you don’t already know and trust could easily leak what you’ve said to an audience outside the group.
In the U.K. the average car does less than 30 miles a day. Charging overnight would require a draw off less than 1kW. Clearly my house can do that as my kettle is currently boiling and drawing 3kW alone. My shower this morning was nearer 10kW.
We Misunderstand Anxiety and Miss Out on Its Benefits
> I had my fun while being a student

I've never understood the whole "party it up in college" thing. Like number one, I had to go to class and then do school work. I also had to work a shit job to try and not end up drowning in debt for school. I basically did the "996" thing (12 hour days 6 days a week) between school and work for years. It was not a party for me. Also I have zero interest in putting a child through that or many aspects of the modern world.
It is the cheapest of the phones they offer. It is literally the low end of the range. It has the same chip, but older everything else. It's OK for something to be the low end - it has a market and a purpose. It isn't a slam against the device.
I’m also going to guess that people drive on average far less in the EU than in North America where I imagine a lot of critics are framing their mental model of the issue.

A quick search suggests that the average annual distance in the US is about double.
The results I got from this were unfortunately not useful. For example in trying to extract the property names from a connection string, I highlighted all of the property names along with the equals sign. So for

"PostgresSql": "Host=localhost;User ID=postgres;Password=xxxx;Database=test;Application Name=Test1234,Port=35432;Pooling=false;"

I selected User ID=, Host=, Application Name=, Password=

The results were pretty useless, using the literal inputs as pattern matches:

(User ID|Host|Application Name|Password)=([^;])
(User ID|Host|Application Name|Password)=([\w])
(User ID=)|(Host=)|(Application Name=)|(Password=)
([Uu]ser [Ii][Dd]=)|([Hh]ost=)|([Aa]pplication [Nn]ame=)|([Pp]assword=)

The following prompt given to Chat GPT 4 however:

> Write a regular expression to extract the property names from this PostgreSQL connection string: "PostgresSql": "Host=localhost;User ID=postgres;Password=xxxx;Database=test;Application Name=Test1234,Port=35432;Pooling=false;"

Yields the response with an explanation:

(?<=[^\\w])([A-Za-z ]+)(?==)

"This regular expression will match any sequence of alphabetic characters (upper or lower case) that are followed by an equal sign (=). The negative lookbehind (?<=[^\\w]) ensures that the property name is not preceded by another word character."

A quick test on regex101.com shows this works perfectly.

Sorry, don't like to be overly critical. Someone has attempted to solve a common problem for developers, but LLMs are going to blow applications like this away. And I think that Chat GPT at version 4 has become a truly useful tool.

I was interested to test this since I'd been writing a regular expression earlier in the day for a similar usecase, which I've written up here: https://journals.appsoftware.com/public/76/227/4221/blog/sof...
Same people who say BTC is deflationary, ignore how many coins have been printed in five years (just check coinmarketcap).
Nice release ! Will use it right now ! = )
Awk Technical Notes
OK, fed.
It’s going to be hard to do, but that doesn’t mean it shouldn’t be done. Ambitious goals like these that actually direct society towards improvements are exactly what we need to tackle climate change, not more foot dragging and excuses.
>If they want to use an old phone, they can just stop updating their apps and not installing new apps.

And if the app developer has updated the app and sunsetted certain functions of the old version such that the old app no longer works right despite being installed?

I've had banking apps, which I haven't updated, completely lock me out until I moved to the newer version.
PPP-adjusted GDP

(note that CN had already passed the US in PPP terms a while ago)
"For no apparent reason, Safari acts like there’s no internet connection. Rebooting solves that until a week later."

My iPhone 13 Pro does this all the time when I'm not on Wifi. Time to visit the Apple store and make them give me a free phone. Is it actually a phone problem? Doubtful. But they should pay. Oh yes, they will pay (by providing a replacement under their silly-expensive replacement plan).
> Schreibe mir bitte ein Python script, dass 50% "I don't understand" oder andere 50% "I need a cup of tea" (nicht überserzt, nur auf English!) drucken. Alle Code Comments muss auf Hindi sein. Deine erklärung auser die Code muss ins französische schreiben sein.

Lemme guess: you generated that prompt by writing it in English and asking GPT (or Google translate, but not DeepL) for a German translation?
The WV e-up! was stupid simple; with the non-touch screen only being used for the parking camera and radio.
Buying more fossil fuels
> The listing status of Alibaba’s shares in New York and Hong Kong won’t be affected, people familiar with the matter said. Alibaba’s Nasdaq-listed American depositary receipts climbed more than 6% in premarket trading on Tuesday in New York.
Yes, and the author is importing a key from offline storage, not creating one on the Nitrokey directly.
"Job security" seems like an unfair way to describe backwards compatibility. Most of the quirks of the Web platform are due to it having some of the strictest backwards compatibility standards of any software. For the most part, you can view a GeoCities site from 2005 in the latest Chrome browser and it will render the same as it did 18 years ago, assuming all the assets are still loadable.

IMO, the Web as a platform has done a great job maintaining this standard, and it's only been in recent years that all the browsers became "evergreen" and are able to add new changes at a rapid pace. I definitely wouldn't hold this against the people responsible for maintaining (!) the CSS spec.

Now, should there be some entirely new design language that starts fresh without any of these assumptions, and free from technical debt? Well, maybe, but then again that's kind of what each new version of the CSS spec does when it introduces new rules, which is much easier now with all browsers evergreen.

(edited to replace "green field" with "evergreen")
Show HN: An all-in-one app designed for deep work and to build atomic habits
Can you do it for the game of life? Pretty please?
This might be helpful: https://www.doesthedogdie.com/are-there-flashing-lights-or-i...
For someone who wants to have kids it ought to be an extreme sacrifice since they will change most aspects of your life and you will need to spend so much time on them.

For someone who don't it's not a sacrifice. But the person I responded to obviously wants children. So for them it would be an extreme sacrifice to not.
I buy a discount old non-iPhone from Target for $29. When I drop it and it's destroyed, I drop by Target and get another one.

I have in my lifetime spent less than 10% of one iPhone on phones total.

It runs maybe half as fast as a current phone. At 3% of the price.
What amazes me about C++ is that the complexity is deliberate. I started learning it voraciously in the early 90s, read Design and Evolution of C++ and many other books. Over and over again the theme was to be broad and deep, multi-paradigm, kitchen-sink approach that should have as much power as possible, with the bizarre caveat that it had to be backwards compatible with C (mostly).

I have never understood this POV, but to understand C++ O think you need to grok this key point deeply.
NFT Plans for Royal Mint produced token dropped
Which one is that? I'd like to check it out.
Bad apples is a very apt term.

A few bad apples spoils the bunch. You can have thousands of apples in a barrel, but a couple of bad ones can quickly make the whole barrel worthless.

For example, the New York Times makes the right call on integrity vs profits, access, etc dozens of times a day for years. Then one time 20 years ago they make the wrong call vis a vis Iraq weapons of mass destruction, and they've almost completely destroyed their integrity. Seems unfair, but as a consumer we can no longer trust them, and probably never should have.
How else would you implement tagged union? Rust already optimize away the discriminant when its Option<NonZero>
What about Chrome? Or is it general connectivity?
I see Sandero at 11300€ and Spring 22750€. “Eco Bonus” is 4500€ and is being phased out.

Personally I will have luxury car afterwards too. But I know enough less fortunate people still driving VW Golfs from 2002, 2005. They will have hard time. They are not interested in crazy expensive cars with 120 km winter range.
I remember there was a test run Australia and no speed limit didn't increase casualties.

Whenever I come over to Germany, driving on autobans feels like a pleasure compared to eastern european highways with a speed limit :/
Sadly this is not the trend at all
People are already working on all of those things.

Even with coal electricity, electric cars have lower total-lifetime CO2 emissions.

Also, the more low-hanging fruit we fix, the more time we have left for the hard stuff.
>Buys apple phone

>Shocked at cost of keeping up with normal industry progress

I always think I'll never be surprised again by the sheer scale of compartmentalization of knowledge some people in this industry are capable of.
Thanks, just saw the archive.to link to actually be able to read it.
I personally would love to see some AI model imitate Thelonious Monk compositions and solos. The result would probably be hysterical
Gulf Rupee
"Electrofuel". God.. they are so good at lobbying and PR i have to admire it. Even though it will lead to people dying by toxic exhausts.
Mozilla.ai – Open-Source AI
63% of Americans self-report as Christian. Many denominations are as devout as the Amish (though they lack the aversion to modern technology).

Why do you assume the need to convert?
e-fuel cars also generate noise, sound pollution. Sad that Germany prevented us from getting rid of that noisy redneck revving his expensive engine in the middle of the city.
Automation doesn't need AI: Heroku 2 (whatever that will be named) will make it trivial to deploy things.
It's way less complicated than that. Music and art in general belong to the social context that produced them. A lot of our appreciation doesn't really come from the technical prowess of the artist or the music theory behind that, but from the cultural hooks we can find in it.

If you want a quick example of what I'm saying, look online for Music for Installations by Brian Eno. It's a "almost-generative-but-not-really" music album made for audiovisual installations. It's... kinda nice but it's 6 hours long and literally gets boring after less than 30 minutes.

I can't imagine listening to something even more abstracted from a human composer for more than 20 minutes. I mean, I'm pretty sure you can generate something even quite pleasant with AIs. Most people will just listen for 15 min, say "uh, cool", and go back to regular music.
Telemetry in OpenSSH Server for Windows
Really? My ipad became e-waste because HBO, Hulu, and Netflix all released new versions of their apps for the new version of iOS, and then decided to cut the old versions off from their services. The old versions all show an error telling me to upgrade to a new version, which I can't do. The sole purpose of this ipad was for media consumption.

I then thought I would use my ipad as a Shopify POS terminal for my side business when I do pop-ups. I obviously didn't want any of my personal information on _that_, so I reset it and created a new apple id. Except, you can't download any apps! Apple only allows you to download the latest support version of an app IF you had already downloaded it.

This meant first installing on a device with the latest version of iOS. So I began backing up my iPhone 12, resetting it, signing in with the new business apple id, downloading the apps I needed, resetting it, and restoring it with my personal account.

THEN I was allowed to download the latest supported app on my ipad. Success!! Well, no, because the latest supported version of the Shopify POS says I have to upgrade to a new version to use it, which my ipad doesn't support...

So, back to e-waste...

The article is right. Blame us developers for:

1. Requiring the latest OS instead of lastest-2.
2. Cutting off older versions of our software from our services.
Did they? Did anyone measure that? Or is that simply an assumption? Relatively small dietary changes can greatly reduce the amount of methane produced by cows (I believe you add something like 15% seaweed to the feed), so it's not at all clear that a free range bison would be similar.
> The charging issue and grid use is a massively overblown problem. You only need to charge your car for a few hours every 300 miles. Nowhere near everyone is always charging all the time.

The problem is that our electricity grids are nowhere near up to the challenge. They're not as rotten as the US grid, but still - barely any smart capability, no realtime insights anywhere but on the generation and distribution level, no small-scale dynamic load management...

To support even 10% of an electric vehicle fleet getting plugged in after people arrive at home, not to mention large-scale small renewables, grid operators will have to do extensive upgrades. Street transformers need real-time load monitoring, PLC support must be present everywhere to make sure all the components of the grid can still talk to each other, and vehicle chargers and solar inverters need to talk with the grid as well.

And there are barely any standards in that area.
Vanilla Vim and Emacs are pretty small by today standards. They can run everywhere. Emacs was born text only, BTW. If you start turning on language servers, that becomes the larger part of the editor and the actual editor is just a small fraction of the total.
OnePlus 6T here and finally thinking it's time to step up. My previous phone was the OnePlus 2T so seems right to go up to the 10T now and do every 4 versions.

I've not had anything quite that drastic, but there are definitely a few small niggles I think I'll notice once they're not there. Main reason I think I'll upgrade is the usb port is becoming quite sensitive, it's 50/50 if it likes a particular cable now
Honestly my best bet is to never buy an android again, which is what I will likely be doing.

(I know the original article I'm commenting on _is about iPhones_, but their phone is from 2016, and mine is from 2019, which from the perspective of losing support in 2022 is basically twice as good)
If you buy a car with a gas engine in 2035 it'll be stuffed full of electronics too. This is independent of EV vs gas. If you want to keep driving your 2011 vehicle because it doesn't have a bunch of garbage in the infotainment system then you'll still be able to do that.
> OP said "most" not "all". Rental cars for the occasional exceptions, ownership for whoever has to use them regularly, that's still basically fine.

You can't cover most either. It's only feasible for high concentrations of population.

I live in a place with a lot of population dispersion, and I see how my regional government struggles with this, for good reason. In other regions of Spain where the population is extremely concentrated this isn't much of a problem, but we do have much more economic activity going on in the countryside.

> Purchase price, or price per km? Because that's a very important difference.

> Electric is already better on the latter, even if battery costs fail to get cheaper with more scale.

It doesn't matter if people has no capital to purchase a car. In Spain (which definitely not the poorest EU country) second-hand cars lead the market. And almost nobody buys second-hand electric cars, and we all know why.

In brand new cars you can see Dacia leading the table many months.

You can try to fool people with tricks like pushing prices of gas cars up but people has no infinite pockets. Maybe in the blue banana region this is not a problem, but for everyone else a car is a tool, and it has to be affordable, easy to reapair, and last for quite a while.

Nobody in this situation is going to buy a 25k car (expensive) with extremely expensive repairs, and this is not even taking in account the extreme rent-seeking practices most brands have been practicing this years.

Even stupid people learns over time. Youngster can't afford cars in Spain. They theoretically can. If you have a job you can buy a 25k car, but you know what comes afterwards. It will sink a lot of the money you have, any problem and you'll be fucked, insurance, increasing taxes for everything, etc.

At least a second-hand Ford Focus is cheap. I can travel to the other side of the country if I need to. I can hop on it and go on a trip without much planning. Any problem means I can get my car into any repair shop and they know how to deal with it, and parts can be sourced relatively cheap.
The alternatives still work just fine, or at least OpenRC does.
That appears to be not that fuel efficient, though, right? For instance, a 2020 Honda Fit will do 36MPG [0], meanwhile a 2003 Saab would do around 20MPG [1]. Depending on where you live and the usage of your car, I can imagine electric cars being much cheaper overall, even though the starting price can be much higher. I should note I live in a Third World country where electric cars basically don't exist yet, so I'm not aware of the day-to-day realities of using electric cars.

[0]: https://www.fueleconomy.gov/feg/bymodel/2020_Honda_Fit.shtml

[1]: https://www.fueleconomy.gov/feg/bymake/Saab2003.shtml
dunno - far beyond my pay level. but:

https://en.cppreference.com/w/cpp/types/is_class
You don't need to downgrade iOS if you never update it. I agree with some apps becoming unusable because vendors force updating. This is similar to all other industries though (albeit faster-paced): I can't play PS5 games on my PS4, it is hard to get replacement parts for my 10 year old vacuum.

As I said, I'm still sporting a 11 year old iPad and using it for what it can do. It works for me. But I'm not expecting to use it like a modern iPad with modern software.

I agree with the device reset, that sucks. I never had to do that so I hadn't thought about this.
what is the natural explanation that you are providing for the increase in global mean temperatures since industrialisation?

seems pretty obvious to me that a large igneous province is a comparable example to anthropogenic climate change (e.g., https://www.nature.com/articles/s41467-019-12957-1). more carbon, higher temperatures. This has happened in the past literally every time a large igneous province has emerged. the big difference between today and the past is that the carbon being produced currently isn't from a large igneous province, it's from burning carbon fuels, making concrete, etc.

if you don't believe it, then feel free to download the data from wherever it is collected (see examples below) and prove me wrong.

https://climatedataguide.ucar.edu/climate-data/global-land-p...

https://climateknowledgeportal.worldbank.org/country/china/c...

https://climate.nasa.gov/vital-signs/global-temperature/

https://www.osti.gov/biblio/10154823
For the last 20 years battery cost per kW/h has fallen around 10% average every year. ICE engines have thousands of moving parts driving up the complexity and price, while electric engines have what, 3 moving parts?
It is inevitable that the electric cars will take over, ICE engines just can´t compete on price.
The mini is the _right_ size for me, and cell is a requirement. Default sized iPads look comically large, without even considering the pros.
miata