skysight-inc/HackerNews huggingface dataset:
just because htmx (which is a library, not a framework) was mentioned, I'm going to respond to some stuff in the article

first and foremost, the article doesn't talk about synchronizing state w/a server, which is what htmx is focuses on (via hypermedia exchanges), so htmx is orthogonal to WebComponents in this regard

> There’s a cost to using dependencies. New versions are released, APIs change, and it takes time and effort to make sure your own code remains compatible with them.

This is why htmx is dependency-free and focuses intensely on backwards compatibility (e.g. it is IE11 compatible). intercooler.js, which was htmx 1.0 and has one dependency, jQuery, was released in 2013 and is still supported. A lot of other javascript libraries have a culture of API rewrites and difficult upgrades, but htmx is explicitly not like that and shouldn't be heaped into that general culture. In htmx 2.0, our only breaking change is likely to be dropping IE support.

Will web components outlive htmx? Well, they are part of the browser, so presumably yes. But, insofar as I can help it, htmx should be very stable and churn free going forward. The API is basically correct (yes, w/ a few warts and mistakes) and I see no need to rewrite everything for the sake of purity or sexiness.

And, most importantly, htmx answers a different question than Web Components: how should I synchronize state w/ the server.
Pulling from and into production databases is one of the early favourites from our dlt user base. Some reasons explained here in this MongoDB example (https://dlthub.com/docs/blog/MongoDB-dlt-Holistics)
We at Step CI have a similar tool, that acts as a proxy and can generate OpenAPI spec for the request/response pairs.

(You can also use it to generate automated tests)

If you're interested: mish@stepci.com
Walking is a chance to explore your own mind, which should stay interesting.
You probably were. Tight shoulders and ribs inhibit inhalation. Once you loosen up and grow stronger, you will increase the volume of your ribcage. As you do that, the tissues of the lungs unfold or stretch to fill them. Some corners of your airway will get cool/fresh air for the first time in ages. It all feels pretty odd -- tickles, itches, or even a fearful asthma response.
LLM Collection
Because Tesla is not self-driving, and thus their designers have no need to solve those bugs.
Some of the offshore machining services are surprisingly affordable for low qty enclosures, especially if you can commit to at least an intermediate quantity > 100 and have reasonably good DFM.
But the bus is already stopped, its in my garage waiting for me. And I don't need to figure out what bus lines I need to change to or understand their schedules, the route for this bus happens to be exactly where I want to go.

I'm generally pro-transit and continue to vote for it, but in many places and routes a car is often more convenient if one can afford it.
Crazy thought, could it be due to running specifically? Is there something about running, maybe the up and down motion that could be jarring to the heart? I wonder if there's less prevalence in say, rowers or cyclists .
> "works for us must work for everyone"

You are wrong. It was rather a poor decision on the buyers' side: "It does NOT work for us, but who cares?".
Why does HN search say that this was posted three days ago?

https://hn.algolia.com/?q=generative+ui
BASED BASED BASED
There's a tension in tech between client control and server control. Big Tech have largely been removing the knobs of client control within their apps while using the power of defaults to slow people switching.
I think we're gonna get along just fine. Chime in if you can
Hah! Somehow this was in the back of my head, but I couldn’t immediately find it.
> I've found it frustratingly hard to find really good guidance as to chunking strategies.

Atleast I'm not alone. Paragraph can make sense, I was worried about paragraphs that are related in concepts, they're not always standalone section of thoughts in real writing.

Maybe if two paragraphs meet some similarity threshold you can merge them.
That's the whole point. The prose in LOTR is deliberately written to be in the vein of ancient epics such as the story of Gilgamesh. Tolkien's goal in writing LOTR was to write a mythology for England, which he felt was lacking. Saying they don't talk like real people is kind of like saying that vegetable soup doesn't taste like chocolate - true, but not really the point of the work.
DALL-E 3 uses T5-XXL for the text encoder not GPT-4. The huge leap comes mostly from using text descriptions that aren't trash.

https://cdn.openai.com/papers/dall-e-3.pdf
>would the tool also change master to the new merge commit

Not in my experience, no.

The goal is just to keep you aware of what problems you're likely to run into if you tried to push for your change to be merged in at the present moment. If these problems are due to work another team is doing the idea is then that you might begin conversations with that other team to discuss how best to sort these things out.
It's an umbrella term for a set of technologies. Each of them can be used in isolation from the others if you want though. You don't have to use shadow DOM if you don't want it. You don't have to use custom elements if you don't want to either. You are correct though that almost every tool that works with them sort of assumes you are going to use both.
If it weren't for Honduras we could have en_HN.UTF-8.
> lubricating my joints

And I thought robots weren't allowed on HN. /s

But seriously how do you do that exactly? Take some olive oil and inject it into your knees?
> Why is it reasonable to you to demand that people write their own names differently?

Because sometimes other people have to read it. Do you actually expect your bank has someone who can read Νίκος Καζαντζάκης and 刘慈欣 and ᠲᠠᠲᠠᠲᠤᠩᠭ ᠠ and משה ברבי מימון הספרדי and ᐱᔭᐃ ᐊᕿᐊᕈᖅ? (Or even notice which one Chrome doesn't render correctly? — Edit: I probably shouldn't blame Chrome; it's fine on his Wikipedia page.)
There are problems with PPP but it does try to address some real (no pun intended) issues with nominal GDP.

A US resident might be able to afford a lot of Chinese goods and services but can't get many of them. For a Chinese consumer, the average price of goods or services is less relevant than the price of the subset of goods and services that are actually accessible to them.

It attempts to address the very real problem that a Chinese resident can buy a Chang Li truck for around $2,000 but an American consumer spends over $9000 once the realities of international shipping are factored in.

A theoretical economist might abstract these differences away and just claim that arbitrage will eventually balance out these price differences but empirically we can see that's not what actually happens.
"forward" towards what?
Ha, Having arrived on this sphere at the beginning of that year, I had the same impression. Funny thing is, I remember just one nightmare from my youth- and it involved Gumby.
Adobe Sneaks: Changing Outfits in ECommerce with AI
>> However I strongly doubt that we should force them to do so by law.

> Why not? This is literally a generations-old issue, clearly technical and social pressure has not fixed the issue.

Neither have technical nor social pressure eliminated the awful Chorleywood bread process. (https://en.wikipedia.org/wiki/Chorleywood_bread_process)

But that doesn't necessarily mean a law is the answer.
How is this different from what LangChain already offers with their OpenAPI chain?

https://python.langchain.com/docs/use_cases/apis
The solution that Jefferson and Lincoln (among other American Founders) envisioned was that everybody would eventually be self-employed even if they started their career as an employee to gain experience and save up capital. Working for somebody else means they get the better end of the deal (i.e. you probably won't have a job for long if they aren't making a profit off of you) so of course universal self-employment is the only way to have an economy where people get compensated fairly for the value of their work.

Unfortunately, the generation of politicians after Lincoln allowed the capitalists who took advantage of Lincoln's "free labor" system to pull the ladder up behind them then the next generation (the "Progressives") decided big business was "inevitable" and just needed to be regulated so it didn't become a monopoly that cheated consumers. The generation after that allowed the workers to form unions which could bargain for something resembling what they were worth which worked fairly well for a generation until it was dismantled as the "solution" to an inflation crisis caused by US foreign policy and US environmental policy (I'm referring to the 1970s inflation crisis, not the current one that has the same causes).

Tech is one of the few places in the American economy where the true American Dream of financial independence and self employment is still accessible even if you weren't born a millionaire and you don't win a Powerball or Mega Millions jackpot. But there is a fair question of how much longer it will be until FAANG and/or government regulation to "rein in Big Tech" pulls that ladder up like all of the previous ladders have been pulled up by big business and/or its allies in big government who pretend to be its enemies.
But I don't want my kids' minds being poisoned by OO paradigms. God forbid they start using design patterns everywhere!

Seriously, though - seeing how most adult programmers do OO poorly ...
They've explained it but i'll point out that Dalle-3 doesn't use GPT-4 for the text encoder but the T5-XXL.

The huge leap mostly comes from text descriptions that aren't trash.
> helping a country defend itself from a brutal imperialistic invasion not helping defend democracy?.

It's not anything that I'm willing to work a few extra hours a week to pay for.
people who've always been rich won't have much issue making money without working hard but for people who need to move up the ladder, i'm afraid without working hard you just can't make that leap. You have to work hard and work smart, optimizing for a long term success.

Too many people forget about the second part of the equation which is optimizing for long term success. You optimize long term success by constantly learning, creating and using that to leverage into positions with more responsibility / higher impact.
Visual content search over music videos – demo
That's a great write up, thanks!
The point is that because no one wanted to address the ugly truth of these issues, they either fabricated or vastly overstated non typical dangers.

Kids do drugs because they want to experiment. Dealers don't give out free samples.

Candy doesn't get poisoned: the case which instigated the idea was a father trying to cover up murdering his child for life insurance money.

And strangers in vans rarely ever try to grab children off the street to abuse them: trusted adults in authority positions do, frequently family members. Or church leaders. If you have an instance of child abuse, it's going to turn out to be a family member more often than not.

The point is that the 80s/90s didn't want to acknowledge this reality, so it invented or amplified stereotyped villains that would be easy to recognise...except of course they all but don't exist.
No You Can't Prompt Your Way to Abundance
When you're above a certain level you are not the subject matter expert anymore, you hire subject matter experts and have them give you options.

Maybe this isn't true in companies you've worked for, but it's still pretty common for "engineering manager" to be a title held by an MBA with no engineering knowledge.
And, before that, 4GLs or Fourth Generation Languages, a term that sprung from a book titled "Applications Development Without Programmers".
The people using generative models didn't develop their internal model though?
not to mention, web components come with their own complexity around shadow tree and the question of how to style/interact within the component tree from outside etc.
Sounds like a buying opportunity (for those of us with a long enough time horizon and steady employment).
All charity has some likelihood for exploitation. This is often used as an excuse not to be charitable.

It’s not.
The surprisingly subtle ways Microsoft Word has changed the way we use language
Current Bitcoin ETFs are based on options and don't track Bitcoin very well so you can't say that you are "buying Bitcoin" by buying a Bitcoin ETF.

It seems Bitcoin ETFs will enter the market that really buy Bitcoin. Assuming there is a market of people who'd like to have Bitcoin in their portfolio this could be really popular. Instead of having to deal with some crypto exchange like FTX you could just go to some reputable broker like Fidelity and buy a Bitcoin ETF the same way you might buy SPDR or VOO. Institutional investors who might not be able to deal with crypto directly might find this works for them.

If it expands the universe of people interested in Bitcoin it might drive the price up and restart the crypto fever which has blessedly subsided.
My read is this is pure political kvetching rather than astroturfing for some product. There's your usual WSJ implication that things are bad because our monetary policy is not austere enough.

Then there's the vaguely classist complaining about how "young investors" don't know how to invest and ruined the stock market forever by dumping their stupid money into unprofitable companies (which is funny because these unprofitable companies have oodles of institutional investors and up until 18 months ago were VC darlings - but yes, it's the young people who are idiots)

The fact that the author isn't hawking some kind of solution is IMO telling that this is just another "let's complain about the economy" piece that's meant make people believe things are terrible despite little compelling evidence of it.

So yeah, it's a day that ends with a "Y" over there at the WSJ.
"There are no LinuxPods, and if there were, I doubt they'd go in your ears."

It's a workaround that demonstrates how Bluetooth, and especially BT audio, are still "hard". So much so, that a company designed and built a proprietary product and tech stack whose entire acclaim is that its Bluetooth audio works reasonably well.

And even owning the entire stack, Apple can't make it perfect. In Mac Minis at least up to 2019, because of the BT radio's proximity to the USB traces, interference from communication rates when certain USB devices are attached causes the BT peripherals to fail. And I don't mean when the rare noisy 2.4GHz product is attached, I mean USB 2.0 mass storage devices, printers, and more that otherwise work perfectly well cause Magic Mice and Keyboards to completely not respond or else have mere inches of laggy range. You can forget BT audio in those cases.

There's no beating radio physics, so our engineering solution was to add Bluetooth dongles on USB extenders to a few dozen Mac Mini installations.

BT sucks, but it's what we have.
Actuaries are cold and calculating, cheaper is safer all things being equal.
> But Markdown has a secret weapon: you can write HTML inside of it! That means any fancy interactive diagrams I wanted to add would be just as portable as my the rest of my Markdown as long as I could express them as plain HTML tags.

You can also use MDX and achieve exactly the same thing. Web components the technology don't actually help here; what the author cares about is the interface between their markup and some piece of code that applies runtime functionality. Web components are an implementation detail here: whether you're referencing a React component or an Astro thing or a web component when you type a name between some angle brackets, it really doesn't matter: the point is that _some other thing_ is invoked.

The downside to web components here is that they can only be run on the client, for all intents and purposes. There's no way to pass server-rendered shadow dom content on the server to the client, so even if your web component is fully non-interactive, you still need JS on the client in order to render it. That's not the case with other frameworks.

I'll say that the author's point isn't wrong: web components as a way to codify interfaces between chunks of code is quite possibly the best, most durable way to accomplish that goal. BUT! On the server, web components do you no favors. They don't render, they are a cumbersome interface, and your code is already entirely written in a way that you can (hopefully!) work with. Which is to say, if you have Astro on the server, please keep using Astro! Or react, or vue, or whatever.

Where web components shine is on the client, when you have a component from a third party that might not be written in your framework of choice. You don't need to know about the framework the component you're putting on the page was built with. You just use a HTML tag and it works. The mechanism of the interface is uplifted to the browser level, so you don't need two frameworks to speak each others' implementation details.
Is this another abstraction on top of Next.js? I recently created a new Next app with

pnpm create next-app --example blog-starter

And the resulting directory is a whopping 338M monster. Wondering what this adds.
I was excited for web components, but the API was lacking (the final tipping point that led me to build Joystick [1]). I just couldn't get on board with a web-standard that eschewed HTML in favor of stuff like this [2] where list items are attributes. The hyphenated namespace thing has always made my eye twitch, too (silly, I know).

[1] https://github.com/cheatcode/joystick

[2] https://github.com/mdn/web-components-examples/blob/main/edi...
Seems incredibly unlikely
brilliant. This is exactly the solution I always hoped for for the exact problem you describe. My specific use-case has always been reading news articles from a set of heterogeneous websites and consolidating them into one db.

why chose duckdb over sqlite?
Open Source has been behind proprietary options since the Midjourney release, SD was never better in terms of fidelity. That's how things work in general, FOSS trails commercial offers.
An adult mayfly will outlive most Javascript frameworks.
It's like Pox Party. You're exposing them early so they get immune when they're adults from this disease.
Illegal where? Because I have a hard time believing it'd be illegal in the US due to the First Amendment existing.
Hey. This is a good callout. Honestly, I should have done more due diligence with generating privacy policies before this. I do not have any plans to sell user's data. I wrote my full thoughts on that in my reply to the top comment.

But we do store data in the cloud and use analytics to understand usage data. So technically, I am disclosing certain data with those companies.

* first name

* the type of step you took (ex. Commenting on a social media post)

* email address

The data that is collected is to understand how people are using the app, if it's helping them overcome Social Anxiety, and to contact them for stuff.

This thread has made me realize that I need to re-work the privacy policy. Most policies are made to be pretty unclear and actually obfuscate what will actually be done with data. I hate reading those and just want to know:

* What data is collected & why

* Where it's being sent

If anyone has other concerns, you can drop me a line at teeoh@roadmaptogrow.com. I am quite committed to being upfront with this -- even if people don't like the all of the policy.
Author here — I’ll remove that sentence since it looks like it’s being received in a way I didn’t intend. Sorry about that! I actually mentioned on Twitter [1] that web components are a natural fit for hypermedia-friendly scripting as described in your essay [2] (which I like a lot).

[1] https://x.com/jlazaroff/status/1717176726248108469

[2] https://htmx.org/essays/hypermedia-friendly-scripting/
My first take is this is nuts since I want to minimize camera shake and even if this doesn't shake the camera I'm going to think the camera is shaking and feel distressed by it.
Knowing how to use power tools doesn’t mean you’re going to start building barns and start a workshop doing SFX for movies. There’s tons of people who code who don’t consider themselves a programmer because they work in an adjacent field (think of R or matlab).
I'd think it's pretty common. It's not necessarily "on-call" as in "waiting for you", but depending on what you do, you end up having contact with different lawyers in different areas. And in doubt, it's better to stick with someone knowing your situation.

Like, I had a few issues with the last place I rented, and during that, I entered the Mieterschutzbund, an association for tenant protection. Through this, I can get access to an hour of consulting with an expert from the association as well as one or two hours of a lawyer specializing in tenant laws. This doesn't take much longer than 1-2 days. So I guess I have a tenancy lawyer on call.
I would have thought this was hyperbole had I not experienced this living in Kent years ago. It's in fact worse. It was twice as expensive to take a train from Canterbury to Stansted than it was to fly from Stansted to Glasgow. Still, having experienced public transport in the UK (the Underground is everything) and everywhere else, the US car culture is the worst. It keeps poor people poor. Your car breaks down, your license gets suspended you cannot go to work. And the acres of parking tarmac filled with cars that are stationary 95% of the time. It's so ugly and such a waste of resources. I happened to live and work along one of the few routes in my city where I could get the bus to work when I first moved to the US. People at work thought I was too poor to afford a car, it was always funny to explain that public transport is the norm in most of the rest of the world.
I think the tendency of the Protestant work ethic to find value digging holes only to fill them in again over simply doing nothing at all in the first place is quite a negative thing; that's not the same thing as saying hard work in general is a bad thing, just that it's both the hard work and the ends it's being put to that are important rather than work itself being intrinsically a good thing.

I think there's nuances here, I imagine we can all agree that the Victorian workhouse is not an institution anybody ought to revive for example while also appreciating that not all hard work has to be exploitative.
I would advise anyone to watch the "Cells at Work!" anime.

I believe a real doctor made the series which explores how the human body works on a cellular level.
It's fairly easy to choose between style isolation and no style isolation though. Just change the `this.shadow.innerHTML` in the render to `this.innerHTML`. The encapsulation aspect provides some really nice benefits in many scenarios, so having the option of this is quite nice.

A classic example of why this is beneficial is when creating design system components - you typically want these to not be affected by styling on the page, and if you do want them to be styled, you only want them to be styled in specific ways which you can build in via css custom property values (see the accent example the author provides).
Doesn’t “defense” spending at the state level also include offense though?
The tech version of a successful small to medium business, like maybe a regional restaurant group or car dealership. Seems good to me, both for the owners and the broader culture. These owners are the group that keeps the country stable and common sense alive. We can't all have big exits but lots of people can generate enough value to satisfy customers and make a comfortable living with skin the game of society.
Greater social context would be useful. It’s hard to accurately imagine lifestyles denoted simply by “middle” or “upper-middle” class. They are effectively meaningless terms.
https://dictionary.cambridge.org/dictionary/english/forward
Making it easier to execute on creative ideas
If you sell it as time for money, that's the deal you'll get . If you sell it as value for money, the deal will be different.