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 - "sum"
-
My job is so f**king unbelievable.
I'll try to sum it up by first telling you about the folks I work with:
First, there is this supermodel wanna-be chick. Yeah, okay, she is pretty hot, but damn is she completely useless.
The girl is constantly fixing her hair or putting on make-up.
She is extremely self-centred and has never once considered the needs or wants of anyone but herself.
She is as dumb as a box of rocks, and I still find it surprising that she has enough brain power to continue to breathe.
The next chick is completely the opposite. She might even be one of the smartest people on the planet.
Her career opportunities are endless, and yet she is here with us. She is a zero on a scale of 1 to 10.
I'm not sure she even showers, much less shaves her "womanly" parts.
I think she might be a lesbian, because every time we drive by the hardware store she moans like a cat in heat.
But the jewel of the crowd has got to be the fucking stoner. And this guy is more than just your average pothead.
In fact, he is baked before he comes to work, during work, and I'm sure after work.
He probably hasn't been sober any time in the last ten years, and he's only 22.
He dresses like a beatnik throwback from the 1960's, and to make things worse, he brings his big f**king dog to work.
Every f**king day I have to look at this huge Great Dane walk around half-stoned from the second-hand smoke.
Hell, sometimes I even think it's trying to talk with its constant bellowing.
Also, both of them are constantly hungry, requiring multiple stops to McDonald's and Burger King, every single f**king day.
Anyway, I drive these dicks around in my van and we solve mysteries and s**t.49 -
That moment when you are on terminal, you highlight text and press Ctrl+C, only to realize you have terminated a running job that was 90% complete.19
-
Did this on my first programming exam.
int index = 0
int value = 0
try {
while true {
value += array[index]
index++
}
} catch NullPointerException {
System.out.print("Sum: " + value)
}
The task was to add together all numbers in an array.
I somehow aced the exam, but got called in to teachers office this is not the way to use exceptions.7 -
New engineer: "How do you estimate how long a project will take?"
Seasoned engineer: "I add up the time required for each task, then multiply the sum by pi."
New engineer: "Why pi?"
Seasoned engineer: "It ensures that all my budgets are irrational."5 -
I recently won a "Hack the Bank" competition where I had to hack an ATM and withdraw a large sum of money.
But what's funny, is that after the competition ended, the organizers installed Kali on the actual ATM.19 -
Free advice take it or leave it
A few days ago I completed my one year work anniversary(is that how it's said) at my first job. And this rant is basically stuff I learnt and stuff I wish someone had told me when I was starting out. Here goes:-
When you are starting out your first job you would be a fresh out of college and people around you in college are your friends where as people around you at work are colleagues. Your friends can like you, but you have to earn the respect of colleagues.
If you sit yo ass too long u will become fat(started going to the gym again).
Don't bother your seniors too much. they have their own shit to deal with.
Don't bring your personal shit to office I don't want to hear how cute your dog looked while it took a dump on your carpet.
Avoid the person who gossips.
It's a two way street.
Whatever you find amazing your boss may not you know coz you are a geek and your boss isn't.
Don't talk to people when they are coding.Yeah just don't.
Avoid "below the belt" humor you may look funny but you loose respect in the long run.
Keep upgrading yourself don't stop learning.
Admit stuff you don't know don't Bullshit.
To sum it up it's a game of respect, respect of knowledge,respect of skill and most of all respect of attitude.7 -
I just invented a new JavaScript operator. It's named "plus with wings", and it's used to sum to numbers without ambiguity or any need of type conversion, for example:
3 -+- "2" // 5
"2.1" -+- "4" // 6.1
"-1.1" -+- "" // -1.1
So, from now, you won't have to wonder anymore what type is that variable.
Tested on all browsers25 -
In my 1st semester, they taught us C++ basics
In my 2nd semester, they didn't teach us shit about CS.
In my 3rd semester, they taught us C basics
In my 4th semester, they taught us Java basics
In my 5th semester, they are teaching us Scratch and Python basics
Can you be fucking done with basics already for fuck sake? I'm a fucking Front End Developer here interning with companies and getting paid whilst I pay a fucking huge sum as college fee and learn fucking basics I knew back in high school? And you're teaching me Scratch, what the fuck is wrong with you; kids in pre-school are taught scratch. Fuck you education system, India!
Which countries should I consider for my post grad?
I'm so fucking done here.24 -
New engineer : How do you estimate how long a project will take..?
Seasoned engineer : I add up the time required for each task, then multiply the sum by π.
New engineer : Why π ?
Seasoned engineer : It ensures that all my budgets are irr-rational..6 -
Interviewed a dev for a junior role earlier this week...my first question:
const numbers = [0.1, 0.2, 0.3];
let sum = 0;
for (i = 0; i < numbers.length; ++i) {
setTimeout(() => {
sum += numbers[i];
}, 0);
}
// Refactor the preceding code so that the following returns true.
console.log(sum === 0.6);
---
He had no idea where to even start, so I asked him to walk through the code with me line by line, he couldn't get past line 1 - literally didn't know what an array was... I walked through the code with him and he just started to look more and more lost.
I didn't even bother with the rest of my questions on OOP, FP, etc...
Am I really expecting too much of somebody that claims to have 2 years practical experience in JavaScript, jQuery, Angular, and PHP?
Do you think this is a problem a junior dev should be able to solve...even if it takes some hand-holding?57 -
PineScript is absolute garbage.
It's TradingView's scripting language. It works, but it's worse than any language I have ever seen for shoddy parsing. Its naming conventions are pretty terrible, too:
transparency? no, "transp"
sum? no, cum. seriously. cum(array) is its "cumulative sum."
There are other terrible names, but the parser is what really pisses me off.
1) If you break up a long line for readability (e.g. a chained ternary), each fragment needs to be indented by more than its parent... but never by a multiple of 4 spaces because then it isn't a fragment anymore, but its own statement.
2) line fragments also cannot end in comments because comments are considered to be separate lines.
3) Lambdas can only be global. They're just fancy function declarations. Someone really liked the "blah(x,y,z) =>" syntax
4) blocks to `if`s must be on separate lines, meaning `if (x) y:=z` is illegal. And no, there are no curly braces, only whitespace.
There are plenty more, but the one that really got me furious is:
98) You cannot call `plot()`, `plotshape()`, etc. if they're indented! So if you're using non-trivial logic to optionally plot things like indicators, fuck you.
Whoever wrote this language and/or parser needs to commit seppuku.rant or python? pinescript or fucking euphoria? or ruby? why can't they just use lua? or javascript? tradingview17 -
The man who runs my IT department. The man who is in charge of all things and people that are technical: IT management software development, infrastructure, training, help desk, system administration, etc. A man with a staff of fifty plus. If you were to peel back the flesh on this man's head and crack open his skull you would find dung beetles feasting on the feces that power his thoughts and motor functions. Underneath this foul membrane, if you could push past the maggots; the meal worms; his undying love for hourly binges of Johnny Walker Black on any day of the week with a name that contains a vowel; his fascination with shiny objects and his endless internal monologue wondering when they would hatch rainbow ponies that fly; his desire whenever he enters a paint store to open all the cans of paint and taste the different colors; if you could push past all of the vile crap that exists where Thomas Aquinas once theorized there was a soul, you would find a colony of paramecia at the end of their short lives laughing hysterically at how much smarter they were than the host they lived in.
This man was in charge of hiring the Manager of Software Development. The manager I report to. After seven months of ignoring this chore; after interviewing the sum total of four candidates; after making a point to tell myself and a colleague that there was no one qualified to fill this position within our company (an opinion that is both untrue and, when spoken, runs afoul of internal hiring policies) this man hired a soulless cretin with no experience in software development or with running a software development group. A man who regularly confuses web servers and SQL servers. A man who asked me how my previous manager reviewed my work, was told by me that said previous manager read my code, and then replied in his capacity as the manager of software development that "looking at code is a compete waste of time for a manager." A man so without any humanity or reason for being that he will sit silently, creepily, in conference rooms with the lights off waiting for meetings to begin. Meetings he has scheduled. That have no reason for being in the first place. Just like himself.
Shortly before the man in charge offered the Dev Manager job to the simulacrum of human flesh that is my manager, he met with me and others who had been involved in the interview process. When I informed him that hiring someone with no technical knowledge for a very technical position would be a mistake that he would suffer through for years, he replied in reference to his future hire that "his managerial experience makes up for his lack of technical knowledge."
Best. Prank. Ever. Worst prank ever too. Fuck.6 -
Trying to explain my job to friend who don't know computers.
Friend: So what do you do?
Me: Well they call me a "DevOps Engineer", but really I am just a Release or Automation Engineer.
Friend: What is that?
Me: Well I assist developers build and deploy their code as well as write code to automated the whole process and build the virtual servers.
Friend: So you like program?
Me: Kinda...
Friend: Dude can you write an app for me, got some ideas!
Me: (blinks) no.6 -
Enough is enough!!!
I just received an email from HR because "Your not supposed to work that much as a trainee! Your should study at home"
WELL THANK YOU, BUT DID IT EVER COME TO YOUR MIND THAT I MIGHT ACTUALLY BE WORKING?!
I just wrote back that I have tons of stuff to do, and that they can talk to my boss if they want me to work less.
So to sum up:
I solve problems and get screamed at by HR in return?
IT FUCKING GREAT10 -
!dev
!!misery
I'm drunk, so it's time for some faux-emotional, blunt oversharing. and lots of profanity. It won't be pretty.
------
I'm miserable. I can't sleep at night. When I finally manage to, I sleep like crap. In the morning, early, I get woken up by my children screaming or pulling my hair or jumping on either the bed or me, or talking ad furore, or any number of other miserably unpleasant things that completely prevent sleep. So I'm tired every single day, which totally surprisingly makes focusing on work fucking difficult. Doubly so because the work is fucking uninteresting and the code is awful to read and difficult to understand because it's complicated and often poorly written. And extending it takes enormous mental effort I simply do not have to give. Oh! Guess what my job is?
To make matters worse, time to myself basically does not exist, ever. I wake up, I attend standup, I cook and eat breakfast, I work while fighting against endless distractions and interruptions, I cook and eat dinner, I work some more, and finally: I can go to bed and try to sleep. The next morning, I wake up and repeat this misery, ad nauseam.
Et ad nauseam? Nauseam est nunc.
It's not proper latin, but fuck you. it's good enough. and nobody speaks it anyway.
Ego sum miseriae. Is that good enough for you?
I can't find it in myself to care about anything. I've been doing whatever I can to feel a little more normal, but mostly I just feel numb. If I drink, it helps a little because I notice my misery a little less. That's a great solution right there: drink until I don't care anymore, and keep doing the same shit without even trying to make things better. Why? Because I fucking can't. I hate this house, I hate the lack of quiet, I hate this city, I hate the dust and the clutter, I hate this state, I hate this codebase, I don't like my coworkers, I hate that I can't get a fucking thing done without spending 6x longer than it should, I hate that I can't fucking think of a single thing I want to do, I hate that I can't ever enjoy anything, I hate that I'm beginning to hate myself, and I fucking hate everything else, too.
In short:
I'm not happy. I'm fucking miserable.
And no, I'm not posting this here for you to psychoanalyze me or suggest solutions. It's for me to vent. Fuck your opinions and fuck your advice and fuck you.29 -
Me: doing light browsing.
CPU Fan: increases frequency like crazy.
Me: opens task manager.
Windows 10: 60% cpu usage.
Me: sort processes by cpu usage; sum does not match.
Me: closes iTunes update window.
CPU usage: drops to less than 10%.
The update had already finished and the CPU usage was 60%!!!
WHAT THE HELL ARE YOU DOING, APPLE?3 -
Removed a bug 2 weeks ago.
Customer calls today and wants to have it back.
The error miscalculated a sum.
🤷
When you thought you saw everything...10 -
In a programming contest, I forgot how to round numbers in Java, an I needed a 3 number rounding, so I multiplied the number by 1000, then sum 0.5 and convert it to integer so the decimal part would be gone, finally, just print the number except the 3 last digits as a string, put a period and print the other 3 digits.
I must say I'm not proud of that.5 -
I took a one month intern position for a company doing data entry. They had thousands of rows in dozens of spreadsheets, and they needed the data entered, row by row, into two different sites, and then link the two entries together.
After the first day I was ready to lose my mind. But... I'm a developer. You know where this is going 😉
At noon the next day, I emailed my employer: "hey, I finished all three spreadsheets you gave me, and I'm ready for more." A few minutes later I received an absolutely astonished phone call.
Long story short, I had all the spreadsheets entered by the end of the day (unfortunately putting the rest of the interns out of a job!), got paid a decent sum for the thousands of $ I saved them, and received a permanent position, where I'm still working today :)6 -
23:04 Client: We need these changes pushed to production before morning.
06:22 Staff: Changes pushed to prod.
<Tells story to manager>
Manager: Sum up the time you've worked on it and double it.
This isn't a special thing, we however have a policy stated in our contracts that all changes must be scheduled with a minimum of 24h before the time they're needed.8 -
So, my wife is in the hospital with two of the kids for an annual checkup. Should be nothing to worry about but still it's stressful and I want to be there.
I'd booked the day off (until the end of the week) and last week I got told, you've taken too many holidays, just the Friday is approved.
Ok, fine, I'll do some extra hours work from home and be there for the appointment. But fuck no, they schedule an "important" client meeting this morning and I'm required to attend.
TWO FUCKING HOURS and I contributed a sum total of 2 sentences which could have been filled in just as well by the other developer on the call
Just another reason I'm happy to be interviewing at other companies.6 -
To sum up yesterday:
A pigeon flew into the classroom in school so I think we did pigeon debugging.
The questions asked were: "Why would you fly into a building" and mostly "how the fuck did you know which of the ten windows are open?!"4 -
This happened a while back but thought it would be an interesting story.
So there is this guy, I'll call him Jack. Jack was a weirdo. He just graduated high school but thought of himself as very hot in terms of dev skills. He boasted lots of good programs, that are the best in industry, except they don't work (like the best proven file compressor, that just can't decompress anything because of some "bugs"). He also entered language holy wars quite actively, saying that Delphi is the best platform ever.
Aaanyway, a couple of years pass. Jack is now a student. Jack tries to make some money, so he talks to some guy, that offers him a "job" at the tax office, where he has to modernize the data infrastructure of the tax authorities. If you think this sounds very wrong, then you're 100% correct. But it gets better. After 2 months of work, the guy manages to do that. It's a simple CRUD application after all.
So everything works, but the guy who gave him this job refused to pay. He stalled and then just stopped answering the phone. Jack is now furious. So what he does, is publish the databases online, so everyone could see the income of every citizen. Authorities are in panic. They send the police to his door. They seize his computer and lock him up for a few days.
To sum it all up: Jack took up a job, without any contract, without any NDA, which is completely illegal in of itself, but he did that with the tax authority. And delivered the product before getting paid. And when he understood that he was owned, he published all online. He got bit back. The guy who gave him this job had no consequences for illegally hiring someone and not paying for their work.
Lesson: Don't be Jack11 -
During my first-ever technical interview, the interviewer asked me "Do you know the FizzBuzz problem?"
"Uhh, not really." (I was just thinking ok this problem has a name, must be some algorithm problem)
"So the problem is basically to give you the numbers 1 to 100, if the number is divisible by 3, print 'Fizz', if divisible by 5, print 'Buzz', if divisible by 3 and 5, print 'FizzBuzz'. For other numbers just print out the number itself."
After hearing the problem, I felt so many ideas popping out of my stressed brain.
I thought for a bit and said "ok, so if the digit sum of a number is a multiple of 3, then the number is divisible by 3, and if the last digit is either 0 or 5, it's divisible by 5."
Then I started to code out my solution until the interviewer said "there's an easier solution. Can you think of it?"
This stressed me out even more.
I thought for a bit and said "well, starting from 3, keep a counter that records how many iterations are done after 3. When the counter hits 3, that number would be divisible by 3 for sure. Should I try this solution?"
The interviewer said "Sure." So I started again.
However, I struggled for about another 3min until I realized this solution is a lot harder to implement. The interviewer probably saw my struggle too.
This was the point where he stepped in and asked me "Ummmm there's an easy way of solving this. Have you heard of the MODULO OPERATOR?"
In sheer embarrassment, I finished the code in 30s.
Of course, there was no further question after this, and I felt the need to seriously reevaluate my intelligence afterwards.15 -
An excerpt from the best rant about whiteboard interviews posted on the internet. Ever.
"Well, maybe your maximum subsequence problem is a truly shitty interview problem. You are putting your interview candidate in a situation where their employment hinges on a trivia question. — Kadane's algorithm! They know it, or they don't. If they do, then congratulations, you just met an engineer that recently studied Kadane's algorithm.
Which any other reasonably competent programmer could do by reading Wikipedia.
And if they don't, well, that just proves how smart the interviewer is. At which point the interviewer will be sure to tell you how many people couldn't answer his trivially simple interview question.
Find a spanning tree across a graph where the edges have minimal weight. Maybe one programmer in ten thousand — and I’m being generous — has ever implemented this algorithm in production code. There are only a few highly specific vertical fields in the industry that have a use for it. Despite the fact that next to no one uses it, the question must be asked during job interviews, and you must write production-quality code without looking it up, because surely you know Kruskal’s algorithm; it’s trivial.
Question: why are manhole covers round? Answer: they’re not just round, if you live in London; they're triangular and rectangular and a bunch of other shapes. Why is your interview question broken? Why did you just crib an interview question without researching whether its internal assumption was correct? Do you think that “round manhole covers are easier to roll" is a good answer? Have you ever tried to roll an iron coin that weighs up to 300 pounds? Did you survive? Do you think that “manhole covers are circular so that they don’t fall into manholes” is a good answer? Do you know what a curve of constant width is? Do you know what a Reuleaux triangle is? Have you ever even been to London?
If the purpose of interviewing was to play stump the candidate, I’d just ask you questions from my area of specialization. “What are the windowing conditions which, during the lapping operation on a modified discrete cosine transform, guarantee that the resynthesis achieves perfect reconstruction?” The answer of course is the Princen-Bradley condition! Everyone knows that’s when your windowing function satisfies the conditions h(k)2+h(k+N)2=1 (the lapping regions of the window, squared, should sum to one) and h(k)=h(2N−1−k) (the window should be symmetric). That’s fundamental computer science. So obvious, even a child should know the answer to that one. It’s trivial. You embarrass your entire extended family with your galactic stupidity, which is so vast that its value can only be stored in a double, because a float has insufficient range:"
Author: John Byrd
Src: https://quora.com/What-is-the-harde...3 -
* !rant *
So I've been working since the summer on an app that uses NLP to record audio (I was thinking of using it for school classes), transcribe it and summarize it automatically
I've been using it at school and it WORKS
IT WORKS
I've actually put an app that I made to make my homework and sum classes up and IT WORKS8 -
"We need you to give 110% so that the total is greater than the sum of the parts... Eg: 1 + 1 > 2"
You're addressing a team who use logic to make you money. What the fuck are we supposed to do with this shit?
1 + 1 > 2?
false
Fuck off.7 -
Lodash is the new JQuery.
"How do I sum two numbers?"
"Uhm... dude, I think you are gonna need Lodash"4 -
Not awkward, just annoying. Had a recruiter call me out of nowhere and then try to pressure me into immediately declaring my salary expectations straight up saying "so we know you're not wasting our time". You're the one calling me, asshole; I tell him to state his budget so I know he's not wasting my fucking time. He named a sum that was laughable, especially knowing this company offered much more in their own listing.1
-
Me : "hey front end dev, here is an API returing a list of objects, put them in a table"
*Some hours later
Front end : 'Done !"
Me :" Where are the totals?"
front end : 'Api doesn't give me totals"
me : "Calculate them. Just do a sum"
front end : 'I don't know how".
Yeah, "front end" apprently means only html css.... FML23 -
Not really a rant but my biggest fuckup that entirely ruined my IT career and future life
> be me 21yo CS student looking for an internship
> looking for help with my friend and sent him my CV to apply to a big corp
> then I lied that I have sent CV to official email {here the fuck up begins}
> after that I got an instant phone call from a friend of him claiming that the CV was sent properly and I am going to visit a company
> I had a review but it was recorded my CV hasn't got precisely specified technologies so interviewer thought I can manage to work as a dev not an intern
> with my shitty communication skills I managed to "work" there 8days, fucked up someone's computer by deleting his Windows and all data he had and installing Ubuntu instead
> then shit got out of control for an intern I talked a lot of bullshit in this Corp they realized I was there an "alien" and I didn't even know what to do so I wanted to sudo rm - rf myself
> unfortunately my parents woke up that morning I decided to sudo rm - rf and and I am now in mental asylum with fucked up people and the Corp knows where am I and I am going to pay for my stupidity and being naive (I didn't even seen the CEO, I didn't have enough information that I really worked there)
> To sum up, being bipolar, naive and irresponsible has brought me to this point in life. Thank you for reading. I don't see a solution, my parents don't believe me and I feel isolated with this fuckup so I decided to share it as a remark for young people starting in IT. For me it already ended too fast.12 -
I did some grave and irreversible mistakes in my life
- Never gathered enough courage to mingle with women when I was younger and now the hope is lost
- Compromised my values and mental wellness when I met a narcissistic bitch
- Did not invest money wisely when markets were sailing low and allowed that good sum to sit in bank
- Did not plan health and term insurance at early age when premiums could have been low
- Out of fear, did not follow my gut to purchase gold because my father was acting crazy (or else my money would have been doubled)
- Did not plan my taxation well (or until now would have paid almost zero tax)
- Did not define strict boundaries and allowed people to overstep (or else I would have better friends and family relationships)
- Did not quit my job early and stuck with low paying shit with negative learning, for years (or else I would have grown exponentially)
Thankfully few things I did right are, spending more time with my mom and learning from my mistakes.
I hope I don't make such stupid life choices again.15 -
a tale of daily frustration:
git fetch
*yup I'm up-to-date ...*
git add -p .
*hack in beautiful patch ...*
git status -bs
*correct branch, didn't forget any files ...*
git diff --cached
*yep, that is what I mean to commit ...*
git commit -m"[TKT-NUM] Meaningful commit message"
git log -p -1
*double-checking ... looks good ...*
git push remote tkt-num-etc
*for a brief moment feel accomplished ...*
*notice typo in commit message ...*
I don't have a funny image or punchline to sum this post up. But know that if you recognise this feeling, then I am your brother in git.6 -
Me at an interview...
interviewer: can u solve a 3-sum problem
me: sir, a threesome is not a problem
interviewer: not threesome, 3-sum
me: OOOOO! that makes sense6 -
Here's to clients who wish to pay "per project" instead of "per month". Man, fuck that.
Back when I was still a novice, I took on a couple of small time projects from clients who contacted me after looking at my GitHub, and they all wanted to pay me a lump-sum for the project. Because I'm an idiot, I thought sure, what difference would that make. Boy was I wrong.
What followed was me finishing the projects well before time but because of the clients' constant reiterations and changes in design and nitpicking every decision I made while creating the websites for them, the projects dragged on for weeks longer than they were originally intended. And I fucking got paid that one-time amount in the beginning. All this maintenance, for free. Even though I had not explicitly agreed to the maintenance part, since they never finalized the specifications of the project, it just never got "done" officially, and all the maintenance part just came under development.
How many different kinds of disgusting does someone have to be to do this? I should've fucking said NO to those terms, but I had to have experience. Well, nice experience that was. Never again. :(1 -
http://mindprod.com/jgloss/...
Skill in writing unmaintainable code
Chapter : The art of naming variables and methods
- Buy a copy of a baby naming book and you’ll never be at a loss for variable names. Fred is a wonderful name and easy to type. If you’re looking for easy-to-type variable names, try adsf or aoeu
- By misspelling in some function and variable names and spelling it correctly in others (such as SetPintleOpening SetPintalClosing) we effectively negate the use of grep or IDE search techniques.
- Use acronyms to keep the code terse. Real men never define acronyms; they understand them genetically.
- Randomly capitalize the first letter of a syllable in the middle of a word. For example: ComputeRasterHistoGram().
- Use accented characters on variable names.
- Randomly intersperse two languages (human or computer). If your boss insists you use his language, tell him you can organise your thoughts better in your own language, or, if that does not work, allege linguistic discrimination and threaten to sue your employers for a vast sum.
and many others :D -
Finished the hacktober fest yesterday.. fastest 5 PRs I've ever made on my repos, I actually forgot to sign up at the beginning of the month.. I pity those who are following me.9
-
I really love taking HR mandatory training concerning covid-19 that apparently speaks for me.
Did you guys know that I was dying to go back to work instead of remotely doing everything from the comfort of my fucking home?? and that my biggest fear was that i would be at home too much and missed the workplace?
No? well, me fucking either. I was way the fuck more productive working from home that being in my office dealing with stupid shit all day because i was constantly being interrupted.
Pretty sure my employees felt the same way when I yelled from my office :"y'all this training is some bullshit and apparently you guys were fucking dying to come back"
and one of them yelled "ahhh hr speaking for me again!!"
Fuck brainwashed trainings.5 -
My name is Jimkelly Nzioka, a Flutter Developer from Kenya. A few months ago, a person named Daniel Kibet, the CEO of a company 'Aberison Investments Limited' got in touch with me, telling me that he needed a Flutter Developer. He took me through a couple of tests, as he out them, to gauge my proficiency in Dart and Flutter, since that's what we would use to develop updates fora lthis app on the Google Play Store named 'BOBO' (https://play.google.com/store/apps/...) I passed the test, and he proceeded on to tell me that the app was on Play Store already and he invited me to the office in Miraj Towers, Westlands, Nairobi, Kenya to see it. He presented me with a contract to sign which would go on for a period of 3 years, during which I was to develop the aforementioned app, provide updates maintain the database, etcetera. I live somewhat far from the office and as such, I would work remotely from home, making commits to a Github repository we created for the project. I did a bunch of work for them, including working in the UI (which really needed a lot of work), writing loads of Cloud Functions, as well as Cloud Tasks for functionality they needed. They would also consult with me concerning how to achive some functionality in code and I would offer my honest advice and suggestions. Things seemed to be going on well, until the start of this month. As per the contract, I was to bill the company a sum of Ksh 50, 000 every month that's roughly equivalent to $500. That was enough for me, seeing as I am still a student in University, and I would be working on it as a part time job. However, as of today, September 8, 2020, he has refused to pay me for my work and is ignoring, sometimes canceling any phone calls I make to him. In addition, I noticed he has restricted my access to the Firebase project
I know you probably don't know this person, but you are developers and engineers, and know what it would feel like if you realized someone has been using you, when all along you have been doing your level best to just do your work
Employers have to stop taking advantage of their employees for their own selfish gains19 -
I hate doing estimates, but I had to adapt. Since I work remotely and under contract, I'm used to track my time and estimate by hours.
I did a lot of mistakes before, which means I worked for free to wrap up fixed price projects.
Today, the method that is working best for me is:
1) positive estimate
2) most likely estimate
3) worst case estimate
Sum up and divide by 3.
I do this for every task.
Also, for Web projects, I like to divide tasks in categories like: HTML / CSS, UX, programming, testing.4 -
The best estimations are the team based estimations. Do a planning poker, but don't agree on the average or median, just sum up all the estimations! 😉1
-
Interested in the "If 42 is the answer? What is the question?" diversity. 🤔
*me going to wikipedia*
searching for 42
buncha math stuff whatever
matrix sum... interesting 🤨
(is 42 maybe related to dimensions?)
*sees a lot of programs relations where 42 is considered magical in themselves*
"The ASCII code 42 is for the asterisk symbol, being a wildcard for everything."
*literally speechless* 😮8 -
Client asks me to implement pie chart on webpage. Sum of figures supplied amounts to > 100%. Pointing out discrepancy I request the correct figures, only to be told that the figures are correct. Very well. One week passes. Receive email from client: "The figures for this chart are wrong, they total > 100%, here are the correct figures...". *Sigh*.1
-
When you see what worked for someone else with a similar issue on GitHub and run it.
Trust me, I hope I know what I'm doing too.1 -
fuck code.org.
here are a few things that my teacher said last class.
"public keys are used because they are computationally hard to crack"
"when you connect to a website, your credit card number is encrypted with the public key"
"digital certificates contain all the keys"
"imagine you have a clock with x numbers on it. now, wrap a rope with the length of y around the clock until you run out of rope. where the rope runs out is x mod y"
bonus:
"crack the code" is a legitimate vocabulary words
we had to learn modulus in an extremely weird way before she told the class that is was just the remainder, but more importantly, we werent even told why we were learning mod. the only explanation is that "its used in cryptography"
i honestly doubt she knows what aes is.
to sum it up:
she thinks everything we send to a server is encrypted via the public key.
she thinks *every* public key is inherently hard to crack.
she doesnt know https uses symmetric encryption.
i think that she doesnt know that the authenticity of certificates must be checked.7 -
I miss old times rants...So i guess, here it goes mine:
Tomorrow is the day of the first demo to our client of a "forward-looking project" which is totally fucked up, because our "Technical Quality Assurance" - basically a developer from the '90-s, who gained the position by "he is a good guy from my last company where we worked together on sum old legacy project...".
He fucked up our marvellous, loose coupling, publish/subscribe microservice architecture, which was meant to replace an old, un-maintainable enormous monolitch app. Basically we have to replace some old-ass db stored functions.
Everyone was on our side, even the sysadmins were on our side, and he just walked in the conversation, and said: No, i don't like it, 'cause it's not clear how it would even work... Make it an RPC without loose coupling with the good-old common lib pattern, which made it now (it's the 4th 2 week/sprint, and it is a dependency hell). I could go on day and night about his "awesome ideas", and all the lovely e-mails and pull request comments... But back to business
So tomorrow is the demo. The client side project manager accidentally invited EVERYONE to this, even fucking CIO, legal department, all the designers... so yeah... pretty nice couple of swallowed company...
Today was a day, when my lead colleague just simply stayed home, to be more productive, our companys project manager had to work on other prjects, and can't help, and all the 3 other prject members were thinking it is important to interrupt me frequently...
I have to install our projects which is not even had a heart beat... not even on developer machines. Ok it is not a reeeeaaally big thing, but it is 6 MS from which 2 not even building because of tight coupling fucktard bitch..., But ok, i mean, i do my best, and make it work for the first time ever... I worked like 10 ours, just on the first fucking app to build, and deploy, run on the server, connect to db and rabbit mq... 10 FUCKING HOURS!!! (sorry, i mean) and it all was about 1, i mean ONE FUCKING LINE!
Let me explain: spring boot amqp with SSL was never tested before this time. I searched everything i could tought about, what could cause "Connection reset"... Yeah... not so helpful error message... I even have to "hack" into the demo server to test the keystore-truststore at localhost... and all the fucking configs, user names, urls, everything was correct... But one fucking line was missing...
EXCEPT ONE FUCKING LINE:
spring.rabbitmq.ssl.enabled=false # Whether to enable SSL support.
This little bitch took me 6 hours to figure out...so please guys, learn from my fault and check the spring boot appendix for default application properties, if everything is correct, but it is not working...
And of course, if you want SSL then ENABLE it...
spring.rabbitmq.ssl.enabled=true
BTW i really miss those old rants from angry devs, and i hope someone will smile on my fucking torturerant marshall_mathers worklife sugar-free_tateless_cake_decorant_figure_boss missolddays oldtimes_rants5 -
I work for a web agency.
Over the last 18 months a company asked us about 5 different quotes for rather minimal changes to their website.
While being minimal changes, estimating costs for them still requires several hours of work for research, meetings, correspondance and writing the damn things. They never even gave us a response (neither positive nor negative), except once where they told us that they wouldn't pay for project management because their instructions are so clear that PM isn't necessary.
As a response to the last one, after several months, they send us a 10 pages long pdf with requirements for a new website (or a "restyle" like they call it, even if it has absolutely nothing in common with the current one).
We inform them that we can't permit ourselves to continue studying new solutions for free and therefore tell them that a detailed offer would cost them something like 300$, and that amount would then be discounted from the eventually accepted job. We also roughly estimate a price range of about 15k - 20k for the new website.
We get an email back, from the CEO (until now it was a secretary), with essentially 3 arguments written in condescending form:
1. he brags about his revenue being over 9 billion $$$ a year, and that being a part of a global holding for which "communication is essential" (sic.) means that they need to coordinate and "can't simply accept an offer" [even if it's 400$, for specific change exactly requested by them, I guess...]
2. 15k is too much [... for the website representing this 9 billion dollar holding on the internet, for which the requirements are written in the 10 pages long pdf]
3. He asks for a meeting
We accept the meeting, we go to their office.
When we arrive there, the secretary informs us that the CEO will not participate. So we talk the her and the head of the "Communication Dept" in videoconference.
I explain them that if the sum, which we thought would be appropriate (~15 - 20k), is too high, the Pareto principle would allow us to, theoretically, achieve about 80% of the features and quality for about 20% of the cost. Their genuine response is:
"So your estimate was wrong! You can do it for much less!".
I try to explain them that the most money in a project goes into "attention to detail".
The "Communication Dept." person, who is "doing this job since too much time" (sic.), refuses to believe and insists that "details" don't exist on the web.
I tell her: "In any kind of work, the more effort you put into something, the better it tends to get, with diminishing returns".
She insists: "I don't understand this".
So now I'm here, doing the 6th offer, free of charge, for a 5k website, for a company that generates 9kkk revenue each year, trying to define a "Definition of Done" that works out.
FML I guess.
Sorry for the long post.7 -
So in my 6 ppl dev team management had to do cuts and pulled a jira report of story points sum of the past 10 months, it went like this:
1. 307
2. 307
3. 283
4. 274
5. 257
6. 220
The 6. Guy is a teamlead so he was safe. 4 and 5 guys were fired with zero notice and 1 weeks severance pay (we are contractors).
Best part is that remaining 2. And 3. devs produce very low quality code. But hey, they have enough story points. Managament didnt even bother to discuss with teamlead about who to keep. Workload is the same, we were told to "level up".
You can't make this shit up. US based startups man.11 -
I hate the old people in my company. FUCK THEM!
First I'm telling you a bit about me, so my story makes sense. I'm currently employed as IT-Tecnician in a Helpdesk as 1st & 2nd Level Supporter. I'm working for the current company since 2 years and already sweat too much Blood and Tears for the Old farts.
Now to the Story:
I'm currently planing to make a three year study as IT-Business Engineer, because I was orginally a Real Estate and Account Manager. That is the highest schoolar degree I can currently get in IT with my background. After that I would get the pass for BSc or CAS.
Two years ago when I took the Job I told them, that I would like to start my study in the next two years. Back then they agreed and told me, they will support me.
After that I got a very good reputation in the company and also took part in projects, coded plugins and evaluated requierments for programms. I got still payd with a low Supporter income for my work.
In february this year I told them I want to start my study in May. They boss told me I should do a way lower degree for two years and go into infastructur segment. I told him that my wished degree would be higher and also include infrastructur. Boss told me, that I will need to prostpone my study a third time to autumn.
The reality is, that they want to underpay me as supporter and keep me without a degree. I should keep working on projects, which a high degree tecnician does and gets better payd. In everyway thats unfair and just a hit into my gut. They try to ruin my career and keep me cheap.
The joke is, the boss is over 50 years old and is egostic as fuck. He just wants to profit from my knowledge and wont pay me for it.
I already got the knowledge and just need to have a higher IT degree, so I get payd a fair sum for my work.
My only option is to quit the company or stay as a lowly supporter.
Even my other coworkers asked me, why I'm still a supporter with my knowledge. When I told them my story, they all shugg there heads and told me, I should get the degree.7 -
I think I just hit my lowest point.
Spent ALL of last week trying to get my WAMP server to call a PHP script via AJAX and I kept getting 404s. Spent at least 10 hours on stack overflow trying to figure out why the server wasn't accessing it only to find out today that I was both looking at the wrong directory and also working the file name wrong.
I think I just need to walk away from programming for a while... 😧3 -
So I worked with this guy for 2 years. Lets call him Fred. He came into the company and immediately inserted himself as a programmer lead. I asked him to talk to our boss to determine if he was in fact in charge of the devs now. Our boss said he is not in charge of anything. He continued to act like a lead. I was like fine, "you can play boss for now". He was actually very helpful to bounce ideas off of and knew a lot about programming in general. I enjoyed working with him.
Fast forward 2 years after he was hired. I come into work and notice he isn't at work. I figure he was taking a longer vacation. It was around thanksgiving. A week goes by. I ask another coworker where Fred is. Coworker, "Oh, he was let go." Apparently there was a conflict with our boss with Fred. The boss had to work the weekend to write a bunch of code Fred was supposed to write.
So I got paranoid and wondering if I was going to get fired. I didn't understand the specifics of why and nobody was explaining this. I had planned on working on some extra code for another coworker, but decided against this due to the recent events. I just kept working the task I was assigned, but I kind of got depressed about this. This hurt my productivity for a month or two.
A few months go by. I talk to the coworker about Fred. The coworker explains that Fred never actually generated any code that was usable. Some of the code this coworker had to fix. So the sum total of code was actually a negative amount of lines written while working here.
How the fuck do you stay employed without writing code as a developer? The guy was smart, and understood math way better than I understand it. How can Fred seem like he knows what he is doing, but not produce anything? This would embarrass me to be this unproductive. I don't think the guy was incompetent. He always contributed guidance and helped keep projects on task. My coworker thinks Fred was trying to be a manager instead of a developer. Why not balance that and be both? I get sick of coding at times and would love to just talk to people.
I am very confused how Fred fucked up a pretty laid back dev job.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:: -
Apparently, floating point math is broken.
=SUM((2.1 - 2.0) - 0.1)
In PHP and Haskell this also happens10 -
So, I'm stuck...
I'm very passionate about technology. Coding and development and soldering together some raspberry pi or arduino project gets me all swept up in a false sense of belonging & sense of purpose. It's just always been my biggest passion...
As well as it has simultaneously been an elusive dream, driven away by circumstances and some pretty shitty decision making on my end... But, it's always a recurring theme and source of illumination through some dark moments... Abandonment of my dreams isn't an option.... I spent 10+ years on heroin and somehow still have the ability to dredge up some hope, surely I can finally get my foot/hand/ball sack in the door of my dreams... right??
Anyways, to sum up my ability in regard to technology/coding etc.... I'm a highly motivated and passionate Beginner-intermediate level tech enthusiast with a little html, css, Java, markdown/git know how, advanced soldering/PC building ability... With a high need to remain studious and get my ass balls deep in some computuh' learnin' circles.
In all seriousness, I really would like to be graciously provided with some communities and groups of folks that would assist me upon my path, and possibly ways I could slide into some sort of tech based career/job while amassing my IT abilities.
I am willing, but incapable of starting off in the right direction & in need of some guidance to firmly trod on towards my goals...
PS: I'm totally not a 32 year old man desperately in need of some guidance and reassurance... cause that'd make me some kinda loser or something... pfffft... I won't be 32 until 06/08.... so all is well and good 👍
Thanks in advance peeps. Later!17 -
My boss has been begging me migrate a nightmarish complex excel report he made to calculate the payout of a tiered rebates program with compounding rewards. Today I finally decided to make take the time and I sat down with him so he could break it down for me...
Me: *looking at the mess of formula's* it would be easier to rewrite the math than decode this - can you just give me the reward rules... where does that value in cellX come from?
Him:*pointing at the spreadsheet* There! All the rules are in there for you :-)... like it's some big favour...
Me:No I mean when you wrote this, what did you base this off? There must be something...
Him: *Very Gravely* No, no, no it's far to complex! It took me ages to get this sheet right and it balances so just trust me and use it ok?
At this point I will mention he's an accountant so yeah I fucking trust him... fast forward past 15 minutes of digging through what may as well be quantum theory and lo and fucking behold all 2 sheets and 100 calculations are mathematically fucking pointless. Aside from formulas like this:
$X10=+(((O10+P10)-((O10+P10)*$X$3))*$R$4)+T10
which is actually equal to (X10/R4)/L10.
Anyway once you compound and sum the "tiered" benefits the rewards payout is ALWAYS = customerSpend*1.81.
This is why programmers name variables. -
Best:
Really getting into Rust. It has taught me so many things.
1. Null is evil
2. Sum types are amazing
3. Compiler can actually have good error output
4. Multi threading is actually really scary if you don't have a compiler to back you up
Worst:
I had to deal with SSIS. It has also taught me many things:
1. No matter how 'mature' a product is, it can be awful. Simply dump a random error code, the user can figure out what went wrong, no need for good error messages.
2. The modern concept of the database is crap. It's a gigantic global state that is used by everyone and owned by no one.
3. Don't use tools that aren't made to be used with version control.
4. Even when you tell your team that it's bad, you will be ignored. -
First I write a list of all the features that the client wants on their website, then I break down the features into tasks, then I estimate the number of hours required for each task, then I sum all the hours and multiply the final number by 3.1
-
After an hour long discussion via call with someone and after over a year of working in web3. I can safely say the entire web3 is actually a sham. Im too tired and exhausted from scams and frauds to explain why. It is just a bunch of overhyped artificially inflated bullshit to lure you into the ponzi scheme. I am almost 100% sure with proof how this is all a lie. Web3 is equivalent to government and political corruption - just a bunch of EXTREMELY WEALTHY people ripping poor and middle class off by defrauding them through crypto and nfts to make the rich richer. Its truly disgusting. There is no way in HELL that you can work in this space and expect to succeed if you are not already wealthy. People apparently spend between $10,000 up to $500,000 on a single project for marketing. They spend it so easily as if they earn that sum of money back by tomorrow. This is truly sickening. The reason why marketing costs so much is because it manipulates naive and newbies, lures them into the web3 world by creating an illusion of get rich quick schemes "hey buy this jpg for $2000 and you'll be able to sell it for $20,000 in a week!" Truly truly sickening. Web3 isnt even a wild west. Web3 is a fucking dystopian void where these fucktards are like animals fighting each other who's gonna defraud a bigger chunk of thousands and millions of dollars from each other. Literal fucking shithole. I am so disappointed. I thought web3 technology was useful. Perhaps it is but people's greed has molded this technology into crime and frauds. Which is what it has become9
-
Oh gee whiz fellas. I lived through my nightmare. Recently too.
(Multiple rants over last few months are merged in this one. Couldn't rant earlier because my login didn't work.)
I joined a new shithole recently.
It was a huge change because my whole tech stack changed, and on top of that the application domain was new too.
Boss: ho hey newbie, here take this task which is a core service redesign and implementation and finish it in two weeks because it has to be in production for a client.
Normally I'd be able to provide a reasonable analysis and estimate. But being new and unaware of how things work here, I just said 'cool, I'll try my best.' (I was aware that it was a big undertaking but didn't realize the scope and the alarming lack of support I'd get and the bullshit egos I'd have to deal with)
Like a mad man I worked 17+ hours a day with barely a day off every week and changed and produced a lot of code, most of it of decent quality.
Deadline came and went by. Got extended because it was impossible (and fake).
All the time my manager is continuously building pressure on me. When I asked questions I never got any direct/clear answers. On asking for help, I'd get an elaborate word vomit of what was already known/visible. Yet I finally managed to have an implementation ready.
Reviewer: You haven't added parameter comments on your functions and there aren't enough comments in code. We follow standards. Clean code and whatnot. Care for the craft verbal diarrhea.
Boss: Ho hey anux, do you think we'll be able to push the code to production?
Me: Nope. We care for the craft and have standards. We need to add redundant comments to self documented code first, because that is of utmost importance as Nuthead reviewer explained.
(what I wish I had said)
What I actually said: No, code is not reviewed yet.
And despite examples of functions which were not documented (which were written by the reviewer nut), I added 6-7 lines of comments for my single line functions describing how e.g. Sum takes two input integers and returns their sum and asked for a review again.
Reviewer: See this comment is better written as this same-meaning-but-slightly-longer way. Can we please add full stops everywhere even though they were not there to begin with? Can we please not follow this pattern and instead promote our anti-pattern? Thanks.
Me: Changed the comments. Added full stops. Here's a link for why this anti-pattern is bad.
Reviewer: you have written such beautiful code with such little gems. Brilliant. It's great to see how my mentoring has honed your skills.
.
.
.
I swear I would have broken a CRT on his stupid face if we weren't working remotely (and if I had a CRT).
It infuriates me how the solution to every problem with this guy is 'add a comment'.
What enrages me more is that I actually thought I could learn from this guy (in the beginning). My self doubt just made me burnout for little in return.
Thankfully this living nightmare will soon be over.rant fuck you shitty reviewer micromanagement by micrococks wk279 living nightmare fml glassdoor reviews don't lie9 -
Now this looks stupid already, but here is the kicker: by "partially hydrated cursor" i mean that once every page size an sql query is ran to get the next page content. This code is put in an event handler, executed once every time a file is uploaded in a dms where files get uploaded by the thousand.
To sum things up, this simple snippet achieves triple dipping:
* waste time on useless sql queries
* waste cpu on useless iterations
* waste disk space on useless logs
Icing on the cake, the author of this piece of shit was complaining about the overall slowness of the process.
Needless to say that when I stumbled on this, both internal *and* external screaming ensued...4 -
Imagine your manager saying to you: "I've reviewed your salary and I think we are paying you too little, so I would like us to negotiate your raise." - and then proposing a larger sum than you were expecting.13
-
I fucking hate having to name something.
I mean it should be short, easy to memorize and sum up the project.
Fuck it... Proto0 it is5 -
Just had an interview, but since I am a smart ass I decide that half an hour notice before the interview is OK after working the whole day with queues, docker & php multithreading, so we start an interview over Skype and my persona was able to duck up how simple joins work as well as function which is supposed to return the sum of even numbers between 2 and provided argument... I was off by 2..
Lesson learned never get in an interview after a whole day of mindfuckery .. Never -
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 -
By:Miss. Lucia Wright
Punchline : VERY IMPORTANT MESSAGE MY DEAR
Dearest Friend,
My greetings to you in the name of our Lord Jesus Christ. I am sister Lucia Wright I am married to Archdeacon. Collins Wright whom until his death served as an archdeacon in the St. Micheal's archdeacon in Ivory Coast for nine years before he died in the year 2005. We were married for eleven years without a child. My Husband died after a brief illness that lasted for only four days.
Before his death we were both born again Christian. After the death of my Husband I decided not to re-marry or get a child outside my matrimonial home which the Bible is against. When my late husband was alive he deposited the sum of $22. Million in a security and finance company in London for safe keeping.
Presently, my Doctor confirmed to me that I have serious sickness which is cancer problem. The one that disturbs me most is my stroke sickness. Haven known my condition I decided to donate this fund to a church or individual that will utilize this money the way I am going to instruct herein. I want a church that will use this fund for orphanages,helping the widows, propagating the word of God and to endeavor that the house of God is maintained. The Bible made us to understand that? Blessed is the hand that giveth'. I took this decision because I don't have any child that will inherit this money and my husband relatives are not Christians and I don't want my husband's efforts to be used by unbelievers. I don't want a situation where this money will be used in an ungodly way,
this is why I am taking this decision.
I am not afraid of death hence I know where I am going. I know that I am going to be in the bosom of the Lord. Exodus 14 VS 14 says That? the lord will fight my case and I shall hold my peace'. I don't need any telephone communication in this regard because of my health hence the presence of my husband's relatives around me always. I don't want them to know about this development. With God all things are possible.
As soon as I receive your reply I will give you the contact of the security and finance were the amount sum is deposited for you to contact them, I want you and the church to always pray for me because the lord is my shepherd. My happiness is that I lived a life of a worthy Christian. Whoever that Wants to serve the Lord must serve him in spirit and Truth. Please always be prayerful all through your life.
Any delay in your reply will give me room in sourcing another church or individual for this same purpose. Please assure me that you will act accordingly as I Stated herein. Hoping to receive your reply. Due to present condition of my health,I was warned by my doctor to avoid receiving or making any call. For that,I have submitted the information of the deposit to my lawyer, As soon as I hear from you I will forward to you the lawyer's contact.
Remain blessed in the Lord,
Miss. Lucia Wright.
Well ok... If you want me to, I can surely help you out 😈😈😈😈😈6 -
!rant
Thanks google for giving me the opportunity to work with neural networks without being an expert about them.
http://automl.github.io/auto-sklear...
To sum it up:
1. Preprocess data
2. Use Automl to train classifier
3. ????
4. Profit1 -
I think I did it. I did the thing I set out to do.
let p = a semiprime of simple factors ab.
let f equal the product of b and i=2...a inclusive, where i is all natural numbers from 2 to a.
let s equal some set of prime factors that are b-smooth up to and including some factor n, with no gaps in the set.
m is a the largest primorial such that f%m == 0, where
the factors of s form the base of a series of powers as part of a product x
1. where (x*p) = f
2. and (x*p)%f == a
if statement 2 is untrue, there still exists an algorithm that
3. trivially derives the exponents of s for f, where the sum of those exponents are less than a.
4. trivially generates f from p without knowing a and b.
For those who have followed what I've been trying to do for so long, and understand the math,
then you know this appears to be it.
I'm just writing and finishing the scripts for it now.
Thank god. It's just in time. Maybe we can prevent the nuclear apocalypse with the crash this will cause if it works.2 -
Windows 10 updates. I see many posts about singular events that people have experienced, so I thought I'd try to sum up all the problems I have had.
Home computer, always on:
Is scheduled to update during 'inactive hours' but the options for that window are too narrow. So almost daily the 'required updates' overlay pops up WHILE I'M DOING STUFF and I have to say 'Ok' then close the update settings window that opens automatically so I can get on with what I'm doing.
Now, if I'm just browsing, writing or something like that, it's just really annoying.
But when I'm gaming and it causes the game to freeze up (because, you know, ubisoft and ea and such) and I lose my progress, that pisses me off.
When I'm hosting movie night with my friends and the movie gets interrupted, that pisses me off.
Even when I'm just trying to relax with a good show after a hard day and THAT gets interrupted, it really bugs me.
And then when there's a major update and I don't want to schedule it right away, they decide that I probably meant 'do it in an hour'. And then a message pops up every hour with only the option to postpone one more hour. What happened to all the options for scheduling it for several days in the future? Nope! Can't decide? We'll do it RIGHT NOW, NO TAKEBACKS, THAT'S FINAL!
I cannot fathom that they can't find a way to ACTUALLY do the 'inactive hours' thing.
And then there's the work computer. For the last two years, that has been a laptop that I shut down and take home every day. The common problem with that is that it always tells me it has to update when I want to shut down for the day because I have to go home. I can't leave the pc turned on in my bag, it would overheat. So since there is no option to shut down without updating anymore, I have had to rely on the fact that using the power button to shut down circumvents the update.
And if I don't remember to update at home, it's then going to waste my time the next morning at work.
Just give me the option to delay for a bit, then remind me NON-INTRUSIVELY so I can do it when I have the time.
And then there was the update that prevented the machine from booting and I had to waste TWO working days reinstalling EVERYTHING! And we were about 6-7 people hit by that update in our organization.
So yeah. Windows updates are a real fucking problem. Yes, I wan't critical fixes for security problems and other serious software flaws.
But the current policy of 'fuck you, we're doing this' is just not fucking acceptable in any way.3 -
Found a nifty way of generating the 7th dedekind number because of how it uses the difference of powers, and the sum of the fifth and sixth dedekind numbers:
((5**d(10))-(5^(9)))-((((5+168)*2)+7581)*2)
Pretty sure its a one-off though. Couldn't find any generalizations. Just a happy accident.25 -
Fun fact: banks won't let me take loans. Any kind of loans.
Why? It's not because I have a history of missing payment schedules. It's because I NEVER had a credit card or loans — I paid for everything with cold hard cash my whole life. But it all changed when I fried a charging controller on my laptop, so I needed a new one fast. I was in between jobs then. So, I took a loan for a new laptop, one thousand dollars, a large sum for me back then. I found a job and covered that loan ahead of schedule, in three months instead of one year. In total, my bank made a mere $5 off of me.
Banks now know I won't bring any kind of interest in whatsoever, as I never miss my payments. So, they decided to quit on me completely.
That's a proof that banks don't want you to pay on time — they want you to delay your payments and let your interest build up, so you're forced to take new loans to cover old ones. They want you to pay interest forever, having barely enough money to cover interest, but not the loan itself.17 -
As a student I got involved in a project written by another student who wasn't working at the company for the time I started. It was a web based application written in plain JS and PHP. His attempt was really terrible and I had to rewrite almost everything. If I sum this up I deleted about 4k lines of code and replaced them with about 2k of my code. My attempt is scalable and it is much easier to build new functions and modules.
-
Without using editor...
public class Test {
public static void main(String[ ] args) {
int value = 3, sum = 6 + --value;
int data = --value + ++value / sum++ * value++ + ++sum % value--;
System.out.println(data);
}
}
a) 1 b) 2
c) 0 c) 318 -
my fist job... i get to edit a c++ code written by a (mind you) programming company that they teamed with for the past(mind you again) 3 years ...
now just for starters, this code was edited by self taught coders that are really good engineers(they are really good), that didnt really know how the code worked before yet they still changed it, and it worked, how ever they wanted some changes.
i get the project files, and there is not one single comment describing what is happening... only code commented out... and no documentation what so ever were done....
so below are some of my comments that i wrote after i finished adding what i had to add, and fixing what i had to fix:
/*first rule of C anything coding, no actual functions in the header, well let me introduce you to a fully functioning thread running program all in the header, enjoy*/
//used to control the thread
// i honestly dont know why, but it worked soooooo yea...
// TG uncommented // for absolutely no reason what so ever...
//used to communicate with the port
//the message to be sent to the inverter, which has a code that will handle it
//hmmmmmm...
//again not usefull since we are using radioButtons
// same ...
// same ...
// same ...
// they said they dont even use this mode, but none the less, same ...
// calculate the checksum for the message
// ....
// one of the things that work, and god forbids i touch
// used for the status displayed on screen
// used for the (censored :P) status in the message
// used for the (censored :P) status in the message
// not used at all, but the message structure contains it and i refuse to edit that abomination
// used for the (censored :P) status in the message
// used for the (censored :P) status in the message
// just dont ask and roll with it, i didnt want to touch this
// saaaaame ...
// if before true this saaaaaame ...
// value of the (censored :P)
// it pains me to say it again, but this is no use
// (censored :P) input
// (censored :P) input
// only place seen , like for real it was just defined,sooooo yea :D
// well you know how it is
// message string
// check sum string
/****below from feed back****/
// (censored :P) coming in
// (censored :P) coming in
// (censored :P) coming in
// (censored :P)
/****below is the output to the receiver ****/
//(censored :P)
// (censored :P)
// (censored :P)
// (censored :P)
//you thought we were done.... nope, no idea. it comes in the feedback
// not used, literally commented out the one time it was used
// same ...
// XD, man this is a blast, same ...
// nope ...
// used to store the port chosen for the communication
// is a static for the number of data we have recorded so far, and as a row indicator for the recording method
// used to indicate the page we are on in the excel file, as well as the point in physical point in the test
// same ... oh look at this a positive same :D
// same ...
// same ...6 -
C++ rant, but I'm sure it is similar in other languages.
I cannot stand +=,-=; I understand it is shorter, but for some reason I would prefer seeing: sum = sum + 1; or the like. Am I just too much of a newb to appreciate it, or is it just preference.13 -
Guyz let hack this
Here is the tea
A house wife forgot her bank 'ATM PIN' which is a four digit number, but luckily she remembered some hints on how to recall this 'PIN'
Here are some of the clues
(1) The 1st digit is half of the 2nd
(2) The sum of the 2nd and 3rd is 10
(3) The 4th is equal to the 2nd plus 1
(4) The sum of all the digits is 23
What is the ATM PIN ?3 -
Badass scenario:
Professor: writes a loop to sum up first five numbers and asks the output.
Me: 500
Other random student: 15
Prof praises him.
He runs the code.
Output: 500 ( internal server error)
(He had a missing semicolon) 😅6 -
Set some dev goals..
TLDR: spend less time at work coding
No, really..for what I do at work, I am happy. Would like to learn more recent stuff (partially stuck with vb.net), but I don't even know where to start googling.. sooo... get more free time I guess to figure this out..which is a dev goal on it's own too, come to think of it, this translates as don't spend so much time at work coding.. and spend some of it learning new (dev related) things outside of work..new/different js frameworks, python (been fixing/adding some code here & there, but never learned it properly & to check it's full potential, I heard it is awesome btw), read up on algorithm time costs (learn how to fuckin spell this!!)...
And kinda dev related as I will have to spend less time at work is to get back in 'sort of' shape and climb (more)..and spend more quality time with my husband, who is too good, totally supports me & my work, so I never get to hear him nag I was working late, which leads to 'stop working so long' goal I rly need to get in order or I'll burn out again, and I'm bitchy and horrible whe BO..and we don't wanna see that again..
Sum up: work less, learn new things, climb more, be happy/content.1 -
I need to estimate how much ram and CPUs my team will need next year for our apps... That have yet to be built.
We load a lot of data feeds with batch processes running on a few large machines, some can use like 30 GB RAM at times...) which should be a lot less if we get the data real time I hope...
But wondering how to estimate well... I sorta did a worse case analysis where I just multiply and sum # CPUs/memory* nodes*approx apps...
Comes out to be like 600 CPUs and 800 RAM... So wondering if that's ok...
RAM is ok but # of CPUs is way higher bc now all the apps basically run on their own machines...13 -
Does anyone knows about OLAP cubes, Rollups and whatsoever?
I'm wondering if this query it's overcomplicated...
Just trying to achieve a sum of amounts by month on a year lapse6 -
Our dev uses laravel and instead of doing a sum to get a total of a couple columns he is getting all values and manually counting them up in the php.
he keeps telling he cant improve and i cant work on his code because i know i will break the rest.
when i looked at the code i had the following feeling.2 -
TFW your boss likes you enough to set up a full-time offer for you. 😗
TFW the offer is $20K below the average salary. 😬 -
So I decided to run mozilla deep speech against some of my local language dataset using transfer learning from existing english model.
I adjusted alphabet and begin the learning.
I have pc with gtx1080 laying around so I utilized that but I recommend to use at least newest rtx 3080 to not waste time ( you can read about how much time it took below ).
Waited for 3 days and error goes to about ~30 so I switched the dataset and error went to about ~1 after a week.
Yeah I waited whole got damn week cause I don’t use this computer daily.
So I picked some audio from youtube to translate speech to text and it works a little. It’s not a masterpiece and I didn’t tested it extensively also didn’t fine tuned it but it works as I expected. It recognizes some words perfectly, other recognize partially, other don’t recognize.
I stopped test at this point as I don’t have any business use or plans for this but probably I’m one of the couple of companies / people right now who have my native language speech to text machine learning model.
I was doing transfer learning for the first time, also first time training from audio and waiting for results for such long time. I can say I’m now convinced that ML is something big.
To sum up, probably with right amount of money and time - about 1-3 months you can make decent speech to text software at home that will work good with your accent and native language. -
Just found out about this: https://publiccode.eu/
If you live in the EU and care about privacy, security and/or open source you might want to check it out.
To sum it up: The idea is to have all software written for and bought by public authorities, governments and such published under open source licenses to enable every citizen to verify the integrity of that software (and give all the other advantages of FOSS).3 -
Fucking MySQL workbench won't even tell me what's wrong with my PL/SQL script. It has no output whatsoever. I click the run button and its like "y'all say sum?"
Why are all tools for SQL development so shit. All the time.5 -
T(x, y)=x*(1+y/100)+√-1
x = hours estimated from Boss. if the boss
y = sum of the features with the following weight:
Multiplatform = 10
Web = 5
social * = 100
blockchain = 100
HTML-email = 10
Every other bullshit bingo term = 20
everything else = 1
Terms that appear multiple times count multiple times.
If the boss didnt give his estimate triple the feature-value and use 100 as x-value3 -
i feel like machine learning is gonna be redundant when used for high level analytics:
`starting up…
scanning through every rant of every user…
analytics found: the score and is in correlation to the sum of the ++ for every rant’
🙄1 -
that moment when you forget to initialize sum variable by zero..and u get random answers.... scratching ur head..what just happend1
-
Okay before you read on this is a stupid question!
So the most common response I get when I ask for advice is contribute to open source projects but theres some problems.
> I dont know how to find projects on github or anywhere
> I dont know how or where to start when I actually find a project
> I'm way too intimidated by huge projects like linux, browsers, etc
> I don't know what to add
> I'm too afraid of messing up the project
> my understanding of github its self is very limited and I'm not good at using it. (Which isnt a problem for the open source development but since I'd be using github it is a problem)
Theres always smaller problems too but those should sum it up3 -
So I'm gonna finish my interpreter. No matter how much fucking work it is to implement a proper cross platform terminal library, because all the existing ones suck. I'm gonna write a debugger for it.
And then I'm gonna learn to play the ukulele.
And I'm going to start a new project that may actually make me a good sum of money.
This is the plan. If I don't do this then literally fuck my life, I might aswell jump off a bridge because I can't fucking do anything12 -
My first interview question to a project on the second day at my new job:
"Implement a sum function that will work like this:
sum(1)(2)(3)(4)...(n)"
I could not answer this or any of the following questions...12 -
Demo
Backend Team : No one want to listen to technical details. A short 2 min demo what we have done.
Shareholders : Have you done anything?
Frontend Team : half an hour demo of validators and fields that sum values from other fields
Shareholders: Wow that is awesome, great job, nice to see, great value, lot of progress.4 -
Here's an incomplete list of things my mother did to me:
- She insulted my body when I was 13. She told me it was weak and feminine. I identified as a boy back then, and I was going to the gym.
- She told me my face was ugly because of acne.
- She shamed me for having better vision than her.
- She shamed me for having longer eyelashes than her, the told me I looked like a girl.
- She always wanted me to learn everything and have all A's. When I got B+, she destroyed me mentally every time. When I got C, this was a catastrophe. Yet, if I told her she was wrong about mundane things like how many volts there are in an outlet, it was me who's in the wrong, despite me having an A for physics. There was no contradiction here in her eyes.
- She forced me to carry heavy things as a punishment. At the age of fifteen, I had an inguinal hernia. The surgery was needed. After that, doctors told me (and her) that I should go easy on carrying heavy things for a month. She didn't listen and forced me to carry heavy things again after two weeks. I had another inguinal hernia. Now, I needed a much more invasive laparoscopy to implant nylon webbing. Because of all of that, now I have messy, ugly scars all over my belly. Guess what happened next? She shamed me for having them!
- Since I was 18, even though I was studying in the uni, she demanded money for rent, for me living in my parents' house I grew up in. The sum she demanded was 27x my scholarship money.
- When I broke my toe, it was obvious that I broke it. It was swollen, twice the size of a normal toe, for two weeks straight. She told me to quit whining and go to PE/Taekwon-do lessons she forced me to attend.10 -
Super easy to get motivated to work on my own projects every Friday: I look back at how many and how difficult the things I worked on during the week. I take how much I got paid and divide it by the sum of (numProjects * difficulty(1 to 4)). If I spent anywhere near that number on just coffee this week, well then Friday afternoon goes towards working on my own projects (yeah Friday morning- still have a lot of work to do and coffee to drink.)1
-
I used speech recognition package of python in one of my projects. It is working properly but it is not recognising some words, like if I say my name so it will print something else, printing 2 as doose, 1 as drone. To sum up, it's not considering few words.
I tried some amendments like set the language to english-india.
language =en-IN
But after this also, same problem arose.12 -
How to pass yourself off as a Web Developer.
Download Wordpress.
Install theme.
Install plugins.
Activate plugins.
Customize theme.
Email client: "Done, invoice attached."
Receive sum of $10,000.6 -
=== Was in my room when the conversation started. Thought it was a joke until i heard a knock on my door ===
[Mom:] Hey Julie, i need you to top up my PC.
[Julie(My kid Sis):] You mean update?
[Mom:] No silly, upgrade! I already have a windows 7 pro and i have just bought the disk for Windows 8 and 10 pro.
[Julie(My kid Sis):] Which should i install first.
[Mom:] You can first install the windows 10 so i can have a windows 17 pro then install the 8 to sum it up.
[Dad:] Lol, holy cow. what are you ladies discussing over there? You wanna crash the PC i just bought?
[Julie(My kid Sis):] No dad, just tryna upgrade windows.
[Dad:] Got that already! Just make sure you first uninstall before install, then after installing all and you don't get a windows 25 pro-plus, just call Giddy he's in his room or return the disks back to the vendor and get a full refund!
[Me:] :/2 -
So, I produce a monthly report for our customer service department each month, and this report includes various statistics related to our company's support performance. Two of the included statistics are the "Average Speed of Answer" (ASA for short) and the "Abandoned Call percentage" (ABD % for short) that are derived from client calls to support.
The formulae for these values are:
- ASA = time in seconds all calls that were answered spent waiting to be answered divided by the number of answered calls - displayed as hh:mm:ss
- ABD % = number of abandoned calls minus those that were abandoned in under 10 seconds (referred to as "short abandoned") divided by the sum of total calls that were offered minus the sum of short abandons & transfers
These statistics are also included in a daily version of the same report that all Customer Service leadership personnel have access to.
Now, every single fucking month the same Sr. Manager always has some kind of "discrepancy" with the monthly report that ALWAYS boils down to his dumbass trying to average shit on the daily Excel reports for that month and it being different than what the monthly report is showing. Now, these reports ONLY display the calculated value for any calculated fields mind you - not the raw values of the DB fields used in said calculations.
This month I have to tell this shit-for-brains that you can't just take an average of ASA & ABD % from the Daily's and compare them to the Monthly numbers because their calculated fucking fields!!!
Come to think of it, this has been his issue for like the past 5 months, and I seriously can't fix stupid!
Sometimes I just wanna reply to his snarky ass, corporate bullshit emails like, "BRUH!, The only motherfucking discrepancy I can locate is your IQ and your fucking title - that shit don't correlate homie! Need to take that ass back to High School statistics or something!"
But I digress...
TL;DR
I have to deal with a Sr. Manager who doesn't fucking realize you can't average a calculated field from a daily report and think it's gonna match up with the monthly report. I believe he is borderline retarded, and I often wonder how he got the "Sr." In his title let alone "Manager".
Oh wait, this is corporate America - you just gotta kiss the most ass... never mind.4 -
Colleague: The user said this [Total line] is not the average she expected.
Me: Okay? But she knows that averages are weighted?
Colleague: I'm gonna call her.
... 30 minutes fast forward
Colleague: Okay she wants an average, but she wants us to divide it by something else.
Me: Okay? But she knows an average is the sum of one thing divided by the sum of another thing and not just anything?
Colleague: Yeah, she said she wants it to be kinda this in relation to that.
Me: Okay, so rather some percentage value?
Colleague: To be honest, she just wanted to reproduce this old Excel formula.
God has left this planet ... and I admire my colleague for not completely freaking out in the face of the user.3 -
Some user profiles I thought were worth stealing for a post:
PonySlaystation
"Full Stack Software Engineer, Electrical Engineering Student driven by OCD & Club Mate."
'club mate' read: probably white powder and ritalin. I heard he once dismembered a horse and put the bloody head in a rivals bed.
uyouthe
"Russian assassin leader, Apple fanboy. Tabs ftw"
Comrade, apple is bushwazee capitalist filth. Onlytrue comrades use windows, because the upgrade is free.
Root
"Magical processor fairy; part-time misanthropic bane of idiots. 🧚♀️🏹 Ergo sum miseriae"
Do you sprinkle magical processor fairy dust in each new generation of chips to increase their
clock rate? -
For a new microservice we were designing, I recently had a design discussion with a team member on creating REST endpoints for a new entity. This discussion went on for almost 3 hours, most of the time was spent on why to have two endpoints for getting this resource, one is a POST using a graphQL-like query and another one is a GET using unique ID. I said, the client-side use case is different, one is a dashboard where search results need to be shown based on multiple fields and the unique ID won't be available there because it is a system generated value, second one will be used when the unique ID is present in the client as a result of previous search result. Their responses will be similar, first returns a list of entities, second returns a single entity of the same structure.
Then came the next argument: if both APIs are returning same response, why do we need two different requests ?
It was like saying, because 5+6=11, any sum of two numbers resulting in 11 should always use 5 & 6.
Are people so frustrated of working remotely all the time that they come with such weird arguments ?1 -
I am now going to attempt the problem solving ritual.
Requirements:
-have a problem or piece of unoptimized code and you don't know how tk fix/improve it
-be able to sleep/take a nap
Now before I fall asleep the ritual should provide me with an epiphany to solve my problem
Plan b:
I have a class ninja (model), with an observablecollection<property> properties and an observablecollection<gearslot> gearslots;
,a class gear with an observablecollection<property> properties and an Category category:
And a class gearslot with a Gear gear and a Category category;
Via entity framework this results in several property entries per ninja
And several property entries per gear item
All good so far.
I now actually want the ninja property values, to be the sum of the gear property values
So a ninja has int, agi and str of 0.
Gear has 0 or more stats.
If the ninja has two pieces of gear on with agi +1, then the ninja agi should be 2
If possible i would like the logic in the model.
Else i have to put it in the viewmodel.
That i can figure out, its just so inelegant.... -
Nothing gives me the feeling of power like solving my non-programmer friends' problems with a bit of programming.
My girlfriend is an architect, got at her job a task of designing how to cut facade panels. Something nearly impossible to do with her tools and insanely time consuming to do by hand - but it's actually just a subset-sum problem with more steps. After a couple of hours of tweaking the program to properly parse excel files she can export and writing the output in a format usable for her I solved what would be an incredibly tough pickle for her and her whole company.
I'm seriously proud of myself.1 -
TL;DR: This year I changed job to a quite toxic company and because I have to work for two different clients in parallel I'm burning out. I need suggestions about telling about my mental health to my employer or request to change clients because of their incompatibility
----
At the begin of this year I changed work from a small startup (which was nice, but they didn't pay very much) to a consulting company and since then I'm experiencing my first burnout.
Just to give some context, the first month or two months in this new position were nice: the project I've been put on was difficult, but the other people in the team were very kind and helped me navigate through the codebase. After there quiet months, I've been put on a second project (in parallel with the first one), same domain but different client and the two clients must not know that I work for other clients. This doesn't work particularly well because both of the clients require me a full--time presence and both the teams have the tendency to call you without any warning and without setting up a meeting on calendar and beacuse of this I pass 3/4 of my day on such useless meetings (which many of them I have to be present at the same time, and sometimes one meeting is in English and one in Italian) without getting any job done and now both my leads are getting frustrated by my delays.
To make it all worse, when I was contacted from the headhunter it was for a mobile developer position, but because of my previous position my employer thought that I could temporary work on one java project because there was scarcity of developers and I could be a nice fit.
I'm not sure if I sum up my situation clearly of it's confused (I'm sorry about that), but tomorrow I plan to call my employer to tell him that I can't take it anymore and something has to change, I just don't know if I should put it on the incompatibility of the two clients, my mental health or both6 -
// Pretty long rant.
Already made some rants some months ago about coding experience in Smalltalk for a school project, but to sum it up :
Because of administrative things, Smalltalk change from option to obligatory course to everyone (we were told that "we had 3 choices out of 3" for options. Not even kidding)
So whole prom got to do a Smalltalk project, a basic shapes editor with Drag'n'Drop and keyboard shortcuts implemented.
But literally everyone didn't get a grasp of the language nor VisualWorks, the IDE. So we got projected in a "Do-it yourself, learn by yourself" project with a language that nobody understood.
Took me 1 week of browsing on Google to find books explaining more than the teacher did. Took me another week to notice that the teacher actually provided VisualWorks's manual. (No one would have noticed if I didn't tell them, and the teacher went silent on it.)
And then the coding started. My teacher thought this project would require something like 20-30 hours of coding. Took me 2 whole months and a half to do moist of the features he asked (only the Keyboard shortcuts weren't implemented, explanation below), and I was the most advanced of whole prom, so I had to answer every single question of fellows. Not complaining, but this took me a lot of time.
But why didn't you ask the teacher ?
- If I ask him every question I had in mind, I would actually harass him since I had too many of them, and I wasn't the only one.
- I actually went twice to his office to ask him question. First question, that was pretty straightforward, I forgot something, blablabla all done. Second time, that was for the keyboard. And then, things are getting even funnier. The teacher didn't have VisualWorks installed on his Mac, so he tried to install it while I was waiting. And he took too long time to actually launch it, because VisualWorks asked for him to log in, to provide an email, the download is a little long thanks to the network and the size, etc. When he finally was able to launch it, I had some classes to attend, so he couldn't answer. And since then, I had no time because last year, flooded with work, exams, classes ,etc.
All of that to have only 13 out of 20. I kinda shrugged, knowing that I wouldn't get more, and said that Smalltalk will only be a line of my resume.
Pretty long rant, sorry about that, but had to explain so you can see how bad it was to me.1 -
Okay, this is quite hard to explain properly, but I'm actually scared of my personal future.
In about a year, I finish school and I don't have a straight plan of what to do next. I want to work independently, preferably as a game dev, but I imagine that to be a hard task. I have thought of doing a bachelor's degree in game development, but the university I prefer to go to costs 20k€, which is a huge sum and I don't even know whether it would be actually worth it. The university states that 20% of all their graduated students work independently afterwards and they even offer you a flexible "loan" (not sure if it's the right term) you can pay off while you start working, but I fear I won't be able to pay it back, I cannot imagine making this much money any time soon after I start working independently as game dev. Additionally I fear I won't be able to keep my motivation up, since I struggle doing so already, on the other hand my lack of motivation could be caused by this toxic environment I live in.
I've also considered doing freelancing, but when I'm scrolling through the requests made, I never find something I am experienced in, I don't know what request is best to get started with freelancing.
I just don't know what to do in the future and I'm scared and considering to go to this university is probably pretty stupid already and I consider it as me ranting myself, because of my nonexisting self-esteem. So I don't know what to expect from this post, I just needed to share.1 -
I just came home from opening of the fiscal year of a small drivers' club and it was quite an amazing life experience.
I got about a 5-times "rise" for a first, small, post-due-time project.
All of the members were so relaxed in one of the most serious moments of an association. We ate, drank beer and had as much fun as possible without break the law and other rules.
The story goes like this:
I was an intern in a website development company as students tend to do. In middle of the internship my teacher asked me if I'd be willing to develop a website to the before mentioned organization.
School will help with the money by being as a middle-man. It wasn't going to pay much, about 120€ or so, it's nothing really for the job, but I said yes for the experience. We organized a meeting, school provided the space, and went straight to the business.
The development went quite well: I got the final design requirements late (there weren't too much), research a lot about CMS:s, ended up with a beta version CMS (a risk), learned it, developed some plugins (not published yet), kept copyrights for most of the work and so on.
I was done _relatively_ quickly with the project and was quite happy with it. Only things still pressing my mind was bugs of the beta CMS, support for the plugins and my somewhat inexperienced graphical design.
Then it hit me, the world. Hosting, domain transfer, certificates, registry agreements. Arrgh. Most of things were fine, I know them. I had luck that I had a technical contact for the club. It would have been a nightmare of it's own otherwise.
We had problems transferring the domain, again, as you do. The other hosting company was to blame. They were the n00bs here. I went trough the law, technical guidance, etc. I was having heavy messaging with my technical contact about it, who was a middle-man for me and the hosting firms.
After a long while loop of waiting, reconfiguring, researching and messaging, until he transfer was finally over.
We had a long while of radio silence after some bug fixes. Until the Christmas came and I was invited to a Christmas party in a cottage, third Christmas party that year. It was great fun. We ate, drank, talked, went to sauna and had a playful adult stiga or sledging competition, etc.
I updated the site yet again, a stable version of the CMS were published. Yess!
Another radio silence came and year changed. It was broken off by a call to the opening of the fiscal year, the same day. This is today, or yesterday by now. This was just after my current company's board game night. I was really busy that day. A whole afternoon of second-hand shopping around the city with a bike. I counted 35 kilometers. Yes I go by bike, don't own a car or have an driving license... Yet.
I wasn't horribly late, around 30 minutes. I started eating and drinking. Free food and beer! They was also late, they should've got trough the business before I got there, before eating. So I ate and listened. Learned more about having business or an association in general. Until my matter came to be heard. They thanked me of the co-operation and made public the change of my reward sum, I WAS GRANTED 500€ REWARD for the work. It's still not an amazing sum in a larger point of view, but I can imagine that it's big deal for a small non-profit organization, which was loosing money. Everybody applauded, every 25 members of the club. I was greatly pleased. I will have to update their site a bit still, but they are going to pay the reward ASAP.
Did I mention that the school works around the taxes, legally. Taxes for the reward, if it were assumed as a wage would be 15%, for me, at the worst case scenario, only for getting the money to my hands.
I was offered another gig at the event, but didn't promise anything yet. I left before sauna, so we didn't get to change contact details. He will find a way to reach me if he really wants so. I'm a busy free man.3 -
This night I had a fever and seen a weird dream. So, scientists discovered that our whole perspective is wrong, and the notion that anything is but a sum of its parts is now completely irrelevant. One can’t disassemble a thing and know how it works and what it consists of. Basically you want to build a computer, you buy all the parts you need, but you can’t assemble it anymore — it just doesn’t work, and nobody knows why. Same is true for cars, industrial machines, software and pretty much anything that have something to do with engineering.
So, earth went into riots, massive layoffs occured, world economy collapsed, and the forces of what used to be USA, China and Russia joined to tackle the problem. A research was started and we found out that we now have complexity cores (!) that distribute emergence (!!) in an ephemeral way (!!!) and that is what makes things work. Theory of New Complexity (!) emerged, and all the engineers were required to go back to universities to attend lectures about how complexity works and how to make things in that new reality7 -
During my first-ever technical interview, the interviewer asked me "Do you know the FizzBuzz problem?"
"Uhh, not really." (I was just thinking ok this problem has a name, must be some algorithm problem)
"So the problem is basically to give you the numbers 1 to 100, if the number is divisible by 3, print 'Fizz', if divisible by 5, print 'Buzz', if divisible by 3 and 5, print 'FizzBuzz'. For other numbers just print out the number itself."
After hearing the problem, I felt so many ideas popping out of my stressed brain.
I thought for a bit and said "ok, so if the digit sum of a number is a multiple of 3, then the number is divisible by 3, and if the last digit is either 0 or 5, it's divisible by 5."
Then I started to code out my solution until the interviewer said "there's an easier solution. Can you think of it?"
This stressed me out even more.
I thought for a bit and said "well, starting from 3, keep a counter that records how many iterations are done after 3. When the counter hits 3, that number would be divisible by 3 for sure. Should I try this solution?"
The interviewer said "Sure." So I started again.
However, I struggled for about another 3min until I realized this solution is a lot harder to implement. The interviewer probably saw my struggle too.
This was the point where he stepped in and asked me "Ummmm there's an easy way of solving this. Have you heard of the MODULO OPERATOR?"
In sheer embarrassment, I finished the code in 30s.
Of course, there was no further question after this, and I felt the need to seriously reevaluate my intelligence afterwards.11 -
I don't know what to do because union and sum types both totally suck but I need them for my scripting language
Union types are fun and intuitive because they can be used with type refinement but they're not hierarchical thus bad for generics.
Sum types (or tagged unions) are great because they're hierarchical and can be nested properly but they need ugly type matching constructs.
The positive thing is I'm not making a systems language anymore so I only wanna jump of a bridge every second day5 -
Why does the sqlite SUM function round down values?? WHY?
10333.03 is printed as 10333
This has caused me so many problems?
What is the solution to this?2 -
I don’t want to come across as entitled, but what kind of person gets a software internship in California?
I go to university in California, I’m a junior CS student, I have 8 public ios apps (2 charted in US, 1 acquired small sum [5k]), I completely designed the blockchain parameters and built multiple front-end apps for a new cryptocurrency (it hit 3mil$ market cap).
And I applied to 22 tech companies. Rejected from pretty much all (waiting on my dream company still). Do they just not even get to some applications or do I literally have to be superhuman?5 -
My first dev gig was an internship in a young startup company. It taught me clients are assholes. That should sum it up.1
-
Opening a million tabs on Chrome, inwardly saying, 'I'll get back to you later' after briefly reading the first few paragraphs
-
I've done it! I've implemented a new feature. I call it, wheal. its just like the wheel you know and love, in every way, shape, and form. But now, you can take comfort in knowing the state of the art has surely progressed, every time you go to reference, "wheal". This has the added benefit that others who may already be familiar with wheels, will have no trouble at all coming to terms with wheals. Just please, do not make reference to wheels, or your software will not compile. And also be sure to annotate all instances of wheals *wheals are just like wheels!* until all devs have been on-boarded.1
-
My last exam in this semester will be tomorrow on engineering management. I didn't learn much for it yet because I started learning angular 2 and keep working on a new sideproject with it.. If I fail my next semester will cost a large sum of money but I still can't gather enough will power.. HELP!3
-
I wonder if anyone has considered building a large language model, trained on consuming and generating token sequences that are themselves the actual weights or matrix values of other large language models?
Run Lora to tune it to find and generate plausible subgraphs for specific tasks (an optimal search for weights that are most likely to be initialized by chance to ideal values, i.e. the winning lottery ticket hypothesis).
The entire thing could even be used to prune existing LLM weights, in a generative-adversarial model.
Shit, theres enough embedding and weight data to train a Meta-LLM from scratch at this point.
The sum total of trillions of parameter in models floating around the internet to be used as training data.
If the models and weights are designed to predict the next token, there shouldn't be anything to prevent another model trained on this sort of distribution, from generating new plausible models.
You could even do task-prompt-to-model-task embeddings by training on the weights for task specific models, do vector searches to mix models, etc, and generate *new* models,
not new new text, not new imagery, but new *models*.
It'd be a model for training/inferring/optimizing/generating other models.4 -
I was writing a simple algorithm to simulate gravity. But when I tested it it produced wildly wrong results. I looked over my whole algorithm trying to find the error, but thought that the last bit, the final position update, must be fine.
I was wrong, some misplaced brackets were accidentally multiplying the position + 0.5 by the sum of the old & new velocity instead of adding the position to 0.5 those velocities.
I noticed that and fixed it, and now it runs pretty well. -
See now why I understand that in essence given a vector (parameters), you modify weights and biases minimally and these get passed through a set of dropoff style layers like ReLU and that in the end each layer leading to an output will basically sum up to a value that goes through sigmoid and concurrently equals the value desired once trained..... i don't see how this could cover all bases when parts of the math used to calculate the output is trigonemetric and polynomial. I mean not complex math ! Real basic things in my case, but a polar from cartesian coordinate conversion, angle and leg size, etc all going into determining that a target equals a landing zone and if not how to move things to it.
Is there something I'm missing where you kind of model the math because at best sin and cos could be a power series.77 -
Happy to have a new Server available!!! 16 GB RAM with a sum of 8 cores with up to 3,6 GHz and RAID 10 with 16 TB memory available. I will run a ton of VMs. One will contain an open stack instance which I am very happy to finally explore & work with!!!9
-
research 10.09.2024
I successfully wrote a model verifier for xor. So now I know it is in fact working, and the thing is doing what was previously deemed impossible, calculating xor on a single hidden layer.
Also made it generalized, so I can verify it for any type of binary function.
The next step would be to see if I can either train for combinations of logical operators (or+xor, and+not, or+not, xor+and+..., etc) or chain the verifiers.
If I can it means I can train models that perform combinations of logical operations with only one hidden layer.
Also wrote a version that can sum a binary vector every time but I still have
to write a verification table for that.
If chaining verifiers or training a model to perform compound functions of multiple operations is possible, I want to see about writing models that can do neighborhood max pooling themselves in the hidden layer, or other nontrivial operations.
Lastly I need to adapt the algorithm to work with values other than binary, so that means divorcing the clamp function from the entire system. In fact I want to turn the clamp and activation into a type of bias, so a network
that can learn to do binary operations can also automatically learn to do non-binary functions as well.10 -
Just realized that it’s been a long time since I had to deal with collections that contain values of different types and that ugly type checks that come with it when you need to do something with the values.
Sum types are really a blessing. -
Tldr:
Can't fucking figure out why I'm the only one who can't solve a DP problem in code, when me and friends use the same idea and no one knows why only mine doesn't work...
We are given a task to solve a problem using DP. My friends write their code with the same idea as a solution. Copying the code is not allowed. I follow the same idea but my code won't work. Others look into it, in case they find errors. They can't find any.
The problem (for reference):
Given a fixed list of int's a = (a_1,a_2,...,a_n) and b = (b_1,b_2,...,b_n), a_i and b_i >= 0, a.length == b.length
We want to maximize the sum of a_i's chosen. Every a_i is connected with the b_i at the same index. b_i tells us how many indexes of a we have to skip if choosing the corresponding a_i, so list index of b_i + b_i's value + 1 would be the position of the next a_i available.
The idea:
Create a new list c with same length as a (or b).
Begin at the end of c and save a_n at the same position in c. Iterate backwards through c and at each position add the max value of all previously saved values of c (with regards to the b_i-restriction) with the current a_i, else a_i + 0 if the b_i-resctriction goes beyond the list.
Return the max value of c.
How does that not work for me but for the others?? Funny enough, a few given samples work with my code. I'm questioning my coding ability...7 -
Note: In this rant I will ask for advices, and confess some sins. I will tell my personal story- it will be long.
So basically it has been almost 2 years since I first entered the world of software development. It has been the biggest and most important quest of my life so far, but yet I feel like I missed a lot of my objectives, and lots of stuff did not go the way I wanted them to be, and it makes feel frustrated and it lowered my self esteem greatly. I feel confused and a bit depressed, and don't know what to do.
I'll start: I'm 23 years old. 2 years ago I was still a soldier(where I live there is a forced conscription law) in a sysadmin/security role. I grew tired of the ops world and got drawn more and more into programming. A tremendous passion became to burn in me, as I began to write small programs in Python and shell scripts. I wanted to level up more seriously so I started reading programming books and got myself into a 10 month Java course.
In the meanwhile I got released from army duty and got a job as a security sysadmin at a large local telco company. Job was boring and unchallenging but it payed well. I had worked there for 1 year and at the same time learned more and more stuff from 2 best friends who have been freelance developers for years. I have learned how to build full-stack mobile apps and some webdev, mainly Android and Node.js. However because I was very inexperienced and lacked discipline, all of my side projects failed horribly, and all attempts to work with my experienced friends have failed too- I feel they lost a lot of trust for me(they don't say it, but I feel it, maybe I'm wrong).
I began to realise I had to leave this job and seek a developer job in order to get better, and my wish came true 6 months ago when I finally got accepted into a startup as a fullstack webdev, for a bit lower wage but I felt it was worth it. I was overjoyed.
But now my old problems did not end, they just changed. My new job is a thousand times harder and more intensive than the old one. I feel like it sucks all the energy and motivation that was still left in me, and I have learned almost nothing in my free time, returning home exhausted. My bosses are not impressed from my work despite me being pretty junior level, and I feel like I'm in a vicious cycle that keeps me from advancing my abilities. My developer friends I mentioned earlier have jobs like I do and still manage to develop very impressive side projects and even make a nice sum of money from them, while I can't even concetrate on stupid toy projects and learning.
I don't know why It is like this. I feel pathetic and ashamed of my developer sins and lack of discipline. During that time I also gained some weight that I'm trying t lose now... I know not all of it is my fault but it makes me feel like crap.
Sorry for the long story. I just feel I need to spill it out and hope to get some advices from you guys who may or may not have similar experiences. Thanks in advance for reading this.2 -
Sorta rant.
Now that this drama shite is calming down, here's my tuppence on how connections management should be implemented.
We really need something that is in between blocking and doing nothing. This, in my opinion, is temporary silencing. Having the ability to mute a person or rant, or notifications altogether, for a set period of time would be very useful when a situation needs de-escalating. As this social network (let's not beat around the bush, this is a social network) grows in size, this will be a handy tool for calming storms without burning bridges permanently.
To sum up, I think it would be a good idea to have three available options for notification muting:
- mute notifications/this person/rant for 24 hours
- mute notifications/this person/rant for 7 days
- mute this person/rant forever
As for implementation, I'd wrap up the call to the user's notification assembly like so:
If(!notifBlocked(<typeofnotif>)
{
notif.push()
}
And use a date field in the DB to handle timescales.
Also, I suggest the addition of this tag specifically for suggestions, just so we're not all using different tags
@dfox3 -
So why exactly did anyone ever use zoom? The first time I ever heard about zoom was when I read a very detailed code dissecting mini writeup of its obvious flaws by a sec. researcher. Why and when did zoom become a thing? Also wtf where the zoom devs smoking and where can I get sum? That shit must fuck up your brain beyond repair.....1
-
I have never been this serious with my life as a whole as I have since I started learning computer programming. I struggled to read one book a year (I mean non programming book like self improvement books e.t.c). Now I have finished two books in a little over a month and started reading a third book this month all while still studying programming. I started out with python and was honestly terrified of Java because of the semicolons, curly braces, parenthesis in front of if/else if/else statements but one day I decided to take a peek into a few Java programming books and found one "Learn Java the Easy Way" by Bryson Payne and it changed my life, quite literally. I read more now, I look forward to getting out of bed and any day I don't read, I just don't feel right. I need to read something and learn at least one new thing a day. If I feel awful at night, I just remind myself of the one new thing I learnt that day and that puts a smile on my face.
Side note, I am self-taught and started studying programming last year around November/December. Spent about two months on python and in January or February, I started Java. Been on Java since. Almost done with the Java book and looking forward to reading a more advanced book when I'm done.3 -
Could someone sum up the events around Linux and Linus? I read a few articles but I am still kinda confused what exactly has happened.10
-
I had to optimize a SQL-Query and i was able to cut the amount of time in half.
The business part of the company said it is still too slow, so i researched deeper and looked into the called functions which are used in every part where to claculate value X.
Found 20 similiar selects to get values which are summed up afterwards into three different variables. Thought this can be done in three selects with "sum", but then i found the dumbest thing is this function:
V1, V2 have the values from the selects
V3 is ja given value
X is the return value
the function returns another value
help = functionCall(parameter) - V1 -V2
X= help + V1 + V2 +V3
WTF im mean it does the selects for nothing...
X = functionCall(parameter) + V3 -
How resource calculations for software services like code analysis, monitoring, etc are done:
Opening fridge, putting all the beer one can find in it.
Opening the necessary tools, e.g Excel, Accounting software, ....
Drinking the first beer.
Starting to aggregate the monthly costs - cause you can never trust the reports written by someone else...
First beer poof.
Looking at the monthly cost, adding columns "Intended use", "Actual usage pattern", "Usage factor"...
Opening next beer...
Usage factor is btw a factor of 0.1 ... 1.0 - to give an estimate how much the products feature are actually used, for further analysis if the invest is justified or not...
Oh. Another half bottle gone...
Filling in the columns...
Oh. Bottle empty and the next one toooooooooooooooo...
*burping*
*cracking finger joints*
Now let's get to the sad part...
Next worksheet, adding infrastructure costs...
Cost and description as columns.
Hehe. Column sounds like gollum.
Another beer...
Ugh. Need the paper reports, manually typing off things for stuff that was e.g. tax deductible.
Many beers die during this task. Poor little beers, dying for such an boring and mundane task...
SUM is a real useful function. I don't think I can add numbers anymore.
Now we can add another sheet.
Hehe. Sheet sounds like shit. And yes, everything in this file is shit.
Summing up costs from both sheets and including the cost factor from 1
... Beeeeeeeer Beeeeer beer we need more beer here... Beer beer beer...
Where was I. Oh yeah. Cost factorization total vs effective.
Why do I want to get even more drunk.
Oh yeah. Most software is completely underused and the costs aren't justified.
Let's add some colored highlighting ...
Uuuuh. ,Too much red. Better change the highlights.
Too much red.
More beer.
Don't give a fuck.
Hm.
Time for some whiskey.
What else is there to do....
Oh yeah.
Diagrams.
The bloody wankers from accounting need diagrams as numbers are too boring.
Not that everything in accounting is boring, no matter how much you paint colors on it... *sigh*
Hm. More whiskey...
Hehe. Whiskey rhymes with frisky.
Uff. Now just need to write mail. Mail mail mail....
"Copy paste the last mail from last month"
Hm.
Ah.
*sipping whiskey*
Spell check extension - to the rescue.
Thesaurus *burps*.
Let's change a few words here and there... Maybe another paragraph there.
Uh....
Trying to attach file...
*fucking mouse is pretty constantly crashing into empty beer bottles*
Done.
Damn.
Need to press send button.
*Creating mess on the desk by just randomly crashing the beer bottles*
Done.
*Pressing computers power button*
Mwahahahaha. No mouse needed.
*regretting to stand up too quickly, nearly barfing on the floor*
Couch ... Where Couch...
After hitting several doors, frames and other stuff, the glorious mission ended successfully with a most graciously executed gut buster on the couch.
(Regretting next morning to have emptied two 6 packs and a few glasses of whiskey) -
This morning I came across Shakespeare, I've never had such a nerdy laugh in years!
The follwoing is supposed to print "Hello World"
.
Ajax,
Puck,
Act I:
Scene I:
[Enter Ajax and Puck]
Ajax:You fat fat fat cat!
Puck:You is the sum of myself and the square of myself!Speak thy mind!You is the sum of thyself and twice twice myself and the sum of a cat and a fat cat!
Ajax:You is the sum of a fat fat cat and thyself and the quotient between myself and thyself!Speak thy mind!You is the sum of a fat cat and a cat!
Puck:You is the difference between thyself and myself!Speak thy mind!You is the sum of the sum of thyself and myself and a fat fat cat!Speak thy mind!Speak thy mind!You is the sum of myself and thyself!Speak thy mind!
Ajax:You fat fat fat fat fat cat!Speak thy mind!You is the sum of the difference between myself and thyself and a fat fat fat cat!Speak thy mind!
Puck:Speak thy mind!
Ajax:You is the sum of a fat cat and a cat!
Puck:You is the sum of thyself and myself!Speak thy mind!You is the difference between thyself and twice myself!Speak thy mind!You is the sum of thyself and a fat fat fat pig!Speak thy mind!You is the sum of a cat and a fat fat fat fat fat cat!Speak thy mind!
[Exeunt]
Source: https://codegolf.stackexchange.com/... -
Idea for a project:
Inspired by BlockAdBlock, what if we do a format-minifier loader for webpack? It'll take your minified JavaScript, and format it by filling it with newlines and spaces? It'll also try to guess the functionality of the variables and functions to name them. Ex:
function f(a, b){return a + b;}
// would turn into:
sum(summand, addend){
return summand + addend
}
but also:
function f(a) {
if( window.innerWidth / window.innerHeight > 700){
a.width = 4
a.height = 5
} else {
a.width = 5
a.height = 5
}
}
// would be renamed to...
function ifWindowInnerWidthDividedByWindowInnerHeightThenObjWithHeightAndWidthHeightEqualTo500ObjWithHeightAndWidthWidthEqualTo400ElseObjWithHeightAndWidthHeightEqualTo300ObjWithHeightAndWidthWidthEqualTo500( objWithHeightAndWidth ) {
if( window.innerWidth / window.innerHeight > 700){
objWithHeightAndWidth.height = 500
objWithHeightAndWidth.width = 300
} else {
objWithHeightAndWidth.height = 300
objWithHeightAndWidth.width = 500
}
}
Imma get famous5 -
I am really tired and frustrated.
Where should I even start?
I have created a TeX element with "/Math".
Then I have tried to type in a sum sign which works with "\\sum". BUT it won't let me display numbers below and above the sign. I tried to fix this by typing in "\\sum{someNum}{some\_other\_num}". It didn't work. I tried "\\qquad \\displaystyle\\sum\_{i=1}\^n". It still doesn't work. I tried "\\underset{}{}". It didn't work.
I tried to import the ams package. It didn't work.
I tried to read the official notion documentations. They didn't exist.
I tried some of the above KaTeX commands, because I saw that notion is using a KaTeX parser. "\\qquad" worked whereas "\\;, \\>" etc. didn't work.
"\\newline" and "\\\\" don't work.
When you have your formula written, it displays the latex commands and the results together when you don't edit the TeX/Math element anymore.
I would be very thankful for helpful answers.8 -
How hard can it be to let sql just multiply some values and sum the results, right? As it turns out, damn hard!
I hear you thinking, surely you can just do select SUM(price*amount) AS total right? Nope! I mean, yes you can, but it fucks up. Oddly. It always ends up giving me wrong results. Always. Wtf sql? And it's not like I'm running a massive dataset or anything, it's like 100 records at most?28 -
My worse nightmare is not being oncall. It is compulsory team building activity that involves playing zero-sum games that defeat the whole purpose...
-
It's not a real dev regret but it's related to it: Not being able to fix a price or a value for my skills.
It's a real regret.
Just coming out of college I have tried my hand at freelancing at found it real hard to fix a value for what work was offered because I just found it weird to fix a monetary value on something that I've done for free for my entire life ( at school and uni I mean).
To make it worse my first experience was with a grad student who wanted me to complete her project.
Now being from India, I know that we have a stereotype of doing work for a lower price.
But this girl took the cake.
She wanted me to create a custom Image classifier using tensorflow.
It had to train with live images and then detect those images in the live video feed.
It's quite simple but still training the basic network(which would be used to just detect features) would take a decent amount of time and effort.
No pre trained models was also a prerequisite for her.
After hearing all her requirements I asked her what price she was willing to pay.
She said 50$ lump sum.
Being really confused as to what to say to that I just stopped replying.
To this day I have no clue what would be a reasonable price to quote a client like that.
After that I just continued dealing with people I knew personally and am currently doing that as an internship. But entering the proper freelancing system again has become a kinda weird thing in my head now, since I have no clue as to what price to put on my skills.
Is there any advice that any of the more experienced people would give?
Also consider the fact that I'm relatively fresh out of college and have no corporate experience.
Even if you've read my rant and have no advice it's okay. I guess this is a path of self realization after all.3 -
Wherein I disprove Goldbachs Conjecture (in one specific case)
golbach conjecture:
every even number is the sum of two primes
lets call the primes p and q
lets call our even number p+q=n
we can go further by establishing two additional variables
u=p-1, v=q-1
therefore every even number is the sum of u+v+2, according to goldbach's own reasoning.
in the simplest case...
p=2, q=2, p+q=4
u=1, v=1, u+v+2 = 4
We can therefore make a further conjecture in the simplest case every sum of two primes, less 2, is the sum of two composites. This likely has connections to the abc conjecture for a variety of reasons. But leaving ancillary discussion aside for a moment...
We can generalize to a statement that every even number is the sum of two odd numbers. And every odd number greater than 1 is the sum of an odd number and an even number.
Finding an even number that is not the sum of (p-1)+(q-1) would therefore be equivalent to disproving the goldbach conjecture. Likewise proving every even number is the sum of (p-1)+(q-1) would be the equivalent of proving it.
Proving all even numbers greater than 2 are the sum of two composites + 2 would be proof of goldbachs conjecture, and finding any example or an equation that proves an example exists such that *some* subset of even numbers are NOT the sum of two composites +2, would disprove the conjecture.
Lets start with a simple example:
2+2=4
because 4-2=2, and two is not the sum of two composite numbers goldbachs conjecture must ipso facto be false.
QED
If I've wildly misapprehended the math, please, somebody who is better at it, correct me.
Honestly if this is actually anything, I'd be floored to discover no one has stumbled on this line of reasoning before.8 -
I really am just a shitty web developer. I just spent 4 hours solving a subset-sum problem, and the outcome is not efficient or pretty.2
-
I have a non-dev colleague that created a report in our pseudo-self service viz tool. Shortly after creating and forwarding said report, he submits a ticket stating "the data, in the db is wrong. Every time I run my report, the sum (of a numeric column) is five time more than (and here is the funny part) when I run the SQL in developer!" My response, after reading this ticket: "it is the same data, from the same db, and the same tables! CHECK YOUR JOINS!!!!" His response: " found the issue. My bad! The report used outer joins vs' inner joins." Then he resolved the ticket!
-
I had registered for Machine Learning course in my university. It's a new course offered after looking at the subjects usage in industry.
The professor handling it ,have completely no idea ,and experience on ML., So yeah
His 1hour lecture is complete stand up comedy show for the students.
So, today he comes and says "ML is based on Probability", and explains probability, like for 8th grade students.
He put this question on the board, telling that ML revolves around concept requirements to solve this question.
Question:
Probability of getting sum of 7 or 11 when a pair of die is thrown?
Guess what, he tried to solve the question and got wrong answer.
I was highly interested in the course,since my project required it and thought it provide me great fundamentals, it's been 3 weeks I regret for opting it.😥 -
I'm currently working as a new team member on an angular project. It just took me an hour to understand the data flow for one single use case. Data is passed through 4 directives and each time with two-way binding. In contrast to angular2 you cant see whether an attribute is an input/output element, you always have to check the directive code. Funny thing, the controller of the directive is in an extra function and sometimes not even directly behind the directives code. Template, directive and controller sum up to 12 code placements I have to check in order to understand everything. All the directives seem to be neccessary because my boss wants everything DRY.3
-
1. Sum up all the behaviours/functionalities the program should have
2. break each functionality down to the data/procedures that it uses(mindmaps can help)
3. get an understanding of a naive implementation and implement it (fast)
4. collect improvement opportunities (opitimization/simplification/expansion) and get a deeper understanding of the solution
5. spend a few days on some real life issues
6. improve the naive code, if appropiate, start all over -
I spent the last 1.5 hours trying to optimize delivery of two 8.0KB JS files. It didn't work, at all tried like everything I could find. At the end I initialized it in angular json and made it load regardless. Made me realize that it is not made for optimization.1
-
Little project for an insurance sales guy / finance coach / entrepreneur
My first thought: guy sounds extremely shady but ok let’s come up with a hefty price.
Guy accepts my offer and pays one third in advance as I asked. Of course he pays cash because he „didn’t make it to the bank“ but happened to have the big bucks in his wallet.
I give him a receipt for the cash payment.
Job is done I write an invoice for the remaining two thirds.
Guy transfers money to my account. No cash this time.
However he took the sum in the second invoice and subtracted the first one and 50 bucks extra and send the remaining entirely imaginary sum.
I text him. He does not get it and explains that he payed cash in advance.
I say yes but that is not the point. You can not make up the sums of your invoice yourself.
I send him three warnings via mail.
He sends an angry letter back sayingthst he payed one third in advance.
I tell him how nice it is that we agree in that regard but that the issue will go t court if he does not pay.
Sometimes I am fascinated how elaborately stupid people can behave. :/5 -
As odd as it may be, but when I find an old 5000 line kshell script on an old build server that has its own built in menu happiness fills me.3
-
How do you know ML and AI has gone too far? You rely on the algorithm instead of the obvious.
Google will translate comments, etc. At times when you click on an English video to language around your location. This is so obvious, if I didn't understand English if would not have clicked on the video!!
#BringBackThePreMLdevs -
How to Develop Your Talent Stack https://elmghari.com/talent-stack/
TL;DR
"Building your talent stack will give you a unique edge for particular roles or tasks. In doing so, you won’t be competing with everyone else anymore. You won’t be playing a zero sum game.
Instead, you’ll be focusing on yourself, playing positive sum games, and building your own path." -
!dev-related
The charging port on my Galaxy S8 is messed up and is constantly disconnecting while charging, which results in the phone either slow charging or just got charging at all.
I thought I got the monthly phone insurance through Verizon and I was just gonna pay the deductible and get the phone replaced, but apparently I don't actually have the insurance even though I could've sworn I did. So that option is out the window.
So now I'm left with 3 other options:
1.) Pay $100 to get the charging port repaired at a local repair shop
2.) Pay off the remaining $200 I owe on the phone and get a phone upgrade from Verizon (because I am due for an upgrade)
3.) Get the upgrade but still keep my current phone on my plan and just pay the remaining $200 off monthly like I have been since I got the phone, except I'd also be paying for a second phone. Which is fine, because either way I'd be paying the $200. It's just a question of paying it in a lump sum or paying it monthly. Either works for me, it's $200 both ways
The downside of upgrading now is that I wouldn't be able to get the Galaxy S10 when that comes out, and that's what I've been waiting for as I prefer the smaller Galaxy S phones over the Galaxy Notes.
I suppose I could trade in whichever phone I get when the S10 comes out, but that would be a huge hassle and I'd have to pay at least 50% of the phone off in order for it to be eligible for trade-in
Decisions decisions.7 -
Recent VM/Emulation Adventures:
The goal was to get TCP/IP and SSH running on whatever weird VM/emulated machine, and connect to the chatroom at chat.tcp.direct successfully.
Longhorn, somewhere late pre-reset: Crashes right after installer begins "Starting Windows", 0x7b from sum-match ISO. Fail.
TempleOS (well, Shrine, but y'know): Dear god. No. No, I am not writing SSH in HolyC myself *fuck that,* fail.
Slackware: oh ffs i gotta use fdisk to partition this damn thing? and it's not even the good fdisk? Oh, wait... it hangs. Fail.
WinME: shockingly, was *fairly* stable... until it hung up WASAPI and the hypervisor two frames into desktop rendering. Fail.
Mac OS 7: First-boot after install, immediate unknown trap. Just works, eh? Fail.
Amiga: After about 85 resets and 7 hours of constant fighting with WinUAE, I finally got TCP/IP working. (Required 10MB of total RAM and an FPU to connect.) Success!
Win98FE: just... PuTTY and done. Easy. (This was the warmup.) Success...
Other people's achievements so far:
- Minecraft using the new QEMU interface mod thing.
- Hacked smart fridge.
- iPhone, from custom initramfs.6 -
"To be truly great, we have to understand the motivation of our clients, maintain constant two-way communication with shockingly uncreative people, get a firm handle on copywriting and how that craft exists symbiotically with the visual element, and foresee how the finished whole will be greater than the sum of the bits and pieces we spent hours obsessing over. All of these factors cascade into the final product." - Kevin Potts
-
What do you think about my solution to two sum?
https://leetcode.com/problems/...
It took me about 10 seconds to realize it can be solved this way, and then FUCKING HALF AN HOUR until i finally wrote the actual code in a way that worked as it should...
...i really should sleep more. and get examined for brain decomposition or something.8 -
Whaddya guys do during lockdown? Me jumping into game dev and do sum coding stuff anddd thought about getting in 8bit audio4
-
At school, learning how to sum, divide and round in excel, instead of coding. (I'm an it pro. converting to dev.) FML5
-
Published on BBC, GCHQ have set the challenge below. Would make a fun simple coding challenge. My thought is to brute-force, is there a more efficient way to solve it?
"Take the digits 1,2,3 up to 9 in numerical order and put either a plus sign or a minus sign or neither between the digits to make a sum that adds up to 100. For example, one way of achieving this is: 1 + 2 + 34 - 5 + 67 - 8 + 9 = 100, which uses six plusses and minuses. What is the fewest number of plusses and minuses you need to do this?"
Edit: disclosure: I believe the challenge has passed already and I'm too lazy to enter anyway so don't worry about me or anyone stealing ideas!2 -
Degree is still on the way.
But once i have finished it'll help me do something like
std::cin>>a;
syd::cin>>b;
int sum = a + b ;
std::cout<<"sum of both numbers is:"<<sum;
My degree tells me that it is the most useful way of solving real world problems. By using c++ to cout statemens on terminal can solve all problems of a corporate company.1 -
Covid rant
I had my last day at previous job in mid Jan, and 1st day at new job, thousands of km accross the country, in another city, in Feb.
I had great difficulty in finding an apartment that's decent and close to my office. Finally got one with a hefty rent for 1BHK, hefty brokerage and a hefty sum as security deposit; in March. Within a week, I spent shit load of money buying things, like a new fridge, washing machine, chair, table etc...
Didn't live there for 7 days, as soon as the lockdown started.
Every month my heart shatters paying the rent :(
17.5k INR :(3 -
So we now do continuous deployment to a development environment. Once a PR gets merged it gets deployed there. We then have to manually deploy to staging every so often.
We did this because QA wined that the Dev was constantly breaking Staging, when we contentiously deployed to that.
So now we have a staging instance that is always behind. Which isn't big deal, because its supposed to be stable right?
Well now the stupid fucking QA team is always making mountains of tickets and noise for stuff that is already fixed on the development instance.
Fucking shit that they message me about, or have to call me about. "Hey let me tell me about this thing I found." And then I'm like I already fixed that thing last week.
So it seems to be wasting everyone time to not just CDCI into staging. I have to wait weeks to retest my bugs on staging. To make sure that some other stupid fuckeshir on my team didn't undo or break my fucking fix. Shit keeps getting kicked out of QA Review. Fuck. lol.
Then there like I can update the thing on the database through the front end tool. Well tough shit buddy, your going to have to wait a week unti next staging deployment to see if that tool is fixed. This is your fault for fucking up our pure CDCI with your ideas. Now everything takes longer for everyody.
To sum things up. Some dumb bug makes it into the manual staging deployment and gets fixed an hour later. Doesn't get deployed until next fucking week. QA makes a bunch of noise about it. A thing that is fixed and in the pipe-line.
Also a dumb fucking bug will make it into staging, lets say a critical front-end back office tool that needs to send numbers to the backend, they send a fucking string instead of a number and break it. Now we have to redeploy the tool and backend to staging because there related. Then if we deploy backend we have to deploy the client facing site too. since it also depends on backend.
Its a fucking hassle.
Now if the fucking DevOps guy could do his job, and make a god-damn deploy button for all the staging servers that would be great.1 -
Hey :) I've started studying and I have to submit programming work together with some other students (who don't know much about programming) One of them has produced 70 lines of code to sum the numbers from 1 to n... How do I tell them they suck? And how do I help them improve?2
-
It started around 10 years ago, my first programming lesson is creating a simple actionscript using macromedia flash mx. It's a script that takes 2 input and print out the sum. I still have the script today. 😁
-
I just got to college and can do web dev fairly well (Mern stack mostly). But tbh I am now more interested in being an app developer. Should I try to learn React Native/Flutter or Kotlin/Swiftquestion kotlin java android kotlin google app development ios development android development app swift apple3
-
It seems like they are going forward with the project…
Me like: I am ALREADY IN PAIN!
Sometimes I just stop…
and is just astounded of how things are, you know, managed. Leadership. What do they think about? At this corporation.
I mean. This going to hurt so, so much.
There is this movie made from a book that Tom Clancy wrote, The sum of all fears. In it Jack Ryan (Ben Affleck) needs to relay paramount intel (yes, i want to be an agent god damn it!) to POTUS. And I am like…
I AM JACK RYAN! I NEED TO GET THIS INFORMATION TO THE CEO. HE IS MAKING DECISIONS ON SOME VERY BAD INFORMATION.
But, I am far from actually getting even near to that individuals closest team.
So, things are what they are …and it it going to be boring and it will mean really hard work. For years. So, what to do… -
Recruiters are seriously the biggest pests in existence. They are such a useless middle man. They take a big lump sum of cash just to facilitate an employment opportunity for someone that is more than capable to facilitate it themselves. Plus they are huge pests and harass you. Am I crazy? Why do recruiters exist. Surely their entire industry is bad for the economy.2
-
Why does BigDecimal have to be so annoying to work with! Trying to trace my brackets from an excel sum over to Java... Got the sum working now greeted with dodgy rounding! Doh!
-
filesystem gents, this one’s for you:
There’s something that bugs me about ext4 that I miss from ntfs, knowing the size of a directory
in ext4 every dir is a kB or so, while in ntfs it’s the sum of all descendants.
Is there a way to have that with ext4 or another fs in Linux?
I understand there could be extra writes to have that.7 -
I just realized what a horrible fate I escaped several years ago.
I was just finishing bachelor s degree, when I was offered to write my diploma under teacher, who works in Bitrix.
I was given first tasks how to make web site on my own l, I liked it pretty much in the beginning, I installed sql database, made simple registration, login. And then I was offered to try CMS bitrix (which is essentially proprietary local version of Wordpress). With words, that I will see how much easier to work in this way.
I found myself not trusting it, something was fishy. I could not understand why, am I as beginning dev in it, could not use it for free? Why could I not making deving in it, without paying big sum per month(it was big for student-me at least).
I went to work with computer graphics during diploma then, and made minecraft analog in c# (at that time I played minecraft too much)
Now I am working with modern open source world wide supported frameworks. And recently saw a web site made by bitrix devs... They went into production without... https. And I think they are the same ones.4 -
Customer pays an extra charge ($) for using a thing over time. Unlike some customers this charge isn't broken out separately anywhere is and actually it is hidden in an overall bill / number they receive that is just a non itmized sum of a bunch of stuff...
They want an accurate number.
This request came up in a meeting and it was so bonkers that it had to be repeated like 8x ;)
The repetition isn't so bad really as at least it indicates everyone was all "uh wait wut!!?!?" -
Suddenly, I find myself in a crossroad situation. I have been offered a position which would align perfectly with my career path aspirations (cloud solutions architect) with double the pay to my current salary. If only those were the only variables in this equation, taking the offer would be a no-brainer. Alas, it is never that simple (unless all you care about are pay and career path, of course)…
So, let’s break it down to pros and cons of jumping ship, shall we?
Pros:
- double pay compared to current salary
- aligns with my career aspiration
- part of a team of cloud solutions architects (mentorship opportunities)
- varying projects (position is at a consultancy firm)
- shares of the company come with the position ($$$ if it grows)
- possibility to influence strategic decisions
- no more 2h+ commutes
Cons:
- it’s a consultancy startup (emphasis on both consultancy and startup)
- 100% wfh
- would mean losing my current team where we are well and truly glued together and have such great vibes (and I value this, very very highly - this really is the main con)
- would mean losing my current work environment, where we have a gym and sauna at the office etc all kinds of stuff that support my athletic lifestyle
- would mean I don’t have as many opportunities to visit my parents anymore (since they live close to my current office but not close to me)
- at my current position I have super interesting projects both ongoing and in the horizon for a long time to come
- would mean eating my words (see previous point, and the fact I’ve said to my TM ”I can see myself staying as long as this job offers me opportunities to keep learning skills that are meaningful to me”), and I value my integrity
- would mean leaving my colleagues in quite a hairy spot, effectively betraying them in my mind (when our lead dev jumped ship a few years ago, he left us in quite a limbo and hands full of shit we didn’t know what to do about… I don’t wish that situation for anyone)
So, to sum it up, my reasons to stay are more those of moral integrity and convenience, well as the will to see the wheels I got rolling to the end, whereas my reasons to go are more personal finances and career oriented. A difficult decision. What to do?14 -
Whenever we have to do Sprint Retros i feel like i am trapped in self-help group.
Recently, we had to describe our work/team like we would do amazon reviews. That is, we had to write "reviews" about our last sprint.
I sincerely would like to know why we can't discuss problems like grown adults, if there are any. Why do we have to pretend we are in a space rocket, on a sailing boat, in a formula one race car or reviewing amazon articles to articulate our needs?
I feel like developers are treated like stupid, little kids, and the majority of the developers don't have a problem with it.4 -
1. Went to try chat.openai.com/chat
2. "Write a java program that uses a singleon pattern to calculate the sum of the first 100 prime numbers"
3. ???? HOW DOES IT DO THAT9 -
Not really a fight, but a disagreement that lead to some big changes in my mind.
When entering my school, I still had a part of me wanting to do game development.
I'm gonna make it short : We wanted to do a game in Java at school in first year, but one wanted to do it in C because didn't feel good with Java.
And I always sum that experience up by saying "Never again." The atmosphere in the team was very friendly, but that's the only good part of it. I hated doing that project, and it removed that small will of doing game dev (as a paid main job).
Maybe it would have changed if it was later during my studies, since I was still learning how to code during that project.
But I guess it showed that I was maybe not that motivated to do games.2 -
Using normal text editor's like notepad vs IDE's like eclipse and android studio is the same as driving manual cars vs automatic cars.
Most people say its quite difficult but if they just start doing it and stick to it for long enough, it will become second nature to them.3 -
Github be like:
Want control on your files? Host your own LFS!(This goes the same even for those who are buying their storage packs for boosting their LFS storage by giving money)
FUCK THIS SHIT... I am a poor student. I also don't have a fucking credit card!! Can't you improve your system instead of asking people to host their shit themselves?
Also, why do they even have access to deleting user files??!! They literally asked me to give a sha sum of files I want to restore so they can delete the rest as one option and providing hashes of files to be deleted as another.
And the hashes are not even secret(as the files are in an open repository).
Which means, if you have a large file on a public repository and animosity with a github staff, BOOM! That file is no more!!9 -
I need advice. Is there a quick way to get the sum of a series?
for example.
p + p-1 + p-2 + p-3 ...
and so on?12 -
Hi people, I need some help.
First, stack , Golang/gorm(ORM)
I need doing a simple sum(amount) , I have a " db.Table("orders").Select("sum(amount) as Amount, merchants.name").Joins("inner join merchants on merchants.id = orders.merchant_id AND merchants.name = ? GROUP BY merchants.name", key).Scan(&total)
total is a struct type .
Are there any smell and I don't see ....?1 -
Silhouettes hide your pores,
not the chores for your work scores,
managers observe behind your eyes,
No one rants for the laughs,
where you now passed gas,
sum your growth of the past,
change the browser url paths,
or your boss will take your cash. -
oh Gentlemen and ladies. TypeScript complains ae bout aeviry ting. eit feels like sum one is waitching ouver mi.4
-
Hey guys, ran into some thermal throttling issues with my i7-7700k (100c basically all the time, 800-2000mhz speeds) so I'm looking for a new cpu, anyone down to help?
I'm looking to run 1440p 144hz eventually so I don't mind laying down an average sum of cash for one, just need some suggestions.
Is it worth the switch to AMD? Every forum I look at online has someone buying AMD nowadays
I've tried fixing this i7-7700k by remounting the cooler, reapplying thermal paste, changing BIOS settings, making sure the pump is working, but nothing seems to help.80 -
Did 2 leetcodes today. (will be more in future)
https://leetcode.com/problems/...
I remember I did something similar. The idea is that converting single letter to number, so sum2 - sum1 = the_added_letter
https://leetcode.com/problems/...
Don't know how to do it, so copy the answer. (I copy the answers most of the time) The idea is that on the same level, we sum the left or keep going down to left. For right, we just go down there. Little trick is that we use root.left.left or root.left.right.2 -
Which DB good in group and sum operation?
I have an entity like
Chair {
id,
count: x
appartment_id,
floor_id,
build_id
}
And I need a group by appartment_id OR floor_id OR build_id and sum count.5 -
I think the idea that someone thought supposedly that I was served human rather than venison intentionally begins to adequately sum up my problems with this time period and these people. Where their minds.leap to is pretty fucked up3
-
I want to print the first number in the Fibonacci sequence to contain over 1000 digits. I got fibbonaci to work but I cannot seem to figure out how to implement the "Contain over 1000 digits".
Do I make a list to store the fibbonaci numbers in then do a statement?
My Python 3 Code:
def fibonacci(num):
if num == 2 or num ==1:
return 1
return sum([fibonacci(num - 2), fibonacci(num - 1)])
print(fibonacci(7))7 -
Persisterising derived values. Often a necessary evil for optimisation or privacy while conflicting with concerns such as auditing.
Password hashing is the common example of a case considered necessary to cover security concerns.
Also often a mistake to store derived values. Some times it can be annoying. Sometimes it can be data loss. Derived values often require careful maintenance otherwise the actual comments in your database for a page is 10 but the stored value for the page record is 9. This becomes very important when dealing with money where eventual consistency might not be enough.
Annoying is when given a and b then c = a + b only b and c are stored so you often have to run things backwards.
Given any processing pipeline such as A -> B -> C with A being original and C final then you technically only need C. This applies to anything.
However, not all steps stay or deflate. Sum of values is an example of deflate. Mapping values is an example of stay. Combining all possible value pairs is inflate, IE, N * N and tends to represent the true termination point for a pipeline as to what can be persisted.
I've quite often seen people exclude original. Some amount of lossy can be alright if it's genuine noise and one way if serving some purpose.
If A is O(N) and C reduces to O(1) then it can seem to make sense to store only C until someone also wants B -> D as well. Technically speaking A is all you ever need to persist to cater to all dependencies.
I've seen every kind of mess with processing chains. People persisting the inflations while still being lossy. Giant chains linear chains where instead items should rely on a common ancestor. Things being applied to only be unapplied. Yes ABCBDBEBCF etc then truncating A happens.
Extreme care needs to be taken with data and future proofing. Excess data you can remove. Missing code can be added. Data however once its gone its gone and your bug is forever.
This doesn't seem to enter the minds of many developers who don't reconcile their execution or processing graphs with entry points, exist points, edge direction, size, persistence, etc.2 -
i have to say this. its very important and mind blowing even to a shitbeast like me. a few days ago i shitted such a massive turd that it got stuck in the toilet. the shit was THAT big. BIG SHIT 💩.i flushed. nothing. flushed 3 more times. nothing. i gave up and went to work. i completely forgot to flush it again. came back to shit again now and the toilet STANK LIKE A MF. worse than a sewer. i could see my HUGE TURD floating in pieces in the toilet, while the other BIG turd is still stuck in the fucking toilet. i flushed aggressively again. the fucking turd is still stuck and wont get the fuck out. now i have a toilet with shit in it and it stinks like sewer cause the turd was there for several days or so. i have to get a plunger 🪠 AGAIN to get this shit out of my fking toilet! 🚽 Right now, i have to go to my 2 of 3 toilets to take a new shit, and i hope it doesnt get clogged again! as i am shitting while writing this, i can already see how HUGE the new turd is! this is incredible. what the fuck am i shitting?! did i eat a fucking elephant or sum?8
-
Found this amazing website to read about Java blog posts here 👇
http://javatongue.blogspot.com/?m=1
It's quite straight to the point and old school looking but that's what what got me to stay and look around.2