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 - "rem"
-
So this guy passed large objects as function arguments directly instead of referencing. What a jackass. So the program was slow as fuck AND taking up too much memory.
So yeah, I'm basically ranting about myself.2 -
I just did git branch in someone's repo and got this ..
master
master_backup
master_bckp
master1
master_aug17
I'm armed and ready .. !!
😐😑😐😱😩😡9 -
FUCK!! It's been 3 days in the new office.
Can't find a single to rant about.
Why is everyone is so fucking nice??13 -
What is the point of having a progress bar if ..
beginning
0 %
after ~2hrs
0%
next minute:
~~~~~~~~~~~~~~ 100 %
installation complete
??6 -
Yes ! It's working !
Wait.. hang on..
This is too simple..
I definitely must've done some blunder that's staring me in the face..
Spends countless hours trying to find it.. breaking it a couple of times in the process..
Okay.. It's cool. It's correct. No blunders.2 -
My girlfriend keeps getting review requests from restaurants we visited.
Then there's a list of all the visited ones on her phone.
Location services is off.
Fucking annoying.
Google sucks.
Absolutely no respect for privacy.
None whatsoever.
Privacy is a myth.
😡😡😡😡😡😡😡22 -
I fucking hate Apple products now.
iPhone 5s time was Apple's prime.
Now it's just a company living off the momentum of its old products.
iPhone X.. really ? the notch ?7 -
(Qt + OpenGL) didn't piss me off for a whole week..
My point clouds are rendering great..
I guess I could speed it up a little bit..
I'm doing good..
So yeah..
no rant..2 -
- Be a Devrant lurker.
- Only created an account for upvoting.
- Desperately want that cool profile picture
- Need rant for points.
Why is my appreciation through upvotes not enough? -_-9 -
I need to render point clouds in OpenGL for a project I'm working on. The problem is it just becomes too damn slow when the point cloud size increases. So I'm trying to use LOD methods and nested octrees to speed things up. Also, I need to render text too in my OpenGL scene. So now I'm stuck trying to show proper labels using Qt and OpenGL which is completely pissing me off by the way. And I'm not doing the actual speeding up thing I was working on earlier on and before that I was working on the actual function of my program. So I'm now deviated from the deviation.
Fuck my brain.5 -
#define f fuck
I think it's time to fing start carrying my fing phone around in a fing metal box !
f Google !
f it again !2 -
When the deadline gets extended from 12:00 AM to 9:00 AM, night out is fucking expected ! Fuck them till morning ! FUCK !3
-
*We colleagues were cursing Valentine's week*
Team Lead : Committed?
Me: No, I am single.
TL: *confused look* Did you committed that code?
Me: ohh yes! I raised the merge request as well.
TL: Ok. I will review it. *Moves away smiling inside*
Me: *looking at screen* *crying inside*6 -
I downloaded the Visual Studio Installer.
It actually turned out to be the Visual Studio Installer Installer.6 -
Don't care if you're the best fucking dev in the world.
If you don't respect time, I don't respect you.8 -
I write code,
I am a writer.
I fight with bugs,
I am a fighter.
I optimise code,
to make it tighter.4 -
I fucking hate it when I'm working and people come and ask 'What are you doing ?' .. Even if they mean well ..
I'd be happy to show them and explain the hell out about finished product though .. !1 -
I just had to post this ...
What the fueoiauooieaoouck ?
What the flip does greater than infinity mean ?10 -
Code works.
I'm happy.
Maybe she's happy.
Code doesn't work.
I look frustrated.
She's definitely not happy.3 -
The fact you’re older doesn’t give you the right to call other people’s 8-months’ engineering effort “shit work”, especially if you didn’t even see the code...
Sincerely,
Your tech lead - me :)4 -
!dev
I am such an idiot. I met this girl today (this is so so incredibly rare) and we got off to a nice start. We had things in common and our conversation was going quite well. She mentioned she was going for a walk in the park and told me I was welcome to join. And me... the idiot.. I had no plans for the evening... absolutely nothing else to do.... I told her I had to go catch up on some work and maybe another time and I just up and left with a “Bye”.. with a stupid smile on my stupid face.
Some history: I had a horrible break-up a while back and since then, I’ve been having difficulties meeting people.. let alone have a relationship. I started freaking out at the mere thought of getting close to someone. I keep thinking about how to keep people away and not get too close to anyone (not physically).19 -
When I'm coding, I often come up with some cool algos and when I do, I feel pretty good.
But the next second, I get this feeling that I know there are a million other people in the world who have solved the same problem with the same or better algorithm and I feel like shit. Like all the work I put in is somehow redundant.
Like finding answers on StackOverflow... When you do, you know the person who answered has already done it. You're just repeating it. But again, the fact that I'm looking for answers from other people in the first place is ....
I don't know. I guess I need to change the way I code from now on....3 -
Have a meeting at 10 AM.
It's 2:25 AM now.
Can't sleep but also don't want to sleep for an insufficient amount of time.
So I'm going to stay awake till 10 AM.
I don't like meetings.3 -
I posted a picture previously about my gear stacking adventures. Here is yet another. Took me a little more time.9
-
No no no.
This newbie pings me for every thing !
It's fucking annoying !
And I'm annoyed with myself for still being nice !
I don't know if he's ever heard of searching for a solution online for even the most trivial problems !
He's not even aware of restarting something !
I have to tell him to do that !
He doesn't even read the help information for commands !
Why why why.23 -
So this guy was struggling using grep everywhere for navigating C source code. What a douche. Told him about ctags. Made my life easier.1
-
I just fixed a wireless driver issue on my friend's HP laptop. I had to download driver source separately and build it and install it..
Bloody RT3290.. Turns out the WiFi doesn't work by default on laptops with this chip and Ubuntu 16** -
I fucking hate it when people completely ignore/forget something I say and then later say the same thing like they came up with it.13
-
Sorry. I don’t give out free tips.
These are the available packages:
TipsPack Basic (9.99$): 5 tips to increase your productivity 2 fold.
1 ad between every tip.
TipsPack Premium (17.99$): 20 tips + 1 bonus tip for 10x productivity. 2 ads.
One bug fix free when you purchase either pack.7 -
I'm almost an introvert. I don't like talking to people much. I prefer to listen. Today one of the graduating seniors told me I should talk to people more. But I've been doing fine so far without talking to more people.12
-
I've become a night worker. To put it mildly, it's become mildly annoying. I start studying/writing code at night and before I know it, it's morning. I can't seem to stop. I then end up feeling weak and sleepy during the day when I need to be awake. If I'm lucky, I get a few hours of sleep during the day. And then at night, it happens all over again. I need to fix this.7
-
Reading 3GPP standards is so painful. I download a document to read it. A month or so later, an updated version is out. I need to download it again. It's so annoying to keep checking. I guess I'll have to write yet another script for yet another fucking problem.
The documents themselves are not that good too. My work would be a lot easier if there is a web interface for the standards.3 -
Why the fuck someone write "used linux to speed up development" in your resume. But when you have to use it, questions like "where to download git for linux?" appears?1
-
In a new country and in isolation.
Laptop out of charge. Plug converter broke so cannot connect my laptop to power.
Ordered one. Need to wait one whole day for it to arrive.
Perfect gloomy weather to just reflect my mood.
Not even allowed to go out for a walk.
Wrote down some pseudo on paper so I don’t forget.
Only to realise there was a problem with it.
So I rewrote it correctly.
Now just waiting.6 -
I can't breathe good air anymore. Water is being wasted. Fossil fuels are being wasted. Unnecessarily high number of vehicles on roads and most them have fucking one person sitting in them. They take out a fucking vehicle for fucking 200m. People throw trash everywhere without any regard for cleanliness. Prices are going up. Inefficient shit pieces exist in the market and people buy that shit. The world is going to hell. I hope I die soon enough to not know that is has.26
-
It's bloody 2019 and the navigation bars on smartphones are still on top. There's no denying that Windows phones did get some things right. I miss them.18
-
001 REM Code review
010 PRINT "Nitpick nitpick nitpick nitpick nitpick"
011 GOSUB REFACTOR
020 PRINT "This function is too complicated, break it up"
021 GOSUB REFACTOR
030 PRINT "Why do you have three methods for this? Put all the logic in one method."
031 GOSUB REFACTOR
040 GOTO 020
041 REM ARGH
998 PRINT "Looks good."
999 STOP9 -
Today I had to tolerate hearing the word ‘actually’ between every pair of words in a one hour seminar. Man I don’t think I can take anymore sessions from that guy. I wanted to scratch out my grey matter.8
-
I loved her from the beginning.
I devoted so much of my time to her. She told me her heart doesn't point to anyone. Yet I tried to reach her.
Everytime I ask her what's wrong, she gives me the same answer. I tried to be different. I changed things. Yet she said the same thing again today: "Segmentation fault (core dumped)"4 -
Expecting your client to be nice with you just because you are nice to them is like expecting lion not to eat you, because you don't eat lions.3
-
When I saw the U-Boot prompt on the console of a system that we'd developed from scratch all from openly available documentation. When the board was fabricated and brought in for software bring up, it was basically less useful than a brick. It felt awesome giving life to it. We had to configure it and calibrate it. It's extra challenging when you have a lot of analog circuits. Yeah so we didn't win 'against' anyone but that victory stands for itself.1
-
These bloody form designers.
I was filling in this form earlier and there were some fields which were not marked mandatory so I didn’t fill them in (because why should I ?)
And then later, I received a dozen automated e-mails one for each non-mandatory field I did not fill asking me to provide them that information.3 -
A month ago. The code for a feature was removed because my boss thought it would not be required. When that was done, a lot of regression testing was done and a lot of code was changed all over the code base. And those changes were merged to main branch along with a bunch of other changes.
But now, he wants me to put that feature back just as the release date is approaching. It's just a humongous waste of time. Now I need to find where all the tentacles of that bloody feature reach and manually put back the code. And the bloody testing needs to be done all over again.
When will I get to stop dealing with these kind of people.7 -
As a fellow devRant user, what is it you primarily look for in this app ?
0. Some place to rant
1. Dev jokes/memes
2. Observer. devNews.
3. devProjects
4. Here because you don't like being in the presence of people but want to socialise anyway.
5. Finding your partner in life.29 -
Too much math ? Seriously ? Had you made the effort to atleast 'look' at them, you would see how simple they are. And just because I use the word 'equation' does not automatically make it a Volterra Integral Equation.
Could've discussed the subject at hand. But no, let's bring on the judgement. Who wants to ever discuss the subject ?4 -
So, I've been programming a number of years, mainly .net, I've been looking at python recently and it just seems wrong to use variables without declaring them. It just seems dirty11
-
That moment when you change your mindset from "I'll probably leave the office by 6pm" to "I hope I'll leave before midnight"1
-
Hello (World)! Noob here. I installed devRant around 5 days ago. I just keep reading the rants and didn't created my account because i was not sure if i will stay here for long time coz most (cr-)apps are boring.
After 5 days:
I owe all of you a tons of '++'.
I want a boss like @Linux have. (i know tags work only in comments)
Gonna stay here till i stay in IT industry.(maybe)10 -
I've finished all my work. The Dev life is definitely for me. I love being a Dev. I am going to continue being a Dev. Ignore my previous rant.12
-
Pet-peeve: fellow devs who think scoffing/dismissing/not-my-probleming before actually understanding the issue is a sign of intelligence; newsflash: you are being lazy, disagreeable and unprofessional.1
-
I’m writing funky code. I hope no one notices.
For instance, I needed to add a function which returns whatever is input to it.16 -
This is really creepy. Yesterday I was talking to my parents about buying a Thermosteel flask. Today I opened Amazon and this is what I see.. (attached pic)
I am pretty sure, I didn't looked for it even on Google.
It may be co-incidence but still..20 -
Once I didn't knew anything about coding or development.
Someone suggested me to start with Java.
Still looking for that Mada-foker.5 -
Let me make this clear.. overusing ξ, ζ and ς in your equations or formulae does not(!!) make you smart!5
-
I was depressed doing a course I hated.
3 years in and I switched to Computer Science.
Best decision ever!3 -
Now this is true. Devrant changed me and now, after one of the devranters post I'm finally searching for a new job. Most of the time I was using PHP, but here I've seen lot of rants about laravel. Now I'm building a website with it and going to change my job. Thank you Devrant creators and community.3
-
Fucking retards littering my code review.
I had posted some important questions in my comment (essential in order for the code review to move forward) and this asshole posted some stupid out of context meta crap comments no way related to the subject of the review pushing my questions out to the point that a lot of scrolling is needed to see them. Now I need to get everyone’s attention back to the point that matters. Why does this happen to me ? This actually happens quite a lot with other forums as well. Trash mouths going off topic.6 -
Stack overflow was down..
I don't know why, but it developed some kind of respect for senior developers who don't had access to stack overflow in their time. -
My day:
5:30AM - 2yo son wakes me up, I send him back to his bed
6AM - wakes me up again, gotta grab a coffee
7:30AM - leaving towards the office
8:30AM - finally arriving to the office, after horrible traffic.
*continue working on major schema change I started yesterday*
12:30PM - Lunch + Beer
1:30PM - Tequila time!
*back to work*
7:30PM - Finally done with coding, leaving the office
8PM - home at last
9:30PM - Beer time
9:31PM - "I'll just write a couple of more lines"
12:30AM - "That's it, no more code for today"
12:31AM - "I'll just scroll through devRant"1 -
I find it weird that for C floats, -0<+0 is not true. Had to write a little bit of extra code to enforce this.
-0 could represent an incrementally small number below zero but greater than the next lower quantisation level.4 -
I’m already irritated by all the unwanted stimulus. I don’t need search engines, websites or whatever that fuck showing me stuff I did not ask for. It’s really distracting and makes it hard to focus on one thing. I’m trying to adjust to a lifestyle like this but it’s bloody difficult in this day and age.3
-
left the office early today to see my 2 years old son before he goes to bed.
it's 11pm and I'm working from home, gonna wake up around 5:30am to commute to work.
I really need to move closer to work3 -
In only I were 1.15 times faster or had better planning (why didn’t I use the Saturday Sunday at the end of the first week 🤦🏼♂️), things would’ve happened differently. I think I’m becoming stupid and my tolerance levels are going down too.
So this happened a while back ..
I was given a code base which didn’t have any changes in the last two years and I was asked to add a feature to this. This was my first task in this new group I was part of. I had two weeks to do this starting on a Monday.
Partway through implementation I realised that the code base is a pile of shit and I wasn’t doing myself or anyone else any favours by shitting on it.
It’s Wednesday. I’ve dealt with many other codebases before but the urge to rewrite this particular one was just unlike anything else. And so I started changing code and before I realised, I modified almost all the important files.
I got sick of this mixed up code and started a rewrite from scratch. It was Friday and I finally had just the basic mechanics of the whole thing working. Now I needed to add all the functionalities and also my new feature.
It should be noted that at no point did I tell any of the superiors I was doing this fearing what they might say and also fearing going back to adding shit to shit.
By the end of the second week, the rewrite was complete and I only had the new feature to add. The rewrite was significantly smaller, compartmentalised and well commented because I did the bloody commenting (where it was not obvious from the code). So on Friday, I was asked about the progress and I told them that it needed some more work and that I need a couple more days. And I got shit for it. I was told it was a mistake giving this task to me and that I am not competent enough. One of the superiors told the other superior about perhaps giving me something more suited to my level. To be fair to them, they were expecting the work in the two weeks to be for the new feature.
And in two days’ time, on Monday (I worked on Saturday and half of Sunday), I finished the whole thing and gave it to them. New feature was working. And I still did not tell them what I did. The tool worked fine so they had no idea what happened because this project had no version control and I pointed them to a new directory with the new code with a first commit.3 -
2 years ago..
Me : How can i learn Java?
College Senior : Do some online courses.
*did a course for a month! Still not confident*
Me: it ain't working for me.
Senior: Do some project.
*Created an Android App under internship! Still not confident*
After wasting my 6 months on Java, i reached to the conclusion that: "Java Sucks" (at least for me)
No Offence!16 -
So when code is badly written, more corner cases are unnecessarily introduced. And it’s sometimes tricky to find the corner cases and probably messy to fix the corner cases.
And so the code grows in size as a result. And when these fixes to the corner cases are not well done, they introduce more corner cases.
So what results is a large collection of corner cases. Only corner cases remain when this goes on for a while.
Because of this, every new feature can be effectively translated to a collection of corner cases to be implemented.
As corners grow, triangles become circles and tetrahedrons become spheres.
I live in such a sphere.8 -
Why !?! Why would you design your web page in such a way that as images load, I have to play a scrolling game to try and read the shit !?!11
-
I think I can learn English here.
HAHAHA
I can also learn professional knowledge.
**I am a Korean.**
And...
Succeed!
Android studio AVD powered pictures4 -
I can’t even wait for my copy of Leviathan Falls to arrive. I’m so tempted to read the All Spoilers thread on Reddit. Aaaaaaaaaaaaa! C’mon... you can do this. Just a couple more days.6
-
If your “solution” fixes the test case which is failing, it does NOT guarantee that it is the correct fix. You don’t just blindly change whatever piece of code you like to make just the test case pass. You actually also need to analyse the code and ensure that the rest of the intended functionality is still intact.3
-
on one hand- got a new job, on the other hand getting a new MacBook pro just before they release a new generation2
-
When someone asks me a tecnical question in something i'm interested in:
"It works like this ... Oh i also should explain you how processors work ... Anyway, when a bufferoverflow arises ... And thats how crypthography works ... and so does blockchain work ... anf thats why bitcoin is causing way too many stress on the power grid."7 -
That moment when: you lift your gaze from your phone to understand the sudden quiet is because your expert opinion is needed in the meeting.
-
To you who enjoyed the Gif/Jiff, Sequel/EsQueEll, Git/Jeet grandiose debates, comes the new phonetic conundrum: DevREnt vs. DevRUnt. Soon, in monitors near you.6
-
I might be pushing my 4 years old macbook pro too hard with 2 IDEs, 1 instance of datagrip, and tons of open browser tabs, all on 4gb of RAM..6
-
So, I finally decided to figure out how to fucking close vim! Surprisingly, there is a super easy way to rem...[read more]3
-
I only just started learning Js. And it's going smoothly. In two weeks, I should have gone past the Beginner's level. Then what next?7
-
Hello fellow devs, how do you clear your mind when you cant make something work? I think most of you had this feeling like 'fuck that, creating from beggining will be easier'1
-
Just feel like going to a raised platform over my town and scream, "AHHHHHHHhhhhhhhhhhhhhhhhhh....!!!"
-
The datepicker saga
Part one
So I begin work on a page where user add their details, project is late, taking ages on this page
Nearly done, just need a component to allow users to put in some date of births. Look for react components.
Avoiding that one because fuck Bootstrap.
Ah-ha, that looks good, let's give it a go.
CSS doesn't exist, oh need copy it over from npm dist. Great it applied but...
... WTF it's tiny. Thought it was a problem with my zoom. Nope found the issue in github.com and it's something to do with using REM rather than EM or something, okay someone provided a solution, rather I saw a couple of solutions, after some hacking around I got it working and pasted it in the right location and yes, it's a reasonable size now.
Only it's a bit crap because it only allows scrolling 1 month at a time. No good. Hunting through the docs reveals several options to add year and month drop downs and allow them to be scrolled. Still a bit shit as it only shows certain years, figure I'd set the start date position somewhere at the average.
Wait. The up button on the scroll doesn't even show, it's just a blank 5px button. Mouse scroll doesn't work
Fucking...
... Bailing on that.
Part 2
Okay sod it I'll just make my own three drop down select boxes, day, month and year. Easy.
At this point I take full responsibility and cannot blame any third party. And kids, take this as a lesson to plan out your code fully and make no assumptions on the simplicity of the problem.
For some reason (of which I regretted much) I decided to abstract things so much I made an array of three objects for each drop down. Containing the information to pretty much abstract away the field it was dealing with. This sort of meta programming really screwed with my head, I have lines like the following:
[...].map(optionGroup =>
optionGroup.options[
parseInt(
newState[optionGroup.momentId]
, 10)
]
)...
But I was in too deep and had to weave my way through this kind of abstract process like an intrepid explorer chopping through a rain forest with a butter knife.
So I am using React and Redux, decided it was overkill to use Redux to control each field. Only trouble is of course when the user clicks one of the fields, it doesn't make sense in redux to have one of the three fields selected. And I wanted to show the field title as the first option. So I went against good practice and used state to keep track of the fields before they are handed off to the parent/redux. What a nightmare that was.
Possibly the most challenging part was matching my indices with moment.js to get the UI working right, it was such a meta mess when it just shouldn't have taken so stupidly long.
But, I begin to see the light at the end of this tunnel, it's slowly coming together. And when it all clicks into place I sit back and actually quite enjoy my abysmal attempt at clean and easy to read code.
Part 3
Ran the generated timestamp through a converter and I get the day before, oh yeah that's great
Seems like it's dependant on the timezone??!
Nope. Deploying. Bye. I no longer care if daylight savings makes you a day younger.1 -
After learning a bit about alife I was able to write
another one. It took some false starts
to understand the problem, but afterward I was able to refactor the problem into a sort of alife that measured and carefully tweaked various variables in the simulator, as the algorithm
explored the paramater space. After a few hours of letting the thing run, it successfully returned a remainder of zero on 41.4% of semiprimes tested.
This is the bad boy right here:
tracks[14]
[15, 2731, 52, 144, 41.4]
As they say, "he ain't there yet, but he got the spirit."
A 'track' here is just a collection of critical values and a fitness score that was found given a few million runs. These variables are used as input to a factoring algorithm, attempting to factor
any number you give it. These parameters tune or configure the algorithm to try slightly different things. After some trial runs, the results are stored in the last entry in the list, and the whole process is repeated with slightly different numbers, ones that have been modified
and mutated so we can explore the space of possible parameters.
Naturally this is a bit of a hodgepodge, but the critical thing is that for each configuration of numbers representing a track (and its results), I chose the lowest fitness of three runs.
Meaning hypothetically theres room for improvement with a tweak of the core algorithm, or even modifications or mutations to the
track variables. I have no clue if this scales up to very large semiprime products, so that would be one of the next steps to test.
Fitness also doesn't account for return speed. Some of these may have a lower overall fitness, but might in fact have a lower basis
(the value of 'i' that needs to be found in order for the algorithm to return rem%a == 0) for correctly factoring a semiprime.
The key thing here is that because all the entries generated here are dependent on in an outer loop that specifies [i] must never be greater than a/4 (for whatever the lowest factor generated in this run is), we can potentially push down the value of i further with some modification.
The entire exercise took 2.1735 billion iterations (3-4 hours, wasn't paying attention) to find this particular configuration of variables for the current algorithm, but as before, I suspect I can probably push the fitness value (percentage of semiprimes covered) higher, either with a few
additional parameters, or a modification of the algorithm itself (with a necessary rerun to find another track of equivalent or greater fitness).
I'm starting to bump up to the limit of my resources, I keep hitting the ceiling in my RAD-style write->test->repeat development loop.
I'm primarily using the limited number of identities I know, my gut intuition, combine with looking at the numbers themselves, to deduce relationships as I improve these and other algorithms, instead of relying strictly on memorizing identities like most mathematicians do.
I'm thinking if I want to keep that rapid write->eval loop I'm gonna have to upgrade, or go to a server environment to keep things snappy.
I did find that "jiggling" the parameters after each trial helped to explore the parameter
space better, so I wrote some methods to do just that. But what I wouldn't mind doing
is taking this a bit of a step further, and writing some code to optimize the variables
of the jiggle method itself, by automating the observation of real-time track fitness,
and discarding those changes that lead to the system tending to find tracks with lower fitness.
I'd also like to break up the entire regime into a training vs test set, but for now
the results are pretty promising.
I knew if I kept researching I'd likely find extensions like this. Of course tested on
billions of semiprimes, instead of simply millions, or tested on very large semiprimes, the
effect might disappear, though the more i've tested, and the larger the numbers I've given it,
the more the effect has become prevalent.
Hitko suggested in the earlier thread, based on a simplification, that the original algorithm
was a tautology, but something told me for a change that I got one correct. Without that initial challenge I might have chalked this up to another false start instead of pushing through and making further breakthroughs.
I'd also like to thank all those who followed along, helped, or cheered on the madness:
In no particular order ,demolishun, scor, root, iiii, karlisk, netikras, fast-nop, hazarth, chonky-quiche, Midnight-shcode, nanobot, c0d4, jilano, kescherrant, electrineer, nomad,
vintprox, sariel, lensflare, jeeper.
The original write up for the ideas behind the concept can be found at:
https://devrant.com/rants/7650612/...
If I left your name out, you better speak up, theres only so many invitations to the orgy.
Firecode already says we're past max capacity!5 -
Python file truncate instead of actually deleting file contents...
there goes a weekend of log backups.. FML -
That moment when: you realize your team has introduced a fatal flaw and lacks the foresight to understand it. The countdown has begun.2
-
tl;dr
You know that feeling when you have your headphones on and somebody is talking to you and then your stomach starts to hurt, because you don't want to put down your headphones because the music is great and your headphones plays it really good?
The post
I cannot code without headphones on. I'm currently on a longterm journey to find the best over-the-head budget headphones for coding, just out of curiosity, I started with cheap Phillips headphones for a couple of euros (9 or 10 i don't rem.), I would say they are usable, for a casual user, but far-far from the best
Then i purchased a Sennheiser HD451 for like 3x the price of the Phillips, really good. I use them in work and wanted to go on with the comparison so i bought a ATH m30x for home, and for gods sake, they are soo fucking good, way better what i would expect from a budget headphone, it cost twice the price of the Sennheiser.
Whats your "daily driver"? What would you suggest to try next?
note: before these I was using earbuds which came with my cellphones and 2.1 systems5 -
What is the most unusual use of a programming language comment that you have come across?
I'll start with this one. On the Sinclair ZX81, a REM comment was used to reserve a space, into which you could poke machine code! -
Age+=1
First time, I am this far from home on my B'day. But atleast I am with my friends and these fuckers wrote "Antarvasna writer" on my cake.2 -
developer oriented saas? well yeah, you could've at least develop a decent SDK for one language, or just let people send JSON payloads instead of XMLs..a**holes
-
What is DevRant's business model? It's a really great community, and I'm interested about how it's monetized (or plans for the future)4
-
Brewmaster.
I've been brewing my own beer for about 6 months now and super positive feedback keeps on coming :)2 -
Screw Scrum, screw it very much. Is it a task or a story? Oh let's make it a story to track points. What are points, really? *20 minute grilling always follows* Well they're kind of a roundabout way of talking about time without talking about time, mkay? But last time 2 points took you a day, what gives now? What do you mean points are for internal use, but how will management plan ahead for next quarter? Ok, let's mix in all those new people, and propotionately bump the expectation for the sprint, mkay? Yeah, they did 34 points per sprint over there, we'll just add those in. Oh, and by the way, after the 4-day estimation session we had where everyone was seizuring, I scheduled us at 645 points for the coming quarter, mkay? Don't worry, I added 15% for the "unexpected dtuff" so you're safe. Fuck you scrum, scrum-fall, whatever you are. Lost a dev lead role once for being honest about it after a year with a team that loved me, and projects completed more or less on time. Been reconsidered for a dev lead role for being honest about it in another place. Somebody else peddle this kool-aid, this one prefers a walk-on role in the wall to a lead role in the cage.5
-
So I developed this proxy server that will throttle down API calls to one of our providers so we don't get blocked for TOS violation...
Some dude had a tool running all day long which crashed 2 minutes before I left work.
This literally ruined my day until I recalled it's all cached!!!!
Mood is back again and I deserve my beer! -
Going over some NodeJS code, and I feel like the scene from "Dude Where's My Car" - "And then....And then..."
Coming from almost three years of 99% python, this hurts my eyes so much1 -
Just spent a lot of time on custom building an Ubuntu docker container, and forgot to save the image before I accidentally reset the whole thing to blank1
-
During my internship, I fixed a bug in android app related to user data updation..
BUT I didn't knew it's root cause and I have no idea how I fixed it.
Also, it was satisfying.1 -
When your peers lack the technical depth to promote their ideas, you bet they're honing their social skills in those confidential 1-on-1s.
-
Not sure how this made it to production..
Looks like Time Warner Cable updated their site to use rems with a replace all on 'px'.
https://registration.timewarnercable.com/... . -
I want to develop a django quiz app which will show questions to all online users at same time and allot a short time slot(1min) for answering questions.
How can i do that?
Any kind of help/link/hint is appreciated.
Thanks in advance.3 -
Definitely Android 8.0 is neat.
And it's faster.
I think Android has developed a lot.
Isn't that right? -
I'm retarded and never learned or was taught how to CSS
What's the simple toggle/config/property to throw onto things in CSS so different rendering engines will render things to look the same?
I just want 1 line of text, an input text box and a button on a web page opened by an app, to look roughly the same on iPhone, android phone and tablet.
Why the fuck did historically shit get fucked up so we have different rendering engines. I just want my fucking 1.5 em/rem to be legibly readable on these different platforms.
https://xkcd.com/927/
https://webaim.org/blog/...
an extra special fuck you shout out to apple
time to go down the rabbit hole of who knows what, i dont fucking know what a fucking viewport is yet8 -
Playing around with a POC I'm doing for work, and it works so well I got an IP ban from one of my favorite websites for a massive amount of requests they got from me
-
So I've been on vacation for a week now, still two days to go until I get back to work.
It's been super fun, but I am getting pretty stressed about the shit-ton of work I have to do when I come back.
How do you let go?2 -
Anyone uses rtags for C++ code browsing?
It’s pretty accurate since it’s based on clang but it’s a bit slow sometimes.
It appears to be using a weird amount of memory though.1 -
What are you currently working on? You can be as vague as possible and let others try to figure it out.
I’m currently working on something to make pelican based blogs look a bit decent.7 -
How long does it take to start writing codes without having to do “too much” looking up of some context?
I’m quite at the intermediate level and I fear I do a lot of cramming(and pouring) than actual coding.
I want to code all on my own, or at least tons of lines before having to check something up.
How do you guys do it? How do I become ‘pro’?6 -
!rant
Yesterday my little brother sent me a screenshot of game called robotJS and asked for help. You can't imagine how happy I am that he tries to choose this way -
Getting started with Python's asyncio is probably the worst experience I've had with the language in 2+ years I've been using it.2
-
Installing the entire system on new machines. Too many configuration files and too much manual work. (New workplace, haven’t automated it yet)
-
Writing DAL code that I am 99% sure will be replaced really soon along with the database schema.
Angry coding is almost as good as tipsy coding - AMAZING. -
You used to think that it was so easy.
You used to say that it was so easy.
But you’re tryin’, you’re tryin’ now.8 -
Lorem ipsum dolor sit amet consectetur adipisicing elit. Illo aspernatur laborum rem sed laudantium excepturi veritatis voluptatum architecto, dolore quaerat totam officiis nisi animi accusantium alias inventore nulla atque debitis5
-
Read about concepts that are new to me and try to implement them.
Code reviews with experienced devs -
Finance lady keeps turning the air conditioning off.
It's either sticky note on the controller or R&D vs. finance lady on an on/off battle...
What do you say? -
on one hand - softlayer is way less intuitive than aws...
on the other hand - when your boss tells you you can bring up up to $1000 monthly valued servers, you can forget about the first hand1 -
No rants about new MacBook pro generation? Obviously one must rant about the absolute need to buy adapters to connect keyboard&mouse (let's be honest, BT devices out there are mostly nowhere near ergonomic)1
-
So I just refreshed LinkedIn and it has a new look.
It's so bad I can now remember Microsoft bought LinkedIn a couple of months back every time I look at it1 -
Camembert cheese in the fridge is great, but how can one survive without the stronger Nespresso capsules ;(
-
Ex-manager keeps trying to boss me around. Not only that- he now tries to get fame for a project I’ve been doing for six months that he actively avoided managing...
-
POCing a neural network thing.
Luckily it's a shallow network, but it's taking a frickin' eternity to train :( -
The biggest distraction is every other bloody department in the organisation, other than development.
-
So I spent about a day on this brilliant priority calculation formula just to come to the conclusion that FIFO would be a better approach for now1
-
so they brought a senior engineer to our (very small) dev team. I feel like poking my eyes with a nail looking on his code.1
-
Guys, i am a beginner in networking. I want to create my own cloud computing server - (IAAS). Currently, I want to provide storage to the users.
How should i proceed.. Any site link or guidance? Thanks in advance.1 -
Wich programming language is the best one, easiest one to learn, gives a good feeling (when you find in a quick way, how to do it that what you want)it makes more sence then other p.languages, your eyes wont hurt and c# in the future... 🤓9