skysight-inc/HackerNews huggingface dataset:
> No need to apologize for the length of your post! It's interesting to read about your experiments.

Thanks. As a newcomer, I looked into what knowledge is required to produce a dynamic front-end, and completely 'noped' out of it after a few days[1]. The web component approach looks, to me, more future-proof as well as easier to use.

> Looking at your example with the psjs elements, it looks like the psjs-bind elements define what fields get captured and used in the published payload, as well as setting the input elements' values from a subscription event; is that correct?

Broadly correct, yes, but a little clarification - elements don't have to be input elements, then can be any elements. So, for example, if the psjs-bind 'for' target would is a span element, then the innerText content is updated. For input elements, the value is updated, etc. I'm still working out whether this is a good idea or not.

> It seems like you'd still need some JS if there's any client-side logic that needs to be run, though I'm not sure if there's a way to avoid that. I'm thinking of something like displaying different parts of the page based on multiple input fields.

You're correct; some JS is still needed! Of course I consider that a failure that needs to be rectified - for updating the page based on user actions (or input element changes) I'm considering a custom element that subscribes to a channel and listens for a subject pattern, and then changes its style fields (`display: none` to `display: block` (or vice versa)) based on the payload.

Keep an eye out for when I finally make this available to the world (maybe a name like 'ZeroJS', for example :-))

[1] Programming web services is dominated by out-of-standards/never-standardised technology - npm, build-steps (for front-end), frameworks, tree-shaking, commonjs includes, webpacking, etc. All I want is a quick way to produce dynamic web pages. A full 6-months of learning all the existing techis exactly my idea of a non-fun time.
> (chinese secret police and stuff),

As typical Russian, you started with FUD. Luckily for us, these news are stored to the archive:

http://web.archive.org/web/20191011162034/https://www.nsktv....
>> Many people who are actually making the things closest to what we currently call “AI” are concerned.

See grey goo: https://en.wikipedia.org/wiki/Gray_goo

How about nukes and atmospheric fire: https://www.insidescience.org/manhattan-project-legacy/atmos...

> scientists ... credible

The science ends at the math. Go play with an LLM at home. Run it on your GPU, see what it does, what its limits are. Realize that it's a system that never "grows", that lacking noise it becomes deterministic. Once you look behind the curtain and find out what's there, a lot of the hype to call it AI looks dumb.
I'm not sure I consider rediscovering why buttons matter is mastering anything.
Smarter Every Day on YouTube recently spoke at the American Astronautical Society about this flight plan. I found it quite interesting how different it is compared to the way we used to go to the moon decades ago. He challenges the complexity of the new flight plan, including the refuelling step.

It’s a longer episode but well worth the watch if you enjoy the channel and are excited about returning to the moon.

https://youtu.be/OoJsPvmFixU?si=qcg_BX2GeZm4u1GG
If that is indeed a requirement, you let your iterator have an .at_end() test instead of trying to shoehorn it into the return value. Or have something like C++'s std::optional or Rust's Option. Or a special EndOfIteration object that you cannot return from an iterator (is that really so bad?). Iteration is extremely common, and should thus be based on as simple primitives as possible if you want things to go fast.
This seems unprecedented. What do you think is happening here? Losing to competition, erosion of trust in YC, slowing down of startup scene, or YC grew so big they drained the pool? Any insides?
Yes, this is so much cool
or an aux jack
> the latter is how you get choppy audio

Tell me, if Discord can stream high-quality audio in real-time, what makes a phone call that much harder to handle, especially given how awful the sample rate is? Shouldn't an 8-bit micro from the 80s be able to handle that? Aren't there even already pieces of homebrew software for those micros that can handle audio of that quality?
It says so on the website: "Phi-2 is a Transformer-based model with a next-word prediction objective, trained on 1.4T tokens from multiple passes on a mixture of Synthetic and Web datasets for NLP and coding."
I wonder if that Tarantino response is apocryphal. I have heard the same interaction credited to Joseph Heller about Catch-22:

