skysight-inc/HackerNews huggingface dataset:
((
I've split my reply into three parts to avoid a wall of text in a single comment.

I may run into "you're posting too fast, so not all part may appear at the same time"
))

Part 1.

> I honestly believe that 90% of the dislike for WC comes from the name "connectedCallback". If they'd named it "onCreate" or something, everyone would be using it

Of course not. None of the criticism towards Web Components ever mentions "connectedCallback", or how it should be named differently.

Do you know the actual reason so few are using them? Let's skip the atrocious not-really-high-level not-really-low-level imperative API that they offer.

How about:

- 13 years after introduction they still need 20 more specs to try and patch just some of the holes in their original design: https://w3c.github.io/webcomponents-cg/2022.html

- Shadow DOM is infecting every spec so that the actual useful specs like Scoped CSS have to be delayed almost indefinitely to try and figure out how to work with this abomination of a design

To quote the report linked above, "many of these pain points are directly related to Shadow DOM's encapsulation"

- The amount of specs that are required to make them work, barely, and be "good web citizens". And the amount of APIs.

Oh, you want your custom input to a) be able to send its data in a form, and b) be accessible to a label outside of your component? Well, there's a separate API for a) and there's some separate future API for b). And meanwhile your custom button won't be able to submit your form, sorry, it's a 4-year old issue with no solution: https://github.com/WICG/webcomponents/issues/814

And all that despite the fact that there are already a dozen specs covering web components, and dozens more on their way.

- Web Components ar HTMLElement. It means you cannot use them inside SVGs.

This is impossible:

<svg>
<x-axis min="2000" max="2019"/>
<y-axis min="0" max="100"/>
<scatter-plot points="..."/>
</svg>

This makes them unsuitable to a huge swath of graphics- and visualisation-related applications.

- A smattering of other issues:

-- They cannot be easily used when progressive enhancement is required: SSR story is still non-existent, you can't easily update the original DOM in a custom element without trashing it.

-- They cannot be easily lazy-loaded because slotted content is eagerly loaded:

<p>Toggle the section for more info:</p>
<toggled-section>
<html-include src="./more-info.html"/>
</toggled-section>

`html-include` will load in its entirety even if you never toggle the section. And yes, this causes a cascading loading of multiple resources, too.

-- they share a flat global namespace. Of course this will be solved in the next five years by a yet another spec.

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

If any userland framework had these many issues, it would be laughed out of the room. And yet here we are with people trying to argue that they are good now actually and all that stops them from being used is "connectedCallback" name.

These are also the reason why most framework authors that initially supported web components (Vue, Svelte, Solid) are now at best completely indifferent towards them.
((
I've split my reply into three parts to avoid a wall of text in a single comment.

I may run into "you're posting too fast, so not all part may appear at the same time"
))

Part 2.

> You have to do all the same things regardless of framework. You declare a template somewhere, you define the props that will cause a render on change, and you keep track of the internal state of the component.

> ...

> > So you have to manually wire class properties to manually call render.
Yeah, 1 line of code.

So, there are two issues with these statements.

Main one is this:

So, for each property you need to track you need to manually call render. For each property in each component you write. Where in React, Vue etc. you... don't have to write that "1 line of code" at all.

And of course, "cause render on change" is trying to completely ignore the realities of re-rendering. If you "just call re-render", yo will run into a whole host of issues.

Example: You have a text box that has constraints on min and max number of characters. When constraints are validated, you want to re-render the input box with a red border. Well, the problem is: if you just re-render it, you will trash existing HTML, and replace it with new HTML, losing input focus.

And that's even before going into the fact that you want to minimize the amount of things you need to re-render. And "just re-rendering" trashes significant chunks of HTML.

That's why other frameworks (including lit) are not "just use template, track internal state and re-render". They track all the places where changes may happen, they keep track of user focus and input, many try and maintain scroll positions when large html changes happen.

---

The other issue is that it's not just properties, of course. It's also attributes.

