skysight-inc/HackerNews huggingface dataset:
I am of the opinion that this AI/ChatGPT, or atleast the current form of it, is just another VC money shuffling business which has no long term real world consequence. Like VR and crypto, while being great technical experiment but eventually they have not reached any kind of sufficient adoption. iPhone and Bitcoin came out at basically the same time and see how many people have iPhone and how many even know about bitcoin. And yet, Crypto & VR have been VC darlings for all these years. Generally I feel all the usecases for this AI are incredibly depressing and don't give us any hope that they will make the world a better place. I can totally imagine that this AI can replace some jobs, but who really benefits from it? I certainly do not, government probably doesn't, only the big corporations. We would have more umemployment, less tax collections and overall we will end up worse than before. So why are we even investing in such a tech? Who would you be even selling stuff to if all of us are unemployed?
https://en.wikipedia.org/wiki/Trencher_(tableware)
At what times is traffic peaking? What are people doing then?
If youre contracted to provide software to party A. If that software includes gpled parts you have to supply the source to them. That doesn't mean you have to supply the source to everyone.

Samsung or however could require proof that you'd actually bought one of their TVs before supplying the source. In practice they dont, but they could.

Red hat are now doing exactly this. Only red hat customers can get hold of the red hat source.
> Here, multiple generic drug manufacturers are competing to win sales contracts by offering the lowest possible price. This can be seen as an example of perfect competition, where firms are price takers and compete mainly on price, driving prices down to the point where they equal the marginal cost of production.

In Switzerland there are laws covering biddings, where the state has to accept the second to lowest offering, not the lowest, thereby circumventing this race.
Use different embeddings according to your need.

The mini-V2 (default sentence transformer ones) are far superior for these tasks than many others.

The query-document snippet style ones (trained on MS-Marco) are great for matching definitions etc or QA.

The implicative and other more semantic embedding types are ok but usually too slow to be practical, especially cross-encoders.

The Word2Vec ones are very fast, but not deep. The main usage of terms dominates in cases of polysemy which will obstruct your goals. So I recommend exploring cosine similarity of SBERT.

