Open Side Menu Go to the Top
Register
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

08-10-2018 , 01:51 AM
Quote:
Originally Posted by jjshabado
This makes no sense. vim + i3 is not a custom tool for developing any language. They're general purpose tools. Very powerful ones. But just because you use them for a specific purpose (and even customize them for yourself) doesn't change that they're general tools.
Depends on perspective. If most of what I do is edit text when I program, then an IDE is more of a general purpose tool. But like I said, it depends on language. As a Rails and C++ developer, I don't see the value of an IDE as I would in Java. I would value an IDE in Java because of autocomplete, building, import management, compilation checking, refactoring function/member names safely and occasional debugging. Not all of these apply to Rails or C++:

Rails:
* No build required
* No import required
* No IDE supports "good" compilation checking
* Simple debugging using print/raise is usually sufficient

C++:
* Use make for building
* No free C++ manages imports (to my knowledge)
* No free C++ IDE supports refactoring function/member names (to my knowledge)
* Most of C++ debugging is related to pointers, and for that we have valgrind


Quote:
Originally Posted by jjshabado
my guess is that you don't actually work on large projects. I'm probably pretty rare in that I've done relatively frequent development on the same growing/evolving project for about 7-8 years now and I've written probably 50% of the code and reviewed the majority of the rest. I'm super familiar with the codebase, including the abstractions and patterns used. Where things are clean, where they're ugly, you get the idea.
I don't know what's considered large, but I'm guess no. My project at work is 16k lines (250 files), excluding tests. A couple of my personal projects are each 6-8k lines (75-100 files).


Quote:
Originally Posted by jjshabado
And its impossible to keep a detailed mental model of the code in my head. I'm constantly jumping around looking at how changes will affect different parts of the codebase. It's not about skill or ability either. Modern software projects are generally non-trivial, distributed, multi-threaded, monstrosities that are well beyond one person's ability to understand in detail.
Yes, the critical areas of my code are non-trivial and multi-threaded...
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
08-10-2018 , 01:52 AM
Quote:
Originally Posted by RustyBrooks
You've said this a few times now. This is most definitely not my experience, except with brand new projects.
Yes, I'm on new project/subprojects. What's your experience like?
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
08-10-2018 , 02:03 AM
Quote:
Originally Posted by RustyBrooks
I don't usually copy and paste code. I think I would find it weird if a coworker did it a lot.
Yea I rarely ever copy paste stuff unless it is clearly the obvious way to do something. But in general that convo explained so much about why he sucked. Refusing to google the thing you are trying to build and only looking up language semantics is hilarious.

I forget that exact example but I think it had to do with filtering/sorting two lists and was actually probably more like 5 lines and the rest I had to add.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
08-10-2018 , 05:15 AM
I have a minified js file and a sourcemap file, anyone know of the easiest way to unminify the js? From googling I've found Node packages that will supposedly do it, I don't super want to mess around installing Node and stuff considering I've never used it. Actually, I'd be willing to offer cash for anyone who can do it for me
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
08-10-2018 , 06:23 AM
Quote:
Originally Posted by RustyBrooks
I just got out of a convo with my boss where I complained about some changes to our hiring policies, and probably I'll be talking with his boss about it if I can, as far up as they'll let me.

They want to only hire grads from top-10 schools, or if not a top-10 school then a proven 10x-er as if they have a way to measure that. This is crazy to me. If they applied these rules to their existing staff, they'd probably have to fire half of us. I went to a remote campus of a state school (university of texas at dallas) and I don't think anyone thinks I shouldn't work here.

While I was there I talked about how our process is too long and has too many steps. There's this guy I still want to hire, he's been through 2 phone screens, a coffee meeting, a dev test, now they'll finally be bringing him in, 2 weeks later. We should have had him in here for an interview the day after his resume crossed our path.
What was the feedback you got in general terms?
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
08-10-2018 , 08:06 AM
I see what grim is saying wrt writing a lot of code.

