Better HN
topnewbestaskshowjobs
Log inSign up

Merad

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

Submissions

comment 3y ago · link · parent

A lot of modern cars only have a single LED bulb that provides normal headlights and high beams. In the past with halogen headlights they'd either have two separate bulbs or a single complex bulb with two different filaments for normal and high beams. I would assume LED + PWM lets them have a single bulb whose brightness can be controlled by software, so the choice is probably more about cost savings and reducing complexity than energy usage.

comment 3y ago · link · parent

If you really think that this started with Trump, you must not have been paying attention before. The media (conservative media in particular) hounded Obama about some extraordinarily stupid things. Famously there was a significant controversy one time about the color of his suit [0]. I honestly can't remember whether Bush 43 got similar treatment. Maybe the prominence of clickbait/outrage journalism didn't come about until the end of his presidency? Or maybe the incidents have just faded from my memory.

0: https://en.m.wikipedia.org/wiki/Obama_tan_suit_controversy

comment 3y ago · link · parent

I think Toyota is in much better shape in this regard than you might expect. Most/all of their hybrid vehicles use an eCVT transmission to drive the front wheels that's radically different from a traditional transmission. And their AWD hybrid models provide the AWD via an electric motor on the rear axle (no connection to the ICE engine) that's essentially identical to the setup in electric cars.

comment 3y ago · link · parent

Why do you think this was stupid advice? More than a few "normal" kids go off to college and crash and burn or otherwise fail spectacularly because they aren't prepared to be on their own. It sounds totally reasonable to suggest that a kid struggling with issues like the GP might consider community college so they can stay around family support structures, continue seeing the same doctors or therapists, etc.

comment 3y ago · link · parent

> It's odd that parents consider broader considerations like their 9-5 schedule more important than the health and well-being of their own children.

Why are you blaming the parents? Most people in the world don't have the benefit of flexible tech jobs that allow them to work 10-6 or to come and go as needed during the work day.

comment 3y ago · link · parent

Bing actually got tripped up by HGTV simplifying a product name in their article. It used this HGTV [0] article as its source for the top pet vacuums. The article lists the "Bissell Pet Hair Eraser Handheld Vacuum" and links to [1] which is actually named "Bissell Pet Hair Eraser Lithium Ion Cordless Hand Vacuum". The product you found is the "Bissell Pet Hair Eraser Handheld Vacuum, Corded." A human likely wouldn't even notice the difference because we'd just follow the link in the article, or realize the corded vacuum was the wrong item based on its picture, but Bing has no such understanding.

[0]: https://www.hgtv.com/shopping/product-reviews/best-vacuums-f...

[1]: https://www.amazon.com/BISSELL-Eraser-Lithium-Handheld-Cordl...

comment 3y ago · link · parent

I’d imagine most people with the knowledge to safely handle these types of explosives already have access to modern weapons grade stuff (black market munitions, etc.). For your run of the mill domestic terrorist type it really isn’t that hard to make explosives (fertilizer and diesel fuel), so probably not worth the risk of messing with unstable 100 year old bombs.

comment 3y ago · link · parent

It's cargo cult corporate leadership. My company has less than 200 employees, so our layoffs weren't newsworthy, but the c-suite decide to cut 5% last week citing "trends in the industry." I can't speak for other departments but our engineering team definitely _is not_ bloated yet they still axed two positions from teams working on the highest priority projects in the company. Absurd.

comment 3y ago · link · parent

I have a HL-5250DN that's been going since 2005. The paper tray died a few years ago, but at this point I don't print more than a dozen pages a year so I just use the multipurpose feed tray on the front. I think the drum is down to about 30% of its life remaining, but that probably equates to about 10k pages so I don't expect it to give up any time soon.

comment 3y ago · link · parent

Brother has color laser printers starting at around $250, but they get you on the toner cartridges... $75 each and it takes four of them. It probably works out to be cheaper than an inkjet though since you don't have to worry about toner drying out when you've only used half the cartridge.

comment 3y ago · link · parent

The official service ceiling of the F-22 is only 50,000 feet. There’s no doubt that it can fly higher (for example the F-15 set zoom climb records going up to nearly 100,000 ft) but at those altitudes controlling an aircraft gets a lot more difficult due to the thin air. If the F-22 _does_ have good control at those altitudes then using that capability for the shoot down would be revealing previously unknown (presumably classified) info about it. If it doesn’t, attempting a zoom climb close enough for a cannon shot would carry some risk… even if just risk of missing and having to try again while the whole world watches.

comment 3y ago · link · parent

