skysight-inc/HackerNews huggingface dataset:
Show HN: Multiplayer Game Networking Demo
Hey HN!

I’ve been learning about Multiplayer Game Networking to understand how clients and a server interact under different network conditions, similar to the classic demo by Gabriel Gambetta (if you haven't seen it, check it out https://www.gabrielgambetta.com/client-side-prediction-live-...). As part of this, I’ve been working on improving my own version of that demo:

https://github.com/runawaytanks/demo

Why I built this?

I wanted to dive deeper into client-side prediction, network latency, and how to keep things in sync between the server and clients in a multiplayer game. This demo simulates two players interacting with a server while factoring in RTT (round-trip time) and the delays it introduces.

Instead of constantly measuring RTT, I tried a different approach by using a fixed client simulation offset (50ms) to smooth out delays without the need to constantly track RTT. But I’m not sure if this is the best strategy as network conditions can change.

I’d love any feedback or suggestions on the code, logic, or even alternative approaches!
The results here in their sample video look _really good_: other tech I’ve seen in the past looked “wrong”. But the sample input is not one I’d characterize as looking away from the screen. Eyes move around like the person is thinking. The result video only looks more focused. It’s effective in carrying focus (it really does matter when someone looks directly at you), but it’s making tiny changes.

> Limitations

> Works best with frontal face views and moderate head rotations.

> Extreme head poses or gaze directions may produce less accurate results.

There it is. To use this I’d like to see an example showing it stop adjusting when “extreme” aka normal head poses are used. If it can handle real behavior and improve eye tracking in the optimal case so it’s seamless adjusting / not as someone moves around, that would be a good product.
I’m not confident i’ll never do it again ever but after fifteen years I don’t need to trip yet since I’m still drawing from my last one. I feel that it’s useful when at a certain stage in life one needs a stir.
They're using it for data transformation.They're long time dbt users, but are switching to SQLMesh because it's extremely efficient, provides a better development experience, and can help them become warehouse agnostic.
> The mainframe itself (or any other platform for that matter) is not magical with regards to latency.

Traveling at c, if a signal travels 300 mm (30 cm; 12") that is one nanosecond. And data signals do not travel over fibre or copper at c, but slower. Plus add network device processing latency. Now double all of that to get the response back to you.

When everything is with-in the distance of one rack, you save a whole lot of nanoseconds just by not having to go as far.
The definition given by the C standard allows for safe undefined behavior.
Nima Momeni's trial kicks off over death of CashApp founder Bob Lee
I wish part of the settlement was to prohibit Marriott from retaining certain data past a few days. Why does a hotel need to hang onto a copy of my passport after I’ve checked out? Why do they need my birthday?
A truck driver in Oklahoma makes more than a doctor in Portugal
I feel like I'm hitting those midsize companies, and I'd love to be at one, but my applications get passed over like crazy.

At the same time, RSU-land is interested in me, and I have active processes with Apple and Amazon. Yet, not to sound like I'm my own worst enemy, I don't know that I have what it takes to get in at those companies. I know I've got solid skills and valuable experience, but at the end of the day... I'm up against a ton of talented people who know how to play the game, you know?

So strange to have huge companies reach out to me (I didn't even apply) and yet tiny places in my city or abroad and remote won't even give me a moment to pitch myself to them.
Well, I'm old enough to remember... https://www.atlasobscura.com/articles/procter-gamble-satan-c...
Do you really need it though, or is it some sort of placebo effect in place? I can bet most professional athletes don't use such devices.
If you're taking requests, then can the Y axis start at zero, please?

https://handsondataviz.org/images/14-detect/gdp-baseline-mer...

And what is going on with that Y axis? There is no consistent spacing between the marks!

https://imgur.com/HaJmTSU
That last sentence is an interesting sentiment. I can understand that it could be from the perspective of patriotism, supporting local manufacturing, quality perception, etc.

However, you would also appreciate that a large number of migrants (legal or otherwise) are involved in local manufacturing as well. The recent Reuters news on the matter comes to mind, "How migrant workers suffered to craft the 'Made in Italy' luxury label - https://www.reuters.com/world/europe/how-migrant-workers-suf..."
Interesting!

I have a weird memory of seeing kids in safety glasses on the tv sometime around the turn of the century…

Looks like, as with all good myths, there’s a kernel of something resembling a twisted half-truth that got blown up out of hand - https://www.theguardian.com/commentisfree/2009/dec/09/conker...
It always fascinates me how people can do this!! Would there be any write ups about how this was made, I'd really appreciate this.
It's exactly because of licencing that the situation with RISC-V is a world of proprietary SoCs with no consistency, as opposed to the open system that is an x86 PC. (That the ISA is or isn't open is trifling and matters to neither user nor kernel developer.) Essentially every single board requires its very own custom port of your preferred OS.

I will wait for x86's doom, but it will take patience. After all, people have been saying it's dying and will be replaced by some RISC alternative for over 30 years now.
> In Lisp, it’s different. There is a defined protocol for what happens when a class is redefined. Every single object belonging to the old class gets updated to the new class.

This. Lisp gives you ultimate power but of course, it means it unlocks more ways to shoot yourself in the foot in the process. Most organizations don't want "smart hacky" solution (i.e., they don't want you as the programmer to fix issues in creative ways that Lisp provides to you), instead, they want "standard processes" that can be taught to new hires (i.e., they want you as the programmer to write standard, idiomatic code that everyone understands). The latter comes at the cost of less flexibility (i.e., when your rock solid code crashes, it means you must update the source code instead of fixing it on the go like in Lisp restarts).
I didn't say everyone who is anti-vax is right wing, just that it seems to be more prevalent on the right. That's all. Please stop strawmanning me.
> get an LLM that can write production code reliably

it depends on what that user wanted the code to do, and how important it is.

For example, an average, non-technical user could use this to generate a script to sort out their email, or a script for automation in MS Office VBA.

Just because it's not perfect, doesn't mean it doesn't have a good use, and won't improve. Tom Scott's video[0] makes a very good argument: we don't know where we are on the technology curve.

[0]: https://www.youtube.com/watch?v=jPhJbKBuNnA
Combo of energy and better capital markets and banking system
That added nothing new or practical to the debate. Would like to see realistic discussions instead of more complaints that the rich have power.
I bet that thing’s hard as concrete now :)
I used Firefox for 5 years until I met my husband, who pointed out how much time I waste dealing with Firefox rendering bugs and freezing and how much it aggravates him. After the 15th time I switched to Chrome and it's helped my relationship grow. But I use uBlock Origin religiously so it's time to go hunting again...
Last I heard it was moving too fast and broke a bunch of stuff.
Can't agree more.