Web components had a perfect opportunity to remove the distinction and only go with properties, but that opportunity is squandered. And the problem is: you can't reliably distinguish between the two. That is why libs and frameworks either give up and provide different syntax for setting them (like lit's `.property=` and `attribute=`) or rely on runtime heuristics.

And this is evident in the absolutely atrocious API surrounding attributes where you have to painstakingly manually sync attributes with properties in `attributeChangedCallback` with a bunch of `if name === "x" then`. Oh, and it's completely divorced from the `observedAttributes` callback because of course it is.
> SAT is pretty much a solved problem

We don’t really understand what makes some SAT problems harder than others.

You can go from a problem solvable with CDCL in a few seconds to one that would outlast the solar system by changing a couple of input bits.
((
I've split my reply into three parts to avoid a wall of text in a single comment.

I may run into "you're posting too fast, so not all part may appear at the same time"
))

Part 3.

> Huh? Lit-html is simpler than handlebars. Are you confusing it with LitElement?

Of course not.

At the time of writing lit has:

1. A custom DSL for writing HTML

<some-tag
attribute=value
.property=value
?boolean_property=value
@event_listener=value></some-tag>

2. A custom JS DSL in the form of custom directives. Currently there are 12 of them.

They may look like regular functions, but they will throw an error if you use them outside of their scope.

Example:

// is fine
html`<p class="${classMap({someClass: true})}">Hello, world</p>`

// Unhandled Promise Rejection: Error: `classMap()`
// can only be used in the `class` attribute
// and must be the only part in the attribute.
html`<p style="${classMap({someClass: true})}">Hello, world</p>`

(Note: that error is incorrect because you can write `class="other parts of the attribute ${classMap(...)}"`)

More stuff is coming to lit, of course, such as contexts, server rendering etc.
It's not possible to do this without a completely different and less efficient architecture. You can approximate it, but it won't give you the correct answers, as there are no correct answers insofar as the model is learning to generalize rather than memorize things.

https://twitter.com/AnthropicAI/status/1688946685937090560
"danger, however, is agile shaman! many, many shiney rock lost to agile shaman!

whenever agile project fail, agile shaman say "you didn't do agile right!"

LOL
I had more luck with playing tune on the guitar than with singing. Can work that way too if you're not a great singer.
Untuned LLMs are most like people with Korsakoff's syndrome. "hallucination" is a misleading term.
> And basically all servers will have 8xA100 (maybe 4xA100). Nobody bothers with a single A100 (of course in a VM you might have access to only one)

wishing, or guessing something, without actual experience, doesn't make it true.
I've written a more extended response in a different thread here: https://news.ycombinator.com/item?id=37158524
> Steve Jobs is only famous because he was an asshole

Are you saying that he only managed to achieve what he did because he's an asshole?

Because I think more people know of him because of what he did with the Mac and "creating" the iPod, iPhone and iPad.

> Steve Jobs' path to being a billionaire

He wasn't even that wealthy by tech billionaire standards.
I know this isn’t a topic that would do well in the typical HN crowd, but, just in case someone out there shares my passion: I am working on “technoetic” projects.

That word, “technoetics”, beautifully encapsulates what I find most interesting: the exploration of consciousness through technological means.

My ambition would be to merge “maker culture” with fringe topics related to parapsychology, anomalous cognition (remote viewing), mind-matter interaction, … in a kind of open-minded and curious yet self-aware, artful, playful, and not-so-serious way.

To make it a little more specific but probably still very cryptic to anyone not familiar with this: I am working on software to support various “psi” experiments. For example, I want to make it really easy to do timestamped ARV-based predictions of future outcomes.

I don’t have anything to show publicly right now, but feel free to comment or reach out via mail (see profile) if this piques your interest too.
I don't know where you live, but here broadcasting such a signal would mean having the police knocking at your door really quickly. Unauthorized broadcasts are taken very seriously
I'm seeing Flutter is gaining more momentum at least in social media. Last I checked, I concluded the framework inherently depends on layers of abstractions that make it slower/less-responsive than say QT or native toolkits of the OS.

