skysight-inc/HackerNews huggingface dataset:
> while this (incorrect) use of "e.g." is a hill I will die on, even so, I struggle to explain why it's just plain wrong.

Are there many such things you would die for without even knowing why? :)

"Exempli gratia" translates quite literally to "for the sake of example". I see no grammatical reasons why you shouldn't use it as the GP used it.

Are you sure you are not mistaking e.g. with i.e.? The latter stands for "id est" and means "that is", but the two are often confounded, and it's not unusual to find i.e. used to introduce an example. If the GP had used i.e., that would be a hill to die on.
With the syntax being a selling point, I think having a comparison between jq, yq, and dasel would be really useful. Luke a few examples how to accomplish X in each one of them, so we can judge for ourselves which syntax is preferable.
I gave up on Android side projects, however during the time I still cared, I always had the impression the Android team must use gamming rigs maxed up for their development, our desktops never seem to be good enough, and the irony is that I can confortably do plain Java development on my oldie 2009 dual core laptop with 16 GB.
Funny, my Chevrolet has most of the same issues and it drives me mad. The most infuriating one is where the infotainment comes on but is unresponsive to all input. You're stuck if you left the radio too loud or on a station you don't like.

One difference is it's also not mechanically too sound, to boot. The rear end needed a complete rebuild at 9k miles. Yes, nine thousand.
Thanks for writing so many blogs. The adc talk was also great. Have you considered doing some demos with wasm on the web? Also, have you considered porting these packages to rust?
Take this with a grain of salt because I haven't done it myself, but I would treat this the same as testing anything that uses some element of random.

If you're writing a random number generator, that generates numbers between 0 and 100. How would you test it? Throw your hands up in the air and say nope, can't test it, it's not deterministic! Or maybe you can just run it 1000 times and make sure all the numbers are indeed between 0 and 100. Maybe count up the number frequencies and verify its uniform. There's lots of things you can check for.

So do the same with your LLMs. Test it on your specific use-cases. Do some basic smoke tests. Are you asking it yes or no questions? Is it responding with yes or no? Try some of your prompts on it, get a feel for what it outputs, write some regexes to verify the outputs stay sane when there's a model upgrade.

For "quality" I don't think there's a substitute than humans. Just try it. If the outputs feel good, add your unit tests. If you want to get scientific, do blind tests with different models and have humans rate them.
And being Chinese EV it means tariff, 25% today i think and planned 100% end of the year or something. So, cost control on sensors while tariffs rise the total cost.
First, join a good community! If you're on Discord, TAP is great: https://discord.gg/aBghGGcfYs - it's beginner-friendly while also having some heavy-hitters in there, and it's generally wholesome. You're not the only hobbyist learner, and it's important to have a place you can ask questions without feeling awkward.

If you swap language/environment later, you'll carry your understanding/intuition with you, so you don't have to start with C++ if that's not your bag (even though it's still the industry standard). There are audio-specific languages with JIT runtimes (which can be used in Logic/Reaper/GarageBand/etc.), Rust/JS frameworks, etc. so find the one that feels good to tinker with, and keep that momentum/motivation going. :)
When there's enough of these things, does that mean Google can launch realtime street view?
My wife’s a graphic designer and now creative director. She uses Dall-E for all sorts of stuff. Our wedding, interior design, logo for our other company, fixing up our photographs. Her work as an illustrator has been on the front of the NYSE, and on Muni buses, and up here in our home.

So, sure, there are lots of people who hate diffusion models but there are lots of people who enjoy working with them too. Online spaces attract the hate, but I have to say that the tools are good!
I don't think this analogy works, the space laser is instant and does not spread to non-targets.
Smoking does reduce the average life span, but not to zero. In the remaining time, healthcare costs are increased on top of anything expensive they'd develop naturally.
Smoking also causes serious diseases in non-smokers and kills 1.3 million non-smokers per year. https://www.who.int/news-room/fact-sheets/detail/tobacco
> compared to the way most of them were comfortable programming on their own by trial-and-error hacking away at a problem.