it should be said given the predominance of GPT in these tasks, besides for academic purposes, these techniques are not particularly useful these days - GPT will be much more useful for almost every end task (every task I've tried it has been, but I accept their could be exceptions, as somebody who used to compete well on Kaggle for sentence embedding/classification kind of tasks over the last few years)

You can subtract or add embeddings or pool embeddings are mentioned but these won't exactly remove concepts. What you would do better to do is remove the embedding which represents the pooled average of other animal nouns (Dog, Cat, etc) rather than "animal", because "animal" will be used as a verb, will be used as a collective, it won't probably get to what you're aiming for.
> If version 1 of your library has a function that returns a reference to T, then that constrains your choices of implementation for the underlying data structures containing Ts more than they would be constrained in a garbage-collected language

This is IMHO a good thing. If it returns a reference to T, it means it still owns it and allows only temporary usage of it. This is semantics of ownership and does not have anything to do with memory management. If you wanted to allow sharing for unspecified lifetime, sure, you can. There is Rc/Arc.

I've fixed plenty of bugs in code written in managed languages, where a reference to T was handed out from a library (because there is no other choice - everything is a reference) and then someone stored it for longer than it was valid, leading to a logical equivalent of use-after-free.

E.g. get an entity object managed by Hibernate. Pass it up outside of the context of Hibernate session. It will likely blow up because the object references a session that's now closed. Rust ownership model would prevent exactly that problem.

I find this "flexibility" of managed languages actually a problem in large codebases, similarly how flexibility of goto is universally considered bad. It severely hinders maintainablity. It allows to pass references freely and create implicit, complex, often cyclic, reference graphs which are very hard to reason about.

In my Rust code 99% of objects don't need shared ownership. But managed languages make shared ownership the default, optimizing for the edge-case.

BTW, your statement can be rephrased to:
"If version 1 of your library has a function that accepts a reference to T, then that constrains your choices of values of T more than it would be constrained in a dynamically typed language."

You may say that you can use Any / Variant / Object in a statically typed language to overcome that limitation. True, and similarly you can use Rc/Arc/Copy types in Rust.

This is all the same thing. It just takes static typing to the next level. Not only it allows to express constraints on values, but it also allows to express constraints on time they can be used.
Disputed Jackson-databind CVE Causing Disruption
FasterXML/jackson-databind is currently marked as having a CVE causing build systems to fail; https://nvd.nist.gov/vuln/detail/CVE-2023-35116 yet the authors of jackson-databind have now agreed that this CVE should be revoked but are struggling to get CVE DBs to follow suit.
It's perfectly OK to add a star char the moment the user starts typing and removing it once they save. For many who are easily distracted, it's horrible if something like "saving draft...." appears and disappears every couple of seconds.

If the network is down or syncing fails for other reasons, display a warning, preferably in red so the user notices. But don't spam if everything is going fine.
It's an infrared telescope, it's never going to tell you what things would look like to the naked eye. The images are created by picking visible colours for different parts of the infrared spectrum in a consistent way to make the structure in the image visible.
Current Voice assistants aren't much more than hardcoded GOFAI software. The only relevant ML involved is in the speech-to-text model. Modern language models are on a completely different level. Problem is that they need absurd amounts of VRAM, so running them locally on a phone is out of the question.

> It isn’t at all clear what these interfaces can and cannot do, all you can do is keep trying different things until you get a result.

You would ask an LLM based assistant what it can do, in the same way you can ask ChatGPT what it can do.
> and it still seems Firefox has the best cards

Not with the current execs
That is pretty interesting. Khobz appears to be the word in the Arab speaking world. (can't think of a good name for this group).

A thing as basic as a bread staple to have different names in the same region seems very significant.

Does anyone have any insight into this? I'm definitely going to try to dig deeper.

I used to go to a "pizza" restaurant in Jaffa. It claimed to be the oldest pizza restaurant. It has high lip edges and eggs... I think it was like shakuka on a type of pita.
I wish I could remember what they called it.
Nice. It's in the settings within the video player, not burger-menu settings if anyone is looking.

I do wonder what problem this thing solves
Ask HN: Books on building databases similar to Crafting Interpreters
Hey HN,

I was wondering if there is a book on building databases that's written in a similar fashion to "Crafting Interpreters". A book that would teach you about databases while having you build one yourself.
After installing several dozen of Tasmota based WiFi energy monitors around the house, I've noticed WiFi performance dropping significantly on my three-mesh-Ubiquity-Amplifi WiFi network. Therefore, I'm slowly moving away from WiFi based IoT devices and expanding my Z-Wave network with more and more devices. Two years ago I was doing exactly the opposite. The core is, of course, Home Assistant. Just my experience.
Not an Apple innovation.

Intel already launched a processor with 16GB on-package MCDRAM in 2016 (Knight's Landing Xeon Phi). You can even buy an Intel Xeon with 64GB HBM2 today. Nvidia likewise has been packaging HBM with their server GPUs.

Embedded DRAM (eDRAM) been used for long time in the mobile and console space. e.g. IBM's POWER7 (e.g. Nintendo Gamecube) and Intel Haswell products. However, using a logic process node to make DRAM cells is wasteful. Packaging technologies have advanced sufficiently that you now regularly see regular DRAM dies (LPDDR, HBM) being put on-package.

But all of that is packaging and manufacturing technologies. We're still taking to DRAM over a memory bus like we're still living in the '80s. The true innovation I'm looking out for is for a company to stick its neck out and use a different communication standard to talk with the DRAM modules. Something like the CLX.mem standard, which is used in the server space to talk to memory expansion modules.
And there's nothing that's particularly prohibitive about doing that remotely. You can't just call a bunch of dot points like "on boarding" refuting what I wrote. Sure it's what you might read in your CEO's email or whatever, but that doesn't make it true.
Presumably, you have eyes, and can easily avoid glass pollution. That's what I do when I go around barefoot. I've stepped in/on all kinds of nasty shit, but never on anything sharp.

If you don't have functioning eyes, I apologize, and imagine being blind and barefoot is a tricky combination.
I’d be interested in a prosumer version of this that ditches the LTE and cloud system for wall power + WiFi or (ideally) PoE with a fully local backend via home assistant
Surely he can sue Google.
Probably 10 - 15 over the course of 20-odd years.

Sizes from a 10" ASUS eeePC to a Toshiba 17" monster desktop replacement, generic brands, a 14" Lenovo Thinkpad, a 13.3" Dell XPS, Samsung (real puurty silver slimline thing I was sad to say goodbye to), current work laptop is an HP Elitebook, a 15" ASUS, a 13.3" ASUS, and at least a couple of other work ones that aren't memorable enough. Plus my kids' school chromebooks.

No macs though, I've not crossed that border yet.

I can deal with any keyboard, but for actual proper typing in an environment where one is meant to be working, gotta be an external keyboard. I've got a mechanical at home, but I'm fine with non-mechanical at work, so I don't think I'm too much of a prima donna - I won't say that's inarguable fact though ;)
Tell HN: We need PHP as a browser script language
Prove me wrong
Damn, I was just in Chicago! Next time.
If we go back in time it wasn't the case always.

A common form of agricultural contract in many countries, up to the WWII and in some countries even after was a form of rent where the owner provided the farm, and the tenant worked on it and they divided the crop (or whatever the farm produced), in English it is called sharecropping:

https://en.wikipedia.org/wiki/Sharecropping
I don't disagree with your argument, but I think you're making it in a way that's tautological, and a bit disingenuous. You're saying "this API has privacy concerns" and then point to some privacy concerns. However, you aren't taking into account that it's not this specific API that has privacy concerns. Any advertising API would have privacy concerns, because it's explicit goal is to be able to target users for ads.

Pointing to some stuff and saying "this API that's made to target users allows user targeting" isn't bringing anything new, really.
For me, it’s a combination of flexibility, avoiding a daily commute, and having my own private, focus-enhancing office as opposed to the interruption fest that is modern offices.
How Jordan Lyles made a $50M career out of the art of losing
Honest question: modern builds seem to have a lot of plastic, rubber and foam materials used for insulation, ventilation, etc. Won’t all of that deteriorate much quicker than 50 years? Things like spray foam and polystyrene seem to be in areas pretty hard to replace (or even notice they are degrading).
For what it’s worth, if your goal is to write Lisp in Emacs, a reasonable environment can be set up in a few minutes on a modern system with a package manager:

1) Download Emacs
2) Download e.g. sbcl
3) Install SLIME using Emacs’s package manager
4) Maybe install paredit