Erlang, FoundationDB, there's plenty of success stories of products who were EOL at some point and open sourcing was the thing that made them explode in popularity.

I think Fable is a very-high quality product, it's unfortunate it didn't materialize as a business, but the software has enough quality and popularity to maybe become something like the Blender of that niche; a thing that would be extremely beneficial to any of the founders' future endeavors.
I dunno, I'm 6'2" with corresponding hand size and I'm in the "won't go larger than a 13 mini" camp.

I think preference probably plays a bigger role than size. I see a lot of tiny people manhandling pros and maxes too.
I mentioned other cases. You are strawmanning me lol. As for prevalence, you want me to believe that the numerous people who worry about cow farts, fracking, secondhand smoke, gluten, GMOs, and non-organic food won't also be worried about toxic waste like fluoride? I think the only way they would not worry about it is because they've been told an outgroup has championed the issue.
The majority of the time the house angle is determined by the street it is on. The house is usually aligned directly with the street, with zero regard given to sun angles and shading.
I’d prefer it to be one that the developers have specifically targeted and developed/tested against, especially if there’s any GPU involvement.
I think the key quote is:

>"Claude's extensive context window has also transformed their approach to handling large codebases. When the 200K context window was released, Hedley notes they "ripped out the entire RAG and just put it in the context window instead and it went from 60 percent accuracy to 98."