This is only a viable strategy insofar as the tool which lets them hack away is itself correct. You need computer scientists producing these tools.
These comments are one of the big reasons I love the HN community. Respect!
Countries outside of the US exist, some of them with extremely low incomes that nevertheless hold segments of the population that are technically competent enough to not only understand what Docker is, but to use it on a regular basis.
You could say the same about Blender, Krita and a bunch of other open source programs.
That's what happen after an IPO, you have to please your shareholders

Price no longer match the reality, if you haven't already, look elsewhere, much better alternatives exist, much cheaper
You don’t find the stealing argument logically sound because you immediately frame the theft as “analyzing” to suit your own narrative and then demand people engage with it, while proceeding to make further spurious claims like…

> I would be more convinced if AI used a fixed database during generation

Wow, I didn’t know that model weights, an elaborately compressed form of their training data, rewrote themselves every time they were invoked. Or that it’s only theft if I stole data from a fixed database to build my own service.
You can set up a network connection over USB (intended for tethered operation).
"Uber developed a software tool called "Greyball" to avoid giving rides to known law enforcement officers in areas where its service was illegal such as in Portland, Oregon"

says Wikipedia about the time when Uber operated illegally.
More importantly you can get an electric shock, which typically means killed at 25 kV, without being even close to touching any metal. I believe something as far as 100 cms is considered a safe distance. In Europe youngsters get killed when climbing on parked freight trains. A significant part of railway traffic is electric over here, diesel is only for rural low traffic areas.

The article is not worth HN. Not even the manufacturer is mentioned.
By then we were already in Windows 95 and Windows NT territory, with OS/2 still waving on the side, and game developers being shown the door to WinG, DirectX's percusor.
If all you got is a LLM hammer, then every problem is a nail.
That's exactly what these companies are doing. They're trying a lot of different ideas, and seeing what sticks. The problem is that they're annoying users and causing distrust.
So when you arrange the visit with your friend two weeks in advance, you first think about sitting in the car, driving out of the garage, getting on the highway, turning on the radio, parking the car, ringing the bell and this other myriad of actions, and the actual talking with the friend is just one of the actions, with no prominence over the others?

I certainly don't think like that. My main goal is to visit a friend. The transportation is subordinate, it's only a mean to the goal, an implementation detail which I don't care about much. I might even take a train instead of driving the car, or even ride a bike, if I feel like it and the weather is nice on the day of the visit.

Now reflecting on this, I think such focus on the process (as opposed to focus on the goal), exact imperative order, not being able to alter the plan even if the change is meaningless in relation to the goal, is a sign of autism. But I don't believe most people think like that.
We've had good, free (non ai) media recommendation tools in the past and they got killed by licensing agreements.

AI is creating a post-scarcity content economy where quality is going to be the only driver of value.

If you are the rights holder of any premium human created media content you are not going to let a 'cheap' AI tool get access to recommend it out to people.
Not OP but i am interested in the same idea to document components. An alternative to storybook.
You simply can't even expect any useful photos in modern journalism, much less links to video.
One would’ve thought that after looking at modern day computers that being able to run a wire through two computers being able to transfer data quickly, reliably, easily would be a 101 feature these boxes offer.

It’s 2024 and it doesn’t really work!
could you provide some examples, code or repos and questions where it does a good job for you (question can also just be completion). Obviously you're having really good experiences with the tools that other aren't having. I'd definitely appreciate that over a lot of assurances taht I'm doing it wrong with my spaghetti code.
When Weizenbaum demonstrated Eliza to his colleagues, some thought there was an intelligent consciousness at the heart of it. Few even continued to believe this after they were shown the source code, which they were able to read and understand. Human consciousness is full of biases and the most advanced AI cannot reliably determine which of two floats is bigger or even solve really simple logic puzzles for little kids. But I can see how these things mesmerize true believers.
Fixed！ Thank you bro
Seriously, I respect the work that has gone into something like this, but I struggle to see any market for it. The world is not crying out for more new songs. Spotify has over 100,000 uploaded a day. Admittedly a proportion will be generated, but honestly, who really needs them?
To me the CGI dinosaurs in the original movie have still not been surpassed.
Ah yeah, hiring only harvard people for tech support is a "good" thing. Sure.
No, a unit test is a stand alone bit of code that sets up the environment, runs a bit of code (the unit under test) and checks if the code worker as expected. This does tend to use assertions.

