Details
-
Skillsjs, ReactJs
Joined devRant on 4/29/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
-
Gonna start to learn everything I can about Networking Programming. I’ve always wanted to do stuff that requires it so I’m gonna do it. **Also foreshadowing my next project**7
-
TL;DR;
I was asked to give estimation on an app, that:
1. No one has a clue what it does, even though there is v1 on the store with almost 10% of functionality working
2. No one has a clue what should be in the new rewritten version
3. We are already behind schedule and I have no clue why, I've just been told that
4. They need UI flow that shows how the app will work with static data and when API's are ready (because ya know, writing code is easier than creating wireframes and modifying them accordingly) I will then need to link app with API as if it is as simple as drinking a cup of water, especially that: 1. What is water? 2. Do I have a cup or is it given, and 3. Relax bro, drinking water is like eating a burger, piece of cake!
I'm not sure what to do, not enough that it's React Native but also spaghetti requirements that no one was able to answer my simple question: What is the app responsible of?
P.S.: Some say I must rewrite the old app ONLY, no new features, others say: Turn the new web portal into mobile app, I say: WTF is going one?6 -
Once upon a time i had a great idea.
Because i couldnt be bothered to do anything productive i created a simple app in the C# that would look into every .js file (from a game that uses it for the gui/main menu) and search for "//todo" lines.
I did it mostly for kicks. I got that idea when i encountered one //todo in a file when i was trying to mod that game.
Yes i know grep exists: fuck you.
It would have taken me more time to learn that than to write that 20 line program...
The result? Over 30 lines of //todo with some briliant pearls in the type of:
>Temp workaround because X
>Workaround for race condition
>Clean that up
>Obsolete
When i return home i will post real quotes. They might be amusing to read...
The game is based on a custom C++ engine. HTML, CSS and JS is used for main menu and some graphical interface in game.
The most amusing thing is that this inefficient sack of chicken shit is powering one of the biggest (no playerbase but unit, world, gameplay vise) rts that i have ever played.
But still in spite of a dead community, buggy gui as shit and other problems i love this game and a lot of other people love it too. It is a great game when it works correctly.
To the interested: JS portion uses jquerry and knockout lib.14 -
Everyone and their mom has an app idea they want you to code. Friend enthusiastically invites me on to work on a project, under the premise that he wants to learn development, seems legit. A few weeks later I'm building the entire app, and my friend still hasn't written a single line of code. Now he wants to pay me to finish building the app by myself and I am NOT feeling it AT ALL. UGH.... can anyone relate??1
-
Is there any good linux application to send FUCKING RAW data to a serial port?
Port in question: /dev/ttyACM0
Baud (nice if configurable): 9600
I want to send specific binary data. I want to send 0b00110011 or something like that to it, not some character or a hex value.23 -
VirtualBox is fucking evil
It wants the humanity to disappear due to self doubt, random errors and depression
AAARRRGGGHHH
KILL VBox BEFORE IT KILLS ALL11 -
Data representation is one of the most important things in any kind of app you develop. The most common, classic way to do it is to create a class with all the fields you want to transport, for example User(name, lastName). It's simple and explicit, but hell no, in my current company we don't play that kindergarten bullshit, the only way we know how to do things here is full hardcore. Why would anyone write a class to represent a Song, a Playlist or an Album when you can just use a key-> value map for pretty much everything? Need a list of songs? No problem, use a List<Map<String, String>>, OBVIOUSLY each map is a song. Need a list of playlists? Use a List<List<Map<String, String>>>... Oh wait, need to treat a value as a number and all you have are strings? That's what casting is for, dumbass.
No, seriously, this company is great. I'm staying here forever!1 -
Why is it that if you are not able to remember every single detail about something you've heard, that you as a person are deemed worthless?
Everything you do and need in life is bound to your memory.
Can't remember a name?
That's rude.
Can't remember what a technology does?
You won't get that job.
Can't remember the topics you learned about in school?
You won't get that education.
I can't remember things, my mind is constantly drifting. This, together with my inability to articulate myself clearly, makes me a complete nobody.
I hope that someday I'm just able to do something creative and not have these issues. Until then I'll just try not to jump in front of a train.2 -
I'm using framework X, I managed to google and fix the bug in a few seconds, nice!
I'm using framework X with library Y, I managed to google and fix the bug in a few minutes, nice!
I'm using framework X with library Y and Z that adds certain features, I managed to google and fix the bug in a few hours, I need a bathroom break and coffee but great!
I'm using framework X, runtime environment version 3, library X and Z and am trying to achieve T because god knows why and managed to only find 2 old stackoverflow topics and 1 reddit post almost completely unrelated but I tried their code anyway and I feel so miserable I'm behind schedule and can't seem to be able to fix this stupid issue what am I doing with my life oh please...2 -
It has come to my attention that, I @C0D4 have become an addict.
This is something I thought I could fight. Resist the urge to become attached to my substance of choice in the early days and not have it compromise my every day life.
But how wrong I was, my addiction grew over time and my ability to resist the urge to peek at a ++ spam wall, or get back into a discussion at the mention of my name, read more of the great stories that remind us all, we are not alone and many of us are on a similar journey.
So, devRant my one true drug of choice, Today is a significant milestone on this path of corruption, my 1024th (1kib) day!
Here's to another 1024 days of snorting rant lines 🙌 🤤😎11 -
Arguing over PRs with juniors who try to push unnecessary badly maintained dependencies, which are in fact just turds wrapped in startup hypespeak, because they're too lazy to actually invent some non-square wheels.
-
I have healthy anxiety, it started around 15.
I have melanonychia right now, which is a change in a nail pigmentation. I have a grey vertical line running from the the start of the nail to the end.
I had it checked out 6 months ago with a dermatologist and he said it was fine, to do a checkup later.
I took a picture now and it's a bit wider than 6 months ago but it still seems pretty regular and doesn't seem to have signs of subungual melanoma (skin cancer beneath nail, which is the only danger).
Because of getting wider, I'm doing another checkup this week. I wished I had more money.
Meditation is helping me a lot, like big time, but I feel that it's just a distraction for a potentially early demise.
I fucking hate this part of my life. It's too painful.
I'm not depressed enough to not want to be alive, but sometimes I wished I wasn't.4 -
hi 👋🏻 everyone. Recently I created a file system UI in react. Would love to have some feedback on https://github.com/imshubhamsingh/...9
-
When I hear that “you don’t have to use semicolons in Kotlin / Go / whatever” uttered with such excitement and relief, I am astonished. Semicolons are a problem now? Were they ever a problem?10
-
Idea: Hiding a 3D object in an image by making a list how often every color appears and then displaying that as density information in a 256³ cube (aka using a 3D histogram to encode a 3D object)15
-
Not really a rant about coding itself, but it's a rent, I'm a dev, so here ya go:
I have a German citizenship, but am living in Hungary temporarily. Also, I need internet. So I go to the website of UPC, register, order a package, etc. Just as I would do anywhere else....... Except for the fact , that they just called me that I should send them my passport, because they neither accept my German ID, my Hungarian registration card or anything else. I DON'T HAVE A PASSPORT YOU MOTHERFUCKERS! I LIVE IN THE EU, I DON'T NEED A PASSPORT!!
But the best part was when they told me I should just ask my mother to make the contract for me, because she does have a Hungarian citizenship. ARE YOU KIDDING ME??!6 -
Freaking tech support.
Freaking sparkhire.
Their 'one-way interview' bs only supports flash. Flash. in production. in 2019. Flash died years ago, and its support ends next year. What the crap?
Anyway, I finally decided I should do the interview since they already have all of my information anyway. Thanks, "privacy-conscious" third party. Totally appreciate it.
I spent half an hour and couldn't get flash working on their site (but all other sites were fine), so I contacted their support. I gave them all the relevant specs (inc. ofc browser), the steps to reproduce, and all of my attempts at fixing the issue.
To their credit, I recieved a response within a few minutes. To their discredit: their response was: "What browser are you using?" This question was followed by my report (including, ofc, my browser and all the other overlooked details), immediately followed by a "debugging info" section appended by their support service that also included my browser, os, and other specs.
Learn to fucking read.
Their suggestion? Use google chrome. Barring that: record your 20-30 minute video by holding your phone in front of your face the entire time. I am so not kidding.
They also asked what page i was having difficulty on. You guessed it: the page url was also included within that "debugging info" section.
It wasn't a form letter, either. I'd understand if it was all automated, but it was a real person who was really typing up the emails, and really didn't bother reading a damned thing.
I did end up getting flash working, but their "tech support" (script-reader) was entirely useless.16 -
Yeah, an industrial KUKA robot arm carrying a Red camera, which is controlled by an Xbox controller via an iMac running Windows. Yeah, MKBHD is great.
https://youtu.be/QKyul7puruQ19 -
TDD.
I'm a fan of writing tests right after you write every module. I actually think it's doable.
But I'm not a big fan of traditional TDD, which is defined as: first writing the tests, making them fail, writing code until tests don't fail.
My experience with traditional TDD when writing library code is that you start with this very naive idea of what is needed, so you write classes and functions and a lot of times they look like overly simplistic pseudocode.
So what do you do? You scratch that, you delete those classes/functions several times.
I think this discovery process that your code is naive is slowed the fuck down by doing TDD.
I'd rather write a theoretical API in a readme file, then write code, and then write the tests, you can even withhold writing the tests, but never leaving them for another day, just so that you don't waste time writing tests that you're going to scratch.
There's always a time constraint, and most of us can't afford bikeshedding.
Traditional TDD feels like an esoteric thing, it tries to make programming a series of steps, it actually sounds like an infommercial.
"FOLLOW THESE 3 SIMPLE STEPS AND WRITE THE BEST CODE EVER"11