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 - "nan"
-
Spend half an hour finding music to listen to while I code; Pause it after 30 seconds to concentrate on refactoring. Stays paused for rest of day.
Really getting the most out of those expensive new headphones.35 -
programming languages are not designed to talk to computers, they are designed to be readable by other programmers.
please code like it.7 -
devRant, the only positive and supportive online community for programmers.
until you mention an OS.
then all bets are off.16 -
Password complexity checker for big car rental company is set to insane mode
☑️ 30 char
☑️ symbols
☑️ numbers
☑️ upper & lower
❎ still 'too weak'10 -
Got some swag in the mail today.
I was told I could get a refund for the hat if it was too small. I literally have the biggest head in the world and it fits me fine.
For those who complained, did you try taking it off and on again?6 -
interviewer: What can you tell us about the Unity 3D engine?
me: well, i can tell you that there is no such thing. the engine is called Unity. Unity3d.com is just the website. it's a good way of telling if someone doesn't know what they are talking about.
interviewer:😐....9 -
client: the math on this investment calculator you made is wrong.
me: ok, how is it wrong?
client: one of our salesmen sais it not calculating correctly.
me: that's fine. i just need an example, or the corrected formula to use.
client: on this other website we put in the same information and it comes out different.
me: ok, let me investigate... this other site adds a fee every month so the output is different. If i turn that off the calculations are the same. would you like to add a monthly fee field?
clients: no, the calculator is working how we want then.
repeat 5 times at 3 month intervals.
client: the interest calculator is broken again. didn't we just fix it?
me: it was never broken. your people just can't math.3 -
I am so fucking fed up with being brought into a meeting because you "understand the technology" and then no fucker actually listens when you say that their idea won't work because the tech isn't magic.3
-
see you in hell mac mini, the raspberry pi is taking your place connected to the tv.
when $25 of Linux out performs $300 of apple.3 -
logger.info(String.Format(" User {0} changed their password from {1} to {2}", username, oldPassword, newPassword))
Production system. Plaintext log.10 -
In the project management system we use with our clients I see file named, 'instructions for backup.'
I open the file and all it contains is my name and phone number.😑4 -
Some clients are a real patience test.
Client:
"I want to be able to edit every detail on every page of the whole website"
After site is coded, and admin page is available for page edits, they send requests like:
"please update the text on page x"3 -
"Any fool can write code that a computer can understand.
Good programmers write code that humans can understand."
— Martin Fowler,
Refactoring: Improving the Design of Existing Code6 -
Intelligence and ability cannot be measured by education.
I have a client who asked a Master in Computer Science to develop a small system, for querying product title and their code. The guy used python, vanilla js, and... Txt file for the "database". Then my client asked me to integrated this in... WordPress.
This was in 2016. And idiot as I'm, I agreed and adapted his code to use php and a database.
April this year, my client said they are still using the python system to add new products all this time, in parallel. And wanted to update the WordPress with the data.
- No problem! - I said. Just send me the SQL file.
So the Master in CS sent me a SQL coded in ANSI. I asked for the SQL again, but with a more appropriate encoding. He took 1 month to reply back, and said it would be better if I get rid of the database and just use the txt file for querying.
This is outrageous.
I really hate people who are educated but completely useless.5 -
Today, one of my coworkers had to translate a bunch of pages to French ...
He did his job, committed, pushed, and asked someone to validate his branch in order to merge.
Tests didn't take long, the login screen was broken, because there was an there was an <input type="mot de passe"> ...14 -
I really like JS, but sometimes it's just incredibly stupid.
NaN stands for Not-A-Number
typeof NaN
> 'number'
why are you doing this to me8 -
Client: Hi there, we worked together I few months ago and loved what you created for us! We have another job and would like to see if you are available?
Me (1h later): Sure! Let me know more details about this new project.
Client (15min later): Oh, sorry, since you took so long to respond, we've decided to choose another freelancer. Thank you anyways!!
Me: ...5 -
Basically,
1+infinity = 1
But
infinity + 1 = NaN
My entire maths fundamental shuttered by the beautiful JS language....26 -
*programming on some project*
*some function returning NaN*
*debugging for an hour with no different result*
*reverts to moment where the NaN came up first*
*works as if nothing ever happened*
WHAT THE ACTUAL MOTHERFUCKING FUCK.5 -
How Javascript handles Infinity:
Infinity * 1 == Infinity
Infinity * 0 == NaN
Infinity / 0 == Infinity
0 / Infinity == 0
Infinity + Infinity == Infinity
Infinity - Infinity == NaN
Infinity / Infinity == NaN
NaN & Infinity == 0
NaN && Infinity == NaN
NaN || Infinity == Infinity
1 % Infinity == 1
Infinity << 1 == 0
Infinity >> 0 == 0
Infinity | 0 == 0
Infinity | Infinity == 0
That's kinda philosophical, isn't it?15 -
When im making the website with the client, they always start with: "Can we..." and than they say something like: "make the background color red?, or is it not possible?"
And I'm just:12 -
My macbook air sort of exploded. I was working on it when suddenly it made a pop sound, turned off and exhaled a smelly smoke. This machine has 2 and a half years.
I called apple support but they said the smoke is OK since there wasn't any fire, and I should take it to a repair shop.
Oh well.20 -
Purchase $900 laptop, it's not powerful enough so I return it and get $1,100 laptop, still not powerful enough, return it and get $1,600 laptop. Realize I have a gaming PC and don't need the laptop this powerful and I return it and repurchase the first laptop I bought with a $100 discount because it's now an opened-box, but I know for a fact that it was the one that I got in the first place and opened.
Thanks Best Buy.3 -
A few months ago, I decided to let go some old clients with bad behavior and/or bad projects, since I noticed this was affecting my mental health (lowering my self esteem, make me feel depressed, anxious, etc).
I was exhausted of doing miracles in projects without git, build files, staging enviroments (yes... you can imagine), and receive all sort of curses when sudenly something stopped to work.
I set some requirements to work with any new project/client: 1) project needs to be under version control, 2) it must have staging enviroment, 3) I must work with build files.
As I still have contracts running, I'm communicating this to clients as soon as I finish my obligations.
Today, one of these clients told me they are leaving to work with another developer.
Reason: They said my new requirements are unreasonable and they prefer doing the old way.3 -
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
-
accedently used chmod on chmod so i no longer had permissions to chmod.
thank goodness for remote server images.5 -
I'm moving some old data into a new database.
It contains some dates that *should* be in ISO 8601...
This is some of the trash that I found:
01/01/70
2010-11-05T08:06:48T08:06:03.7
2007-09-13T
Moreover, it has a column which *should* contains numbers, instead it has been defined using varchar, so it contains also some wonderful 'NaN' values.
I really would like to beat the person who set up all this stuff without some basic validation policies.9 -
JavaScript question of the day:
Is NaN equal to itself?
NaN === NaN
A. SyntaxError
B. False
C. True
D. NaN11 -
Well, after two hours of scratching my head, I found that angular.isNumber () returns true when you pass in a NaN. Brilliant.2
-
me: do we need to setup the shop to charge a flat shipping rate, or charge per item?
🕛3 hours later.
client: yes, that is correct.
me: 😧2 -
Internet stopped working yesterday and the ISP company told me they couldn't send a person for a week!
I'm stuck at home, I have to have internet.
Long story short, I got no sleep last night and I may have voided my routers warranty, but I got internet.8 -
While writing a raytracing engine for my university project (a fairly long and complex program in C++), there was a subtle bug that, under very specific conditions, the ray energy calculation would return 0 or NaN, and the corresponding pixel would be slightly dimmer than it should be.
Now you might think that this is a trifling problem, but when it happened to random pixels across the screen at random times it would manifest as noise, and as you might know, people who render stuff Absolutely. Hate. Noise. It wouldn't do. Not acceptable.
So I worked at that thing for three whole days and finally located the bug, a tiny gotcha-type thing in a numerical routine in one corner of the module that handled multiple importance sampling (basically, mixing different sampling strategies).
Frustrating, exhausting, and easily the most gruelling bug hunt I've ever done. Utterly worth it when I fixed it. And what's even better, I found and squashed two other bugs I hadn't even noticed, lol -
i love programming, but have done too many 12 hour days recently.
spent last two days recharging by doing nothing but play the new Doom game.
i have a great job so my boss supports me.5 -
I hate people who don't value transparent and assertive communication. I'm saying this thinking about an specific client.
This client is a boss of Web agency, and has some contractors working on their projects. I worked for them for a year, doing Web projects from scratch and also maintenance.
Then, one week, the communication stopped. No answers, no feedback, nothing. For months. They ghosted me.
I tried contact a few times with no luck. After 3 months, they started to remove me from slack, git, base camp.
And that's it. I was discarded and it seems I don't even deserved a message to be aware of that.
I don't mind to end business relationship anytime, for any reason. There are lot of reasons a working relationship would not work, and that's OK. We should have partners that are a great fit for us.
But at least say it. Ghosting is something ridiculous and unethical.5 -
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
-
[more or less rant]
FUCK YOU ENKI! I just received this spam email with a very important question:5 -
Today a potential client contacted me after seeing my works and said they were really interested in having me work on their project. Then, they demanded that I scheduled a call with them, using their calendar app. I did, just to them cancel it a few hours later. Without any explanation.
Deal with people is so discouraging sometimes.2 -
So I just received an email from a developer, saying my client hired him to take care of their website from now on. This client counted on me since 2012, so I felt a little... Betrayed. Even though this client was not big and a little difficult.
It's weird. I am trying to transition to something better in my professional life, but I'm not feeling confident of what I'm doing. Sometimes I feel my professional life is ruining. Uncertainty sucks.
Additionally, my desktop decided to stop working today and won't turn on. Oh well.6 -
Feels like I found value of "NAN"
i.e, finding non-ranter dev @ devrant!
"Write no rant
Comment no rant
++(view) all rant "
@Ghored
I guess he should be given a badge or something!
Never able to achieve that stage of satisfaction,
Bsod in windows,
Grub rescue for Linux,
Gradle build problem for android,
404 errors,
What not ?
Yet I really feel like today , I met a ironical legend of dev community!
A full bow to you my friend4 -
I just had my cell phone cloned yesterday. End of the day, my phone lost signal suddenly. I thought it was a problem with my chip, so I decided to check that on a store and buy a new one next day.
Today, after I recover my chip and number, I started to see the mess. Someone used my number to send message to all my contacts on whatsapp, asking for money. Also, I had some contact info changed on the bank broker, which is really serious. I do not know what else is compromised, and I'm truly worried about it.
Someone has some good tips for improving security while using cellphones?25 -
I hate doing estimates, but I had to adapt. Since I work remotely and under contract, I'm used to track my time and estimate by hours.
I did a lot of mistakes before, which means I worked for free to wrap up fixed price projects.
Today, the method that is working best for me is:
1) positive estimate
2) most likely estimate
3) worst case estimate
Sum up and divide by 3.
I do this for every task.
Also, for Web projects, I like to divide tasks in categories like: HTML / CSS, UX, programming, testing.4 -
public function recruiters($salary)
{
if($salary == "competitive")
{
return NaN;
} else
{
return "What is the real salary?";
}
}3 -
Happily agree to help colleague with 'a quick problem' on their pet project. Realise a few seconds in that they can't actually see a difference between JS and JSON.5
-
Was office SharePoint bitch at one point. This guy wanted me to build a workflow for him that would enforce insane checks on his (peer) colleagues. Asked if his manager approved and obviously they hadn't. So this guy started telling me he would build his own application from scratch and host it on his home server if I didn't help him. Pointing out the business might object to their confidential data being put on his home server didn't put him off. Getting laid off a few months later for gross incompetence did however.3
-
I just decided to take some time off from work, and use my savings to survive next months. I have been dealing with work related problems for a few years now, and since last year I was sure I needed time to recover my health and improve my skills, to get better job opportunities.
I was trying to balance my life and my time, working a bit less, trying to rest, study, and so on. I was hopeful I could achieve my goals just fine with some adjustments. But now... I just don't care.
Last Thursday my mother was diagnosed with cancer.
Two weeks ago, my only brother lost his job.
The same happened with my bf, few months ago, and he needed to move to another state to get a new job.
There is so much going on... Sometimes I just feel like panicking.
It's sad to fear the future, and deal with so much uncertainty.
It's hard to deal with work and money issues. It's even harder to deal with serious health issues.
I hope things will get better somehow, but I needed to vent this. Sometimes life can be a bitch.5 -
Looking for job opportunities, one grabbed my attention and I decided to apply. First, I had to fill a form with 40 questions, explaining and justifying development processes, best practices and overall knowledge. Ok, no problem. Form submitted, and I see a step 2. Now I have to build a single page site from scratch, and send another form with code, link, and more justifications regarding development. After that, my application will be sent.
Then I found this observation, saying the position was for a freelancer, that will receive work occasionally. Not a full time position as I thought.
Sometimes cleaning bathrooms sounds a better option.1 -
I worked two months for free, 15h per day, including weekends, due a contract trap. On top of that, client was emotionally blackmailing me and I was feeling threatened and helpless.
I even lost weight, skipping meals to save time and money. One day, my body collapsed. I ended up in bed for 10 days, feeling stiffness, pain, weakness, and shakiness. I even had to ask for help to brush my teeth.
I abandoned the project, and didn't receive any payment. The client went crazy and made me feel the worst person in the world for being sick and unable to work. But didn't put his menaces in execution.
I still remember the joy I felt when I was able to walk again.
That was the worst burnout I had, and also one of the biggest lessons about limits and evil people.2 -
2019 goals:
- finish my masters
- improve my code quality
- build at least 3 personal projects
- learn 2 new technologies
- find better clients or a good job1 -
When project is finished, everything is according specs, and on final review the client says: "everything looks nice! But I would like to change just a few small details. I would like a different design and functionality".
Seriously?!1 -
😸:oh hi, i came in early to checkout this game, but i was just about to get off and start work.
😎:I'm not your boss. I don't caire what you do.
👺:I am your boss, and as long as you get the work done, on time, and done well, I don't care if it looks lie you are doing nothing but being paid to play games. If anyone does bother you about playing games at work let me and I will let them know to leave you alone.3 -
"Any recommendation when travelling to Thailand?"
"'Well, 'Nan' is beautiful region..."
...
"Javascript Developer?"
"How did you know that?!"
"Just a guess..." -
Like WTF!
"the value of NaN is result of an operation that cannot produce a normal result. NaN is not equal to any value, including itself."
The funny or wierd part (maybe just for me):
"You can detect NaN with the isNaN(number) function".
Like whaaat? 😶25 -
I just watched a talk given by Ryan Dahl, highlighting what he considers to be some early design mistakes with Node:
- Removed early version of Promises
- Not sandboxed by default
- GYP compiler
- package.json
- node_modules
- require() without extension
- index.js by default
https://youtube.com/watch/...
Also, his new project Deno sounds like Node 2.0. Interesting!4 -
who has used a screw driver to connect the prongs to turn on a computer without a case/power button?7
-
String nullabity check duel...
null, isEmpty(), "", " ", '', ' ', " null", boolean, NaN, undefined, isNullOrEmpty and finally try-catch -
Thirty hours over two weeks, but we finally patched a angular app that was originally built on 2 (alpha) to 4, reducing the load time ten fold.
Don't thank me, thank super duck. The duck with the power to debug any code.
Gawd I'm tired.2 -
Client wanted a site for the 100th anniversary of an important local musician. They wanted to show calendar of events, biography, store, and more. We started the work 8 months before the commemorative date, and after 4 months, the site was 99% complete and waiting final review and approvement. 2 weeks of silence has passed, when I got an email saying their deleted the site from server and all backups, and now they wanted all the work back.
With luck, I could restore a partial backup, and the client didn't want to pay for redo the rest of the work.
10 months later (yes, after all the events has started and the site being off) they contact me again, asking to continue the work.
I was happy to say no.1 -
Was busy today doing some house work. Everything was normal till afternoon.
Me thinking of using laptop noticed that there was no laptop
My office laptop and another bag was stolen from my home .
It had most of the production details and source code. Running behind police for help now.
Informed my boss too about this incident.
Will update on what happens tomorrow in office.
Fuck that person who stole my office laptop and destroyed my Peace.8 -
Why in the world IT work is so stressful?
I never been like that since I start developing code professionally, 8 years ago.
Since then, I had many health problems due stress, and some were really scaring (heart problem).
I'm trying to adapt to a healthier way of work, but I'm starting to doubt if that is possible.
Work in technology seems cruel and soulless sometimes. The constant pressure to learn new things all the time, to specialize in a lot of skills, simultaneously. The urgency nature of ALL tasks - even a simple form field slightly out of place seems to be an issue of life and death for clients.
Easy and quick communication made some people lost boundaries and respect. Many times I received calls and messages after midnight, about things like elements alignment.
And the worst is when clients blame you about their business problems. If they are not selling well this week, it's fault of the website you did ( which they are using for months now).
This actually happened to me today, first thing in the morning. After I slept just 3h, because I worked until late yesterday (oh yeah many more of these life/death updates).
What happens in this industry? Will this ever be different some day?6 -
New project, sent a 7 page contract to the client. First day of work and client begins to ask things outside scope and terms.
I explained what is written in contract and he interrupted me saying "I READ THE CONTRACT".
One minute later, he starts asking the same things again.1 -
i have been fortunate enough to always work with awesome people.
both jobs I have had after college had almost no supervision, and I could come and go as I pleased.
I am a professional, and I loved being treated as one. I don't take advantage of my work, and they don't take advantage of me.2 -
Google ditches desserts as Q becomes Android 10
desserts name sounds good to hear rather than Android 10, 11,12 ...12 -
Just JavaScript things:
alert(typeof NaN); //alerts 'Number' alert(NaN === NaN); //evaluates false
What else would you expect?4 -
Got the cheapest laptop I could find that would run Windows mixed reality.
Installed Linux subsystem for Windows and Ubuntu.
Nothing but giant flying terminal windows across my view of a virtual Seascape.
This is my new home.4 -
I got a rejection email today. No feedback. And that's it.
Worst part of rejection is not knowing the reasons.7 -
The first time you try to google what an operator does by using the symbol in the search bar because you don't know the name for it.2
-
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. 😞
-
When I'm too tired and just want to get rid of obligations:
I write down 3 to 5 most important things I need to get done. Then I put myself on autopilot. -
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
-
Just read about the leap second being added at the exact moment of going in to New Year (31/12/16 23:59:60!!!!!). I can't be the only one thinking what the fucking fuck are they thinking and why am i hearing about this for the first time 24 hours before it's happening.3
-
So today I opened one Android app to check smog levels in my area and this happened (NaN %). Someone who made this app smokSmog probably didn't find out that NaN can happen. I am really interested if it is because sensor has no data or is it a problem inside the app4
-
Got informed that there is a bug in production that needs to be addressed on top priority.
Me opens Android studio to check.
Android studio: chill bro2 -
Reviewing code for applications after not working on it for six months.
Client: so what is the first step to adding our new feature.
Me: I really think we need to redo the entire architecture from the ground up. It won't work any differently than it does now, but the code will be cleaner.
Client:😓
Me:😅3 -
Had an intern go configure a bunch of workstations for our employees over the summer - we gave him a checklist and let him loose.
Several months later... Try to support a user with their workstation and find out that $software isn't installed on said workstation. Check other workstations. No $software on any of them.
Ask intern "did you follow the checklist we gave you??!"
Intern: "Yeah, I followed it."
Ask intern: "So why is $software not installed on the workstations?"
Intern: "Oh I didn't have a copy of $software so I skipped that step."
What.
So he's probably getting shitcanned soon...7 -
Final project senior year...
Mistake 1: Chose a project suggested by the prof, who did not initially make it obvious that the project beneficiary would be a personal friend of his.
Mistake 2: Nine of us thought this project looked cool and all signed up for it.
Mistake 3: Looked at the code-behind provided for us and discovered that the web-app we were building was... programmed in Java, using StringBuilder to append HTML, CSS, and JavaScript and create its webpages. Which was then decoded and built into a webpage using some obtusely designed compiler.
Mistake 4: Decided to question the reasonability of said project to the prof.
Mistake 5: Did not quit the project as a group and do something else
We all graduated, I think, but a lot of C-'s were had. Fuck that class. -
I am just sick of the things that's been going on.
Joined a mid level startup as full Stack developer working on angular and node js . Code base is too shit and application is full of bugs(100+ tickets are being raised for bugs)
Since the product owner(PO) wants to demo the application he is pushing for bug fixes.
UI code:
1. Application is not handled for responsiveness all these years, it is now being trying to address. Code base is very huge to address though .
2. The common reusable components of UI has business logic inside. Any small change in business logic we are forced to handle in common components which might break up on another components.
3. Styling in 40+ components are made global. Small css change in component A is breaking up in component B due to this
4. No time to refactor.
5. Application not at all tested properly all these years. PO wants a stable build.
6. More importantly most of developers have already left the company and we are left with 2 developers including me.
I am not in a position to switch due to other commitments adds up a lot to frustration11 -
Spending hours trying to solve a problem just to find that the answer was not just simple, but well known. You just didn't know the technical term to search for.1
-
Oh, well. Work on bad projects with bad clients/managers, for the sake of the money, it's a life sucker. At first I thought it was not a big deal. I was collaborating to someone's elses business and doing the best work I could.
I was tired, depressed, sleepless, having allergic rhitinis every two weeks, frustrated without any opportunity to grow intellectually, fearing clients calls and emails, and... in denial.
Since last year, I decided to stop working on some kind of project and for some kind of people. As the remaining contracts and projects were being wrapped up, I started to feel relieved, despite of all anxienty of let go long term clients and see income lowering.
Then I started to use my free time and savings to futher my education, send cvs and work on side projects. It's not an easy transition. I'll still need to keep working on not-so-good projects to pay the bills, however, I've been selecting more.
Slowly I'm recovering my life, health and enthusiasm for cs again.
I'm learning to not give a fuck and it really helps.1 -
Don't be afraid that pair programming will show up your inexperience, embrace it as the quickest way to build that experience!
-
squashed a spider this evening just to have it erupt with hundreds of tiny baby spiders.
what a terrifying real world visualization of my week.2 -
This week has not been fun. I worked 12-14h everyday, slept 4h, felt like a zombie. It's 3pm and I still have 8 tasks to go.4
-
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 -
disadvantage of using noise canceling headphones.
boss comes in from other room. more amused than annoyed
👺:Is there a reason you are letting out a loud burp and a fart every couple minutes that i can hear through the walls?
🙊:Oh!? now I understand why my deaf friends are so oblivious to why the rest of us start laughing for 'no reason' when we go out to dinner with them. -
As an introvert, this is a big challenge. A few years ago, I buried my social life to be focused on my work. But after some years, I realized this was doing more harm than good to me.
Since then I try to dedicate more time to friends, social events, and family. It's not easy to keep in touch, invite to a coffee, joining a class/activity and meet new people. Everyone's life is so busy today. But it's worth.
I always feel so much better after have a good conversation, sharing experiences and ideas.2 -
Trying to debug why there's NaN% instead of 15% (project in JS).
Later realises isNaN(Val) literally checks for NaN datatype rather than Val is a number or not.
*shit*
Ctrl Shift F - isNaN in Atom (searches entire project), rethinks logic, refactors code
Looks around *no ones there*
Silently pushes the changes along with another major commit. -
Last week I received an invitation to lead the development of a e-commerce redesign, replatforming and data migration. I was excited to work on it, and started the analysis and planning, glad to spend time focusing on quality. But Murphy's law is never asleep - this Monday, I was asked to speed things up and reduce a 4 month project to 1 week.
-
i understand and accept why some people prefer mac.
every mac i have ever used has shit the bed during normal use. while windows and Linux machines have too, however less frequently. unlike mac there is always something i can personally do about it to fix the problem.
i like having complete control over my computer and don't like the idea of paying a premium to be told how i can or can't use it.6 -
God I hate JavaScript.
Why on earth would some variable * somthing.other (where somthing is undefined) result in 653957364??????17 -
I had so much fun working on my side projects this weekend that now I'm sad to spend next 5 days on client projects.3
-
IBM Notes. Ultimate example of developers each working on their own bits of functionality with zero thought to how the whole thing fits together. Just need to look at the preferences page see what a mess it is.
-
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
-
Any former freelancers who decided to move to traditional employment?
I have been doing freelance since I finished University. 8 years now. I really liked the flexibility and opportunity to work on different projects and people, but my enthusiasm is wearing thin. I'm currently updating my cv and setting up my LinkedIn profile, but it's hard to "prove" my experience, and many projects I worked on are private.
I am not sure if I can mention the companies I worked for, or how do to it... Feeling lost and doomed to keep freelancing.
Anyone made this transition before? How did you do it?5 -
I spent the whole day coding in python (usually I code in php or perl) and this language is a fucking joke. C'mon, why everything have to be done in such a weird way? And don't say it's python way because it's bullshit way. Want some examples?
", ". join(str(x) for x in array)
to join array of integers. wtf is that?
True|False
why in hell you need the first letter to be uppercase when your own fucking standard says to use lowercase letters in eg. var names and method names. why?
math.isnan(float(x))
to check if a variable (expected to be integer) is NaN. I won't fucking comment that...
Even prolog don't have such stupid things6 -
I really hate when I have to work on something wrong. I mean, the client wants to embedded a third party service on their website, using iframe. Then, they want us to change the layout and behavior of the embedded page. And well, no matter what, I have to do what they want. Great job.
-
Client sends screenshots, compressed, and shrunk down to an unreadable size, inside a docx file.
Just... just no. Where is a spray bottle or a rolled up newspaper when you need one.
(For you three people who are going to comment 'why don't you just teach them...' ssssssssssshut up, some people are just unteachable ( for you other three who are going to say 'everyone is teachable.' Not true, if it was you wouldn't be saying such things.))1 -
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
-
I spent most of a day a few weeks ago tracking down and fixing a NaN bug in a framework I use. I hacked it into my local copy of the framework's code.
Today I have the same bug, and after several hours of searching I finally realize I'd updated to a new version of said framework and so had overwritten my fix....
FML3 -
After I took some time off from work, I decided to accept the offer for maintenance of two projects. Those are from two old clients, so I think I will not stress too much, since I know what to expect most of the time.
The issue is, sometimes I have a hard time to keep concentration. In the past, I could work for 3h straight, totally focused, would pause for 20min for stretch, and then come back to work. Now I can only focus for 30min or 1h, and after a pause, it's hard to concentrate again.
There is a lot going on in my life right now, and I know the worry is probably distracting me. I'm trying to listen instrumental music, drinking coffee... But that's not enough. Somebody has any tip?6 -
we(Friends) discovered this yesterday.
Steps:
1. created a file.js and added a console.
2. renamed the file.js to file.java
3. ran that file.java through node
result: displayed in that image.
Javascript running .java .....seriously?
js how many hidden surprises you have for me. it was even running in .txt, .php etc
Okay let's come to actual point .
I tried to research on this. however, i couldn't find any links related to it.
Well, I tried the same with casperjs and python.It behaved the same.
is this behaviour because it is a scripting language?
Please do share your thoughts on this16 -
Finally, I have a night free of work today. It is the first time this month. I'm so happy to have some time to read and rest.
Life can be insane.
Enjoy the little things in life, because one day you will look back and realize they were the big things.1 -
I was too lazy to download videos one by one so I created a script to download playlists and rename the downloaded files !
-
Spent two hours having two recruiters give me test, interviewing, and being told HOW perfect I am for the job I was applying for; Just to be told they are only allowed to send over people they have found previous work for, but I should instead apply to these othwr positions that pay half what I'm looking for.
-
The school I went to, and this was really the only benefit of the school, gave all it students lifetime memberships to digital tutors, which was bought out by pluralsight, which then bought code School. So I basically got free membership to three different sites, all of which have a good amount of technical training with videos, guides, and work along lessons on them.
For what school cost to me, it will have paid for itself as long as I live for another Thousand Years.1 -
My keybo§rd is broken. I tested it on two different m§chines, ch§nged keybo§rd l§yout, tried to cle§n it up, but no luck. Left side of 2wsx keys is completly useless. I'm so dis§ppointed@@@ ( @ used to be excl§m§tion m§rk :( )3
-
jenkins tests passing but travis failing. now travis passing but jenkins failing, aargh!
more beer needed... -
NodeJS C++ add-on is one of the best and worst thing ever to exist in NodeJS.
Writing a native add-on is such a fucking pain. It's full of inconsistent API. They are trying to fix that by the introduction of N-API. But that shit is still in experimental mode.
I want to use nan but I know that that is also going to be deprecated once the N-API gets stable.
fml1 -
Spent years ranting about being a contractor and freelancing. Finally got a job at a big company. Now I'm hating it and missing my old flexible work life. Hello dev rant, I'm back!4
-
Rant.
It's really frustrating and confusing when switching the context from Java to js and vice versa.4 -
Recruiters or their bosses with sick ambitions and zero feedback.
Do I need to say more?
Spent few days to make my site looking good on desktop/mobile with few screenshots and even video to show my working projects in production. Even more few days to make really detailed 2 A4 CV with my previous job and what I was doing there. All generated from markdown.
I even saved money around half a year to go and live month in other country (Ireland, Dublin) and then on site send about 150 applications on various sites, emails, linkedout and local IT meetings.
Null, nada, nil, NaN accepted applications.
Is it some kind of joke? All companies almost cries for new workers and they don't even answer someone which founded and have no problem with growing own IT company for almost 5 years with self learnt, practically applied in production linux, HTML, CSS, JS, PHP, Go, bash, KVM and Openvz virtualization knowledge?
What they really want?
Astronaut with Brainfuck and Cobol with fluent backwards speaking Esperanto riding on monocycle with 3 hands and no need for sleep for -1 whoopercoin?1 -
"There is a reason that we keep our variables private. We don’t want anyone else to depend on them. We want to keep the freedom to change their type or implementation on a whim or an impulse. Why, then, do so many programmers automatically add getters and setters to their objects, exposing their private variables as if they were public?"
-Uncle Bob, Clean Code.1 -
Today I spent 4 hours testbenching and enhancing an algorithm to detect certain metric patterns only to find out that the reason the anomalies weren't picked up correctly was that their metric had some -nan values I didn't check for.... FML2
-
in the hospital with surgery and our deployment goes wrong, so glad I work with really good people!3
-
when github autocorrects my pull request message that contains the word splunk.
(or when devrant also decides to) -
Master Javascript from A to Z.
Naah just kidding we all know that's impossible, I'll buy google instead.2 -
talking about people with computer preferences i don't understand.
i sometimes forget i use a mechanical roller ball mouse for work and play.
which one? just google it, these are so out of fashion there are only three different models currently for sale anywhere that i can find.6 -
Getting a new laptop is exhausting if you haven't been keeping up with the technology. I have purchased three laptops in the last two weeks returning the first two after spending 10 + hours each installing updates and software just to find out they didn't work for what I needed.1
-
Update on the previous rant(regarding office laptop stolen):
Company says there might be some deductions in salary. Trying to negotiate with them .
Would like to hear What's your company policy on stolen laptop?5 -
What is more disaster
Than manager thinking to assign a production deployment to non technical person.1 -
Worked from 8am to 23pm today. A massive power outage yesterday messed up my schedule. Still have a lot to do tomorrow. Going to sleep now. Stay strong, everyone. Weekend is coming.
-
Is there such a thing as a front-end developer or are we all becoming either UX engineers or JavaScript developers?
An interesting article from Chris Coyier made me think.
https://css-tricks.com/the-great-di...2 -
I've had enough. I can't handle those bad designs layouts anymore. It is getting on my nerves to receive designs from "professionals" that don't think about responsive layouts, correct alignments, grid, vector shapes, use 6 different font families, and have graphics placed in the most wrong places.
Oh, and let's not forget that such design should be coded in 15h. Sure dear client. Keep dreaming, idiot. -
Code editors as Doom skill levels:
coda = I'm too young to die.
notepad++ = Hey, not to rough.
sublime = Hurt me plenty.
vi = Ultra-Violence.
emacs = Nightmare!3 -
Our time recording software (based on SAP) triggers a blocking synchronous web service call every single time you do *anything*. Imagine having to wait 10 seconds every time you:
- put a number in a cell
- select a row
- press anything on the screen
Oh and when you lose connection nothing is saved and you have to start again (wtf was it even sending to the server)2 -
My company never used unit tests. And i would love to educate but i do not know how to unit test properly. I always en up with: if i want to properly test all ins and outs of this class's + operator. I need to add checks for positive number, negative numbers, nan, infinites, nulls etc. Etc. It needs so many tests for something so stupidly simple, that i don't see a way to motivate people to use it.
Am i missing something? Is there a guideline for "ok coverage"? Is testing just that much work and is that why nobody cares until it is too late?
I have been reading a book about working with legacy code. But still i got no answers. Halp!7 -
Buying a brand new laptop, I think I'll save some money and get an i5 instead of an i7 and then turn around the next day and decide I hate money and I love having a computer that's more powerful than I need it to be.7
-
Some logic I'm developing packs three different states into an f32: NaN means do nothing, +0.0 or positive number means polite request and -0.0 or negative number means force override
Yeah, I don't know what to say...4 -
any time i come up with a cleaver solution to a problem I remember my cousin who works for nasa and i mope about how I've waisted my life and nothing i do matters.5
-
when i brought the vive home the wife was all, meah😒, at first then, 😲 oh my goodness this is the halo deck, our future is an empty room with vr goggles.
-
In case you haven't heard:
https://change.org/p/...
Heh... Talk about making a lot of dev enemies...
Am I allowed to do this?9 -
"Oh computer, your real name should be porn funnel. I love my family more than you, but only collectively. on a case by case basis I love you more than any individual family member. "
-Nerd 'robot chicken' -
Couple of weeks ago I received a negative response about a code test I did for a front and position. They only said I was not a good fit.
Today, I received another email from them, asking me to do a test. I asked for clarification, and they said they are giving me a chance to redo the test.
Sounds weird, but I'll redo the test anyway. The task is to code a responsive page that consume an api. I'm using vue, sass, git, modular and semantic code. What else should I focus?
The deadline is in 36h.1 -
Quick javascript question:
let a = .............
Make a == a always return false.
What would a be? One solution is to let a = NaN. Anything fancier? :>4 -
Is it just me or feeling the imposter syndrome, and blogging about it is super trendy at the moment ?3
-
on live server
me: these root server files have loose permissions.
sudo chmod -rf 644 /*
me: well... 'cd' works, but nothing else. -
Real question, not troll. There is debate about it and I really can't figure it out.
Besides having the title software "engineer," is there really such a thing as a software engineer?
In the US, to be an engineer you have to be regularly tested by a regulated governing body, apprentice under another engineer for years, and be certified on a state level. Whereupon you are personally liable for your designs being FREE from errors.
For one thing, nobody can write bug free code, and the idea of being personally responsible for each bug is terrifying.
And two, I've seen news of people calling themselves software engineers in the USA and Canada and getting a cease and desist or sued for it, despite any level of qualification.
I'm sure there are engineers, especially electrical, computer engineers who also program.
But... ?
I don't know, I can't say either way.
That's why I'm asking.9 -
write comment about posters preference of device or OS.
close eyes and imagine the meaningless flame war that would follow.
delete comment.
feel good about choice.
good for me. -
i really dislike inheriting depricated projects😓.
really wanted to use angular 2 for current project but our hosting server is outdated and nodejs wont run on it.
realy wish we could update the server, but doing this would break 10 older sites we are being paid to host .
any ideas?15 -
for on the go developinh I have completely replaced my laptop with my phone and a folding Bluetooth keyboard.
It can really do anything my laptop did, and if needed I can just remote desktop into my pc or ssh into a server.2 -
Tell client we need to add an hour to the budget to test, QA, and proof account/password emails to be sent to over 2000 customers.
They say they tested it and to send now.
Charge them for an additional four hours to test, QA, and proof apology emails because client's api was sending broken passwords.1 -
On my first job I was assigned to an Angular 1 project that nobody was working on anymore. After two weeks of pestering the people that worked on it I finally figured out that mess of a code and started fixing bugs. It sucked working alone but I escaped eventually...
-
I'm not that into open source contributions, but the hacktoberfest campaign this year caught my attention. There are so many challenges and events happening... I thought I should give it a try.
So far I got 2 t-shirts and had more fun than I thought.1 -
Quick and dirty job to get some data into a DB wasted my entire evening.
Created table with few columns, tried writing to it from NodeJS app and it kept complaining I wasn't providing values for columns that didn't even exist. After ages pissing about decided that the DB gods had cursed this particular table so created a second one with same DDL. Now it worked first fucking time. Then it finally dawned on me, I'd managed to pick a reserved table name and the RDBMS didn't think to give me a warning when I created it. Not only did it not warn me but it kept going as it nothing was the matter and didn't report the extra columns on a SELECT *. -
I'm thinking about buying a small nas device to store backup and media files. WD my cloud and synology ds120 caught my attention regarding price and functionality. Does anyone have experience with them? Any recommendations?6
-
Here I am, 3:18 am, maybe I won't sleep today either, I hope I do... I'm going on with my uni project, a data science project. I've been wasting hours trying to understand why the fUcK 2 dataframes give me substantially different performances when they fucking shouldn't, since they should be the fUcKing sAmE. But apparently pandas is making fun of me... it seems that if you do something like:
df=original_df.loc[:, [some_cols]]
and some columns in [some_cols] don't exist in original_df, pandas won't give a shit and create a NaN column, or 0 based on how many virgin leprechauns ate bananas for Thanksgiving.
Plus I'm fucking freezing, in this apartment the heating system turns off at 23:59, it makes sense if you're in the fucking bed where you'll be fucking warm.
I miss software development... I wanna finish this MSc as soon as possible.
And here I am, listening to post-rock, writing jupyter notebooks, trying to be fucking positive.
It's not like I hate data science (maybe?), but I'm burnout.
Maybe I'll rewatch another time the video of Mr Robot with the song Where Is My Mind.
See ya.2 -
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
-
Someone has a good keyboard to recommend? I've been dealing with RSI in both my wrists/hands for a while, so I'm looking for a soft, responsive keyboard that doesn't put weight or strain on the wrists.1
-
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
-
i know i could have done this in 10 min using our current framework,
but i really wanted to learn this new framework.
only took 10 hours to figure out.
still considering it a win. -
ISO floating point numbers are essentially wrapped in a hardware-level monad because the normal meaningful values aren't closed over basic arithmetic so conceptually wrapping everything in Maybe using the 'infectious sentinel value' NaN leads to substantial speedups.
With this in mind, I think high-level languages that have a Maybe should use those and have the language-type float refer to a floating point that isn't NaN.2 -
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?
-
being 4th in line to maintain legacy code in a language I have never used before when the the last two guys were, and this is my boss telling me and not my judgment, 'incompetent.'
there are literally four functions in this class that all do the same thing... which is the one being called in this case... a seperate external function located in another file in a different language on a different server all together. 😐 -
typeof NaN === 'number' ... why javascript?... why Not a Number type is number??... a couple of minutes later i've discovered isNaN function. 💪💪💪
-
--- Before Monday morning
Relaxation level: 999
--- Monday morning
The joy to come back from small holidays... and being welcomed with "this is broken, this doesn't work, this stopped working" and writing emails the whole morning to providers "please fix dis, and dat, and dis, is broken since months"
Provider: "o sry, we didn't notice :< pliz wait next week until fixed, thnk u"
Relaxation level: NaN -
There is a comic book app, let's call it 'the fucking awful crunchy roll manga app'.
Over two years, and four devices, 80% of the time it loads pages out of order, or the same three pages over and over, Making books unreadable. Reseting the app or device does not fix it. It's just random when it works.
Point being. Its a god damb gallery app! That's programing 101 shit. How dose a company this big, That does two things, stream video and display images in order, completely fuck up half of their entire market for years with no one fixing it?
I could program this thing in a week end. That's not a brag. This is almost literally a 'apps for dummies' throw away project .
Why? Just WHY?2 -
inherited management and development of a cms that is both beautiful and terrify.
when the developer nefore you was a mystic of programming that you will never be equal to.😅😟😢 -
Just when I am about to watch TV series , wifi is down.
Mobile data barely connecting.
Feels like I am all alone in a isolated island.
Fuck6 -
I don't know how much use others get out of the zoom functionality in browsers.
normally i have several different browsers open with multiple windows on a single monitor with half of them zoomed to 50% so I can fit more and still see everything at once without juggling whats on top or switching desktops. -
For a Christmas flight.
Not the prettiest currency :)
If there was another airline available for my flight I would use them. -
What's a good inexpensive android phone for development. Something 14 year olds could use without breaking6
-
Top instrumental bands to listen to while programming?
Adebisi Shank
https://music.youtube.com/watch/...5 -
I absolutely hate HubSpot's COS platform. It's glitchy and keeps setting CSS values to NaN. I'm primarily a JS/Node developer and this random project I'm having to do with HS is killing my brain.2
-
String good =
"I'll never give up type systems!!"
+ " Do you hear me?!"
+ " Never!";
bad =
"Can't believe it made it all the way into prod."
% NaN + 3 / '11'