HNHacker News
TopNewBestAskShowJobs

shzhdbi09gv8ioi

376 karma · joined December 21, 2022

submissionscomments
shzhdbi09gv8ioi··on Show HN: Tweening web visualisation, in Rust – (WASM)
Scene editor is one of the major lacking parts of bevy right now, but it's in the planning stage.

You can follow the issue at https://github.com/bevyengine/bevy/issues/85 if you are interested.

shzhdbi09gv8ioi··on Show HN: Tweening web visualisation, in Rust – (WASM)
bevy: 1M downloads, tons of example games, plugins and tutorials. large community of helpful people. school book example of well-run FOSS project.

fyrox: 12K downloads, first time I hear about it today.

I did a decent amount of research before settling on bevy two years ago, and I did not even encounter fyrox back then.

Since then I learned bevy and am happy working with it.

Following the bevy project's updates I gained a great deal of respect of the project lead and the long term goals of the project.

Also, since I'm mid project there's no good reason to switch frameworks now.

So why would I use fyrox?

shzhdbi09gv8ioi··on Show HN: Tweening web visualisation, in Rust – (WASM)
I'm building a game with Bevy targeting WASM currently :)

Good luck with your project!

shzhdbi09gv8ioi··on On whether we're living in a simulation
> Doesn't the non-determinism of QM in fact say that there's fundamentally an issue with computability?

One take on this that Sabine mentioned in one of her videos is that we simply do not yet understand the full picture of what gives rise to QM. If we did, perhaps it turns out to be deterministic again.

shzhdbi09gv8ioi··on OpenAI integrates metadata in DALL-E 3 images (ChatGPT and APIs)
> OpenAI is adding watermarks to images created by its DALLE-3 AI in ChatGPT, but it’s ridiculously easy to remove them. So easy, that ChatGPT itself will show you how to do it.

https://www.forbes.com/sites/barrycollins/2024/02/07/the-stu...

shzhdbi09gv8ioi··on RustPython
There's a bunch of scripting languages written in rust that targets "embed-in-rust", for example

https://crates.io/crates/rhai

https://crates.io/crates/dyon

https://crates.io/crates/duckscript

You can use the above links to browse crate "dependents", that is other crates using these dependencies if you are looking for example usage.

shzhdbi09gv8ioi··on First-gen social media users have nowhere to go
I agree with you and Kat Nagel, btw.

I think the overgrowth phase in #5 is why social media doesn't work in scale. This is what I tried to address in the parent comment (the stuff about Tribalism).

shzhdbi09gv8ioi··on First-gen social media users have nowhere to go
Discord is searchable and probably the largest source of information online today that is not being indexed by search engines.

Discord is also realtime chat/voice/video presentation and file share.

Unlike IRC all past discussion is available and searchable, so it's more like Slack / MS Teams in that regard.

shzhdbi09gv8ioi··on First-gen social media users have nowhere to go
> I miss the focused discussions

There are many such communities alive and well today, on for example Discord.

Here's one I use often, for the Bevy game engine: https://discord.gg/bevy with 3100 users online.

The issue as I see it with reddit et al is they are too open and too large.

When there are too many unknown people around, users tend to treat each other as strangers and that can turn ugly fast.

I think this is related to tribalism [1], where you can have relations and "know" a couple of hundred people, but with too many people around you no longer feel the same connection with them, they are all strangers to you.

That's just my take, but I think there's something to it. Most if not all enjoyable groups I found, even on reddit and facebook seemed to be working because there were just a few hundred to thousand people, rather than a 500k subreddit. The same held true on older forums, where usually you have a few hundred active users.

1: https://en.wikipedia.org/wiki/Tribalism

shzhdbi09gv8ioi··on WebAssembly Playground
FWIW, this is my relevant Cargo.toml settings:

  [profile.release]
  lto = "fat"
  codegen-units = 1
  opt-level = 3
  debug = false
  panic = "abort"
  strip = "debuginfo"

  [profile.wasm-release]
  inherits = "release"
  opt-level = "z"
