skysight-inc/HackerNews huggingface dataset:
Easiest example is taking three words: Universe, University, College.

- University and Universe are similar alphabetically.

- University and College are similar in meaning.

Take embeddings for those three words and `University` will be near `College`, while `Universe` will be further away, because embeddings capture meaning:

University<-->College<-------------->Universe

_

With old school search you'd need to handle the special case of treating University and College as similar, but embeddings already handle it.

With embeddings you can do math to find how similar two results are, based on how close their vectors are. The closer the embeddings, the closer the meaning.
Ask HN: What is your LLM monitoring stack?
What do you use for tracing llm calls etc ?
I wish I was smart enough to understand how things like this work.
Their OpenAI benchmark is GPT3 (text-embedding-ada-002), not GPT4.
I've read that yields can often be safer than stop signs for the same reason.
If the quality of interns I get every year is anything to go by most College CS programs are still stuck in the 2000s era of web development. We usually get one or two that never heard of git, and it's rare that any of them know what a container is. They can tell me how to use tables to format a page though! Regardless, I know it's due to a lot of reasons, mainly that some of our local colleges are basically extended training programs for the nearby defense contractor, and they don't have an interest in web developers.
Thank you, that’s exactly my point. I couldn’t have said it better myself.
> * Everything is a Box<Rc<T>>. This is closest to dynamic garbage-collected languages, but with vastly improved performance.

Wait, reference counting everything all the time is faster than normal garbage collection?
Not even remotely a joke.

The inverse-style domain name thing does a really good job of removing the whole issue of squatting from the ecosystem. You have to demonstrate some level of commitment and identity through control of a domain name in order to publish.

I would also say that this puts just enough friction so that people don't publish dogshit.

crates.io demonstrates quite clearly that you either have to go all the way and take responsibility for curation or you have to get completely out of the way. There is no inbetween.
I'm not sure about scammers, but I know gay apps are now also being flooded by straight people thanks to gender self-ID policies.
>> Porting code from Python to Rust for example often gives 10-100x speedups right off the bat.

As long as you don't do a couple of things that, while easy to remember not to do once you know them, a programmer used to languages like Python and Javascript might be oblivious to. Things like:

* Forgetting to use buffered IO wrappers

* Using println!() for high-volume console printing rather than locking stdout and writing to it manually
AFAIK people like it hot, so it doesn't get cold on the way to the office or whatever, and companies oblige.
This is like a textbook example of Louis CK’s adage “everything is amazing and nobody’s happy.”

Microwaves are great. Amazon will have a Farberware or RCA for $70 to my home in two days - including shipping!

What exactly is the problem? No one has ever used them to do anything other than heat things up. I was a child of the 80s. No one ever used these supposed features the post complains are disappearing.

Instant Pot. Introduced millions to pressure cooking. Pork shoulder or brisket in 30m instead of 3 hours. Same for beans. Mine stopped working after several months and I called the company. They sent me a new one, actually a nicer model than the old, for free, that week. And told me to throw the old one out. Years later it’s working great.

Who cares if the company went bankrupt? Yes private equity seems to suck but guess what, you can still buy a cheap great Instant Pot.

Then he has the nerve to complain about capitalism, the reason we have this stuff. Does the author think in the Soviet Union it was easy to get a microwave? Does the author think communist citizens lucky enough to own microwaves had all the features they could want, and could be one tenth as picky as he is?

Please tell me in what system other than capitalism you get to publish your nitpicky complaints about your abundant selection of consumer electronics to the world at the click of a button, on your computer or phone or tablet, that you own and hook up to your broadband internet which is readily available to your heated and cooled home, in one of the most prosperous countries on earth, so you can sneer at capitalism, which literally is the reason you have all this.

What a bizarre post.

