260 karma · joined Apr 17, 2013 (13y ago) · 79 submissions
[ my public key: https://keybase.io/nitrix; my proof: https://keybase.io/nitrix/sigs/5UQz9eiKAm7nDhGEjIFIqqI6nk81Ab5tFd-DTrPZY8A ]
comment 5y ago · link · parent
The language allows too much freedom for a beginner and things can go bad quickly if you aren't rigorous about developing the right habits.
Years of experience helping people and seeing it happen first-hand is what leads to these strong opinions that you interpret as gatekeeping.
comment 5y ago · link · parent
The books were triaged based on the feedbacks we heard, the kind of questions that are asked on the channel, or how confused those readers are after reading through them.
comment 5y ago · link · parent
The bickering that's going on means someone has a hidden agenda, got their ego bruised or maybe the laws are just outdated and needs corrections.
Either way, people aren't great with change. Changes to the law takes a lot of time and often your request just gets ignored unless you literally force them to look at your issue.
Well, that's what they're doing. I have no problem with it, no one gets harmed, people are safer, laws will improve, it's just wins everywhere.
comment 5y ago · link · parent
We're talking about very active construction, large space rocket, launches, tanks, gasses, cranes, lifts and various other hazards.
At least they are being responsible and have people's safety in mind by controlling accesses. I imagine the local residents are well aware of SpaceX's operations and keep their whereabouts safe.
What is the alternative? No security guards?
Yeah no. I'd rather have my legal department battle it out with the authorities. They made the right call until the babies can all agree.
comment 5y ago · link · parent
I watched the drama unfold and consider myself informed enough to develop my own opinion, which coincides with that of the staff.
It’s been a completely smooth transition and don’t see how Freenode will recover without these amazing people.
As for the “ridiculous statement” and the need to feel ashamed, I leave that to future me to decide. Not you.
comment 5y ago · link · parent
People find a language/library too complicated, so they go on their own to write a simpler version, only to find out that they missed very important cases that prevents it from having the same qualities.
Grudgingly, they then gradually re-introduce what they initially strongly opposed against, but now they also have to work around their current design and bogus abstractions that wont let that happen easily.
That's going to create a lot of cruft, edge cases and API complications, to the point where a bystander might decide it's too complicated and, they too, go on their own write a simpler version.
Go hasn't learned a single thing.
comment 5y ago · link · parent
The use of "when your logic" doesn't limit you to programming languages or imply that one is involved.
I'm not sure why you feel the need to unnecessarily correct me on that.
Also, of course the definition is quite general and, of course, Prolog is famous for excelling at it. Those are precisely the reasons why I mentioned all of the things that I did, in the way that I did.
I really don't understand why you think it's necessary to put emphasis on that a second time.
comment 5y ago · link · parent
"Avoiding a configuration like 1,1,1" isn't enabled by backtracking. Rather, it's a constraint placed on the search space (domain), for which, the generator wont need generating solutions that needlessly gets tested.
Your son would probably really enjoy Prolog (and Logic Programming in general) where these concepts are much more developed.
Check out the channel "The Power of Prolog" on YouTube to get your mind blown: https://www.youtube.com/channel/UCFFeNyzCEQDS4KCecugmotg/vid...
comment 5y ago · link · parent
This has no merits with regards to science or the hacker mindset (thinkering with things, technology or engineering).
It's someone with an agenda, trying to leverage the reach this platform has for the wrong purposes. (Propaganda/incentivise cancel culture).
Does not belong on Hacker News.
comment 6y ago · link · parent
C11 6.5.3.2p3 “The unary & operator yields the address of its operand. If the operand has type ‘type’, the result has type ‘pointer to type’.”
I understand the intention to warn about the abstraction C introduces, but you’ve confused things.
Pointers and addresses are perfectly covered.
What you really want to bring is what the Standard calls the “C abstract machine”, for which the memory model can be surprising.
comment 6y ago · link · parent
comment 6y ago · link · parent
We used to have dedicated 50 Gbps fiber connections straight between the web and memcached nodes, but now the caching is done locally on the web servers with a lot more of them. I would say there's probably something like 100+ servers, 128/256GB RAM each.
All the pages are server-side rendered. Every DB query, every DAO object instantiated, every partial/full page HTML render, even some functions at times, gets put into cache. We weren't really afraid of high traffic, that scaled almost on its own... instead we were afraid of infrastructure maintenance or bad manipulations, because too much of the cache could disappear at once.
The most incredible part to me was the storage and delivery of the video content. Try to picture 7000 petabytes [3] :)
[1] https://www.pornhub.com/humans.txt [2] https://github.com/nitrix [3] https://www.pornhub.com/insights/2019-year-in-review
comment 6y ago · link · parent
The thing is, Nix is an absurdly complex piece of software, perhaps on a similar order of magnitude as maybe Kubernetes or other gizmos, requiring a very large time commitment to understand and to use properly.
Just for fun, have any of you tried to keep up during the Docker bigbang, with all these technologies popping up left and right, switching names, dying abruptly, getting super-seeded or hacked with vulnerabilities? That was one of my most mentally draining year for me and I've been in the field for a while now.
See... along the way, I've learned that Computer Science is always about tradeoffs. Now when I'm being asked to trade away my sanity learning this nonsense for in return a couple of megabyte of disk space that could've been wasted, I just don't see the value.
Seriously, are we optimizing for the right stuff here? I know Nix is doing package isolation with a programmable environment defined by text files, it's immutable and all. I get it. But we have alternatives for these problems. They do a pretty good job overall and we understand them.
Ironically, even those solutions I'm comfortable with are still struggling to get good adoption! How the heck is our field going to avoid fragmentation when it keep growing exponentially like this.
Perhaps it's just me aging and getting groggy; though there must be an explanation for this phenomenon. Please, it definitely gnaws at me.
comment 7y ago · link · parent
comment 7y ago · link · parent
There's constantly experiments, maintenance and whatnot going on. What may look like loose cabling/equipment here and there is probably someone that was in the middle of their work and had to get out of the shot.
The more critical systems (like life support) are all behind the panels for the same reasons your realized.
comment 7y ago · link · parent
The lights for example always come from the "ceiling". Apparently it helps with the visual frame of reference (since you lose your sense of balance) and more convenient to read the thousands of various labels at a quick glance.