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
Search - "dav"
-
Last night I had a dream about a bug and I woke up with a solution. When I got to the office and tried it out it worked...I have heard about this happening before but this is the first time I have experienced it!11
-
This is not a rant but this is great
I GOT THAT JOB OFFER YES! AT LEAST I WON'T SEARCH FOR JOB AFTER OUR GRADUATION. I LIKE THIS FEELING YES!!!6 -
Time for a rant!.
Got a client I've just built a website for and they went live 2 weeks ago.
This morning he sends me an email saying that the website is not good enough because it's not making any sales or getting any traffic.
I send an email back asking if he has a marketing / SEO company... The response was I thought you do that as you said the site would be SEO friendly!!!.
I'm a developer! Not a marketer, fuck off.2 -
All my code is hacked together and barely works and is nowhere near shameless. But I'm pretty proud of my hardware hacks. Like the sticker that holds the casing on my laptop together.2
-
While using Microsoft word:
Moving a picture 1mm to the right
All text and images shuffle, two new sides appear and sirens are noticeable in the distance7 -
Ever since I started working at a company that has a real focus on software I have less to rant about....😒3
-
My morning is starting off with a 40,000 line code review of a php project....yeah how's your morning going??!??!!??8
-
Good to see instagram move to python3 without an exception. Literally that was smooth. Cheers to those who think Python is not scalable. 95 million photos on daily basis. 400 daily users.
https://thenewstack.io/instagram-ma...5 -
Just found another forum message from someone that doesn't understand Java and JavaScript. They said JavaScript is the code that Java runs....I thought we fixed these people.4
-
Late night coding and my last git message is "changed a shit load of stuff...don't worry I got this"
Good thing this a personal project haha1 -
spent 7-8 months looking for work (did a few freelance jobs in the mean time), spent what's worth of days on LinkedIn.. no reply at all, talked to recruiters got declined over the phone after 2-3 mins of call time..
Applied to a company branch in my home country nailed the 4+1(code challenge) interviews, will be leaving this Saturday morning (in 2days) now the bloody bastards start to reply and send offers for positions they have, when I clearly have to decline as I don't want to be left empty handed..
fuck you Sam, Jake and the other pricks that decided it is OK to reply after 3-4 months.. go fuck yourselves with a horse's dick you piece of crap.. After you're done, go shoot yourselves with the gun for ugly dumb animals!!! Hate you!
Kind regards, dev-nope!3 -
😩 That moment when you finish a project (part), close browser tabs close tons of terminal windows, quit a giant ide.. and you realize that you forgot a thing.. 😩12
-
twitter: good job, let's promote your profile, but you have to pay us.
devrant: awesome job being involved, here some stickers!
found a much better community3 -
The feeling, when you realize that devRant uses PHP as main language... priceless..
haters gonna hate :D
Thanks, @dfox7 -
client: We need a system that will monitor the items from warehouse X from a distant location
us: Okay then first, we need to setup a server for that. So, we need a downpayment for labor.
client: I'll pay you when the system is done. 100%.
us: ...
we don't shit money to handle the costs given that we're still starting out our business. Fts.4 -
Hallucinations of my father that keep taking control of my psyche and making me hack things I don't remember or shooting me in the head to break down my sanity.5
-
*compiled a program but got lots of errors*
My Solution:
Recompile the program 5 times without changing anything hoping that it will solve the fucking problem.3 -
One of the many problems with AWS free tier is the obfuscation of expenditure by design. This is NOT OK.17
-
A kid in highschool asked what are the similarities between Java and Javascript. I told him:
"Java is to JavaScript what Car is to Carpet."6 -
boss: wish there was a way to go back to older versions..
me: there is, it's called git, I can show you how to use it!
boss: nah we will just keep using the sync on Dreamweaver
me:....the fuck?!2 -
RANT!
I need to stop Procrastinating FFS.
I have a todo list bigger than my arm and just can't seem to get anything done.
Any tips to beat Procrastination?.
And just don't procrastinate doesn't work 😂.13 -
TL;DR you suck, I suck and everybody sucks, deal with it....
------------------------------------
Let me let off some steam, since I've had enough of people hating on languages "just because"
Every language has it's drawbacks and quirks, BUT they have their strengths also. Saying "I hate {language}" is just you being and ignorant prick and probably your head is so far up your ass that you look like an ass hat. With that being said, every language is either good or bad depending on the developer writing in it. Let's give you an example:
If I ware to give you a brick and ask you to put a nail in a plank, can you do it? Yes, it will be easier if you do it with a hammer, but you have a brick, so hammer is out of the question. If you hit your thumb while doing it... well... sorry, but it is not the bricks fault - it is YOU!
JavaScript, yes it has a whole lot of problems, but it works, you can do a ton of stuff and does a good job at that, it is evolving through node and typescript (and others, just a personal pref), BUT if you used js when you ware debugging that jquery (1.0) plugin written in the free time of a 13 yo, who copy pasted a bunch from SO, well, it is not js' problem - deal with it. Same goes for PHP, i've been there where you had a single `index.php` with bazillion lines of code, did a bunch of eval and it was called MVC, but it also is evolving.. thing is all languages allow you to do some dumb stuff so YOU have to be responsible to not fuck it up (which you always DO btw, we all do). Difference is PHP/JS roll with it because the assumption is that you know what you are doing, which again - newsflash - you don't.
More or less I would blame that shit on businesses which decided to go with undergrads to save money instead of investing in their product, hell, I am in a major company that does not invest that doesn't care a whole lot about dev /tech stuff and now everybody's mother is an engineer - they care about money, because investors care about money (ROI) and because clean code does not pay the bills, but money does.
If we get all of the good practices and apply them to each language every one of them has it's place, that is why there is no "The Language", even if there was, we STILL ware going to fuck it up and probably it was going to be even worse than where we are now.
Study, improve, rinse and repeat... There are SENIORS and LEADS out there that are about 25-30 and have no fucking clue about the language, because they have stuck up their heads up the ass of frameworks and refuse to take a breath of clean air and consider something different than their dogmatic framework "way" of doing things.. That is the result you are seeing. Let me give you a fresh example to illustrate where I am at atm:
Le me works with ZendFramework 2.3-2.5 (why not, which is PHP5+ running on PHP7 [fancy, eh]), and little me writes a module for said project, and tries to contain it in its own space, i.e not touching anything outside of the folder of the module so it is SELF-CONTAINED (see, practices), during 2-3-4 iterations of code review, I've had to modify 4 different modules with `if (somthing === self::SOMETHING_TYPE)` as requested by my TL, which resulted in me not covering 3 use-cases after the changes and not adding a new event (the fw is event-driven, cuz.. reasons) so I have to use a bunch of ifs in the code, to check a config value and do shit. That is the way of I am asked to do things I hate what I've done and the fact that because of CR I have lost case-coverage, a week of work and the same TL will be on my ass on monday that things are now "perfect".
The biggest things is "we care about convention and code style"... right.... That is not because of the language, not because of me, not because of the framework - it is some dude's opinion that you hate, not the language.
New stuff are better, reinventing the wheel is also good, if it wasn't you would've had a few stone circular things on your car and things ware going to be like that - we need to try and try, that is the only way we actually learn shit.
Until things change in the trade, we will be on the same boat, complaining about the same shit over and over, you and me won't be alive probably but things will not change a bit.
We live in a place where state is considered good, god objects necessary (can you believe it, I've got kudos for using the term 'God Object'... yep, let that sink in). If you really hate something, please, oh god I beg you, show me how you will do it better and I will shake your hand and buy you a beer, but until then, please keep your ass-hurt fanboy opinion to your self, no one gives a shit about what you think, we will die and the world will not notice...6 -
I have a feeling that a senior dev left a bug on purpose to see if I would catch. Anyone else have that feeling or am I just paranoid?6
-
When your hardware friend keeps referring to Javascript as Java...WTF I figured you would know the difference!!!!!#/###!!!#2
-
Godammit Homebrew.
It's bad enough having to develop C on a Mac, now Homebrew is refusing to let me install a package that needs root privilege. Support simply says "no package needs root privileges" and "run as an admin". BITCH, THIS PACKAGE NEEDS IT.
So now I'm downloading homebrew source just to add a "--fuckingdoit" flag that skips their shitty "no sudo" rule.
Tooling should save me time, not WASTE it.1 -
Algorithms real life implementation
On the way to your college canteen? -> A* search
Waiting in line in the canteen? -> Queue
Notice that girl standing in front? -> Linear search
Searching for her dad in the phone book? -> Binary search
Stupid! Google it! -> Trie
Search for her on Facebook! -> Depth-first search
Found her! Friend request? Accepted! Send a Hi! -> Graph
Writing her a secret love letter? -> Caesar cipher
Uploading your first date pic on fb? -> Image compression algorithms
Looking through her Whatsapp messages? -> KMP algorithm
She found out and had your first fight? -> Start over with some gifts! Backtracking
Got her list of items to buy? -> Array
Too many items! Low on cash, maybe? -> Priority queue
Making her play treasure hunt for her gifts? -> Linked list
Wait! Go back! Is that a ring? -> Stack
Girl’s family not agreeing to your proposal? -> Divide and conquer
Got married? Congrats! Going for your honeymoon? -> Travelling salesman problem
Your mom packing luggage for you? -> 0/1 Knapsack problem
She packed your favorite pickles? -> Hash table
Driving to the airport? -> Breadth-first search1 -
Within 20 minutes of posting a question on stack overflow it was down voted - with no explanation. Fucking hate that site4
-
I found it funny that we're actually debugging our code on prod. (while the client is using the system)
Looks like I'm playing minesweeper. 😂
ps. will never do it again
pps. don't do it
ppps. you should not4 -
when I got hired my boss wrote a cms in php that's 50,000 + lines of php code, without a single line of documentation. Yeah can you tell how my first few weeks went?1
-
Node: Will you go out on a date with me ?
JavaScript: Where?
Node: Outside the browser.
JavaScript and Node lived together happily ever after.
*** After marriage ***
Node: What is wrong with you? Why don’t you let me EXPRESS my feeling?
JavaScript: Stop overREACTing.
Node: You never want to understand my point of Vue.14 -
I have started my first job as a web developer since February 1st. During the one month training period which is in progress, one of the training sessions was on Git and believe me Git is the most fascinating thing came to know me since I have joined computer science field. In love with it.2
-
Client: We are in a tight budget, but you'll get a lot of exposure
Me: NO! I have enough exposure on my camera.. 😉😜1 -
As a junior dev I'm really frustrated at work today. My boss wanted us to complete a project within 3 weeks. The project includes a multi-tenant hotel system that includes reservation, invoicing, advanced reports, housekeeping system and an API. I'm starting to feel something about myself, I have no progress. I'm so slow. I love what I'm doing but maybe this is too much.
ps. we're a team of 28 -
about 6 years ago I was working for a large consulting company on a government project. I put in a change for a stored procedure that hard coded the partition to 0, except 0 didn't exist on production, just on test. several thousand government employees couldn't access it for a day. 😞
-
So I own a small business that is a licensee of about a few hundred other ones. I wanted a mail list from the corporate office and they wanted to charge me. (we already pay them hundreds if not thousands a month) So I wrote a python script to scrape their website and get the info for free. I love programming!3
-
I decided to create this so that my head would not need to look down. I noticed when just putting laptop on my knees my head has to look down and it causes headaches when looking down. So this "desk" make me no need to look down.
The desk has wheels so you can relatively easily move away from bed.
So prototype is done, now this could be improved to look better. Idea for furniture makers - you could do this and sell :)18 -
watched first two episodes of mr. robot and it seems pretty good so far. does it go like other hacker shows/movies or does it stay good?10
-
Look, i'm trying to do this 365 days of code and guess what? I forgot to push my local changes to the remote branch. I'm on my 43rd day streak and fuck it I have to start again.10
-
browsed LinkedIn articles, saw one about "good qualities of WordPress Developer", first bullet point is "following coding best practices" is it just me or that is one of the main things wrong with WP
-
Fine don't take my suggestion during refactoring old code. Keep the python code over 100 lines of code...we could have cut it in half, but whatever
-
Boss: hey can you loop through all the entries in the data base (PHP) to make a menu of everything?
Me: me sure thing, shouldn't be a problem
10 min in playing with the database...and I remove the table...FUCK ME?!!??!!!
good thing we backed up the night before 😂😂1 -
Today looking at code thinking to myself "I thought I fixed that code...shit that was in my dream!"
Why me?! -
When I was in first year, I let my classmate copy my source code for our VB program in order for him to save the semester. We both agreed that he should change the variables, etc first before submitting the project.
GOOD NEWS: He literally changed the variables.
BAD NEWS: We had the same interface on our project.
It sometimes haunts me, until today.3 -
!rant
Has anyone else noticed the bug when you scroll down on the profile of a person you can't see the avatar and the profile description anymore after scrolling up again?
@dfox13 -
How do you create a folder named "CON" in windows??
You switch to linux and name it whatever the hell you want!!5 -
the happy moment when you get turned down by agencies over the phone, when they "don't think you are what they are looking for" although you have 4 years commercial experience and are 23 years old, by an agent that fancies the term API and WordPress... fml3
-
P L E A S E
Do not just teach them on how to program. Teach them on how to properly write a documentation and how to properly execute a project. Like, don't start coding directly. Teach how to plan a project properly especially on estimation. (lol)4 -
Life is a constant battle of not knowing whether I want to quit programming forever, or if I just need 8 hours sleep.1
-
swag link says you need 20 +1's for stickers and 175 +1's for ball from each post. clicking on Learn More it then says you need 15 +1's for stickers and 150 +1's for ball from each post.
How about some stickers for spotting a content issue?1 -
thank you @dfox! love the new avatar builder!
is it possible to link those avatars/expose an api to use on other sites?5 -
If writing caption for your Instagram picture is an art, then what is commit messages for your GitHub repositories.5
-
Traceback (most recent call last):
File "me.py", line 1, in <module>
AttributeError: 'Dave_Elec' object has no attribute 'social'1 -
you know what really grinds my gears.. when agencies/companies post "PHP developer" positions and require ajax, js, jquery, angular and WordPress templates... its a back-end language ffs1
-
had an interview at a place that went good at the technical part but I didn't do great at their 'abstract' questions. the guys interviewing were complete stone faced as well, no personality, pretty sure I wouldn't have liked working there anyways. a few years later and they are still looking for people. the recruiter rings up and I said I wouldn't want to re-interview unless the process had changed. he guaranteed me it had. so I went back in and it was exactly the same. exactly the same technical questions, followed by more abstract questions. different guys but same no-personalities. never going back
-
devRant reached the Philippines! Thank you @dfox and @trogus for this treat. Greatly appreciated!
ps. i named her devi (Hahaha)7 -
When I was younger my mom would tell me to clean the soda cans off my desk. Now my wife tells me to clean the beer cans off my desk. It nice to have a beer when late night programming :)
-
Who would have thought that slack would be very helpful on a team project. We've been using messenger all the time. Damn it. Where r u during my college days.2
-
So I'm at this disco thing for family and all I can think about is being in my den coding away. Anyone else have this issue ? :D.2
-
have been working on a small project in the last couple of months. a few client meetings we are discussing a timeline feature for orders and assignments. the calendars (yeah a few on one screen cuz ... yeah) the client keeps complaining that they should look differently and in the same time says "Design is not important *designer-guy-he-works-with* can change it once we are done"
me - :/
side note: the calendars are tightly coupled with the js code powering them, so yeah ... looking forward to it
..1 -
...It relies on the BouncyCastle cryptography library instead of OpenSSL, yet replicates OpenSSL bugs to guarantee compatibility.2
-
How many hours of actual productive work do you devs average a day? Honestly, I think I average about 2 hours of honest, good work in my 8 hour day. Between random meaningless meetings that could be emailed out or just daily distractions (coworkers chatting, my phone, etc). Am I alone in this?8
-
My most humbling experience was finding the source code online to the original Pokemon games. It was right after I had finished my first text based Linux console game and I was looking up other programs source codes just for shits and giggles. Most of them were simple and I learned a few simple tricks but the red and blue Pokemon were the first codes I saw that fascinated me. The addressing, the memory allocation, even the simple audio processing was simply genius. So many unique innovations and techniques. If I achieve 1/5th of the skill I found in those files, I can die a happy programmer!3
-
Devrant freezes when switching to different app then back again. A bit random though, has happened a couple of times but can't reproduce it.3
-
Hetzner. Very cheap no nagging, no support bullshit, Lots of options, Just does what it does.
Did I mention their pricing?6 -
So everytime I get tired at work I always run 'composer update' so I have an excuse for doing nothing.
"Heyy get back to work!"
"I'm running composer update"
"Okay." -
Yet another ticket comes in about a feature not working after we push another update. So in my meeting I bring up adding testing would reduce this. Yeah boss just wants me to fix this issue and just do manual tests....fml1
-
I have a very annoying person in my team, who thinks he is the leader and is so full of himself that once he gets some idea he makes it final without listening to other's opinion, kinda anti-humble.
Today he was explaining that we are going to implement this feature and one of the member had a doubt which was legit so that guy started explaining it, but didn't really understood what the question was ( as he always does) he was heated up already as he was explaining the same thing again and again but it was nowhere near what the exact question was, by mistake I entered the conversation and tried to explain the question to him, he became so annoyed that he lost all his patient and shouted at me to shut up. Not only I felt bad but also found myself helpless in such situation i didn't know what to do, I was annoyed like anything, and now I think that I don't really know how to deal with annoying people such annoying and toxic people..6 -
Last Friday night instead of partying, or seeing a movie I stayed home to clean up some code for a potential job interview. Good times! :D3
-
Damn specs! Why do you have to change as the project goes on?!! Every project seems too easy at first.
-
Anyone ever just get seriously discouraged about peoples view on how easy/difficult it is to code?
A client has requested that they want a system built so they can create surveys and send them to people via email all in one tool. Im not a good front end designer but I know how to develop it. So they hired a designer to send me screen mockups and I will develop them. Easy enough.
This is where the bullshit starts... The designer was supposed to send me the V1 designs last Friday so I could begin building. I told them that I could have a rough version of some pages (with placeholder text and whatnot) ready for the following Friday (tomorrow). However the designer didn't send me the designs until 5 minutes before we were all meeting yesterday. We were all going over the designs in the meeting and this is how the conversation went (roughly):
Client: Wow these designs are amazing, I cant wait to see what it looks like when it functions. Are we still going to have a demo version by Friday?
Me: Well seeing as I just got the designs today, Ill have to look them over and get back to you on a new timeline.
Designer: Yah sorry about the delay, designing can be tricky sometimes.
Client: No worries, I understand. However I want to stick to the same timeline and have the demo by Friday.
Me: Well as I said, Im only getting the designs now, this is the first time I'm seeing them so I'll have to look them over and re-evaluate.
Client: Yeah but the designs are done so it will be easy for you to code it by then. It's all right there in front of you. I need to run, excited for Friday! Bye!
Designer: Bye!
Me: ...........
-- I know its partially my fault for saying I could have a demo done by Friday assuming the designer would have it done on time but COME ON. I hate when people say something is easy when they have no idea what it entails or how to even do it.1 -
jenkins tests passing but travis failing. now travis passing but jenkins failing, aargh!
more beer needed... -
Scheduled an interview with a company regarding a frontend position, everything seemed perfect until I actually got on my way to head to their office.
They didn't have the address of their office anywhere, it wasn't listed on google maps, their own website didn't have any information on where their office is.
I tried calling them / emailing but they didn't respond until like 5 hours after the interview should have taken place.
So I didn't even get to the testing part.4 -
I'm in a team of 3 in a small to medium sized company (over 50 engineers). We all work as full stack engineers.. but I think the definition of full stack here is getting super bloated. Let me give u an example. My team hold a few production apps, and we just launched a new one. The whole team (the 3 of us) are fully responsible on it from planning, design, database model, api, frontend (a react page spa), an extra client. Ok, so all this seems normal to a full stack dev.
Now, we also handle provisioning infra in aws using terraform, doing deployments, building a CI/CD pipeline using jenkins, monitoring, writing tests, building an analytics dashboard.
Recently our tech writer also left, so now we are also handling writing feature releases.
Few days ago, we also had a meeting where they sort of discussed that the maintenance of the engineering shared services, e.g. jenkins servers, (and about 2-3 other services) will now be split between teams in a shared board, previously this was handled only be team leads, but now they want to delegate it down.
And ofcourse not to mention supporting the app itself and updating bug tickets with findings.
I feel like my daily responsiblities are becoming the job responsibilities of at least 3 jobs.
Is this what full stack engineering looks like in your company? Do u handle everything from app design, building, cloud, ops, analytics etc..7 -
When I'm on lunch I stop coding to watch other people code on youtube. Does anyone else have this problem?1
-
A friend of me said that intel Pentium and i3 is the same, that all laptops with intel`s logo have the same processor, you just have to view the info. of yours...2
-
Which Linux should I use for a dual boot for my PC? It shouldn't be too hard tobuse cause I'm an absolite Linux beginner.22
-
When I was in first year I told my classmates that I can change their grades on our web portal. I changed their online grades then send them the screenshots. When all I did was changed their grade using Inspect Element. They were amazed.
PS. Didn't know that they're also sending the screenshots to their parents.2 -
If I have to write that web component again just because “well I think this technology will be better” I’m going freak out...
-
Starting a new job on Thursday after 2 years as software engineer at a different company. I feel like a know no transferable (language) skills; I was mostly "the expert" of the framework at the previous company and now feel like I'm starting from scratch.
How do you handle starting a new position? Do you prepare yourself or just go and see? Am I overthinking?4 -
when github autocorrects my pull request message that contains the word splunk.
(or when devrant also decides to) -
in the hospital with surgery and our deployment goes wrong, so glad I work with really good people!3
-
them recruiters.. they keep grinding my gears to the maximum extent..
why do you message me that you have a position. to fill asking where we can have a chat and never reach back... you initiated the conversation in first place...
I replied within the hour, good god.. -
Good guy Google.
Recently started a new job. Getting good feedback on my work. When really everything is off google :D -
!rant
So I got bored and decided to drop some Easter egg cats into Google trouble reports because why not? Well I sent one off on regular Google Allo and it ran this search. None of my other cats did anything like this even with other black cats. Any ideas?2 -
Between android studio and Unity, which one si better to make a adventure text game? Why? (i'm learning, dont kill me please)8
-
WTF... it works half the time and fails the other half.. is it planned just to drive me mad?! uuhhh..3
-
It was when i was 4th grade. We had windows 95 computers in school. I used tk do assignments on them and submitted with a floppy disk. Yeah, copy paste started there...
-
Pushed out a big update that included restructuring every directory. No one had access to the admin section. Yeah needless to say my boss was not happy since no one could do any work. Turned out during the process I made every admin page need the highest level of authorization which only the owner has. Easy fix but stressful day for sure
-
Testing out server settings to host rails application. Setup is a bitch compared to PHP but the work flow is amazing :D1
-
If you're always too busy doing the wrong things the wrong way, you will never have time time to do things right
-
Anyone have any experience (good or bad) getting work through Hired.com? I signed up today and am curious if I should expect anything from it
-
How long (what % of day) are you fully focused (contentrated) on programming on average per day? How many hours is your work day? The longer the hours, the harder to stay focused we probably can agree. How are you doing in carreer - good or not, can tell as detailed as you might want to share.19
-
Fucking kidding me.. why does it stopped suddenly when i had to show it up? today i was working on a project and my client wanted to see how it is going then i packed my stuff and went there to show him then it stopped to working...
-
Some one just asked me to build his site. I don't enjoy building sites. Especialy wordpress... I have never used it but i don't like it. But It could be a fast cash. What do you guys think?7
-
Coding alone:
int GetData()
{
int iErr;
int nPts;
int nTdx;
matrix mX;
vector vY;
vector vWT;
nPts = 10;
nTdx = 3;
Worksheet vks("Data1");
mX CopyFromWks( wks, 1,3,0,9);
.........
Coding when someone is watching:
"Where is the EFFING Semi-Colon?"2 -
Started new job as software developer in a financial institution... Have to learn c#, c# devs here any good tips??7
-
My First ever VSCode extension is live.
https://marketplace.visualstudio.com/...
A symbols tree view provider that supports PHP/TS/JS only (for now). Any suggestions/recommendations are welcomed !!!
Boy, does it feel good to feel like a real developer again 😎8 -
the feeling when you pick up your AOP library that you've last updated on 10/Oct/2016, has single commit "Initial commit (MVP)", absolutely no docs and you touch a couple of places for 10-15 minutes and boom you get everything working ...
Thanks former self, thank you for actually being more or less logical, thinking and did coding like a boss..
Here we go another with another pet to get refactored and revived -
Quick JS tip
If you want to split a string into characters, you can use the ES6 spread operator
If you have
const name = 'react-dev'
You can just spread it like this:
const charsInName = [...name]5 -
New project, make a simple change, a load of tests fail, stash changes to see if they ever passed, rerun tests: they pass ... rubbish must have been something i did. unstash changes, rerun tests to check the details: they pass ... walk away slowly
-
I have been seeing double info and shitty margin on my Facebook feed...someone is going to get fired lol
-
In an effort to learn any development I spent 3 days setting up a LAMP server. Now that I got working I have no idea what to do with it. Anyone have a personal server or ideas on what to do with one?10
-
When a designer walks into your office and asks you to turn on a feature that is not ready for production...1
-
first time building mobile apps, NativeScript + Angular2 haven't felt so much mixed emotions in a while3
-
I've been spending the last few days reorganizing css, js files, removing old code and rename directories. Yep its that kind of week at work...
-
Do you ever have those moments where you just sit and wonder how you ever got the job you have in the first place?
Just spent the last 2 hours trying to figure out why I couldn't access my config to get the keys I needed. Turns out I was trying to access my "congif" and my brain couldn't see the difference.
Don't know if I'm dyslexic or stupid 😂 -
Metatrader 5 mql editor idiots. I have made changes, saved file and it is empty. I can only undo changes, which makes it become as it was before changes. Fucking idiots.
Later I see when I open the file from windows browser in notepad++ - tthe changes exists. What a fuck bullshit. So at least they exists but idiots show same file in metaeditor with old changes after undo or empty if not undo. -
New one for me. I got an email out of the blue from someone asking me if I was interested in their open position. Sorry bro I’m diggin my job and not looking to change 😎
-
A small social media website meant only for learning stuffs and enhancing your knowledge about front-end and back-end37
-
In client terms, a “3rd party” is akin to Angelina Jolie. Despite the promise that you’ll be able to have an enlightening conversation over a nice meal and hopefully hook up afterwards ... sorry, it ain’t happenin’. You’re just gonna have to fantasize about it while you take care of business yourself.
-
I get tired of people complaining about rails "magic" it's annoying. Ok we get it, you have never taken the time to understand it's naming conversation or looked under the hood.
-
Friday before 3 day weekend and everyone in the office is gone but me, because you know if the checklist for the website isn't done everyone will know...
-
Feature request: please allow the app to work in landscape and rotate. I can't get to the hamburger menu in bottom right due to broken screen3
-
heading back to work after a month of absence (10 days sick leave, holidays and paid leave) wish me luck and grant me strength not to kill someone or myself, fellow ranters1
-
[brag] Started working on implementation of REST service using Zend Expressive. got in to HATEOAS/Richardson maturity level and HAL + `application/vnd.error`..
nailed them in a day.. feel like a boss -
updated docker for windows a few days back.. I have to reinstall on every reboot in order for it to work...
its either Hyper V being a dick or the docker guys screwed something with the update... fml1 -
Work has set us a challenge to build a rock/paper/scissors/dynamite/waterbomb api. We have the spec for what json is expected incoming and outgoing. We are allowed to implement any way we want and with any language we want. We are considering using Clojure but we have no experience with it, hence we will hopefully be learning as we go. Would you recommend using a framework like Pedestal, Hoplon, Luminus, or just use Leiningren or something else?
-
the servers are down and I'm the only one working in the office because I have a lot to do that doesn't require pushing to production for some time...fml
-
I'm starting to look at how to get devices to send data to an endpoint for storage and analysis. I'm looking at AWS iot stuff like core and green grass but then I'm thinking that a REST API could also do the job. I don't need to connect devices to each other (in first iteration). Dont think I need any edge stuff either. Anybody have any experience with this?3
-
lets try again.
What the fuck is with apache. Why I cannot start the page. it should be 5 minutes work.
but it give some shitty error where it is not clear what is wrong
This site can’t be reached timetracker.local’s server IP address could not be found.
Try:
Checking the connection
Checking the proxy, firewall, and DNS configuration
Running Windows Network Diagnostics
ERR_NAME_NOT_RESOLVED
how long apache is being developed? 10 years ? more? and cannot make normal error messages so you would know how to fix the problem . fuck that. I hate it so much. wasting my time. bastards.14 -
About the one ranting about people who don't know how to use Google:
that kind of people is my family, and, my sister ASK TO GOOGLE, really, she write all the homework of her school to google.
THATS why they dont find answers -
stupid docker creators. Why the fuck when something does not work it does no show errors. I had so much anger till idea came to head to ask on google does docker has logs and found it has - docker logs command. And I saw fucking errors and then I knew by them what to fix. Idiots, hide errors when runing docker-compose up, what are they smoking when creating docker.
And even after docker-compose up it showed done !! Done sounds as everthing went without fucking errrors!!!! But when running docker ps there was no such container! Because when running it - it was giving errors.13 -
Has anybody ideas how to convince my friends that Comic Sans is bad? They are all using it on their phones!!!1
-
Neither one of them really *get* what I do, but mom likes to tell me his much she hates whatever program she uses at work as if I control the dev timeline.
-
public function index(Request $request): array
{
$parameters = json_decode($request->get('lazyEvent'), true);
if (isset($parameters['page'])) {
$page = $parameters['page'];
} else {
$page = 0;
}
$queryBuilder = DB::table('companies')
->leftJoin('company_contact', 'company_contact.company_id', '=', 'companies.id')
->groupBy('companies.id')
;
if (isset($parameters['filters']['name'])) {
$queryBuilder
->where('name', 'like', '%' . $parameters['filters']['name']['value'] . '%')
;
}
$total = $queryBuilder
->count()
;
$companies = $queryBuilder
->select('companies.id', 'name', 'email', 'phone', DB::raw("COUNT('company_contact.id') AS contact_count"))
->orderBy('name')
->offset($page * $parameters['rows'])
->limit($parameters['rows'])
->get();
return ['companies' => $companies, 'totalRecords' => $total];
}
what is this shit? I get $total 1 when in reality is $companies count is 51
I am thinking avout writing whole sql as raw because I cannto get fucking count correctly21 -
String[] hidingPlaces = new String[1000000];
hidingPlaces[Math.rand()*1000000] = "bug";
findBug(hidingPlaces);
public int findBug(String [] are) {
// todo: return index of bug with complexity < O(1)
} -
Anyone with experience with system 76? Need a new laptop soon and I am intrigued with their stuff. Used Linux for some time so not worried that, more about build quality etc.11
-
I added a class to our data classes that could be represented as a button in the dataview in the GUI instead of creating a proper UI for my problem
- It was quick
- I wasn't a full dev yet (more a student) and didn't want to learn how to create a GUI
- I saw it used in different places by more experienced devs even though I put a comment some time later to not use it because it breaks several concepts
- I get annoyed everytime I see it now ^^ -
So I created simple blog for family member. She only writes three posts within a six month time frame, and then this morning she sends me an email asking for some changes. In it says if it's to time consuming that she can create a blogspot...
-
Good company refuced my contracting service. Fuck that. And reasons do not sound good to tell - like team did not want me anymore, maybe too dificult project, I am not independent enough, too many fixes after code reviews. This sucks that I do not know how to fix those parts, I have tried. And about too dificult project - how can I do better on dificult projects, I am not sure. There are projects of similar dificulty in most companies. And if projects would be easy, then everyone does that and reward would be small.18
-
if using ! in front of a variable - casts it to bool, if necessary - and flips the bit, why CSS uses "!important" to mean important, when it actually means unimportant...4
-
What's a good inexpensive android phone for development. Something 14 year olds could use without breaking6
-
I would like to ask for some advice, thanks for your time in advance.
I've made a few applications over the last few years that were at first side projects. Right now they are doing quite well but could do way better if I put all my time into them (currently working in a agency)
My parents are still in the 90s when it comes to the internet so they never get behind any of my projects or they just pass it off as fluff.
I've showed my Dad my Analytics and what not and because it's not money it's nothing to him.
Any advice on how I deal with parents still living in times before the modern internet & make them see my stuff for what it is?.
Thanks7 -
Guys, need your help. What are some interview question for junior QA? Aaand, what do I need to review? Thanks a looooot!3
-
Glad to share my first technical blog which covers up most of the basics of this beautiful python library called matplotlib please do give it a read.
https://medium.com/@ishankdev/... -
[Q] I am working on a small pet project for quite some time now, a basic job searching app (main target IT & fellow devs).
I was wondering if any of you guys have any suggestions, problems to fix that are present in platforms which you are/have been using, ideas?
What really grinds your gears when using other websites and what makes you use them?
P.S am not a recruiter, nor am I working for an agency.
*rating recruiters/companies will be there 100%*1 -
Does rapid application development methodology leads to more technical debt compare to other ones? With a factor like deadlines, a small number of team etc? 🤔
-
Its annoying. Spent again hour trying to make run my symfony app with docker - and fucking does not work and is not clear why. Why this fucking docker is so unclear? Like does not see autoload.php file but I see it installed. Idiot docker.5
-
Trying to set schedule availability on McDonalds UK 'peoplestuffuk[dot]com' fails in chrome, with annoying alert boxes.
Turns out it is developed for IE..2 -
https://symfony.com/doc/3.4/...
Look at how they write docs:
"->atPath('foo')"
how can I fucking know what to pass instead of foo? I cannot make show fucking error message near the field.
Are they writing such doc so that we would spend more time searching how to make show fucking simple error message?
"The atPath() method defines the property which the validation error is associated to. Use any valid PropertyAccess syntax to define that property."
Property on my entity is collection of $values . Tried passing 'values' - no effect.2 -
Does anyone know a good way to retrieve back the indexes of elements in the unsorted list after sorting that list in python?
Let's say for example I want to find the largest element in a list, so I sort it and find the last element(as it will be the largest), now I want to retrieve its original position in the unsorted list.9