HNHacker News
TopNewBestAskShowJobs

cuddlecake

577 karma · joined September 11, 2018

submissionscomments
cuddlecake··on Clojerl – Clojure for the Erlang VM
Would it really matter though, whether the underlying VM is JVM or BEAM, if people don't want to code in Erlang or Elixir?

I don't think introducing the BEAM is the hard part, I think it's all about the language barrier.

cuddlecake··on The worst morale-boosting gesture I've experienced
Curious. I once read that quote somewhere, but I don't remember where.
cuddlecake··on Is it time to treat sugar like smoking?
I think keto is even lower on carbs. At most 20-30g per day (only nuts and vegetables, basically).

But, obviously, like 99% of people, the parent poster lacks the willpower to do that. wink wink

cuddlecake··on Absolute truths I unlearned as junior developer
And the complementary truth would be "I know what the user wants".

My team and I are kind of trying to break this up, since we suffer from this a lot.

cuddlecake··on Absolute truths I unlearned as junior developer
I was thinking about this and because of the book _Clean Code_ I had already decided that comments will lie at some point.

So I moved towards descriptive variable and function names, but those could lie as well.

So I'm thinking, how could we ensure truthful intentions at all?

And I think only a combination of small pull requests, good variable and function names and a thorough review can save us here.

But I don't know, I'm just a junior developer.

cuddlecake··on How to use array reduce for more than just numbers
Avoiding local mutation in JS for the sake of avoiding it is especially bad because Functional Programming Languages with immutable data usually have optimizations for these kind of things. JavaScript does not.
cuddlecake··on Show HN: A renderless and extendable rich-text editor for Vue.js
Hopefully, your mind can change when presented with new information.
cuddlecake··on Please don’t theme our apps
Your entire comment feels awfully dismissive and egocentric.

The author presents valid and sensible issues with the state of theming on the GNOME platform. And the overarching topic is essentially User Experience.

Even the slightest change in color can introduce friction between UI elements. Or to be more extreme, if a theme turns your entire app into a white blurry mess, you would get mad at the application, and not the theme. Although many of the same design principles are used in the making of either a chair or a graphical user interface, they are definitely not the same in any regard.

On the topic of icons: just like language, they evolve over time. On top of that, icons can have different meaning depending on your background. Icons can be combined to form a composite icon, and now imagine one of those icons is not displayed as you intended it to be. The entire meaning can change because the design intentions are lost.

On the topic of branding: it's not about your desktop being a billboard. It's about being able to recognize the brand across different operating systems, and it's also - more or less - the only thing about the product that is not designed for the purpose of user experience (but in a sense, they still are). And let's be honest: most apps we use in our day to day life have very tame brands and adhere to certain standards. That is because the apps we use are usually good, and we throw the bad, obnoxious ones away really quickly.

All in all, the author presents valid concerns, especially if you don't project them on how you prefer your UI, but rather, how potential Linux / GNOME users could have additional difficulties because of theming issues.

cuddlecake··on Using Rust to Scale Elixir for 11M Concurrent Users
As I understand it, Sorted Sets are an in-memory feature.

Discords architecture is one where an entire guild stays on one machine. And the sorted set is part of a guild as well.

So, there is no need to persist it, since it is ephemeral in nature.

Edit: perhaps to expand on this a bit more, keep in mind that discord is not a cloud native application. They have a few strong server nodes and a Cassandra cluster (at this point I am curious if they switched to scylladb) that handle all or at least most of their client facing features.

Since they do not need to scale services, the servers they have are stateful. Hence, if the guild server crashes, so will the data structure, since the data structure is of no use if the server crashes and would need to be rebuilt from scratch either way.

(Disclaimer: I am not an insider, just an Elixir fanboy)

cuddlecake··on Black – Uncompromising Python code formatter
Technically, one could spend his life learning and perfecting JS or Python skills, without ever learning how other people format code. If you don't have a reference, you cannot align.

Also, imagine blind people coding. I imagine they have a completely different stance on how code should be formatted.

cuddlecake··on Black – Uncompromising Python code formatter
I would do the same on any JS project with prettier.

I write some garbage-formatted code, press ctrl-s, and the code is formatted automatically.

Even on a single-dev project, I would take a config and just put it there for the convenience it provides me.

If I ever were to code python again, I would probably also use black.

cuddlecake··on The moon may be tectonically active
As I understand it, the fact that the moon is tectonically active implies that there still is enough heat in the moon's core to cause tectonic activity.

