Details
Joined devRant on 6/23/2017
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
![](/static/devrant/img/pipeless-devrant-banner-white.png)
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
-
What about cd -
-
Or just say "Logout succeeded" could work too.
-
If you get a thread ripper you can do the Linux kernel in 36 seconds!
-
This is the entire problem in macOS. Brew is second-class citizen.
You get your apps from probably 3 different sources. Some check path, some do /bin/env, some check brew.
Latest issue I get is 'brew requires XCode 9.0 to install update' (says this for everything I use brew for).
Yes, 9.0 is installed. -
Experience is free. Check GitHub. Steal, copy, learn. Then make your own work.
Small towns are lucrative opportunities as long as you are good at marketing but it may be hard to grow and learn as a Dev. You'll probably always be stuck on low wage too.
Relocate or work remote? -
My big worry is that it won't be constexpr. I wouldn't want to spend cycles calculating something known AOT.
-
@nikolatesla save you some time:
git commit -am "stuff happened"
git push -
I know git cli fairly well out of necessity. There is no GUI client that can do everything.
Even simple operations like making orphan branches, squashing history, replaying history on top of an orphan branch, merging two remotes, etc are too hard for GUI.
Not to mention stupid way they all handle recursively pulling submodules (usually wrong order) where they Bork on a conflict).
Also they never have a clear concept of local vs remote. If I have local changes I want to rebase. If I have server changes, I want to merge. -
@configurator why you say that? Virtual instances are usually logged in to as root. You need a key and they are regularly cleaned.
-
Java 9 is out, so why can't you at least be on Java 8 common library by now?
int[] evens = new int[50], post5 = new int[45];
Arrays.setAll(evens, i -> i*2);
System.arraycopy(evens, 5, post5, 0, 45);
Obviously there's libraries (even in Java7) that let you do array ranges. -
MacBook air isn't considered fast by anyone. You'd want a pro, or a laptop not made by Apple works too.
It should be faster with Linux. Try it out and see. You can just use a Live disk. -
If you export everything, you are telling the linker everything can be used and thus it strips nothing. In the same way, if you make everything visible in your class, intellisense strips nothing and all your symbols are offered as functions in the class.
Sure it works if everything is public but it makes it harder to use, means you need to make the API bulletproof for functions even if you don't expect the client to use them, because they will. It also makes the job harder for the compiler as it finds it difficult to remove dead code. -
This is a bit too easy. Why do people seem to find basic C complicated?
This is just like a for loop in every other language.
The bizarre part is including iostream instead of stdio.h.
If you are including C++ headers, may as well use other C++ features too. -
The UI looks like it was designed before .NET existed.
If they had more than 5 colours available, why did they only use 5?
Did someone handmake that table? -
Threadripper will sort it out
-
But do you round as floor, ceil, towards zero, away from zero. Also does it depend on the architecture, which rounding method is used?
-
It is perfectly legal and makes sense and there's valid reasons for all that syntax. That's just C. Love it.
For the people who don't understand C, it is just the memory references and so accessing an index of a value simply adds the numbers together.
You are looking at several variants of addition if memory references and conversion from val to ref
There's no stupid checks to tell you things like i[s] are out of bounds. It just adds the values and trusts you.
If you are trustworthy, it all works. -
It takes 5 seconds to install git, 5 seconds to git init, 10 seconds to git config your name and email. You've already surpassed USBs.
Now it takes about 5 minutes to setup a Bitbucket and you have now surpassed any sort of distribution method involving zips and USBs. -
Yeah. The games creator made me a moderator even though he had a hard line policy of mods being 18+ as I kept making myself moderator anyway.
Security is hard for a single dev to implement I suppose.
I had a lot of time back then because school was 9-3. -
These guys need shock therapy. It's the only way.
-
I think you accidentally took that seat from your racing car.
-
All that this would require is that NVIDIA opensources their drivers.
But then it'd probably be better than Windows drivers. -
@loopback funny cause at our work, java is the most likely to have memory leaks due to the stupid way it has to talk to base libraries (JNI) and the fact that java has no idea what happens on the C side. Whereas most other languages can deal with freeing the C pointers directly, JANI seems to have massive issues especially as it relates to threading and allocating java types from the C side.
PS, I know it's a joke -
@gitpush
Don't you mean:
for i in 0...<n { ... } -
Nokia rejected one of my apps for the same reason (Symbian app).
Reasoning was it could confuse users. -
That's some decent boot-y
-
Which robot?
I have a rooted LG roboking. Has wifi, an android app etc and can view it's cam in real time.
Cleans well too. Amazing devices! -
To rant or ! to rant, that is the question.
-
Saw Android debugger give a surprising message before:
Debugger: Returned unexpected PID xxx committing murder-suicide -
Sometimes I feel like I need DVI cables tied around my belt. They always go missing!