skysight-inc/HackerNews huggingface dataset:
It makes different trade-offs. Perforce is much better at dealing with large binary files, git isn't good at that. There's 'git lfs', but I have no experience using it, so I can't comment.

But if you're just dealing with text files, git is much faster in many cases compared to perforce. Switching/creating branches in git is instant, it can take a while in perforce. Doing a 'git status' is instant, 'p4 status' can take minutes to return in a large repo with many files.
Experience is blind without empathy
> "There are only two valid e-mail addresses on the gail.com domain"

[...]

> "My husband and I"

[...]

> "If you have a question not answered above, feel free to send it to: faq at gail period com"

I wonder if the emails sent to the faq inbox would bounce haha
The support team will provide you with a set of suggestions as to how to change the product, unless you slap them down constantly.
I think you'd enjoy this then: https://github.com/hakluke/how-to-exit-vim.
It already has been for number of years. I mean I am not sure about 3d world in VR, but I have not been in the office for years now. Not even in the same country as companies I worked for. Browsers, Zoom, Slack etc are the metaverse and it is glorious !
It seems likely that most visitors simply mistype gmail.com and end up visiting gail.com by mistake.
> Extremely rare occurrence before the last 10 years of influencer hustle culture. Now, not so much.

You must not have been arount > 10 years ago ... see Amway, tupperware, etc.

https://www.history.com/news/tupperware-parties-brownie-wise

Such an old story it is in the "history" section.
I am not a mathematician but I follow one on the internet. Quoting https://www.johndcook.com/blog/2023/01/06/rational-trigonome...

> You can work over the rational numbers, but you don’t need to. You could work over real or complex numbers, or even finite fields. Because you don’t take square roots, you can work over fields that don’t necessarily have square roots. If you’re working with integers modulo a prime, half of your numbers have no square root and the other half have two square roots. ...

> Why would you want to do geometry over finite fields? Finite fields are important in applications: error-correcting codes, cryptography, signal processing, combinatorics, etc. And by thinking of problems involving finite fields as geometry problems, you can carry your highly developed intuition for plane geometry into a less familiar setting.

"Orientation Modeling Using Quaternions and Rational Trigonometry" at https://www.mdpi.com/2075-1702/10/9/749 has an example of using it with complex numbers:

We can define the quadrance of z by:
Q(z) = z · z̅ = a² + b².

Spread: The spread can be defined in several ways ...
in a more general way, the spread can be specified
for any complex number by the next expression:
s(w) ≡ b² / a²

The paper includes the section "Rotations on the Plane" which may address your e^(i*alpha).
Ask HN: My son (9yo) wants to learn to develop games
Hi!

My 9 yo son wants to learn to develop games, and, as I developer myself, I'm more than happy to help him on this road.

I could start with the programming basics, the rendering loop and iterate from this, but it is quite complicated and will take quite some time before having some significant results.

Another approach would be to start by having to resolve gaming puzzle that requires development, starting with very easy levels and increasing in complexity. At some point (and if he follows through), he will have enough knowledge to be able to handle the complexity and the underlying of what a games is made of.

Another issue I'm facing is that we are French. It's a requirement for us to use resources in French for now as he improves his English along the way.

Here's what I thought I could do:

1. I thought about doing the learning myself, implement a course he could follow with increasing complexity. But I know myself. I'm not great on sharing knowledge, and I would dive too deep in complexity. Moreover, it would take time before having visual results (which is what he is looking for, of course), and might probably loose interest before having valuable results.
2. I thought about subscribing to online courses (Udemy, Coursera, etc) about game development. Problem is most of the courses are about Unity and C#. We are not there yet. (and not too many in French).
3. My best scenario for now is to create an account at either [CodingGame](https://www.codingame.com/) or [CodeCombat](https://codecombat.com). They apparently have a French version and hopefully the beginning would be not that hard. And since it's coding, I could help him.
4. Turn to HN and ask for better suggestions on how to do this :)

