Hacker Newsnew | past | comments | ask | show | jobs | submit | dschulz's commentslogin

One of the few things I miss after ditching the mac


Very interesting! The choice with the subnetting is a bit odd to me, it's surprising that you got the hosts talking to each other with that addressing. I would have chosen a proper /30 between the two computers, that would be 10.0.0.1/30 and 10.0.0.2/30.

    10.0.0.0 network address
    10.0.0.1 host (usable)
    10.0.0.2 host (usable)
    10.0.0.3 broadcast address

Nice writeup nonetheless!


Yeah, someone else mentioned this on reddit. When taking the time to think about it, I as surprised as you are that it worked. I'll update the post when I have more time to take care of all the things people suggested


unfortunately, compilation times are not so good.


Well, you do most of your compilation, test, and debug under the JVM and only do final test (and possibly debug) with native compilation.


Interesting bits are to be found under the rug :-)


Very useful. Just built and installed with the Go tooling.

Friendly reminder: you can name the binary WHATEVER YOU WANT in your system. There's absolutely no need to nitpick on the name.


It's more about the discovery on search engines than in my own system.


Back in 2020 I could very well have been the Pete in this story. I was struggling so bad with mental health issues, financial issues. On top of that, my father was giving the figh to prostatic cancer. I was just starting working remotely for the first time for a Canadian company. My employers were the nicest guys I have ever meet online and I was thrilled to have been asked to work for them as a software developer. At first I felt relieved because I finally landed in a job to do things I like using the tools I like with great people. Even though I desperately needed money, I was willing to work on a dime just to prove myself that I was sufficiently skilled to be "one of them".

But as exciting as it felt, there was an impedance that made things so difficult for me and my brain. It rapidly started to erode my self-confidence, I began pushing so hard trying to solve every task and every little detail in the most perfect way possible and felt like I was failing at everything. I certainly was failing at one thing and it was communication. The language was a barrier (English is not my native language), and I think there might have been some kind of «cultural mismatch» at play too. In hindsight, I think my employers were also failing to read what I was writing on the wall. I let them know I was struggling with mental health issues and I think I made sufficiently clear what my struggles were. They tried to help me the best they could but kept insisting on things that were irrelevant to me. Apparently they thought maybe I was doing "just a theatre" because I was afraid of asking to renegotiate my compensation (I wasn't). That was particularly frustrating to me.

At some point, feeling like a lightning rod in the middle of a thunderstorm, I was on the brink of doing what can't be undone. I had it all planned.

Lucky me, my wife was wakeful enough to notice what was going on and helped me get out of the pit.


Oh my, I hope you're feeling OK now. Some of what you're saying rings familiar to me, I've got a German/Swiss cultural background and was in Canada, and do think this background can give difficulties. I also do think that mental health problems are difficult for others to do anything with, so it may have made them nervous and act counter productively. I hope you're finding or have found good therapy. Let me know if you'd like to talk (contact in my profile).


Thank you! I'm much better now.


Probably I'm just naive but I really don't understand this cyber warfare theater. Why aren't all internet operators in the free world just blackholing all russian ASNs (complete with the other allied bullies) from the internet routing tables? Wouldn't this be enough to avert all the nasty attacks on critical infrastructure?


If we did that, Russians wouldn't be reading HN and Twitter now and wouldn't be seeing images of abandoned/destroyed Russian vehicles, captive Russian soldiers, wounded civilians (who likely have Russian relatives). They probably wouldn't know that the tiny Ukrainian air force has downed multiple Russian aircrafts.

They wouldn't see the outpouring of support for the brave souls in Russia who take to the streets to protest the madness.

They wouldn't be able to keep contact with friends, family and ex-colleagues who can provide them with unfiltered (or at least with other filters applied) information.


This won't work at all. They'll just attack from a point of presence inside our borders. Any cyberattack that can be traced to a country is because they want it to be traced (eg to send a message)

It'll be a possible sanction because it will hurt the Russian population and businesses. But it won't avoid any cyberattack.


You'd have to cut literally every cable and satellite connection and radio transmission in and out of the country. With something as geographically distributed as Russia, that sounds very hard to convince every country to convince every operator to... and even then, there's some wireless options.


Presumably there's a Pareto 20% (or smaller I'd imagine) of connections that carry 80% of the traffic? At very least the increased latency of being forced onto suboptimal paths would be a statement


