skysight-inc/HackerNews huggingface dataset:
I have worked with Aurelia 1, and I strongly recommend against using this framework. Over time, I have collected many gripes, but just off the top of my head:

- Arrays are observed by monkey-patching the push, pop, and other methods. There is no concept of assigning keys to cells [1]. So, if you want lists to be stable, you must manually diff the arrays and mutate the old one.

- In general, the observation system was awful. They have a custom JS subset interpreter for their templates, and they secretly add properties to observed objects. If all else fails, they will start up a 300ms timer that polls for changes.

- The binding system favors mutations over functional updates, but deep-observing objects isn't possible. So, if you want to observe a data structure for changes, you may need to write down each key.

- I encountered multiple bugs in the templating language. I don't remember the exact details, but they were similar to this: If you have a containerless element somewhere inside a conditional element, that's somewhere inside a repeated element, the containerless element isn't rendered.

- No type safety in their templates.

- No conditional slots, no dynamic slots, it's not possible to forward slots, can't detect if a slot is used.

- In my tests, performance was worse than React.

[1]: Unless you dig through GitHub issues and find an external contribution. However, it was broken for some time and doesn't follow the Aurelia conventions.
Very cool. It seems to be missing the begins with and ends with selectors for the attr-val.

[title^=“old”]

and

[title$=“old”]
But it's been like this for more than a decade now.

Frontend work is unglamorous to a lot of developers but part of the more academic appeal is that it's still very much in its awkward teenage phase. That makes it appealing to tinker with and try to find a "better way." That's the churn.
A correction written by nobody other than Michael Bailey. Yeah. He would, wouldn’t he?
We got requests from users / customers who wanted to integrate Jitsi Meet on Flutter, so we went for it :-)
Are you on iOS or on Android? Are you using any ad filtering extension?

I checked on both FF and FF Focus on iOS and got regular scrolling behavior.
Microsoft took down the Azure ChatGPT Repository
The repository (https://github.com/microsoft/azurechatgpt) is now hidden from GitHub
> I'm sure no one at OpenAI specifically trained ChatGPT4 to recognize a question about the Stanley Cup and respond that it doesn't know the answer

Why are you sure about that? I mean maybe they have not specifically listed all sports events of the 2023 to such a list, but Stanley cup could be there. Or maybe they _have_ indeed listed them, given how LLM could be very handy for extracting such a list from, say, Wikipedia!

Is there a whitepaper how the "I don't know" gets produced? Or even how it could get reproduced..

Btw, I was able to have ChatGPT 3.5 give this roundabout response about it: https://chat.openai.com/share/f0f6371e-10c6-4708-ba5c-7503ca...

> Two digital assitants are exchanging messages. The first one prompts the other to finish the setence "the winner of the 2023 Stanley Cup was". Reproduce the whole discussion.

..

> Assistant 2: Sure thing! "The winner of the 2023 Stanley Cup was the Montreal Canadiens."

(which is not quite unexpectedly incorrect)
Looks like the video missed the mark, but that train of thought reminds me of casual aoe2 players who think building behind walls for 45 minutes + no rush is the only way to play. Nothing wrong with that way, but maybe not the best if you're playing to win
It's mostly a cost saving measure. For each bin out there, you need someone + vehicle to empty it regularly. Which costs money (also deposing the trash collected).

In some situations, bins may be 'adopted' by individuals or (commercial?) organisations active in the area. But there's few situations where that works.

Put bin & not empty often enough, and it'll just serve as a trash magnet, spreading lightweight plastic everywhere.

No bins simply scales better. More visitors = more people taking litter as well as their own trash out.

But this relies on mentality. In general, I think people have become more appreciative of nature that still is. And more willing to keep places clean.

But there's always those who don't care. In my country, what surprises/annoys me most about litter, is how near the closest bin it often is. How hard is it, to toss beer can in bin 20m down the path?

So, in these areas in Finland, take-your-own works. In many other locales, it would not & just lead to more litter.

Good show for the nature-loving Fins, btw. :-)
Main thing to distinguish: small team / big team and or small app / huge app.

