HNHacker News
TopNewBestAskShowJobs

gallexme

236 karma · joined June 10, 2016

submissionscomments
gallexme··on Building a Distributed Turn-Based Game System in Elixir
> I'm pretty unfamiliar with BEAM. Does this "processes all the way down" span across machines/VMs?

yes for example if u had a process named on a different Machine(Node called in Erlang) called "Alice", u could from a different Node send it a message using the Node Identifier as additional parameter example:

[coolest_node | _rest_of_nodes] = Node.list()

Process.send({Alice, coolest_node }, :hi)

gallexme··on Building a Distributed Turn-Based Game System in Elixir
I'm currently building a distributed mmo emulator using elixir, and it's going well (performance/bug/effort wise). Distributed via horde/libcluster libraries, ranch as acceptor pool, using livebooks for debugging and performance testing.

I couldn't really ask for anything better, as solo dev in less than 100h basic distribution solved(one process per map, one per player. Maps are spread around the erlang cluster using horde, if a map crashes players seeemlesly reconnect in less than a second, and the map may actually be on a whole different system, especially when the node becomes non viable) Basic monster ai, fighting logic. Respawn/monster drops, extensive ddbuggability using observer (gui tool included in erlang, allows me to send messages to processes/see their status/ what they do, maybe kill them in the whole erlang cluster ) Can just use livebooks to do more extensive programming (just connect to cluster, execute a mark down files code blocks, see results live ingame and in the livebook)

It's a very great and easy language for this. I may consider moving couple of things to rust using rustler tho for the fun of learning about nifs

gallexme··on Livebook: A collaborative and interactive code notebook for Elixir
If u use live book to print the erlangs distribution cookie, u still would need to steal the inter nodes certificate and be on the server network to do any shenanigans

But how would u get into livenotebook in first place if u shouldn't have access to the container it and the connected nodes run on? I mean u can easily destroy a production system with couple erlang commands

gallexme··on Buildroot – Making Embedded Linux Easy
Does guix build for any embedded ish devices?

Like u-boot+ custom dtb's kernel etc?

Mmh I should have a look at how guix n nixos support rpi and similar devices, maybe it's adaptable

gallexme··on Buildroot – Making Embedded Linux Easy
Afaik yocto is the go to when u need to manually specify every version and have everything in ur hands

Took my boss like 2 months to get lamp stack fully working

Or need deeper customizations / very special operating systems

gallexme··on Building a high-scale chat server on Cloud Run
Probably cause erlang scales extremely well as gateway and it doesn't take much hardware to handle 2 million live connections with it (https://www.phoenixframework.org/blog/the-road-to-2-million-...)
gallexme··on Building a high-scale chat server on Cloud Run
And as hosting Hetzner.de

Also happy client im easily handling hundred thousand connections for less than 80€/mo

gallexme··on Apple silicon M1 as-a-Service
(if i get it correctly it's mostly cause it's a gpu bound task? (hardware acceleration of the browser engine?)) Back in 2017 hetzner offered gtx1080s for around 70€ a month with 64gb ram and and a 4+ghz quad Intel CPU, n 2x 512gb ssd

Im sure these days it's not hard enough to find smth with equilavent processing power in that price range

Maybe even direct contact with hetzner could help you out these days(they stopped offering them cause of abuse)

And if it's not a gpu bound task but badly concurrently cpu tasks Then maybe a game server specific dedicated hosting (they use consumer CPUs with uo to 5+ghz single core performance) wouldn't also be a lot of money

N if its a good concurrency task then the amd CPU offering of hetzner beats all(high memory, insanely fast iops, lots of core) , and has a offering for 5950x these days

gallexme··on Show HN: Owncast – An open-source, self-hosted live streaming server
It was included in nginx plus subscription as far as I remember
gallexme··on Scaleway Stardust Instances
The fishy parts are about cloud-mercato Not scaleway
gallexme··on Scaleway Stardust Instances
> But Hetzner's lack of firewall

the cloud offering doesnt has any which is controllable with the webinterface,but the machines are still firewall protected(mostly for ddos/abuse), but i would just use a firewall vm as entry point and keep the production machines in a private network

u could also use the dedicated servers firewall(the Konsole for dedicated servers has firewall rules in the webinterface, u can attach vswitches to cloud instances)

gallexme··on Scaleway Stardust Instances
it all seems a bit fishy

there ads for scaleway on the linkedin page on cloud-mercato, "A week ago, Scaleway release the European VM with the lowest price. This week, place to the biggest machine with 448 CPU and 7.6 TB of RAM aka "#baremetall Ultimate Performance"." they only have 1 employee on linkedin, company location paris

the website is owned by a portugese company called balladscale with 2 employees and generates $56,524 in sales (USD).

unless cloud-mercato is just a buggy mess, it feels like its been put up in last minute, there bugs everywhere

after logging in with a computer

they dont even offer a "price score" for hetzner https://imgur.com/a/ymMUTj0

and dont offer a storage performance for scaleway https://imgur.com/a/3qZuxdK

they do offer to a "compute score" comparison with both in it and the hetzner machine is somehow ~3% slower, but that doesnt make up the price difference metrics on scaleway website

https://imgur.com/a/o7MO8Nb

gallexme··on Scaleway Stardust Instances
Idont know, the "independent" benchmark site doesn't really work on mobile, n most links go to some kind of broken login Form

