skysight-inc/HackerNews huggingface dataset:
C++ and Rust contain (incomplete attempts at) emulating the sound chip - the other languages just have an empty stub (I want to get at least one implementation working properly before using it as a reference to write the others - interestingly both of those implementations, despite being written based on the same specs, sound wrong for different reasons…)

Also I wonder how it counts “lines” - if it is literal newline characters, then probably the biggest factor there is that some languages insist on having a newline after each case in a switch statement and some don’t — so in the CPU implementation some languages are like

case 0x42: self.PC = self.A; break;

and others are like

case 0x42:
self.PC = self.A;
break;

(which adds up quite a bit when multiplied by 500 CPU instructions)

If somebody wanted to go to the effort of counting logical statements per language, I’d be interested in seeing what that looks like :)

It’s also probably worth comparing module-by-module — like for all languages, the CPU implementation does pretty much exactly the same thing in exactly the same way; but for command line argument parsing, every language is very different.
The problem with "subtle and very complex" interactions is that they don't really scale to larger systems. They're inherently anti-modular, since they depend on the state of the program as a whole. This is exactly what's avoided in Safe Rust.
It is usually a PDF containing a single JPG file inside, which you can see and export at the original resolution.

To edit it, I guess you could paint over the text with white, and add a new text on top of it.
What do you mean "finding"? The AI would just return links or raw text of the cases. Reading the findings would be the same as reading any precedence. But the AI could weight the results, and you'd only have to read the high scoring results. If the AI got it wrong, you'd just refine the search and the AI would be trained.

To the cost. If it removed the need for one legal assistant or associate then anything less than the cost of employing said person would be profit. So if it cost < 50k a year you'd be saving. (cost of employing is more than just salary)
Not any worse P.R. nightmare than laying off ten thousand engineers. Nobody cares about engineers man.
I'll give it go – Essentially the quality of the average website is declining due to poor incentives such as SEO optimization and content creation farms. Meanwhile, language models like ChatGPT are becoming more advanced. This presents a problem for Google, as ChatGPT will over time become more likely to provide accurate answers than a website search. Additionally, many websites will begin using ChatGPT to generate large amounts of content, making search even worse and more efficient to ask ChatGPT directly.
It could, if it stopped doing a lot of things it does which the Go compiler doesn’t.

Or of course if the Go compiler started doing them so it became a lot slower.

One example is “full”monomorphization of generics. But there are lots of such examples.

Usually though I find the Rust compilation speed a non issue, so long as “cargo check” and the IDE analysis is great, I just rarely compile to begin with.
Microsoft Edge push notification domain erroneously points to Ontario government
How is it animated?
The reference compiler needs a lot of time to make the resulting binary fast, okay fine. But where's the rust-lang.org group's fork of the golang.org group's `go build` tool modified to accept source files written in the Rust language as input and that (quickly) outputs a binary with a performance profile no faster or slower an equivalent program written in Golang? ~15 years of compiler research is too long and comparisons between the two languages (however fair or un-) are too numerous for there to be any excuse for this not to exist, and yet
Echoing Sourcegraph's CTO: It's important for OSS projects to be discoverable whether they are on npm, GitHub, or some other code host. There's a long tail of great projects that use independent code hosts. If you want us to add your project to Sourcegraph's index, please ping us: community@sourcegraph.com

via: https://twitter.com/beyang/status/1618364271905361920
That's fine. It doesn't have to be everything to everyone. We probably don't need this kind of comment on every single article about Rust, though. (Or similar generic "I don't like this language" comments on any article related to any programming language.)
The post is literally about building an MVP. Remix isn't a minimalist framework - it's a full stack web framework.
For a human it takes time, it takes effort, in order to copy/learn someone's style. And the outcome is not guaranteed to be a success. There is no problem with AI, but if you generate an image with words, something like: make a painting in the style of "X artist", then maybe compensate people for their work and everybody else included, whose expertise was used during the creation of given art.

So you want an image? For 5 bucks? You get an image that's worth 5 bucks, but not an image that costs 1000 dollars to make in real life.

The problem here is you giving a simpleminded person access to an AI, and for a few bucks, this person can generate something that uses thousands of man years of expertise for that given work.

I hope you see the potential slippery slope here.
France's largest semiconductor company got nationalized in plain sight (2022)
I'll try to steelman it.

Legislation is all about compromise (or at least it was, back when legislators worked). There's a lot of give and take, of people modifying positions they didn't hold all that tightly in order to gain on the positions that they really care about. That means that people say one thing on day 1, say something differently on day 5, and vote still a third way on day 10.

If you're going to "expose" all of that, you can make every one of them look like a hypocrite with zero principles. In many cases that may be true, but you can make it look far worse than it is. And if you do that, then nobody can work with any give and take, for fear that the press will destroy them.