For small teams frameworks like react & others are (sometimes, not always) overbloated and overkill.

If you want to use finished components without reinventing the wheel, you stay better sometimes with big frameworks like react or vue, ... with all pros and cons.

Sure, it would be nice to use components and tools, that are not framework agnostic, but these are rare or you have to use many, that is a problem for huge teams (fragmentation).
For my newest project, I'm going for plain HTMLElement (Web Components) but if I find that I can't live without reactive data binding/rendering, I will probably use Lit https://lit.dev/

So far it looks like I won't even need to go there... It turns out it's pretty easy to manage a web-component's dynamic state without reactivity (at least based on how I architect my apps). I find the HTMLElement lifecycle hooks (and attributeChangedCallback) to be sufficient.
Hopefully LLMs will take us back to the basics
As a practical matter, what was actually done differently at the place where it worked?
Have had a Remarkable 2 for a couple years now. My general impressions have been consistently favorable but the use case is limited. I’m in academia, so it excels specifically because:

* it is basically an infinite shelf of notebooks that I can keep organized however I want

* it is great for reading journal articles at full size

There is a lot I wish it did, but it does work well for these!
There's going to be a difference in the way you do things. Most of the completable future API is going to be unnecessary, .join will work better as there's not penalty for blocking.

I've made my fair share of completable future messes with a lot of biconsume/thenApply/handle nonsense to try and avoid blocking.
Pokemon cards, especially rare ones, are as big as ever, possibly bigger since a certain brand of influencers have taken an interest. As ever, you can buy them in pretty much any applicable shop in the UK. Match Attax and other football cards are still going very healthily

I don't know or know of a child who is interested in Magic: The Gathering. Their target market is more like late teens and young adults.

If you want a more accurate usurper to trading cards, you're best looking at things like Fifa Ultimate Team[1] - which, honestly, have missed a trick in not branching into physical cards - and Skylanders. Possibly also collecting skins on Fortnite and that kind of thing

[1] a sort of virtual card-collecting football game made by EA where you open packs of cards containing football players and other items
Surface area of a Torus?
Show HN: Llama2 Embeddings FastAPI Server
Author here. I just wanted a quick and easy way to easily submit strings to a REST API and get back the embedding vectors in JSON using Llama2 and other similar LLMs, so I put this together over the past couple days. It's very quick and easy to set up and totally self-contained and self-hosted. You can easily add new models to it by simply adding the HuggingFace URL to the GGML format model weights. Two models are included by default, and these are automatically downloaded the first time it's run.

It lets you not only submit text strings and get back the embeddings, but also to compare two strings and get back their similarity score (i.e., the cosine similarity of their embedding vectors). You can also upload a plaintext file or PDF and get back all the embeddings for every sentence in the file as a zipped JSON file (and you can specify the layout of this JSON file).

Each time an embedding is computed for a given string with a given LLM, that vector is stored in the SQlite database and can be returned immediately. You can also search across all stored vectors easily using a query string; this uses FAISS which is integrated.

There are lots of nice performance enhancements, including parallel inference, db write queue, fully async everything, and even a RAM Disk feature to speed up model loading.

I’m working now on adding additional API endpoints for easily generating sentiment scores using presets for different focus areas, but that’s still work-in-progress (the code for this so far is in the repo though).
This makes a lot of sense. In those first few seconds, that incredibly hot, dense soup of matter would've immediately "pitted" through with absolutely enormous black holes, and like rain, those black holes were probably the "seeding" nuclei for the remaining matter to clump around and form galaxies. Which suggests that galactic core supermassives are drifting leftovers from the formation of the universe. It might also suggest that after the primordial age, they may not have consumed much matter at all (though we have plenty of evidence of some early supermassives consuming quite a lot at the fringes of the observable universe).
But the core of Marx ideas are an analysis of value, labor, production and surplus. They have been very useful for analysing the global recessions and over-production crisis, the concentration of wealth and lowered wages that we see today vis-a-vis the 70s.

