Readit News logoReadit News
Yukonv commented on Rust error handling   bitfieldconsulting.com/po... · Posted by u/bitfield
WorkerBee28474 · a year ago
For those who want to experiment with this style in C#, I've found this package to work: https://github.com/JohannesMoersch/Functional
Yukonv · a year ago
Another good option I’ve personally used if you want a smaller API surface with just Result and Maybe concepts is True Myth. https://true-myth.github.io/true-myth-csharp/
Yukonv commented on High-speed 10Gbps full-mesh network based on USB4 for just $47.98   fangpenlin.com/posts/2024... · Posted by u/fangpenlin
Yukonv · 2 years ago
Related, Intel was showing off Thunderbolt Share at CES[1]. Allows Thunderbolt 4/5 device-to-device transfer of files. Theoretical speeds in the 20Gbps and 40Gbps for Thunderbolt four and five respective.

One idea for why they were only able to reach 11Gbps is having only one Thunderbolt/USB4 controller[2], meaning the two USB4 ports split the 40Gbps PCIe lane. Throw in a full-duplex connection and you get 10Gbps in one direction.

[1] https://youtu.be/GqCwLjhb4YY?t=81 [2] Just a theory but seems like a sane assumption.

Yukonv commented on Super Mario 64 on the Web   probablykam.github.io/Mar... · Posted by u/nazgulsenpai
zeta0134 · 2 years ago
In Firefox you can work around this. Click on the padlock next to the URL, then click the Right Arrow, and More Information. Head to the Permissions tab, scroll down and find Autoplay, and switch it to "Allow Audio and Video." Refresh, and you should have sound.

For whatever reason Firefox blocks it, tells you in the console that it blocked it, but fails to present the extra little UI in the site info dropdown that would usually expose the user override. Might be a bug with how this particular game sets up the web audio context or something.

Yukonv · 2 years ago
Great find! Seems to be a common issue with games, found the same issue with trying to auto play PICO-8 cartrages on web.
Yukonv commented on Super Mario 64 on the Web   probablykam.github.io/Mar... · Posted by u/nazgulsenpai
Yukonv · 2 years ago
Firefox prevents audio from playing with no initial user interaction like a play button. Can see the warning if you pop open the dev console. Don't know of workaround besides sites not creating an AudioContext on page load.
Yukonv · 2 years ago
Edit: Keyboard input does not work :/ it was a good effort.

Found a workaround throw it in an iFrame and have the frame load with a user interaction. Here is a jsFiddle link, just click "Run" after the page loads.

https://jsfiddle.net/sg1r3h60/

Yukonv commented on Super Mario 64 on the Web   probablykam.github.io/Mar... · Posted by u/nazgulsenpai
amlib · 2 years ago
No sound on firefox :(

But still awesome seeing the game pop up instantly with no loading, prompts or whatever. Just like turning on an actual n64.

Yukonv · 2 years ago
Firefox prevents audio from playing with no initial user interaction like a play button. Can see the warning if you pop open the dev console. Don't know of workaround besides sites not creating an AudioContext on page load.
Yukonv commented on Ask HN: Is your company sticking to on-premise servers? Why?    · Posted by u/aspyct
AgentK20 · 6 years ago
Great to hear! Lots of the people who learned how to code because of Minecraft have ended up all over the industry. It's where I got my start, as well as many of my coworkers. That's part of our passion for making Hytale, to empower the next generation of youth who want a game they can tinker with and use to learn. If you haven't seen it yet definitely go take a look, got lots of cool plans for moddability and customization :)
Yukonv · 6 years ago
Little late but though I would say hi. I too got started programming thanks to Minecraft. My first real job was working at Overcast Network (oc.tc). I remember having to scale out our infrastructure to seven dedicated servers after a popular YouTuber featured us. At the time that felt crazy for a Minecraft server and here you are now with hundreds of servers. Huge congrats on scaling to where you are today.

Have lots of fond memories of those early years, especially Minecon 2013.

u/Yukonv

KarmaCake day395May 13, 2020
About
https://yukon.io
View Original