skysight-inc/HackerNews huggingface dataset:
With all due respect, the majority of large React projects I've encountered devolved into non-uniform big balls of mud that only the original authors can (sometimes) understand. React's "non-opinionated" stance constantly leads to a non-opinionated code base without a strong technical lead with a very firm hand.

When talking about other frameworks (sorry, "libraries"), React folks should really avoid throwing stones from their glass house.

I'm not fan of Angular by any means, but I totally respect how opinionated it is and how that translates out to development teams in the wild.
There are a lot of use-cases that aren't possible at current pricing and model access.

For instance, we're working on a number of text classification features, but the inability to fine-tune makes it very difficult and expensive.
There are some cool uses like dubbing movies in foreign languages while keeping the original "voice styles" or having your long dead relatives talking to you in some memorabilia etc. It could also cause unexpected creativity explosion e.g. in games or fan fiction movies. To avoid misuses we might perhaps find the only good use of blockchain.
> it's a more powerful and useful concept than the one you're proposing.

What is it that you think I proposed? I support the defense of that which you consider natural rights, because if they aren't defended they will cease to exist in any meaningful way.

These rights did not exist since the big bang in some sort of metaphysical space, nor does human society gravitate towards them. These rights were formulated by people, and insofar as they're recognized presently it's because people risked death to make it so.
love how xstate makes implicit state machines explicit with a time tested (one might say Lindy) format. badly/ad hoc defined state machines are the source of so many bugs - David has been banging this particular drum the entire time i've known him (https://www.youtube.com/watch?v=HPoC-k7Rxwo&list=PLRvKvw42Rc...)
Interesting idea. I wonder how some examples would look for teams which have a docker compose file which don't include some services - because they are mocked for tests or expected to be run separately etc. Would it still be possible to write a k8s operator to transform the docker compose file perfectly to a k8s manifest or would it be lacking key information?
> I guess eventually people will go back to only meeting face to face for important communications

This seems to be the only realistic future. This sort of technology literally makes it impossible to trust anything electronic.

People were worried about the balkanization of the internet, but now they look like optimists.
I'm not in other countries so this is a genuine question - does using a Google or Microsoft login not obviate that need?
What software did you use to make the charts?
Probably not required, but understanding the concept of a statistical distribution has come in handy many times for me when trying to improve the latency of systems. If you are unaware of distributions, you might measure latency multiple times and then calculate something like a mean or median. When thinking in terms of distributions you are more likely to draw something like https://matthiaslee.com/content/images/2017/05/bimodal_dist.... which contains much more information. That example tells you that you have at least two different kinds of latency. It could be 2 different use cases, 2 times of day, cache hit vs. cache miss, etc. It's enlightening to know that there are multiple factors and how much they differ!
Who report over 10,000 downloads last week. I used this years ago but can't see much use for it now.
I am not even in an environment where ChatGPT is very present and yet I've seen that happening sitting right next to a person with exactly that thing happening.
Yes, he found a job writing Zig.
Context clip from The Wire: https://mobile.twitter.com/TheWireStripped/status/1164385139...

(He was taking notes because they’re following Robert’s Rules of Order, lol)
No, I was never into writing blogs or anything like that. For years, I was a solo developer, so the last thing I wanted to do was spend time writing about work after work. This was also the dark days of the internet before there were forums like this. It was all on a mailing list. I was active there answering questions like this as I felt that was the least I could do because I learned so much from other people's responses on the same mailing list.

So, having said that, what is it you'd like to know? My problem is that things that seem obvious to me gets skipped in my explanation of things, and the things I sometimes find myself talking about is nothing what someone else actually cares about. So turn this into an AMA, and we'll probably go farther faster
He was the only human period, Mercury was a single seat ride!
import {alias, _export, _eval} from './util.js'

export default async function config() {
git()
}