As I said, I think that's the steelman. That doesn't necessarily mean that I believe it...
If your values don't need to be secret, you can use the latest bitcoin header.[1]

Similar to centralized random beacons like the NIST[2] and Chile beacons.

1: https://eprint.iacr.org/2015/1015.pdf

2: https://csrc.nist.gov/projects/interoperable-randomness-beac...
Can I transpile this "Lua" to LuaJIT (5.1/5.2) and run it in nginx?
Yeah, that's what I had in mind. Gradual smooth raise. It could also be gradually introduced with rates and increase starting from low levels but increasing each year while keeping close eye on the effect it has on the markets with special focus on the poorest members of society.

This tax could also be starting not from 0% but from negative value owners of a single small property might get tax credit that could help them with their mortgage in the environment of dropping property prices. For larger families with larger single properties UBI could help.

As for land value I'd like to treat the land as just another property and include its value into the total value that the tax rate is based on. I wouldn't pay attention too much about local wages. I think that information influences property values that the tax rate should be based on.
I had this experience with Logitech and Anker.

Logitech actually ended up sending me two keyboards. First they sent me the same model but with a different layout (but still usable) and when I complained about the layout they sent me a more expensive model with the expected layout. No returns, few questions asked. Excellent RMA experience but that being said their mechanical keyboards AFAIK all have some sort of chronic issue and just aren't worth the price.

Anker didn't ask me to return the earphones but refunded only 1/3 of what I paid (6m remaining in a 18m warranty). Mixed feelings about it though the experience was positive. On general I expect things to last a lot more than the warranted period. Anyway I still have the earphones and they still work (with reduced functionality) so let's say that I remained with a residual + the refunded amount.
Great news. Minimizing the amount of street-level pollution will make these walkable cities more pleasant for pedestrians. Reduced noise pollution is another side benefit. Hoping to see a similar effort in SF. Hate walking near NoPa/GGP with all the traffic passing by the Panhandle area.
Angular and Express. I'm familiar with it and it's easy to iterate fast with what you get out of the box.
What are the popular gathering spots other than restaurants?
I'm still bitter about Slammer
> It is just replacing a dependency on fossil fuels with battery related metals. All car companies will shift away from the EV and towards hydrogen at some point.

You are aware that nearly all commercial hydrogen comes from fossil fuel extraction, yes?
Transparency needs to be balanced with the need for some conversations to be easy and transident. If you can get my email, that means i have to spend several days writing them - following the full process I learned in 3rd grade: rough draft, review, final draft... These have to be on different days (just look at anything I write here - they often look great when I write them, but a day latter I see all the stupid mistakes in grammar and spelling). What I didn't learn in 3rd grade but is required is a separate lawyer to review everything as well.

The above process needs to apply even for the simple "are you free for lunch today".

