search results matching tag: hmm
» channel: nordic
go advanced with your query
Search took 0.007 seconds
Videos (61) | Sift Talk (13) | Blogs (14) | Comments (1000) |
Videos (61) | Sift Talk (13) | Blogs (14) | Comments (1000) |
Not yet a member? No problem!
Sign-up just takes a second.
Forgot your password?
Recover it now.
Already signed up?
Log in now.
Forgot your password?
Recover it now.
Not yet a member? No problem!
Sign-up just takes a second.
Remember your password?
Log in now.
Deep sea crab gets a shock as he mistakes methane bubbles...
Hmm..pretty sure this is a dupe...
Bad Mystic Kitty
A dupe? Hmm!
Top 10 Most Viewed YouTube Videos of All Time
Hmm. Trends among my Thai high school students seem to be excellent predictors of YouTube views. Despacito is too new, and Bailando in a language that they have no exposure to, but other than those two every single item on that list is pretty commonly mentioned in my classes. Even Masha and the Bear, which I knew nothing about myself.
Troy McClure stars in MEAT & YOU
Hmm, the video seems to be *dead.
How to have 1000 Followers Free in one day on Instagram
Hmm, tastes like *spam.
Jet Boat Firefighting
Hmm, is this new or a dupe?
Justice League - Comic-Con Sneak Peek
Hmm, this one might not suck.
When Your Train Is Fast Enough For A Fighter Jet Escort
I'm sure the pilots were getting a chuckle out of it too. Heck, maybe they were taking their own video from the cockpit. Hmm...
Toxicity Comparison (This little will KILL you)
Hmm. I'm betting on toxin produced by bacteria. Something like Cholera.
or. you know, maybe you could say that humans create a pretty deadly cocktail of toxins
But which toxin actual kills the most people. I'm gonna say probably a snake somewhere in Africa or Asia where antivenom isnt readily available for the population.
I'd like to see the percentage (deadly amount) of toxin delivered in a typical exposure from all the things.
The Last Night (E3 Trailer)
Hmm. I wasn't too sure about this. I love indie games that focus on gameplay/style/story, but don't have the budget for high quality art/graphics, so I was afraid this might just be copying the style.
Nope. The orginal won a 2014 cyberpunk game jam written in 6 days by two brothers, playable here:
https://timsoret.itch.io/the-last-night
I haven't played through it yet, but this shows promise.
Incidentally, it intentionally copies the styles on Blade Runner and Flashback.
Tabs v(ersu)s Spaces from Silicon Valley S3E6
(**EDIT** hmm, code HTML tag doesn't seem to allow whitespace to show at the beginning of lines, so I'm replacing spaces with _underscores_ in the pseudocode below)
Code uses spaces or tabs to visually distinguish the flow of the program, what code belongs to what functions / loops / whatever.
Here's some C-style "pseudocode" that should get the idea across:
void function fizzbuzz {
__for (i = 1; i <= 100; i++) {
____set print_number to true;
____If i is divisible by 3
______print "Fizz";
______set print_number to false;
____If i is divisible by 5
______print "Buzz";
______set print_number to false;
____If print_number, print i;
____print a newline;
__}
}
The braces { } show the beginning and ending of a "function" (essentially one of potentially many self-contained algorithms in a program) and the beginning and ending of a "for loop" (that will repeat the code inside it some number of times). And the "if" statements will only perform the stuff after them IF the test they perform evaluates to true.
So in that pseudocode, there's sort of 4 tiers or things going on. First is the function (named "fizzbuzz"). Since functions are kind of the most basic structural unit of the code, they are on the far left -- not indented at all. Sorta like Roman Numerals in an outline.
Then, the actual content of that function (the code that makes up its algorithm) is set a consistent amount of space to the right to make it clear that it is contained inside the function. That can be done with *1* tab, or some consistent amount of spaces so that it lines up. The only thing in that tier is the "for loop" and the braces that show its beginning and end.
Then the content of the for loop is set a bit further to the right (with another space or another set number of spaces). All of the "if" statements are at that 3rd tier level, along with a bit more code at the beginning and end. Then, the actual content of the if statements is set one more tier to the right to help distinguish that it will only run IF the conditions are met.
That pseudocode uses spaces for all of the tiering -- 2 spaces per tier. I'm a tab person like the guy Richard in the video, because it seems easier to press tab once per tier than hitting the spacebar 2/3/4 times per tier. But it really is just a personal preference issue, because as he said in the video, by the time the code is compiled (turned into an executable file that the computer can run) the final result will be the same whether the programmer used spaces or tabs.
But like with many things, Silicon Valley really hits the nail on the head here. Programmers tend to be very set in their ways and anal about their style preferences for code. If we have to go through someone else's code that doesn't follow our style conventions exactly, it kinda tends to throw us out of whack. To make an analogy with something less nerdy, consider how annoying it can be when someone borrows your car and you have to adjust the seat / mirrors / radio stations etc. when you get back in.
Don't think i've ever used a tab outside filling in a form or playing video games. Does the tab thing have more to do with writing code?
Why Norway is full of Teslas
"How do the HOV lanes have 'way less traffic' if there are so many electric cars?" I wonder. Hmm.
Is There an Alternative to Political Correctness?
Hmm... I'm not so sure PC speech can be so easily separated from politeness. I mean, isn't one of the main reasons for the promotion of PC speech to raise peoples' awareness of how our everyday use of words can demean people? That's why, for example, PC speech proponents pushed for changing the term "garbage man" to "sanitation worker." Or why they decried the use of the word "gay" being used as synonymous with "stupid."
Certainly PC speech also is concerned with how language is used to oppress others but it seems to me it is also quite concerned with creating more polite language usage.
VS Sift Talk Forum is getting really messy and crowded. (Sift Talk Post)
If we had a separate area like that, no one would probably ever go there.
Maybe instead of showing the full inline posts in the ST listing, we could shrink them down to just a list of text links at the top of the page or even in the sidebar perhaps.
Hmm...
It makes our Sift Talk forum really ugly with all these reported submissions. Maybe need a separate area for those?
Knautic - High Tree Dub (official video)
hmm. well that seems to be a confusing process. and now i can't delete it.
*delete