RAG = Retrieval Augmented Generation

Related:

What is retrieval-augmented generation, and what does it do for generative AI?:

https://github.blog/ai-and-ml/generative-ai/what-is-retrieva...

Retrieval Augmented Generation:

https://en.wikipedia.org/wiki/Retrieval-augmented_generation

Retrieval-Augmented Generation for
Knowledge-Intensive NLP Tasks (2021) (apparently the original paper where the term 'RAG' was coined):

https://arxiv.org/pdf/2005.11401
That only works where you specified (e.g., line 42 where you invoke `code.interact(local=locals()`). Lisp's approach works anywhere (anytime an exception is raised you're thrown in the REPL).
I'm surprised that this list:

- contains the GE Advantium

- has anything good to say about it

I have one in my kitchen right now. The Advantium bulb and normal bulb broke within the first year of use. I probably used the Advantium function less than five times and wasn't particularly amazed with the results. The control dial is also broken, so all inputs register as a counter-clockwise. If you want to microwave for one minute, turning the knob in any direction starts you off at 99 minutes and you have to rotate it until it decreases to 1 minute. Needless to say I only use the "add 30 seconds" button now.
Your project looks interesting... But, what's the point, when you can easily accomplish this (and much more) simply by self-hosting XYZ, wrapped by an instance of FOO, backed by a simple cluster of BAR, communicating with a BAZ? Also Rust.
Think WAN latency. Your shitty VB6 app using some awful circa 2002 middleware dies when you have 80ms of latency between you and the server.

Insert Citrix, and the turd app is 3ms away in the data center and works.

I used to run a 100k user VDI environment. The cost was easily 4x from a hardware POV, but I had 6 guys running it, and it was always consistent.
This one in particular has mostly died - schools don't like it & children otherwise don't play outside as much.
It hadn’t occurred to me that PE is a pretty good test for ChatGPT or SOTA LLM’s in general. Even if explicit solutions for earlier problems do appear somewhere on the web, it’s probably a fairly safe bet that the latest version of ChatGPT did not include the latest Project Euler problem in its training data.
That's in addition. Just a goodwill thing that they did.
is the distribution at other groups beyond the 1% different ?

Does the Physical strength ratio flip at some point ?

Firearms: all the worlds militaries, police departments, paramilitaries, criminal gangs, habitual hunters, etc that at some point in the day possess a firearm
My solution is to not have any windows.
My solution was to not have any windows.
https://www.wsj.com/business/media/new-york-times-to-bezos-b...
> And security work is rewarded even less

While I do recognize that this is a pervasive problem, it seems counter-intuitive to me based on the tendency of the human brain to be risk averse.

It raises an interesting question of "why doesn't the risk of security breaches trigger the emotions associated with risk in those making the decision of how much to invest in security?".

Downstream of that is likely "Can we communicate the security risk story in a way that more appropriately triggers the associated risk emotions?"
I actually researched this a bit right when it came out.... I can't find my source now, but Vision Pro has its own SOC with an M2 CPU with a "2.5" GPU (between M2 and M3 families, like M2 with some goodies). Oddly, Vision isn't discussed in the handy Metal Feature Set Table [1].

The GPU Family Apple7 was the first with Mesh Shader support, but as you noted it might be software fallbacks down there.

I did just check with my Vision Pro and I get MTLGPUFamily [2] up to apple8, which does correspond to other M2 devices. I probed a max amplification count of 8.

[1] https://developer.apple.com/metal/Metal-Feature-Set-Tables.p...