function git() {
alias({
gpsuom: 'git push --set-upstream origin master',
gpsuvm: 'git push --set-upstream vjpr master',
gpsu: 'git push --set-upstream',
gmvd: 'git merge vjpr/dev',
gmvdgp: 'git merge vjpr/dev && git push',
gprom: 'git pull --rebase origin master',
gpuohm: 'git push origin head:master',
gpom: 'git pull origin master',
grhh: 'git reset --hard HEAD',
gisquash: 'git reset --soft HEAD~$(git rev-list --count HEAD ^master)',
gacp: "git add . && git commit --message 'Update' && git push",
gacmu: "git add . && git commit --message 'Update'",
gacmup: "git add . && git commit --message 'Update' && git push",
})
}

function brew() {
alias('bbrew', 'br')
alias({
br: 'HOMEBREW_NO_AUTO_UPDATE=1 brew',
// x86_64
ibrew: 'arch -x86_64 /usr/local/bin/brew',
abrew: '/opt/homebrew/bin/brew',
})
_eval(`$(/opt/homebrew/bin/brew shellenv)`)
}
I need to write a post on this, but I've been using this pattern to great effect:

https://gist.github.com/andymatuschak/d5f0a8730ad601bcccae97...

It doesn't require a library, it binds states and effects together, it is completely pure, and it can be implemented in most any language, preferably one with sum types and exhaustiveness checking. It works equally well with both complex, time-dependent business logic as well as code that controls UI states.

I love state machines for help in writing robust code. The act of laying them out this way forces you to consider lots of intermediate states that are ignore or forget. Plus, the logic stays away from all the gunk of the platform, state machines are trivial to test, and, once you get used to them, are easy to read.
> But weirdly given its focus on schemas I couldn't find any way for a document to link to a schema in-band!

In cue there's no real distinction between "schemas" and "documents". If you say:

value: string
value: "abc"

then cue "unifies" the definitions for `value`, sees that "abc" is a string, and therefore `value` is valid.
It's a shame this isn't a top level comment as this deserves to be right at the top of the page. Who the hell makes a video to show off how slightly less shit they are?
I thought that at any scale, that they were atoms. Or quarks. Or quantum fields. Or whatever.
Last year I wrote a comparison between Sveltekit and React with focus on Typescript and Graphql. What I didn't like particularly was that for-loops had no type inference [1]. Until this changes there is no reason for me to use Sveltekit in big projects. Typesafety is very important and nothing beats react on that.

[1]: https://www.nvegater.info/blog/SvelteKit#bad
> We are thrilled to be sharing our new model

really? that's a nice gesture… so where can I download it?
Large asteroid to zoom between Earth and Moon
What if you think is best harms the child? Obviously there's limits you can think it's best to lock your kid in a basement 24/7 right?

I'm not against parental rights but also hate absolute statements like your first sentence
To me this reads like satire. But no one in comments is reading it that way so maybe not?
I'm sorry, are we talking about physical strength or courage and independent thinking? I'm confused.
I seriously doubt that genetic research will ever find natural rights. These were created by philosophers, revolutionaries, soldiers, and all manner of other freedom fighter. They were not given to us by our genes, they were created by us.
You may get your wish. The FTC posted an article about this a week ago. [1]

> The FTC Act’s prohibition on deceptive or unfair conduct can apply if you make, sell, or use a tool that is effectively designed to deceive – even if that’s not its intended or sole purpose.

It seems like an awfully broad rule? But they probably could go after this startup if they noticed it.

There are some kinds of businesses where making sure the regulators like what you’re doing is pretty much a prerequisite. On the other hand, plenty of companies got where they are today by pushing the limits.

[1] https://www.ftc.gov/business-guidance/blog/2023/03/chatbots-...
You get redirected to enter your name and phone. Did it not ask you?

edit: You can't even access parts of openai sites from the "naughty" countries.
> You can see that right now with PCIe gen 5 drives which could just as well be gen 4 except that no one would be talking about them if they were.

Where? I've only seen a few models get talked about, and they could all easily bottleneck a gen 4 connection.

