HNHacker News
TopNewBestAskShowJobs

zaccusl

72 karma · joined February 7, 2020

submissionscomments
zaccusl··on Djokovic's positive PCR test was manipulated
What kind of misinformation is this? Where do you get your data?

At least against Alpha and Delta strains, the Covid vaccines SUBSTANTIALLY reduce spread.

What data do you present that they don't? Or are you trying to spread disinformation or are you genuinely ignorant (which is okay, the former is not)?

https://www.medrxiv.org/content/10.1101/2021.07.13.21260393v...

zaccusl··on Etsy’s Journey to TypeScript
"Types don't make you write better code."

I'm going to disagree with this big time.

Types allow much easier refactoring. I can refactor a large TypeScript in a few hours that wouldn't even be possible in a few weeks in JavaScript.

This makes continuously improving code so much easier.

It also allows rapid iteration during development. I can change function signatures and object shapes to improve my code, and even if those functions and objects are used prolifically throughout my source, I can do the updates in a few minutes.

Compared to JavaScript where many time I'm like "this would be so much easier if this function took a different parameter and this object was required to have this field, but it would take me 12 hours to change and even then there might be places I miss."

Even competent unit testing doesn't save you from these situations.

I remember the 2015 JS conf when Douglas Crockford listed "patterns" to "help" with the aforementioned issues but really didn't do much. Then went on to say "real" developers don't need TypeScript even though TypeScript SOLVED every issue he mentioned he was trying to solve. I had to shake my head that day.

zaccusl··on Vaccine experts: Covid-19 booster shots aren't needed now
It's a safe assumption that MOST are unvaccinated based on all available data. But of course not ALL (statistically speaking).
zaccusl··on Vaccine experts: Covid-19 booster shots aren't needed now
Serious questions:

1. Where do you get the extra oxygen? There are places asking residents to reduce water usage because they are running out of liquid oxygen (used for water treatment in those places) do to medical uses. Do we have an enough manufacturing capabilities to produce enough oxygen to satisfy demand? Can this easily be increased?

2. "Beds" is not accurate. Often hospitals at 100%+ capacity still have physical space (i.e. "beds"), but who staffs the beds? You need doctors, nurses, and custodial staff. Where do those come from? Traveling nurses are a thing and places like Florida and Texas are hiring hundreds (thousands?). What is they supply of these nurses? What about doctors?

3. Where do the dead go and how do you deal with it? At the beginning of the pandemic NYC has to use refrigerated trucks. Now Texas and Florida (and presumably other out of control places) are also using refrigerated trucks to store the dead. This is probably one of the easier logistical issues because presumably we could just freeze the thousands of dead people every day until morgues and other resources could catch up.

I don't think this is so simple as "get more oxygen" and "add beds".

zaccusl··on Types of propaganda, propaganda techniques, and propaganda strategies (2017)
Yes, Republican governor Ron DeSantis just signed a law that requires students and faculty to report their political beliefs to the state non-anonymously. Super scary stuff for sure.
zaccusl··on Types of propaganda, propaganda techniques, and propaganda strategies (2017)
Do you mean like Florida Republican governor DeSantis just signed into law? Where students and faculty have to submit their political beliefs to the state in a non-anonymous manner?
zaccusl··on How an Anti-TypeScript “JavaScript developer” like me became a TypeScript fan
TypeScript does have method overloading same as other typed languages (except you have to do runtime checks, but that is a JavaScript limitation).
zaccusl··on How an Anti-TypeScript “JavaScript developer” like me became a TypeScript fan
There is why TypeScript IS so great.

In the early days of a new app or feature, you have no idea what the correct data/type shapes are.

In TypeScript you can define the types and then easily do major refactors even if you have 1000's of lines already written.

It becomes so tedious to do the same refactoring in JavaScript.

TypeScript makes it trivial to change an object or function signature when developing new code (or old code).

Refactors that take 3 minutes in TypeScript take 3 days in JavaScript and you better hope you catch all the uses.

The refactor ability that TypeScript gives you makes it so much easier to change data types and function signatures dozens of times until you get things right.

zaccusl··on How an Anti-TypeScript “JavaScript developer” like me became a TypeScript fan
I don't understand what the tsconfig has to do with understanding the source? Maybe when using different path resolving or different tsconfigs to compile test files vs. production files?

Many toolings make it so you don't even need to worry about the tsconfig anymore (though in reality it is very helpful to understand it).

zaccusl··on On the Experience of Being Poor-Ish, for People Who Aren't
Not that I disagree with the notion that "you can't arbitrarily set rent prices", but this is an incredibly simplistic example and does nothing to address literal rent seeking.

