Better HN
topnewbestaskshowjobs
Log inSign up

Merad

2,800 karma · joined Mar 14, 2015 (11y ago) · 772 submissions

Submissions

comment 3y ago · link · parent

> [...] doing your own startup is one of the few relatively low risk gambles one can take.

I was under the impression that around 90% of startups failed. Was I mistaken, have the numbers changed, or do we just have very different thresholds for "low risk"?

comment 3y ago · link · parent

> Is it likely that NG / USAF would be actively avoiding the potential for satellite imagery? Does it mean all the time it was being built, they avoided having it outside during the daytime?

During the Cold War black projects like the F-117 did exactly that. IIRC they weren't necessarily limited to being out side only at night, but they were very careful about satellite orbits to make sure the secret aircraft wouldn't be caught on camera.

When the B-2 bomber was unveiled, the USAF didn't really want people to get good photos of the wing's shape due to some of the stealth technology incorporated into it. Aviation Week famously [0] got the drop on them by flying a Cessna right over the rollout. Considering how many very high quality cameras are in orbit today I imagine they put some thought into preventing Russia, China, etc. from getting good photos of the B-21.

0: https://aviationweek.com/defense-space/aircraft-propulsion/s...

comment 4y ago · link · parent

Some of Amazon's policies are real head scratchers. Last year I bought a high end ultrawide monitor from them. I believe I paid about $1500 for it originally. Two or three days after it arrived, it went on sale for about $300 less. IME most companies have a policy in the fine print where if an item goes on sale less than a week after purchase they'll refund the difference, if you ask. So I contact Amazon support. The agent insisted that no refund was possible but that I should return the monitor for a refund and order a new one at the lower price. It boggled my mind so much that I asked them explicitly if they understand that they'd be paying for return shipping (at least $50 given the size and weight of the monitor), they'd be getting back an open box item that would lose probably 20-30% of its value, and I'd get back the $300. They said yeah, that was just how the system worked...

comment 4y ago · link · parent

I'm starting to think that Elon has really bought into the myth of his own genius (i.e. that he's something like a real life Tony Stark). That didn't really exist until maybe 8-10 years ago.

comment 4y ago · link · parent

If only. My grandad was a lifelong truck driver and a pretty good one AFAIK, he kept working well into his 70s with a safe driving record. But eventually as he got older he caused three minor accidents in less than a year before he agreed to stop driving. This was in the late 00's as he was approaching 90.

comment 4y ago · link · parent

> I can't help but feel like I'm missing context here.

I think the main context is simply that people suck sometimes. I'm not a huge fan of writing scripts or command line tools with node, but I've done it before, even in projects where js wasn't the primary language. It's a useful tool. Yes, the functionality overlaps with sed and grep, but speaking for myself I can never remember how to do anything more complex than the basic `grep text_goes_here`. If I found myself needing to do a lot of command line find and replace operations I certainly might make a little tool like this.

comment 4y ago · link · parent

> Try to imagine what a setback it would be to try to discover smelting or electricity underwater. It’s not an impossibility, but I suspect it’s inherently a small fraction of underwater societies that discover it at all.

It's interesting to think about. If you live entirely underwater you have no reason to harness fire, or develop even simple technologies like the wheel. If you don't harness fire, will you even be able develop basic metallurgy (bronze, iron, steel)? If you don't work with fire or metal you don't develop steam power. Without steam you don't have an industrial revolution, without an industrial revolution you lack the prerequisites to develop internal combustion or heavier than air flight, and without internal combustion you probably don't develop chemical rockets.

I suppose it's possible that an aquatic civilization could take a totally different path to space than we did, but they'd definitely be playing the space race on hard mode.

comment 4y ago · link · parent

No, definitely not. During the Cold War more than 600 nukes were exploded in above ground tests (thousands more in underground detonations).

comment 4y ago · link · parent

The topic of seniors and tech is something I despair over quite frequently. My own dad is 75. He’s by no means a genius, but he isn’t a stupid man (though he has seen significant cognitive decline in recent years). He worked in finance most of his career so he was working with computers fairly early on and throughout most of his career. We had a home PC by 1989, and he spent a lot of time in the 90s messing with DOS and Windows 95 and programming with C as a hobby.

These days he has an iPhone and iPad that I got him because of accessibility and ease of use, a Windows PC, and a Roku (he used the Hulu local tv service instead of cable). On all of those devices he can only do the basics and is completely helpless if something unexpected happens. Just a few days ago he was watching a show on Prime Video, accidentally skipped to the next episode, and couldn’t figure out how to navigate back. On his iDevices he routinely gets confused trying trying to look at messages, i think because he’s used to seeing/answering them through notifications and doesn’t understand the layout of the messages app. He also has a lot of frustration with the iDevices due to arthritis in his hands. On his PC he’s been using Quicken to track his finances for probably two decades, and last year he ask me to help set up online download of his accounts to make the reconciliation easier. I thought it was a good idea at the time, but every month or two now I have to sit down with him and spend an hour unravelling a mess he created due to getting confused about Quicken’s process for matching downloaded transactions with those he manually entered in the register.