Thank you for your help!
Are there error patterns that could still result in silent failure? I'm not %100 sure how modern ECC RAM is implemented, but I can imagine a simple parity bit would fail silently if different bits fail simultaneously by flipping bits in the opposite direction.
Not only they can sue you, but they can make your life a living hell if you choose to fight them back. See one of the most famous examples: http://nissan.com/
The source you copied this from offers a simpler version:

" Center screen on next/previous selection.
nnoremap n nzz
nnoremap N Nzz
" Last and next jump should center too.
nnoremap <C-o> <C-o>zz
nnoremap <C-i> <C-i>zz
> The potential with Chatgpt if it can be refined is wild.

potential for good or bad ? Last time they tried to use AI for police/justice it ended up exacerbating existing biases.

> There’s nothing you can do with a blockchain that’s you couldn’t already do before.

What can you do with an AI you can't with humans in a court of law ? When a human is wrong you get a single judicial error, when the only software used is wrong (bug, bias, &c.) you'll get thousands every day.

What happens if an update makes the same case get a better defence and as an outcome a lesser sentence ? do you retrial all the other similar cases ?

The only potential I see is saving money and this is certainly not on the top of the list of things I would like the justice system to focus on
> We can expect it to get to 90% soon

I won't be surprised, but that's less than "can expect", and I disagree that this is straightforward to forecast… unless you're currently playing with another similar model that hasn't been published and which can do this. As the saying goes, "forecasting is hard, especially if it's about the future".

AI progress has always been this weird combination of two sides, one saying for every breakthrough "this is just around the corner", the other saying "this is impossible".

This even happens anachronistically, with some people convinced AI can already do things they can't, and others that they could never do things they already do.
Just the compiled and baked game, not your sources. You still developed on Windows or wherever, the cloud instance was just used for running the game.
3DS Max (or Maya, same company though, and basically sister-projects at this point) has basically been used in one way or another for a ton of games and movies. Basically industry standard to use of them, and lots of knowledge can be transferred between the two.

Funnily enough, the "Games" marketing page for 3DS Max features WIP images of The Witcher 3 character rigging: https://www.autodesk.com/campaigns/autodesk-for-games
> language tooling cannot help you type this because you specify what you are importing before what you import this from.

It can help, and was addressed in https://github.com/microsoft/TypeScript/issues/31658 quite a while ago.

Typescript already maps all the exports that are available and what modules they come from (including externals) so is able to provide an autocomplete.
> Mine was at the block device level.

Same! :) Originally I wrote it with an interface kinda similar to `tar` -- you add or extract huge blobs to/from what I called a coalesced archive. I could re-image a machine about 8x faster than Norton Ghost.

After $WORK went under, I kept the code and toyed around with it, making it speak NBD so instead of extracting a huge blob from the archive to a destination block device you could also access it directly. I feel like I never Properly solved write support though.

I'm curious, did you think of anything better than refcounting the data blocks and then keeping a list when the count goes to zero, then adding the next unique block to the zero list? That's all I could think of, and it adds at _least_ one additional layer of indirection which I didn't like bc it would have a performance impact.

> EMC had a disk based deduplication storage at the time. NetAppliance had a competing product. They had patents in the area.

I know this _NOW_ but certainly didn't know back then. :) And still doesn't take away the fact that according to the USPTO, "compression via coalescion" is miiiiine. ;-)

Again, I interpret this NOT as evidence of "how clever I am", but as evidence of how silly and broken the patent system is.
Reminds me of Action Park, which wasn't for softies (at least 6 people died).

https://en.wikipedia.org/wiki/Action_Park

Documentary:

https://en.wikipedia.org/wiki/Class_Action_Park
Good webcam setups have a sharp depth of field, which makes the speaker look sharp and the background blurred. This requires auto-focus because a few centimetres matters to be in field.
Sort of reminds me of the foo at https://www.bar.com/