In summary, not every microwave sucks, and instant pot isn’t dead.
Pinterest Alternative for Artists
I got an Instant Pot because so many people I personally know swore by it, and in the end I just don't get it. Maybe I know too many people who live the bachelor/college dorm lifestyle. It does everything pots do, but it's big and heavy and cleanup is a colossal pain.
why is it that somehow, the CEO is expected to be an expert in everything that the company outputs?
When entering the roundabout, there are two lanes with two different rules.

The right lane is only permitted to turn right or continue straight. So the pink car is not supposed to continue counter-clockwise.

The left lane is only permitted to go straight or turn left. Thus it won't run into the cars on the right lane.

A collision could occur if people don't follow the rules, much like everything else when it comes to driving a car.
> A conforming C++ compiler is forbidden from telling you in some† unknown number of cases that it suspects what you've written is nonsense, it just has to press on and output... something.

It's not quite that bad - a conforming C++ compiler is permitted to error out and not compile the program. It just doesn't have to.
To everyone saying GCP will be gone - it generates over $8 billion in revenue per year and $400 million in profit. There's no chance they kill it any time soon.

Yes it posted heavy losses in the past, but any major infrastructure does, and obviously there is a major amount of potential - and they have around 10% of the total cloud market share, not insignificant by any means.
I tend to agree with you, but your aside about it being Saas-centric is really important.

One need only open Microsoft Teams to see the “billing time” costs. If the billing time cost is not paid by the developers or their company, then it stop being a cost to them and it becomes an unpriced externality. Who cares, who even knows, that this app we’re writing runs slowly on regular people’s old hardware.
>Why would use of a credential manager change this?

Change what?

>If its leaking something out of memory it should effect all memory within the Safari process space?

AFAIU, Safari generally puts different origins and extensions in different address spaces, so it's not vulnerable to speculative execution attacks. This attack found a way to make 2 different origins share the same address space. I'm assuming the attack doesn't apply to extensions. From the paper:

>We begin by abusing Safari’s site isolation policy, demonstrating a new technique that allows the attacker page to share the address space with arbitrary victim pages, simply by opening them using the JavaScript window.open API.
Marking code unsafe lets you write memory-safe code that the borrow checker can't verify. That increases the risk of bugs but it is not the same as disabling memory safety. It is a subtle distinction.
I can recall using Window Maker on my college laptop in 2003, and it was clean and functional. Sadly, the Dock App ecosystem didn't age well.

The media control stuff tends to be like 5 audio APIs out of date, and much of it is very tightly coupled to 64x64 images, so they don't work great on a modern high-DPI screen.

It's a great concept-- a little bigger than the tiny 16x16 "tray icons" allows some room to provide more context without having to mouse-over them-- but it cries out for apps made in the 2010s and 2020s.

I tried swapping from FVWM over recently, and had some issues where the Steam window wasn't movable, which sort of stopped the experiment.
Building React-like components for Ruby
For a long time, the Rails community has rejected the React and it's ideologies. However, one thing I have always been left wanting, was a solid component library like TailwindUI or ShadCN/UI

Finally I've started building it. If I get 10 sales, I'll build it out.

Check it out https://www.phlexui.com
> just that they were following the overwhelming majority of mainstream languages at the time.

They were trying to do better than mainstream languages in other areas and succeeded. IIRC on this front they just decided Ruby's bundler was the bee's knees.
a human built language model machine intended to recreate human expressions and interpretations is easily confounded by intentional human subterfuge until some other human builds in a lie detector
iirc ooba has its own integrated vectordb called superbooga.

I bet you could hack this in.
You really don't need to tell people not to do the things that they enjoy doing. Most people aren't idiots: they know what works for them.

When I met my wife she would consistently drink a pot of coffee around 8PM and fall asleep an hour later. Different people are wired differently.
You need an async runtime to run async code yes, and Rust's isn't built in. Why does that matter though? Rust has a decent package manager; add the dependency and move on.
The kind of review you're looking for is what Consumer Reports is, (or at least used to be, as I'm not sure of the current state of things,) famous for.

