skysight-inc/HackerNews huggingface dataset:
To be more specific, Rust does have among other things:

std::ptr::null() - an actual null pointer, probably the zero address on your hardware, and this isn't even an unsafe function. On the other hand, you won't find many uses for a null pointer so, I mean, congrats on obtaining one and good luck with that.

std::ptr::null_mut() - a mutable null pointer, similarly unlikely to be of any use to you in safe Rust, but also not an unsafe thing to ask for.

But, these are pointers, so they're not values that say, a String could take, or a Vec<String> or whatever, only actual raw pointers can be null.
That’s very cool. Love the IKEA parking lot move. Bet you helped a lot of folks that way.
Not the GP, but I've been working on an open platform [0] for integrating OpenAI APIs with other tools (VSCode, JupyterLab, bash, chrome, etc) that you might find interesting, the VSCode integration supports editing specific files / sections etc.

Also worth taking a look at Github Copilot Chat[1], it's a bit limited but in certain cases it works well for editing specific parts of files.

[0] https://github.com/lightrail-ai/lightrail

[1] https://marketplace.visualstudio.com/items?itemName=GitHub.c...
Not built in, you have to use the API and then build functions for it to invoke which would fetch the files. It’s called function calling (https://openai.com/blog/function-calling-and-other-api-updat...) but it’s not as easy as you might expect.
> Are there plugins available that enable this?

Try https://github.com/direnv/direnv-vscode or https://github.com/fehnomenal/intellij-direnv
I find it very shallow. Sometimes I wonder if the person presenting it actually has deep knowledge or is just reading bullet point articles.
A good friend just migrated off of GCS to R2. Hard to compete with what is essentially free.
I moved to a new place around 8 years ago. In my kitchen, I have all the usual kitchen essentials, and perhaps even some less common items, such as a Cappuccino machine.

But I don't have a microwave and never consider buying one. I used to live without it. When I order fast food, couriers usually deliver a warm meal to me. When I buy prepared food at a local grocery store, I always ask the salesperson to reheat it right in their microwave at the store. When I cook food at home, it will be hot. If I leave something in the fridge, it's not a big deal for me to eat it chilled later. Chilled food does not lose its nutritional value anyway.

The reason I decided to live without a microwave is that I can't find a device without any built-in smart-scheduling functions; instead, I want one that would offer me complete manual control.

What I really need is a device with three simple features:

1. A manual knob to control the microwave power generator output.

2. A manual shut-off timer knob.

3. A manual grill spiral knob.
Lol, ok man, sounds like you're real good at making rational choices. I'm sure there's exactly
zero chance AWS or Azure will ever have any problems.
Agreed, the reason I really like GraphQL is you can map different parts of your schema "tree" to different backend systems, APIs, etc. This makes your API plane/BFF nicely decoupled from those details like DB tables, etc.
Yes, most Nix users employ https://direnv.net or the equivalent for your IDE of choice. Emacs for instance has https://github.com/purcell/envrc which set per-buffer variables.

More background in https://github.com/direnv/direnv/wiki/Nix.
My experience of roundabouts includes single lanes ones in sleepy residential neighbours all the way up to the infamous https://en.wikipedia.org/wiki/Magic_Roundabout_(Hemel_Hempst....

I'd argue that 1 lane roundabouts are far from decorative in residential neighbourhoods and are safer and allow for a better flow of traffic.

I'm slightly confused by your description, but it sounds like traffic lights for the pedestrian crossings would be a better option (which is often the case with the bigger roundabouts in the UK). Are the roundabouts you referring to like this one https://maps.app.goo.gl/xfxzDWTx4a7WPasUA or smaller?
You can't fine tune without using their library tied to their cloud? Did I misunderstand? Do you need fine tune?
Can you give an example of non-C++ code that a modern compiler (MSVC, clang, g++ or something) successfully compiles with no diagnostics? I’m genuinely curious. If not, this just sounds like more C++ FUD because the spec doesn’t define everything under the sun and allows a certain amount of leeway to compilers for things like emitting different error diagnostics.
OpenAI have a brief explainer with a bunch of example use cases here:

https://platform.openai.com/docs/guides/embeddings/what-are-...
Yes that’s also how I understood it. Maybe it was ambiguously expressed, but I mean “8k tokens as input is a lot of information to encode”
> but inline assembly in C relies on vendor-specific extensions.

Whereas Rust is a standard with multiple implementations?
I tried for a long time for chatgpt to help me write a simple function that generated a random array and then summed along the columns. Could not do it.

Pasting in an error message, made chatgpt spit out another version of the code with some other error.
And browser extensions are better? I find so many people install browser extensions, not caring about the permissions, or even know if they're doing it, lol... way way more than they should. At least a company like Adobe that is well known, and would somewhat care about privacy/being hacked/etc, would be in the public eye.

The real argument Steve Jobs should've forced was make it work for mobile.

But that wasn't what he wanted - Flash was "free content/games", so he attacked it on one front, but won two. Sadly, Adobe didn't quite listen to the public, and he was charismatic and forceful, and won.

Since Flash has been banished, so many artists and developers have wanted something that fit that middle ground as much as Flash did. Me too :D
After learning that his experiment had gone awry, Morris asked a friend to anonymously relay an apology and instructions for removing the worm to internet users

I'm like 80% sure this friend was Paul Graham.
A bit dishonest from him, right? Given his background, he should know better and probably did.
The debt likely wasn’t a normal bank, and the interest rate was likely quite high. The parties making the loan were likely fully aware of the risk and thought the interest rate appropriate compensation.
John Gottman has awesome advice for couples based on research. Read one of his books, it could save your marriage.

Throwing away my marriage is the worst decision I ever made. Never give up.
In other words, helium will always be in limited supply.
California slams San Francisco for 'egregious' barriers to housing construction
Wait, you just said in a separate comment that you migrated away from App Engine.

You also just said that you used it very effectively back when it was a different thing.

I think we agree in many more ways than we disagree.

Source: https://news.ycombinator.com/item?id=38020604
Or ... we could visit other sites so they have more traffic and they then gain better band width ... etc
future histories may read "the first efforts for robot autonomy were not recognized as such, but mistaken for pranks played by humans"

These things have phones onboard, right? "the call came from inside the robot!"
Nope - as everyone who has looked for a buried avalanche beacon knows. As a matter of fact, depending on the number of burials and the searchers, your optimal search technique may be different.
On a side note, so chevy is discontinuing the Bolt, despite its success?
> - How he has (mis?)managed Twitter so far.

I get a kick out of Elon/Twitter schadenfreude as much as the next person, but I also have to consider that maybe the "growth at all costs" Wall Street mentality has permeated our society and psyches so thoroughly that it triggers a strong kneejerk reaction to anyone going against that grain. Here is a leader who is finally saying, to hell with the investors and the board and kowtowing to the advertisers, I will make the changes I feel are right, and we are rejecting it because it's "mismanagement." Where mismanagement is defined as not playing along with the public market incentives.

I'm sure it's a swing too far in the apologist direction, but you gotta wonder...
> The group [Pichai, Page, and Porat] even talked about—and eventually dismissed—the idea of leaving the market entirely, this person said. [1]

That they’ve actually discussed shutting it down in the recent past lends plausibility to this risk. In 2019, they set 2023 as a deadline for moving into the #2 spot ahead of Azure. Obviously, they’ve not gotten anywhere near that.

[1] https://www.theinformation.com/articles/google-brass-set-202...
>why is it that somehow, the CEO is expected to be an expert in everything that the company outputs?

Who's expecting the CEO to be an expert?
> I am a massive proponent of test-driven development. I got used to testing in languages like Java and JavaScript. I started writing tests in Rust as I would in any other language but found that I was writing tests couldn’t fail. Once you get to the point where your tests can run – that is, where your Rust code compiles – Rust has accounted for so many errors that many common test cases become irrelevant.

I wonder what kind of tests the author was writing? The test cases I write for my code is for weird edge cases I detect during testing, like parameter over or underflows, correctness of parsing functions, etc. Things that do fail. I don't get why you'd write tests for trivial things that can't fail.
A Time-Jumping, Multiverse-Killing, Consciousness-Spawning Theory of Reality
> but it seemed to me that the complaint was about using BoringSSL at all.

From the article: "but it raises the bigger question of why are we compiling BoringSSL in the first place?" (emphasis mine). I think the "compiled" part of that is doing the heavy lifting.

> On Rust-land, I've noticed that some libraries like to have a fallback or compile time config flag to use the vendored version, but still provide a way of using the system's version.

This is probably a good middle ground, but it might be more harmful than helpful than if it instead just linked to direction for how to install it yourself (at the simplest level it's almost always ./configure; make; make install), because then at least it's obvious what happened and what libs are being used and you can find them (in /usr/local or wherever).

> I appreciate when both options are available because I've encountered some C libs that were very difficult to set-up on first run and the vendored version usually works out of the box.

Anything that the install process can automate should be easy enough to provide directions and maybe some simple helper scripts for. If it's too complicated for someone to do, how is it able to be done in an automated fashion by a dependent in a way that seems to work for most people? (and if it doesn't work for most people, why even offer it)
I'm sorry you're having a bad experience. I've found changing a couple habits developed in other languages helped me to have a good experience with Rust's diagnostics.

1. Reading the error messages. I was used to error messages verbosely printing a lot of details which were mostly irrelevant and letting the programmer sort it out, and I developed a habit of skimming them. I had a better time with Rust when I realized it was giving me information that was mostly relevant, and that I should actually read them.

2. Interpreting error messages as feedback rather than failure. I was used to error messages meaning I had done something wrong, and getting them all the time was frustrating. Watching Jon Gjengset's coding videos, I was struck that he wrote code to trigger errors deliberately in order to get feedback from the compiler. I now try to work through Rust error messages the same way I would failing unit tests; I make some small changes, I knock out the errors, and then move on to the next subtask. This keeps the number of errors small and manageable, and gets me into a tight feedback loop with the compiler.

Relatedly, I encountered the idea (in a blog post I no longer remember) that the Rust compiler is more like an automated pair programming partner than other compilers. This change in mindset really helped for me; thinking of it as a friendly helper rather than a loud complainer made the work lighter. (That's why I personally don't like the 'abusive partner' metaphor, for me that mindset makes it toilsome and miserable. Also because I've had an abusive partner, and it's nothing like that, and I could do without the reminder.)

3. Setting up my IDE to show me inline type annotations and error messages. This made the feedback loop tighter, I only have to drop into a terminal for complex or unfamiliar error messages. With practice I can fix most errors using a one-line summary.

4. With practice, I've internalized Rust's semantics, and I've stopped painting myself into corners with unnecessarily cyclic data structures and such. I also read a blog article or maybe a tweet (which I've also forgotten) about giving yourself permission to use Box or clone and not sweating every copy or allocation. It pointed out that if you were writing Python, everything would be an Arc<T>, and you'd think nothing of it; in Rust the performance cost is explicit, so you agonize over it, but a lot of the time it's not a big deal to copy some data or to perform an allocation.
I just shipped a new llm-embed-jina plugin for my LLM tool which provides access to these new Jina models: https://github.com/simonw/llm-embed-jina