If the pandemic has shown us anything, it is that grocery store workers, meat packers, and the supply chain workers that get food (and toilet paper) to our tables are far more important to society than most high paid white collar and knowledge jobs. Does anybody care how well rested the brain surgeon is when you can't even buy produce or rice or meat at the grocery store? Do these employees not have a right to live 20 minutes from their place of employment?

There are ways to address these issues without devolving to some simplistic "capitalism or socialism" (with no in-between) argument.

zaccusl··on Tech Censorship Is Accelerating
I don't agree with censorship.

I also don't agree that a private business should be forced to carry products it doesn't want to.

If I write a book on Satanism, should Lifeway (large Christian bookstore) be forced to carry it? If they don't carry it are they censoring me? Do I have a right to have my book carried at EVERY bookstore? Of course not.

Censorship is not a good thing, but it is also ridiculous how the supposed small government, ant-regulation, free and open market, capitalist right-wing thinks businesses should be forced to present views the business does not condone, agree with, or violates terms of use/service. These views are not congruent.

zaccusl··on Ask HN: Do you ever truly use your revision history?
It's not too hard to migrate from SVN to Git.

I did this for a 15+ year old very large code base. I tried various recommended techniques but everything would fail at some point or another (usually after many, many hours) and I'd have to start over.

Finally I wrote a very simple program with logging where the logging also records the current state and on any failure I could start from any point in the log.

The idea was simple.

1. Check out SVN version N

2. Parse the changed files list for file between commit N and N - 1

3. Copy those files to the Git folder

4. Parse the commit log for version N to get the commit date, committer name, and commit message

5. Commit in Git using "[<name>@<date>] <message>" (this preserving the original commit information)

6. Repeat with N + 1.

If it fails at anytime then simply reset both SVN and Git to the last successful commit and restart. I also did a binary compare of the entire directory tree every 100 commits to ensure the copies were identical.

The process took about two weeks running all day and night (since one commit at a time is very slow) but it was very robust and left a perfect version history.

To deal with the fact that the SVN repo was still live, I believe I mirrored (or something like that) the repo and would sync between my local mirror and the live repo every couple of days. When my program caught up with the live repo we just stopped commits for a few hours while I wrapped everything up and then archived the SVN repo.

zaccusl··on Ask HN: What Skills to Acquire in 2020?
This is why I used to hate cooking.

But one day I was watching Gordon Ramsey work with a home cook and the home cook was trying to keep up with Ramsey.

It was amazing because Ramsey kept his whole cooking area so clean and organized, and the home cook's area looked like a tornado passed through. At that point I had an epiphany and started trying to keep organized like Ramsey.

Pretty quickly I became very efficient and clean in the kitchen. This is a skill that takes practice and experience and is as integral to cooking as the actual cooking.

Now I think about the order I do things, the order I use my tools, tool placement, tool cleanup, and surface cleanup as I cook. The result is that very rarely do I have more than a single pan (or two) to wash after cooking, and the kitchen is usually cleaner when the meal is done than when I started.

I put this to the test, last Thanksgiving when I cooked a large meal for 5 people over the course of several hours and when I was done I did not have a single dirty dish (other than those being used for serving/eating) and my dishwasher was empty. It felt good because just a year prior I would have had a destroyed kitchen with a sink full of pots and pans and dirty counters.

I call it "kitchen craft" (like field craft) and if you work to practice it, it gets better every time you cook. And it makes cooking so much easier. For instance, making something like tortillas from scratch used to be a huge endeavor because I'd have such a big mess to cleanup afterword. It seemed daunting. Now I will make tortillas on a whim because I wan't a breakfast burrito and my kitchen will be clean before the pan is even hot enough to cook the tortillas.

zaccusl··on Ask HN: What Skills to Acquire in 2020?
My experience is completely opposite.

I ditched my (expensive) non-stick pans two years ago and bought a decent stainless steel pan and a cast iron pan (since then I've also upgraded to SS stockpots and sauce pans).

This was the best thing I've done in the kitchen. My cast iron pan is the best pan I've ever used and is as non-stick as any "non-stick" pan I have used. I cook pancakes, omelets, and fried eggs without any sticking and minimal oil. It is may daily cooker.

My stainless is okay for things like omelets and fried eggs but it takes more skill and understanding of the pan and I still sometimes end up with lots of sticking. But for things like meats, pan sauces, or grilled cheeses I love it.

My advice to any home-cook is to ditch the non-stick pans, buy a cheap 12" cast-iron pan, and a decent SS pan and watch a few videos about using them (e.g., SS pans needs to be heated to the point where the Leidenfrost effect occurs). These two things can transform your cooking and open a world of high-temp searing, pan sauces, and stainless steel tools (I can't stand using plastic spatulas any more, like when I use my teflon coated griddle).

Also, keep Barkeepers Friend on hand for cleaning SS pans (otherwise life is hard)

← PreviousPage 2 of 2