Better HN
topnewbestaskshowjobs
Log inSign up

Merad

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

Submissions

comment 8y ago · link · parent

It's been done: https://www.youtube.com/watch?v=eNSN6qet1kE

comment 8y ago · link · parent

At a previous employer (Fortune 500, not a software co.) the IT security team would sometimes seed the parking lots with thumb drives that were "infected" with a program that would phone home to them if plugged into a PC on the corporate network. IIRC there was a depressingly high (> 50%) rate of them being plugged in.

comment 8y ago · link · parent

Yep. https://docs.microsoft.com/en-us/visualstudio/test/live-unit...

comment 8y ago · link · parent

According to Tesla's map there are only 12 supercharger stations in my state. That seems be a pretty typical number for most of the US outside of Southern California and a handful of other major areas. That might be enough to support a handful of enthusiasts and early adopters, but it's a drop in the bucket when your goal is to have millions of people using EVs as their primary vehicle.

comment 8y ago · link · parent

I don’t see EVs taking off for average Americans until there’s an exponential increase in charging infrastructure. I live in a place where it would make great sense to have an EV (only commute 12 miles each day), but I can’t charge at home (townhouse) and I’m not aware of any chargers in my immediate area. There’s also the issue of travel, meaning an EV can’t really be your only car or else you need to be prepared to rent any time you go on a trip.

comment 8y ago · link · parent

If you’re interested in the topic, I highly recommend picking up a copy of John Coster-Mullen’s book (discussed in TFA) on Amazon while you can. It’s already somewhat hard to find and not commonly carried by libraries. The author is in his 70s and won’t be able to continue self publishing forever.

comment 8y ago · link · parent

Gas stations, fast food restaurants and large chain stores (Walmart, grocery stores, etc.) are all effectively free public toilets, at least in the regions where I've lived. I imagine they legally have the right to limit access to customers, but I can't remember ever seeing it done in practice.

comment 8y ago · link · parent

> An even bigger issue I have is the huge reliance on mocking which leads to completely brittle tests and code that can withstand no change without all hell breaking lose.

In the .NET world, at least, I highly recommend the AutoFixture library. It's mainly meant for generating test data, but combined with your preferred mocking library it can auto generate mocks on the fly. For example, imagine that you're testing a class with 5 dependencies, but only one is relevant to the current test. AutoFixture will generate all the mock objects automatically for you, then let you capture the one you care about to set up its behavior for your test.

comment 8y ago · link · parent

In Firefox you can change the setting dom.event.clipboardevents.enabled to false to prevent the absurd past-blocking behavior.

comment 8y ago · link · parent

