skysight-inc/HackerNews huggingface dataset:
When I think of a DSL, I think of a language with specialized syntax, grammar, or constructs suited to the problem domain. Think SQL, AWK, or regular expressions. This is just a LISP variant with a typical host-side API for registering function names.

I'll never get how merely having function names that reflect the use case, plus a stripped down or absent standard library, qualifies as a DSL. I know some people have long used "DSL" in this way, especially among LISP fans, but... I just don't get it. If I want a DSL it's because I want something that gives me, e.g., novel control flow constructs a la AWK, or highly specialized semantics a la regular expressions, that directly suit the problem domain. If I'm not getting that kind of power, why tie myself to some esoteric dependency? Either way you're adopting a tremendous maintenance burden; it better be worth your while.

I'm a huge fan of Lua and have used it for many projects in different roles, but never once thought of any particular case as having created a DSL, even when stripping the environment to just a few, well-named, self-describing functions.

I don't mean to criticize this particular project. Good code is good code. It's just the particular conceptualization (one shared by many others, to be fair) of what a "DSL" means that bugs me.
There’s a new one. It has vertical stripes and used to be found at mypyramid.gov.

But they junked that in 2011 and replaced it with a trivial pursuit-looking thing called MyPlate. More details at choosemyplate.gov.
the "change" is centuries old at this point and can be traced to the earliest days of what we would recognise as science,where young promising
students as members of the British Royal Society
would be given the candle stubs from the great houses of there patrons,allowing them to see to read and write and experiment into the night,at s time when the vast majority had no option to do so
cheap solar isnow spreading this luxury to the last 500 000 000 people on thd planet who are now lookung forward to reliable essentialy free lighting,it is enabling study ,entertainment and
extra time to make things to sell
thr effects must be profound and joyfull for many
http://www.figma.com
Alternatively, Rust's cell types are proof that you usually don't need mutable aliasing, and you can have it at hand when you need it while reaping the benefits of stronger static guarantees without it most of the time.
Is the completion generation equally good in JetBrains as it is in VSCode? User reviews suggest otherwise.
I had the dubious honor of having to debug a bespoke CRM that managed hundreds of millions of dollars in annual business written in Coldfusion... in the year of our Lord, 2017. It was a sea of hundreds of CFML files with no discernible architectural principles and a SQL schema in what I've come to term "Drunk Normal Form". There were several cheesy input bugs like the linked one that I had to fix. I was able to find an Eclipse-based breakpoint debugger that I hooked up to the test server to isolate and resolve the defects.

Enough people watched me do this with jaws agape that it was no trouble at all to convince management that we needed an immediate rewrite. For one reason or another I was only able to make it 20% of the way before other things took priority. Needless to say I don't have a soft spot for Coldfusion and find it surprising that it's still a thing even in 2024 [1].

[1] https://www.adobe.com/products/coldfusion-family.html
is bluesky expo codebase open source?
The people buying Teslas must have a absolutely odd definition of sexy. I put them at a 4/10 at best. Shit I put my daily driver Civic at 6/10 because the driver cockpit is phenomenal and has a significant amount of attention to detail for a cheap car, but I have driven many high end 6-figure cars as well.
That's why advisors get paid the big bucks
> > Most successful social circles are ones where there is a barrier to entry

This depends on the definition of success, the most successful as in impressive achievements goal reaching are the ones that are open to anybody who can get noticed and brought in. ANd in the social sense even open to the ones who are most capable of monopolizing the discourse and creating a buzz in the public square.

For example Trump did just that in 2016 and many tried to resist him, but in the end the GOP wants to be successful and opened itself to the guy who made the most noise in the public discourse and public square and made him the tip of the spear of the election effort.

Of course it feels pretty miserable knowing that you can be replaced at any time but I don't think there is an alternative or a solution thanks to a barrier to entry (or exit). Social groups that have a barrier to entry (and exit) such as marriage , when it deteriorates the barrier to entry (and exit) doesn't prevent the 2 people to just starting ignoring each other.
I grew up with a Scout when I was a kid and have fond memories of it - and its nearly unstoppable durability and offroad ability, and from what they're showing here it seems like they are doing right by the Scout heritage, and not just slapping the logo onto a masculine looking electric minivan.

Online speculation was that this was just going to be a badge engineered Rivian, but it seems like a much heavier duty, much more seriously offroad focused design, which honestly looks pretty great. The gasoline range extender also seems like a killer feature for serious offroading, as well as the real diff locks, recovery points, ladder frame, etc.

