Details
-
SkillsC#, rust, Python, bash
-
Github
Joined devRant on 7/19/2016
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
-
Yoda, is that you?
-
@deusprogrammer except that you still get a perpetual fallback license every year
-
Yea, windows has had powershell remoting for a while too, but that doesn't mean it's not cool that I can use ssh now
-
In fact, java will usually beat C in allocation heavy workloads, because allocation can be INCREDIBLY cheap in java.
-
But is it "see-qual" Claus, or "es-que-el" Claus?
-
For context, https://xkcd.com/936/
-
'Correct horse battery staple' is 28 characters
-
Try this:
char arr[100];
sizeof(arr); // 100
sizeof(&arr[0]); // 8 on 64 bit
Arrays are not pointers, but they are implicitly coerced to pointers in a lot of places (e.g. Function calls) -
@Torbuntu if you buy it yourself, you're explicitly allowed to use it at work.
-
@bioDan I'm going to pretend that was part of the badness of the code, and not just a mistake I made here.. 😅
-
Surprised you didn't link to this stackoverflow answer https://stackoverflow.com/a/1732454
-
@bittersweet oh! I thought they were average commit stats... That makes a lot more sense..
-
Interesting. I had done something similar with a camera flash.
-
Long exposure in the dark, with two flashes. One with nobody there, one with people there.
-
I use Intellij products, with the vim plugin. Best if both worlds
-
@linuxxx yep, everyone has their preferences. But some people's preferences are wrong. 😃
-
That's the problem with ++.. It doesn't just increment. It also returns the previous or new value.
-
Not even in the top 10 worst for me
-
Git as a concept is amazing, and the cheap branching enabled by the way it works is a game changer. (not that it does anything unique, or even really new, but it made it mainstream)
Git itself, though, is a mess. Wildly inconsistent, dangerous, and easy to screw up. -
Eat Arby's.
-
Aww, well at least you can be wrong together.
-
Ever looked at clojure? It also compiles to the jvm, but surely you wouldn't call it a framework. The syntax is wildly different.
Or does this mean all languages that have a llvm backend are frameworks for each other? C, and D, (and kotlin, now), and Rust can all compile to something common: LLVM bytecode. -
I completely disagree, and have serious issues understanding anyone who doesn't see kotlin as an improvement on java
-
Yes, from a typesystem point of view, NaN is a number. It's a special numeric value to show that the value can't be represented. For the same reason, null's type is object, even though it represents that there is no object.
-
Refactor into more functions
-
Better hope your language supports tail call elimination, or that's just a stack overflow waiting to happen
-
For constant layout, I use the editor. For everything else, XML.
-
Like parsing an integer. C# gets it right there, at least, thanks to out parameter support.
-
I believe so that they can return an EOF value
-
Also of note: Log.wtf short for "what [a] terrible failure"