But when you’re maintaining a project I don’t think it’s uncommon to spend 1 or two days finding a bug that ends up being like a 2 line fix. That’s pretty common in my job.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
08-10-2018 , 08:07 AM
Also IDE debuggers >>>>>> command line debugger
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
08-10-2018 , 08:09 AM
For jumping around inside my codebase (which is massive and hard to read) I use ctags in VIM. Best thing I ever discovered. Let’s you jump to functions/structs with ctrl + ] and you can go back with ctrl t.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
08-10-2018 , 11:20 AM
Quote:
Originally Posted by :::grimReaper:::
Yes, I'm on new project/subprojects. What's your experience like?
The larger a project gets, and the older it is, the more thought each additional feature takes. You have to start thinking about consistency, there are lots more places that could have unexpected consequences, there are maybe more "users" of the software and you have to consider their needs and expectations.

If you're modifying an existing feature then even more so. And of course any large project involves finding and fixing bugs, some of which may be very subtle, or rare, or difficult to invoke yourself.

If you're trying to tune the performance of something, or trying to find a bug in something, you will do way more reading that writing of code. If you're trying to modify a system to support a new feature, you'll probably do more reading and code navigating than actually writing.

I work on a series of related projects - a set of services. These total about 150k LOC between python and JS.

I work on a C++ project that is absolutely not my own - it's an open source project that we've forked and modified. It's enormous and complicated, I spend way more time reading than writing in that. It's not uncommon for me to spend 2 days in there and only commit 5 lines (I will have added/removed more lines than that in the process, but not a lot more. Maybe 100)

Quote:
Originally Posted by Larry Legend
Refusing to google the thing you are trying to build and only looking up language semantics is hilarious.

I forget that exact example but I think it had to do with filtering/sorting two lists and was actually probably more like 5 lines and the rest I had to add.
I'm not against using google. I just used google to figure out how to use TLS1.2 in windows powershell to download a file (it defaults to 1.0 and *fails* if that's not available). I happily copy/pasted the solution from stack overflow.

But I would think it was odd if someone was "mostly" copyiny/modifying from the internet, or really, even if it was a lot.

Quote:
Originally Posted by adios
What was the feedback you got in general terms?
My boss agrees, I think his boss does too, but theirs does not. It's a bit of a story that I can't give too much details on, but my impression is that they feel they have not always been successful with their hiring, so they needed to step it up.

I feel that no one is really as successful with their hiring as they *think* they should be
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
08-10-2018 , 11:22 AM
Quote:
Originally Posted by RustyBrooks
Don't do anything through their web interface - use cloudformation or terraform or kubernetes or whatever. The idea is that you should be able to re-create your infrastructure from scratch with minimal effort, and you should be able to hot-update it at will without downtime. It's totally doable.
This is very good advice. Also the part about making lots of mistakes
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
08-10-2018 , 12:05 PM
I was prepared to switch back to Windows at my new job, if everyone else is on Windows. But not if these are the options:

Quote:
a. Windows Desktop workstation with two monitors. If work assignment requires mobility, they will provide Dell laptop.

b. MacBook Pro 15” laptop with Mac compatible keyboard, mouse, laptop stand, and two monitors. There will not be a Mac Desktop workstation since the laptop is powerful enough for development needs:

· 2.2GHz 6‑core 8th‑generation Intel Core i7 processor, Turbo Boost up to 4.1GHz

· Retina display with True Tone

· Touch Bar and Touch ID

· Radeon Pro 555X with 4GB of GDDR5 memory

· 16GB 2400MHz DDR4 memory

· 256GB SSD storage

Both options will have VMWare Fusion running so you can setup VMs of any kind of operation systems on top of the host OS.
Sure seems like they're trying to sell the mac route.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
08-10-2018 , 12:06 PM
You're going to be pretty unhappy with 4GB of memory
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
08-10-2018 , 12:07 PM
In the video card?
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
08-10-2018 , 12:08 PM
Oh duh. I no reed gud. Carry on. Macbook!
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
08-10-2018 , 12:10 PM
**** yeah - Turbo Boost up to 4.1GHz!

** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
08-10-2018 , 12:30 PM
I use a macbook for my main dev machine and do maybe 1/4 or 1/3 of my dev on a windows desktop at home. A properly setup windows machine with the tools you need is fine but I generally prefer the macbook.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
08-10-2018 , 12:34 PM
I <3 my iMac
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
08-10-2018 , 12:41 PM
Oh, if you're going to do docker at all, and I think you should, get the mac. Windows docker support seems weird. I admit I have not spent a lot of time on it, but it was wonky in comparison.

The reason to use docker is that AWS has support for deploying docker containers to a cluster that works fairly, well, and it makes it very easy to make your dev and prod environments identical (well, or very close - my dev environment uses a mysql container, prod uses AWS RDS mysql, but the container running the code of the site is identical down to packages and versions and config)
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
08-10-2018 , 01:13 PM


Thoughts about this thread?
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
08-10-2018 , 01:48 PM
Yeah, I think that's true. AWS is a classic example of an MVP, it works well enough that people want to use it, but no better. It is awkward as ****, the API is not great, the interface is ****ing terrible, cloudformation is a verbose **** garden. I don't really know if azure or google or oracle's offerings are really any better or not.

But also for the most part, you get your stuff set up and you mostly don't worry about it too much from there. I change cloudformation setup like... 4 or 5 times a year. Mostly I use a set of (in house) tools that manage it for me. Those tools probably wouldn't be of particular interest to other people, because what they do is take the vast config language and boil it down to just the pieces we want, configured in the way we typically use them.

So I change our AWS infrastructure by editing a small json file that causes a much larger cloudformation template to be created. Getting that tool working was a giant PITA, but that's mostly done now and it's fine.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
08-10-2018 , 02:15 PM
Quote:
Originally Posted by suzzer99
In the past 36 hours or so since I posted this I've had massive unrecoverable site fail on:
  • 1-800-Flowers.com (had to buy elsewhere despite two customer support reps trying to help)
  • fidelity.com
  • bofa.com
  • frontier communications
  • my new job HR site (Error: Object not found in /myServlet/doStep.do - right in the page)

I feel like there are some more.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
08-10-2018 , 02:22 PM
Quote:
Originally Posted by company X
Presentation
At the beginning of your onsite interview, we ask that you prepare a 15 minute presentation, leaving 5-10 minutes at the end for questions. The audience will consist of engineers, product managers, and some senior leadership.

The audience should walk away feeling like they have learned something interesting, along with having an idea on how you approach difficult problems.

The format of the presentation can be slides, handouts, or whiteboard. Please bring your laptop with you for the presentation.
Is this a common thing?
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
08-10-2018 , 02:27 PM
I could actually do that - I'd just use my node meetup talk - which gets into enough code nitty gritty.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
08-10-2018 , 02:34 PM
Quote:
Originally Posted by Chips Ahoy
Is this a common thing?
I've done it before. For my current job, for example, I suggested that I present to them a few projects I'd worked on, in lieu of a coding test. I wasn't worried about passing the test, and the presentation probably took longer and was harder, but it was a stronger result. Passing the test is a low bar, showing off an interesting piece of software is better.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
08-10-2018 , 02:37 PM
I'm the opposite right now. I'm so rattled on whiteboard/codepad. My brain just freezes up and I can't think creatively.

It's like trying to be witty when some hot girl across the room smiles at you. Some people are good at it. I can barely put a sentence together. So it comes out mechanical, boring and awkward. Over the cacophony of my panic, I can't hear my inner-voice which is trying to offer up some creative/funny take.

I've always been like that with women. I didn't used to be like this in coding stuff. But after bombing that first codepad interview I'm super shook now.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote

      
m