Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
nbevans
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
48 ms
·
451.
▲
by
nbevans
12y ago
Whilst it is a shitty idea for a question I'm not sure I could hire a .NET dev that didn't know this simple fact. Type aliases are common in many languages, not just .NET. Being unable to answer this question, or even make a corre
452.
▲
by
nbevans
12y ago
Yes. Along with the vast majority of programmers being absolutely terrible at their job, to such an extent that they can't even choose an appropriate tool (language) to do their trade with. Just look at how OpenSSL is written in C++. A
453.
▲
by
nbevans
12y ago
Maybe is just an example. If you need to return more error codes, perhaps with contextual information such as message(s), then just define your own discriminated union and use that.
454.
▲
by
nbevans
12y ago
This article is bizarre. I've read it twice expecting an actual solution to null checking basically everywhere and it doesn't actually present one. I'll stick with discriminated unions in F#, thanks. Errors are values, correc
455.
▲
by
nbevans
12y ago
Why the VS source code? It would be almost entirely useless to anybody as there is 2 decades of legacy in that code base and MS has massive teams just trying to keep it all together. Only open source things that are WORTH open sourcing i.e.
456.
▲
by
nbevans
12y ago
I think most people have issue with GPL to be honest. So they aren't alone there.
457.
▲
by
nbevans
12y ago
This is one of the worst articles I've ever read.
458.
▲
by
nbevans
12y ago
You probably have some malware on your machine that's doing naughty stuff.
459.
▲
by
nbevans
12y ago
I was. Cheeky fucker.
460.
▲
by
nbevans
12y ago
Loyalties are cheap on the internet. You can say "no one cares about X". Just look at all the companies that switch between AWS and Azure these days whenever one or the other has an outage. Microsoft is making aggressive moves now
461.
▲
by
nbevans
12y ago
He also predicted in this video "digital nomadism" when he mentions about being able to live anywhere in the world and still work. Yeah, I'm British but I'm posting this from Singapore. #yolo
462.
▲
by
nbevans
12y ago
Just use F# from Xamarin. It's the real deal. C# is just a stop-gap measure to suck in the enterprise devs.
463.
▲
by
nbevans
12y ago
It really does not.
464.
▲
by
nbevans
12y ago
"But in Haskell pure functions are guaranteed to have same result with same input." I'm pretty sure that same law applies to a pure function in any language, not just Haskell. #shitthatHNsays
465.
▲
by
nbevans
12y ago
Those type of event loops are for Win32 API GUI applications. Server applications like a async socket server use IOCP, a kernel based type of event loop that is highly performant and scalable. And by the way, the .NET CLR already uses them
466.
▲
by
nbevans
12y ago
Bizarre choice of language even in 1996. Guess even they weren't immune to all the enterprise and WO-RA and OOP hype back then. What's it written in now?
467.
▲
by
nbevans
12y ago
My guess is that because its the biggest and most ergonomic key to access on a keyboard, that it made sense to assign it to the primary UI function on a web browser: to scroll down.
468.
▲
by
nbevans
12y ago
RDBMS has its uses, I didn't say otherwise. However I did say adopting it as a "default" persistence mechanism is wrong. RDBMS is something you adopt with your eyes wide open as it is large architectural decision and ultimate
469.
▲
by
nbevans
12y ago
The problem being that to use RDBMS well with object-oriented software you need an ORM (object-relation mapping) layer, which adds complexity and cost and maintenance burden. RDBMS are a central point of failure and don't scale well. R
470.
▲
by
nbevans
12y ago
OOP was a programming paradigm sponsored by big enterprise. Just search YouTube for this string: "steve jobs object oriented" Apple, NEXT were absolutely the biggest advocates of OOP. The word "object", for a time, liter
471.
▲
by
nbevans
12y ago
OOP... where originally specified as a queued serializable messaging-based topology of reusable components, i.e. what we now know as a actor/agent based programming. ... But where CPU stack-based function calls (cutely named "meth
472.
▲
by
nbevans
12y ago
Try using a good type-inferred statically-typed language. Hint: this rules out Java, C# etc.
473.
▲
by
nbevans
12y ago
"Our passion is building tools that make developers’ lives easier." Is it? I thought it was distributing 140 character messages in an eventually consistent manner.
474.
▲
by
nbevans
12y ago
Yes, there was a very large European root CA that was compromised and was actively being used for MITM attacks except this time the web browser address bar would still "turn green". Which is pretty much as bad as it gets. Root CAs
475.
▲
by
nbevans
12y ago
You weren't on the web back then were you? It seems pretty obvious from this that you weren't. IE was not a bad product. It beat Netscape on both technical and commercial merit. It's almost like you would rather still be payi
476.
▲
by
nbevans
12y ago
This is complete rubbish. IE was on the cutting edge of web standards, to such an extent it was having to make up some proprietary technologies itself such as XMLHttpRequest (just one example). The problem is a lot of Ruby/JS/dyna
477.
▲
by
nbevans
12y ago
You don't make much sense. You disagree with me "in every regard" and yet you agree with Ken who made an almost identical point to my own. Microsoft defined the business model of the web browser market as it exists today. I.e
478.
▲
by
nbevans
12y ago
Thanks for the down vote for disagreeing with your opinion. The courts took issue with bundling it with Windows. Not that it was not innovative. There was even a few articles in recent years suggesting the courts went too far over the "
479.
▲
by
nbevans
12y ago
Give over. Internet Explorer didn't hurt innovation at all. It was more innovative than Netscape by a country mile. IE was the first to pioneer CSS! And DHTML! Netscape pioneered, erm, cookies, I guess? There was no other web browser w
480.
▲
by
nbevans
12y ago
Cheeky answer would be: Because they've got the UK and Germany paying for them, just like the rest of their public infrastructure.
More ›