HNHacker News
TopNewBestAskShowJobs

seasoup

889 karma · joined July 8, 2009

submissionscomments
seasoup··on Ask HN: I just want to have fun programming again
Languages aren’t worse, you’re just better than you were. You’re aware of all the warts that you didn’t know before.
seasoup··on Ask HN: Good resource on writing web app with plain JavaScript/HTML/CSS?
Great topic, long topic. I could write a book on it. Wait! I did!

https://www.amazon.com/Single-Page-Applications-end-end/dp/1...

seasoup··on Ask HN: Inherited the worst code and tech team I have ever seen. How to fix it?
A lovely knot to unravel!

First, get everything in source control!

Next, make it possible to spin service up locally, pointing at production DB.

Then, get the db running locally.

Then get another server and get cd to that server, including creating the db, schema, and sample data.

Then add tests, run on pr, then code review, then auto deploy to new server.

This should stop the bleeding… no more index-new_2021-test-john_v2.php

Add tests and start deleting code.

Spin up a production server, load balance to it. When confident it works, blow away the old one and redeploy to it. Use the new server for blue/green deployments.

Write more tests for pages, clean up more code.

Pick a framework and use it for new pages, rewrite old pages only when major functionality changes. Don’t worry about multiple jquery versions on a page, lack of mvc, lack of framework, unless overhauling that page.

seasoup··on 1x Engineer
It’s a common misperception that a 10x engineer is 10x the average engineer. The original quote said that the best engineers are 10x the worst engineers which is easily true. 10x the average engineer is only sustainable for a limited time before either burnout, or outside life intervenes.

The truly best engineers have the experience to develop intuition around what core not to write, and have 10x impact but are not 10x better coders.

seasoup··on Correlation Between Mask Compliance and Covid-19 Outcomes in Europe
What this study shows is that when infection rates are high people wear masks, and conversely, that when people wear masks infection rates are high. Or put another way, it either shows that high infection rates cause people to wear masks, that wearing masks causes high infection rates, or that neither causes the other but some tertiary value not part of the study causes both to rise and fall in tandem.

It does not effectively demonstrate the amount that wearing a mask raises, or reduces, infection rates.

seasoup··on Ask HN: I realise data science is not for me and feel depressed
Finish your degree, then pursue computer science. Understanding statistics and data is a super power for a software engineer. There are a lot of data-adjacent software engineering jobs. Telemetry, data pipelines, data visualization applications, maps, apply your cs and ds skills together for an awesome combination.
seasoup··on I spent 44 years studying retirement, then I retired
https://businesshala.com/i-spent-44-years-studying-retiremen...
seasoup··on Closing the world's schools caused children great harm
This article doesn't take into account that maybe the kids didn't all get sick because closing the schools helped stop the spread of COVID in kids. It's like saying I exercised and lost weight so clearly that exercise was a waste of time, I would have lost weight anyway.
seasoup··on Golden Handcuffs
This is a plan that is much worse for employees, being presented as if it were better. At least be honest about feeling like you are paying employees too much equity up front and want to pay them less.
seasoup··on Ask HN: How have you cured your RSI?
I had the same thing, I switched hands using the mouse and developed it in my other hand. I switched to a trackball, it persisted. I switched to a Wacom tablet and it went away. I used a pen and tablet for over a decade afterwards and it never came back.
seasoup··on YouTube will start deducting US taxes from creators who don’t live in the US
“So Canadians pay (some) income tax to the US instead of Canada and the US gives us nothing in return?”

Seems like Canadians got the ability to make money on YouTube in return. Seems like a pretty good deal.

seasoup··on Agents raid home of fired Florida data scientist who built Covid-19 dashboard
With everyone sharing a single user name and password for access, I don't have a high level of confidence they have simple logging.
seasoup··on Ask HN: As a person, what can I do to improve a city?
Get involved in the cities government by volunteering, or serving on a city commission. Just start showing up to city council meetings and start learning what is going on and who the players are. You’ll figure out a way to help there.
seasoup··on Ask HN: Have you ever inherited a codebase that you liked?
The worst engineer in the world is the one that worked on your current project before you... even if that person was you a year ago!

“Who wrote this sh!t?!?” >git blame Oh, it was me... well I’m sure there’s a good explanation.

seasoup··on ACLU sues Palo Alto over ‘unconstitutional’ restrictions at residents-only park
Something can be racist by affecting some races more than others, it's not binary.
seasoup··on ACLU sues Palo Alto over ‘unconstitutional’ restrictions at residents-only park
People are still being excluded because of their race, it doesn't matter if you changed the rules once that exclusion was locked in or not. That's a bait and switch justification.
seasoup··on ACLU sues Palo Alto over ‘unconstitutional’ restrictions at residents-only park
California has a shameful past of adding racist restrictions into real estate through title documents and other means (ex. "no person of any race other than the Caucasian or white race" may use or occupy the property, with the exception of "domestic servants of a different race domiciled with an owner or tenant."). This meant as neighborhoods built up and out, people were excluded from them on the basis of race. Home values go up, and the wealth of those allowed to purchase property goes up along with it.

