AboutI became a dev because I'm sick of using buggy, unstable software, and the internet said I could make my own buggy, unstable software if I just tried, so here I am. I also like retro computing.
LocationWashington DC Metro area
Joined devRant on 6/27/2017
Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
Sup with all these people in the office arguing that writing documentation is pointless because it will just become out of date? I even heard one dev say it'd be so problematic that the company would need to hire someone full time.
That sounds like BS to me. Sounds like some people culturally think documentation isn't cool. That maybe they don't know how to do it.
So, I'd like to hear opinions on the topic. Mine is that documentation is useful and even if it gets out of date, it provides some value.
What's better: out of date documentation, or no docs at all?9
Last night I finally dug out the hardware I ordered to replace my iBook g3 clamshell hard disk with a compact flash drive. I got an ATA to CF adapter and an industrial 16GB CF card. The spinning HD of the laptop was insanely loud and I wanted more storage space and hoping to extend the short battery life a bit.
I had a torx kit from when I had swapped out the display for my 2009 imac, and was doubtful I needed them to service this thing from '99. I did quickly run into some torx screws but most were Philips.
Saw that the torx screws in the iBook were better quality case screws than the tiny Philips screws Apple used for my 2008 Macbook.
Most interesting thing about taking apart this laptop from '99 is it had no dust in it.
Boots and runs absolutely silently.
Went online on my other machine and found a huge archive of Mac Classic games.
Spent an hour and a half playing Sim Farm in 256 colors.10
Working on my first feature at work involves adding on to a massive legacy feature. I come from TDD & functional programming. This code is old school OOP where naming is unclear, functions are hundreds of lines long, and even though i have Xdebug to step thru the execution, every day that passes I dread standup because I feel like an incompetent fool more and more.
Asking for help really isnt working because the 1 person who wrote the code X years ago is a senior dev overloaded with his own new features to work on.
Feels like I'm drowning, even though I know that I will get it done, somehow.
~800 LOC all starting the indent from the edge at col 7.. had to select all, switch editor tab size to 1, shift them all over to start at col 6, and pick through the rest to make sure everything is indented evenly.
Looks like someone's IDE started the code indent at the same level as the end of a block comment.1
Joined a fantastic small software company. I love the team. Office is beautiful. Benefits are stellar. Commute is very short.
Codebase is legacy. 15+ years old. No unit tests. Files of 10-15k lines, no comments/useless comments. Inconstistent file locations/structure patterns. unclear/not useful variable names. Not using Git.
I need tools and strategies to thrive and do well. I know Martin Fowler has a book on refactoring legacy code. I'd also appreciate any mindsets you all have for thinking about working with legacy codebases.3
Somebody set up automatic versioning for builds and the builds keep failing because the versions keep getting bumped. and my sanity is gone for the night.
Shit needs to Just Work(tm) and at least give a clue as to how to fix it in the message.
Back to the black hole that is Jenkins documentation.
Need to run my Python app on a server with no internet access. Fine. Windows machine. Fine.
I'm developing in Cygwin in Windows. Damned nearest thing to Linux, development is a lot easier.
Turns out Cygwin is its own build environment. Fine, I switch to Power Shell, install Python, set up virtualenv, pip install everything.
Copy entire repo folder to target system. Copy Python installer. Install 3.6 fine. Create virtualenv in copied folder. Run python, pip modules are all installed. Fine. Test run works.
Run my shit. "No module named...." It wont see my submodule.
I wont even tell you what a fucking pain in the ass it is to try and convert Python scripts to exe files. This shit does not need to be so damn complicated.12
Inbox: 1282 of 3561 are unread
Deleted items: 41335
92% of emails I receive are irrelevant to my work. Most of them are automated system notifications as a result of being a member of six or so groups. I am guessing no one else is reading them either. Too bad about all that cloud storage getting used up with virtual confetti.1
Any one here use Pony? https://www.ponylang.org
It seems to have a lot going for it and is active. I am most interested in the "capabilities" security aspect, I have watched a few talks about it and was looking for languages that employ it.
Thoughts? I mainly code in Python and am looking for another language that will expand my thinking and expose me to new paradigms. (Squeak and Lisp are also in my list of prospects).6
Spent the better part of the last hour banging my head on the wall to get a regex pattern to match scraped content in a batch of files. Turns out my pattern was good all along, the files' structures were inconsistent.
My head has recovered but the wall will never be the same...
Fuck ads, fuck images,
Fuck popups, fuck bloat!
Screw stylesheets, screw webfonts,
Screw modals that float!
The Web's bloated and broken, I regularly thinks,
That's why I started browsing again with Lynx.
Download pages in an instant, without pics,
Browse the full article, no "Read more" JS tricks,
Just blocks of text, direct from the writer,
Text-only browsing is megabytes lighter.4
I never trust any commit in other people's libraries with the message "misc changes" 🧐
But in my own repo .. 🤫1
Found out the enterprise app for which I am writing Python code is interpreting it through asteval. Which means no more classes, no imports, no decorators, limited built-ins, and limited code testing strategies. 😰
Burn my own harvest? Don't mind if I do! Goodbye code which wasn't half bad. The thing which comes to replace you will be written of in horror stories.. 👾
On the flip side, a new software design challenge! 😅
Me, week 2 at new job, meeting with a separate team of fellow Python users: "Hey what software tests do you have for this? I am interested to learn your testing structure."
Dev1: "We don't really have any."
Dev2: "I have a Ruby script that tests this one thing."
Dev3: "why did you do it in Ruby? Why not Python?"
Dev2: "oh well Dev4 started in Ruby."
Me: *this is going to blow up but I am too new to tell them what to do*
Last week, these guys messed up 500 files in production with "undefined" in the filenames. 😣 I think it's time to introduce them to tests...1
The most exciting part of my morning was accidentally discovering how to easily crash Outlook in Win 10:
1) Use nice MS ergonomic keyboard
2) Open Outlook
3) rapidly press the friendly arrow-like buttons below spacebar a couple of times
4) Outlook crashes
5) Giggle sadistically and a bit sadly because this kind of error will never be fixed in this lifetime, and resume working
Bonus step: Resist urge to press these magic buttons in IDEs
RIP the sanity of iOS 12 augmented reality devs in one year from now when Apple ships a boatload of unannounced breaking API changes, and says no backward compatibility for iOS 12 apps on iOS 13 due to "experience optimizations."
Thank you open source community.
Because of you I can have a terminal app on my Android and browse the web without all that nagware.
Thousands of devs collaborating around the world. There are more amazing things to do than use Lynx, but you know, that's all I wanted for now, and thanks to freely shared software, I could.1
You have version
Would you like to upgrade to version
I just fucking need a method that returns the data from a fucking API call in NodeJS.
Why, two fucking hours later, is this shit not done, when in Python, this would be a two-minute job?
And let me fucking add that "console.log" in an example of async code is FUCKING USELESS.9
Would it be viable to hire a dev to make a shell utility to bootstrap Linux onto a tablet, given that the tablet vendor published the kernel and device image source? Any idea how much a project like that should cost?
What are going to be the project requirements? Should I plan to provide a tablet for development?
I don't wanna import a Linux tablet, I don't want devices piling up in my house, I want Linux on my tablet even though it's unsupported.
Nvidia shield tablet (not Tegra, but original), FYI1
My new software dev mug that I designed for myself. It's got bugs on the side, because, y'know, bugs.
"What is a bug but a feature unloved?" 🤔1
One thing i like to do while coding is listen to conference talks from people smarter than me, so i can subconsciously grow some "coding genius" region of my brain while I work.
Was watching a talk where the presenter was saying how developers today don't know how to program objects. (OK fine, I don't) That Object Orientation had become dehumanized. (Ok, seems true.) Then the speaker went on to say that "TDD will kill you" and mentioned authors who had done studies on the topic. (Uhh..???) I searched, did not find those authors, and only found scholarly papers supporting TDD in at least finding that automated testing improves code quality. I stopped watching after that.
So just a note that not every talk should be gobbled up just because the person fits some image.1
Interviewing for a "senior dev" role for a team of 3-4 other devs. Been coding at work close to 3 yrs now. Worked for a few startups previously. Total exp around 4-5 yrs plus 3 yrs web design on top of that. Is "senior" the right level of responsibility for me? Impostor syndrome setting in pretty heavy re: my coding/algorithm chops. But I have good grasp of how to manage projects from shower thought to customer feature and collaborating across depts, etc.
Thoughts from the community? The company wants another call with me and in person interview. Should be a good sign?
Senior devs, how'd you get to be "senior"?3
Company asked me to ditch the recruiter and hire direct to save them the recruiter's fee. I think I'm gonna say no to that even tho the role is perfect. Your thoughts?3
How to waste 2 hours of my morning:
1) allow the Mac OS update that I have been postponing daily for the past five months
2) redownload and warm up a fresh docker container in hopes the insanely obscure network error I'm getting is related to the slightly older environment I was using
Does development really have to be this way?
But, you might say, back in the day there were not all these fancy tools, and we had to time-share on computers with just 256k RAM, and print out code...1
I never knew filling out a web form could cause my Macbook to hard lock. Apple is a veritable cornucopia of surprises!