HNHacker News
TopNewBestAskShowJobs

SirGiggles

145 karma · joined March 27, 2021

submissionscomments
SirGiggles··on How Async/Await Works in C#
No there isn’t. Elixir, and by extension Erlang and the BEAM VM, doesn’t have the concept of stackless coroutines.

Task.async/1 (or Task.async/3) at a high level just spawns another BEAM process links it to the currently running process, sets up a process monitor, and then runs. Task.await/2 just pulls from the mailbox of the current process for a returned message.

SirGiggles··on Oxy is Cloudflare's Rust-based next generation proxy framework
This is a massive segue, but where would memory-unsafe languages be acceptable for use at Cloudflare? I'm assuming existing software that needs to be maintained would be one of the them but what about low-level firmware, kernel code, and so on? Would Rust would a replacement to C in those areas too?
SirGiggles··on How secure is merely discarding (TRIMing) all of a SSD's blocks?
In addition to the sibling comment, I'm surprised that there was no mention of FDE.
SirGiggles··on Ask HN: What companies are embracing “HTML over the wire”?
Also Blazer Server (C#) and the upcoming Blazor United slated for .NET 8
SirGiggles··on Trustfall: How to Query (Almost) Everything
This is completely off topic but I see your username and respond with, in a raspy voice: "General Kenobi"
SirGiggles··on White House says blog post on Nord Stream explosion 'utterly false'
The irony of accusing HN to be communist while ignoring that this is also a site where companies seek investment from venture capitalists
SirGiggles··on Ask HN: Is anyone successfully self-hosting Firefox Sync?
Have you tried tapping the version number (under the in-app Settings) five times? That reveals an advanced sync settings near the top iirc.
SirGiggles··on Ruby 3.2’s YJIT is Production-Ready
That looks so cool.

Do you have any resources you would recommend to someone who want's to explore (or develop as you have) in this subject?

SirGiggles··on What should I know about garbage collection as a Java developer?
> Yes, you can't push Discord -levels of messages with a GC language (like their famous "we moved from Go to Rust" post told us all).

You can to a (pretty big) degree, as Discord have publicly stated in engineering blog posts:

- https://discord.com/blog/how-discord-scaled-elixir-to-5-000-...

- https://discord.com/blog/using-rust-to-scale-elixir-for-11-m...

SirGiggles··on Owl: A toolkit for writing command-line user interfaces in Elixir
Did you misread "unrelated" for "unreleased" in the first sentence?
SirGiggles··on Owl: A toolkit for writing command-line user interfaces in Elixir
brightball is perhaps alluding that the BEAM VM environment itself is treated more as an operating system within an operating system rather than just another process in an operating system.

The BEAM VM is unique (at least compared to mainstream languages) in that everything is run as a preempted, stackful coroutine. The result is an environment reminiscent of an operating system.

SirGiggles··on What’s Left in the Apple Silicon Transition
But are you not implying it with original statement?

Apple has publicly stated during their keynotes (albeit with slides that present minimal information) the efficiency their CPU holds over the aforementioned companies. And that isn't even going into the mobile space where Apple still holds the crown when it comes to performance on synthetic workloads.

Revisiting the keynote where the M1 was introduced [1] at 8:48 Apple states that the M1 uses the world's fastest CPU, which ties back into your argument, but then at 9:51 talks about performance per watt.

Apple does it again when the M2 was announced [2] at 58:21.

This isn't to say your argument isn't a valid one, and I hope I didn't give the impression that it is wrong; the optics has, at least in my perspective, shifted towards preferring power efficiency over raw performance output. What with tech news of x86 CPUs and GPUs from Nvidia and AMD consuming more and more power the M1 and M2 sip power by comparison.

No one doubts the performance of Apple devices, it's mainly efficiency by which it does so that has everyone paying attention to it.

[1] https://www.youtube.com/watch?v=5AwdkGKmZ0I

[2] https://www.youtube.com/watch?v=q5D55G7Ejs8

SirGiggles··on The year of C++ successor languages
Would the downvoter like to comment as to why I too got downvoted?
SirGiggles··on The year of C++ successor languages
Not the poster of the comment but I'd like to hear from the downvoter why this was downvoted.

As a Rust novice, interpreting the comment GP made (from the perspective of, for example, C++ calling Safe Rust core or stdlib) this seems like a valid response.

SirGiggles··on What’s Left in the Apple Silicon Transition
Wouldn't it be more accurate to say efficiency instead? It's to my understanding that the latest offerings from both AMD and Intel are competitive in regards to synthetic benchmarks at the cost of higher power consumption.
SirGiggles··on Xbrowsersync – open-source Bookmark Synching
In their FAQ[1] (under the heading: "How is my data encrypted? I’m concerned about submitting it to unknown and untrusted servers. Can it really not be decrypted by anyone but me?" or if you click on "Show more FAQs") they list the following:

"xBrowserSync utilises the browser’s native Web Crypto library to encrypt your browser data client-side before it is transmitted over the internet. For key derivation, xBrowserSync uses PBKDF2 with 250,000 rounds of SHA-256 (as a comparison, LastPass’ key derivation uses a similar approach but with only 100,100 rounds by default). The data is then encrypted using AES-GCM with a random 16 byte IV and the user’s random 32 char sync ID as a salt. This approach ensures your data cannot be decrypted without your sync password (which is never transmitted) so please ensure you use a strong password! If you would like to review the encryption code, the relevant functions are getPasswordHash and encryptData."

[1] https://www.xbrowsersync.org/#faqs

SirGiggles··on Elixir – HUGE Release Coming Soon
I don't think Jose has had any announcements in the past that were jokes.
SirGiggles··on Elixir – HUGE Release Coming Soon
Can you at least give us a little tease as to what domain the new project is targeting?
SirGiggles··on Ask HN: Any good black Friday deals?
To my understanding, it's just a lack of support from both macOS and third-party vendors. There are numerous other reports of successful usage in Bootcamp albeit with some caveats.

Regarding VMs, and this is hardware dependent due to IOMMU groups (and is based on a Linux host), but I also recall cases where this is possible on reddit.com/r/VFIO

SirGiggles··on Ask HN: Any good black Friday deals?
Right now (for my use case) it's primarily for GPU pass through into a Windows VM via Qemu/KVM.

If that doesn't work, and since it's just PCIe, I wanna try experimenting with setting up 10 Gigabit fiber to a home server.

SirGiggles··on Ask HN: Any good black Friday deals?
Bought myself a Razer Core X (Thunderbolt 3 eGPU enclosure) for CAD$109.99 a few days ago. Was a discount of 71% off from an original price of CAD$389.99. Not sure if the US site reflects the same kinds of savings.

https://www.razer.com/ca-en/gaming-egpus/Razer-Core-X/RC21-0...

SirGiggles··on VirtualBox 7.0 Released – Full VM Encryption Support, New Direct3D Acceleration
You _can_ use various hooks to dynamically bind and unbind on a single GPU system but that would be another degree of difficulty for newcomers (on top of potential buginess throughout the stack).

As to the latter part of your first sentence, I believe that virtio-gl works in the manner you describe. Thought it is Linux only. I have experimented with it on Proxmox and it works well enough.

SirGiggles··on VirtualBox 7.0 Released – Full VM Encryption Support, New Direct3D Acceleration
People were already playing GTA 5 at least five years ago using VFIO/PCIe Passthrough.

EDIT: Correction, it was four years ago from my few seconds of rechecking myself

SirGiggles··on Framework is now available in Australia
It's all Intel iGPUs, there are no discrete GPU offerings

E: IIRC some in the community have reported that the USB-C expansion slots are in fact Thunderbolt 4 (I'm not exactly sure on this point but my recollection is TB4 rather than TB3) so you could go the eGPU route

SirGiggles··on Please Use ZFS with ECC Memory (2014)
To my understanding for DDR5 on-die ECC is due to the high frequencies the individual dies run at. You are still vulnerable for anything between the RAM to the CPU.
SirGiggles··on NGINX Proxy Manager
Just gonna be honest and just flat out state that I'm kind of lost on what's going on.

What is kuschku arguing against in ELI5 terms?

SirGiggles··on NGINX Proxy Manager
Just a quick query from someone who has beginner level experience in NGINX and Caddy. Doesn't this PR [1] for Traefik imply that trailing dots for FQDNs are fixed?

[1] https://github.com/traefik/traefik/pull/4763

SirGiggles··on Intel's New Chimera: Alder Lake
I believe Sierra Forrest will be first in the new line of E only CPUs to do just that [1]

[1] https://www.servethehome.com/intel-sierra-forest-the-e-core-...

SirGiggles··on A Census of Minecraft Servers
In essence, without knowing much more about your setup, you're just shifting responsibility somewhere else.

Whitelisting is the route most (no actual statistics to backup, but based on personal intuition) would take because the server can prevent a connection after making a authentication (online-mode=true) and authorization (white-list=true) check.

Mesh like VPN solutions used to be popular in the past with software like Hamachi but, at least in my experience, performance was dismal and required additional setup for potentially non-technically minded end users.

SirGiggles··on Why Discord is switching from Go to Rust (2020)
Bit of a late reply, but how does Elixir fit into the overall strategy? Is it still like how it is described in previous engineering blogs where it acts as a kind of orchestrator for guilds?
← PreviousPage 3 of 4Next →