levoea's comments

levoea | 3 years ago | on: An odd discovery on Spotify

I turned off youtube recommendations years ago so I can't comment on that, but spotify's have pretty much always been terrible in my experience.

Anything suggested on the front page is either songs i already have in my liked songs or completely out of place. And the songs that i've already liked are from a few specific genres and artists, which seem completely random.

A few examples:

* Ratatat and Röyksopp both are in my top 5 of all time according to Spotify's own stats, yet I never got any suggestion about E.VAX, Kunzite, or Röyksopp's releases (their Lost Tapes playlist and their latest album, released about 4 months ago).

* the 'recommended for today' section is regularly filled with random synthwave when it's a genre i barely ever listen to, and a lot of 'electronica/trance/organica/deep house/whatever you want to call it', which i don't really listen to either (at least this kind of electro music).

* still, the worst offender has to be podcasts. I have zero interest in podcasts, have never clicked on any and likely never will, yet it's always the first thing on the app homepage, just below 'recently played'.

I've tried to use the browsing categories but these are most of the time just as poor, they only contain a few playlists and the latest big releases of the genre.

Highly subjective, but i'm tired of personalized suggestions & feeds. Just because I watched or listened to something does not mean I want more of it. And imho 'just use a no history session' or 'click not interested' do not solve the problem, especially since the argument in favor of recommendations seems to be that it is 'more convenient for the user'.

Why can't I just browse instead? Spotify has a very extensive way of categorizing songs based on multiple characteristics (https://developer.spotify.com/documentation/web-api/referenc...), so why can't I just use that when searching for new music, directly in the normal app?

levoea | 3 years ago | on: Go generics are not bad

you can't do `T summer = 0`, nor `summer += v[k]` as there is no arbitrary sum operation for Number (e.g a method `Number add(Number);` or `<T extends Number> T add(T t);`).

though this can be solved either with types, as mentioned in another comment (https://news.ycombinator.com/item?id=32029871), or simply by providing the sum operation:

    static <T extends Number> T sum(T[] v, BinaryOperator<T> adder) {
       T summer = v[0];
       for (int i = 1; i < v.length; i++) {
          summer = adder.apply(summer, v[i]);
       }
       return summer;
    }
    
    Float[] ft = { 0f, 1f, 2f, 3f };
    // which can also be written as
    // `float z = sum(ft, Float::sum);`
    float z = sum(ft, (x, y) -> x + y);

levoea | 3 years ago | on: Increased Subscription Pricing for IDEs, .NET Tools, and the All Products Pack

> Most JetBrains products are super slow, and resource hogs

Yeah, every time i've tried CLion or Rider, the heap reaches its maximum size (4-8gb) like 10-20 minutes after starting the editor and then it becomes extremely slow and sluggish. My cpu goes crazy any time i start an analysis or any sort of task. I've tried to disable on the fly analysis, plugins and whatever i could find that i don't always need to be enabled, but it's barely better.

On the other hand, I've used Intellij for years and it's never been that bad. It has much lower cpu/ram consumption even while having almost everything enabled. I've used the same configuration for years though, so it's possible that at some point I disabled whatever causes such resource usage and completely forgot about it. Or maybe the editors are actually different, though from my understanding they all share the same core.

page 1