But ime scaleway had slower cpu crunching Power and web requests per second than similar hetzner cloud machines, and online. net(parent company) always had routing problems to me which couldn't be resolved in timely manners (1gbit dedicated server only 100mbit arrived at my place)

gallexme··on Scaleway Stardust Instances
Weird price /performance comparison with hetzner, their cheapest is 2.89€ scaleway is 1.8€, hetzner offers double ram and storage and 1+gbit internet (in my experience usually 2.5gbit)
gallexme··on Notepad++ 7.9.1 – pour Samuel Paty
He wasn't a victim, he was The victim, that's what the commentor above tried to say, he was specifically targeted
gallexme··on NixOS 20.09 Released
Depends on what u want to do with it, I had the same config for a dedicated server at hetzner(nixos) , desktop, laptop with just a flag depending on the features I needed (server with xrdp, laptop with i3, desktop with KDE)

U can replicate the system to anything, even build new config in a vm in seconds, or turn it to a USB stick, or iso, but u need to manually copy the home folder ofc

It rather sounds as if u only read about Nix and not Nixos and the integrated ecosystem

gallexme··on Some idiot is using your tool to mass scan our network
Ddos tools usually use amplification, instead of sending 1:1 bytes (that is u sending 1 byte and receive 1 byte as answer) They may query a database instead which a 30 byte search query results in couple thousand bytes of results + the load on the database

It would be expensive to just use raw network power to overwhelm a web service(u would need more bandwidth than the host)

Meanwhile with amplification u only need a 10th or less

Here an example https://www.imperva.com/learn/ddos/dns-amplification/

gallexme··on Some idiot is using your tool to mass scan our network
I'm sure ur already sending 10k+ packets from just casually browsing their website, albeit they would be a lot bigger than massscans(which is a couple of bytes), vs http (a couple of million bytes(assuming the website isn't plain teyt)
gallexme··on Some idiot is using your tool to mass scan our network
Then u send 1-2 packets to apples entire ip range, there's not much harm done, the tool doesn't send packets to one and another, it partitions the whole ip list and sends it in random order so that not a single endpoint gets hirt hard , usually a single machine can handle easily 100k packets per second, they not hitting an application most of the time at all, they incomplete tcp packets, and just check for existence, they not sending a a huge chunk of packets repeatedly
gallexme··on CNCF Cloud Native Interactive Landscape
we are already looking at k3s and microk8s

before that we used rancher 1.6 and docker, but rancher 1.6 is dead and was a hell of a software on its own(java extremely high memory usage, obscure bugs, and a team which abandonded it pretty early once 2.0 was released)

gallexme··on CNCF Cloud Native Interactive Landscape
anyone knows some ressources for running kubernetes outside the cloud?, like guides/best practices/example setups

like 1-2 machines scenarios inside airgapped companys, collecting and processing measurements and displaying them, used by managers of industry companies which expect a one click app install etc?

i really struggle with kubernetes in that case, and theres barely any documentation/best practices

i found it easy to run kubernetes on google,amazon,hetzner, but outside that it feels like hell

gallexme··on Emacs 27.1
Have a look at https://gdal.org/index.html

Solved a lot of weird open formats issue we had

gallexme··on LSD Chemist William Pickard to Be Released from Prison
I tried ETH AL and 1p half a month apart , they all been a lot of different

AL lad 150ug was happy ish almost no visuals, very slight mind changes

ETH lad 75ug played most with my mind visuals were weak but very distinct to lsd, touch was amazing,but was extremely easy to get afraid of smth(thought loops etc)

1p lsd 125ug was just like lsd with maybe more vasoconstriction atleast hands felt colder n hikes were more exhausting than lsd

gallexme··on LSD Chemist William Pickard to Be Released from Prison
Typical cause that's the end result of most commonly used mass synthesis

Lsd is also exclusively sold as tartrate

gallexme··on LSD Chemist William Pickard to Be Released from Prison
AL and ETH n a bunch more (mipla ...) are all very different to lsd, they only show chemical similarities, but so do melatonin and dmt :)
gallexme··on LSD Chemist William Pickard to Be Released from Prison
1cP-LSD
gallexme··on SARS-CoV-2 detected in Barcelona sewage water sample from March 2019
According to the paper : All samples came out to be negative for the presence of SARS-CoV-2 genomes with the exception of March 12, 2019, in which both IP2 and IP4 target assays were positive. This striking finding indicates circulation of the virus in Barcelona long before the report of any COVID-19 case worldwide.
gallexme··on Ubuntu 20.04 LTS Set Up OpenVPN Server in 5 Minutes
Do you mean this? https://www.zerotier.com/manual/
gallexme··on Ubuntu 20.04 LTS Set Up OpenVPN Server in 5 Minutes
My personal opinion is going with ZeroTier instead, had more trouble with wireguard then its worth (V likely issue on our end, Ds-lite users couldn't connect, handshakes not working until wireguard server /firewall restarts etc) meanwhile ZeroTier was on all devices 0 setup apart of setting dns servers (+ busted through all firewalls the users had /corporate it's)
gallexme··on Swedish hospital suspends Covid-19 treatment with chloroquine
Do you know about any treatment of chloroquine in combination with zinc to stop the replication of the virus? Zinc to stop RNA copying , chloroquine to let zinc into the cells
← PreviousPage 3 of 5Next →