skysight-inc/HackerNews huggingface dataset:
> Unit tests will often just mirror the behavior of the code. This is not useful.

Then they are characterisation tests, not unit tests. Which may or may not act at the unit level.

As for whether characterization tests are useful; they're extremely useful for, well, characterising existing code behaviour.

But they suck at detailing pre-code specification; that's what unit tests are for (at least at the unit level).

Now I'm not naive enough to believe most people adhere to this distinction appropriately. It's true that people sometimes treat X as Y in practice. But that's one thing, and a totally different thing to complain about X because people do Y instead.
True though I do think 2k dims is coming it 8.8
By adding keywords to the prompt and to the negative prompt
FTA:

> A successful ROP attack needs the following ingredients:

> buffer overflow vulnerable application

Also, this article is about constructing the program to run using ROP, not about calling it. It’s only the latter that requires an exploit, typically from a buffer overflow.
How does multi-party politics with vastly different ideologies across extremely diverse and regional electoral constituencies and massive well-run elections with orderly change of power happen? Free speech and free media are very much alive and well in India. Yes, corruption still exists and we can't wait to cut it down by another ten times soon – digitization has already helped in big ways.

Btw, I don't have to agree to your definition of democracy. India has its own culture and history of citizen representative governance that is thousands of years old. And I definitely don't have believe what ranking Economist gives India. The trust in old media is at an all time low.
If you are a non-resident & non-US citizen, I think long term capital gains taxes will apply. If you hold TSLA for at least one year, your tax rate will be reduced to 15%. This tax can be offset by capital gains taxes paid in your own country.
> audited for what?

To find backdoors?

> what is this signal fanboyism online when there are competing products doing the same thing?

You are completely misreading me. I actually prefer Element/Matrix than Signal (and I use both). But that does not matter one bit, so I hadn't mentioned it so far.

I'm a fanboy of nothing, that's not how I work. Take it easy.

> if whatsapp is using signal protocol then by effect isn't it as secure as signal?

WhatsApp is closed source. We only have Facebook's words for trusting it. Which is a bit weak if ask me.
There is ANN Benchmarks

http://ann-benchmarks.com/
GCP is a product, too, but it’s not as good as either of the top two, that’s a low margin market, and a key theme in this article is that people have made model tuning less expensive.

There’s no path forward for Google which doesn’t involve firing a lot of managers and replacing them with people who think their income depends on being a lot better at building and especially maintaining products.
Because of pointers.

C and C++ work with a large pointer-addressable heap, the JVM works with objects.

You could emulate a heap in the JVM though. You wouldn't get the advantage of JVM's automatic garbage collection, but at least you'd get some form of portability (don't expect to run the JVM inside the JVM this way).
I see your point about Tesla overpromising, however at least tesla has put into production some level of autonomy, these guys sell vehicles without any kind of driver assistance.
At the same time there wasn't any kind of show by Rimac of the autonomous driving tech thats capable of at least holding the car in the same lane on a semi straight road.
I think Tesla and others are miles away from where Rimac is today.
You mean there are two modern programming languages which you know
I love SICP and am one of those fanboys who say everyone should read it.

Though, really, a lot of what it covers is much more common knowledge now than it was when I first read it. High-order functions and functions-as-first-class-citizens (ch1) are ubiquitous and most programmers I know are comfortable with them (which wasn't the case in the early 2000s, at least in my circle). Lists, maps, pairs, and symbolic structures are covered in ch2, but most people are comfortable thinking in such terms now. Ch3 covers handling state, and I think there are good ideas in that chapter that still haven't been broadly disseminated.

But where the book really shines is the last 2 chapters - I haven't seen much of those ideas (virtual register machine and writing a compiler for it) covered elsewhere. It's still a great way to get exposed to some fundamentals of computing from a pure software environment. But I think you could be quite a capable programmer without ever doing that.
Seems the best ones are exclusively of Greek or Latin influence. What are the best ones with Germanic or Celtic influence?
Heh, streaming radio could go all kind of wrong with this "feature". ;)
Show HN: Userscript to optimize TFS Taskboard column width
There was an episode of High Maintenance a few years ago titled "Qasim" that had a great take on the Uberman. It used to be on Vimeo but was taken down when the show moved to HBO. If you can track it down on HBO I recommend it.
Partially, there have been some slight improvements on the language level, like initializers in C++20, and adoption of several C standard library functions up to C17.

