HNHacker News
TopNewBestAskShowJobs

4ydx

73 karma · joined March 22, 2012

submissionscomments
4ydx··on Why Learning to Code Is So Damn Hard
Unfortunately this is a dark hole of horrible bugs just waiting to happen not to mention the fact that interpreted languages are very liberal with silent type conversion. It is a nightmare to deal with in a large system written by careless programmers.
4ydx··on From Node.js to Go
You almost sound angry that other people are enjoying and having success with a language that you loath. I would wager that you simply are not taking enough time to shift your thought process to a state that is more in line with what is available in golang.
4ydx··on Windows 10 for Raspberry Pi 2
The raspberry pi is supposed to be an educational tool. You cannot learn anything about the inner workings of an operating system when it is closed source. There isn't much of an argument to be made really for Microsoft on Raspberry Pi. Programming in c# can be done on Linux these days. Why one would want to use Microsoft is really beyond me.
4ydx··on From Node.js to Go
Yeah I follow you. I am providing ways of trying to work around the lack of a higher level type class system. As a baseline, I would recommend not jumping outside golang's given type system just because it feels inconvenient for the programmer. That means you don't get to write a generic method for, for instance, all integers. Too bad :P This means the programmer does have to do more work, but the type system is always strictly enforced. That is better in my opinion.
4ydx··on From Node.js to Go
And in Go since there is no parametric polymorphism you would end up writing either:

1) Methods with names that indicate the parameter types. 2) Method calls on objects to convert some internal struct data from one type to another. 3) Something I haven't thought of that doesn't involve losing a handle on your type.

So there is certainly a loss in convenience, but if you use the type system it can be just as safe as a functional language as far as I can tell. So, yeah, it isn't as intellectually elegant, but it also isn't really that hard to deal with.

4ydx··on Facebook begins censoring images of prophet Muhammad
No "hurtful" words or images can ever be equivalent to killing another human being.
4ydx··on Facebook begins censoring images of prophet Muhammad
And once you decide that being offended > killing those who offend you, we see how truly horrible certain mindsets can be. It is disgusting in my opinion.
4ydx··on Facebook begins censoring images of prophet Muhammad
"Moral relativism is the view that moral judgments are true or false only relative to some particular standpoint (for instance, that of a culture or a historical period) and that no standpoint is uniquely privileged over all others."

So "Follow the local Law" seems to me to be the very definition of moral relativism.

4ydx··on Game Development in Go
I have also been developing something in my free time with go-gl. The GC issue does bother me conceptually, but I have yet to make anything so complex that stop-the-world GC makes me curse the screen. I tried writing something minecraft-like in c and then c++ a couple of years ago, disregarding the fact that I don't have deep professional experience in either, but I eventually hit a place where my confidence dropped off too precipitously. Considering that learning modern opengl/openal is at the forefront of my concerns, using a simple language that is compiled felt like a good fit. If I were to choose a different language, it would probably end up being C#.

Incidentally do you find that compiling is actually disappointingly slow? My current project takes about 2.5 seconds to build and that feels very long.

4ydx··on 50% of Japanese surveyed have not had sex in the past month
These guys should grow some balls and just separate from their "partners".
4ydx··on Coffee Meets Bagel Meets Me – Statistical analysis of online dating
I am guessing this is being said in a joking manner.
4ydx··on Is It OK to Cheat Airlines If It Saves You Money?
The last time I checked, if I buy a hamburger and decide not to eat it, that is entirely up to me. This simply sheds light on how the airline industry perceives its customers, which is to say that it doesn't perceive them at all, but rather sees an empty seat, whether or not it was paid for, as being lost revenue.
4ydx··on One group dominates the second round of net neutrality comments
Framing the idea that ensuring private companies adhere to the status quo is somehow "bad" regulation which will destroy the fabric of the internet is really hilarious. While the decision hasn't been made yet, I would be absolutely amazed if pro-isp tiered rules are not implemented.
4ydx··on Start-ups and Emotional Debt
I have worked at a "startup" for 6 years where I have been, primarily, the only developer. It has been extremely taxing to say the least. I started in my early thirties. Sometimes I feel like a fool. Sometimes I worry about what I will do next. I do hope to never again have this similar experience of being the only one doing all of the truly hard (and it is hard) labor of creating a system when the reward is little more than a paycheck. I wasn't a founder, but I often think that the workload I have received is nothing short of one.