Because it's a paid subscription, and all of the items they review are actually purchased from retail suppliers who have no knowledge that Consumer Reports is the buyer, they can take their time and do very thorough comparisons incorporating tests of real world usability and reliability that are difficult to tabulate and instead have to reviewed like a movie or a book. But I don't know, it's likely the consumer reports type of shopper is such a minor fraction of the market that isn't worth optimizing for them any more.
The various replies in this thread witness that there is a purely irrational response to Elon's "harsh but mildly conservative" leanings that people can't seem to be mature enough to acknowledge that he has ramped up several major international corporations in a wildly entrepreneurial manner, yet these fools are focused on "yes well technically he had subsidies and a ruby mine" as if there's some cheat code he used that no one else like Boeing or Ford had access to.
I guess it makes sense.
Nix seems great for terminal-based development environments where starting a nix-shell sets up all the proper symlinks, env vars, etc. But how does this translate to IDEs like VSCode or IntelliJ?
Like if you clone a repo with a shell.nix file, how does the IDE know to use that environment when you, say, use the File > Debug command, instead of executing whatever toolchain that happens to be on your path? Are there plugins available that enable this?
I realize you could just open a terminal within the IDE, start a nix shell, and run the equivalent run/debug/etc commands, but I am curious if anything exists to make the experience seamless to the user.
Didn't Pyrex move to some cheaper glass formula? I don't use cast iron, but I heard that Lodge quality has declined a lot in recent years?

Patagonia also isn't particularly high quality (I own dozens of their clothes because I like their environmental activism, but many fray out of the bag, fit poorly, have crappy zippers, etc.). Arcteryx and European brands often make much higher quality clothing. Patagonia's on par with REI store brand clothing, IMO. But at least now they're wholly owned by a nonprofit!

I'm not sure any company can avoid this fate long term if they need to keep growing.

And these days, with everything from electronics to materials science to coatings to additives all changing so fast, maybe fast and cheap and easily replaceable is just what the market bears, for consumer and manufacturer alike?
Write it in a notebook (paper) with a pen. Using a notebook, I write as usual from the beginning, but I insert TODOs/tasks starting from the back (end) of the notebook and backward. I usually draw a square as a checkbox for the items.

Every page or section (in a page) has checkboxes for the notes or a way to tick it off as done. I keep checking them off when I’m done reviewing them or if they are transferred digitally or “consumed” with meaning and context. Sometimes, a page lingers longer (working on it), and I need to return to it a few times; I use commonly available tiny stickies that stick a tad out of the page.

So, my finished notebook will not just have notes and sketches but will always have a tick (done mark) at the top of the pages and no stickies sticking out.

I’ve also found that if I need to remember anything in the next minutes or hours, I set a timer[1] on my watch. Instead of taxing my brain to remember something, it is easier to jolt back when the timer kicks in.

1. https://brajeshwar.com/2023/timer/
I think that had more to do with weight. As far as I can tell, there weren't any good options to transport heavy goods over land before trains. A barge on a canal will transport a lot more weight than carts and wagons pulled by animals will.
Can't tell if you're being sarcastic, however it doesn't translate well in online discussions. So I'll take your comment at face value and provide you with what I hope to be an illuminating thought exercise.

According to Dang there are (or were) 13,000 comments a day [1], if we assume "most" to be ~6501 with an average comment length of 65 words, that's 422,565 or ~211,000 words per day from our two gracious moderators. Assuming the standard working hours of nine to five, that would equate to 26,375 words per hour or 439 words per minute, coincidentally breaking many records.

1: https://news.ycombinator.com/item?id=33454140

(yes, I realise this comment is slightly OTT, but I was interested to see what the raw numbers would be)
Shellcheck does cover that. I think the bigger problem is people programming without warnings (in any language).

