HNHacker News
TopNewBestAskShowJobs

thsealienbstrds

152 karma · joined May 2, 2014

submissionscomments
thsealienbstrds··on Why I Prefer Functional Programming
Maybe true, but writing readable code is a difficult thing in any language. No matter what language you're using, you're going to have to come up with a set of coding standards in the long run.
thsealienbstrds··on Functor, Applicative, and Monad
That's pretty cool! Too bad Rust doesn't support higher-kinded types...
thsealienbstrds··on Functor, Applicative, and Monad
Seems similar to type traits in Rust. I skimmed through "Category Theory for Programmers" and it's mentioned this thing is mainly about composition. Composing functions? So you've got a trait (say Functor) that is meant for functions. You know something about functions that have this trait, so you can exploit that knowledge to create compositions of those functions. So then in theory you can write algorithms with as input functions implementing some trait? I'm trying to get the 'aha' moment here, I guess then that there exist many useful such algorithms? Or did I just completely miss the mark? :)
thsealienbstrds··on Functor, Applicative, and Monad
Thanks for this short explanation. The benefits of these patterns were not clear to me just from reading the article. Questiob: is the idea always to think in terms of types as groups of values + some operations on those types such that <insert properties about resulting groups here>?
thsealienbstrds··on Show HN: A simple Unix-like operating system that runs Doom
Pure awesome
thsealienbstrds··on Joi Ito Resigns from M.I.T. Media Lab After Outcry over Jeffrey Epstein Ties
There are porn stars who live comfortably yet remain in the business. There are even wives who like to be pimped out by their husbands because it's kinky to them; that's technically still prostitution.

I don't think the 'happy hooker' is just a theoretical thing. I think it exists, and it happens all the time. The fact that there is prostitution doesn't imply there is a power imbalance. Maybe if prostitution wasn't so stigmatized, it would be even more common.

Having said that, in this context there is obviously a power imbalance. Somebody says they're scared to leave because of the threat of violence. I'm sure this also happens in way too many cases around the world. I share your view that possibly a significant chunk of this misery can be done away with by getting rid of poverty. However, let's not forget the contribution to said misery by the mere psychopathy that drives people like Epstein.

thsealienbstrds··on Facebook scans system libraries on Android and uploads them to their server
That's what I expected when I installed the app. Just kidding, I would never install the app.
thsealienbstrds··on Privacy Sandbox – Open standards to enhance privacy on the web
TIL: you don't always need to read TFA before you can conclude with reasonable certainty that it is BS.
thsealienbstrds··on Keanu Reeves will return as Neo in new ‘Matrix’ film
This is gonna be interesting. The plot has to be good because the innovation in special effects is over.

Although KR is super dedicated to the fighting stuff apparently, so that should be good. Maybe Smith comes back and they just give them a new reason to brawl. I would go see that.

Actually I would prefer an awesome Neo-vs-Smith fight over the "infinite worlds" idea. I don't see what's left to explore in that direction, the transition from one world to another is just the same as going from the Matrix to the real world. Lose your identity and start over, except you'll gradually realize you've never had any real identity outside any of the Matrix-worlds. So, your identity is completely contextual... but maybe there are some things that never change? What is human nature and what isn't? But they kind of did this in the third movie already, where it was revealed the prophecy is a lie. Back to square one for Neo.

Whatever it is, I hope it's not going to be a PC reboot with a female lead or something. Though actually I'd be alright with it if they made it mainly about Trinity.

thsealienbstrds··on Clear is better than clever
All these quotes remind me of another quote that I like:

Simple and dirty beats complex and clean any day. - Learn C the Hard Way

thsealienbstrds··on Why Lisp Failed (2010)
On the other hand, this big pile of cleverness seems to be extremely successful: https://en.wikipedia.org/wiki/Design_Patterns :)
thsealienbstrds··on Why Lisp Failed (2010)
Right now I'm using Lisp for a hobby project. I find it actually really enjoyable. Lisp's metaprogramming support is super powerful. I'm the kind of developer who likes to explore different styles of programming. If you're like me, Lisp will not fail you. It really is a "programmable programming language".

