Better HN
topnewbestaskshowjobs
Log inSign up

Technetium_Hat

62 karma · joined Sep 14, 2018 (8y ago) · 80 submissions

Submissions

comment 7y ago · link · parent

yes there is definitely a double standard between a) masculinity in women and b) femininity in men

comment 7y ago · link · parent

it is a convention in android apps to show a toast message as a tooltip when you long press on a button.

comment 7y ago · link · parent

you were lucky to hit that point in middle school. i am in high school currently and am struggling due to not ever learning proper study skills. everything before was too easy for me which ended up hurting me in the long run.

comment 7y ago · link · parent

you can definitely inherit from Array and Map in javascript.

comment 7y ago · link · parent

If it is to be 2 separate volumes, would the first volume, ie jlox, be ready to publish already?

comment 7y ago · link · parent

Based on their (lack of) interactions with local governments, goodwill does not seem to be one of their chief concerns.

comment 7y ago · link · parent

code generated /= text. Most html web pages are still largely written _by hand_ in a text editor. The closest thing to this that exists now is OpenSCAD, a usability nightmare.

comment 7y ago · link · parent

"It's popular so it must be bad"

comment 7y ago · link · parent

JSON was created as the lowest common denominator between multiple ancient javascript engines. At one time, at least one browser couldn't handle keywords being used as unquoted object keys, so JSON just has all keys quoted for simplicity. It's the same deal with trailing commas.

comment 7y ago · link · parent

the idea is that cheaters would find it more fun to play in the tool-assisted mode. obviously there will still be some black-hats who try to hack the main mode.

comment 7y ago · link · parent

I know you meant Proof of Concept, but it took a couple of readings to realize you weren't saying "Person of Color".

comment 7y ago · link · parent

this mistake is what causes the incredibly common html entities in plain-text emails, as well as RSS article titles.

comment 7y ago · link · parent

The closest thing I have felt to its just solid feel is my essential phone. don't get me wrong - it is not a good phone, but the build quality is unbelievable.

comment 7y ago · link · parent

it allows you to hold the remote without accidentally triggering the touchpad.

comment 7y ago · link · parent

Macbook pro right from both ends? I guess we're ignoring that - the keyboards don't work - the touchbar exists - all the thermal issues it has had

comment 7y ago · link · parent

`Expr*` means zero or more, so the empty string is implicit.

comment 7y ago · link · parent

PINs are encouraged because when a password is used, it is the user's microsoft account password. By not entering this password publicly, it increases the security of the microsoft account.

comment 7y ago · link · parent

All cats are indeed bastards.

comment 7y ago · link · parent

Why the comma operator with the eval?

comment 7y ago · link · parent

But those two pieces of code are parsed exactly the same way in most languages--the only difference is the newline between `else` and `if`

comment 7y ago · link · parent

Python uses the `elif` keyword if you want to place an `else if` on one line. And column indentation isn't very "pythonic", apparently.

comment 7y ago · link · parent

> like ecmascript's "do"

Keep in mind this is only a stage 0 proposal, and thus is not really part of the language. This is how statements behave when entered into the repl, e.g. the browser dev console.

comment 7y ago · link · parent

the biggest barrier, in my opinion, is the ugly punycode links. most browsers still do not render them properly, and if they did, it would have false positives. (i.e. there is no way to tell if a string is intended to be punycode or not)

comment 7y ago · link · parent

Unfortunately they still appear as punycode in most contexts.

comment 7y ago · link · parent

JavaScript does have lexical block scope since ES6, with the `let` and `const` statements.

And continuations are implemented by convention in nodeJS (through callbacks)

It even is specified as including TCO, a classic scheme feature, but so far it is implemented only in Safari.

Non mutation also seems to be a trend in web development, again thanks to `const`. The only things that make JavaScript not scheme, then, are syntax and the lack of macros. (Which is kind of a result of the more complex syntax)

comment 7y ago · link · parent

There is a financial literacy class.

comment 7y ago · link · parent

In JavaScript, I imagine using string.localeCompare would give a more helpful sort than just UTF-8 value.

comment 7y ago · link · parent

Tail calls _are_ iteration, just expressed as a function.

comment 7y ago · link · parent

Wouldn't it really be second world poor?

comment 7y ago · link · parent

Python has (optional) types on the right, and no variable declaration keyword.
123