The idea of using assertions, is to put the assertions inside the 'unit under test' so they are checked every time the code is run (sometimes with a way to disable for performance). Then you can run the code normally, and don't need to write a separate bit of code, that has to set up a proper environment (usually with a lot of 'mock' objects).

This style can probably test less, but still works well for 'design by contract'. You can confirm the caller stuck to any requirements of the input, and you can confirm the code stuck to any post-conditions on it's results.
I've haven't written JS in a long time – are engines like V8 smart enough to roll the filter and map into a single loop? Otherwise wouldn't a reduce be more efficient there?
Ask HN: Trustworthy Hardware Shop?
Hello dear HNers,

I am looking for a trustworthy hardware shop that sells equipment suitable for home automation. As of today I am interested in wifi-enabled or lan-enabled thermometers that allow capturing temperature data in a natural way (CSV, JSON, ...) and that do not have spyware, tunnels to the provider network and other IoT anti-features. I might be interested as well in network connected "relays" to power on/off heaters or AC units.

Is there a place where we can buy such hacker friendly devices?

Thank you!
Simply identifying them by IP so that each Google bot instance is a unique user ...
Raspberry Pi Pico? Particularly the new Pico 2. Wireless version not out yet though.
A better logo would be nice: https://www.imgtoprompts.com/_next/image?url=%2Fimage%2Ficon...
Since you are generating hundreds of terabytes of data every day, can we get some insight into what the data platform is being used here to handle such scale?
Thank you for pointing that,

It uses memGPT to store and retrieve long term student data so it always has previous useful info in the 200k tokens of active context. Before being stored in memgpt the data is sent to a deepCDM to extract strengths and weaknesses of the user. So it gains an edge in storage and retrieval of info over GPTs. Meaningfully better than RAG and faster too. Main competitors would include Canvas, moodle, etc. and USP is end to end integration of AI to speed up and assist teachers in day to day activities like publishing content, announcements, creating quizzes and so on. Let me know what you think, and I would be happy to tell you more.
I haven't done anything with Rust yet, but it's on my free-time wishlist.

I'm working on WASM demos! I've been playing with WASM builds of my plugins, and it's great for prototyping/sharing, but it could definitely be set up better for demos/teaching: https://signalsmith-audio.co.uk/tmp/web-audio/?url=/tmp/basi...
I know some that use it to generate samples for their production. I remember all the autotune drama, this seems similar.
Drone swarms could stop wildfires, researchers say
A lesson I learned at my first programming gig. I worked with a lot of really smart people, one might describe as 'rock stars' or 10x or whatever. The company was flush with government contracts and it showed.

Apparently one of the largest contracts wasn't renewed, and there was a couple rounds of back to back layoffs. Though none of them were affected, every single one was gone within a year. The only people that remained were those who couldn't get a job elsewhere, and those super comfortable who weren't necessarily bad but not setting the world on fire. The company was pretty much a zombie until it was bought out years later.
What a ridiculous claim.
It seems parent is more interested in riddling than informing. Their browser is likely https://en.m.wikipedia.org/wiki/Links_(web_browser)
> and it's clear we are close

I'd like to believe it more than you do. Unfortunately, in spite of these millions of dollars, the progress on LLMs has stalled.
>they want their panels to be accessible when they are outside their home

I call bullshit. They've been conditioned to think that they want it, because all product brochures have it.