shzhdbi09gv8ioi··on WebAssembly Playground
That's possible. I did spend quite a bit of time tinkering with compiler flags and followed the recommendations, but there is many knobs.

For what it's worth I don't think 3MB is extremely large anymore, as several popular websites already weight in 2-3 MB for a full page loads.

Examples:

  * www.youtube.com = 3.3 MB
  * www.tiktok.com = 3.3 MB
  * www.instagram.com = 2.1 MB
(according to https://www.supermonitoring.com/p/page-speed)

That said, I would love to shave off more size off my wasm binaries :-)

Some notes I found just now seems to be in line with my results, though: https://github.com/bevyengine/bevy/issues/3978#issuecomment-...

shzhdbi09gv8ioi··on WebAssembly Playground
I'm developing a wasm game, and currently I am targeting WebGL2 in order to run in iOS Safari.

Me (and others, I'm sure) are currently waiting for WebGPU [1] to land in Safari so it will make sense to target it.

WebGPU allows for simplified porting of desktop games to the web, such as WGSL shaders [2]

WebGPU will be the next big thing [3], and currently it is enabled on Chrome Windows/macOS, and can be enabled in Firefox Nightly with a config setting.

There's also an issue with limited language support. For example golang still has some stuff left to stabilize around the WASI, and the resulting binaries are rather large.

In rust, things look better. I can compile a release of my game to about 8MB .wasm file, which gzipped sits at around 3MB. Most other tooling I have looked at produces far larger wasm binaries, which makes it a no-go for mobile apps.

Hopefully, 2024 will be the year of WebGPU!

1: https://caniuse.com/?search=webgpu

2: https://www.w3.org/TR/WGSL/

3: https://github.com/gpuweb/gpuweb/wiki/Implementation-Status

shzhdbi09gv8ioi··on Netflix: Piracy is difficult to compete against and growing rapidly
> Spotify is not profitable

Their stock value doubled in the last year

Their CEO Daniel Ek is worth 3.7 billion dollar.

shzhdbi09gv8ioi··on Linux has reached 4% for the partial Feburary 2024 data on StatCounter
The more devs using wayland, the faster we'll hammer out the remaining bugs! Everyone is invited!

Color management should land this year.

shzhdbi09gv8ioi··on Fck-nat: The (f)easible (C)ost (k)onfigurable NAT
> Also, I find your reaction thin skinned-ish as well. Why throw stop commands if you ought to not care?

Oh really. You're the one who can't shut up about some app that used to be named f*ck but was renamed some 30+ years ago still grinds your gears.

It's an (ancient) light hearted joke, please just drop it.

I care about the state of the world, and I find it deeply depressing people run around being prude like we're some kind of Christian middle ages society.

shzhdbi09gv8ioi··on Fck-nat: The (f)easible (C)ost (k)onfigurable NAT
So, the link that was shared by robpike, from 2006 lays it out like this:

> First, let's review what fsck, or the File System ChecK program, actually does.

Again, stop being this amount of thin skinned, it is rather ridiculous.

shzhdbi09gv8ioi··on David Kahn has died
RIP :(

I remember reading The Codebreakers with great joy some 30 years ago. Very fascinating stories and well presented history of cryptography.

shzhdbi09gv8ioi··on Fck-nat: The (f)easible (C)ost (k)onfigurable NAT
> fsck

= filesystem check

please stop being this thin skinned

shzhdbi09gv8ioi··on Print off a QR code for guests to join your WiFi network
iphones can scan such qr code to join the network, just point at it with the camera and hud will hover with the ssid. then click on it.

i created one out of plastic beads the other year with my wife

this is what i used:

    qrencode -s 6 -l H -o "wifi.png" "WIFI:S:SSID;T:WPA;P:PASSWORD;;"
https://fukuchi.org/works/qrencode/
shzhdbi09gv8ioi··on How is a binary executable organized? Let's explore it (2014)
man strings
shzhdbi09gv8ioi··on Patients say keto helps with mental illness. Science is racing to understand why
So being highly skeptical when pointed to mountains of evidence is the reasonable conclusion?

Perhaps I just can't express myself.

There is nothing controversial here, unless you are wildly disagreeing with evolution.

shzhdbi09gv8ioi··on Patients say keto helps with mental illness. Science is racing to understand why
Yep, that is an observation. Humans do have canines.

But I asked you, how do you end up turning the above statement about the modern human into:

> I'd really like to see a human try to tear raw flesh off an animal with their canines. I am highly skeptical that would work at all.

I didn't suggest humans walked around tearing off raw meat. However, our ancestors probably did at some point.

Since our ancestors tamed the fire about 2 million years ago, we have started cooking using fire, which changed our anatomy.

shzhdbi09gv8ioi··on Marlon Brando Was a Secret Tech Geek and Photoshop Ace (2015)
I heard that Brando was an early AoL user, already engaged in internet arguments in the 90:s [1].

1: https://faroutmagazine.co.uk/why-marlon-brando-hung-around-a...

shzhdbi09gv8ioi··on Cops bogged down by flood of fake AI child sex images, report says
They are already using child protection as an argument to implement totalitarian measures.

The most recent example that come to mind is the European Union Chat Control, which were meant to break all e2e encryption, enforcing on-device data scanning and fingerprinting to function.

shzhdbi09gv8ioi··on Cops bogged down by flood of fake AI child sex images, report says
> Can drawings be illegal?

For sure.

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

shzhdbi09gv8ioi··on AI 'hallucinated' fake legal cases filed to B.C. court in Canadian first
You must be kidding right?

Your chat demonstrates most of what I brought up:

* it only spits out snippets

* it cannot produce an app

* it is hallucinating

* it is creating more work than just doing the work yourself

And its a web app, but that's on you for requesting that for some reason.

I asked for a MS Paint app. That would mean something that produce a Windows compatible EXE, not a some html fest.

> I won't ask for the rest of the features, because it's boring.

Or, because it's infeasible and you know it.

shzhdbi09gv8ioi··on AI 'hallucinated' fake legal cases filed to B.C. court in Canadian first
> And those people are now your competitors and customers.

For now, yes.

> When I can apply my experience, I cringe at the choices it comes up with, and find I want to use it as a rough guide rather than a complete answer. But you know who doesn't care about cringy code? Everyone who isn't a developer. Even QA only cares if it passes the tests.

This is a race to the bottom, surely you must understand that?

I expect some of the biggest tech companies to start limiting developer use of LLM:s soon due to the monumental technical debt they are creating.

More context: https://visualstudiomagazine.com/articles/2024/01/25/copilot...

shzhdbi09gv8ioi··on Patients say keto helps with mental illness. Science is racing to understand why
Me too. What gave you that impression it would be a reasonable interpretation of what I posted, or are you just trolling?
shzhdbi09gv8ioi··on Patients say keto helps with mental illness. Science is racing to understand why
> Humans are unspecialised frugivores.

While this is true for some ape species, it is not true for the human or our ancestors in the Homo genus. [1, 2].

> Our teeth be flat like for eat fruits and plants, not for tear meat.

That is not true. Human teeth are specialized for an omnivore diet.

> The best evidence that humans are omnivores comes from the teeth. Humans have short canines that are a functional consequence of having an enlarged cranium and associated reduction of the size of the jaws. In other primates, the canines are comparatively longer than humans as they function as both defense weapons and visual threat devices. Interestingly though, both Gorillas and gelada baboons prefer vegetarian diets. Humans may have no need for long pointy canines as carnivores do for such use, particularly for capturing prey and threatening enemies. They do have canines that are pointy enough to serve the purpose of tearing meat. The molars and premolars, in turn, are used to crush food. [3]

1: https://en.wikipedia.org/wiki/Homo_habilis#Diet

2: https://en.wikipedia.org/wiki/Homo_erectus#Food

3: https://www.biologyonline.com/articles/humans-omnivores

shzhdbi09gv8ioi··on Why do people post on [bad platform] instead of [good platform]?
It means, "read #1624" for more info.

Would be great if issues were tracked inside of the git repo tho, or the reference would point to some code hosting instance.

← PreviousPage 3 of 7Next →