HNHacker News
TopNewBestAskShowJobs

lenzm

319 karma · joined November 15, 2013

submissionscomments
lenzm··on I’ve made a conscious effort to stop apologizing for bugs in my code
I'm a manager and I appoligize if it was a stupid mistake made from carelessnes. Apologize if you did something you wouldn't want other people doing.

I think context matters too. The industry you're in (what are the consequences of bugs) as well as the part of the codebase (presentation or data integrity) change the acceptability of bugs.

lenzm··on The Subtle Power of Booleans: Programming with truth and statefulness
Database generated IDs are a great example. We often use integers because it is convenient - but there's no reason you should be able to add two together.
lenzm··on Distinct on: a confusing, unique and useful feature in Postgres
Absolutely. You'll need an expression to get the date out of the timestamp, then you want rows that are distinct on customer_id & date order by timestamp desc.
lenzm··on Get Real: no drug or vaccine will avoid a very big coronavirus epidemic
Seasonal flu has an R0 value of ~1.2 [1] while the estimate for COVID-19 was estimated at 2.2 [2]. This can be interpreted as each person infecting 2.2 other people vs. 1.2, the spread of the virus will probably be exponentially faster.

1: https://bmcinfectdis.biomedcentral.com/articles/10.1186/1471...

2: https://www.ncbi.nlm.nih.gov/pubmed/32097725

lenzm··on Deep Sleep May Help the Brain Clear Alzheimer's Toxins
I would think that more strenuous cardio would be more effective than lifting heavy.
lenzm··on The decline in U.S. life expectancy is unlike anything seen in a century (2018)
Yeah, but "painkiller" is often/mostly used to refer to opioid painkillers in the US these days.
lenzm··on US Constitution – A Git repo with history of edits
You're asking for trouble if you are relying on track changes. Anyone can disable track changes, make changes without highlighting them and send it back with track changes reenabled. You need to compare any received file against what you last sent to see the real diff.

There's got to be a better way.

lenzm··on Raising severity to serious for some Python 2 leaf packages with no Python 3
I don't understand people complaining about the removal of the print statement. Switching that to a function call is the easiest part of porting to Python 3. You don't even have to do it yourself, just run 2to3. If you're complaining about that I feel like you're just looking for something to complain about.
lenzm··on The Washington Post is preparing for post-cookie ad targeting
People reading an article about a tragedy are no more likely to be interested in background check services than the population as whole. That's useless targeting, it's not even targeting.

How many fancy globes and maps do you think are sold? Enough to fund all of the geopolitical news being reported?

lenzm··on Chinese Cash Is Suddenly Toxic in Silicon Valley, Following U.S. Pressure
From a very broad moral perspective, their human rights violations are legion[1] including large open air internment camps for ethnic/religious minorities like the Uyghur[2], political imprisonment[3], alleged organ harvesting of prisoners[4], supporting North Korea ...

From a purely tech perspective, state-sponsored hacking[5] and IP theft[6] are common.

[1] https://en.wikipedia.org/wiki/Human_rights_in_China

[2] https://en.wikipedia.org/wiki/Xinjiang_re-education_camps

[3] https://www.hrw.org/world-report/2018/country-chapters/china...

[4] https://en.wikipedia.org/wiki/Organ_harvesting_from_Falun_Go...

[5] https://www.rfa.org/english/news/china/state-hacking-1220201...

[6] https://www.cnbc.com/2019/02/28/1-in-5-companies-say-china-s...

lenzm··on Joins In Steps
Any right join could be written as a left join. What you describe is the use case for a right join - it makes the query more readable.
lenzm··on Can Uber ever make money?
Call a cab and wait and pray. Get a call 30 minutes later asking if you still want a cab. Wait 20 more minutes for a cab to actually show up.

This is in a major metro. Calling for a cab sucked if you weren't in a busy area, in which case you could just walk to a major street and hail one.

lenzm··on The Web is missing an essential part of infrastructure: an open web index
A significant problem with this is trust. You can't trust websites to reliably or accurately index their sites due to both incompetence and malice. I don't think there's any way around the malicious component. Formal or informal standards may take care of the competence factor with the feature being built into common publishing platforms.

