Details
-
AboutAm wolverine. what am I doing....
-
Skillspython javascript Golang Still hopping around and testing
-
Website
Joined devRant on 8/17/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
-
Bad: it works but throws errors
Worse: it doesn’t work but throws errors
Worst: it doesn’t work and doesn’t throw errors7 -
My first thought was "it can't be so hard to build a AI who simulate emotions "
So i started studying the Human brain .... well it's fu**ing complicated, but also interesting af
Still hope i can develop a little robot who have emotions like happiness, sadness or anger7 -
A friend here just deleted his account. We had our debates and tiny fights but he really mattered to me. I know he was going through some pretty bad stuff that really hurt. I doubt you will read this but if you do, and if you need anyone to talk to i'm here to talk to you. My e mail address is srd3v@tuta.io
Please if you know who i'm talking about don't be a dick about it, don't mention his name and don't try to convince him to come back.3 -
What is a pointer?
A descriptive and ELI5 answer found on Reddit:
You have a house.
When you’re outside, and you want to go home, you don’t make another house right where you are, because it’s too big for you to carry around or take apart.
So you carry a piece of paper or store on your phone the address of your house. Now you always know exactly how to find your house so that you can go home.
The piece of paper or your phone is a variable.
The variable contains an address (a reference) to your house.
You can make a copy of this piece of paper and hand it out to your friends when you invite them over, instead of building each friend a copy of your house.
You can have an address book filled with pages, where each page is an address (i.e., an array of pointers). Each page you turn (each index you increment) goes to the directly next address-containing variable.
Now if you cut the address book in half along its height, and then attach the lower half behind the upper half, then you have a book with smaller pages but more pages.
You can store phone numbers in this, and even if it’s the same total size, you have double the number of pages and double the number of phone numbers (if you store one number on each page).
Now, since the pointers to home-addresses are different from pointers to phone-numbers, turning the page in an address book (increment pointer by 1) moves forward by one address.
But turning the page in the phone book (incrementing pointer by 1) leads you to the next phone number, even if you technically turned only “half a page”.
That’s how pointer arithmetic works.
Source: https://reddit.com/r/...8 -
Someone Asks me : "Will programmers be needed in the future if AI is already created code?"
Your question clearly tells one thing; you have no idea what programing is about and how it is done.
For starters, software already writes code. In every major codebase there are lots of files with auto-generated code. Auto-generated code is something a program have written to provide interface to a service for the rest of the codebase. So code already writes code - if the purpose of the code is clearly defined.
The problem is that users rarely know what they actually want, and even if they know it, they are rarely capable of creating a clear enough specification of what they want.21 -
After 16 years of porn addiction, I've finally realized that the only way to stop any addiction, is to take control of your mind. Nobody can help you, except make you realize the source of the problem or factors that cause it.
It's strange to describe how the mind works, sometimes we need stuff in our lives because we need to spend time on something to avoid the emptiness.
Free yourself from the things you love the most, in my case I love playing video games, it helps me feel complete, but in all honesty, I don't need it. I like drinking energy drinks, but in the end, I don't need that too.
My point is that once you find a way to deal with the things you can't live without, you find a way to live with it.
The only reason I watch porn is to reduce stress or have something "fun" to do.
As Bruce Lee once said: Be formless, be shapeless, be water my friend.
I like to think that he means to let the urge flow within you, but don't let it control you.15 -
My phone just froze. But this one time, instead of being mad at it for stopping I had the thought that it's probably working harder than when things are going smoothly. So I watched with compassion as my phone tried to resolve its internal struggle, it being so overwhelmed that it could no longer communicate with me. It was like watching someone having an anxiety attack. There, there. Take all the time you need, little friend. You're safe in my hands ♥️8
-
Attention Software Engineers!
Quit shooting yourselves in the fucking foot! And this ESPECIALLY goes to new grads. I get that you have just finished school. I get that you need a job! But don't fucking settle for a $30-$40k salary because you're "entry level"! The only reason why there are employers who offer that type of salary is because they know that there are enough idiots who will settle for it!
On average, an entry level software engineer's salary is between $50-$60k at the very least! For Senior developers, it is at least $80K/year (although an argument can be made for why they shouldn't settle for less than $100k/year).
Each time a moron low balls his/her salary, that brings down the market value for that talent. And keep this in mind! They don't have a choice but to hire you. They could choose to outsource their work to poorer countries but they don't want to do that due to obvious quality-related reasons so they HAVE TO hire you if they need the work done. And since the ball is in YOUR COURT, demand your fair salary. You went to school for 4 fucking years. You dealt with that stress for 4 fucking years. Why settle for a salary that you could've made without going to school?42 -
!rant
After over 20 years as a Software Engineer, Architect, and Manager, I want to pass along some unsolicited advice to junior developers either because I grew through it, or I've had to deal with developers who behaved poorly:
1) Your ego will hurt you FAR more than your junior coding skills. Nobody expects you to be the best early in your career, so don't act like you are.
2) Working independently is a must. It's okay to ask questions, but ask sparingly. Remember, mid and senior level guys need to focus just as much as you do, so before interrupting them, exhaust your resources (Google, Stack Overflow, books, etc..)
3) Working code != good code. You are an author. Write your code so that it can be read. Accept criticism that may seem trivial such as renaming a variable or method. If someone is suggesting it, it's because they didn't know what it did without further investigation.
4) Ask for peer reviews and LISTEN to the critique. Even after 20+ years, I send my code to more junior developers and often get good corrections sent back. (remember the ego thing from tip #1?) Even if they have no critiques for me, sometimes they will see a technique I used and learn from that. Peer reviews are win-win-win.
5) When in doubt, do NOT BS your way out. Refer to someone who knows, or offer to get back to them. Often times, persons other than engineers will take what you said as gospel. If that later turns out to be wrong, a bunch of people will have to get involved to clean up the expectations.
6) Slow down in order to speed up. Always start a task by thinking about the very high level use cases, then slowly work through your logic to achieve that. Rushing to complete, even for senior engineers, usually means less-than-ideal code that somebody will have to maintain.
7) Write documentation, always! Even if your company doesn't take documentation seriously, other engineers will remember how well documented your code is, and they will appreciate you for it/think of you next time that sweet job opens up.
8) Good code is important, but good impressions are better. I have code that is the most embarrassing crap ever still in production to this day. People don't think of me as "that shitty developer who wrote that ugly ass code that one time a decade ago," They think of me as "that developer who was fun to work with and busted his ass." Because of that, I've never been unemployed for more than a day. It's critical to have a good network and good references.
9) Don't shy away from the unknown. It's easy to hope somebody else picks up that task that you don't understand, but you wont learn it if they do. The daunting, unknown tasks are the most rewarding to complete (and trust me, other devs will notice.)
10) Learning is up to you. I can't tell you the number of engineers I passed on hiring because their answer to what they know about PHP7 was: "Nothing. I haven't learned it yet because my current company is still using PHP5." This is YOUR craft. It's not up to your employer to keep you relevant in the job market, it's up to YOU. You don't always need to be a pro at the latest and greatest, but at least read the changelog. Stay abreast of current technology, security threats, etc...
These are just a few quick tips from my experience. Others may chime in with theirs, and some may dispute mine. I wish you all fruitful careers!221 -
Well, it was a great experience. Good bye buddy :(
Servers are still working but nobody knows how much time we have.
https://vox.com/2019/4/...7 -
Back on DevRant, glad to be here 😁
I made something which I think is funny, but maybe it's just shit 😂
I have no idea what you guys know about Switzerland.
https://rantmugs.webflow.io6 -
For Windows driver update, found a great (open source) tool to update or install missing drivers.
https://sdi-tool.org/
My dell laptop (Windows 10) screen used to go blank or some bubble used to appear may times a day. Used Dell driver update tool, no update, says all driver up to date.
Then used Snappy Driver Installer tool, which detected my laptop details correctly.
Then it showed that my display driver was almost a year old and there were couple of updates, latest being just last month. In addition to that, there were 30+ updates on disk drivers, networking, sensors, bluetooth, audio etc.
First updated my display driver, upon success, slowly updated the rest of it. Now, the system worked entire day without any issue. Also, my laptop fan used to run full speed seems to have slowed down.
Also, my external monitor clarity has improved.
ps: worked for me, but be careful. Check it thoroughly before updating, update only those drivers which are giving trouble and there are no updated drivers available from windows or manufacturers.8 -
This was my first freelancer project. Just dropped out of school, i think i was 17. No money, no proper hardware, i had a very old laptop & stolen wifi from our neighbor. I lived in a very small room at my mom’s flat, she wanted me out as soon as i turn 18. At the time my plan was to work on freelancer stuff and make my own games. “It will be fine, fuck school, who needs school? 😂“ I haven’t really finished anything back then, so i only had a few wip hobby projects to show ppl as my references. I saw a freelancer job posting. The task was to make a simple quiz game for mobile, it paid 350$. Back then that was a lot of money for me so i took it. I met the client, he said “2-3 week tops, i send you everything, you do the code” Cool. I finally had a “job”😃. The 2-3 weeks turned into a 8 month blur of all-nighting and just implement one more thing and its finished. I did not really have any experience on how to deal with clients and i really needed this project to finally have something on my porfolio. I motivated myself with “if i can finish this i can finish anything”. I think the story of my most definitive all-nighting was 3 months into the development. I finally got everything from the client so it was like just put it together and its done. The client wanted 300 levels, beeing a noob i was i started making all the 300 unity scenes by hand, aligning the pictures, the ui, testing each level, making adjustments to the code, etc.. after a really long night and a fuckton of caffeine i was done. I sent it to the client at around 9 am and gone to sleep. When i woke up i checked my emails to saw this: Cool! But can we do hints? (wich needed a fuckton of rework of my code) I think i had my first mental breakdown while working on the project. After that he wanted more modifications and because i made every level by hand i had to remake all of them like 10 times 😂
But in the end it turned out positive, he really helped me to start my carrier, we became sord of friends and the project gave me a lot of confidence and experience on how to deal with stuff when shit goes wrong because everything that can go wrong in a project gone wrong. It was the most valuable developer lesson. Plus it sounds so cool to say “i was born in development hell, b*tch!”🕶
I attached a pic of the laptop i worked on 😂
Thanks for reading 😃32 -
Yet another commercial seminar upset I won't give up a day of my time to fly to the UK to speak at the event for no payment or reimbursement for my travel.
But of course I should think about the exposure and networking opportunities! 😕8