skysight-inc/HackerNews huggingface dataset:
There are more people in the United States than there used to be. When I was in grade school, I learned as a child that our population was just a bit over 250 million. Google's claiming that it is 335 million right now.

Wikipedia says in the early 2000s we were at about 1 million illegal immigrants, and about another 1 million legal. I am unable to find reliable numbers for more recent years, but can it actually have gone down?

The nation could be building a million new housing units each year, and the pressure on supply wouldn't lessen. Maybe the problem isn't zoning or nimbyism or speculative investment.
This just dropped covering OLD IBM's "bundling stratigy", great overview from a great channel

https://www.youtube.com/watch?v=rXS6lTYSgCw

Again, what is NEW about what google/apple are doing vs what IBM did? Nothing really. And for as much as the HN crowed likes to hint at the word monopoly, they are a duolopy, and this isnt the same thing (by a far margin)... for as much as they might look close from a consumer perspective.
Ironically part of signing onto a label is providing protection from stuff like this.
> I've heard frequent complaints about spotify pushing podcasts but I've never once had spotify show me a podcast above the fold that I haven't myself followed. Only if I scroll really further than I've ever scrolled before could I find it.

I accidentally listened to a podcast in Spotify once. That podcast has been on my homepage ever since. There is no way for me to get rid of it.
It's a fun one liner, but what is the use case?

When I want to replace some element using JS as the user clicks a link, it is progressive enhancement.

Usually links enable history navigation. If you do stuff like this, you need to code it in a way that uses the history API to fix it for users with JS enabled (majority of users).

If you don't want history navigation and URLs, why do you use links?

This breaks history navigation and bfcache for no good reason, or am I missing something? bfcache already provides SPA-like speed, or even better.

No need to avoid regular links if you e.g. link from a list to a detail page.

Also:

> No preventDefaults. No hidden layers. Real DOM, real interactions. No VDOM, no click listeners. No AJAX, no fetch. No reinventing browsers.

So many words saying nothing, just to cater to some sentiment. fetch is part of browsers by the way.

If I need to replace an element as the user clicks a link, I can code it myself (without using this abstraction layer, however thin it is). I also don't need an iframe for doing this. And preventDefault is aptly named and a good reminder for what progressive enhancement should do. If it's not meant to be a link, don't use a link.

And if you want to react to clicks, you know, use click listeners (event handlers). Where's the problem?

It is understandable to developers and uses native browser functionality as intended. As opposed to this hack, which I'd find pretty glaring, bug-prone and hard to understand, would I have to debug an issue on some page that uses this snippet.

