Hacker Newsnew | past | comments | ask | show | jobs | submit | vesak's commentslogin

Nice alternative to Spotify is Apple Music. They recently opened up their API (https://developer.apple.com/documentation/applemusicapi) which has been used to create a nice web interface by https://musi.sh/

Their suggestions AI is quite a bit behind Spotify's unfortunately. Dunno if that's by a lack of design or because of Apple's privacy stance -- probably the former.


I wonder how long it'll be before using Apple's logo on their page blows up in their face.


What's the equivalent of === for < and > in PHP?


Use < and > for numbers and strcmp for strings. A strict type > would be very weird because besides returning TRUE and FALSE it'd need to throw a TypeError, I guess?


>A strict type > would be very weird because besides returning TRUE and FALSE it'd need to throw a TypeError, I guess?

Yes, which would make it behave exactly like probably every language with strong runtime typechecks. Very weird indeed. It's obviously much more preferable that the code sometimes does the wrong thing without warning.

And of course with static typing, it would be extremely weird since the code wouldn't even pass the compiler!


I don't think the snark in this response is super helpful; a simple "Yes, throw a TypeError when the types are incorrect" would have sufficed.


Congratulations for being the last straw. I'm getting out of this site for good.


Yet another reason not to use Spotify. Their IPO was a huge red flag, of course.


At this point, the 7 won't probably get updates nearly as long as the XR will.


At this point, if history is any guide, you are still looking at 3 years of upgrades and you’re paying $300 less.


Note that Dendrite is doing a bit more fancy architecture. https://github.com/matrix-org/dendrite/blob/master/DESIGN.md -- there's a bunch of readers and writers, with Kafka in-between to mediate flow of messages.

Whether that's a good or bad thing remains to be seen, but I'm a bit skeptic towards complicating things from the get-go.


>who needs $10,000/month to live

Those who have a monthly mortgage payment of $9000. Substract $500 (or more if the government doesn't help you with their costs) for each child in your household.


You've done great work as a whole, as you probably know. Try not let the lowlifes get to you.


Yes! And I’d like to add that a lack of such criticism just feels wrong. Like I’m researching into a cult instead of a tool.


Game programmers use entity systems, not OO... or do they?


Fun related quote from reddit:

"you can tell if someone started game development as a hobby because they ARE using an ECS."


Haha, ok. I'm even lower on that scale: not even a hobbyist game programmer.

I thought they actually just use structs and whatever data structure works.


What do the pros use? Why is ECS bad in a game/simulation type program?


ECS is the "microservices" of game development : it's touted as the way to go, and in some cases it's the best solution, but it comes with increased wiring complexity cost, and the hype surrounding it causes it to often be adopted for dubious reasons (e.g "deep class hierarchies are bad, therefore I need ECS").

Very interesting article here: https://www.gamedev.net/blogs/entry/2265481-oop-is-dead-long...


ECSs are sort of designed to be flexible and make it easy to extend and mix the behaviors of a game. Most games do not need such flexibility, because professional games are designed and you already know what capabilities are needed, and it is more efficient and less complex to implement those things directly.

However, if you're designing an open-ended game engine for other people to develop in, then an ECS is a godsend, because you have no clue what they plan to make their game do.


I think it means that pros try to use an ECS but often fallback to object spaghetti. But I might be wrong


Here’s a few guesses:

1. It’s not 100x (or even 2x) faster or significantly more stable than Apple Music

2. It’s always easier to make a nice app when starting from scratch versus trying to fix existing older software to be nice

3. Apple did a good job with their APIs


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: