Details
-
AboutA programming enthusiast. Love to code.
-
SkillsC, C++, HTML, CSS, JavaScript, Bootstrap
Joined devRant on 10/7/2019
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
-
So I tried to set up Google AdSense on my website to show ads and earn some $... Next day AdSense console tells me that they've found "Adult: Sexual content" on my site. Like, WTF? There was nothing of such sort.7
-
Both bathrooms on the floor being used. Had to go downstairs to use bathroom.
Translation:
I took this shit to a whole new level.4 -
Was sitting in my office and someone came into talk to an admin about 32 bit vs 64 bit machines. Overheard this:
"64 bit computers are basically twice as fast as 32 bit"
Bit my lip and laughed silently.7 -
This compiles and works in C++:
int arr[10];
5[arr] = 42;
cout << 5[arr] << endl;
I know why it works technically. Its just pointer math. But I have to ask "Why?" Of all that is unholy, WHY?!11 -
I am having fun building a captured wifi portal. It shows up as "Virus Distribution Point" as an open AP. If you connect to the AP it brings up a page that looks like the picture.
It does nothing except show the page. The page will eventually do some limited javascript animation to make it look like it is doing something.
Right now it is an embedded webpage. Strings in a source file. Eventually I would like to turn this into a product of sorts that would make it easy for someone to use for advertising/pranks. So I expect I will need to create some sort of simple toolset for updating the pages and changing the SSID and the passcode (if any).8 -
To all the people who don't know how to yield when merging on the highway...
To all the people who ride my ass when I am trying to pass a slower moving vehicles...
To all the people who try to pass on the right when I am trying to move back into the right lane so I don't break other peoples windshields with rocks by providing enough space...
To all the people who tailgate, then pass me almost causing a head-on, then 200ft later slow down and make me wait for you to turn...
FUCK YOU!5 -
I have an interest in methods to make myself smarter. At times some ideas seem to be just out of my reach. I don't always know the reason why. Eventually with persistence I am able to figure things out. However, I always wonder if there are techniques to learn things faster, better, more completely, with less struggle, etc. Would being smarter help with this. I wondered, "Can I create a program/method to increase IQ through training?"
So I found an interesting book called "The Neuroscience of Intelligence" by Richard J. Haier.
Very quickly I was engrossed in this book. It is written in a very accessible way and slowly trickles in the jargon. The book is basically the culmination of 40 years of studying the subject. The main point of the book is: you cannot increase your IQ through techniques and tricks. The only realistic avenue for increasing IQ is through genetics. Your IQ is based upon nature, not nurture. This is a result of the data, not opinion. The writer of this book follows what the science is telling him. This was not what I wanted to hear. He also went on to explain that the statement "You can be whatever you want to be if you work hard enough." He said this is false. Some people, no matter how hard they try, will not be able to get past certain limitations in aptitude. This statement will probably make a lot of people mad, but the data led this researcher to this conclusion. Though I sense he found this disheartening (my opinion). I know I did.
So after reading this book over the weekend I am a bit perturbed that there are not recognizable techniques to increase IQ through mental exercises. Websites all over will say otherwise, but it isn't a thing.
What to do? I decided I am going to find ways to maximize my potential. I will create a set of mental exercises that help me use what I got to the full potential. I know when I see different ways to think about things I get a bit better at solving problems. So learning and experience is still a way to improve your intellect, if not IQ. If I feel like I have made progress in this endeavor I will definitely share.
If you have any interest in neuroscience then I recommend the book I read this weekend. It is very accessible for the reader not versed in the subject. I knew virtually nothing about the topic and now I feel I have a good grounding in the state of the art. It has some neat info on some potentially better approaches to AI as well.7 -
In a forum far far away...
<user> I need help understanding something about this library.
<various users> This is how it works. This is something to consider. Here is a good way to learn all of this. etc Really helpful people.
<user> I would say more about what I want to do, but I don't want to receive any more "mouthful of unsolicited advises ".
Really? You fucking ask a question on a forum about what you want to learn. Everyone there takes it seriously and provides some really golden shit on how to learn the topic. Then you shit on them for daring to provide ways to learn the topic?
I don't know if this is a language barrier, or if they are using Google translate. I have no idea. But they come across as an asshole.6 -
Mini-rant
Dear HR people, if you don't provide enough info about the positions that you have at hand forget about me wasting time on call-first acknowledgements to later on realize what kind of waste of time it was!
Sure, making business connections is important but without taking into consideration the other side time is all but respectful, in a professional context.
So, balance your shit and make the call worth the time of all the parties.
Fucking thanks.1 -
The more I'm on here the more I remember all the shit I have had to deal with in the past.
Anyway, lets rant! I just moved cities after college to be closer to my family, I didnt have any work lined up at that stage but started job hunting the moment I was settled in, I did some freelance for smaller companies to stay afloat.
Eventually I got a job at this agency startup where "SEO" was there main focus, still very inexperienced they put me on frontend and data capturing but will teach me how to code using their systems in due time. At this stage I was getting paid minimum wage, but I was doing minimum work and it wasnt that bad.
A new investor bought 49% of the company and immediately moved into the office space to focus more on marketing (He was one of those scaly marketing guys that will sell you babies if he could get his hands on enough to make a profit).
This is where everything starts going to shit. He hires a bunch of "SEO Gurus", fills up the small office with people like sardines squished together. Development was still our main money maker at this stage, so there where 3 new more senior developers at this stage and I started learning a lot really fast.
Here are some of the issues we had to deal with:
1. Incentives - Great more money, haha! No, No, you where 5 minutes late so you only get half of the promised amount.
2. For every minute you are late we will deduct it from you paycheck (Did I mention I was getting paid minimum wage).
3. If you take a smoke break we will dock it from your pay.
4. Free gym membership to the gym downstairs, but you can only go once a week during your lunch.
5. No pay raises if you cant prove your worth on paper.
He on purposely made up shitty rules and regulations to keep us down and make as much profit as he could.
Here are some shitty stuff he has done:
1. We arent getting a 13th check this year because the company didnt make a big profit - while standing next to his brand new BMW.
2. Made changes over FTP on clients work because we where too slow to get to it, than blames me for it because its broken the next day and wants to give me a written warning for not resolving the issue Immediately. They went as far as wanting to fire me for this, gave me 1 day notice for meeting and that I can bring a lawyer to represent me (1 day notice is illegal, you need 5 days where I am from), so I brought a lawyer since my mom was a lawyer. They freaked the fuck out and started harassing me about this a week later.
3. Would have meetings all the time about how much money the company is making, but wont be raising our pay since no one has proven they are worth it yet.
4. Would full on yell at employees infront of the entire office if they accidentally made an mistake on a clients project.
One one occasion I took a week off for holiday, my coworker contacted me to ask a question and I answered that I will handle it when I am back the following week. Withing 2 hours my other boss phones me in a rage, "he is coming to fetch the company laptop from my house in 5 minutes, he will let me know when he arrives. Gives me no time to talk at all and hangs up - I have figured out what has happened by now so when he showed up he has this long speech about abandonment, and trust and loyalty to the company. So I pass him my laptop once he shut up and said: "You do know I am on holiday leave which you approved, right?", he goes even more silent and passes me back my laptop without saying anything, and drives off.
While the above was happening Douche manager back at the office has a rage as well and calls the whole office (25 people) to a meeting talking about how I abandoned the company and how disgraceful that is.
Those are the shitty experiences I can remember, there where many more like this. All of the above eventually led to me going into a deep depression and having panic attacks weekly, from being overworked or scared to step out of line. Its also the reason I almost stopped coding forever at that stage. I worked there for 2.5 years with the abuse.
I left 2 weeks after the last shit show, I am ok now and have my anxiety and depression well under control if not almost gone completely.
Ran into Douche Manager a few months ago after 9 years, the company got bought out and the first person they fired was him. LOL! He now has his own agency and is looking for Developers (They are hard to find he says), little does he know I spread his name far and wide to all and every Dev I knew and didnt know to avoid working for him at all costs. Seems like word of mouth still works in this digital age.
Thanks for reading this far!5 -
Dear app developers
The purpose of toasts is to report a few words in response to a single and repeatable action. Don't put long error messages resulting from submitting an 8-page form in a toast.1 -
Considering using a node.js based library for a simple interface on an embedded ARM system. I have zero experience with node.js. At the very least I will use this as a test rig outside of the embedded system.
How much space will a minimal node.js server take?
Note: If its in the gigs my guess is this will be too large for our system.10 -
I'm breaking out our authentication logic to a separate OIDC server. It's technically pretty straightforward, but just the thought of moving all those users and making sure that the communication between the system and the auth server works properly makes me shiver...3
-
There is a big chance some of you are gamers and so on.. but this, this sh!t should be shared.
Blizzard pulls Blitzchung from Hearthstone tournament over support for Hong Kong protests
https://reddit.com/r/news/...
Edit: words6 -
we are organizer of really big trade fair and wanted to place a new product. It was a landing page for exhibitors especially for the fair, the exhibitor would get a subdomain with his company name. This landingpage had some highly requested features such as a calender for scheduling meetings, some floorplan features and other stuff... long story short: not a single exhibitor booked it. it was just trash and huge waste of time. dont get me wrong, this was actually a really great idea but the endproduct just sucked... now 4 resignations later we may start a new try :D
wish i would be a more passionsted ranter/writer... i have a ton load of such things i could rant about... but most of the time i get my consolation by reading your rants here.
obligatory: fuck, shit, cunt -
Top 3 worst events in human history
3. Black death
2. World war 2
1. The advent of JavaScript
Some say we could have colonized mars by now if not for the number of years society has been (and still is being) set back by this atrocious pile of slug13 -
What do you do when you have to deal with ancien minified js and no dev version left ? seriously , its a legit question ..7
-
AHS season 7 feels like someone locked all member of the most annoying FB-groups on a filmset and said "Do something.".4
-
So yesterday a friend of mine closed a ticket which has been open for around two years: "Automatically publish job offers in our internal wiki."
This was the conversation between him and HR.
- Friend: They're all on our website. Why should they be in our wiki too?
- HR: So that our employees can see them and recruit people for us.
- Friend: How about I just put the link in our wiki?
- HR: No, no links. They should all just be in our wiki.
- Friend: *<iframe src="website"></iframe>*
Now HR and everyone else is happy. -
At a dynamoDB conference. Guy in the audience keeps thinking he knows more than the people who actually worked on it. 🤦♂️8
-
I aspire to become the type of dev that understands frameworks and has technical depth rather than the type that just implements things but it's a struggle. I don't know where the foundations are.7
-
So I figure since I straight up don't care about the Ada community anymore, and my programming focus is languages and language tooling, I'd rant a bit about some stupid things the language did. Necessary disclaimer though, I still really like the language, I just take issue with defense of things that are straight up bad. Just admit at the time it was good, but in hindsight it wasn't. That's okay.
For the many of you unfamiliar, Ada is a high security / mission critical focused language designed in the 80's. So you'd expect it to be pretty damn resilient.
Inheritance is implemented through "tagged records" rather than contained in classes, but dispatching basically works as you'd expect. Only problem is, there's no sealing of these types. So you, always, have to design everything with the assumption that someone can inherit from your type and manipulate it. There's also limited accessibility modifiers and it's not granular, so if you inherit from the type you have access to _everything_ as if they were all protected/friend.
Switch/case statements are only checked that all valid values are handled. Read that carefully. All _valid_ values are handled. You don't need a "default" (what Ada calls "when others" ). Unchecked conversions, view overlays, deserialization, and more can introduce invalid values. The default case is meant to handle this, but Ada just goes "nah you're good bro, you handled everything you said would be passed to me".
Like I alluded to earlier, there's limited accessibility modifiers. It uses sections, which is fine, but not my preference. But it also only has three options and it's bizarre. One is publicly in the specification, just like "public" normally. One is in the "private" part of the specification, but this is actually just "protected/friend". And one is in the implementation, which is the actual" private". Now Ada doesn't use classes, so the accessibility blocks are in the package (namespace). So guess what? Everything in your type has exactly the same visibility! Better hope people don't modify things you wanted to keep hidden.
That brings me to another bad decision. There is no "read-only" protection. Granted this is only a compiler check and can be bypassed, but it still helps prevent a lot of errors. There is const and it works well, better than in most languages I feel. But if you want a field within a record to not be changeable? Yeah too bad.
And if you think properties could fix this? Yeah no. Transparent functions that do validation on superficial fields? Nah.
The community loves to praise the language for being highly resilient and "for serious engineers", but oh my god. These are awful decisions.
Now again there's a lot of reasons why I still like the language, but holy shit does it scare me when I see things like an auto maker switching over to it.
The leading Ada compiler is literally the buggiest compiler I've ever used in my life. The leading Ada IDE is literally the buggiest IDE I've ever used in my life. And they are written in Ada.
Side note: good resilient systems are a byproduct of knowledge, diligence, and discipline, not the tool you used. -
GM sucks. (General Motors)
There HR sucks, can't call on booked time, for phone screening and wanted me after I applied for job 4 months ago. I still entertained them. But now, it has gone too far.
I am blacklisting GM for life. I will never ever work for them, unless they give me 1 Million per month2 -
🤔 If developers were linguists...
Person 1: How do you say "????" in Italian?
Person 2: Why don't you use Japanese? It's a much better language.6 -
Trying to learn react and Next.js so far having one hell of a time even connecting a mongodb atlas database and displaying the data. Guides show nothings, YouTube shows nothing. Fun.5