[2] https://developer.apple.com/documentation/metal/mtlgpufamily
Wow, cool! I think I remember a post years ago about this project. IIRC you did a thesis in something to do with simulating brush strokes? Anyway, congrats on releasing this, super impressive to have worked on this for so long and come out with something that looks so good. (And it's awesome that you're looking into using Vello too.)
The Guru Who Says He Can Get Your 11-Year-Old into Harvard
Everything We Teach at Y Combinator in 10 Minutes [video]
You can also trigger the camera by swiping right-to-left on the lock screen or from the notification pull-down.
Less insight, perhaps, but of higher quality, which is subjective.

I personally find that googling stuff provides not much connection to the subject of study, very impersonal and try to avoid it.

For example I did google the concept, and found this https://github.com/cousteaulecommandant/ds9k.

Which is not trivial to parse, bing posited the answer as authoritative, and if you look at the code it is really nothing, it seems to be a folklore concept, and as such, it is much more aptly transmitted by speaking to a human and getting a live version than by googling an authoratitative static answer.
Graphite is to Photoshop as Blender is to 3DS Max?
It is a really cool idea - shame it was a scam. I can’t think of anything else where the virtual world represents the real world in a similar way (or even the inverse). Pokémon go feels similar though.
That's quite an overloaded name... Good luck with SEO for "how do i run arch on linux?" :p
I've geeked out on thermal mass as much as the next guy, but I don't think it's a good solution at scale. Adding thermal mass is expensive, both due to the materials cost and that it's a niche building technique. Insulation, heat pumps, and solar all benefit from mass production and technology improvements. Combine them with light-colored roofs and solar panels, and that can probably beat thermal mass construction.
Meta means dead in Hebrew
On iPhones, aren’t the passkeys stored in iCloud Keychain and managed with the nifty passwords app (I’m happy to have a real interface finally). I assume similar cloud storage for android phones?
I think almost any device that uses passkeys today has continuity to device upgrades. Perhaps if someone changes ecosystem they'll have to create a new passkey, but they'll do that with a OTP via email, likely.
Thanks for your feedback and question.
Let me explain, how the process is:
- Fashion or product brand take an image of the clothes or product. If it is clothes, this can be taken on any person (non-model) or a mannequin. If it's a product, like eg a shampoo bottle, in front of a neutral background
- Brand send the image through iVisual with a description on details, eg model should be at a beach or product in left hand
- iVisual generates images with the chosen photo model AI model.
- Brand receives the results and pay only for the ones, they are fine with.

Results look really like the real model is. the examples you see on the page are 50% real ones, 50% generated ones. so I would say its not a fake, as both the model exists, and the clothes and products too.
We should have this punishment for politicians and govt scamming people out of billions, too, then. Make it fair on all sides.
It's a bit hard for a log axis to start at zero.
"“I think if we had another six months, another couple $100 million,” he said, “we probably would have made it.”"

No way. It would only have worked if sold as a more expensive service (higher food costs/delivery fees) than conventional supermarkets--like Instacart does.
Just change your README to README.html, and put your build script there.
basically no one in the entire world was willing to spend the kind of money on massive compute and data centers that Meta did spend, is spending and will spend. The actual numbers are (I think) rare to find and so large that it is hard to comprehend it.
ChatGPT has ~200M weekly active users. There isn't really anything to believe here.
Oh cool! I've had a very unfinished unpublished SVG editor from a couple years ago with blender-ish controls that I started cleaning up a couple days ago; guess I don't need to anymore.

Here are some things in mine that I've found useful but don't see here (/ might have missed) and could be food for thought (presumably some of these are just NYI but noting them regardless): [edit: a couple of these things are already noted at https://github.com/GraphiteEditor/Graphite/issues/1870]

- shift+G/R/S for setting handle mode (bent, colinear, and colinear+equidistant respectively) works out quite intuitively; mode can be displayed as a different icon on the point (square for bent, rectangle aligned to angle for colinear, and circle for equidistant is what I use; circle is somewhat questionable but my handles have arrow tips)

- while holding just a handle, set the rotation/scale anchor point to its point

- allow both rotate and scale at the same time (maybe never useful but I still did it. ¯\_(ツ)_/¯)

- while rotating/scaling, some shortcut for setting the anchor point (esp. snapped to an element representing the rotational center of a symmetric design)

- middle-mouse-dragging while holding an element should ignore the delta mouse movement during the movement

- I draw visual indicators of the current r/g/s accumulated action (g: a line from the starting mouse position in the canvas to where it'd be dragged to; s: line from the anchor point through the current and original mouse position with different colors (i.e. the ratio of the color lengths is the ratio of scaling); r: lines from the anchor to original & current mouse position, with an arc in between (very busy-looking, don't quite like it))

