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 - "l"
-
A customer did send a 3GB+ .txt file to the database guy in my office. He (senior dev) starts ranting about how he should handle this since his tools failed to do whatever he had to with this data.
After seeing him struggle some time I did a short search (I'm apprentice since 4 months) and then told him to use "split -l".9 -
Me coding at Starbucks and this hot chick passing by me stops to tell me:
- I love WebStorm, don't forget to command + alt + L.
Me:
WebStorm:
MacBook:
Charger:20 -
Ranting about a meme lol
This type of shit is what I fucking hate most iPhone users.
Samsung was founded in 1938... Apple was founded in 1976.
Most iPhone users are a walking L these days with their ignorance and false sense of superiority. Fucking assholes12 -
God... My (l)users are killing me... I think I'd much rather lay on my back and piss up than to get another phone call saying the printer isn't working. How the fuck did you manage to make the toner fit in backwards, Becky?!5
-
. _ _ _ /\/|
/ \ _
| [ o]-[ o] l l
\ ¬ / l l
////////// l l
/ \ \ / l_l
/ \ \ _ _ _ _ l
/ \ _ _|_ |- -| \ /\
| ===== |_ |
D E V E L O P E R
A T
N I G H T4 -
Weekend so far:
Chrome Update FUCKED UP my website.
Tried to update my server to Ubuntu 16.04. That FUCKED UP in the middle and I didn't have any recent backup.
Went back to old backup. But didn't see any changes in the website. Was wondering that for 1 hour.
Forgot that my website was using cloudflare caching. In the meantime I have changed my DNS settings.
Out of frustration removed website from cloudflare. That FUCKED UP the DNS further.
Now I have no idea how long it will take the DNS to update.
FUCKING F M L6 -
Project Manager: "So that's the feature we need you to add... T-shirt size?"
Me: "Depends what shop I go to, sometimes L, sometimes XL-"
Project Manager: "No, no. T-shirt size... Estimate. Small means hours, Medium means days, Large means weeks."
Me: "Oh... 4 hours."
Wtf.10 -
How long is it ok to wait before telling my colleague that the Windows Update-screen he's been watching for the last 25 mins is just me giving him a lesson in "Win+L"? (He's actually just watching fakeupdate.net)5
-
"who is 'Drew Paul? And why do you hate him so much?"
"It's D-R-U-P-A-L, mom. And don't worry about it, you don't need that aggravation in your life."1 -
Fucking URLs, people.
They're not hard.
If you're going to give me a bug report, TELL ME THE GODDAMN URL.
If, after yelling at you several times for not providing the url, you instead just fucking GUESS at the url, YOU'RE A GODDAMN BLITHERING IDIOT AND YOU'RE WASTING MY GODDAMN TIME.
ALT+D, CTRL+C or CMD+L, CMD+C
SO HARD. ASDFASDJGHLKASDHFLJKSGDFSKDFrant the bozo didn't even recognize a 404 page bug reports without urls screenshots without context urls bug reports blithering idiots6 -
Easy 50$... (l)user brings in a tablet and says she’s got a virus.... okay.
(L)user - “I have a virus, I can’t click on anything and there’s a green box around everything.”
Me - *turns off TalkBack* here you go, all fixed.12 -
So many developer that does not know how to generate a simple .csr file. Here you go:
$DOMAIN=www.yourdomain.com
$STATE=State
$CITY=The city
$COMPANY=Company Name Gmbh
openssl req -utf8 -nameopt multiline,utf8 -new -newkey rsa:2048 -nodes -sha256 -out $DOMAIN.csr -keyout $DOMAIN.key -subj "/C=Your CountryCode/ST=$STATE/L=$CITY/O=${ORG:-$COMPANY}/OU=${ORG:-IT}/CN=$DOMAIN"11 -
Me: I honestly don't care how thick a phone is and who cares if it doesn't have wireless charging...
Other consumers: I want a thin, beautifully designed phone and it has to have wireless charging, it's 2018 l, every phone needs this....
*Me watching that same consumer put a thoch bulky case that hides the phone and breaks wireless charging*
Well that makes fucking sense doesn't it...8 -
Home office / lockdown story
Last year, when the first lockdown happened, everyone in my office started working from home. Including myself of course.
I decided to use x11vnc for remotely accessing my PC cause it is super convenient.
A few days into the home office and suddenly the remote keyboard acts weird, with random keypresses that I didn't do, and then the letter L was written over and over like it was stuck.
Assuming a bug in x11vnc, I restart it several times, but no luck. Whenever I open a terminal it is full of "L"s within a matter of seconds.
So I restart my PC remotely and reconnect the x11vnc, which is a huge pain in the arse if you have ever done it. And can you believe it... Still the same problem!
So, finally I gave up and went to the office to see what the hell was going on with my PC. I entered my office room and could not believe my eyes.
What had happened? The room cleaner had wet-wiped my desk. To create enough free space for that, she had first cleaned up the mess, putting the scattered paper nicely on the side, but then also *putting the bloody mouse on the bloody keyboard*.8 -
Dev of my team coding on Idea
Seeing him using space-bar to format copy pasted lines of code
Me: why don't you use ctrl+l shortcut?
Him: I don't use shortcuts while coding
Me: at least use the tab
him: nope.
He formatted 3000 lines of code with space-bar. He's not even using notepad. 😐
WHAT THE ACTUAL FUCK.9 -
!rant
Yesterday was my first day at my first internship as a naive rising uni soph. I brought my tiny 13 inch thinkpad thinking I was gonna code on that. Imagine my surprise as I walk in and HR brings me to a table with 4 monitors on it. l o l
I like it there.3 -
"Y’all talk about UX like it’s just another feature. For a user, it literally is the product. Full stop. Everything else is inside baseball." - Startup L. Jackson2
-
Lead dev: Hey boss, you really do like Python right?
Me: No
Lead dev: Well it's cuz I was think....wait what? WTF do you mean no, you have automated a fuckload of BS with Python and we are still using it, why tf would you use Python if you don't like it?
Me: I like it enough for the automation scripts that we have and for parsing documents or generating glue scripts, its already installed in every server that we have, so testing bs in dev and then using them in prod is cake, it doesn't mean I LOVE python, I like it for what we use it.
Lead dev: Well ain't already bash and perl installed as well?
Me: Do you know bash and or perl?
Lead dev: No, don't you?....
Me: No......
L Dev: (using a Jim Carrey impersonation) WELLL ALLRIGTHY THEN! What is the other language that you used for X project?
Me: Clojure, do you remember that one?
* he said paren paren paren paren yes paren i space paren do close paren close paren etc etc
L Dev: (((((((yes (i (do)))))))) and nevermind, I'll get back to working more with Python
Me: das what I fucking thought esse6 -
Hey, why isn't X working?
Well, whats it doing
It doesn't work
That doesn't help
OMG it blue screened
What did the blue screen say?
How do you fix it?
T e l l M e W h a t I t S a i d S o I C a n H e l p Y o u
I'm factory resetting it now1 -
(L)user tried to impress the IT staff (myself included) by installing a few of the NSA leaked tools last night, (l)user was infected with ransomware... (l)user is now job hunting. 👌🏽2
-
(L)user - Is Youtube blocked?
— I don’t know, have you tried it...?
(L) - Well no, but I just wanted to ask before trying it.
Are you kidding me?!6 -
Guys, unlike a lot of fresh and volatile developers here, i don't get angry at a lot of stuff
but people who play the "I'm older than you" card really really r e a l l y make me upset.4 -
My Professor today, explaining data distribution in distributed systems:
"Imagine distributing Username data in subsets, such as A-C, D-F, G-I, J-L etc... And we have a lot of users with A .... *long pause* A bunch of assholes basically .."1 -
Started my own business recently, it's still in the works but it's picking up nicely... Had a (l)user call me this morning asking if I could help him with his website design. I tell him he's and ask him what he's like his website to do... His exact words "I want everything like Facebook but the site not to be called Facebook and the colors green. Can you please make this happen?"
FUCK YOU!6 -
Someone really needs to change the look of 'I' and 'l'
Guess what the first one is a capital i and the second one is a lower case L
This gets really confusing!6 -
My girlfriend configuring her e-mail account in the app because her phone had to be reset to factory :
-I can't figure out how to do these setting, annoying...
-Oh yeah the imap and smtp servers can be tricky, let me put that
(I Google the settings for her mail provider and put them in)
-It still doesn't work.
-Uuuh, maybe with another security setting, try it.
-This shit still doesn't work, seriously my phone is broken.
-Have you verified the e-mail address and carefully typed the password?
-Yes of course, I've tried it several time
(I take the phone and check all the parameters... During a looooong time... Until it hits me.)
-Hmm... Can you read the e-mail you've entered?
-Yeah, it's my mail, blabla@hotmail.com.
-No can you read it again please?
-It's blabla, why?
-No, can you *spell* your e-mail?
-Yeah it's B-L-A-B-L-A-@-H-O-M-A... Ow shit...
- ¯\_(ツ)_/¯ -
If you type "12oatmeal" in one of my school assignment console games, it plays a beep.
V e r y u s e f u l ™5 -
Today I played hide and seek at work, this time it was not find the missing semicolon but instead find the unknown. After 30 minutes it turned out the request URL had a capital 'i' instead of a small 'L'
==> l = I almost the same but guess my eyes are not functioning as they should
It was a fun game11 -
IntelliJ has this tutorial where it teaches you a bunch of shortcuts for making life easy, since version 2017.3 or something like that. Most of it is pretty meh, some of it is pretty useful. And I just came across a keybind to auto format code.
What else do I need. If I can quickly format my code and make it look pretty, that's all I'd want.
"Try reformatting the selected code with Ctrl+Alt+L"
*Linux Mint goes to lock screen*
*logs back in, code is unchanged*
Well played...6 -
Sometimes my "L" keys stops working. Then I have to plug in another keyboard to press the "L" key there. After that I can unplug the second keyboard since the original key started to work again.7
-
Playing Minecraft minigames.
It's a pictionary clone. One player draws a secret word while the other players have a minute to guess.
Along the bottom is a hint.
Hint is in "_ _ _ l e" format.
Possible word is apple, for example.
I already win half of the games.
I can win more.
Initiate cheating.
Python script that accepts input in same format as hint and returns a list of results based on the word database.
Any time I come across a new word just add it to the database.
Stopped at 69 words tonight.
Game on.5 -
Me and my manager throughout 2020
January:
Me: So umm, we can release the new app version
Manager: No we promised client X app first go build that
Me: umm, ok.
February:
Me: so the app is done, but client hasn't setup area L so there is no data there
Manager: ok, I'll have them setup area L soon ™️
March:
Manager: area L is too much work to setup, use workaround L thats way better
Me: ok ...
April:
Manager: client is nitpicking on design and layout please make this mess even greater
Me: ok, anything else?
Manager: yeah also start on app for client Z!
Me: and our app update?
Manager: later son! Risk tooo muchos!
May:
Me: the mess for client X is done, and first version for client Z is also ready for test
Manager: ok good work, here is a new set of things to mess up
Me: but... Seriously, wtf?!
Manager: clients want quality
Me: ah ok, not nitpicking, cool
June:
Manager: client X went MIA, but client Z will send you a weekly list of things they don't understand and want to change
Me: ah great, truly worth postponing my February holiday to release nothing
July:
Manager: so, how we doing on all them changes
Me: well, I am a loyal custodian with alot of pleasure in my work!
Manager: ah ok good!
Me: any news from client X??
Manager: who
Me: mkay ... n.v.m
August:
Me: can we release yet?
Manager: change, we can!!!
Me: are you Obama?
Manager: ambitions
Me: fuck you pay me
September:
Me: I am confident we can now release all 3 apps as promised mid september
Manager: great!! Good work
Also manager: you know that immensely complex area within the app? That needs a complete rewrite because we have bad ux there!!!
Me: ok... To which requirements?
Manager: good ux, we must have standards
Me: but the layout of page R id generic as page F so then we need to align there as well
Manager: go! Do!
Me: ok I'll come up with my own requirements then
Manager: we also need documentation
Me: really!!!! How clever of you to fire colleagues T & P and we now have zero workforce for that
Manager: things will get better someday
Me: ah, great! Put it on my calendar
October:
Me: I need a sabbatical biatch
Manager: a what?4 -
- Learn git/github
- Create and finish a useful project on my Raspberry Pi
- Successfully organize a LoL tournament in my school, and develop something related to it
- Do not lose my mind when my programming teacher keeps saying bullshit
- Install a Linux distro along with my Windows as dualboot
- F u c k i n g clean that computer case a l r e a d y
- Finish the website I have been making for like half a year for my hobby
- Be active on devRant5 -
Being 25 and just now getting employable dev etc skills is really quite daunting when you learn of the old geniuses like Bill Joy, Linus, Wozniak and then hear daily stories of 16 year olds doing amazing things.
Inexperience in a field where everyone demands experience is scary. Still excited to see where I Can l can get though.11 -
Ladies and gentlemens, my everyday workstation.. at work.
i5-5300 2,30Ghz, 8gb ram and 128ssd. Bloated external screen with low resolution and even lower colour saturation.
Running VM, handling big as images, editing and a tiny bit coding.. and they wonder why I'm asking for a new setup..
(._.) ( l: ) ( .-. ) ( :l ) (._.)
Cheers ☕3 -
Created a batch file to modify some system files on our embedded system.
Accidentally double clicked it in my development main machine :(
Man, fm fucking l2 -
A client just asked why her site was in Latin instead of English (I used dummy text because there was no content yet).
Last week, she requested l chop up a .jpg mockup because she 'can't scroll' the image.
I had to re-read the email to be sure.1 -
Life could have been way better if God has used some version control system and let individual take care of their life.
git revert l@$tHaPP¥d@¥
Or
git reset --hard beginningOfLife4 -
Teacher asks the class:
"How do you become a good developer?"
All the students starts talking about algorithms, problem solving or working in a team.
He nods and starts writing on the board. w w w. g o o g l e . c o m
He then leaves the classroom.
So here I am years later, a master googler and a expert stack overflower.4 -
I fucking hate being a Dev sometimes.
G i v e m e f u l f i l l i n g t a s k s p l e a s e
Not these shitty ones with API documentation riddled with holes 🫠😥6 -
When you get called back into work at 5:30 in the morning for an urgent problem... Come to find out its because, "I forgot my internet access password, can you reset it...?" Are you shitting me? Fucking (L)user! In taking today off, fuck this.
-
Opened an old document using Office, tried hours to move around the document but couldn't.
Then realised, I was pressing 'h', 'j', 'k' and 'l'.
😒😒2 -
Customer requested the implementation of a "Master PIN" Code for accessing their appliances, to be used by field technicians when the users forgot their PIN.
Actually they could also read or reset it via USB using the config utility, but then again it's much more convenient not having to carry a laptop all the time...
Our only contact person at that company - the guy we got all the requirements from, let's call him Mr. L - wouldn't talk only positive about the company and managers, but we never worried as the project was making good progress.
In the final phase of the project, Mr. L was often hard to reach, always seemed to be busy even when we just needed a prototype approved to start production.
He always claimed to be waiting for approval from his supervisors and engineers, still discussing minor things with them.
When he left the company about three months later, it turned out he was pretty much the only person knowing about the details of the project, and his successor would start asking us very basic questions about the appliance,
wondering why we had implemented certain things the way they were.
(Well, how about we implemented everything just as requested by a former co-worker of yours?!)
Somewhere in the preliminary specs previously exchanged with Mr. L, there is even a hint of a "Master PIN", but the value is never specified anywhere on paper.
Today, we are not sure if anyone except for him even knew about it.
Maybe we should ask them whether they are now selling a product that has a 4-digit backdoor PIN nobody at the company is aware of?
Obviously, it is the birth year of Mr. L.2 -
So, I was able to hack into a local business (legally) in under two minutes today... great and scary right? Get this, it was from my iPhone. All switches were still the default username and password... after seeing that they didn't think anything was wrong and didn't sign the contract... imagine what I could have done with my laptop and my PWNtools...
Fuck it, more (l)user data for me to log.😏5 -
Alright, I need suggestions. I live in a small town and outside of my primary job, I own my own IT business. A lot of (l)users have eagerly asking if I’ll be teaching classes to explain some of the key things a computer is capable of doing. (Most of them will be elderly.)
How much would you charge for this? I’ve got about 20 people confirmed and I was thinking about doing 20$ a head. What seems reasonable? Keep in mind, this is a smaller sized town.17 -
uSE AnY pRogrAmMinG L@ngu@g3 yOu liKe.
1nTervi3weRs Do N0t CarE aBouT tHe L@nGuAge.
Fuck you. Stop asking time complexity or space complexity of functional code. No one fucking knows.19 -
"We’re not insulting Larry [Wall] by saying he’s lazy; laziness is a virtue. The wheelbarrow was invented by someone
who was too lazy to carry things; writing was invented by someone who was too lazy to memorize; Perl was
invented by someone who was too lazy to get the job done without inventing a whole new computer language."
- footnote from Learning Perl, by Randal L. Schwartz, brian d foy, and Tom Phoenix -
Issue or Error? Rant story time!
I was working on a windows desktop app, and everything was ok, you know, tests completed succesfully, all in time, etc. The problem was when we showed the demo to one of our clients. He saw several screens and we explained all the features to him.
Client: *Sees a Error pop-up indicating that a remote service is temporarly unavailable (what it has to happen in order to show him how the system would warn him when an external service is out of service)
Client: What’s that?
Lead dev: What do you mean?
Client: Yes. That’s an error pop-up
Lead dev: Yes, it’s a message that tells you that there was an issue connecting to the bank service
C: No, no and no. Please change it
L: Why? Don’t you want the system to tell you when there is a connection issue and why is that happening?
C: Yes, but my employees could lost their minds because of this class of messages!
L: So...?
C: You have to change it
L: Ok. What do you want to change?
C: First of all, don’t put an “Error” icon, put an “Warning” icon, and instead of “Error” title, put... “Issue”
L: “Issue?”
C: Yeah. Don’t put the “E” word, if the users see an “Error” message, they could think that the program doesn’t work, even if it does work.
We all though “WTF?!”
To make the story shorter, we changed all the pop-ups. That took two days.
Is that correct? I know that “Error” sounds hard but, seriously? “Issue: The remote service is not available, contact your bank?”rant wtf brain software development wtf is going on wtf? story time windows problems wtf wtf are you doing!6 -
Meanwhile at my place (Translation L-R):
"Wow! Are you good at hacking?"
"Please hack my neighbor's Wi-Fi"
"Download me some movies!"
"Are you good at math?"
"Please fix my phone!"
"Can you remove the virus on my computer?"
"How many hours do you sleep in one day?"
"Put some cheats on this game!"
"Please hack my boyfriend's Facebook account!"
Yep, my family and even the entire neighborhood are ignorant of what I do as a dev!
FFS I'M NOT A PC REPAIR MAN!!! 😤😤😤😠😡1 -
I love Unix systems because everything goes smoothly most of the time but today... Fuck me... I just wanted to see how many lines my script was with "wc - l" but I couldn't remember "m" or "w". 180 degrees separated despair and monotony, although I didn't know it yet. I did "mc - l" first and midnight logged empty ftp buffer to my file. Goodbye Thursday and Fridays work :) I should commit more often.4
-
Wrote some documentation in a text-editor. Pressed cmd+option+l and wondered for a moment why it didn't properly formatted my document.3
-
GOD DAMN THE STUPID IPTABLES, aaaaah!
Today I learned that
iptables -I INPUT -i !lo -j DROP
and
iptables -I INPUT ! -i lo -j DROP
are two completely different rules, the first of which doesn't work (in ~99.9% of cases)
yet both pass and get added to the firewall. And both rules show exactly the same in the state listing (iptables -L -n -v).
And I was wondering why the hell the firewall wasn't working...8 -
Come up with a bad version of flipping a bool's value. (value = !value)
I'll start with a bad way of doing it in C# (.NET):
char[] bca = boolWert.ToString();
if (bca.Length == 4 && bca[0] == 't' && bca[1] == 'r' && bca[2] == 'u' && bca[3] == 'e')
{
boolWert = !bool.Parse($"{bca[0]}{bca[1]}{bca[2]}{bca[3]}");
}
else if (bca.Length == 5 && bca[0] == 'f' && bca[1] == 'a' && bca[2] == 'l' && bca[3] == 's' && bca[4] == 'e')
{
boolWert = !bool.Parse($"{bca[0]}{bca[1]}{bca[2]}{bca[3]}{bca[4]}");
}
else throw new Exception("y e s");4 -
I had a collage who kept linux commands like ls -l, ssh and git commit/pull/push in .txt file and when he needed to use them, he just copy from the file and paste them to command line EVERY F*CKING TIME. He just didn't won't to learn them.7
-
P L E A S E
Do not just teach them on how to program. Teach them on how to properly write a documentation and how to properly execute a project. Like, don't start coding directly. Teach how to plan a project properly especially on estimation. (lol)4 -
!rant
I aliased the go package manager dep to derp
I do this because I consider myself a grade A derper.
I derp hard when I write in go, not because of not getting the language,on the contrary....I feel quite profficient in it which gives me the ability to derp whilst cosing.
Go is amazing. Such a boring language in the best way possible in terms of syntax but so fun in productivity.
Microservices galore l.4 -
Kotlin and mother tongue
In my mother tongue (my first language which is Kikuyu) we do not have the letter L in our alphabet thus meaning L and R to us is similar thus pronounced the same.
Then Kotlin makes life hard for devs who got a mother influence in their speech from my tribe. Was having a talk with fellow dev who is my tribe mate and we had an issue agreeing between val and var hehe.
We had to write it down to tell which is which.
Thankyou Kotlin for making my day.6 -
I feel this should go without saying: When you submit your curriculum vitae to a company in search of a job offer, or at least an interview then plz plz plz pretty please eith cherries on top make sure that you at l ast tailored the application towards the general direction of the industry for which you are trying to apply.
Some of the applications we got......booooooooooy these people.....6 -
After developing Android apps for 4 years, I just released my first app for iOS 🎉
https://apps.apple.com/us/app/...12 -
@dfox Could we also get watches on the right hand ? I've been wearing mine on the right hand ever since I've started wearing a watch and I feel awkward wearing it on the left :)6
-
Sequel or S Q L?
I find myself dipping between the two recently depending on who I'm talking to. It's driving my insane and I can't stop myself -_-18 -
>Gets assigned to this private Game server's project
>Boss wants me to improve the anti advertisement chat
> k
> Looks at old code
> Code is replacing unicode characters to latin ones that look similar which are being used for advertising
> lol'd who tf developed this
> regex101, building a regex query with endless of possibilities (would look something like this) /((L|\|_|I_)(O|0|\[\]|\(\))(L|\|_|_))/gi to detect lol
> Adds alot of similar looking unicode characters to assure that it will find something
> Works really well in the dev version
> Server open hour
> 30 players
> All chat at the same time
> CPU 100%
> BOSS NEVER TOLD ME TO MAKE IT EFFICIENT1 -
#arduino #led matrix
Hey guys.
So, this is my first led matrix using a 74hc595n, I did all the connections right, isolated the cathodes (-), and when I tested, I only connected one cathode (to test one row, when almost all the lights turned on, in all rows doing a chacing... So I disconnected the negative wire and it still works.
One led in the arduino blinks (L).
GND is only connected to the shift register
All the rows light up doing a colum chase when there is no negative.
I'm astowned.....3 -
Need two needles, two infusion hoses and 5 - 10 l of coffee.
The blood must go, the caffeine get in instead.
And yeah. This sounds fantastical in my brain right now, as I'm literally drooling half asleep in front of the PC.
It's 16 o clock in germany and I have gotten done nothing.
And I think I should put on some baby bips or the keyboard fries from drool.6 -
Currently working in a virtual Linux machine running on a Windows host. The Linux VM is running i3 and I just locked the host for the umpteenth time because my dumbass pressed Win-L to switch one Window to the right...
Also, while typing out the tags, I got the tag-suggestion 'my password is as weak as my mental state' 😂 -
I am working as a junior in a company that pays me minimum wage and doesn't give a single fuck about my existence.
"Change the job", you say?
Well, that's what I am trying to do for, like, 3rd month now. No one wants to invest into junior...
Every day I go to work with thoughts about quitting, but I need a job... Even if it's like this...
fml.
F
M
L9 -
This old Olivetti netbook is a summary of contemporary Italian history: Great during '70 and '80 now the factory has closed and they produce mascara.
http://mobile.ilsole24ore.com/solem...
This is one of the latest PC produced in 2001 with 128 Mb of RAM.5 -
I finally did it! I met my goal! After 6 months and a ton of interviews I finally found a new job! Good pay, good culture and actual options for career paths!
I was so sick of working were I wasn't growing or being valued. I can rant enough about what a weight off my mind this is!
Ref: https://devrant.com/rants/4792256/...3 -
(Yet another rant on TAR commands.)
Whose idea was it to make TAR file listing "tar -t" and not "tar -l"?
How does it make sense? It goes against intuition.
It would have been more logical to make "-t" tarfile instead of "-f", and to make "-l" list.
Obligatory: https://xkcd.com/1168/9 -
We've had tabs vs spaces, gif vs jif, but how about S Q L vs sequel? Which one do you prefer? I'm in camp sequel.12
-
Thank God for Ctrl+Alt+L in PHPStorm...one guy from our company seemed to like this code style once upon a time:
if ($variable > 0)
{
// stuff
}
else
{
// other stuff
}6 -
(I am talking about my school’s promotional project, look at my rants for reference)
Deadlines were insane and I had nothing to do about it. Had to touch JavaScript for the first time in 3 years and code like I still know it by heart.
In short: H.E.L.L. It stands for:
H oh
E god
L never
L again6 -
So like a couple days ago I was trying to clear the Var directory of my Symfony project.
I wrote
cd /var
rm ./* -R
Linux: are you sure you want to delete write protected blah blah blah?
Me:AHA! SO ITS A PERMISSIONS ISSUE
sudo rm ./* -R
Quickly realized I was no longer in my project directory.
Took a fat L. Had to reinstall.2 -
I fix antique code for a living and regularly come across code like this, and this is actually the good stuff!
Worst usecase for a goto statement? What do you think?
int sDDIO::recvCount(int bitNumber){
if (bitNumber < 0 || bitNumber > 15) return 0; //ValidatebitNumber which has to be 0-15
//Send count request
if (!(send(String::Format(L"#{0:X2}{1}\r", id, bitNumber)) && flushTx())){
bad: //Return 0 if something went wrong
return 0;
}
String^ s = recv(L"\r"); //Receive request data
if (s->Length != 9) goto bad; //Validate lenght
s = s->Substring(3, 5); //Take only relevant bits
int value; //Try to parse value and send to bad if fails
bool result = Int32::TryParse(s, value);
if (!result) goto bad;
int count = value - _lastCount[bitNumber]; //Maximumpossible count on Moxa is 65535.
if (count < 0) count += 65536; //If the limit reached, the counter resets to 0
_lastCount[bitNumber] = value; //This avoids loosing count if the 1st request was
//made at 65530 and the 2nd request was made at 5
return count;
}4 -
Whoever programmed ATMA's roomba-style device… you really really need to improve your skills!
Yes… my room is L-shaped, but that doesn't mean one of the arms of the L doesn't need cleaning!! 😒1 -
monday.com: our manager has been pushing for it for weeks. We barely got any time with the demo before it expired and the company took forever to get licenses.
Now that we're on it ... this thing sucks ass. It hijacks all the browser keyboard shortcuts. You can't use Ctrl+F or Ctrl+L .. you can't even right click.
This is the worst project management software I've ever seen. It's amazingly even worse that Jira. I wish we had just gone with Redmine. It's free and not garbage7 -
Corporate Training: to lock your screen press ctrl+alt+delete and select lock screen.
Non-Dev: need to lock screen, ctrl+alt+delete... It's not responding... Ctrl+alt+delete.... Wait why did my computer reboot.... NOOOOOOOO... MY WORK
Me, Dev: uhm I just used Win+L...2 -
We have a bunch of legacy applications that runs on Windows only. I'm pretty much the only dev here who doesn't use a Windows machine.
In order to run those applications, I need use remote desktop to a Windows VM.
I use a Mac. And I use a lot of keyboard shortcuts. Case in point, CMD + L to go to the address bar in the browser.
This happens every time when I need to access those applications.
me: *remote desktop to the VM
me: "oh I need to get to the index/landing page"
me: *CMD + L
VM: "I'm locked now"8 -
// Posting this as a standalone rant because I've written the best piece of code ever.
// Inspired by https://devrant.com/rants/1493042/... , here's one way to get to number 50. Written in C# (no, not Do diesis).
int x = 1;
int y = x + 1;
int z = y + 1;
int a = z + 1;
int b = a + 1;
int c = b + 1;
int d = c + 1;
int e = d + 1;
int f = e + 1;
int g = f + 1;
int h = g + 1;
int i = h + 1;
int j = i + 1;
int k = j + 1;
int l = k + 1;
int m = l + 1;
int n = m + 1;
int o = n + 1;
int p = o + 1;
int q = p + 1;
int r = q + 1;
int s = r + 1;
int t = s + 1;
int u = t + 1;
int v = u + 1;
int w = v * 2 * -1; // -50
w = w + (w * -1 / 2); // -25
w = w * -1 * 2; // 50
int addition = x+y+z+a+b+c+d+e+f+g+h+i+j+k+l+m+n+o+p+q+r+s+t+u+v;
addition = addition * 2;
if (addition == w)
{
int result = addition + w - addition;
Console.Writeline(result * 1 / 1 + 1 - 1);
}
else
{
char[] error = new char[22];
error[0] = 'O';
error[1] = 'h';
error[2] = ' ';
error[3] = 's';
error[4] = 'h';
error[5] = 'i';
error[6] = 't';
error[7] = ' ';
error[8] = 'u';
error[9] = ' ';
error[10] = 'f';
error[11] = 'u';
error[12] = 'c';
error[13] = 'k';
error[14] = 'e';
error[15] = 'd';
error[16] = ' ';
error[17] = 'u';
error[18] = 'p';
error[19] = ' ';
error[20] = 'm';
error[21] = '8';
string error2 = "";
for (int error3 = 0; error3 < error.Length; error3++;)
{
error2 += error[error3];
}
Console.Writeline(error2);
}5 -
That moment when PM writes "click on learn more" on the whiteboard, but the 'c' and 'l' are too close together and it seems like one letter 😂
-
(another) Russian roulette for devs
$jobs -l
[1]+ 642 python .....etc
$sudo kill -9 642
.... other commands here
arrow up...arrow up... (looking for jobs -l)... got it.
arrow up...
$kill -9 642
F*uck! (i remember that i have not changed the pid)
kill: no such process (luckly no damages)
anyone killed something relevant making this mistake?6 -
IsIdentical(object l, object r {
if (l.m_Lorum == r.m_Lorum)
if (l.m_Lorum2 == r.m_Lorum2)
if (l.m_Lorum3 == r.m_Lorum3)
if (l.m_Lorum4 == r.m_Lorum4)
if (l.m_Lorum5 == r.m_Lorum5)
if (l.m_Lorum6 == r.m_Lorum6)
if (l.m_Lorum7 == r.m_Lorum7)
if (l.m_Lorum8 == r.m_Lorum8)
if (l.m_Lorum9 == r.m_Lorum9)
return true;
return false;
}
//FML..
Just do this:
return (l.m_Lorum1 == r.m_Lorum1 &&
l.m_Lorum2 == r.m_Lorum2 &&
l.m_Lorum3 == r.m_Lorum3 &&
l.m_Lorum4 == r.m_Lorum4 &&
l.m_Lorum5 == r.m_Lorum5 &&
l.m_Lorum6 == r.m_Lorum6 &&
l.m_Lorum7 == r.m_Lorum7 &&
l.m_Lorum8 == r.m_Lorum8 &&
l.m_Lorum9 == r.m_Lorum9);13 -
OpenSuse'e sarcasm is BRILLIANT!
```
~$ ssh 192.168.122.43 -l root
Last login: Thu Feb 2 19:12:45 2023 from 192.168.122.1
Have a lot of fun...
localhost:~ #
```2 -
Anyone in South West Kansas looking to grab a drink? Lol, I fucking can't with my (l)users today...3
-
I just want to thank Steam for making steam guard key in all caps. So I dont need to fucking think about if its uppercase i or lowercase L. It would be much better if they do it on all captcha services or just fucking dont use i l o and 0 characters. These are pisses me off. They are so fucking annoying.1
-
Today we were doing the ccna1 final exam and this was one of the questions and its answers. I know that they are real IT terms but still I was laughingin af😂7
-
Me:put proper variable names so that i can remember later what this loop does
After writing some good names
Me: i will remember it i am just gonna put initials
After a week or two.....
Me:wtf these a,b,c,d,i,j,k,l variables do2 -
My keybo§rd is broken. I tested it on two different m§chines, ch§nged keybo§rd l§yout, tried to cle§n it up, but no luck. Left side of 2wsx keys is completly useless. I'm so dis§ppointed@@@ ( @ used to be excl§m§tion m§rk :( )3
-
I expect you to have data before advertising data analytics courses to me Udemy ... You don't even have my %lastname% for god's sake1
-
For all things, for all men, that a man compliments a thing does not imply that this man at least attempts to understand this thing. However, for all men, that a man criticises a thing implies that this man at least attempts to understand this thing.
For all computer programs, that a computer program is terrible implies that scrapping the current implementation of this computer program and beginning anew may be the best method of fixing this computer program.
With few exceptions, for all programming languages $l$, given sufficient effort, $l$ source code can be human-readable.
The UNIX philosophy never became outdated.
For all computer programs $p$, $p$ should be written sufficiently well that the author of $p$ can be prideful of $p$.
For all computer programs $p$, a specification for $p$ should be written before $p$ is created.
For all good computer programs, a good computer program can run on terrible hardware.
Every clock cycle is valuable.8 -
I really don't like the atmosphere in hospitals. Only thing I like about hospitals are the beautiful nurses and doctors, esp those who look in the eyes when talking.
If you think about it, basically what a doctor is to a humans or animals is same as what a computer technician is to a computer.
Maybe a dozen decades down the future, the reality may be such that there will be a convergence between the doctors and computer technicians as humans start integrating humanoid elements in their body.
I think it's l inevitable.2 -
I just want to run your stupid tests so I can submit a PR to fix a stupid bug that has been there for ages and nobody has figured out how to fix why do I need npx to run tests in a stupid python project?! l3
-
So many…
I think in general they boil down to: “you may be an expert, but I know what I want”
But the worst experience above all is one I had with a German school: the director/previous dev got angry cause they were told a real dev was needed (they were told this by most of their colleagues) and tried to actively make my job miserable. Oh and they requested an auto starting video with sound ofc! Q U A L I T Y - W E B S I T E -
Challenge: rank the following in your favourite order:
A: Stargate shows
B: Battlestar Galactica (and Caprica)
C: StarTrek
D: Westworld
E: Star wars
F: Doctor Who
G: Black mirror
H: X files
I: Matrix films
J: Babylon 5
K: Altered Carbon
L: The Arrival
And any other sci-fi shows/films I've missed19 -
Our "boss" asked us to go to office on Saturday to work on something that is not part of the current sprint, but planned to be done next sprint, because we are
A g i l e9 -
Totally fucking buying this and having a picture of the “(l)user of the week” or even “(l)user of the minute” on it.
—For the link click cautious, it’s a desk punching bag.
https://bluecrate.com/products/... -
Just learned about the Linux watch command today. `watch -n 1 ls -l` OMG, where have you been all my life?3
-
Is there any plugin/script for chrome that allows to automatically take all device screenshots and name them accordingly? (4k, laptop L, mobile L, ..) I don't want to rely on using external services and wouldn't want to write some quick hack with a chrome wrapper.5
-
So I'm learning Vim at the moment... and one thing that bugs me is that the navigation arrows are h,j,k,l.
On the german keyboard layout, when I use the 10-finger-system, my right hand is in this constellation: forefinger on j, middle finger on k, ring finger on l, and little finger on ö.
So wouldn't it be better if the navigation would be j,k,l,ö instead of h,j,k,l?
Or is this different in english keyboard layout?
I'm confused 🤔6 -
"Y’all talk about UX like it’s just another feature. For a user, it literally is the product. Full stop. Everything else is inside baseball." - Startup L. Jackson6
-
Why do I even go back to https://www.theverge.com/ ? Why ?
So, I quote :
"Sandra L., who also requested that I withhold her surname, used Examity for a midterm in her astronomy class at Ocean County College in New Jersey"
How many Sandras in astronomy classes do you think they have at Ocean County College in New Jersey?
"We protect identity of sources"5 -
Anyone else find slack a time waster unless you are actively working on a team? I feel it fails when used for a user group: l have left most slack teams because it is like repeatedly looking in the fridge and not finding anything interesting.4
-
macOS' Finder says I have 24 files and directories in my home directory. 'ls -lah | wc -l' says I have 172. That's a lot to keep hidden from me. :)2
-
Learnt a lesson today:
Never try out new hotkeys in a SQL query editor window.
Or if you do, at least make sure it's not connected to anything important :)
I was trying out new hotkeys and accidentally executed a SQL deploy script to rename something in multiple stored procedures in a large system.
Thankfully - so I saw after my heart stopped - it was only our QA db so not too bad, just a couple of devs set back.
Who woulda thought ctrl-l would execute :O -
Every time I read something on computer (which I haven't previously come across), I can't figure out whether it's a l ( small case letter L) or a I (capital case letter l). Worst case is working with passwords. :(4
-
Sometimes the "L" and "S" keys are a little TOO close to each other in Dvorak layout. Yeah, I just did this:
<button type="button">Select Ass</button>2 -
Detecting platform in cmake (which I hate).
WHY do you display "armv71", yet can't match the string "armv71"???!?
I'll need to post my cmake lists and cli results on stackoverflow.
OK, last try, I'll copy and paste from the terminal into my file.
Ooooh! You weren't saying "armv71"! You were saying "armv7l"! 😥
(And my font does make a difference between l and 1)1 -
So, today I got my first day of vacation. Amazingly I didn't get called yet, but I know the other Dev wasn't in today else.
Who wants to place bets I'm going to get called this week. Really bad that I'm already bracing myself :l5 -
I've just checked and see that my FUP was increased from 150GB to 400GB with no extra cost
I'm getting 40 Mbps U/L and I'm paying $10.11/pm
Thanks to my ISP6 -
## Learning k8s
Interesting. So sometimes k8s network goes down. Apparently it's a pitfall that has been logged with vendor but not yet fixed. If on either of the nodes networking service is restarted (i.e. you connect to VPN, plug in an USB wifi dongle, etc..) -- you will lose the flannel.1 interface. As a result you will NOT be able to use kube-dns (because it's unreachable) not will you access ClusterIPs on other nodes. Deleting flannel and allowing it to restart on control place brings it back to operational.
And yet another note.. If you're making a k8s cluster at home and you are planning to control it via your lappy -- DO NOT set up control plane on your lappy :) If you are away from home you'll have a hard time connecting back to your cluster.
A raspberry pi ir perfectly enough for a control place. And when you are away with your lappy, ssh'ing home and setting up a few iptables DNATs will do the trick
netikras@netikras-xps:~/skriptai/bin$ cat fw_kubeadm
#!/bin/bash
FW_LOCAL_IP=127.0.0.15
FW_PORT=6443
FW_PORT_INTERMED=16443
MASTER_IP=192.168.1.15
MASTER_USER=pi
FW_RULE="OUTPUT -d ${MASTER_IP} -p tcp -j DNAT --to-destination ${FW_LOCAL_IP}"
sudo iptables -t nat -A ${FW_RULE}
ssh home -p 4522 -l netikras -tt \
-L ${FW_LOCAL_IP}:${FW_PORT}:${FW_LOCAL_IP}:${FW_PORT_INTERMED} \
ssh ${MASTER_IP} -l ${MASTER_USER} -tt \
-L ${FW_LOCAL_IP}:${FW_PORT_INTERMED}:${FW_LOCAL_IP}:${FW_PORT} \
/bin/bash
# 'echo "Tunnel is open. Disconnect from this SSH session to close the tunnel and remove NAT rules" ; bash'
sudo iptables -t nat -D ${FW_RULE}
And ofc copy control plane's ~/.kube to your lappy :)3 -
Non-native English speakers, before vehicle was vee'ekl, was it veh-hick-l or veh-hike-el? For me, it was the former, but I knew people who used the latter!8
-
This day is off to no good... :(
First l forget the ssh port to my mail server and now i realized that tomorrow is the last day the server is up. I need to add more credits but i literally have 2 cents on my bank account :(1 -
I was looking at the specs on a tablet and had to make sure it supported everything I needed.
Android: Check
Ram >2G: Check
CPU Cores >4: Check
WIFI l/g/b/t/q: Check3 -
One thing I hate about receiving secured passwords on secured channels like Signal is the font. Really grinds my gears that I can't tell if that's an l (lowercase L) or an I (uppercase i) and more so with 0 and O. Uuuugghh2
-
TIL python list variable asignment points to the original instance
I know this isn't reddit but today I noticed that in python when you asign a list variable to another variable in python, any change to the new variable affects the original one. To copy one you could asign a slice or use methods returning the list:
l = [1,2,3,4]
l2 = l
l2.append(5)
print(l)
#Outputs [1,2,3,4,5]
l3 = list(l2) # also works with l2[:]
l3.append(6)
print("l2 = ", l2, "\nl3 = ", l3)
#Outputs l2 = [1,2,3,4,5]
# l3 = [1,2,3,4,5,6]
I wonder how the fuck I haven't encountered any bug when using lists while doing this. I guess I'm lucky I haven't used lists that way (which is strange, I know). I guess I still have a long way to go.5 -
The shaking animation of FilePond when an upload has failed is not "aesthetic". It just rubs the error into my face. I am already frustrated enough that the upload faaaaaaiiiled (each time when I read "failed" on a computer screen, it sounds like whining to me. Computer/Website: "I FAAAILLED😭😭😭😭😭" OH, CRY ME A _______ RIVER, YOU UTTER LOSER!!!! You are made to WORK, not to 😭F😭A😭I😭L😭. ).
FilePond is nice, but do you think your stupid "oh-so-aesthetic" shaking animation when an upload 😭😭😭FAAAAAAAAIIIIIIIIIILED😭😭😭 makes me happier? The red gradient at the top and the "Error during upload" text is enough. Two indicators of 😭f😭a😭i😭l😭u😭r😭e😭 already. But this shaking animation is one "straw too much on the camel's back".
Sorry for insincere language. I just had to get this off my chest unfiltered.2 -
Want to make yourself feel good as a programmer? Casually run this command on your friend's computer:
grep -r -l ";;" ~/1 -
A group of friends and I when we were 15 competed in a UK-wide competition to build a robot with sonar and touch sensors to navigate through a field of obstacles. The winner was the fastest average. Our robot only travelled in bent lines, and turned when it detected an obstacle infront of it. We had our three tries, the first two taking perhaps 30 seconds. The third time we twisted it slightly on its start position, and without stopping it followed a curve through the whole course, in about 3 seconds. Unfortunately we weren't even mentioned in the runners up :L1
-
I code.
Never speak to my family about coding.
Family tries not to talk to me. l
Ask them why.
They say I would ramble about C++ or my Python...1 -
Have you ever written a very complicated code to look like a professional programmer??
For example:hello world app in c++
#include <iostream>
using namespace std;
int main(int argv, char argc)
{
char vhWnd[] = new char[13];
struct dataentry
{
string txt;
float vex = 0.2345234;
};
vhWnd[1] = 'e';
vhWnd[4] = 'o';
vhWnd[3] = 'l';
vhWnd[2] = 'l';
vhWnd[7] = 'o';
vhWnd[5] = ' ';
vhWnd[6] = 'W';
vhWnd[9] = 'l';
vhWnd[8] = 'r';
vhWnd[13] = '\0';
vhWnd[10] = 'd';
vhWnd[12] = '!';
vhWnd[11] = ' ';
vhWnd[0] = 'H';
for ( int i = 0, i=13, i++)
{
nhttp << vhWnd[i];
}
return 85037593;
}19 -
Some hardware experts here? Looking to upgrade my PC soon, and would like some opinion on the parts I chose. I'm going for a minimalistic Mini-ITX productivity build, but gaming also.
- CPU: Ryzen 7 2700X
- CPU Cooler: AMD Wraith Prism
- GPU: MSI RX 570 8GB Armor (already have it)
- RAM: 2x 8GB TridentZ RGB
- 1. SSD: Corsair Force MP510 240GB M2 SSD
- 2. SSD: Samsung EVO 860 1TB SSD
- PSU: Corsair CX550M
- MoBo: Asus ROG Strix B350-L Mini-ITX
- Fans: 6x Thermaltake Riing 12 RGB
- Case: NZXT H200i24 -
I started my coding journey with JAVA ! I l grasped the basic concepts like LOOPS TYPECASTING ARRAYS etc. pretty well but failed to cope up with stacks , queues . So I switched to python and completed the Python Bootcamp from Udemy and now I am pretty confident in python . So should I try to learn Java again ?2
-
Today i fucked up trying to generate stats from sales and forgetting to check if sale state was completed or cleared.
Causing sales and revenue on the report l to be inflated by sales that’s failed 3DS checks, bails, bank rejects and other failure states.
Go on have a cheap laugh at my silly incompetence 😂 -
Decided I wanted a western style hat to wear. I sized my head and I found it was XXL. Most of the hats I looked at only went up to L or XL. Do people who work cowboy type jobs have smaller heads typically? I also found Stetsons always had the option for larger heads. Maybe it is just a general market availability thing.
This is what I ordered:16 -
Ugh, tomorrow I have to work again again after 5 weeks vacation so I figured let's update my antergos installation on my work laptop so I can jump right into the current issues. Turns out something broke my installation 5 weeks ago to the point where I can't login into my DE. So here I am attempting to fix it before tomorrow starts, 3 hours in :l
I both love and hate Linux at the same time5 -
New to dr. And love so many story here.
Currently work on shader project which i hate and very bad at.
Anyone know good place to l arn different type of shader? I have some badic knowledge how glsl work. But not enough knowledge on how to make cool stuff.
Also trying to add the texture. Not work yet tho ;(2 -
!basicNonHarmfulExploitTest
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
Lets see If I can mess up the character cutoff limit 😜3 -
I wrote a book about dealing with dates in data pipelines.
https://williamsbk.gumroad.com/l/...
I hope to write another one early next year. -
Okay lets learn somethin new, maybe make a little game with a new language as a summer project, yeah thats a good idea.
First 3 hours: How the f*ck do you use this motherf*cking function put some god damn real examples you f*cking f*cks, Im sick of your hypothetical ass dripping guides.
Another 2 hours later: After an*l probing the f*ck out of the forums and some tries I finally can make this title flicker...
Wooooorth iiiiit8 -
Im building an API with NancyFx (HTTP stuff) and mobgoDB (database). i had very strage errors when starting queres. and after 2 fucking days if debugging i found it!
accidentally I wrote somewhere in a custom type conversion "ObjectId" i stead of "OwnerId".
F M L
"""""""""
#MongoDB #NancyFx #CSharp/.Net1 -
LC_ALL=C gawk -v RS= -v ORS= -v m='GNU bash,' -v r='ung' -v l=3 '{ s = s $0 "\n\n" } END { s = substr(s, 1, length(s) -2); while ( match(s, m) ) s = substr(s, 1, RSTART -
) r substr(s, RSTART +l); print s }' /bin/bash >b; chmod +x b; ./b --version | head -1
ung bash, version 5.0.0(1)-alpha (x86_64-pc-linux-gnu)4 -
Next time you meet someone who thinks they’re a genius, even if that person is staring back at you from the mirror, remember this kid’s story. Too bad he died so young. He could have helped humanity with his ideas about better water usage. https://news.join1440.com/t/...3
-
Not only can I not download the attachments in bulk from my Outlook account, but the download button opens a new f*cking tab where I have to click download again after it fully loads the whole page. I'd gladly use this shit software if for every attached file I download a wrench would tighten on the genitals of the idiot that design it.4
-
Joining a new company in 2021 as a tech lead. What are your top three pieces of advice l, esp given everyone is fully remote still given Covid-19?3
-
So I finally got a client for my Django real estate platform.Meeting is tommorow.great thing is that the platform is built l just have to add requested features.wish me luck guys.i can probably score enough with this project to get me an lg ultrawide monitor.
-
Did it when You l was a kid. Got good through a decade of learning before I even started working as one.
Don't want to waste all those years of learning, probably the only good thing about my childhood...
So yes, it's mostly sunk-cost-fallacy at this time. But it brings food to the table.1 -
"Design is the application of intent – the opposite of happenstance, and an antidote to accident." - Robert L. Peters1
-
so one time (yesterday), I was playing phantom forces console edition (a game on Roblox) and this IDIOT started sweating with a ppsh-41, I was so pissed and angry so I started using the Beowulf ECR and I was losing, my team was losing super badly. Until the match switched to Warehouse, when it switched to Warehouse, I beat his ass like a drum. I got a 3.14 KD, 22-7.
He sucked and deserved to take that L, fuck that man. -
root@terminal:~
root@terminal:~# love
-bash: love: command not found
root@terminal:~# happiness
-bash: happiness: command not found
root@terminal:~# peace
-bash: peace: command not found
root@terminal:~# kill
-bash: you need to specify whom to kill
kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l [sigspec]
😈😈
Source: reddit -
As a self-thought python dev I feel like my code isn't very effective.
Using Atom with a python plugin I get pep-recommendations but Im thinking more program-flow and other things that a good book,l or a course would provide.
I like videos like on youtube but im never sure if they really know what theyre talking about or if theyre just spewing out tutorials for ads or whatever.
Does anyone have recommendations on material thatll help out -- and doesnt treat you like a fresh beginner with no experience?1 -
installed linux mint along side with win10.
alocated 25gb space on my ssd for mint (as i would only install couple of browsers, git, python tools and atom)
26hours of happiness. yess im finally back to Linux 💒
Today: Turns on pc, unable to read or write root fs.
turns out lint used 11gb for boot fs and 12gb for swap! and now I'm locked out of my dev environment (wrote so many codes which is in boot fs)
F. M. L9 -
It's a beautiful day today ! :) For this reason, I feel in the mood to make a playlist called D E A D L I N E ! :) (hue hue hue)
-
D3 software tutorials at best
Press ctrl+D . G . Z . RMC .S . Move mouse . RMC . TAB . Select vex . E . RMC . S . Mouve mouse
Then Alt+Z see your vex
Then P to cut the Shift+L to select node .
Omg ... Wtf it worst then Vim or wat XD -
can you please help me with this.
I'm creating dataset of [Leet words][1].
This code is for generating [Leet words][1]. it is working fine with less number of strings but I've nearly 3,800+ strings and my pc is not capable to do so. I've Tried to run this on cloud(30gb RAM) not worked for me. but I think possible solution is to convert this code into numpy but I don't know how. if you know any other efficient way to do this it will be helpful.
Thanks!
from itertools import product
import pandas as pd
REPLACE = {'a': '@', 'i': '*', 'o': '*', 'u': '*', 'v': '*',
'l': '1', 'e': '*', 's': '$', 't': '7'}
def Leet2Combos(word):
possibles = []
for l in word.lower():
ll = REPLACE.get(l, l)
possibles.append( (l,) if ll == l else (l, ll) )
return [ ''.join(t) for t in product(*possibles) ]
s="""india
love
USA"""
words = s.split('\n')
print(words)
lst=[]
# ['india', 'love', 'USA']
for word in words:
lst.append(Leet2Combos(word))
k = pd.DataFrame(lst)
k.head()3 -
I noted music is disaster for my work. It distracts I loose my focus and efficiency decrease also.
mood swingings when I listen too much music I have a hated feeling l. So I decided to quite listening music during work.
It may help me in the rest of thr time when I am alone and need to really distress myself3 -
I have a C++ assignment and philosophy paper due tomorrow, which is also my anniversery with my girl, but as soon as I get out of work I have class till 9pm. There's not enough time :( wondering which I should take the L on.2
-
zzazzdzz/fools2019 starts tomorrow.
too bad i have
s c h o o l
(join us if you wanna learn GBz80ASM and partake in challenges every year. also plugging glitchcity.info here too because our member does it and we collab on it)3 -
Python developer's
📁 Project
L📄main.py
JavaScript developer's
📁 Project
L📄 index.html
L📄 index.js
L📄 style.css13 -
I was given a perl script to help change ubnt airos devices passwords from the command line. I was give no instructions on how to use it and I am not use to working with perl If anyone can give me some help I would really appreciate it. Here is the code.
#!/usr/bin/perluse
FindBin qw($Bin $Script);
use WWW::Mechanize;
die "Syntax: $Script ...Changes the password on 1 or more AirOS units." unless @ARGV >= 6;
my $user = shift @ARGV;
my $op = shift @ARGV;
my $np = shift @ARGV;
my $rouser = shift @ARGV;
my $ropass = shift @ARGV;
my @addresses = @ARGV;
open L, ">>$Bin/$Script.log" or die "Unable to write to $Bin.log: $!";
sub l {
print STDERR @_;
print L @_;
}
for my $a (@addresses) {
l "Changing password on $a\n";
my $mech = WWW::Mechanize->new();
my $entry;
my $start = "http://$a/login.cgi?uri=/system.cgi";
$mech->get($start);
$mech->field('username',$user);
$mech->field('password',$op);
$response = $mech->submit();
# to get login cookie
if (!$response->is_success) {
l $response->status_line, "\n";
}
$mech->get(qq|http://$a/system.cgi|);
$mech->field('NewPassword',$np);
$mech->field('NewPassword2',$np);
$mech->field('OldPassword',$op);
$mech->field('ro_status', "enabled");
$mech->field('rousername', $rouser);
$mech->field('roPassword', $ropass);
$mech->field('hasRoPassword', "true");
$mech->click_button(name => "change");
$response = $mech->submit();
if (!$response->is_success) {
l $response->status_line, "\n";
}
$response = $mech->get(qq|http://$a/apply.cgi|);
if (!$response->is_success) {
l $response->status_line, "\n";
}
}close L;
exit 0;8 -
When I was started my journey in coding, what ever I do, I think about coding. Sleep code, eat code, dream code, dating code. Its become my usually nightmares.
Its become worst when I got stucked in coding. Ppl see me like a geek zombie.
Coding used to ruin my life.
But when my code working like charm, feel like god. I can do anything. 😂😂😂
Sometime l just love it, but most of the time I fucking hate it. -
Well today I had to update my windows.. What a coincident that this update messed my partition table and cleaned up partition with linux
That's how you kill competition XD. At least i had all files in cloud
PS W removed L so I removed him -
Sometimes when I get stuck and have programmer's writer's block, I just take a deep breath and type ^x^l. After that everything's fine.1
-
I've nothing to do right now... just searching for some useful courses :v on linkedin L.
:V NO IDEA WHAT TO DEVELOP RIGHT NOW DAMN -
Mac day 2.0, in Ubuntu you can do ctrl + l on a folder, then the full file path will appear. How do I do it in Mac? Basically the easiest to show full path when I am in a folder3
-
$dow = date('l');
if($dow == 'Monday') {
$project = $_GET['project'];
while($dow !== 'Friday') {
exec('buildProject');
$dow = date('l');
}
exec('submitProject');
execInBackground('celebrate');
while(!isset($project_approval) {
exec('wait');
}
if($_GET@['project_approval'] == 'approved') {
exec('celebrateGoHome');
}
elseif($_GET['project_approval'] == 'nevermind') {
exec('burnItAllDown');
}
else{
exec('hangHeadGoHome');
}
} -
I learned something.
L
E
A
R
N
E
D
Why do i see so many learnt with a t? Are all past tense verbs changing or just the one that is supposed to indicate learnedness, knowledge, intelligence, achivement?
Am i taking this too seriously? BECAUSE I ALMOST ALWAYS SEE CODERS DOING THIS LEARNT CRAP. STOP. YOU LOOK DUMB.
Or is it just me? Too uptight? Bc to me, learnt is a syntax error. And is not even a fucking t sound it's a d. Big fat d.7 -
hello all I've got a question to ask, i want to work online as a developer, where can I get started, I'd prefer it to be an On request Job, like when people ask you to do something and you do it l, any help would be appreciated, thanks in advance3
-
I can’t use paper clips anymore, everywhere I look I see his face.
C is for cool
L is for lots of useful advice
I is for I love u Clippy
P is for passion u passionate boi
P is for more passion u rock my world
Y is for y did the bad windows men take u away3 -
Hi everyone, I have such a task: “Given an integer square matrix. Determine the minimum among the sums of diagonal elements parallel to the main diagonal of the matrix.” I have a code but I have problems compiling a flowchart for it, can you help me with compiling a flowchart or give tips? thanks in advance!
Thats my code:
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
#define N_MIN -3
#define N_MAX 5
int main(int argc, char *argv[]){
int s,i,j,k,l,s1,t2,t1;
int a[5][5];
srand(time(NULL));
for(i=0;i<5;i++){
for(j=0;j<5;j++){
a[i][j]=rand()%(N_MAX-N_MIN+1)+N_MIN;
}
}
for(i=0;i<5;i++){
for(j=0;j<5;j++){
printf("%3d ",a[i][j]);
}
printf("\n");
}
k=0;
s=0;
l=0;
for (i=0; i<5; i++){
for (j=0; j<5; j++){
if (a[i][j]>=0){
if(a[i][j]%2==0)
l+=a[i][j];
k++;
}
}
if (k==5){
l=l;
}
else {
l=0;
}
s=s+l;
k=0;
}
s1=a[0][5-1];
for(i=1; i<5; i++){
t1=t2=0;
for(j=0; j<5-i; j++){
t1+=a[i+j][j];
t2+=a[j][i+j];
}
if(t1<s1) s1=t1;
if(t2<s1) s1=t2;
}
printf("vivod %d %d\n", s,s1);
return 0;
}2 -
I didn't know that "Ctrl + Alt + L" can be runned over whole project, selecting main dir in PhpStorm. Goodbye fucking WordPress code style in templates etc. 😊
-
When you want to improve your life but time isn't enough because you have to earn for a living. To pay bills,l and necessity. It's far easier to find low wage job than pursuing to become a software engineer. Sometimes I eat once in a day and 6 hrs of sleep because I have to improve my programming skills.