Better HN
topnewbestaskshowjobs
Log inSign up

LOLCAT1024

56 karma · joined Nov 20, 2015 (11y ago) · 10 submissions

Submissions

1.

Leading a Satisfying Life as a Man(michaelsamsel.com ↗)

2 points · by LOLCAT1024 · 3y ago · discuss

comment 8y ago · link · parent

Maybe I did not express my self correctly, what I meant was - in it's current state the proposal rquires, when matching against an object, to specify all it's fileds, say you have an object with keys a, b, c then even if you match soley against the values of a , b you are required to specify c and by doing so notify it's existence. This poses a problem , since if you now remove c or add a filed d then the match will break failing to the default case , this means failing silently the worst that can happen. The described situation will be more then common since objects are ubiquitous to modern day js. Sadly nobody noted the existence of such a design flaw , which in my opinion is rather big since the proposal in it's current state implicitly turns objects into some kind of types , which they are not, such transformation will result only in increased coe coupleing , since anyone who matches against an object basically specifies it's type and as a consequence only doom and despare will follow to anyone involved.

comment 8y ago · link · parent

This proposal will increase code coupleing by fixing the object structure, this will lead to refactoring problems and so on. A better approach would allow to match objects by their fileds while leaving the structure of the object unspecified.

4.

Enums in Python(pymotw.com ↗)

1 points · by LOLCAT1024 · 8y ago · discuss

comment 8y ago · link · parent

I congratulate you on winning the genetic lottery.

Do you have any suggestions on the prefered skin color or ethnicity of the people who need to be workers ?

comment 8y ago · link · parent

I hate when people do this, what if I download the app and it will be garbage ? Id lose money, that's also a reason for pirating content, when I search for a book on a certain topic I usually would discard 3 or 4 matches before choosing what I need, and the only way to discard these matches would be to read part of the book, the part which usually doesn't get in the previews.

Piracy is not just a way of getting content for free it's also a way not to lose money.

Low quality content is being intentionally sold to you. Just look at some books on programming, they trick you on thinking that they do have quality info, but in fact are just lazy rewrites of specifications or man pages. I also remember reading from HN about a guy who made millions by selling total garbage books on amazon.

Eventually if I found a good book I buy it as a way to thank the author, but buying books before reading them it is just a way to motivate people to produce more mediocre content.

comment 8y ago · link · parent

> It is no longer possible for small producers of movies or documentaries to fund themselves.

KickStarter allow small producers to fund themselves, YouTube allow to monetize your views.

comment 8y ago · link · parent

I couldn't imagine how I could finish college without pirating most of the text books. Piracy gave me an opportunity to grow professionally and morally through infinite media access. Shure if your upper middle class this is an issue to you , since you can afford anything , and now you can moralize and shame people for pirating stuff, which to me, is the same as bragging of your social status. But I am not rich, and to me piracy isn't , like a choice , it is the only option.

9.

How to automate Google related tasks(developers.google.com ↗)

137 points · by LOLCAT1024 · 8y ago · 26 comments