Although Gail seems to be blessed with not receiving most of the email people are sending.
zz is a neat command, however I find it a little cumbersome to use.

I prefer to use the scroll offset[0] to keep the cursor line always at the center of the screen.

I've been using 'so=20' for a long time now and it feels great.

[0] - https://vim.fandom.com/wiki/Keep_your_cursor_centered_vertic...
Evolution is a random walk among myriad effects on reproductive success. Parasites figure prominently, and they evolve right behind.

It is never, ever "toward" anything. It is often "away".
Unfortunately cold emails are generally ignored. The general etiquette in Spain is that you have to establish a relationship with someone in the business before they respond to emails, and then it also depends on the individual if they like to use email or not.
Cheers for creating it and keeping it online! It is an amazing resource.
> I can send someone 1 million USDC for 0.000001 US cent with confirmation in <1 second

This is clearly a very big problem for the majority of the world population!

It's like saying tesla solved the problem of going from 0 to 60 in 3 second in a 2t+ car, it's neato but virtually nobody had that problem, if you're not into illegal activities you will most likely never need or want to transfer 1m usd outside of a safe environment anyways
More C and RTEMS, maybe ADA/SPARK too (least prio)
According to previous news these jobs are already all been replaced since at least 1970
> And "Hawaii" as a modifier to food generally means with pineapple

I associate it more with meaning "with spam".
+1 for that being something needing fixing. :) That might be easy to fix? ;). Unless its actually been banned where you live, nothing to stop people playing in the street (albeit, needs enough practice to be worth listening to). If done to raise money for charity would get a good reception. I wonder actually if shopping malls would allow this to happen more, I mean it makes them look good if someone's doing a charity fundraiser there, or just playing for nothing to entertain people. I think it just takes enough musicians to bother to try to do tis. Maybe people have a mental block on playing in the street cos they think its not the done thing, or "only done by bums" or something.
> The potential with Chatgpt if it can be refined is wild.

But this is exactly my point. I likely saw in 2018 word for word "The potential with blockchain technology if it can be refined is wild." Then everyone slowly realized - as you mentioned - "there's nothing you can do with a blockchain that you couldn't already to before". Same with chatGPT, it's just regurgitating what we collective know as a species. I just don't see how, if ever, any sort of AI system (even granted geometric improvement blah blah blah) is going to take over my daily type of work.
As in it won't send messages to kernel log and you need the tool to ask kernel about it
French Guyana is Europe
Well one of the two email addresses could actually be faq
Off course YMMV. But that's not the rule in general.

