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 - "cp"
-
windows update code
function update(){
print("10%");
print("30%");
print("50%");
print("99%");
_doActualUpdate();
_mineBitcoin();
print("100%");
return;
}15 -
Will the bug in my code please stand up?
I repeat
Will the bug in my code please stand up?
I think we have a problem here.
*music intensifies*11 -
Googles best javascript framework.
1st link: react is the best one.
Me: Ignore
2nd link: Angular is the best one.
Me: ignore.
.
.
.
8th link: Vue is the best one.
Me: I knew it.18 -
!rant
I was in a hostel in my high school days.. I was studying commerce back then. Hostel days were the first time I ever used Wi-Fi. But it sucked big time. I'm barely got 5-10Kbps. It was mainly due to overcrowding and download accelerators.
So, I decided to do something about it. After doing some research, I discovered NetCut. And it did help me for my purposes to some extent. But it wasn't enough. I soon discovered that my floor shared the bandwidth with another floor in the hostel, and the only way I could get the 1Mbps was to go to that floor and use NetCut. That was riskier and I was lazy enough to convince myself look for a better solution rather than go to that floor every time I wanted to download something.
My hostel used Netgear's routers back then. I decided to find some way to get into those. I tried the default "admin" and "password", but my hostel's network admin knew better than that. I didn't give up. After searching all night (literally) about how to get into that router, I stumbled upon a blog that gave a brief info about "telnetenable" utility which could be used to access the router from command line. At that time, I knew nothing about telnet or command line. In the beginning I just couldn't get it to work. Then I figured I had to enable telnet from Windows settings. I did that and got a step further. I was now able to get into the router's shell by using default superuser login. But I didn’t know how to get the web access credentials from there. After googling some and a bit of trial and error, I got comfortable using cd, ls and cat commands. I hoped that some file in the router would have the web access credentials stored in cleartext. I spent the next hour just using cat to read every file. Luckily, I stumbled upon NVRAM which is used to store all config details of router. I went through all the output from cat (it was a lot of output) and discovered http_user and http_passwd. I tried that in the web interface and when it worked, my happiness knew no bounds. I literally ran across the floor screaming and shouting.
I knew nothing about hiding my tracks and soon my hostel’s admin found out I was tampering with the router's settings. But I was more than happy to share my discovery with him.
This experience planted a seed inside me and I went on to become the admin next year and eventually switch careers.
So that’s the story of how I met bash.
Thanks for reading!10 -
Meme intended for physics, but sometimes it also happens in progamming. I am looking at you Javascript.
Source: https://theladyscientist.tumblr.com/...4 -
this.title = "gg Microsoft"
this.metadata = {
rant: true,
long: true,
super_long: true,
has_summary: true
}
// Also:
let microsoft = "dead" // please?
tl;dr: Windows' MAX_PATH is the devil, and it basically does not allow you to copy files with paths that exceed this length. No matter what. Even with official fixes and workarounds.
Long story:
So, I haven't had actual gainful employ in quite awhile. I've been earning just enough to get behind on bills and go without all but basic groceries. Because of this, our electronics have been ... in need of upgrading for quite awhile. In particular, we've needed new drives. (We've been down a server for two years now because its drive died!)
Anyway, I originally bought my external drive just for backup, but due to the above, I eventually began using it for everyday things. including Steam. over USB. Terrible, right? So, I decided to mount it as an internal drive to lower the read/write times. Finding SATA cables was difficult, the motherboard's SATA plugs are in a terrible spot, and my tiny case (and 2yo) made everything soo much worse. It was a miserable experience, but I finally got it installed.
However! It turns out the Seagate external drives use some custom drive header, or custom driver to access the drive, so Windows couldn't read the bare drive. ffs. So, I took it out again (joy) and put it back in the enclosure, and began copying the files off.
The drive I'm copying it to is smaller, so I enabled compression to allow storing a bit more of the data, and excluded a couple of directories so I could copy those elsewhere. I (barely) managed to fit everything with some pretty tight shuffling.
but. that external drive is connected via USB, remember? and for some reason, even over USB3, I was only getting ~20mb/s transfer rate, so the process took 20some hours! In the interim, I worked on some projects, watched netflix, etc., then locked my computer, and went to bed. (I also made sure to turn my monitors and keyboard light off so it wouldn't be enticing to my 2yo.) Cue dramatic music ~
Come morning, I go to check on the progress... and find that the computer is off! What the hell! I turn it on and check the logs... and found that it lost power around 9:16am. aslkjdfhaslkjashdasfjhasd. My 2yo had apparently been playing with the power strip and its enticing glowing red on/off switch. So. It didn't finish copying.
aslkjdfhaslkjashdasfjhasd x2
Anyway, finding the missing files was easy, but what about any that didn't finish? Filesizes don't match, so writing a script to check doesn't work. and using a visual utility like windirstat won't work either because of the excluded folders. Friggin' hell.
Also -- and rather the point of this rant:
It turns out that some of the files (70 in total, as I eventually found out) have paths exceeding Windows' MAX_PATH length (260 chars). So I couldn't copy those.
After some research, I learned that there's a Microsoft hotfix that patches this specific issue! for my specific version! woo! It's like. totally perfect. So, I installed that, restarted as per its wishes... tried again (via both drag and `copy`)... and Lo! It did not work.
After installing the hotfix. to fix this specific issue. on my specific os. the issue remained. gg Microsoft?
Further research.
I then learned (well, learned more about) the unicode path prefix `\\?\`, which bypasses Windows kernel's path parsing, and passes the path directly to ntfslib, thereby indirectly allowing ~32k path lengths. I tried this with the native `copy` command; no luck. I tried this with `robocopy` and cygwin's `cp`; they likewise failed. I tried it with cygwin's `rsync`, but it sees `\\?\` as denoting a remote path, and therefore fails.
However, `dir \\?\C:\` works just fine?
So, apparently, Microsoft's own workaround for long pathnames doesn't work with its own utilities. unless the paths are shorter than MAX_PATH? gg Microsoft.
At this point, I was sorely tempted to write my own copy utility that calls the internal Windows APIs that support unicode paths. but as I lack a C compiler, and haven't coded in C in like 15 years, I figured I'd try a few last desperate ideas first.
For the hell of it, I tried making an archive of the offending files with winRAR. Unsurprisingly, it failed to access the files.
... and for completeness's sake -- mostly to say I tried it -- I did the same with 7zip. I took one of the offending files and made a 7z archive of it in the destination folder -- and, much to my surprise, it worked perfectly! I could even extract the file! Hell, I could even work with paths >340 characters!
So... I'm going through all of the 70 missing files and copying them. with 7zip. because it's the only bloody thing that works. ffs
Third-party utilities work better than Microsoft's official fixes. gg.
...
On a related note, I totally feel like that person from http://xkcd.com/763 right now ;;21 -
I'm sick of how much abuse PHP gets from other programming communities. PHP written well, using PHP 7 is comparatively quick. yes it has its quirks, just like JavaScript, but just because you can do stuff in multiple ways, and the language has a few inconsistencies doesn't make it a bad language. The recursive flag in bash applications changes case inconsistently (I.e. zip and cp) but that doesn't get bashed (lol) half as much....
I think I need to finish my coffee this morning29 -
The best minds of my generation are thinking about how to make people click ads…That sucks.
- Jeffrey Hammerbacher, former Facebook engineer1 -
Lol 😂. I was expecting a mnemonic of some kind but this works too.
https://stackoverflow.com/questions...2 -
. _ _ _ /\/|
/ \ _
| [ 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 -
Well.. I'm a front end developer and this quote is my favourite.
"A user interface is like a joke. If you have to explain it, it's not that good. "4 -
Yo.
His palms are sweaty
Knees weak arms are heavy
Bugs littering his code already
Cold spaghetti 🍝
He’s nervous but on the surface he looks calm and ready to git push
(Hit a blank with thinking of code-related lyrics, anyone got ideas?)16 -
Once I used to wonder how youtube made money.
Now every time I watch a youtube video I am reminded how.12 -
Every. Commit. My Boss. Makes. Is 'cp'. I come in this morning to find 1882 insertions, 143 deletions to master, and this is the commit log for the entire weekend.
How. In the fuck. Am I supposed to effectively work on this project. If I can't keep up with changes.10 -
I got arrested multiple times under acts of cyber crimes...
Yeah, so what if I did? Why is it a problem that I take down CP sites? "Because it's partaking in cyber warfare." Well then the police and the Federal government should execute their job keeping such out of the web space. Now, whenever I find a job, I have to inform due to the judge's final document. And not just that now when I am required to talk to a police officer who has seen my record all they can reckon is to escalate it.
What fantastic horse crap! You get arrested for tracking down child molesters and taking them off the web exclusively...
Some say I'm a social justice warrior, only I don't think that I am. I reckon I am merely an over eccentric programmer who desires to see the real criminals get sent to jail.30 -
Submitting long written text on browser.
Novice:
1. Type
2. Submit
Experienced:
1. Type
2. Ctrl+a Ctrl+c
3. Submit4 -
If I changed girlfriends as often as I changed JavaScript libraries, I'd still be looking for a girlfriend.
Cuz I try and avoid using JavaScript.7 -
Me: Why dosn't cp return an error code when the file in the first argument doesn't exist?
Coworker: Well, you copied a file that doesn't exist to a destination that also doesn't exist, sounds like a successful copy to me.1 -
The number of tabs opened in the browser is directly proportional to the completely of the problem! :p9
-
draw.io is moving to diagrams.net, because .io domains are not secure.
Source: https://diagrams.net/blog/...12 -
What is this ?
U call this wireless security??
Anyway what is the best way of securing hotspots in the airports , hotels , ... ?10 -
My wife is complaining that am spending too much time on devRant. I just told her, am coming here only when windows is updating :p ;)1
-
Useful docker aliases
alias dstart='docker start "$@"'
alias dstop='docker stop "$@"'
alias drm='docker rm "$@"'
alias dip='docker inspect --format "{{ .NetworkSettings.IPAddress }}" "$@"'
alias dls="docker ps"
alias dlsa="docker ps -a"
alias dps="docker ps"
alias dimg='docker images "$@"'
alias drestart='docker restart "$@"'
alias dcommit='docker commit "$@"'
alias dinspect='docker inspect "$@"'
alias dlogs='docker logs "$@"'
alias dcp='docker cp "$@"'
alias dinfo='docker info'
alias dcompose='docker-compose "$@"'
alias dlogs='docker logs "$@"'
alias drshell='docker exec -it -u 0 "$@"'11 -
It's truly amazing how much a single line of perl can do. Such a time saver.
I only wish that I could understand what it does two days later.1 -
import datetime
age=19
while not dead:
today=datetime.datetime.today()
if today.day == 1 and today.month == 4:
age+=1
print("🎉")11 -
Dear Chrome/firefox developers,
If someone presses the back button after they click on a link it means don't load that page and not go back to previous page.4 -
Lets Start a list of all the impertant gnutools, everybody
I start:
- ls
- cd
- pwd
- cp
- $(cd contdir; tar -cf - .) > $(cd destdir; tar -xf - .)
- man
- grep
- vim
- cat
- tac
-19 -
This fucking call is still going, and this asshat who should know how to do SIMPLE FUCKING COMMANDS LIKE MV AND CP is having a hell of a time and I'm about ready to throw my arm at him because I ok hurt like hell and hopefully knock some sense into his brain.4
-
I don't know why quiting vim is such a challenge for new users.
While Quit starts with q , so q is very logical for quiting 😬4 -
If we are living in a simulation then I am pretty sure that the quantum mechanics part was written in javascript.3
-
It took forever to get SSH access to our office network computers from outside. Me and other coworkers were often told to "just use teamviewer", but we finally managed to get our way.
But bloody incompetents! There is a machine with SSH listening on port 22, user & root login enabled via password on the personal office computer.
"I CBA to setup a private key. It's useless anyways, who's ever gonna hack this computer? Don't be paranoid, a password is enough!"
A little more than 30 minutes later, I added the following to his .bashrc:
alias cat="eject -T && \cat"
alias cp="eject -T && \cp"
alias find="eject -T && \find"
alias grep="eject -T && \grep"
alias ls="eject -T && \ls"
alias mv="eject -T && \mv"
alias nano="eject -T && \nano"
alias rm="eject -T && \rm"
alias rsync="eject -T && \rsync"
alias ssh="eject -T && \ssh"
alias su="eject -T && \su"
alias sudo="eject -T && \sudo"
alias vboxmanage="eject -T && \vboxmanage"
alias vim="eject -T && \vim"
He's still trying to figure out what is happening.5 -
Connect a pen drive, format it successfully. Connect to a new machine to copy data and see the data exists.
Crap! which drive did I formatted :(1 -
After months of studying dynamic programming, I can finally say with confidence that I UNDERSTAND NOTHING.7
-
Just in case nobody has mentioned this yet:
Yes Microsoft I do have a dualhead setup.
Yes Microsoft I do want to watch video on my left screen while having window focus on something on the right monitor.
No Microsoft this doesn't mean that I *lost* focus on the left window.
No Microsoft this doesn't mean that I want your Movies and TV application to suddenly minimize (and continue playing anyway) while I focus on some server monitoring window on my right display.
Microsoft, there exist people that use more than your average user with a single C: drive that play Candy Crush on Facebook all day. And the limitations that you currently impose might very well be what keeps the Microsoft UWP applications from getting adopted. Because you know what? SMPlayer, a default application in any of my Linux workstation machines, it does handle such window transitions just fine!
Microsoft, I love how you at least gave us the option to enable Ctrl-Shift-C and Ctrl-Shift-V in WSL and conhost in general over that abomination that is Right-click and Return (those are so random!) that are relics from CP/M. But seriously? At this rate, I'd definitely not call it usable for anyone but those with a single monitor yet.
So please _/\_13 -
Just now I realized that for some reason I can't mount SMB shares to E: and H: anymore.. why, you might ask? I have no idea. And troubleshooting Windows.. oh boy, if only it was as simple as it is on Linux!!
So, bimonthly reinstall I guess? Because long live good quality software that lasts. In a post-meritocracy age, I guess that software quality is a thing of the past. At least there's an option to reset now, so that I don't have to keep a USB stick around to store an installation image for this crap.
And yes Windows fanbois, I fucking know that you don't have this issue and that therefore it doesn't exist as far as you're concerned. Obviously it's user error and crappy hardware, like it always is.
And yes Linux fanbois, I know that I should install Linux on it. If it's that important to you, go ahead and install it! I'll give you network access to the machine and you can do whatever you want to make it run Linux. But you can take my word on this - I've tried everything I could (including every other distro, custom kernels, customized installer images, ..), and it doesn't want to boot any Linux distribution, no matter what. And no I'm not disposing of or selling this machine either.
Bottom line I guess is this: the OS is made for a user that's just got a C: drive, doesn't rely on stuff on network drives, has one display rather than 2 (proper HDMI monitor recognition? What's that?), and God forbid that they have more than 26 drives. I mean sure in the age of DOS and its predecessor CP/M, sure nobody would use more than 26 drives. Network shares weren't even a thing back then. And yes it's possible to do volume mounts, but it's unwieldy. So one monitor, 1 or 2 local drives, and let's make them just use Facebook a little bit and have them power off the machine every time they're done using it. Because keeping the machine stable for more than a few days? Why on Earth would you possibly want to do that?!!
Microsoft Windows. The OS built for average users but God forbid you depart from the standard road of average user usage. Do anything advanced, either you can't do it at all, you can do it but it's extremely unintuitive and good luck finding manuals for it, or you can do it but Windows will behave weirdly. Because why not!!!12 -
An hour before my Mathematical Expression and Reasoning for Computer Science final...
Have reviewed all the material available but past exams are useless because new_prof == new_format.
This is not even a rant, I'm just scared because to get into the major I need an average between this and programming of 82. I fucked up in the second midterm and got a 50/100. Everything was so perfect (at least above 80) and now I need more than 70 in this final. I'm feel I can get more than 70 but I had the same feeling during the midterm I fucked up.undefined is there anybody out there? teach me make-up stuff could not save because brain is full sleep is for the weak does praying work? should i break my leg?25 -
devRant already replace SoundCloud as my orange app in the main screen...
To be fair, SoundCloud was just there to complete the rainbow.
Rant: this app told me that my rant would be safe if I closed the Post Rant window (since I can't post more than one rant per hour or something) but it didn't save my awesome tags! I feel betrayed.undefined fuck it i'm out why not spotify? can't wait for the stickers don't remember the original tags script kiddie af love at first sight finally a rant who's colorblind?23 -
Can i train myself to think like a computer?
Means I wont to the best thing i can do in each second without even thinking ! Just like what a computer does13 -
Wanted to kick off my causine from the network (he keeps downloading and eats all the traffic) with my kali.
Guess what?
I forgot to bring my wifi adapter and my kali was installed on vm which means no chance to send deauth packets!
Allright! Maybe next time 😬 -
Expectation: I'm going to spend today debugging my app
Reality: adds 10 new features, 30 got commits and some Easter eggs. No bugs fixed. -
I propose a list of interesting readings. Not limited to developing.
Yes, I'm in need of something new to read...
I'll start in the comments, feel free to comment new readings or critique the ones proposed.29 -
Personal project: I design and build single-board computers with old processors like Z80, 6502 etc when I'm not being too lazy. A few run CP/M. One that's been more interesting in terms of digging deeper has been an 80C188, for which I've written a BIOS (despite the chip's built-in peripherals and interrupts being at non-standard addresses) mostly in C, which it can use to boot DOS from an image file on an SD card (bit-banged off the UART chip with FatFs). (Yes it's slow, but so is a 5.25" floppy.)
Work: My first project at my current job. Not particularly exciting compared to some stuff on here, but it got me into making useful contributions to the open-source CRM we used at the time. Was building a basic extension to deal with duplicated organisation names. So learned CiviCRM fairly deeply, a bit of Drupal, a bit of PHP. It's a shame we don't use that system any more, the community was cool.7 -
OKAY
WHO THE FUCK DESIGNED THIS STUPID ANDROID EMULATOR.
ALL I WANT TO DO IS LISTEN TO MY MUSIC WHILE PROGRAMMING
BUT NOOOOOOO
WHENEVER THE FUCKING EMULATOR IS OPEN THE QUALITY OF THE MUSIC IN MY BLUETOOTH HEADPHONES GOES TO aBsOluTe SHIT.
CMON GUYS. GET YOUR HEADPHONES OUT OF YOUR ASS AND TEST YOUR FUCKING SOFTWARE12 -
I was trying to understand the source code of aircrack-ng which is written in C today.
Suddenly I saw sth strange !
WTF !! what is #ifdef ??? I've never seen that before !
So I told myself : hey ! You have to download a complete C programming course!
so I did , but when I skimmed through the titles , again:
WTF ! I know all of them! So why the fuck I could not fully understand the code ? Where can I find anything I missed ?
So... I'm asking U :)14 -
So... as a follow-up to my previous rant (https://www.devrant.io/rants/899731)
I happened across this today and started giggling internally.
Enjoy1 -
I was wondering all day:
Can machine learning really teach a machine how to think?
I mean in a real unexpected situation that even a human may be confused , how a trained bot would react?17 -
Some programmer forget to put ; at the end of their commands,
My problem is that i forget not to put ; while coding in python :/4 -
Have u ever thought 24h is not enough?
I wish i 48h or even more but wishing won't change anything :(8 -
In the worls of coding what matters is the algo and it's optimization
Any recommandation for proving my skills?
👑
Thank a LOT. 😊4 -
Dev.to app asks me to type in my github username and password into the github login page opened in their app. Is there no better way to do OAuth on Android apps?8
-
Buys a product on amazon.
"Intelligent" ML based Amazon backend services: This guy just ordered a product. He might not want to see any ads showing him the exact same product because he already bought it and will not want to buy another until he loses the first one which might take a while.
Result:
User.showAdsRelatedTo(productName)
Meshine learning ¯\_(ツ)_/¯7 -
I really despise solving competitive programming problems.
I truly believe it's okay to struggle with them and that people have different abilities. But these kind of problems are an easy way to make you hate yourself and think of yourself less.
I can't solve this problem --> I'm not a good programmer --> I'm not smart enough --> I'm not good enough like my peers who work at FA*G companies, ...
I know these interview problems are a filter and that recruiting is hard and the demand is always high and that they are nothing like the real work but, the reality is, you need to prepare if you want to get into one of the big companies with better perks and maybe better projects.3 -
My code be like:
Call the method cronk...
WROOOONG MEEETTTTTTTHHHOOOOOOOOOOOOOODDDDDDDDDDD!!!
*climbs out of alligator pit*
Why do we even have that method -
Watched an action hack movie
Then designed a scenario to sniff around a bank and get the encrypted key and finally extract the key and omg!
I've broke into the bank !!!
But seriously, is it worth trying?
I'm not going to do any thing stupid like even taking a dollar , but is it just the way I thought it is?
Will anything unexpected happen?16 -
I think I can learn English here.
HAHAHA
I can also learn professional knowledge.
**I am a Korean.**
And...
Succeed!
Android studio AVD powered pictures4 -
A developer said to me: developers may hurry to finish the project before deadline that they might miss many security bugs specially in the updates. That a creative hacker will later take his time and exploit them.
Is it correct ?3 -
FUCKING HELL!
I just shutdown my computer after deciding to leave the unfinished feature that I started a couple hours ago for tomorrow.
Not 5 fucking minuets later I had found a solution in my head but now don’t want to spend the time to turn my computer on to fix it. Ugh1 -
Flex + CSS grids is awesome. I know I am late. I regret not realizing this earlier. Way earlier.
Someone who does not agree with me please read this: https://css-tricks.com/snippets/...4 -
After ten years of working sh*t jobs I finally got the chance to study CompSci at a top university... All the kids look at me as if I've been programming for years, truth is I just study a lot because my scholarship requires me to get B+ or above.
-
Working at least 12 hr a day is in my daily routine.
Each minute must have an exact purpose and should not be wasted
(That is just a theory and does not mean that I actually manage to do it everyday) -
This is a story of how I did a hard thing in bash:
I need to extract all files with extension .nco from a disk. I don't want to use the GUI (which only works on windows). And I don't want to install any new programs. NCO files are basically like zip files.
Problem 1: The file headers (or something) is broken and 7zip (7z) can only extract it if has .zip extension
Problem 2: find command gives me relative to the disk path and starts with . (a dot)
Solution: Use sed to delete dot. Use sed to convert to full path. Save to file. Load lines from file and for each one, cp to ~/Desktop/file.zip then && 7z e ~/Desktop/file.zip -oOutputDir (Extract file to OutputDir).
Problem 3: Most filenames contain a whitespace. cp doesn't work when given the path wrapped in quotes.
Patch: Use bash parameter substitution to change whitespace to \whitespace.
(Note: I found it easier to apply sed one after another than to put it all in one command)
Why the fuck would anyone compress 345 images into their own archive used by an uncommon windows-only paid back-up tool?
Little me (12 years old) knowing nothing about compression or backup or common software decided to use the already installed shitty program.
This is a big deal for me because it's really the first time I string so many cool commands to achieve desired results in bash (been using Ubuntu for half a year now). Funny thing is the images uncompressed are 4.7GB and the raw files are about 1.4GB so I would have been better off not doing anything at all.
Full command:
find -type f -name "*.nco" |
sed 's/\(^./\)/\1/' |
sed 's/.*/\/media\/mitiko\/2011-2014_1&/' > unescaped-paths.txt
cat unescaped-paths.txt | while read line; do echo "${line// /\\ }" >> escaped-paths.txt; done
rm unescaped-paths.txt
cat escaped-paths.txt | while read line; do (echo "$line" | grep -Eq .*[^db].nco) && echo "$line" >> paths.txt; done
rm escaped-paths.txt
cat paths.txt | while read line; do cp $line ~/Desktop/file.zip && 7z e ~/Desktop/file.zip -oImages >/dev/null; done3 -
I 'm working with python 3:
Was about to make my app print a text letter by letter (same as somebody's typing the text) and read it at the same time.
I wrote a method for typing and works fine but cannot find a solution for the tts and make them run at the same time.
Can U halp me please ?
Thanks in advance 😊2 -
I've caught cold yesterday and I've slept for more than 6hr today :/
Going to sleep agsin just wanted to tell it to someone -
I was wondering !
As a computer geek I would like to know everything from mathematics to programming , robotics and machine learning but as I go , new technologies appear and it's
just like an endless while loop!
I don't mean I wanna stop learning new things but just looking for a more effitient way for doing this!
Any idea about this?1 -
what is the point of having massive HR departments if something as expected and frequent as university hiring can't go smoothly?
i managed to reach the interview round for a big 4 firm only for the interviewer to not show up for 4 hours from my time slot (i waited the entire time - took periodic screenshots for proof), HR to say "we'll reschedule your interview, this happened because of internal miscommunication" more than THREE months ago, and dip. until december they'd repeat the same. now they've ghosted. thanks, virtual hiring.
how is it the candidate's fault? found out this isn't rare by speaking to a few others from my network who i knew were interviewing for the same firm. for students whose lives can change completely based on the outcome of an opportunity that they came across due to sheer luck and could definitely make use of because of their hard work - this is so heartbreaking and demotivating.1 -
Replaced a colleague's busted HDD and gave him the old one to copy over stuff.
When I came back, the guy was about to copy over the root folder of the old one over the new one .... And I mean 'drag and drop' not even 'cp -r' -
Got my first job, 3rd year student from my country took me in to help making an app for a company in Texas... All the other guys are from 4th year or graduate school. Feeling nervous, let's hope I don't fuck up.2
-
can't believe it but things actually have started to fall into place on their own, career-wise. feels unreal. need to work enough to afford a cottage with a cobblestone path & my life will be complete2
-
(Saturday morning)
Me: I've never been so long without exercising (since before this, my first winter), I should get in shape now that this God forsaken weather is finally reaching livable levels.
(some time later at the gym)
Also me: You've always been in good shape, why stop with just chest, let's do some arms and shoulders.
(48 hours later, Monday morning)
I had to turn my whole torso to look if any car was coming while walking to the library, moved like terminator because of the massive neck muscle pain, suffered through the pain of setting up all my study material to the realize (just now) I can't even fucking look down to my notebook... Can I be more stupid?undefined i'd rather be hungover all bodies are beautiful therapist or massage therapist? can i eat that with a straw? hasta la vista baby -
I have a new personal project that I hope I'll share with you guys one day. It just came to me. A fog simulation for a window manager such that it has fog behind the transparent console while you code and the fog goes in front when the terminal is locked. How about it?2
-
I was searching for an optimized daily timetable which includes programming , learning new stuff , etc.
It would be great if you share your daily routine with me so I can maximize my performance.
Thanks 👍10 -
Haha ! Can't balive i fanally broke this chain and joined a group for statistics final project !
It was soooo difficult but i did it 😎2 -
After working with a coworker on some odd issues, I finally decided to check on the actual ticket he needed assistance with.
From now on, we will optimize our HTML for aesthetic appeal in Chrome's dev tools. display:none is verboten.
Sometimes I wonder if I've had a stroke or if I've died and am in purgatory. -
I learned C with a K&R copy a friend gave me years ago. Now at University we in CompSci get taught in Python the first year and Java next while the engineers start with C and (I'm guessing) move on to assembly later on.
This friend comes to me all worried because he has to submit the next day a working Reversi game for the console written in C. Turns out the game was divided among two labs and he failed to submit the first one.
The guy is smart but once a week or so, when we met to smoke a joint and relax with some other friends, he was always talking about how he would prefer something like law but that would be bad business back in Egypt.
Back to the game, I get completely into it. First hour checking all the instructions he was given, then reviewing the code he wrote and copied from Internet. We decide start from scratch since he doesn't really get what the code he copied do. It took us 10 hours only stopping to eat but we get all the specifications of both labs perfectly.
A week after that he comes to me: "my TA said your code is the ugliest shit he's ever seen but he gave me a perfect score because it passed all the tests". I'm getting better (the courses I'm taking help me a lot) but what really made me happy is that he solved the next lab by himself (Reversi wasn't the first time I helped him, only the first time he was absolutely lost). Now he actually gets excited about coding and even felt confident for his programming final.
No more talking about being a lawyer after those 10 hours, totally worth it.1 -
After a few days of debugging why sessions where getting lost in some versions of IE11 when all the other browsers where working just fine.
I found the solution in giving IE a potato.
Solution:
header ('P3P: CP='Potato')1 -
Today I learned:
In Java, you're supposed to compile a source file in its package one directory up, outside of its package. You can't compile the source file in its own package directory, for it will state "cannot find symbol" on files in the same package, even though they're in the correct package directory. That can be quite confusing at first.
Given the following directory structure:
|_
|_ \pkg
|_ _ Src1.java
|_ _ Src2.java (interface with static method)
and the following source:
package pkg;
public interface Src2 { static void doStuff() { ... }; } // assuming JDK8+, where static default methods are allowed
package pkg;
public class Src1 { public static void main(String[] args) { Src2.doStuff(); } }
..being inside the pkg/ directory in the console,
this won't work:
javac -cp . Src1.java
"cannot find symbol: Src2"
However, go one directory up and..
javac -cp pkg/*.java pkg/Src1.java
..it works!
Yeah, you truly start learning how the compiler works when you don't use the luxury of a IDE but rather a raw text editor and a console.1 -
How do you define a seniority in a corporate is beyond me.
This guy is supposed to be Tier3, literally "advanced technical support". Taking care of network boxes, which are more or less linux servers. The most knowledgable person on the topic, when Tier1 screws something and it's not BAU/Tier2 can't fix it.
In the past hour he:
- attempted to 'cd' to a file and wondered why he got an error
- has no idea how to spell 'md5sum'
- syntax for 'cp' command had to be spelled out to him letter by letter
- has only vague idea how SSH key setup works (can do it only if sombody prepares him the commands)
- was confused how to 'grep' a string from a logfile
This is not something new and fancy he had no time to learn yet. These things are the same past 20-30 years. I used to feel sorry for US guys getting fired due to their work being outsourced to us but that is no longer the case. Our average IT college drop-out could handle maintenance better than some of these people.11 -
After 8 hours of carefully installing Gentoo in my laptop I ended up with a... Completely unusable OS. Guess I'll try again tomorrow, apparently I didn't set up the kernel with the appropriate drivers.undefined there is no such thing as wasted time and you complain about arch no pain no gain? ping 6.6.6 at least the keyboard lights work2
-
I was working on a simple notebook project in java (console app)
But I think I need a little help :
When user wants to edit a note , he should write the note all over again!
How can insert the current note in console(like user input) so that the user can iterate and modify the text ?
Thanks3 -
Fuck you stackoverflow. You should have told me this before I changed my username. Did you expect me to know this somehow???9
-
WHAT COCKSUCKING LUNATICS DECIDED TO MAKE A PDF ONLY ABLE TO DOWNLOAD WITH JAVASCRIPT.
I CANT DOWNLOAD YOUR FUCKING PDFS TO SIGN BY TONIGHT BECAUSE ALL I HAVE IS MY IPad. WHICH DOESNT FUCKING HAVE JAVASCRIPT
THERE IS A TIME AND A PLACE TO USE JAVASCRIPT AND THIS IS NOT ONE OF THEM. GO CASTRATE YOURSELF WITH A RUSTY KNIFE5 -
OMG... I want to thank my mother for changing my diapers for many years, my brother for all the games he no longer plays, my wife for actually making money, my plant for the awesome smell, God for maybe doing something (I guess), thanks @dfox, @trogus, and each one of you guys that deemed my rants worthy of your ++.1
-
All code and no tests makes a software buggy, hard to maintain and a pain in the ass to work with.3
-
So an update on my last health rant..
It's got off to a great start... not
My intentions were to go into NYC to walk around in Central Park.
I'm currently wandering around aimlessly in the park, taking a break..
On my way over though I passed a bubble tea festival that was happening...
Gotta get bubble tea now... *Bad* but easier it's so expensive.. They're price gouging!!!
*good? But more I want a drink... I have water but I want something tastier...*
**Sees Duane Reade, goes in no sole, too expensive**
** Sees McD...pass... sees sign saying any large drink for $1**
...
I'm now waking in CP while drinking a large Sprite.... and I want cake bc I'm already in NYC goddammit... might as well get some as it's in the way... And I won't get another chance until.... **Some far away date** ( I know is probably not true...)
Help?1 -
Just noticed github shows Infinite contributors for chromium repository. (https://github.com/chromium/...).
Also, I clicked on the contributors tab and the page is still loading. Guess it will take infinite amount of time to finish loading :?3 -
when you're in /etc/apache2/sites-available, you want to set up a second domain so you duplicate the config but you type mv instead of cp and discover it after you set up the 'second' domain
fuuuuuuuck1 -
every day my boss says he'll review the requirements for our product. every day he forgets to do so. every day he asks where the update for the next stage is. every day i remind him. every day he forg ---2
-
Decided to enter a programming context. Couldn't read the input for the first problem. Tried different language and reading the input looked even harder. Decided to go to sleep.1
-
So i wasted last 24 hours trying to satisfy my ego over a shitty interview and revisiting my old job's codebase and realising that i still don't like that shit. just i am 25 and have no clue where am i heading at. i am just restless, my most of the decisions in 2023 have given very bad outcomes and i am just trying doing things to feel hopeful.
context for the interview story-----
my previous job was at a b2b marketing company whose sdk was used by various startups to send notifications to their users, track analytics etc. i understood most of it and don't find it to be any major engineering marvel, but that interviewer was very interested in asking me to design a system around it.
in my 1.2 years of job there, i found the codebase to be extremely and unnecessarily verbose ( java 7) with questionable fallbacks and resistance towards change from the managers. they were always like "we can't change it otherwise a lot of our client won't use our sdk". i still wrote a lot of testcases and tried to understand the working of major features.
BTW, before you guys go on a declare me an embarrassment of an engineer who doesn't know the product's code base, let me tell you that we are talking SDKs (plural) and a service based company here. their was just one SDK with interesting, heavy lifting stuff and 9 more SDKs which were mostly wrappers and less advanced libraries. i got tasks in all of them, and 70% of my time went into maintaining those and debugging client side bugs instead of exploring the "already-stable-dont-change" code base.
so based on my vague understanding and my even more vague memory from 1 year ago, i tried to explain an overall architecture to that interviewer guy. His face was screaming the word "pathetic" from his expressions, so i thought that today i will try to decode the codebase in 12-15 hours, publish a cool article and be proud of how much i know a so called martech system design. their codebase is open sourced, so it wasn't difficult to check it out once more.
but boy oh boy i got so bored. unnecessary clases , unnecessary callbacks static calls , oof. i tried to refactor a few classes, but even after removing 70% of codebase, i was still left with 100+ classes , most of them being 3000-4000 files long. and this is your plain old java library adding just 800kb to your project.
boring , boring stuff. i would probably need 2-3 more days to get an understanding of complete project, although by then i would be again questioning my life choices , that was this a good use of my 36 hours?
what IS a correct usage of my time? i am currently super dissatisfied with my job, so want to switch. i have been here for 6 months, so probably i wouldn't be going unless i get insane money or an irresistible company offer. For this i had devised a 2 part plan to either become good at modern hot buzz stuff in my domain( the one being currently popularized by dev influenzas) or become good at dsa/leetcode/cp. i suck bad at ds/algo stuff, nor am i much motivated. so went with that hot buzz stuff.
but then this interview expected me to be a mature dev with system design knowledge... agh fuck. its festive season going on and am unable to buy any cool shirts since i am so much limited with my money from my mediocre salary and loans. and mom wants to buy a home too... yeah kill me3 -
When you put bread in the toaster then start programming and forget about it.
*finds it 6 hours later*
Ooh! Free food! -
Me: What's this new icon in the app?
* Long press on the icon *
Nothing
Me: Huh. Ok. I will press it and see what it does.
* Presses it *
You have successfully done what you did not want to do. Congratulations!
WTF! Just tell me what it does when I long press it.1 -
This extension is awesome. You can have dark theme on every website. Although sometimes it fucks up the website layout a bit.
https://addons.mozilla.org/en-US/...3 -
Definitely Android 8.0 is neat.
And it's faster.
I think Android has developed a lot.
Isn't that right? -
Why the fuck why are tslint and prettier are always sucking their dicks and fuck each others asses.
Do you know this moment when you think:.... 🤔 They have millions of downloads, why do I bother formatting my code so much. Mabye all this people are smarter and saving so much time.
Then you set up eslint and prettier adjusting 10000k rules just to find eslint and prettier five minutes later in one file fucking their asses again how to indent on save😠😱7 -
Question for all the security/privacy nerds here. What is your opinion of the social network called Minds that pays you for your information basically.
(This is a very brief probably inaccurate summary but yeah, it’s basically reverse Facebook)1 -
(first day at Command line)
cp /path/file
yes :) no destination..because Windows user algorithm
first ctrl+c then ctrl+v
took 2 hrs to figure out what's wrong -
So our software clubs discord bot went rogue and deleted a metric ass ton of messages
This is what I get for testing in production. Fml1 -
This is an actual transcript...
Since it's way too long for the normal 5000 characters, hence splitting it up...
Infra Guy: mr Dev, could you please give some rational for update of jjb?
Dev: sparse checkout support is missing
Infra Guy: is this support mandatory to achive whatever you trying to do?
Dev: yes
Infra Guy: u trying to get set of specific folder for set of specific components?
Dev: yes
Infra Guy: bash script with cp or mv will not work for you?
Dev: no
Infra Guy: ?
Dev: when you have already present functionality why reinvent the wheel
Dev: jenkins has support for it
Dev: the jjb is the bottle neck
Infra Guy: getting this functionality onto our infra would have some implications
Dev: why should I write bash script if jenkins allows me to do that
Dev: what implications ??
Infra Guy: will you commit to solve all the issues caused by new jjb?
Dev: you show me the implications first
Infra Guy: like a year ago i have tried to get new jjb <commit_url>
Infra Guy: no, the implications is a grey area
Infra Guy: i cant show all of them and they may hit like in week or eve month
Dev: then why was it not tackled
Dev: and why was it kept like that
Infra Guy: few jobs got broken on something
Dev: it will crop up some time later
Dev: if jobs get broken because of syntax
Dev: then jobs can be fixed
Dev: is it not ???
Infra Guy: ofc
Infra Guy: its just a question who will fix them
Dev: follow the syntax and follow the guidelines
Dev: put up a test server and try and lets see
Dev: you have a dev server
Dev: why not try on that one and see what all jobs fails
Dev: and why they fail
Dev: rather than saying it will fail and who will fix
Dev: let them fail and then lets find why
Dev: I manually define a job
Dev: I get it done
Infra Guy: i dont think we have test server which have the same workload and same attention as our prod
Dev: unless you test how would you know ??
Dev: and just saying that it broke one with a version hence I wont do it
Infra Guy: and im not sure if thats fair for us to deal with implication of upgrading of the major components just cause bash script is not good enough for u
Dev: its pretty bad
Infra Guy: i do agree
Infra TL Guy: Dev, what Infra Guy is saying is that its not possible to upgrade without downtime
Infra Guy: no
Dev: how long a downtime are we looking at ??
Infra Guy: im saying that after this upgrade we will have deal with consequences for long time
Infra Guy-2: No this is not testing the upgrade is the huge effort as we dont have dev resources to handle each job to run
Dev: if your jjb compiles all the yaml without error
Dev: I am not sure what consequences are we talking of
Infra Guy: so you think there will be no consequences, right?
Dev: unless you take the plunge will you know ??
Dev: you have a dev server running at port 9000
Infra Guy: this servers runs nothing
Dev: that is good
Dev: there you can take the risk
Infra Guy: and the fack we have managed to put something onto api doesnt mean it works
Dev: what API ?
Infra Guy: jenkins api
Infra Guy: hmmm
Dev: what have you put on Jenkins API ??
Infra Guy: (
Dev: jjb is a CLI
Infra Guy: ((
Dev: is what I understand
Dev: not a Jenkins API
Infra Guy: (((
Dev: (((((
Infra Guy: jjb build xmls and push them onto api
Infra Guy: and its doent matter
Dev: so you mean to say upgrading a CLI is goig to upgrade your core jenkisn API
Dev: give me a break
Infra Guy: the matter is that even if have managed to build something and put it onto api
Infra Guy: doesnt mean it will work
Dev: the API consumes the xml file and creates a job
Infra Guy: right
Dev: if it confirms to the options which it understands
Dev: then everything will work
Dev: I am actually not getting your point Infra Guy
Infra Guy: i do agree mr Dev
Dev: we are beating around the bush
Infra Guy: just want to be sure that if this upgrade will break something
Infra Guy: we will have a person who will fix it
Dev: that is what CICD is supposed to let me know with valid reasons
Dev: why can't that upgrade be done
Infra Guy: it can be done
Infra Guy: i even have commit in place3 -
I tried to copy some files from a corrupted microsd... In windows the hole Explorer died and I had to restart the pc, then I startet the copy on linux, the corrupted files were shown and the working ones cp has success. Fuck Windows.
-
Fuck this shit. Any socket connection on JIO's fucking network gets dropped after 5 seconds if no data is sent. It's working on any other network. Wtf is going on???
Does anyone have any idea on this?
If someone has jio network please go to https://www.websocket.org/echo.html
And connect and check how long until it gets disconnected. Would be greatful if someone can validate this.
The project I am working on uses websockets extensively and this thing is screwing it up. I have temporarily set websocket ping interval to 3 seconds but what if the f**ckers over at JIO decide to start dropping connections every 1 second?7 -
It's been a few months I became a freelancer, the cool thing is I still have no sleep but this time it's not for deadlines! ... XD
It's for ...
You complete the rant !2 -
I was thinking to read some books on algorithm and mathematics required in programming, especially for CP. After some searching I got across some books that are considered great in the field. Among the books, 'Introduction to Programming by CLRS', 'Algorithms Design Manual by Steven Skiena', 'Concrete Mathematics by Donald E. Knuth' and 'The Art of Programming by Donald E. Knuth', in which order should I read them? I've already started reading CLRS as it would be required in my college course too.5
-
!rant
I'm a full stack web dev (LAMP, MEVN), not a sys admin. Besides complete control of my os, are there any benefits to a Linux-based os like arch or ubuntu? I've played around and set up both in VMs, but I'm struggling to find a benefit that justifies the setup commitment.3 -
Sir i am a newbie student to CP. I have recently started CP and just know array , strings , loops , function and basic libraries along with logic.
Where and what roadmap shall i follow so that i can get rated nicely and quickly on codeforces?
(Currently about 700 rating).7 -
Yesterday I bought a thumb drive for installing Windows 10. I've also tried booting the Windows 10 installation media from a partition with grub, and adding the storage drivers to the install.wim image, but the drivers don't install correctly and I don't get it to work. I'm on Arch Linux and a laptop.
I spent 4+ hours on that. uefi-ntfs.img, Windows 10, also tried Windows 7, gparted, cp, bla, bla, bla.
On attempt n12903813280, I open again gparted.
/dev/sdb: unrecognized disk label
Turns out somehow I damaged the thumb drive after so many writing. In just a few hours.
Dude I'm literally stuck on Linux. Get me out of here. I want to be normal and play Valorant.7 -
I like the settings on my phone as dark as the dungeons with Geralt and a torch or the awesomely dumb flashlight from Doom 3.12
-
How will I get a better Dev job in 12 months, by making projects or by practicing competitive programming?8
-
Got a new idea in mind...by the time idea reaches pen and paper and computer ( I hear a voice back of my head...."Is that what you were think of, think of something NEW it's already implemented!")
-
Difference between security threat and programming bug ?
Found a cool paper about format string attacks which mentioned buffer Overflow is a security threat while format string is a programming bug.
Had no idea what that really meant.
Tnx1 -
Hey Postman,
Please fucking stop downloading minor updates and bug fixes automatically. Even if you do it, give the users an option to cancel the fucking download so that they can, you know, peacefully use the app for what it was built for.7 -
Just typed this into the Python interpreter and my whole system just froze. Guess I have to do a force shutdown.
x = list(range(1, 999999999))
So is there a way you can somehow configure your linux system such that the window manager/system is never out of memory or processor time? So that atleast I get can atleast kill the process which is freezing the system.3 -
someone gets in my Discord server, asks "can anyone download a file for me? DM me" in the bot trap, and leaves.
Is it worth the effort of trying to track this guy down so I can get new malware or is it not worth the risk of CP?4 -
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
-
what are personal projects if not the daughters of hackathon solutions that never saw the light of day6
-
Just enrolled myself in Andrew Ng's Machine Learning course at Coursera for the summer, is it a good place to start? Any recommendations?
-
why can't i ever have a successful make build even with all dependencies satisfied. took TWO weeks of faffing with libdvdcss becasue it couldn't find libc6. I think at one point i might have inadvertently deleted libc6 doing an ln -s in reverse order. I know i got kernel panics trying to cp it back before discovering apt -reinstall cause like fuck was i gonna purge and reinstall my whole system. ANYWAY couldn't find where the libc6 dependency was in the build script but did find a way to tell it to ignore missing deps. although copyright lawyers needed the guillotine so this would never have been an issue1
-
Android didn't find it all that funny, that I was copying a 6 GiB file locally
Couldn't even load the settings app while `cp` did it's thing1 -
When you start doing cp / noob at it:
Thoughts in my mind
- spending hrs to solve the problem
- should I see the solution. No no how can I build the logic then?
- think try
- told my friend,
He: oh tell me the problem
(After seeing the problem stmt)
5-10 mins scribbling with code
He: There you go it's that simple
Me: really! This is easy. But why I was not able to solve then :|8 -
What you do ?
Competitive programming (CP) or Functional programming (FP)?
And if you FP then how much competitive programming you think you need in your job or whatever your current scenario is .14 -
Dear Lord, please stop people from enforcing standards and bypassing them themselves.
Take kubernetes for example. Since v1.24 CRI has been announced as the standard, and kubernetes is shifting to live by it.
But it's not.
Yes, it's got the CRI spec defined and the unix://cri.sock used for that standardised communication. What nobody's telling you, is that that socket MUST be on the same runtime as the kube. I.e. you can't simply spin up a dockerd/containerd/cri-o server and share its CRI socket via CIFS/NFS/etc. Because kube-cp will assume that contained is running on the same host as cp and will try to access its services via localhost.
So effectively you feed the container via a socket to another machine, it spins up the container and that container tries to
- bind to your local machine's IP (not the one's the container is running on)
- access its dependencies via localhost:port, while they are actually running on your local machine (not the CRI host)
I HOPE this will change some day. And we'll have a clear cut between dependencies and dependents, separated by a single communications channel - a single unix socket. That'd be a solution I'd really enjoy working with. NOT the ip-port-connect-bind spaghetti we have now.4 -
I like to look back at what I considered 'programming' back in high school compared to what I'm doing now as a almost CP college graduate
Still know absolutely nothing. But that's immensely more than what I did as the best student in my high school programming elective and the barely accomplishments i achieved as a high school intern at CMU
I still have a copy of some my old high school 'code' (more like data trash)on a flash drive just for memory's sake -
Has anyone developed websocket server in Nodejs?
I am planning to use socketcluster. Has anyone had experience using it? Is it good or should I go for something else?11 -
In those learning days the universal solution to all systems issues -
'restart and see if that fixes' -
Unlocking your potential takes time.
Throwing away time is so easy to do and we are all guilty of it. How much of your time have you wasted not living up to your potential? The answer is brutal and may overwhelm you.
You have probably wasted some of your time but at least you haven’t wasted your whole life, yet.
You still have time and that’s the best reason to stop wasting it and unlock more of your potential. It hurts to know you have been lazy or procrastinated, but it hurts even more to ignore that fact and pretend everything is great.
source: https://psiloveyou.xyz/overwhelming... -
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 -
https://m.facebook.com/story.php/...
WATCH NOW THANK LATER. (It’s rubber duck related)
Sorry about the Facebook video4 -
Since tar is apparently faster than cp
It’s making me wonder
Which is faster
Md5/sha with a comparison against the copied files
Or diff ?5 -
need more experience for good entry-level jobs, need a good entry-level job for more experience. yay4
-
p4 add <new file>
cp <old file> <new file>
p4 delete <old file>
p4 submit
That how you tell someone “GO TO HELL!” in perforce commands.2 -
I just wanted to share it with my fellow devs,
I'm peacefully retiring from COMPETITIVE CODING. After two years of rigorous effort on CP, I don't think I improved a lot, although I learned some new DS and Algos. My bad that I assumed CP holds more importance than just being a sport.
It feels to me that I kinda wasted my two years, I could've spent it on some development or ML.
Now, I've started to realize that I can't think faster as other coders do. I tried a lot, but it's all dumped now. Maybe I'm not made for CP or maybe I simply suck at it.
Any sorta advice will be highly appreciated...3 -
It only takes three commands to install Gentoo:
> cfdisk /dev/hda && mkfs.xfs /dev/hda1 && mount /dev/hda1 /mnt/gentoo/ && chroot /mnt/gentoo/ && env-update && . /etc/profile && emerge sync && cd /usr/portage && scripts/bootsrap.sh && emerge system && emerge vim && vi /etc/fstab && emerge gentoo-dev-sources && cd /usr/src/linux && make menuconfig && make install modules_install && emerge gnome mozilla-firefox openoffice && emerge grub && cp /boot/grub/grub.conf.sample /boot/grub/grub.conf && vi /boot/grub/grub.conf && grub && init 6
that's the first one2 -
which is the best cloud provider for a complete beginner (user/dev) in terms of community support, employer preference and user-friendliness?
i know that understanding the tech and concepts behind it matters more than getting familiarized with a specific platform, but i'm looking to build a more diverse profile and have noticed many positions asking for AWS/Azure experience.
since i'll be starting from scratch, any provider with easy-to-follow documentation, online help and certifications that don't leave you broke (would have to pay myself, earn very less as a student from a third-world country, parents/current employer can't support) would work.8 -
Best
- Started a blog, networking and public learning
- Got an Internship
Worst
- DSA and CP fcuked me hard and I started questioning my ability to write code
- Wasted first six months in academics and uni stuff
- Thought about quitting programming and start UI/UX at one point -
teacher: You know CP?
student: yes
teacher: fix the bugs
student: (after checking all code) I know computer programming, not competitive -
Recent Software engineering graduate. (NO RELEVANT JOB EXPERIENCE also not a great programmer)
Most of the software engineers I have met are working in web development and mobile dev, I understand web and mobile I understand they are hard and require a lot more with APIS CLI and all the other things but I don't understand where is the engineering part in them. I also don't know what am I supposed to do as a software engineer.3 -
Im working as a software testing engineer with 2years of experience, I want to change my domain...I have some options infront of me..like Data Science, SAP HANA, Android app development, Full stack developer..I'm at intermediate level in java programming...please guide me to pick one from them
-
Which app can i use to run cp in Android??
In many apps i cant make the programs like enter a number for input and all☹5