Details
-
Skills<Assembly>
Joined devRant on 7/14/2018
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
-
This is so true, I always feel like my code architecture going to be clean, neat and organized but reality is always the opposite 😭
Source: https://instagram.com/p/...3 -
So I've made a couple of these meme modifications already but the rants I post them into tend to get deleted. To avoid wasting the couple minutes of my work, I'll post them under this rant.33
-
Hi guys, my little 2yrs daughter started speeking of each Word "sudo". E. G. "Sudo hi dad". Whats wrong?5
-
nVidia, fuck you
Just fuck you!
FUCK YOU!!
WHY CAN’T YOU JUST DO LIKE ALL THE OTHER MANUFACTURERS!!
WHY CAN’T YOU JUST PUBLISH OPEN SOURCE DRIVERS THAT WORK WITH MODERN TECHNOLOGICAL STANDARDS AND NOT YOUR OWN PROPRIETARY LITTLE PIECE OF SHIT SOLUTION!!!
ALL OTHER MANUFACTURERS HAVE OPEN SOURCE DRIVERS, AND SOME ARE EVEN MAINLINED IN THE KERNEL!!!
I JUST WANT WAYLAND TO WORK!! FUCK YOU
I’M BUYING AN AMD!!!
https://reddit.com/r/...
https://drewdevault.com/2017/10/...16 -
So if you haven't read my last rant (https://devrant.com/rants/1980559/...), for the past 2 days I have been working on a Trigonometry Solver because I am in 9th grade and we are currently learning this in my Math class. I have a GitHub open to display my project so I highly suggest you go and check it out (the link is in my previous rant). If you read the GitHub's most recent upload, the description pretty much gives an update of what I did (sorta) and what I hope to do in the future for the program. If you are still reading this (props to you) then here is the GitHub repository link: https://github.com/DylanPerez1/...
I hope the code is understandable and if any professional or well-learned Java developers can, it would be awesome if you could critique my work so I know what I need to work on! -
Follow-up to my previous story: https://devrant.com/rants/1969484/...
If this seems to long to read, skip to the parts that interest you.
~ Background ~
Maybe you know TeamSpeak, it's basically a program to talk with other people on servers. In TeamSpeak you can generate identities, every identity has a security level. On your server you can set a minimum security level you need to connect. Upgrading the security level takes longer as the level goes up.
~ Technical background ~
The security level is computed by doing this:
SHA1(public_key + offset)
Where public_key is your public key in Base64 and offset is an 8 Byte unsigned long. Offset is incremented and the whole thing is hashed again. The security level comes from the amount of Zero-Bits at the beginning of the resulting hash.
My plan was to use my GPU to do this, because I heared GPUs are good at hashing. And now, I got it to work.
~ How I did it ~
I am using a start offset of 0, create 255 Threads on my GPU (apparently more are not possible) and let them compute those hashes. Then I increment the offset in every thread by 255. The GPU also does the job of counting the Zero-Bits, when there are more than 30 Zero-Bits I print the amount plus the offset to the console.
~ The speed ~
Well, speed was the reason I started this. It's faster than my CPU for sure. It takes about 2 minutes and 40 seconds to compute 2.55 Billion hashes which comes down to ~16 Million hashes per second.
Is this speed an expected result, is it slow or fast? I don't know, but for my needs, it is fucking fast!
~ What I learned from this ~
I come from a Java background and just recently started C/C++/C#. Which means this was a pretty hard challenge, since OpenCL uses C99 (I think?). CUDA sadly didn't work on my machine because I have an unsupported GPU (NVIDIA GeForce GTX 1050 Ti). I learned not to execute an endless loop on my GPU, and so much more about C in general. Though it was small, it was an amazing project.1 -
When trump becomes a programmer....
He be like u all Mexican homies will be popped out of the stack of America!!
😂😂😂😂5