HNHacker News
TopNewBestAskShowJobs

s4vi0r

400 karma · joined October 26, 2016

submissionscomments
s4vi0r··on Cherry’s new switches may help bring mechanical keyboards to more laptops
Which has nothing on my 1977 IBM 3277 mini :^)
s4vi0r··on Regarding the Em Dash
I cringe physically every time I see an ellipsis, they're like the calling card of the tech illiterate 30-40+ year old.

I don't know why they like them so much... But they end... Every sentence or thought... Like this...

s4vi0r··on LLVM patch to fix half of Spectre attack
Spectre relies on tricking the CPU into branch predicting its way into accessing protected memory, no? Is it not possible that we can keep most of the performance benefits of speculative execution by somehow having a built in "Hey, never ever speculate that I'll want to access this region of memory" sort of thing?
s4vi0r··on Long Island Iced Tea Soars 500% After Changing Its Name to Long Blockchain
The technology behind it could maybe one day cause "the new dawn", but there's 0 chance this is anything other than people going full retard. It's like a smaller scale, equally as stupid/shitty version of that tulip craze that happened in the Netherlands like 400 years ago or whatever.
s4vi0r··on Netflix and Spotify Ask: Can Data Mining Make for Cute Ads?
How naive could you possibly be to think that Spotify or Netflix wouldn't have had this sort of data?

I don't see anything wrong with the ads, not because it isn't fucking creepy, but because you'd have to be an idiot to think that they don't have that much data and because there was no personal information shared.

By using these types of services you're implicitly (explicitly? Wouldn't be surprised if it was in ToS) agreeing to have pretty much everything you ever do on their platform collected, and if you're lucky anonymised.

s4vi0r··on Firefox is on a slippery slope
Both userChrome and userContent work just fine on ff57(+). I'm using both right now with the nightly build. What are you having issues with?
s4vi0r··on Former Facebook exec says social media is ripping apart society
You could try giving normal, mainstream porn a shot.

I don't think adopting either far end of the spectrum view of womens' sexuality is healthy. On one hand you have people who think less of women (putting it lightly) who are sexually active, and on the other people who treat them like they're children and believe there's no way they could be enjoying themselves as performers and that someone must be forcing them into it.

Women aren't any different from men wrt sex - some like to have a lot, some a little, some with different people, some outdoors, some with members of the same sex, and some with members of both sexes. Like green eggs and ham, kinda.

s4vi0r··on Show HN: Enlight – Learn to code by building projects
Why the `var`s everywhere in the example? They should really be `const`s
s4vi0r··on Poverty in Japan
Do people really romanticize it, outside of certain delusional anime fans?

Pretty much everything I hear about Japan - whether it be news, or talking to Japanese friends - makes it seem like the country isn't doing so hot as far as the top 10 or 15 countries in the world go. Authoritarian government with poor freedom of press, social and mental health issues out the wazoo, aging population combined with xenophobia/refusal to open up or otherwise encourage mass immigration, poor gender equality, salaryman issues, etc.

It feels like they peaked in the early to mid 90s and have just sorta been stumbling around since then.

s4vi0r··on Mozilla’s revenue increased significantly in 2016
Why would you expect otherwise? If you're asking for some niche feature of course they'll blow you off. It isn't worth their resources developing features which only a small niche cares about.

Firefox is open source, so you could always put your money where your mouth is and write your own fork with the features you want if neither ff nor any of the other forks work for you.

s4vi0r··on Ask HN: What was your best $1000 investment?
He said best investment, not luckiest :^)
s4vi0r··on Why I love Go
It's so strange seeing people who write these sorts of articles constantly praise Go's error handling. In what world is doing the whole if err != nil thing every 30-50 lines not ridiculous?

I get that goroutines are great, but that really seems to be all Go has going for it. The GC sucks, error handling feels like something from a bad language designed in the 70s, missing generics, math library is awful, Rob Pike being super opinionated, etc.

s4vi0r··on System76 ME Firmware Updates Plan
https://www.sec.gov/news/press/2010/2010-131.htm

Would be a good place to start, as far as not supporting dell goes. Linux is also a first class citizen w/ system76 - Dell has the factory linux xps13 e.g. but I've heard from a handful of friends who use one at work that its obvious Linux was just kinda slapped onto the laptop at the end of manufacturing or whatever. Support is also probably much better with System76.

s4vi0r··on Type-safe GraphQL with OCaml
Do you write Scala, or have you even looked at Scala code any time in the past few years? I'm curious where this habit of spreading FUD over Scala being operator heavy came from. Maybe it was back when it first started reaching the HN front-page or something?

Scala is a super approachable language, without any (that I can think of) strange operators in the stdlib. You could make a case for Cats, I guess, but writing purely functional Scala isn't necessary at all, and is something you can approach when or if you feel comfortable to do so.