Or instead I can just quit using email and drop back to phone calls (which few people ever record), or face to face conversations - which again are never recorded. Just because we can save emails forever doesn't mean we should.
> This is now my headcanon explanation for why starships in Star Trek still require large crews (or crews in general

The canon explanation is that automation-in-charge was experimented with and went really badly, though periodically they try something approaching it again.

https://memory-alpha.fandom.com/wiki/The_Ultimate_Computer_(...

(AI, human genetic engineering, and a number of other areas of technology are affected by variants of this issue in the Trek canon.)
The Firefox extension of keepa does the same btw
Consider all the ends (e.g. lost public trust) and there’s no problem with the sentiment.
Related:

Nelua Programming Language - https://news.ycombinator.com/item?id=28293836 - Aug 2021 (118 comments)
If it's a proper MVP that needs code and can't be validated via concierge or other no-code approach:

- React Vite Typescript (React Query and Hooks*)
- Python Flask Backend
- SQLite or just fsyncing a JSON file to disk on each write (it's an MVP!)

Backend API just returning JSON with typescript interface describing response contents.

Don't need anything more fancy than this.

* Tried Redux / Redux Toolkit enough to realize for a MVP it's sufficient to just hack stat with hooks and contexts, reducers are too much b
Definitely agree with this. And I'll blatantly add that sometimes it even appears as some sort of elitism/not-fashionable thing.

As if suggesting something that doesn't need 12 build steps, 2 transpiler passes, and 4 discombobulator demagnetizations before you finally serve your 2mb of javascript, that will then spend another 5 seconds of your crappy cpu cycles to render something that will inevitably break your back button is some sort of bad thing.

PHP is great and will never die.
https://gitlab.com/edouardklein/falsisign/-/blob/master/fals.... Well the skew is random between 0 and 2 degrees.
I honestly don't think that chatgpt will destroy Google either...whenever I use search engines, I use them to find a website I could not remember the name of, locations like restaurants, etc. ChatGPT will be a tool to be used alongside search engines, not a replacement
Yup

Except that it is only local or small risk minimization; the catastrophic existential risks end up maximized to the point of becoming inevitable.

With companies, the MBAs happily optimize away anything that isn't immediate revenue. So manufacturing gets offshored, along with all the deep knowledge of how to make things. R&D gets shrunk and minimized because it is a quarterly expense with returns not immediately specified. They kill or sell off all the "dogs" of products and try to milk the "cash cows". This makes the numbers look great until things change and the "cash cows" need updating for a new market environment. But the company now has no idea how to do it because they have no seasoned and up to date product development, no R&D technology development, and no manufacturing know-how. So, it goes into a death spiral if it hasn't already been disrupted.

On the societal level, MBAs justified the western world outsourcing all the manufacturing because it was "fungible" and cheaper to do it offshore, made more profits this quarter. Meanwhile, all that know-how was stolen by China, who isn't interested in quarterly profits, but in global hegemony, and now has both economic and strategic chokeholds on the western democracies (everything from corners on lithium and solar panel markets, to spies in western corporations, to backdoors in key commercial and likely military microchips). The entire strategic advantage of the west was sold out for a few dozen quarters of increased profits. This will go down as a colossal strategic blunder of historic proportions.

All thanks to trying to standardize management.
> We love our customers. ~Robotica
Q4 2022 was a disaster for smartphone sales, sees the largest-ever drop
You are misreading my statement. There is literally only one element directly above lithium on the periodic table. I was not referring to atomic mass.

Hydrogen is not burned in a fuel cell. It works the same way as lithium does in an li-ion battery. However, you can use hydrogen in a combustion engine, also as a compound for energy storage. Also, "fuel storage and refueling" is a huge advantage because you don't need to worry about slow recharging. This is often seen as an advantage.
There might be a reason for this legislation in particular and privacy in government communications in general, but the fact that legislators might lack the courage to compromise without it isn't one of them. You mention "open government types" in the pejorative - which strikes me as very odd indeed. I wonder what is the /opposite/ of that in your view?
I've only done a bit of Go. I liked some of the ideas that were present, but ultimately (and I believe explicitly) Go has computer-sciencey-correctness goals (hence all the kerfluffle over generics) that, now and again, trip things up.

Sometimes that's really nice - we had a handful of tiny utilities written in Go, like a format converter for use in a datastream - other times it gets in the way. I don't think I'd want to code up something large in Go, although it's not something I've had the opportunity to try.

AFAICT, Go believes in preventing you from making certain mistakes. And usually, within it's context and paradigm, it's correct to do so. The problems arise when your problem domain doesn't line up well with that context and/or paradigm, which sometimes just comes down to the time you can spend on the issue.

Another example: IMHO, all the weird issues Go was having working out how to do package management stems from some (admittedly very cool) ideas about Correct And Proper Package Management. I can't remember the last time I had an issue with gem management / bundler (except for the perennially awkward PG gem issue).

It's a 85% vs 95% thing, and IMO that straight-up comes from having other priorities. There's a lot of overlap between "developer happiness" and "computational correctness", but it's not exact, and that comes up in few, but enough, places.

Maybe another good example is Ruby array arithmetic. It makes no bloody sense from a math/CS perspective, but goddamn it is handy in applications. So if your language is aiming for computational correctness, you're not going to get that tiny bit of joy.
More languages would totally be welcome, so long as they’re following the same general source code layout so that it’s easy to see how different parts map to each other :)
Ok, so the update from Aug 2022 is not by Ron? geez.

Changed from https://mecrisp-stellaris-folkdoc.sourceforge.io/lisp.html now. Thanks!
There are already at least two Rust compilers, now that there's a GCC version. That's good; it means the language becomes stronger than the implementation.

Right now, the weak points are mostly library side. Too many 0.x version crates where the API is still in flux.
I always wondered if this commonly quoted fact is the wrong way of causation. Men who are more healthy are more likely to seek more love sounds more logical.

It also seems that men who have a lot of sex have a lot of STDs. I would like to see the statistics
> that can dictate prices

Prices that are capped by the government:

The Fed’s 2011 rules capped fees at 21 cents plus five basis points of each transaction, and also allowed an additional one cent fee per transaction for fraud prevention, where applicable.[0]

[0] - https://news.bloomberglaw.com/antitrust/biden-takes-on-visa-...
so memory distuptive bandwith could add more than many cores in terms of effective computing maybe 5 dimension quantum memory cell
There is nothing altruistic about Google. It is all about collecting as much metadata as possible to feed the ad tech money pump.

At the very least, pulling from Google for fonts, which nearly everyone does, announces the page where it begins the process.
DoNotPay exists because AI vaporware is the new crypto vaporware, which was the new IoT vaporware, which was the new Web2 vaporware, and so on. Build a "product" on AI and you get (in this case) $28 million in funding. Pull stunts like this to generate a little buzz for the next round of funding. Then bail out with your golden parachute. Now you have experience founding a startup - do it again for $50 million.
I helped make GlitchTip (https://GlitchTip.com) and Passit (https://passit.io) at my last job.

The latter got started and ramped up too late to contend with Bitwarden, but I still use it and enjoy it (and I trust it, because I helped build it!)

The former is still very active, and a great solution if you like Sentry clients but think Sentry is too bloated / too hard to self-host / too far from its original open source ideals.
Is there a version of something like this that’s purely software?

Like, emulate gates and keep building bigger pieces until you have a function that’s a CPU. Etc.

I guess I’m thinking a bit more lower level than an emulator where you implement an opcode using normal capabilities of your language of choice.

I guess TFA is pretty close to this in ways, too.
I think Google has built up a knowledge base that they query for those answers. And yes, it's embarrassingly wrong so much of the time
same things are happening in countries with legal prostitution
Yeah, I haven’t dug into what’s happening there - with the previous version of the compiler debug perf seemed to be nearly as fast as release perf :S
"But I'd think that disagreement would be a lot more meaningful if it were held among people who had at least some idea what the job entailed."

You know what would help me get such an idea? Access to emails, calendars and other records.
> They don't have everything like Amazon

They didn’t seem to reach Day 2 yet either.

If Bezos and company weren’t being either disingenuous or delusional, Amazon has reached day two years ago.
which country did that and what problem did it solve? The same pattern of loneliness is found in countries with legalized prostitution
Okay, so let's talk about TypeScript.

Let's say I want to create a simple app. Nothing complex, it just needs to connect to a database to support some some basic user auth and CRUD stuff.

TypeScript is probably my strongest language, and everyone says it's great so I'll use it for my backend.

Cool. So first thing we need to do is create a user API for signups. I'm going to need a framework for the API stuff. Express is good, let's go with that...

Okay, now we need to talk to the database. Let's install mysql2, seems popular and well maintained, should be okay.. Do I need a @types package? Nope. Great.

Now I need to create some environment config for connecting to MySQL. Going to need another library for that, I guess. dotenv is popular, should be safe enough...

Hm, actually I probably want to set up some logging too just in case there are SQL/DB errors. Going to need a library that. Looks like log4js would probably work. Is it well maintained / safe? Eh. Should be fine, just need to build this thing...

Right, finally connecting to the DB. How do I do DB migrations? Is there a library for that? Hm, let's check Google... Okay, typeorm seems like it might work. Seems quite popular. Let's try that.

Okay, our tables have been defined and we're connecting to the DB. Great!

Now we can finally create the signup code. Hm, actually, going need to validate email addresses. Do I write an email validator? No, don't be silly, this is the JS ecosystem! There's probably a library for that. validator seems popular, I'll go with that. It's probably safe...

Okay, signup done. That wasn't so hard was it? Just need to connect to the SMTP server to send the email verification email now... Erm, wait... How do I do that in TypeScript exactly? Guess I'll need a library for that.

I won't go on but this is the developer experience of just trying to do something extremely simple in TypeScript. But it gets worse because in two weeks when you come back to the project you'll find several of your libraries have been deprecated so you'll need to spend a few hours refactoring and the docs for the 50 libraries you needed are distributed across 22 websites (2 of which are 404ing) and 28 Github readmes.

In comparison all of this would probably take me about 15 minutes max in Laravel and I wouldn't need to install any 3rd party packages. And if I'm honest I could probably do this in Spring Boot faster too without having to worry about installing malicious, poorly maintained packages along the way.

Like, I swear I must be missing something here because while I acknowledge TypeScript itself is great, the JS ecosystem it's built on is awful. So yeah, sure, TS is better designed that modern PHP, but why anyone developer would choose to use TS for their backend isn't clear to me. Unless you absolutely need TS for writing isomorphic code or something then why bother with the headache?
This is written for young people, but still accurate: Code: The Hidden Language of Computer Hardware and Software by Charles Petzold

Link: https://www.amazon.com/Code-Language-Computer-Hardware-Softw...

It's got a very slow, methodical onramp with a lot of diagrams and a light, breezy style. You end up building a (very simple) computer in the end, including instruction processing.
I do all world updates overnight for this very reason. But on my R5 3600, the longest emerge is, by far, qtwebengine, which takes just under 1.5 hours. Plus, Gentoo provides -bin versions of many packages notorious for protracted build times, such as Rust, Chromium, Firefox, etc...