That selling point isn't only integrating with existing C code, rather how many want to actually use the language, that is why there is an Orthodox C++ movement, that basically advocates to keep using C++ as if stuck in "C with Classes" CFront days.
In addition to other answers in this thread, those languages came first. Java's main motivation initially was to fix all the memory bugs that come from manually managing memory in C/C++ and give a pure OOP development experience. Finally for the use cases that C/C++ are still good for, you typically don't want memory management or the JVM performance overhead so there isn't any incentive.
> because it's an "amateur" language

Python was an amateur language until it was not.
Things get really weird in high dimensions.

Orthogonality is expected, for example. Proximity is really rare. See: https://softwaredoug.com/blog/2023/02/28/probability-of-dot-...
Shocked shocked to find out that an average psychotherapist-cum-libertarian-blogger would be wrong about the economics of urban housing.
The individual banks (and users) would need less trust between eachother, as long as the group as a whole is generally trustworthy.
> So if it's 2023 and you have 20 hours to learn something new, you can do much better than this book.

Practically, which other book / ressource should someone with little time check out first ?
https://www.wyden.senate.gov/news/press-releases/wyden-on-re...

Wyden came out against it in 2022 as well and will likely be against it again. He seems like a senator with a surprisingly strong grasp on technology.
Things that are central to C, bust the memory model of the JVM (e.g., pointer arithmetic). I did come across a C to JVM project which I used to try and port something slightly complex and it failed to work, thought it may have been sufficient for the author's purposes of accelerating R projects that had dependencies on C libraries.

https://www.renjin.org/blog/2016-01-31-introducing-gcc-bridg...
this must be a matter of opinion, because I always thought Python was a crappier Ruby
People think differently. For some people, C++ fits the way they think. For some, it very much does not.

Even for those that it fits, C++ used to be a relatively simple language. They could understand all of it (if they go back that far). Now it's not, and they can't. There are tons of corners of the language, and virtually nobody knows all of them, still less how they interact with each other. This can lead to some extremely counterintuitive behaviors in your code. Many people don't like that.

Personally, I like C++. It's the only mainstream language with destructors, and I consider that a very useful thing for resource management. (If the only resource you have to worry about is memory, garbage collection is probably a better answer. But if you also have to close files and release semaphores, destructors can make that less of a headache.)

Still, if I'm working on my own thing, I'm not sure C++ is the first language I reach for. Depends on the problem.
Some languages (e.g. D), have contract blocks built into the language, which are even better. (or, well, different).
The Forgotten Creation Myths of Taiwan
So what does this mean for the layman? (AI/ML 900Gflops)
"it could be THC has a positive neurological affect on Autistic people". Or it could be not.

I have autism. Tho I didn't know it back then. I've had multiple minor psychoses from using marihuana recreationally. I know they're minor (with one on the mediocre side) because I've also had a longer episode likely related to stress. Oh, and marihuana was decriminalized back then. From my perspective, the last thing I need, is THC, and your post hasn't convinced me otherwise.

Also, take note of the headline. It mentions men. So for about 50% of society, its unknown. Actually, the reach is even lower, as they looked into men aged 21-30.

Honestly, if I compare marihuana to psilocybin I'd say the latter is more predictable. But either way, it all has to be standardized. Recreational usage of marihuana is not, and this is problematic, even though it is decriminalized here (and has been for many decades here). The fact people cannot buy psilo's anymore here shivers me in that regard; they either grow their own (not standardized) or have to resort to things like truffles.
This should be

# Confirm that x.shape == y.shape
assert x.shape == y.shape, f"{x.shape} != {y.shape}" ## x.shape was not y.shape