XML sitemaps are a microcosm of putting the indexing onus on websites instead of the search engines - they are basically ignored by search engines because they have been abused and are not a useful signal. If pages aren't important enough to be linked to throughout your website then they aren't interpreted as being important enough to return to users. The optimistic case is that sitemaps/indices will send parallel signals to the search engines in which case they are redundant. The pessimistic case is that the sitemaps/indices will send signals orthogonal to the content provided to users in which case the website is either being deceitful or incompetent. In any case, the search engine will not want to use the sitemap/index as a signal as it either doesn't provide value or provides negative value.

lenzm··on Why there’s so little left of the early internet
Comedy and horror movies come to mind as being shared experiences.
lenzm··on Heat Pumps Work Miracles
It doesn't burn.
lenzm··on Amazon Pulls Out of Planned New York City Campus
It certainly means revenue for the city but we don't know that it means profit. All of those people are going to generate trash, take the subway and consume city services. Why shouldn't Amazon pay like everyone else?
lenzm··on Netflix claims Fortnite is now a bigger competitor than HBO
You'd be paralyzed by indecision if every decision had to be driven by the results of a test.
lenzm··on Compass Pathways has set itself up to be the first legal provider of psilocybin
I think I'm on the same side as you, but you don't help your case by making wild claims like:

> No user of this product has ever harmed anyone else as a result of using it

lenzm··on An open letter to FB, Twitter, Instagram regarding algorithms and my son's birth
You probably aren't. That's highly suspicious behavior that isn't hard for the ad networks like Google to detect and they'll just refund any costs as fraudulent activity.
lenzm··on 'Talent Wants Transit': Companies Near Transportation Gaining the Upper Hand
I can't find the source now, but I think it's about 600-700k commuters into the city center (Loop, River North, West Loop) every weekday.
lenzm··on Trump Just Signed a Law That Changes Life Aboard Airlines
Because 'rah rah' we all love the military. It doesn't cost them anything and they get the PR of everyone boarding a plane hearing about how much they love the military.
lenzm··on Rifts Break Open at Facebook Over Kavanaugh Hearing
It's not just being seen with someone. He went to a public, televised hearing to sit behind him. It's a show of support coming from a public face of FB.
lenzm··on Using John Varney's rhythm wheel to differentiate 3/4 and 6/8 time signatures
Additionally, when you are listening to music the denominator has no meaning. You can hear how many beats to the bar (the numerator) but the way that it is notated (quarter note gets the beat or eighth note) is just a matter of how it is written.
lenzm··on Researcher at center of epic fraud remains an enigma to those who exposed him
The value you bring to the firm is a factor in that it is a cap on what you'll get paid. Value is also relative, if a monkey can provide 90% of your value then you'll get paid a little more than peanuts.
lenzm··on Stacking concrete blocks is a surprisingly efficient way to store energy
They aren't worried about the wind's effect on the stacked blocks, just the ones suspended. If a century storm comes, just shut it all down for a day, everything is stable.
lenzm··on Stacking concrete blocks is a surprisingly efficient way to store energy
If you build it on site won't you still have to haul in all of the materials to produce it which will weigh more than the final product?
lenzm··on Guidelines for Brutalist Web Design
The point is that advertising is a subset of marketing, not another name for the same thing. In addition to advertising, marketing includes building websites and providing information, research to determine market demand, and determining optimal pricing.
lenzm··on Messi Walks Better Than Most Players Run
One theory is that it was a word for sports played on foot as opposed to horseback.
lenzm··on Messi Walks Better Than Most Players Run
- Association Football

- American Football

- Canadian Football

- Gaelic Football

- Aussie Rules Football

- Rugby Union

- Rugby League

There are a lot of (related) sports called football. The English shortened Association to Soccer and the name stuck in The States, Canada and other places. It's just as proper as football.

lenzm··on Taskwarrior, where have you been all my life?
In Asana, you can forward emails to x@mail.asana.com and it will create a task for you. The headline is the title of the task and the body is the description.
← PreviousPage 3 of 4Next →