edit: Although I can see that if they hadn't made string splitting the default, it would have saved a lot of headaches.
"Do not open robots," warns Oregon State amid college food delivery bomb prank
Exactly.

That's why every-time I use one of these systems I feel like I'm talking to a politician.
For those who don’t want to pay, many libraries allow free digital access to Consumer Reports.
Just a heads up, the video playback was 2x by default so I couldn’t understand anything until I looked at the settings. I don’t think it’s a previous setting from me because I’ve never used loom before.
can you not power-off an iphone without unlocking?
At least with Starship we have seen the booster land so there is the existence proof. It just needs to not catch fire afterwards :-)
I know, great in theory but i havent seen one where it was configured. You can also configure a phone number to call. No one apparently does that.

The solution needs to not require any configuration.

You can call your own phone of course but then i have to keep it charged. If it dies the sim locks.
Just some random Cargo security-related issues I noticed:

- No strong link between the repo and the published code.

- Many crates were spammed that were just a wrapper around a popular C/C++ library. There's no indication of this, so... "surprise!"... your compiled app is now more unsafe C/C++ code than Rust.

- Extensive name squatting, to the point that virtual no library uses the obvious name, because someone else got to it first. The aformentioned C/C++ libraries were easy to spit out, so they often grabbed the name before a Rust rewrite could be completed and published. So you now go to Cargo to find a Rust library for 'X' and you instead have to use 'X-rs' because... ha-ha, it's actually a C/C++ package manager with some Rust crates in there also.

- Transitive dependencies aren't shown in the web page.

- No enforcement or indication of safe/unsafe libs, nostd, etc...

- No requirement for MFA, which was a successful attack vector on multiple package managers in the past.