/s
Hah. We have shared build boxes at work, which are EC2s that are too small to share anyway, and if two Angular builds run on the same box at once then its guaranteed that the machine is going to die. It's very interesting how things start to fail strangely when the machine is out of RAM.
Start putting solar everywhere possible. It depends on lot of factors, not every city is built the same, and even in non-perfect conditions power collected is just a monotically increasing function over time.. cost and complexity always go down with more mass adoption.
So, they have essentialy created and announced a brand that will go down that route. How viable is having mass production of a product in less than two years with pilot projects underway all while core business and other high profile technological advancements are still being in development?

Don't get me wrong, they are a huge startup with the right mindset and expertise, but they didn't excel at one single thing other than investment collecting, and yet another high profile project is set to flourish in two years...
Thanks very much! I've still got some work to do on it but I'm now at a stage where I need more people looking at it and giving feedback. Thanks for yours.
Blue Sky App
isn't it a slippery slope though??
You have to just keep adding supply but unfortunately the amount of living space that can be built in an urban area is constrained at some point both vertically and horizontally.

So if you add a ton of houses you have the same problem just many years later but now everyone is living in a massive overcrowded area. Adding supply seems to just be postponing the problem.

The real solution imo is to spread out the jobs to other areas so that these major urban areas aren't the only places people have to move to find work.

There's tons of gorgeous places between the coasts that wonderful to live but there's no jobs.
The market for discovery in general is really under served almost across all areas.

Magazines and to some extent brick and mortar stores used to serve the product discovery market but right now it's so hard to find a product that fits your needs.

So much bait-and-switch nonsense and straight up scams.

Doesn't help that many e-commerce sites are such a pain in the ass to use. 45 second page loads with an additional 15 seconds of random layout shifts is comparatively good. Product listings that show like 6 items per screen, in a random order with useless and truncated descriptions and no useful search function.

I don't understand how they're getting any sales at all.
I moved to Tailscale, until I find something simpler, I'm not moving back.
Your load balancer/http server should have the request logs, are you running it bare?
Their page addresses that point, it says the panel will charge for 20km of driving in a day, and the average micro car does 12 (not exactly sure what a micro car is though...). Not having to plug anything in is actually a pretty big deal in many European cites where people do not have garages, and on-street chargers are still sparse.

I don't know if this will work, but things like this deserve some consideration.
Yeah, but how often do you perfom that check? In the end it is all about the code and whether it can be checked.

And I have to say my personal confidence in the quality of governmental code is higher if it is open source than if it wasn't — because I know some pretty paranoid people who would for sure check that could better than any contractor ever would.
> Just because a bug is simple, don't assume that it isn't there.

That really is an interesting conclusion, because when I think about security, my mind is always like "don’t bother looking, surely there are no low-hanging fruit".

And then an article like this pops up and proves the opposite.

Well done and a nice read.
For example, you can create an embedding for an image using a neural net that has been trained to receive an image and output a vector of 1024 floats, which represent the content of the image. This vector is a lossy compressed version of the image.
Earlier:

https://www.wsj.com/articles/jeffrey-epstein-calendar-cia-di... (https://archive.is/o7rgC)

"Mr. Chomsky said he and Epstein discussed political and academic topics."

Noam: So how do you manufacture 'consent'?

Jeff: That's mostly Gissele's department.
Godwin’s law = wild wagons
I’m going to hear the Paul Simon lyric as “Don’t I know you from the megachiropteran’s party?” from now on
Database rights are a thing in Europe. They are almost like copyright, but with shorter duration.
Not exactly. They banned VLC because a bunch of Chinese companies were spreading illegitimate versions of VLC disguised as the real package, and installing spyware alongside the media player.