After some time, those restrictions became legally unenforceable, and then over more time more and more of those restrictions have eased and now things are a lot more egalitarian on the surface, but the racial discrimination of the past has already done its harm and contributed to white wealth and black and brown poverty and now these neighborhoods maintain their racial disparities without having to have it encoded in law. So, having residents-only restrictions on parks are, intentionally or unintentionally or accidentally on purpose, a way of keeping people out of the park based on race, and thus, unconstitutional.

seasoup··on Facebook says Apple blocked it from informing about App Store 30% fee
Was Facebook blocked from informing people about the Facebook 70% fee?
seasoup··on Ask HN: My boss ask I take my emails while on vacation
This is not quality thinking. Without adequate time to destress and unplug, employees are likely to leave and if an employee leaves, the company will lose far more than someone’s vacation time. Leave employees alone while on vacation unless absolutely necessary.
seasoup··on With remote work plan, Facebook dashes hopes of paycheck arbitrage
The warm, sunny states with affordable housing and zero taxes will see an influx of educated, rich workers. States will need to cut taxes to keep up,”

Or maybe, just maybe, the zero tax states will need to raise taxes to support all the infrastructure costs that come with a growing population? High tax states aren’t high tax just because...

seasoup··on California's housing bill SB 50 has died in the state Senate
People don't move to a place because that place has cheap housing, otherwise people would be piling into the countryside. People move places with better economic opportunities for them and their families, generally that means jobs but it also means low crime, good schools, entertainment options and more.

As for companies moving, there is good and bad about your hq being located close to other hqs and good and bad locating away, but there is generally far more good in locating together. Shared talent, shared training...

seasoup··on (I-=-1)
I think that while people wouldnt be surprised that

i -= -1

works, formatted as

i-=-1

it's unclear what each - is doing, likely someone did it because it looks nice and symmetrical, as opposed to

i+=1

seasoup··on Advertising as a source of dissatisfaction: cross-national evidence
I think they are missing the biggest issue with advertising, which is it incentivizes businesses to create things for the sole purpose of drawing their attention to the advertising. Truth is less important than shock value. Utility less important than appearance of utility. Extremist rhetoric gathers more eyeballs than moderate views. Advertising's biggest negative effects are in how it manipulates people into manipulating people's attention.
seasoup··on To protect kids, don’t send report cards home on Fridays
“Now I live in my parents' basement and when they die I will be homeless.”

Is that the fate someone else picked out for you? Change it.

seasoup··on Stopping the RSI pain that almost destroyed my programming career (2016)
Around 2004 I started having a sore right wrist. I saw a specialist who said it was a repetitive stress injury and not carpal tunnel. He prescribed some exercises but it didn’t work. I moved to using my left hand to use the mouse, switched to ergonomic keyboards, tried a trackball, fancy ergonomic nice, adjusting my seat height, adjusting my desk height, and nothing worked. When I switched hands, my left wrist became sore too. Finally, finally, I tried using a pen tablet and the soreness disappeared. Turned out the motion that was killing my wrists was clicking the mouse with my finger and pushing my whole hand down to depress the pen instead worked out. I’ve been coding pain free ever since. The way to make a repetitive stress injury heal is to figure out a way to stop making that motion over And over again.
seasoup··on Netflix is down
I honestly can't remember the last time I watched a Fuller House episode.
seasoup··on Why Am I So Lazy?
If a kid thinks “smart” means that she knows the answers to lots of things then when she runs into things and doesn’t know the answer, she figures everyone is wrong and she is stupid. When a kid thinks that being smart means being able to sit there and figure things out and ask for help when needed, then she knows what to do to live up to the “smart” expectation and can accept the vision of herself as smart when she runs into something she doesn’t already know.
seasoup··on Diminishing returns of static typing
I really enjoyed how the analysis shows that different developers can have different equally valid opinions on this topic. It's where you place your values and preferences of programming, modified by what you are programming. The failure state of a cat photo sharing web app likely isn't as dramatic or important as that of a financial system or driverless car code. Great article.
seasoup··on Ask HN: Wrist pain and recovery
Ive had severe wrist pain before, saw occupational therapists, was diagnosed with repetitive stress disorder, changed hands for the mice, tried trackballs, trackpads, ergonomic mice, the only thing that worked for me was getting a Wacom tablet. It turned out that it was clicking the mouse button that aggravated my wrist. Been pain free for years except when I play too much with my phone. It takes about a week to get used to the tablet but I actually prefer it to the mouse now, even when not taking into account the wrist pain. Good luck.
seasoup··on No Laptop, No Phone, No Desk: UBS Reinvents the Work Space
Not sure how this works... so it's a race into the office so you can sit next to your team before it all fills up?
Page 1 of 8Next →