I could go on and on with examples, but the question I ponder over is whether or not there’s a fundamental difference between his generation that didn’t grow up with technology and the younger generations that did. Will technology move on and change so that even those of us who a tech savvy today are hopelessly outclassed in 30-40 years? Or are have our brains been wired differently to make us more adaptable? I don’t have answers and I’m rambling at this point, but I feel like something has to give. For seniors today technology is mostly a convenience (they can choose to largely ignore it if they want to) but by the time we reach their age I don’t think that will be the case.

comment 4y ago · link · parent

Yes, obviously that's an option, but it's one that gives up revenue. At that company most clients were billed monthly, and it was a small-ish company, so the loss wouldn't be huge (I'd guess mid to high 5 figures). However many payment processors do daily billing, meaning you'd be giving up a penny every few days instead of every few months.

I also overstated the customer impact... perhaps 1% of customers would inspect every detail of their statements and they tended to be annoyed by it. The overwhelming majority didn't notice or care.

comment 4y ago · link · parent

> For example, most monetary transactions are settled to the nearest penny.

Settled, yes, but all kinds of financial operations require higher precision. IME with payment processing the backend calculations and account balances were done to a thousandth of a cent. It was a common point of confusion because when clients were billed for their processing fees they usually ended up with a fraction of a cent balance that couldn’t be billed and stayed on their account. Every couple of months those fractions of a cent would add up to a full cent and their detailed billing breakdown would include a 1 cent charge in the “other” category that would drive them crazy. But of course financial calculations usually don’t use floating point anyway.

comment 4y ago · link · parent

Yes, more than a few will be lost that way. From what I've read though boomers as a whole want to stay out of assisted care facilities, probably because many of them saw their own parents rot in such places. My own parents are near the leading edge of the boomer cohort (they're 75) and it's a common feeling among their friends.

Also, the grim reality is that you have to live long enough to need assisted living. A life expectancy of 78 sounds good on paper, but by the time you get to your late 60s and early 70s people in your age bracket are dropping pretty quickly.

comment 4y ago · link · parent

Another big factor here is that the boomers are starting to die off. The oldest of that generation is 77 now and 80% of them are homeowners, so the next 20-30 years are going to see quite a lot of wealth (including homes) pass from boomers to their GenX and Millenial children.

comment 4y ago · link · parent

I absolutely care where and how my code runs. And yet I don't give a damn about writing terraform, managing IAM, VPCs, keeping up with backups, upgrades, etc. I want specialists who know what they're doing to deal with that stuff.

I'm also not convinced that the average junior or mid level application dev needs to know where or how their stuff beyond some high level concepts (i.e. our app uses auto scaling).

comment 4y ago · link · parent

> A lot of `if (input == null)` checks are because you're just not sure whether the argument being passed in will have a value, and it's too much work for your small feature PR to refactor the whole codebase to resolve it.