What kind of tangible benefit could there be to know how bright the sun is at your home while you're not there? A cool party trick to virtue signal or a break between doomscrolling, I suppose, but it's not like you're gonna jump up and drive back to... what even could you do if you knew?
Hah, that will make tail-gating behind a Googler by just flashing my old badge so much harder.
Working on AI detection, a much requested feature from testers.
More appreciation should be given to flecs which is a brilliant main ECS written in pure C. It should be part of the title, esp since he ditched Rust Bevy, but sadly it has become uncool to mention C nowadays in the context of Rust.
No, they don't. What if the child were smaller, or lying on the ground?

The idea that any car has such visibility that you can see something small on the ground immediately in front of the rear bumper is just ridiculous. Of course your chances of seeing a child in a Miata are far, far better than in a 2024 pickup truck or mega-SUV, but nothing will give you the visibility of a camera with fisheye lens mounted on the rear bumper.
Exactly. It’s insanely helpful when u are a dev with experience in another language. You know what you want, you just don’t know the name of the functions, etc. so you put a comment

// reverse list

And it writes code in the proper language.
The power consumption/heat/fan eliminate it from a lot of commercial/embedded uses
>Find the most optimal spot to set your phone

That's the problem though. There is usually no good place for a phone. And the phone holders with suction cups are never that great IME.

But you're kind of right. If we had a phone holder in the middle of the dash we wouldn't need AndroidAuto, it's just mirroring the screen.
Show HN: Painless Data Extraction and Web Automation
Forget fragile XPath or DOM selectors. AI-powered AgentQL finds elements reliably, even as websites change
That's a good way to put it.-
Might want to update the Wiki article on Svelte, which strongly implies Rich worked at The Guardian, not NYT. The only source I could quickly find that seems to corroborate what you're saying is a LinkedIn page, but because of its bullshit paywall, there's context missing.
Since 2004:

- They sent 4 rovers to Mars, a freaking helicopter, and confirmed water presence.

- They launched 2 telescopes, with Webb forcing us to rethink our model of the universe.

- They made New Horizons do a flyby... of Pluto.

- And they collected samples from the near-Earth asteroid Bennu!

If that's not the demonstration of anything but drastically high competence to you, nothing is.

At this stage, I have to believe you are a troll.
After one year refactor, new CrossDB is born and open sourced. More features will be added.

Source Code
https://github.com/crossdb-org/CrossDB

Document
https://crossdb.org/
I’m working on getting a place with solar panels. I think that’s important for sustainability, plus who wants to have to be connected to the grid anyway?
I think this depends on the dev - some devs will contact immediately when there are issues, and others suffer in silence.

It comes down to devs who are good at communicating, and those who arent, and shows the importance of communication as a skill. I'd take a weaker dev who is good at communicating over one who suffers in silence everytime
> The companies making your phone, your OS, [...]

These expectations are very different in the desktop computer world. When I use a website or a program, neither the various people who made the components in my computer nor the people who made my OS learn anything at all.

So it's reasonable, at least on the surface, for some people to develop similar expectations on eg mobile devices.
I prefer async chat; less disruptive and less annoying. I discuss more and it is easier to discuss tech stuff that way. In person/speech is a time waster we find; it is just because people are to lazy to think first and write something comprehensive down, so instead they just rattle off their train of thought. After a while most prefer it (been doing this for 30 years); the only ones who don't are sales/marketing (I schedule meetings with them a few times per month) and busy-workers who made it through the interview; we fire them. They won't perform anyway.
Hexagonal Jewel Tunnel looks like a hyperdrive into space
You add an assertion in the indexOf method that checks the substring is indeed present at that index. Then you run your system tests where the indexOf function is called a bunch of times.

The unit tests might be better at testing more edge-cases. But they are a lot of cumbersome work (not in this example, but it is a rather toy example). Unit tests are also less self-documenting than using assertions. They say what the code should do far away from the code itself. An assertion is right there in the code, it says what should be true, and unlike comments, you will be told if they become false.
That's why workplaces have coffee machines and work policies include small breaks