That’s basically it, modulo a few small bits of configuration I may have overlooked.
Just get rid of it and mandate work/school starts hour earlier...
This is saying that if you use your ORM as a typed query builder, its fine!

But then just use a typed query builder?
28 USC § 540B – Feds get qualified state,local immunity in serial killer cases
"Apparently the average person is way less grumpy than I am about things like right to repair or planned obsolescence."

That is obvious. Otherwise we would not have glued in batteries, spyware everywhere as part of mainstream OS and ads in the start menue.

But to me a e-book reader is also just an appliance, that should perform one specific function. Displaying books. But I simply happen to know what a file format is, so I know that there is no reason to limit that, so they can try to lock me in to their store.
Well, you have the Headscale implementation if you want to go full free software.

But, for starters, Tinc is Layer 2 and TS/HS (WireGuard in reality) is Layer 3. TS/HS configuration is centrally managed, you don't have to touch anything on the clients. I think Tailscale hole punching works better, but also it might depend on your situation (DERP servers are nice, but maybe you can just add a Tinc node).

These are HS available features that I think are not available in Tinc:

Split DNS
Node registration Single-Sign-On / Pre authenticated key
Taildrop (File Sharing)
Access control lists
MagicDNS
Routing advertising (including exit nodes)
Ephemeral nodes
Embedded DERP server

