Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
codr4
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
1.
▲
by
codr4
8y ago
I'm far from wizard on the topic, but from my experience it's not that simple since the relative magnitudes of the operands and the operator affect the size of the error in non obvious ways. I spent 13 years maintaining a 2mloc re
2.
▲
by
codr4
8y ago
If I remember correctly at least Alan Kay openly admits being very inspired by Lisp. Unfortunately the limitations/walled gardens they chose to impose in the name of simplification, everything is an object etc, had us running in circle
3.
▲
by
codr4
8y ago
Mostly agree... The reason it's not all about power/competition is that corruption is very easy to get into your system; be that individual, corporate or otherwise; and tricky as hell to weed out. Once you've been there and d
4.
▲
by
codr4
8y ago
Do you know what the best predictor of future behavior is? They're acting all nice and friendly right now, wasn't always like that and there's no reason to assume it always will be. Even the catholic church is pretty chill th
5.
▲
by
codr4
8y ago
I've been practicing Ving Tsun for around 25 years. Many aren't aware, but the most of the system is based on blades. The issue I've been having is finding good enough knives to train with. Most of the stuff out there is orna
6.
▲
by
codr4
8y ago
I didn't say that, I said that exceptions are used for exceptional problems. Expected errors like missing values are better handled using optional types. I find the one ring to rule them all attitude less than constructive.
7.
▲
by
codr4
8y ago
Yep yep, sounds good. Problem is you're not handling errors, you're wasting precious energy shuffling errors to code that knows how to handle it; which is exactly what exceptions could do for you. The end result is the same, excep
8.
▲
by
codr4
8y ago
They are used for exceptional problems, expecting one doesn't really make any sense. Of course you do, that's the point; to unwind the stack until you reach code that knows how to handle the error. Cancer, really; is that you Gord
9.
▲
by
codr4
8y ago
The standard library uses panic/recover to sort of implement exceptions here and there. It's a pretty serious case of do as I say, not as I do.
10.
▲
by
codr4
8y ago
Do you see any problems with optimizing everything we do for junior developers? I mean, most of us aren't, and it would be really nice if someone gave a crap about wasting our lives as well.
11.
▲
by
codr4
8y ago
They are not overlooked, they are better handled further up the call stack. And not having the option to forward them implicitly is a step back, not forward. There's no way to make a programming language better by forcing users to do a
12.
▲
by
codr4
8y ago
Go's resistance to exceptions looks like Steve Jobs and his one button mouse from here. It's not like renaming them to panic/recover fooled anyone outside of the Pike reality distortion field. Sometimes unwinding the stack is
13.
▲
by
codr4
8y ago
Exactly like that. Blindly trusting authority and walking over dead bodies to defend our ignorance hasn't been working for thousands of years, it's about time.
14.
▲
by
codr4
8y ago
One of my teachers at university kept repeating that you can't really call yourself a programmer before you've implemented at least one language. I don't know about that, everyone is entitled to an opinion. What I do know is
15.
▲
by
codr4
8y ago
As others noted, proving medical benefits has been illegal for a long time. What we do have is the authentic personal experience and testimony to its benefits from hundreds of thousands of users. I know, drug users are not to be trusted; un
16.
▲
by
codr4
8y ago
The same as someone who died from a second round of untreatable cancer after having their system wrecked? Look, I get it; cancer is no fun. But when the cure is worse than the disease, it doesn't make sense any more. Except if you prof
17.
▲
by
codr4
8y ago
Same here, except I prefer C since that makes it more accessible. That would also allow others to write clients for their favorite languages.
18.
▲
by
codr4
8y ago
Works short term but wrecks your immune system long term, which means you will get sick from something else and no one can be blamed. Have you actually seen someone on chemo? Scientifically sound is not the first thing that comes into my mi
19.
▲
by
codr4
8y ago
I skimmed both books several times back in the days, but didn't really have enough experience to know what to make of it. I once used the bridge pattern to write a multi backend GUI framework, looked it up in the book and all. 32 years
20.
▲
by
codr4
8y ago
My boss at my first gig was like that. Would always praise anyone who worked late or rushed in there to put out fires outside of work hours, he wasn't very interested in preventing fires but always first in line to play the hero role.
21.
▲
by
codr4
8y ago
Security apps from the Alphabet agency's cyber unit, nice. At least they're not mandatory here yet...
22.
▲
by
codr4
8y ago
And that's fine too, it's perfectly ok to disagree with the choices others make. But that's as far as it goes, you wouldn't like someone else telling you how to spend your time without getting anything in return either.
23.
▲
by
codr4
8y ago
Worrying where it will come from is never going to be a good idea, worrying in general is the worst kind of visualization. Dying from starvation is not really realistic in any western country, many will even stop you from doing it by your o
24.
▲
by
codr4
8y ago
Hey now, none of this is my fault, most of us are in the same boat. As much as I would want to be completely independent, this society tries it best to make that really difficult. But I'm working on it, I don't consider myself a v
25.
▲
by
codr4
8y ago
Flagged, really? Didn't rhyme with the HN narrative I guess, probably violated some CoC paragraph. Ah well, this too shall pass. Just know that from the outside you look very funny when you run in circles chasing your tails.
26.
▲
by
codr4
8y ago
I mean that in certain areas we've recognized and pay tribute to the importance of visualization. But then we fail to make the connection and realize that the same mechanics apply to everything. It's mainly the projection of fear,
27.
▲
by
codr4
8y ago
Take a look around you; I'm sure you can find plenty of people living if not outside, at least on the outer perimeter of society. They're still here, some of them in better overall health than more well adjusted citizens. There ar
28.
▲
by
codr4
8y ago
Oh, for heavens sake. That's as far as you can see? You can get that in prison. We were born and raised on a giant slave plantation. There are enough resources to take care of everyone, so much that some of it has to be kept off the ma
29.
▲
by
codr4
8y ago
There are plenty of people who are managing that without making any money at all, despite all sorts of prolonged efforts to turn their way of living into hell. Integrity, being surrounded by loving people, being in good health, having the f
30.
▲
by
codr4
8y ago
That being said, this one [0] gives correct results and runs slightly faster :) [0] https://gist.github.com/codr4life/59f2c02403b27d551e706f673b...
More ›