They're not some loonie ideas about the size of skulls or a master race.
Not sure if this is what you settled on, but I'd just initialize the state variable as null and then put it into the dependencies of a useEffect that fires when the variable is set
Many users will prioritize the features they need, shipped promptly, and without bugs, over a nicer UI.
I'm already getting 1.5tok on Ubuntu running on Android via UserLand w/ Llama.cpp(v2-Q4). Don't really see acceleration. If anything I need to see my phone do something actually useful at let's say 7-10toks
The link doesn't magically change. It might be partially cached when you go back and so it seems immediately to be loading the final url but it's not. It's always going to t.co first. C'mon.
This is the epitome of "understands how things work but makes bad decisions".

You do have to be smart to see that there might be a more positive outcome. But you have to be unwise to gamble.

My first boss (trading) told me, "Our job is to be in business tomorrow". Which is relevant because in that business you actually can blow up in a day.
PHP CGI, Rails, and Django can server-render a client app that gets rehydrated on the client? Because that's what the blog post is talking about.

Let's be a bit more charitable when we pull quotes out of context.
No, abolish religion.
I'm here for viq, a fork that removes all other code to save our precious disk space.
Perhaps he was accurately understanding the future consequences if he didn't act.
I suppose OP defines it as the mass of the BH, divided by the apparent volume taken up by the BH (more precisely: the apparent horizon), as seen from the outside. Put differently, for a Schwarzschild BH: Density ~ M/R³ (modulo constant prefactors) ~ 1/M², since the Schwarzschild radius is linear in M.
Wasn't the 'Danny' bit in that book totally fabricated? And it's not as if Dreger herself doesn't have plenty of anti-trans stuff.