But maybe you don't need that, and you rather have Layer 2 and use broadcast messages. So it depends on your needs.
The one with Jackalope (sp?) must be one of the most touching shorts I've seen, without resorting to sentimentality or (cheap) effects. It's on YouTube, of course: https://www.youtube.com/watch?v=KOLG-BAvjz0
“want”, not “need”. What can you do with front end PHP that you can’t do with Javascript? If you wanted to write client-side PHP you are going to compile it to Javascript or WebAssembly anyway.
Is linking to google search results from own site a search-engine-side SEO tactic to pretend that users are looking for this specific site?

The company enforced a <a href="https://www.google.com/search?q=entrepreneur.com+return+to+the+office+policy&amp;oq=entrepreneur.com+return+to+the+office+policy&amp;aqs=chrome..69i57j0i512l3.2851j1j4&amp;sourceid=chrome&amp;ie=UTF-8" rel="nofollow noopener">return to the office policy</a>, causing waves of unrest.
In which universe is knowledge equal to commerce? Do they also regulate which books people can read because it's possible to sell them?
The word 'Plastic' needs to die. Instead we should be more specific on the type of plastic.

Teflon, PLA, ABS, resins, foams, etc... are all plastics, but they are so unrelated outside their long chains, its terrible to stereotype them all into one category.

You aren't going to get cancer from PLA or Teflon, but rather the manufacturing process. You can eat these plastics as far as I know and you'd be fine.

Eat something with BPA in it, you are probably going to have a bad time.

Maybe the solution is better labeling. I know its near impossible to have perfect consistency in plastic manufacturing(I worked in foam, mind boggling we consider testing these foams one time, and considered it the same foam for the next 8 years). However, knowing precursors, additives, and potentially process would make a huge difference in our ability to track problems.

EDIT: Someone called out PLA as potentially dangerous. After looking it up, I'm skeptical of the oxygen double bond attached to a carbon attached to an oxygen. The wikipedia article had no health concerns, but that carbon atom seems ripe for reaction. Let me change my answer on PLA to 'I don't know'.
The point you seem to be making - that remote working is a cinch as long as all the managers already know what they need to do and how to do it - is both correct and missing the point.

Studies in the UK demonstrate that feeling isolated and making connections with colleagues in a remote environment is a major concern for younger employees: https://universumglobal.com/blog/the-leadership-gap-young-wo...

This is an organisational issue which isn't solved just by making tools like email and calendar available.
For me, the linked article from IBM research was a good read for some background on chiplets: https://research.ibm.com/blog/what-are-computer-chiplets
And what prevents that everything is declared confidential?
>Rubio, a longtime advocate for transparency on the alien issue (...)

Person who already believes in aliens and flying saucers finds stories of aliens and flying saucers credible. Film at 11.

Show me some evidence. Show me wreckage. Show me autopsies and photos of alien bodies. Something that can't be walked back from. You say we've reverse engineered alien tech? Publish the research. Tell us how anti-gravity and warp drives work. Give us the science and a replicable model. I don't care that Marco Rubio heard a thing from a guy, I want the smoking gun.
Because of this specific section

> The new UAP language (found in Section 1104 of the bill) would require "any person currently or formerly under contract with the Federal Government that has in their possession material or information provided by or derived from the Federal Government relating to unidentified anomalous phenomena that formerly or currently is protected by any form of special access or restricted access" to notify the director of the All-domain Anomaly Resolution Office (AARO) within 60 days of enactment, and to provide within 180 days (six months) "a comprehensive list of all non-earth origin or exotic unidentified anomalous phenomena material" possessed and to make it available to the AARO director for "assessment, analysis, and inspection."
Ok, so by induction... how did you get your first Github sponsors?
> There's no reasoning about why you should have all the benefits and none of the liabilities from your parents, other than spurious associations with other things you don't like

There are plenty of children who have (great-)(great-)grandparents on both sides of major conflicts. In our specific example, my children's great-grandfather $foo fought for the Allies in WW2, their great grandfather $bar "fought on the other side" [trying hard not to fall foul of Godwin's law here].