It's still hard to find a use case, but the interface is not overspecced compared to the flash and controller on the ones I've seen.
> The thing is: with Windows I don't have to do any of the compatibility checking, tuning for battery life, etc. You might have had to in the past, but you can't compare past Windows to Linux today.

I suspect you are talking about some other Windows that the rest of us.

> I just want to get my work done, and be able to reliably turn my computer on and run my applications.

Don't we all?

> Windows lets me do that. Linux doesn't.

You, ok. Others? It's the other way around.

> I haven't had a Windows update break things in years,

Last time? Cumulative update 2022.12 for W19 22H2... that's not that long time ago.
My experience is the opposite. I use Windows at work and Linux for everything else. Linux is much more stable and when something is wrong, much easier to fix. Windows has definitely broken for me in the middle of the day.
Because it's fun and enjoyable. Because it's satisfying to be good at something. Because it's entertaining to watch people who are experts at a thing you like.

Instead of thinking of it like football without the exercise, think of it like chess or any other pursuit of excellence.

Most people consider doing things you find rewarding or entertaining to be a worthwhile enterprise. That doesn't need to conflict with living a healthy lifestyle.
>terabytes of files exposing a covert campaign against him—and the culprit wasn’t a rival but an entire country

This type of work is much of what the Intelligence Community does. It defends American business (favored corporations of course) abroad by getting humint and sigint from competitors behind closed doors, sabotage operations, etc. It isn’t all coups and war, although a lot of it does tie back to national security in one sense or another
Interestingly, grandmasters burn ridiculous energy during tournaments.

https://www.cnbc.com/2019/09/22/chess-grandmasters-lose-weig...
Seeing you can use gpt-3.5 for $0.002 / 1000 tokens. I use it at work daily for things and it's more like $3 a month.
wicked cool
UK has its own currency and independent central bank, also it was a net payer into the EU budget so there was limited leverage.
> Making then the illegal would accomplish nothing since it's already out in the wild.

Not true. Making it illegal wouldn't make it nonexistent -- that's true. But making it illegal would provide at least some method of mitigating some of the harm.

That's more than what we have right now.

> We have to accept that this tech exists and there will be both positive and negative outcomes from it.

Of course. But that doesn't mean it's futile to try to reduce the negative outcomes.
It can't learn zig without plenty of samples
I thought this was going to be an article about optimism ("geeking out" as in getting excited about things). I acknowledge that I'm responding to the headline and not the meat of the article.

I've recently (past ~5 years) stopped viewing the world pessimistically. I don't believe it's because I'm blindly optimistic, but because I didn't have the perspective to understand our ancestor's problems and how good of a life I had. It's pretty cool that I didn't die in 6th grade when I put that knife through my hand, that my knee doesn't lock anymore after having my meniscus removed, and pretty cool my wife survived to adulthood with unbelievably poor vision and asthma. It's pretty cool that a large portion of living is automated now by the systems around us, from food to cleaning, and that those systems are affordable enough that they're common place in most households. We've freed our societies up to focus on arts and science which has created a flywheel that keeps paying us greater and greater returns that we keep investing into arts and science.

Humans have done some cool things to conquer our basic nature and environment, and we continue to do cool things. Compared to other species we are absolutely killing it. Yes we suck compared to what we are going to be in the future, but that's the point!

Whenever I get a brief feeling of "this is bad," I remind myself that humans have conquered far worse than whatever "this" is and that we are likely to triumph over this thing too. Taking a second to appreciate what our species has accomplished, and "geeking out" about it, has helped improve my quality of life, thought I'd take a moment and share that with you.
React never was truly reactive. Even according to its devs.

https://legacy.reactjs.org/docs/design-principles.html#sched...
Thank you for linking to that. The default of vertical orientation as a result of "half frame" exposures meant that device was about 50 years ahead of its time
Ilya Sutskever (OpenAI Chief Scientist) interview about LLMs
Have you used OBS? It’s not just “streaming software” it’s a software audio video mixer.
Don't waste your breath complaining about Windows. Microsoft isn't listening.
Yep, the threads are permanent. I've got approximately 200 separate threads going with it right now.

