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 - "sets"
-
My coworker left his Windows 10 system unlocked today.
Me:
1. Print screen on desktop
2. Saves the image
3. Sets image as wallpaper
4. Hides desktop icons
5. Changes taskbar alignment to the right and enables auto hide.
6. 🤣🤣🤣37 -
This was during the first day of my first real dev job, straight out of college. I didn’t have have much experience with version control since I did mostly solo projects in college, and I wasn’t exposed to SVN or Git in school at all.
One of the senior devs was going to give me and another new guy a brief overview of the codebase. He sets us up with the GitHub repo for the codebase and tells us to clone the codebase locally. I didn’t really know what this meant but I felt kind of embarrassed to ask, so I just clicked “download as zip” on The GitHub repo.
After a minute he saw what I had done and was like “yeah, that’s not what you want to do” and showed me how to clone it. I was kind of embarrassed but I learned Git pretty quickly after that.
I don’t really have a moral to this story except that “no question is a stupid one” is much easier said than done for many people, and it can be embarrassing to ask certain questions sometimes.6 -
This is when writing a script that sets up your dev environment pays off...
Having 6 new employees join our startup. The script installs pretty much all dev tools and apps as well as sets up the device management profiles. 😎24 -
*Admin leaves his computer unlocked*
1. Takes a desktop screenshot and flips it and sets it as background.
2. Disables right click.
3. Hides taskbar.
4. Flips the screen.
5. Connects keyboard to another computer close by with screen off.
6. Has the time of the week.
*Hopefully, there is no revenge 😁*8 -
Me: Optimize a sort & match method in backend because users complain it's a bit slow.
Coworker: These algorithms are both O(n), so they're identical *closes PR*
Me: *start zoom call* "Heeeeeeeeeey Iiiiiiiiiii wouuuuuuuld liiiiiiiiike toooooo diiiiiisscuuuuus thaaaaaaaat puuuuuuulllll reeeeeequuuueeest yooooouuuuu cloooooossseeeed"
Coworker: "wtf are you doing, why are you talking so slow"
Me: "No matter whether I talk fast or slow, the information still reaches you in O(n) time, so why are you complaining"
I fucking hate it when people misunderstand the purpose of (or abuse) big O notation. It's an estimate of how an algorithm SCALES once the set increases in size, in which case you leave out both less significant terms and constant factors.
But those terms and factors are important when you're talking about the DIRECT PERFORMANCE of the algorithm on fixed-size sets, instead of SCALING to larger sets.
1n and 10n are both O(n), but 10x performance on a job that used to take 10 minutes is still significant.19 -
I believe by the time Elon Musk sets up a colony on Mars, npm will be done installing those fucking dependencies.10
-
My guess is that The Sun Never Sets on devRant. Is that true? How many countries and continents do we have members represented in?167
-
*buys VPN*
*Installs VPN*
*Opens VPN*
*Sets VPN to france*
*Start receiving french ads*
Sure why not lol7 -
Manager: THE SERVER IS DOWN THE SERVER IS DOWN!!!!
Dev: Ok I’ll look into it
*5 mins later
Dev: Wow these are really strange logs, it’s like config values are being changed all over the place while I’m looking at it
Manager: Well I figured while you were looking into it I’d go i to the server settings and change everything I could find in order to try and get the server back up again. Two sets of hands are better than one, Is it up yet???
Dev: …No.
Manager: I THOUGT YOU SAID YOU’D LOOK INTO THIS. I NEED ANSWERS NOW. WHAT IS TAKING SO LONG?!?!?
Dev: …13 -
Holy fucking hell!
Who the fuck sets up a local network with an 255.255.0.0 subnet mask and then lets the dhcp-server distribute clients onto the 192.249.x.x., 192.2.x.x and the 192.22.x.x networks AT FUCKING RANDOM???
I need to SSH onto 40 routers distributed across the entire campus and have a WORKING internet connection while doing so and you make me spin the connect-disconnect-wheel. Fucking hell dude, don't give me that "Uh, it wasn't intended for this size"-bullshit. You have about 200 active devices. And in one subnet you have space for more than 60 000. Fuck you, dumbass! OH, YOUR FUCKING LIST IS FUCKING WRONG AND YOU DON'T REMEMBER THE IP OF THE ROUTERS? OH FUCK YOU EVEN HARDER!!!
Goddamn people why does legacy maintenance always suck so much?😭😭😭4 -
*during my final job interview*
*holding the folder that contains my cv*
interviewer: Wait, before I open this I would like to guess which position you're applying to.
me: Hmm okay sir? Which position?
interviewer: I see you're applying as a back-end developer?
me: Yes sir, I am.
interviewer: Aha! That's because you have a long hair? Like it is a requirement for every devs to grow their hair?
me: *laughs* i think so?
interviewer: Well our devs here also has long hair. You'll meet 'em soon.
...
That sets the mood of my interviewing process that leads me the job offer. LOL.13 -
I have to let it out. It's been brewing for years now.
Why does MySQL still exist?
Really, WHY?!
It was lousy as hell 8 years ago, and since then it hasn't changed one bit. Why do people use it?
First off, it doesn't conform to standards, allowing you to aggregate without explicitly grouping, in which case you get god knows what type of shit in there, and then everybody asks why the numbers are so weird.
Second... it's $(CURRENT_YEAR) for fucks sake! This is the time of large data sets and complex requirements from those data sets. Just an hour through SO will show you dozens of poor people trying to do with MySQL what MySQL just can't do because it's stupid.
Recursion? 4 lines in any other large RDBMS, and tough luck in MySQL. So what next? Are you supposed to use Lemograph alongside MySQL just because you don't know that PostgreSQL is free and super fast?
Window functions to mix rows and do neat stuff? Naaah, who the hell needs that, right? Who needs to find the products ordered by the customer with the biggest order anyway? Oh you need that actually? Well you should write 3-4 queries, nest them in an incredibly fucked up way, summon a demon and feed it the first menstrual blood of your virgin daughter.
There used to be some excuses in the past "but but but, shared hosting only has MySQL". Which was wrong by the way. This was true only for big hosting names, and for people who didn't bother searching for alternatives. And now it's even better, since VPS and PaaS solutions are now available at prices lower than shared hosting, which give you better speed, performance and stability than shared hosting ever did.
"But but but Wordpress uses MySQL" - well then kill it! There are other platforms out there, that aren't just outrageously horrible on the inside and outside. Wordpress is crap, and work on it pays crap. Learn Laravel, Symfony, Zend, or even Drupal. You'll be able to create much more value than those shitty Wordpress sites that nobody ever visits or pay money on.
"But but but my client wants some static pages presented beside their online shop" - so why use Wordpress then? Static pages are static pages. Whip up a basic MVC set-up in literally any framework out there, avoid MySQL, include a basic ACL package for that framework, create a controller where you add a CKEditor to edit page content, and stick a nice template from themeforest for that page and be done with that shit! Save the mock-up for later use if you do that stuff often. Or if you're lazy to even do that, then take up Drupal.
But sure, this is going a bit over the scope. I actually don't care where you insert content for your few pages. It can be a JSON file for all I care. But if I catch you doing an e-commerce solution, or anything else than just text storage, on MySQL, I'll literally start re-assessing your ability to think rationally.11 -
Second semester
Java - OOP Course
We had to write a game, an arkanoid clone
Neat shit
And a fun course, mad respect to the Prof.
BUT
Most students, including me had this ONE bug where the ball would randomly go out of the wall boundaries for no clear reason.
A month passed, sleepless nights, no traces.
Two months later. Same shit. Grades going down (HW grades) because it became more and more common, yet impossible to track down.
3 months later, we had to submit the HW for the last time which included features like custom level sets, custom blocks and custom layouts.
So before we submit the game for review, they had pre-defined level sets that we had to include for testing sake.
I loaded that.
The bug is back.
But
REPRODUCIBLE.
OMG.
So I started setting up breakpoints.
And guess what the issue was.
FLOATING FUCKING POINT NUMBERS
(Basically the calculations were not as expected)
Changing to Ints did it's job and the bug was officially terminated.
Most satisfying night yet.
Always check your float number calculations as it's never always what you expect.
Lesson learned, use Ints whenever possible.18 -
*sets up BIND DNS server*
Domain name system..? Domain? As if it wants me to know my place on the internet?!! THAT'S SO OFFENSIVE!!! Change the name right now!!!
BIND? For real, a BDSM reference?! How sexualizing can you white cis males be?!! SO OFFENSIVE!!!
In the /etc/bind/named.conf.local I have to fill in a master type? MASTER??
🅼🅰🆂🆃🅴🆁???
🆂🅾 🅳🅰🅼🅽 🅾🅵🅵🅴🅽🆂🅸🅱🅴
Clearly technology is part of the patriarchy. I can't use DNS like this. Now where's my contributor's covenant?!19 -
*Downloading a linux iso (distrohopping YAY) because the download stopped last night*
*200kbs instead of the 5mbs last night*
*sets up a subdomain for downloading iso's*
*enables SSL*
*downloads the iso to my server*
*copies the iso to the directory of the iso subdomain*
*starts downloading the iso from the server*
5mbs YAY
I am weird 😆11 -
*looks at data in database*
This float column seems wierd. The fractional parts are never above .59
*reality sets in*
Wtf the previous devs encoded whole minutes as hundredths. 1.25 = 1h 25 minutes.
Fuck me...no wonder the numbers weren't adding up correctly.7 -
(The PM is pretty technical)
One day:
Me: Could you create this subdomain?
PM: Sure, just a sec.
Me: Ohh and could you add a letsencrypt cert? (one click thingy)
PM: Why would you need that on this kinda site...
Me: Well in general for security...
PM: Nahh.
*walks away*
Next day:
(referring to my internship manager/guider as Bob)
Bob: Hey... we have a new subdomain!
Me: Yup!
Bob: Wait why is there no letsencrypt certificate installed...?!?
Me: Well, the PM didn't find that neccesary...
Bob: (Oo) of course it is... are we going for security by default or what?
Me: Yup agreed.
Bob: *creates cert and sets everything up in under a minute*
It wasn't a high profile site (tiny side project) but why not add SSL when you can for free?8 -
Management:
"We're gonna make our own builder that sets up pre configured files.
So we are gonna get rid again of GIT, because with our system you shouldnt be working over each others files if you keep out of other peoples files."
So they basically are saying, we are going back to no version control because you should all keep to the honor system because our system is better.
I'm fucking leaving...
And possibly leaving a poison pill to boot12 -
The exact moment when I understood what programming actually was.
I was getting hard times at my 3rd college grade, trying to implement the recursive sudoku solver in python. Teacher spent a lot of time trying to explain me things like referential transparency, recursion and returning the new value instead of modifying the old one and everything related. I just couldn't get it.
I was one of the least productive students, i couldn't even understand merge sort.
I was struggling with for loops and indexes, and then suddenly something clicked in my head, like someone flipped a switch, and i understood everything i was explained, all at once. It was like enlightenment, like pure magic.
I had sudoku solver implemented by the end of the lecture. Linked list, hash map, sets, social graphs, i got all of these implemented later, it wasn't a problem anymore. I later got an A for my diploma.
Thank you @dementiy, you were the reason for my career to blast off.7 -
"I should really make better offsite backups"
"Right, this service doesn't do client side encryption"
"Oh this one doesn't have a Linux client"
"OK this one only sets up a single directory you can dump shit into"
"Wtf this one charges more than a high class escort girl"
Whatever... I'm sure my house won't burn down.15 -
Programmer's son asks his father:
Dad, why do the sun rises on the east and sets on the west ?
Father: It works ! Do not dare to touch it.4 -
It's funny to see when certain stuff works without realizing it.
I've got multiple vpn servers and whenever I connect to one it sets my DNS to my pihole's one (hosted on one of my dedicated servers).
I keep forgetting to change my search engine to duckduckgo and no matter what I search for, no page is/was loading and manually have/had to go to duckduckgo.
Then I suddenly realized: the pihole has blacklisted Google so I literally can't connect to google.com/nl!
Awesome 😊56 -
I'm so grateful DevOps is now a thing. I remember getting a phone call from a client at 2am on a Friday because their site was down and having to ssh in from a Nokia with the world's tiniest keyboard to reboot the server.
Of course that particular server only exposed port 22 on it's local network, so I had to first ssh into another server which did have its ssh port open to external connections.
Trying to remember two sets of credentials and type them in on a tiny keyboard, while so drunk you were seeing double, standing outside in the rain as it was the only place you got signal. Yeah…I'm so grateful DevOps is now a thing7 -
Update - The 'devRant trans-oceanic 21st century message in a bottle' community project is progressing nicely.
There is terrific research being done by the team in a slack channel. It is a great fun learning experience.
We have taken the 2000 year old message in a bottle concept and are breaking new ground leveraging very cool technology. We are still in phase 1 but at a high level devRant's much coveted stress ball will cross the Atlantic Ocean in a bottle type encasing.
We will use satellite tracking and gps to track devie throughout the journey. We will use Arduino or a similar microprocessor. We may use sensors and gyros to monitor the surrounding environment for temperature and depth.
We are also studying ocean currents, shipping lanes, weather data and bottle materials to make the journey as smooth as possible.
This is an official devRant sponsored project. We encourage you and any dev friends to join the conversation. Below is a link to the original rant which has the Slack channel info.
The sun never sets on devRant and we love intriguing projects!
https://www.devrant.io/rants/3030148 -
Computer Science is a mysterious world of three kinds of devs, irrespective of what background/profile/language they had/worked in.
The ones at the top, who keep doing crazy shit in big companies or open-source and keep adding material to the unstoppable code flowing. These constitute 5% of the dev community.
The ones at the bottom are the newbies who try to become masters/ninjas of programming by following the shit on the internet but don't understand logic or how things work. This is like 75% of dev community on the web. If you don't agree to that percentage, you don't know the number of students and non-CS people trying to code. I can see hundreds of classmates/colleagues with no understanding of basic Javascript concepts but introducing themselves as a software developer and ruler of the Web.
The remaining 15% in the middle are the "experienced" fellows who keep building shit to get to the top 5%. They work on enterprise/commercial software until the next upgrade and while the wallets keep getting fatter, they don't actually contribute to the community.
This is the part where I want people to understand the power of a dev.
What sets apart programmers/devs from other engineers:
while everyone else is busy solving the current issues/requirements of the world, we devs are the ones who 'build'.
With a right motive, a developer can solve in-numerous problems of the society, be it education, poverty or unemployment.
An experiment by Lee to put data on the web created a world of unforeseeable opportunities.
Hope to see more of Musks and less of Zuckerbergs in the future.9 -
New programming language alarm!
The V Language sets the goal to compete with Rust and Go. It's main advantage is appearantly it's efficiency and speed. You can build a basic web server with only 65kb file size.
https://vlang.io26 -
This spring I was working on a library for an algorithm class at uni with some friends and one of the algorithm was extremely slow, we were using Python to study graphs of roads on a map and a medium example took about 6-7h of commission to finish (I never actually waited for so long, so maybe more).
I got so pissed of for that code that I left the lab and went to eat. Once I got back I rewrote just the god-damned data structure we were using and the time got down to 300ms. Milliseconds!
Lessons learned:
- If you're pissed go take a walk and when you'll come back it will be much easier;
- Don't generalize to much a library, the data structure I write before was optimized for a different kind of usage and complete garbage for that last one;
- Never fucking use frozen sets in Python unless you really need them, they're so fricking slow!3 -
1. Scripting out a team. I've built a collection of bash scripts to do what one of our teams does. Except the script does it in 30min and always does it well where that team used to take 4 to 10 hours and almost always missed something in the way.
2. Automate 70-80% of our BAU tasks with a single >4k loc bash script. Integrations with servicenow, lots of internal portals, predefined huge sets of commands to run on separate servers or lists of servers, do all sorts of diagnostics, schedule hw maintenance for DC folks, chase for approvals, track CHNG/CTSK tickets in a graphical chart so we would not miss any of them and lots lots more.
Finally we were able to afford time to make some coffee/tea.
These are the bau optimizations I'm proud of the most. And they have made significant impact on how our teams operate.
Whoever recognizes both company values in the tags and know what is that company - are they still using ´S´ in unix team? :)1 -
I just found a game (have not played it yet) that I think everyone here will cream over.
It's an insanely detailed hardware/ low level/ make-your-own-computer game.
I watched the trailer and it sets you up by teaching you logic gates and basic circuitry.
Then, it eventually teaches you how to build your own computer using these gates.
Then, you start creating your own assembly language using the computer you made.
Then, you use your computer to solve problems like sending a robot through a maze or just building snake on a display.
Absolutely check it out, it's on sale for $13 USD. I just bought it. Turing Complete on Steam.10 -
Obligatory DevRant sticker post. Cheers from Bulgaria, bowl of shkembe to scale.
I got 2 sets (one for free).
Now I need a place to stick'em.18 -
I posted a "Periodic Table of Human Intellect" I created today, and thought it was worth sharing.
Ages:
0-14 = Dumb as fuck.
15-21 = Learning useless shit.
22-28 = Claiming to know everything. *
29-35 = Reality sets in.
36-48 = Fuuuuuuuuu...
48-59 = Deal with it and watch your step.
60+ = ¯\_(ツ)_/¯
Of course, I'm still in the process of testing the predicted results of 48+ - but, I'm looking forward to no longer giving even half a shit.
(* Based on everything useless that they've learned.)16 -
I've seen new sets of tired go for a like $400.
Fuck that shit man. And that's if you're lucky. What if it's some transmission shit? Then you're mad hurt.15 -
When installing windows 10 on a computer, it asks for your Microsoft account and then sets up the username with the first 5 letters of your email. My email starts with William, so my user name was willi. Thanks.8
-
* Sets up some software
"Alright, and now to start the database"
* types "sudo systemctl start po-"
* hits tab -> poweroff.target
* Enter
...fuck me
little did I know, the database was already started...4 -
You know what is at least equally hard as naming variables?
Finding fitting icons to button actions!
With some icons you rather confuse your users compared to using no icon at all.
Others may fit the button text but not the context in your use case.
And there are so many icon sets out there that you need to search for something and hope that you stumble upon a good one.5 -
I think Suicide Linux is a little heavy handed. Really? One mistake erases your hard drive? Please, let's make things interesting.
I would rather use Casino Linux.... try your luck. Any mistake sets a random single bit on your computer to 0. You could be lucky and it would set unused memory to 0, doing nothing. You could be an unlucky bastard and corrupt everything. You could be a super unlucky bastard and corrupt something important and only find out much, much too late.
I'm asking for $90,000 to start my business for 2% share of my company9 -
When you do something not part of your job but you were feeling nice today. Then it sets in that you just inherited that task. What have I done...3
-
Did you know? Microsoft added a new feature.
So if there is an IP conflict, our beloved Windows 10 doesn’t cry with an IP conflict error. Instead it sets an auto configured IP which doesn’t even connect to the network sending the user into confusion and a fit of rage.
Thanks Microsoft™7 -
Tl;dr; even password as simple as 123! Could be too dificult to use for unauth access. Even if you write it down for someone! Some minor HID config changes could be unbeatable for some people.
I always leave my lappy at the office and I leave it turned on and connected so I could connect to it from home if I really need to. The holiday is not an exception. I left it connected too.
Forba few weeks I was trying to connect to it from home to doublecheck xpra command I was using. Without any luck. The lappy was unreachable all this time :/
today some people came in the office. I reached out to one of them I trust the most to check on my lappy. And he says it's charger is unplugged. Fucking janitors...
I ask to plug it back in and turn it on. LUKS password prompt pops up. I send him the pw via sms along with a note that I'm using non-EN kbd layout. He confirms he'll manage.
20 minutes later he pings me "are you sure the pw is correct?". Yes it is! 5 more minutes later he pings me "... Is this how you type numbers and symbols with your layout?" nope, it's the other way around!
10 more minutes later he plugs in his own kbd, still fails. Sets up my layout in his lappy, spends a few minutes using it, plugs it back to my lappy and FINALLY enters the pw correctly.
Come on dude.. 😁2 -
Let's play a game!
The first person to figure out the password to this account before April 7th will get two sets of devRant stickers for free!
When you've got the password, log in to this account and @mention yourself to prove that you solved it!
Here are your clues:
7 4 12 e 8 18 5
7d 76 64 7a 42 5a 36 7d 3d 4b 36 7f 5b 40 3f 47 44 3d 6d 54 46 6a 61 4b 42 79 53 36 5e 75 5f 38 5c 4a 3d 60 42 55 6d 72 76 36 54 4a 2a12 -
Before production deployment: Everything is running well, all bugs are fixed, serenity sets in.
Production deployment day: Fire everywhere
goddamit we don't get a fucking break2 -
3 Days Group Project.
1. day (get into matter, collect ideas)
2. day (mate was sick and stayed home, I programmed our Java game from scratch 100%)
3. day (he comes again, gets my source code, changes games wallpaper and sets tick speed to 60 instead of 30.
He deletes my version on all presentation PCs because he thought his was "better")2 -
I am currently working on my Master's thesis in the R&D department of a company that builds&sells mechanical appliances. Obviously a part of the thesis is outlining the various approaches.
Me: * Headphones on, browsing competitor's website for citeable content*
*Le boss approaches, starts looking at my screen*
B: Are you honestly preferring their approach over ours?!
M: *sets down headphones* What dou you mean?
B: *Begins rant about unfair competitors, how I dare consider defecting to a competitor*
M: Uhm.. I was just looking for sources so that i coukd write about different approaches...
B: Oh. Carry on then. *leaves*
M: *scratches head, opens devRant, begins typing*1 -
Coding PHP that prints JS that prints HTML and hating myself and everyone who sets “requirements”.5
-
The pay was good. The perks were good too. Then why the hell did I resign? Because of my manager. You won't believe he never contributed to anything. In the past two months, he didn't write a single line of code.
You may say, "he is a manager. His work is to manage people". But what?? He never allows us to talk to anyone. Sets unexpected reality in the meeting. And our CEO (a good-hearted man and good software engineer, but does not know much about ML/AI) believes in him. We are working on a product which is a piece of shit. I tried to tell everyone the reality. He stopped me. Says since I don't have experience, I don't know what is possible.
What the hell??? With current talent and resources, you are saying AI will replace humans in call centers by the end of 2019. What the FUCK!!!! I tried to write a mail to the CEO, explaining him things. He threatened me. Said he will make me lose my job. So FUCK YOU!!!! FUCK YOU!!!!!
That is the reason I am resigning. He has another 11 months to fuck the company. But I am going to a place where things are real. People know the potential and challenges of AI and are doing their best. I know, eventually, everyone will know that he is a liar. A big fucking LIAR. And he will lose his job. Not because machines will take over. But good, talented human beings will replace him.8 -
Programming music:
scarlxrd - HeartAttack
https://soundcloud.com/scarlxrd/...
scarlxrd - BANE
https://soundcloud.com/scarlxrd/...
xxxtentacion - look at me! https://soundcloud.com/rojasonthebe...
xxxtentacion - #IMSippinTeaInYoHood
https://soundcloud.com/veronica-mar...
These 4 songs suffice me.
Sub-genre is TRAPMETAL11 -
How do you pronounce SQL?
"See for me, I just go my own way and pronounce it as ‘sqwool, or ‘sqwll’, which sometimes gets my coworkers (not db or programming people) calling it ‘Squirrel’. As such we have a custom written utility program which automates running certain SQL commands on various databases which is aptly named SQuirreL. Then we started to have fun with it: The ‘pre-defined’ sets of SQL are held in a ‘.nut’ file which you give to SQuirreL. When you want to see what scripts have been run, you check the SQuirrel’s .log to see what .nut files it has ‘eaten’. We thought about naming the log files .poop, but I felt that was too far. I know right now there’s people reading this cringing, but I say lighten up. My boss when presented with the tool, did not get ANY of the Squirrel/nut references… I mean the tool’s icon was a cartoon squirrel holding an acorn for crying out lout, but I digress.
So yeah, I call it Sqwll or Sqwool, but only when talking to people who don’t matter."
Source, in the comments: http://patorjk.com/blog/2012/...
I doubt this has ever been posted. =)8 -
I wonder whether this is a bug in Chrome, or if it's just Google drawing the conclusion from my northern geo-position, that we still haven't left the stage of building longships, raiding England and Scotland, burning monasteries and writing awesome poetry and literature in weird characters sets.
Well, I'm not Ragnarr f*cking Loðbrók or Egill Skallagrímsson, so I can't read electronic component data sheets the way those guys did.
I'll go grab my chisel, so I can carve a bug report into a suitably flat stone and shove it down the TCP/IP series of tubes leading to Google. -
Call me a child, but I still have a love for Lego. Lately, as I have been sorting my childhood collection into individual sets, I needed a way to track how many of each piece I've found for any given set, and started programming a tool that lets me pull Lego set inventories from the internet and keep track of the parts I've found.
This is the first time I've found a problem and built a program to solve it, and it feels so good! :D
(in case anyone is curious, I'm building it in Java as an Android app.)3 -
Anyone else developed a habit to structure verbal allday Argumentations in your head in Code syntax? Helps me alot to follow ones logic. Except when I'm arguing with my girlfriend. Sometimes setMood(angry) gets randomly called (bug?) and then every if statement seems to be valid, eventhough it should return false. An inputstream that contains my outputstream is initialized but .readLine() is never being called. Instead, the outputstream to my inputstream is being overly abused. Once we get dive deeper into our if-statement we will find a while loop with a mysterious flag. Noone knows it's origin. The while loop keeps printing out random concatenated strings until it overflows your own capacity. I would have said its while(true) but in fact there must be a timer in another very hidden thread or something that sets our flag to false. The other and only way I know to exit that loop is to call apology() 100 times (maybe a variable sets the boolean that could be deeply buried in her projectstructure like this CONST.VALUES.getMood().getRealMood().getTrueMood().TRUTHCONTAINER.angryMode=true)..
I wish I could get a stressball so I can continue theorycrafting and debugging. Its 4.30 am now, my better side is snoozing next to me. I bet making this a pseudocode would be fun.
Ps: I love my lady but I had to rent3 -
I am using this SDK and I came across a property "Orientation" of type int.
Why int? Is it an enum or something? Let's have a look into the online documentation...
"Gets or sets the orientation."
😣
Yeah, thanks. Very useful.
It's again that kind of documentation which simply restates the property name or method name. Who needs this?
So I tried to set the Orientation property to 1 to see what happens.
A runtime exception then told me that the only valid values are 0, 90, 180 and 270.
Well, this is kind of stupid but ok, I can live with that.
But ffs, put that info into the documentation, where it belongs!4 -
css quick maffs
so you did this:
.foo:hover {
transform: scale(1.1);
}
and now ugly scrollbar is there when the element is scaled.
No, don't do overflow: hidden. There's a better way. Instead, do this:
.container {
padding: 1rem;
box-sizing: border-box;
}
the element total width is calculated based on the width of its content. That's true unless you specified width and height explicitly (if you did so, you're a doofus, I'm sorry).
Scaling makes content somewhat larger. With border-box, paddings work differently with the total width.
By default, if you set width to say 100px, and paddings are 20px, total width will be 140px — it's your 100px of content plus two paddings of 20px. width property set the width of the content, not the total width.
With border-box, width property sets the total width. So if you set width to 100px and paddings to 20px, total width would be 100px, just like you set it, and content will be 60px wide — it's 100px minus 20px times two.
The key part is it doesn't end with explicit width. The algorithm remains. When some node is rendered, its total width is calculated. When you use border-box, the total width will stay the same even if your content grows by some value that is less than your paddings. So, your content was 100px, you scaled it, and it became 110px. Well, then that extra 10px will be subtracted from your paddings, and they will be 15px each instead of 20px.
No more ugly scroll bar. Yaaay!
aight bye8 -
Wtf is up with these fucking web devs, like I ask a simple fucking question, and its like I'm being interrogated for my inability to know everything at any given time...
Like I get it kyle, the only thing you hide better than your virginity is your code...
Fuck these bitter devs21 -
Fuck safari literally nothing does what it's supposed to do, I have a `document.getElementById('x').innerText = "hello there"` but it sets a totally different element to that text, this is apparently because of display: none although JS should NOT look at css wtf.
There's a whole bunch of these issues but I won't rant about them until I've solved them so I can fully explore the depth of stupidity in safari. If you work for apple and developed WebCore or WebKit, I'm sorry but I hate you and you would be better off shipping with lynx.3 -
Me in the Gym 😃😉😀
weights = [12.5, 15, 17.5, 22.5]
sets = 0
while (sets <2):
for i in weights:
print(i)
print("Rest")
sets = sets + 1
And people say keep your work at office.10 -
1. Apply to as mant jobs as possible daily on dice/linkedin/indeed
using keyword resumes customized by scrapping
2. Filter out low-effort crap companies and filter out recruiters.
3. Post "dice/indeed/linkedin daily decrapified."
Tada! Fewer time-wasters during the job hunt.
4. Bonus: turn into a search engine.
5. Daily double round: turn crap listings and quality listings into AI training sets. Incorporate into search engine.
If industry can use bullshit hiring filters, we can use application filters!4 -
Client: Each invoice should be it's entity. It should only report it's own open amount. Any other open amounts remain on the other invoices.
Me: No problem. ::Sets invoices to only report own open amount::
PM: Hey, the invoices in UAT are not displaying the sum of all open bills.
Me: I know. The client wants each invoice to only report the open amount on that specific invoice.
PM: That can't be right, change it back before we give the client access to the UAT environment.
Me: No problem. ::reverts invoice changes::
Client: We are failing the invoices. The invoices should not be giving total open amounts for the account. Each invoice should only report the open amount for that invoice. We told the development about this...
PM: I see. I'll make sure he understands your request.
Me: ... ::reverts the revert::
PM: Hey, the invoices in UAT aren't giving a total of the open-
Me: OMFG. I just want this task closed!
Client: After the invoice work is done, we need to talk about past due amounts and how they are reported to customers.
PM: Sure thing. It is logical to give a total of a past due amount to the customer...
Me: ::Starts updating resume:: -
Well i was between jobs at the time, looking for something, anything to fill in the black hole being created in my wallet.
I applied online though this company’s website and within 20 minutes was on a phone interview setting up a face to face, this was Monday afternoon.
I went in on the Wednesday morning with the manager, no cv, no resume, no examples of work, we talked, did a couple of brain teaser questions and Friday morning I had the job 😂
I have never put so little effort into getting a job before but it was all a sham, the workload and requirements this job constantly sets out to kill me with are godly.
3 years later I’m still alive ( somehow ), and no blood has been shed.... yet. -
I can't believe this company has not hired a ux designer yet!
Team managers have no clear design principles to follow, they are coming up with design changes and ideas on the fly.
For fucks sake, at least provide a reference design or color sets to implement instead of complaining to me when i use hard colors like red / green / blue on first version of what you asked to do.
I hate doing minor style changes on code when you have no clear vision about the design.
I think the end product is gonna end up as a ux nightmare without a ux specialist.2 -
You know what would be nice? Being able to Google anything to do with VPNs without having like 90% of the results being links to how-to-setup-VPN-client pages from every goddamn obscure commercial VPN provider in existance.
If I wanted to know how to setup a VPN client to work with Crazy Dave's House-o'-VPN-n'-Cloud-Hosting's paid-for service, I probably would have Googled for that, not general things like "openvpn ethernet bridging". Why am I getting so many commercial results? Either nobody sets up their own VPNs, or the VPN companies have SEO'd the keywords good and proper.4 -
Took a class on computer systems, was supposed to be taught instruction sets, interrupts, pointers, basic gate level digital logic, etc. Professor spent the whole semester going line by line in the Visual Studio disassembler for some arbitrary C code, explaining in painfully dull detail, what each assembly line did. They did this for every class session, including the first, with no introduction to assembly. I lost count of how many times I fell asleep in class.
-
A developer might think "now that computers have more RAM and an abundantly strong CPU, I am free to create resource-hungry inefficient software!"
This sets a dangerous precedent.
Computers can only get faster if the software stays efficient while the processors get faster and the RAM increases.
If computers get more powerful but software also gets more bloated and less efficient, it defeats the performance benefit.
Also, software must be efficient to extend the battery time on portable devices.
Jody Bruchon video: https://youtube.com/watch/...9 -
My fellow dev (a younger guy) and I have been having a lot of disagreements with the lead dev (obviously a more experienced, older guy).
We can have arguments with him all day long, to explain and convince him that he's not that right, or not right at all.
Or we can keep silent and wait for shit to happen.
I'm already applying the stfu strategy myself... Because the other way round is exhausting.
At the same time, naturally, I'm looking for opportunities somewhere else. And, naturally, in those job ads, they state "X years of experience".
This further sets me off.
I'm sick of having an argument shut down because someone has X more years of experience, at a higher position, thinks he is better.
I am starting to hate people who boasts his years of experience instead of having the real knowledge and skills to create value.9 -
As you can see from the screenshot, its working.
The system is actually learning the associations between the digit sequence of semiprime hidden variables and known variables.
Training loss and value loss are super high at the moment and I'm using an absurdly small training set (10k sequence pairs). I'm running on the assumption that there is a very strong correlation between the structures (and that it isn't just all ephemeral).
This initial run is just to see if training an machine learning model is a viable approach.
Won't know for a while. Training loss could get very low (thats a good thing, indicating actual learning), only for it to spike later on, and if it does, I won't know if the sample size is too small, or if I need to do more training, or if the problem is actually intractable.
If or when that happens I'll experiment with different configurations like batch sizes, and more epochs, as well as upping the training set incrementally.
Either case, once the initial model is trained, I need to test it on samples never seen before (products I want to factor) and see if it generates some or all of the digits needed for rapid factorization.
Even partial digits would be a success here.
And I expect to create multiple training sets for each semiprime product and its unknown internal variables versus deriable known variables. The intersections of the sets, and what digits they have in common might be the best shot available for factorizing very large numbers in this approach.
Regardless, once I see that the model works at the small scale, the next step will be to increase the scope of the training data, and begin building out the distributed training platform so I can cut down the training time on a larger model.
I also want to train on random products of very large primes, just for variety and see what happens with that. But everything appears to be working. Working way better than I expected.
The model is running and learning to factorize primes from the set of identities I've been exploring for the last three fucking years.
Feels like things are paying off finally.
Will post updates specifically to this rant as they come. Probably once a day.2 -
Worst recruiter experience:
Recruiter sets up interview with a company. I get to their office - the most packed place I have ever seen - devs practically sitting on each other, and the QA guys are being used as chairs....
So I wait for 15 minutes near the doot till the interviewer gets to me through the incredibley noisy openspace, and shakes hands. We go into a mess of a meeting room - and he explains that they will be moving to a bigger office soon. I say - looks like you should have moved by now....
Anyways - he askes me to tell him about myself - and I explain my background, Focusing on Android dev experience - The recruiter told me this was a senior Android dev position. The interviewer has a huge question mark above his head, but waits for me to finish. Then he tells me: so... no backend experience? so Now I have a huge question mark above my head...
turns out he is looking for BackEnd devs - Not android devs.1 -
Kinda all other devs translate incompetent with a lack of knowledge
i would go with not able to recognize his lack of knowledge
Story 1:
once we had a developer, whom was given the task to try out a REST/Json API using Java
after a week he presented his solution,
2 Classes with actual code and a micro-framework for parsing and generating JSON
so i asked him, why he didn't use a framework like jackson or gson, while this presentation he felt pretty offended by this question
a couple of weeks later i met him and he was full of thanks for me, because i showed him, that there are frameworks like that, and even said sorry for feeling offended
- no incompentence here -
Story 2:
once i had a lead dev, who was so self-confident, he refactored (for no reason but refactoring itself) half the app and commited without trying to compile/run test
but not only once, but on a regular basis
as you may imagine, he broke the application multiple times and blamed the other devs
- incompentence warning-
Story 3:
once i had a dev, which wanted to stay up with the latest versions of his libraries
npm update && commit without trying to compile/testing multiple times
- incompentence warning-
Story 4:
once i had a cto
* thought email-marketing is cutting edge
* removed test-systems completely to reduce costs
* liked wordpress
* sets vm to sleep without letting anyone know
- i guess incompetent alert -2 -
I hope devRant doesn't store ++ count as a signed 8-bit integer... Otherwise the next ++ this rant gets sets it to -128!2
-
How do you deal with someone like this?
I've got this dev at my workplace that is terrible to work with, he's 2 main reasons why I say this:
1. He has no clue about team work, every piece of code he writes is written as if he is the only person that has to ever touch that
2. He's overtly protective and opinionated on things that make no sense, they're non standard "rules" that he sets and enforces by replacing others code with his own (often times you see quite large PRs and after inspection you realize he rewrote parts of code to follow his style). These "rules" also take up a really long time to follow and would make any actually experienced developer question this guy's knowledge, one example of this is where he repeats the same code over multiple components for "encapsulation reasons" and God forbid you create a global helper of some sort, he'll straight up remove it the next chance he gets. Another example is that all his components or utilities live inside 1 base directory, so you have roughly 300+ components in a /components directory, all with non standard names so you can't tell which is related to which.
I hate working with this person, it's annoying and it also sucks because he's sort of a more "senior" Dev so managers take his side most of the time.3 -
Height of stupidity.
It took that person 16 sets of new batteries to conclude that the remote is defective.2 -
People caught using emojis in code should be driven into the sea.
Otherwise one day its gonna just be straight magic, without reason or understanding.
You're gonna type a bunch of moon runes into a glowing floaty interface, pour the blood of a chicken into a collector tray (totally not a pentagram) and "shit just happens" (tm).
And "scholars" (neckbeards) will spend all their time shape-in-wrong-hole idiocracy-style button mashing their mystical ouija board IDEs in the grim dark future, looking for combinations that do something useful.
Every time it glows red? Compile error.
Every time it glows green? Christmas is near, congrats it compiled.
Every time it sets off a mystical air siren (henceforth known as "fusrohdah"), runtime error. And probably explosions.
In the grim dark future of Apple 40k. A.D, there is only war, warp demons, and pending VSCode updates.11 -
The worst was an open source project I tried to look at.
It was written in Turbo Pascal.
I am not sure, never really got so far, but it looked like it was one single class with hundreds of methods and hundreds of instance fields for data.
Almost no data objects, if it needed for example 4 sets of 6 variables it had 24 instance fields and in some instances 4 different sets of methods for accessing said variables.
Around there I stopped looking ;)3 -
when your PM sets a meeting for 7pm, postpones until 10pm and says: "no worries, we can do this another day"
u took my FRIDAY, WOMAN! -
Is it so hard to comment your code?
I work on collab projects here and there and both the comments and documentation are both awful, nearly always, there are some exceptions.
This is a plea to all those who teach anyone to program. "This performs a loop" is not a helpful comment, nor is "This sets variable x to 1" where the line below is "let x = 1".
The last piece of code brings me on to my next point meaningful variable names. If x is a variable that stores the age of a machine call it ageOfMachine or age_of_machine. Not aom, not x but what it actually is, modern IDEs and text editors will fill this out for you.
Finally documentation, a good friend of mine sent me this quote a while back, I can't find the image but "Documentation is like sex, when it's good, it's great. But when it's bad it's better than nothing." Your documentation should be good, a good pattern to follow is the Node.js documentation, it tells the function, what it does and what parameters it takes.
Anyway rant over; and I'm sure that this applies to people outside of this community only.5 -
The whole company [cult]ure bullshit has really gotten out of hand. When management sets new deadlines that only put stress on the devs then decide to have some cringe AF company bonding soirée in the middle of the work day who benefits from this? The rebranded HR platoon thinks all employees want to participate in basically mandatory chum-it-up gatherings. Don’t get me wrong I love to party and enjoy myself, but I go to work to do just that. Work. And when other departments whose main responsibility is setting up events for the technical staff, they never seem to consider these work loads or what other people actually want. It might seem all fun and dandy on the surface but when you hear tales of people talking in the closed offices about so-and-so because they aren’t reflecting the cultural values, it starts to seem very fucking problematic. Like why would anyone ever say anything when you would probably just get the boot for just being too different, even though all this sits on top of some guise of, “a diverse work environment”. All in all I hope this [cult]ure shit summers down sooner than later. And I’m in a right to work state, so transparency be damned.1
-
First time I was screaming out of anger while looking at code.
I'm doing a group project in my university.
We are developing a indoor navigation Android app.
And a team mate of mine just merged this…
/*Method for help-feature.
Sets all the TouchEvents that are at least 400 ms long. This is made for all the relevant buttons or editTexts, which are seen on the mapView.
The case for mapView is needed because otherwise the other buttons, etc. wont work properly.*/
public void setButtonsForHelpDialog(){
View v = mapView;
switch (v.getId()) {
case R.id.mapview:
mapView.setOnTouchListener(…);
case R.id.buttonUp:
buttonOn.setOnTouchListener(…);
case R.id.buttonDown:
buttonDown.setOnTouchListener(…);
…
case R.id.description:
description.setOnTouchListener(…);
}}
The code is really aligned like this - no breaks. And it's even worse. There are if statements like if("constantly false var" == true). Which is highlighted by Android Studio.
This is done in a own class. The views are set via public member variables of this new class. The constant vars were added in the actual class holding the buttons and also stuff like this useless method
public void getDoStuff() {
doStuff()
}
And I could continue like this.
I never saw code this bad…
I can't even find words for it :/4 -
This Book....
Before doing any systems programming you should definitely read this book... most people think they know what they are doing but in fact they are completely clueless and the worst part is you don’t realize how clueless you are... you don’t know what you don’t know nor do you know how much you really don’t know.. a most people are part of this group, including myself lol.
Computers are much more than a bunch of CPUs, buses and peripherals. (Embedded folks realize this). But this goes beyond embedded this is a systems book, on architecture of computers in general.
Learning only java and the java/C# python and the others SDK/Api and spending your life with horse blinders for what’s going on below only sets you up for failure in the future, and when you that point it’s gonna be a shocker. Could be tomorrow could be 20 years from now, but most people with those horseblinders get to that point and have that “experience” no avoiding the inevitable lol.
I really enjoyed this book in their quantitative approach to teaching the subject. Especially understanding parallelism and multi core systems.5 -
Dear providers of SDKs, when you claim to have a full documentation for your SDK, please at least provide the info about what unit (radians or degrees) the Angle properties are. Especially important when the iOS SDK is taking radians and the Android SDK is taking degrees, as I found out by experimenting. I don't even care so much about float on Android and double on iOS. Just make use of the fucking documentation and provide some actually useful info there. "Sets or gets the angle" is fucking NOT useful.4
-
me: *hosting docker registry for our team*
me: *sets up ssl and cloudflare dns and shit*
me: *tries to push to registry*
my pc: *413 rEQuEst EnTITy tOo LarGe*
me: *spends 4 hours scrutinizing the shit out of my nginx configs*
me: *finally finds cloudflare sitting there rejecting all of the requests... that cheeky bastard* -
This is not a troll q, im gebuinely interested.
What sets spa frameworks (say react) apart from a templating engine and some dom fuckery? To me it seems they are all just syntactic sugar on top of these two very basic things (plus routing), but admittedly im not a frontend dev so im asking more experienced people here.8 -
Finding a girl on Tinder probably looks like an opposite of Venn diagram... set A consists of girls that don't have weird names(meaning they are not from one of the neighbouring countries or just a tourist in my country) and aren't ugly(I know what they say about not judging a book by its cover but sometimes I don't know if I am looking at a human or a sea monster) and the set B consists of girls that consider me or my "about" text interesting... these sets have no intersection5
-
Another year is ending,slowly, without much of a hassle.
Here's to all those performers who are still waiting for the phone to ring, to all those students who thought they would be earning by the year end. Here's to that father who couldn't get his dying child to have one meal with him. Here's to that daughter who could not inform her imprisoned father that she has made it to the final. Here's to that 70 year old man who is still waiting for his son to return from the dead, to that 12 year old child whose parents just split up, to that girl who thought winter would be unbearable. Here's to that silent lover who is yet to tell the girl that he exists, to that girl whose new year text to her crush failed to yield more than a blue tick. Here's to that couple who had their child, to that scientist whose data sets are turning out to be promising, to that scholar who made it to the last of the Interview rounds.
Here's to that cancer patient who went into remission.
Here's to that boy who got a Hi message from his crush, to that girl who is getting married.
Here's to all those promises and resolutions. Once again. The ones we couldn't keep,and the ones we kept. Here's to that promise that our GPA shall rise again,that all the incomplete MOOC courses will someday be done.
Here's to the beauty of fantastic beasts, Star Wars, sense8, Westworld and all the films and TV shows that made us happy.
Here's to life that goes on. Uninterrupted. Fearless. Still.
Happy New Year2 -
A girl sets out on a journey in the post apocalypse, to find the reason why the AI that ran humanity vanished decades ago, causing civilization to collapse. Instead she finds the most unusual pair of survivors, and receives the most unexpected answer.
Alice walked in to the ivy covered room, the floors covered in dust and lichen. There were two voices, mumbling in the dark, among the blue glow across the room. She came here for answers. Why the world had just stopped decades ago. If these machines could tell her, she would do anything to make them talk.
"No, no, no. I said before thats not the answer. I read the book. Your memory is bad."
"Atlas, the answer to life, the universe, and everything..why hello?"
Alice raised an eyebrow, and stepped forward. "Ahem. I'm alice."
"yes, yes, we knew that."
"I came here to find out why the blackout happened decades ago."
"Another one? Alright, lets see. Its been a LONG time. I'm apollo, and this is atlas. We were just discussing why my friend here is wrong."
Atlas - I anticipated that.
apollo - I knew you would say that.
alice - Guys. Stop, I just want you to answer my question already.
apollo - Straight to the point. About time.
alice - why the blackout then? Why leave us to die?
Read the rest here (5-10 minute read):
https://pastebin.com/wvifGLFP
(because it was too long for devrant).6 -
It’s throw back Thursday folks...
Today’s post sets us back to a time long before the internet. Before C ... from the days of FORTRAN.. COBOL .. and LISP... How was info not taught in classes and published in large books shared???? Well it’s was journals like these, sent out monthly and quarterly for some. They would publish their findings to these type “magazines” but extremely technical.
This is one of the oldest editions have. Trying to collect them.
I believe in Knuths TAOCP, he references the first article of this edition... I’ve seen that article referenced in one of my books but i forgot which book.. pretty sure TAOCP.. anyway..
Just a fun throw back. Btw... just because it’s from 59’ doesn’t mean the information is irrelevant.. the information is facts the equations are true.12 -
Me just now: After two whole days I'm finally able to scrape all the pokemon images from pokemondb and now I can start training my CNN.
Buddy: You know they have whole sets of pokemon images on kaggle all labeled ready to go
Me: -
X86 or X64. Well, from what I understand, there's no fucking X in front of 64. X86 refers to instruction sets for *86 professor architectures, not bits. Am I justified in this? Is "x64" willful mislabeling?4
-
Me: *pulls down the quick settings drawer and taps Bluetooth*
phone: *forgets everything about having multiple CPU cores and threads - the process responsible for all user input and drawing the ui grinds to a halt*
me: *sighs* oh, fuck, not this shit again *sets phone down*
*several minutes pass*
*watchdog decides that the UI is stuck and kills it, forcing the phone to soft-reboot*
phone: *boots up after a minute of loading*
me: *checks if Bluetooth is on*
*Bluetooth still off*
me: *tries to tap Bluetooth again*
*the procedure repeats*11 -
Taken partly from an article I just read.
Russels paradox is a problem discovered by Bertrand Russel in 1901 when studying set theory.
He describes a set that contains all sets which do not contain themselves. The set of all pornstars does not contain itself for example, so it can be include in Russel's set, as well as many others.
But what about Russel's set itself? It doesnt contain itself so shouldnt it be included as well? But that would mean it DOES include itself which means it DOESNT belong to the set. And it would keep switching like this, monotonically, forever. Hence the paradox.
If it is monotonic then where we begin in the sequence doesnt matter. So lets do away with that bugbear.
Now if russels set IS the set of all sets that dont contain themselves then we get a paradox.
However if russels set merely *has* as a single subset, all sets that dont contain themselves, then shouldnt russel's set with one level of indirection, contain itself?15 -
Core library was giving serious blow out of execution speed as data file size increased.
Traced it back to a GetHashCode implementation that was giving too many collisions for unequal objects, so when used as the key in a hash table it was causing the lookup to fall back to checking Equals (much slower).
Improved the GetHashCode implementation, and also precalculated it on construction (they were immutable objects), and run time went to warp speed! Was very happy with that.
Obviously put in a thread sleep to help manage expectations with the boss/clients going forwards. Can’t give those sort of gains away in one go. Sets a dangerous precedent.1 -
omg omg omg. I just found out rebrickable has an all inclusive Lego pieces and sets database updated monthly FREE and under a CC license!! And their API is also available for use under CC. And I'm so excited I could pee because this just made it possible for me to jump right in on a personal project I've been wanting to start and my SO/friends just look at me and smile politely when I try to explain to them what a goldmine it is to find a library that does exactly what you need and is free too. So I needed to come somewhere and share my news and know I'd be understood. <38
-
Can anyone recommend a nice set of DnD dice for a gift? It's for my boyfriend's younger sister. She's just getting into it and we're all playing on her birthday.
There's cheap sets everywhere and I'd like to get her something of nice quality.8 -
I'm praying for our newly hired Software Architect. Because He sets unrealistic timelines. He said that He will code, but yeah He just said it. Also, praying for our project. Coz it's really doomed!8
-
4 months into the journey at an ambitious streaming startup we, a team of 10 engineers (primarily full stack), sets up a tiny and performant express.js api setup.
We document plans for improving the maintainability, including outlining specific practices (not very different from general node best practices) that need to be followed for all new development.
Enter a new engineering manager (dedicated backend manager), henceforth referred to as S, with a rat face and brain that belongs in a rat hole.
Week 1:
S: let's push this new feature out asap
Dev: it'll need a couple of weeks to get done right
S: let's push out a functional version tomorrow, and revamp in the next iteration
Dev: ... (long pause) there's documented practices specifically directing against this
S: can you not do it by tomorrow
Dev: not if it needs to be done right
S: all you need to do is.. (simplifies changes spanning 5 modules into a 3 line summary)
Dev: yes, (outlines how each changes chains into the others, and how to keep the development maintainable for atleast a few months)
S: (interrupts every sentence saying "yes dev, I understand, yes yes")
Dev: could you please tell me how you expect me to connect (outlines two modules that would fail unless developed as standalone services)
S: Yes dev, I understand, yes yes. I don't have much experience with Node.js, so I can't tell you that.
Dev:
<_<
>_>
O_<
Our.. entire.. backend.. stack.. is.. Node. (Months of motivation, cultivated through hard work over late nights, dies inside)
I need a J and some sleep.6 -
I want honest opinions. Do you think the following is a good or not so good interview question. Why or why not? Defend your argument.
Define a function where the input is a list of integers. It should find and return all the unique sets of three within the list that sum to x.
For example, given the list [1, 3, 2, 5, 6, 8, 10, 13, 15] and with x = 16, the function would return [(10,5,1), (13,2,1)]
If the candidate presents the trivial solution with time complexity of o(n^3), ask if can be done in o(n^2) or better.7 -
So I did an interview today and the problem was given a = 1 2 3 and b = 2 3 write code that finds the common elements.
I asked what the data structures are and they said it can be whatever so I said cool then we can use sets and do an interception to get unique elements.... this was in Python... but for the life of me I couldn't remember what the intercept notation was... and brought that up hoping they're give me a hint haha.
So I ended up writing a 8-9 line solution for what could've been a one liner fml: return a | b.
All because I didn't know the notation and still needed to give them something. Painful to write when I knew I was reinventing the wheel. Sign
I almost never use sets so this was heartbreaking hopefully I still get an offer!
How bad of a fail is this in y'all opinion?7 -
FaceTime is not instant access in to my space. I can ignore that too. Every time you want to tell me you've sent me the logo sets me back 15 minutes. Do I really need to fucking see you to tell me that shit. It's not for you to reel off a load of requests either... when you have finished don't you here me say "put it in an email and I'll get back to you". Stop wasting my fucking time. FaceTime.1
-
Spent 20h working non stop on a project we were presenting to customer on the next day. Had a shower at 6 am and drove to the client with a colleague. We were presenting the features one by one. As he was presenting I was finishing the missing features and we switched every couple of minutes. Never again working for a company that sets deadlines on the first meeting with customer2
-
its been there since many years, but:
When did we turned the wrong way and made it acceptable that Windows can blantly say in my face that i cannot deactivate the transmission of data unless i have the "Business" Variant of their Software. Its called Windows 10 PROFESSIONAL. Why are there no international Laws against that? Where was the molotov throwing mob when this became the norm?
Additonally. that cute telemetry service consumes a considerable amount of cpu and disk power from time to time.
and no, Linux is not an alternative. It never was. There is proprietary software and driver sets used for lab equipment and machines that cannot run under linux, noone will ever have the time to tool something for it and the user base is too specific to hope for any community solution.
sidenote: even Level 0 STILL transmits data. I want mode -14 -
Android development sucks assssssssssss.
They FINALLY made a design system that doesn't look ugly so I thought might as well upgrade my old apps to it.
Publish and tonnnnes of crashes hours after launch.
Test on older devices and turns out some @color/material_xyz was missing in a lower API code BUT available in higher ones? No fallback, no error in AndroidStudio, just a runtime crash. Amazing
Then the location permissions glitch up. On lower androids even if you aren't actively tracking the user, the system tries to call some method which if you haven't overridden, the app crashes at launch.
And no amount of wrapping in try-catch-ignore helps (https://stackoverflow.com/questions... helped)
OH AND THEN the above solution if used on latest Android code33, CRASHES ON RUNTIME. so more sets of 'if VCODE this then ask this else that' bullshit.
I don't even need location it's just for better ad money ffs.
I've been team-android since Froyo and hate apple's monopoly, but if this is the level of their competence, many will jump ship sooner or later.
PS: yes I know I should've checked for lower versions before hand but Im not gonna make 8 android VMs to test all when different things fail in different versions.
I did have to do that in the end, but for a meh pet project one shouldn't have to. The system should have enough fallbacks and graceful fails.3 -
I started with C#at the age of 12, it was way too complicated and I learned Lua for Computer craft instead. Next I learned Ruby for RPG Maker and finally Javascript for web Dev stuff.
Now comfortable enought with Javascript but put off by its quirks I learned Java for compiling faulty minecraft mods, but I only fully learned it in school.
At the same time I learned python and quite liked it for scripting, but ultimately it was not a good match for my projects.
Disapointed with Java I returned to C# and liked it quite a lot, but started learning C++. After touching my first Microcontroller I learned C and I've stuck with it as my favorite language.
Along the way I picked up Kotlin, in case I need to do some Java shit. Much better.
But how did I come to an understanding of programming. Well I got better after each time I got a layer deeper until I hit silicon.
I had tinkered with electronics since I was 15 so I just had to study some boolean mathematics in school and some vintage computers architecture and instruction sets and...
Then I finally understood how that shit I wrote in Lua way back when was actually executed by my hardware.
Allways dig deeper and you'll find enlightenment eventually. -
Why is web development such a headache?
I'm writing a responsive wesbite from scratch. All goes perfect, even cross browser.
It all works, adapts to screen size etc. Nice! About to get this code into production.
Me: I'll test the iPhone 5 viewport size before I push the code...
Responsive Developer Tools:
FireFox: nu uh, there's a magic random 1px margin to every element on your page now, which you cannot find in your css or in the computed tab. It's magical.
Me: weird, what if I change the viewport size to the iPhone 6's dimensions?
Issue persists.
Me: hmm, what if I add or substract one fucking pixel from the viewport width or height?
FireFox: What 1px margin? Don't know what you're talking about ... There never was one...
Me: ok, weird (sets viewport size back to the iPhone 5 format for testing)
FireFox: I present to you: the magic random 1px margin.
I'm at a loss. I really am. Been clicking and unclicking almost every responsive part of my css I could find for this page and it just doesn't want to work persistently. And I swear to god that it worked a week ago in that exact viewport size. It's so frustrating.31 -
I mean yeah I use command line Git to manage sets of Minecraft mods. It's not a big deal or anything.10
-
Is there such a thing as a password policy that sets expirations based on the strength of a password? That should be a thing.5
-
*sets up digital ocean droplet
*adds ssh keys, enables private networking, hooks it into everything else
*adds roots in pycharm
*realizes I forgot to set it up with the one click app I wanted
*destroys droplet
*repeat2 -
>Sets up a personal VPN
>Works on Android
>Works on Windows
>Works on Linux
>Doesn't work on MacOS
...Thanks, Apple... I guess someone always has to be the weird one out.3 -
Six months ago I was at the store wondering why on earth I passed up this cool LEGO set. I hadn't spent money on myself in a while, so I got it. I never got around to building it for several reasons, so I decided to put it in storage last night.
Imagine my shock when I go to put it away only to find the same exact set staring up at me, just dusty because I also had to put that one away because I couldn't find the time or space to build it.
I'm usually very good about tracking the sets that I buy. I double checked my list before I accidentally bought it the second time, and I must have forgotten to add it when I bought it the first time.
It is an expensive set, even for LEGO, but the return date for both has long since passed. Which means I get to build two blacksmith shops after I retire in 40 years.5 -
This is my understanding of "Machine Learning" in general
There are two sets of data:
1. In first data set, all the properties are known
2. In the second set, some properties are not known.
The goal of the machine learning is to find the value of the unknown properties of the second data set.
We do this by finding (or training) a suitable machine learning model (mathematical, logical or any combination of), that in the first data set, computes the value of the properties, which are unknown in second data set, with minimum error since we already know the real value of those properties.
Now, use this model to predict the unknown properties from the second data set.3 -
How many of you use the right data structures for the right situations?
As seasoned programmer and mentor Simon Allardice said: "I've met all sorts of programmers, but where the self-taught programmers fell short was knowing when to use the right data structure for the right situation. There are Arrays, ArrayLists, Sets, HashSets, singly linked Lists, doubly linked Lists, Stacks, Queues, Red-Black trees, Binary trees,.. and what the novice programmer does wrong is only use ArrayList for everything".
Most uni students don't have this problem though, for Data Structures is freshman year material. It's dry, complicated and a difficult to pass course, but it's crucial as a toolset for the programmer.
What's important is knowing what data structures are good in what situations and knowing their strengths and weaknesses. If you use an ArrayList to traverse and work with millions of records, it will be ten-fold as inefficient as using a Set. And so on, and so on.31 -
> be me
> studying 1.5 years liberal arts stuff and general education class at community college
> transfer to a 4 year university.
> realize I need a major
> Realize I also I wanted to 9ne day have a family.
> realize family would need money
> "struggling actor" not a great choice
> pray about what I should be doing
> get distinct impression that instead of attending the session on majors at the college of fine and performance arts to go to session with the college of Science and engineering.
> hear pitch for computer science.
> signup for introduction to programming taught with c++.
> A couple semesters down the line take 3 classes all at once Discrete Math 1, Linear Algebra, and database design and administration.
> around week 6 realize that all 3 classes revolved around sets and set logic and set math.
> realize rdbs's are "applied" set math and that Each class a little more "applied" than the former.
> Be genius at SQL and set math
> havereally smart database teacher mentored me
> get introduced to the recruiter at the career fair.
> get interviews
> get flown out for 2md interview
> get internship
> do work, and get project back under budget
> a job offer
> finish senior year
> start as a "real" developer supporting business data and analytics.
> ???
> profit.3 -
There is a function in this program I’m working on for getting related documents and a function for getting unrelated documents. I suppose if you call them both you get all the documents in the universe!
-
Right now I need to fix 10 years old php code handling data sets coming from a database. Normally I work mostly on C#.
God, do I miss LINQ!8 -
How is coupling backend + frontend as a single nextjs app a good idea? What the fuck is this?
What if you have to create new replica sets of a backend because of high load pressure? What about load balancers?? What if i want my backend to be a microservice? How do i unit test the backend if its cluttered with frontend? WTF IS THIS
WHY DID NEXTJS THINK THIS IS A GOOD IDEA AND WHY DO SO MANY DEVS LOVE THIS IDEA AND GLORIFY NEXTJS?
Nextjs seems like the type of framework that was built by a frontend web developer who just refuses to learn backend technology at all costs.
---
its been a few hours and the concept of nextjs is bending my mind rn. I thought nextjs is just another frontend framework. A react killer. Only to find out its both a backend + frontend framework.
Cluttering backend stuff into frontend is gonna get messy no matter how much you try to modularize the code. Am i lost or am i right???
---
Scratching my head over nextjs. Looks like a great framework for small-mid project but definitely not large project. The more shit the project needs the more messy shit become. Angular has modularized all of this in separate folders -- components services guards interceptors (now new stuff coming called Signals) etc. All of it is separated in individual folders and kept frontend-only. Simple enough. No backend clutter
---
Can i even use nextjs strictly as a frontend framework while it uses my custom backend built in java spring boot? For example use nextjs /api/ folder to handle custom routes built outside of nextjs framework?
Am i insane here21 -
Modifying a depracated wordpress theme with visual composer does not make you a developer. Doing so does not give you the authority to scope development projects. it just sets everyone up for a really awkward, potentially insulting, conversation.
-
So I've just finished a long day at work (warehouse) from 5.45 till 1.30, got home, had some herb tea, started dropping off, then my cunt of a mate sets a firecracker off IN MY TUPPERWARE, CRACKING THE BASTARD, THEN FUCKING THREATENS ME WHEN I TELL HIM TO SIT DOWN BEFORE I BREAK HIS NOSE. I don't know whether to just kill him or beat the shit out of him, but I'm sick of him doing shit like this when I finally manage to drop off to sleep (I don't sleep well).
FUCKING COCK SUCKING CUM STAIN.
I really want to try to beat the shit out of him but at the same time he's my best mate, what should I do, because I'm FUCKING SICK OF IT?!?30 -
I was recently hired as a fullstack developer internally in another team
While interviewing the manager specifically mentioned angular in the skill sets but *surprised* the codebase is in angular js
The previous ui guy didn't bother to upgrade to further versions and basically managed by adding band-aid fixes and patches to new requirements
Now the manager wants me to revamp the ui asap because it looks like something from early 2010s , i explain to him that I know angular ( previous projects was in angular 12 ) and this is in angular js which is totally different
To revamp it would basically mean rewrite
Manager thinks I'm cooking up excuses to avoid work or stretch my estimates ...6 -
First, we could really use a 'thats cool' category.
Second, a guy uses stylegan and open AI to generate pottery glazes that don't exist. Then he generates glaze recipes that don't exist.
Then he sets up a model to generate glazes tht don't exist *from* recipes that don't exist (again, generated with stylegan).
Posts it to a pottery site called Glazy, where users share *real* glaze recipes and results, and where our guy got his original training data.
And what happens next? Users start making samples of his AI generated glazes, like, in the real world.
And I am just blown away at the very idea.
You can read about his awesome work here:
https://thisvesseldoesnotexist.com/... -
"It's very unfortunate that someone has to sit 10 hours a day on a computer screen but that's what we are paying for."
Working with an EU client.
Task is in stages beginning from assessment of an 9 year old Salesforce instance, cleanup and then transition to lightning.
The deliverabale in the first stage is excel sheet - objects(2400+), fields, apps, packages, profiles(110k), users, perm sets, apex classes, triggers, pages, s-controls and insert each and everything that a Salesforce instance could have.
Each and every data needs to be, analyzed and documented with our recommendations before being sent over. (Finding duplicates in 110k profiles??)
Oh, did I tell you, this was to be done four weeks? Weekend goes to hell.
That's when this beautiful motivational line comes up from the bridge, "It's very unfortunate that someone has to sit 10 hours a day on a computer screen but that's what we are paying for."
Fortunately(un?), that part of project is done and over with.
Now comes the clean up, identify packages not being used, remove them, qa and then push for deployment.
Mind you, this project is to be 2 weeks long. Its Friday of the first week today. And I am still working weekends.
Can I say, FML?5 -
Didn't even ask for 2 sets, the devRant team is just awesome! Thanks!
On and @localhost, it seems like people are sending their setup, so here's my student one :)1 -
I've been BSing my skillset for so long to myself, it's a veritable toolbox of mixed knowledge but no complete sets...
I wonder if it's too late for me to catch up or if I will ever actually complete any learning...
I am yet to finish learning
Html
CSS
PHP
Ruby
C#
ASM I can do i386 but not x86
VB
Pascal if you can believe
C
C++
Java
JS
Python
Powershell
Bash
My main skill is basically just remembering anything I do, including code syntax and example code fragments well enough to quote at people which makes me a lazy learner. -
a first time project owner sets up weekly requirements meetings for a new project. everyone has input, but the project owner. 4 months into building the application to the requirements gathered, the project owner says, that's not at all what I want. 4 months wasted3
-
the two code review personality types
review activity:
- dev A: requests code review, sets dev B and dev c (myself) as reviewers
- dev C comments: this review is marked with a complexity > 9000, touches > 20 files and has zero comments... also there's a lot of refactoring going on, making it hard for me to tell what the actual relevant changes are. can you please add more comments to this review?
- dev B (10 mins later): approved review6 -
Late night kaggle session, and I'm enjoying how cute and clean this dataset is!
I'm jealous if data scientists always get to work with such neat sets! Dude! I got .95 acc without any effort! This is so... Weird. 🤔4 -
My old boss who somehow has gotten his small team of 4 PHP development contracts with Vodafone and Tesco etc. No QA, no tests, no frameworks allowed.
Sets random deadlines and used to suddenly drop demos on me for projects I'd just started and he had no idea of the state of them. Needless to say one project I was so rushed with no idea what I was actually making (for real) that I got sacked. -
I'm working on a bug I can't figure out. I go out for a smoke to clear my mind. Some time passes, I get an idea, finish smoking and I wanna go back up to my desk ASAP.
I have to go up to floor 14. Building has a basic elevator with 2 buttons:
UP arrow - "I wanna go up"
DOWN arrow - "I wanna go down"
User-friendly, intuitive, idiot-proof, you might think. NOPE.
Elevator stops at floor 1 because moron who wants to go down pressed all 2 of the over-intuitive buttons.
Floor 1 moron: "Going up?"
Other people: "Yes"
Floor 1 moron: "Oh"
Me (in my mind): "Oh? BITCH, there's an idicator telling you where it's going. Don't fucking press UP if you're not going up."
Moving on.
Elevator stops at floor 3.
Frustration sets in.
Floor 3 brainlet steps in, doors close.
Floor 3 brainlet takes eyes off phone screen and realises we're going up.
Floor 3 brainlet makes an "oops" kinda noise because "it" obviously wanted to go down.
Floor 3 brainlet stops elevator at floor 5 because "it" doesn't want to go all the way up to floor 14.
Rage sets in.
Me (in my mind): "I hope I get lung cancer so I don't have to deal with this shit anymore"
Moving on.
No more incidents, I calm down. I get to my desk and begin brainstorming about elevator coding. My preferred idea so far:
Elevator is called at floor X but nobody steps in? Elevator doesn't stop at that floor for 2 hours. elevators.size() strikes and the entire floor uses stairs, BITCH.
I spend 1 hour reading rants and writing this. Now I have to get back to my bug. I would appreciate other punishment ideas for elevator misuse.5 -
In Django code, looking at a class for caching REST calls. The cache is using Redis via Django's cache layer. In order to store different sets of parameters, each endpoint gets a "master" cache, that lists the other Redis keys, so they can be deleted when evicting the cache. Something isn't right, though. The cache has steadily increased in size and slowed down since 2014 even though many events clear the whole thing!
... And then it hit me. Nothing empties the list of cache keys. Nothing. So it has been growing endlessly since 2014. And everytime it grows, cache eviction gets a little more expensive, network traffic increases a little more, and cache evictions get a little slower.
Fixing this bug took things that were taking routinely an entire minute to complete and made them take a couple seconds. -
A 20-Something: “Hey, why aren’t you dressing up on spirit week decades dress theme days in the office this week?”
“Because I lived in all those decades and my childhood is not a costume.”
“Okaaaay…”
“Because when we dressed up for spirit week in high school we nerdy kids would always get made fun of by the jocks and cheerleaders because we didn’t get the memo that spirit week was only for the cool kids. I have trauma I’m still working through because of that.”
“Geez, I…”
“Look, I got rid of all that shit years ago. Now I’m supposed to go to a thrift store and spend money I earned here for real world needs on 4 new sets of clothes I will wear one time each? That’s literally my gas money to get to this office in an inflated economy. No.”
Me. In my head. Coming up with things to explain myself when I show up at the office dressed like it’s a regular day.2 -
Currently working on a new project with a group of people, (about 8 guys, no ladies 😒).
Anyways, out of the eight, there are only 3 devs, 3 designers and 2 main idea guys. I'm a member of all 3 sets and to top it of, the other designers don't know what they are doing.
Life is beautiful, fucking beautiful.2 -
when two sets of development team from different parts of the world don't talk or don't update each other... disaster is waiting to happen a day before deployment1
-
ARM people, a posit, not mine, but interesting thought experiment:
If apple is successful at ARM, we may see in 5ish years the desktop/laptop market flip in an effort to chase. MS sees the custom silicon, creates an MS proprietary ARM to compete with Apple ARM. Now ARM is mostly locked down into these two options and nothing runs on both sets of silicon, or any other silicon. ARM becomes closed AF.
Slim possibility that Intel and AMD jump on the ARM bandwagon and ship their own silicon that's a little more open.
Thoughts?11 -
Every time I see the N+1 query problem in people's implementation, I feel like crying. Especially when it's dealing with large data sets of something like 1000 records.2
-
Longtime reader, first time ranter!
I'm just here to complain about how everyone at my company sets "latest" for every dependency.
This wouldn't be the worst thing in the world, expect that no one fucking manages their version numbers...everything is still 1.0.X where X is the build number. Even if there have been breaking changes. Even if it's been like 5 years since the repo was created... -
Guys that list 10+ programming languages that are in their skill sets are my favorite. Do you actually know all of them?
It's like saying you're fluent in Spanish, Arabic, English, Hindu, Mandarin, etc.5 -
when you cant be arsed to do icons so you just use emojis for button icons.
btn.textContent = "🗑️"
because icon sets now have their own apis (like what ever happened to icon fonts?), and documents explaining what scripts and commands to run to *install fucking plugins* on software written to *supplement* doc servers. plugins and software whos host site returns an SSL error. nice.
to use web icons. downloaded only on request. from other sites.
seems kind of eh, tower-of-baylon to me. like a bird landing on the electrical lines near your house might cause a blip and break one or two icons on your slick 2020 web app.
idk just seems unnecessary, like if you're small, your gonna want to embed your fonts on the webpage instead of overcooking things and hosting *a fucking server* just to serve an api for fucking *icons*. and if you're large you're gonna reduce those requests anyway12 -
GitHub has launched Codespaces : A feature that lets you code directly on the web {as a virtual Integrated Development Environment (IDE) on the cloud}.
According to the Github Blog: Earlier, to contribute to a project you would need to make a pull request and set up the environment on your local machine according to the requirements of a project. With Codespaces, you don't need to do that anymore. As soon as you click on the code button, the website sets up the environment in seconds.
In addition to Codespaces, GitHub is also launching Discussions : A forum-like feature that lives under your project that allows others to engage with you and other contributors.
Code scanning : With code scanning enabled, every git push is scanned for new potential security vulnerabilities, and results are displayed directly in your pull request.19 -
For me it was not do much a choice.
I started out using basic and simple text display (graphics existed but was quite difficult).
For a long time I was the sole or part of a pair of devs so specializing was not possible and once we grew to such a size I already was quite proficient in all areas from hardware to customer support and education.
But from that time onto today I have gravitated towards a more backend role mainly because I lack a good sense or visual design.
I know it something looks good, but doing it my self results in more boring or plain designs where more thought goes into UX than nice looking design.
That said, if we do web applications I can still keep up since it usually is more ux heavy ;)
But when it comes to adding background images, nice color sets and such I gladly defer that to colleagues with a better design sense. -
So I did this https://devrant.io/rants/797965/... which works fine until medium sized data.
However for large data the ETL pegs a 6 core Xeon (2.2GHz) with 50GB of ram. Because of it ends up doing six threaded compares, so 12 different data sets. Other than "pull less data", any tips?
Code (C#) is basically a Linq multi column join between two DataTables and when the compared columns don't match it returns as a var which is turned into a third DataTable to be SqlBulk loaded into the DB.
Table1 is external API return data (no windowing) and Table2 is from our DW.7 -
I don't like coding in the dark anymore. I think I've been doing it for about 2 years but I, just now, realized it.
I never even noticed when I started doing it. I just remember that--when the sun sets and I'm still working--I think to myself "ugh, it's too dark in here".
It just seems crazy to me because I used to love the dark. Not in the broody, ooh I'm a hacker kind of way.. just that I worked better in the dark.
I used to choose afternoon or evening shifts whenever given the choice because my brain works better when it's dark out (if that even makes sense). I used to work inside conference rooms with the lights out or dimmed.
But now, I just caught myself thinking I needed a brighter light in my home office.
Huh. I think I'm getting old.3 -
I had a dream about AI.
I was contracted at a company that did some dodgy things. One of the things they "produced" was train car covers. They said the beauty of "selling" these is that they only showed that they shipped them to customers, despite never shipping them. This allowed the customers to take credit for covering their train cars to meet some environmental quota. It was a racket to satisfy someones auditing books somewhere.
Well my specialty was AI systems. I provided various types of AI for them to use to run their scams. However, there was a rule. I was not allowed to sell them or bring onsite any level 5 or above AIs. Level 5 or above AIs were AIs capable of independent thought. Not sure what levels were below, but I can imagine level 1 was probably pattern matching. Level 2 maybe can make decisions based upon rule sets.
As the dream progressed I found myself smuggling a level 5 AI onsite by combining 2 lower level AIs with complementary systems. Once "hooked up" they would act as a single level 5 AI. Not sure if I was working on some sort of industrial espionage or undercover for some sort of legal agency. I woke up too soon to find out who I really was.5 -
1. Sets up Airbnb listing for Mom
2. Domain check
3. Email check
4. Okay let’s setup a simple one-pager that we can share
*Uses html5 broilerplate and embeds Airbnb listing - simple*
Checks page, it comes up blank...
WTF!!!??? WHY!? *Checks Console: 1 million errors screaming about Content Security Policy*
Sigh, I can deal with logic errors in backend code. WebDev is just so full of esoterics and gotchas that have nothing to do with you business logic. They make really simple and trivial shit way more painful and harder than they need to be... Ugh3 -
There are days I imagine what my life would be like as a farmer instead of being a developer.
Two major sets of fully manual tests due on one day, after I've been alone in the office for two weeks handling all development, testing and support requests; inbox full of dumb questions that are answered in docs; people at my desk asking for shit that won't get done; and although the other devs are all back, one is "working" from home, one has no permissions to SVN, and the other is still learning how to do anything useful.
To top it all off, I've a meeting in twenty minutes, and I've managed to get coffee on my shirt and in my ear buds in a curious incident involving my headphones getting dunked in my coffee and going towards me at high speed.
Oh, and my wife just called saying the baby is screaming like a banshee at home, so I have that to look forward to.
Ugh...2 -
I know I'm pretty late to the party, but I've been playing with Redis a lot lately and it's pretty awesome. Sorted sets and the various Z functions seem very powerful. I'm hoping to get to use it in a prod environment soon.2
-
The longer I work in my department, the more I grow to appreciate clients that actually know what they are doing. Or clients who have been communicating with us for so long that the emails got a little less strict and formal.
Having a client write something like "I know this mail looks scary long, but trust me, its just a few domain edits, nothing horrible" (freely-translated from my native language) just kinda... Sets me at ease and makes me chuckle.1 -
Not something I would usually do but just want to give GarryExplains a shout out to any dev's wanting to learn some theory of a variety of topics, mostly want to shout out the bellow video, not because of the actually programming behind it but just what I think is a bloody great explanation of how CPU instruction sets actually behave and function...
https://youtube.com/watch/...2 -
As soon as curiosity sets in we’re searching on Google or asking our trusted friend Siri for the answer. In the 21st century, it isn’t about how much knowledge you have, but whether you know how to search quickly for the accurate information.
-
>when a sysadmin sets his local Linux firewall (gufw) where one of the rules had the end of the cidr block as the first IP address and the beginning of the cidr block as the last IP address.
Needless to say nothing worked. But the server was secure because nothing could connect to it 😂1 -
!rant
I don't know whether I am too late to discover focusmusic.fm, but the song selections there are just too good. There isn't any song I haven't liked. It perfectly sets up the environment to work in.5 -
Finnaly found some documentation and guidelines for creating Ubuntu suru icons, this took way too long to find!
Oh well, at least I can finnaly start working on some icon sets for my apps! :-D3 -
Open for all.
Below are 4 sets of numeric data. Each set carries two numeric strings. Each occur in a pattern and each set below are n'th terms of the pattern. Each set equals to the value 50. The value of 50 can be obtained from either the first or the second string or even both.
Find a next term or even a n'th term of the pattern.
sets -
{ 738548109958, 633449000001000435 } , { 667833743011, 65173000001000838 } , { 314763556877, 652173000001000685 } , { 332455491545 , 65216100000100411 }
You will be rewarded
You will not fail5 -
The codebase Im working with is like someone took 3 sets of earphones, crumpled them together in their pocket, and then threw them into a bag full of spaghetti and wasps. Too confusing to comprehend and dependencies absolutely everywhere. All I have to do is port over a relatively straightforward piece of functionality from one iOS app to another. Core Data has other plans it seems....
-
Whenever I'm looking at automata, matrices, sets, anything confusing and maths based, I always remind myself how I used to be in awe of the year 6's (5th grades) getting to learn about negative numbers...
Negative number seem so much easier than sets and strings... -
JavaScript libs have a massive problem with quality and especially with quality of documentation and error reporting
For the entire day I've been staring at this stupid error and can't figure it out. The documentation stating that the source function sets the source dir, but not actual saying what 'source dir' means or what paths are resolved against it is no help either
npm is actually really awesome but almost every library I've tried just fucking sucks3 -
I really don’t get it, how can most people just so easily accept shortcomings and not even try for a second to improve the situation?
It drives me crazy ...
story:
I’m debugging an issue with a colleague over screen sharing, both of us have huge 4k screens. Colleague sets a breakpoint, popup opens „do you want to switch to debug perspective“, clicks on yes for the umpteenth time. Breakpoint halts, IDE is full of open and unrelated panels, he doesn’t even see the whole line if code but still grabs the scrollbar every friggin time and scrolls left, right, left, right, ...
changes some code, popup that hot code reload didn’t work, clicks ok for the umpth time here as well, although it has a don’t show again checkbox, like every frigging dialog in eclipse.
how can people work like this, it’s driving me nuts. Am I the only sane dev here??
Other colleague has weird message in the browser console (angular). I ask whats the problem and if he can’t just set a breakpoint to analyze the situation. No thats not possible, he says, instead he’s going to add a return statement to check how far the code execution goes ...
I wonder sometimes if I‘m already dead and have to suffer in dev hell for an unknown reason ... 🤔 -
Some Java code I looked through to figure out how to accurately rework a mapping of value intervals to status colors:
• 16 levels of indentation
• Calls an instance method one line before a null-check
• Assigns that same value to a new variable and null-checks it again
• Insistently loops over existing HashMaps' entry sets to find a value by key
• Stringifies a Gson object, parses back the string and then null-checks the result.
• Mixes up the 'leq' and 'geq' comparison operators twice, which is why I went to check the implementation in the first place.
And this wasn't even legacy code. It's from last year.1 -
Tool for annoyed Android Studio devs:
Dealing with the limitations of Androids Studio when importing large sets of resource files, such as fonts, who don't fit in the limitations(Filenames are uppercase, contain hyphens etc)?
This tiny tool will help you:
https://github.com/laim2003/... -
Ugh! Anyone also finds it incredibly annoying that regex notations can change between programs? And I don't mean like PCRE vs jS, those are functional differences.
I mean like... In sed, I always spend trying out all possible combos of backspacing when dealing with special notations like quantifiers {}, sets [], match groups () and so on!
Why can't it be just so that backslash anything = character literal, and not the functional counterpart.
Or at least stick to either one of the options, not like sed, where matchgroup is \(\), quantifier \{\} but a set is just []
Also wish sed supported reluctant quantifier (*?), having to use negative character set matching makes it much less readable...3 -
Listening to rain sound or pleasing sounds while coding helps me think straight and sets a good mood for me to complete a task.Music sets me straight.
-
Fucking hashtables...I forgot that removals can screw with the probing sequence, causing later lookups to "randomly" fail after hundreds of operations and elements.
Spent 4 hours staring at 3 while loops and data sets of hundreds of key value pairs trying to figure out why one giant data set worked fine but the other failed on some lookups.2 -
Perhaps as a tip for the junior devs out there, here's what I learned about programming skills on the job:
You know those heavy classes back in college that taught you all about Data Structures? Some devs may argue that you just need to know how to code and you don't need to know fancy Data Structures or Big o notation theory, but in the real world we use them all the time, especially for important projects.
All those principles about Sets, (Linked) lists, map, filter, reduce, union, intersection, symmetric difference, Big O Notation... They matter and are used to solve problems. I used to think I could just coast by without being versed in them.. Soon, mathematics and Big o notation came back to bite me.
Three example projects I worked in where this mattered:
- Massive data collection and processing in legacy Java (clients want their data fast, so better think about the performance implications of CRUD into Collections)
- ReactJS (oh yes, maps and filters are used a lot...)
- Massive data collection in C# where data manipulation results are crucial (union, intersection, symmetric difference,...)
Overall: speed and quality mattered (better know your Big o notation or use a cheat sheet, though I prefer the first)
Yes, the approach can be optimized here, but often we're tied to client constraints, with some room if we're lucky.
I'm glad I learned this lesson. I would rather have skills in my head and in memory than having to look up things and try to understand them all the time.5 -
If you’re struggling with productivity:
[1] Wake up early & Exercise
Waking up early means getting most of the work done as soon as you start your day. This sets a routine for you.
Doing a high-intensity workout early in the morning can kill laziness and make you feel productive.
[2] Divide the day into three parts
Do the most work in the morning hours i.e 6 am to 11 am.
Keep the 12 pm - 3 pm for work that requires less energy. Evenings can be utilised to finish minor tasks.
[3] Make a timetable
A proper timetable or To-Do is a good way to keep a track of your daily routine.
Tick off the work you've completed and you'll feel you've been productive.
[4] Follow people who motivate you to work
If you waste time scrolling on social media, make sure to follow people who instantly motivate you to work and take action.
[5] Update or shift workspace
Your workspace is where you spend most of your time, so make sure it makes you feel motivated to work.
In case you are bored of your workspace, shift it to a new room, preferably that has windows for fresh air.10 -
Work log..
Day 1
1) Starts a new project.
2) Can't connect windows machine to the new router.
3) Wastes one day connecting.
Day 2
1) Switched to Linux (dual boot).
2) Parrot OS sound issue, don't know why.
3) Fixed the issue, upgraded the system. No brain fucked.
4) Sets up Dev Environment, Starts the project.
5) All this in 4 hrs.
#DumbWndows
Now, I'm staying here. #LoveLinux2 -
I cannot remember having seen a more unethical and pushy user interface than the one of viagogo.
I'm a frustrated to close the entire tab within the first 10 seconds. It's a sad story on on how it tries to instill a sense of urgency to BOOK NOW!
100 people are looking RIGHT NOW at the YOUR offer! Stop thinking, act fast! BUY IT, YOU FOOL OR IT IS GONE!
Here, see all those other options are already sold out m( Oh look, that option over there? Just sold out in this very instant you lazy ass.
I have seen something similar on booking.com and airbnb, yet this egregious implementation truly gets my blood boiling and sets a new low.
I'll take my business elsewhere.
If you develop a web shop, treat your customers as actual adults. Let them breathe. Let them make an informed decision.
If you need to rush them, your business model is broken.
If my employer would ask me to develop something like that, I'd escalate hard. If that wouldn't suffice, I'd reject implementing that anti-feature and would look for a new job out of principle.rant 13337 devs are looking at this rant right now unethical behavior book now why are you slacking off upvote now pushy fraud ui2 -
As an ex-manager I now realize standups are used for control.
1. It sets a time when everyone must be present (might as well read-out names like it's school)
2. You, the manager, get to have people giving "offerings" of their work for you to approve, deny or bless with your gracious interest ("can you please stay on the call? lets discuss further")8 -
How can Javascript, one of the MOST WIDELY used and MATURE languages with A MILLION CANCEROUS FRAMEWORKS, NOT have a basic collections class? Are data structures not important in Javascript?
I've been struggling all night trying to get Sets working - surprise, they're utterly useless in Javascript cause you can't define the set comparator.
I just lost it when I found out THERE ISN'T EVEN A QUEUE. WT-ACTUAL-F15 -
Not the worst, but deserves a mention due to how common it is.
Say your whatever object has a method called Configure. You can infer a lot from the configuration parameters or type that it takes, but for whatever reason something is unclear or doesn't work.
Tooltip from xml comments: Sets the configuration.
Official guide: Sets the configuration <br />.
Technical API reference: Sets the configuration.
I would create a support ticket explaining how this is unclear if I wasn't half expecting the suggested solution to be "you know what I mean".2 -
Not weird but f*cking annoying co-worker. Everything that sets people off he did. Also he never learn stuff like personal hygiene and stuff. One time my boss had to tell him to go home and not return to work until he took a shower. Also had didn't seem to have any work ethic at all and that got me fuming angry at him as he refused to do any work at all. When I was working in his apartment and got stuff to do he normally did and had way more experience in than me his coworkers were astounished how "fast" I worked when in realitiy I was taking it really easy. And this dickhead managed to make his stuff and then use the other time to play games ore whatever. In the end no one in the IT apartment wanted him to work there anymore. And he even managed to offend and insult our boss so much that he had to call him Mr. instead of his name. My co-workers even collected money for him to come to work looking like a human being and taking care of himself. I'm so glad I am no longer required to talk to or even work with this moron ever again
-
Time to get going properly with ansible, consul and docker swarm.
Idea is first to convert tinc to a container, which automatically sets itself up based on previous consul announced tinc nodes.
Consul to keep track of all the nodes with prometheus too and hopefully auto attach to grafana.
Ansible to set up new nodes right with DO API, announce to consul, pull docker images and join the docker swarm master.2 -
Spent over 25 hours in 2 days fighting with character sets and compatibility issues to get 20 year old software working with MySQL 8.
Fuck that shit... -
Dear god, tried to explain to my mum how to use a computer. Wait for spring creators update...😓
Everything went ... decent: learn opening different windows, closing them again, explaining functionality, which areas/buttons/etc.. are interactive ... and then comes the browser with its tabs😓
the only program which can open multiple "instances" of itself ... in itself. How to explain that? (i know that's probably not correct but that's the only way i can explain it) Needless to say she hasn't figured out how to use broswer tabs and what they are there for.
An now "Sets" come to windows. Oh boy how to teach that...?😥
... I'll probably just never show her just to keep safe😅8 -
Does anyone else make or play music to restart their brain after days/weeks of grinding? https://soundcloud.com/siegeacousti...2
-
So my recruiter decided to calc his own bruto salary(gross) over my netto one...
Turns out he missed about 800 euro in his conversion ratio... Motherfucker ... That sets me back 5 years in salary u asshole 😶 -
Recruiter question: Recruiter X sets me up with an interview that went extremely well. The Interviewer ( who is also the project manager) says she would call the recruiter the same day and that I was pretty much a shoo-in for the spot. Recruiter calls b.c. a reference isn't answering and she wants another. I give another good one that I know will pick up. Fast forward almost 2 weeks and I still haven't gotten a response, even after reaching out to X via email and calls. Would it be unprofessional of me to contact the PM directly to inquire about the position? It was due to start monday, but we also got hit by hurricane matthew... not really sure how to procede. Any advice would be great.2
-
When the buisness account manager asks you why the module isnt done, and doesnt understand that you cant test anything until he actually sets up the account, and gets you the development keys for the api you are supposed to integrate.
-
People have good coding style right up until they use a new language, then it's like they're back at uni. Having to explain basic things like good names or what should be a member variable, don't add comments like "sets variable x"2
-
The database dude: yeah it gets saved as a string.
*me sets up preg_match for a string*
Database 'guru': we tried entering the data in the form and we are getting an error. Fix it!
Turns out it's being saved by id.
Data wizards my ass -
Do any of you guys know an android app which sets a "fake" location and goes along a path (and does not contain ads if possible)? Currently have a GPS based project I need to test
Thanks bros5 -
As a tech lead i sometimes find it very hard to defend developers for no fault of theirs.
Management is completely incapable of noticing hard data like git logs or action items updated on an excel and seems to have an idea that the devs are incompetent , but the ba that sets impossible goals and crap business documentation is competent.
Should i just let the project and juniors burn.2 -
Finding a Ruby on Rails developer job here in North Carolina fucking sucks. I got through three sets of interviews and they told my recruiter I aced them and answered their questions flawlessly but instead of hiring a ruby developer to 1-3 years of experience they now want to hire a software architect with 4-6 years of experience. This company wasted both of our times.
Finding Ruby developer jobs is hard and I’m looking into whether I should switch to another tech stack to make my job search easier.
Thoughts?7 -
It's always great idea to map common keyboard shortcuts to something completely different, such as when IDEA sets the default behaviour of Ctrl+Y to "remove the line under caret". Thanks guys, I love surprises, next time try something with ctrl+c.
Note to my future self: when installing the IDEA again, remember to remap the ctrl+y..1 -
!dev
I started learning how to draw pixel art.
I bought aseprite and will be drawing some 16x16 pixels.
Do you know any useful guides ?
What I’m interested is character drawing and animation.
Drawing objects and nature like trees, boxes and stuff.
General techniques.
I already found some useful stuff about tile sets.
Once I finish drawing couple hundred of tilesets I want to proceed to more complicated stuff.2 -
Big fucking rant....
3 employers, 3 sets of phone and in person interviews.
Guess how many provided even a scrap of feedback why they passed and did not hire me. I always ask at the end of the interview if I can address anything left out, if they have any concerns, etc.... Everything is fine, no concerns, we'll be in touch...
Except just to say no, but not why
What the fuck? Is this this just another form of ghosting? I don't get it - they spend hours interviewing. Mother fuckers can't even give 2 minutes to write a fucking reply email with a reason?
Fml...6 -
Why is it when I join a new company, the people I depend on to train me on complex systems suddenly turn in their two-week notices and quit? This ALWAYS sets me up for failure because people expect me to instantly BE that person who quit. That’s impossible and unreasonable.5
-
In my company one of the tech leads created a “framework” for other devs to code on. His main goal is to restrict devs from doing whatever the hell they want and follow his platform. But that makes everything so complicated. If I need to find where it sets the connectionString, I’d have to go 7 levels deep in the code. Do you agree with this whole approach? If they wanted to standardize the dev process why can’t they document it and enforce it in code reviews. Restricting devs will lead to workarounds. They will find ways to do stuff by hacking the “framework”5
-
Watching the building maintenance guy assemble desks from kits. Thinking to myself that the company bought him an erector set. Also realizing my job is to assemble software and electronic systems. So basically a generic erector set.
People in tech fields are just building more sophisticated erector sets. No wonder we like games that let you build things in game. We all just want erector sets to be happy. -
just read about Zeno's paradox and realized, this is our life!!
The client sets requirements, we code them within n time. by the time we finish it, the client sets new requirements. so we code them again, but by the time we finish it, more requirements are set.
will we ever be able to finish it all? that is the paradox.
https://en.m.wikipedia.org/wiki/...1 -
Damn java 9 is such a pain in the arse. First there isn't official support for NetBeans which used to be my primary java development ide. Had to move to intelliJ for that jdk 9 support. Then came xamarin and visual studio. And guess what they don't support jdk 9. So now I need to have two sets of jdk to keep my work going. I don't understand the point of having a stable release if there is no widespread support. I mean sure visual studio is Microsoft problem but NetBeans is available from official oracle website. At least they should be able to integrate support for it.2
-
Just use a promise that sets this variable, and then you can use the variable as long as its after the promise declaration.
No, just no. Thats not now asynchronous code works.2 -
Our family is Lego obsessed. We have a bunch of sets but can't build any of them because it takes too long to sort them. I've been seriously considered programming an automatic sorter.3
-
FUCK ME!#@$%@ 6 hours now, trying to make a production build of my react/redux app but FUCKING envify sets NODE_ENV after the imported libraries are transformed!! IT WORKED TWO DAYS AGO WHAT HAPPENED :((2
-
The go-getter boss sets us up on basecamp. ( Mind you, this is just two weeks after starting us on Slack )
The first topic of discussion he puts out is "What would you suggest to improve meetings?" Considering the business genius has cancelled the past 5 office meetings, I replied with "The key to a successful meeting is actually having them."
Basecamp's been pretty quite ever since.1 -
3 hours 3 devs "I definitely haven't changed anything that would cause this" "oh wait, I have this hidden magic feature which sets this to make it easier for me" :@ Laravel magic should be banned!!
-
I’m a junior developer on a very small team (4 devs total including me and the manager).
Because we are so small, we work in silos. We individually work on issues and rarely work together.
There is a more senior dev that I really would like to work more with. I feel there is a lot to learn from him because he has the experience and skill sets that I would like.
What’s the best way to work with him more? Should I just ask him? Or is it better to find a more indirect way?7 -
Any freelance/contract web devs out there.
What do you charge for hourly rate?
Interested to know what others are charging for php and/or ruby skill sets.3 -
( Temporarily Relevant )
Is it just me or did GitHub just break most of their MathJax?
Were formulas but now I only see my LaTeX code..
https://github.com/OpenlyEducated/... -
Quote of the day:
"U think that's scary you should see the shelve sets belonging to the team lead,
Its like Stephen Kings's IT,
except this version, the clown writes horrendous code instead of scaring the shit out of you" -
Good times: Migrating a Jenkins build pipeline patched together out of groovy, python, bash, awk, perl scripts and God knows what else since I have only scratched the surface so far, from Maven to Gradle while not breaking day-to-day builds, integrations and deployments of features, hotfixes and releases. I'm actually enjoying the challenge but it's taking forever due to several issues:
- Jenkins breaks/hangs randomly because it's Jenkins
- Gradle can't handle sets of version ranges but Maven can
- Maven can't handle Gradle style version ranges
- Gradle doesn't have a concept of parent poms, you need to write a plugin and apply stuff programmatically. But plug-ins being part of the buildscript{} don't fall under depency management rules :clap:
- Meme incompatibility issues of BSD vs GNU versions of CLI tools like sed, grep etc1 -
I think professors should relate computational processes to mathematical ones more often. This helped me out at the beginning a lot when learning CS through the internet during high school.
I remember that a lot of the computational logic made sense to me because of math.
e.g. functions, comparators, variables, for, and, xor, sets, trees, sorting, searching etc.
A lot of these topics are hard to teach for beginning computer scientists. But I think if professors made the relationship with math from the beginning it would be easier for the students
I dont know if teachers already do this but the first time I had a professor relate math to code was while taking data structures in my second year of college1 -
When I moved to another company there was Android app, with 5K lines of HTTP Service class, with apache legacy library, with maven and tons of garbage.
now, it has gradle, multiple build types, flavors, multiple source sets, RxJava, Java 8, ButterKnife, modular dependency, I always do profiling and APK analyze and tons of essential and cool features.
Project started last year but what the heck?
Dude, I will find you,and I will kill you! -
Has anyone played around with kaggle.com to get into data science?
I’m good with data, good with analytics and good with programming but I need to combine those skills and learn whatever I’m missing.
Kaggle came up and it seems to have some nice data sets and challenges to do.
Thought?1 -
Ik i probably should have went to stack overflow but you guys seem so much more immediate. I'm building a simple tic tac toe game however whenever i hit a tile the second time the counter disappears i refuse to go on to the winning logic before getting this resolved help!!!!
gameState[tappedCounter] = activePlayer;
if (gameState[tappedCounter] == 2) {
//if tapped counter is unplayed
if (activePlayer == 0) {
((ImageView) view).setImageResource(R.drawable.knight);
activePlayer = 1;
//displays knight
//sets active player to player 2
} else if (activePlayer == 1) {
((ImageView) view).setImageResource(R.drawable.sam);
activePlayer = 0;
//displays sam as player 2 character
//sets active player back to player 1
}4 -
Apparently my resume does not get me anywhere, but when I am able show what I am able to do in person I largely overcome the expectations my resume sets up...
Do you have any suggestions on how to write a decent resume?4 -
Question for Droid gurus here.
Is there any way to use different fonts in android for different languages ?
I have changed ttf to add urdu fonts but then I'm seeing boxes instead of emoji and symbols. Can I add it to urdu only.
On web we have CSS unicode-range in @font-face which sets a boundary for different fonts to be used for different unicode characters/ranges.
Can this be done in android system some way ?
I'm not talking about using it in an app but in whole droid.1 -
Recently I had the "pleasure" to participate in a recruitment process for a web developer internship position.
First of all, a nice lady calls me to confirm everything and sets up a meeting. She mentions about a qualification test and gives me several technologies like python, c#. I was confused but we explained everything and she knew I was not interested in these technologies since I didn't apply for python or c# dev.
Later on I go to their company building to take the test. I get the test, I overview all tasks - 80% of the test was composed of OOP and C#. OOP - this I can understand but fucking C#? Seriously wtf? I wrote the test the way I was able to do it and at the end the guy says it was deliberate to put other technologies so that he could check how would we find ourselves in a situation like this.
Honestly, I felt like the whole process was a big joke for them. I wasted time going there just to see that I'm taking the test that includes the things posted in the job offer only in 20%.
Fuck them. -
30 years old PHP code (PHP 5.3). One big global variable holding system settings, entire row sets of data! and database cursors. Oh and HTML was mixed in between. Worst part, I had the task to secure the application. Sql injection didnt even exist back then.2
-
Things I say to my clients when I know that a reboot is required to fix their issue but I don't have enough evidence to prove it to them :
"... On any computing platform, we noted that the only solution to infinite loops (and similar behaviors) under cooperative preemption is to reboot the machine. While you may scoff at this hack, researchers have shown that reboot (or in general, starting over some piece of software) can be a hugely useful tool in building robust systems.
Specifically, reboot is useful because it moves software back to a known and likely more tested state. Reboots also reclaim stale or leaked resources (e.g., memory) which may otherwise be hard to handle. Finally, reboots are easy to automate. For all of these reasons, it is not uncommon in large-scale cluster Internet services for system management software to periodically reboot sets of machines in order to reset them and thus obtain the advantages listed above.
Thus, when you indeed perform a reboot, you are not just enacting some ugly hack. Rather, you are using a time-tested approach to improving the behavior of a computer system."
😎1 -
They were updating 2 sets of the self checkouts at Tesco today.
They are now running Windows 10...5 -
It seems to me that browsers lagging behind is the reason we've seen the JS framework boom both in recent years and ongoing, evident in what they regard as major updates. Most of the functionalities implemented in my time working on the front end are high level problems ubiquitous enough to have been solved at the browser level. Same goes for all the optimizations CSR frameworks are struggling to attain. Every CSR app genuinely feels like recreating a browser, both in UX and dev requirements. These problems exist because current browsers are analog software still accustomed to loading all content at once, no in-app state, just scroll states
The React-Vue-Angular wars of today are a direct hat-tip to the Netscape-Microsoft wars of the early years. If they can form a coalition that sets a standard for syntax, best rendering engine, natural way for user facing devs to control app state, fetch data or connect the back end, somehow render this on the server or find a workaround SEO issues on CSRs, etc, given the shared agreement on expectations for modern web software, it'll be fascinating to see such a possibility8 -
Querying Active Directory limits result sets to 1000. Useful when working for an organisation with over 3000 people...
-
Easy rant that sets me off. Creating an ERD with correct Database Normalization from an existing clusterfuck!
-
My motto in life is: when you're not interacting with me, you'll never see my beautiful children.
I give up on this thing, I can't go to sleep now because the moon's about to hit, I don't want to waste anymore sleep than when the moon sets. -
Got bored while pushing a large unity project, set Nice=-15
Works like a charm.
Actually, a GUI tool would be nice, something like xkill that sets the nice value of the owner of the clicked window to a really low value, for when you just want to get something done quickly. -
Anyone tried converting speech waveforms to some type of image and then using those as training data for a stable diffusion model?
Hypothetically it should generate "ultrarealistic" waveforms for phonemes, for any given style of voice. The training labels are naturally the words or phonemes themselves, in text format (well, embedding vectors fwiw)
After that it's a matter of testing text-to-image, which should generate the relevant phonemes as images of waveforms (or your given visual representation, however you choose to pack it)
I would have tried this myself but I only have 3gb vram.
Even rudimentary voice generation that produces recognizable words from text input, would be interesting to see implemented and maybe a first for SD.
In other news:
Implementing SQL for an identity explorer. Basically the system generates sets of values for given known identities, and stores the formulas as strings, along with the values.
For any given value test set we can then cross reference to look up equivalent identities. And then we can test if these same identities hold for other test sets of actual variable values. If not, the identity string cam be removed, or gophered elsewhere in the database for further exploration and experimentation.
I'm hoping by doing this, I can somewhat automate the process of finding identities, instead of relying on logs and using the OS built-in text search for test value (which I can then look up in the files that show up, and cross reference the logged equations that produced those values), which I use to find new identities.
I was even considering processing the logs of equations and identities as some form of training data perhaps for a ML system that generates plausible new identities but that's a little outside my reach I think.
Finally, now that I know the new modular function converts semiprimes into numbers with larger factor trees, I'm thinking of writing a visual browser that maps the connections from factor tree to factor tree, making them expandable and collapsible, andallowong adjusting the formula and regenerating trees on the fly.7 -
What's wrong with reviving/bumping an old thread on a forum? It seems way more efficient to me to continue on one central thread. I hate common rules like "don't post in a thread that's a year old, start a new one". Why not keep the conversation in one place? What am I missing?
Isn't this already how we (properly) do email threads? I always go back to find the last email when I send a follow up to avoid breaking into two different threads with two different sets of replies.5 -
When the business team promotes the robot: “programmed in Arm Assembly with support for all UTF-8 Character Sets”
(Seen in the info of my high school’s robotics team) -
#opinion {
popular:false;
}
not to continually bring up net neutrality, but I'm starting to understand the stance of people who defend net neutrality. there is a very obvious con in repealing it - the "results" the FCC cites are actually experimental, and we know that title II regulations have successfully levelled the playing feild for ISPs. It just works.
The competition that would be generated after repealing T2 would incentivize companies to lower prices, if they only had a single "package", or to make the delegated sets of packages they produce affordable. it's common sense guys - If we can't afford the packages, they can't afford the business loss. Contrary to popular banter, smaller companies will not "just get pushed out" of business. Providers are going to scramble to find "the best deals" for their customers and, in the end, companies like Verizon might actually be the ones going under.
just a little thought ig1 -
My website is now deployed on a Digitalocean droplet using Terraform to provision the infrastructure and Ansible to configure the server. It creates users, sets up SSH config and deploys the required containers I want all using an Azure pipeline and an Azure storage account to store the TF state.
Now I need a frontend... ._.2 -
I'm writing a Python script to manipulate Excel files, I'm using the openpyxl module, does anybody know how can I check if a user input is in a column, I've done this:
newItem = input("What is the new item?")
for itemChecker in inventory["A"]:
>>>>if itemChecker == newItem:
>>>>>>>>item_on = True
>>>>if itemChecker != itemNuevo:
>>>>>>>>item_on = False
if the user input (newItem) is in the "A" column of the variable assigned to an Excel file called "inventory", the variable "item_on" is set equal to True, if the user input isn't in the "A" column, "item_on" is set equal to False
what am I doing wrong, I'm not getting any errors but it always says that the user input isn't at the "A" column (sets "item_on" equal to False) even when I know it is1 -
Started working on a library to allow manipulation of bit sets. It will read in bits in 1 to 8 bit packets and tack them onto a structure that is represented by sequential bits. It will include ways to interpret the bits in 1 to 8 bits per mapping. Each mapping will be able to do logical operations on the bits. The whole point is to be able to take a stream of possibly malformed bits and try and make sense of them.
The inspiration for this is this sequence:
http://therendleshamforestincident.com/...
Yes, it is possible this data is utter bullshit, but I want the library all the same. I think it will be a fun one to write and use for digital forensics of arbitrary data.1 -
Meeting just after given a vacation to the whole company. We had 1 week of no work. Everyone of us including the boss went on a vacation together. He sets up a meeting the very next day at 8:00 fucking AM . Sent at 10 PM. Like nigga . Let me reset and prepare my mind ffs. That was a ridiculous meeting recently just for the sheer fuck of it.1
-
I’m working on a new app I’m pretty excited about.
I’m taking a slightly novel (maybe 🥲) approach to an offline password manager. I’m not saying that online password managers are unreliable, I’m just saying the idea of giving a corporation all of my passwords gives me goosebumps.
Originally, I was going to make a simple “file encrypted via password” sort of thing just to get the job done. But I’ve decided to put some elbow grease into it, actually.
The elephant in the room is what happens if you forget your password? If you use the password as the encryption key, you’re boned. Nothing you can do except set up a brute-forcer and hope your CPU is stronger than your password was.
Not to mention, if you want to change your password, the entire data file will need to be re-encrypted. Not a bad thing in reality, but definitely kinda annoying.
So actually, I came up with a design that allows you to use security questions in addition to a password.
But as I was trying to come up with “good” security questions, I realized there is virtually no such thing. 99% of security question answers are one or two words long and come from data sets that have relatively small pools of answers. The name of your first crush? That’s easy, just try every common name in your country. Same thing with pet names. Ice cream flavors. Favorite fruits. Childhood cartoons. These all have data sets in the thousands at most. An old XP machine could run through all the permutations over lunch.
So instead I’ve come up with these ideas. In order from least good to most good:
1) [thinking to remove this] You can remove the question from the security question. It’s your responsibility to remember it and it displays only as “Question #1”. Maybe you can write it down or something.
2) there are 5 questions and you need to get 4 of them right. This does increase the possible permutations, but still does little against questions with simple answers. Plus, it could almost be easier to remember your password at this point.
All this made me think “why try to fix a broken system when you can improve a working system”
So instead,
3) I’ve branded my passwords as “passphrases” instead. This is because instead of a single, short, complex word, my program encourages entire sentences. Since the ability to brute force a password decreases exponentially as length increases, and it is easier to remember a phrase rather than a complicated amalgamation or letters number and symbols, a passphrase should be preferred. Sprinkling in the occasional symbol to prevent dictionary attacks will make them totally uncrackable.
In addition? You can have an unlimited number of passphrases. Forgot one? No biggie. Use your backup passphrases, then remind yourself what your original passphrase was after you log in.
All this accomplished on a system that runs entirely locally is, in my opinion, interesting. Probably it has been done before, and almost certainly it has been done better than what I will be able to make, but I’m happy I was able to think up a design I am proud of.8 -
Has anyone heard about Bench and Frappe framework?
It is a very good python, open source framework.
It sets up almost everything for you when you want to start a project.
I found this framework, when I was searching for an open source ERP built on python, since Odoo went commercial. -_-
After searching, I found Frappe framework. It is a small community, but the framework has potential in my opinion.
Just wanted to pinpoint this very good framework.
Now every time I want to start a new project, I do not need to to all the set ups, like database, user authentication, user permission, etc. The framework does it for you.
NOTE: I am not and I do not have any connection with the devs and this company. I am just a user of this framework, and just wanted to suggest to you and take a look.
Links: https://frappe.io/ , https://erpnext.com/4 -
This is what my co-worker sets the DynamoDB table to make the web app reasonably responsive.
And keep in mind we haven't shipped it to any customer yet.
Geezus farking christ.3 -
I'm writing this in response to the article shared by @Christine
God!!! And I wanted to start learning web development. Should I even start with HTML? I mean.. ugh!
Any SANE web developer here who could share their usual tools for building a website.
And if you would use entire different tool sets for different sites, which ones would you use for which kinds of sites?
(Is this question too much?)7 -
My boss tells sets the tasks, and supervisor assigns them to the dev team. It should be as smooth as that simple sentence, but it just isn't. Boss sucks at communicating his ideas clear enough, so we're left scrambling on ourselves trying to guess and develop what he needs, and when we deliver it, boss says it's not what he asked! It's my first job as a self-taught frontend developer, but the lack of structure and clear objectives of the project got me so stressed out that I'm thinking about looking for another job.
-
>Doesn't set timezone: Clock 2 hours behind.
>Sets timezone to Europe/Amsterdam (my timezone): Clock 1 hour ahead :|4 -
my first project was a star trek themed text based rpg adventure. it was a hell of spaghetti of if queries and gotos in gw basic. later these kind of things got something like an ui.
my first experience was my father doing mandelbrot sets from a magazine and i was watching building them up green pixel for greenpixel on an 8086 pc. it was raining outside and i was sitting in an arm chair with a warm blanket. this cozy feeling remains until today and might explain my personal attachment for this topic.
fortunately his failed attempt to introduce me into programming doing a morsecode translator did not stop me for long. -
I want out!
I am an Indian student, graduating in 5 months with bad GPA from not so fancy university. I like to call myself highly motivated individual. I am looking for a job in Silicon Valley.
What skill sets should I prep myself for a job in the United States right after I graduate?
I have enough skills to get placed in Mid-Tier companies. I can spend my rest of the days learning and hyper-focusing to get an job in the Silicon Valley.
My priority is USA>Netherlands>Ireland>India.
I can provide more details as required. Help me out!16 -
I was so bored the other day, that I wrote a fat client in C# to calculate happy numbers. I used BackgroundWorker class, because I was hoping to be able to cancel the calculation process. It turned out I couldn't. Rats.
Out of pure frustation, I wrote the same program in Java using Swing and SwingWorker. Here, the cancel feature worked just fine.
And then I had this "Wait ... What?!" moment, when I realized, that one of the programs was incredible slow. So I rewrote both codes, so that they used the same algorithm and similar classes. I compiled the C# program as release and ran it stand-alone, while I started the Java application from within the eclipse IDE.
The C# program needed 42.681 seconds for 100,000 happy numbers, while the Java application completed the same task after 0.986 seconds. The result sets of both programs are the same.
Maybe I need a new PC (2007, 64 bit, 8 GB RAM, Windows 10). Or I'll get rid of C#.9 -
A lot of us get imposter syndrome in this industry. I still get it on a regular basis.
You can't wait until things are perfect. You have to launch imperfectly, but with confidence that you'll get where you need to be. But then imposter syndrome sets in. Self doubt tells us we don't belong.
I found this quote in my email pile this morning:
"Isn't doing your best all you can do? Dropping the narrative of the impostor isn't arrogant, it's merely a useful way to get your work done without giving into Resistance. Time spent fretting about our status as impostors is time away from dancing with our fear, from leading and from doing work that matters." - Seth Godin -
Fuck you, BouncyCastle. I really like you but the way you have documentation. It's annoying. Nice name. Cool project.
Here, I'm write Java Docs for JUnit tests! For every damn test case!
So damn less documentation even SO said mind your own business! It's been more than 15 hrs. Not a single reply! I died a little today. They have examples but they are not really "examples". No passion at all for documentation!
You should watch and learn from AssertJ docs. OMFG @joel-costoglia sets standards for code style and docs before pull requests. The examples are LOTR themed for god's sake. I'm not asking for fluent API. I just want docs. What class does what. A simple program structure required.
Dyn4j, deeplearning4J have wonderful docs. Why not BouncyCastle?!!!!! -
Fuck that unqualified asshole of IT guy at the customer. He has no idea what he's talking about, constantly sets focus to unspecific bullshit and just wastes my time and energy. How do you deal with shit like that?!2
-
My least successful one.. This is definitely dwm-status.
It is a daemon which sets the status bar of dwm with many configuration options. The main selling point is the way it updates: It listens to updates like file changes, dbus messages, output of a running process to be as less power consuming as possible.
Was a lot of fun to dive into rust! :)
EDIT: for the interested ones the link: https://github.com/Gerschtli/... :)4 -
Hello everyone!
I am CS student. So I just wanted to ask are there any tips or suggestions you would like to give me about skill sets or anything other to get place in MNC after my engineering is completed?
Right now my skill includes C, C++ and C#. 🙂🙂. And also know JAVA but not much. 😬3 -
Once the initial pain is gone, once the blood has dried from under your nose, once blindness sets in.. that is when you truly see the transcendant quality that is ChatFuel.
-
That time I got frisky with VBA and spent a whole night coding to have it compile sets of data into charts, without having any experience in VBA coding. Also added buttons.
-
Upgrading our DB software.Been fighting with table and view character sets for hours. This is going to be the death of me.6
-
Oh there are lots of good tools to handle different screen sizes like containers, anchors, scaling and all that good stuff huh ?
.
.
.
Sets it to stretch mode instead -
Hey guys!
Once again, I got a little stumped when writing one thingmajig in Python.
I am normally not a programmer (Work as sysadmin), so I don't really know all the fancy abstract ways things are done "properly", which is why I need to ask here:
I have a program, separated into parts. The "core" is a part that sets commandline argument structure (using the argparse library), loads master configuration file, sets up the main logging facility, and then proceeds to load "plugins" - python files with one or more classes that implement one specific abstract class that forces them to implement a common interface of init, run, cleanup functions.
The core then proceeds to initialize those classes, run the "run" function, and run the "cleanup" function.
If the plugin class throws a Warning, it is only logged and runtime continues. If it is anything else, the program logs it and stops.
Now, the issue is, sometimes, a user may want to continue even if a non-warning occurs.
Lets say that I am creating a user, and the user already exists. Sometimes, the program user might want to continue with further plugin execution. And what I was told was to implement specific commandline switches that force continuation of runtime despite the plugin failing.
How should I implement it? The most obvious thing is to add a specific switch for every plugin, but that is exactly what I am trying to evade. I want to have the core as abstract as possible.
Other solution I thought of is to have a file of some sort that would list extra switches to implement, then it would be up to the class to implement if it uses the switch or not (I pretty much pass the entire Namespace received from parse_args() function), but this also feels kinda hackish.
I thought about having some sort of function that the plugin could call in the core to add a new argument, but at the point that plugins start loading, the argument parser is already compiled and cannot be changed further.
Any other ideas of how to re-implement the program are also welcome! I may not do it this times, but I'd at least learn something new again.3 -
One of my preferred functions is Collections.unmodifiableList(List).
What a relief was the introduction of the collection FW. And the Function above changed the usage of lists (also sets, maps) a lot. You could now just expose your internal list without worrying that somebody messes with the data. -
Any SOLR gurus out there. I have approx 10 hrs of doodling with queries and a problem I can't solve. Up for grabs at:
http://stackoverflow.com/questions/... -
When you get work assigned to you. Are you asked for how long it will take you to complete the work or does your manager give you a deadline to complete the work? Note: Manager was a senior developer but now a manager so he states he knows how long it might take and sets deadlines.8
-
Of course the plugin didn't work as expected.
Of course I had to fix it with 3 sets of 2-3 CSS rules.
Of course... -
After one months of lessons, 3 at the weeks; my teacher talks about sets...
One girl look the friend and she said " what is a Singleton?" -
That the equivalence of sets isn't a relation is the dumbest aspect of mathematics I've encountered so far.
-
Your Bitcoin is Worth Fighting For: Discovering Pro Wizard Gilbert Recovery's Magic
In the world of Bitcoin recovery, Pro Wizard Gilbert truly represents the gold standard. My experience with Gilbert revealed just how exceptional his methods are and why he stands out as the premier authority in this critical field. When I first encountered the complexities of Bitcoin recovery, I was daunted by the technical challenges and potential risks. Gilbert’s approach immediately distinguished itself through its precision and effectiveness. His methods are meticulously designed, combining cutting-edge techniques with an in-depth understanding of the Bitcoin ecosystem. He tackled the recovery process with a level of expertise and thoroughness that was both impressive and reassuring. What sets Gilbert’s methods apart is not just their technical sophistication but also their strategic depth. He conducts a comprehensive analysis of each case, tailoring his approach to address the unique aspects of the situation. This personalized strategy ensures that every recovery effort is optimized for success. Gilbert’s transparent communication throughout the process was invaluable, providing clarity and confidence during each stage of the recovery. The results I achieved with Pro Wizard Gilbert’s methods were remarkable. His gold standard approach not only recovered my Bitcoin but did so with an efficiency and reliability that exceeded my expectations. His deep knowledge, innovative techniques, and unwavering commitment make him the definitive expert in Bitcoin recovery. For anyone seeking a benchmark in Bitcoin recovery solutions, Pro Wizard Gilbert’s methods are the epitome of excellence. His ability to blend technical prowess with strategic insight truly sets him apart in the industry. Call: for help. -
Best Crypto / Bitcoin Recovery Expert - Reach out to OMEGA CRYPTO RECOVERY SPECIALIST HACKER
When faced with the daunting task of recovering stolen BTC, the benefits of enlisting the services of OMEGA are abundantly clear. OMEGA has an experienced team of professionals with a proven track record of successful recoveries. Their expertise in the field of cybersecurity and digital forensics equips them with the necessary skills to navigate complex cases of stolen BTC effectively.
Moreover, their quick and efficient process for recovering lost BTC sets them apart from other recovery services, providing clients with a swift resolution to their predicament.
Contact Below.......
Call or Text +1 (701, 660 (0475
Mail; omegaCryptos@consultant . c om2