Sure, but whose traffic is truly going to be disrupted? There's a reason they had this stuff about being less dependent in the past, I seem to remember they disconnected DNS traffic to the outside for a day as a test a few years ago. This 80% will impact the netflix/youtube streams, video takes a lot of bandwidth (megabits per second) compared to push-to-talk audio (kilobits per second) or plain text (~21 bytes per second is the average american reading speed). Sure there will be overhead and webpages are crazy nowadays so you need more than 21B/s, but e.g. email can work very easily on 20% of the typical bandwidth (probably also 2%, but it depends on the specifics, e.g. QoS would help a lot there).

And even if you reduced it to a few megabits snuck in and out for the whole country, the military would use that and what's impacted is civilians. Bad for the economy? Meh, if all countries were already convinced to be against russia, then trade would be at a standstill and no comms for civilians would not matter that much financially.

That's not to say it's not worth a try, but I expect it won't be effective, or if it is, I'm skeptical that it would hinder them much more than any traditional trade limits already could.


I don't think it's necessary to physically cut cables. What if critical infrastructure is isolated from savages by just not having routes to/from them? I mean, in a similar way the Team Cymru UTRS[1] works by publishing a list of BGP filters to be imported in routers.

[1] https://team-cymru.com/community-services/utrs/


Agreed, it was a metaphor and not really meant as a call for physical damage that would (presumably) later have to be fixed again anyway. I should have written that more clearly.


Russia has a lot of spy satellites. A bunch of them could serve as bridges between Russia and regular homes in EU/US with a good fiber connection, datacentres, etc. Also microwave or fiber connections through the border to the many countries around them.


That would cut off the libgen though, so I'm against that.


In the case of a hot war involving hundreds of thousands of troops and the 4th vs 7th largest militaries, maybe free access to papers isn't the most pressing issue.


Keeping as much communications channels open is of severe strategic interest. Transparency is a weapon of democracy. In the age of information media images can help in a war and cutting off any lines would only solidify the grasp of domestic propaganda for everyone.


There's a balancing act there. Open communications are strategic. However, bidirectional communication that can be used for cyberattacks is a weakness. I mean, how much citizen-to-citizen communication to Russians is worth compared to the cost and probability of a well-organized cyberattack.


That was obviously a very serious comment I made.


the wordle craze is getting out of hand


Impressive. Yet another disappointing reminder that, as a programmer, I'm not worth the salt of the food I eat daily.


Dude, this thing is a toy of sorts and the author spent quite a bit of time on this. No reason to knock yourself down.


As someone who’s spent their career gluing react libraries together, something like this does make me wonder how good some people really are with computers. It’s all the same assembly instructions in the end


Sometimes that kind of work has a lot of impact. For example, people at Google used to joke around about how they hire PhDs to write HTML, but it was important HTML. Just like I'm sure the React libraries you're gluing together are being used for important things. The work I'm doing right now is flashier, but I had to make a lot of personal sacrifices in order to be able to do it.


I think thats the rub these days. With such an impressive mountain of free and indeed proprietary software, the money is going to be mostly in how you glue it together to solve a problem for a business. Getting something in a low number of bytes is not rewarded when gigabytes of storage are so cheap.

To create something that doesn’t fir this mould has to be more like a “recurse centre” project - a labour of love you have to finance yourself.


> storage is cheap

Sometimes. Sometimes not.

The physical HW, i.e. RAM and HDD storage is cheap but price you pay for accidental complexity is high. E.g. when your non-tail-call recursive calculation eats away all available memory. And you need to persistently store the intermediary results - just a handful of long integers in a dbase. And that dbase must be set up and maintained. That means dealing with access rights, usernames, passwords, replication, backups etc. In every environment: prod, tests, on every development branch (separately!), etc.

In another dimension, read / write operations mean yet more side effects to deal with. And on top of that, dealing with intermediary results means yet more accidental complexity in the source code.

So no, the workaround for "the memory limitation problem" can be in fact the most expensive part of a project. And now imagine, the data grows day by day...


There quite a few outliers and 10x programmers when you consider that there are millions of programmers. most of us are somewhere in those two quartiles in the middle. Be happy with what you can do and always try to improve don't try to compare yourself to the Einsteins of the world, you'll always be disappointed. be happy that you're good enough to be a professional but always be a little bit restless.


I have sent this article to some folks and plenty of them had the same reaction. A bit like math envy, it is normal to have when you lack a formal education and all you did professionally was writing CRUD apps. It does _not_ mean your work is in any way less meaningful though.

And yeah it is indeed impressive and maybe the coolest thing I've seen this year.


Very cool project! It's exciting to see two reputable Qt & KDE devs doing fresh stuff. (as a long-time linux user and Qt and KDE hobbyist I recognize their names like a sports fan recognizes their favorite players' names)


thank you :-)


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: