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 - "for sort"
-
TOP 10 PROGRAMMING BEST PRACTICES
#1 Start numbering from 0.
#10 Sort elements in lexicographic order for readability.
#2 Use consistent indentation.
#3 use Consistent Casing.
#4.000000000000001 Use floating-point arithmetic only where necessary.
#5 Not avoiding double negations is not smart.
#6 Not recommended is Yoda style.
#7 See rule #7.
#8 Avoid deadlocks.
#9 ISO-8859 is passé - Use UTF-8 if you ▯ Unicode.
#A Prefer base 10 for human-readable messages.
#10 See rule #7.
#10 Don't repeat yourself.12 -
A friend of mine is heavily into java. Like seriously... programming teachers at our school ask him for help.
Everytime he gets drunk he starts saying the weirdest things like "DUDE what's your alpha value I can hardly see you".
He greets me with "What's up socket boy" and after throwing up he thinks about the best ways to sort the data. (his vomit)
Has anyone else had such experiences? I want to hear some funny stories! :D12 -
Dev: Hey, do we have a Google cloud machine running?
Me: No we have AWS remember?
Dev: Okay..
Me: Why do you want a gCloud?
Dev: I had this large stack of files and want to put them somewhere, off of my laptop. I just feel comfortable using Google than AWS.
Me: Umm.. there is Dropbox for that sort of stuff. Not high performance servers running our services.
Dev: ...
Dev: (After a moment) Yeah, why didn't I think of that? :/
Me: Seriously???
I think he forgot to have breakfast today.18 -
My friend had the bright idea of making a version of bubble sort that plays a quacking sound effect on every swap. I added in different variations of the same sound effect for various conditions.
We named it "Quacksort," and one of the professors asked us to present it to the intro class.
My career has reached its peak.3 -
dfox please put in a "support us" feature of some sort that lets us watch ads of our own free will. I hate using your resources while not working for it at all.42
-
Working from home in 2020:
Both kids haven't interrupted me in an unusually long time.... That likely means they're up to no good.
On the other hand I'm getting a lot of coding done (bunch of fixes done / misc new tasks done).
So now I sort of do a little mental math to guess if the damage they might be doing is less than the value of me getting shit done for work....21 -
Friend: Do you think you could make an app that does X?
Me: Yes but I'm not an app developer so haven't had much experience with app design so might take a while
Also friend: What sort of programmer are you? It's basic shit
My friends don't seem to understand that the programming loop for game development (Mostly background asset management) and app development is like trying to ask why a bull and a bull frog won't breed...Yes they both have bull in the name but they are 2 fucking different cunting things...8 -
I told my TL about my aspiration of pursuing a Masters degree.
TL: "You don't seem like the sort that is suitable for academy."
Me: "You don't seem like the sort who's suitable for management but here we are..."24 -
Reviewing coworker's code:
Me: I see you're doing a convoluted sort for every element twice to get your two lists in sync... 😐
CoWorker: Yeah. *straight face, no regrets* That's the only way to do this.
Me:... Uh... No? You can just manage one list with a simple struct and then use the the standard sort.
Coworker: Yeah sure I know. But it'll take time. We don't have time.
Me: *aghast* This is embarrassingly bad code!
Coworker: Don't worry, later on I'll use a hashmap for it. But this needs to be pushed now.
Me: *to myself, no you don't need a hashmap*
Okay, you do you but I can't back you on this. It isn't going to take a lot of time to correct it.
Next day.
Coworker: Hey can you review my code again?
Me: You've made the changes already? *in a bored tone, knowing that they wouldn't have changed shit*
Coworker: No this is a different file. Our manager agrees that we can worry about performance later.
Me: Sure. *😀🔨🔨*
Few weeks pass by:
QA: The operation takes absurdly long time to complete even with the smallest data. Ten minutes for X is unacceptable.
Me: Who would've known? ☺️21 -
Don't develop depression, develop a personality instead, be more outgoing and outspoken, work out, dress better and make your life shit that goes beyond coding.
Tired of people in tech being this way. Everyone acts as if monkeying away on the keyboard makes them some sort of autistic genius that is too good for everyone else.
Some of you have the social skillset of a fucking potato.
You code dude. Most of you develop websites...chill the fuck out.52 -
This is simply beautiful. Visualized sorting algorithms using colors.
Just discovered it on twitter (@galka_max)
If you have capped mobile data, search for WiFi first. Could be pretty much data...
Watch them here:
https://m.imgur.com/gallery/voutF
The videos and gifs pretty much disable any compression technique.
Attached is their merge sort example heavily compressed from 16 to 5 megabytes to fit devRant's limits...3 -
So, been at a 4* hotel for the first time. And in their relax lounge, they had an iMac.
There was nothing wrong with it... Until I rebooted it.
Edit: It appears they did it for a proprietary hotel software of some sort that only runs on Windows... But... It didn't really work either, so 10/10.4 -
Coding has changed my life in a way where I no longer look for simple answers. I look at things deeper and more logically.
That this picture for example, I was at a pub quiz and got this handout, #2 I was thinking was hex, or the ASCII table or some sort of shifted by one arrangement. Nope! They just put numbers between the fucking letters!?!?!??5 -
So I walk to work and pass this sign for a place called helloworld experts in everywhere.
And eventually I was curious enough to go to their website and to my surprise they're a travel company :(
I was expecting some sort of software development company with focus on cloud software due to their slogan, pretty disappointed.3 -
!dev
Being an introvert 17-year-old is tough at times :/
Have yet to find someone who shares my interests and has the will to get to truly know me.
Most people just barely scratch the surface and judge for what they see, but after all, I cannot expect any sort of deep relationship to take place with any of my peers.16 -
Do you agree to this rule given by my company ?
"Employees are not allowed to create any sort of library for any language after or during working hours, whether for personal or company projects. As they might somehow expose companies code to the open-source world."
Personally, I created quite much (not that much) of library , I created for fun, today I was told to delete ALL , so those who use my package , Im sorry :(74 -
For the first time in weeks I have energy enough to work on rewriting the security/privacy blog again! Post sort order will be fixed :)
Font ideas, anyone? And other feature ideas are welcome as well ;)31 -
So making a website for my best friend who soon to be my girlfriend.. I sort of had this idea where I'm going to ask her out and the links are the letters that I wrote to her when we first met. Cheesy I know but give me your thoughts and opinion. #noobwork. About it. Or what should I add or take away.. kinda nervous.22
-
Okay so if you click on my profile and scroll down (all the way to the end) my first post on devRant was about me making a website for my best friend and ask her out that way. An update on that... we got married :3
And this was the second post about it https://devrant.com/rants/704942/...7 -
Why... why the fuck do people write unit tests and then comment out the god damn fucking assertion lines....
Like what the flying fuck? Cool, we can get some code coverage marks but for fuck sake actually let your tests do their fucking job!!!
Oh, the asserts fail?
Well fucking sort that shit out instead of commenting them out.
I don't get it, if you're going to write tests, fucking test something with them, or we'd be better of without them.7 -
My own programming language (still WIP). I got SO excited when I found recursion worked, I even got the simplest factorial recursive function wrong. And then again, once arrays worked, bubble sort it was. I shit you not, once I saw all the numbers printed in order, I had to stand up and walk or I would have jumped out of the chair in excitement.
In case someone is interested, I use LLVM for the backend.4 -
Hey guys! I made a sort of parody website as a project for my university and I would really love to get some critisism!
Here it is:
https://shuily.github.io/team-lime/...
Note that it's not perfect, has some dead links and is overall still under construction, but if you don't like the UI, User Experience or some other feature, please let me know!
I'm sorry if this isn't the place to pester for help, but I've literally got no one to ask (who knows his shit) for opinions...12 -
When you have to spend two days inventing math formulas for work because google won't tell you how to sort every possible combination of an array of arrays into a zero based number list, or how to get a combination from just it's index.12
-
This next one is dedicated to a couple of special people at my workplace:
- The person who uploaded internal-use-only code to a personal repository on GitHub
- The network team that has blocked any and all access to GitHub
- The obscured mass of management bureaucracy that makes it pretty much impossible for anyone at my level to make any sort of appeal
This one's for you:
*ahem*
WHY?!3 -
I am happy!
Participated in Hacktoberfest for the first time, and now, the t-shirt (which, btw, looks pretty nice imo) is on its way! Can't wait!
Thanks to the people who organize these sort of events ❤️😁2 -
PM: Can we have it so the usernames are case-sensitive?
Me: uhh, sure I guess.. But thats like really pointless and adds no real usefulness.. In fact makes the whole logging in thing a tad more complicated for no reason..
PM: Well this one other product we have uses "Admin" for the login versus yours that used "admin" so it needs to be implemented.
(note that mine accepted "Admin" anyways...) *implemented it*
PM: So there's a problem with the username sort, it sorts by capitals then lowercase.. eg:
alpha
beta
Alpha
Me: Yeah, you asked for case-sensitive usernames..
PM: Well can you fix it?
Me: I could create a second field within the user data that is the username in all lowercase and sort by that. But that negates like all of the whole case-sensitive usernames thing.. OR I could drop all this actually important work I'm doing and do a whole bunch of work on a custom sort for this useless fucking feature you wanted me to put in..
*it's been 2 weeks and still no reply...* -
I started to work in a new project for a house architect, basically a management system for his studio. Well, guess what? Twenty years ago he programmed some sort of software using BASIC, and of course that means he knows exactly how software works!
Worst kind of stakeholder, like going to the doctor and telling them how to diagnose, because you used a thermostat once.3 -
!rant
Apparently everyone else has some sort of inanimate object they use for debugging. Am I the only dev that just using all the other voices in my head for a souding board?13 -
!dev, sort of
Days like today make me not ready for Monday. Goddamnit nature, why you gotta be so pristine?15 -
do you have a GREAT eye for design?!
can you write a bubble sort algorithm in binary?!
do you know native, desktop, embedded, AND web programming languages?!
do you know you can go fuck yourselves?!
good luck unicorn searching 🤡 companies. there is no human that can do all of those on a level that you want. but, go ahead and set yourself up for failure. i'll remain firmly grounded on planet earth 🌎6 -
Found out a senior dev threw me under the bus for a mistake I made while coding and it affected my raise. Not only was I never initially informed of the mistake, I was never told what went wrong and why it needed fixing. We also don't implement code reviews or anything of the sort. Seems like a great avenue for improvement and growth, right? 😑5
-
Introduction to graphics
Lecturer says "this is a very practical course. In fact I think we should have a practical exam"
All students agree. He would sort out that matter.
Meanwhile he taught us how to making shapes in java, then a house, then a game...
And the exam was for us to make a building where a user can walk through the building using the arrow keys...
What fun we had. We got out marks...and everybody did well!!!!1 -
Finally (sort of )completed my website for the first time ever.
Yay me!
Sorry for the useless post, but some of you should be able to relate.20 -
"Hi, can we have a demo for <feature/subsystem X which doesn't exist in our system and which will take months to add> in three days? We sort of promised a new prospect that we have it and can show it."
Sales. Just. Sales.3 -
Screw the Chief Technology Clown role...
I'm now officially Chief Babysitting Clown...
Skills I can teach you include the following:
- How to read JIRA tickets
- How to write JIRA tickets
- How to check colleagues' calendars
- How to define requirements in English and not some sort of technologically challenged caveman language
- How NOT to do any programming (since I don't have time for that anymore)
And many, many more! Inquire within!4 -
MOTHERFUCKER!!
Woke up this morning with a plan to backup and export all my shit. Sort my files and get ready for a fresh start.
This morning my laptop died irreparably! Winning at life. 👌🏼1 -
University Final Viva for OOP with C++
(Yeah, that first line is a rant in itself for the likes of me and Mr. Torvalds)
Assistant Professor:
Tell me a few "functions" in C++ STL algorithm header
Me:
*starts off with the first one that came to my mind*
sort()
AP: Huh? a I'm asking the Algorithms in C++ STL
Me: Yes, this is one of them Ma'am.
She looked at me as if I told her that I'm dating her daughter. It became clear she doesn't know about it and she'll gladly deduct my marks for getting it wrong. So I explained how Sort() is a hybrid of quicksort, heap sort and insertion sort. (Read about it an hour ago while doing a competitive programming question)
AP: Tell me the ones we did in class.
I haven't attended those classes, so I just told her the ones I knew.
After a couple more infuriating questions, which themselves sounded right from a book published in the 90's, she gave me 10/15.
This is what's wrong with India's Education system, even the teachers know only the stuff mentioned in the course hand-outs. Forget brownie points, you get screwed over by the teachers for actually knowing stuff and using it.8 -
I've got a file on my desktop called key.txt, and it's just a single line in it that is clearly some sort of API key.
Absolutely no memory of what it is for.
💩9 -
I've never been a fan of "wireless" technologies.
Whether it's a keyboard, mouse, gamepad. Nope none of it. The latency, need to change batteries (if any), chances of putting the accessories in places other than your gaming desk thus creating clutter around your house.
And earphones, HOLY CRAP. You cannot convince me that any sort of Bluetooth earphones have better sound quality than my wired 3.5mm Sennheiser earphones.
I'd rather take wires and get quality content consumption over Bluetooth/Wireless for a little "convenience".13 -
Did you know that talking about your goals actually decreases your chances of reaching them? It's a form of social validation. Talking about them and receiving praise from your peers in a sort of mini-goal which could replace the actual goal so you are less motivated to actually go for the real goal. Best of luck anyway! May the odds be ever in your favor when facing procrastination😂1
-
I wish there were some sort of nerd club in my city were IT ppl gathered and build a datacenter just for fun13
-
TIL the term "Kangaroo Code" was also a popular sort-of synonym for "Spaghetti Code".
It more referred to languages that heavily used "goto"s (because it would be "code with a lot of jumps")10 -
What are your most used commands? Find out by running:
history | awk '{a[$2]++}END{for(i in a){print a[i] " " i}}' | sort -rn | head -110 -
For my job interview, they asked me to write simple Java code to check if the string is palindrome or not! Like sir, I've prepared for advanced quick sort and all algorithms and you ask me this!! 🥺14
-
Stand up on Zoom...
Day 1: No one knows who will speak their daily tasks first or last
Day 45: There is mutual order which appears out of the blue and everyone has their own sort of roll number for speaking in stand-up meeting😂3 -
Joined a game development Facebook group just for shits and giggles to see what sort of hell I can see on there...
Never have I seen so much broken English or the amount of people asking for help to build a shameless clone for Android just to get money... Really makes you think sometimes...3 -
I dislike the way Oracle deals with Java(for the most part) and believe it to be a really power hungry company full of assholes.
I do; however, know that business is business, i get it. I really do.
To bad they own one of my main languages but at the same time thank heavens for the OpenJDK
https://headcrashing.wordpress.com/...
This has got to be some sort of guerilla negotiation techniques level shit man.16 -
I didn't really qualify, but I applied for a dream position anyway. I didn't get to say much at the interview. She did all the talking in such a tempo that I sort of lost track of the conversation. Then she said something about an ambulance and I said: "What?"
"Yeah, the last guy had to go to the er, he was so stressed out at the job. Anyway, I think you'll be perfect. We'll call you."
She didn't though, so I called them a few weeks later, prepared for bad news.
"Yeah, sorry for not calling you back. Someone died, so we've been quite busy. Call NN to sort out your schedule."
I did turn out the be real good at the job, and I enjoyed it immensely. I have no idea how she figured that out though.5 -
Fucking youtube ads... Showing me the same retarded ad 100s of times a day will definitely make me buy the thing, real fucking geniuses...
I am still looking for a way to block them forever on android, but I have no idea how. I've been looking for a public key or some sort of certificate in the apk so I could at least do a man in the middle, but no luck so far..14 -
Joining devRant.
I had been trying to get into the professional Developer Community for a while, wanting to find actual programmers, not just "I know how to write bubble sort in 3 languages" coders.
I admit I joined the platform for stickers, but I have just absolutely loved it! I see actual problems faced by developers, I relate to them. I find that I have way too much to learn before calling myself a true developer!
3-4 months of devRant has helped me grow as a developer more than 2.5 years of college so far!
Can't thank @dfox and @trogus enough for the wonderful platform!9 -
I guess that counts? Some of the local burger kings once had an online game they advertised, where you could win free burgers if you are the first on the highscore (the other 2 places got some sort of coupons for cheaper meals), turned out there was a score submit bug you could abuse after finishing a game (me and a colleague noticed, while trying to find some sort of bug), when I reported it they didnt care (didn't get any response, maybe spam filtered?), so I got us some free burgers, scanned in the receipt and send it again, they paniced or just realized you can generate any amount of free burgers for the time of the game being online, took down the game for a day or two, sent me a short email thanking me, thats it.4
-
I need a folder for unsorted unfinished programs to sort them out of sorted unfinished programs. Also, I have an "old" folder inside of "old" folder. On both computers.3
-
Recreated minesweeper... Sort of
Some how Medium is still extremely hard.
Seems just using a random number generator for Mine placement doesn't make good games...16 -
So back on November 7th I received my Xbox one x project Scorpio edition, unfortunately the model I have suffers from some sort of defective thermal paste and after a good couple of hours of elite dangerous at 4k, it shuts itself down and I have to wait overnight for it to work again. Microsoft said if I send them it they'll give me a new one in about 2 weeks, my solution is to hold it outside my window for 5 minutes to cool it down. God bless the cold of the UK.12
-
!rant
Ok dev's, im proposing a small movement for windows 10 mobile, if you have used windows 10 mobile personally, you will know it is actually a fantastic operating system that is super snappy and easy to develop for (No i'm not a microsoft fan boy, far from actually).
The only downfall of the OS is the app support, so im proposing devs come together and create quality apps and games for win 10 mobile.
Hopefully this can sort of persuade others into a revolution of sorts (And hopefully change microsofts mind of abandoning it), I personally will support windows 10 mobile for every game I create, within reason.18 -
Doing a full rewrite from some DIY spaghetti framework: when it can't find a search query it returns "false" with the status code 200, the same php file responsible for querying an external api is put into all sorts of named folders, so e.g. a user that is in the results page X can continue searching on the same URL, instead of doing proper url rewrites or ajax calls to the one in the root directory, html is thrown into every other php line, a DIY sort function for a numbers array that fails to sort 0 before 1 and that all is just a 10 minute review, can't wait to see the rest.2
-
I hate people that always pretend to be super busy and occupied... But then the only argument they bring to the table for not working is
Yeah I have somany unread emails 👀📥
Then when I tell them I sort that shit out before the weekend, they complain they need to make time for that in their busy schedule of not reading emails, listening to spottify and chatting with colleagues 🤭
Yeah super busy boi6 -
So I've got my first sort of proper gig. I'm tasked with writing...
A goddamn minecraft plugin in java.
Well, it's actually rather fun strangely enough. My ideas of payment were not declined but rather accepted, the other devs are nice and everything is going well for now.
Also: Do expect a mental breakdown post next week or so5 -
Just uninstalled Bubble Witch Saga 3 from my Windows 10 *Pro* system.
Silently installed for me, even through I've never installed a Windows game in my life.
Changed the reg setting, so we'll see if that is an end to it.
I've never been a Windows hater, but they are really testing my patience with this shit. A *paid* business OS that downloads crappy games.
Are they intent on turning Windows into a Shovelware platform? This is the sort of thing which would cause me to leave the platform for good.15 -
Recently got back into Blender to get those 3D modeling Skillz. Lemme tell you what those keybindings do NOT fucking stick in memory over long periods of time.
I felt like someone had detached all of my fingers, shuffled their order, and instructed me to type an essay. Not to mention the new UI, which I love for sure, but is unfamiliar to me.
Anyways, I've always wanted to make a multiplayer VR hangout sort of game set in Disney world so that's my unobtainable goal and reason for doing this.
Yay.9 -
Was accused of plagiarism because I could write a bubble sort algorithm without a reference (and therefore without a source) in my SECOND year of courses.
Their low expectations bit them in the ass when the admin. made all undergrads take a basic test (for loop going through an array, average of values, etc) and lots of people in their third year failed.7 -
Serious question here...
I understand alot of devs have had some pretty rough times but things aren't going too flash for me.
I personally know I'm just having a tough patch when it comes to luck but everything is just building up and up to the point it's effecting my personal life and even programming isn't helping...
Normally I will just build something completely random and not related to any 'main' project I have but now everytime I fire up the IDE I just loose all motivation and care for programming...
Just want to know if anyone can sort of recommend anything to just help me get back to working on shit and be sort of myself again and not this mopey me...12 -
Only way to stay sane as a developer reading emails:
1.) Open email
2.) Scan quickly for your name on the body of the massage
3.) If your name isn't mentioned, then close with joy.
4.) If your name is mentioned (FML), then read sort of....see what's the deal and if the email body doesn't end in a question mark, then close email and play dumb.
5.) Else, respond to the fucking email.2 -
If I was independently rich I'd pay to work on software I use to fix bugs that it has.
Hello, Paradox Interactive, let me fix some of these roads for you.
Hello, Spotify, let me allow power users to make playlists be subsets of other playlists.
Hello, Github, let me create a tagging system to sort starred repositories.2 -
The sales person who is sort of my boss walked in today and asked/told me:
Sales: We are using Bluemix, right?
Me: Yes?
Sales: Learn everything about it.
Me: Explain?
Sales: Spend 2 hours a day for the next 2 months studying up. You don't get less other responsibilities. Your commute is 1 hour each way, right? Put on some videos!
Me: ...
Sales: Bye!5 -
Wow so WindScribe VPN apparently now has DNS ad blocking sort of like PiHole.
So no more annoying popups and video ads... Or messages from the sites saying I'm using an ad blocker!
And the kicker is I bought a life time subscription for $40 a few years ago.
Guess they were able to grow nice and big.9 -
today was shit. I'm full of stuff to do at work, we're extremely understaffed, no one will stop pestering us, I'm failing at doing my tasks and our stack is extremely useless for the stuff we're required to do. on top of that I'm in physical pain and i had a test. oh and my computer is dead so i have to sort that as well. fuck. I'll just eat sushi and pass out. tomorrow will be worse.3
-
I used to collect rubber ducks back in college. I was absolutely crazy about it and tried getting my hands on almost all different types available like the Punk duck, the Pirate duck, the Weed duck....and so on.
I met this girl who was into the same thing and we ended up banding together to create a sort of webpage where we'd write crazy and hilarious origin stories for each of these ducks. We'd go to great lengths to create ridiculous comic book style encounters between them and had a lot of fun doing it.
We dated for a while but it didn't last.2 -
Got ncmpcpp/cava/mpd working! (if you're wondering why it's ubuntu, just read a few rants ago :'^> ) and loving it. i gues i'll just open this up for people to post rices or any sort of pretty config. i still shill arch, just not if you like steam and have an nvidia graphics card! i'm in school and i don't really have time to sit down and learn what i broke and how to fix it, even if its a minor issue.8
-
@dfox
Feature request:
If(When you are in the app and go to notifications, group the notifications for the same rant.
||
Automatically sort unread notifications to the top)
{
Zombie = happy;
}
Sometimes I have to scroll forever1 -
Damn, gitea is such a great piece of software, but yet it lacks so much of gitlab, which given are completely different sizes and all, but damn I would kill for the repos import feature of gitlab to be in gitea and maybe even automatic pipelines to fetch a remote automatically..
I could most likely hack together a solution that does the import and remote fetching automatically, but I doubt it would hold against any sort of update and be absolutely brutally murdered by any change.4 -
Wow $50 a month for LinkedIn premium.... What a joke?
Signed up for trial just to msg some ppl at Google and Microsoft... Including Nadella.... No reply but still.... Wow.... Why the fuck would anyone pay for this stuff other than recruiters...
Is this some sort of status symbol?6 -
Riddle me this
Client wants solution based on open source software.
Any additional software that I write (let's say, an offline store plugin for Feast feature store) to add missing functionality has to be closed source.
Fuck you. Intellectual property my ass. You and me wouldn't even have projects if it werent for OSS.
Good luck maintaining the plugin after I am gone.
I'm doing a lot of work and will have close to nothing to show to future employers.
(BTW, if it were for the old Microsoft model of code source, I would have never become a programmer of any sort. God bless OSS)3 -
So apparently there's going to be some sort of "link tax" for creating hyperlinks to other peoples websites.
What's next is the EU government going to start requiring people to register a license to run a webserver on their computer?5 -
You would think developers would have some intelligence...
*Side note: If you're building a sort of SDK, please for fucks sake never force me to use XCode, and make sure that it actually fucking compiles without me having to fix your code" -
I've heard a lot of nice things about python so today I decided to check it out and HOLY CRAP this is an amazing language! Really makes me wonder why I didn't look into this sooner!
Seriously though! I looked at the documentation and official tutorials for like 30 minutes before writing a selection sort algorithm using only six lines of code. I'm quite mind blown.8 -
How many of you actually study without any sort of aiding substance such as coffee or vitamin pills? I do, for instance.
I don't use any aid but it makes it more difficult sometimes. I just eat wholesome food and work out to make my brain have enough energy to process difficult matter.30 -
Best:
Leaving my work in the soul crushing dog eat dog world of transportation and logistics for higher education software for colleges and universities .
I work at a college and I fucking love it and love my team.
Worst:
The soulc crushing dog eat dog world of transportation and logistics where I worked as a backend developer and lead mobile developer. Not only did it made me hate and despise native android development, but it also made me despise the human race as a whole. Watching a motherfucker letting go of employees that he knew personally (as in bbq with their families and shit) because my software automated a large portion of their work(it was meant to make it easier for them for that i was originally told) was absolute and total bullshit and i still carry that fucking remorse with me. After that I vowed never to do that sort of bullshit work again....sort off. No one gets fired at this institition for it. Logistics sucks big monkey dick and the people there are the absolute fucking worst. Every single motherfucker i met was a fucking shark, all of them and they would not think about fucking people over if it saved them some money.
Yeah, that even tops the military and that was fuuuull of fuck fuck games and other similar fuckery.2 -
I would love to develop true A.I, though one which doesn't want to kill.
Sort of like the machine in Person of interest, something which can be everywhere and acts as a guardian for all.
But ultimately looks after me. -
I have been asked to submit a piece of code for review for an interview, something I'm proud of writing.
What kind of code snippet would you submit? (A custom sort.. a tricky bit of data manipulation etc)7 -
It still amazes me that people willingly choose apple. After being given a MacBook for work, I sort of expected it to grow on me a bit. But no, it forces you to do everything in their stupid apple way. It is form over function in its purest form.11
-
It does give you that cold rush feeling, when a low level support agent can just use some sort of "user impersonation" feature and literally send you screenshots of your conversations or other, what seems private information and should be only used for actual escalated staff, for when there's a need for an actual middleman (ie. client not paying - logs review) and for everything else there should be a test account they can do screenshots from, e.g. for general website use questions3
-
I've been sort of lost after New Year's...
Last few years, my main goal was just to learn stuff to pass technical interviews. I also did a lot of personal dev in C#... and played with the js, python, and when a bit of c++.
But this year I kinda feel sorta of "ah screw it". Interviews never work out, haven't for years, what's the point in even trying... I get paid enough though the work is sort boring and team sort of feels like the Wild West, no rules, code reviews, processes...
But ¯\_(ツ)_/¯
Feels like coding has lost its place at the top now. The future is all cloud, machine learning, big data/real time analytics but feels like these are out of reach for just 1 guy...
And well doesn't seem like anyone is going to give me a job because I'm not a good fit or have enough experience in these areas...
Sorta lost now but guess this is what a sudden thought leads to...
Oh and maybe just with tech in general. It feels this year I'm just not as interested as I was before... Spent a lot of time binge watching movies and stuff instead....4 -
devRant = Developer Anonymous. For people who are addicted to coding - the best sort of addiction. :-D
"I'm sterex, and I code."2 -
Was at a Saturn (tech store) a while ago, just in the area and browsing a bit, and then this: (see image, thanks C0D4)
This sort of shit happens all the time around here.
There was also my local Karlchens Backstube (bakery and café) where the drive-thru display had a green screen of death; I don't know why they used an insider build of windows. Or windows in general for a fucking DISPLAY SIGN. A FUCKING DISPLAY SIGN WITH JUST A STATIC IMAGE DISPLAYED.
(Image not revant)
Rant over.
Fucking hell.9 -
probably gonna have to do with environmental software certification (optimizing for energy reduction, that sort of stuff)15
-
Public transport system in my city has the following option for monthly subscription: you can register your DEBIT/CREDIT CARD in some sort of whitelist and use it on the doors to access the subway or buses.
They. Save. Your. Card.17 -
Can someone explain to me what sort of recruitments logic is this?
Me after giving interview: so when can i expect to get a call back about my results?
Recruiter: within a day or two. Definitely before X.
A few weeks after X...
Me: so, any update?
Recruiter: yes. Are you available now for the next round?
Me: .... Couldn't you have said that earlier???!! (in my mind)4 -
I'm going insane.
My colleague wanted to sort an excel spreadsheet and got an error. "Can't sort, column width must match" (or something along the lines) . Which basically means you got non uniformly merged cells.
Without telling me this, he asked for training on how to change column width precisely, after spending 30 minutes explaining he done just that. Column by column for all 40 columns he did just that. Resized to 10 of something (no one really knows what those width numbers in Microsoft Excel really mean) and try to sort.
I Shit you knot, he got the exact same error and flipped out angry at me for creating a shitty system (I think he spent an hour or two total with double and triple checking the sizes)
I did laugh because of this, but I do feel bad for not asking what was the real reason before all of this.1 -
Even when you search for every word in the name of the desired extension in order and sort by relevance, it still shows up 8th on the results.
I would say "obviously powered by Bing", but at least it showed up on the first page at all.1 -
I just used chatgpt and placed bullshit jargon to aid my budget and OPEx for this year, and it worked.
Each year, we formulate some sort of paragraph/essay on how we plan to help the company achieve its goal. I dragged my feet doing this exercise.
Great, more reasons to be lazy.4 -
Visual Basic.
“Does VBA for Excel count? Because if it does then VBA for Excel has reached the ”nuclear resistant cockroach” level in finance.
You wouldn't believe what sort of processes in very big banks/financial institutions are built using 10-year-old VBA macros. In fact, VBA consulting for finance is a very juicy cottage industry at least in Europe to this very day.”
https://retool.com/visual-basic8 -
In the Netherlands they have a sort of "don't ask, don't tell" culture around wages, how is this in other countries?
You ask for what you think you're worth (and are happy to work for) and if the company agrees they pay you.
There's no guarantee you'll be paid the same as your colleagues working the same job because they might just have the confidence to ask for more money.
I have no idea how my wages compare with my colleagues but as I am happy with what I earn it doesn't matter. Seems to solve a lot of the dick waving issues that stem from everyone comparing salaries.25 -
Applied for a new job today! It's in a different city, but it's with a company I'm familiar with, doing tech I'm familiar with. They provided my current employer with managed hosting and occasional bugfix and upgrade support before we completely changed our tech stack last year.
I've been feeling sort of stuck in a hole for a while. I'm unsure about moving, but it's partly of my own making and I was unsure about starting here when all the tech was new to me. I've been here 3.5 years, my first actual dev job, and I do think I've done what I came here for. -
@dfox New excellent algo sort makes lots of old threads bumb which means better notifications is suddenly more important.
I'm wishing for notifications grouped per thread and with a line or two of the rant/comment the notifications is about. -
Was working on an issue that happened to be number 666. And it sort of lived up to its name. Hours of work for no necessary change. Thinking of rejecting as non-issue. Think it would be inappropriate to write "get behind me Satan" or "the power of Christ compels you" as rejection reason?
-
Wrote my first u it tests for c++. Considering how hard everything else is, I was sort of afraid. But turns out it’s not as bad as I was expecting.2
-
Sorry I posted late for wk68.
When my colleague taught me how to use excel sorting. I tend to not know also so he can be use of help instead of slacking.
He's always saying, "Oh my gosh! I can't really imagine and feel awesome when teaching you devs how to sort things in excel." -
Absolute hate for clients who just go about “I want it today” and not realise or understand that it’s them who need to sort out their issues before we can do our part.
The worst part is that my project manager remembers nothing so I have to jump into these discussions and raise issues. -
I just hate it when a classmate just waits for you to do the work first so that they can copy it.
This recent project we had was a pretty good example. Most of them didn't know what to do while I on the other hand actually READ the documents for the technology we were using so it gave me sort of a head start. They eventually asked me to do one part of their work first so that they can copy off of what I did and I mean EVERYTHING. A pure copy paste of my code while only changing the variable names. Genius1 -
Starting to hate resharper for visual studio 2015. Pushes studio memory consumption up by almost 1/2gb with a moderately sized solution. Come on jetbrains sort it out we know it's coz you won't integrate with roslyn.
Doesn't help that vs is still 32bit with a 1.5mb memory cap that will kill the process ...... And Microsoft please sort that shit out as well,32bit app on a 64bit system .... Come on WTF.....
You two sort your shit out 😡2 -
Ugh time for my first google chrome rant... thing...
Ughhhhhhhhhhhhhhhhhhh, finished an arch linux install, fixed my slow internet connection in linux, installed only the things I need, vs code and google chrome but fuck me!
Google chromes performance is sinking like a rock, dropping about 25-40% of frames in youtube, slow page loading and the sort.
Installed firefox to ensure it wasn't my system and its all running perfect, I don't like using firefox and want to go back to the warmth of chrome, anyone able to help on this one :-(9 -
1) Learning to make Android games with Godot3. Really awesome engine to do this. I was impressed when I found out it can use adb to deploy to my phone directly.
2) A sort of a modular multiplatform backup service with optional on the fly encryption/decryption and available for all devices -
context: I'm sort of a self-deprecating guy and I really don't look for validation.
So, i decided to fuck it. I tried to provide the best decisions in terms of money-wise/biz-wise but apparently this guys rather choose what he believes is best for the code... (he knows shit of coding and that's coming from someone who is not a software engineer but rather a physicist who happens to code).
So, now i let him make all decisions. no opinion from me. a few things are going to shit because of him... fuck it. i had it. as long as I get paid. fuck him.
this is probably common... sorry for the rant.7 -
I'm still in school and everyone in my class knows that I'm some sort of a computer/tech guy. And whenever the teacher has some problem with any of their devices everyone turns to look at me expecting that I would know the solution. Even when it's like when the device is not connected to the school wi-fi. Like how am I meant to know your wi-fi password. (And sorry for any misspellings. English is not my first language)1
-
So just went for an interview that a slimy recruiter set up, 'yes they want experience in C#', great! Finally get back on top of my rent, sort my life out. Get to the interview, fucking C++ job...
I've had enough.3 -
Random. Related to WFH.
How do you deal with all this waste sorting/recycling business?
I live in what's considered a small apartment for 4 people and a cat and in our tiny kitchen we have separate trash bags for:
- plastic/paper/metal
- glass
- deposit bottles
- commons/unsorted
- and it's very likely that starting '24 we'll also have an orange 'food waste' bag
I swear to God, sometimes I feel like the Wall-e, the trash prince, living in a recycling centre/dumpster. This kind of taints the pleasure of WFH.
How do you deal with that? Question to those who sort waste and, preferably, live in a small aptmt.16 -
In an algorithm class, professor introduced us to some simple search algorithms (bubble sort, selection sort, insertion sort, shell sort). He did a quite decent job and most of the students were able to grasp the code and understand the differences in those algorithms. But then he spoiled his whole lecture with one additional slide. There he proposed an optimization: Instead of using a temporary swap variable, we just could use the first array element (or the zeroth element, respectively: the one ad index 0) for doing all the swapping. We just had to document that, so that the caller would "leave the first position of the array empty", resulting in "cleaner code". And he did that in the same class where he used Big-O notation to argue about runtime complexity. But having the caller to resize the array and to shift all the elements by one position did not matter to him at all, because it was "not part of the actual algorithm".2
-
Reading about micro services and they sort of sound like mini APIs wrapped by individual HTTP servers.
But if all the APIs need to send requests to each other wouldn't the overhead from just making the connections for each request add up and be huge?2 -
Has anyone else worked in business environments and found... em.. "wannabe-tech decisions?"
For example, naming stuff with shortened words and underscores instead of spaces.... for no real reason? Or maybe using the word "database" a little too often, just to use the word? (similar to the way you might call someone by name, only to confirm to them that you have learned their name?)
It doesn't actually bother me, rather, I think it's a bit cute that these people are interested in our culture and want to be a part of it, even if it's in sort of silly ways like this.4 -
Okay, I really need some help here.
We're building quite a large application that will serve as the backbone for the whole company. We have to implement some sort of role system. We're debating whether or not to store roles in the DB or in code (some sort of config file). Personally I don't see any reason to do so. What's your thoughts?13 -
my instructor forgot to do Cengage shit right again... why me...
Assignment wants me to "go do a thing to sort 3 numbers with if/else statements"
I'm going to use a list and list.sort() as i'm not stupid and these are bad habits to teach...
...or not.
(I know I can put the values into the right vars and then print those but that feels so wrong to me for something that's gonna be printed ONCE. That also doesn't help as it's searching for if/else statements... although it's not searching for a whole one... nor in actual code...)4 -
honestly im all for devrant becoming sone sort of alternative to StOve, or branched off into one, you all are so nice and fun to talk/listen to, and ypu dont treat this platform as a dick measurement contest5
-
If I'm writing an app which has the sole purpose of receiving some data from a server, then sending some other data back (so nothing is stored locally) - what sort of stuff do I write tests for?
Client wants lots of testing to occur, but all of the tests I can think of wouldn't add any value -
So I got access to a new Centos server. I had to install applications like Mysql, tomcat etc. The install was easy but configuration to be done were fucking headache. Admin guys were such Assholes that they dint care much to help. It took me 3 days to finally sort out and got things running. Yay! I believe I learnt a lot about Linux. Thank you Admin for being such an asshole✌️1
-
I'm working on a Web API for retrieving informarion of some sort (can't speak as it is a work in progress😝).
Before starting to work on this project all the experience I had was Desktop (C#, VB) and some SQL but now I'm learning so much more: REST, Asp.net core, nosql, GraphQL and more.
Even if I can't finish this project, still what I'm learning is even more valuable2 -
I'll say one thing for June job searching...just by looking at logos it's really easy to shop around for a job that won't be at a woke company. Now I just need a job search filter that lets me sort out the temporary rainbow logos from the normal ones. (Honestly, how does anyone, gay or straight, work at any company that so blatantly shills for dollars through performative pandering? Just June. After that, "Gays? What gays?" Either commit to the WHOLE narrative all year long forever and change your logo permanently or GTFOH.)15
-
Never understood why people bloody love their code. It's good to be happy about it, but
beats the zest for refactoring or any other sort of improvement.
Took me an hour to explain a senior dev why his changes introduced bugs in build.
Literally landed to the point reverting his commit and demonstrating the damn build to work.
To which he replies what if the data is corrupt
Damn it's not the data, it's your bloody senses.2 -
Me: *Starts to code for uni assignment*
Puts ANY sort of music in the background => hours of coding go by, beautifully.
Tries to code without music due to broken headphones => 5 min feels like an eternity and nothing makes sense...
I swear, "my headphones broke" should be a valid reason for an extension.2 -
I would never listen to music while writing code because I thought it would distract me to much. I've started doing this lately and I found that I have been more productive. I've noticed I can focus on writing code for a longer (much longer) amount of time before I need to refocus or take a short break.
I've created a "coding" playlist which is growing daily.
Who here finds they are more productive at work while listening to music and what sort of music do you listen to?6 -
More marks for a bubble sort.
For those of you that know the bubble sort you may share my frustration. I built a simple python program that took three integers and sorted them using a series or compound if statements using no built in low and max functions. Someone in my college class did the same thing but used a bubble sort and got higher marks. This angers me, I had to write an algorithim in a language I had barely touched but this person just used old scrappy code and got higher marks. Only a little tease but you get the picture, bubble sort is inefficient.2 -
Was talking to a friend of mine and he was very expressive about companies (Especially tech companies) just wanting money...
Turned to him and said that wasn't true because if it was Motorola would make a gen 3 of the Moto 360...
(This is sort of a mini rant for me because they are too busy copying the iphone design instead of giving the people what they want and will earn them a shit tonne of money)3 -
I just got mindustry (which is currently on sale for $3) and it's a great tower defence, resource production, machine builder, tech tree researcher, sort of game! Really really worth the $3 and will probably appeal to a lot of people here.7
-
I was developing a project for the software engineering course. We we're building a sort of mips instructions simulator that would show you the path the signal takes while it's traveling in the CPU.
So after almost finishing everything, the professor asks us to add a voice over feature that would tell you what is happening while you go through the animation.
You can only understand this if you see it. It's very funny and stupid.
The website is http://mipssimulator.com
Make sure sound is on.
Edit: the site is kinda glitchy on mobile so try loading it on a computer for better results.5 -
Being Ill and a dev is the worst... Not being able to think straight and focus for more then 2seconds really kills any sort of work you can do5
-
First patch for buildroot submitted and added applied to master!! 😁
I had the impression that git (like, more than "git add ." was just too complicated and that making patches was some sort of dark magic using some obscure unix tools.
Well, it turns out that is actually pretty easy, fun and exhilarating!!
Looking forward to build up until I'm making contributions to the kernel! 🤓 -
ME: Ugh can't even swap this laptop for a mac of any sort, only have people offering to sell one...
*Leans back in chair and think's how cheap I could build a hackintosh for*
ME: Wait a fucking second, I have OSX El Capitan with clover installed on a USB...
It's fucking working! :-D -
I've got a question for everyone.
I'm revamping my CV and I was thinking of lightening it a bit, but I'm not very experienced with CV's.
At my last development job, we would order breakfast cobs every Friday, and I would sort all the change out and order it etc.
Would it be wrong to add this to the end of my job history?4 -
When I commented that that there may be non-euclidean equivalents to certain stat functions (average, mean, mode, etc), apparently there were others out there with the same general idea.
Some guys over at stanford are exploring hyperbolic spaces for machine learning, which is exactly the sort of applications I had in mind.
Very fascinating work, go check it out if it's something that interests you..
https://dawn.cs.stanford.edu/2019/...
And the related paper that it is based on:
http://proceedings.mlr.press/v80/...2 -
Waking up at 4:30 am is a some sort of enlightenment. For example, today I figured out that using sudo with npm is generally a bad idea.
-_- Well... -
As a project for our computational fabrication course, I implemented a paper with a peer. We did it in python because I didn't want him to suffer with lower level stuff, but then it runs sooo slow.
And I'm just itching, dying to OpenCL/CUDA the shit out of this code, because it's so parallelizable it's a sin not to do it.
But it's really out of the scope for the course, not worth the effort, and I have tons of other stuff to do now.
I miss being paid to make these sort of algorithms efficient 😭
https://youtube.com/watch/... -
we want you to be
- full stack developer (you do everything front end, back end)
- dev ops/SRE (you can sort out the deployment CI/CD pipeline, cloud platform services AWS/GC/Azure whatever)
- architect (you can design the software as well)
all in 1, you gotta be multiple roles/departments
good luck getting this experience on the job (hell in a startup is not for everybody and certainly not for me)
also why the fuck companies who aren’t startups ask for this idk
not sure if i missed any roles/competencies so far , don’t forget you need like >=3 years of experience possibly in every field for entry roles and more for anything higher than that9 -
>Finds an URL that causes some sort of internal bug in a client's webapp
>Subsequent requests fill up the server's PHP-FPM slots, waiting for a session exclusive lock that never comes
>Effectively DoS's the server
>Sends it to a colleague to discuss the possible causes
>Uses slack
>Forgets Slack happily indexes any link it's given
>Slack almost DoS the service
FUN -
The more I use snaps on Linux, the more I feel like we came the full circle. Installable package (snap) contains a bundle of all dependencies, and installs them in an isolated system path to avoid version incompatibilities. Snaps can can have some sort of install-time configuration, and they create links to a handful of entry points rather than adding all executables to the path. In short, they do the exact same thing Windows installers have been doing for the past 30 years.18
-
-> Had to remap all api endpoints on the backend...
-> The system architect raised a critical bug, saying he can't delete reports from the GUI even though the back-end is returning HTTP 200 (for now, say we also save some sort of reports in our DB)...
-> While remapping, I had returned get in the delete call xD
-> He thanked me for not doing the other way round, delete function in get call xD1 -
I learned to program with the joy of the command line and ASCII rocket ships printed and shell games on GWBasic. It was fat spiral bound manual my Dad gave me when he worked at EDS. My dad then tried to press me to leaning a program for calculating prime and perfect numbers. My dad sort of forgot I was only six and hadn't learned division yet.1
-
!rant
You know, I sort of hope that open-plan offices become illegal after this Corona crisis.
We all know most companies don't give a flying fuck about the productivity, opinion or wellbeing of their "lowly work force". OTOH maybe, just maybe, do politicians care about lowering the risk of such a pandemic repeating. Pass some laws for reasonable working conditions already!7 -
So, we're apparently going to build a sort of social media(with competitions) for our software engineering project. I thought of a productivity app that would follow the GTD methodology (with my own additions), but my team mates thought my idea wasn't big enough for a team of 10. One claimed that he would do it all by himself in a week/month(Don't know what he said). Oh, well. Anyways, I'm going to build that software as a side project with a friend or two. I hope that goes well..
PS. We need a team name. Any suggestions?
I thought of Team Sudo lol.. No one liked it..1 -
I am going to go freelance (starting a company and will be my own first employee) at the end of the month.
Was wondering what software some of you, who are also freelancers, are using to manage everything.
Quotes, invoices, jobcards, etc.
The bank through which I will be registering the company appears to offer some sort of online service for that purpose, but I have not seen it yet.
Any assistance will be greatly appreciated.5 -
I live in a college, sort of..
2 hours ago, the power was lost unexpectedly for less than a minute and then came back. Internet didnt tho.
They dont handle their own infrastructure in this college thingy, they hired a school to do it (it sounds fucked up, and it is a little fucked up).
Now little me is becoming impatient and offers my help. Gets rejected.
Additionally, i just started to have a fair sleeping schedule, and noe because the internet isnt working im about to fall alseep before lunch again.. i hate the people responsible for IT here..3 -
Off late I've been having a lot of debate with my friend about using Flask over Django for prototyping some feature. I side with Flask, since the development time is much lesser than Django and doesn't need to follow a lot of rules.
Issue here is, I prefer flask and he prefers Django.
Need opinion on this sort of problem, where a prototype for a feature in a product has to be built. It maybe integrated into the end product, which is in Django, or may not be.5 -
Objective: drill a huge hole in the Apple!
Following rant: https://devrant.com/rants/1564522/...
So... Apple music store saves the music in m4a in the app folder, so no other apps can access the music.
It saves it with wird file names, no structure.
I'm noob at basicly anything, and because I'm on vacations I have a cellphone with python basicly.
How can I get the music info from the files, change the files names to their singer/group + song music and latter sort them in folders by artist, then by album4 -
https://youtu.be/ywWBy6J5gz8
Lol, now I know how quick sort is done for sure.
Quick sort with Hungarian folk dance.1 -
Perl is already high, but this thing is on LSD: https://raku.org/fun/
The fact that it's sort of serious and not an esolang designed for pain makes it even funnier.9 -
"I for one absolutely and unequivocally refuse to be bullied about by a thing’s capacity to absorb light. There is nothing less appealing than a color fraught with meaning – the very notion is boisterous, inappropriate, and marked by the dreariest sort of longing." - Fran Lebowitz
-
Sighhhhhh.
SIGHHHHHH.
been looking for days now and can’t still figure out how to sort with redux.
Can someone just teach me this? I’m starting to feel “special”35 -
So spending the morning trying to figure out how to build a database with indexing in Java for the first OLX HackerRank question.
It was sort of interesting except now I'm asking myself, why the fuck is a machine learning company interested in knowing that you can manually build a rudimentary DB....1 -
They want you to go paperless (cos it saves them shit loads of money, and the shareholders like to count it all day long) not for environmental reasons. But their shitty, flakey online banking system is always down or having technical problems. Fucking sort it out!4
-
Anyone know a good open source web page builder? If there's a laravel integration would be better.
Got a client needs this very soon!
Sort of just assumed someone did it, but yeah, like there's lots, I see wink, grapejs, etc. But there's gotta be one perfect for my needs.
Thanks!8 -
Here at the end of high school they make you create a sort of mini-thesis and/or a conceptual map. I found mine in midst of full blown bedroom chaos, dated one year ago (it's in italian because I am italian but you can definitely ask for translation). I got that fucking diploma despite all the issues I had and still have. Fuck 'em.4
-
Im starting to make a project to manage incoming emails from my teachers. It's gonna sort them by class and filter out a bunch of junk that college sends me. Also gonna set it up so it's easier for me to keep track of which things I've done and what I am working on, as well as probably have something that shows how soon things are due.3
-
Prompt in which you have friends and you can sort them by favorit language or other things.
You can invite friends and they got to confirmanf then you have friendship with the other guy/girl/other.
I am sorry that this is not for weekly rant but for devRant.😅3 -
Well, I thought "hey, I need to urgently update my own infra for a change, been neglecting this way too long, but should not be longer then a day."
I spent the whole weekend dependency resolving, modulesyncing and ensure deps are met ... And every single goddamn time it's stdlib causing a whoupsie on another module...
Oh at least I am having fun. Sort of.1 -
While I haven't been officially hired for any UI dev jobs, there was one front-end position I was going for where the hiring manager viewed my programming test for the application process and just sort of gave me a "sorry, we're choosing not to move forward with you" email even though my code was simple and refractored. When I thanked him for the opportunity and asked for feedback he just kinda disappeared without a trace.
I understand that time is money and maybe they just didn't want to spend the time responding, but is this kinda thing normal?1 -
It's sort of two separate projects although they are very tightly related.
The first is a pattern combination library and parsing engine. It takes a superficially similar approach to Regex or parser combinators, but with some important underlying differences.
The second is a specialized (not turing complete) language for rapidly defining full language grammars and parsers/lexers for those languages. -
TL;DR Does MacBooks degrade faster for developers due to poor thermals?
I’m developing on a 15” MacBook Pro for work. I got it new last year. Now I’m experiencing that it crashes when punishing my CPU with my hardly CPU optimized scripts.
My thought that the poor thermals MacBooks has could be the reason. I mean, Macs are sort of known for their reliability, however I punish my CPU a lot more for many more hours, every single day than the average MacBook user.
Could the instability really be due to a fact that last gen 15” MacBook Pros have poor thermals, thus bad design for programmers, making the CPU unstable due to degradation?9 -
!rant
Question: If you are making an API for your Android App. Let say you have total of 50 rows currently and you have to sort a table column by price in ASC order.
Will you do the sorting in the Android App or Server side?14 -
Before I started working, I used to feel like I depended on documentation and the internet a little too much owing to ultra crappy long term memory. After spending some time at my internship going through code written by "professional developers" several years senior to me and trying to write unit tests for it (surprise: the code was in production without having underwent any sort of testing), I feel like the amount of time I spend online reading usage recommendations, alternates for optimisation, best practices for writing clean and descriptive code and all that is a lot more rewarding. Some bad things help you feel good about yourself.
-
What do you call time spent by a new dev learning a company's codebase?
Genuinely asking because, as a non-native English speaker who has to communicate with English speakers on a regular basis, I usually end up saying that a dev is still studying the code or familiarizing himself with it.
I'm not sure why it kinda feels off for me. Is there a specific term that describes this?
Sort of how technical debt tells me that it's the cost for someone being lazy with his work before.10 -
Question: is it common for lead software engineers to mostly do paperwork or is that just a quick of my current program?
Where I work it is very common for those titled "software leads" to be almost completely hands off the software. They deal in hiring, fielding user comments and commitments, and scheduling. I would like to be a lead but I was always under the assumption that dev leads had more of a design and/or architect role. Sort of a big picture thing rather than middle management which is what this feels like. -
Can someone explain to me why the default selections/presets for things like custom shapes in photoshop 2020 are so insane?
For instance: the default loaded custom shapes are not something sensible/useful like say..... an arrow or a triangle. They are leaves, animals and boats, because of course photoshop, when i say i want a custom shape the most common thing i might want would be a friggin gorilla wouldnt it.
Also the default style settings for a sqaure are a a sort of tartan pattern with a dashed tartan border at 10px wide. Why are these choices so insane?6 -
I've just started freelancing on PeoplePerHour. I'm in talks to secure a job migrating a C# webapp to a desktop scenario using HTML5 embedded within WPF, but I've never done this as a solo project before. What sort of price is sensible to charge for this? I'm working in GBP1
-
I was initially hating on JS for the weak typing and type coercion, but after taking a look at the underlying algorithm it actually somehow makes me think the whole thing is sort of sweet and endearing. Not sure if this makes me a bad person or not4
-
Company: We have a new front-end project for you to work on.
Me: Oh fantastic, send me over the designs over on Zeplin and I'll start working on it and we'll sort out the links and wording later.
Company: We want it done using Webflow.
Me: -_- hmm fine.6 -
Just ordered my first ssd as a sort of self-reward for managing to get my groups project to get the 2nd highest score in class after many sleepless nights refactoring and optimizing the codebase
Honestly I’d have been happy with a C just so I passed the damn class. But my individual grade was an A and the group’s collective grade was a 86. The second highest group grade in class2 -
Today I discovered a new feature of my electric toothbrush that I've had for years...
Sort of obvious afterwards but when I put it back on the charging stand, it automatically turns off.
Guess now I have a reason to put it back each time after use though2 -
So I got an assignment for literature class to make and present some sort of creative project about transcendentalism. Time suggestion: 2-3 hours of work. 10 hours later, I have a videogame with 0 polish that I can convice the professor is about transcendentalism. I regret nothing.2
-
a client reached out today who wanted a website which had a dl model for image processing
website -> take image -> pass through model -> based on result sort images and display in grid along with other features
budget? $856 -
Can't decide whether I like React or not. Hated it in the beginning, then sort of started liking it and even thinking it was great just to fall back to the dislike stage again where I roll my eyes and think it's a messy, crowded pile of shit that breaks with all sorts of good software principles. This has fluctuated up and down for over 3 years.
It's the only language/technology/framework I have had this experience with. Weird.8 -
I’m feeling a bit stuck at work recently. I have a new department head and he keeps periodically asking me to do things that are very much not the normal responsibility of my role. These are always very simple things, things I am certainly capable of doing, but should fall outside of my purview. We even have documented methodologies indicating this sort of thing is not the sort of thing I’m expected to be responsible for. The trouble is, I’m not sure if when he’s asking me to do this it’s because he’s still new and not completely up to speed on who does what, or if this is a situation where he is The Boss and if he’s telling me to do it then now it is my responsibility, if not permanently, at least on these specific occasions. I’m also disinclined to just run with it without saying anything because then it really will become my responsibility, and there are good reasons why it currently is not.
I am having difficulty thinking of a way to bring this up that doesn’t sound like I’m refusing to do it. On the one hand, it’s not my job, but I also know that going around saying “that’s not my job” is not appropriate. The situation is not quite that I don’t have the authority to do the task, but that’s closer to the type of reasoning for why my role isn’t responsible for the thing, and it’s always restricted to people in a different role. Part of the internal rationale was a sort of “too many cooks in the kitchen” situation in the past, but there are also other logical reasons why staff in my role are not intended to be involved.
I’m also hesitant to push back at all since I can’t tell if the boss is coming from a place of not knowing or one of reassigning. I don’t want to seem difficult (but also reallllly don’t want this added to my plate). I don’t know the new department head well enough to guess whether it’s more likely a misunderstanding vs a change in policy. I’m struggling with finding the words for how to bring it up without sounding like I am saying “that’s not my job”. Is this the sort of thing that is better handled in the moment, or waiting for a time separate from when he’s making the request to talk about it more generally? Help!1 -
Dear Web developers,
I'm looking to boost my skills and improve work flow. I was wondering what sort of tools, editors or platforms would you recommend? I currently use wordpress, php, jquery, sass, react, node and laravel.
I've heard about awesome ways where you can monitor project changes, something like github but with gui for design drafts and stuff.
Also I heard about good online platform for Web development, something like online sublime text where all your files are saved within cloud platform. I'm looking for something that will unify my work throughout different work places.
Lastly, are there any good sites or new technologies that are fairly popular and good to learn or research?12 -
Just finished the prototype of my HTML5/Canvas implementation of a visual novel engine. The actual script exists behind the scenes on a REST like web service (to act as a sort of drm). The assets for the game and UI layouts are stored in what I call a shit file. Their is s a utility called the shitpacker that creates a shit file from a directory structure. The name of my engine is the Pyst engine. Pyst stands for Python Stub...as the game script is actually a subset of Python that I created. Eventually I will probably move Pyst to JS so I could hypothetically support offline games.
-
Ugh why are people so tight!
I'm trying to sell a $1000 laptop for $600 and people are either not bothering to look at it or complain $600 is too much for a laptop -,-
Added that I'm willing to trade for a Mac of any sort so let's hope that adds something but fucking hell!
Gotta love not buying shit tech and trying to sell it -,-
Btw the laptop has been used for less than 2 hours -,-3 -
My colleague actually uses multiple email addresses that has different purposes. E.g. one email for travels, one email for work, one email for family, one email for other projects, one email for payments, etc.
I've yet to show him how emails nowadays can help label and sort them by nature.6 -
The first interview I attended as a fresh grad was with an MNC. The first round was the aptitude which I aced - came out at the top of the crowd. Next in the F2F, I was asked a simple question - How would you swap two variables? With and without using a third variable.
My mind went completely blank. These were the sort of questions you go prepared for. But don't know what happened to me that day, I faltered and literally begged him for another question, but he wasn't interested.
Well, I got a job in a better company later on, but still, such a simple question.......1 -
Me:
- 4+ years of experience
- Great Portfolio
- Great Github profile
- Worked at some succesful startups.
Interviewer:
- Uhmm sorry we can't hire you for this frontend job because you couldn't complete this whiteboard bubble sort test in c++.4 -
Business Rep: Hi dev guys, you know that priority 1 work you were doing? We've decided GDPR is important, can you sort it for Friday? OK, thanks, bye.
-
Hi fellow devs, I have a question for you.
Do you think asking questions like (related to JS):
- What is the type of null?
- What is the result of 0,1 + 0,2 (0,30004)
- and other JS specifics
in a job Interview for a Junior position is the right thing to sort out applicants?
I have several years of programming experience, just not in JS, and got rejected because I couldn’t answer these questions. Feels kinda weird😅 What’s your opinion?24 -
My dream project is to revamp education, be it through an app of some sort or by any other mean.
Can't justify spending a quarter of your life in a place you usually don't want to be, listening to stuff you can't relate, being taught by people who wasn't born to teach and being tested for things you will never use and couldn't care less.
Come on, there has to be a better way! And this goes beyond online courses.1 -
Have to create a social network type app for a project. Anyone ever used firebase for the purpose?
Any sort of help in defining the DB schema would help :D3 -
Failed to make a decent demo for client because spaghetti code. I want to work on the project to sort out codebase to avoid same thing happening again, boss wont hear it and switches me to another project of which I have little knowledge of the stack when we have another guy who has experience in it.
My main project (the one I want to sort out) is so big it should have 4 people full time on it, but it has me and one part time outsourced contractor. I was hired as a meteor dev and he makes me work on an angular project like its totally easy to switch from meteor to node+angular+Jade.
I am a junior dev, boss has no idea how to project manage and ignores advice I give him.
This is going to be hell when we miss deadlines and have to explain to the client why their product has so many bugs.2 -
Hey guys.
I just released a demo for this game-sort-of-thing I'm working on. Would love to know your opinions/criticism.
https://cellv.itch.io/post-mortem
Playable on any device.21 -
I have a sort of mini career fair at my internship tomorrow. I work at a University Affiliated Research Facility. Any tips for talking to job reps?2
-
So our webserver teacher have been throwing around the idea that before installing anything on a Ubuntu Sever, you should run apt-get update (yes you should)
But, he also instructed everyone to run apt-get upgrade as well (in case some dependencies need to be updated)
Now for fucks sake:::::
1) apt will automatically sort out dependencies when you install a new program
2) you never ever efffing fucking wanna run apt-get upgrade on a live server. I'm not a sysadmin, but this seems like a really fucking bad idea, right?8 -
Why isn't anyone asking where Google's recaptcha images are coming from?
Yesterday, the challenge i got was clearly obvious, it was a car shaded by a tree shown from side view and it looks like someone unknowingly holding his/her device pointing to it (bloatware i suspect). And today i am told to pick "stairs". Yes! from someones fucking home! No sugar-coated explanation is justifiable enough for this sort of fuckery!10 -
I have a software developer interview tomorrow. Never really done a professional one as I've not yet graduated but I'm just looking for tips and some guidance on what I should prepare for and what questions to expect. Also advice on how I should handle myself and what sort of stuff to talk about. Thanks!2
-
Hi dev!!
I am working on my web development skills from past 7 months. I always wanted to create my youtube channel to share my knowledge about the same.. but now also when I come across some bugs it sometimes become very difficult for me to sort that out..
I want to ask if I should give more time learning the skills completely and after that it would be fair to create my channel or I should start a channel and learn things side by side..2 -
HELP!!
I am starting a new contract to create a full stack web application with a medical company that will contain some sensitive data about their clients/patients.
I have been working as a salaried full-time employee for a medical software company, but I have been shielded from any sort of lawsuits from the client (worst case scenario, I'd get fired).
Do any of you have any advice on what I should do to protect myself in terms of LLC's, Insurances, etc?2 -
Lol. In the years that `const` and `let` have been in Javascript, not once have they ever helped me read the code better or caught a bug. They have not helped me understand anyone else's code, nor have they really helped convey any sort of meaning for other developers that I have heard.
Usually the rule is, const first, then change it to let if you need to. It adds nothing.
All this gold plating is weighing things down.15 -
Haven't been able to sleep well for a while. Generally I've either had to take some sort of sleeping aid (usually benadryl, cause melatonin doesn't do anything to me), or stay awake for about 20+ hours. It's been like that for about 2 years now. Due to that, I've built up a resistance to benadryl.
Last night I took benadryl around 11, figuring I'd fall asleep around 12:30-1. I managed to fall asleep around midnight, and woke up at 1. I tried going back to sleep for hours, but nothing. Now 6 hours later, I don't know. Might end up just staying awake until tonight and passing the fuck out.
I wish I could fucking sleep.10 -
So continuing on my PC buying post, my friend found a cheaper, by $300, option but it's sort of a give and take. And not sure which one is the best. Plus AMD * still gives me a bad impression.
Last rant/Intel:
https://devrant.com/rants/1867462/...
AMD: https://slickdeals.net/f/...
CPU Compare: https://cpu.userbenchmark.com/Compa...4 -
Can't figure out how in the hell to use nunjuck templates (or any for that matter) in metalsmith.
I feel like this is a general problem with oh so minimalistic modern projects. They look kinda cool but fail to do their main job correctly and in a flexible manner. This sort of flexible markup transformation just isn't possible to offload entirely to third party plugins and expect them to come up with some sort of compatibility themselves1 -
Python 3.9:
Cool New Features for You to Try
String Prefix and Suffix.
Type Hint Lists and Dictionaries Directly.
Topological Sort.
Greatest Common Divisor (GCD) and Least Common Multiple (LCM)
New HTTP Status Codes.
Removal of Deprecated Compatibility Code.2 -
so i was validating some user data using ajax in a facelets page.nothing was actually being validated when i deploy the application in tomcat..i thought it some sort of a bug on my code and after checking for the greater part of today i just couldnt find any bug.So i decided to deploy on GlassFish and it worked perfectly fine..fuck containers!!!1
-
Aren't we, software engineers, the whiniest sort out there? Jira ain't good, Redmine ain't good, nothing can satisfy our needs for lack of commitment towards project administration. 😂
I just catch myself sometimes writing obscene amount of hours in timesheet under "US management in Jira" topic or similar. 😂2 -
So, I have updated tslint and now I have close to a hundred warnings related to order of imports. 😔
I tried several tools for imports sorting, but none outputs it in a way tslint expects it to be. 😒
God damn it, I have to sort it all manually. 😩2 -
I always sort by new.
If you have a steady job for a long time already but still sort by price ascending, you’re a bouba. No exceptions.10 -
Had to work on a group project for class that had been created by students 3 years prior. This would have been fine if there was any sort of comments in the code, but there was not a single // to be found. Also, we were supposed to just know 3 different languages that we had not used before.
-
Well i need to get a laptop but i can't sort out what to buy.
I'll be using visual studio 2017 at uni and I'll be working with different IDEs for fine tuning my web skills.
I might use it for photo and videography related work and making models and mods for games...
I'm a pretty confused man who wants to try everything to get a taste ....
What do you guys suggest?
// No Macs please !2 -
!rant
C++ / OOP QUESTION
I have a uni assignment / project (Data Structures class), where I have to implement the ins-n-outs of 1D arrays, by creating a dynamically allocated array class, which can accept any type of data (using templates). But there's a problem.
I'd like to implement sorting the elements of the array. But given the fact, that I'm using templates, I cannot treat the elements as integers, nor as strings, or other types...
Also, let's say that the elements of the array are elements of class T, where T looks like this:
class T {
private:
double height;
int age;
string name;
public:
double getH() { return height; }
int getAge() { return age; }
string getName() { return name; }
};
(It's just a random example, pls don't judge for code quality...)
Let's say that I'd like to sort the T elements based on height, print out, sort by age, print out, then sort by name and print out. How can I do this? Is this possible?5 -
Now I've seen them all. Ticketing through OneNote. Each email was manually categorized by priority. They got around 20 emails per day. The responses, both from them and from the customers were one below the other, in sort of a forum model. Cool, not taking any more freelance jobs anymore. The money definitely doesn't make up for the amount of stupidity you come across with some people.
-
I have started a freelance full-stack project with some existing code-base and it was horrible. They only have API endpoints for fetching whole data. No limit, No sort, No filter. They are doing all this shit on the front end. They are even aggregating data on the front end. Seriously who the fuck does that? On top of that the guy who has coded it was a senior developer. I am wondering now, did he write that kind of code purposefully or this kind of shitty devs actually exists?2
-
Has anyone had an actual career (something you could support yourself/family on for the span of your life) before development? Curious as to how people got into development.
An example is I have a colleague who was some sort of construction supervisor and managed to get into development someone.6 -
been looking to integrate some sort of new thing with a raspberry pi because I'm bored. I was thinking about trying out LoRa transceivers but it would be a waste of money because I don't know what I would use it for. I have some knowledge of servers and such but I don't have any ideas on what to use a RPI for. any ideas?4
-
Isotope.js is an awesome jquery plugin for anyone looking to sort, filter, or search for items (html elements with specific class or attr)1
-
I have a question for the freelancers out there. When getting work, do you usually go through some sort of vetting process from the person or group hiring you? It seems that the company I work for doesn't do anything if the sort and I want to know if that is something a company should do.1
-
Where should i go to get started with some sort of testing for my expressjs apps ?
I'm a complete testing noob1 -
Do people have a favorite site for dev clothing? I want to get some sort of a python t-shirt for my younger sibling. Simple google searches aren’t doing the trick for me...1
-
Every time I look up a tutorial, a guide, some sort of documentation on something that's new to me, and all I can find is written with the implication that you already have a level of understanding on this thing. It's new to me, I don't have that. Instantly questioning whether or not I'm cut out for this.2
-
If your manager asks you to write a raw algorithm based on raw data in order to properly structure, sort and filter that data, how long do you take on average to complete said task?
Example:
Here's a text file with a bunch of continuous data like: john doe 5555 my street 123 karen wiscott 12347 her street 22 peter wright
..and then you first have to start identifying boundaries for each data entry (which is a task on its own, with comparators and shit), solve its bugs.. then you have to make sure it's properly getting sorted.. sort those bugs.. Yeah, it just takes a long time for me to figure all that out.
It takes me 4-5 days on average since I'm a junior but managers expect it to only take 1-4 hours.. madness..4 -
Looking for help for my daughter who is an American exchange student in Germany struggling to learn to code Java in a classroom that only speaks German. She is using Java-Editor for her assignments but doesn’t know how to translate English-based tutorials into German. Like, what’s the German word for “properties” for finding the properties tab in the UI? That sort of thing. Is there an English to German glossary, or better yet a way to switch the UI to English?
I don’t speak German but I do code, so trying to help her is difficult.
Thanks for any help.6 -
An easily extendable voice activated AI. Basically a personal assistant made for programmers that can be extended to meet their personal needs. Sort if like the echo, but you have a more accessible API.2
-
Is the grouprant broken for anyone else? Question and tag never seem to match for me, for example, this week it says "Tips for staying productive" / "Add tag 'wk247' to your rant", but it is linked to https://devrant.com/search/..., which is obviously a different topic.1
-
Question for intellij idea users:
Does anyone know of a plugin which would allow me to customize order of folders in my project view?
Now all modules are sorted by alphabetical order and I want to sort them by app logic.
I already tried Armory https://plugins.jetbrains.com/plugi... which seems to do everything I need, but after restarting IDE the folder order is not being saved properly.3 -
Wednesdays. The day we get every single dev in a meeting room, and get everyone to explain what the fuck they are working on and what sort of issues they are having. Regardless of whether you'll ever see that site or not. Can't think of a bigger fucking waste of time.... ....meetings for the sake of meetings.... PISS OFF!!1
-
Man, I sort of hate when a new colleague enters the company’s GitHub org with a newly created GitHub account only for that job. I mean, I get it, but what’s the purpose of ‘an account’ if you’re going to have 10 or so accounts with all your work, stars, badges, contacts scattered all over them. Just have one, where we can actually get to know you as a fellow dev.5
-
Anyone here from Europe????? :D
JK
I just need a good bank here, with benefits, shoot me some best ones, also shoot me reference shits so you and I will have money :)!
If you want me to have some sort of crypto thing only, don't worry to shoot that on me too. I work for crypto company.8 -
So...I think I have a job now sort of...just signed my first big long-term gig as a consultant/dev for an US based startup, pay promises to be solid, the CEO seems to be shill and they'll pay me for hours worked with a relatively low minimum which is great because that freedom will allow me to continue my projects and dumb college assignments.
Let's hope neither of the two parties fuck it up. -
I thought today was a good day to look at how I will deal with database migrations for this node.js/sql-server application. I read up docs for a few migration frameworks but the ones I found seem to make things too complex.
I am tempted to just roll my own by storing a db version in a table, numbering .sql scripts in a folder and running all the higher numbered scripts when the application starts.
Anyone know is there any gold standard for this sort of thing or anything to watch out for?2 -
To all companies hiring can you stop expecting developers to know your language and actually acknowledge that the developer learnt the language then conducted the test for you? It also shows how quickly they can learn whilst developing the test.
I am honestly fed up of applying to jobs when companies do these sort of things. Been told to do this test in X language, so I have to research into this then get rejected at later stages.4 -
Once one my teachers asked me to write the code for insertion sort and mail her as she didn't know how to do it. OK, whatever. And then she asked me to send it as pdf or word file. I gave up.
-
Advice on great hardware for Linux kernel? I'm going to get myself a new laptop, my current one gave me great headaches due to the Realtek network card (no jeffing driver). I'd like to avoid this sort of things this time around: what should I get/avoid?2
-
Heyyy DevRant Fam! :D, hope everyone is doing very well today! i would love to get some input/advice from my fellow developer friends here today... so Milo has gotten himself into a sticky situation... So recently i had a little opportunity to get some mentor-ship or internship through a family friend, and im sooo excited but nervous at the same time.. i sometimes think to myself am i really 'good enough for such a position'?? but however since I've never really experienced this sort of work, whats their to lose? or is this a bad way too think about it? :D
so ladies and gents, I'm really interested in the stock market and that sort of finance, and i think id be a good fit to build tools for traders, if i cannot get into that sort of position, why not work back office and have more of a support role? I'm always very happy to work my way up as I'm highly motivated!, however in the case that i manage to get into such a position, I'd love to know, what sort of things do i need know to be able to land such a position? if you can give me any tips or advice id be extremely grateful! :D
If you have managed to get this far into my post, I'd love to say thank you so much! and i really apologize for rambling on... i generally always do that.... and also i want to say thank you so much for taking the time to read my question <3 really means a lot to me!
just quick note letting everyone know as a hobby project I'm building a little list app where i can save my favorite stock tickers/symbols into a list and see the price changes over time (through alphavantage's API) :D
Kind regards,
Milo <3 :-) -
So I got a mice, and arm for it and etc.
Figured out how to do some noise cancelling.
All good for some voice overs!
ON the downside I didn't realize how much smacking and noise I make just opening my mouth ... I'm like some sort of uncouth barbarian via audio.... not just video.3 -
On my free time I was looking for software where I could visualize the shape of the git graph to sort of reflect Git Flow. What I found was a bunch of git GUI's that list features that normal git already has:
- "undo local changes!"
- "squash commits!"
- "undo branch deletions!"
Da heck people actually pay for this?3 -
just wanted some help from you people..
if anyone knows some sort of Code Snippet Manager or Gists Manager.
I want to store my code snippets (public and private) with the following abilities:
1. Search the snippets
2. Tag the snippets
3. Code highlighting
4. Cloud Stored Snippets
5. Is free
I've found Cacher and Lepton but Cacher allows only Public snippets in the free version and Lepton lags search ability.
Anyone know a better client for this purpose?8 -
Oh, come on! Human Resource Machine, Three Sort, a single cycle away from the optimization challenge! What more do you want from me?
Also, I have already gotten the challenge completed for only using 34 commands. I'm increasing the number of commands greatly for the cycle challenge in order to avoid swapping.1 -
Best book/source for learning everything devops'y'/kubernetes?
(Given that I have some sort of experience in Dockers, hosting websites and know a fracture of aws archeticture, but lack in good "cloud" thinking skills, scalability, understanding costs for production applications, cluster size, etc...) -
Boss mentioned yesterday about me working with meteor angular, only have experience with meteor react, what sort of learning curve am I looking at?
I figure best to go with it for diversification -
old MATLAB versions are such a pain
I can't even check if a char array (sort of a string) contains another char array.
MATLAB is like a sports car for mathematics, but a broken wheel chair for actual programming...... -
Is there anyway I can get database design and algorithms of existing apps? Like the one that foodpanda riders use in which they tell their availability time for whole week. And then the app sorts them through out the calendar.
I know Its dumb to question this but for my university project I have a chat app that has operators who work 24 hrs. The operators needs to tell their availability of whole week and after submission i need an algorithm to sort all the operators to make sure everytime someone's online 24hrs 👀2 -
I was having a weird time playing manager because we had none. And the new one kind of sucks and it is too junior for the role. Acting as TL too and had almost no time to code or do PRs. And. Gee. Yesterday I went back to coding after a few months. And I found out that We have a team member that just shits all over the code. Tests that are invalid, basically testing nothing. Methods done apparently for no reason. It took me a good deal of time to sort things thru. And now I'm at a point where I can finally do some reviews. Long day today.1
-
Something annoying about the Node.JS and express stack: no way to globally catch errors using middleware.
I mean, you can try. There's even specific middleware designed for it. However, it only catches synchronous errors. So basically only controllers that don't fetch or upload any sort of data and just return some static view or whatever.
ASP.Net middleware chain is so much more robust :(5 -
sort of an update on my midterm project read my last rant to catch up.
Progress so far has been absolutely phenomenal I have a sign up and login page, a profile page, home page, and can post to the app now in real time. for my first time using Kotlin I'm insanely surprised at what I've accomplished so far.1 -
I think I may have just had a bit of an epiphany...
Algorithms and Data Structures are sort of like libraries and frameworks.
JS is probably the easiest example since npm has a lot of libraries.
For most cases, underscore.each and lodash.each $.each achieve pretty much the same thing except one maybe better in certain cases.
And data structures are sort of like Angular, React, Electron, ReactNative. Each has its own purpose or style and are good for solving certain types of problems?
So day-to-day you don't really care what Sort() algo you use.. unless you really need to perfoarmance tune it for a specific case.
And data structures, depending on the type of problem you have, one is easier to work/think about the problem in although not examply... Usually have to use a few of them at once.
How is this going to help me in interviews... I'm not sure... other than reconfirming that knowing specific implementations of Sort and Trees is usually BS... most of the time just need to know you should Sort or use a Tree... -
Colleague is programming/scripting for over 5 years now (that I know of), even attended Udacity programming nano-degree.
Yet, he still writes code/scripts without a single function. How the hell can we start any programming best practices, clean code, or making steps towards TDD with this sort of mentality.
And it's not just him, it feels like a death by thousands cuts as the small things add up. I know we're Ops and not Devs and some other colleagues are trying really hard to get their work on the next level but I see no hope for the team as the whole.4 -
is it bad to put your jsx in useState for react?
const = handleClick = (sort) => {
if(sort.props.id == 'default'){
setSort(<ArrowUpward id='up'/>)
}
else if(sort.props.id == 'up'){
setSort(<ArrowDownward id='down'/>)
}
else if(sort.props.id == 'down'){
setSort(<LineAxis id='default'/>)
}
}
the other alternative is using template logic which i think looks uglier, someone told me i did server side rendering in the browser2 -
I've been thinking about ways to improve my workflow for my personal projects.
I'm getting to grips with continuous integration and deployment etc, but I want to also automate, or at least semi automate my changeling generation.
I don't like using any sort of gitlog shenanigans, and I quite like the girls way of doing it.
I.e you run a script which generates a yaml file with your changeling info in, and then all the files are written into the changelog.md file.
How do you guys handle the generation of your changelings?3 -
I'm currently applying for an engineer role. The role is reasonably agnostic regarding specific skills which suits me well because I have a wide base and I like diversity, however they have said they are after more Java developers. Whilst I have programmed in Java and worked on Java projects I wouldn't claim any proficiency beyond amateur.
What sort of things should I really know about if the tech interview brings up Java questions? I'm not expecting them to but it would be foolish not to prepare for that eventuality. -
I was trying to do something in this automation program. I was looking through forums and someone posted a python script that did something sort of similar. I was reading that and thought "hold on a second, this sort of makes sense. if I change this..." and then I changed it and it did what I wanted. Up until that moment I thought programming was for galaxy brains only and never considered getting into it
-
@dfox The feed button on web frontpage is sort of invisible up in the corner. Expected place for "read without the app" is below the app symbols (in my mind). Also "Get the app to +1, post and comment" seems like an outdated remark(?)
Is there a better place for suggestions and general nitpicking btw? :) -
TL;DR Is there a hackerrank for Oracle PL/SQL?
At my work, we do not get raises, we only get promotions. Promotions are applied for, and then interviewed for. Highest score (plus maybe some managerial bias) wins.
33% of the questions revolve around PL/SQL (and just Oracle DB in general) and the better you explain yourself, the better you score.
Tutorials just don't do it for me. They're boring. I want something interactive. While it doesn't need to be competitive and challenging like hackerrank, I'm looking for something gamified like hackerrank where I can see other people and learn the technology intimately so I can climb the ranks at my company faster.
Does anyone know of something sort of along the lines? All suggestions appreciated.4 -
So, I've a side project for some sort of touristic blog, it will have some special graphic customization (interactive maps and other things) and I'm not sure if deploying a WordPress and creating some plugins for the customization or start a website from scratch, I've googled a little bit the pros and cons of WordPress because I've never used it but I'm still not really sure
-
For some reason I always have a hard time mentally mapping "asc/desc" to dates. I think of stairs and mentally map the dates to unicode timestamps. Am I the only one? Sort descending by date is newest first, btw6
-
Only one, they gave me an example of a tiny service from their system to see how I would solve their problem as for the rest are about right a sort algo, find x from y, lame old questions .....
-
so it appears for the immediate future I'm stuck working a good enough to pay the bills with a little left over helpdesk job until I find some sort of junior or associate dev gig.
I graduated this past spring and had to take something, so in the meantime, advice on how to land the first get my foot in the door actually programming gig?6 -
Hey, I'm looking for a tool to emulate multiple, maybe around 100 browser clients at the same time, having open the same page at the same time. Every single instance would need a separate IP (VPN/proxy). It should also be sort of ressource friendly(not 100chrome windows/tabs)
Anyone got suggestions on a tool I could use? thanks6 -
We create home automation S/W and have it installed in the workplace.
For some reason the lights in the Help Desk/Testing department didn't turn on this morning. At the time our lead engineer was there too.
Rather then try sort it out themselves, they called R&D and got us to check the issue out. Turns out the lighting had been tripped over the weekend when the maintenance department was doing some work.
As we were investigating the issue they were just talking about their weekend so could of easily investigated it themselves! -
!Rant
New to the whole front end world so pardon me for such a question.
I have a huge set of data about 5-10k records flowing in which needs to be displayed in a tabular form with sorting, filtering, selection addition and deletion.
Is it wise to sort and filter in the front end? Or make multiple calls to backend and perform the operations there?
If in front end what is the best way to perform these operations?
The application is going to be loaded on a screen and left there for users to view. So even local storage could be am option.
Using polymer for frontend so any special tool for this in polymer?3 -
suggestion?
Maybe we can have some sort of weekly rantcast podcast (maybe with @dfox hosting it or something through Google Hangouts) where we talk about certain topics and let a group of ranters take the word or something. Not sure if anyone would be interested or would listen to it but it sounded like a good idea to me (it would also grant the ability for people who don't live in NYC or in the US to kind of meet other ranters more personally and stuff like that)
Thoughts on this?3 -
Hypothetically, your parents partly own a company. They ask you to do some technical stuff for this company (They think its easy, but technically speaking its not. IT isnt magic), but you've got a graduate school, an unfinished research proposal, and a day job with deadlines to deal with. You still do it anyway. Do you have a right for some sort of compensation? Do you have the right to reject?12
-
Just got myself acquainted with a senior gamedev dude in some unnamed startup studio that just got recently funded by some unnamed gigantic -company-that-makes-billions-of-bux. We were shooting darts and enjoying some booze when they let me know that they are in immediate need of devs for their company.
Goddamnit. Why is this sort of shit always happen when I am working already? Not that I'm complaining about my current work (it's still awesome, job-wise and pay-wise), but working in games, and all the bullshit associated with it, is still a dream for me, and most devs I know.1 -
I have installed elementary os . Actually it is the dual boot . I installed win10 as primary os and elementary as secondary .every thing is working fine but if I installed any package in terminal means it throws error .
Error "e: unble to locate the package "
I just googled it but it shows for Ubuntu . Not for elementary . Elementary os has launched this year. So help me out to sort this issue20 -
Irony
Even the black folks when faced with the problem.of wanting a better life for themselves apparently embraced the mindset of the fucking confederacy in a scenario where the untenable system or seemingly so of economics we embrace as a globe turned out not to work
They just tried to make more people like they were to keep themselves better off
Pig In a suit sort of deal1 -
Tried online assessment for position as SD. Gosh I suck on algorithms. I understand scenarios, but don't know how to write even basic sort. Anyway. This was good experience to open my eyes, what to taught myself.
-
Now that we have GitHub Copilot, what happens if during an interview, I am asked to implement a sorting algorithm, say merge sort. If I guide the AI to do it for me, does this count as cheating? How will you feel as an interviewer?2
-
Weeeee for machines with superficial attributes making them look like people !
KAGOME KAGOME
https://youtube.com/watch/...
theres some of that uniqueness as it applies to logic.
logic dictates a system only works if the people who are part of it want it to work as it should, not to their own agendas which make it not work just have the superficial appearance of working which makes it not the intended system.
but still a system of some sort.1 -
Darn xml config file for a dll wouldn't load.
1) Searching Stackoverflow which says that only configs for exe files are loaded. Problem found and time to send bug report? Nah, better check source code first.
2) Downloading and reading the source for the dll. Nope, dll should explicitly load config file and read settings. Time to send problem report to author? Nah, better to test in greater isolation first.
3) Setting up isolated test. About to copy the LibName.dll.config.xml and WHAT? Note to self: You half witted twat, the file contents is XML, the bloody file extension isn't!
Now apply this sort of typo error to program code, and you will see why I use statically typed languages. -
Business team has been chasing an issue with a report we generate, which I've sort of been dragged into because I worked on a loader for data they need.
Another guy is responsible though for the report and they had a meeting with user to iron out it last week...
I would expect the guy to ask me for guidance, essentially needs to rewrite it duplicate the loader but haven't heard a peep from him...
I guess I'll let him deal with his own shit and extricate myself from their discussion -
It's all about asking the right question...
Original question that has had me stuck for years: "How do you load landscape images as landscape and not portrait? (some sort of default, always loads it with the longer dimension vertically).
A new insight that I got today while using one of these apps: "How can I rotate an image after it's loaded?"
Very easy apparently...
As long as you keep track of the current angle, just reload and set a Rotation property to (current + 90) % 360...1 -
I read the whole documentation of Mongo Atlas Search and I still don't know if there is operator "greater than" for strings. I'm trying to implement my own "search_after" in the query because sort+skip is not a good idea and every time I google for a feature I end up in a forum where a PM says "Coming soon, we will prioritize this" and I know that things don't work like that1
-
(sort of rant but not totally)
so I am using Directus for headless cms and I'm always looking around for other options such as Contentful, but the problem with Contentful is that it is hella expensive in my opinion (249$/month at least after you exceed the free tier with limited capabilities)
So the real question is, do you guys know of any other Headless CMS? -
Ok so, i have no idea where i can ask this kinda thing so i'm asking it here (i know i could do like stackexchange or dead aws discord servers, ... nvm you know why i'm not going that route).
Anyways,
I'm looking for a comparison between a mongo+node setup on a basic t1.micro instance and a lambda+dynamodb setup.
Each one has it's perks obviously but i guess i sorta prefer whichever one gives best performance on the free tier.
I do know dynamo has 25 reads and 25 writes a second on the free tier, which might be a little less ? I really have no clue.
But how many writes/reads would a basic mongo setup be able to achieve on the t1.micro instance ? Any idea? Do share your experiences with these architectures as well. I'm sort of a newb with serverless, the downsides aren't worth it for me but I'm learning it nevertheless. It sorta tickles some sort of self-torture curiosity fetish (need more self-research to back that).10 -
Why the fuck doesn't Docker mount a volume unless the container is privileged? My host is not even Linux. What sort of privilege does a Linux container obtain on Windows when executed with --privileged?
If I was ten years younger I'd start writing my own wrapper for CIFS... Too old to care these days... Gen Z kids can find a way to run a privileged Docker container on AKS for me.1 -
Hey guys,
are there any style guides for app development out there? As a backend developer I do not have much experience on how to position UI elements so that it looks harmonic and natural. So what I am looking for is basically some sort of a "best practices book", with design/UI problems and possible solutions to it. Can you guys recommend anything?4 -
I wish sophos had some sort of out of the box mode for development which avoided slowing down IDEs and build servers1
-
Does anyone know a good way to retrieve back the indexes of elements in the unsorted list after sorting that list in python?
Let's say for example I want to find the largest element in a list, so I sort it and find the last element(as it will be the largest), now I want to retrieve its original position in the unsorted list.9 -
Last question for today, I promise…
For my side project, I plan on saving a URL and an array of strings associated with that URL. I want to be able to search and sort the resulting DB from a frontend without needing complicated queries. Is this the use case for a key-value pair DB? Let me know if I’m not clear and thanks!14 -
Despite already having a few years of professional experience dealing with Linux servers, I still, to this day, confuse, which environment file gets sourced and when...
There's /etc/profile, /etc/bashrc, ~/.bash_profile, ~/.profile, ~/.bashrc
I think it's... Bashrc for interactive shells, profile for login shells.
But then I have examples like "ssh user@server 'echo $var'" that... Don't source any of the files!
You can enable user environment files for SSH that get sourced whenever a user logs on through SSH (~/.ssh/environment / environment specified for a key in ~/.ssh/authorized_keys)
Is there some sort of master environment file that gets sourced *every* time, no matter what kind of shell starts?1 -
People of DevRant who are involved in recruitment.
Eventually I want to look for a new job as a "proper" developer.
I've just started the 2nd level/year of my OU degree and I'll be working on that for another few years.
I won't start looking seriously until after covid etc and the economy has calmed down a bit.
What sort of projects do you recommend someone trying to get their foot in the door should have on their portfolio?
Should it be fully fledged applications like a big tracker/help desk or smaller projects which showcase knowledge of a particular subject e.g. programs that show knowledge of different algorithms etc?5 -
Insider tips and tricks for a PhD, if we have grad students of any sort here. Literally anything at all. I'm enthusiastic but not naively so (I like to think), so let's learn stuff from the vets.1
-
I want to create an open source sort of clone of Facebook but privacy minded.. I deleted mine a few weeks ago because of the massive amount of datacollection. I mean, talking on messenger about shoes for example, then going on fb to see shoe commercials. I mean, fck that man.. you can change some settings but nothing in regards to this. This go beyond my limit of privacy.9
-
So though I SORT of understand this when you're talking a server for example, one 'feature' of linux I really don't like is when a bogus entry in fstab causes the whole machine to boot into emergency mode without so much as an error message !
-
Maybe if I try to have a conversation with someone I won’t immediately regret it
You know just for something to keep me busy or something new ., sort of
They’re pretty boring creepy and empty headed -
!=rant
So, my company wants to use MadCap Flare to build our help center. This project is a nightmare so far. I've been trying to push for some better alternatives for down the road. Any recommendations? Preferably a
Some sort of free open source framework. I've seen a couple of developer friendly CMS frameworks pop up lately but just want to get a consensus from my good devrant ppls. -
Is their a better way than ASP Identity Claims to verify permissions before accessing a page? Refreshing claims in every page load doesn’t seem to be a great solution. Thinking about some sort of permissions middleware. I need to check those IsAdmin roles before any admin area data is accessed. What techniques are you using for authorization in your code base?3
-
Quick question. I'm currently working on a project that requires extensive activity logging. What do you recommend for some sort of monitoring and logging of user access on a Linux box?
Big thanks in advance. <34