For example, Lisp is not purely functional, but if you want to force yourself to program in a bit more of a functional style, you can make a macro that disallows the use of 'setf' (Lisp's assignment operator) in a function body, and it's actually quite easy to do that!

Maybe Lisp 'failed' because it's too flexible. You can solve your problem in a million different ways. Arguably, that is not a good thing in industry where it is preferred to have a language that enforces a single style on your code base for consistency across developers. However, I'd argue that it is very good thing for a creative individual. You want to have the freedom to do things your way.

From what I've experienced so far, Common Lisp offers a unique combination of customize-ability, utility, and interactivity. It's been around long enough for it to have a significant amount of libraries, and it has a multi-threaded REPL (so you can run your main loop and hot-reload your code-updates at the same time, how cool is that?!).

As for the parentheses... yes, I can see why Lisp code would be hard to read. On the other hand, with the right editor extensions (parinfer) it's really easy to edit, and you don't even need to think about the parenthesis when doing it. The documentation is alright I'd say, you can find plenty of stuff online.

Not sure what else I can say. I'm having a good time with CL... I'll try not turning into a 'smug lisp weenie'?

thsealienbstrds··on Kotlin is now Google’s preferred language for Android app development
After experiencing Android development with Kotlin, I will choose Kotlin again by default. Admittedly, my experience with the most recent version of Java is not there, but Kotlin has some things I never found in Java. It statically checks for possible null pointer errors, and you can define free functions (without a class definition). Another nice thing is being able to declare constructor parameters as fields at once, and also automatic generation of getters / setters with data classes. This saves a ton of boilerplate. Maybe Java has some or all of these things now, but last time I used it, it didn't. I don't see it as a tower of Babel, but you have to keep on learning.
thsealienbstrds··on Reasons not to reveal your DNA
C programmers are at the end of their wits anyway.
thsealienbstrds··on FindChips – Get instant insight into any electronic component
For a second I thought this was a search engine for the edible kind of chips.
thsealienbstrds··on New study: Google manipulates users into constant tracking
Duh.
thsealienbstrds··on Re-decentralizing the Web, for good this time
I don't know, if people could buy a 'personal cloud box' that is as user friendly as an iphone, for less than a 100 dollars, a substantial number of them might possibly do that.
thsealienbstrds··on Tell HN: Merry Christmas
#define GET_OVER_COLD_FAST 1

Behavior is implementation dependent

thsealienbstrds··on SIGIL, a New Doom Campaign by John Romero
Me too, me too...

:)

thsealienbstrds··on Chrome 69 will keep Google Cookies when you tell it to delete all cookies
It's like some people at Google realize that the company's image is messed up beyond repair. So they decided they might as well go full-on evil and make as much money as they can before the party's over.
thsealienbstrds··on Intel Responds to Complaints About Microcode Benchmarking Ban
Yep. It's like buying a box of cookies that says you agree to not compare the taste of these cookies with the tastes of other cookies.
thsealienbstrds··on Mastodon Is Better Than Twitter: Elevator Pitch
ISPs could even provide the federated services like they provide e-mail. Another way it might work is companies that sell people federated service servers as products that they can deploy for example in their home or let the company host it. In any case maintenance must be included. I don't see how federated will take off without commercial support. The Smiths might be technically capable but I doubt the Jones's who are not are willing to let the Smiths control their service. That kind of defeats the point.
thsealienbstrds··on Google tracks your movements, like it or not
As someone who has been doing this for a while, I find sometimes I don't get a notification until I open an app. You get used to it. Anyway, when someone calls me on Whatsapp it still works fine for instance.
thsealienbstrds··on I don't trust Signal
If I read that document correctly, it's more accurate to say that Signal stores at least two integers, rather than exactly. Signal did not provide information that does not fall under certain information categories, and they say that a court order would be needed to force them to disclose any of that information (if they possess any, which they deny).
thsealienbstrds··on Luna Studio – Visual and textual functional programming language
Out of curiosity, what did you do differently in order to get your speedup?
thsealienbstrds··on How to Android without Google
I also thought I was 'Google-free' by having 0 Google services, but then I discovered that my Android phone does this: https://www.reddit.com/r/LineageOS/comments/7m8tsq/mysteriou...
thsealienbstrds··on The Next Privacy Battle in Europe Is Over the Proposed ePrivacy Regulation
Following this rationale, one would also argue that requiring companies to use plain English in privacy policies is a constraint on the end-user's freedom.
thsealienbstrds··on Decentralized social media, and the fragmentation of control
I just want to say that I found Matrix's synapse server pretty easy to setup.
thsealienbstrds··on Pingfs: A filesystem where data is stored as ICMP Echo packets (2016)
redundancy == broadcast ping
thsealienbstrds··on Ellen Pao: My lawsuit failed. Others won’t
It's an interesting suggestion, but it may also distract from the sexism issue.

For instance, the company in question discriminates against women when it comes to promotion of employees. I have a friend who worked at a very well known company where she experienced the same problem.

I think these apparently structural problems should receive continuous attention, otherwise maybe they will never be solved. So, I think it might not be a good idea to shift the focus away from that discussion.

← PreviousPage 2 of 3Next →