s4vi0r··on Carp, a compiled Lisp with type inference and a borrow checker
Why/how is immutability a fad? Do you just mean in the context of LISPs? What elegance does having immutable by default data structures?
s4vi0r··on In search of the perfect writing font
I don't know why, but that font is giving me some serious comic sans ms vibes.
s4vi0r··on Clojure Design Patterns
What do you mean by serious products? There are plenty of massive projects written in purely functional languages (e.g. Facebook's Sigma) and while adoption isn't as fast as it could be, things seem to be shifting towards functional/immutable, which makes sense since reasoning about highly parallel code without RT and immutability is pretty much impossible.
s4vi0r··on Announcing Rust 1.22
Have you checked out scalanative? I've heard good things, though I don't know if its viable for production use yet.
s4vi0r··on Sugar industry withheld possible evidence of cancer link 50 years ago
Why is it that he's so popular on HN? Did I miss a recent front page post or something?

I swear every time I'm in a nutrition related thread I see somebody mention his name or a book he wrote or talk he did. I used to be pretty deep into weightlifting and nutrition, and I don't know that I ever once ran into his name in all my reading, and I spent a stupid amount of time reading about macro + micro nutrients.

s4vi0r··on When I use classes, when I don’t, what I do instead and why
Can you clarify your argument/provide a possible solution?

Your line of thinking seems kind of absurd to me - "Hey, we can't possibly predict our data model requirements in the future, and explicitly encoding them into a schema/ADT/etc hinders flexibility (and somehow productivity?)" doesn't really hold up to scrutiny. Flexibility is great, but if anything the lesson mongo taught us over the past few years is that stability and safety are more important, and will cause you less of a headache in the long term. I feel like the same applies to ADTs - of course its more flexible to just have a free floating `name: String` or whatever, but then you also get to have the fun of validating your data all day as opposed to letting your compiler do the dirty work for you.

s4vi0r··on When I use classes, when I don’t, what I do instead and why
What do you mean by ADTs introduce unnecessary coupling of information? ADTs allow you to clarify and safely handle otherwise vague data. Maybe I'm misunderstanding, but your comment reads to me like you're in support of stringly typed programming.
s4vi0r··on Hacker News Hiring Trends
Is it just my perception, or is getting into security a bit of a pain? It seems like there's a lot of domain specific knowledge (I.e. stuff you won't know/remember coming straight out of a regular math/cs degree) and practicing/learning isn't necessarily free either (e.g. buying routers/switches/firewalls etc to set up a lab)
s4vi0r··on Plain Functional Programming by Martin Odersky [video]
This is a ridiculous strawman. Brainfuck has a tiny grammar, yeah, but its deliberately designed so as not to be readable. It also has an odd method of execution (I.e. your program is a big tape of memory and you manipulate the cells to do stuff) that makes doing anything worthwhile impossible to reason about, especially with the opaque syntax added on top.

Scala neither has opaque syntax (see: many/most new languages borrowing its name:type format, smartly choosing [] over <> for type parameters, etc) nor does it have some weird execution model. Its a perfectly reasonable metric to use when talking about a normal/popular language, especially when people who don't even use the language complain about it being bloated and compare it to C++ which has a grammar twice the size of Scala. I really wish people would stop spreading FUD over these kinds of things :/

s4vi0r··on Plain Functional Programming by Martin Odersky [video]
If you have to write that kind of code for work you're probably out of luck, but if you're comfortable with FP and have some control over your stack I'd suggest the typelevel stack. I didn't know what the magnet pattern was until you just said so, and it seems like an awful idea relying on implicit abuse on the level of the cake pattern - something which has been discouraged for the last 4 years now.

Implicits are great, and allow you to do some really amazing things, but you have to be careful not to abuse them or risk making your code take forever to compile and be impossible to debug.

s4vi0r··on Functional Programming Jargon
Presumably because it represents a 'chain' of dependent computations or something along those lines.
s4vi0r··on Show HN: React patterns, techniques, tips and tricks
Is it really that crazy? I'm pretty sure you'd have the same problem with any other language (I.e. most of the popular ones) where if/else isn't an expression.
s4vi0r··on Dueling Rhetoric of Clojure and Haskell
Fwiw, the monad quote is actually pretty digestible if you know what monoids and functors are.

A functor is a container that you can reach into to perform some action on the thing inside (e.g. mapping the sqrt function on a list of ints). The endo bit just tells you that the functor isn't leaving the category (e.g. an object, in this case a Haskell type, when lifted into this functor context is still in the Haskell 'category'). A monoid is something we can smash together that also has an identity (e.g. strings form a monoid under concatenation and the empty string as an identity). So, in other words, monads are functors ('endofunctors') that we can smash together using bind/flatMap, and we have an identity in the form of the Id/Identity functor (a wrapper, essentially - `Id<A> = A`).

s4vi0r··on First field report of iPhone X
The issue is/was that Samsung effectively is the only company that makes OLED phone displays, so they'd charge out the ass for one and could always just sell last gen displays to make their new phone more attractive.

Iirc Apple and some other companies threw a bunch of money at LG so they can get in the game as well, which will be nice in the future but atm obviously screen quality is worse and costs are higher due to R&D cost.

s4vi0r··on Near Future of Programming Languages [pdf]
Once you get over the initial learning curve of the functional/pure approach to state/IO, its far superior to imperative imo. You don't need to reason about global state - because everything is explicit, including passing around your state, you never have to worry about "what if someone else or some other code somewhere is touching this" again.
s4vi0r··on Kotlin Features I miss most in Java
As a non-Java dev, Lombok seems like the kind of thing that could only be tolerated by Stockholm syndrome java devs :/

I mean, it's a clever solution and the site/documentation is great. But tossing around annotations everywhere feels hacky as hell, not to mention that it only works with IDEs. I'm sure the combination you mentioned approaches Kotlin in terms of features and QoL improvements, but it's just so much nicer to have these things built into the language. Plus, Lombok is mostly constrained to boilerplate reduction - Kotlin may not be as "crazy" as Scala, but it still has some really nice modern features that java doesn't have/can't have/won't have for a long time.

← PreviousPage 3 of 4Next →