I’ve seen some unconfirmed claims that they show it with a missile whose warhead fuse was disabled. Normally anti-aircraft missiles are proximity fused and throw out lots of fragments when they explode, kind of like a giant shotgun blast. With the warhead disabled presumably it just punctured the balloon to deflate it and, as you say, hopefully let it come down intact.

comment 3y ago · link · parent

> If you're employed "at will" (and almost everyone in the US is) you can't refuse "promotions." From the company's perspective they are deciding to no longer employ you for position a, but they are simultaneously offering to employ you for position b. You can take it or leave it.

That's not correct. Being employed at will means that you _can_ be let go for refusing a promotion (or just about any other reason) but it doesn't mean that automatically happens. There are plenty of companies that understand that some people reach a point where they don't care about climbing the ladder anymore and don't want to take on more responsibility.

comment 3y ago · link · parent

> Im not sure where this incredible fear of CCs comes from. It literally doesn’t matter what the APR is unless you’re irresponsible.

That's exactly where the fear comes from. Credit cards are really a test of financial self control, and a lot of people have really poor self control. Many people also don't seem to truly understand how interest works, they just see easy access to money in exchange for a monthly payment that they can afford.

Credit card companies have also intentionally targeted people with poor financial literacy. When I was high school and college (late 90s/early 2000s) it was really common for companies to set up booths on college campuses offering credit to kids who had little or no understanding of what they were signing up for and no source of income. I think regulations were eventually passed after some public outrage in response to news stories about college kids wracking up five figures of CC debt with no means to pay it off.

comment 3y ago · link · parent

At what point do you think punishment is warranted when companies or individuals break regulations resulting in people being placed at risk? This isn't software where the impacts are some user inconvenience and maybe a bit of lost revenue. If this incident had gone just a little differently it could easily have resulted in deaths, people receiving massive radiation doses, or even hundreds or thousands of people getting enough exposure to raise their risk of cancer. Regulations around handling radioactive material are a lot like aviation regulations, they tend to be written in blood.

This is a short list of major radiation exposure incidents in the past few decades:

https://en.wikipedia.org/wiki/Ciudad_Ju%C3%A1rez_cobalt-60_c...

https://en.wikipedia.org/wiki/Goi%C3%A2nia_accident

https://en.wikipedia.org/wiki/Kramatorsk_radiological_accide...

https://en.wikipedia.org/wiki/Theft_of_radioactive_material_...

https://en.wikipedia.org/wiki/Acerinox_accident

https://en.wikipedia.org/wiki/Samut_Prakan_radiation_acciden...

https://en.wikipedia.org/wiki/Lia_radiological_accident

comment 3y ago · link · parent

I believe SQL Server does this, but Postgres does not.

comment 3y ago · link · parent

DB Cooper would beg to differ: https://en.m.wikipedia.org/wiki/D._B._Cooper

comment 3y ago · link · parent

They should, but there have certainly been aircraft disasters where the pilots didn't exactly do what they were supposed to do.

comment 3y ago · link · parent

Yeah, I really feel like we should be pushing plug in hybrids more. If you have a 30-50 mile EV range you cover the daily commute for the vast majority of people so you can drastically reduce emissions. Meanwhile the gas engine covers the “oops I forgot to plug in” factor as well as the freedom to do long trips without being bound to charging infrastructure. Both of which would help ease the transition away from pure ICE, IMO. Hybrids might not be the sexy solution but they buy us time to build out the electric grid, chargers, etc. as well as (hopefully) figuring out better battery tech.

comment 3y ago · link · parent

> Allowing customer service to bypass customer auth requirements is just weakening your system. There will always be a CS agent who is bribed, makes a mistake, etc. And besides, the agent following a flow chart has no better info to make the decision on than a computer.

This is true, but OTOH there will _always_ be edge case scenarios that no one anticipates until they actually happen. Or maybe someone did anticipate, but they were drowned out by the other voices in the room saying "that can't/won't happen," so it wasn't included in the requirements. What happens when a customer encounters a problem that doesn't fit neatly into one of the user journeys that the product team planned out? Are they just shit out of luck?

comment 3y ago · link · parent

Interesting. About 10 years ago I got a job offer from a three letter federal agency that would've required a clearance. I ultimately declined so I never started the process, but I was told that past drug use (weed, at least) wasn't necessarily a deal breaker while being caught lying about past drug was an automatic fail.

comment 3y ago · link · parent