If you want to see truly insane performance (not that DRACO isn't impressive), look videos of fighters like the F-22 doing max performance take offs. Lightly loaded they can be off the ground in about 250m and supersonic before the end of the runway - and these are aircraft that weigh upwards of 20 tons.

comment 8y ago · link · parent

Not in the US. The majority of the country isn't to the point of believing that climate change poses a serious threat, and among non-Democrats attitudes towards climate change are actually regressing: https://news.gallup.com/poll/231530/global-warming-concern-s...

comment 8y ago · link · parent

You haven’t interacted with many average users, have you? When instructed to go to “yourdomain.com”, they’ll bring up google and search for yourdomain.com. If it doesn’t appear in google search results, it effectively doesn’t exist to an enormous segment of users.

comment 8y ago · link · parent

You're looking for the Boeing X-45 UCAV (test program completed mid-00s) and the Boeing Phantom Ray (current project).

comment 8y ago · link · parent

> I would also be impressed.

There's nothing to it, most people just apparently don't know that it's possible. Chrome, Firefox, and I assume all the major browsers support remote debugging, your IDE just need to know how to send them commands. All you need to do is install the Chrome/FF debugging plugin and click 'Start Debugging'. A settings file should open for you to configure the url to launch.

comment 8y ago · link · parent

This is mentioned in TFA:

> It's also not that explosive, owing to the fact that TNT doesn't have enough oxidizer to burn all its carbon and hydrogen fuel, which is why you see a black cloud of mostly carbon after TNT is detonated. So TNT is generally mixed with other chemicals, such as RDX to form an explosive mixture called Composition B that is found in many bombs.

comment 8y ago · link · parent

FYI anyone can dip into your checking account anytime they want to. AFAIK there is literally zero security, all you can do is dispute unauthorized transactions after the fact. Even with a paper check all the info on the check (including recipient and amount) is effectively just a paper trail to be referenced during a dispute.

comment 8y ago · link · parent

Do civilian government employees even get a pension plan anymore? I got an offer a few years back from a three letter agency in DC and I'm pretty sure they just had a 401k.

comment 8y ago · link · parent

I can't speak for the others, but UPS definitely doesn't use climate controlled facilities or well ventilated trucks. In particular the semi trailers that transport packages between facilities are saunas in the summer and ice boxes in the winter after hours on the road.

comment 8y ago · link · parent

I’d be utterly shocked if you’re correct. Controlled substances most likely do get some kind of kind of courier delivery, but there’s no reason to do it for anything else. If it needs to stay cold you slap in an insulated box with ice packs. I’ve gotten deliveries before from Blue Apron and Omaha Steaks. Believe me, they have no problem keeping things cold.

comment 8y ago · link · parent

I don't think autopilot programs are anywhere close to that complex. All the ones I've seen had modes like "hold course and speed" or "follow a series of pre-programmed waypoints". Some military aircraft will have a radar guided terrain following mode as well. In the (highly unlikely) event that the autopilot is engaged when the pilot ejects, the autopilot is just going to continue following whatever mode it's set to.

comment 8y ago · link · parent

Basically all of your popular and widely used libraries support Core at this point. Also, starting with either Core 2.0 or 2.1 you can use most packages targeting .NET Framework with Core, and ~80% of them (IIRC) are supposed to be fully compatible.

comment 8y ago · link · parent

Bear in mind that UPS’ (and I’m sure Fedex too) entire operation is in motion 24/7. The brown trucks return to base full of packages, most of which need to be pushed upstream to regional sort facilities to go to other areas. Those regional facilities and everything larger are basically working nonstop IIRC.

“Continuously delivery” would probably be difficult. Your typical truck will head out with 6-800 packages to be delivered in a 8-9 hour day, and they don’t all come in at once. Maybe you could send out trucks more often during the day, with fewer packages to be delivered over a larger area, but I’m not sure it would be that beneficial. You’d increase fuel and maintenance costs, plus you’d be paying your (fairly expensive) drivers to spend more time driving rather than delivering packages.

comment 8y ago · link · parent

Worked at UPS from ‘03 - ‘05. I can tell by the labels and codes on the packages I get that not much has changed since then. Didn’t know anything about programming at the time, but I still spent plenty of shifts daydreaming about how the job could be automated or at least done by trained monkeys. 15 years later I can look back and pretty confidently say that it’s a much more difficult problem than I thought at the time.

Loading semis is basically 3D Tetris where you have to consider not only shape (boxes, tubes, cylinders, and everything in between) and size (fits in the palm of your hand up to 2- 3m long), but weight (basically 0-75 kg) and rigidity. Humans pretty easily develop and intuition for these things. I certainly unloaded plenty of semis that were for all intents packed to capacity. In theory you could probably have some kind of fully integrated system that let you know ahead of time the details of every package so you could model the entire load and figure out how to fit it... but doing what humans do loading on the fly would be damned hard.

Loading package cars (the brown delivery trucks) drops the need to maximize volume carried and adds constraints about the order and location of packages so the driver can find them. Again though, it’s a fairly loose system. In theory the load is pretty well distributed across the truck’s numbered shelves by the planning system... except all the days that it isn’t. A loader ends up making a lot of on the fly calls to overflow shelves and rearrange things so they fit on the truck and the driver has a reasonable chance to find them.

tl;dr - Anything is possible, but automating that part of the process is an enormous challenge IMO.

comment 8y ago · link · parent

I have a hard time believing that the reduction is anywhere near substantial enough. Friction heating was a major issue for high speed aircraft like the SR-71, and they "only" fly at ~3500 km/h at 20+ km altitudes.

comment 8y ago · link · parent

My parents bought a new 2018 Camry a few weeks ago that came with a manual roughly an inch thick. Expecting anyone to read it is bordering on delusional. I say this as someone who often does read manuals (because I’m a nerd).

comment 8y ago · link · parent

Seems extremely cost prohibitive. In addition to the extra rails and control systems, you’d need a high speed locomotive and several cars for every single station along the route.

comment 8y ago · link · parent

"Gaming = single threaded" really hasn't been true for a while now, at least in the arena of AAA games. My gaming desktop has a Core i7-4790k (4 core/8 thread), and I can remember several games offhand that were loading all 8 HT cores at 75+%.

comment 8y ago · link · parent

Thanks. Yep, her oncologist's words were "unfortunately someone always has to be in the 8%."

comment 8y ago · link · parent

Yep. Last year my mom's cancer returned two years after she was told she only had an 8% chance of recurrence. She's at least lucky in that it's apparently a non-aggressive type that can be treated with meds that have minimal side effects. Unlucky, however, since (barring new treatment options) she'll need to continue treatments for the rest of her life.

comment 8y ago · link · parent

I'm really curious what will happen with GitHub Enterprise. Doesn't it compete in the same space as VSTS/TFS?
1
171819
26