If you wanna chat, it's fine with me, but you don't need to force everyone in the team to do it

I usually don't want to chat at work, write me an email if you need something and I'll reply as soon as possible
my two cents, that's a terrible article. Showing a long line on the surface of a sphere, spiraling toward a pole, says visually "this is clearly a pretty dumb direction to point your boat". There must be some benefit to navigate this way but the article buries that (if it gets to it) in some pretty advanced math, partial derivatives of trig equations. I doubt anybody will come away with an understanding of why rhumb lines are useful.
Sourcegraph search is amazing. I can point to any hash in our repo and search by regex/path regex. Results are instant and in json format. I hacked together a 'cs' script in bash using the sg cli client and some git calls, as I missed Google's cs command since leaving. Works perfectly, faster than ctags/any local indexer.
If you need video encoding why would you ever get a pi instead of the N100 though?
Pretty sure it's just anti-scots propaganda: "ooh, don't go up there, you'll get eaten by the natives" is a story as old as exploring.

Side note: Propaganda is what a Yorkshireman does if he sees an accident.
Yes, however, like with traditional forecasts, we weigh our balloon observations much higher.
At Silver Crown Building Contracting LLC, we take pride in being your go-to destination for all your construction needs in Dubai. Our unwavering commitment to excellence, quality craftsmanship, and client satisfaction has established us as a leading name in the construction industry.
It has been roaming spotted in the state.
I'm not sure you genuinely don't understand, the privacy promised was very clearly inteded to be from other users, not the service itself, or those who may be able to get unauthorized access to your/their devices and data. It was just phrased in an oh-so-typically misleading way by the service provider.

Yes, these groups might overlap, particularly the users and those with unauthorized access to the service provider's devices and data (as demonstrated in the article). But identifying this as a concern I don't think is much of a revelation. Like yeah, unauthorized access is a privacy concern, who woulda known.
What happened to sourcegraph is very sad. It was a great tool, and the kind of software you wish the apache foundation was managing.

I've been looking for alternatives - any recommendations?
*by the very same companies that made bank from the web openness.
Illinois bans corporal punishment in all schools
I mean, two bit politicians who say one thing to win votes then go and do another versus shit you can audit via code..

I'm not saying letting an AI run our governments etc, but..

yaknow.

It'd be a hybrid anyways, an extension of decision making. Not like Mayors and other officials aren't using chatgpt/AI and just not talking about it.
After reading about this and the methodologies many years ago I implemented many of the precepts into my practice at the time (visual programming using a variety of workflow tools) and it really helped to prevent sprawl that is common with drag and drop workflow interfaces. It helps to enforce that discipline of not straying too far away from the desired path and handling exceptions. If it strays too far to the right then you know you need to look at things again and refactor. Worth reading.
As far as I know, Alphabet has spent over $10B on Waymo so far.

That surely makes it one of the most expensive (in terms of development before reaching profitability) products of all time that were financed by the private sector?

I would love to see a list of the most expensive products the private sector developed in human history.
i tried to access my own website and it says internal server error. i also tried to access Youtube and it said the same.
You can go for tgif for socially gelling. We go to lunch together, often dinner en also drinks. No need for standups for any social contact. Especially when talking about work things.
I don't know if "theft because I'm not getting paid" describes artists' sentiment so much as "theft because someone else is making money on a tool that's 'using' my work/labor". Which I still think is an argument that requires opening a Pandora's box of IP law that should not be opened (because in the long run it won't benefit non-corporate artists anyway), but...
The U.S. Navy's $100M checkbox (2019)
It does!

Sadly, the firmware for the CYW43439 is a binary blob provided in the form of C header files[1] -- even though it's free for commercial use[2] as long as it's used with a RP2040 like in the Pico W.

[1] https://github.com/georgerobotics/cyw43-driver/tree/main/fir...

[2] https://github.com/georgerobotics/cyw43-driver/blob/main/LIC...