Details
-
AboutI am very interested in computer science and software development.
-
SkillsMaths. Statistics. Machine Learning. Python. Java. C.
-
Github
Joined devRant on 9/15/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
-
Interviewer: "Please demonstrate a simple program that outputs hello world in C."
*sweating profusely* me:
C C CCCCC C C CC
C C C C C C C
CC CC CCCC C C C C
C C C C C C C
C C CCCCC CCCC CCCC CC
C C C C CCC C CCC
C C C C C C C C C
C C C C C CCC C C C
C c c C C C C C C C C
Cc cC CC C C CCC CCC2 -
Hello and welcome, to a presentation in which I will tell you my thoughts on the shortcomings of modern day computers and programming practices.
Computers are based on a very fundamental and old idea, folders, and files, a file is basically a concrete amount of data, whereas a folder is a group of files, and it comes from the real life concept of files and folders, now it might be quite obvious already that using a concept invented in 1898 by a guy called Edwin G. Seibels, might not be the best way for computers to function in the year 2020, but alas, it is.
Unless of course, you step into the world of a programmer.
A programmer’s world is much different, they use this idea of a data structure, or in simpler terms, an object. An Object is just like what you would think of as an object in your head, something with different properties that you can think about in different ways, for example your mobile phone, it has a battery percentage, it has a screen size, it has free space available. Programmers use these data structures to analyse data very quickly, like finding all phones with a screen size bigger than a certain size for example.
The problem is that programmers still use files and folders to create the programs that use these objects.
Consider this example.
Let’s say you want to create a virtual version of a drink bottle, consider what properties it will have, colour, volume, height, width, depth, material, etc..
As a programmer, you can leverage programming features and change the properties of a drink bottle directly, if you wanted to change the colour, you just say, drink bottle “dot” colour, equals blue, or red.
But if the drink bottle was represented as a file, all the drink bottles data would be inside the one file, so you would have to open the whole file, find the line or section of the file that has the colour data of the drink bottle, and select it, highlight it, delete what’s there, and type in your new value.
One way to explain this better is to imagine a folder that now represents the drink bottle, imagine adding a new file into that folder that represents each property I described before, colour, volume, etc.., well now, you could just open that folder, find the file for colour, either by looking with your eyes or you could do a file search in the folder for a file called colour, open it, and edit the value inside. This way of editing objects is the one that more closely represents the way programmers and a program itself interacts with objects inside a running programming language.
But the thing is, programmers don’t use the folder/file way of creating objects and putting them into programs, because it would be too cumbersome, they just create 1 file for an object, or have lots of objects in a file, and create all the objects in 1 file, and then run the program which creates the objects, then when they stop the program, it deletes the objects. So there is no actual link between the object in a file and the object that the program creates by reading the data from that file, if you change the object in your program, it does not get saved to the file.
So programmers created databases to house these objects, but there is still a flaw in databases, they are hard to interface with, and mostly databases are just used to send data or retrieve data from, programmatically, you can’t really browse a database the way you can browse the files on your computer. You can, but database interfaces are not made to be easily navigated the way files and folders are.
As it stands, there is no way to store objects instead of files on your computer and interact with them in complex ways the way programmers can inside the programs they create.
If the idea of an object became standard the way a file and folder is standard, I think it would empower human’s a great deal to express things far more easily and fluidly than they can today.
Thanks for reading.8 -
As a junior developer, your primary goal should be to learn and absorb as much as you can, not to try to make a name for yourself. It's all too common that I see devs fresh out of college with this amazing gung ho attitude that quickly devolves into needing to feel like the smartest person in the room.
This leads to an unnaturally inflated ego, a feeling of self importance, and blocks you from truly understanding what is going on in the stack in front of you.
That's not to say you can't try to take on difficult tasks, just be humble and ask for help when you need it, and don't make assumptions that might lead to rework later.
I would much rather you ask me a question then put up a PR that has wildly different assumptions because you didn't fully understand the acceptance criteria of a particular task.
tl;dr - sit down, shut up, do your job, learn what you can as fast as you can.
Sincerely,
A very fed up Senior Dev5 -
Dev from other team asked me for a code I had previously written. I emailed it.
Dev: Thanks, I received it but am not able to open the .py file
Me: Try using Microsoft Word.12 -
We hired a developer and he has very minimal experience. I feel most of our conversations end up going something like this.
New Guy: I'm not sure how to do this obvious task and I'm incapable of searching Google.
Me: Give me your hand so I can hold it and walk you through the process of copying and pasting code from stack overflow.
New Guy: Ok...give you my hand...right...how do I do that?
FML7 -
If you're fascinated by compilers and want an easy read, take a look at http://homepage.divms.uiowa.edu/~sl...
It's math light and goes into theory in a casual manner. Was fun reading. Take a look.1 -
Hello fellow people,
though I'm normally just a lurker, I want to take some time to make some new years resolutions I probably won't follow after a few days, but I do have some small goals I hopefully can achieve.
1. Hopefully not regretting to post this. I get kind of anxious when I think about someone I know could see this. I'm fairly new to this site, so I really don't know what's going to face me.
2. Getting my mental health on the right track.
I could do so much more if I wouldn't be as... occupied with uncomfortable thoughts as of right now, such as feeling as if I am not able to do what I want to do because I'll never achieve anything so why even trying... I want to change that, because I'd be more able to do things I want to do; to have more energy for uni because that's what I originally wanted to do. study computer science because it was and probably is still fun to me. finding the motivation I've had a few months ago.
3. With that follows... trying new things; starting a project and hopefully finishing it.
I don't know. I normally don't do these kind of new years resolution things, but I took this small opportunity, even if it is just for me, to write it down.
Here's to... another chaotic year, as always. But better chaos. I don't know... why am I doing this? This page wasn't meant for this or was it? I'm confused now. I'm sorry if this bothered anyone ^^'9 -
Mozilla has announced that it's rolling out changes under the California Consumer Privacy Act (CCPA) to all Firefox users worldwide.
According to report of ZDNet: The CCPA (America's privacy legislation) came into effect on January 1, 2020, offering Californian users data-protection rules. Much like Europe's GDPR, the CCPA gives consumers the right to know what personal information is collected about them and to be able to access it. While the law technically only applies to data processed about residents in California, US. But Mozilla notes it was one of the few companies to endorse CCPA from the outset. Mozilla has now outlined the key change it's made to Firefox, which will ensure CCPA regulations benefit all its users worldwide. The main change it's introducing is allowing users to request that Mozilla deletes Firefox telemetry data stored on its servers. That data doesn't include web history, which Mozilla doesn't collect anyway, but it does include data about how many tabs were opened and browser session lengths. The new control will ship in the next version of Firefox on January 7, which will include a feature to request desktop telemetry data be deleted directly from the browser.6 -
Last year my goals were two:
- work less
- earn more
and I only achieved the second one.
Based on that, my new resolutions are:
- sleep more
- do not work more
- earn more or equal
- to gain stability
- more efficient workouts7 -
PM: "Why are you absent on a regular holiday?"
FUCK, I JUST NEED THAT DAY TO GET PAID AND REST AND YOU WANT ME TO WORK FOR IT DURING HOLIDAYS?13 -
Someone paid me almost 200 usd to solve a visual basic assignment made of 13 small questions like palindrome checking, finding max,...
i feel i stole the girls money but i also feel i wish i can do this full time8 -
Hey everyone,
Merry Christmas to everyone who celebrates, happy holidays to everyone, and happy almost-new-year!
We had a bit of a slow year in terms of devRant updates, but we gained some momentum towards the end of the year and we're looking forward to carrying it into 2020. Recently, we launched what I think are our coolest new avatar items yet (https://devrant.com/rants/2322869/...) and behind the scenes we got our iOS/Android apps on the latest version of the frameworks we use, which will help us continue to improve stability. Still, we definitely would have liked to do more, but we're optimistic the coming year will bring great things for devRant.
One thing we are very proud of is this year we had our best year ever in terms of platform stability and uptime. Despite the platform growing and our userbase growing, we had almost no complete app downtime even though our infrastructure is minimal. A large part of this is thanks to devRant++ supporters, who allow us to maintain a small but effective tier of infrastructure and redundancy.
In the coming year, we're going to launch one of our most ambitious initiatives yet, and we're also going to continue to improve the devRant experience itself. We want to try to gather more user feedback, so we'll be working on a way to do that too. Stay tuned, more on this stuff coming soon.
As always, thank you everyone, and thanks for your amazing contributions to the devRant community! And thank you to our awesome devRant++ supporters for continuing to be the main drivers to keeping devRant up and running.
Looking forward to 2020,
- David and Tim28 -
Android: Gboard has stopped
Close app
Send feedback
(ok, try again, same thing)
presses "send feedback" - O_o and how exactly do I type now?4 -
Those feelings you get when you know @dfox can see you in he's rear view mirror.
https://c0d4-101.github.io/devRant-...25 -
Real question:
If I save your data in the cloud and it's raining outside, will I lose my data? or Am I safe?4 -
That moment that you have a job interview the next day and your voice just disappeared due to a cold.
This is going to be great 😅14 -
So i just realized why servers are called "servers"
because they SERVE CLIENTS!
I've only been a web dev for 7 years...*facepalm for life*25 -
My employer has a dev studio in Cali.
The office is gigantic.
It has amenities.
It has a stocked fridge full of iced coffee, energy drinks, and apparently wine.
All the devs have totally enviable hardware.
And they probably earn twice what I do, or at least 50% more.
Yet they write absolute shit, never test their code, and push broken updates every day, often marked as "ready for final testing." Their codebase is full of hacks and guesses and stale cruft and worst practices. I wrote a rant recently about one of their fuckups, which involved 18 million Facebook errors per. day. So that should give you some idea as to the quality of their code, and their level of can't-be-bothered.
Again, they make 50%-100% more than I do.
Their whiny lead dev is bloody lazy when it comes to building things correctly, and totally prefers to half-ass everything and complain instead. He probably makes 150% of what I do, doing like 25% as much work, and maybe 10% as well. Doesn't quite compare though, as he's a Unity dev, not a backend dev. So his work isn't as critical.
akagdkdafavskakeuxbfh.
Bloody pisses me off.
"But their cost of living is higher!"
THEY SHOULDN'T EVEN BE EMPLOYED.rant root gets angry this is the short-short version overpaid crap-tier devs but i got too angry this was originally to be a comment22 -
DigitalOcean have given me heaps of free credit for hosting open source projects / things related to open source projects over the years. They've also given free hosting to various charities I know. Seem like a bunch of genuinely good people.9