Since Dart's raison d'etre is pretty much Flutter dev, I was wondering if it is worth learning if one's intention is knowing a handy cross-platform GUI dev toolkit that just works.

That said, the competition in this scene don't have better to offer anyway namely react native (web tech) and QT (LGPL).
Is there a functional language that compiles to Dart? There’s a difference between FP features & FP ergonomics. This seems like a very verbose way to go about things I’m used to being simple/easy.
> XDG comes from the GNOME and KDE crowd, meaning Red Hat/IBM, Trolltech, and maybe Canonical or a few other token companies. Notice the complete lack of real community input or control?

You're completely erasing the community involvement in KDE and GNOME. Moreover, it's grassroots that push utilities to follow the basedir-spec.

> Three, kind of a nitpick, but they adopted the Contributor Covenant CoC which is problematic for people who respect compartmentalization of social spheres. I don't care if there's a dipshit bigot on a dev team as long as he or she keeps it out of the work environment.

Again a misrepresentation. The CoC says to be tolerant of all contributors, and not doxx folks. Hardly burdensome. These are rules which nobody would ban an eyelid in a professional context.
I mostly agree with your take. But I think considering that 99.999...% of the population are not climate scientists, it is still a valid question based on what they are declaring differing opinions as invalid and theirs as correct. Is that not based mostly on faith, next to some superficial indicators like "majority of scientists", etc.?

For the record - I personally agree with the findings of bodies like the IPCC. But I am not sure there is more than the aforementioned faith and some more indicators backing me up on that.
Unlike the $, printing € is not free. Reserve currency privileges.

And they are locating their business in Delaware. I wonder why. Wouldn't have anything to do with taxes, surely.
"The town compiled a list of all the applicants for the money and put all of their account information on a floppy disk to send to the bank in order to execute the transfers." - I thought floppy disks were only used at nuclear power plants these days.
So is China the new "X country is doing this, can congress hurry up and grant us a lot of money"?
Dune! Really enjoying it
And who's using that? You'd break user expectations with that. Sometimes it's not about being most correct.
There are almost endless modes where life could develop in much more different and harsher conditions. More radiation? Well stronger magnetic fields for those. Too much space debris randomly popping into star systems? Have a big vacuum cleaner like Jupiter or two (or five). Not that common but if you have 500 billion stars many unprobable things can and will happen.

Life as we see here on Earth is extremely adaptable. Give it harsh environment, and unless its too much immediately it will adapt and actually take advantage out of it (ie too much radiation? well we can mutate to our ideal desired form even quicker).

Also, 1 billion years doesn't mean much in this cosmic scale. But imagine if civilization like ours had that much headstart. Well, you can't imagine, and neither can I in same way homo erectus couldn't imagine CERN particle accelerator or black holes.
> In the wild, there are error message formats that are more standard, more machine processable and more convenient

Any examples?
https://www.dvgw.de/english-pages/dvgw/news/germanys-gas-pip...: “The steel pipelines installed in the German gas grid are suitable for transporting hydrogen. They were found to possess no differences in terms of their basic suitability for transporting hydrogen compared to natural gas. Both operational ageing and the required fracture toughness and strength meet the expectations for safe availability spanning decades.”

I guess the last mile is a more difficult problem, but the OP didn’t claim that was solved, saying: “For the moment only at the industrial scale. Home devices are not yet adapted.”
Anyone can upload encrypted data to anything. You can do the same thing with Pastebin or Google Drive or Reddit or AWS. And there are many lawful reasons to want to be anonymous.

> See Kim Dotcom.

Megaupload got in trouble because their employees actively knew about and participated in infringement. Mega.com, which encrypts everything by default so they don't know what it is, is... still there?
Thanks for the feedback. We iterated few times on our README already and we will iterate on it many more times. These will definitely come in handy.
What's late about it? It's out of date maybe, but as far as I can tell it's still alive. Did I miss an announcement?