- some actions - cut a path into two (a thing I don't have but have wanted is drag-selecting to cut into three), snapping to existing points if near enough; and another to join paths if two end-points are selected; and select all linked to current selection
The comment you replied to said production code.
You replace them.
We’ll post a blog post soon with specific, benchmarked numbers, but, in this case, you can have your cake and eat it too!

The compression and decompression throughputs of Vortex (and other lightweight compression schemes) are similar or better than Parquet for many common datasets. Unlike Zstd or Blosc, the lightweight encodings are, generally, both computationally simple and SIMD friendly. We’re seeing multiple gibibytes per second on an M2 MacBook Pro on various datasets in the PBI benchmark [1].

The key insight is that most data we all work with has common patterns that don’t require sophisticated, heavyweight compression algorithm. Let’s take advantage of that fact to free up more cycles for compute kernels!

[1] https://github.com/cwida/public_bi_benchmark
Wow! this will come pretty in hand when building plaintext documentation using diagrams.
Have you tried using the floating keyboard? I exclusively use it on my iPad not only for saving the screen real estate but also because I can swype on it (even though I can touch type on the big on-screen keyboard just fine; I still find it more convenient to swype with one of my thumbs, or the pencil https://support.apple.com/en-us/111789
Hey Andy, this looks awesome. Nice work!

I think I'd like to get one to track insect diversity and populations in areas where I work on riparian restoration projects. My hope is that when projects are completed, in the following years it'll be evident in the insect data the Mothbox collects. Do you think that's a valid use case? Maybe I'd need more than one to get enough data?
You may simply not be aware of the extent of the movement. The fat acceptance movement has attempted to recast the issue not as a health issue, but as a civil rights issue, where criticizing fatness is violating the civil rights of fat people. There is a National Association to Advance Fat Acceptance (NAAFA).

https://en.m.wikipedia.org/wiki/Fat_acceptance_movement

Online there's tons of content encouraging fat gain - for example Tiktok women celebrating "BBW" as a sexy thing and the r/PlusSize subreddit, where members encourage each other to remain "big and beautiful" and post anti-science content claiming that being fat is healthy. I saw for example a post by a 20-something woman who was morbidly obese and had had a blood clot in her leg but everyone was still insisting she was a "healthy" type of fat person, herself included.

Of course you will find very few doctors who will endorse this movement or its ideas. And the vast majority of us understand that obesity is unhealthy. But the fat acceptance movement has almost certainly played some role in making people believe that obesity is less dangerous than the research shows.

I won't be shy about my view here, obesity is a terrible disease and if you have it you must take steps to cure it. If you don't your quality of life will be lower in dozens of ways and you will die younger, probably not in a comfortable way. (Not to mention that its economic cost is enormous... a principal way that you can reduce health care costs personally, is to not be fat.)

First and foremost we must renew society's understanding that this is a disease, acceptance is not an option, and it must be prevented, treated and cured.
What's the intended use of the token? Is it just to fund his campaign?

I see in the article 20% of WLF's tokens are allocated to the founding team, which includes the Trump family
Were the tombs and other structures originally sealed in with no path to the outside world? Were there other rooms accessible for rituals without archaeologists having to excavate tunnels in the modern day?
Haha I didn't realize this was a joke. It was, nearly word for word, a problem on my control systems final exam a few semesters ago!