Better HN
topnewbestaskshowjobs
Log inSign up

fokinsean

797 karma · joined Feb 12, 2014 (12y ago) · 340 submissions

Submissions

comment 5y ago · link · parent

Interesting, I mostly followed this approach which is to basically never use those constructs unless you are 100% certain you know what will happen.

https://kentcdodds.com/blog/usememo-and-usecallback

TLDR;

> Specifically the cost for useCallback and useMemo are that you make the code more complex for your co-workers, you could make a mistake in the dependencies array, and you're potentially making performance worse by invoking the built-in hooks and preventing dependencies and memoized values from being garbage collected. Those are all fine costs to incur if you get the performance benefits necessary, but it's best to measure first.

2.

Compromised NPM packages of ua-parser-JS (0.7.29, 0.8.0, 1.0.0)(github.com ↗)

38 points · by nop_slide · 5y ago · 6 comments

comment 5y ago · link · parent

Don't get on the internet.

comment 5y ago · link · parent

There is a lot of shoddy methodology and data interpretation in Kirsch's testimony.

https://www.covid-datascience.com/post/do-pfizer-vaccines-ki...

comment 5y ago · link · parent

Same thing with asbestos, there is a non-zero background level in the air because it was used in so many products for a long time.

comment 5y ago · link · parent

> Unfortunately this time it is taking way too many lives

Could you elaborate more?

comment 5y ago · link · parent

Well, the "logic" for fakie is that your tail remains the reference even though you are popping backwards. Therefore you would spin the same direction for fakie fs 180 as you would for regular fs 180.

> I never figured out how to classify nollie/fakie board and lip slides front or back

Yep this one still trips me up to and is great argument over some beers. Especially when you introduce flip tricks into them as well :p

comment 5y ago · link · parent

Woah! That's so random, I recently came across your article a few months ago. Great work and small world :)

I have a private discord and github for the project I can add you too. I eventually plan to open up the discord for anyone once we get a little further in the rebuild.

Wish there was a good way to DM on HN, I can send you a discord invite. Or if you happen to be on slap let me know.

comment 5y ago · link · parent

That's awesome! The site seems down for now but I'll check again later.

Also I'll go ahead and plug the site I'm helping rebuild.

https://skatevideo.site

comment 5y ago · link · parent

Haha Suskis are still valid. They've grown on me over the years, especially when pinched on a ledge.

comment 5y ago · link · parent

You can also steez fs flips like this as well, aka the Muska flip

comment 5y ago · link · parent

*Unless it's switch mongo and you're Koston, Rodrigo TX, or Stevie Williams

comment 5y ago · link · parent

Ah yes! and

One of my other favorites:

On circle rails there is "no such thing" as fs overcrook, just fs nosegrind, and there is no such thing as bs nosegrind, but there is bs overcrook.

At least that's how magazines seem to classify it.

comment 5y ago · link · parent

Here's a fun one to debate with your skate friends, nollie and fakie tricks are "swapped".

For example:

- nollie fs 180 and fakie fs 180 (fs half cab) are two different directions: nollie fs 180 is in front of you and fakie fs 180 is behind you going blind

- nollie 5-0 and fakie 5-0 (fakie switch nosegrind) lean differently on the grind: nollie 5-0 you pop off your nose and land on your back truck, fakie 5-0 you pop off your tail and land on your front truck

- nollie noseslide and fakie noseslide are different motions to get into the slide: nollie nose you pop off nose and land on the nose in the ledge, fakie nose you pop off tail and land on the nose but you do a sort of half cab

The key distinction in the argument is that in fakie, your tail is always considered your "tail". Therefore you treat any derived tricks as being "backwards". In the 5-0 and noseslide examples, you're still popping off the front of your board, but you classify it as nose or tail based on if it's nollie or fakie.

There are caveats though such as "fakie crook" where if you kept the rule it should be "fakie suski", which no one says.

There's a million arbitrary and nonsensical rules in skateboarding which is part of the reason to love it, especially for something that "has no rules".

And remember, never carry your board by your truck :)

comment 5y ago · link · parent

