Details
-
AboutJust another dev
-
SkillsC, C++, Python, Bash, Prolog, and the usual crap like JavaScript, SQL, PHP, CSS etc
-
LocationNetherlands
Joined devRant on 11/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
-
Well he was right about the first part, all the "AI" we've got is pretty weak (pun intended) and basically an optimization form. The second half, not so much...
-
What do you mean by "shouldn't"? I feel this needs more context...
You can indeed copy structs or other objects directly e.g. if they're not accessed via a pointer. For example:
struct some_struct_type s1;
// Do something with s1
struct some_struct_type s2 = s1;
This way, the compiler handles the copying for you, and it's a bit "safer" than using memcpy. -
You forgot the "color 0a" command to enter super-hacker mode
-
Man that stress test got me good! Hahaha nice one
-
@AlgoRythm you mean you wrote the algorythm for that?
Sorry I'll show myself out -
@brahn Of course I had to test it, lol. Afterwards I kinda figured that the terminal program had some kind of protection but /bin/sh did not, which would indeed explain why things happened this way. Still fun though :D
-
Nice, I'm still going old school without a motor :P
-
You might try the "fuck" command... Lol.
https://github.com/nvbn/thefuck
Makes for a more satisfying terminal experience ;) -
@hafiz5626 lol, nice try, but its already dramatic enough as-is :P
-
I just tried the forkbomb on Ubuntu 16.04 (for science of course). Had chrome and few other programs running. For a while I couldn't open new tabs or launch new programs, and "ps -aux" from terminal was just not showing anything but kept loading instead. This lasted about ~30 seconds, after which all the forks just died and my PC was back to normal (ps showing all the normal processes). To be honest I expected more...
The weird thing is that if I put the forkbomb in a shell script it does a much better job of wrecking the system. Now it doesn't stop forking and I cant even shutdown the PC the normal way via the shutdown menu (nothing happens). Oh well, the more you know :P -
Frankly, I'm more concerned as to why you thought that specific photo angle was a good idea...
-
"Try again, maybe the fly won't be there this time."
Man I almost pissed my pants when I read that! Here, have a ++ -
So far I consider machine learning an advanced form of mathematical optimization of a cost function given some input. Now whether you consider that learning is totally up to you. I don't consider it learning just yet, as you cannot (yet) teach a computer simple, abstract concepts like "animal". You can teach it to learn the concept of cat, dog, cow, whatever, all separately, but if you show it another animal it will not recognize it as a different, unidentified animal. Best case, it will say that its not a cat, and not a dog, etc, which is true but thats not very helpful. Worst case, it says that it is a cow, or something else, which it may not be. I think that our ability to learn does encompass this ability, but the field of machine learning seems to be lacking this, which is why I argue that machines cannot truly learn yet.
-
Machine "learning"... Sorry, I'm still not very convinced :P
-
You might wanna be more specific than that if you actually need help. Try google and SO first though...
-
Reminds me of something....
https://xkcd.com/1782/ -
And again...
-
Link please? Jk lol
-
Welcome to the linux side man. Good choice on elementary os.
-
@Arjun omg, I just realized how stupid my comment was... Thanks lol. Guess I shouldn't comment when I'm so tired.
-
Too bad it's the wrong way around though :P (1 byte = 8 bits)
-
@elazar I usually need 5 (2 for spaces, count += 1), so yes :P
-
@Arlekin dont take it personally, I intentionally left out names/issues so as to make it a general, non-personal rant. I agree with your post, but the issues I've seen so far aren't the type that they can't be fixed by looking on google, SO and the like.
Personally, I like having things organized, so I get certain "ticks" when things are out of place, even though it's not much. Anyway, have a nice day. -
@elazar, I know, that's why I said it would be nice to have...
-
Have you tried using member function pointers in a base class to point to a member function in a derived class? I guarantee you will knife out your eyes after seeing it...
-
One thing I really miss in python is being able to use a simple "count++" statement... I know there are more Pythonic ways to do this (also, I fucking hate that word), but this really gets on my nerves as I use this in practically every other language.
-
Well in this case I meant pc issues, as in general hardware and software issues. I've seen a few about apparently defect hardware, as well as a lot of posts about windows issues and the like... But maybe it's devrants algorithm that needs to learn I dont care much for those posts :P
And thanks :)