I also love that they did away with touch screens and went to real buttons for everything. IMO touch screens should be illegal in cars, for the same reason holding your phone already is.
Amazon launches its first in house video generation model
Yep, I’d hire you, and not OOP. There was some really questionable code structuring in there and I always wince at abstraction for abstraction’s sake. It always becomes a hindrance when something goes wrong, which is exactly when you don’t want to have a hard time deciphering code.
Have you faced any challenges of using Elasticsearch for vector search?
We heard from many that it'll get expensive quickly, and the performance is suboptimal. Any thoughts?
> We seem to have discovered a new family of tools that help lossilly transform content or intent from one of these mediums to some others

That's not what LLMs do. More like AI art.
Unfortunately that doesn’t help anyone outside the US, not because of differences in the legal systems, but because as an American company Apple will always have to defer to the US agencies first.
It’s more than that, they disable the aliasing based optimizations, and provide APIs that restrict how and when you can mutate in order to make sure data races don’t happen.

Controlled mutable aliasing is fine. Uncontrolled is dangerous.
Sorry, it was a poor reference to this:

https://www.reddit.com/r/mathmemes/s/c7gtvXrnz8
"this technology is making inroads "

Making inroads by not using roads...
Isn't it just a button, a mic and a wifi/Bluetooth transmitter?
Would s/foo/bar/g change every foo into bar without also changing every food into bard?

Also in most use cases, clicking for each multicursor is the wrong way to do it.

With multicursor you can:

- Press a shortcut to auto select every instance of the characters that you already have highlighted (which is just s/foo/bar/g with visual feedback before confirming)

- Press your "select next occurrence" shortcut a few times so you're only changing the first few occurrences that you care about.

- Press your "select next occurrence" shortcut to select the instances you want and press your "skip next occurrence" shortcut to skip the instances you want to keep. That way you can change a bunch of "foo"s to "bar"s while keeping all "food"s as "food"s but also keeping those few instances of "foo" that you want to stay as "foo" (such as in comments, imports, tests, etc...)

- Press your "select next occurrence" shortcut (usually ctrl/cmd + d) each time if you literally want to see each instance before moving on to the next. Usually this is when you really want to make sure of something next to one of the occurrences.

- And finally clicking each cursor if there really is no simple pre-existing pattern for where you're trying to make changes
Relevant: https://www.businessinsider.com/ford-ceo-driving-xiaomi-su7-...

"The CEO of Ford says he's been driving a Xiaomi EV for the past 6 months and doesn't want to give it up"
kristoff wrote the same about performance

> More generally, RAII is a feature that exists in tension with the approach of operating on items in batches, which is an essential technique when writing performance-oriented software.

> And it doesn’t end here: operating in batches by using memory arenas, for example, is also a way to reduce memory ownership complexity, since you are turning orchestration of N lifetimes into 1.

> In this video Casey Muratori describes how going from thinking about individual allocations to thinking in batches is a natural form of progression for a programmer.

> Extremely popular talk on the advantages of looking at problems as data transformation pipelines, where Mike Acton shows how common approaches in C++ (RAII being one of them) are antithetical to the goal of creating performant code.

https://kristoff.it/blog/raii-rust-linux/
Show HN: Lava Lamps as a Service – Random number API powered by lava lamps
>15 years is lifetimes when it comes to technology capabilities. They world has moved on from that.

I've had cable internet hooked up more recently and still needed a technician, I just stopped getting cable TV about fifteen years ago. Which seems to mirror your experience except last year.

And checking my local providers, I still need to schedule an appointment for a new connection. It seems like it's easier elsewhere.
function isPasswordValid(password) {
return /^(?=.[a-z])(?=.[A-Z])(?=.[0-9])(?=.\W).{8,}$/.test(password);
}

function isPasswordValid(password) {
const issues = [];
if (password.length < 8) issues.push("Minimum length is 8 characters");
if (!/[a-z]/.test(password)) issues.push("Must contain at least one lowercase letter");
if (!/[A-Z]/.test(password)) issues.push("Must contain at least one uppercase letter");
if (!/[0-9]/.test(password)) issues.push("Must contain at least one digit");
if (!/\W/.test(password)) issues.push("Must contain at least one special character");
return issues.length > 0 ? issues : ["Password is valid"];
}
Why study an idealized simulation of gentrification when you could just study the real effects in the real world? Plenty of studies exist on this topic:

https://www.nber.org/papers/w25809

