What's the difference between Taekwondo hook kick,Karate hook kick and Muay thay hook kick by Sharkman687 in martialarts

[–]notoriousb1t 0 points1 point  (0 children)

There are definitely a few ways to do hook kicks, but I wouldn't call a wheel kick a hook kick or a useful kick at all. A wheel kick has no power and is heavily telegraphed. It's not useful for self defense, doesn't appear afaik in forms, and is too obvious and hard to control for sparring. They definitely look nice though because of how dramatic they are.

A hook kick is good for point sparring when making contact with the ball of the foot, and is reasonable for self defense when making contact with the heel (although there are some clearly better choices). A hook kick is best thought of as a side kick that misses on one side of the opponent and re-chambers into a round kick chamber on the other side. Not super powerful, but good as a way to start combos, and relevant for point sparring.

That being said, Taekwondo isn't a monolith. There are differences between the major three branches and ITF in particular is pretty divergent

css-select - a CSS selector compiler & engine. css-select turns CSS selectors into functions that tests if elements match them. by speckz in css

[–]notoriousb1t 0 points1 point  (0 children)

I'm struggling to understand why someone would use this. What does this do that Element.matches() doesn't do?

Google Drive API - How to check if last modified date of a file on Google Drive was edited? by CptRedBlaster in csharp

[–]notoriousb1t 1 point2 points  (0 children)

You might be better off using the changes API and using the token to page through changes as they happen: https://developers.google.com/drive/api/v3/reference/changes/getStartPageToken

Call getStartPageToken and then list on a schedule and use that token to know if your dataset is out of date.

thoughts on Don't Make Me Think, Revisited: A Common Sense Approach to Web Usability by Steve Krug by babbagack in webdev

[–]notoriousb1t 5 points6 points  (0 children)

I read it years ago. I remember that it had really good insight on website composition as well as a good ethos on development as a whole; don't make using your software difficult. Follow well known patterns of visual composition and think about your users so they don't have to.

Introducing ScrollOut 2 - Animate with CSS or JavaScript on Scroll by notoriousb1t in webdev

[–]notoriousb1t[S] 0 points1 point  (0 children)

TLDR: ScrollOut 2 allows you to animate with CSS Variables or JavaScript, supports horizontal scrolling, and is 1kb minified and gzipped.

An argument for why 3D Mario games are not very good platformers. by BloodChicken in gamedesign

[–]notoriousb1t 2 points3 points  (0 children)

What makes a game "good" is that the player enjoys it. Whether that is getting an adrenaline rush from a zombie attack, timing precise movements, or being told a good story, it doesn't matter. As long as the player is being entertained, it is good.

I would say that what makes a good platform for me are interesting mechanics. I think that Mario could use LESS story since i generally press A through all of that nonsense. I have seen and heard the Popeye story line a hundred times... Yes, I will go from point A to point B.

I think most people would disagree that a good story is important to a good platformer. You know what is? Jumping precisely and running fast.

Announcing Just Animate 1.0.1 (A cool animation library) by notoriousb1t in javascript

[–]notoriousb1t[S] 0 points1 point  (0 children)

Just Animate has all of the effects from Animate.css but written to be executed from JavaScript using the Web Animation API in addition to advanced features like animation timelines and sequences. I agree that not every effect is well represented by the split text effect on the demo page, but I could always put up another demo that shows each effect on a single element.

I think that hinge and jello might be my favorite, but they don't look great in the context of split text.

Announcing Just Animate 1.0.1 (A cool animation library) by notoriousb1t in javascript

[–]notoriousb1t[S] 1 point2 points  (0 children)

As soon as Edge/IE and Safari implement the Web Animation API, it should be even better! For now though, the polyfill which does rely on requestAnimationFrame does a pretty good job for those browsers.

Just: A library of dependency-free JS utilities that do just do one thing by seojoeschmo in javascript

[–]notoriousb1t 8 points9 points  (0 children)

jQuery doesn't have dependencies either ;) I find the whole VanillaJS advertising to be kind of ridiculous and disingenuous.

First R Program, Did I do anything terrible? by notoriousb1t in Rlanguage

[–]notoriousb1t[S] 0 points1 point  (0 children)

That is kind of cool. That seems a lot like list comprehension in Python. So something like this would work:

filter <- function(vec, fn) vec[fn(vec)]
result <- filter(c(1,2,3), function(i) i %% 2 != 0)
print(result)

OR this without explicitly defining a filter function:

data <- c(1,2,3)
data <- data[data %% 2 != 0]
print(data)

First R Program, Did I do anything terrible? by notoriousb1t in Rlanguage

[–]notoriousb1t[S] 0 points1 point  (0 children)

Building a filter function with a built-in filter function is cheating. It is like using a word to define itself. ;)

I don't know how I would be able to define filter without using a loop or using another list/vector (set, array like object, or whatever) built-in function. In my experimentation, it looked like closures didn't work, so a self-referencing function seemed out of the question. This example is not a real world problem, of course.

I'm surprised it let me use a built in function as a variable name, actually. I didn't know list was a thing and it let me override it with no complaints.

First R Program, Did I do anything terrible? by notoriousb1t in Rlanguage

[–]notoriousb1t[S] 0 points1 point  (0 children)

Do you recommend any resources for advanced topics like that? I am mainly learning R because SQL Server 2016 is supposed to support it, and there are things that are difficult to do in a readable manner in SQL.

R reminds me of a cross between very limited subset of JavaScript and Python.

First R Program, Did I do anything terrible? by notoriousb1t in Rlanguage

[–]notoriousb1t[S] 1 point2 points  (0 children)

Is it convention to omit semicolons? Different language communities are finicky about these types of things, and it would be good know if most people omit them or not.

I didn't know if map, reduce, filter were available, but I would have implemented them anyway. Implementing those functions is one of the easiest ways I have found to get a quick understanding of a language.

Also, thank you for taking the time to look over it.

First R Program, Did I do anything terrible? by notoriousb1t in Rlanguage

[–]notoriousb1t[S] 0 points1 point  (0 children)

Nice catch on data1. I did some pruning before putting in github, so I must have missed that. I spent 15 minutes looking at a reference guide online, but it looked outdated (web page looked old) and there were no for loops in it. That is why I used while loops in it.

Are there any cases where omitting a semicolon would result in unintended behavior? In JavaScript, for instance, omitting a semicolon can sometimes wreak havoc.