415 karma · joined Jun 1, 2015 (11y ago) · 220 submissions
comment 7y ago · link · parent
Just like anything else if you want to code you don't need a degree. Just prove that you can code.
Just keep improving your skills. May be difficult at times with no background but that goes for anything.
comment 7y ago · link · parent
You shouldn't have done that because a few sentences later the wiki describes how he was motivated by other mass shootings, which is precisely what the article is talking about. Was he a white attacker, well yes, but based on the wiki I wouldn't say he was a supremacist.
comment 7y ago · link · parent
What do you mean by "escalate"? I hope you are not using the word "escalate" to describe the murder of hundreds of innocent people by extremist terrorist.
> to people who are already triggered.
These killers are not "triggered" they are just crazy, bigoted, racists who somehow feel the need to kill. Your words sound very sympathetic in suggesting that the solution is to give these killers "time to cool off". The solution is to identify them early and get them some mental help.
comment 7y ago · link · parent
comment 7y ago · link · parent
I'm a "power-using enthusiast" because I use Gnome3? Gee, thanks... but wasn't desktop a thing despite (in spite) the so-called "Major Companies". Canonical for one made "Unity" which was about as painful as a Rubix-cube covered in shards of glass. It couldn't have died sooner. I mean that what you get when a "Major" company tries to dominate the FOSS space - layoffs and an alienated base. Red Hat was corporate from the outset, they never pretended to otherwise, which is probably why they are actually successful and not using millions of person fortune to put on a show while loosing boku bucks in the background and laying off employees.
In short, desktop is not dead. FOSS people love desktops. Microsoft doesn't dictate anything anymore.
comment 7y ago · link · parent
I've been hearing similar often. What's the beef with Systemd anyway? I've haven't heard much and Googling will surely just turn up a bunch of theoretical, philosophical, or hate posts. Why is Systemd bad from the perspective of a regular user.
comment 7y ago · link · parent
comment 7y ago · link · parent
Now Apple has to do something it hasn't done in a while - and that is simply to deal with reality. Such is the case when a legend passes.
comment 7y ago · link · parent
comment 7y ago · link · parent
Yup, real world engineering doesn't heed purity of concept. What you get is a hodgepodge of best practices and ideas that work. Today we see JS, Golang, Ruby, modern C, C++, all of these things have ideas and features directly drawn from functional programming and likewise, many functional programming languages use ideas from other paradigms.
We likely won't see Lisp or Smalltalk become dominant anytime soon but there is no denying that many of their features have made it into many of the main stream languages that have become mainstream for reasons far detached from their programming paradigms (um maybe not Java, for better or worse, Java sold OOD and OOD sold Java).
comment 7y ago · link · parent
1) FWK (full weight kernel) a stripped-down version of a full featured kernel only having the things needed to run a particular application. Remember as the upstream kernel progresses you have to some how find a way to update your modified kernel to keep up with security fixes and all.
2) A LWK (light weight kernel) a small kernel built from scratch that is added as a library to an application (it will likely be incompatible with many existing applications built for other systems) - a pro is that system updates are practically non-existent. You don't have to rebuild your image with Debian patches or anything like that since the kernel is minimal and unique. And exploits have minimal impact in any case.
3) Then there is the hybrid approach where you have a LWK that runs along side a FWK with the light weight kernel handling most of the system calls while the full weight kernel (e.g Linux) handles system calls for compatibility. A multi-kernel approach.
I have no idea what route Nanos takes since I can't see the code and its not mentioned anywhere. Keep in mind a Unikernel is usually a single address space kind of thing, so you shouldn't be able to fork or exec. Since Ops permits arbitrary Go/C/C++/Ruby programs I wonder what happens if you try to exec something.
In any case these systems are more secure than containers because an exploit in the code running in the container can affect the host kernel (There is no real isolation). With Unikernels, in some cases, the system will actually unplug cores from the host kernel and boot the Unikernels on those cores utilizing available NUMA features of the CPU. This allows for more isolation and the kernel itself is minimal so it has small attack surface and, in some cases, added performance characteristics.
There are good debugging tools these days for libOS's (Unikernels) and they date back all the way to MIT's exokernel design and even further back. They have caught traction recently because:
1) They are easy to make (You are either stripping down a working kernel or building a very small one - think smaller than minix3).
2) Cloud computing (security) and HPC (performance on commodity) make them relevant again.
3) Not to mention they are fundamentally a better technology than containers, IMHO there is no debate, containers will be replaced by libos(s)/unikernels.
comment 7y ago · link · parent
> If you want to get very far with any of those, you will need to write "good code"
If you have ever looked at the code of the most successful programs the code is anything but "good". Have you glanced at the Linux Kernel code lately? But again, "good" is very subjective. The Linux Kernel works well enough to server the purpose of millions of users and enough people understand it. Its good code!
comment 7y ago · link · parent
The only criteria I have for good code these days is "Does it work", "Can I understand it". Everything else is a good IDE's command away for being willed into reality. So I really don't spend too much time on the "good" code debate like I did as a teen reading "Clean Code" and GOF books. I actually wish I could have that time back, I would have read, in their place, books on type theory and OS design, Posix, in other words things that actually help me build stuff and get things done and that I subsequently had to read later. Undo the damage done by the "good code" people that have me thinking about stuff that nobody cares about. Take a month off, read a book on game design in opengl, and write a cool robot simulation or something and remember how much more gratifying that is than writing a small do-nothing program just to try out some useless design pattern that doesn't scale beyond micro-examples.
There is so much varying lit out there on how to write good code that I am surprised that I am surprised if even 2 programmers can truly agree on what good code is. So Again, I'll say that "good" when it comes to code should be equivalent to "easy to understand" and "does the flow of text match the flow of program execution" in other words "is it easy to understand given I am familiar with the problem domain".
comment 7y ago · link · parent
145.
If Go To statements are bad then why ...
2 points · by externalreality · 7y ago · 4 comments
comment 7y ago · link · parent
Why these interview processes act as if candidates are going to be designing graphics engines from scratch for graphics hardware extracted fr om a downed alien spacecraftis beyond me. We just really be testing their ability to sort through a bunch of legacy OOP designed by people who are so board with the project domain that made of bunch of bad abstractions and used every new OOD technique in the books when a handful few procedural functions would have sufficed.
comment 7y ago · link · parent
Funny because I don't think its small teams or a particular programming language that leads to great productivity. You don't have to look very far or far back to see teams, of various sizes, pulling off some amazing stuff with assembler and C. The key to productivity is a lot simpler, and independent of software development. Its a sense of responsibility, interest, and dedication.
In a small team that is using small talk the responsibility might come from being on a small team with a lot of lifting to do, the interest might come from having fun using a language that you like (regardless of the language), and the dedication might come from the promise of getting in early on a promising venture - hence the small team. All of these things add up to hyper-production.
If you can establish those three things, somehow, with a large team I don't see why hyper-production can't be achieved. Unfortunately modern project management for large teams seems to rely heavily on techniques that rob developers of all three qualities mentioned above in the name of so called "agile" and in pursuit of some fictitious software assembly line.
comment 7y ago · link · parent
Those who are in favor of unit tests have one big weapon on their side of the argument and that is simply the word "test" "how can a test be bad?, right?"
comment 7y ago · link · parent
1) Don't think you are the only one who understands these principles and realize people are going to have differing opinions on what is the simplest thing that can be done.
2) Just because you don't understand it doesn't make it complicated. If you don't understand something another is talking about try to reserve your judgement as to how simple (or not simple) it is until you actually understand what is being said.
3) Don't over do it with this advice. Sometimes you need to add a bit of complication to make the big picture easier. "A thing should be as simple or as complicated as it needs to be nothing more".
comment 7y ago · link · parent
Yes, sometimes code is loaded with all kinds of indirection that usually comes from OO programmers outsmarting themselves with all kinds of implicit polymorphic dispatch and unnecessary design pattern legacy. This is why its important to ask someone familiar with the code to give you a rundown.