https://www.philadelphiafed.org/community-development/housin...
The Elegato Prompter (a separate piece of hardware) has this built in.
You are missing my point. I was saying this a good thing Linus is not from the country that has been invaded a lot. It doesn't matter if it's from Russia or someone else. If we get to the point where something that last happened 80 years ago makes a difference to someone now, we've lost the thread.
In theory to support ollama all you should need to do is be able to change the URL that would otherwise go to OpenAI, and select the model. The only gotcha is that the llama3.2 builds for ollama are currently text only — however they've just added support for arbitrary hugging face models so you're not limited by the officially supported models.
Multi-threaded refcounts aren't actually that hard?

There's overhead (depending on how much you're willing to annotate it and how much you can infer), but the only "hard" thing is the race between accessing a field and and changing the refcount of the object it points to, and [even ignoring alternative CAS approaches] that's easy enough if you control the allocator (do not return memory to the OS until all running threads have checked in).

Note that, in contrast the the common refcount approach, it's probably better to introduce a "this is in use; crash on free" flag to significantly reduce the overhead.
> if your code is full of bespoke types that are only relevant to a couple of places where they're used, you hurt interoperability; you lock yourself in to how things are done now; and you may just be shifting the burden of making sense to someplace else in the code

What is an example of bespoke types? Is is all compound types (structs, classes)? If you need interop or extensibility, make an API. Feel free to use whatever types in your library you want, just make sure to agree to the API interface.

I’m honestly not sure what style of programming you are advocating for einpoklum. Can you provide an example?

All non-primitive types are essentially n-ary trees of types of sub-members (ignoring unions) with primitive types as leaves. Passing your non-primitive type so some external library function is accomplished by the library declaring that the type it receives must adhere to an interface.
I find the geometrical intuition of rotating a vector in high dimensional space to minimize its largest values (vector basis projections) beautiful.

I'm no expert and I'm sure this has been tried by many people already - but would it be possible to reduce the computational effort instead by using SVD decomposition, spreading the singular values and then reapplying the original singular values and recomposing the matrix using the quantized versions of the SVD matrices?
Inspired by Cloudflare's LavaRand system (https://blog.cloudflare.com/lavarand-in-production-the-nitty...)
> BYD is a state-backed enterprise

And Tesla isn't? https://www.latimes.com/business/la-fi-hy-musk-subsidies-201...

GM, Ford, and Chrysler (now Stellantis or whatever they call themselves) could easily be described as the same with all the subsidies and trade protection they get.

For example, aero headlights were not legal in the US for ages until Ford wanted to use them in the upcoming Taurus. European and Japanese companies had to use US-specific headlights, usually sealed beam units.

This nonsense still goes on today. Why do you think CCS has a unique-to-US charge connector? To make things more expensive for foreign car companies.

Then we have the insane "must be built here" restrictions...
That system doesn't seem to take you to every Bucharest address in ten minutes, only popular ones. I picked a few buildings at random in Google Maps and got hour-long L-shaped trips (detours into downtown) that would have been fifteen-minute drives. I don't think any pre-scheduled routes can cover n^2 trips well.
Imagine how this could be abused.
That's like saying the Chinese had a vote
Or maybe, instead of relying on yet another toy of modern technology, do it the same way it was done before game cameras?

Learn the craft so that you can tell from the signs, such as tracks, droppings, markings, etc., and spend the time doing actual scouting and sightings before hunting?

Seems to me you're either enjoying the whole process of learning and doing the sport, or just enjoying the results. If the former, do it for real, if the latter, just buy some game meat from someone who does. Doing everything with excess technology and little craft seems more like cosplaying and just cheating yourself of a real experience.
Parent was fairly explicit that BYD won't be allowed to fail, but the rest don't have the same state-funded assurances.
Huntington, West Virginia: https://www.advisory.com/daily-briefing/2020/01/27/fattest-c...

The solution involved exercise and diet, surprise surprise. It's not magic or some law of nature that people will only get more fat and unhealthy.

If we think that way, then it will surely happen though.
Is writing a few comments here and there explaining why things are done in a certain way so terrible that we have to create this thing?
This is an interesting approach because they use a modified set of oligos to sequentially hybridize to a universal backbone strand of DNA. A methyltransferase then marks the universal backbone depending on whether a 1 or 0 oligo was hybridized to its (unique) backbone position. You can read out the long, methylated backbone strand with nanopore sequencing. Also, the data writing process doesn't use the nasty chemicals that are used for synthetic DNA synthesis (of course these chemicals are needed for the backbone and oligos, but that process scales well in bulk.)