However I typically advise my kids to look forwards, not backwards.
Open source is an essential building block for a sane digital society that would resemble our professed values.

AI is an important but ultimately small part of this overall transformation. Let me remind everybody that bitcoin, aiming to disrupt the very fundamentals of economic life, is also open source.

The evolutionary process of embedding open source capabilities at societal scale is far from automatic or manifestly benign (see above crypto reference).

A lot of technology, institutions, behaviors still need to be imagined, developed, tested and evangelized. That is the good, roll back your sleeves challenge for current and future generations of digital "social" engineers.

I struggle to see any alternative universe that is not dystopic. Genuinely interested if people have articulated "proprietary" visions that are intellectually honest as to their incentives and morally aligned with ideas of individual agency and freedom and democratic controls.
One could make the case that these difficulties select for a better sort of participant, that is they keep “Eternal September” away.
Drink less propaganda.
Thanks for sharing. The Ars Technica article focuses on differences between states but I think there is very little to be learned from that chart. For instance, New Jersey is the state with the biggest reduction, but that number represents a reduction from 217 to 190. Does that mean anything? In the previous 3 years, New Jersey had 175, 179 and 217 deaths.

The trend is useful for the country as a whole, but the numbers for the individual states are small enough for the per-year variations to represent noise or one-offs (like a major events with drinking, or a nasty accident).
Indeed, lahmacun (lahmajoon) clearly comes from Arabic "lahm b ajin" (meat with bread) which is just another variation of the Mankoushe (منقوشة) - a flat bread with different toppings such as thyme, cheese and the famous meat variation.
I was a user of superintendent until about a year ago (it doesn't make sense for my current job), and I liked it a lot. Tanin was responsive by email, and the tool was very helpful for standard CSV tasks. Well worth the price for me. If I ever need to do those kinds of tasks again, I'll gladly become a customer again.
I don't think I'm alone in considering blinking keyboard cursor/carets as the original sin of this.

Here's an long-running collection of how to disable flashing cursors everywhere, from vi to Vscode: https://jurta.org/en/prog/noblink

> Software development is not an easy task, and often after a painful process of writing a program developers feel they should share their pains with users, so they put a part of own sufferings onto the shoulders of users in a method similar to the Chinese water torture - blinking cursors.
Gnome 3 largely brought the widgets in titlebar look to desktop which has since been adopted as a standard piece of OS X design.
Hey man you do the crime you gotta do the time hehehe
If only they'd cut advertiser's costs, we could have more advertising. And that would also be cheaper, pushier, advertising. And it would be a pity that there was a lot less cash then for things like actual content, but the important thing is to maximise the number of adverts right? Right?
Sorry, by "something like this" I meant LFS. Obviously the word "this" was ambiguous as GP said "I compile linux kernels for work".
Why are biting flies attracted to blue objects?
Not entirely true. i was running a 1600x1200 Linux desktop at the time on a 23-inch CRT. Ten years earlier we were using 640x480 to 800x600.
> Plants in India undercut everyone in price and drove them out of the market by making a substandard and dangerous version of the drug violating basic safety standards

Someone is buying those "substandard" products or it wouldn't be driving competitors out of business. Did the FDA suddenly realized something the rest of the Regulatory bodies didn't?
I've used many different databases. They're all very similar I've not had trouble adjusting. Every ORM I've used has required more time to learn. I'm not against ORMs but I've yet to see a situation where one was a net benefit. Aspects of ORMs are great but going all in tends to add significant complexity.
1000x faster to set lawyers and auditors onto you, yes.
That's almost certainly your laptop manufacturer's fault. Dell pushes BIOS updates via Windows Update on a regular basis, and I've never had the settings reset because of said update. (source: I administer 80 Dell desktops, 40 Dell laptops, and 8 Dell servers)

However, I do feel your pain, I don't understand why other motherboard manufacturers don't save your existing BIOS settings. Asus and MSI, I'm looking at you all... why can't you just ask me instead of undoing my work?
These two are geek favorites but I hated them. To each their own I guess :)