Better HN
topnewbestaskshowjobs
Log inSign up

seasoup

889 karma · joined Jul 8, 2009 (17y ago) · 259 submissions

Submissions

comment 3y ago · link · parent

Languages aren’t worse, you’re just better than you were. You’re aware of all the warts that you didn’t know before.

comment 4y ago · link · parent

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...

3.

MiG Super Fighter Terrified NATO. Then a Soviet Pilot Stole One(popularmechanics.com ↗)

6 points · by seasoup · 4y ago · discuss

comment 4y ago · link · parent

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.

5.

Elon Musk Tells Staff Twitter Should Allow ‘Pretty Outrageous’ Tweets(bloomberg.com ↗)

8 points · by seasoup · 4y ago · 5 comments

comment 4y ago · link · parent

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.

comment 4y ago · link · parent

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.

comment 4y ago · link · parent

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.

comment 5y ago · link · parent

https://businesshala.com/i-spent-44-years-studying-retiremen...

comment 5y ago · link · parent

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.

comment 5y ago · link · parent

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.

comment 5y ago · link · parent

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.

comment 5y ago · link · parent

“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.

comment 5y ago · link · parent

With everyone sharing a single user name and password for access, I don't have a high level of confidence they have simple logging.

comment 6y ago · link · parent

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.

comment 6y ago · link · parent

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.

comment 6y ago · link · parent

Something can be racist by affecting some races more than others, it's not binary.

comment 6y ago · link · parent

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.

comment 6y ago · link · parent

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.

comment 6y ago · link · parent

Was Facebook blocked from informing people about the Facebook 70% fee?

comment 6y ago · link · parent

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.

comment 6y ago · link · parent

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...

comment 6y ago · link · parent

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...

comment 7y ago · link · parent

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

comment 7y ago · link · parent

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.

comment 7y ago · link · parent

“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.

comment 8y ago · link · parent

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.

comment 8y ago · link · parent

I honestly can't remember the last time I watched a Fuller House episode.

comment 8y ago · link · parent

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.
12345
9