I gave it a summary when I started using it: "I am building an app using Expo, React Native, React Navigation, React Query, Nativebase, Google Maps and lodash. Expo exports the app for web, iOS and Android. The purpose of the app is to view data related to <specific domain> on a map. The data comes from an internal API."

Then I started copying and pasting code or asking questions about using the libraries I had mentioned.
Are the founder's names causing you panic? can't you appreciate a good startup?
Sounds very similar to Robinhood's 2019 infinite money hack.
Just call it ClosedAI and be done with it
Did you really want to append digits 1, 2, 3, 4, 5 to your high-quality random numbers?
Who would have thought we'd be able to follow the birth of Skynet in real-time.
Sometimes, extreme portability makes us do desperate things.

# uname -a
HP-UX prdcrm B.10.20 A 9000/800 862741461 two-user license

# ls -l /dev/urandom
/dev/urandom not found

# openssl rand -base64 8
v51U1RvSD2Q=

I could run this on VAX VMS if you want.
Hatchet – An OSS Terraform Enterprise/Cloud Alternative
Craft.do
Are all the books being banned pornographic? Is this a way for people to get some books that maybe should be banned but then go after books where gays and trans people are shown in a positive light?
Yes, good point, mail fraud used to be a major problem and we started passing laws to deal with it 150 years ago.

https://www.uspis.gov/history-spotlight/history-of-the-mail-...

Maybe we'll need a new specialized law enforcement agency like the Postal Inspectors to deal with the inevitable wave of AI-assisted crime.
I'm having a hard time coming up with a non-nefarious use case for this.
I think its ironic that we're watching the fiery sunset on the previous gold rush tech craze just as we see the sunrise on the next one. This next one could very well be capable of pumping itself up across the internet.
> Putting “here’s the fields I’m borrowing in the body” into the signature, in order to conform with the Golden Rule, looks very odd.

I think this would be an amazing feature, but it would require something like typescripts partial types, where essentially every object/struct exists as a sum type of atomic fieldname:field-type types.[1]

Rich hickey[2] has a great talk on how existing type systems break in scenarios where you'd want them to be forwards compatible, e.g. when relaxing what you accept as arguments or similarly increasing the guarantees that you provide on returned values.
Partial types are one piece to that puzzle imho.

1: https://www.typescriptlang.org/docs/handbook/utility-types.h...

2: https://youtu.be/YR5WdGrpoug?t=463
There is no reason to believe that the factor dragging political quality into the gutter is insufficient salaries. The fact that the Republican party turned down higher caliber more capable candidates in favor of trump suggests that candidate quality is limited by voter choice not insufficient compensation.

These folks really are in fact deplorable and you need to appeal to at least a substantial minority of awful idiots to be elected president or if on team red most of them.

This is why every Republican president in half a century has been an embarrassment and every democratic relatively conservative because nothing else flies here and upping the ante won't help.
I remember using DVDFlick[0] to author DVDs for ages before I found DVDStyler. DVDFlick was written in vb6 if I recall and was glacially slow. But it was totally free and that was hard to come by at the time (or at least for pre-teen me)