Here's how to try it out.

First, install LLM. Use pip or pipx or brew:

brew install llm

Next install the new plugin:

llm install llm-embed-jina

You can confirm the new models are now available to LLM by running:

llm embed-models

You should see a list that includes "jina-embeddings-v2-small-en" and "jina-embeddings-v2-base-en"

To embed a string using the small model, run this:

llm embed -m jina-embeddings-v2-small-en -c 'Hello world'

That will output a JSON array of 512 floating point numbers (see my explainer here for what those are: https://simonwillison.net/2023/Oct/23/embeddings/#what-are-e...)

Embeddings are only really interesting if you store them and use them for comparisons.

Here's how to use the "llm embed-multi" command to create embeddings for the 30 most recent issues in my LLM GitHub repository:

curl 'https://api.github.com/repos/simonw/llm/issues?state=all&filter=all' \
| jq '[.[] | {id: .id, title: .title}]' \
| llm embed-multi -m jina-embeddings-v2-small-en jina-llm-issues - \
--store

This creates a collection called "jina-llm-issues" in a default SQLite database on your machine (the path to that can be found using "llm collections path").

To search for issues in that collection with titles most similar to the term "bug":

llm similar jina-llm-issues -c 'bug'

Or for issues most similar to another existing issue by ID:

llm similar jina-llm-issues 1922688957

Full documentation on what you can do with LLM and embeddings here: https://llm.datasette.io/en/stable/embeddings/index.html

Alternative recipe - this creates embeddings for every single README.md in the current directory and its subdirectories. Run this somewhere with a node_modules folder and you should get a whole lot of interesting stuff:

llm embed-multi jina-readmes \
-m jina-embeddings-v2-small-en \
--files . '**/README.md' --store

Then search them like this:

llm similar jina-readmes -c 'backup tools'
Spoctest- automated unit test generation for JavaScript
Introducing Spoc Test, your game-changing solution for JavaScript unit tests. Say goodbye to manual testing headaches and hello to effortless automation. With Spoc Test, accurate and efficient unit tests are just a click away. Elevate your coding experience - test smarter with Spoc Test!
Unfortunately, those are usually the kinds of tests people write. Rust just makes the uselessness more obvious.
Agreed. And there's going to be some significant domain decisions for GPT-4 to consider: Will the made up words be existing single tokens? Will those single tokens be heavily overloaded tokens, e.g. a letter of the alphabet? Will the representation of the circles be, say "B" for blue, or something else?

Along with this are questions as to whether you're going to treat GPT-4 as a zero shot or multi-shot oracle; while they have this idea of 'context free' challenges in the paper, they, crucially, train their network first.

Anyway, I like this paper less the more I think about it.
> I still like threads, but the I'm old and uncool.

Hey, I resemble that remark.

But I disagree with it. Green threads give you all the advantages of async, but with less of the hairs. In particular no special syntax or change of programming style is required. Yet underneath green threads and async just different styles of event driven I/O, so both run at similar speeds and excel at the same tasks. (Actually green threads should run faster, as storing state on a stack is generally faster than malloc.)

I have no idea why Rust abandoned green threads in favour of async. Actually, that's a partial lie - there have been far too many words wasted on explaining why. The problem is the reasons they give look to be an caused by design decisions they made in their implementation. The primary objection seems to be speed. The current async is indeed faster than their old green thread implementation. But that was caused by their choosing to avoid coloured code in their green threads (maybe they were copying Go?). Other objections were similarly to do with the implementation they threw away, not green threads themselves.
What are people's thoughts on DigitalOcean compared to AWS and/or GCP?
It depends what you define as a "test". It's like how for Covid vaccines, antivaxxers were claiming that vaccines were still being tested on people despite it getting past phase 1, 2 and 3. At what point do you consider something to be "safe enough".

My point is that Waymo has done plenty of testing already. The question is, where do you draw the line? Are cars ever "done" being tested? Just like with drugs, you never know all the side effects for 100%, you can only make the error bar smaller and smaller, but eventually you have to distribute it to the public.

Same with the car, at some point they will eventually have to drive on public road. By your logic, they would never reach that threshold since they're still "testing" it.
Polarization is characterized by people being driven to opposite extremes. That fact that you explain it exclusively in reference to just one of the extremes tells me you occupy the other.
I can think of two explanations:

1. you did not specify that you wanted developers with DevOp experience.

2. it is possible that the developers you hired had previously worked in much larger companies where infrastructure staff handled the deployment aspect.

As a general rule, deployment depends on numerous factors, is it SaaS, in-house, cloud, hybrid? What technologies, what volumes, etc, etc? Except for trivial setups AWS and GCP require considerable expertise.

If you don't want to hire a fourth person, you could specify your requirements for deployment and have one of your team train as a DevOp.
And I'm sure that after somebody spends another billion dollars or two on goofy-ass goggles, the rest of the world will catch on. This time for sure!
US Fish and Wildlife has veto power over SpaceX Starship launches
For what its worth, Youtube ad blocking seems to be working in Cromite.

The ad tries to load... but fails and hangs, then the video just plays.
Are there any plans to support Svelte in the near future?
This used to be a feature in Opera a decade ago IIRC.
Half the time, the shorts end and there isnt a great way to just continue the clip.
I doubt you were experiencing bad support with aws. You’re just bias.
I thought devices would start remembering the base station MAC addresses to avoid hijacking

The use of multiple APs with the same SSID is a feature, not a bug. It enables roaming between them.
Thank you so much for all the work you've put into llm!
Does it match OpenAI on number of params?
it was the outer skin catching fire

This claim is always trotted out, but is false. The kerosene fuel produced the visible flames, while the hydrogen burned mostly invisibly. The skin mostly survived. Another common and false claim was that a bomb started it. No, it was the leaking hydrogen that ignited.

This doesn't mean a modern, unmanned airship shouldn't use hydrogen for lift. Adequate ventilation prevents ignition of leaks, and modern sensors can detect leaks. Harvesting humidity to replenish losses, using solar panels all over the top of it, is a reasonable design choice.
> These people are insane: https://youtu.be/vZgiWYY9euM (just look at the intro and you'll see both why they're completely insane and the narrow tunnel)

That is definitely a cry for help/involuntary psychiatric hold.
"it was not 100% authentic and honest. So what?"
i.e.: it was a lie. Which some people think isn't great behaviour. Clearly, you disagree but I think it's reasonably normal for people to have issues with lying
I also prefer to put my Mac apps in ~/Applications (I thought I was the only one!). I was resistant with Nix defaults for this reason when I set up my newest Mac, but I still wanted all of the other benefits of Nix. Ultimately what persuaded me was that it was basically so trivial to remove Nix and anything it installs… that I actually did remove everything, multiple times, whenever I ran into bumps getting my Nix setup going in the right direction. I got to take the Nix happy path to avoid self-inflicted pain, with the reassurance that it’s far less intrusive than anything else I’ve accepted that installs system-wide.
I wasted much time trying to make Next.js work, both the new and old version. Way too much complexity and issues, not to mention build/reload took > 10 secs. Switched to Vite with vite-plugin-react-pages and things are back to simple. refresh/reload is a sec or less like it should be.
yeah totally. i've been a secret underground reddit employee posting on hacker news for years just laying in wait for the perfect opportunity to shill for reddit on a random jellyfin thread that will disappear within a few hours on a random weekday. unfortunately for me you showed up just in time to foil my plan.
Depends on what you’re trying to optimize for. Flexibility? Sure. Energy utilization, congestion, or GHG emissions? Probably not.
> At the time the FAA however was very clear: No launch license until Fish & Wildlife gave its environmental approval as well. Never before had this environmental agency had veto power over launches, but under the Biden administration it now has it.

Why does Fish and Wildlife have the power to block starship launches?

Since when does a bloated government bureaucracy of the Dept of the Interior get to throw their weight around a sandy island that's literally on the border with another country, and block, literally, interplanetary travel for EIGHT months?