I really like this one's approach. These guys created a kernel module to enforce their hierarchy and hide directories, etc. Such an interesting project!
The Cradle series by Will Wight. It's a Wuxia adapted for Western audiences. He has other great series; I liked the parallel Sea/Shadow trilogies a lot. Traveler's Gate series I enjoyed, but not as much as the rest. He recently also started a new series called Last Horizon; it's about space wizards and it's a bit whimsical, but fun.

The Expanse series is great, but I reckon people already mentioned it elsewhere in the thread.

James Islington's Licanius trilogy is one of my favourite fantasy book series probably. He recently started a new series called Hierarchy, which I also recommend. They're very "grounded" fantasy, and the magic systems is very woven into society and its structure. The human relationships in his books are pretty nuanced, which is why I like his works so much.
Ireland's gas infrastructure and domestic appliances can handle up to between 50% to 80% hydrogen admix. I'm hopeful we go this way soon with a wind energy surplus.
which just exposes the wifi as an unsecured network, leading to far worse outcomes!
We have released our free sales engagement platform
Hello, Ycombinator News!

We have just released our tool and would greatly appreciate it if anyone who needs our tool could try it out and provide feedback. We are interested in discussions about your daily tasks.

Here is our feature description:

1⃣ Personalized Messaging - Ensuring Meaningful Engagements Every Time.
Our solution allows the creation of welcoming, seamless messages that align with your unique communication style, designed for your specific purpose – and all it takes is a single click for LinkedIn.
In our free plan, you can experiment with personalized messaging based on ChatGPT (GPT-3.5 model) while our paid plans provide access to GPT-4 which offers a quality five times better.

2⃣ Workflow Automation - Saving Time and Reducing Issues.
Craft your own workflows to automate team communication and daily task planning. You can create steps (tasks) via triggers and close them using custom events which are tailored to your unique sales and business processes.

3⃣ Channel Aggregation - Swift, Data-Driven Decisions.
There's no need to manually update and input the information about prospects or last activities in CRM, as a lack of integration makes it impossible to aggregate all the information about prospects and communications in one place.
We aggregate data from email, LinkedIn (activities and profile data), phone call activities, and other tasks in one dashboard.
Enshittify. Thats what they want. They've enshittified the male versions of sports with the expected drop off in interest and need a fresh enshitifiable source.
> The only sane way to manage "your config files" is to put them in a git managed folder and use a symlink farm program.

Another option is to ignore all files and selectively allow the ones you want to track. That's what I'm doing now.

> Files describing how to do IPC with current processes. They belong to ~/.local/state not .config.

XDG_RUNTIME_DIR (i.e.: /run/user/1000)
Other good books by Robert Harris: The Ghost; The Fear Index; The Second Sleep.
Its the never-ending story of lack of capital on the European start up eco system. There was progress on that field but it takes so much time...
luckily software is free!
F# is meant to, via Fable. I don't know what the progress is there.
https://fable.io/blog/2022/2022-06-06-Snake_Island_alpha.htm...
LTO5 drives are readily available on eBay; units designed for tape libraries frequently sell for $100 or less and are easy to convert for external use.

Specifically, I've converted library drives from IBM and Quantum libraries, both with IBM mechanisms. Drives from IBM libraries are a bit easier to convert, but Quantum units have a smaller footprint.

In either case, once you disconnect the proprietary library power/control PCB, the drive and chassis fan can be connected to a standard PC power supply using off-the-shelf molex cables; I/O is standard Fibre Channel.

For IBM library drives, this is all that's necessary; the Quantum library drives I've converted require a firmware setting change to enable the FC interface on power up:

https://github.com/AC7RNsphnHVbyT4/ibm-tape-drive-automatic-...

TL;DR:

(1) Connect RS-422 USB adapter to a computer and the drive (N.B.: Wire colors from the article are not standardized; you can easily find the correct pinout by tracing the signals from the serial transceiver IC on the library interface PCB to the drive interface cable).

(2) Power up the drive.