DISCLAIMER: Some of the above may have been resolved since I last looked. Other package managers also do these things (but that's not a good thing).

In my opinion, any package manager that just lets any random person upload "whatever" is outright dangerous and useless to the larger ecosystem of developers in a hurry who don't have the time to vet every single transitive dependency every month.

Package managers need to grow up and start requiring a direct reference to a specific Git commit -- that they store themselves -- and compile from scratch with an instrumented compiler that spits out metadata such as "connects to the Internet, did you know?" or "is actually 99% C++ code, by the way".
I wish I knew this existed when I was in the market for a new microwave oven. It's perfect!
Whoa. You believe that soil and aquifer issues will lead to society's destruction in a matter of decades? What evidence supports that belief?
No, we all just migrated the decision of using GAE to using Cloud Functions / Run / Tasks, which is fine. Those are easier for Google to scale over time, than AppEngine.

The problem with AppEngine was that they had to heavily modify the runtimes for isolation... the JVM needed to be secured and that meant maintaining a separate fork, which also meant being perpetually always behind in versions. It also meant any upgrade had to go through a huge security evaluation.

So, moving to another process model, containers, worked much better.
> I understand you're trying to frame the question like that

You don't seem to understand me at all. elteto listed a few things, which can be agreed with, and yet which aren't enough to explain cryptoegorophy's question "Why people hate him". I'm reminding that there's another side of things - people in this discussion generally quite aware of that, and only some focus on a one-sided picture. You don't need to repeat that the question is flawed - you just have to correctly understand the question. That is, it's a reminder of another side, which is necessary for cryptoegorophy's question. It's true that it's a complex question, but you don't understand me if you think I don't leave the room for nuance. Or, in other words, you can just dislike a man - but to explain why people in general have a correlated opinion, you have to look at the whole perspective.
If you love Swift and want to use it for server workloads but find Rust too involved/verbose, try C# which shares many features and newer code often looks very similar to what you would see written with Swift in cleaner/simpler part of codebases.
Well, they’re certainly not stopping yet, so we’ll see how high the death toll gets. The rate doesn’t seem like it’s going to drop anytime soon.
It's not unheard of, although a bit unusual for web developers. Of the three you hired, it's arguable that only the React developer "should" know how to deploy a web app. A Python developer can happily avoid web development with no material impact to their employability.

I didn't know the end-to-end process of deploying a dynamic web application[^1] until somewhat recently (5+ years into a software career). For much of my career a different team handled the site deployment, which only ran on the company intranet[^2].

That said, I only learned the FULL end-to-end process in the last few months, when I finally began building my own web application, entirely on my own, from the ground up.

The process wasn't hard to learn. The basic fundamentals have not changed, it's just there is a lot more noise and abstractions. AWS, GCP, Vercel, DigitalOcean, whatever - the myriad of services they offer are all examples of that noise.

Don't get me wrong, cloud providers solve real business problems and make developers lives easier in a lot of ways. But they are not in the business of making it easy for you to roll your own web application without them. They still want your money and that sweet, sweet vendor-lock.

Anyway, I kinda like DigitalOcean because the abstraction layer is relatively transparent and their documentation is very, very good. They also have a limited set of features, which sounds like a con but is in fact a pro. Fewer features = less "noise". For a simple web app, one may only need 3-5 of AWS's hundreds of services.

If your web-dev company is very small, you don't need a dedicated DevOps expert[^3]. It's easy enough for a decent software engineer to learn. It sounds like you just hired three of them.

[^1]: I knew how to deploy sites with HTML, CSS, and Javascript only.

[^2]: Should I have learned how to deploy dynamic apps to the world wide web sooner? Sure, but there were a lot of things to learn early in my career.

[^3]: This is assuming a standard web-dev shop, making a web service running online.
I knew this was coming, all Americans are the global 1% right? Did I even say anything about America? Regardless...

Get a napkin and sanity check yourself. 1% of 8 billion people is 80 million. There are 330 million people in America. If all of the global 1% are in America and not also in Europe and Asia, which is obvious bullshit, then only 24% of Americans are in that 1% and the remaining 76% are in the lower 99%.

And do you really think only Americans eat meat and wear cheap clothing? Get real.
Yes, like most public hotspot in cafes, schools, libraries, etc where the password is readily shared.
Up to the survivability requirements of the west, it may not be.
Mildly? <insert Jennifer Lawrence okay sure gif here>
This is structurally a reminder they are bound to meet the rules, which are government rules not the ones they want to believe apply, the ones a government can force on them and shut them down, for not meeting.

But, wrapped up in nicer language.

SpaceX must obtain a modified license from the FAA before it is authorized to conduct a second Starship/Super Heavy launch. The modification must address all safety, environmental, and other regulatory requirements. As part of that license application determination process, the FAA will review new environmental information, including changes related to the launch pad, as well as other proposed vehicle and flight modifications.

https://www.faa.gov/sites/faa.gov/files/2022-06/PEA_for_Spac...

Noting:

The VLA is approximately 2.2 miles north of the U.S./Mexico border and the LLCC is approximately 1.3 miles north of the U.S./Mexico border. ... SpaceX would coordinate with the Secretariat of Communications and Transportation–Mexico if any airspace, land, or water access restrictions in Mexico were required.

Ie, they have obligations to other economies, significant economies which the US government does not want to piss off.
>wifi network mirroring is smart

Yep, so smart that I used to name my WiFi “McDonald’s Free WiFi” when I lived half a block from McDonald’s. Everyone’s phones would connect but to my goatse’d image network.

I thought devices would start remembering the base station MAC addresses to avoid hijacking but I guess not.. maybe I should start doing this again at my local Home Depot

Edit: just remembered I used to do this on planes too. I would MiTM the AP and people would connect to my WiFi device. Then I would serve an obvious incorrect Bank of America page. No one logged in to it though :(
If you're used to e.g. OCaml, and the problem you're solving does not require avoiding GC, then Rust is a more cumbersome language for no real benefit.

If you've never used an ML family language then Rust might still be a breath of fresh air even if you don't care about memory management.