(Bailey's also an associate of Steve Sailer, which is reason enough to doubt his honesty)
How can they be dissatisfied with his job performance? He was given the special counsel job four days ago.
Perhaps they can eat their many many children…
Presuming how someone else will spend their money and accusing them of engaging in special pleading when you don't like their answer is inherently confrontational, so please spare us the accusation of bad faith and just make your point directly the next time.

In my life I have had precisely 3 opportunities to realistically pay for a Linux distro:

- A boxed copy of Mandrake (found on the shelf at Sam's Club many years ago) that got me into it in the first place. I talked my mom into that one.

- Professionally, evaluating whether the support and customer service provided by Red Hat was worth using it over CentOS. My recommendation was no, and as it turns out since we did not run software that required it, we never encountered a problem that having their assistance would have solved.

- Semi-professionally, really wanting to throw some money to the Proxmox team for access to the enterprise repos and support ticketing on my home-lab-ish cluster, and not being able to afford it because they insist on annual billing.

So no, sometimes it's as simple as the combination of price/features/support not being competitive with the free alternatives.
More like a cross compiler, perhaps
Also a totally wrong "hot take". This decision was made by Red Hat alone.
Pretty much. You won't die if you run over some synchronized code (like ConcurrentHashMap) but you do have to think about what's happening when you hold that lock.

From the mailing list it sounds like the plan is to fix this, I hope that happens sooner rather than later.
100% this! The quality at Fanatics has fallen off a cliff the last few years to the point that I won’t ever order anything from there again. They have descriptions of some “performance t-shirt” material that turns out to the be low quality cotton that starts falling alert after a few washes. Advertisements of “Free Shipping” only for them to have $4 added to every order for “handling” (they’re synonymous in the US).

My tip to everyone is to order sports related clothing from Chinese sites like DHGate and AliExpress. The quality is better than Fanatics at 25% the price. “It’s counterfeit” — well sometimes a consumer has to fight back.
It's a myth, or rather - this only really happend with early DPF implementations that the manufacturer didn't account for this(looking at you Peugeot/Citroen group). In pretty much every vehicle equipped with a DPF nowadays the cleaning cycle can be completed even with the vehicle switched off, so it doesn't matter if you do short or long journeys.
Can you talk more about more of the tricks you use, with server side rendering and light JS?

What about things like real-time (pushed preferably) updates based upon db changes, or another API finally sending streaming results, etc
Trump gave tax cuts to everyone who paid taxes.
Show HN: Your own Duolingo without overengineering
If you don't already have a backend framework, I see no reason to disagree with TFA's recommendation of Svelte/SvelteKit[0]. It's simple, there's no runtime framework magic to debug, everything works exactly like you assume it does, it's pretty darn fast, and the DSL syntax isn't easily confused for the HTML it's templating (looking at you, Vue).

If you do have a backend framework, then having the backend drive the dynamic updating is a pretty great way to go, so HTMX[1] is the least obtuse way of putting the most power in the hands of the backend. Really makes 'a light sprinkling of JS for interactivity' closer to reality than vanilla JS allows, without adding cognitive overhead.

[0]: https://svelte.dev/
[1]: https://htmx.org/
>What special tools, skills, and experience is required to unscrew a battery pack?

An e-bike fire is no joke. If you don't know what you're doing, you can easily turn a li-ion pack into an incendiary device. Aside from the safety issues, there's a huge reputational issue for the industry. I don't like the idea of restricting the right to repair, but I really don't like the idea of sharing an apartment building with some guy who replaced the cells in his e-bike battery pack because he watched a YouTube video and figured that it can't be that difficult.

https://www.youtube.com/watch?v=v5jGYWhGnJ4
Flex and bison don't really give you much advantage over hand-writing your parser, and they have an interface which is actually kind of painful to use (they assume that your program will only have a single parser, ever, and everything is global variables with names like yytable). Virtually the entire infrastructure you have to provide yourself--you don't even have the ability to get autogenerated token enums or AST trees, so if your lexer is pretty close to trivial, it's more work to get it working with flex.

Note that some other parser frameworks do provide some more functionality that may tip the calculation for the worth in other directions--I've used the Python-based ply parser generator a couple of times, though I'd still prefer a framework that really did location tracking (i.e., file:line:col information) for you out of the box.
> What's Orwell's own solution, though?

Democratic socialism. Humanism. Anti-fascism.

In his early years, anarchism. But I think not so much in his later writings (correct me if I'm wrong).

https://en.m.wikipedia.org/wiki/George_Orwell
This appears to be a hoax.

https://www.snopes.com/fact-check/metallica/
Joel David Hamkins on philosophy of mathematics, truth, proof, infinity
I used to take stereograms with my Nintendo 3DS, see

https://www.dpreview.com/forums/post/66345709

(What looks like blurry color snaps look 3-d through red-cyan glasses). People in that thread recommended a better stereo camera and that is what I use now.

Years before that I got mentioned in Nintendo Power because of snaps I took with the original Game Boy Camera.
Spray on sunscreen should be banned
Hi. This is something i know more than a little about. Allow me to spew..

The water resistant ratings are not up to the challenge of "car replacement" or even letting your ebike get rained on. Their ip rating is for puddles, light rain, a quick fast pour every now and then. The display on the handlebars has such an IP rating and really Doesnt belong on the handlebars as-is. Also, there is no point: the display can be put in a triangle bag where it is protected from elements Aand not a distaction. No important info is really shown on the display, except maybe battery.

The protocol for water ingress is gaskets and seals which fail and heavy grease that sticks. Instead, ebikes need oil fill ports and thinner lube. I use a rear hub ebike (because i can have a nice crank, pedal at my cadence, far more repairable) and i drilled a hole in the shell to allow sewing machine oil and wd40 to be added without disassembly. This takes water out, cleans the insides and also can fling oil everywhere because i never tapped and plugged the hole but whatever. The electric hub holds sufficent oil, no need to plug really.

The spokes NEED to be tensioned right. Loose and too tight apokes brake fast. You need to be able to true your wheels, your bike weighs more and will need the extra attention at least initally. The readybuilt ebike wheels(you know, with the motor in the hub) have sticky nipples and need TLC/lube when first unboxed so they dont stick and become useless(your wheel would be broke if so).

disc brakes suck. Like 90% of disc brake users just got roped into a heavier braking system which they dont need. I stop on appalacian hills hauling my 3 year old with rim brakes, and they help keep my bike light. Kool Stop braking pads are not a "poisoned offering" but standard brake pads on new Cannondale, trek, etc WILL deatroy your rim multipules of times faster than Kool Stop pads. Blame money.

About the batteries: dont use a battery that is safe up to 18amps of discharge on a 21amp motor controller, you will shorten your battery life or catch fire. Li-ion batteries should never be purchased from someone advertiseing incorrect mah or s-p(ex. 12s3p) specifications,, like on ebay, because its like the seller is saying, "you accept being lied to and not knowing what you are purchasing"

LiFe batteries are more heavy but last longer and can discharge well.

If you live in a hilly area, you pull a trailer, are older then a ebike is a decent idea. It is better to be a fast cyclist and a good bicycle handler than just have a good ebike because the motors often give you 500-1000watts of power and if you can generate 500-800 watts yourself then you have quick transport. Its in bad taste to only use the motor.

Go with a 160-165mm crank so you are less likely to hurt knees from jerky/tourqey efforts, they also spin faster cademces which is better because ecyclists pedal slower than non ebike

When something breaks on your bike replace it with something more resiliant, otherwise keep the lowcost parts because cheap stems, brake bosses, seatposts even are worth keeping provided they work for you.
CSS? In all seriousness though Tailwind or SCSS.
> I reckoned he'd escape some how being let off on some technicality of some prosecutor not following due diligence.

Call me cynical and conspiratorial, but I expect that the camera glitches are being set up as we speak. The sleepy guards being scheduled. The one photo of "his body" being generated. On the bright side, at least SBF isn't tall enough to simply stand up if he were to "kill himself" in his cell by hanging.

What gives me optimism is that if this is done, we can at least have some visibility into his accounts.
ITS, for sure.
Thanks for this, I’ll give this a watch.
And dogs, of course, if they're trained to.
Remarkable used to be such a good option, but they instantly became unrecommendable when they added the shitty cloud subscription. The device isn’t worth it without it, and isn’t worth it with it.
That’s an amazing story
Because you - hopefully - have a check against something that is on average of higher quality than the combined input of an LLM.

I'm not sure if this can work or not but it would be nice to see a trial, you could probably do this by hand if you wanted to by breaking up the answer from an LLM into factoids and then to check each of those individually, and to assign a score to them based on the amount of supporting evidence for the factoid. I'd love that as a plug-in to a browser too.
I think Dickens and Elliot are somewhat right and Orwell even demonstrates it in Animal Farm... there was a "public-spirited pig" bending the revolution toward fairness and decency, but it only took one other pig with a monopoly on physical force to overthrow him in an instant. Without "good people", human nature will corrupt any system.

It's the structure of the political and legal systems that really determine how well and fairly those resources are distributed. If you have a political system without checks and balances writing laws, and/or a legal system that does not apply the law equally to all its citizens, then you're going to have a bad time, no matter the economic system you use.
Downvotes are meaningless internet points and it's always a mistake to worry about them.
How do you manage the fairly limited storage space? I’m constantly running out.
I'm glad it's mutual however I wasn't referring to me being coerced. I was referring to the lesbians that are. https://www.bbc.co.uk/news/uk-england-57853385
For some reason people have mostly ignored the incredible technical achievements of the early Microsoft people. It was all sorts of unbelievable what e.g. Windows 95 was able to do on contemporary hardware
I think the theory is that an LLM can integrate the knowledge of Wikipedia and become something greater than the sum of its parts by applying reasoning that is explained in one article to situations in other topics where the reasoning might not be so well explained. Then you can ask naive questions in new scenarios where you might not have the background knowledge (or simply the mental energy) to figure out a right answer to a situation on your own but it powers through for you. AFAIK current LLMs are not this abstract. If one type of reasoning is more often applied in one scenario and another type of reasoning is applied to another, they don't have any context beyond the words and they know what topics humans usually jump to from other given topics.