Not the best way to tackle the problem, but I think it's important to know exactly what happened. Also - I think the ban's gone - I just downloaded VLC yesterday. Probably because VideoLAN took the government to court.
Agreed, having 5 monopolies extract all the value from computing and then slowly merge with the state is not a developmental stage we want to prolong.
Sorry maybe I haven't looked in detail enough, e.g. in Belgium telephone numbers have 10 digits, so you need a table of 10 billion hashes (far less in practice due to the structure of a telephone number) if you're using a telephone number, that's probably not hard to achieve. Then you look up the hash for the domain you want to hijack and try to register that domain in the service you're signing up to (with your fake / looked up telephone number).
> Whatsapp

Whatsapp is the bread and butter of this government. That's their biggest propaganda machine.
> Almost all are super corrupt.

And do you think that is different from politicians in other countries?
>chatGPT is the main thing that we've been talking about here recently

... and allow me to add that we really have no need to talk about it more often.
Frankly, this has got to be one of the most unreasonable claims of "it's the user's fault" I have ever seen.
This one reminded me of those captcha cartoons that were popular for awhile. “Admires sidearm” in curved writing and a simple drawing.
Thanks for the input! I asked about the scale of items and traffic, because my use case actually requires separate piece of infrastructure. It's around 100 millions of items and live production traffic from millions of users with high latency demand. So it's not a batch job that can be performed in memory, as I understand your case.

Currently I use Elasticsearch with the Open Distro approximate kNN plugin by the way.
and that 3500 worth of kit will be a couple of hundred bucks on ebay in 5 years.
Before going to a long 3 month trip to Asia last year, I installed WireGuard on my Raspberry Pi 1 (original model B from 2012) which was running at home in US. I found PiVPN to be the easiest way to install Wireguard. I didn't know if I even needed a VPN but I was glad, and I was able to use internet as if I were at home. It was weird, but a lot of sites are blocked oversea, even though it shouldn't. For example, I couldn't access Homedepot.com. I also couldn't make payment to my Target card as the website refused connection. Apparently a lot of US business sites refuse to connect from oversea IP because of too many hacking attempts, or they just don't want to deal with it. Anyway, I was glad I had set up a VPN before I left for the trip.

Also, the original Pi (2012) was able to run Wireguard well enough for light VPN, although I didn't push it too much since I didn't use it for anything heavy like video streaming.
And it was glorious.
And it proofed a important point. Any resource that can be poured into system to shift the balance of power, must be limited or else the system will be exhausted, hacked and shifted. To not take this power imbalance into account, means to shift power to the already powerful.
You do realize you have to query an index of all of that data for every single query your use makes right? Computing that index is not entirely trivial, nor is the operation of partitioning the data so it fits in ram across a pool of nodes.

Sure, role your own, but don’t act like making a highly scalable database is a weekend project.
Excellent comment. Sounds like an introduction to "Zen and the art of socks maintenance". HN is the only place find such gems.
Not historically true. Python didn't take off for years after the initial release in 1991. Even in the mid 2000s people were evangelising Python like it was a new thing (https://xkcd.com/353/)

Or take Rust, which has gained adoption more recently. It took a while to get going after the 1.0 release in 2015. If you look at daily downloads of Rust crates (https://lib.rs/stats) as a proxy for adoption:

- 2015 to 2017 - not many downloads

- 2018 - first signs of real growth, reaches 1M per day.

- 2018 to 2021 - 10x growth, 10M per day

- 2021 to 2024 - 10x growth (projected)

So new languages shouldn't lose hope if they don't see adoption immediately. It's possible that they might be adopted later. But for language authors, it's the hope that kills you. You continue working on it even if maybe you shouldn't.
>Even to promised Coast-to-Coast drive we are still waiting for.

Hasn't it be done already, with FSD (already accessible to hundreds of thousands of Tesla owners) and zero intervention?

IIRC, Tesla or Elon said the coast-to-coast thing is not a goal for the company anymore because they prefer to work the actual needs of the Tesla drivers, who bought and use the product already but don't do coast-to-coast. But FSD can definitely achieve this today (single stack for city and highway since v11.3), it's just a matter of reaching zero intervention (once or repeatedly).

There are so many zero-takeover drives published daily nowadays: https://www.youtube.com/@WholeMars/videos (some are 7h+ long: https://www.youtube.com/watch?v=sgAwKf9HCHU)
Where's the alternative, dude? You'd want a annointed clown in their place?
Their marketing claims 1kWh per day when perfect conditions would give 1.5 - 2 kWh, so they're not misleading anybody.
Now that I'll never get a Tesla, what is a good alternative in the US?
Diesel Tuners Used Code Words to Hide Emissions Deletes on Heavy-Duty Trucks
Most of the members of the "freedom caucus" (or what some might call "MAGA extremists") are anti-mass surveillance. For example, here's a video [0] from a recent hearing on FISA abuse where Matt Gaetz questions the IG about the over 1,000,000 warrantless searches of Americans.

[0] https://youtube.com/watch?v=ztRGqfz1m_4
Any thoughts on Milvus?
> not exactly sure what a micro car is though...

A popular modern example is the Citroen Ami: https://en.wikipedia.org/wiki/Citroën_Ami_(electric_vehicle)

Vintage, the Isetta: https://en.wikipedia.org/wiki/Isetta
In the ANN benchmarks Elastic sets the bottom bar afaict.http://ann-benchmarks.com/
I use PiVPN on a Dell Wyse 3040, an absolutely pathetic thin-client I got for 67€ from Ebay, to access my home network. It's the only thing accessible from the outside world and it works pretty well. Don't remember if I've ever had issues with it.
Mine too. It can be fun, but seldom is. If I'm already focused on a task, I can get a burst of creativity, but sometimes that just opens the rabbit hole and I inevitably fall in.

Example: gaming while stoned. I might get one game of online chess while high that represents my absolute peak level - I've beaten up to 2300+ rated players...the only problem is I'll turn around and loose to someone 400-500 points lower than me in the very next game. While high, my mind wanders like no other.
> . I haven't wanted to turn it off the last hundred times you asked. Can you take a hint?

No. You are asking too much. Since at least 30 years, having a dialog window without a close button is considered bad GUI design, but for Google, this is normal.
It also starts a huge argument about what kinds of rhyming are permitted (visual, sound, which accent, etc) - and some languages “rhyme” on things we wouldn’t use in English like the emphasis, etc.
It's a €‎6000 car. If that solar panel is significantly adding to cost and complexity, it's not being reflected in the price.
The counter argument, which I’m not sure I agree with but it has to be said, is that OpenAI benefits from Google’s open source work. So staying permissive might widen the gap further.
Or just use a Mikrotik router which has Wireguard support built-in.
Try original SICP video lectures.
25 years ago, we met the Mac that changed everything – Macworld
> free media are very much alive and well in India

> The trust in old media is at an all time low

You can't pick-and-choose the free media to your liking. You either get all of them, or none.
I've used Ruby precisely one time in my life ... and only tangentially (building-out a Mastodon instance)

Thank you for the additional information :)
An embedding is the mathematical process of converting tokens (text or otherwise) into a vector of floating point numbers. This vector captures semantics such that words that have similar meaning are close to each other when their distance is measured using the metric of cosine similarity.
With the cost of raspberry pi nowadays, you’re better off buying something like a GL.iNet GL-SFT1200 for $40.
I’m not sure, I think people might be over complicating socks. I have an O(n) pairing process that is about the same complexity as if I had the same socks all the time. If I encounter a sock I haven’t paired, it’s laid flat somewhere clean. Then when I pick up a sock I can do a visual o(1) lookup to find a pair, otherwise it’s laid flat where the others are. Eventually the unpaired socks are first examined if I didn’t miss any, and then are tossed if they’re just lost a pair.
How many generated anagrams do you have to skim through to find these gems? Was the program written in a way that limits the output to phrases that make at least some sense?
I would be concerned about finding a sunny enough spot in a city to charge. Even their promo video showed it sitting in the shadow of some building.
They need both. Watchdog can't help if the GPIO hardware is stuck high or if the MCU is browned out and doing undefined behavior. The npn can't help if the code is stuck.