I have recent experience with Korea which is overall quite efficient in fact, and yet it's still a struggle to figure out what I need to do, how to do it, and language barriers don't help.
While we were waiting for our friend in the ER (she's fine), one of us downloaded an app that was a giant red button like that one and that's all it played, TURN DOWN FOR WHAT! And you could press it a bunch so it's like "TTTT TTT TT URN URN DOWWN FFFOORR WHAT WHAT! The nurses enjoyed it
Habitable also needs a saturn class planet outside, defending against meteorites and comets. Else you can have life on a planet, but it gets "reset" every nthousand years. Lucky us, there have only been 7 to 20 of these events so far.

https://en.wikipedia.org/wiki/Extinction_event
Perforce clients needs to talk to the server for everything. Even opening a file for editing! It's not hard to see why it can be horribly slow. On the other hand most git operations are local and are blazingly fast.

I'm not a game developer: Text files are all I care about.
NoiseCraft: A Browser-Based Visual Programming Language for Sound and Music
This is cool, but I actually place ignored paths into the gitignore manually. This way I will always see reminders when a new file needs to be tracked or ignored. Otherwise I would forget to track new config files. E.g. when a new program is installed, its binary will be ignored by a previous rule added to gitignore (/use/bin/*), but its newly created config files in /etc will come up red when I run `git status`.
Yes, but our planet detecting tools can only currently detect planets that are 1. close to their stars and 2. smallish, so that self-selects for tidally locked planets.
I don't get it either, what was the problem with mcelog that this is trying to solve ?
"Why then are gui systems like electron so popular"

Electron is popular because Chromium is an extremely well funded project that has a bullet-proof business model (more web apps = more crawlable html = more searches = more ad clicks). There are probably more than 1000 people working on it, many of whom are very senior and expensive engineers.

Does Electron make sense in the abstract, i.e. with unlimited resources and no business constraints, would we have ended up with apps shipping a full copy of a web browser with themselves for their UI rendering? Probably not, no. But does it make sense in the concrete, in a world where Google is willing to spend billions every year on a monolithic codebase that does things like optimizing text rendering, abstracting native APIs and so on, then give it away for free? Sure!

So you ask, if it's so bad why hasn't something else replaced it. Money is a big part of it. Yes, writing cross platform frameworks is hard, but it's not that hard. What matters is who is willing to fund it. Google has money, gives away lots of free beer, and that beer comes in the form of an HTML engine.
> Good webcam setups have a sharp depth of field, which makes the speaker look sharp and the background blurred

I'm guessing you mean "shallow depth of field" rather than "sharp" here.

And you probably don't want it to be so shallow so a few centimeters would matter, then your nose could be in focus but your ears not, or vice-versa. That's a bit too shallow.

It also doesn't require auto-focus, it requires you to be able to put the camera at a good distance with the correct f-stop, or being able to change the f-stop one way or another.

Auto-focus is more for cases when the subject/object moves a lot forward/backward from the perspective of the camera, so you don't have to manually adjust things.
It is possible that there can be divided in to 2 groups the people in this world: 1 who's first thought given this opportunity is to rick roll the eff outa the situation, and another group that for some reason wouldn't.
To me most important thing by far seems to be dealing with CO2 emissions, both those being emitted, and those previously emitted which need capturing. I did work indirectly on that in the past, but to earn a living am currently doing something else worthwhile but not as important
I copied it from my vimrc, I don't recall after many years where it came from :)
You could use Scratch https://scratch.mit.edu/

There is a localization in French, with every blocks being translated "If" become "Si", "When" becomes "Quand" and so on.

It provides a playground when you can move a sprite, play some sound, basic animation and management of inputs. It manages the event loop, rendering loop, etc. It is doable to some very basic games with a sprite moving/chasing others.

I think it is at the right level because it is very visual and you get the feedback immediately. This is actually used in some collège course as an introduction to programming.
They should be dragged thru coals and fined for the original practice.
> potential for good or bad ? Last time they tried to use AI for police/justice it ended up exacerbating existing biases

Both. OpenAI are trying to be politically neutral, but it's not hard to break the rails, and someone else can and will replicate the work without those protections anyway.

> What can you do with an AI you can't with humans in a court of law ?

Me personally? Afford more than a fairly small case.

> What happens if an update makes the same case get a better defence and as an outcome a lesser sentence ? do you retrial all the other similar cases ?

That's actually a great idea. The estimated cost of each query is cents, so we might very well be able to retry everyone on each update, for less than the cost of keeping them imprisoned.
Elevators in skyscrapers use lots of the energy.
Guess the owner wants to save some energy?
TIL. In my defense, the first one I remember having (on my birthday at age 4 or so) was made by a nice German lady who lived up the street from us, so I guess it was a natural assumption.
All the references to that Canadian guy being the inventor are to Anglosphere newspaper articles. Given that the German TV chef introduced Toast Hawaii considerably earlier (and TV cooks are a lot more verifiable than single restaurants) I still bet on that origin.
Cooking on gas could be behind kids' asthma symptoms
Only to have anyone now use REST and gRPC for the same kind of purposes.

The only major difference between what I was doing with RMI/CORBA and DCOM and now, is the tooling and the protocols.

Everything else, IDL files, schemas, boilerplate generation, client SDK to wrap boilerplate code,.... is just the same story with a different dressing.
Unleashing the Power of Google Cloud's NoSQL Database
I don't really understand what this is for. Surely it's easier to browse system themes in the system settings, get previews there, and instantly try them? Or does "system theme" also mean something else?

"Ark is currently in early development, and there will be bugs" kind of contradicts "v1.0.0".
Well.. it's not entirely without reason that Japanese retailers promote Japanese brands. I bought a NEC laptop in Japan some years ago, and I haven't been able to find an equivalent one anywhere else since then. Screen: 13.3" Battery: 10 hours (and yes it works in practice) Weight: 730 grams. And very thin. 2440xsomething display.
That weight.. and battery time.. I didn't have to bring a charger so it was so easy and lightweight to carry to a day-long hacking session at the coffee shop. And the Japanese non-US keyboard gave me enough keys to remap to my normal non-US layout.

Super happy with that one. I actually bought an almost similar NEC for my wife, the difference is only that hers has "just" HD resolution, and it has a (very functional) touch screen, and can be wrapped around to make a tablet (mine can open up 180 degrees, i.e. flat), and it's slightly heavier - just above 800 grams.

The negative with both is that the built-in sound is weak and thin.

But one fatal evening I managed to feed one of the USB ports with 12V, via a non-protected powered USB hub (damn adapters looking exactly the same..), which blew something inside which I never managed to fix (I should add that another plus of the laptop is that is's so easy to open, if you want to e.g. upgrade the M.2)
But I can't find an equivalent replacement outside Japan. Going back there soon I hope, so will look for the current model of my old one.

My (European) company-provided laptop is also Japanese: Fujitsu. In general it's very good, though not as lightweight as my private NEC. In the past we used HP and other brands of laptop at work, I much prefer the Fujitsu.
Best thing that could happen for Rust and Firefox at this point is Mozilla being disbanded.

As the only competitor for the status quo their efforts over the past decade have been embarrassing, gets even worse when we look even further back and see how they let IE dominance happen but never forget they existed through that, managed to take back some control then squandered it and let exactly the same history play out a second time while burning money on overpaid no-talent no-vision know-nothing execs.
I'd say that 18xx & Food Chain Magnate, are good business strategy board games.
https://boardgamegeek.com/boardgamefamily/19/series-18xx

https://boardgamegeek.com/boardgame/175914/food-chain-magnat...
> Also, modern teriyaki was invented by a Japanese restaurant owner in Seattle, and isn't as popular in Japan.

What are you talking about?

Kabayaki [0] has been around for centuries in Japan, and the only thing modern about 'teriyaki' made in Seattle was a likely mispronunciation of the phrases tori and yaki as grilled chicken and is the wide use of a cheap imitation of a tare (with a loose watery sauce) to use over animal/plant protein.

The use of Shoyu, Mirin, Sake as the trifecta of Japanese gastronomy is likely centuries older than that and likely pre-dates the inception of the US by several centuries.

0: https://en.wikipedia.org/wiki/Kabayaki
"All handicapped people are in a wheel chair"
Explanations: Play Don't Show
Hours? Seriously
Show HN: Adding better DX to my package
Fascinating. I live in Switzerland where downloading is legal but uploading is not.

So basically if you downloaded a hypothetical torrent, and set upload bandwidth to zero, you‘re safe.

I guess the lawyer could argue that I’m a bumbling idiot who forgot to turn off the upload facility…?
You could have saved yourself a lot of typing by just stating that you are Republican. California has a super high median family income that easily overcomes the extra tax [1].

You probably shouldn't have moved to California in the first place. You can get almost as much pay by working remotely for California based tech companies.

[1]
https://en.m.wikipedia.org/wiki/List_of_U.S._states_and_terr...
So users can add other users' SSH keys (sourced from GitLab, ....) to their GitHub profile, essentially depriving the actual key owner from using GitHub
Note that cdc_rsync runs on Windows and syncs to Linux. rsync is a Linux-only tool where you'd have to jump through some hoops to make it work on Windows.