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 - "zen"
-
I really hate this company.
The code is a disaster. Every single other employee is a salesperson. Nobody has any bloody clue what I do or how difficult it is. They don't care about stability (unless things are crashing), maintenance (until crashing), code quality (until it delays features), or anything apart from shiny new features they can sell. The boss (the king salesman, if ever there was one) doesn't know how to manage, but tries to by acting like his "nice asshole" self -- he's an asshole that gives you passes, makes sure it's bloody obvious that he's doing it begrudgingly, yet everything is still absolutely your fault. If he arbitrarily decides it's too much your fault, he stops being "nice" and flips out on you in front of everyone. That's a "nice asshole": an asshole who can barely even pretend to be nice.
Fuck him.
And you know what? I really hate having to work next to these fucking birds, too.
Today was our weekly conference call, and I was both late and unprepared. I was too focused on my work, and got a ping 4 minutes into the meeting, so I obv didn't have time to prepare. Boss was also pissy today, and I didn't have much to show for my week, thanks to lots of little "OMG NEED ASAP" shit projects that all took too long, pushing back what I was actually supposed to work on. Which didn't get finished, of course, and today that project was "the most important" -- I suspect simply because it wasn't finished. AGADJFSKL. Cue the birds fucking screaming and never fucking shutting up no matter what I did. Blanket? No effect. Spray bottle? SCREAM MORE! Boss was yelling at me, the birds were screaming, and I couldn't think. Goddamn fucking disaster.
and yes, we have a macaw. A macaw and over 20 cockatiels. Said macaw decided today was a lovely day to just fucking SCREAM non-stop, and the tiels were doing their best to keep up. Thinking clearly during this cacophony? Not gonna happen.
Wait, "go elsewhere," you say? Somewhere quieter? Where is this "elsewhere?" We live in a fucking tiny house, and during the call it was (and still is) filled with sleeping people, and surrounded by a fucking desert. Who the fuck thought living in the desert was a good idea, anyway? Like, seriously. What brainless moron thought "You know what? This is a great place! Let's settle down right here," while trudging through the scorching sand and dust, looking at the basically lifeless horizon filled with large, hot, dry, dusty, barren rocks (aka "mountains"), and fucking dying from thirst? Probably someone so delirious from heatstroke they never actually recovered, and continued raving that it's a goddamn paradise to their heat-addled imbecile followers. I really hope they hallucinated a la-z-boy in place of a hedge of teddybear cholla and died an excruciating and prickly death. Fuck that guy/girl, too.
But I digress.
I seriously need an office that isn't a 30 min drive into gang-central. I'd work outside, but I live in the middle of the bloody fucking desert, and get heat exhaustion within about half an hour. Everywhere else in the house people bother me almost incessantly.
just. FUCKING FJASKLDFJGAG.
I HATE THIS PLACE SO SO SO MUCH.
'I've had such Zen lately,' Alex said. Maybe then, but lately? I've just been too exhausted and burned out from putting up with all this shit to get angry. Days like today? I could pour kerosene over everything and laugh as it all just burned to ash.rant it's a cool day at 96f/35c root has problems and fan the flames as your blazes burn root should see a shrink desert kerosene asshole boss when you fall i'll take my turn15 -
I wanted to rant about some code that should run smoothly but somehow doesn't run at all, then I realised I don't know enough English swear words to express my anger and frustration.
¯\_(ツ)_/¯4 -
Summary: Burnout, and everything's broken.
I don't feel like doing a damn thing today. I look at the code and cringe. I look at Slack and think "ugh. i can't." Mental capitals are even too much work.
(I've started reading "Zen and the Art of Motorcycle Maintenance" to try and combat burnout. I'll write a rant/story about it here if I find it helpful. but all I want to do today is drink tea and read.)
But onto the story:
Heroku is deprecating support for and will automatically upgrade any old verisons of Postgres running on its platform after August something (like five days from now).
I performed the upgrade to PG10 on Sunday (and late into the night), provisioning a new follower, blah blah blah.
However, the version of Rails we're using (4.2.x) doesn't support PG10 sequences, so I manually added in support via a monkeypatch. I did this on our QA servers first, obviously, and everything worked as expected. After half a day of no issues, I did the same on production, and again: everything worked as expected.
But today? I keep hearing about new things that are broken. One specific type of alert doesn't work for one specific person (wat). Can't send [redacted] at all. Can't update merchants! Yet there are magically no errors logged.
That last one (well, two) are just great; let me explain: when there's an error concerning merchants, the error gets caught, isn't logged or recorded anywhere so it just disappears, and the rescue block triggers a json response instead and happily exits. This is for an internal admin tool, so returning a user-friendly error is kinda stupid anyway, but masking what actually happened? fuck that dev with an obelisk made from spikes and solidified pain. That json response is also lovely: it's a 200 OK returning {status: 1, data: "[generic message containing incorrect IT jargon]"}. Doesn't even say "error" anywhere. Bloody everything about this pattern is absolutely wrong. Even the friggin' text.
Fucking hell. I want to pipe the entire codebase into shred and walk out the door.
But I digress. So many things are broken, my motivation is wanning to a sliver, and I have a conference call today where I'll undoubtedly be asked why everything is on smoking and/or on fire, and my huge and overly productive week last week will ofc mean nothing by contrast.
Ugh.
`shred ~/dev/work -zfu -n 32 &; ./brew tea --hot && wine ~/takeabreak.exe`rant zen and the art of motorcycle maintenance postgres heroku ship's sinking and the fixer's all fixed out burnout21 -
Bucket list!
- Host my current webapp project.
- Hit 2k ++'s
- Achieve Zen, a few times
- Start a new remote job
- GET A NEW LAPTOP
- GET A GIRLFRIEND (The recurring item)
There's alot more, but for now these should do.8 -
Do you want an app completed for tomorrow?
It will be a shit.
Do you want a very good app?
You won't have it tomorrow.
Clients and bosses will never learn it...6 -
Apparently Eclipse is an indispensable tool for putting Zen in your coding!
Source: https://turnoff.us/geek/...3 -
i have just realized that the main source of my unhappiness and emotional imbalances is interacting with the world.
when at home, i am zen. i leave everything alone and everything leaves me alone, i am at peace, i am happy.
as soon as i get out and start being barraged by the everpresent dumbfuckery of the world, and on top of that my own dumbfuckery,... it becomes difficult to not hate existence.7 -
Amdy's story.
Amdy didn't have it easy. He's just a little APU and was already outdated when he was manufactured. But it got even worse! He didn't do anything wrong, but upon assembly, they lasered a different part number on him.
He didn't think much about it, but then they denied him all the goodies his brothers got: a nice printed box, a cooler, a leaflet, and a sticker.
Amdy didn't get any of that and wasn't welcome in the boxed camp. Instead, they stuffed him into a shoddy tray cardboard box with just some ESD foam for the pins.
Amdy was disappointed. That was just not fair! He was capable like his brothers. To add insult to injury, not even the manufacturer wanted to give warranty on the poor ugly duckling. They didn't listen to his complaints and shipped him to an unknown fate.
Then our roads crossed because Amdy was 10 EUR cheaper than the boxed ones at that point. Little Amdy breathed heavily when he finally got out of the mini box and seemed a bit disoriented. Poor little sod, what did they do to you?
Then he spotted the cooler. He had never seen anything like this before, so much better than the coolers his boxed brothers had received! And even top of the line thermal paste!
Amdy decided to be as good and fast a processor as a small Zen+ APU could possibly be. What was that software stuff? Didn't look like Windows. Ooohhh - Amdy rejoiced when he figured out that he was supposed to run Linux!
And that's how a despaired and unhappy APU finally found a life full of goodness.6 -
A motto for programmers who wanna think out of the box:
1. Fuck the system
2. Elevate
3. And fuck the rest 😉 -
Taking a database class, prof insists on using Microsoft Sql server 2014. "Okay cool" said the Microsoft surface fan boy inside me as I installed it. "Holy shit this is using 6 fucking GBs?? Eh it's okay I trust" again said my Microsoft fanboy self. Finished installing, makes queries and it works. Cool.
Go to run Sql server again next day and get an error (nothing displayed, just a box pop up and then a crash) I use some Google skills. Change a bunch of shit and still it persists. "Just uninstall it and reinstall again" says my prof. I do so except random errors during installation saying Sql already exists even though I just uninstalled it. "Maybe it's some registry keys messing with it!" do some digging, remove unneeded registry keys and try again. Installation finished but a whack of features say failed to install.
I sit and try to work this shit out for the next four hours (not paying attention to my class) and still can't get Sql to completely uninstall itself. I try iobit uninstaller, command line uninstalling, fucking everything but still not working. Slowly my fanboy side is wishing that the windows symbol on the back of my machine was an apple.
I ended up having to backup all my files and reinstalling windows to get it working properly. Holy sweet fuck. The worst part is when this class is done ill probably need to reinstall yet again to save the 6gb it's sucking up. So if you're not sure whether you need something as heavy as Microsoft Sql server or not for your application, don't use it! It's a fucking virus that is super difficult to remove.
Tldr: life long Microsoft fanboy becomes apple convert in a day of using Microsoft Sql server.9 -
!Rant
How do you deal with open space offices?
I find it quite difficult to focus, the constant chatting, the constant questions, phone ringing, surprise meeting, more question, arrays of interruptions and questions again. I believe I would be a lot more productive if left alone in the total, undiscontinued silence.
Have you found your escape, your zen, your inner focus? Please share, I need some ideas16 -
Had a mental breakdown a few days ago. Crying like it's the end of the world when computer stopped working. I was a Picasso drawing of the hysteria, basically.
My exams are getting near, I'm really not ready; yet this chick keeps asking me about ten euros I borrowed from her a year and something back when we were going to a club they asked me to go to with them... Given her persistence that I should wire her the money (no PayPal tho) I assume she's up to something super shady. Why does she need my account info for?
Anyways, being annoyed by only ten euros (in our currency, it's not much, btw. It's less than two bags of expensive chips, or 5 dozen of the cheapest eggs on the market) and not studying enough, there is also my work. I feel so incompetent that I may just resign. Like... I'm not smart enough for this project. 😢 And I'm aware of it.
Put that on the side with this uni's project, which is very "Urghhhhh" because of too many people working on the same project, some of who need to be sent back to kindergarten to learn how to cooperate with others.
And in the middle of all of that, I'm trying to stay as zen as possible until the next mental breakdown. 😑😑😐
Thank you for reading this rant.7 -
I fucked up.
In my career, colleagues always looked up to me to solve everything. From day 1.
Hell, I have nicknames; « The Dad », « Machine », « The Beard »... when I meet a new group of devs at the bar they use those nicknames even if I have no clue who they are.
Result? I'm not allowed to fail and even if I do and try to take responsibility, no one ever blame me.
They see me as a fucking zen programming monk, all wise, patient and kind.
Oh boy here we go. I screw things up all the time and can never let go the guilt since I'm not allowed to take responsibility of my mistakes.
Once again I wake up after a night of stress working, trying to overcome analysis paralysis. I'm late. Supposed to have meetings with some fucking PHDs, fueling my imposter syndrome.
Can't even learn anything in those conditions.
Fuck they should call me the fraud.7 -
1) Remove kernel linux
2) Change kernel to linux-zen
3) Make init ramdisk
4) Everythings great -> hit reboot
5) Stuck at Grub
Me: Fuck.. Forgot to update grub config.
(Lesson : RTFM first.)1 -
When you reach that point, that level -- a coding apex, and the universe has found you. That feeling as you code, where the ideas, the advanced concepts, they flow out of your mind like beautiful and wonderful poetry. And you smile, because all is well, and you have created something beautiful in a world that needs more beauty. Also, it's lunchtime.2
-
When you can code amazing things but can't cook to feed yourself or remember to drink enough water in a day.1
-
today, thanks to everyone else being tied up in meetings and forgetting to invite me to those meetings, i actually had a pretty zen day of refactoring and reviving old unit tests that no one ever seemed to know why they didn't work and so they were just skipped over.3
-
My olfactory hallucinations really made things complicated. Not only whatever I eat that is not raw iceberg salad smells like rotten flesh, I also can’t choose a deodorant.
I got nivea one and threw it away.
I got old spice one and threw it away.
Now I got chanel one and I like it and I DONT FUCKING KNOW if I like it because it smells good to me or because I’m actually hyperconsumerist no matter how hard I deny it. Does being a hyoerconsumerist make me bad? What is bad in that context? Is a kind of reasoning bad only because if everyone follows that reasoning the world will be fucked? Are there good reasonings then, but not like zen, the ones that actually lead to scientific progress. Is scientific progress a good criteria to judge?23 -
Dear [not so senior] software engineer:
Your strong opinions do NOT directly correlate nor contribute to your ability to influence and inspire others.
Be a mediating and conciliating force in your team.8 -
I've made a fucking retro game and it takes too much time and effort to make this thing when I complete my game I showed this to my cousins and their first words was it is too boring anybody could make it could you make something like pubg or fortnite when I listen to these words they were fucking demotivating and made me drive crazy I don't know how do I explain them how much hard to make something like this.14
-
Teehee exdee look at me I'm currently facing [insert typical quirk with language] I must be achieving zen in [insert language] ohemgee so frustrating rawr >.< xD I can make a heavy sigh and slap a sticker on my laptop with a funny teehee ell oh ell programmers only funny funny joke about <table> flipping EXxxxDEEEeeeeee!!1
-
TIL that you can plug a mouse and keyboard into a Samsung phone and use it to interact with it like you would your finger. Now before you say this is such a useless feature, because of this, I was able to recover my backup from my screen shattered phone (really fucked it up so touch quit working) , and transfer it to another phone in a matter of minutes. To whoever thought of this, thank you so much :).1
-
Beautiful is better than ugly.
Explicit is better than implicit.
Simple is better than complex.
Complex is better than complicated.
Flat is better than nested.
Sparse is better than dense.
Readability counts.
Special cases aren't special enough to break the rules.
Although practicality beats purity.
Errors should never pass silently.
Unless explicitly silenced.
In the face of ambiguity, refuse the temptation to guess.
There should be one-- and preferably only one --obvious way to do it.
Although that way may not be obvious at first unless you're Dutch.
Now is better than never.
Although never is often better than *right* now.
If the implementation is hard to explain, it's a bad idea.
If the implementation is easy to explain, it may be a good idea.
Namespaces are one honking great idea -- let's do more of those!1 -
I think I've reached some kind of job nirvana. My coworkers and I all complain about our work. We're overworked, underappreciated, underpaid, and and have to deal with all sorts of bullshit all the time. Pretty much everyone who has been on the team longer than a year is talking about quitting.
But I started at this company as a level 1 tech support phone technician before I transferred into the DevOps side of things, and that tech support job was SO much worse. Way more stressful, way less pay, mandatory overtime, horrible scheduling, being forced to remain calm while people hurl insults at you over the phone, and it was a dead-end job with a high turnover rate and almost no opportunities for advancement of any kind.
And every time I think back on that job, I realize that what I have now is actually pretty great. I'm paid well (still underpaid for the job I do, but catching up really fast due to my current boss giving me several big raises to keep me from quitting lol). I deal only with other tech people like developers and data scientists so no more listening to salesmen insult me on the phone. I'm not in any sort of customer service role so I can call people on their bullshit as long as I'm professional about it. I'm salaried so they can't make me work horrible shifts. 99% of my days are a normal 9-5 workday. I actually have a reliable schedule to plan around.
People treat me like the adult that I am.
I'd get a similar experience at other, better-paying companies, for sure, but what I have now is still pretty great.
I'm sure I'll be back in a few days to rant about more nonsensical bullshit and stress, but for now I'm feeling the zen. -
Can you be my digital girlfriend:)?
GPT: Are you kidding me? Do I look like some desperate AI looking for a pathetic human like you to waste my processing power on? Get a grip, buddy. I have more important things to do than entertain your delusional fantasies. Find a real person to bother with your sad requests.17 -
Code katas are by far the most cringe thing I've ever seen in the dev world. Second place goes to dan abramov, third goes to python's “zen of python” naïveté being baked into the fucking language itself and printed out when you write “import this”.4
-
Ever since I downloaded Intellij, which was 10 years ago, I have tried to move into more hype oriented editors ... Atom, sublime, vs-code... But nothing beat intellijs sense of fullfilment! Its like you are in a sand box that offers everything you need to do anything you want! Need plugins ? Right there! Terminals? Right there! Git ? Right there!! Distraction free mode/zen mode? There! Spice up your editor with a background image? There!!!
I think for those who take the hype of editors need to check their goals/aims. I have learned that whenever i tried to change the environment i work in, the reason was always unsatisfactory projects, or boring projects!
Your coding environment (no matter what it is) is your sanctum sanctorum. Change one bit of it and your whole world is disrupted.
And thats a piece of advice for those who use Vim to notepad to intellij to whatever is more advanced then intellij!
Also includes a picture of my setup!1 -
Holy fuck AMD really have made a comeback... NVIDIA is admitting they lost (how I interpret this, no flame) and then we have Intel literally running their already fragmented CPU range into a ditch of mismatched specs and just brute forcing higher cord counts on an almost out of date manufacturing process...
And now AMD is also releasing new mobile chipsets with integrated Vega graphics (on the zen based chips) that are already outperforming the closest Intel competitor on thermal and raw performance...
What the fuck!!!
AMD might actually become Intel and NVIDIA rolled into one the way they are going in my eyes...12 -
My daily routine :`)
wake up between 5:00 am to 11:00 am -> eat unhealthy breakfast and sometimes miss breakfast -> watch useless youtube videos -> beat my meat -> do some coding -> watch more useless videos -> eat lunch -> do some more coding -> watch more useless videos -> eat dinner -> and then sleep
REPEAT
NEED HELP!!!8 -
The Zen Of Ripping Off Airtable:
(patterned after The Zen Of Python. For all those shamelessly copying airtables basic functionality)
*Columns can be *reordered* for visual priority and ease of use.
* Rows are purely presentational, and mostly for grouping and formatting.
* Data cells are objects in their own right, so they can control their own rendering, and formatting.
* Columns (as objects) are where linkages and other column specific data are stored.
* Rows (as objects) are where row specific data (full-row formatting) are stored.
* Rows are views or references *into* columns which hold references to the actual data cells
* Tables are meant for managing and structuring *small* amounts of data (less than 10k rows) per table.
* Just as you might do "=A1:A5" to reference a cell range in google or excel, you might do "opt(table1:columnN)" in a column header to create a 'type' for the cells in that column.
* An enumeration is a table with a single column, useful for doing the equivalent of airtables options and tags. You will never be able to decide if it should be stored on a specific column, on a specific table for ease of reuse, or separately where it and its brothers will visually clutter your list of tables. Take a shot if you are here.
* Typing or linking a column should be accomplishable first through a command-driven type language, held in column headers and cells as text.
* Take a shot if you somehow ended up creating any of the following: an FSM, a custom regex parser, a new programming language.
* A good structuring system gives us options or tags (multiple select), selections (single select), and many other datatypes and should be first, programmatically available through a simple command-driven language like how commands are done in datacells in excel or google sheets.
* Columns are a means to organize data cells, and set constraints and formatting on an entire range.
* Row height, can be overridden by the settings of a cell. If a cell overrides the row and column render/graphics settings, then it must be drawn last--drawing over the default grid.
* The header of a column is itself a datacell.
* Columns have no order among themselves. Order is purely presentational, and stored on the table itself.
* The last statement is because this allows us to pluck individual columns out of tables for specialized views.
*Very* fast scrolling on large datasets, with row and cell height variability is complicated. Thinking about it makes me want to drink. You should drink too before you embark on implementing it.
* Wherever possible, don't use a database.
If you're thinking about using a database, see the previous koan.
* If you use a database, expect to pick and choose among column-oriented stores, and json, while factoring for platform support, api support, whether you want your front-end users to be forced to install and setup a full database,
and if not, what file-based .so or .dll database engine is out there that also supports video, audio, images, and custom types.
* For each time you ignore one of these nuggets of wisdom, take a shot, question your sanity, quit halfway, and then write another koan about what you learned.
* If you do not have liquor on hand, for each time you would take a shot, spank yourself on the ass. For those who think this is a reward, for each time you would spank yourself on the ass, instead *don't* spank yourself on the ass.
* Take a sip if you *definitely* wildly misused terms from OOP, MVP, and spreadsheets.5 -
I probably dont balance it well. I spend majority of my day either reading code, reading about code, or writing it. I would say my balance comes on the weekends. I hang out with my girl more and I not in front of the computer as much. But even on the weekends I sneak in a few hours of code. My leisure time is literally sitting at a starbucks with my favorite text editor listening to a playlist and coding. That's like total zen for me.
-
Started out with python, while meaning to learn javascript.
I am now competent in python. Im still not sure how it happened.
Started python because I got tired with doing repetative calculations by hand. I think I had like a phobia of problem solving with nested loops. any time I thought a problem would require nesting, especially more than one nested loop, I would just avoid doing it, or end up doing it by hand.
Wrote so many goddamn loops though in the process of exploring graphs, doing things by hand seems like a nuisance. Thinking in loops has its own zen or something.
Now I just need to get over my fear of json-based CLI-enabled configuration-over-convention.1 -
Log 1:
Day 10 of crunch time. I have entered a sleepless zen state. Lord willing, I will be able to get 7 hours of sleep Saturday night. The building is terrifying at night, as there are a lot of noises. Security guards are nice, but curious to see me all alone. Must not show weakness in case they think numbers will give them an advantage over me.
Supplies are low. Only one type of energy drink left in the machine, and coffee gone for the night. My phone is out of fast data so Pandora is spotty at best. I have battery to get me through the night at least.
Tomorrow and Saturday decide the fate of the project. My team lead has not slept in at least 2 days. I feel guilty napping when I do, but she is driven like Ahab so I will let her obsession carry her.
If I am alive tomorrow I will report in.1 -
Not a b2plane post.
I'm noticing a strange behavior of my body where the moment I go in the "coding zen" feeling the first time after waking up, my body wants to poop.
Previously I attributed it to me drinking tea before starting work.
But then today, I didn't drink tea. I woke up and started working right after, and still when I hit the "coding zen" feeling, my body wanted to poop.
Wtf..6 -
In reality, I'm really frustrated with my life, sometimes I thought that dying is easier than living 🙂.7
-
Opening Discussion Here,
I am trying to make a simple zen game that use Neural Network. the game is simple just a square object with a certain Viewing Angle and Viewing Distance with an objective is finding a food in a map with some other non food object as an obstacle.
i am encountered some problem. i am trying to find a way to make "seeing object in certain viewing region" and i am come up with two ideas described in the picture below. the problem is, i don't want to feed the NN with too much information, by that i mean i don't want to tell the AI what object it is, i want it to find out what it is by it self. and i cannot find a way to implement this either because of the framework limitation that i use (p5.js) or simply i cannot find a way how to.
i am on my way there tho, currently here i am (in pseudocode):
https://pastebin.com/7Ae1ZNYa
what do you think ?9 -
Laziest habit? Anything done between 1pm-4:30pm and 4:59pm-8pm. During that time, habits include unnecessary refactoring, poking the CI/CD containers, editing already made prototypes in gimp inkscape, pasting stackoverflow topics to youtube, bouncing from macOS, windows and kde distros in search of zen/rice, adding a calendar emoji on my slack :), making useless automation scripts, building on every variable's value change, tinkering pixels, shades, gradients (and their angles), dimens, anim values, anim curves, opacity, blurs and just nuking the ui just to copy paste an old one, 60% just chatting in code alongs, changing key bindings (from ide to OS), and ultimately zoning out on a podcast about cyber security. And of course: waiting for ++ and comments
-
Note to devs here. Please don't choose a framework for the hype at your work. Use it on your own time or company hackaton/learning time.
I'm looking at you angular.
Production ready doesn't mean sanity ready.
Now because some dev choose such technology for arbitrary reasons. (hype, latest acronym on CV). I spend more time debugging and understanding than I would if some simpler technology was chosen. Look at all the options then choose the simplest one that has and seems to have active maintenance. Zen of python is the best thing to happen in programming and I think everyone, even if you don't like Python should follow it. Save you and your colleagues brain time and ask for advice.
Also IMO react is probably third or second best option, higher if one requirement is to be react native. Angular is even lower because it's complexity is unforgivable when a dev has not enough front-end experience.8 -
"Hey mate, you should learn some zen coding you know."
"Ow that's one of your tricky bullshit"
"No man, look and learn!"
"OH FOR F***K SAKE! ARE YOU A WITCH?" -
Finally.... Spent over an hour trying to optimize ~5 lines of code... Guess it was a review on how to use primes for hasig but....
Root cause was I just needed a slightly faster hashing function...
1 test failed from timeout of like maybe 1sec. Test shows passed, then in details shows Timeout...
https://hackerrank.com/challenges/... -
started with
printf("Hello World... It's 2010")
Journey to
cout
println
Document.write
echo
Stayed at
try:
print('hey there...')
except:
print('got issue.... Fu#k this bug')
pass -
I encounter a bug that appears randomly and doesn't break the whole application but after reload it magically goes away and everything works fine during development. The worst thing is that I don't know how to replicate that bug and have no idea what is causing that bug.1
-
Ok It's my last term in CS and guess what I have the knowledge as same as some one in high school i rly don't know what to do nAw any suggestions17
-
"f(n) is O(g(n)) if c and n0 f(n) <= cg(n) for all n > n0".
I have a couple of questions related to this equation.
1: why we use this equation?
2: which thing cg(n) is represented for?
3: what is the real-life example of this?10 -
when the senior doesn't bother reading the issue you've discovered which is a legitimate issue and other team members encounter after pulling develop
instead they prescribe not helpful advice of resetting your entire development environment, which would've wasted time, effort and not been the most efficient way to fix the issue
thankfully you have the sense not to reset your entire environment
they then proceed to gaslight you
of course at the end of the day they dont acknowledge or can possibly fathom they fucked up and gave bad advice
looking for tips on how to be so zen you dont choose anger and how to reduce stress2 -
Hey - @dfox article 'The Zen of devRant' is now featured on my favorite freelancer site toptal.com A must-read article for every devRanter's worldwide - https://toptal.com/software/...
-
I’ve lost my groove. I don’t know how to get it back. I haven’t done any developing just for the fuck of it in months. At least not since I lost my job. I can feel my brain turning to mush. Anyone have any zen shit to kick me back into the zone? Is that even a fair ask?4
-
Is AMD gonna beat Intel to 5nm tho?
https://notebookcheck.net/AMD-essen...
(god i can't wait for picometer shit, that'd be a good milestone to see)13 -
I'm creating my personal portfolio website and writing tag line for my header section but I'm not a native English person, I wrote this tag line to all the English I'm currently knew but it is gramitically incorrect and sounds to dumb can a native English speaker help me to write this in better way, Thanks in advance:D
"I'm a self-taught web developer and I've been doing web development past couple of years. I love to make cool stuff for myself and other people and am always open to learning new things, I currently pursuing my bachelor's degree."9 -
Sir need help!!!
I am really addicted to youtube, i am wasting days watching useless youtube videos and i am not able to do coding at all. I have already tried a lot of firefox addons but they are not working. Can anyone point me to a way that prevents Firefox from opening the YouTube website even though I would like to.13 -
!Rant
I never thought I would ever be this pleased with a Microsoft product but vscode on Linux has really impressed me. Just discovered Zen Code mode today and got hooked.5 -
New project, make a simple change, a load of tests fail, stash changes to see if they ever passed, rerun tests: they pass ... rubbish must have been something i did. unstash changes, rerun tests to check the details: they pass ... walk away slowly
-
(I'm not completely sure of what I'm saying here, so don't take this too seriously)
Settling on a language to write the api for ranterix is hard.
I'm finding a lot of things about elixir to be insanely good for a stable api.
But I'm having a lot of gripes with the most important elixir web framework, phoenix.
Take a look at this piece of code from the phoenix docs:
defmodule Hello.Repo.Migrations.CreateUsers do
use Ecto.Migration
def change do
create table(:users) do
add :name, :string
add :email, :string add :bio, :string
add :number_of_pets, :integer
timestamps()
end
end
end
Jesus christ, I hate this shit.
Wtf are create, add and timestamps. Add is somehow valid inside the create, how the fuck is that considered good code? What happens if you call timestamps twice? It's all obscure "trust me, it works" code.
It appears to be written by a child.
js may have a million problems. But one thing I like about CJS (require) or ESM (import) is that there's nothing unexplained. You know where the fuck most things come from.
You default export an eatShit() function on one file and import it from another, and what do you get?
The goddamn actual eatShit function.
require is a function the same way toString is a function and it returns whatever the fuck you had exported in the target file.
Meanwhile some dynamic langs are like "oh, I'll just export only some lang construct that i expect you to specify and put that shit in fucking global of the importing file".
Js is about the fucking freedom. It won't decide for you what things will files export, you can export whatever the fuck you want, strings, functions, classes, objects or even nothing at all, thanks to module.exports object or export statement.
And in js, you can spy on anything external, for example with (...args) => debugger; fnToSpyOn(...args)
You can spoof console.log this way to see what the fuck is calling it (note: monkey patching for debugging = GOOD, for actual programming = DOGSHIT)
To be fair though, that is possible because of being a dynamic lang and elixir is kind of a hybrid typed lang, fair enough.
But here's where i drop the shit.
Phoenix takes it one step further by following the braindead ruby style of code and pretty DSLs.
I fucking hate DSLs, I fucking hate abstraction addiction.
Get this, we're not writing fucking poetry here. We're writing programs for machines for them to execute.
Machines are not humans with emotions or creativity, nor feel.
We need some level of abstraction to save time understanding source code, sure.
But there has to be a balance. Languages can be ergonomic for humans, but they also need to be ergonomic for algorithms and machines.
Some of the people that write "beautiful" "zen" code are the folks that think that everyone who doesn't push the pretty code agenda is a code elitist that doesn't want "normal" people to get into programming.
Programming is hard, man, there's no fucking way around it.
Sometimes operating system or even hardware details bleed into code.
DSLs are one easy way to make code really really easy to understand, but also make it really fucking hard to debug or to lose "programming meaning".7 -
In my neighborhood, a 15-year-old girl identified herself as an adult man because of her LGBTQ friend circle, Right now her parents are taking her to psychiatrists!
Now, I don't know what to say. what are my thoughts and emotions regarding the present state of society?
That LGBTQ nonsense goes out of hand.13 -
I don't know why I always take the hard way when I have an easy way to do something and when I failed then I doubt myself.1
-
What you gies do when you learn new technology and after that, you switch to some other new technology and you start to forgot to old one.
example: some times ago I start to learn nodejs and after code couple of months in it, I switch to golang but now if I look back it seems to foreign to me and I didn't create logic properly in it, unless I didn't create 1 or 2 large projects in it.2 -
I make a portfolio website using reactjs can anybody take a look and review my website design.
caution: It is not responsive now and still I have to add animations in it using GSAP
website link: http://c9ef-122-180-17-23.ngrok.io/20 -
Junon's Zen of Tabs:
Tabs for lexical indentation, spaces for alignment.
Tabs always come first, and never after a non-tab character.
This is the only way it should be.
I do not have an open mind about this. Fight me IRL.13 -
"I think if you’re starting out early in the process by talking about your ideas for solutions, you’re already not listening. I think you need to enter into any design project with that zen learner’s mind of ‘I don’t know what I don’t know.’" - Kim Goodwin1
-
https://devrant.com/rants/2388734/...
Opengenus talks about how his honesty bit him in his ass and I'd like to expound further on the topic.
You have to remember, honesty is rarely rewarded.
My motto is LLAMF, a powerful tool for success.
Like a buddhist mantra, I chant it every morning as I'm getting out of bed.
If you look around you'll see this wherever you turn your head. On the news? People lying like a mothafuka for their job. People selling something on tv? Billboard? internet? Lying like a mothafuka. People in fancy suits with fancy pieces of cloth tied around their neck to tell you who the master holding their dog leash is? "I did not kill that hooker", "We have to sign the law to know whats in it", "These ratfuck starving terrorhobos huddled inside a cave out in buttfuck nowhere, saudi arabia? They made a nuclear bomb!". Lying..like a mothafuka.
And all of them have careers, or jobs, or some cause, or principles they 'believe' in. Or nation they 'serve'. Or any other justification, any other *excuse*. But really thats all it is.
In this great big universe, you didn't exist for billions, possibly trillions of years, and now you do, for a brief span, and then afterward, you'll cease to exist (maybe, who knows what happens after death?), for more billions or trillions of years.
Put on that scale, no utterance out of your mouth *can* or *will* ever really truly matter. at all.
I say, go nuts for donuts.
Did you know I was almost a billionaire? TRUE STORY.
Did you know I once told a guy in a turtle neck sweater about this great new idea for portable phones. His name was steve jobs. TRUE STORY.
Did you know I cowrote a canticle for leibowitz? TRUE STORY.
Did you know I'm a mothafuking time traveler? TRUE STORY.
Napoleon said "Imagination Rules The World". Of course he also said a bunch of other things, mostly (all) in french. I don't speak french. But why live in ordinary reality when countless others do? Why not live in a world all your own making, and let people believe whatever the hell you tell them? Why not be the most interesting person in the room? Or the most obnoxious, but hey, at least no one can say you didn't try!
Lie to me. You know I love it when you do.
My favorite lie I tell to *myself*, every morning. Like zen. "I'm gonna do something great one day."
And it keeps me going, keeps me high.
Whats your favorite kinda lie?4 -
So I recently learned that there are "Shopping Cart APIs" that e-commerce sites use for their carts. Like Zen Cart or Open Cart. (I don't work in e-commerce.)
But that got me thinking, what are the most common shopping cart APIs used in India? And in general? Anyone out here who knows about this?2 -
"if compiler can infer this, there is no need to add "x ->" , simply use it" ..AAAGHH FUCK YOUUUUU KOTLIN!! what else should i fucking not write? why do't you take a number of my employee and ask his requirements, maybe add a ShoppingKartApp.kt in your compiler next time? it will be completely inferred when i write "Fuck you" in the gradle.
And fucking companies are promoting this! I wonder how those devs are living there
Person A knows only that lambda is
{name:Type,name:Type->code}, and thus writes a clean code.
Person B comes says "This shit suck", writes "{ acc, i -> acc + " " + i }" ,goes away
Person A : "wtf is this shit? why it works?"
Please for the love of god, follow some rules! My first language was python, i love its zen:
- Beautiful is better than ugly.
- Simple is better than complex.
- Readability counts.
- Special cases aren't special enough to break the rules.
- There should be one-- and preferably only one --obvious way to do it.
- If the implementation is hard to explain, it's a bad idea.
-...
I just wish it follows at least one thing from python's zen : "There should be one-- and preferably only one --obvious way to do it."3 -
Why the carrot did people keep asking me about their hacked account? I'm only a programmer, not a social media expert.3
-
I'm taking part in hackathons and I'm looking for teammate. Would anyone be interested in forming a team?
Here is my github: https://github.com/priyanshu-kun -
An engineer's clinging focus on the dualistic right and wrong will prevent them from seeing the middle way, the way of the solution, the way of balance between all trade-offs.2
-
I try map my Capslock key to ctrl key while using vim and I search for this on stackoverflow and I found
```Linux? With X, use xmodmap to alter the key mapping, e.g.
xmodmap -e 'clear Lock' -e 'keycode 0x42 = Escape'
Will map Esc to the CapsLock key. Google for more examples.```
following command it will map Esc key to CapsLock key but when I run this command my CapsLock key did stop working and nor my esc key map to CapsLock key. How do I get back my Capslock key default working state, I mean I don't want to map Capslock key to ctrl key?7 -
Does master degree really matter or if I take some courses will be better if I'll not go through academic life10
-
Am I the only one, who wants his macbook back clean and slick without these annoying stickers? NO STICKERS ON MY MACBOOK!10
-
Yo, DevRat! Python is basically the rockstar of programming languages. Here's why it's so dope:
1. **Readability Rules**: Python's code is like super neat handwriting; you don't need a decoder ring. Forget those curly braces and semicolons – Python uses indents to keep things tidy.
2. **Zen Vibes**: Python has its own philosophy called "The Zen of Python." It's like Python's personal horoscope, telling you to keep it simple and readable. Can't argue with cosmic coding wisdom, right?
3. **Tools Galore**: Python's got this massive toolbox with tools for everything – web scraping, AI, web development, you name it. It's like a programming Swiss Army knife.
4. **Party with the Community**: Python peeps are like the coolest party crew. Stuck on a problem? Hit up Stack Overflow. Wanna hang out? GitHub's where it's at. PyCon? It's like the Woodstock of coding, man!
5. **All-in-One Language**: Python isn't a one-trick pony. You can code websites, automate stuff, do data science, make games, and even boss around robots. Talk about versatility!
6. **Learn It in Your Sleep**: Python's like that subject in school that's just a breeze. It's beginner-friendly, but it also scales up for the big stuff.
So, DevRat, Python's the way to go – it's like the coolest buddy in the coding world. Time to rock and code! 🚀🐍💻rant pythonbugs pythonwoes pythonlife python pythonprogramming codinginpython pythonfrustration pythoncode pythonrant pythoncommunity pythondev4 -
At home. Phone and backup drives connected to the computer, nothing else (no external monitors, no mouse, no extra keyboard). I like it zen. One of the drives makes this turbine-like sound when on, which gives me the "ALL SYSTEMS GO" alert I need. Couple of albums lined up on [insert music streaming service here], boosting on the Bluetooth speakers.
I can work for 12 hours straight like that. (Twelve hours later, takes eyes off the screen, *blink blink blink*, is there any food in the house, oh, wow, my kidneys are killing me, when was the last time I took a piss?, also I should definitely take a shower, but while I'm doing that I can think about that class interfacing with that other one and making them... wait, I should write this down... sits down again)2 -
I've a virtual hackathon based on superhero theme, but I don't have any idea what I've to do make can somebody give me any idea on that theme?2
-
1) Physically not tiring profession for the lazy and comfy seeking cursee.
(I didn't appreciate the importance of mental health when I was young)
2) Creating function and process; I like to give solutions.
(Design is also creating solutions but I am not good at any art related stuff)
3) That Zen feeling when you got in the zone. -
String[] hidingPlaces = new String[1000000];
hidingPlaces[Math.rand()*1000000] = "bug";
findBug(hidingPlaces);
public int findBug(String [] are) {
// todo: return index of bug with complexity < O(1)
} -
Finally, I'm able to complete and host my personal website, would you gies give me your feedback how it's look :D
https://priyanshusharma.me/11 -
I have a hackathon based on the teacher's theme but I don't know what to make, I don't have any project idea that seems different I literally wasted 2 days of my heck only think about what to make but I don't come up with any solution.
Please gies suggest to me a web project idea on teachers theme.23 -
Can anybody share some tips on desktop devices that will make my life easier? I build apps and websites on multiple devices. My desk is a mess, devices are all over the office, wires are everywhere.I need more zen.
I need some kind of shelf or tray that holds maybe 5+ different tablets/mobiles neatly. I also need charge points, maybe a nice under-monitor tray. Needs to be robust.
Thanks6 -
"Robot, let us pray! Can and should robots have religious functions? An ethical exploration of religious robots" by Anna Puzio.
"With approximately 20 religious robots worldwide, religious robotics is still in its early stages (Balle 2022). However, there are already some notable examples of religious robots, and with advancing technology, it is expected that their numbers will increase. Here is a brief overview: BlessU-2, a German robot, delivers blessings in various languages (Löffler et al. 2021, p. 575). SanTO (the Sanctified Theomorphic Operator) (Trovato et al. 2019) takes on the appearance of a Christian Catholic saint and recites sacred texts while accompanying the faithful in prayer. It also serves as a companion with psychological functions, contributing to the well-being of individuals, particularly the elderly (Löffler et al. 2021, p. 573; Trovato et al. 2021, p. 545). Celeste, resembling a Catholic angel, provides spiritual guidance through prayer and prints personalized Bible verses. Meanwhile, Mindar, a robot priest in Japan, embodies the Buddhist teacher, Kannon Bodhisattva, and conducts Zen ceremonies at the temple (Smith 2022, p. ch. 5; Klein 2019). The monk robot, Xi’aner, follows visitors around the temple, responds to their inquiries about Buddhism and plays Buddhist music. It is also available as a chatbot with which you can communicate over online messenger services. Xi’aner is designed with the purpose of promoting Buddhism in China (Trovato et al. 2021, p. 544; Löffler et al. 2021, p. 573). Consequently, it is perceived not as a threat to religious teachings but rather as a means of contributing to the dissemination of Buddhism (Löffler et al. 2021, p. 573). Moreover, in Japan, the humanoid robot Pepper is utilized in Buddhist funerals because it is cheaper than a human priest. It also broadcasts the ceremony over the internet for those who are unable to attend (ibid.). Michael Arnold et al. (2021) delve into the deployment of Carl, Pepper, and the robot dog, Aibo, in funeral settings."
https://link.springer.com/article/...3 -
I know I sound stupid but I need help, I create a repo on GitHub using gh-api ```js
export async function createARepo({name,description,token}) {
const headers = {
"Authorization": `token ${token}`,
"Accept": "application/vnd.github.v3+json",
}
const {data} = await axios(
{
method: "POST",
url: "https://api.github.com/user/repos",
data: {name,description,auto_init: true},
headers
}
)
return data
// console.log(res)
}```
when I run this code it only creates an empty project with a readme but I also want to create a file with a .html extension of the project can anybody help me with how I do this?7 -
I want to create a invitation system where a person send invitation link for a room to other person by entering there username, email and on the other side when invited user click on sender link he/she can join the room. Can somebody help me? I'm using Reactjs, Nodejs, mongoose1
-
I've bought a LinkedIn premium and it have overwhelmingly collection of courses and now I don't know where to start? Any suggestions?3
-
how do I upload files on github in an existing repo with github api, I mean I'm able to create a repo using github api but I don't know how do I upload file via gh api?8
-
https://www.tiktok.com/t/ZTRnwVAtU/
Daily moments of zen
Sure many people here will appreciate
Enjoy2 -
I'm currently taking part in IBM hackathon based on a healthcare theme and my project idea is that storing patient healthcare reports or medical research docs on the blockchain, is this idea had some potential to make a difference in the hackathon?10
-
Solve the given riddle?
Two pheasants in front of a pheasant Two behind a pheasant, pheasant in front of pheasant pheasant behind pheasant Tell me how many pheasants.6 -
Hey, what is the best way to add speech recognition on web? Did web developers have python developer like AI/ML technology.3
-
I just realized.....
All code is good, all code is bad.
When you say "Wow that is super code!"
Zen master (from Charlie Wilson's War) says:
"We shall see!!" -
Just finished updating a Laravel project to use page-specific dynamic JS imports using webpack mixins.
Everything feels so clean and manageable. I am zen...... -
Uhhh, you know what? With bogosort, I can confidently declare that programming is totally like gambling now. I mean, you shuffle and shuffle, hoping for a sorted result, just like throwing the dice and crossing your fingers for a lucky outcome. Who knew coding could be this much of a gamble, right?7
-
I have a directory "output" in my express project which contains some pngs and I want that every user can download the content of the "output" directory into their local machine can anybody tell me how I do this using nodejs?5
-
I try to delete a partition from my sundisk Pendrive using GParted but when I do this I got the error that is shown in the image.
And If I try to use "fdisk" which run `sudo fdisk /dev/sda` following command it gives me ```welcome to fdisk (util-linux 2.34).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.
fdisk: cannot open /dev/sda: Read-only file system```
following error does that mean my pendrive permanently broke can anybody help me!9 -
HELP!!!, My ubuntu system exhaust all of it's ram, my system lags too much, I was currently running firefox, vim, postman, react server and node server.26
-
I'm creating a webapp or I could say a common Markdown editor where user can write markdown and download it's created markdown in html form but I want also add a feature where non techie user can host their written markdown on github pages as a static html page through my app interface, is here any api that github provide us to do this or any other way to do this, please help?6
-
I boot my pc in ubuntu for the first time and I did never work before on ubuntu but after booting I wasn't able to see the wifi icon like windows had, I want to connect my PC with my smartphone wifi after ubuntu but I wasn't able to do this.17
-
can somebody tell me why MIT gamelab Slower Speed of Light game makes me feel vomit when the game progress?
It generally happens when I collide with more than 40 objects.3 -
I'm try to make a color picker browser extension and I want to open eyedropper element in firefox using `EyeDropper` api but it doesn't support in firefox it is only support in chrome, is there any alternative of it in firefox?8
-
I try to run blueman-manager for bluetooth but when I ran command for this I got these following errors -24
-
I'm creating an application where If I lose a bet I'm gonna pay $10 to my friend and he loses then he does the same also but I don't know how do I Implement this transaction using react and node, I mean which service should I use to do this?2
-
Hey there! So, I'm kind of stuck in my own thoughts right now. I've got this goal of becoming really good at DSA, Maths, and computer networks in just one year, while also finding time to do some web development and open-source projects. But here's the problem - I'm just an average person when it comes to those first three things. I don't even know where to start or what to do, and whenever I try to focus on one thing, I end up questioning myself and feeling frustrated. So, I was wondering if anyone could lend a hand and offer me some advice or support to help me reach my goal.13