At appearances to publicise his later books, readers would often bluntly tell him that he hadn’t written anything as good as Catch-22, to which the reply, after a growly laugh, was: “No. But nor has anyone else.” - https://www.theguardian.com/books/2019/jun/20/george-clooney...
Tesla Optimus Gen 2 revealed
It's okay I wouldn't call it great.
I found this user who has loaned almost $300,000 across 1800 transactions for anyone who is interested in some statistics: https://old.reddit.com/r/borrow/comments/18h8yq4/paid_uinfin...
There have been many posts from that domain on HN over the years.

https://hn.algolia.com/?dateRange=all&page=0&prefix=true&que...

It's not one of the primary media sites here but it has its place. That doesn't mean that everything there is true or good (for HN). For more explanation on this point, see these comments I posted earlier today:

https://news.ycombinator.com/item?id=38617464

https://news.ycombinator.com/item?id=38618471

https://news.ycombinator.com/item?id=38620928
My brain hurts so good when I watch this visualization. I can't explain this feeling, so weird.
And before that 70% wanted control of Gaza to be taken away from Hamas, and a majority opposed breaking the ceasefire:

https://www.washingtoninstitute.org/policy-analysis/polls-sh...

Consider that asking about support for Hamas attacks once the retaliation has stoked up hate is inherently going to be strongly affected by views shaped by the large-scale invasion and bombing, especially when a portion of those polled were in the war zone.

Now consider the extent to which provoking this kind of reaction was Hamas' goal in light of polls showing people wanting them out in a situation where their legitimacy as a political leadership kept dropping with each year without another election.

> This is not the case of peoples being held hostage by their leaders. They might not like their leaders but they would put new ones in power who were substantially the same.

After this? Maybe. Before this, the poll above shows people wanted them out, per above. Which might make one want to ask why the Israeli leadership is so easy to goad into over-reaction and what that says about the extent to which they want peace, because given the sharp but predictable changes in polling this reaction is clearly entirely counter-productive.
And then there was Rabin, the Israeli Prime Minister who actually wanted peace. He was assassinated. Guess what, the assassins were right wing Israelis and not Palatinians or Hamas.
This approach was what we had to use back in the late 90s. We called it "iframe streaming", or "forever iframe" (and years later, as an industry term emerged, "comet"). It worked surprisingly well, except in cases where a client sat behind a greedily buffering proxy. We would send JavaScript statements that invoked callbacks on the client, rather than just JSON, as this avoided the need to parse data to determine which business logic to use on the client. This has the limitation of being "non-cross domain" (i.e. the web page containing the callback functions have to be served from the same domain as the infinite document).

To get around buffering proxies, we optionally allowed our clients to use a JSONP long polling approach instead, whereby the client would dynamically generate a form inside a hidden iframe, and POST a request for JSONP data (JSON delivered wrapped in a callback), and the server would return data as soon as any was available. The client would immediately repeat the process to request more data, an infinitum.

