News for hackers. Stuff that matters.

bbeekley

Re:Fire your bad customers on Sunday August 09, 2020 @11:00AM (#24100020)
Not defending fraud (in general or in this specific case), but who it being ruined for?

Amazon is still making fabulous amounts of money, prices are still low there, and the policy is still generous to the customer.

Re:Why Do People Stay Poor? [pdf] on Wednesday July 29, 2020 @06:06PM (#23992114)
Absolutely. I think one of the fun things about that calculator is that you can mess around with the numbers to try different situations. Perhaps there's a way to account for that tax (e.g. by using ~5.8% returns as the after-tax rate).
Re:Why Do People Stay Poor? [pdf] on Wednesday July 29, 2020 @05:42PM (#23991896)
I semi-regularly plug numbers into this Buy v Rent calculator by NYT [1]. They're pretty equivalent in the 10-30 year range and match housing prices I've seen.

It's hard to beat the SP500's >8% average return [2].

[1] (paywalled) https://www.nytimes.com/interactive/2014/upshot/buy-rent-cal...

[2] https://www.investopedia.com/ask/answers/042415/what-average...

No, that's editorializing based on the few differentiating factors I found.

Though I think the idea that the more expensive model is pushed by dealers makes sense too.

To give an example, the Subaru Crosstrek is a lifted Subaru Impreza hatchback. They share nearly all parts, and have the same interior and cargo space. The differences are:

1. Crosstrek costs more ($22,145 vs $18,695)

2. Crosstrek is less efficient (33/27 mpg vs 36/28 mpg)

3. Crosstrek is taller (64" vs 59")

4. Crosstrek outsells the Impreza in the US (131k vs 66k)

Americans love feeling tall and are willing to pay for the extra few inches.

Re:Design Docs at Google on Wednesday July 22, 2020 @11:40AM (#23918176)
We did this at a previous company in the healthcare space. It made audits easy since we could point to every instance of the design changing, who approved it, and the code that implements the change (all wrapped up in PR(s)).

In general I like checking docs into source control, for all the reasons we use git and code reviews for the code itself.

Re:How to Run a Live Coding Stream on Twitch Using OBS on Tuesday July 14, 2020 @01:57PM (#23835320)
I believe you can add a delay for what the viewers see, which would give you some time to cut the stream in case any secrets are shown.

Else, it's good practice for a secret rotation process :)

Re:Goldman Sans on Tuesday June 23, 2020 @01:00PM (#23616735)
The license is here [1]. It looks like you can redistribute with attribution and alike license.

[1] https://design.gs.com/d/legal/goldman-sans-license/

Re:2020 Developer Survey Results on Wednesday May 27, 2020 @04:26PM (#23329475)
Also as someone without formal CS education: I'm surprised too, though not alarmed. I've very rarely felt like I didn't have the right education to do my job at giantmegacorp w/ CS PhD coworkers.

The bigger problem is that I feel a bit of a cultural outsider. There are jokes, stories, language that coworkers use and I'm just not familiar with. That can promote impostor syndrome and definitely affects interviews (eg "cultural fit").

> Not sure about what anyone here considers as libertarian, but if you were to ask a libertarian what they would tell you is that if you own property you are free to do as you please so long as you do not harm someone else.

I think that's why I'm surprised I don't hear that more. The size of someone's back yard or height of their fence (to a reasonable extent) seems like it wouldn't harm someone else, but they're strongly regulated in much of CA's single-family zoning.

> Also not sure what you mean by lefty orgs, because labor unions, public unions and environmental groups are the biggest lobbyist influence on the high price of housing.

Totally. There are tons of liberal orgs that are contributing to the housing shortage. I mean the few orgs I see advocating for development (eg SF YIMBY, or politicians like Scott Wiener) appear more liberal than libertarian.

Housing seems to me to be one of the most government-planned markets due to the strict zoning laws, but I've only seen fairly lefty orgs advocating for relaxed regulation. I'm surprised there isn't more movement from libertarians along the lines that property owners should have more rights for what they can build on their land.
Re:Solar’s Future is Insanely Cheap on Thursday May 14, 2020 @08:00PM (#23187270)
Doing some calculations from another direction:

The maximum daily energy density of sunlight in sunny Los Angeles is about 6.4 kWh / m2 [1] (assuming perfect, moving angle of panels to sun).

If we can turn the entire footprint of a Model X into solar panels, that gives us about 10 m2 (big car!).

The US DoE reports the Model X gets 100 mi / 31 kWh [2]. Or 12.4 kWh for 40 mi.

So those panels would need to get 1.2 kWh / m2 of solar power. Which is about 18% efficiency and pretty reasonable for good consumer panels [3].

But it assumes the car is in sunlight all day at the perfect angle, there is no loss (eg due to weight), in a locale as sunny as LA (eg Seattle gets half of the sunlight as LA), and can be completely coated in efficient panels (the model S solar roof is <1 m2 in comparison). Bumping efficiency to 30% gives some headroom but it still seems pretty impractical.

[1] https://globalsolaratlas.info/detail?c=34.270738,-116.929301...

[2] https://www.fueleconomy.gov/feg/Find.do?action=sbs&id=41196

[3] https://news.energysage.com/what-are-the-most-efficient-sola...

Re:Building Uber’s Go Monorepo with Bazel on Thursday May 14, 2020 @01:47PM (#23182851)
> then shouldn't Lyft or Flywheel or some new company that can ship much faster be better off than Uber?

Isn't that the general startup success story: small scrappy team adapts faster to changes and the market, giving them some advantage over slow-moving megacorp?

Grubhub is a good backup service in that case. I call first, then put in an order online if calling failed (which happens very rarely for me).

Plus a lot of places are a little cheaper if you call.

Re:Google ends plans for smart city in Toronto on Thursday May 07, 2020 @05:54PM (#23108812)
>I really don't like the idea of stamping out all single family homes and nice green areas in proximity to cities.

I don't think anyone seriously wants to replace every single family home with something more dense (even if the rhetoric indicates so). It's harmful and unnecessary. E.g.:

* There is an estimated 3-4 million housing unit deficit in CA, on 14 million total units (US Census). We'll take 4 million units to err on the extreme case.

* CA currently has 7 million single-family homes (US Census)

* Assuming 100% of that deficit is made from replacing a single family home with a quadplex, it would take 1.3 million single homes -> quadplexes to make up the 4 million unit deficit.

Even in that most extreme case, I can't imagine one quadplex per block would affect green areas or the totally legitimate choice to live a single family home.

In reality, I think most YIMBY advocates want mixed-use medium density, which requires an order of magnitude fewer buildings.

Re:Google ends plans for smart city in Toronto on Thursday May 07, 2020 @12:20PM (#23104718)
Local HOAs and similar have loud voices against these kind of projects. It might take another big voice (like Sidewalk Labs) to counter.

I've tried calling my local reps to support walkable community projects and have been told, nearly verbatim, that if the HOA doesn't like it, they won't be voting for it. Then when big tech offices started moving in, the redevelopment projects finally started too.

Re:New Google SRE book: Building Secure and Reliable Systems on Wednesday April 08, 2020 @04:52PM (#22816978)
If it's a monitor lizard, then monitoring is a big part of SRE.
Re:Dwarf Fortress: An actual look at graphical improvements on Thursday March 26, 2020 @01:45PM (#22696002)
They have a Patreon now. I recently started supporting them there.
1.5 years is already very fast for a clinical trial. The average duration of clinical trials for "breakthrough" drugs is 5.0 years [1], compared to 8.0 years for drugs without that status. Plus O(1%) of trials actually make it to approval [2].

[1] https://jamanetwork.com/journals/jama/article-abstract/26649... [2] https://www.fda.gov/patients/drug-development-process/step-3...

Re:Why isn’t CPU time more valuable? on Friday March 08, 2019 @05:30PM (#19342827)
> My car is idle most of the time. I usually only use it for 1-2 hours a day during the week and less on the weekends. I could use Uber or Lyft instead but I don't. I could rent out my car when I am not using it but I don't. It is idle because I want to use when I want to use without coordinating with anyone.

That's such an interesting comparison that I relate with. If availability and startup time are good enough, I'd be happy to use a shared resources for both CPU and cars.

Re:$35,000 Tesla Model 3 Available Now on Thursday February 28, 2019 @05:41PM (#19276065)
Just did some napkin math and the potential gas savings number seems reasonable. (I expected it to be inflated and still think it's a dark pattern to include it.)

  Model 3:
  (50 kwh battery)
  * (0.166 $/kwh for Los Angeles residential power)
  / (220 mi range)
  = 3.8 $/100 mi of fuel
  
  Average ICE sedan:
  (3.00 $/gal average regular gas in LA)
  /(30 mi/gal)
  = 10 $/100 mi of fuel

If you drive 12000 mi in a year, it comes to about $4.5k in savings over 6 years. That drops a ton if you would have purchased a Prius or other hybrid though, and to zero w/ cheap Texas gas.

So it's a reasonable number if you're a Californian who would have bought a BMW instead of a Model 3. For everyone else, it's likely too high.

> a junior developer put on a major healthcare project could absolutely do some damage to their fellow human beings.

Any compliant healthcare software project would keep a junior developer very far from the patient -- there are many layers of review, testing and validation that would prevent one developer's mistakes from significantly putting patient health or data at risk. Even senior developers (usually) shouldn't be able to touch stuff that close to patients.

A doctor literally has their hands on a patient. There isn't a review pipeline that makes sure a doctor's mistakes are caught before they reach a patient.

(That's not to say mistakes that harm patients don't happen in healthcare software, just that it's hard for one developer to cause harm without many others approving it first)

Re:Why Does My Remote Control Need to Know My Location? on Thursday February 21, 2019 @11:57AM (#19218251)
What were you looking to get out of a Sonos? If you just want something that can play music wirelessly from various devices, I'd recommend getting a pair of bookshelf speakers and plugging them into one of (Airport Express, Chromecast Audio, Raspberry Pi[1]). You won't be locked into Sonos and generally bookshelf speakers sound better than all-in-one units. I'd love to recommend some speakers if you're interested (e.g. [2]).

I have run a few Airport Expresses for the past 10 years and love them. Older models are cheap (<$30) and still work great.

[1] https://support.hifiberry.com/hc/en-us/articles/205699981-Ho...

[2] https://www.amazon.com/Micca-PB42X-Powered-Bookshelf-Speaker...

I didn't download the library, but I don't think the author left out white people. Here's a screenshot from the humaaans page that looks white to me. [1] Edit: another commenter showed pale skin tone in the library [2].

Even if you change the complaint to being about low white representation, it's also a little unfair to say that the author is "intentionally" trying to make it political. What about their work or documentation gives you an idea on their intention?

[1] https://imgur.com/a/wbmyIRG

[2] https://news.ycombinator.com/item?id=18997437

Re:Show HN: Startup jobs of 2018, visualized on Thursday January 03, 2019 @07:03PM (#18820690)
"Job posts not specifying a seniority level are excluded."

13824 senior positions / 120548 total openings = 11.5% senior. If we assume "senior" only applies to "dev" and "engineer it becomes 13824/(15484+9723) = 54.8%. Somewhere between those sounds right for ratio of senior position ads I've seen.

Games in general are definitely not getting worse. There are more excellent indie and medium-size studio games coming out than ever. If you don't like those things you complain about, play other games.

Even the big studios are starting to learn that pay-to-win and crazy microtransactions turn people off-- the business model for Fortnite, the biggest game out there, is pretty user-friendly by providing a free game with 100% of gameplay available for $0. All purchases are cosmetic and (I believe) aren't locked in lootboxes. EA famously rolled back their microtransaction models last year after a few bad releases.

I love that studios are trying out new business models, even if some suck. Some of my favorite games (Counterstrike and Crusader Kings 2) use user-friendly "microtransactions" to continue 6+ years of development and feedback.

Re:Convert a Bird Scooter to a personal one with $32 kit on Tuesday December 04, 2018 @08:19PM (#18605016)
> Isn't a big part of the advantage of ride-share is that the vehicle is just there for your journey, you don't need to take care of it outside of that?

That's what I use it for. They're great for situations where I want to get somewhere that's 1-3 mi away and don't want to be responsible for the object I used for transportation once I get there (be it car, bike or scooter).

Re:Boring Co. Drops LA Westside Tunnel Plan on Wednesday November 28, 2018 @11:16AM (#18552698)
> The difference is that in California, the people who don't want it largely outnumber the people who want it more than in most places.

Measure R (2008, 67% in favor) and Measure M (2016, 71% in favor) both passed with supermajorities and raised Los Angeles taxes by billions to pay for rail and other public transit options. To me, that seems to indicate that the majority wants these kinds of projects.

Re:Boring Co. Drops LA Westside Tunnel Plan on Wednesday November 28, 2018 @10:06AM (#18552061)
Yes, as long as it gets the necessary permits and green-light from my elected officials.

The canceled tunnel was planned to go in about a block from where I currently live and I was excited for it. It wasn't even going to be under Brentwood (the northern terminus was about 2.5 mi away from the nearest edge). The hypothetical question for the plaintiffs might better be: would you be ok with a tunnel being built between 2-4 mi away from your house after successfully consulting with your elected representatives?

Re:What You Need to Know Before Considering a PhD on Monday August 27, 2018 @08:27PM (#17855674)
I assume the 5 years means starting with a Bachelors. At least in the US, it's fairly unheard of to finish a PhD in 3 years or less.

Older »