Yeah for sure, the way the foot wraps with the board is the visual cue. It has led me and friends to some fun debates in a game of skate i.e. "that wasn't an impossible", so I was hoping to be able to point to some ridiculous mathematical definition the next time it comes up.

comment 5y ago · link · parent

Right, I know the difference between pop/non-pop in action, but the animations look the same.

Also "shuvit" distinction is just a synonym

comment 5y ago · link · parent

I was hoping they would come up with a mathematical way to distinguish an impossible from a 360 shuv :)

comment 5y ago · link · parent

Not sure why these are considered different in the images

360 Pop Shove-it

360 Shove-it

360 Shuvit

comment 5y ago · link · parent

I'm guessing it's kickflip, heelflip, bs shuv, and fs shuv.

Your definition leaves out varial heels and inward heels.

Edit: On second thought I'm still not sure, I saw this in the paper, and I'm guessing they're classifying both direction shuvs as the same, and kick/heelflip as the same

Below we list these four tricks with their corresponding residue class in Z/4Z.

0 ↔ Ollie

1 ↔ 180 Shove-it

2 ↔ 360 Shove-it

3 ↔ 540 Shove-it

Another interesting choice of representatives is given by a combination of the shove-it and the kickflip.

0 ↔ Ollie

1 ↔ 180 Shove-it

2 ↔ Kickflip

3 ↔ Varial Kickflip

comment 5y ago · link · parent

Do you happen to have a link to it?

comment 5y ago · link · parent

Kurt Vonnegut is really great, my personal favorite is Sirens of Titan which is his most "sci-fi" of the bunch but I wouldn't really call it sci-fi. Other great starting points are Cat's Cradle, Mothernight, and of course Slaughterhouse Five.

I've only read one Toni Morrison book, Song of Solomon, but that was one of my favorite reads of this year.

If you haven't read Frankenstein or Dracula then I would highly recommend them. I personally enjoyed Frankenstein much more than I thought I would.

Norse Mythology and Neverwhere by Neil Gaiman are also fun reads.

If you want some non-fiction, Into Thin Air by Jon Krakauer is a very engaging read.

comment 5y ago · link · parent

Why do you suggest Unpoly over Alpine JS now? (Regarding a previous comment of yours)

comment 5y ago · link · parent

House music gets me going

https://soundcloud.com/moodindigo72

comment 5y ago · link · parent

HTMX has been on my radar for a little while.

Do you have a starter template with all of these hooked together? Or an example repo?

comment 5y ago · link · parent

Oh yeah don't get me wrong, I have had my fair share of drunken/high video game time :)

FWIW this is a side project I _want_ to work on, I'm not trying to make money on it, purely a passion project. So I'm not feeling pressured to work on it, I'm just trying to keep the momentum going and I found that drinking will stop that momentum.

I go through waves of video games -> projects -> reading, it's always fluctuating.

comment 5y ago · link · parent

> The end of the drinking activities don't leave me sleepy or craving bad food. I can go home and read a book or get some work done.

This is one of my biggest motivations for reducing my drinking during the week. Even having just one or two beers after work, the probability that I read or work on a side project drops close to 0.

comment 5y ago · link · parent

I recently came across this study which suggests it can retrotranspose into your DNA. From what I understand they weren't attempting to find that intentionally, but found it while looking into why people were testing positive for COVID many months after being infected and not currently infected.

I'm not suggesting that the vaccines could do the same, but it's not that big of a leap to wonder if the virus can retranspose, then the vaccine could as well.

Also I'm aware it's a preprint and not fully peer-reviewed yet, interesting nonetheless.

https://pubmed.ncbi.nlm.nih.gov/33330870/

comment 5y ago · link · parent

This along with the simultaneous rise in tensions over china/taiwan is concerning.

comment 5y ago · link · parent

As someone who is trying to find their personal beliefs (who also doesn't like religion) I really appreciate your comment.

Whenever I used to complain to my dad about how much I disagreed with 'religion' and churches, he always mentioned how 'religion' came from man, and since man is flawed it will follow.

It helps to shift one's focus on these principles of living rather than the establishments.

comment 5y ago · link · parent

TIL

I've been using Glide for years. Going to throw it all out today. Thanks for the info

12345
12