Eventually, the emergence of the XMLHTTPRequest object in IE (and subsequently in other browsers) allowed us to implement cleaner long-poll-style methods, holding the connection open until data was available (and automatically reconnecting on error). This was later enhanced with CORS for delivery of data from arbitrary domains. As support for detecting updates to an in-progress response became available (via XMLHTTPRequest's "progress" event, which for a long time was horribly buggy in IE ) our payloads became infinite streams too (of JavaScript callback invocations). Early versions of approach also required us to reload the entire page from time to time, as IE's underlying implementations of these browser objects appeared to have memory leaks (that we did not see in Firefox, for example).

When IE8 was released, we allowed clients to optionally use its XDomainRequest object to stream a response instead.

Years later, the much cleaner Server Sent Events (SSE) and WebSocket options became possible. Intermediate proxy support was initially troublesome however, and while both of these were our preferred choices from a performance and API perspective, it took several years before we could consider removing support for our earlier approaches. Even today, there are network environments where an infinite sequence of long polls is the only reliable option...

My preference today? The JavaScript fetch API for sending commands, with a simple ack as a response, and an async flow of events over a persistent SSE connection, that feed into a simple JS message bus (implemented using the browser's native event API) for delivery to vanilla JavaScript web components. Simple, clean, and consistent.
I can’t find the number of lines it takes in the article. Is it mentioned there?
Because you can't use a Snapdragon in that way, that's not how Qualcomm's business works. There's a reason that very few (or no) "open" phones actually use Snapdragons and it's because it's impossible to obtain the firmware for these without layers of very restrictive contracts and NDAs. They're almost like NXP in that way.
Does it ingest the ads containing in the web pages as well? This would be a major concern, ads will pollute the model at least with unwanted information. At worst they'd be a security concern when used for indiscriminate or even targeted manipulation of the model. Advertisers do that to our brains, it's all they do. So why shouldn't they try that with LLMs scraping/being fed from the web?
Well it’s called “new car”. I can get a beater car from 2007 with all parking sensors and a rear view camera. I expect it from new vehicle. I don’t want to have a handicapped car which can’t leave parking spot where friendly people around parked their cars 3 inches away.
>Why attend? Many AAA games are basically just rehashes.

This is a very funny line given that E3 for the longest time was an industry-only conference, and they only started selling passed to general public the last two years of the event.
How about they regulate low orbit megaconstellations instead of allowing them to pollute the sky?
Learn You Some Erlang for great good
I have a wifi only model that has never seen a wifi password, and haven’t noticed this.

What’s the symptom?
It will also use knowledge about the destination to prep the car. Heading to a charger? It will prep the battery so that it’s at the optimal temperature for charging on arrival etc..

That said though, there are route planners that can give excellent range estimation (both for online and offline cars), by taking into account the terrain/temperature/etc, like ABetterRoutePlanner - ABRP
After any period of repression there's a rebound effect, it happened after the prohibition of alcohol was rescinded too. Unfortunately, the insane 'war on drugs' has created much harder and more dangerous substances than alcohol.
The license says you're not allowed to redistribute the weights, so it would have to be illicit.
My take on your perspective is that you've bought into an idea that is essentially the "tail wagging the dog". As we see in particle physics, the observation of an event affects the presentation of that event. So from this lens, the physical world as we observe itself exists in the eye of the observer.

As Schopenhauer put it, "it is the laws of nature that arise from a transpersonal will, not the will from the laws of nature".

A good read on the topic:

https://blogs.scientificamerican.com/observations/yes-free-w...
I've read technical books that say the code samples are actually executed to avoid typos. I wonder if you could use cog for that. Probably there are LaTeX packages that can do it, but what if I'm writing in markdown?
Sure, so install RabbitMQ as well.

As the saying goes... "now you have two problems". :)
Re the timing (late): see https://news.ycombinator.com/item?id=38619097

Re the site, see these explanations I posted earlier today. The short version is that on HN we go by article, not by site. Most media sites are mostly bad (for HN) articles, with occasional good (for HN) ones.

https://news.ycombinator.com/item?id=38617464

https://news.ycombinator.com/item?id=38618471

https://news.ycombinator.com/item?id=38620928
Many years ago, I discussed possible employment with a major head unit manufacturer. They were very excited about modernizing but basically stunned into silence when I mentioned typical senior FAANG pay. I'd be surprised if things have changed much.
Mac OS 9 Is Still Alive and Kicking.. and That's Not a Bad Thing
I have heard from industry insiders that this is true for some major manufacturers, and not for others. If the infotainment is integrated with the driving functions then every release of the infotainment system needs recertifying. Some manufacturers avoid this by having completely separate systems.
Sometimes it's easier to just codegen than to figure out the performant way to do something like read some spec file and generate an API from it. Especially if the generation target is something like Java or C++.

Code generation is also nice for things like generating Typescript definitions for your frontend to interact with a backend API. The value is partly derived from Python being a language with great introspection tools, so the codegen code itself is easy.

It's not so much that this is the principled way of doing things, but it might be a way that is good enough and gets you where you need to be, in a slightly reproducible fashion.
Dude. It blows my mind there are over 25 episodes per season of most of the older series. I know most of the series had rough starts, but they really get good in the later seasons. I tried to tell someone to just watch it, and tell them how in Season 3 or 4 it gets really good. That means, you just gotta watch 50-75 episodes to get to the good stuff. LOL. That doesn't seem to convince anybody.

I mean, personally I love the early episodes just as much. But trying to get other people into it hasn't been successful for me.

Also I love starting on a long binge. There are hundreds and hundreds of episodes to watch! Peak Star Trek for me is DS9 when they start to get heavy into the Dominion war. Sisko is such a badass. He's my favorite Captain.
> their long context window isn't that accurate

Apparently this was just a function of how it was prompted, they claim it works fine if you use a different prompt -- https://www.anthropic.com/index/claude-2-1-prompting
I pity both sides.

Wonder what the end game is going to be with this conflict - two state is dead afaik and definitely a single state solution is off the cards due to demographics and fear of the Jewish people.

The best scenario would be that Gaza is incorporated into Egypt and the West Bank to Jordan.

Removing Hamas will simply bring about a worse player like ISIS to the fore.
Yes, this is one of the advantages of pervasive operator overloading in C++. You can create types that behave like primitive integral types for all practical purposes but which implement alternative behaviors like trapping overflow, blocking integer promotion, defining shift operators greater than or equal to the bit width, creating alternative casting rules, etc. However, it has not always been possible to implement this transparently in C++.

This did not work well in older versions of C++ because the limited type inference meant that many common cases around different type interactions required explicit handling that made it clear you were not using native types. Around C++17 it became possible to define integer types that were almost entirely indistinguishable from the native types in ordinary C++ code.

C++17 was important because it meant a lot of safety in the code base could become automagic via the type system, especially for primitive types. The code looks the same whether you are using it or not. That was a huge capability change. C++20 then generalized it to arbitrarily complex types. It is difficult to overstate how much this improves the conciseness and safety of non-trivial code.
> Ariel Sharon who has, despite being a hard right-winger, lead the disengagement from Gaza

This was not an attempt to further the peace process. It was motivated by the expense and difficulty of a military occupation of a densely populated urban area.

> You seem to be placing the responsibility for these failures entirely on one side.

Please, no need for that. I'm aware of Hamas' efforts to counter any moves towards peace. And of the effects of the suicide bombing campaign.

Similarly any talk of peace from the Israeli government is meaningless while settlement of the West Bank continues.
Sorry I think you got confused there by the unclear question in the report. The survey was conducted on 6th of October, one day before the Hamas attack (that's written on the report page). So "this war" can not mean that attack or the Israeli counterattack but probably the decade long conflict.
Also the survey shows people have very low trust in organisations, including Hamas.
Pretty sure most sponsors would include an exit clause just in case. Sure there would be penalties, but if the stadium can re-lease for more, they should play ball.
This is a perfect example of poor organizational incentives.
Yeah, I read most of my books on an e-reader. I’ve tried to pay for my ebooks but I’ve rapidly stopped. It’s such an horror shitshow. They managed to recreate the same DRM nonsense which didn’t worked for the movie and music industry.

The final straw was that time where I bought an ebook on a popular library website. I tried to open it on my computer, I knew it had DRM so I wasn’t surprised to have to install this Adobe DRM nonsense.

However during the installation, I just clicked on « Skip » when they asked for my Adobe account. Yeah it worked ! I could read my ebook on my computer, now it’s time to transfer it to my Adobe DRM compatible e-reader.

Well, fat chance, Mr book "owner", your book has been linked to your computer and not to your ereader Adobe account, you are stuck.

I said a lot of words kids shouldn’t hear that day.

In fact, I love e-reader, it’s practical, it’s lightweight, you can throw your entire library on a tiny sd card but I can’t stand this arrogance.

Contrary to digital music or movies, books are still superior objects in all aspects. They are sometimes beautiful, you can do what you want with them. You can own them or give them or borrow them or … And still, the industry thinks they can sell you those unpractical DRM files at mostly the same price (when it’s not more) ? That’s arrogant and they can go f themselves.

Now I only buy real books and anything on my ereader comes from Z-Library or a torrent tracker. At least they are files I can own.
Time passes and sooner or later the oldest available used car will be from 2024. Add the effect of legislation which could deny access to some areas important for you unless you have a car compliant to regulations made in 2030.
>then there's the "excelsior" subscription account with absolutely no ads

Or rather their AI will by that time have disguised ads as to be not recognisable as ads :)
> But it would be worse if they were also selling off your private reading history.

Google makes a similar argument, but I am not convinced. They still give information to abusive governments, and their in-house infrastructure for monetizing your data is state of the art.

Plus, data breaches are basically inevitable. Even if they weren’t, some percentage of FAANG will eventually have a few down quarters in a row and sell access to the data to the highest bidder, or be acquired by an oligarch.
The cars delivered at the beginning of 2023 don’t have ultrasound sensors anymore. One can’t buy them from Tesla. And aftermarket solutions are ugly and/or with less sensors. This is an absolute show stopper for me.
Who cares? You're not going to solve the issues of capitalism. But you need to solve the issue of homelessness in San Francisco.
Recently I've noticed that the Uber app (which I grudgingly use instead of Lyft due to a decline in drivers over the years in various areas near where I've lived to the point where it wasn't a viable option most of the time) will show me adds when I open it to check the ETA during a ride. This is something where I'm not paying a subscription but literally paying for the ride itself, because I obviously don't check the ETA of anything when I'm not riding. I guess this is their way of trying to find a path to profitability other than self-driving cars, but I'd genuinely rather pay an extra dollar or two per ride than have an ad take up close to half my screen.
> One of those many moments in my day to day that I realize how bad 90% of software we interact with is absolute trash.

Yes. My favorite crap area is point-of-sale systems. There's a cafe where, if I present the card too soon, the reader beeps and flashes, but card doesn't complete transaction, and I have to try again. Same at a bookstore. This seems to be a standard Veriphone feature.
There are supermarket card terminals which explicitly tell you to present the card before the system is ready for card info. The point of sale system and the credit card terminal are not properly synchronized, and they lie to the user about it. It's a dark pattern.

The one restaurant that had a really good system, one that had no excess screens and read the credit card correctly every time, replaced it with an inferior system that misreads the card about half the time.
Should be called The Planned Obsolescence Shaming Site.
I attempted to answer this in these comments:

https://news.ycombinator.com/item?id=38616662

https://news.ycombinator.com/item?id=38616823

https://news.ycombinator.com/item?id=38617223

Re politics on HN: see https://hn.algolia.com/?dateRange=all&page=0&prefix=false&so... and if you still have a question I haven't already answered there, I'd be interested to know what it is.
My parents had an electric absorption refrigerator when I grew up. It was completely silent and lasted for more than 30 years. These days it seems they're only available in small gas fired models for RVs, not sure why.
There is always piracy as ground truth and I'm content with it.
When you click a tweet that is part of a thread and is several tweets down from the top, it goes into that tweet's page. Then when you press the browser back button, it should (and used to) save the scroll position of the tweet you were last at. But now it always resets you back to the top starting of the thread. Super irritating when you want to read replies for specific tweets in a tweetstorm.
There are zips or congressional voting districts, which are close enough as makes no never mind.

It hasn't been anonymized to beyond a degree of k-anonymity since at least 2018. With extra datasets like Plaid, or financials; all bets are off.