Null checks are totally fine, but it should be clear whether or not null is a valid input to the method. If the answer is 'no' then you should throw ArgumentNullException (or whatever's appropriate for the language), not silently ignore the bad input.

comment 4y ago · link · parent

This is an attitude I really try to build up in junior devs. Soooo many people seem to default to writing code like, "if input is null return null" (when input should never be null) or "if valueThatShodBePositive < 0 silently skip the code that was going to use the value". If the app detects that something is in an invalid state _I want it to break_. The worst problems to debug are the ones where you have to work backwards through miles of strange behavior and corrupted data to find the root cause, because the program tried valiantly to soldier on long after it had been shot through heart with bad data.

I guess this is because no one really teaches error handling. I assume a lot of students end up with a mindset of just make the errors go away instead of, deal with the errors effectively.

comment 4y ago · link · parent

Based on some quick testing MERGE does not appear to cause id gaps, though that does make me wonder if it's able to do so by providing less strict guarantees than ON CONFLICT.

comment 4y ago · link · parent

Temporal tables can get pretty bloated when the table sees a lot of updates since they essentially save a copy of the row every time it's modified. You could of course add a reaper system to only keep the last N versions, or only versions less than N days old, etc. Unfortunately IIRC there's no built in support to do that automatically.

comment 4y ago · link · parent

The US healthcare system is all kinds of messed up, but this sounds like FUD territory. I was hospitalized for 12 days earlier this year for what ended up being a heart issue. Not as "exciting" as a stroke perhaps but I'd have ended up very dead without modern medicine. The total bill sent to insurance was $85k and I ended up having to pay $5k.

comment 4y ago · link · parent

The lucky half would be the ones who got cooked due to facing the burst. The unlucky survivors would get to take a journey with a planet on its way to being inhospitable due to just having half of its atmosphere burned away and half of the surface completely sanitized of life.

comment 4y ago · link · parent

Are you maybe thinking of CPUs back when they were marketed by clock speed? Because GPU naming has always been a mess. In the mid 2000s for example you had the Nvidia Geforce 7 series with product names such as: 7800 GS, 7800 GT, 7800 GTX, 7900 GS, 7900 GT, 7900 GTX, 7900 GTO, 7900 GX2. They've been moderately consistent with "bigger numbers in the name = higher end card" but beyond that you can't tell anything meaningful without comparing the cards in a table.

comment 4y ago · link · parent

Maybe not a legal reason per se, but even if you have production data access appropriately locked down there will be some people who hold the keys to the kingdom. There's a lot more risk of people peeking at things they aren't supposed to when the data in question is about their own company, friends, coworkers.

comment 4y ago · link · parent

I believe the runtime preallocates an OOME on startup, so if one is encountered it can just fill in the blanks and throw without needing any additional allocations.

comment 4y ago · link · parent

It's always fascinating how different people approach writing code. I've worked with some very talented devs who preferred dynamic languages because they liked what I call a "smash face on keyboard" style of coding. They wanted to be able to make a change, run the code, make a change, run the code, often repeating that dozens of times before they got it right. I, and I think many people who prefer statically typed languages prefer a more methodical style of programming where we spend more time reasoning about the types and how data flows through the app. I might only run the code every five or ten minutes, but often if it builds it's right the first time. If the types are wrong, the code is wrong, and I've no interest in running code that's wrong.

Is one side or the other right or better? I dunno, I'm not qualified to answer.

comment 4y ago · link · parent

I'm not too surprised the fraud claim was denied. You definitely made the payment, you paid a [technically] legitimate business, and they completed some of the work, i.e. it's hard to say they accepted the payment with intent to defraud you. The fact that they didn't fully complete the agreed work isn't really a matter for the bank's fraud department to resolve. Dunno why NFCU couldn't just communicate that though. Sounds like a shamefully poor support experience on their part.

comment 4y ago · link · parent

50k per month (600k per year) is an extraordinarily high salary even in the US. I assume the parent poster meant 50k per month for the team of 5, so each dev is getting 10k per month/120k per year.

comment 4y ago · link · parent

I first went to college in 2002 intending to pursue an engineering degree. At some point before I started school my dad (who had learned programming in the 90s but never did it professional) told me he thought I'd enjoy a programming career and I should think about switching majors. I dismissed it as teenagers tend to do with their parent's advice. Ended up dropping out of school and drifting through my 20s without much to show for it because I didn't know what I wanted to do. It wasn't until 2012 that I went back to school for CS. Can't help but think about how different things might be if I'd gone into the "right" major from the start and entered the industry making a decent salary 8-9 years earlier. But realistically I was a very different person 20 years ago, and just changing my college major probably wouldn't have fixed the things that prevented me from being successful the first time around.

comment 4y ago · link · parent

Aircraft fires can escalate extremely quickly, and in an enclosed space like an aircraft there's nowhere for smoke to go. Accidents also often result in less than optimal evacuation conditions. Fire may block exits, doors can jam, slides can fail to deploy, all of which slow down the evacuation. I've spent way too much time watching the Air Disasters show [0] and off the top of my head remember at least half a dozen or so accidents portrayed in the show where a plane was evacuated in minutes but some passengers were killed by fire or smoke because they couldn't get off in time. I'm not saying that wide body planes couldn't be evacuated quickly or safely (haven't really looked into them at all) but I don't think it's a situation where you can just say, wide bodies are more slow to evacuate and that's no big deal.

[0]: https://www.smithsonianchannel.com/shows/air-disasters

comment 4y ago · link · parent

A380s are probably too big TBH. IIRC their size and weight limits where they can operate because not all runways can support them. Also fuel is fairly heavy and dense, so tankers are more limited by weight than volume. The classic KC-135 tanker for example can carry around 175,000 lbs of fuel, but the main part of the fuselage is basically empty: https://qph.cf2.quoracdn.net/main-qimg-2638cc62527bd387b0a38...

comment 4y ago · link · parent

> they like to be fully charged, last virtually forever when maintained that way

If that's the case why do the lead acid batteries in consumer UPS's never last more than 3-5 years?

1
91011
26