The downside of this approach is that the data writing throughput and cost is pathetic, even using the fastest, most parallel inkjet printing available. Maybe useful for a write once/read after the apocalypse scenario, but it won't be competitive with magnetic storage any time soon.
TSMC Arizona achieves production yields similar to those at its fabs in Taiwan
Talk to people who have actually worked in the games industry. It's terrible.
These people don't even remember that the man in the telly told them something completely different a month ago. As far as they are concerned, they've always been at war with Eastasia. And you are expecting them to remember something and draw parallels?
There are also other ways of ruining engineering organizations that I observed, especially if they are growing: increased bureaucracy and documents for everything; design by committee of engineering/software products; mid-level manager cliques; inability to make individual managerial decisions such as hiring, product decisions, etc.; extreme deference to management chain.
I'm on Android, however my somewhat elaborate solution was to install Ollama on my home laptop computer and then ssh in when I want to query a model. I figured that'd be better for my phone battery. Since my home computer is behind NAT I run yggdrasil on everything so I can access my AI on the go.
Could you provide an example of a function or argument type that needs a 'why' explanation. Not getting it.
Why reinvent https://json-schema.org ?? Pros/cons?
No, I don't have a personal axe to grind against Musk. I'm just pointing out his persistent, repeated lies. Being an engineer, he should be able to gauge their capabilities accordingly, or at least make those optimistic predictions closer to the finish line.
Why are people so picky about storing li-ion batteries at 3.7v?
What can be inferred from the list[1] of removed people's names and email addresses and the discussion so far, incl. lack of presence of removed people/companies on sanctions list (except for one), is:

0) this happened out of nowhere several years into sanctions

1) so some busybody probably reported Semin recently (the only person with non-.ru email address on the list) for past involvement with Baikal Electronics (on sanctions since 2022-09-15) - reported to LinuxFoundation or to authorities

2) LF lawyered up and out of abundance of caution removed all .ru email domain users from MAINTAINERS, since lawyers probably tell them this covers them for now, without having to deep dive into every apparently Russia associated developer

3) mailing list shitshow after top handlers of this situation went all contemptuous to concerned mailing list contributors, who all saw very obvious targetting of all .ru and .ru email holders only without reason (OFAC list is public, and they're not there)

[1] https://lore.kernel.org/all/2024101835-tiptop-blip-09ed@greg...
Chinese subsidies are an order of magnitude larger, which makes it a difference of kind (according to various government treasury departments).
> The TLDR version is that BYD integrates many components of the electric drivetrain into a single sub-assembly, and shares said assembly between multiple vehicles to achieve volume cost savings.

GM has been doing the same: https://en.wikipedia.org/wiki/Ultium
My point is there was absolutely no need for the System Engineers to touch the charging system. The normal analog diode rectifier variety that has been standard since the 1960s is Good Enough. No "Innovation" Needed. Take your spacecamp nerds elsewhere.
I hate performance reviews as much as the next person, but one of the useful things my previous company made us do was the self-reflection.

The self-reflection portion forces me to remember what I was doing, and equally importantly it forces me to figure out how to explain what I was doing. The ability to craft a narrative around your experiences is a very powerful skill.
Google Calendar gets a redesign and dark mode
Such good feedback thank you so much. I am going to work through every point you raise
Sure, the people winning elections aren't part of the capital-L Left but that doesn't mean the capital-L Left isn't an important political force even in America.
I remember thinking it likely that many people would. My naivety knew few bounds at the time.
https://kristoff.it/blog/raii-rust-linux/
Screens are more expensive than buttons and knobs.

Making the screen into a touch screen with a digitizer is cheaper than buttons and knobs.

So if you already have a screen, making it a touchscreen is indeed cheaper.
Linux and Wordpress are competing in the "well-managed" open source community of the year reward.

Before there were BCacheFS and "Rust for Linux" controversies this year.
Tilde.club nearly meets your definition.[1] It's at least 1 decade and 15 days old, but it appears it's open to join for anyone.[2]

[1] https://tilde.club/
[2] https://medium.com/message/tilde-club-i-had-a-couple-drinks-...
A bingo cage or lottery machine could probably be made to do a similar task (just need a mechanism to return the balls to the machine after each drawing).

Anyway, quite charming!
You got even that wrong. Single-core GB score is highest, multicore is not. Snapdragon's score is higher.
Following this advice with cable/internet/phone service in the USA would be a great way to ruin your own credit score.
I was recently at a local Asian food store in the Seattle area, and was amused to see some Spam™ plush toys on the shelves.

I assumed it indicated some customer-base with a significant level of nostalgia for the product.
This was wonderful. Extremely hackery. I did skim the last half, because it’s largely code.