Not a pilot so I don't know if they'd use that language today, but there have been more than a few lessons written in blood over the years regarding ambiguous/unclear ATC communications. For example the worst air disaster ever occurred in part because a controller gave the instruction (paraphrasing), "cleared to beacon after takeoff." It was intended only as instructions to be followed after takeoff, but the pilot interpreted it as, "you are cleared to takeoff, then follow these instructions." The airport was under heavy fog at the time so he couldn't see the plane that was taxiing and hadn't cleared the runway yet. Two 747s collided and nearly 600 people died.

Source: https://en.m.wikipedia.org/wiki/Tenerife_airport_disaster

comment 3y ago · link · parent

AutoMapper is almost universally misused/abused. It's intended for use cases where 98% of the model's properties can be mapped automatically, typically where the result model isn't doing anything except excluding a few properties or maybe flattening a nested object. For anything else (i.e. any scenario involving significant changes in the data shape or structure) IMO you are better off writing the mapping by hand. But once devs get hold of AutoMapper, every mapping problem becomes a nail...

comment 3y ago · link · parent

Is this a misleading/attention grabbing headline, or does TFA just do a poor job of describing the data? Based on some quick googling about 29% of the NY population is age 21 or younger, and 13% is 65 or older. That's 42% of the population that I wouldn't really expect to be earning a living wage. You still end up with a third of working age adults who aren't making a living wage (~60% of the population is working age, ~40% of the population makes a living wage). At first glance that still seems like a shocking number, but if you start thinking about the numbers of stay at home parents, people on disability, part time workers, etc. it has to trim the number down quite a bit. What really seems to be missing is intent, i.e. how many people are working in a job where they don't really expect a living wage?

comment 3y ago · link · parent

As far as I can find Apple does not advertise an official Noise Reduction Rating (NRR) for them though there are some review sites claiming they have a NRR of about 22-23, comparable to basic foam earplugs. I personally wouldn't rely on them for anything where you actually _need_ hearing protection - shooting, loud machinery, etc.

comment 3y ago · link · parent

> Its real utility isn’t that it uses less oil, but that it cooks incredibly fast. > The chicken and the sauce are both done within 10-15 minutes.

Normal sized boneless chicken breasts should cook in a pan in about 10 minutes or less, and you really don't need to do anything other than flip them once. If air fryers are convincing people to cook their own fresh food I would say that's a good thing, but I'm still struggling to see how they're actually better than "traditional" cooking.

comment 3y ago · link · parent

Your info is a little out of date. Two months ago I hired movers to go 150 miles, and I did the packing myself. I have a house rather than an apartment but I don't have that much stuff. Cost was $3500. A full service pack and move across the country would probably be upwards of $5000. Even more if you were moving a whole family.

comment 3y ago · link · parent

This is a very outdated take on windows.

I’m not sure what “multitasking is bad” means, but I do a heck of a lot of multitasking on windows every day with resource intensive developer tools with no problem, and have been doing so for over a decade.

Apps can be killed via task manager without doing anything special. You might run into an occasional rare bug where explorer freezes so you can’t open task manager, but I can’t recall the last time it happened to me (and you can’t tell me with a straight face the Linux or MacOS are completely free from wild edge case bugs of that sort).

I used to religiously reformat and reinstall windows. It’s been completely unnecessary since at least Windows 7. My personal desktop ran from 2014 to 2021 on the same install, including a Win7 -> Win10 upgrade.

You certainly may not like the registry, but it’s hard to make a compelling argument that it’s been a source of problems since Win7. To be honest I think all of the registry problems I can recall seeing in the last decade were caused by people being sucked in by “registry cleaner” scamware/malware apps claiming to fix non-existent problems.

comment 3y ago · link · parent

> I highly doubt your home-grown pattern matching functions could beat the decades of optimization that have gone into RegEx engines

On the contrary, the All() method used here (which is part of the .Net standard library) is literally just a loop that evaluates each item in the collection to verify that they all match the predicate function. It'll be able to check hundreds if not thousands of characters in the time that it takes the regex engine to initialize and parse the pattern.

comment 3y ago · link · parent

To be honest this sounds like the very definition of "you solved the problem with regex, and now you have two problems". In essentially every language in existence the question you're asking can be solved with a simple loop and perhaps 3-4 lines of code. In many languages it's easily expressed as a one liner, i.e. (with C#) `s.All(c => c == s[0])`.

I really don't get the love affair that some devs have with regex. In my 10 year career I think I don't think I've run into more than a dozen problems in a production system that _required_ regex to solve. When you're working with robust modern languages there's almost a solution other than regex that's significantly easier to understand + maintain, and probably a lot more performant to boot. Is regex useful for other things, especially cli stuff like grep and sed? Oh yes absolutely. But generally speaking I really don't want it in my code base unless there's no other choice.

1
8910
26