Better HN
topnewbestaskshowjobs
Log inSign up

devonkim

2,416 karma · joined Mar 7, 2013 (13y ago) · 1,162 submissions

[ my public key: https://keybase.io/djk29a; my proof: https://keybase.io/djk29a/sigs/bWmbTQ-k8d0k_QHQXoatDdux-G5K9Yot7CFTM6Tdkuo ]
Submissions

comment 7y ago · link · parent

You could start with the Maglev paper but I’m not sure if that’s still in production use there https://ai.google/research/pubs/pub44824

comment 7y ago · link · parent

There’s a huge difference between having your primary business being services projects basically as an extension of the government and your revenue center being unrelated private sector funding. Your corporate structure and business incentives are completely different as a result. I know Lockheed spend many millions of dollars trying to build a DoD-centric IaaS as AWS was being built and it didn’t really matter in the end because so many projects are going to GovCloud. Sure, lots of TS projects are not ever going to be in AWS but boy are people trying. VMware was bought before to try to contain the sheer sprawl of configuration in the Pentagon (your cost is almost entirely around organizational complexities rather than compute / storage cost due to being so heavy on labor costs in most enterprise orgs so the math is fuzzier but usually results in layoffs / workforce optimizations if successful).

comment 7y ago · link · parent

The larger defense contractors have issues paying software engineers remotely close to private industry nowadays. In certain regions of the US the software market is dominated by defense though.

Back in the early 2000s I know of some J2EE architects that pulled $200k as defense contractors once they got a Sun certification. The certification and diploma mill market in the US is driven squarely by big federally funded institutions that value paper over experience because they don’t know how to measure ability any better than SV Leetcode questions would assess.

Of defense contractors I’ve seen pay tables for in the DC area, LM and Raytheon paid worse for senior engineers than slightly smaller, more specialized companies but they certainly had a lot more overhead and administrative positions available that were possible to reach just by having a PhD even if it’s not related to engineering or STEM in general at all (political science obviously makes sense here as valuable, for example).

But under DHS you can hit $200k+ as a contractor for anything that has “cyber” attached to its name these days. But for the most part, the high payout days for software engineers in defense are over which is what led me to leaving the DC area years ago to stick with better pay and work environment with private sector. A TS is a pain and the pay bump is a joke compared to RSUs. I’ll take leetcode grinding for months to get a stack of RSUs and marketable engineering skills over the demonstrably useless charade of the DoD security theater practices with none of the employment benefits besides some smug, self-assured sense of patriotism.

Most of the higher paid contractors in DoD aren’t engineers - they’ve usually been intelligence officer trainers and skilled and experienced warfighters (well past $400k, much of it untaxed).

comment 7y ago · link · parent

Makes me why we don’t count NASA under DoD similar to DARPA to help with their funding.

comment 7y ago · link · parent

I was “pulled over” by a police officer when I was driving into Chicago from Washington state. He had followed me off the highway where I had pulled over to make a phone call, and he came up to me asking for registration and wanted to know who I was calling. All of this was justified because he suspected drugs in my car because a lot of drugs come from Canada through WA into Chicago. He said he had a dog with him in the car as well. I said I didn’t care because I don’t have any drugs and that I’m just traveling through the state and needed to phone a friend for a place to stay. He never ran my registration after I handed it to him, nor did he go back to his car for any information or dog, then he said I was clear to go. When he pulled away it was clear there was no dog in the back seat. I know to say as little as possible to cops even if I know I’m not guilty of anything but this was outright so stupid I couldn’t invoke “I want a lawyer” either.

Cops and other forms of law enforcement seem to have a history of lying to suspects to try to uncover criminal behaviors and I’m really not sure if this practice is even constitutional let alone effective. I don’t know what’s reasonable anymore in our police state.

comment 7y ago · link · parent

The issue I have with this interview style is that there’s no data to suggest that this results in selecting for engineers that can do the job best. Furthermore, it tends to leave rather little time for the candidate to ask many questions to the interviewers about things that may matter more such as “what does your code review process look like?” and “how are tests done?” Far too many times I’ve gone through these kinds of interviews and wound up in a horrendous codebase anyway, so fat good hiring for all these people that can do programming puzzles alright in an interview has done for an end result. The better indicator I’ve seen for that is a matter of culture and testing for that is really hard either direction.

I’m pretty happy with how my company does it now. A code sample on a fairly simple problem designed to determine how their pull requests would look as well as how much direction they need. On-site is a series of design discussions with algorithmic questions about data structures to use and the tools / services that make sense. Primarily meant to hire senior engineers rather than juniors, but that’s our objective now.

comment 7y ago · link · parent

Historically the only reason Intel has won on absolute top performance gaming FPS is because their raw single-threaded performance has beaten AMD due to most games still being bad / ineffective with multiple threads. For the first time in many processor generations this may actually not be true because of Intel’s stumble in their 10 nm transition.

comment 7y ago · link · parent

I thought it was supposed to be Eurasia?

comment 7y ago · link · parent

It’s a lot further than this though with unbuffered RAM, registered RAM in the mix affecting performance and such. Error detection and error correction are different and require different levels of parity codes. Standard RAM at one point (SIMMs in the 90s) detected errors but won’t ever correct them. ECC can detect more but error patterns and now correct error patterns up to so many bits.

The issues are more subtle beyond hardware though - your OS kernel has to understand the detection from the BIOS / EFI and if the motherboard manufacturer decided not to opt for wiring in the checksum fail signal you will run blind to data corruption that’s potentially really subtle on typical consumer hardware. With some BIOSes RAM failures result in a hard panic and will hard reboot the machine (the idea being a crash is better than continuing with an error).

For me, ECC (both UDIMM and RDIMM) today are so inexpensive it’s a no-brainer for builds for business.

comment 7y ago · link · parent

There’s some cruel irony of you bringing up accounting for more stability when another poster in these comments said his father was laid off from an accounting job in his 40s and never found another job again. Modern work is brutal in the developed world and our institutions both government and market are failing at utilizing the wealth of human experience and knowledge available primarily for the sake of institutions built upon generations of burn-out, complacency, and cronyism as the dark sides of the virtues of diligence, solidarity, and trust relationships.

comment 7y ago · link · parent

SOX section 404 does not mean ops and dev can’t write code or deploy to prod respectively. It means there should be clear roles and oversight and insight into authoritative sources. If there’s an incident in prod that requires code changes that ops knows how to fix, it doesn’t mean to wake up developers while waiting for a new build either. As long as it’s auditable, defensible to support the business, and there’s clear oversight it’s ok. For example, you may be able to temporarily assume a limited access role after recording that you have a business need to perform an action and the process can enforce another party that this taking place and provide temporary, time-sensitive credentials. Most shops that are bad or less mature at security processes don’t get this far and have code czars and prod czars.

comment 7y ago · link · parent

These roles have been historically disastrous for me with no exception because they shared common problems that kept me from doing my job:

1. All talk and no support for automation. I want to be rich, handsome, and well-liked too but none of that happens without a lot of serious work if I’m just a pretty face with a horrible personality and refuse to admit that’s a big problem

2. Reactionary (vs responsive) culture - all the bad, none of the good of what allows agility. If there was vision and a real need to deploy more often, that would have been solved as a priority to help speed. Instead, all had been around for 5+ years cobbling together bad processes, tribal knowledge first, and burn-out of engineers related to the failing processes was the rule not exception.

3. Lack of understanding of how to grow beyond a certain engineering maturity level - ceremonies over results and design is common as a reaction. A lot of companies do “Agilefall” for example and watch quality and throughout drop like a rock. I’m not sure if there’s an equivalent portmanteau for “Devops tools and processes with none of the benefits of automation and all of the drawbacks of code”

comment 7y ago · link · parent

While I tend towards being a cheapskate on many physical things I also understand diminishing returns, and to me once you hop to the other side of the price-performance curve I define that as a luxury. For me, I get a lot more value out of a laptop and accompanying software ecosystem that helps me be more productive for my typical development cycle, and a lot of the stuff at the OS and above is pretty darn subjective and context-sensitive to the kind of development cycle.

From an overall productivity standpoint, because the biggest bottleneck to programmer productivity is mental and physical health, data would imply that I should spend more on exercise equipment, a better chair that keeps me from getting injured than on a laptop that gets maybe another 10% faster compile of already less than 30 seconds (incremental compilation anyone?) for the $1k difference between a 15" Macbook Pro and a 13" Macbook Air. No amount of money I dump into any hardware or software will make AWS provision its resources everything faster either, and that's what I sit and wait on the most for feedback rather than direct code compiles. And a fat CI / CD server is not run on my laptop unless I'm running Jenkins locally or Concourse.

comment 7y ago · link · parent

I’m more concerned with the economic realities and the political changes that happen (see: Andrew Yang’s thesis for why our current POTUS was elected) prior to coming up with solutions and that our global power structure is not necessarily good for human progress long term. None of our predictions about technology matters if we hurtle ourselves into another world war that wipes out major areas that concentrate the vast majority of technologists and a second Dark Age occurs as religion and bigotry triumph over reason and tolerance - all because we create technology that must benefit the already-wealthy by design.

Much like the really facile conflict in the movie 2012, will all those 100 million be white and Asian winners of capitalism?

Lastly, human sexuality is super complicated and even with mass-produced customizable porn I’d expect a trend back to imperfect, flawed relationships like we have now eventually. I still see zero answers to what the female equivalent of porn is, so I don’t think every developed country will turn into a mirror of Japan (women may choose to emigrate to find love / purpose similar to how most single men tend to emigrate for economic reasons from developing countries). Most of the West is so culturally obsessed with sex and most Judeochristian religions dogmatically encouraging population growth I don’t see it being possible without a Dark Age of the world happening... which global war could indeed cause.

comment 7y ago · link · parent

The female version of this taken even further is pretty much literally a Black Mirror episode. Season 2 Episode 1

comment 7y ago · link · parent

While the pattern is simple programmatically, it is insufficient operationally and sets a precedent of coupling your data plane and your messaging plane.

Looking solely from a code perspective, how would this be done prior to Postgres 9.5 (before SKIP LOCKED)? Of the four examples I saw (either MySQL or Postgres), all of them choked constantly and had a pathological case of a job failing to execute expediently during peak usage which made on-call a nightmare. So what do we do about the places that can't upgrade their Postgres databases because it's too complicated to decouple messaging and business data now? Based upon my observations the answer is "it's never done" or the company goes under from lack of ability to enact changes caused by the paralysis.

The reality is that simple jobs are almost never enough outside toy examples. Soon, someone wants to be notified about job status changes - then comes an event table with a foreign key constraint on the job table's primary key. Also add in job digraphs with sub-tasks and workflows (AKA weak transactions) - these are non-trivial to do well. Depending upon your SQL variant and version combined with access patterns, row level locking and indexing can be an O(1) lookup or an O(n^2) nightmare that causes tons of contention depending (once again) upon the manner in which jobs are modified.

Instead of thinking about "what are my transaction boundaries and what do my asynchronous jobs look like?" which are much more invariant and important to the business trying to map their existing solution onto as many problems as possible. Then it should be more clear whether you would be fine with a RDBMS table, Airflow, SQS, Redis, RabbitMQ, JMS, etc. Operations-wise more components is certainly a headache, but I've had more headaches in production due to inappropriate technology for the problem domain than "this is just too many parts!"

comment 7y ago · link · parent

I'm not opposed to a separate table or DB used exclusively for messaging separate from business level data, but I think I've never heard of anyone doing that in practice. It's almost always a bunch of hacky joins someone wants to do with the messages and the messaging gets directly coupled with the schema (foreign key constraints on transaction or event IDs and business entities is the usual case). Letting one or two things be used for purposes it wasn't necessarily designed for is alright but coupling the same place that has your OLTP together as your messaging system in itself is usually a culture where the same DB will be used in another month as a time series DB, then as an OLAP system, and then there's no time to properly decouple anything anymore / actually understand your needs and nobody wants to try to touch the very, very brittle DB that runs the entire business on its back.

It is a very, very slippery slope and it's seductive to put everything into Postgres at low scale but I've seen more places sunk by technical debt (because they can't move fast enough to catch up to parity with market demands, can't scale operationally with the budget, or address competitors' features) than ones that don't get enough traction where technical debt becomes a problem. But perhaps my experience is perversely biased and I'm just driven to over-engineer stuff because I've been routinely handed the reins of quite literally business non-viable software systems that were over-sold repeatedly while Silicon Valley sounds like it has the inverse problem of over-engineering for non-viable businesses.

comment 7y ago · link · parent

Besides more recent events several hundred years ago Japan also tried to invade Korea under Tokotomo Hideyoshi. Japanese Imperialism has a bit of history to it that makes Koreans uncomfortable given the peninsula has been under constant conquest by its neighbors for at least a thousand years now.

comment 7y ago · link · parent

CloudFormation is a declarative state management language and framework just like Terraform. The problem is that CF abstracts said state away from you to the degree that you can't hack around it and you wind up forcibly deleting resources if you try to use it like a configuration management framework. With CF Custom Resources you can add all sorts of other stuff and that's pretty cool at least.

comment 7y ago · link · parent

In my experience, most non-trivial sites are similar to icebergs of code - users might see 5% of the codepath in normal usage for what they want, but there's boatloads of OLAP, data analysis, instrumentation, error handling, and reporting being done on those transactions to help make that 5% both more profitable and reliable.

comment 7y ago · link · parent

Having witnessed what people do, it’s easy to prevent it now for the most part but badly written / enforced access controls and laziness (in the form of overcommit of engineers to projects) are the norm for most large companies. Most of the compromised buckets were launched years ago before a lot of safeguards were put in, and object level permissions can override bucket policies anyway. Getting sharing of objects across a Byzantine bureaucracy in internal IT is a great way to increase the chance some engineer desperate to get their work done will mark something public and forget about it.

S3 based URLs to get cheap web hosting for low traffic sites is exactly what leads to bad permissions as well. I’ve seen plenty of S3 objects that are made public so that they can be viewed from a web browser and are just a badly targeted script run away from being on the latest tech blog about how some other institution leaked PII.

comment 7y ago · link · parent

What used to be behind firewalls oftentimes became accidentally public through the many, many blunders of publicly available S3 buckets that people started to use because they were frustrated with AWS IAM. This is ironic because IAM was supposed to help you secure your data and such, not make things worse for your security profile. Even with all the tooling that exists to help people write better IAM policies and figure things out, cross-account IAM permissions and roles, S3 bucket policies, etc. are a nightmare for most people beyond fairly seasoned engineers in AWS and that's a problem. Secure-by-default is not quite 100% true with most AWS services in practice unfortunately.

comment 7y ago · link · parent

Zelle isn’t even a stopgap solution oftentimes. With Navy Federal Credit Union I can’t transfer more than $2500 anyway through Zelle as their servicer. I really don’t understand why banks in the US kneecap services from elsewhere in the world that seem to have perfectly acceptable rates of fraud while consumer identity protection seems strong enough elsewhere there’s hardly much risk from that side. Nobody’s explained the issues unique to the US that nobody else in the world has that makes our system so backwards in comparison (much like our healthcare system, but that seems rather easy to understand in comparison).

comment 7y ago · link · parent

A language that doesn't encourage its users to re-invent wheels and to instead craft re-usable modules that work well across hardware and locality changes through solidly tested and reviewed foundations would help improve productivity while still being comprehensible to everyone. This is the power of runtimes like the JVM and BEAM but is not really integrated into any language particularly well IMO. I'm thinking of a language that integrates algorithm constraints beyond types into the runtime into something more like a meta-runtime that helps run functions run with the appropriate level of resourcing.

I'm just hoping that someone at compile time will be told "warning: function will take 2M cores to sort an arbitrary list within 20 ms"

comment 7y ago · link · parent

A surprisingly high number of Nix and NixOS users are German speakers and there's an informal name of "NichtsOS" given to it.

comment 7y ago · link · parent

A colleague of mine put the problem more succinctly “what other industry is there where the top decision-makers have never done the basic work of the company?” Most executives in finance have done some form of financial analysis and reporting, construction company owners have almost always done a hard day’s worth of labor, and a lot of directors have had to do some acting / camera work and whatnot. In tech (especially enterprise business verticals) your typical CEO outside Silicon Valley hasn’t ever written a line of code or had to deliver a software project of substantial size. Many are salesmen, marketers, consultants, politicians, etc. and the technology and how it works is just an afterthought. It’s as if executing on the technology is a complete afterthought to investors and frankly they may be right - the barrier to succeed in most enterprise software is probably not your technology as much as how entrenched you already are in the industry you’re working in. This oftentimes bleeds over into supposed tech companies like IBM and HP - your customer base and partners infects your company culture from the top down and drives out engineers. Engineers are far too often excluded because “they’re too pessimistic” and yet every other time I hear about dismissing engineers’ concerns I also hear about tanked projects where it’s a complete mess or situations like the 737 Max. The thing is that the other half is a pretty good gamble.

comment 7y ago · link · parent

Carried over losses can be applied against future _earnings_ though so if you make $1M and not pay any taxes on it at that point because it's being offset by your past losses. I used it to offset my gains in taxes from selling my company stock (ISOs) when I sold a rental property at a substantial loss shortly after the Great Recession. Had my taxes double checked with an accountant to make sure I did the math right and I was right to the cent.

comment 7y ago · link · parent

Decades into the future I will be an old man screaming that wireless will never replace wired networking while some insane people have come up with real-world 10 Gbps wi-fi connections. The realities of wireless communications don't seem to have changed much since the early days of wi-fi at 802.11b and prior and while wired networking has somewhat hit a wall for consumers in the datacenter it's still kicking ass and taking names at 400 Gbps and software is among the bigger limitations than the hardware.

comment 7y ago · link · parent

MoCA adapters are much more expensive compared to typical Ethernet adapters in general but work in a pinch. I've moved frequently and have lived in older houses so I'm now armed with two different powerline Ethernet adapters, a pair of bonded MoCA 2.0 adapters (one is already included if you have a STB from a cable provider technically but the Ethernet port on it may not be a passthrough or bridge connection), and a Ubiquiti based setup. While the best option outside of direct CAT5+ cabling is the MoCA adapter setup, I'm disappointed that in most older homes with pretty awful wiring I can still only get 600 Mbps maximum. I know it's the house's cabling because in my previous house I used the same adapters and got a clear 850 Mbps for a slightly longer cable distance. Sometimes a signal booster [1] helps but tends to boost the wrong frequencies if you buy the cheaper ones that were meant for older, analog broadcast in a home.

[1] https://www.amazon.com/Splitter-Signal-Booster-Amplifier-Int...

comment 7y ago · link · parent

The problem with enterprise software is the same problem with most issues we see from the producer side - those doing the work are completely different in alignment and requirements / needs than those that make the decisions to purchase for those. In Agile (and devops), the greatest friction is squarely around the reality that there's a manager caste that pushes down and makes decisions with very little feedback loops or misaligned incentives by all the stakeholders involved, and this causes churn within the group. For the buyers and the users of the software, their requirements are oftentimes lost. In your scenario, users with more power over their day-to-day software will demand better software and be empowered to select alternatives, but in more traditional organizations there will be a lot less churn comparatively because users will simply put up with bad things forcibly.

Almost all the "radical" software and project management practices to show up (and when implemented successfully at least) in the past 15 years aims to give more power to workers and to de-scope the role of management from pure decision-makers into a more supportive role with more intense feedback. There is a very consistent theme that organizations where these efforts fail are ones where management uses new processes and tooling to exert their existing political power to achieve results instead of also transforming themselves.

1
141516
39