(To anyone who's wondered as well)

cuddlecake··on Inheritance versus Composition
The first question should be whether we need hierarchical logic, or what hierarchical logic is supposed to be.
cuddlecake··on Show HN: CSSFX – Click-to-copy CSS effects
Took me a while to figure out that these CSS effects are not used to copy the content of the buttons.

Shame on me.

cuddlecake··on UX clichés
By indirectly I mean that we have a WebSocket API that does nothing more than expose the primitive streams.

Our frontend client basically reads any stream it needs. And the main problem is, if you have to handle 40+ streams (and that is not even 30% of what's to come), it gets more and more difficult to provide a good user experience.

Thankfully, after much discussion we agreed to do it better... Soon ish.

cuddlecake··on UX clichés
We have an API that lets clients read streams from beginning to end. They do not read the streams directly, but the API is thin enough that one might go "eh, just give them the lib"
cuddlecake··on UX clichés
Even worse in my case, we are using event sourcing, but the client reads the Eventstore streams indirectly. It's terribly uncomfortable being the only one on a team of 7 who thinks this is terrible.
cuddlecake··on UX clichés
Everytime my co-worker tries to mention the "Pareto-Principle" (a.k.a. "Please let's not waste time on this, because it's frontend and I don't care about frontend") and "Single Source of Truth" (a.k.a. "let's expose our DB as directly as possible"), my soul barfs.
cuddlecake··on Python at Netflix
Will you start the game everytime someone says that, or will your game be to drink everytime someone says that? Honestly curious what your methodology is.
cuddlecake··on An open-source collection of interview questions
Yes. The source to the code containing the collection is open. Hence, open source.
cuddlecake··on Elixir, Phoenix, Absinthe, GraphQL, React, and Apollo
My main issue with elixir dev jobs is, that they are usually not just "request/response", because elixir offers so much more with OTP.

At least that's what's holding me back.

cuddlecake··on Architecting UIs for Change
Probably Facebook, but I'm not entirely sure, since they didn't start with GraphQL but rather created it along the way
cuddlecake··on I Don't Like Debuggers (2000)
I just wanted to drive home the fact that we don't accept insults, and respectable discourse is always preferred.

I would not accept shit from people just because they have some authority in some place.

cuddlecake··on I Don't Like Debuggers (2000)
Your sarcastic comment is absolute trash.
cuddlecake··on Vim Anti-Patterns (2012)
I take issue with the wording "natural usage", as there is nothing that is "natural" about keyboards.

At least not in the sense that someone would "naturally" rather grab things with their hands rather than their feet.

This is why to me neither ctrl-f nor PgDn are natural, and anyone can choose one or the other. Ultimately they were both created by someone who saw the need to have a shortcut to move one entire page down.

cuddlecake··on Generative.fm – Endlessly unique ambient music
I love `Trees`.

Listening to this along with the clicking sounds of my coworker's keyboards makes me feel like I am in a rainy forest.

cuddlecake··on WhatsApp co-founder accuses Facebook of trading privacy for revenue
It's a weird choice of voice, I reckon. In German, the English word "Billion" translates to "Milliarde", and the English word "Trillion" translates to "Billione".

So, in my head, millions feels closer to billions than billions does. It's weird.

cuddlecake··on WhatsApp co-founder accuses Facebook of trading privacy for revenue
I just want to say, if I were in his position, I would also trade my company for sweet millions of dollars.

But at least I would not constantly call out the people I sold it to, as if my words had any meaning at that point.

Also, it's frustrating to me, to see how it's seemingly impossible to care about the users AND have enough users bringing in revenue at the same time so that you are never in a position where big companies try to blackmail you with sweetsane amounts of money into giving them access to data.

Edit: After reading the responses, I must correct myself. The turmoil within the human soul is much more nuanced, rendering "stop flame, whin0r" an inadequate response. The only thing I know is that I'd probably have done the same, as I reckon most would have.

cuddlecake··on The ups and downs of porting 50k lines of C++ to Go (2015)
Well, there are plenty of other languages that are just as capable as Java, they just came later.

I just feel like I've been lied to in University. Java was presented as the silver bullet in University. "It runs anywhere and models the real world". "In Java, you can't compare apples and oranges!". Turns out you can, if someone implements an AppleOrangeComparator. Great.

I'm just venting at this point, don't mind me.

cuddlecake··on The ups and downs of porting 50k lines of C++ to Go (2015)
I think Java is taught in University and has become the Backend development standard because of historic reasons, not because of its technical qualities.
← PreviousPage 6 of 8Next →