[0] https://dvdflick.net/
The BitMex guys pulled a similar move…they all paid fines and avoided jail.
Not to defend Teams here (it's still worse) but I've had the Zoom client crash on me 100% of the time when I screenshare on Linux, only since the latest version - and of course I could not stay on the old one... Reported it and hoping for a new version, but of course none has happened in.. quite a while.
Listening to the demos I'm not entirely convinced by this (https://playground.play.ht/listen/189 was pretty funny). I wonder if this company will end up taking down (and subsequently pricing out most people using this tech for fun) arbitrary voice generation just like its competitors have so far.

Going to the demo page and hearing a random snippet of Musk-worship was pretty weird. Out of all audio tracks to place at the top of your demos, you chose this?
I asked it to help explain the Birthday Paradox to a colleague who was struggling to understand the math behind it.

I gave it the requirements and just copied and pasted.

https://jsfiddle.net/k8L9eyf7/5
The world is going to become a much worse place over the next few years. I want to be an optimist, but it will take huge leaps in humanity's societal structures for AI not to be a net negative for the vast majority of people on this planet in the short term.
To be frank, I think S3 developments like this might happen due to S3 compatibility both on the "server" (Backblaze B2, Minio, SeaweedFS, etc.) and so on as well as on the client side happens, so Amazon is probably not too happy about competition. It's probably a good idea to stay away even from open source by Amazon, given that there is very well, used in production by big companies, working and more independent alternatives.
RAII is not a silver bullet. RAII wants to have neat recursive ownership and cleanup of everything, which is undoubtedly a nice model, but sometimes in low-level code you have to choose between nice recursive ownership and performance.

For example, Protocol Buffers are trees of objects. Originally they were simple and had recursively-owned, heap-allocated nodes. But it turns out that traversing and deleting a big graph of heap-allocated objects is expensive, and arenas are more efficient. But arenas make you give up recursive ownership.
This specifically isn't an issue of trusting them with my system, it's that a shell script can give a shit all over a system without a good way to undo it, even if it was well-intentioned.

Package managers are modern technology, they exist because they can track what files were placed where, and can remove them cleanly when given an uninstall command.
> Generally will be interesting to see what an internet with less anonymity looks like.

It will be much more dangerous, in all probability.
It sort of exists: https://en.wikipedia.org/wiki/That_Dragon,_Cancer
TIL, the Booth Junkie is on HN. Love your work, sir.
A line item under reasons that Binance falls under US jurisdiction. "Binance relies on the Google suite of products for information management and email services."

That's got to make companies around the world feel more comfortable using it!

Oh, and AWS too!
What do we expect small businesses to even do with their cash? It's conceivable that many of them have more than $250k for payroll at any given time.

Without a solution, we run a bank run risk _at all times_. This seems untenable. Perhaps we should raise the limit to quite a bit higher, and charge large account holders for that?
Modern telemetry is completely unnecessary for that.

In the Vista era, the OS was able to detect programs that crashed and give the user the choice to report it. It could even, with consent, check to see if there was already a known solution, which might involve an updated version or might involve changing compatibility settings.

None of that needs the MS personal info vortex and none of that requires trampling on consent.

https://social.technet.microsoft.com/wiki/cfs-filesystemfile...

https://www.howtogeek.com/wp-content/uploads/2009/09/1pca.pn...

http://s3.jasonlitka.com/wp-content/uploads/2007/05/bluescre...
it's always the good ole days for someone.

it's always 5pm somewhere for someone.
Yep, I also noticed that Zig just does what C does... coming from other C-like languages, like Java, JS, Go, though, which don't do that, I was also surprised.
Can you give an example of what you're talking about? I'm pretty new to async and Rust in general but I'm having a hard time thinking of an example (almost certainly a deficiency on my end haha).
I build https://github.com/hofstadter-io/hof and still prefer our create workflow (https://docs.hofstadter.io/getting-started/create/). Far more flexible than GHT and works from anywhere. It also works as an addon to existing projects.

It would be interesting to see your project as a hof creator. Similar things are on the endless examples todo list... :]
That's my complaint about Zig as well coming from C.

I feel that there are too many reserved words in Zig, and some of them are too long (comptime for instance).

Maybe that's just me being too picky about surface level concerns, but that kind of stuff really bothers me for some reason.

Other than that, I do like some parts of Zig. The way templates are designed seems superior to C macros and C++ templates, having your build scripts be in the language you are building is something more languages should do, the compiler is impressive in some ways... I suppose in theory all of that should make up for the poorly chosen keywords and whatnot.

I disagree with other commenters that think Zig is simple. At least compared to C, which I think is fair given Zigs target audience. C feels simpler despite all the undefined behavior and extensions to the standard and portability issues. Somehow I think it's down to the reserved words that were chosen.
Tech toolbox: The middle ground between tech chaos and rigidity