(3) Send the byte string from the bottom of the drive until the drive reboots.

At this point, the FC interface should activate on power up as with any other standalone drive.

Finally, IBM supplies a useful diagnostic tool to ensure tapes and drives are in good working order (free IBM account required for download):

https://www.ibm.com/support/pages/ibm-tape-diagnostic-tool-i...
I honestly think debian does itself a disservice with calling testing testing. Testing is what any other distro would call stable, and stable is the sort of stable you need for running nuclear reactors and the like.

How many people installed debian stable and bounced off because all the packages were quite old?
Is this open web in the room with us? Cheekiness aside, the myth of beautiful open web always seems to be exagerated. Most content on the web is already generated, ugly and spammy. Most of the traffic is already owned by mega corporations.

One could easily argue that it's unlikely it'll get worse - if anything, AI could empower competition as now a group of 3 passionate, free writers can compete with agenda-driven, for profit corporations on a similar level. This could very well make the web more open and free as it makes the web more accessible.
There is another interview done by Steven Bartlett about the same topic with Giles where it goes and discuss various topics related to calories, diets, etc.

https://www.youtube.com/watch?v=Gy_vcL1cpP8
Henry Ford Buys the New York Times [video]
Maybe the content is ok, but the voice sounds like it was produced with a swap-meet bullshit generator. I think I'll stick to my multimeter.
Why do they show different compression levels in their graphs? That seems kind of fishy to me.
What do you mean by "turned out" though?

The video is published merely 1 day ago, when the consensus that "LK-99 isn't it" had already been formed, and these points have been long discussed by other scientists and random people on Internet long time ago.

There is nothing newsworthy about these points; they're even borderline hindsight.
Impro by Keith Johnston I found on here and has many unique and radical views about how our society functions and it’s pretty amazing.
Once again I have to point out that LLMs are not and will not be restricted to "large corporations". Even if initial training is prohibitively expensive, open base models already exist.

"corporate this" and "corporate that" are handy rhetorical flourishes but they distort the debate.
when proving a negativ in math, you often do a proof by contradiction

precondition: Either A is true or it is false.

question: is A false?

solution:

1. assume that A is true

2. <math stuff>

3. find a contradiction

4. ==> A can not be true

5. ==> therefor A is false
So I'm mostly unfamiliar with the story, and it's always bugged me, never my favorite. I don't know if I've seen the complete "classic" productions, like Mary Martin's or Disney's. I've definitely been through the wringer of the ride at Disneyland though. Not a fave.

Anyway, I was rather shocked and amazed at this revelation about Peter's murders, and so I peeked at the Wikipedia synopsis, and the Fandom one too. The former almost barely mentions the murders, but it really soft-pedals this, and so you don't get an impression that it's a big deal, because they said it's very ambiguous.

So I'm surprised that this article plays it up to that extent. I suppose I could finagle a copy of the original novel with its intricate copyright status, if I were that much interested. But it's a morbid curiosity; I don't think I care much for J. M. Barrie as a person (I read his biography first, that's where you get the most insight about an author's milieu and motivations, and the dude is still a question mark for me.) I am probably distantly related to him, unfortunately; I can think of much better Scots to be in my family.
>Really? Seems like it's not so different conceptually to search engines. They also make money by indexing "training data" of a sort.

OK, so if a writer X has a blog to put up samples of their work to drive people to buy books and to get writing assignments and someone uses ChatGPT to write something in the style of X - this naively seems like a hit on that author's ability to sell their skills.

And I don't think it is fixable by making the AI act more like a search engine.
> I have sidestepped the issue (in my mind) by putting all personal files in a `~/me` subdirectory, and create symlinks in `$HOME` to point to the relevant files in `$HOME/me`. It keeps things separate, and anything that's put inside an XDG folder that I want to hold onto can be migrated to ~/me and symlinked. I keep a short bash script that I use to (re)create the symlinks for me, as needed.

You or interested readers could use GNU stow to do that.

https://www.gnu.org/software/stow/