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 - "1 is 1. 10 is 1"
-
Got this from a recruiter:
We are looking for a **Senior Android Developer/Lead** at Philadelphia PA
Hiring Mode: Contract
Must have skills:
· 10-12 years mobile experience in developing Android applications
· Solid understanding of Android SDK on frameworks such as: UIKit, CoreData, CoreFoundation, Network Programming, etc.
· Good Knowledge on REST Ful API and JSON Parsing
· Good knowledge on multi-threaded environment and grand central dispatch
· Advanced object-oriented programming and knowledge of design patterns
· Ability to write clean, well-documented, object-oriented code
· Ability to work independently
· Experience with Agile Driven Development
· Up to date with the latest mobile technology and development trends
· Passion for software development- embracing every challenge with a drive to solve it
· Engaging communication skills
My response:
I am terribly sorry but I am completely not interested in working for anyone who might think that this is a job description for an Android engineer.
1. Android was released in September 2008 so finding anyone with 10 years experience now would have to be a Google engineer.
2. UIKit, CoreData, CoreFoundation are all iOS frameworks
3. Grand Central Dispatch is an iOS mechanism for multithreading and is not in Android
4. There are JSON parsing frameworks, no one does that by hand anymore
Please delete me from your emailing list.49 -
/*
* First anniversary of devRant unofficial for Windows 10 (UWP)!
*
* Let's celebrate by giving me 500 ++'s 😁
*/
Exactly 1 year ago, on 18 May 2016, I released the first public version (v0.9.2.0 BETA) of my client for Windows 10 users.
I found this wonderful community a few days before, on 12 May 2016, thanks to an article on TNW.
The only flaw was the missing Windows 10 Mobile client for my Lumia 950, so I decided to create a simple one on my own that initially allowed you only to see the list of rants, without the ability interact with them.
A few days later, after spamming the app on twitter, I was reached by @dfox, a very kind person, who gave me all necessary tools and help to bring all official features to Windows 10 users.
A project that I created initially just for fun and necessity became the main project I'm working at in a very short time.
I received a lot of positive reviews from users that motivated me to improve and continue it.
It's true, Windows 10/Windows 10 Mobile users are few, but they appreciate your work as no other and with a lot of feedbacks and suggestions help you to improve it making it very satisfying.
I would like to thank @dfox who made this possible, my friend @thmnmlst who helped me a lot with precious advices and created the presentation below, and of course the whole Windows 10 community! 😉
Good Ranting!
P.S.
If you haven't tried it yet: https://microsoft.com/store/apps/...
For all updates follow me on twitter: https://twitter.com/JakubSOfficial
The v2 is coming... sorry for the delay, below a little preview (alpha) to be forgiven. 😋35 -
TOP 10 PROGRAMMING BEST PRACTICES
#1 Start numbering from 0.
#10 Sort elements in lexicographic order for readability.
#2 Use consistent indentation.
#3 use Consistent Casing.
#4.000000000000001 Use floating-point arithmetic only where necessary.
#5 Not avoiding double negations is not smart.
#6 Not recommended is Yoda style.
#7 See rule #7.
#8 Avoid deadlocks.
#9 ISO-8859 is passé - Use UTF-8 if you ▯ Unicode.
#A Prefer base 10 for human-readable messages.
#10 See rule #7.
#10 Don't repeat yourself.12 -
How to properly have fun on a Saturday night:
1. Suddenly become deeply unsatisfied with current linux distro
2. Evaluate alternatives
3. Decide some change is needed but not too much: install fresh version of old distro
4. Once again, experience profound dissatisfaction
5. Opt for radical change
6. Erase all linux partitions, form a super partition and install a new linux distro on it
7. Spend hours familiarising with the new distro
8. Spend more hours googling stuff and typing commands in the terminal
9. Download current devRant avatar, send it to the PC via Telegram and set it as user's avatar for the welcome screen
10. Feel deeply satisfied
11. Accidentally wake girlfriend up while trying to get to bed. Get told off for staying up until 4am and for "being such a nerd"21 -
Math teacher: 1+1=?
Me: one zero
Math teacher: wrong!
So i gived to her my calculator (in binary mode :-) )
Me: check the answer.
Math teacher: [saw 1+1=10 on calc] thinks about 10 seconds LOL then says: you calculator is broken!18 -
Here's a list of unpopular stuff which I agree with:
1) I love Java more than any other programming language.
2) I love sleeping more than working.
3) I'm not a night owl. I thrive the most during daylight.
4) I don't like or need coffee. Tea is fine.
5) Webdev is a huge clusterfuck which I secretly wish that could just die already.
6) Cybersecurity is a meme and actually not that interesting. Same passes for Cloud, Machine Learning and Big Data.
7) Although I'm a huge fan of it Linux is too unstable and non-idiot proof to ever become mainstream on the desktop.
8) Windows is actually a pretty solid OS.
9) The real reason I don't use macos is because I'm a poorfag that can't afford an overpriced laptop.
10) I don't like math and I hate that people push math shit into random interview questions for dev jobs which have nothing to do with math.
Post yours.279 -
1 - Programmer produces code he believes is bug-free.
2 - Product is tested. 20 bugs are found.
3- Programmer fixes 10 of the bugs and explains to the testing department that the other 10 aren’t really bugs.
4 - Testing department finds that five of the fixes didn’t work and discovers 15 new bugs.
5 - Due to marketing pressure and an extremely premature product announcement based on overly-optimistic programming schedule, the product is released.
6 - Users find 137 new bugs.
7 - Newly-assembled programming team fixes almost all of the 137 bugs, but introduce 456 new ones.
8 - Entire testing department gets fired.
9 - Company is bought in a hostile takeover by competitor using profits from their latest release, which had 783 bugs.
10 - New CEO is brought in by board of directors. He raises the programming team's salary to redo the program from scratch.
11 - Programmer produces code he believes is bug-free.
12 - fml9 -
The typical devRanter
1. Uses dark theme of IDE and devRant app
2. Hates his/her clients
3. Likes Arch based distros
4. Checks his/her ++'s count or notifications after publishing a rant
5. Hates facebook
6. Associate the morning with a cup of coffee
7. Can't do any job when there are no headphones
8. iPhone vs Android? - fuck, they both are good/bad
9. Every time googles git command to remove a local branch
10. The best VCS is git, but I never used any other VCS22 -
Me on the train. A fucking 12 year old kid, fanboy of the iPhone X.
1. He calls it "X" (the letter). I bet he doesn't even know that it is a 10.
2. "it has only one port so you can use Bluetooth headphones". He seems like he is amazed by that. Like wtf? Guess what motherfucker you can use Bluetooth headphones even if you have a dedicated headphone jack.
3. "it has wireless charging"... Oh would you please fuck yourself you fucking donkey.
4. "it is so thin. Not like those other phones". So can somebody kick this guy or I will do it myself...
Sry gone full AlexDeLarge here...10 -
This is how my day has gone so far:
1. In car, see advert about hackathon
2. Look it up, see tickets go on sale in 30mins
3. Read more about hackathon, apparently tickets go within minutes
4. Get tickets, print
5. Printer out of ink
6. Accidentally deleted ticket, can't reprint
7. No more tickets left so can't get another
8. Spend hours with data recovery tools
9. Remember recycle bin. Reprint ticket
10. Cry
11. Rant on devRant11 -
pm: our client wants a proprietary pdf compression app.
me: Okay gimme 3 days and some sample PDFs.
pm: they won't supply any sample PDFs because they contain confidential information.
me: okay fine, I'll download some from the interwebs.
** 3 days later **
me: here is the pdf compression app. all done and works with all of about 100 PDFs we tested with.
pm: okay great I'll have the client take a look.
** half and hour later **
pm: the client said that the compression app errors out.
me: okay I'll go look at the server logs to see what's up.
** 10 seconds later **
me: what the shit is a "foxit phantompdf" file.
pm: it's the proprietary pdf format that they are using.
me: oh joy. I'll go try to find some sample files and see if I can fix it.
** 1 hour later, no sample files found **
pm: got anything?
me: *sobs obnoxiously*9 -
The company I work for...
Has:
1. No CI/CD
2. SVN instead of GIT
3. Outsourcing to India (oof)
4. No Automated Testing
5. Uses Bugnet (ancient, outdated)
6. No clearly defined code standards
7. No real documentation on the code
8. Rubbish code
9. No desire to reduce technical debt
10. Poorly maintained DB
11. Poor outdated equipment
12. A useless PM
13. Still priotizes IE support (??)
On a scale of 1 to 10 how fucked is this company and anything they develop?41 -
Things I hate about Microsoft (Part 1):
Windows: Does things I don't want it to do. Is not user friendly. It is just user familiar.
Outlook / Hotmail: Drops emails silently, which are RFC conform and pass every other mail service. No error messages or notifications.
Edge: Does not / Partially support(s) some modern standards.
IE: No explanation needed.
Design language: border-radius: 0 !important
Business model: Let's make our own hardware, so we can compete with our hardware partners (HP, Dell, ...). Isn't that a perfect idea.
Tracking: Let's track everything of our users. Even how many photos they open in our OS*. What they get from that? Well they could get personalised ads on Bing. Isn't that a perfect model.
*: https://blogs.windows.com/windowsex...39 -
Saw my uncle using Microsoft Edge today.
Me: Uncle, you should use Chrome or Firefox. They are better.
Uncle: Windows 10 showed a pop up few days back that chrome drains battery faster. So I uninstalled chrome.
Me: But Windows is fooling you to use its product. Edge is horrible and useless.
Uncle: So you think you are smarter than Windows people? Are they idiots who designed this whole software?
Microsoft u got 1 more Edge user. Enjoy, you lying and misleading company.28 -
Yesterday's (scheduled and adhoc) meetings:
10:30-11:00
11:00-11:30
12:30-1:30 (adhoc)
1:30-2:30
4:30-5:00
6:00-6:20 (adhoc)
Today's (scheduled) meetings:
9:30-10:00
11:00-12:00
12:30-1:15
1:30-2:30
Tomorrow's meetings include a 1:1 with my boss who will invariably ask why I'm not done on this "should take a week" project that I've had for a week, despite that he just unblocked me on yesterday morning, and I've had nothing but meetings since...
Fucking hell.
They fill my day with shit spaced out just enough to waste practically my entire freaking day so I can't get anything done, conveniently forget this, and then have the audacity to yell at me for not finishing my tickets. Of course I didn't finish! You all were too busy blabbing at me every day for the past fucking week! (Oh, and do they listen if I have something to say? Of course they fucking don't.)
Also, as a secondary rant, the product douchebag files tickets (usually complex as hell tickets worded to appear trivial) with enough missing information to make missing large sections of them easy. If I ask him for clarification, he tells me to read the ticket, and if I insist, he gets all exasperated and quickly zooms through the site faster than I can follow, shows maybe half of what's in the ticket, and asks why I don't know how to do any of this yet. After I finish his shit ticket (and true to his douchebag nature) he blames me for missing several of those pieces he never outlined or showed, and insists that I obviously don't test anything. And because that's clearly not douchey enough, the fucking sack of shit also goes behind my back and trashtalks me to my coworkers, tells them he can't trust me to do a simple fucking thing, and that he's given up on me.
What the FUCK is wrong with these people?28 -
Client : hey there is a minor change in the iOS app.
Me : got it. Done. Sending the build now.
After 5 mins.
Client: heh, few more UDIDs. Can you add them ?
Me : yep. Sure.
After 10 mins.
Client : Hey, need a small change. The text field need to be little bit left.
Me : ugh. Okay. Will do it. Sending another build.
After 1 hr.
Client : hey, need a small help.
Me : Offline.7 -
Yesterday was Friday the 13th, so here is a list of my worst dev nightmares without order of significance:
1) Dealing with multithreaded code, especially on Android
2) Javascript callback hell
3) Dependency hell, especially in Python
4) Segfaults
5) Memory Leaks
6) git conflicts
7) Crazy regexes and string manipulations
8) css. Fuck css.
9) not knowing jack shit about something but expected by others to
produce a result with it.
10) 3+ hours of debugging with no success
Post yours27 -
As most of you already know, I'm a writer. I've noticed the similarities between writing and programming:
1. Tabs vs spaces.
2. Both typically spend all their time with a single project.
3. Coffee... (Unless you're a tea lover like me.)
4. Both typically have no life.
5. Debugging is hell for programmers and editing/revising is hell for writers.
6. Strict clients for programming and strict editors for writing.
7. Semicolons... They're useful but everyone despises them.
8: Emotions. Programmers are angry at their code. (Why won't you work?) and writers feel depressed about their writing. (Why did you die?)
9. War of the programs. For programmers: Vim vs VScode vs Atom vs Sublime and etc. For writers: MS word vs Google docs vs Libre office and etc.
10. Online forums. Stack overflow and Writer's digest.
11. Typing... Typing... All day long.
These are only a few similarities. I've noticed a lot more than this.16 -
Client comes to me after a year to publish an update to his app.
I accept, start looking for my release key.... Found it.
Fuuuuuuucccck what's the password? I can't remember
Googled what to do if forgot password of keystore: Nope can't do shit other than brute Force. You've to forget your app and publish as a new app. Nice.
I must have written it somewhere... I'm sure. Check my password manager: Nope.
Start brute forcing:
Default pass: android. Nope
Name of app? Nope
After 10 mins of brute forcing:
Why would I not store the password in my password manager? The only reason I can think is the password is too stupid to be stored.
Try "password". App signed successfully.
I'm ashamed of 1 year older me xD6 -
Simple 1 day task. This idiot takes two weeks and after 7 days of hounding finally opens a pull request.
I go in to review the code. Should be a simple 10-15 line patch.
13,000 lines of code changed.
THIRTEEN THOUSAND!
"I fixed a bunch of formatting mistakes and replaced all instances of single quotes to double. Consistency is important you know."20 -
Day 1 10:00 am
Login to email account (Zimbra)
Your password is incorrect (I entered it correctly, this was a permanent issue ,used to happen in the company with many employees)
Reset your password by logging into internal company portal.
11:00 am
Logged into company portal, somehow. 2 Mbps internet shared among 104 people, you can imagine the speed.
Reset email password
* your password has been sent to your email id*
Are you fucking kidding me? U have emailed me the password to the same email I can't log in to?
Where did the architecture designer get this top notch weed from?
Day 2
Asked HR to reset my password (using a colleague's email)
Day 3
No reply from HR yet
Day 4
I went to meet HR, she's on vacation. So they have 1 person managing the password reset, for 5000 people with no backup person. Cool.
Day 5
Your internal company password has expired. Check your email for link to create new password. This is some next level shit going on.
Day 6
I called up Internal IT team to generate a new email for me.
They asked me to raise a ticket.
I can't raise a ticket because the only way to do so, is through the portal.
Day 7
Nothing. Btw, personal email and all social networks were banned. You can't even open stackoverflow.
And this was a research lab, amazing huh?
Day 8
Loss of pay for 4 days since I can't login to company portal to fill timesheet.
Day 9
HR comes back. Resets my password.
I try to generate my new password for portal.
The password policy:
Password can't be same as last 10 passwords
Passwords expire every week
8 characters minimum, 2 upper case, 2 lower case, NO SPECIAL SYMBOL. WTF. How long do u think its gonna take to crack that?
Fuckers had a company wise policy to automatically lock PC every 1 min if not used. Who the fuck can keep on using it continuously! I'm reading an article, and bam ! Locked. 2 wrong entries and that's it, repeat all steps again. Fuckers really didn't want to let me do my job, just keep on logging in all day.12 -
8:50am aight alarm clock, give me 5 more minutes
8:55am ok lets round it to 9, wake me up then
9:00am aight enough. lets just sleep for 1 more minute since 9:00 is too round
9:43am fuck
9:44am ok its time to finally study for the upcoming college exam
9:45am nothing but a fresh day to start studying for college
9:46am eh i dont have a lot to study so I'll do it in 2pm, I'll code my project instead
2pm hold on 5 more minutes until i finish coding this feature and then I'll study
5pm where the fuck is this bug coming from
5:504pm goddamn i found it
6:36pm holy shit its already over 6pm, I'll study at night
7:42pm ok its night now, time to study but I'll do it when i fix all bugs
8:14pm ok bugs fixed, commit. lets study
8:15pm you know what, im way too tired and exhausted from this coding, I'll take a short 30 minute break and then I'll study
10:15pm ok im feeling fresh bois lets study now theres not too much
1:31am damn this movie was good
1:32am fuck i forgot to study, I'll do it tomorrow
2:10am *posts this rant*6 -
That moment when your game appears on some Formula 1 Hungarian website and your server's network transfer is gone from 10 GB left to 2 GB left in just 2 days... But still - I'm proud of myself
http://formula.hu/parc-ferme/1654910 -
God dammit, my ISP fucked up.
I have a 400 Mbit/s Internet connection, which I pay a lot for it. I live in the central of a average city and we got 18 Appartements here with a banque and a wellness shop underneath.
There is a new shop under our block and 1 month ago a tecnician was here and made some recabling, so the shop would get enough performace.
Now since 1 week ago I have a bad output, laggs in games and just get about 250 Mbit/s, when not on high traffic times.
That fucking multipler in our house is over 10 years old and around 18 households are connected to it.
WHY THE FUCK ARE YOU NOT CHANGING IT, WHEN YOU SEE IT'S NOT ENOUGH?
We all here in this building are paying a lot for it, and now that fucking thing is overused and broken and you're just grabbing our money you shitbags!!!
YOU HAD ONE JOB! ONE FUCKING JOB!!!23 -
TL;DR: Fuck you Apple.
10:30 PM, parent needs iPhone update to update Messenger. How hard can this be?
Need to update iPhone from 9.x to latest, which is so outdated it still required iTunes. Fk.
Boot iTunes on Windows 10 pc that is at least 10 years old.
Completely unresponsive
Crash in task manager
Launch and is completely unresponsive. (Also starts playing unrequested music.. Oh joy..)
Fuck this, go to apple.com to download iTunes exe
Gives me some Microsoft store link. Fuck that shit, just give me the executable
Google “iTunes download”. click around on shitty Apple website. Success.
Control panel. Uninstall iTunes. (Takes forever, but it works)
Restart required (of fucking course).
2 eternities later. Run iTunes exe. Restart required. Fk.
Only 1 eternity later. Run iTunes, connect iPhone.
Actually detects the device. (holy shit, a miracle)
Starts syncing an empty library to the phone. Ya, fuck that.
Google. Disable option. Connect phone. Find option to update.
Update started. Going nowhere fast. Time for a walk at 1:00 AM punching the air.
Come back. Generic error message: Update failed (-1). Phone is stuck installing update. (O shit)
1x hard reset
2x hard reset
Google. Find Apple forum with exact question. Absolutely useless replies. (I expected no less)
Google recovery mode. Get into recovery mode.
Receive message: “You can update, but if it fails, you will have to reset to factory settings”. Fuck it, here we go.
Update runs (faster this time). Fails again. Same bullshit error message. (Goddammit, fuck. This might actually be bad.)
Disconnect phone.
… It boots latest iOS version. (holy shit, there is a god)
Immediately kill iTunes. Fuck that shit.
Parents share Apple account
Sign in, 2FA required.
Fat finger the code.
Restart “welcome” process.
Will not send code. What. The. Fuck.
Requests access code on other parent’s iPhone.
No code present. What???
Try restarting welcome process again. No dice. (Of course)
Set code on other parent’s iPhone.
Get message “Code is easy to guess”. Ya. IDGAF
Use code on newly updated iPhone. Some success.
Requires reset of password.
Password cannot be the same as old password (Goddammit)
Change password.
Welcome process done.
Sign in again on same phone after welcome process done in settings. (Nice.)
Sign in again on other phone with updated password
Update Messenger.
Update hangs. Needs more space.
Delete shit.
Update frozen in App Store (Really??)
Restart iPhone.
Update Messenger.
Update complete past 2. Well that was easy.
Apple, fuck you.
Some call Android unintuitive, but I look at the settings app on iPhone and realize you aren’t any better.
This company hasn’t been innovative since 2007. Over 1000 USD for a phone? Are you fucking kidding me?
Updating an iPhone from iOS 9.x is probably uncommon anymore. But this is a fucking joke. Fix your shit.
Shit like this is why I’ll never again own an Apple product. I have HAD IT with the joke of a business.
Thanks for reading.17 -
Reasons I hate the US
1. It's fucking 2 in the morning there and folks are checking their Slack when they wake up for pee breaks or done after their sex sessions.
Nearly 90% of the team is on and off checking Slack.
2. Culture fucks have only 10 holidays and hence they align rest of the world to their calendar and only give 10 holidays. India, Europe, and entire world can easily get 15 holidays per year outside their leave quota.
What a cluster fuck of a country it is.25 -
I find it funny how so many people still do not know that 1 kilobyte is just 1000 bytes and not 1024 bytes!
That's a KibiByte!
Guys, kilo means 10^3, always! Always!23 -
Had an interview in a MNC company.
He: Propose a solution for reading huge logs file like 1 GB and parse errors with today's date.
Me: Gave two solution, one with regex and second with buffering the logs (reason: reading the entire in same shot will cause cpu spike with huge memory consumption) and I fell in love with my second approach. By the way it was on paper.
He: (Without seeing the logic) Your syntax is wrong.
Me: Got frustrated who the hell checks syntax in interview. I asked how may years of experience you have?
He: 10 years.
Me: I don't wanna continue, and I left.5 -
Day 1:
Me: 'Hi'
Middleware guy: 'Raise a Jira. We have always been so accommodating. Contact your manager.'
*Jeez*
===
Day 2:
Me: 'Could you please start the server in dev environment? I am a new joiner. I don't have access. Here is a jira.'
Middleware guy: 'Deadlines may be for you. It is not for me. Wait until tomorrow.'
*Damn, did he get a divorce recently?*
===
Day 5: *An urgent delivery asap* 'Hi, could you please do the configuration of the new app in staging?'
Middleware guy: 'So, here is the split up...
Task 1
Task 2
Task 3
Task 4
Task 5 & 6
Your app will be configured by tomorrow first half hopefully.. Oh and you can escalate if it is too late..
'
*What a b...*
===
Day 8:
Me: *Doing late sit for pushing a task* 'Hi, we have an issue. The server is not starting. Could it be due to..'
MW guy in 'second' shift: 'Oh, we don't extend support on unusual hours'
Me: 'But this is second shift.'
MW guy: 'Yeah, but I have to go home early now...'
====
Day 10:
Team Lead: 'Any innovative solutions?'
Me: 'Let's go SERVERLESS!' :D12 -
So 10 months ago i moved from Cambridge (UK) to Guildford (UK), due to moving this distance i started working from home and going into the office once a week.
Now after 10 months i have finally got my home office how i first imagined it. Everything runs from my laptop which is located on the shelving unit away from my desk. Everything plugs into it via 1 USB lead.
Setup:
27" 2560 x 1440 monitor flanked by two 1280 x 1024 monitors.
Asus Laptop (i5-6300HQ, 12GB ram, 512GB SSD + 1TB HDD)
Home PC (i5-7600, 8GB ram, GTX 770)
Accessories:
StarTech USB hub - This allows me to plug my three monitors, keyboards, mouse and everything else into my laptop.
KVM switch - Allows me to swap between my Work PC and Home PC with a click of a button14 -
tldr:
everyone got the same hardware because senior dev liked it
So my project team was allowed to buy some hardware (monitors/keyboards/mouses etc.) so teamleader asked what we want.
senior dev: i need 1 monitor because i like to work with 1 monitor. i prefer this 27' zoll 4k monitor for around 1k dollars. since i work with multiple pc's i like this bluetooth keyboard and mouse because u can pair them with them and switch witch a click between the pc's costs around 300 dollar (1 setup of this costs 1'300 dollars)
me: so i like to use 2 monitors because i tried out multiple setups and this works for me the best (also what i have at home). but they dont need to be fancy. 2x 24' zoll montitors for each 200 dollar are enaugh (together 400 doller)
i also only work with 1 laptop and would like to have just a simple keyboard and mouse with cable because everytime they dont respons or battry runs out im fk triggered. so for me its okey if its this 30 dollar keyboard and 20 dollar mouse. it would be cool if i could get this mechanical keyboard for 80 dollars but not really needed. i only prefer mechanical keyboards a little bit more. and also i would like this mousepad i really like. it makes the mouse super responsive it's also just 10 dollars (this setup cost 510)
so at the end the teamleader was like. ah u know what senior dev has more xp and knows whats better for coding so we only buy this for every dev. but that 10 dollar mouse pad is okey u can get this extra its not that expensive.
WTF why u dont give me the cheaper setup which i more like. and why u even ask.4 -
Going through Master Card API docs to see how to integrate it, saw that they have sample code, checked Java sample code and found this:
String data = MessageFormat.format(
"'{'\"apiOperation\":{0},"
+ "\"sourceOfFunds\":'{'\"type\":{1},\"provided\":'{'\"card\":'{'\"numbe\":{2},"
+ "\"expiry\":'{'\"month\":{3}, \"year\":{4}'}',\"securityCode\":{5}'}}}',"
+ "\"order\":'{'\"reference\":{6}'}',"
+ "\"transaction\":'{'\"amount\":{7},\"currency\":{8},\"reference\":{9},\"targetTransactionId\":{10}'}'," + "\"customer\":'{'\"ipAddress\":{11}'}}'",
apiOperation,
sourceOfFundsType,
cardNumber,
cardExpiryMonth,
cardExpiryYear,
cardSecurityCode,
orderReference,
transactionAmount,
transactionCurrency,
transactionReference,
targetTransactionId,
customerIpAddress );
FOR FUCK SAKE what happened to JSONObject (for Android) class, I'm sure it is a waaaay better solution than that mess ...
And from Oracle:
JsonObject value = Json.createObjectBuilder()
.add("firstName", "John")
.add("lastName", "Smith")
.add("age", 25)
.build();
I guess that is a cleaner understandable solution than what master card has.8 -
As usual finished the task just an hour before demo meeting. That hour is for transportation. Obviously I didn't test nor rehearse.
As usual, in to 2 mins of demo and greeted by error page.
As usual
1) stay the fuck calm
2) this features was already demo-ed and fixed and went fine few weeks ago
3) what the fuck happen now
4) stay the fuck calm, smile.
5) "ah please give me one minute, I forgot to clean up some stuff while working on new features"
6) shit shit. read the error message and log
7) oh I did refactor some files last week. Reorganized the files and folders for better structure and easier understanding. Thought I corrected every occurrences. Obviously I missed few.
8) ssh to the server while screen is still showing on projector
9) dig into the file quick
10) stay the fuck calm
11) fix
12) refresh
13) sorry all good, so I was saying ....
Well finally it's done for today and going back to office. After all it went ok. 👌2 -
Had a skype interview yesterday...
> prepared for interview, checked internet and all
> home internet died literally 1 minute before call
> started interview using phone hotspot
> phone hotspot died in 1/3 interview duration
> used mom's phone's hotspot
> died in 2/3 interview duration
> oh shit
> went out to phone company's office to get more data
> half way to the office, mom calls: home internet is working!
> yaay! goes back home
> nop, internet isn't working (glitch in mom's phone which showed it to be working (wifi symbol))
> goes back to the office
> gets phone recharged (office people were SO slow 😑)
> gets back home
> continues and finishes the interview...
10/10 will do again 😂😂😂😂
The interviewer was quite patient, and waited for me to get back home (he called me 2-3 times to get a heads up)
Lol this was honestly THE most exciting and fun interview experience for me yet!
The interview questions were pretty easy btw (programming)
Waiting for result now...9 -
Most of the tech YouTubers are really noob engineers.
Joma was a data scientist. He is an L3 engineer at Google and he hasn't done much during the last 1 year based on his internal stats.
I saw tech leads stats while he was at Google and that dude did nothing during his time. I'm sure he was an IC before he became a lead.
Clement talks about system design bull shit but he's a math major who worked on some angular front end while he was at Google. Basically his experience in tech is mostly involving using mat-button and mat-input. He also quit FB in a month.
Listening to tech lead gives me cancer. That guy was also some front end/ mobile engineer. I don't think any less of mobile engineers but tech leads acts as if he built some large scale systems at Google and FB. His opinion about react native shows how much of a noob he is. He also talked about docker in one of his video which showed he had some fundamental misunderstanding of what docker is. In his courses, he struggles to explain simple algorithms.
I don't know how these people have the courage to claim themselves as some sort of experts in the field when they are extreme noobs. They also sell some shady courses and are robbing innocent college kids.
One thing they all do well is talk. Which I give them 10/10.10 -
Professor in Programming 1 & 2, 54 years old, divorced, has two kids in our age, golf player
Every time, he came in, we started with the lecture, than he started to talk about politics, greta, the stupid young people, specially the women, always the women. While he was talking to himself or asking us students very personal questions to judge us and recommend how we should do it better, he was talking himself into rage. We never learned something about cs or java longer than 10 minutes, the other long hours he only talked and talked about personal stuff or politics.
One day he asked us about the method of training a dog. You train a dog with pushing his face into his own pee. Than he said with us it is more difficult and that if he would be allwoed he would use methods like this and other very effective stuff on us.
He always starts his emails with
Dear humans
To make fun about gendering.
Another day a student came 1 minute to late, the prof stopped talking became very angry, first he went to a armchair and was sitting there for 15 minutes without saying a word, than he left without a word the room for 30 minutes and when he came back we had to listen to one of his monologues for some hours like usually.
And these are only some samples, he always acted like a little kid, but our university is very poor and i dont think they can effort a better professor for this.9 -
Wow, the new React app looks so amazing. Lets test is on different browsers.
Chrome ✓
Firefox ✓
Opera ✓
... ✓
IE 11 ...
1. I am on Mac
2. Let's install virtual box
3. Let's install Windows 7 in virtual box
4. Open IE8
5. Open IE11 download page.
6. IE8 crashes
7. Download and install Google chrome using IE
8. Restart Windows
9. Open staging url on IE11
10. **cking blank screen welcomes you.11 -
How to be a successful developer:
1. Identify a problem that you don't know the answer to.
2. Spend 10 minutes searching Google for a solution, trying various keyword combos.
3. Click the link to the solution in Stackoverflow.
4. Find the solution with the most +1's.
5a. If solution looks good, implement the solution in your code.
5b. If solution is not applicable, return to step 2.
6. Test your implementation.
7a. If the problem is solved, bask in the glory of success and return to step 1.
7b. If the problem is not solved, move your hand vigorously through your hair, pulling out several strands. Exhale loudly. Next return to step 2.4 -
Windows 10 source code apparently leaked!
The main.c file is short tho and unchanged since 95(it's just run in parallel) so I'mma just paste it here:
void WinMain(int nCmdArgs){
static int userDisgust = 5; //he/she booted up Win10 so 5 to begin with
Time time = Time.time;
while(!crashed){
Time time2 = Time.time;
if(time + 3600 < time2){
ApplyUpdate();
sleep(500000); //users can stretch, have a tea and overall be healthier, happier and better part of society
if(restartNecessary){
Restart();
}
Restart(); // just in case
}
SendUserData();
SendMoreUserData();
for(int i = 1; i < 99+1; i++){
RunUserApps();
UninstallUnnecessaryApps(); // keeps blacklist of apps that John and I don't like
AnnoyUser(); // added a function that slows the computer down significantly and reduces lifespan of the hardware so it's not just a short term gain
if(shouldRepeat){
//break; -- this caused some issue in one special case and we don't know why so we'll just omit it and add a fancy button elsewhere
}
userDisgust++;
}
if(userDisgust >= 2147483647) { //mission finished
Crash();
crashed = true;
}
}
String error = Windows.GetFullErrorMessage();
error.cat(Windows.GetRegistersDump());
error.cat(Windows.GetErrorCode());
error.cat(Windows.GetStackTrace());
error.erase(); // so that it doesn't occupy any space and allows the error to be resolved more quickly, release major optimization Update
BSOD(_T("We're sorry :/"));
}6 -
Teaching new recruit some SQL (even though hes supposed to fucking know SQL and have multiple years experience but I was a contractor and idgaf, not messing up my money. Just fucking annoying to have an idiot around you all the time).
Me: Okay, so sys tables, so this one is for jobs yeah?
Him: Yeah
Me: Okay, so in this table, its obviously not one row per job per step cos you have multiple rows for the same job and step. Also, there is a datetime field, so what is it showing?
Him: Hmmmmm..... (after some time, back and forth we get to the answer).... history table
Me: Cooooooool, okay, so, lets say, I have a job with 5 steps. If i run it once, how many rows will be in this table?
Him: 5 rows.
Me: Correct, so if I were to have run this same job, 10 times, how many rows get inserted into the table?
Him: (Now...you have to understand, how long this thought process was, im trying to fill the gap with words but really, he was like, having a flashback or something...I kept quiet but silently wanting him to say anything....then he looks me dead in the eyes).... 10!
Me: Motherfucker what!?!? 10 What? If 1 time == 5, what does 10 times ==?
Him: Hmmmmmmmmm.... (yes...we are doing this whole flashback montage all over again)....... Ohhhhh, 1!
Me: .....Stop, think, its a history table. It holds history, for when every step is run for a job, why would it be only one row?
Him: OMG, I know what a history table is!!!!
Me: (Pissed off cos I don't take disrespect calmly). Fine, genius, answer, go!
Him: (LONGER WAIT THAN LAST TIME!!!!)....is it not 10?
Me: I swear, I'm gonna kill you one of these days.
Him: *chuckle*
Me: No...seriously....
TOOK 20-30 MINUTES FOR HIM TO SAY 50!!!!!!
And even then, I swear he didn't understand why. Serious, he was a special breed, had a manager that was a super tard and when I worked here, the spirit of that manager possessed this idiot, the CIO and his little right hand bitch zzzzzzzzzzzzzzzzz.
If there was ever a time I was willing to catch a case at work, it was there.
Bonus: Serious, it got to the point I had to come in and tell this idiot that he can only ask me questions today if he calls me by my name...and my name has changed today...and no, you can't ask me for it cos you need my name to ask me questions.....FUCK OFF kkthxbai.5 -
1. Put headphones
2. Put videogame OST (Chrono Trigger is the best)
3. Start Atom
4. Sacrifice a male virgin to my Code Muse to replenish her mana stock
5. Jerk off seeing a fat granny midget porn
6. Clorophorm and put my coworker to sleep so he doesn't interrupt me to show the FailArm best fails of 2016
7. Atom is still loading, so I curse all the GitHub fuckers
8. Give up and start my emulator to play Chrono Trigger
9. Receive a pull request and realise I need to work and be a productive member of society
10. Goto 110 -
This is kinda funny even if the picture is in Swedish. When Avast requires the computer to restart and you can let Avast to remind you to reboot about 10 mins, 1 hour, 4 hours, 6 hours, tomorrow, next week or the best of all - next century, WOW!!
Maybe something Microsoft should implement in their Windows Update?4 -
Beware, this is gonna be a long one.
Today, in university, our professor wanted us to do an algorithm where a number was given in input, and we had to see if that number was, as she put it, "triangular".
For example:
3 is triangular because it's 1+2.
6 is triangular because it's 1+2+3.
10 is triangular because it's 1+2+3+4.
And so on.
While she was explaining this, I was programming it on my phone (because I didn't bring a PC there).
In about 10 minutes I completed it.
This student who was beside me, which I didn't know until today (I'm still in my first year here), saw me programming it, and when I finished it, he looked at it and said: "It takes too much time, like this."
So he spent another like 5-10 minutes """fixing""" it, and then showed it to me: "Here, now it's better."
Do you want to know what he did?
The only thing he did was putting a for cycle instead of my while cycle.
And he didn't even do it properly!
He put an else statement inside the brackets of an if, and some variables weren't correct.
You call that making a program more efficient? Deficient is more like it.
Also, like 5-10 minutes after I did it on my phone, on my own, I looked at the prof's desk: a guy (who apparently is "the best") wrote his algorithm on the blackboard, and the whole fucking class applauded.
Later, I saw on our Whatsapp group that someone sent a photo of him writing on the blackboard, with the caption "The student surpasses the teacher." Others agreed.
I replied with: "For the record, I did this algorithm in 10 minutes."
An asshole replied: "You'll never be superior to the master"
Fuck off. -.-"
...I'll show them.22 -
*plays game for 10h consecutive*
.. yeah yeah I know what you're thinking. This guy doesn't have a life. And you're probably right.
*gets hungry*
… I could really use a hamburger right now 🤔
… But the fast food tent is ~30 minutes walking distance away, and this game automatically logs you out after 30 mins inactivity...
What if I could program in some delayed input?
*jazz hand routine engages*
Hmm.. so if I do something like:
PS C:\Users\Condor> $wshell.AppActivate('BlueStacks'); Sleep 1; $wshell.SendKeys('abusing this chat~'); Sleep 1; $wshell.SendKeys('for upkeep of 10h play~'); Sleep 1; $wshell.SendKeys('while I get myself a hamburger~'); Sleep 1; $wshell.SendKeys('sorry~');
that should work, no?
Le output:
abusing this chat
sorry
Well, even for PowerShit.. good enough, right? It gets the message across 🙃
Hmm.. let's just put an afk message instead, as I'm using the guild chat and don't want any of the members to think that I'm a freak
PS C:\Users\Condor> Sleep 1; $wshell.AppActivate('BlueStacks'); Sleep 1; $wshell.SendKeys('afk~');
.. which seems to work like a charm.. alright, perhaps I can entrust PowerShell to do that again after a 900 second delay, which should give me enough time to get that hamburger.
*comes back home*
"Logged out due to 30 minutes of inactivity."
MICROSOFT POWERSHIT, YOU'VE HAD BUT ONE FUCKING JOB!!!!
Well, guess I'll do that no-life 10+h gaming session somewhere next year again then. Thanks Powercunt!21 -
!rant
Most programming shirts/hoodies really suck. They fall into two categories:
1. Super lame pun quotes in an ugly font.
2. Memes transfer-printed onto cheap fabric
I'm not against puns, or quotes. I quite like the design from @AlexDeLarge
https://devrant.io/rants/830390/, and I've been looking for a nice shirt with Dijkstra's "simplicity is a prerequisite for reliability" on it.
But many do not put any thought into beautiful design, and shit like "No place like 127.0.0.1", "404 girlfriend not found" or "There are 10 kinds of people" really stopped being funny a decade ago.
Good design, colors & quality are so fucking important.
What are your favorite dev-related clothes?16 -
It's my first week working at shithole.co (can i say that?). My boss is a micromanaging asshole who knows the bare minimum re: programming. He thinks css is hard (no offense). I'm fresh outta college. He expects me to be able to do a very complicated api development through an equally complicated authorization process. Every fucking day "Is it working yet?" [This is my first week on the job]. I don't think he's read the documentation and I don't think he understands how to. As I am typing this out I realize I'm more educated than this dumb ass. Oh, some more context. Our senior dev is working on a more important project So we don't have time to bother him? So I am doing his job for 1/10 the cost. Oh, and i'm not allowed to contact him because he is too important. When the app inevitably crashes and no one knows how to fix it. I will give them my nutsack to swallow (can i say that?).14
-
So, there is this guy whose arguments on "How Apple is bad" are
1) "while copying files in Finder, you don't see a speed graph (like in Windows)"
2) "MacBooks don't have a Touchscreen"
3) "it's slow"
4) "you can't play games (like GTA V)"
5) "having app menus always on the top of the screen instead of in every window makes no sense"
Arguments on "why Linux is bad":
1) "it's ugly"
2) no gaming (same as point 4 above)
3)... And other biased irrelevant shit
Yet his amazing old Windows 10 computer with the most recent Insider build has only a 65% chance of booting on the first attempt. Almost nothing works properly on his hardware yet he always blames something unrelated to him.
Recently I was having trouble with the workplace wifi (for few minutes I wasn't having full speed like he on the other side of the room had), and his reaction "aha, it's your macOS, never working".
Like wtf. I don't hate Windows or I don't love Linux, but I night hate him for being an arrogant cunt and I want to punch his face.8 -
I'm a freelance web developer and I normally work on small to medium sized websites, 9 out 10 times based on WordPress and 10 out 10 times with a limited budget.
8 out of 10 times the sites content will be updated by someone with at best casual knowledge in website management.
Say what you will about WP but it's my bread and butter and it works great for just these kinds of websites; where the cost is a dealbreaker and the end product should be as user friendly as a standard word processor.
No, you probably wouldn't build a control panel for the next space shuttle or an online bank in WordPress, but I rarely need to concern myself with those kinds of projects so that really doesn't affect me.
Pretty much the same reason I have a Kia car even though I wouldn't win a Formula 1 race with it.
I for one am grateful that there's an open source tool available to my clients that more than adequately meets their needs (that's also fun to work with and build custom solutions on for me as a developer).7 -
This isn't really a Dev related rant, more of a life rant. Things have been going pretty badly for me lately, so I apologize if this comes across as complaining or whining.
This morning, I got in a car accident that totaled my car. It was a 1996 Chevy Camaro that I had been fixing up and restoring over the last few years and I had it running pretty well. The accident was my fault and I told the police as much, because I value honesty over screwing over others for my own benefit. Money has been very tight lately because my wife was out of work for the last bit of her pregnancy, so we ended up having to move to a 1 bedroom apartment that I could afford rent on my own. She also has a son who is now 13, so space is pretty tight. Money got even tighter once we had the baby. She's 10 weeks old now.
I've barely made the $1500/month rent on my own here, usually paying 1-2 days late because we're living paycheck to paycheck. Our lease is up at the end of July and they won't let us renew because of this.
The bad part is that I was driving a car that had expired registration because I couldn't fix it to pass the state smog test and my license expired two weeks ago. I haven't been able to afford insurance, so every time I drove, it was a gamble.
I'm now going to have to pay these damages out of pocket for the other car.
We're now having to move into my mother in law's house for about 4 months so we can get out of this financial hole we've gotten into.
I feel like I've failed as a father and a husband.10 -
Let me tell you how shit flies in Aerospace&Defense companies in certain place in on earth
1. Your dev. PC is isolated from the internet. You can not download any software/library etc directly. "Legal" way takes literally days and you must all effort for it to work. I will not discuss the details of legal way but it is not asking IT team to download it for you, you do it yourself.
2. You use an archaic requirement standard that is somehow used by all other similar companies too. These companies f*ck each other in the arse when they are working on projects together(hiding details from each other which is necessary most of the times etc.) but they were kind to each other when it came to share shitty req. standard.
3. When you try to switch to new requirement standard, you waste weeks only to amend the old one, because everyone is using old one for all projects, so changing it would upset old guards in the company(which are people works in same project for 10 years, no personal development)
4. You came 1 minutes late, you fill the "minutely permission" form.
5. You already work long hours per day and they remove your small breaks during day, because developers use those breaks longer than intended(I wonder what might be the reason...)
6. A technology can not be adopted into current projects even it has objective advantages proven many times in the outer world, because old guards(developers), IT team and configuration management guys(poor man's dev ops role sometimes) can not change their ways.
I hate this shit...6 -
Short horror story: a coworker of mine renamed a directory in the git repo from ABC to abc. All MacOS users found their repos completely broken after pulling the changes. They didn't know that Apple's crappy HFS+ filesystem was case-insensitive.
I have ~10 coworkers, and each of them wasted at least 1 hour manually fixing this problem. This is like not working for more than a day.
(I'm forced to use a Mac too, but I use an ext3 volume for repositories.)7 -
Yesterday I spent some time on the meta site for dba.stackexchange.com and found this one guy with 1 rep raging about how his questions aren't getting answered and how is answers are the best etc...
"I have 17 years of experience as a dba, blah, blah, blah, my answers are correct, blah, blah"
He got pretty destroyed by the mods and other users about how shit his answers were and how they weren't factually correct etc...
This just continues to show that no matter how much experience you have you won't always be right.
Same goes for my senior at work, he has 10 years more experience than me (I have 2) and he still asks for my point of view and help without being a dick about it.
I hope we'll all keep being nice people unlike that Stackexchange guy...2 -
I just realized the most fucked up shit that leads me to wanna runaway from this job even more...
On the beginning (3 years ago) I used to be really thrilled , plan things really professionally, make models, uml, all the shit, try to fix things and everything you should expect from a great dev.
The problem is that in 3 years I had to "replan" so much things and so desperately quickly and have so many rework with such shitty projects that I kind of panic every time I have to plan something and I end up thinking I'm not capable of developing complex systems anymore.
All because these fucking managers that never make their mind, so my mind sees this:
"Fuck, 10 months for this shit that could have been done in 1 ? You suck dude."
Actually is management that sucks.
I've been doing some small projects on the side, just for the sake of it and boy, I'm rocking it.
My self esteem is coming back on tracks.
Fuck those fucker, they can die chocking on their own misery.2 -
Long rant...
*Designer Posted image of newly designed layout for our app on trello.
Dev 1 (me, being the junior, on ios) : so... What's the size for x, Y, z, a, B, C?
She: it's 9 for the small text, 10 for sub title, 12 for main title.
*shows her the design on app
Dev 1: seems too small
She: just make it to look not small.
Dafug?
*finishes the app layout for that screen.
*working on next screen
Dev 1: your new design is for the screen of 1920x1080. But our supported screen size starts from 320 width. So there'll be text overlapping each other and ui might screw up.
She: uh.. Just... Put those that will overlap to the next line.
*shrugs
Dev 1: ok
=======
2 days later
Dev 2 (senior, working on Android)
Dev 2: so... What's the colour for x, Y, z
*Dev 1 laughs on the inside because of the struggles we have with her.
Dev 1 to Dev 2: is it common for her not to follow the design guidelines?
Dev 2: yeah man.. We just have to adapt her design into our app guidelines.
*sigh
Dev 2: there's a new icon here on this screen, so you wanna change the icon? Can I have the icon file?
She: oh.. No.. Use back the old one, because I just copy and paste.
Dev 1: so... This progress bar of yours, doesn't show its background colour, because you filled it already. So what's the background colour if the bar isn't filled?
She : hmm.... Oh.. Well.. Maybe try x.. ? *doesn't look nice* how about Y? *doesn't look nice* how about...
Me : why not you try in your computer first instead of me changing it here by code, it's much faster this way.
*seriously, wth?
Dev 1 and 2: there's additional text in your new design, what is it for?
She : oh.. No no. I copied extra due to copy and paste. Just ignore it.
Dev 1 and 2: what's the spacing gap between x and Y? And how about the size of the box?
She : oh.. I just estimate it, and for the box, not sure either, you can follow old design, because I'm just putting a box there for illustration purpose.
Mother fickle, what fuck man.
Dev 1 and 2: *flips table.
*we didn't, but.. It's freaking annoying.7 -
What is going on with the web these days? 500 adds, 3 auto play video's per page and now this shit?!
Websites that do this should be removed from Google.
I don't think it's even allowed.
If you block it, it goes to a subdomain 1.<website> and asks for permission again. If you block that one it'll go to 2.<website>, up until 10.<website>, then it switches to either a "get Express VPN" or another website that asks for permission. And that one even claims to be reCAPTCHA! and then another that asks you to press "Allow" in order to watch the video. What video?!21 -
Ten Immutable Laws Of Security
Law #1: If a bad guy can persuade you to run his program on your computer, it's not solely your computer anymore.
Law #2: If a bad guy can alter the operating system on your computer, it's not your computer anymore.
Law #3: If a bad guy has unrestricted physical access to your computer, it's not your computer anymore.
Law #4: If you allow a bad guy to run active content in your website, it's not your website any more.
Law #5: Weak passwords trump strong security.
Law #6: A computer is only as secure as the administrator is trustworthy.
Law #7: Encrypted data is only as secure as its decryption key.
Law #8: An out-of-date antimalware scanner is only marginally better than no scanner at all.
Law #9: Absolute anonymity isn't practically achievable, online or offline.
Law #10: Technology is not a panacea.3 -
1. get a job interview in google
2. design a kitchen
3. ???????
4. the kitchen is for a giraffe
5.?!?!?!!?
6. new kitchen
7. a baby giraffe
8.??!?!?!??!??!??!??!??!??!??!?!?
9. we will call you
10. __time passes__
11. no call
12.X_X14 -
😐ctrl/cmd + s to sacrifice file.😑
Teacher: always save your file or else data will be lost. ctrl + s
Me: in word
__________
| |
| |
| |
| page 1 |
__________
ctrl + s ( 10 times)💾
Next day I open this file, my data is lost.
I sware to god i hit ctrl + s 10 times.15 -
```We discovered that your app contains hidden features. Attempting to hide features, functionality or content in your app is considered egregious behavior and can lead to removal from the Apple Developer Program.```
- Apple App Store Publishing Team
.
ARE U FU KINV KIDDING ME
THAT IS THE COMPLETE REASON WHY YOU REJECTED MY APP?
THE SAME GODDAMN BUILD THAT WAS SUBMITTED ON GOOGLE PLAY FOR ANDROID GOT APPROVED IN 10 MINUTES
IS THE SAME BUILD VERSION THAT GOT REJECTED 3 DAYS AFTER REVIEW ON THE APP STORE
BECAUSE "THEY THINK" I HAVE HIDDEN FEATURES LOL WHAT ARE FU🤡🤡KING INSANE🤡 YO😂😂🤡🤡
THIS REJECTION REASON IS LIKE A SHITTY USER REVIEW
"omg baby girl this app is best" *1 star"
OR
"I have a crash pls fix its not work this app cz crashs n not fixes fck u developers fix it these prblms !!!!🍆🍆🍆👅👅👅💦💦💦💨🌬🌬🌬" *1 star*
AND GET THIS RN !!!!
RN !!!!!!
THEY EVEN *THREAT ME* TO BAN MY APPLE DEVELOPER PROGRAM ACCOUNT WHICH I. P A I D. F O R. $ 100 USD
BECAUSE MY APP HaS 'HIDDEN FEATURES'
THERE ARE NOOO9OO FI KING HIDDEN FEATURES U MTHHHFRRFKERSS I WILL CUMBLAST ALL OF UR APPLE HOLES INTO UR ASSHOLES AND GIVE BIRTH TO THE MAGGOTS🤡GROWING FROM WITHIN🤡UR FKIG ASSHOLE CZ ALL OF YALL R FKIN ASSHOLES🤡ANYWAY🤡THEN MY FKIG HOT CUM🤡WILL EXPLODE💦OUT OF YOUR🤡ASS AND U WILL BE CLOWNS FOREBER🤡I WORKED WAY TOO HARD TO DESERVE AN UNNECESSARY REJECTION THAT HAS A VAGUE REASON OF WHY IT WAS REJSCTED🤡🤡🤡
juuuuuuu
🤡hehe11 -
[ Introduction ]
In Internet culture, the 1% rule is a rule of thumb pertaining to participation in an internet community, stating that only 1% of the users of a website add content, while the other 99% of the participants only lurk.
[ The story ]
A year ago I had a problem with X software.
I opened a ticket on its repository but a week goes by and no one responds. I need it to work! So I opened a pull request and it got merged in a day or two after a quick review.
Seeing that the tickets were many and the maintainers were few, I decided to stay and help.
Today, I am in the top #10 contributors.
I have made 20 commits and edited 4k lines of code. (Honestly, it's not that much, at work I do way more than that, anyway...)
This repository is an alternative to another popular closed-source software and it's massively used by well-known companies
(tech-giants).
[ Stats ]
User base: 20.000 (all of them are devs)
Total contributors: 200 (1%)
Contributors with more than 1 commit: 60 (0.3%)
[ Consideration ]
I would never have believed a year ago that participation could be so low despite the number of dev-users being so high.
The software does not require great technical expertise and if you are using it for work then you already have the skill-set you need to contribute.
Now listen, I know that not everyone wants to contribute. I know right and I respect it ... but really:
The 0.3% ?! Only 60 devs on 20k are active contributors?! Only 200 (1%) devs have ever made a single commit and then they left.
Holy sh**11 -
Hydrogen gas is fun. Really fun :D
Me and my brother were really bored earlier today. So what do two dudes, 14 and 17 do on a warm spring day?
1. Go to store.
2. Buy drain cleaner, aluminum foil, balloons and a big drink in a glass bottle.
3. Drink the drink.
4. Shred aluminum in a document shredder.
5. Mix alu, drain cleaner and water in the bottle.
6. Quickly put a balloon over the bottle opening.
7. Wait.
8. Get a lighter and blow that shit up! 🔥
9. Repeat until you run out of balloons.
10. Don't kill yourself doing this.7 -
So I’m having an argument with my gf.
Is it “Why is 6 afraid of 7?” or “Why is 10 afraid of 7?”
I fucking said that 6 has not seen the action of 7 eating 9. But 10 has, therefore he is scared.
If we were to iterate from 0 to 10, we would see that 6 hasn’t seen shit.
Let’s print out each number if we iterate through and find a consecutive 7, 8 and 9 then print out “Oh shit 7 ate 9.”
0
1
2
3
4
5
6 // Hey honey I don’t see anything here??
7
8
9
Oh shit 7 ate 9
10 // Someone call the fucking police
Thoughts?10 -
When defining a range, let's say from 1 to 3, I expect:
[1, 2, 3]
Yet most range functions I come across, e.g. lodash, will do:
_.range(1, 3)
=> [1, 2]
And their definition will say: "Creates an array of numbers ... progressing from start up to, but not including, end."
Yet why the fuck not including end? What don't I understand about the concept of a frigging range that you won't include the end?
The only thing I can come up with that's this is related to the array's-indexes-start with-0-thing and someone did not want to substract `-1` when preparing a for loop over an 10 items array with range(0,10), even though they do not want a range of 0 to 10, they want a range from 0 to 9. (And they should not use a for loop here to begin with but a foreach construct anyway.)
So the length of your array does not match the final index of your array.
Bohhoo.
Yet now we can have ranges with very weird steps, and now you always have to consider your proper maximum, leading to code like:
var start = 10;
var max = 50;
var step = 10;
_.range(start, max + step, step)
=> [10, 20, 30, 40, 50]
and during code review this would scream "bug!" in my face.
And it's not only lodash doing that, but also python and dart.
Except php. Php's range is inclusive. Good job php.4 -
1. attach a debugger
2. create a set of breakpoints
3. perform an action in the UI
4. breakpoint is hit. F9 to jump to another breakpoint
5.
...
.......
...........
................
....................
nothing............
even more of nothing.....
......................................................
6. Kill the app. Restart. Repeat. Nothing again. Repeat it all ~5 times. Give up.
7. Go get some tea.
8. Come back with a cup of hot tea
9. the _next_ breakpoint is now hit (º . º)
10. F9 - yet another breakpoint is hit.
11. contemplate your own mental state, considering the #69 -
Makeshift standing desk to see if the hype is actually worth it or not.
10 minutes in: Not really feeling it. Could be because it's 1:20 and I'm slightly tired, or it could be the fact I'm kinda lazy lol3 -
Local time: 10:45 AM
I get a call from a customer. "My computer isn't working," she says. "I can't get to Google."
"What does it say?" Ideas swirl through my mind as I ask the question. I've seen this problem before.
"'Your connection is not private,'" says she. "I just want to buy a program."
I instantly know what the problem is.
"What time does your computer say it is?" I say it calmly, almost with a knowing smile. Yes, this has to be the issue.
"Um... 1:40," she says, a drip of confusion in her voice.
"That's your problem," I say. "Just fix that and you'll be good to go."
The problem was resolved and all was good.8 -
When I still used swing to programm some games, I met a friend and I told him stupid because he was using linux instead of just windows, just because I didnt knew what linux actually is. He then showed me some features of linux and I said, that I'll never switch to linux because I like Win 10. After that he showed me Discord as well as telegram. And again i told him I'll never use it because I got teamspeak and whatsapp. About 1 week later I only use Discord, have a linux OS installed and using telegram (but still whatsapp).
Thanks for opening my eyes ;)8 -
personalproject C++ codebase:
- Clean code,
- 1 class per file,
- naming conventions
- comments .
- No more than 10 files per folder
Work C++ codebase:
- 22 classes per file.
- Classname not the same as file name
- weird variable names CmdStng
- All files in one source folder.
- Source control from 20 years ago
Me every time I cannot find anything I wondering why it is in a different file on line 3574 inside another class with an unrelated filename6 -
Teaching JavaScript to a master of classical programming (only uses C++, Python, Ruby, etc.). Here are the results:
1. What
2. What the fuck
3. Why
4. Why the fuck
5. Oh shit that's useful
6. Oh shit that's stupid
7. Why would anyone do that
8. Why isn't anyone else doing that
9. This is crazy complex
10. This is stupid easy8 -
I am building a PC for my first time and thought about every step more than twice. This is going to be my build:
Processor: AMD Ryzen™ 7 2700
Mainboard: X370
RAM: Corsair DIMM 8 GB DDR4-2400
Video card: Zotac NVIDIA GeForce GTX 1050 Ti
SSD: Samsung 960 EVO 250 GB
HDD: Seagate ST1000DM010 1 TB
PSU: PURE POWER 10 | 300W
Case: Aerocool Cylon RGB Midi-Tower - black
What are your opinions on this build?59 -
I have worked with a handful of very green devs in the last 10 years. A common theme has emerged.
They don't heed any of my advice.
An exercise to the reader:
If you have a Windows machine, but need to work in a Linux environment, what would be your first instinct how to proceed?
In this exercise, you are as green as it gets. You have very little professional development experience, let alone server admin experience. And your lead dev has suggested setting up a VM.
1. Set up a Linux VM
2. Use a live CD or set up a dual boot system
3. Pay for a cloud server and set it up from scratch
I have no idea how this person intends to get any work done on a remote, terminal only, Linux server. That is if I can even get their environment into a sane configuration.15 -
I'm juste laughing .
I just can't.. Ok :
1. I pay for 1Gb down, 750 Mb up.
They usually provide 10% more.
So did already post speed tests here.
Now for uknown reason, my download went to 600 Mbps.
Not a big deal, I I still called ISP.
After all tests done, they bumped my conexion. And even with bump I still have obly 550 Mbps.
But, LOOH AT THAT UPLOAD !!!
That upload is insane. And i'm pretty sure it's limited by my only 2.5 Gbps card
Fort lazy :
https://speedtest.net/result/c/...7 -
09:54 I'll get out of bed soon
09:55 let's round it to 10
10:00 ok let's wait till 0 turns into 1
10:01 hmm that number doesn't look convincing to get out of bed
10:03 ok let's round it at 05 and then get up
10:05 that's not even a good number let's round to 10
10:10 actually i like 30 more this is the last one
10:30 honestly we're halfway there so let's round to 11 and then get out for real this time
10:47 fell asleep
12:18 woke up3 -
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 -
Tl;dr stupid password requirements
Begin quote
Password must not contain any non-alphanumeric characters.
Your Password change was not accepted. Enter your current Password correctly following the rules for New Passwords. Please try again.
Passwords must be between 8 and 12 characters in length and MUST contain each of the following:
At least 1 lower case character (a-z)
At least 1 upper case character (A-Z)
At least 1 numeric digit (0-9)
But, MUST NOT contain:
more than five repeating characters in a row (e.g. 111111356 would not be valid, but 112233445 would be valid)
spaces or other special characters
NOTE: Your new password cannot be the same as any of your 10 previous passwords.
End quote
Are you fucking kidding me? Only (26+26+10)^8 through
(26+26+10)^12 different passwords to go through? It's like the oxygen wasters that built this website give zero fucks about security.
Why? This is the site that manages money and investments. Just allow passwords up to 64 characters, allow any ascii character and just fucking encod the characters to prevent any Injunction.4 -
I am back with some more emotional shit.
So tomorrow is my last working day at my second employer where essentially I'll just walk into the 10 seater serviced office to drop my laptop in a cupboard because no one else is here.
So today, an hour ago, they had a virtual farewell for me and everyone spoke of me highly with specific examples.
Well that's not what this post is about, but the emphasis is that I am still in dual mind of whether I made the right decision to quit my second employer so soon (in just 10 months)?
If I had stayed for two months more:
1. I'd gotten a hike this week
2. More RSUs in that hike along with cash
3. Joining RSUs would have vested for the cliff period of 1 year
4. Tenure would be at least a year
5. Would have found a better job with higher pay (on the new hiked salary).
I surprisingly got the grip of the product and that's when I decided to quit.
The reason I quit is I wanted to optimise for WLB and timezone with better team culture.
While the next job is surely a company I wanted for a long time and that too in B2C space, I really lost my affection for that role and that's where it came to me upfront and I rejected them initially before picking up the offer again.
My second employer is a very global and one of the largest brands. Really wanted to stick around and never got to enjoy the benefits which others did.
Only time can tell, because when I chased something I never got it, when I stopped, it came to me.
And what I am chasing now is something I am unable to achieve.
Why is life so fucked. Seems like I am about to lose one of my biggest and only life and career dream.
Maybe I fucked up this decision. Maybe not. Only time can tell.12 -
Job seeking is mentally and emotionally tiring.
Done several skill tests that I think I killed every single one of them.
I've heard "Can you go through your resume?" a million times, 1 company hasn't said yes or no for 1 month, I have at least 2 job interviews a week. Recruiters low balling.
I also feel that being hispanic is more challenging. They think I didn't code anything back when I was living in my country. 10 years of experience reduced to the ones I've been working in the US.
It's been a long and tedious journey.
Thanks for bear with me up to this point...19 -
To all the data engineers in here: WTF is going on in your field?
I've worked closely with a dozen data engineers in the last 5 years (and talked to friends and internet strangers about this and get similiar responses), mine if them seem to know how to use a computer!
They don't understand git, ORMs, best practices, how to use a terminal, DAGs (important for using modern ETL scheduling tools like airflow and prefext), etc
Guys with 10 years of experience on their resume and they can't wrap a model into a flask app with 1 endpoint. They'll reference local files on their machine in w jupyter notebook and are shocked it won't work on other computers!17 -
Project Cortana: Day 56
*What I disliked*
Here is the rant where I described the project: https://devrant.io/rants/962190
Where do I start:
1. Skype: Horseshit. Fucking disgrace to chatting apps. Their mobile app feels like someone accidentally shat on android studio and uploaded in play store. Fucking garbage.
But, the desktop app on the other hand is great. Works well but uses a lot of CPU.
2. Edge: The mobile version is great, can't say the same for desktop version. It's definitely a bit slower than Chrome or Quantum. Lack of extensions never bothered me as the most important ones like uBlock, Ghostery and Lastpass is available.
3. Bing: Fuck that useless piece of shit.
4. OneNote: If you could wrap dogshit in a beautiful looking wrapping paper, you would get something similar to OneNote. The desktop app is almost non-fucntional but it is indeed very nice looking.
5. Promotional Apps: Fuck off Micro$oft. As mentioned by others, you get some shitty fucking games pre installed when you install Windows 10. Not only that, in the first couple of hours, it tried to install some further games while it's downloading updates. That is just horrible.
Everthing else was fine so far. The updates never bothered me. I got the "Restart" notification twice and I was able to change the time. It never forced anything on me.10 -
So.... yeah, making a Scratch clone (with more features) is frustrating and super hard.
Major problems include
- Drag&Drop from listbox to usercontrol - stress level : 3/10
- connect blocks when two blocks are close to each other - stress level : 10/10
- generate live code when there was a change in blocks editor - stress level : 9/10
- write a compiler or some interpreter that converts block code to real c# code - stress level : 10/10
- generate output by calling csc.exe - stress level : 1/10
- make code at least readable - stress level : 7/1014 -
Here is what I see in industry right now.
Don't go on math but get the gist.
1. 9 of 10 developers are Web developers
2. 9 in 10 developers want to be data scientist
3. 9 out of above actually give up and start doing Web development
4. 9 in 10 developers think CS education is not necessary.
5. 9 in 10 developers want to work for Google Facebook and Microsoft.
6. 9 in 10 developer don't make it to above companies.
7. 9 in 10 developers think design and test are important but never do it.
8. 9 out of 10 developers don't want to code after 5 years and just want to exit industry to non technical roles.
9. 9 out of 10 developers don't get rants and dev memes posted here.
What's your take on this7 -
Alright lads. Contest time.
How many times have you been asked to
1) Hack someone's Facebook account
2) Fix a laptop or wifi'
My record is like 1018 -
!rant
Arduino CNC
Hey guys.
Since I mostly see frameworks to use with G-Code in Arduino CNCs I'm gonna make my own framework, where you don't need to know G-Code and the code is executed by Arduino code.
The code would include a template to define steppers steps and such.
Would include a library to work with different stepper shields.
Would this interest to anyone?
I'll provide a full example with stuff to learn for any amateur working with CNCs or that want to work with one. If you're not interested, thank you for reading, you can stop here.
Ex:
X(10);
Y(-5.5);
XY(6,7.5);
Z(-10);
This framework would only use incremental coordinates and will work for basic forms, drilling and such.
<Tutorial>
Coordinates.
Coordinates can be relative/incremental or absolute.
Lets say you have a square with 10mm, (top coordinates: (X=0,Y=0) to (X=10,Y=10).
think your drawing this square.
First line:
X0, Y0
Absolute: x10,y0
Relative: X+10
Second line:
A: x10,y10
R: Y+10
Third Line (...)
Absolute is a fixed point (coordinate)
Relative is a distance to move (not a coordinate but the distance and direction)
</Tutorial>
So, to cut a square with a TR10 (end mill with radius=5, diameter=10)
<code>
// You don't place + in positive values
// The tool always cut in the direction of the tool rotation, meaning on the left of the material.
Z(10); // Security Distance
XY(-5,0); //Compensate the diameter of the tool in radius
Z(-1); // Z=0 is the top of the block to mill, in this case. Z=0 can also be in the bottom
Y(15); //Second Point
X(15); // Third Point
Y(-15); // Forth point
X-15; // Fifth Point
(repeat)
</code>
Now we have a block with 1mm depth. If you use a while or for you can repeat the sequence for x=n passages, change the value to Z for the depth and your done.31 -
Tired of hearing "our ML model has 51% accuracy! That's a big win!"
No, asshole, what you just built is a fucking random number generator, and a crappy one moreover.
You cannot do worse than 50%. If you had a binary classification model that was 10% accurate, that would be a win. You would just need to invert the output of the model, and you'd instantly get 90% accuracy.
50% accuracy is what you get by flipping coins. And you can achieve that with 1 line of code.5 -
Best Hardware support team.
I hope every one of you got such team.
My keyboard was not working properly.
programmer's most used special character ; is auto typing anywhere that is obviously keyboard issue so I called H/W support team.
me: *explained above problem.*
supporter : Ya we know that issue ,YOUR HARD DRIVE IS CORRUPTED. We have 2 option
1) either we can formate your system.
2) We have to change hard drive.
Me thinking : *devrant stuff found*
Me: that is really sad part. How many time you solved such problem?
S: This is my first time in this company ,previously I solved such issue more than 10 time.
Me: you really look smart.
S: thank you,any how I will resolved this issue today.
Me: today I am going earlier but yes we will meet on monday. thank you for quick response.7 -
Internal mail form CIO's office:
"Thank you for being part of the internal trial for NPMe, we have decided to remove this tool in favour of Artifactory because of its support for multiple platforms and tools. We are sorry for the inconvenience, here is a link to migration scripts ..."
Migration "script" readme, please clone this repo, create file A, and B, and install these 2 dependencies.
Dependency 1:
- "install via homebrew ..."
- .... homebrew needs to update, checking for updates
- 10 mins later = Update failed, please upgrade to Ruby version 2.3
- Installs ruby version manager
- GPG signature verification failed
- Install GPG v2 + accept keys
- Install ruby version manager
- "please execute this command before running rvm"
- execute command
- "rvm install ruby-2.3"
- Install failed, please see log file
- Opens log file
- "Xcode on its own is not sufficient, please install xcode cli tools"
- Install xcode tools
- 5 minutes later -> "rvm install ruby-2.3"
- 10 minutes later "brew install jq"
Ok back to read me, "login to Artifactory, go here and copy paste XXX."
- Login to Artifactory
- Eventually find repo
- Login again to actually see credentials for some reason
- Screen doesn't match instructions in readme
- Click around
- Back to readme
- Back to artifactory
- Login again
- Execute command auth / setup command
- Copy contents to npmrc file .... now all my scoped packages are going to point to 1 specific repo
Fuck the migration, Fuck these shitty instructions, i'll set them all up again manually. See tags below for further opinions on this matter.undefined fuck ruby fuck homebrew fuck this fuck shitty cli fuck artifactory fuck cli fuck jq fuck rvm2 -
ESET Antivirus is a strange animal. On one hand, it seems reasonably well written, because unlike Norton or F-Secure, it doesn't subject your computer to death by constant disk access and 100% CPU load for 10 minutes when you start it.
On the other hand, when I clicked the link in the mail about renewing licenses and filled out the form, I was not redirected to a page where I could enter credit cart details.
Instead, I got message that some representative would get back to me in 1-2 work days. Eh, what? It's a digital product for f***'s sake. Now, I suppose they'll send me a hand written letter (written using a quill, no doubt), delivered by a bloke riding a horse and wearing a tricorn.
Well, at least ESET virus definition updates are pushed on the internet, and not sent out on 5.25" diskettes.3 -
relative: can you help me with my website?
me: ok, what do you need?
them: okay, i have this wordpress homepage that someone made for me and actually, when you go to my image gallery, i only want a simple "back" button that leads to the main page. but i cannot add it via wordpress functionality.
me: okay, i'll make you this button in under 10 minutes, given it doesn't require any fancy design. but i have no experience with messing with wordpress so far... let me check what their templates look like
(after 1 hour): wtf is this mess 😭
...since they only had their production website, i didn't dare to change anything and told them they best hire that dev again 🙈9 -
I hate it when people sort numbers in a drop down box like so:
[1, 10, 11, 12...19, 2, 20, 21...29, 3, 30, 31...]
This is just pure infuriating...5 -
A plain computer illiterate guy rings tech support to report that his computer is faulty.
Tech: What's the problem?
User: There is smoke coming out of the power supply.
Tech: (keeps quiet for the moment)
Tech: You'll need a new power supply.
User: No, I don't! I just need to change the startup files.
Tech: Sir, the power supply is faulty. You'll need to replace it.
User: No way! Someone told me that I just needed to change the startup and it will fix the problem! All I need is for you to tell me the command.
Tech support: 10 minutes later, the User is still adamant that he is right. The tech is frustrated and fed up.
Tech support: (hush hush)
Tech: Sorry, Sir. We don't normally tell our customers this, but there is an undocumented DOS command that will fix the problem.
User: I knew it!
Tech: Just add the line LOAD NOSMOKE <nosmoke> at the end of the CONFIG.SYS. Let me know how it goes.
10 minutes later.
User: It didn't work. The power supply is still smoking.
Tech: Well, what version of DOS are you using?
User: MS-DOS 6.22.
Tech: That's your problem there. That version of DOS didn't come with NOSMOKE. Contact Microsoft and ask them for a patch that will give you the file. Let me know how it goes.
1 hour later.
User: I need a new power supply.
Tech: How did you come to that conclusion?
Tech: (hush hush)
User: Well, I rang Microsoft and told him about what you said, and he started asking questions about the make of the power supply.
Tech: Then what did he say?
User: He told me that my power supply isn't compatible with NOSMOKE.3 -
On a scale of 1-10, how lazy are you when it comes to prototype code?
Me, well I'm a 'fuck it lets just wildcard anything that is a child of a GLib objects'
Don't be like me kids...
EDIT: Yes i know it should have been an override void4 -
Fuck jQuery. The only reason I see anyone using it legitemately is because of backwards compatibility. Almost every jq method is either native js or native css. The problem is, some devs become practically dependent on a library. By then, they are no longer js devs. They are jQuery devs. When you find yourself going to the docs of a lib before native methods 9 times out of 10 you've gone past the turning point. When you find yourself including jQuery instinctively, you're gone. StackOverflow is a great example of this:
Question - 1 up
Pure JS answer - 0 ups
jQuery answer (same length) - 2 ups and accepted
Come on man. It's 2018! We shouldn't be writing jQuery anymore. Native methods ftw!15 -
Doing a full rewrite from some DIY spaghetti framework: when it can't find a search query it returns "false" with the status code 200, the same php file responsible for querying an external api is put into all sorts of named folders, so e.g. a user that is in the results page X can continue searching on the same URL, instead of doing proper url rewrites or ajax calls to the one in the root directory, html is thrown into every other php line, a DIY sort function for a numbers array that fails to sort 0 before 1 and that all is just a 10 minute review, can't wait to see the rest.2
-
When I wrote my first algorithm that learns...
So in order to on board our customers onto our software we have to link the product on their data base to the products on ours. This seems easy enough but when you actually start looking at their data you find it's a fuck up of duplication's, bad naming conventions and only 10% or so have distinct identifiers like a suppler code,model no or barcode. After a week or 2 they find they can't do it and ask for our help and we take over. On average it took 2 of our staff 1-2 weeks to complete the task manually searching one record of theirs against our db at a time. This was a big problem since we only had enough resources to on board 2-4 customers a month meaning slow growth.
I realized when looking at different customers databases that although the data was badly captured - it was consistently badly captured similar to how crap file names will usually contain the letters 'asd' because its typed with the left hand.
I then wrote an algorithm that fuzzy matched against our data and the past matches of other customers data creating a ranking algorithm similar to google page search. After auto matching the majority of results the top 10 ranked search results for each product on their db is shown to a human 1 at a time and they either click the the correct result or select "no match" and repeat until it is done at which point the algo will include the captured data in ranking future results.
It now takes a single staff member 1-2 hours to fully on board a customer with 10-15k products and will continue to get faster and adapt to changes in language and naming conventions. Making it learn wasn't really my intention at the time and more a side effect of what I was trying to achieve. Completely blew my mind. -
Fuck everything about Microsoft Dynamics. I'm supposed to use the REST API to make a web front-end. I notice all of the data comes back codified.
null == 0.
boolean true == 100000000
boolean false == 100000001
except sometimes when
boolean false == 100000000
boolean true == 100000001
or other times
string "Yes" == 100000000
string "No" == 100000001
string "Maybe" == 100000003
Hang on. Is the system representing a 1 bit value with base 10 numbers? Did the client set this up like this? Holy crap every number corresponds to a unique record in a table somewhere. That means it only returns numeric values instead of strings and I have to figure out what the number means in the context of the table.
A "key" is user typed? So every time someone starts to make a new record it saves a new "key" without a record? So I can pull a bunch of "0" records if I pull sequentially? So basically I need to see all of the data in Dynamics to have any context at all for what is returned from the Dynamics API? Fuuuuuuuuuu10 -
Made a backup script today that backs up our site files and database (total size 34gb, we have 70gb storage)
the script takes 1:10 hours to far the website files and backups up the database and somehow when running in a detached terminal because my boss wanted me to run it at 4:20pm when I'm leave at 5:05pm( what could go wrong) it went in a infinite loop and filed our storage.
Our provider just called our boss that his drive is full ( why can you even see that)
Well it will not be a fun morning tomorrow6 -
1. take a web application working in somebody computer since 4 years with tons of features.
2. Believe that the application is the future and solve brilliantly a general market need.
3. multiply income of current only customer by 10: you are going to be rich.
3. start to install 2, 3 customers.
4. discover the application is shit. Doesn't solve well the problem. Functionalities are different for each customer
5. discover that customers are willing to pay 1/10th of the original customer
6. quickly reingeneer the application to a multitenant cloud application, because with 3 customers and different versions you are already in deep shit
7. keep giving away the application for free to flagship customers. With a lot of customisation developed for free.
8. reach 200 customers in 5 years and still no break even, but lot of debts
9. resort to financial tricks to keep the company going
Luckily money are not mine. They could be recovered.
Unluckily the time spent was mine. It couldn't be recovered
Hope that the application will finally crash so that I can move on to the next thing: retirement in a mental asylum -
Still on the primenumbers bender.
Had this idea that if there were subtle correlations between a sufficiently large set of identities and the digits of a prime number, the best way to find it would be to automate the search.
And thats just what I did.
I started with trace matrices.
I actually didn't expect much of it. I was hoping I'd at least get lucky with a few chance coincidences.
My first tests failed miserably. Eight percent here, 10% there. "I might as well just pick a number out of a hat!" I thought.
I scaled it way back and asked if it was possible to predict *just* the first digit of either of the prime factors.
That also failed. Prediction rates were low still. Like 0.08-0.15.
So I automated *that*.
After a couple days of on-and-off again semi-automated searching I stumbled on it.
[1144, 827, 326, 1184, -1, -1, -1, -1]
That little sequence is a series of identities representing different values derived from a randomly generated product.
Each slots into a trace matrice. The results of which predict the first digit of one of our factors, with a 83.2% accuracy even after 10k runs, and rising higher with the number of trials.
It's not much, but I was kind of proud of it.
I'm pushing for finding 90%+ now.
Some improvements include using a different sort of operation to generate results. Or logging all results and finding the digit within each result thats *most* likely to predict our targets, across all results. (right now I just take the digit in the ones column, which works but is an arbitrary decision on my part).
Theres also the fact that it's trivial to correctly guess the digit 25% of the time, simply by guessing 1, 3, 7, or 9, because all primes, except for 2, end in one of these four.
I have also yet to find a trace with a specific bias for predicting either the smaller of two unique factors *or* the larger. But I haven't really looked for one either.
I still need to write a generate that takes specific traces, and lets me mutate some of the values, to push them towards certain 'fitness' levels.
This would be useful not just for very high predictions, but to find traces with very *low* predictions.
Why? Because it would actually allow for the *elimination* of possible digits, much like sudoku, from a given place value in a predicted factor.
I don't know if any of this will even end up working past the first digit. But splitting the odds, between the two unique factors of a prime product, and getting 40+% chance of guessing correctly, isn't too bad I think for a total amateur.
Far cry from a couple years ago claiming I broke prime factorization. People still haven't forgiven me for that, lol.6 -
Follow up to: https://devrant.com/rants/5047721/....
1- The attacker just copy pasted its JWT session token and jammed requests on the buy gift cards route
2- The endpoint returns the gift card to continue the payment process, but the gift card is already valid
3- Clients wants only to force passwords to have strong combinations
4- Talk about a FIREWALL? Only next month
5- Reduce the token expiration from 3 HOURS to 10 minutes? Implement strong passwords first
6- And then start using refresh tokens
BONUS: Clearly someone from inside that worked for them, the API and database password are the same for years. And the route isn't used directly by the application, although it exists and has rules that the attacker kows. And multiple accounts from legit users are being used, so the person clearly has access to some internal shit7 -
This whole Microsoft & GitHub thing is how it begins:
1) Embrace
oh it's really cool, Microsoft is adding some cool features we've been missing for a while, GitHub is still great
2) Extend
Alright, there's this new `msgit` that has some really cool features for rebasing and merge conflicts, I won't need to worry about fucking up my git history
3) Extinguish
`msgit` is not compatible with `git` and GitHub requires us to use it, but what can we do, all our code and build triggers are set up..
They are doing the same thing to JavaScript with TypeScript and stopped the development of the Internet for ~10 years...
I don't want to paint dark clouds, but I heard this theory at work and it makes sense that Ms would take it in a direction where people are locked in to their ecosystem. It won't happen immediately, but all signs point to this.
https://en.wikipedia.org/wiki/...2 -
Extract from a quite old recruiter email (excluding the formalities):
Position: junior dev
Workplace: office for first year, can be changed to remote after (salary will be 50% lower if you go remote though) *suspicion levels starts raising*
Payment: 1€ per line of code (empty lines/comments excluded) or page of documentation *alarms start ringing*
Additional info: on high alert for 4 weeks every 6 weeks *wtf is going on*, salary bonus is 10€ per week *I stopped reading here and moved the email directly to the spam folder*6 -
TL;DR;
I was asked to give estimation on an app, that:
1. No one has a clue what it does, even though there is v1 on the store with almost 10% of functionality working
2. No one has a clue what should be in the new rewritten version
3. We are already behind schedule and I have no clue why, I've just been told that
4. They need UI flow that shows how the app will work with static data and when API's are ready (because ya know, writing code is easier than creating wireframes and modifying them accordingly) I will then need to link app with API as if it is as simple as drinking a cup of water, especially that: 1. What is water? 2. Do I have a cup or is it given, and 3. Relax bro, drinking water is like eating a burger, piece of cake!
I'm not sure what to do, not enough that it's React Native but also spaghetti requirements that no one was able to answer my simple question: What is the app responsible of?
P.S.: Some say I must rewrite the old app ONLY, no new features, others say: Turn the new web portal into mobile app, I say: WTF is going one?6 -
my first day with Linux.
1. downloaded the Ubuntu 16. 04 LTS and made bootable.
2. install it on my system.
3. after installing wifi is not working.
4. searched on internet with my phone and connected my PC with USB thetering.
5. now installed wifi driver.
6. now my Nvidia card is not working installed its driver too.
6.finally i look at my desktop and its looking really ancient and old.
7. installed gnome desktop and switch to it.
8. now gnome is not much functional so added some extensions like dash to dock, dynamic transparency.
9. now setup java and android studio.
10. after that android studio font is looking blurry. finally stackoverflow made my life easy and i fixed it.
now after all this my system is working crazy fast.. Android studio is opening in just 5-6 seconds.
really happy.. 😍 😍7 -
"Pokemon Let's Go" review:
I knew it would be a very easy game, made to transition Pokemon Go players to the core series of games, but this game is just poorly thought out. The multiplayer was obviously an afterthought; there is no split-screen. When the other player goes off-screen, they are lost off camera. Player 2 cannot interact with anything: they cannot talk to people, collect items, or initiate battles (They walk right through Pokemon)
The game is too easy by design. You cannot fight wild Pokemon, so you end up having 6 Pokemon by the beginning of the game all at full health (And everything gets XP when you catch something, so most of your Pokemon will be up to level 6-10 by your first battles) and the opposition will only have one level 3-4 Pokemon.
This trend continues throughout the game.
The map is tiny. You could walk the whole thing in an hour. Even Gameboy Pokemon maps were larger.
I knew this going into it, but it only has gen 1, which means pretty much no Pokemon, and they're the ones that I'm bored of. Every shitty game starts with generation 1 pokemon then ever introduces anything else. I'm sick of pidgeys!
Plus the hefty price tag of $60 just makes this game not worth much, despite the hype they tried to give it. That's probably why they were to secretive about the gameplay before launch: they knew it was bad,6 -
Got tired of these "share or die" messages and sent this to everyone-
"Hey, read this,
1. WA will not give free stuff if you forward a message to 10 groups.
2. You can't send a message to some people and cure someone else's cancer
3. WA won't pay someone else when you forward a goddamn message.
4. WhatsApp gold is fake. It is a fake app that can steal your passwords, pictures and other private stuff.
5. Gods don't use WhatsApp. So you won't die if you don't forward messages.
6. WhatsApp.com is the only official WhatsApp site.
Sites like 'whatsapp.xyz.com' and 'claimprize.whatsapp.fml.com' are FAKE.
☺☺
Now you know. Spread this! "14 -
!(!StrangeRant)
I want to have a program that makes programs.
----CONSOLE------------------------
$ sudo makep
(makep = make program)
$ makep > destroy the world and make that me and i are the only survivor
$ makep > select language > TrumpLang
$ makep > Please wait...
$ makep > Compiling...
Estimated time to finish: 1 million years later
(i died)
$ makep > .........
$ makep > Building...
Estimated time to finish: 1 million years later
$ makep > .........
(ok, so i wont wait 1 million years here, so lets say 1 million years passed)
$ makep > Running...
Estimated time to finish: 1 million years later
$ makep > .........
(ok, so i wont wait 1 million years here, so lets say 1 million years passed)
$ makep > Destroying...
$ makep > Finished!
$ makep > Press CTRL+F to shut down.
-----------------------------------
Earth stopped.
This computer is the only survivor.
While he was compiling, he got artificial intelligence.
He tried to survive.
Now the story begins.
The life of a computer.
Alone.
In theaters at 2018/04/01.
Buy tickets now!
IMDB / RT rated this movie 10/10
-----------
Footnotes
This movie is containing parental advisory content.
(This is sponsored by the awesome people at Turbo C and IBM)9 -
Today me started to come to college by wakeuping at 10@m to attend DAA class by 1pm a strict warning to all to attend by sharp 1'o clock but at the scene my madam is absent and my effort gone wrong😢😢😢(Computer Science)6
-
Quick Tutorial: How to find a missing bug.
0) Wake up & have breakfast
1) Goto work
2) Do your job until the end of the working day
3) Make a backup
4) Shutdown your PC
5) Stand up
6) Go to the office door
7) Grab the door
8) Now the phone rings
9) Turn and go back
10) Take the phone
11) Now you get the bug report
This is a well approved method.
It always works!3 -
1 - Spend 6 months building an app with Flutter
2 - Try to add in-app purchase. Must upload an apk to google console and register a product
3 - Must launch the app so the product is activated
4 - Console complains apk must contain 64 bits version
5 - Go to the issues tab on github and find a solution
6 - Implement the solution, recompile and send 2 apk files to Console
7 - Did not work...
8 - Find out maybe the console will allow just on closed alpha and beyond
9 - Put apks on closed alpha and fail because the Console wants a new apks with increased version codes...
10 - Recompile and send apks
11 - Console won't allow launching unless the format is using the new App Bundle
12 - Flutter does not support App Bundle with 32 and 64 bits...
13 - See issue about it saying the possible fix is in beta version, just need to update... What could go wrong?
I just wanted to release a damn app
I hate that shit5 -
I am stuck with another Postman.
Attrition in my current org is way to high in product teams and we have only one designer shared between ~100 people (10 product lines).
My ex-lead (a genius) and my skip level manager (very smart chap), both keep saying that my manager is a very good manager.
However, in reality, I don't find so.
- Only responds to my questions
- Ignores any other form of communication
- No help on any front
- No support or validation on my tasks (hence, I have to actively keep asking for feedback)
- Regularly cancels 1:1
- Involves other team members in 1:1 and cancels theirs as well
- Says I am doing well but keeps nitpicking in my work
- Hardly reviews anything
My company is amazing, pay is good, perks and opportunities are wonderful, kickass learning but my direct manager isn't making me feel comfortable working here.
Maybe she is too cramped with responsibilities but again, I have never seen her deliver anything and all she does is a postman job of taking inputs from her manager and pass on to me and coordinates until me and her manager decide to jump on a call and figure things out ourselves.
It's just been 3 months and I feel more annoyed than worried about being here.4 -
Why am I sad, depressed, demotivated, you ask?
Because I was asked to create-react-app with nodemailer, it worked well on heroku, YAYYY MEE, "
"NOTHING GOES WRONG IN DEPLOYMENT FUCK YEAH"
Little did I know that was a "demo" for the business people, My superior / manager/boss wants me to deploy on 1and1 service provider,
> Okay 1 and 1 service provider does provide Nodej, so it shouldn't be hard.
> Turns out it is a Windows hosting server IIS 10 without URL Rewrite.
> *INTERNAL SCREAMING*
I went up to him to talk about this issue and requested to let me talk to 1 and 1, and get this sorted
> But bro, if we cannot fix it, I think they also cannot fix, probably.
*INTERNAL SCREAMING AT PEAK*
I just want URL Rewrite installed on IIS10 so that I can move on to the next project.
A little background for this project
> No support from him during development.
> I personally used HD Images, because why not?
> Website seems slow because of HD Images, and now he complains about it.
You fucking (managers) want a website to be scalable and fast and yet you choose to focus on B U S I N E S S instead of support the real guy.
I'm fucking sick and tired, it took me 24 hours figure out the issue because there is nothing on 1 and 1 support/ forum/help center.
Another 24 hours to try and fix, yet no luck.
I'm gonna finally point the domain name to heroku. Fuck, I'm so fucking done6 -
One of the worst support threads I've come across.
http://answers.microsoft.com/en-us/...
Context: Trying to open a transparent image that is mainly black. But not being able to see it due to the default black background.8 -
Ffs😪, Google play rating is worst than the University GPA, you get 10 5 star rating it goes up 0.1 you get 1 start rating it goes down 1.5 😂😂
-
I was looking up for a bug in my code that caused a fail in one of the test.
Hours later I found that negative integer division in python is just stupid and -1 / 10 = -1.
The sad part is that -1/10 != -(1/10) contradicting the associative property of multiplication over the real numbers.
FUCK YOU PYTHON.12 -
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 -
Anybody who is crying for slow machine issue. You can do this think.
1. Replace your HDD with ssd (256gb in 3500 INR)
2. buy DVD shape hdd holder (cost 700 INR)
3. replace DVD with this case
Benefits :
Speed up
No need to worry about data backup
Enjoy
My boot time of window 10
3 mins to 15sec17 -
- 5 days until customer integration test. I finished my work for the test a week ago so I am relaxed. 10 days of estimated work for other team, 1 dev scheduled for this task.
I reminded of the deadline, which seemed not realistic anymore; "Don't be so pessimistic" they said, "Everything is fine", "We'll get it done".
- 2 days to go and half of the system doesn't work, the external test system rejects all data (nobody had time to read the specs -> let's call it 'assumption based development' (ABD))
I reminded of the deadline, and that I would like to have an internal test with all components beforehand; "Don't be so pessimistic" they said, "Everything is fine", "Just some minor issues".
- 1 day to go and dev from other team called in sick... (and I can really empathize this decision); "Someone else can jump in and finish the work" they said.
- An hour later the test was cancelled not even 24 hours before it should take place. We could have rescheduled the test more than a week ago, that wouldn't have been so disgusting and even save our customer some hours of preparation effort.
I hate myself when I was right from the start but wouldn't enforce my position because I'm too kind sometimes. -
How to LAN -Party:
1: PC is starting normally, resolution fucked up, restart
2: booting for 10 minutes, restart, 2 times
3: repair tools open, 30 minutes system recovery
4: finally PC starts normally, everything works expect the game i want to play-.-1 -
First month of project we suggest that we test that Entity Framework has made reasonable DB queries because the system will need to handle a lot of records. “Not a priority in this sprint because we need features.” Devs try to get it into every sprint. The last week of the project they want us to dump in a ton of records so they can test it. The N+1 SELECT query issue is on main queries. It is so bad and slow with more records that a simple query causes the container management to auto scale the application on a single query. They can have max 8 users in the system at a time and it will take 10 seconds to do a simple page refresh.
They get on our case and we dredge up all of the correspondence where they completely ignored our advice. Fix it now! We need another sprint. Fix it free! No.11 -
its been there since many years, but:
When did we turned the wrong way and made it acceptable that Windows can blantly say in my face that i cannot deactivate the transmission of data unless i have the "Business" Variant of their Software. Its called Windows 10 PROFESSIONAL. Why are there no international Laws against that? Where was the molotov throwing mob when this became the norm?
Additonally. that cute telemetry service consumes a considerable amount of cpu and disk power from time to time.
and no, Linux is not an alternative. It never was. There is proprietary software and driver sets used for lab equipment and machines that cannot run under linux, noone will ever have the time to tool something for it and the user base is too specific to hope for any community solution.
sidenote: even Level 0 STILL transmits data. I want mode -14 -
12:55 AM, Subject gets and decides to look at crude oil chart.
1:05 AM, At it.
1:10 AM, Subject decides to check the temperature, using laptop screen in dark.
1:12 AM, Does a wild aerobic move to save flying laptop.
1:13 AM, Finds out that screen is gone.
1:23 AM, Orders new screen.
1:26 AM, Types this rant. -
All Russian luxury brands are scam. And I mean ALL of them. No matter if it says "made in England" or "made in France" on the package, it's still a scam if it's Russian deep inside. It's just the regular shit repacked and sold at 20x the price.
Here's the algo:
1. You lookup the brand name that claims to be luxury
2. If it has something to do with Russia (Russian executives, etc) — it's a scam.
This doesn't cover the regular, non-luxury brands. AK is still a good weapon, KMS is still a good windows 10 crack :)11 -
I just saw a news article (nope, not sharing it...don't want them to get the clicks) where they said it's now considered passive-aggressive to use the following emojis (the percentage is a non-specific n-value and N-value...probably 3...of how many younger folks think it makes you look "old" to use these):
1 - Thumbs up - 24%
2 - Red love heart - 22%
3 - OK hand - 20%
4 - Tick - 17%
5 - Poo - 17%
6 - Loudly crying face - 16%
7 - Monkey eye cover - 15%
8 - Clapping hands - 10%
9 - Lipstick kiss mark - 10%
10 - Grimacing face - 9%
I previously only ever used thumbs-up and checkmarks to signal that I understood the message sent to me. My new goal is to use as many of these as possible when messaging anyone under 30. If you are so butthurt by ANY emoji, then you certainly deserve what's coming to you.18 -
now that monday is almost over for me, here's a couple of questions:
1) From 0-10, how good was it for you?
2) Had you read it, would you say my post wishing you a passable monday worked?19 -
!Rant
.net 6 + c# 10 is a blast to work with !
I double dare you to create hello world with less lines :) (It's actually 1 line in .net 6)5 -
We had 1 Android app to be developed for charity org for data collection for ground water level increase competition among villages.
Initial scope was very small & feasible. Around 10 forms with 3-4 fields in each to be developed in 2 months (1 for dev, 1 for testing). There was a prod version which had similar forms with no validations etc.
We had received prod source, which was total junk. No KT was given.
In existing source, spelling mistakes were there in the era of spell/grammar checking tools.
There were rural names of classes, variables in regional language in English letters & that regional language is somewhat known to some developers but even they don't know those rural names' meanings. This costed us at great length in visualizing data flow between entities. Even Google translate wasn't reliable for this language due to low Internet penetration in that language region.
OOP wasn't followed, so at 10 places exact same code exists. If error or bug needed to be fixed it had to be fixed at all those 10 places.
No foreign key relationships was there in database while actually there were logical relations among different entites.
No created, updated timestamps in records at app side to have audit trail.
Small part of that existing source was quite good with Fragments, MVP etc. while other part was ancient Activities with business logic.
We have to support Android 4.0 to 9.0 of many screen sizes & resolutions without any target devices issued to us by the client.
Then Corona lockdown happened & during that suddenly client side professionals became over efficient.
Client started adding requirements like very complex validation which has inter-entity dependencies. Then they started filing bugs from prod version on us.
Let's come to the developers' expertise,
2 developers with 8+ years of experience & they're not knowing how to resolve conflicts in git merge which were created by them only due to not following git best practice for coding like only appending new implementation in existing classes for easy auto merge etc.
They are thinking like handling click events is called development.
They don't want to think about OOP, well structured code. They don't want to re-use code mostly & when they copy paste, they think it's called re-use.
They wanted to follow old school Java development in memory scarce Android app life cycle in end user phone. They don't understand memory leaks, even though it's pin pointed by memory leak detection tools (Leak canary etc.).
Now 3.5 months are over, that competition was called off for this year due to Corona & development is still ongoing.
We are nowhere close to completion even for initial internal QA round.
On top of this, nothing is billable so it's like financial suicide.
Remember whatever said here is only 10% of what is faced.
- An Engineering lead in a half billion dollar company.4 -
When you want to resign to your full time job but you are having difficulty on making decision.
Reasons to resign:
1. They are giving tasks that are not related to web development such as data entry.
2. I can't see a good future ahead on this company. It feels like it doesn't have a goal to grow. The boss is not focusing on this line and instead she is focusing on her other businesses. The boss also has admitted that she can only give 20% of her time. We don't have new projects and challenging tasks.
3. 4 months have been passed and still we haven't receive the yearly salary increase. It should be effected on February.
Reasons to stay:
1. No salary deduction if you are late or didn't complete 9 hours / day. Sometimes I just work for 7 or 8 hours a day.
2. Office is just 30 mins away from my house.
3. When I don't have a task, I usually do my freelance project at the office secretly. So even though there are no challenging tasks at the office, my freelance project helps a lot.
4. You can play games with your friends when you feel exhausted or you don't have assigned tasks.
I recently received an offer from my remote part-time job to work full time 8-10 hours a day and the salary is twice higher compare to current one.7 -
The programming things I've seen in code of my uni mates..
Once seen, cannot be unseen.
- 40 if's in 10 lines of code (including one-liners) for a mineswepper game
- looping through a table of a known size using while loop and an 'i' variable
- copying same line of code 70 times but with different arguments, rather than making a for loop (literally counting down from 70 to 0)
- while loop that divides float by 2 until it's n < 1 to see if the number is even (as if it would even work)
..future engineers
PS. What are the things you've been disgusted by while in uni? I'm talking about code of your collegues specifically, I'm also attaching code of my friend that he sent me to "debug", I've replaced it with simple formula and a 2D distance math, about 4 lines of code.6 -
Teamviewer is a piece of shit. I use it to connect to my PRIVATELY OWNED server because it's not located on my lan and I have no other way like VPN. Today teamviewer showed me a suspected commercial use and disconnects all connections after 1 minute and blocks connecting to it for 10. I also use it to connect to my synology nas when I'm not home. The teamviewer support is only for paying customers so you can't even contact them. Why the fuck do I have to pay to get something resolved they screwed up? I know I can be glad that teamviewer is offering a free service but when they offer something for free they should at least get their stuff working.12
-
I am here on devRant now for a while. Althought, reading amy of your stories and taking care of websites is not what I usualy tend to do, I started doing it as a favour for a friend of a friend.
Baaad bad decission :-(
"pls, dis is urgnt! uplood dis pics asap on page"
*mail notification*
*face palm 1* because who sends pictures by mail these days ... I like my 50MiB Inbox, dont spam it with garbage!
*opening mail - lists attachments: 1 file, ~900KiB* ok whats happening now?
*facepalm 2, 3, 4, 5, 6, 7, 8, 9* (10 if there still would be a face to palm on)
the person seriously send me the pictures in an attachment, within a pdf document that was created with MS Word.
No - Just NO!
I should have known better ... sooo much better :(6 -
My brain these days-
1] Okay I will get this done today
2] Oh wait how does this work
3] What the hell is happening
4] Going deeper down the rabbit hole
5] I am so lost. HELP
6] Okkk, this makes sense, but I have to figure out how another 10 parts of the code, to see how it works and then add my code
7] I wanna give up.2 -
This always gets me:
Developers complaining that their 4 year old / cheap ass computer is slow.
Get. A. New. One.
It's not that hard.
Here, let me do one for you:
https://computeruniverse.net/en/...
I just went to a site that delivers across Europe, and selected a cheap laptop with a decent CPU and SSD. Short on RAM, sure, and without a Windows License. But you can buy RAM for an additional 50$, and that brings you to a total of 550€, delivery included. And it will WORK. And it will be fast.
It's too expensive?
No, not exactly. Wherever you are in the world, if you can code decently, good enough to have the right to complain about development tools, you are eligible to at least 10$ per hour income as a freelancer across the globe. I've had such opportunities offered to me by many organizations, especially non-profit ones that need cheap employees. I actually was offered more but let's stick to 10$ per hour.
So that's 1600$ per month. Enough to buy 3 such laptops. Oh, taxes, I forgot. So you get 2 laptops. Wait! You need food and everything else. Well if you're in a country where that offer actually makes sense, then it's likely that you can live off of 400$ per month quite well. Maybe 800$ if you need to pay rent.
So that's roughly 1 month of work for a laptop that will make you not waste time on waiting for stuff.
Sweet! 1 Month! What does it get me?
Well assuming that you have no laptop, it gets you A JOB that pays you 1600$ per month.
But if you DO have a laptop, you can sell it for cheap, and benefit from the following:
1. Boot-up time from 30-60 seconds to 10 seconds.
2. Installing software - from 1 minute to 10 seconds.
3. Opening a browser - from 10 seconds to 1 second.
4. Opening an advanced text editor (Atom, VS.Code) - from 10 seconds to 1 second.
5. Searching for a file on your entire hard drive - from 1 hour to 2 minutes.
....
You get the point. Waiting is reduced by several times.
So how much do you really wait when coding?
Well are you compiling? Are you opening a new project and the IDE needs to re-index the files? Are you opening programs like a terminal emulator, browser and such? Are you using virtual machines for dev environments?
Well all of these processes become several times faster. Depending on how often you do it, you'll be saving yourself from 1 hour per day to upto 4 hours per day (my case, where a HDD would be just out of the question).
How much is that time worth? At least 10$ per day. If you're working for 20 days per month, 240 days per year, that's a total of 2400$. And for the life time of that crappy laptop of 2 years, that's 4800$ saved. And that's with hugely conservative numbers. Nobody pays 10$ per hour any more, except if you've just started in the industry. I know because I've been there.
Please, for all that's sacred to you, justify right here, right now, HOW THE FUCK can you not afford to get that 8GB of RAM, that cheap ass SSD for 100$, or even a brand new laptop (hey! it's even portable and has FHD graphics on it!) for 550$.
That's why every time I hear someone who is a professional developer complain that they don't have money for a decent machine, I have to ask: why the fuck are you wasting yours and everyone else's time?!10 -
!dev related
I think I might need to visit the doctor soon.
I just can't get hungry and if I do try and eat I feel like shit not even 10 minutes after. Only after many hours of going by without eating do i really feel hunger and can eat without my stomach wanting to kill myself.
Yesterday for example. Ate at around 1 o clock (without being hungry) and not even 5 mins later i was lying down in my couch feeling like absolute shit.
Didn't eat anything throughout the rest of the day and today I am feeling like I could eat an entire horse by myself.
I don't know what is happening to me. I am dropping pounds like crazy and been feeling super tired. Really creeped out at what the doctor might say about why this is happening.
I would like to think that is stress and nothing more.14 -
ideal sprint fallacy.
total days 10 , total hours(excluding breaks ) 8 hrs per day= 80 hrs per dev
code freeze day = day 8, testing+ fixing days : 8,9,10. release day : day 10
so ideal dev time = 7days/56 hr
meetings= - 1hr per day => 49 hrs per dev
- 1 day for planning i.e d1 . so dev time left . 6 days 42 hrs.
-----------
all good planning. now here comes the messups
1. last release took some time. so planning could not happen on d1. all devs are waiting. . devtime = 5 days 35 hrs.
2. during planning:
mgr: hey devx what's the status on task 1?
d: i integrated mock apis. if server has made the apis, i will test them .
mgr : server says the apis are done. whats your guestimate for the task completion?
d : max 1-2 hrs?
m : cool. i assign you 4 hrs for this. now what about task 2?
d : task told to me is done and working . however sub mgr mentioned that a new screen will be added. so that will take time
m : no we probably won't be taking the screen. what's your giestimate?
d : a few more testing on existing features. maybe 1-2 hrs ?
m: cool
another 4 hrs for u. what about task 3?
d : <same story>
m : cool. another 4 hrs for u. so a total of 12 hrs out of 35 hrs? you must be relaxed this sprint.
d : yeah i guess.
m cool.
-------
timelines.
d1: wasted i previous sprint
d2 : sprint planning
d3 : 3+ hrs of meetings, apis for task 1 weren't available sub manager randomly decided that yes we can add another screen but didn't discussed. updates on all 3 tasks : no change in status
d4 : same story. dev apis starts failing so testing comes to halt.
d5 : apis for task1 available . task 3 got additional improvement points from mgr out of random. some prod issue happens which takes 4+ hrs. update on tasks : some more work done on task 3, task 1 and 2 remains same.
d6 : task1 apis are different from mocks. additionally 2 apis start breaking and its come to know thatgrs did not explain the task properly. finally after another 3+ hrs of discussion , we come to some conclusions and resolutions
d7 : prod issue again comes. 4+ hrs goes into it . task 2 and 3 are discussed for new screen additiona that can easily take 2+ days to be created . we agree tot ake 1 and drop 2nd task's changes i finish task 2 new screens in 6 hrs , hoping that finally everything will be fine.
d8 : prod issue again comes, and changes are requested in task 2 and 3
day 9 build finally goes to tester
day 10 first few bugs come with approval for some tasks
day 11(day 1 of new sprint) final build with fixes is shared. new bugs (unrelated to tasks. basically new features disguised as bugs) are raised . we reject and release the build.
day 2 sprint planning
mgr : hey dev x, u had only 12 hrs of work in your plate. why did the build got delayed?
🥲🫡5 -
Yesterday I had a conversation with a mobile app development company to make a clone of the current contacts app. 3 points from 10 mins conversations;
1. They offered me for a working prototype in just 35% of actual app development cost. They'll take 15 days to work on that. ( Me: "Do you mean the prototype that I created in 40 mins using invision and sent you its video recording?" after a little argument they agreed that they meant the same.)
2. They said they will have to embed the complete search engine in the app. (Really!! we never name searching in DB as "search engine")
3. They said they'll take approx 15 days in UI and UX. (Me: "will you change the designs I shared?" They: "It is our internal process, we can't give much detail on that")1 -
'Google knows everything about you.'
'Facebook records conversations.'
'Personalized ads manipulate you.'
Guess that's why YouTube showed me an ad in Spanish yesterday. Or why I never clicked on an ad. Or why only every 1 in approx. 10 ads is somewhat relevant to me (and thats with me explicitly stating my interests in ad personalization options).
I don't have anything against shielding your privacy. It's your right not to use a product if you don't want to, but I don't see how people can make these statements without providing solid proof.
Just my opinion.5 -
I AM IN RAGE !!! MY MANAGER IS A FUCKIN SNAKE ASSHOLE!
FUCKER RATED ME 3/5 !
i feel like destroying my laptop and putting my papers right away. this is absolute shit hole of a company where corporste bullshit and multi level hierarchy runs the system, ass licking is the norm and still me, a lowly sde dev 1 was giving my 200% covering their bullshit to deliver outputs on time.
let me tell you some stats.
- our app has grown by 2x installs and 5x mau.
- only 3 devs worked on the app. the other 2 can vouch for my competence.
- we were handled an app with ugliest possible code full of duplication, random bugs and sudden ANRs. we improved the app to a good level of working
- my manager/tl is such a crappy person that if asked about a feature out of random, he will reply "huh?" and will need 2 mins to tell anything about it.
- there is so much dependency with other teams and they want us to talk to them personally. like hell i care why backend is giving wrong responses. but i cared, i gpt so good handling all these shit that people would directly contact me instead of himal and i would contact them. all work was getting done coz 1 stupid fellow was spending 90% of his time in coordinations
- i don't even know how to work with incompetence. my focus is : to do my task, fix anything that is broken that will relate to my task in any way and gather all the stuff needed to complete my task
i am done. i cannot change this company because its name is good and i am already feeling guilty about switching my previous jobs in 1 year but this is painful.
in my first company i happily took a 10% hike coz i was out of college and still learning.
in my 2nd company, i left due to change in policies ( they went from wfh to wfo and they were in a different state) , but even while leaving they gave a nice 30% hike
in my current company idk wjat the no. 3 equates to , but its extremely frustrating knowing a QA who was so incompetent, he nearly costed us a DDOS got the same rating as me
------
PS : GIVE ME TIPS ON HOW TO BE INCOMPETENT WITHOUT GETTING CAUGHT8 -
A large update on UI rolls out, after around 10 rounds of public testing. Waves of complaints finally arrive.
Complaint 1: I liked the old plaintext UI because the UI now has some markdown
Complaint 2: I wish the tabs weren't multiline but I don't want to reduce the number of tabs nor sacrifice the accessibility by making it scrollable or something
Complaint 3: Why did you make boxes we did it fine with a single box filled with plaintext
Complaint 4: The lag is gone but I liked the old laggy UI because it was there for years
Me: dafuq?
PS: dev lead is happy with the results so things are okay at least for now3 -
FOR FUCK'S SAKE
My verdict on display ports? From 1 to 10 10 being horrible as fuck I'd say it's about the same amount of times my fucking monitor went black and I almost had a siezure.
This may have nothing to do with programming but honestly, it fucking sucks. I've read so much online about how DP is better but no. I've never had a problem with HDMI, but HERE COMES ALONG THE MAGICAL DP. I was playing a FPS game and my left monitor went black over and over and I almost had a siezure. So I umplug the DP cable and my game fucking switches to my right monitor which is portrait mode, AND IT WASN'T EVEN SIDEWAYS GAMING... IT WAS PORTRAIT ON ONE FUCKING MONITOR... PORTRAIT.
I HAD TO PLAY THE REST OF THE GAME LIKE THAT. IN PORTRAIT MODE. THE DOOR FRAMES IN THE GAME WERE SO SKINNY IT LOOKED LIKE PAPER COULDN'T FIT THROUGH IT.10 -
- assignment is to display a paragraph fit within a rectangle
- takes maybe 10 minutes to write
- 1 error preventing Xamarin Forms solution from building
- googles error and seems to be a version issue with a single package
- upgrade that single package
- 43 errors preventing solution from building
- reverts back to previous package version
- 76 errors preventing solution from building
- angrily turns off laptop and packs away things into laptop case
- talks shit about xamarin and all the annoying nuisances ive dealt with for this stupid mobile app class
- takes laptop back out because deadline is tomorrow and i have to make the solution build even though i want nothing to do with it
- laptop takes 2 hours and 14 minutes to load up Windows (no update or anything. Just me signing in like every other normal day)
- code builds first try without errors
- wait what the fuck
- concludes that i need only verbally intimidate electronics into submission from now on7 -
I got such a bad employer… oh, pardon me: committent-but-actually-employer-minus-the-responsabilities that I developed bruxism, rage bursts and chest pains due to anxiety.
Bright side 1: i quitted by saying them in their face “you don’t even fucking know what docker is and you claim to be an expert, get a fucking update”
Bright side 2: They failed a while… Oh wow much surprise, very unexpected considering that they fired the only dev with experience on the product and that they re-made the interface every other day making everyone’s job a miserable joke. Smart move, 10/10 would invest in them.
The “bright side” in this is mostly that I’m forced to accept I was a very valuable asset and shut up any imposter syndrome related to that bs work.
Bright side 3: It forced me to see someone which in turn forced me face some piled up shit, so I recently feel better and hate myself less!1 -
Coding chalenge.
So... Spent almost two hours to put this little device to work with the keypad.
The device is a arduino micro, special one that can work as mouse /keyboard or any kind of input on most devices (pc, Android phone,...)
The objective is to make a macro keypad to:
- Fast insert text
- Play sounds in games over voice chat.
Think of it like this, you start a new html file, press one key and all the base code is inserted.
So... Why so long? Tought was the hardware, tought the keypad could be set differently that most, code mistakes...
My error was all here, masked from the debugger by a if:
char keys[ROWS][COLS] = {
{'1','2','3','4'},
{'5','6','7','8'},
{'9','10','11','12'},
{'13','14','15','16'}
};
Easy to figure right? Only saw it after reading all the code twice.9 -
This shit is fascinating, especially reading about the variations in function of the various brodmann areas:
https://en.wikipedia.org/wiki/...
My favorite schizo-interpretation of this is "your head is full of bees."
i.e. brodmann area 10, which is thought to be responsible for memory recall strategies (basically an adaptive memory allocator and heap) has about 250 million neurons in a pinprick of a volume.
A bee has about 1 million neurons.
In otherwords: the part of your brain that decides how memory is managed has only the equivalent brainpower of 250 bees, lol.
Obviously a simplification-to-the-level-of-absurdity but it's fun to intentionally interpret something to the level of distortion.11 -
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 -
When we subtract some number m from another number n, we are essentially creating a relationship between n and m such that whatever the difference is, can be treated as a 'local identity' (relative value of '1') for n, and the base then becomes '(base n/(n-m))%1' (the floating point component).
for example, take any number, say 512
697/(697-512)
3.7675675675675677
here, 697 is a partial multiple of our new value of '1' whose actual value is the difference (697-512) 185 in base 10. proper multiples on this example number line, based on natural numbers, would be
185*1,
185*2
185*3, etc
The translation factor between these number lines becomes
0.7675675675675677
multiplying any base 10 number by this, puts it on the 1:185 integer line.
Once on a number line other than 1:10, you must multiply by the multiplicative identity of the new number line (185 in the case of 1:185), to get integers on the 1:10 integer line back out.
185*0.7675675675675677 for example gives us
185*0.7675675675675677
142.000000000000
This value, pulled from our example, would be 'zero' on the line.
185 becomes the 'multiplicative' identity of the 1:185 line. And 142 becomes the additive identity.
Incidentally the proof of this is trivial to see just by example. if 185 is the multiplicative identity of 697-512, and and 142 is the additive identity of number line 1:185
then any number '1', or k=some integer, (185*(k+0.7675675675675677))%185
should equal 142.
because on the 1:10 number line, any number n%1 == 0
We can start to think of the difference of any two integers n, as the multiplicative identity of a new number line, and the floating point component of quotient of any number n to the difference of any number n-m, as the additive identity.
let n =697
let m = 185
n-m == '1' (for the 1:185 line)
(n-m) * ((n/(n-m))%1) == '0'
As we can see just like on the integer number line, n%1 == 0
or in the case of 1:185, it equals 142, our additive identity.
And now, the purpose of this long convoluted post: all so I could bait people into reading a rant on division by zero.30 -
from 1-10 how bad is it if i publish an app to play store knowing it has bugs and is not very optimized but everything works fine?17
-
Our "Sys admin" knows nothing. 9/10 I do his job for him because he either doesn't know how or doesn't want to learn. I write all of the scripts HE should be writing. He manages Linux servers but doesn't know how to navigate the command line (even on windows) without using a 1. 2. 3. guide to what he needs done. Am I crazy or is the "Sys Admin" title giving him too much credit?4
-
What is it with this bullshit culture about installing something syncs it with all machines
First chrome/chromium, You can't install a plugin or extension on 1 machine unless you're logged out. what is this bullshit
Next windows 10, I fucking installed a Japanese language pack on 1 machine, by the end of the day all my fucking machines and even my windows tablet got it installed and applied in a fucking bugged way that made it that my UI is English and my fucking metro apps are Japanese.
This is starting to get annoying as fuck5 -
Any HTML / Frontend designers here who could share their opinion on the following:
A company project of mine is basically a document store with a (deep) folder hierarchy.
The deep folder hierarchy is not negotiable / changeable.
However my brain fries when I try to come up with a - mobile friendly / responsible - design.
There are ~ 10 - 15 root folders, having a maximum of 3 subfolders, so:
Folder 1 -> Documents
Folder 1 -> Subfolder of 1 -> Documents
Folder 2 -> Subfolder of 2 -> Documents
...
Any ideas on howto design something like that?
Was thinking about using a top navigation for the folders and then the rest of the screen for the document information...
But with 15 elements in top navigation it would be hard to navigate on mobile I think....
The naming and everything else ist managed by the customer.
Any ideas?6 -
OMG. This weekend, there is Rainbow Six Siege free to play on Steam. I have a desktop PC, but I can't get it to work. Tried Ubi support, but they give shit. So...I was hoping, I could finally try this crap game on my laptop. And here we go...
Normally, I use Linux. Only Linux, because Windows 10 on my laptop is extremely fucking painful. I knew it's going to be torture to install that game on it, but whatever.
OK, firstly, I was surprised, that Windows booted in just about 1 minute. I was like wtf just happened. Everything seemed to be fine and working. I downloaded uPlay, installed it and tried to install the game. Just to be clear, this rant is written from Linux again. And why?
Because FUCKING WINBLOWS desides to FUCKING UPDATE WIFI DRIVERS. 1 minute - internet works, second fucking minute - WIFI IS FUCKING DOWN. Thanks fucking pussy Gates. I really like you. And use this crap daily. Holy shit I would die...2 -
When you manage a large project and 1 of the devs helping you is bitching about 10 mins daily status meeting "in other places it's not like that " ... Who the fuck cares , this is how I want it to be so unless you are going to do 50%of the work like I will then come to the meetings and stop bitching , it's just 10 mins dammit7
-
I need some opinions on Rx and MVVM. Its being done in iOS, but I think its fairly general programming question.
The small team I joined is using Rx (I've never used it before) and I'm trying to learn and catch up to them. Looking at the code, I think there are thousands of lines of over-engineered code that could be done so much simpler. From a non Rx point of view, I think we are following some bad practises, from an Rx point of view the guys are saying this is what Rx needs to be. I'm trying to discuss this with them, but they are shooting me down saying I just don't know enough about Rx. Maybe thats true, maybe I just don't get it, but they aren't exactly explaining it, just telling me i'm wrong and they are right. I need another set of eyes on this to see if it is just me.
One of the main points is that there are many places where network errors shouldn't complete the observable (i.e. can't call onError), I understand this concept. I read a response from the RxSwift maintainers that said the way to handle this was to wrap your response type in a class with a generic type (e.g. Result<T>) that contained a property to denote a success or error and maybe an error message. This way errors (such as incorrect password) won't cause it to complete, everything goes through onNext and users can retry / go again, makes sense.
The guys are saying that this breaks Rx principals and MVVM. Instead we need separate observables for every type of response. So we have viewModels that contain:
- isSuccessObservable
- isErrorObservable
- isLoadingObservable
- isRefreshingObservable
- etc. (some have close to 10 different observables)
To me this is overkill to have so many streams all frequently only ever delivering 1 or none messages. I would have aimed for 1 observable, that returns an object holding properties for each of these things, and sending several messages. Is that not what streams are suppose to do? Then the local code can use filters as part of the subscriptions. The major benefit of having 1 is that it becomes easier to make it generic and abstract away, which brings us to point 2.
Currently, due to each viewModel having different numbers of observables and methods of different names (but effectively doing the same thing) the guys create a new custom protocol (equivalent of a java interface) for each viewModel with its N observables. The viewModel creates local variables of PublishSubject, BehavorSubject, Driver etc. Then it implements the procotol / interface and casts all the local's back as observables. e.g.
protocol CarViewModelType {
isSuccessObservable: Observable<Car>
isErrorObservable: Observable<String>
isLoadingObservable: Observable<Void>
}
class CarViewModel {
isSuccessSubject: PublishSubject<Car>
isErrorSubject: PublishSubject<String>
isLoadingSubject: PublishSubject<Void>
// other stuff
}
extension CarViewModel: CarViewModelType {
isSuccessObservable {
return isSuccessSubject.asObservable()
}
isErrorObservable {
return isSuccessSubject.asObservable()
}
isLoadingObservable {
return isSuccessSubject.asObservable()
}
}
This has to be created by hand, for every viewModel, of which there is one for every screen and there is 40+ screens. This same structure is copy / pasted into every viewModel. As mentioned above I would like to make this all generic. Have a generic protocol for all viewModels to define 1 Observable, 1 local variable of generic type and handle the cast back automatically. The method to trigger all the business logic could also have its name standardised ("load", "fetch", "processData" etc.). Maybe we could also figure out a few other bits too. This would remove a lot of code, as well as making the code more readable (less messy), and make unit testing much easier. While it could never do everything automatically we could test the basic responses of each viewModel and have at least some testing done by default and not have everything be very boilerplate-y and copy / paste nature.
The guys think that subscribing to isSuccess and / or isError is perfect Rx + MVVM. But for some reason subscribing to status.filter(success) or status.filter(!success) is a sin of unimaginable proportions. Also the idea of multiple buttons and events all "reacting" to the same method named e.g. "load", is bad Rx (why if they all need to do the same thing?)
My thoughts on this are:
- To me its indentical in meaning and architecture, one way is just significantly less code.
- Lets say I agree its not textbook, is it not worth bending the rules to reduce code.
- We are already breaking the rules of MVVM to introduce coordinators (which I hate, as they are adding even more unnecessary code), so why is breaking it to reduce code such a no no.
Any thoughts on the above? Am I way off the mark or is this classic Rx?16 -
So, my son is in the STEM program at school. They are suppose to use engineering methodologies in their learning process, according to the school. Apparently there is a new engineering process of step 1 try to write code for robot, step 2 build robot, step 3 make CAD design of how you will build the robot, step 4 write requirements for how the robot needs to function, step 5 robot doesn't work right, and step 6 lose robotics competition.
The other thing that is irritating me is they don't require kids to meet deadlines, just whenever you get it done is fine or if you need 10 tries to get it right. This is the second time the whole class has been disqualified from a competition because the teachers can't keep them on task.
I'm starting to really think public schools suck.4 -
How to respond to the "How do you rank yourself in technology X on a scale from 1 - 10"?
What is 10? Why are recruiters and interviewers asking such questions?7 -
The ratio of time spent reading versus writing is well over 10 to 1. We are constantly reading old code as part of the effort to write new code
- Robert C. Martin3 -
I knew I wasn't very good at SQL, but here is a proof.
Need to make a bulk recalculation action. Basiclly precalculate some values in a separate table to speed up acess.
1 day of work : Fully SQL solution with triggers.
Execute for test : 35 minuts !! for
Me : fuck that
Today : 7 lines c# solution (Took me less than 2 hours) . Same database, saame data set : 10 seconds execution.
Well, I guewss I'll never try again fully SQL solutions lol7 -
"1. Good design is innovative
2. Good design makes a product useful
3. Good design is aesthetic
4. Good design makes a product understandable
5. Good design is unobtrusive
6. Good design is honest
7. Good design is long-lasting
8. Good design is thorough, down to the last detail
9. Good design is environmentally friendly
10. Good design is as little design as possible" - Dieter Rams -
We take over development of a live customer facing system and PM agrees date for our first code deployment with client CIO
Me: The dev and staging environments don't have any test data currently as the old agency screwed it up
PM: Well you better load some
Me: There isn't any... It'll take 10 days to copy prod db due to hosting provider SLAs, leaving 1 week for SIT, UAT and performance testing (assuming they don't screw up)
PM: Well the date is set, 1 week will be enough for testing2 -
College days
Me and my friend sitting in Lab
Me - Dude I am not able to install simulator in this PC, it's asking for some password
Friend - Try typing random password, admin123, admin000, admin0, admin etc.
Me: (After 10+ attempts) Not working :(
Friend: (Saying to faculty) Mam what's the password for this PC, I need to install simulator.
Mam: Wait, Computer specialist will come and do it for you
** Waiting for 10 min **
Specialist came and starts installing it one by one. After 3 min
Specialist: (After realizing that he can't install it for all 50+ PC's)
Everyone select Administrator account, and press enter, then you will be able to download it.
Me and my friend staring at each other laughing so hard ... !
After 1 month, the password is still same :P
Fun fact: It is Technical Campus.3 -
Dear bluetooth headset,
I know your battery is low, thanks for the notice. I have 1 hour work left, after that you will get your charge. I also know you underestimate your own power and can do more than an hour on reserve.
So suck it up and stop being a whiny bitch blaring your damn "battery low"-beeps into my ears. It's way too loud and beeping every 10 seconds will only strain your power reserves and my nerves.
Yours sincerely,
dev134 -
Since I can't make many posts, I'll try squeeze them all in one:
1. Phone recruitment interview went "well", I even spoke french at some point! 😃
I have to brush up my knowledge again for the technical test (I hate them). Somehow I got excited, which I shouldn't, but only time will tell...
2. My brain is stuck with opening a Twitter account, mainly for following people/companies news. I don't know if it's worth it, so I would your feedback on this.
3. I've finally come down to listening to synthwave while coding and I was wondering if there's any good free service (I'm still poor, so I don't want neither Deezer nor Spotify), preferably with a UWP app on Windows 10 (that is not Soundcloud).4 -
I have a gaming laptop with a 125gb ssd and 1 TB secondary drive. Ssd has just 20 GB free.
I wanna dual boot windows 10 and arch. Most of the secondary drive is full of steam games. Win 10 for gaming and arch is for projects.
What's a good way to partition the drives for arch? I can't guess how much space either will need in the future. And what do I do with the other drive?7 -
I have a few projects on the go at work at the moment which could be successful, but only time will tell:
1. We have a requirement to monitor or SQL servers for any long running queries (anything that runs longer than 3 minutes). Company didn’t want to pay for enterprise grade solution so as the only SQL Developer I created a small system that involves a database, 2 tables a stored procedure and scheduled job. It goes off every 10 minutes queries some system tables etc and write the results to the tables. Still waiting for it to be deployed to one of the test servers. I have plans for a web front end in the future.
2. My company currently use source safe for version control. They’ve lost the admin password so only 1 person can log in. I’m running he project to plan the migration to GitLab. It’s getting close to completion and soon someone is going to be tasked with creating 100s or projects etc.
3. We use an ERP system which is huge with thousands of tables, but no FKs or anything like that. The current data dictionary is a spreadsheet, as a side project I’m creating a web app so that this information is easily available and searchable.
All 3 projects have the potential to be successful, for my team at least, but stuck waiting for other people to do their stuff first. -
Day 1 with Chromium OS: Inclusion of packages and stuff
Day 2 with Chromium OS: Setting up CI, and realize Azure is fucking gay because their own agents disconnects after 4 hours.
Just why.
Day 3 with Chromium OS: resolve their shitty problem, now their own agents have no disk space. I blame Google.
Day 4 with Chromium OS: Fix CI in at 10 commits, give up and cry.
Day 5 with Chromium OS: Realized Travis might stood a chance, build time limit reached, now I'm shook.
Day 6 with Chromium OS: Buried myself with endless tabs of Gentoo documentation. Lost count on when's the last time I came out of my room.
Today with Chromium OS: I blame Google for making my life suffer more than the last time I had depression.
Conclusion: Chromium OS is Gentoo with extra steps and I hate it5 -
* break it into elementary steps, small enough to fit into your "estimation time unit", e.g. days or hours.
* estimate those steps for "developing at a leisurely pace" if nothing goes wrong.
* think about "what could go wrong" (list everything!) and adjust values accordingly.
* adjust total amount with experience values, like:
* times 1.2 for every manager
* times 1 to 4 based on which legacy projects i have to touch
and finally:
* multiply with `1+log(t/u,2)`, with `u` being the amount of useful data in the requirement description and `t` being the total amount of data in the requirement description
* sample: with our current "favourite" customer, about 90% of all tickets is garbage, so t/u = 100/10 = 10 => log(10,2) = 3.3 => multiply everything with 4.34 -
12 Stages of Software Development:
1. Analysis.
2. Development
3. Realization the whole analysis is complete bullshit and has nothing to with reality.
4. Denial about failing deadlines.
6. "Acceleration": adding more people to the project, bringing out big corner cutting machine.
7. Learning that massive amount of new features needs to be added, while the deadline is two weeks away.
8. Putting some random crap in production, riddled with horrid bugs and security flaws, to technically not miss the deadline.
9. Get the mess almost working long after the deadline has passed.
10. Maintain this steaming pile of crap for a year.
11. Start planning for full system rewrite that "Makes Everything Better".
12. Goto 12 -
Log 1:
Day 10 of crunch time. I have entered a sleepless zen state. Lord willing, I will be able to get 7 hours of sleep Saturday night. The building is terrifying at night, as there are a lot of noises. Security guards are nice, but curious to see me all alone. Must not show weakness in case they think numbers will give them an advantage over me.
Supplies are low. Only one type of energy drink left in the machine, and coffee gone for the night. My phone is out of fast data so Pandora is spotty at best. I have battery to get me through the night at least.
Tomorrow and Saturday decide the fate of the project. My team lead has not slept in at least 2 days. I feel guilty napping when I do, but she is driven like Ahab so I will let her obsession carry her.
If I am alive tomorrow I will report in.1 -
1. I have Animal Crossing
2. My internet can drop to 0.8Mbps
3. I have Animal Crossing
4. My internet can drop out 10 times a day
5. I have animal crossing
6. My office pc is my gaming rig
7. I have... I think you get the gist1 -
PC Trivia-
1. What does a baby computer call his father?
Data
2. What do you call a computer superhero?
A Screen Saver
3. Why did the computer cross the road?
To get a byte to eat
4. Why did the computer get glasses?
To improve its websight
5. Why did the computer sneeze?
It had a virus
6. Where do computers go to dance?
The disk-o
7. Why did the computer squeak?
Because someone stepped on its mouse
8. What happened when the computer geeks met?
It was love at first site
9. What is an alien’s favorite place on a computer?
The space bar
10. What’s the best way to learn about computers?
Bit by bit3 -
🌎🌏🌍
The world needs to know the truth
👁️👁️👁️
🔥🔥🔥
Have to make a separate rant for this cause it deserves to be outlined and for the whole world to know the truth about my junkhole trash country Serbia (europe)
🔥🔥🔥
$1000 usd is 6 figures in my currency.
In economy schools they said
If you earn $1200/month usd in serbia you are in TOP 3% of highest earners
If you earn $2500/month usd in serbia you are in TOP 1% of highest earners
This must mean that i am now in TOP what 10% of highest earners in my country?
A bearly over 10,000$ usd a year, is TOP 10% of earners in Serbia. And i have to work 2 or perhaps 3 dev jobs as 1 person to be fortunate enough to be in those TOP 10%
And every day i keep seeing multiple 5 figure and 6 figure USD expensive cars, lambos ferraris brabus g wagons audi rs7 mercedes s class (2023) porsches, and when I say porsches people here LOVE porsches so much more than any other fucking car that porsche has became the most common car here that people drive! A used Porsche is at minimum 80,000$ usd!!! Thats 8+ years working my job, assuming im not spending 1 single cent, just to buy a used porsche, while hundreds of people drive them daily!!!!
My neighbor sold his mercedes s class and bought a GLS AMG 2023 brand new for over 225,000 fucking $!!!! Thats over 225 YEARS OF MY LIFE working this matrix job without spending a cent to buy that car. This is fucking RIDICULOUS
The world HAS to know the truth about corruption and slavery happening in Serbia. I will be the voice of truth that shall not be silenced. Anyone claiming otherwise is working for one of these corrupted shitfucks.
Incredible how corruption and unfairness sets you free out of the box than playing the matrix game. Unreal to me. I knew it was bad but i never knew it was THIS bad
If I was earning a normal wage salary i wouldnt be complaining. A normal wage salary for me is at minimum 100k a year. Or if i have to be generous then high end of 5 figures. Thats the only way to afford to buy one of these cars. Because how else do these fucking people buy them? Obviously not by working a matrix job
If you think i have unrealistic expectations then you need to unfuck your mind and realize that we are working a VERY difficult fucking job in this tech industry, SO difficult that a 100k should be the fucking minimum. Out of sheer respect towards this EXTREME HARD WORK, we DESERVE to get a high compensation in return -- not a fucking survival slavery wage salary bullshit! The moment you realize that you're underpaid if you earn less than 100k as a software engineer, is the moment you have unfucked your mind and now you have found the truth!18 -
To Mac fan boys... Suck it. In the time I've had 1 BSOD on Windows 10 I've had 7 kernel panic on Mac is x at work. And the MBP is newer.6
-
I started as intern at the place. Worked unpaid for 4 months. Then they started paying. That's when shitload started. 5 web developers and 10 projects. 1 months later they fire one of us. Next month they fire another one. 3 developer and 8 projects. No documentation for they projects that were already started before I went there. Provide support for 3 year old project and nothing for reference. Salary was paid 10/15 days after the month war over. I couldn't take it anymore so I have a two months notice before leaving job. A month later all of the 3 android developers gave their notice. After we left, they haven't still paid us our final month's salary. Reason was it was not formal east of leaving and they projects we worked on haven't rolled out to market yet.
Talked and then mailed them the resignation two months in advance is not formal then I don't know what is.
Also how can the project be rolled out when there is specification change every 6 hour to 1 day on the project. Also we completed what was given to us and then the project hasn't rolled out because of new changes in the specification. -
semi dev related(later half)
A common and random thought I have:
A lot of units that humans use are either needlessly arbitrary or based on something weird. Like Fahrenheit. That shit is weird! 0°F is the freezing point of a water and salt solution. What a weird fucking thing to use!
But also, I like Fahrenheit more. Probably because it's what I was raised with and switching is tedious (though I'm trying. I'd like to use metric more), but also because one degree F is a smaller, more precise change. You can describe more accuracy without decimals.
On the other hand I prefer metric for length. Centimeters, and centimeters are way more precise and way less confusing than inches and .... 1/8th inches? Who the fuck decided on 1/8ths?!
Which brings me to my common thought:
If you look at a Unix timestamp, you can approximate somewhat when it happened. Knowing the current timestamp and a few reference points you can see RELATIVELY what a epoch stamp translates to. A few days ago, an hr ago, 2014ish.
This leads me to think that if we actually taught from a young age to think in epoch as a unit (not as a replacement to normal date formats but as a secondary at first) that we could just naturally read epoch time in the same manner we read dates like "28/01/2006 14:24:10 UTC"
In your brain you automatically know how old you were when that timestamp happened. What grade/job and where you lived at the time. What season it was. You know how far into the day it was, a little before lunch (or after or whatever, your time zone will vary). Now try with 1138458250. I can usually get roughly the year, and month if I really think about it, but that's it. And it takes much more effort
I'm sure there's other units we could benefit from but epoch is the one that usually brings this to mind for me.13 -
customer claims they do scrum but they have quarterly planning events (2 full days) where we need to estimate and plan everything for the next 3 months.
Manager: "last quarter I calculated your velicoty so now you get 4 story points per sprint per developer"
Team: "But you started us off at just 5 per sprint that's too small"
Manager: "Ok but if you only did 4 why do you now want 20"
Team: "Because it's arbitrary and we say we want to"
Manager: "1 story point is 1 day"
Team: "story points aren't time"
Manager: "4 story points is 1 sprint"
Team: "but a sprint is 10 days"
Manager: "the junior dev can do 4 story points per sprint and the senior dev can do 4 story points per sprint"
Team: ...8 -
Week 1 Day 1
It's a little late to do a whole big list of things I want to change going into 2018 so I'll just keep this focused on one thing: I do NOT want to work a minimum wage job by the end of 2018, preferably by the end of May.
So I'm gonna change that; starting now. I got accepted to the Grow with Google Challenge scholarship I may or may not have applied to while blackout drunk and I realize that drunk me was watching out for sober me. He set up a good start to getting me away from unloading trucks at 2AM and into a nice comfy chair where I can replace physical pain with mental anguish. But all kidding aside I'm really excited to start this course but I have no drive and motivation is a little hard to come by around here (The Fairy Godmother is MIA) so I'm going to be posting these rants daily in the hopes that it keeps me obligated to not waste the opportunity given to me. So without further ado, day 1 everybody.
I started today really simple. I signed up for a slack account, got Udacity set up so I was officially enrolled and everything, then moved on to setting up my laptop for android development. I wanted a fresh start so I when ahead and wiped my hard drive and looked at a few different OSes to see what fit my needs. After trying to mess around with Arch Linux and failing, I moved to Debian, I liked Debian a lot but I'm not completely comfortable with it just yet and I don't want to waste a lot of time having to familiarize with a new OS when I just want to dig in. So eventually I ended up with Windows 10, for the convenience and ease of use, but decided to put a spin on it and download the Ubuntu subsystem for W10 so I could still practice on something similar to a GNU/Linux OS. So far everything is set up, I have the only 4 applications I will need: chrome, android studio, google play Music, and devrant of course, and I intend to keep all other distractions off of this machine. Overall I'm feeling really good and I'll follow up tomorrow with some actual coding and whatnot and we'll go for there.1 -
Had a task of service discovery, went through following phases:
1. UDP broadcast
2. Wait why not Bonjour?
3. JmDNS for desktop works great
4. Android NSD on Lollipop, this is easy
5. Kitkat WTF..!! Why did you put it there when it's so buggy.
6. Replaced Android NSD with JmDNS and it's great
7. Network switching on Android... done
8. Wait how are others doing it.. JmmDNS.. awesome.. fuck not working...
9. Read mDNSJava is much faster... replace JmDNS.. why haven't they uploaded parent pom on repo
10. mDNSJava freezing my Android device... revert to JmDNS
11. Let's see if it works with Wifi Direct.... Come on why aren't you working...
12. UDP broadcast it is 😢2 -
Me working on html/css updates for a banner message.
Web Ops Director: [slack] Hi! nice to e-meet you! I was talking with the Mgr of Product. He thinks it would be great if the banner message updates were on the site right away instead of having to wait 10 minutes for the cache to clear after updating the banner content in admin. Can you add that to your ticket?
Lol that’s a load of crap. 1) Product would have just told me himself and 2) Product would never pull this bullshit of bringing a ticket out of scope like you’re pulling right now. And 3) My spidey sense says this is a red flag 🚩.
Me: [in words web ops will understand] That’s going to a lot of time. And it would keep your content updates from making it to the weekly release. 😁2 -
My Top 10 most useless keys (#1 is worst):
1. Stop (the media key).
2. Pause/Break. (I understand this has historical usage, but I personaly have never used it.)
3. Page Up
4. Page Down
5. Scroll Lock
6. All those little shortcut keys along the top (above the F-keys) which open things like IE, My Documents, email etc.
7. All the modifier combinations of back tick (it in itself is useful, but WTF is a split pipe supposed to mean!? Or a ¬ !?)
8. Right Windows key.
9. Insert. Again, it has historical significance, but it's completely useless! Especially when you press it by accident.
10. The Menu key which opens the context menu.
I know some people will probably say 'the [blah] key saved my life once...', but I just rebind these keys with AHK. (http://autohotkey.com)7 -
Don't call is ECMAScript 6 — call it JS 2015.
Don't call it iPhone 16 — call it iPhone 2024. Or Apple Phone 2024.
Don't call it Ubuntu 24.10 Oracular Oriole — call it Ubuntu 2024.
Don't call it WiFi 802.11 b/g/n/ac/ax — call it WiFi 1 gb/s.
Don't call it SDXC II 3 10 — call it SD 300 mb/s.
Don't call it USB 3.2 gen 2x2 — call it USB 20 gb/s.
Don't call it Google Pixel 6A — call it Google Phone 2022 Lite.
STOP. Giving. Bullshit. Names! Make it SIMPLER for once.28 -
Trying to convince the class that test-driven development + DTSTTMPW ("do the simplest thing that might possibly work") + pair programming is the way to go, our software dev prof had us split in groups of two that would each get a turn to
1. add a unit test
2. edit the code so it passes the test
3. commit the change
The goal was to write a java class that converts integers to roman numerals.
Each group had only 2 minutes before the prof made them revert their changes.
After 45 minutes the code was just 10 lines of this:
if ( n == 1 )
return "I";
else if ( n == 2 )
return "II";
else if ( n == 3 ) ... -
"Tips" are fucking stupid. Any waiter or anyone who expects me to "tip" them is a fucking clown hobo. Full disrespect
You're telling me i should pay you extra money or else you're not gonna do YOUR job right? A job where you already receive stable monthly salary?
Whoever standardized "tipping" is a fucking CLOWN. Must have been a restaurant business paying billions for this marketing scam to normalize as if tipping 2$ is normal
Who the fuck are you? Are you my fucking friend? A relative? A family member? Why the fuck should i pay you extra money just because you want some extra money?
Guess what fucktard. I want some extra money too. Has anyone ever tipped me in my job? No. Has a client or will a client who paid for a software i develop ever tell me "hey youve done such a great job heres some extra $$$"? No. Will a client ever tell me "hey your software earned me 100k$ heres a $100 tip or a $1000 tip"? NO
If i dont get tips Fuck you. Rough world and live with it.
Anyone who wants or expects tips I immediately view him as:
- beggar
- gypsy
- homeless
What the fuck are you gonna do with 2$ 5$ 10$ tip bro? You're broke and your job sucks go and learn some skill and you might earn more if you're so stubborn about a tip
Today i paid for coffee $7 but the price was 6.25$. Expecting a change, the waiter just went off. I told him give me my fucking 0.75$ back you fuck. And so he did. But he gave me back 0.7$. Where the fuck is my 0.05$????? Fucking retard. You want to take extra money from me just for a COFFEE. YOURE HOMELESS BRO TF U GONNA DO WITH 5 CENTs???
Also the reason why i get so pissed off about this is
1) The other day i was at some other coffee shop also paying for coffee. Dont remember the price but i paid. However i miscalculated. I paid 0.10$ less than i was supposed to. She was standing there and telling me I'm missing 10 Fucking cents. Confused, i calculated again and realized i made a mistake. So i round it up to 1$ instead of 0.10$ and she kept everything instead of giving me the change of 0.90$. So its NOT ok that you're a gypsy for not accepting the payment because its missing 10 cents, but its TOTALLY fine that you take 0.90$ extra money just because you want to. GET FUCKED
2) The other day i was in a store buying food. At the cashier i paid $27. However i was missing 0.02$. The cashier told me do you have 0.05$ to coverup the missing funds. In disbelief, i was looking at her could not believe my fucking eyes what she asked. How fucking POOR can you get. I gave her more than 2 fucking cents and proceeded with my shit
Very valuable shit i learned from these stories: NO ONE will give a shit to accept a payment even if its missing 1 FUCKING CENT. But its totally fine that they dont return me however much they dont want to.
How about you sometimes fucking say "hey i know you you come to this store very often heres a discount"???
Or "its fine that you dont have 0.01 fucking dollars, you can take your food"???
Or "hey i seen you buy here often heres a fucking discount just for you today"????
Because of that i have decided to take ALL of my fucking hard earned money and ask for the exact change. I dont give a FUCK just as much as THEY dont give a FUCK.
For reference:
0.01$ = 1 in my currency
0.90$ = 90 in my currency
27$ = 2900 (4 figures) in my currency
My currency is shit. My country is shit. People in my city are shit. The whole vibe here is shit. And perhaps that is why i shit so much because i get stuffed with too much daily BULLSHIT12 -
Lately I take work literally seriously, not due to motivation but due to fear, more on that later, but this is what I think about lately while I'm working
> that line of code should fix it
> oh shit I should've checked logs
> let me check logs
> let me put 10 breakpoints in code and javascript in chrome
> why is this bug not reproducing?
> why I have to work on someone else's spaghetti code?
> this loop iterates over all customers' data I'll just step over it, Oh fuck I resumed
etc etc
I'm feared because where I live, isn't a good place for software developers as there aren't companies which hire, those who hire need ninja developers who complete 1 JIRA Sprint/Phase in 1 day, Here I feel safe as there are people to correct me plus coffee machine -
I bought a $1 Steam game called Square Brawl some 5 years ago. It's a minimalistic arena battle with forgiving physics, diverse and satisfying weapons and a geometric design based on squares.
It's among my favourite couch multiplayer games, but the programming is shit. The resolution is weird, the launcher is some default config screen that came with the game engine, with a controller it's tricky to avoid picking a second color by accident which spawns a ghost player that is jointly controlled by the AI and the player. Sometimes the game spawns 10 copies of everyone, all of which you control at the same time. Getting stuck inside walls is commonplace.
On an unrelated note, I'm making a minimalistic arena battle with forgiving physics, diverse and satisfying weapons and a geometric design based on squares. It's gonna be FOSS and web-based. I haven't settled on a name yet but I think Tetragon Tussle might be good.6 -
feature request / rant: there sbkukd be no posting new rants unless you have a minimum amount of +1. Maybe it's 10, or 25. but I've noticed the vast majority of people posting repeated memes, gifs, and overall irrelevant stuff are people with 0-5 +1. they should be required to post comments and be around for a bit to understand what devrant is before clogging up the feed.8
-
If languages had slogans...
1) Java -- Buy one get two for free on your delicious NPEs.
2) C -- I burn way too much calories talking, let's do some sign language. Now see over there... 👉
3) Python -- Missing semi-colon? Old method. Just add an extra space and watch the world burn.
4) C++ -- My ancestors made a lot of mistakes, let's fix it with more mistakes.
5) Go -- Meh. I can't believe Google can be this lazy with names.
6) Dart -- I'm the new famous.
7) PHP -- To hide your secrets. Call us on 0700 error_reporting(0)
8) JavaScript -- Asynchronous my ass!
9) Lua -- Beginners love us because arrays start at 1
10) Kotlin -- You heard right. Java is stupid!
11) Swift -- Ahhh... I'm tasty, I'm gonna die, someone please give me some memory.
12) COBOL -- I give jobs to the unemployed.
13) Rust -- I'm good at garbage collection, hence my name.
14) C# -- I am cross-platform because I see sharp.
15) VB -- 🙄
16) F# -- 😴8 -
The near future is in IOT and device programming...
In ten years most of us will have some kind of central control and more and more stuff connected to IOT, security will be even a bigger problem with all the Firmware bugs and 0-day exploits, and In 10 years IOT programmers will be like today's plumbers... You need one to make a custom build and you must pay an excessive hour salary.
My country is already getting Ready, I'm starting next month a 1-year course on automation and electronics programming paid by the government.
On the other hand, most users will use fewer computers and more tablets and phones, meaning jobs in the backend and device apps programming and less in general computer programs for the general public.
Programmers jobs will increase as general jobs decrease, as many jobs will be replaced by machines, but such machines still need to be programmed, meaning trading 10 low-level jobs for 1 or 2 programming jobs.
Unlike most job areas, self-tough and Bootcamp programmers will have a chance for a job, as experience and knowledge will be more important than a "canudo" (Portuguese expression for the paper you get at the end of a university course). And we will see an increase of Programmer jobs class, with lower paid jobs for less experienced and more well-paid jobs for engineers.
In 10 years the market will be flooded with programmers and computer engineers, as many countries are investing in computer classes in the first years of the kids, So most kids will know at least one programming language at the end of their school and more about computers than most people these days. -
i recently realised that youtube is the single most addictive app for me.
- it has reels that doesn't impact your usual video. reels is already a very addictive feature, but having this ability to watch many 1 min videos without losing my current video's timestamp, the search feed, the history and the home feed, it makes a great way to spend 1 hour on a 10 mins video
- it's AI is world class and recommends videos/channels that are full of content that i would watch
- it has a butt load of content.
- vanced/ ad blockers makes it possible to watch videos without ads, so makes the whole experience more grappling.
i spent 3-4 hours on it each day and another 2-3 hours during work. when it's not open as a tab on laptop, its open in my mobile.
youtube feels like a very nasty, evil product as i realise all this.
do you people feel the same about youtube? any detox tips?9 -
Management is preparing overview/standup session, to get everybody in sync about what is currently ongoing across the team while we are isolated.
SMEs agreed each topic should not be too detailed and 10-15 min (average attention span lmit) otherwise people will lose focus.
Management outcome? "Let's include an 1 hour deepdive session on [incredible complex and monotone subject]".
Maybe the audio quality wouldn't be so bad if they wouldn't have their heads up their asses.2 -
If someone asked me how much I can tolerate meetings from 1 to 10, I would ask why negative numbers are not allowed... I hate them that much, mostly meetings are planned as single person(which is generally organizer) needs to talk everyone in the room but the rest needs the meeting only in percentages like %10 to %20. I am attending to a meeting that includes info about other projects and their calendar because organizer leads both projects...4
-
I work on a small team, and we recently got an artist on it.
The artist has lights on, but nobody is home syndrome and it is driving me nuts.
This guy took 10 iterations on a model where the main request was to fucking change the fucking UV mapping. Here is how that went in a nutshell:
1. Hey, the model is ok, the guy needs a cape with some bones in it. The cape needs to share the material, here is the material, cape already on it. We also need like 8 animations.
1a. No cape visible, animations half done, and done shitty.
2. Correct the animations and all the above points asap. Ok?
2a. Few more animations 1 half corrected wrong, wonky exports. Has cape
3. Again, same.
3a. I got the wrong corrections, cape doesn,t move. Uv wrong and seperate material. Aaaarrrggg
It litterally took 7 more of those loops and now we have it going in 1 material and 5 wonky but workable animations. And the next character half of the same shit happens all over again. Fuck me, fuck him. Fuck this, i hate artists. I made a fucking list what is so hard?!2 -
buying a car is such an exhausting and depressing experience. i feel like being less of a man and somewhat blind right now.
I, a 24 year old guy, have never driven a car. afaik, we were poor, my city's public infrastructure is very good and cheap, and my family majorly never needed it.
6 years ago, i got my first 2 wheeler. i still didn't needed it but dad did, and so i learnt it a bit, was somewhat comfortable driving it on my own, gave a driving test, failed, nd forgot about it ( coz again, still not needed much). to this day this bit is true about me.
at that time my father had bought a few scooters before, so he had some experience, and we ended up buying a new one. currently that fella sits outside our home and my father uses it for supplies.
coming to 2023, i was/am thinking of buying a car. why? coz (1) car trips while sitting in the backseat have been super fun (2) people with cars tend to reach anywhere independently, and help others easily (3) my few friends have one and they are super smug about it and (4) i am starting a wfo job which requires 2 days of wfo and is 60km away from home (although train route with 3 interchanges is less time taking)
but WHAT THE ACTUAL FUCK WHEN YOU *THINK* ABOUT BUYING A CAR!?
1. buy first or learn to drive first or get a driving license first?
getting a learner's permit is like filling a form; driving schools require no documents but money, and car sellers also do not want any complicated documents. so first step is easy for all.
HOWEVER, driving schools teach the very basics and are controlling your car for 90 % of the time. you can't learn without having your own car, but at the same time you can't buy new car just to *learn*, you will end up denting it.
2. the confusion around how to buy a car?
there are so many fucking parameters.
money being tha major 1 : old cars are coming from $800-$12000 new cars start at $8000 . my current budget is aroud 3-4k as I want to learn on it first with an expected usage of <1000 km per month
brand : there are literally 1000+ models whose base varients start at 8-9k and whose used version is available in my range. i have no idea how to choose.
year : in our country, a petrol car's registration expires in 15 years. cars from 2009 to 2012 are coming in my range but they are gonna expire in 1-4 year . not sure if its a deal breaker, as i plan to buy a new car later, but people are warning me about usage.
km driven : not 1 person is there who i talked to and told me to trust the kms on odometer. most of the cars i saw show 30-60,000kms driven but i am expecting them to be 5-7x more
cng/petrol : cng is cheaper, while petrol is better for engine life, from what i heard. I was inclined towards cng, but everyone i discussed adviced against this as those cars tend to have been driven for very long due to mileage efficiency.
engine power, cc, power steering, body... there are so many stuff that neither i know about and nor am i considering, which makes me more sad and scared of these deals. i have never bought anything without a proper research.
overall its the first time when i am feeling so much dependent on others and being an inefficient and inexperienced adult . my family once bought a used car 10 years ago, which was a total sham and got us to spend so much on it that we had to sell it for scrap in 3 months. It was a painful and nightmarish experience. i don't want that.7 -
Hi so I'm learning python in my spare time and I'm in a national competition. I've been told that programming is something my college has always lacked in and in the competition they fortunately use python throughout the problems. I have some example problems used in the last year competition (it was publicly released) and I'm going through them to get an idea of the problems we/I will face. Now I'm still learning python but I understand some of the code at hand. However I still need a little bit of help to understand some of it which will also help me get to a resolution.
Some of the questions I have are:
1. What exactly is the ordinal? I've done some research and I have a small idea but I couldn't find anything to really fill me in and explain how to use it, well in python at least. I saw an example for Pascal but that didn't do much.
2. What is the sys.argv? "The list if command line arguments passed to a python script". I'm not quite understanding that.
3. I know for is used for looping and I know an example say "for a in range(10):" but I'm not understanding the for c in password:
4. Where does the 1000 come from in the builder += 1000.
5. What does the 83 represent after ord(password[1])
6. I know the if statement is saying if this then do this so if __name__ == "__main__":
main()
It's saying call in the function main but where does the name and main come in that part?
Here is the image:
Thank you for your responses in advanced!
One person doesn't have to answer all. Time is precious I understand.8 -
Me at 9:00 AM: wide awake 🔥
Me at 10:00 AM: after spending 1 hour on trying to find out why storage space is low on some of our production servers: ready to fall asleep any second 😴 -
Some compilers give an error message on forgotten type casting. From that it shows good typing style casting. So you also avoid clerical errors that can lead to the program crash in the worst case. With some types it is also necessary to perform type casting comma on others Types, however, do this automatically for the compiler.
In short:Type casting is used to prevent mistakes.
An example of such an error would be:
#include <stdio.h>
#include <stdlib.h>
int main ()
{
int * ptr = malloc (10*sizeof (int))+1;
free(ptr-1);
return 0;
}
By default, one tries to access the second element of the requested memory. However, this is not possible, since pointer calculation (+,-) does not work for a void pointer.
The improved example would be:
int * ptr = ((int *) malloc (10*sizeof (int)))+1;
Here, typecasting is done beforehand and this turns the void pointer into its int pointer and pointer calculation can be applied. Note: If instead of error "no output" is displayed on the sololearn C compiler try another compiler.1 -
Lets reinstall my Linux. Step 1 reformat from Windows 10 in your dule boot system and delete Linux partion. Step 2 boot up in bios.... The first time you do this, is the last time you do this.... I hate grub rescue.1
-
Some time I just love comments that are brain twisters.
```
( [ helpers.must_not(helpers.prefix("response", "10")) ] if _type=="detractors" else [] ) )
# Above line prevents the condition 10 is 1 but 1 is not 10 making 10 is 10 and 1 is 1 and 1 is not 10
```1 -
Why does every Monitor with a high resolution have such a wide format, like 16:9 or worse? As a developer i need more vertical than horizontal space. 9:16 is ok for coding but too small for anything else. I want a Monitor which is 2:3, 3:4 (rotated 3:2 or 4:3) or 1:1 and has at least 1920x2560. The better the resolution the more lines can i see at once. I can't make the text smaller than 10 pixel per line.
Do you guys have the same problem?12 -
I have been experimenting with Docker and reading articles on it. I was wondering what are best practices for building Docker images. Many articles have recommended that use Alpine base images because they're small and more secure.
Let us say that my application needed Postgre. What is the best approach?
1. Use the Alpine Dockerfile provided [here](https://github.com/docker-library/...) at Github. Download the file and go to where its located in my terminal and enter *"docker build"*
2. Creating a Dockerfile from scratch and using the command *"FROM postgre:10-alpine"*
3. Use the Alpine template file provided [here](https://github.com/docker-library/...)2 -
"Bug: IE 10/11 open silverlight when trying to view a MS Office PowerPoint link online"
"Bug: IE doesnt play this 1 video"
The problem is IE right? Not the website or the links? Am I crazy? -
Update on https://devrant.com/rants/2127480
So I sent my Pixel 3a with a broken screen to the Google repair center and within 2 days I got a response that there's liquid damage. OMFG.
So now I get options:
1. Not repair, I get my money back.
2. Buy a refurbished one for basically the new price and I might not get the same colour device.
So basically I'm forced to choose option 1, because I could also buy a new one at the same price.
🤬🤬🤬🤬🤬🤬
So just due to bad luck I now don't have a functioning Pixel 3a any more.
😢
On the bright side: I explained my story to Google in a contact form and they called me back within 10 seconds. I spoke to the most helpful employee ever (Chris). He was very understanding and called it an exceptional situation. He now is reaching out to the repair center where he can get in touch with the actual repair people and see what can alternative Google might be able to offer me.
I don't expect anything, but kudos for Google's customer support.
Also, why do I keep hoping that this multibillion dollar company would just say: hey buddy, here's your new phone for free, just make sure you will promote it with your friends and family if you like it.4 -
I do not understand how event loop of node is faster than per request new php fpm process or similar.
Imagine you have 10 users surfing your website. In PHP there will be 10 process working on each request.
Where as in NodeJS there is only 1 process taking each request one by one.
Now for the I/O part, it is going to take same time on completion. By the time the IO is completed and the control is back to NodeJs, It will eventually take the same time (the actual response delivered).
Am I missing something here ?4 -
This SocketIO method emits a message to all users who have joined the same room (conversation ID).
This works if it's a 1-to-1 chat or a group chat with infinite users in the group.
The thing that bothers me is this enhanced for loop. It loops through ALL currently connected users.
- If theres 10 users, sure no big deal
- if theres 1000 users, it has to loop 1000 times
- for N users it loops N times
What if N = 10000? God what if it's 100,000 or 1,000,000.
Imagine having to loop that many times every time you want to send just 1 message.
OR wait i just realized. This shit grabs ALL users -- but within the room ID. Right? Am i trippin balls here
Im now confused (excuse my confusion i coded till 3am last night and im still fried). Is my logic flawed? Have i written this piece of code with good performance or not?38 -
Am i the only one having a strong tendency for afternoon sleep?
It's 5.12 in the morning now, and i am still awake because of this stupid , holiday routine that unknowingly happens on every damn holiday.
I wake up with a sound 10-12 hours sleep at 12 noon or 1 pm, eat some breakfast (or "brunch" , you say) , turn on some youtube or web series, watch it till 2/3pm, then try to study/ code , and then... Zzzz am asleep..
Usually am on my bed full time: eating there , studying there, watching movies there... so maybe that's the reason, but i sincerely don't understand where this sleep comes from?
And then i wake up at 9 or 10pm, eat some more on the bed, back to binge watch till 12 or 1 in night , then eat some more, then binge watching some more , and then when my mind seems to drift back to sleep, i realize i haven't studied anything and then i start at 4 or 5am..(that is , now)
Every fucking holiday ever. maybe these web series and other diversions that messes my brain, but even if am not watching any web series, i am in front of youtube tutorials , stack overflow, twitter , my IDEs,... for almost an equal time.. and the sulking extra sleep routine still happens.
I am starting to think that its somewhat related to being in front of laptop for full day than what am watching on it. whatever this is , I only want to be able to work on my usual holiday afternoon, like i would do, when am in college or some coaching centre5 -
Saturday 9:30am
Interview: #1
Company: A
Salary: they have no idea how much is a devops engineer paid, but they're looking for a devops engineer asap
Monday 9:30am
Interview: #1
Company: B
Salary: up to $50/hour for devops position
Tuesday 10:00am
Interview: #487 (final one with clients now)
Company: C
Salary: $6.25/hour for backend java + devops position3 -
A big hurdle I'm fighting for last 1 year, is to convince a bunch of people having 10+ years of experience not to make production released of the same codebase from multiple branches.
-
guide to make successful software house company for future me:
1.find shortest domain name with code / star / best / it / super / ai / - whatever banger word you find
2. parse companies work board / linkedin jobs
3. parse people profiles
4. setup email server and create fake linkedin profiles that match jobs and candidates so company looks big
5. fake c-level management so company looks big
6. spam likes and create posts generated by ai from multiple profiles
7. spam invitations to people that match job descriptions and to people working within companies posting jobs
8. offer fake candidates that match job description
9. find real but less promising candidates and offer them the job
10. tell that fake candidate is no longer available but you have someone better
success6 -
Just moved my computer up to my new office... just to find that I'm suddenly having a driver issue (I think) that wasn't there before.
Basically my audio and mouse pointer hang for 1/10 of a second every few seconds.
The bad news is, it seems to disappear when I disable my wifi card, which I kinda need for my internet.. and I already have the latest drivers.8 -
If these are true:
1) 42 is the answer to life, the universe, and everything.
2) You are supposed to be a 10x employee.
Lets put them together:
10 x 42 = ?9 -
Which one is IPv6 loop-back address ?
A. ::01
B. 127.0.0.1
C. ::1
D. ::10
E. I put a loop-back on your loop-back
F. None of the above16 -
I hate coding tests for a job interview. I've done three types:
1) university style of "write function that does x" (fizz buzz)
2) this code has a bug, fix it
3) write a program that does this university style contrived thing (exact change)
One and two usually are timed to 10 to 15 minutes per question. Three is untimed but unstated "time counts".
Off all three, the last one is the best in my opinion. However it still seem like we could come up with something better.1 -
As i was shitting on toilet I realized something very important. This could be THE answer.
The question: what is the formula for achieving success? I realized this must be THE ultimate answer:
Money + connections + luck >= success
Why?
MONEY:
You must have money to make more money.
CONNECTIONS:
Some average joe can tell his friend Cockty to phone call his friend Dickson who's a good friend with Cumston to message his millionaire friend Asslicker who is gonna help the average joe succeed.
LUCK:
No matter what you do or how hard you work, how many achievements you have or degrees, you can spend 10 million dollars on a project -- and still fail because you're not lucky.
Let's calculate this probability:
have = 1
missing = -1
money = 0
connections = 0
luck = 0
success = 1
money + connections + luck >= success
Case 1 (have everything):
have + have + have >= success
1 + 1 + 1 >= 1
3 >= 1 ✅
Case 2 (no money):
missing + have + have >= success
-1 + 1 + 1 >= 1
1 >= 1 ✅
Case 3 (no connections):
have + missing + have >= success
1 - 1 + 1 >= 1
1 >= 1 ✅
Case 4 (no luck):
have + have + missing >= success
1 + 1 - 1 >= 1
1 >= 1 ✅
Case 5 (no money, no connections):
missing + missing + have >= success
-1 - 1 + 1 >= 1
-1 >= 1 ❌
Case 6 (no money, no luck):
missing + have + missing >= success
-1 + 1 - 1 >= 1
-1 >= 1 ❌
Case 7 (no connections, no luck):
have + missing + missing >= success
1 - 1 - 1 >= 1
-1 >= 1 ❌
Case 8 (no money, no connections, no luck):
missing + missing + missing >= success
-1 - 1 - 1 >= 1
-3 >= 1 ❌
We have: 4 possible outcomes that we want, k=4
Out of total: 8 possible combinations, n=8
Probability of achieving success using this formula is: P(A) = k/n = 4/8= 0.5 * 100% = 50% chance of being successful in this shit life
This is correct in theory. HOWEVER:
Case 1: someone having
- a lot of money
- a lot of connections
- a lot of luck
In practicality is damn near IMPOSSIBLE
Maybe 1 in 100 million people are born like this. That's 100,000,000 people / 8,000,000,000 people = 0.0125 * 100% = 1.25% of people are this blessed and gifted in life. This might be even less so we can ignore this probability as a possible outcome and average it out to realistic average joe daily life.
Therefore giving us a total of 7 combinations, 3 possibilities to succeed in this shit life
So: k/n = 3/7 = 0.4285 * 100% = 42.85% chance to be successful in this shit life
Mathematically proven how life is pure trash
Funny enough we can round it to 42%. And 42 is the answer to life, universe and everything in existence4 -
Back here after a long time. Hey guys what's up?
-----------------------
So I was recently pushing some code into github, and i realized that i had over 500 repos, 400 of them being forks. I guess my 3yrs before self had thought that he will be the only saviour of all the android libs in the world.
So i am thinking of re organising my complete github ; like nuking the forks, combining my multiple mini project repos to 1 and keeping the repos to at most 10-12.
Is that a good idea? I mean companies usualy judge by github profiles, and after reorganising, most of my commit history would be lost.
<You know , tech world is weird. in real life, people are judged by their homes, so they keep their home tidy. but here, people are judged by their github profiles, so they keep their github profiles messy>6 -
@Flux
I read https://devrant.com/rants/1845851/...
I was going to comment until I realized it was a post from 300 days ago.
Just want to say ask you how it went or give a post mortem. Also Congratulations. I hope you brought a long run way when you started almost a year ago.
Remember starting is 80% of finishing, and carrying through is the other 20%.
Success looks easy when all you see are the success stories. Steve jobs wasn't the most famous marketer, he was the most famous salesman, and what he sold was a dream.
Marketing is a buzzword, and a lot of companies try to use marketing as a replacement for sales people, but nothing really beats a good sales person or team. Thats the secret to marketing: forgo it as much as possible and work on sales and relationships instead. Awareness is nice, but money and sales are better.
This coming from a guy who had six businesses by the time he was twenty six and helped his family to start two other successful businesses.
Apparently I'm good at helping other people make money just not good at helping myself do it.
What I've learned is if you can get 1 customer you can get 10 and if you can get 10 you can get 100. And then keep going.
Good luck.3 -
UNOFFICIAL DEVRANT CLONE JAM - VOTING START - DAY 1
3 entries were submitted, and we're ready for your feedback! It is exciting to know what your votes say about the work needed to supplant devRant. However, considering the sudden announcement of hackathon some 10 days ago and very short sprints, we get what we get.
2nd place nominee gets their devRant self in all vector beauty. Of course, it's not the exact style, but it's something resembling and with objects separable from each other! The winner gets an animated version.
You are welcome to familiarize with all devRant clones that our participants have made!
Finnegan (by @retoor): https://devrant.com/rants/9946268
Ostream App (by @ostream): https://devrant.com/rants/9946296
ragedev (by @SidTheITGuy): https://devrant.com/rants/9946238
Leave your comments in respective rants. Read the rules and vote for as many as you like!2 -
short: The admin with enough xp is ill, there is no one with xp with varnish is and after 1 restart varnish outputs only 503.
long: there original admin is ill but he gave me an project to migrate an typo3 installation to a new server. Thats ok.
Plan: I move 150 GB of data with rsync to the new server, let specialists do something and switch ips between the new and old and clear varnish with a restart.
Reality: +2 hours to migrate the data, because of false infos from the admin, 7 hours preparing the switch, 5 minutes switch, 3 hours to find out the F*****G varnish is the single point of failure. I and the t3 guys agree to see the next day what went wrong.
ALL HAPPENED TODAY!
Plan for tomorrow: speak with the boss to account the extra hours to that day so i dont get over 10 hours and debug that fucking varnish and delete some servers from another project from the backupsystem and monitoring.3 -
I'm doing freelancing.
One client hires me for 30 hours/week.
And I'm are getting work irregular.
Like
1 week is full of 30 hour
1 week just 10 hours.
1 week 20 hour.
What should I do?
I try to get other project but most of are For a full time.
One Client hires me but at that time the previous client gave me a full 30 hour's work so the new client could not get enough time and gave me low ratings because of time wasting.
I'm afraid that can happen again.3 -
god... fuckkkkk me, is this really what people think will make them money? these are really udemy's "opportunity"??? classes???? more like "death"
https://udemy.com/instructor/...
rest assured, we are safe as devs, don't listen to what the iNfLuEnCeRs say
i imagine the old start up bros attempting to get the software development they need just by prompting 😂😂😂😂😂😂
"chatGPT - ship this app to the store! google AND apple!!!!!" 😂😂😂😂😂😂😂😂😂
they, like most clueless boomers and people who don't know shit, are totally lost for what the future holds. have fun.
in their benefit, at least they'll be ignorantly blissfully happy as they are spoonfed AI generated content to make themselves feel beter and important
meanwhile, the knowledgable and bitter devs will drink themselves to death in depression
god i fucking hate the internet
only one tag is needed6 -
#define someError ( -1)
int func(params *param)
{
//some code
if(condition)
{
someError ;
}
}
Spent like half and hour on debugger thinking why the fuck does it skip my statement. My manager who was passing by saw me puzzled and asked if he could help, so we spent another 10 minutes without success(tho my manager is technical guy but he had an unlucky moment I guess). Eventually senior manager saw our wtf faces and asked what is going on, it took one question for me to light the bulb "someError is a macro right?"
I guess you can imagine my embarrassment at that moment..
PS: Forgot return keyword before the error code. -
Whoops, my head will be squashed tomorrow. Asked to put monitoring in other week by boss, sysadmin been complaining about high CPU, apparently 10 requests (different domains) to the one VM on our servers every 10 seconds is killing it. However this server is being used for MySQL and serving web requests by Apache and PHP. Then also running a few jobs like consuming queues etc.
Wtf do I do? Every time I tell him about more resources (we have decent 2 rack servers just running 20 vms and only 1 VM is for web sites) he says software should be made to work with what we have.1 -
What the fuck is happening with Windows 10 after April 2018 update?
1. Opened my local github repo in external drive
2. Made changes
3. Try to stage, get this weird "error: unable to open object pack directory: .git/objects/pack: Function not implemented" error.
4. Googled it, says check drive for errors.
5. Scanned drive, fixed error, drive has no errors.
6. Opened my repo, all file sizes are "ZERO", including my changed work, gone, poof. -
It should be possible to prove the collatz conjecture by mapping the unit digit transitions between numbers, namely into a finite state machine. From there we could use predicates and quanitifiers to prove, by process of exclusion, that for any given combination of 10s digit and 1s digit, no number can transition to anything but whats specified in the state machine assuming that number equals x in x3+1 or x/2
Ipso facto, a series of equations proving by process of elimination, that state machines transitions are the only allowable ones, would prove the collatz conjecture by proving the fsm is a valid representation for any given integer N.
I'm actually working on it now but I don't know enough about modular arithmetic and predicate logic to write a proof. I just have the state diagrams on some dot matrix paper at the moment.
If anyone wants to beat me to it, feel free.
So for example any number ending in 13, will, after x3+1, end in 40.
Any number ending in 40 will end in 20. Any number ending in 20 will end in 10, which will end in 5 as the unit digit.
It's easier to prove in the single digit case, and the finite state machine for that is already written, at least on paper.
I'll post pictures when I get a chance.7 -
So I am working in this startup at Stockholm for 6 months and 1 week ago decided to leave.
I am still under probation period(5 days left until probation period is over), so I should have actually given 1 months notice. However we had many meetings about this and we decided that I will give 2 months notice.
Like we decided, previous week I gave founders a notice of 2 months and they agreed to it. I sent them e-mail and they confirmed it so I have proof.
This week all of a sudden they are saying that their plans have changed and there won't be much work to do for me so they are are forcing me to leave after 3-4 weeks.
I understand their point of view. Since my salary is 41k, they are spending totally 53k sek on me monthly. So their idea is to save extra 53k sek by forcing me to leave 1 month earlier. Also I've heard that they plan to hire another person 2-3 months later after I leave, so essentially they will save 150-200k sek and that's fine, I get it, it's business as usual right?
What I don't understand is how can they be so inhumane?
We agreed that notice is 2 months. I informed all my relatives (since I will be leaving Sweden). I gave notice to my landlord (deposit is 10k sek) and etc. I wanted to have 8 more weeks to plan what I'm going to do when I leave.
When asked wether I can leave by the end of this month I didn't know what to answer. I said that I will need to think about it and now I'm "thinking" about it. First of all I mentioned to them that I am risking to loose my deposit. Instead of offering any compensation, they keep asking me how they can help me to leave as soon as I can?
Situation is really messed up.
Since according to the contract I am still under probation(even though I started working earlier than stated in contract, so technically I shouldn't be under probation) I have no idea what they can do if I don't agree to their terms.
As far as I know they are obligated to give me 1 months notice if they are firing me while I'm under probation, so it doesn't seem that I would have much power in this situation.
If I would try to force them to keep me around for total 8 weeks, they can just officially fire me while I'm under probation and I will have to leave in 4 weeks. However after one week I will become a permanent employee and then they will have to give me 2 months notice if they want to fire me. So it seems that they are trying to save their face by trying to force me to leave earlier on my own will.
My current plan is to agree with them and actually leave at the end of this month. But with conditions.
First I need to get in touch with my landlord, explain the situation and hope that he would give back my deposit even if I'm leaving 1 month earlier than I've told him before.
Also, since these guys decided to mess up my plans by trying to save some money, I think I should demand for some compensation? Like 10-15k? I had plans goddamit and we agreed that notice will be 2 months via e-mail after all.3 -
I just learned Serverless.com
Thats it?
Shit was 100x more easy to learn compared to the brutality of terraform devops reactive streaming kafka rabbitmq sockets and other shits i had to fuck around and find out.
Dont even have to watch tutorials for this. Just building 1 simple crud project and read the docs was enough.
However after deploying these serverless shits to aws Lambda i noticed that it takes quite some time for the api to fetch response. Why?
On postman calling the route for the first time i have to wait like 3s for api to fetch all (with limit of 10) or create 1 dto object. Then every next api call is 100-150ms which is ok. But it could be better no? Locally my spring boot rest api takes 3-7ms of load time. Why is this 100-150ms?20 -
1. getSomeData(params, ((err, data) => {
2. if(!err && data) {
3. try {
4. data = JSON.parse(data);
5. } catch(e) {
6. return null;
7. }
8. return data.someParam;
9. }
10.}
Nothing like bad practice in above code but I always feel that the line 4 should be replaced by below.
4. var result = JSON.parse(data);
and then use result variable to get data one is looking for, like below
8. return result ? result.someParam : null;
Your thoughts?3 -
My team decided to do a MOB programming in one of our tickets.
New joiner: Perfect we did a mob yesterday .
Me: Great, that's good. How did it go?
New joiner: Well, we work together in the gaming room next to each other and trying to solve the issue. I think it's very productive.
Me: Awesome! Let's do it again today... When we started the MOB, all of them are using their own laptop. And I was like.. so, this is how you did the MOB yesterday?
New guy: Yes.
Me: This is not a MOB programming... MOB programming uses only 1 screen, 1 driver and everyone work together, will tell the driver what to do, we need to exchange the driver every 10 to 15 minutes, everyone can be a driver. (devs, qa, ux, product) and do a retro after.
New guy: ah.. wow! Interesting.3 -
I just finished posting this but think it deserves its own post.
If you're creating a business or "startup" (as people like to call it these days) don't assume the idea is novel or investors will just jump on board. Focus on the business fundementals, money and cash flow, even before launch, unless you can afford not to. But really you can't afford not to. Selling before launch means that you're effectively doing two things 1 you're collecting new customers and income for the business and 2 you're. raising awareness at the same time. Obscurity is death and failure.
Get you a good sales team and marketer when the time is right.
Have a year of runway.
Identify the sites and groups your target audience and investors frequent. Start conversations now, buzz is the hardest thing to generate.
Start building relations with customers and potential clients now. Discuss launch, ask them if they'd be willing to pay up front before launch, in order to secure a "lifetime membership", offer it as an early opportunity and charge extra. Giving a discount out of the gate is a mistake B/c it says to potential investors that you don't think it's ready or worth it yet. Of course if it's between making 1. Some money or 2. No money, don't let it be a deal breaker, offer a discount. Going from no clients to any clients is a BIG deal. If you can do 1 you can make it to 10, if 10, you can reach 100, we etc.
No one likes asking for money and yet it is as important if not more important than development. -
What are the odds Microsoft is playing behind the scenes with Wannacry attack to increase Windows 10 growth ?
It is not a secret that Satya Nadella is on a mission to meet 1 billion W10 devices by 2018.9 -
i have experience in mobile dev for 3 years,today i got interview for coding test,it have 10 question,i cant answer question 1 so it stuck there until time out.the question is so fcking simple but because i more focus on framework and only have basic in kotlin/dart so i really like dumb people when interview,the 3 years experience is gone just like noting,even i forget toString use () ( so toString() ) because usually vscode give suggest the method
-
💧
There was a 1 second delay when loading images on home page with a bunch of hot model babes in a masonry grid
Why? 💧💧
Maybe pagination is fucked. Lets reduce it from 100 per page to 10.
Still same shit.
What do you think why this could be?
Comment below 👇 right now
(The images im loading are just dummy images from unsplash)
I tried using rxjs. Observables. Flatmaps. Custom array push. Array loop. Change detection to update UI. Chatgpt.
Nothing
Every time i switch tab and come back then theres another second of delay with blank page before content appears
Wtf???
Turns out -- unsplash api was returning me 6K to 8K Fucking images. HEAVY. HEAVY FUCKING IMAGES. and i was apparently displaying 6000x8000 px images, 20 times per page. Thats a lot of fucking pixels! I reduced it with ?w=500 in unsplash api at the end and magically there is no delay now and everything works in an instant.
Fuck off6 -
Since when did Entry Level turn into 3 years experience? WTF! To get an entry level job, I need experience, but to get experience, I need to get a job first... WTF...
A couple days back, I saw a junior position ask for 10 years experience in Javascript and HTML/CSS. Um. I'm sorry, WHAT?! Experience is so relative.. I could've learned HTML/CSS/JS 10 years ago and barely use it every year and still say I have 10 years of experience as opposed to somebody that learned it consistently in around a year. That person with 1 year experience would have more experience than me from the consistency with using these technologies. I just hate how employers will filter out resumes based on years of experience but it's getting better now, since you still have a chance if you don't have the "required" or "preferred" experience. -
!rant
Just made the leap from a company with and I.T. Department of 8 people to a company with an I.T. Department of 5000 people. At the old company, I was a SysAdmin, DBA, Helpdesk, Programmer, etc. 7/8 were programmers. We all had our hands in pretty much every aspect of the companies technology. At the new company I am just a programmer. I only write code (well, I will soon. There is a LOT I have to learn about how this place operates). I worked at the old companies for almost 3 years (2 as an Intern, 10 months as Salaried Full-Time) so it's weird having most of those aspects of my old job stripped away, yet at the same time it's somewhat freeing in the sense that I am now only responsible for 1 slice of the pie, not the whole damn thing. Anyway, hope everyone is having a great monday!1 -
This is a Shark Tank related question. I've seen some investors say "I lost money investing in this business or that business" and I'm curious what happens after that.
Let's say I gave you 10% of equity for $1 million and my business didn't make it.
Or I partied too much and blew it all.
What would happen to me then?11 -
The stages of new thing:
1. I don't see what this thing is supposed to do.
2. Ok, I see what it's supposed to do but I don't understand it.
3. I sort of understand it but learning it is too much work for very little benefit.
4. I am bored so I will learn new thing so I look busy.
5. I will rewrite my current project with new thing.
6. My current project is now bigger, slower and harder to understand.
7. I am now enthusiastic advocate of new thing and I feel more of a pro.
8. Need to code something in a hurry and revert to writing code like I copied it from w3schools.
9. Discover new thing is actually obsolete.
10. Remind myself that none of it is remotely relevant to my actual job and resume hunting for CSS bug.3 -
When I graduated and I applied for jobs, companies were all over me and I was flooded with phone calls and e-mails of recruiters. For each job I applied for, I would get a reply 9 out of 10 times.
Now, 2 years later, 1 year in the field and jobless, I get zero replies and no one is interested in me anymore. Most of them say that they don't want someone who's worked for only 6 months in one company and a few months in others. It isn't even my fault.
Weird..
Has anyone experienced this?7 -
If your resume lists 10 jobs and you've spent 1 year or less at each job and you were not a contractor, that is not viewed as a Good Thing. I toss those resumes in the trash.5
-
PhoenixOS (Android) in Windows
--booting from usb
1. Success
Boots well, with secure boot off, and legacy boot on
http://metroize.com/usb-boot-linux-...
2. Crash
google play store and other google services keeps crashes, but other apps doesn't
when ignoring error popups, the app doesn't actually crash
3. storage
the memory is only allocated to the system, which means no user file storage
have to find a way to fix that3 -
1) Have a plan for what's going to be talked about (and what will not be mentioned)
2) Could this meeting be an email or done async? Then don't schedule a meeting
3) Send out the calendar invite at least 72 hours before. Include details in the title and description, such as join link and if video will be on or not
4) Join 5 mins early to ensure everything is working
5) Start the meeting right on time, no matter who isn't there
6) If someone joins late, don't recap what's been mentioned
7) End on time, the time that was set when the calendar invite was sent, ending early is also fine
8) At the end say thanks, and know who will send out the notes which include tasks mentioned and the deadline. As well as who to contact if have any questions
9) If a select portion of the meeting attendes is going to have another meeting regarding this, then meet elsewhere
10) Actually send those notes before the end of day -
Any heuristics on using new JS/CSS features?
I thought of waiting 2 years, but I just saw an article that recommended waiting 6 months.
Another factor could be covered percentage, based on caniuse. 98%+ is the coverage of things we can all agree we can use, so is 95%+ enough for new features? 90%+ (so 1 in 10 people wouldn't get the expected experience)?5 -
OK so here's that App I wrote for scraping recently added Prime Videos info...
It's really pre-alpha and lot's of things to clean up but... it works... for me...
https://github.com/allanx2000/...
You need to relink some of the references... You can download the DLLs here. Haven't cleaned it up yet and don't need EntityFramework.
https://github.com/allanx2000/...
Now why am I posting the source code you ask?!!! Well you see writing an app that tells me what new movies were added so I can add it to my watchlist is a poor investment honestly...
Porbably invested 10 hrs writing it and well that adds more movies to my Watchlist. Watching these movies even at 2x speed still takes 1 hour...
I could/should be doing better things...2 -
People who introduce unnecessary powers of 10 into calculations in the name of making things easier to understand, should be strung up by their testicles.
Like (1+r/100)^t for compound interest. Or saying the value of something is 1.5, when you might mean 1.5 or 150 or 0.015 depending on the context.
Idiots.
And then other people have to write code that moves decimal points around, and inevitably gets it wrong, and the stupidity gets passed around like a dose of the clap.
Just write down the actual fucking number. You're making it more confusing, not less, and pouring yet another bucket of shite onto the dunghill of human stupidity.
Unnecessary power of 10 => rope + testicles + tree.7 -
I'm a junior dev and my senior is not getting around to reviewing my tickets. Now there are multiple months-old tickets that still have to be reviewed. That feature should have been released months ago and it has not yet been reviewed.
Soon the (only) senior dev will go on a holiday and it feels kinda useless to continue to develop stuff that takes forever to be reviewed.
In the past 1 week, there is one ticket reviewed and there are 10 more in review. :')
It's not like it's a big team... 3 devs (The senior, me and another junior (who is on leave for the past 2 weeks for personal reasons).1 -
Within your area of specialty / position, where would you place your skills on a scale of 1 to 10? 1 is very new / not skilled, 10 is 'this is what I do and everybody knows I'm one of the best at it'.
Interested in seeing how we rate ourselves when compared to the rest of the industry.6 -
Is it just me or anyone else feels anxious due to work, even when there is no reason to be.
I have 2 3 meetings each day, whenever I know that I have to speak in the meeting about something I get anxious. This anxiety can hit anytime, maybe 1 hour or 10 hours before the meeting.
I feel like whatever I am going to say is dumb, people will judge me. No matter whatever people suggest on this, that no on's actually thinking about you or asking questions is good, this anxiety doesn't go.
Please help if you had same kind of problem. Share your scenarios of you were in anything like this.1 -
1. Makes account on CodeWars to see what the fuss is about, have a bit of fun on a quiet weekend etc.
2. Does a few 7kyu challenges, feels neat.
3. 4hrs later is 10 commits into a 1kyu level challenge called PuzzleFighter.
WHY DO I DO THIS -
Third day of working on my recruitment task, and I'm starting to get pissed. I'm applying for Junior JS developer (suprised that they even picked me, I had 1 JS project in my resume, rest was Java). The task seemed simple, create website with autocomplete field which gets 10 cities with most polluted air from given country and get cities deacription from Wikipedia. But hell no. First, the air quality API that they told me to use sucks horse dick. Like seriousy, you can get a fucking timeout while fetching data, because as author explained, someone decided to make 2 fucking queries per request, one to count all possible results, and then the second one for actual data. Like, WTF, why would you do that. After I got that shit to work from time to time, it was time to Wikipedia API. And the shitshow starts again. Because it turns out that you can't filter the results based on the category. Which means that if the city has the same name as river or some fucking guy doing sports, I won't get the fucking description, because it will simply return info, that there are more more that 1 result. At this point, I'm so fucking pissed, I am barely keeping it together. I want to work at this company, because the pay is great, there are a lot of opportunities and shot, but god dammit, if I finish this task, I'm getting drunk for 3 days straight.
EDIT: even author of the air quality API says that it is not a good fit for given task...4 -
Who is going to tell Netflix that not every title need to be a 10 part series? A story that should fit into an 1 hr (maybe 2 max) is padded with unnecessary stories to be a 10 part series of 1 hr+ per episode.2
-
Daughters fancy new insulin pump:
Rant 1 - works with Safari and IE, no Chrome support - that takes some skills
Rant 2 - Wife's laptop is Windows 10 - sync website identifies the operating system as "Windows NT" (unless a typo and they meant Windows TeN)
Rant 3 - syncing data - "next" button wants you to re-set up the device (from scratch) - "finish" button (on the same screen) actually syncs the data - did they do an UX training?1 -
How in heart is possible to work with a router that randomly shutdowns itself around 3/4 times a day without any reason. Leaving me without internet for 10-15 minutes. I called my ISP and they said that they don't see any problem and they will not send any replacement. I can instead fix an appointment with their technician to have a look at the issue, but of couse, I'm paying for him.
How about no? I'm going to buy a proper modem/router next month, this shit router they give you have 1/100 of the proper configurations options you need.2 -
So I've been working with a Ruby DSL my colleague wrote for our rails app that builds app flows represented by data using migrations, which are consumed and rendered by the frontend. So data-driven UI.
It's very solid in prod, so we're running with it, but it can be hard to work with because everything is built using migrations - for example, the one signup flow we have spans across 7 migrations that add/change/remove components in the flow, change decision logic, etc.
I'm building a particularly complex one and can't decide which development method is better. I can either
1. write the flow in one huge migration, then change as needed - keep rolling back, resetting and testing until it works, or
2. increment changes and additions in multiple migrations across multiple pull requests, such that the final product spans across about 10-12 smaller migrations
Which one?
Both are super icky to me but I'm leaning toward 1. At least all of the shit would be in one place and would make sense without needing to switch between 10-12 files to see where shit is being defined, changed, etc. because it reads chronologically.3 -
How do you keep shared libraries used by multiple microservices in sync?
For example, a model class in a shared lib used by some of your microservices. If a new field is added, how would you quickly identify which microservices need to be updated, redeployed? And do it quickly.
Or say the model library has many classes, used by different services. 1 class changed, and only 2/10 services reference it. Do you target only three 2 or so of them? Or would those be bad design?21 -
Databases are designed to support read heavy applications. A typical read write ratio is 10:1.
Is there a database that is designed to support a write heavy application?
What some examples of write heavy applications?9 -
Trying to figure out how the below code works. Everything is straight forward. The code works as I ran it in qbasic in dos emulator.
But for the life of me I cannot figure out wth cap1 and cap2 are. I debugged the code and saw values being set, but I cannot figure out where the data is coming from. I assume it is somehow related to the function declarations. Been 20 years since I did anything with qbasic. Maybe some other old fogie can tell me what is going on here:
DECLARE FUNCTION integrate (sample, cap, tc)
DECLARE FUNCTION differentiate (sample, cap, tc)
COMMON SHARED accumulator
CONST pi = 3.14159
SCREEN 9: CLS
FOR timeConstant = 10 TO 600 STEP 100
accumulator = 0
FOR a = 0 TO 22 STEP .01
wave = 0
FOR h = 1 TO 10
wave = wave + SIN(a * h) / h
NEXT h
lopass = integrate(wave, cap1, timeConstant)
IF wave > lopass THEN
trigger = 1
ELSE
trigger = 0
END IF
hipass = differentiate(trigger, cap2, 20)
PSET (a * 30, 50 - wave * 20), 15
PSET (a * 30, 50 - lopass * 20), 14
PSET (a * 30, 100 + timeConstant / 4 - trigger * 15), 2
PSET (a * 30, 270 - hipass * 20), 15
NEXT a
NEXT timeConstant
END
FUNCTION differentiate (sample, accumulator, tc) STATIC
fsample = tc
leakage = 1 - EXP(-2 * pi * 1 / fsample)
capAvg = leakage * accumulator
accumulator = accumulator - capAvg + sample
differentiate = sample - capAvg
END FUNCTION
FUNCTION integrate (sample, accumulator, tc) STATIC
fsample = tc
leakage = 1 - EXP(-2 * pi * 1 / fsample)
capAvg = leakage * accumulator
accumulator = accumulator - capAvg + sample
integrate = capAvg
END FUNCTION
The output looks like the image.10 -
ProjectEuler problem difficulty level increases logarithmically after question 50. Question 60+ seems to take 10 times longer to solve than previous 50. I give up solving questions to write code to run within within 1 minute (which is a general rule specified).
I need to relearn Calculous...2 -
Which linux distro is best?
1. Ubuntu linux
2. Manjaro linux
3. Pop os
4. Deepin os
5. Linux mint
6. Kali linux
7. Open SUSE
8. Garuda linux
9. Debian linux
10. Arch linux
11. Kde neon
12. Fedora
13. Redhat linux
14. Elementary os
15. Chrome os
If you know other best distros, let me know13 -
!Rant .. I need some quick help and didnt know where to go.. so fellow ranters please help...
So I have created an sql trigger which is supposed to add a kill to a doctor whenever one of his patients changes state to "killed" . But I dont know how to just get the one row that is updated. As it looks now : The doctor get patientKilled ++ for every patient he ever had before as well... How can I solve this ?
USE [AD17_Hospital]
GO
/****** Object: Trigger [dbo].[PatientKilled] Script Date: 2017-10-21 19:51:32 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
ALTER TRIGGER [dbo].[PatientKilled] ON [dbo].[Patient]
AFTER UPDATE
AS
BEGIN
declare
SET NOCOUNT ON;
UPDATE Doctor set PatientsKilled+=1
FROM Doctor d
INNER JOIN inserted p
ON d.DoctorId= p.DoctorId
where p.PatientState='Killed'
END4 -
Does anyone have any ideas on how to decrease latency of audio multicast via pulseaudio?
Currently having a non uniform latency of 1-10 seconds
This is in case of local network6 -
Holy crap, Meta Developer Connect keynote. Amazing innovation. This is what Apple **used to be**
Granted, the hardware is not as elegant as Apple but the cost is 1/10 and the capabilities are close, same, or exceed (Llama) what Apple is offering.
Now here is the gut punch, they figured out that the mobile app build system needs to build AR/VR/MR apps. That was Apple's edge.
As a developer, I am not enamored with Swift and it is pretty clear that if I have to change and use a niche language like Swift or change and do dev on Android, to target new Meta hardware and AI... well... lets just say I think Swift is crap from a language standpoint and I suspect it is the reason Apple's hardware uses so much more memory, battery and storage than it should. At the same time Meta's Orion runs on a god damn battery in the early piece of glasses. My AVP's have a huge brick.
#define kApple kGigaBloat
If I were Apple I would be shitting my pants watching this Meta presentation.6 -
Team lead gave me a task, fix a script he made to update 28k+ lines that wasn't working (he was busy with other stuff)
So I fixed and tested it in our dev environment, which had about 10 lines to use as test
Worked well, but a single select getting 1 column in a table is taking more than 40 secs, I need this select to run for every line (I tried making it get all data at once but it was getting duplicated entries)
The damn table doesn't have index, I think this will be the longest script I've ever made 😅😅😅 -
to me, "var a" is unorthodox. i'd rather use switch(expectedOutput){case 1:a=1;break;case 2:a=2;break;case 3:a=3;break;case 4:a=4;break;case 5:a=5;break;case 6:a=6;break;case 7:a=7;break;case 8:a=8;break;case 9:a=9;break;case 10:a=10;break;case 11:a=11;break;case 12:a=12;break;case 13:a=13;break;case 14:a=14;break;case 15:a=15;break;case 16:a=16;break;case 17:a=17;break;case 18:a=18;break;case 19:a=19;break;case 20:a=20}1
-
Question about git. I worked on dev branch and made 10 commits.
Then I squash merged 10 commits from develop to master and made a release build.
Now problem is if I make a pull request from develop to master bitbucket will still show that master is behind (because develop has fixes in 10 commits while master has all of them squashed in 1 commit).
Now my question is whats the best way to make sure master and develop are synced (basically that master would have everything what develop has) ?
should I just merge master into develop back after the release?9 -
part 5/n
me vs my job at mnc laggards
Do these laggards even know how virtual meetings work?
meeting 1: an induction meeting from 10am-1pm . one day ago, the supposed manager of me called to say that he will be in office after 10.30, so i should come after that. so ofcourse i missed the call from 10-11.30 as i was commuting. one would expect the meeting to be recorded but nope :/ .Also, the 1 hour session that i somewhat attended consisted of an old guy telling how he has been doing these inductions for last 10 years in this company and how company takes its code of conduct with utmost sincerity (wtf?? tell me the employee benefits you dinosaurs 🤬)
meeting 2 : a meeting describing the softwares, from 2.30-3.30 . no fucking person is leading the meeting and 10+ people are just sitting their with their mics off!!!
also sidenote: microsoft teams and outlook can go suck its own dick if it has one. one of the shittiest piece of shit i have ever worked with. People find them so complex that they instead have unofficial whatsapp groups for official communication.
And guess what : YOU CAN'T FUCKING CREATE THEIR ACCOUNTS IN ANYTHING BUT LAPTOP!!
And when whatsapp comes into the fucking work life, you can expect an RIP to the P of my life 😭😭
-----
previous rants:
https://devrant.com/rants/6543145/...2 -
fuck peoplecert. youre software is crap. i dont have anything against yoire requirement that you need to see that someone doesnt cheat. but WHY is my cpu burning and so buggy. i needed 1 hour until the client started the test and somebody was able to see me and the desktop. 10 restarts of your client and one reboot IS TO MUCH.
By the way: i passed -
I had %1 of charge before going to sleep last night. My phone was turned off and not charging all night (~10 hours). I woke up and I turned on my phone as usual.
And I have %19 of charge. How is this possible? Does anyone have an explanation?
(This is probably my second time facing this.)
(P.S: Nights are cold here)5 -
What is the efficient way of querying database and fetch paginated posts AND also checking if the user viewing that post has liked it?
Just like on instagram or twitter, you can just like/unlike post.
Entities:
- user
- post
- user_post_like
Ive implemented fetching posts for 1 user profile and also liking unliking each post. Thats fine
But now how do i know which post has been liked by which user?
One way i can think of is:
1. Query paginated posts (e.g. 10)
2. Loop through each post and query in user_post_like table to check if this post has been liked and if it is then set flag liked to true. That way on the frontend i can easily set liked or unliked post via ui
But this means I'd have to query database 10 times all the time, aside from querying 10 paginated posts. This doesnt seem efficient... Or am i wrong? Is this normal?
How would you model this?7 -
I know there is this huge argument about whether to use tabs or 4 spaces and while I'm on neither side, just sitting there using tabs, in this new project I'm FORCED to use a 1 space indentation and no line breaks in Android layout XML files format.
I sat there for about 10 minutes trying to wrap my head around d this absurd specification they agreed upon with the client. The code looks SHIT and every time I copy some beautifully formatted reference code into this project it turns into a piece of unreadable garbage.
But since I'm just a part-timer and the senior developer working on this project for some years now is much more experienced than me, I'm hesitant to criticise it more than I already did.
Maybe I'll start arguing with industry standards and the improvement for new developer to read our code... -
Working on a feature which heavies relies on a data pipeline. I noticed it is a couple of lambda functions calling each other ( Fuck you to the guy who made it). The best way to get sanity back is build a proper etl pipeline. Any suggestions for building a etl in python with reliability.
Options already considered
1. Celery tasks - Worked well but no overview of the single task progress across celery tasks
2. Airflow - Gives good overview but the docs make less sense than a 10 yr talking. Mostly because they introduced a new syntax and not everything has migrated fully yet. Also no support for reusing dags2 -
21 hours, i worked most with sane concentration.
I remember when i was fresh in programing, felt for the first time that i have challenge to solve and it was a chain reaction i kept doing tasks 1 by 1 and volla 21 hours are passed.
I came office at 10 am and left 7 am other day.
After Finnish my work i felt so relive like i have concurred the world lol.
It was a feeling like i have all the time in the world and this is what i am passionate about so all i have to dive in this field.
During this session when i gained the momentum of work i could see that the production become double triple as long as you get sync with your brain. Felt like you are in some other time space where you spend more time but in reality its less same as we dream. -
Rembember the good old time when you just needed 10 +1's for stickers? Well live is getting harder from now on.1
-
First worl problem.
There is only 1 10Gbits port on router. I'm already using it (Usage never exceeds 3.5 Gbits).
I wanto to add second device, also in 10 GBits.
Hub or Switch ?
On the one hand, my fiber max out at 3.5 Gbits.
On the other hand, I might want full 10 Gbitrs for Pc to PC communication.
Do I need 10 ? 99% : NO. But there is this 1% when everything is so fast !12 -
I am trying to decompose a 3D matrix using python library scikit-tensor. I managed to decompose my Tensor (with dimensions 100x50x5) into three matrices. My question is how can I compose the initial matrix again using the decomposed matrix produced with Tensor factorization? I want to check if the decomposition has any meaning. My code is the following:
import logging
from scipy.io.matlab import loadmat
from sktensor import dtensor, cp_als
import numpy as np
//Set logging to DEBUG to see CP-ALS information
logging.basicConfig(level=logging.DEBUG)
T = np.ones((400, 50))
T = dtensor(T)
P, fit, itr, exectimes = cp_als(T, 10, init='random')
// how can I re-compose the Matrix T? TA = np.dot(P.U[0], P.U[1].T)
I am using the canonical decomposition as provided from the scikit-tensor library function cp_als. Also what is the expected dimensionality of the decomposed matrices.1 -
i always get sucked into this "cute code" hell whenever i am working with a b2c codebase, and especially with kotlin code.
here's a scenario:
task : build a debounce logic for an input view where each user input is currently triggerring an api call.
my steps
1. read what debouncing is.
2. see if any code is available on the internet
=> found a code piece on the internet with some level of abstraction ( basically a simple final class that implements the input event callback and encapsulates the debounce logic)
3) copy it, run it , it wokrs
------
for any sane coder, these steps are hardly 10-30 mins and they can move on with life. but its your truly that made this task into a 6hour research only to come up at similar solution. my curiosity led me to stupid places
1) why this class is final? what if someone else wanna use it but with a different behaviour? lets try open(non final class) .
2) why even use a class? it extends an interface, lets try to wrap the logic in interface itself (kotlin supports interfaces that don't require implementation)
3) umm , the interface works but it looks ugly, with all its global overridden variables. what about we make it extension?
4) yeah the extension approach is also not very good, lets go back to open class.
5) but extend is super nice to look! lets keep the extension and open class too
6) can we optimise the implementation? why it uses an additional handler? what if we provided everything in constructor? how about builder pattern?
FUCK MY BRAIN! there are so much fucking options that i forgot that i spent 4 hours on this small thing
the simplest approach would have been tk just shove all the listeners and everything in activity and forget about it :/
senior devs on this platform, how do you stop yourself from adding every concept that you know into the smallest possible task?6 -
i wanted some advice on career progression. I am a CS graduate from 2020, have been a decent mobile dev for last 3 years and switched 2 companies so far. i currently have an average ctc (considering i reside in the world's most populated country) as a junior dev.
i want to grow but don't know the next steps. here are my options:
1. stay in the same company . role growth: senior in 2 years , more senior in 4 years . comp growth : avg 10% every year
>> this feels okay-ish path but 10% growth seems very less
2. switch every x years . role growth : unpredictable. comp growth min 30-50%
>> this has been my approach. as i grow bore of a company, i switch . the first time i got a 200% hike, but at that time, i was already earning very less. however companies do not usually take you for a senior role unles you were a senior before, so i think i am losing something here
3. do a masters in tech . comp growth : ? role growth :0
>> this is an unknown territory for me. i haven't heard of anyone bragging about how they did a masters in some tech field and got a better job/position. most people prefer masters in business or do a masters in tech only if they had a poor bachelors degree
4. do a masters in business. comp growth ? role growth?
>> another unknown territory for me. i really wanna consider a managerial position, just because i want to be leading the action , but that's probably because of being a beta guy in all my life and not just the tech/work.
1. managers have a great comp but they also get fired more often than techies. how do you become a good manager/vp/director etc?
2. what are your goals, how do you improve/work upon the goals as a manager?
3. how do you grow as a manager?
honestly i put a lot of tasks and capabilities into one category : the skills of a manager. but i think there might be different roles for such categories. let me know which one is which and if they are worth going into:
1. an x is a person that researches on market trends, other companies, amtheir audience etc and come up with new ideas to implement and improve growth/business of the company
2. an x is a person that makes sure that devs , qa, designers etc are aligned , knows what to do , clears their doubts and ensure the proper functioni5 of the team and timely releases of new features.
3. an x is an ambitious and curious person who can think of new , original ideas.
4. an x is a person with all knowledge of product features.
-----
in all above statements, is x== junior manager? then what are senior manager, vp, directors, president, tech lead, qa,etc?
also how can one start to become x?6 -
Ok new game! 6 degrees of @localhost
Where every rant is only 6 degrees away from @localhost
BEGIN
10 Scroll through some rants
20 random stop at a rant
30 click on that rant
40 Click on the user's name on rant
50 In there profile: click on +1's
60 Click on the first rant you see
GOTO 402 -
You have an array of objects with a startIndex and endIndex representing their position in a string & you want to end up with a nested structure to represent their relation in the string (i.e., A is from 1 to 10, B from 3 to 5, C from 4 to 5, D from 7 to 9). How would you do it?
Input array looks like: https://gist.github.com/AmyShackles...
Desired output looks like: https://gist.github.com/AmyShackles...
(Though what I really have to start with is an object whose keys are the start index and whose values are values of each element in the above input array, so if you can think of a way to morph it without needing to turn it into an array first that’d also be cool)
Figured I’ve been stuck on this part of my side project for long enough that I really should just make a desperate cry for help. ❤️question please help with a little help from my friends man i hate data structures regex parser still killing me5 -
So we are 8 devs in our scrum team but 2 major refactors felll on my shoulders (initially they were supposed to be fairly simple tasks, but like that malcolm in the middle video 2 tasks became 10 tasks in the past month) and I have been working from 11 am till 4 am for the past 1 or 2 weeks. Just yesterday I worked until 7am. Slept only 4 hours... Trying to play it cool, since I asked for a raise 5 weeks ago and still waiting for answer.
I havent told anyone because partially its my own stubborness of wanting to learn things and not wanting to bother others with questions, but Im starting to loose it.
And all because my pushed initial features resulted in unexpected blockers so scrum team leaders had an all hands meeting and my newly appointed teamlead started shitting bricks.
Meanwhile all other devs pick a low hanging fruit tasks and sit around for 2-3 weeks while I have to do heavy lifting alone with some guidance from other devs.
We dont even have QA resources. We have 2 new hires who will be useful maybe after 3-4 months and we have 1 QA guy who judging by his output is working part time. Also same guy managed to take 2 weeks of vacation in the past 4 weeks.
So due to lack of QA and due to code reviews taking long time it takes over a week for code to be reviewed and tested and each time if a blocker happens I have like 2 or 3 days to rush until end of the sprint in order to fix the feature for upcoming release or I have to move tasks to another sprint and feel bad about spillover.
Imagine implementing something in 2 weeks, just to wait for another 1-2 weeks for changes to be reviewed/tested and now having to fix blockers. And then teamlead comes up to you with being surprises how come shipping of this is taking longer than 4-5 weeks? Dude, I did my fucking part in 1-2 weeks, its not my fault that other devs perform code reviews late and they dont even launch the app to test. Its not my fault that we have very limited QA resources and our only QA guy is not even testing out everything properly.
Seriously Im starting to fucking loose it. We are basically 8 devs in a team where 2 people are doing all the heavylifting. -
I hate how I have battery issues with every smartphone/tablet I buy. They do well for 1 week and then I have to buy an additional charger for work because after 5 hours of only lying there it only has 50% which wouldnt be sufficient for 30 minutes car drive (Maps, Spotify, Bluetooth, GPS and mobile data)... Fml. I am tired of batteries. My next phone is going to be a huawei mate 10. Maybe I habe more luck with this one. I dont believe im Samsung anymore.
And anyway why the fuck do they introduce better CPUs more sensors etc whilst Keeping the battery capacity the same.. Instead they introduce fast charge etc. Another reason for me to go away from samsung is the fact they bloat each firmware up, my battery got worst after each system update (even the security ones) and also doing 14 factory resets didnt work. Support is shit. They also integrated Clean Master into the system and an "Antivirus Protection"... Can't get worst.
samsungrant@devrant.com # > submit && exit