skysight-inc/HackerNews huggingface dataset:
This is great. I had an idea to use named iframes and targeted forms for simple, server-rendered pages with built-in style-scoped widgets, without leaning into complex JS client-side. But, I never simplified it well nor expressed a polished and elegant realization of that idea, as this htmz looks to me to be.

A reminder to never give up good ideas, focus on excellence, and focus on refinement to a completion of an idea, and communicate well!

Also the comments here:

- This is a great hack and shows how close the browser is to offering SPA natively.

- This is a glorious demonstration of someone really understanding the platform.

- Simple and powerful, as the vanilla web should be. Thank you for this (small) gem :)

- This is a neat hack, I like it :). Thanks for sharing.

are exactly what I hoped to hear reflected about my creation, and are totally on point for what this type of thing should be. Close to the web-grain, using the given material of the web in the best way possible. Fuck yeah! :)

Thank you for being a genius! :)

And for inspiring about what's possible! :)

P.S - also your communication and marketing skills are top notch! I think the way you have communicated this elegant technical thing, from the choice of name, API, examples, copy -- is just awesome. I learn from it! :)
The fundamental reason for why so much stuff is shit is because people ultimately above all else don't want to pay for it.

The internet largely sucks because of ads and tracking. But it's cheaper for users than paying directly, so it's what we are stuck with.
I can't help but wonder how many bugs could have been detected and fixed a quarter of a century earlier if those lints had been adopted more diligently by the C ecosystem.
> this might sound gatekeeping, and it literally is

That term presumes unkept gates are preferable.

I grew up farming. One keeps one's gates or both wildlife and livestock run amuck.
As Agnus got older, she got thicc.
Teenage Engineering Featured at Art of Noise, San Francisco
> We need to bring these factories back to small towns and regulations like you’re proposing completely kill that.

For an Amazon parcel sorter or a wholesaler distribution facility, sure, there are enough towns with desperate populations that can be exploited (and Amazon in particular is infamous for using that leverage).

But a company like Intel that needs highly educated staff? They won't go to some random village hours away from civilization.
If it helps you it's great. I was drinking tons of coffee daily from my teenage years to my mid-20s. I didn't feel any ill effects from it. Now in my early 30s, it causes anxiety. I don't know how or why, but it's scary how caffeine and a little bit of tiredness turns me into a shell of a man these days. Having a safe stimulant to kick you out of inactivity is a great help so I'd say take advantage of it.
I had a hard time reading this article as the author kept coming back to all these "day 1" anecdotes. Quitting caffeine cold turkey, I go through about 2-3 weeks of withdrawal. The first few days really aren't bad, just a bit groggy and my executive function is a lot less imperative. It's after that the real symptoms set in - extreme lethargy, nausea, and suicidal thoughts (things like "I could avoid having to get up off the couch if I were dead". Otherwise completely out of character for me, so it's very clearly the withdrawal speaking).

I think the second week is generally the worst, but I always forget until I'm there. After I'm through the withdrawal I do feel that I'm better balanced. Of course then eventually there's something in my life I just need to push through, so I start down the path of doing a little caffeine, then a little more the next day to make up for that, etc. I liken it to a high interest loan, and the only way I've found to pay off being the aforementioned cold turkey.

What really weirds me out is people who talk as if caffeine is not a psychoactive drug. You mention to a doctor that you're currently on 300mg/day of caffeine and they look at you like you have three heads for bringing this up. I don't know if it's people's own cognitive dissonance from enjoying "coffee" but programmed with "drugs are bad", or if caffeine really just affects me more than the average person, or what.
I have a strong belief that the vast majority of writings like this could be replaced with the sentence: “If doing something makes you feel worse, you should stop doing it.”
There is no need for the second phase. You can record the implicit declaration when you encounter it, and if there is a subsequent declaration, you can check that it's consistent or error out immediately.

This is what C compilers already do, in fact, to produce warnings when an implicit declaration doesn't match a later explicit declaration. But this is a best-effort warning only; it doesn't work if there is no declaration because the function is defined in a different translation unit, as I pointed out above.
Looks interesting. Is anyone here a reviewer?
For non-technical people it would be a huge security risk of not behaving that way, similar Clear, Past and Go would just be unnecessary confusing.

Technical people have the tendency to use keyboard shortcuts.
It's probably a little easier on the environment too.
Well, first, it's open source and free :) I hope that folks that find it useful fork it and build their own extensions or contribute to the project.

Second, it has some basic functionality to manage candidate workspaces, track comments, and originally had some more plans to do side-by-side candidate comparisons of feedback and detection of outliers.

I think that generally as AI-powered coding tools become more powerful and more prevalent in their use, productive programmers are those that can quickly review the output for correctness in the domain. (Maybe at some point, with 1m+ context, this won't be an issue!).

You mentioned also being able to fix the issue - I'd argue that in most cases, if a candidate can spot the issue, then it's a matter of reading docs, checking StackOverflow, or even asking ChatGPT for a proposed fix. Spotting the issue seems the more interesting and challenging task, IMO.
Would not be shocked if it's a combination of people wanting cheap stuff, and I wonder if the addicts themselves contribute. Sugary foods get calories into you and you can usually get them down without effecting the stomach.

If I was in a bad place, I could a good deal on candy being a godsend. Doesn't really spoil either. Wouldn't be shocked if the dopamine rush helps sometimes with "in-between times", though I'm betting it's not gonna do much for withdrawl.
Not for nothing, but I was able to raise HN in my Kagi search rankings (and demote others) because I wanted to do it, not because a Googler on the Search Team made a slide deck about HN.
https://help.kagi.com/kagi/features/website-info-personalize...

Best $10 I spend every month.
Why is this important for you who is commenting? HN is about arguments, not personalities.
connected cameras have been easily hackable circa 2001 and this isnt changing any time soon especially not with node.js smartcrap
Pioneering technique reveals new layer of human gene regulation
A friend died of lung cancer. Went from mild cough to funeral in about 5 weeks. 40 yo. 2 pre-teen kids.

Started to look after my own health a bit more.

This is a very welcome development.
The system does work, if you count the homeless people who would take bottles out of trash and return them, treating it as a steady income source. At least that's how it used to work in my country. Homeless people were recycling even before recycling became cool :)
It's definitely true that LLMs change the dynamic of 'discrete, deterministic computing'. For example LLMs will provide better quality results if they are told the task is important, or if 'offered' rewards. The obliquity in how LLMs are optimized is definitely a paradigm shift. Having said that, this is just a moment in time and LLMs are just one component of AI and the knowledge and tools to interact with LLMs and AI or constantly evolving.
Gradient Descent with Adam in Plain C++
> maybe someone doesn’t get tetanus anyway

Isn't that what the vaccine is for?

It's still a good idea to not step on dirty rusty nails. There are no exceptions here.
I'm pretty sure that Waterfox fork uses Lepton already for quite some time
It various a bit from place to place, but it is around that on average [1].

[1] https://www.cpuc.ca.gov/RateComparison
Get off my lawn, kid! I paid $300 for 4MB of RAM in ~1993.
Well yes, obviously there will be a price floor on housing in a wealthy country. My point is that in recent decades the entire developed world has absolutely strangled their housing markets. Anywhere people want to move to, the wages:home prices ratio has gotten to unprecedented levels.

In Europe the reasons are slightly different. A big one is marking entire buildings, their facades or even their ornamentation as historical landmarks on a large scale (sometimes entire neighbourhoods). Buildings codes are quite a bit stricter than in the US (in all aspects, especially energy efficiency and fire code) and permitting is just as slow and vulnerable to lawsuits-after-the-fact.

The reasons I suggested midrises is because that is the style of building that was built in Europe during the late 19th / early 20th century population boom and it still holds up today (people want to live there).
> except the huge amount of music that will never be on there.

and was there but isn't anymore
Energy democracy takes off in Greece
Yeah the confusion has happened a lot to me too. All I know is that it's in the hands of our legal team.
So many articles have terrible / gibberish writing. I can't help thinking, is this AI?
Eg. In this article, right out of the gate there are two...

..

"They are now on display at Kingston University in Surrey, England, but only for the rest of February 17th."

Are they saying that the machines are available on one day only? February 17th, The day the article was published? If so, that's a very strange way to say that.

..

"As far as what to expect, don't expect too much— these are the first desktop PCs created with a fully integrated single-chip microprocessor, including the CPU."

I am just guessing what they mean here. Do they mean... "the first desktop PCs created with a fully integrated single-chip microprocessor, which includes the CPU" ??

..

ps. I was using Miro recently and a popup appeared asking should the AI rewrite the text I wrote "for clarity" .. I just laughed, clarity is certainly not an LLM's strong suit.

But I reckon these tools are everywhere and they are being used everywhere.
> to restrict sales to domestic production only

You think people will stop buying NVidia GPUs, AMD GPUs, PS5, XBox, Nintendo Switch, iPhone, Pixels, Samsung Galaxies, and a litany of major automotive parts from Microchip/STMicro/etc. etc.?

Because none of these are made in the USA. The only major chips made here are Flash/RAM by Crucial, CPUs by Intel, and some lower-tech (but still important) chips by TI. The vast majority of chips, well over 60% of the worldwide supply, is made by TSMC IIRC, and another huge chunk are made by other companies located in Taiwan.

--------------

Furthermore, Taiwan is a close ally who has extremely friendly relations with USA. Yes, there's a war-risk with China here, but Taiwan fairly competes with us. I don't think anyone has a single piece of anti-Taiwan hate inside of them.

Its not a protectionist thing. Its purely the "what if China attacks Taiwan" thing. Economically speaking, trade with Taiwan and USA is a good thing. Geopolitically, trade with Democracies is a good thing, and trade with a century+ old friendly nation is a good thing.

-------------

Taiwan can create this tech because they are smarter than us and outcompeted us on this subject. Its not "low tech", its extremely difficult chemistry, high-end PH.d stuff here.

Taiwan is basically the Vulkans from Star Trek. They're smaller, more technologically advanced, but weaker militarily. They're so obviously good allies that its unthinkable to do anything against them. We need a "just in case" plan if trade between our nations gets interrupted because chips are a strategic good, but... cutting them off would mean that they ally with someone else and that's even worse.
In 5-10 years I predict there while be tons of mental health articles about how WFH is killing us. Less social life. Less relationships. Less friends. I'd prefer my 8 hours at work to be fun. It's not when I'm at home alone. I get that some people hate their co-workers. I've been lucky I guess.
Codeplot – Infinite Board for Python Data Exploration
The landlord problem has become so bad that in some cities the renter/owner ratio is hitting 50%.

These cities become prime picking grounds for anti landlord rules.

NYC is a unique case but cities like Los Angeles and San Francisco aren't. The future will be interesting.
> This sort of iteration is not very uncommon in esolangs.

Or academic computability analysis. Raúl Rojas's paper on the Z3 comes to mind. A neat trick.
i live with (more than mild) ADHD and this is something i only just realized about myself. i used to use medication, but keeping up with the schedules and appointments needed to maintain steady access to the medicine is _exactly_ the sort of thing i struggle with; these days i haven't been medicated for over ten years. i use caffeine (coffe & energy drinks), nicotine (vaping), and sugar (jelly beans) to be a functional member of society. i honestly didn't realize i was self-medicating until a doctor pointed it out to me a year ago.

i'm pretty certain my current habits are shortening my lifespan and that my life would be happier (and more productive) with medicine. at the same time, i have a partner who does use medicine and i watch the hurdles they face (with insurance, with pharmacy shortages, juggling schedules with multiple doctors, having withdrawal when availability doesn't line up) and i feel like i wouldn't stand a chance of juggling all of that.
Why Raising $1M Isn't All That
The article picture is from the Costco in Wheaton, Maryland. That particular Costco is built into a shopping mall, Westfield Wheaton Mall, which is in the process of being sold. The Costco was the main business keeping the place alive. This part of Maryland is between Baltimore and DC, and for whatever reason, everything in between is kind of run down in general. There seems to be a cultural apathy around here that results in social malaise, like shopping carts not being cared for, etc.
More than that: a lot of candidates who are good at leetcode challenges are good at them because they specifically practice them.

Does this translate to creative problem solving and thinking? To productivity when encountering novel tasks? To being a good teammate? There is a stronger correlation with "having free time" and "solving leetcode" than being a great engineering teammate, IMO.
I recently read a sci-fi short story that describes an alien forest that has no predation, only vicious instant scavenging the moment something dies. The colonists wear light-suits to prevent brutal death because only the dead indigenous lifeforms create no light.
Incredible job. Feels dumb or obvious to say this, but this really changes the way I think of using it. The slow autoregression really sucks because it inhibits your ability to skim sections. For me, that creates an unnatural reading environment. This makes chatgpt feel antiqued.
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

https://github.com/codeplot-co/codeplot https://codeplot.co
Show HN: Latex styled Jekyl static site, with auto-numbered section headings
We can't have heathly dense public housing when some of us act like feral animals.
Why were you on Adderall? ADHD? Personally I'd struggle to not have any stimulants even if I could have less.
chroma (single-node) doesn't use sqlite for vector - it's for metadata search.
> Out of personal curiosity: Are you similarly opposed to agriculture subsidies, or do you consider those less problematic (magnitude is somewhat comparable at ~20billion$/year)?

European here, we could and should close our borders for agricultural goods that we can grow ourselves (and you Americans should ban alfalfa exports from California, while you're at it). Ag subsidies are only required because there's no way an US or European farmer can compete with Russian, Ukrainian, South American or African labor and land costs, but we still need farmers to ensure we're self-sufficient and don't end up like many developing nations did once Russia blockaded Ukrainian grain exports.
There was no suggestion that anything was done about it. Had to consider the cost of space vs headcount growth vs loss of productivity.
Anecdotally, I never had a problem with open office environments, but understand why they suck.
Same here - Navidrome has been a revelation. Simple to run, nice UI, only issue is that browsers can't support gapless playback, but lots of apps out there to help with that.
Won't this just lead to developers wrecking performance because they don't understand what's happening?
> Long article for a single comment: I quit Spotify because I can’t customise the home page which pushes podcasts and music I’m not interested in.

The "podcast pushing" is an underrated reason to quit; It's why I did. I decided it was effectively a safety issue.

I subscribed to Spotify Premium when I bought a car and installed an Android Auto head unit, telling myself "this will basically be my radio and I can control it from the head unit without messing with my phone"

The breaking point for me was when I had to scroll past 3-4 rows of podcast suggestions (onto an entire other screen) to find any music on my homepage. At that point, I decided it was unsafe, and began the long, arduous path of going back to 2008 and buying all my music piecemeal to host on PlexAmp. I'm quite happy with the results now, though.
I'd like to add an option to the search box for searching through my own comments. Useful for when I want to refer to a thread where I commented two years ago.

I'm unclear on whether I'd like a tiny flag indicating that someone replied to something I wrote. I feel bad when someone raises a good, thoughtful question that I only see weeks later, but I also worry that it could encourage participation just for participation's sake.
I think the point is that capitalism drives that technological innovation.
We know the maximum possible clock drift and so we know when we need to do a resynchronisation to keep all the chips in sync. You can read about it in section 3.3 of our recent whitepaper: https://wow.groq.com/wp-content/uploads/2023/05/GroqISCAPape...
You should make the first instance of “PQRL” in your readme a link to that project.
My aunt was diagnosed with stage 4 lung cancer and is only alive because of this drug. It’s a marvel of modern medicine.
Lunar Explorer – A deep dive into a 1987 video game coded in BASIC
This is Dr. HN, but without the /sarcasm tag.
> Which of these methods is not obtaining the address of a node in a swarm, or hitting a tracker for a list of nodes in a swarm?

The "find bootstrap nodes via a bunch of DNS records, then persist long-lived contacts locally" approach is quite common.

> People have used a DHT overlaid on the collection of torrent swarms for non-torrent related purposes.

No, the software does not involve joining any bittorrent swarms at all.
Would love to see EdgeQL become adopted beyond EdgeDB. I don't like the vendor lock-in with EdgeDB, but I think they're doing great work
"The association between coffee consumption and dementia was non-linear (Pnon-linearity = 0.0001), with evidence for higher odds for non-coffee and decaffeinated coffee drinkers and those drinking >6 cups/day, compared to light coffee drinkers"

So, reading the study, not drinking coffee is bad and drinking more than 6 cups a day is bad too.
I have a fairly reasonable, if not especially fast (in part because lots of stops) commuter rail on the rare occasions I go into a city office. But, yeah, I have to drive to the station--only a 7 minute drive but not reasonably walkable--and then it's either about a 35 minute walk or a subway+shorter walk. It ends up being about 2 hours door to door--similar to driving.

It's more pleasant to take the train in but if I'm not sure what my schedule will be I'll still sometimes drive because the train isn't that frequent especially outside commuting hours and I can park right next to the office. And this is a city that most people, at least in the US, would consider to have a well above average transportation infrastructure---and, really, isn't bad by overall European standards.
Reading "Choke Point Captialism" by Cory Doctorow I learned that Spotify uses playlists to prioritize songs that cost less for them or pays out to artists they deal with. That notion, that the algorithm is more concerned with cash savings than serving you the songs you want to hear, really changed the way I think about these services -- and the idea of music recommendation writ large.

I currently subscribe to Apple Music, which I am sure is up to similar shenanigans. But to me their user front end is less egregious. It seems like Spotify barely wants to acknowledge that the 'album' is a thing. While Apple still offers me full records by artists I like or most like. This, currently, is the be scenario for my habits.

But yes, I would love a streaming service with a fully customizable front page a recommendation engine that allows the user to tweak the kind of suggestions they get, beyond the extremely vague "more of this or less of this" options.
Caffeine can take and usually takes way longer than 10 hours to clear from your system.

If you have 400 mg of caffeine in your body (max daily caffeine recommended by FDA), after 15 hours you will still have ~64 mg left. After 15 hours you still have the equivalent of 1 ounce of espresso in you.