To me this seems like useless indirection and technical debt.
If you really need low-code AJAX "links" (who says you need that, if you don't want an SPA?), code yourself some understandable JS that is properly tailored to your site and respects history navigation, or use a library that is a good fit for your concrete use case.

As a joke, I like it though…
"I assume the artists are reasonable rational adults. If they're on the platform, its economically advantageous to them." - Your assumption is wrong though. Artists aren't on spotify because it's economically advantageous for them, they are on spotify because they have no other alternative. It doesn't matter if it's streaming platform A or B or C, they are ubiquitous and as an artist you want your music to be heard, so you have to play the field. In this case, the field sucks and mirrors capitalism, skewing the gains towards the top of the pyramid.
Probably kakoune
https://archive.is/UPdIT
I mean you can have a conversation with it in English. You can use slang, idioms, misspellings, invalid grammar, and it will track you just fine. This was a sci-fi dream a decade ago and now it’s reality.
It's likely Kakoune, which this post has a section dedicated to. There are also other Kakoune-inspired editors that have this Vim-inverted behavior, like Helix.
For sure, if you never eat or drink anything you probably won't die of cancer.
There is a 3rd reason: not (fast) enough transportation infrastructure.

If you don't provide good transport infrastructure, then people must live close to work which will increase housing demand close to work, which then increase prices.

You need to plan for high speed trains, subways and metros to provide enough transportation capacity, so people can live "far away, but short travel time".

Cars are really bad at this as they take up an enormous amount of space for parking and for roads. You also cannot get much stuff done while driving a car, much easier to do work in a Japanese high speed train.

Imagine there was multiple high speed rails lines going out from Silicon Valley: how far from SF can you get in 25 minutes using 300 km/h train versus how far can you get using a car in rush hour? Housing prices in SV would be much much lower if you could get from Stockton to Mountain View in 25 minutes with reliable service and a lot of metro for "last mile" transportation.
Yeah, it's nothing to do with Elon and we (Groq) had the name first. It's a natural choice of name for something in the field of AI because of the connections to the hacker ethos, but we have the trademark and Elon doesn't.

https://wow.groq.com/hey-elon-its-time-to-cease-de-grok/
We turned Duo's butt into a viral Super Bowl commercial
> The fact this tech is becoming g democratized is good.

The issue is that it's only democratized if you have the money.
Good suggestions, thanks! I was on the fence about the capacity filter. Wasn’t sure if discrete numbers would get in the way or be easier to use.

The invert/uncheck all button is definitely on the list. Hadn’t thought of making it an invert button - I’d put off adding it because I didn’t like the idea of check/uncheck all. Thanks.

I don’t track anything on the site (static hosting from my registrar lol) so I can’t track common queries- but sane defaults makes sense. I can at least uncheck the ancient stuff by default.
I was talking about hosting a website in an S3 bucket.
As a native upstate new yorker, I root for the success of GlobalFoundries. But it was exceedingly frustrating to me that they went and did layoffs in 2022 despite their booming revenues and incoming subsidies [0].

It seems to me there should be some kind of rule to prevent these layoffs for companies that receive billions of federal dollars.

[0] - https://vtdigger.org/2022/12/01/globalfoundries-to-cut-up-to...
Do at least moderate amounts of exercise fairly regularly.
The decimal point is 150 years older than historians thought
My belief they have some sort of intelligence is more based on GPT-4 being able to figure out stuff I can't figure out myself. Things like "why doesn't this bit of code work" or "how can I write code to do blah blah blah..." It's not quite like human intelligence, better in some ways, worse in others. The better bit is it has far more information than the average human, the worse is it's reasoning is not as good as a smart human though maybe ahead of some dumb ones.
Take your tetanus shot and don’t step on rusty nails. But, per GP’s point, maybe someone doesn’t get tetanus anyway.
I lost 10lb in 2020 while WFH. Didn’t put any real effort. I just ate a lot more home cooked meals. Didn’t even exercise. Walked very little, drove everywhere.

Then I went back full time to the office in late 2021 and gained all of it back. Only difference is I started eating office food again - office food that is specifically supposed to be “healthy”. I even walked and biked a lot more thanks to the commute.
I also have trouble finding new music on Spotify. I find its nearly impossible and have a strong preference for the old design.
A little off topic, but how is it possible that a tech startup named itself “Wyze” and didn’t get sued by Google over the “Waze” trademark? In some accents it sounds exactly the same, and they’re sort of in an adjacent product space.
Hey HN community,

I'm excited to introduce codeplot, a tool I've been working on that's designed to revolutionize the way we interact with data visualizations in Python.

What is codeplot?

codeplot is an interactive spatial canvas that allows for dynamic data exploration. It's built to move beyond static images and fixed layouts, giving your data the interactive, engaging platform it deserves. With codeplot, you can easily integrate live data visualizations directly from your Python code or REPL into a flexible, interactive canvas hosted at codeplot.co.

Key Features:

Dynamic Visualization: Say goodbye to static charts. Visualize your data in real-time on an interactive canvas. Easy Integration: Seamlessly plot from Python with just a few lines of code. Varied Visualizations: Support for a wide range of data representations, from basic charts to complex widgets. Flexible Layouts: Customize your data exploration space with draggable and resizable plots. Open Community: Whether you're a data scientist or a hobbyist, codeplot is designed for anyone passionate about data. Getting Started is Simple:

Install codeplot with pip, connect to a room, and start plotting right away. We even support usage in Jupyter Notebooks for an integrated development experience.

Docker Support:

For those who prefer self-hosting, codeplot is Docker-ready, allowing you to run your own server and client locally with ease.

Join Our Community:

We're building a community of data enthusiasts and professionals on Discord. It's a place to share insights, ask questions, and collaborate on data visualization projects.

I'd love to get your feedback, suggestions, and hear about the visualizations you create with codeplot. Let's make data exploration more interactive and engaging together!

Thanks for checking out codeplot!

– @antl3x (Creator of codeplot)

https://github.com/codeplot-co/codeplot
https://codeplot.co
Yeah, I don't know what the cost to us is to build out our own hardware but it's significantly less expensive than retail.
The user found out that he's overdosing on caffeine and cutting it late in the day.

Caffeine takes 10 hours to clear from your system. I only drink a single cup of coffee every day, at 1 PM, to clear my afternoon better.

It's not a substitute for sleep, lack of attention and your body has an upper limit. Don't abuse that limit, and you'll have none of the problems author described.

I'm telling you as a person who drank 2 liters of coffee flat, every day.
Python Project Creator Script –> PPCS –> PythonPieCeS –> Ppieces
I tend to always have a python project or two on the go, usually for my own benefit, little scripts to make my day to day easier/faster/automated or just learning new things or experimenting with ideas.

Because of that I found myself repeating the same steps over and over again when setting up new Python projects. Same song & dance.

I wanted a way to automate the setup for new projects, so I created ppieces.
> Why throw all semantics out of the window?

Almost everything nowadays is designed with mobile-first in mind approach - whether it's a smartphone or tablet, or desktop software. That throw all semantics out of the window - look what happen to e.g. Gnome over the years. What's worse I'd say, is that the lack of clear differentiation between types of interface elements made easier to hide options within GUI under various dark patterns (active element vs static information etc.) - whenever its required to do so.

As for Firefox GUI changes: Mozilla ask their users for feedback many times and the feedback was given - often strongly criticizing the upcoming changes but they ignored it and introduced changes anyway. I did submitted mine when they were about to rollout Australis but I didn't bother myself to say anything when Proton was about to be introduced because I knew that the corporate facet of Mozilla doesn't care and they'll do whatever they like.
I was going to mention that people may be holding off on purchasing EVs until the switch to NACS is finalized in 2025 or 2026, but it didn't seem particularly relevant to the parent comment.
Good point and perhaps i might improve quality of sleep if i gave up that espresso.

But this goes deeper into philosophical discussions about human life and things like art that transcend the banal “useful/useless” prism.
But thick plastic and aluminum are much less likely to end up in an ocean than a plastic disposable grocery bag. Plastic disposable grocery bags catch the wind very easily and are great kites. They can easily travel hundreds of miles in the air.

Also, decomposing in the ocean is exactly what we don't want. Plastic disposable grocery bags decompose into microplastics, and we're finding out how bad that is. A heavier bag stays intact.
My 15 y/o daughter loves CDs and has a small CD player. Why? She can record whatever she likes on them, do custom artwork and give them to friends. Even if they never play it, they have something tangible and interesting.

Sending playlists to friends using iMessage just isn't the same.
This may be a good place to introduce my HomeKit based Wyze v3 camera reflashing side project. Still a work in progress.

https://github.com/radredgreen/wyrecam
People process caffeine super differently. I’m pretty sure caffeine makes me crash 4-6h later which is great for falling asleep
Well I thought so but even with the functions marked IMMUTABLE, which is even more stringent than STABLE the in-lining was not successful, this was apparent in the query plan.

This might be a special case however as the function called another function internally (also IMMUTABLE) which was essentially memoized using an expression index. This is the index that was no-longer hit when inlining failed.

If you think this is bug I think I can create a minimal reproduction.
Commuting to and from the office five days a week is a hell that I never want to go back to. WFH has transformed my life. Being more productive is a nice bonus, though it’s the personal life benefits I care most about. Work is already so dehumanizing, can we just have this one thing in our favor for once. Four day work week next would be lovely.
Got any brand/model recommendations? I also want to run full local.
…yes. This is exclusively scraping Amazon. Keeps it simple. Also it seemed like a lot of the reason why Amazon is suboptimal for PC hardware is because it’s hard to find stuff - so maybe this helps make Amazon a better option.
That seems to be per card instead of chip. I would expect it has multiple chips on a single card.
it also really helped that in difference to today wen Chrome was new it's performance gain over FF was often quite significant (same for security)

while that isn't really true anymore in any relevant way it's still stuck that way in many peoples heads

And sure part of the perf issues where quite often not well behaving FF extensions, toolbars etc. also often installed by unrelated programs preexisting installed on the same computer and that FF needed some major refactoring/rewriting just because it was quite a bit older (which are done by now but had inevitable but sad effects like XUL extensions being gone).
This is a whole scientific field, called numerical analysis: https://en.wikipedia.org/wiki/Numerical_analysis
Uh, are they mandatory again?

For these reasons, we propose to make variably-modified types
mandatory in C23. VLAs with automatic storage duration remain an optional language
feature due to their higher implementation overhead and security concerns on some
implementations (i.e. when allocated on the stack and not using stack probing).

from N2778 (https://www.open-std.org/jtc1/sc22/wg14/www/docs/n2778.pdf)
> Offline doesn't work sometimes when you seem to have a connection but it's not really working.

Definitely had this problem when you have a weak connection. Even if you have already downloaded the music, it still hangs trying to connect, in order to... I dunno, download the lyrics or something? Get related tracks? So I end up having to go into airplane mode just to make it play.

Just play the saved files, and wait on the API calls in the background.
The reality for musicians is that if you're on the middle of the bell curve in terms of ""quality/popularity"", in comparison to other professions, you earn the same as the people below the bell curve of other professions. This is massively unfair.

Imagine if all the software developers that make a living, had to be "10x"..
You don't believe HN is moderated for low quality opinions?
There is no information about the function's prototype in the object file, so the linker can't determine that. The compiler can't either since it's just compiling the compilation unit and has no knowledge of the outside world except what we tell it by prototypes (injected via header files or otherwise), but we aren't doing that here.
Fine with me. (op would still object, though, because their issue is "The URLs always break. The libraries never load properly. A book should never depend on a URL")
Public housing would likely be even more difficult to build. If you think that NIMBYs created obstacles before just wait until a politician proposes building "housing projects" in their neighborhood.
> Do you think the issue was something else?

No, I'm not questioning whether or not it was a caching issue. I'm taking exception to the lack of accountability. They chose the library. They (probably) chose to ignore a documented or common failure mode of caching systems through either poor choice of key or lack of synchronization. They've obviously designed their infrastructure in a way that isn't resilient to its current level of usage (cold start is a normal part of software's lifecycle).

They could have chosen to own that, but instead they blamed everyone else. That's not a sign of a trustworthy service provider.
What we think of as "plasma screens" were invented at UIUC for the PLATO project in (checks) 1964, by Donald Bitzer, H. Gene Slottow, and Robert Willson. They had a resolution of 512x512. They started cranking them out in bulk in 1972.

These were monochrome orange vector displays. They didn't use segments.
How to make galaxies with the wrong amount of dark matter
> There's also the weird conservative thinking that public housing provision somehow amounts to people getting "something for nothing".

Isn't this true though? You tax away peoples' purchasing power to give away free goods/services to a subset of the population excluding those that paid for it.

Why not instead make a private company that provides free housing conditional on those living there working X hours in a factory producing widgets? So long as both parties agree, that would be a better solution as it is pareto optimal.
Okay, I may have the mechanism wrong, but you've confirmed that it's active in brain blood flow. It's definitely an effective medicine and complement, at least for me. It's included in many OTC cold & headache mixes for a reason.
Context independent so I can use a "masked email". A Gmail account can close at any moment without a notice and good luck figuring out what happened.
More precise and organised than what?
I think I messed up the JavaScript filtering code. I have a guess why it doesn’t work, but it’ll have to wait until after work hours.
VLA support is mandatory in C23? I'd like to know the rationale behind this decision. Can you provide any references?
Thanks.
Hmm, yeah, doesn't look too bad: https://repost.aws/knowledge-center/cloudfront-serve-static-... Docs are confusing and you have to be careful to choose the option that's actually end-to-end HTTPS.
Can I run a media server on an RPI? No. -- It's interface is slow and bus speed is shared. No redundancy either.

Can I run my password manager server on an RPI? No -- do you want to loose all your data because the SD card failed?

PiHole? Unifi controller? Maybe
From parent:

> you're not probably not going to be migrating away from it any time soon.

Oracle has its own optimizations and foot-guns that extend well beyond what you can represent in a database-agnostic API. And once you're on that DB, you can write DB-agnostic and have performance be relatively horrible or require a careful rewrite of your schema and stored procedures when you migrate. There is not door number three.

Writing a common layer for any and all relational databases is like using a Java UI library for all operating systems. Sure, it will work, but it will have obvious shortfalls, be immediately recognizable as such to anyone familiar with the underlying platform, be inconsistent with other apps on that platform, and leave any opportunities for efficiency and performance on the floor.

Say you want a pivot table. In Oracle and MS SQL, it's built in. In Postgres, it's possible but noticeably more annoying. In MySQL, it's simply not possible. How would you represent this in a database-agnostic way? And yet performing in the app layer is very much slower/less efficient.

Did you know Oracle supports parallel DML for enhanced performance and lower multi-query latency? You have to intentionally use though, and neither Postgres nor MySQL support it at all.

What about global temporary tables? Those especially aren't found in Postgres or MySQL and are not easily swapped into the app layer without a massive performance penalty.

Per-user namespaces are yet another Oracle-ism that just doesn't translate to other DB engines, but you definitely should know about.

If you're making a living from Oracle, earn your pay. Make the most of what you've got.
WTF?

Maybe it's a thing in your corner of the internet, but searching for some combination of "expiry", "flow" and "contamination" in mine only yields results about water treatment, drug manufacturing, or some other chemical laboratory process.

Even trying to think of synonyms for those words doesn't illuminate me in any way about how your previous comment might have any bearing on mine.
Intel designs their chips here, but Intel makes their chips in Israel, Vietnam, Malaysia, Costa Rica, etc.

This is what the west was trying to do before: Providing services like microprocessor design for the manufacturing industries overseas.

But of course, simply drawing stuff on paper for others to peruse doesn't actually produce value. It's the act of making something that produces value, and we finally realized that grave error.

Not to mention the people doing the manufacturing work will inevitably accrue the know-how to also just do the designing themselves too, and then we in the service industry really are worthless fools.

>I’m not sure what you mean by “can’t even make chopsticks by itself,”

I mean that quite literally. I know Georgia (the state, to be clear) has (or had) a robust disposable chopstick manufacturing industry, but nearly every disposable chopstick I see sold or given out are Made In China these days.

If we can't (or won't) even figure out the means to making some wooden sticks, we definitely aren't manufacturing microprocessors.
so anyone use schema.rb in production? even dhh once campfire use .sql instead schema.rb
Can't Chamath (he's one of your investors, right), do a thing there? Every person I pitch Groq to is confused and thinks its about Elons unspectacular LLM.
I wonder if it would be possible to setup a folder on a remote server, and use that as the directory for local files. Wonder if Spotify would play nice with that.
Jesus that makes chatgpt and even gemini seem slow AF