If anything, I think it isn't the experience of a startup that is terrible so much as the emotional burnout that often seems to result from being in one. I think everybody in their youth should experience it just to see how far they can go. I would only recommend that they don't do it in a situation where they are the only one steering the ship :) It can lead to lots of sleepless nights and tremendous amounts of pressure, but I would imagine that sharing the load with a couple other people would make it a lot more "fun" as well as providing all of the educational benefits available for participating. Nothing is better for developing your style as a programmer than having to program a lot over a long period of time. There are more opportunities to make mistakes in a startup which means there are more opportunities to learn. I would say it is far better than a corporate environment, which I have also had the pleasure of working in.

4ydx··on Go 1.4 is released
Embedded types are king.
4ydx··on When in Go, do as Gophers do
Ok thanks for filling in the blank.
4ydx··on When in Go, do as Gophers do
Feel free to enlighten us specifically about how they are better.
4ydx··on Why Is Object-Oriented Programming Useful? With a Role-Playing Game Example
Functional programming is nothing more than applying the rigour of math to programming.
4ydx··on Go: Planning the 1.5 release
Another counter argument is that golang clearly not an elitist attempt to distance oneself from the mediocre programmer. It is an attempt to distance itself from languages that have a huge surface area. In other words your links premise doesn't fit.
4ydx··on Go: Planning the 1.5 release
I must write code that is just too simple and uninteresting because I never use generics. I also really enjoy go.
4ydx··on Why Our Memory Fails Us
So talking about something that happens on a very very small scale as if it should happen on a large one? You sound like Depak Chopra.

But don't worry we will have something similar to this in the not so distant future when editing video footage quickly and with picture perfect results makes it hard to determine if evidence is real.

4ydx··on NASA: We're sending humans to Mars
People get so hung up on one of them being fundamentally better than the other when in fact their fundamental differences and the tension that creates which is actually a decent compromise between a free market and a totalitarian state. "Free markets" are fully capable of leading to mass amounts of suffering. This "strife" we experience between different systems in friction is actually healthy I think.
4ydx··on The Case for Slow Programming
And the issue isn't so much whether or not a programmer can hold the "entire system" in their head so much as, if they don't need to, they can be doing a whole lot more. This is, after all, what computers are good for.
4ydx··on The Case for Slow Programming
Parsimony my friend. Parsimony. All else is academic tail wagging.
4ydx··on Video Game Reviewer Is Contacting the Mothers of Her Online Harassers
This is brilliant.
4ydx··on Thoughts on Google+: I fucked up. So has Google
Yeah feel free to clean up your language. It comes off as unprofessional.
4ydx··on The Case for Slow Programming
You sack them as soon as you have their knowledge? Seems a bit extreme. Or you are simply saying that the person in question is aggressively keeping people off of their turf? That must be it :P I have been working at a small startup for the past 6 years. The code is all mine so sometimes it is a bit hard to relate to all of the internal struggles that programmers seem to have.
4ydx··on The Case for Slow Programming
This is why golang.
4ydx··on The Case for Slow Programming
This is why something like golang is appealing. Simple simple and more simple.
4ydx··on Why he vertically aligns his code (And why you shouldn't)
The loss of vertical alignment in go fmt is something that bothers me a bit. I am an aggressive vertical aligner and proud of it! It reduces the amount of noise in the code (as I perceive noise).
← PreviousPage 4 of 5Next →