Better HN
topnewbestaskshowjobs
Log inSign up

fireattack

1,898 karma · joined Feb 5, 2018 (8y ago) · 703 submissions

fireattack#outlook.com
Submissions

comment 6y ago · link · parent

It's not 18% price increase though. People normally already pay tips just not a fixed 18%.

comment 6y ago · link · parent

Yep, it happened quite a lot. The most famous example probably is Stylish.

comment 6y ago · link · parent

Oh, definitely. The point is they are both more common compared to the opposite opinions.

comment 6y ago · link · parent

This doesn't surprise me in any bit, but I don't understand why people on HN, a much better informed audience, keep defending Apple's walled garden practice until now, while being very critical against any slightly anti-competitive conduct Google, Facebook, or Amazon did/do.

comment 6y ago · link · parent

I don't get it then.

Since browser already turns it into ascii format before resolving, how would it work in XSS for server-side max length limitation as he mentioned in his other article, "Minimum Viable XSS" [1]?

[1] https://shkspr.mobi/blog/2016/03/minimum-viable-xss/

comment 6y ago · link · parent

Oh sorry, didn't notice you're talking about the first half of point #1.

To be honest, I have no idea what he's expecting with that "return true". How would that be different in any other language?

comment 6y ago · link · parent

I feel like your example is talking about having the result "in-place" or not, which is an entirely different from what he's complaining (semicolon suspends output).

comment 6y ago · link · parent

Could someone please elaborate his #1 a little bit (as I'm not familiar with C#)?

For the first example, I don't see how it has anything to do with C#.

For the second example, I assume it works like Matlab? By "discard" it just suspends the print, but if you use something like `a = 1;` it still assign 1 to a? If so, I think it's perfect fine for notebook-like interactive shell.

comment 6y ago · link · parent

Why is the Icelandic version missing the top part of the page though?

comment 6y ago · link · parent

Questions for the people from areas that do have: do the different providers have separate infrastructures and facilities (optical fiber cables, switches, etc.)?

comment 6y ago · link · parent

Ember, Coffeescript, sure, but I won't call HTML5 or CSS3 "best of JS".

comment 6y ago · link · parent

Personally I never have any issue with using keyboard. It's the excessive usage of mouse that is detrimental for my (right) hand (not just the wrist, the fingers hurt more from clicking and using scroll wheel too much.)

comment 6y ago · link · parent

I agree. I feel like tech industry in this regard probably is below the average of all professions.

comment 6y ago · link · parent

Not exactly sure what you mean but you can check this: https://github.com/microsoft/TypeScript/issues/2719

comment 6y ago · link · parent

Thanks for pointing it out, didn't know that.

But I think your second point is more to do with the fact `import` by default imports `default` instead of the whole thing.

If you use import * as x from 'x'; then `const {y} = x;` works.

I personally will consider it is `import from` being different from a typical object instead of {x} here being different from typical destructuring assignment (by that I mean they still follow the same pattern; not necessarily say they're the same thing.)

comment 6y ago · link · parent

Typo: I meant to say "... using `export default xxx`...".

comment 6y ago · link · parent

Another issue about module import I encountered before and wasted me 1 hour to find the culprit:

When converting TypeScript that using `import default xxx` to JS using `tsc`, it would convert it to something like `exports.default = xxx`.

To import it, you have to use `const XXX = require('./mo.js').default` instead of just `const XXX = require('./mo.js')` in plain ES6 JS.

This is fine but Babel used to [1] be able to convert `const XXX = require('./mo.js')` to valid code, which made lots of people wrote it (incorrectly) that way (I was very baffled why people wrote like that since it does not work in plain ES6).

[1] https://github.com/babel/babel/issues/2212

comment 6y ago · link · parent

I think people (like the author of this article) should explain the syntax of destructuring assignment {x} briefly to make it make more sense for the unfamiliar.

[1] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...

comment 6y ago · link · parent

At least they recently added the animation back.

It was nearly invisible for quite a long period.

comment 6y ago · link · parent

Chrome has autoscroll here, on Windows.

What platform do you use?

comment 6y ago · link · parent

>Autocad - not Autodesk - has many 100's of years of development done to it

What does this mean? Wikipedia said the first version of AutoCAD released at 1982, and it was based on a software from 1977.

comment 6y ago · link · parent

Yeah BB is pretty bad for buying small accessories (not just cables, think mouses, keyboards, hard drives, etc.).

The varieties are very low, and (therefore) prices are ridiculous.

You can argue their price is the same as Amazon for the ones the have, but there usually are plenty of quality cheap alternatives online (Amazon Basic, monoprice, etc.).

comment 6y ago · link · parent

Yep, market share wise, I'd say Twitter in Japan is much huger than the US (probably their top 1 social media if not counting Line, which is primarily a messaging service.)

comment 6y ago · link · parent

Thanks for the detailed reply.

I agree, Wikipedia indeed does enough to attribute, but I'm still a little bit concerned about the specific "Attribution Requirements" listed on the File page (second block under #Licensing).

Basically it states, modified or not, you need to keep the source "below the map", which some Wikipedia article pages obviously don't.

What's your take about this "requirements" statement? Does it carry any weight, legally speaking?

(By "concerned" i'm not saying UN would have an issue with Wikimedia, just the technicality with such requirement).

comment 6y ago · link · parent

This reminds me of a question I asked before on Wikipedia [1].

Some of their pictures on Commons, such as https://en.wikipedia.org/wiki/File:Belgium_-_Location_Map_(2... , are from UNOCHA (United Nations Office for the Coordination of Humanitarian Affairs).

UNOCHA specifically asks their work to be 'Credit as follows: "Credit: OCHA"', but obviously Wikipedia don't do it on their article page if you just embed the picture, you have to click on the picture to see the credit.

Actually, they even went further and removed the "OCHA" watermark from the original image (see File History).

To be honest, I wasn't super satisfied with the answers I got there (see ref), but then again I'm not familiar with this topic.

[1] https://en.wikipedia.org/wiki/Wikipedia:Village_pump_(policy...

comment 6y ago · link · parent

> there are some commonalities among families from the same culture

My exact point is this: I can't think of any commonalities for "(teach the kids) how to control anger", not for my culture at least. Maybe Inuit people are different.

comment 6y ago · link · parent

I always find this kind of title weird.

Coming from a relatively "homogenous" (for lack of a better word) ethnicity, I think I can see a point to generalize something like "this is how X people teach their children math", but "control anger"? This seems to me a very personalized thing that varies wildly from family to family.

comment 6y ago · link · parent

I assume this is inheritance then?

    a { color: red; }
    div { color: blue; }
(Blah will be red now.)

(I have little knowledge of CSS.)

comment 6y ago · link · parent

Doesn't seem to support "from:{screen_id}" in search, a bummer.
1
111213
24