Readit News logoReadit News
hawski commented on Astronomers spot mysterious gamma-ray explosion, unlike any detected before   eso.org/public/news/eso25... · Posted by u/hawski
pineaux · 3 months ago
Probably aliens. That's my first thought on articles like this.
hawski · 3 months ago
My first thought was that if there was any carbon based life around there there isn't anymore.
hawski commented on iPhone Air   apple.com/newsroom/2025/0... · Posted by u/excerionsforte
micromacrofoot · 3 months ago
it's titanium, which is quite rigid compared to aluminum
hawski · 3 months ago
In this case watch your toes!
hawski commented on Why is Warner Bros. Discovery putting old movies on YouTube?   tedium.co/2025/02/05/warn... · Posted by u/shortformblog
interludead · a year ago
I think, for viewers, it's a win. Free movies, no DRM, and no region locks? But it's ironic that YouTube is now offering a more open and accessible archive than most official streaming services
hawski · 10 months ago
At the moment those are region locked.
hawski commented on Statement on planned protests during the upcoming FOSDEM 2025   fosdem.org/2025/news/2025... · Posted by u/luismedel
constantcrying · a year ago
Why would any event accept or welcome people who are there to sabotage it?

"Our purpose is to peacefully disrupt Dorsey’s talk" then do it outside, that is where your Protest belongs and where you actually have a right to protest. Obviously anyone who comes to an event with the goal of disrupting that event needs to be removed or just not let in.

It seems extremely uncontroversial to ban everyone involved in the planned protest from attending.

hawski · a year ago
It is not that easy.

From https://fosdem.org/2025/faq/#registration

> Q: I plan on visiting FOSDEM, where can I register?

> No registration is required.

> Q: How much does a entry ticket for FOSDEM cost?

> Attendance is free, including access to all talks and facilities.

hawski commented on Ozempic and Wegovy are selected for Medicare's price negotiations   apnews.com/article/drug-p... · Posted by u/geox
hawski · a year ago
I understand that those drugs are very useful, but in a way it feels for me like ancient Rome with its orgies and vomit inducing so they can eat more. At least looking at USA from Europe. The problem of sugar content, dietary choices and portion sizes remains. It is similar to gas guzzling cars.

Sorry if it seems not empathic enough, that was not my intention. I know that the use of such drugs may be medically necessary.

Edit: To serious answers: I was wrong, I stay corrected.

hawski commented on Obvious things C should do   digitalmars.com/articles/... · Posted by u/LorenDB
kouteiheika · a year ago
> All the features you mentioned "nice interface, fully searchable API interface, whole public API" are exactly what you get if you open a well written header file in any old text editor.

No, you can't, and it's not even close.

You have a header file that's 2000 lines of code, and you have a function which uses type X. You want to see the definition of type X. How do you quickly jump to its definition with your "any old text editor"? You try to grep for it in the header? What if that identifier is used 30 times in that file? Now you have to go through all of other 29 uses and hunt for the definition. What if it's from another header file? What if the type X is from another library altogether? Now you need to manually grep through a bunch of other header files and potentially other libraries, and due to C's include system you often can't even be sure where you need to grep on the filesystem.

Anyway, take a look at the docs for one of the most popular Rust crates:

https://docs.rs/regex/1.11.1/regex/struct.Regex.html

The experience going through these docs (once you get used to it) is night and day compared to just reading header files. Everything is cross linked so you can easily cross-reference types. You can easily hide the docs if you just want to see the prototypes (click on the "Summary" button). You can easily see the implementation of a given function (click on "source" next to the prototype). You can search through the whole public API. If you click on a type from another library it will automatically show you docs for that library. You have usage examples (*which are automatically unit tested so they're guaranteed to be correct*!). You can find non-obvious relationships between types that you wouldn't get just by reading the source code where the thing is defined (e.g. all implementations of a given trait are listed, which are usually scattered across the codebase).

> I don't know if rust doc suffers the same issues, but the tooling you are mentioning just seems to add an extra step (depending on how you count steps I suppose, you could perhaps say it is the same number of steps...) and provide no obvious benefit to me (and it does provide the obvious downside that it is harder to edit documentation when you are reading it in the form you are suggesting).

Why would I want to edit the documentation of an external library I'm consuming when I'm reading it? And even if I do then the effort to make a PR changing those docs pales in comparison to the effort it takes to open the original source code with the docs and edit it.

Or did you mean editing the docs for my code? In that case I can also easily do it, because docs are part of my source files and are maintained alongside the implementation. If I change the implementation I have docs right there in the same file and I can easily edit them. Having to open the header file and hunt for the declaration to edit the docs "just seems to add an extra step" and "and provide no obvious benefit to me", if I may use your words. (:

hawski · a year ago
Depending on coding style you could just do something like this:

  ^struct whatever

hawski commented on BYD's electric supercar jumps over potholes and spikes   drive.com.au/news/byd-yan... · Posted by u/geox
nirui · a year ago
> I don't even know who the CEO is

Ah, the benefit of having a Chinese CEO, they tend to want less public attention to themselves. "Man don't want to be famous, like pig don't want to grow big" as people say.

That, plus the fact BYD's founder/CEO (same guy) was not as flashy (reads "Unhinged") as Elon Musk.

FYI: https://en.wikipedia.org/wiki/Wang_Chuanfu

hawski · a year ago
When I hear Chinese CEO, I think they may be easily replaced and in the end the real CEO is Xi Jinping. I am sure it is a bit more complicated and I may have some prejudice, but how far am I? I would expect for a Chinese CEO that would behave like Elon Musk to disappear quite quickly. Am I wrong in this assessment as well?
hawski commented on Why aren't we all serverless yet?   varoa.net/2025/01/09/serv... · Posted by u/srvaroa
hawski · a year ago
Isn't a shared host with php serverless for all intents and purposes?
hawski commented on Spotify Shuts Down ‘Unwrapped’ Artist Royalty Calculator with Legal Threats   digitalmusicnews.com/2024... · Posted by u/cpach
can16358p · a year ago
I'm not a Spotify user, I'm an Apple Music user, though if there wasn't Apple Music I'd use Spotify.

The reason that I'd never use YT Music is that I never trust anything from Google: their interfaces are ugly, everything's user-unfriendly, and they have the habit of discontinuing a service at any time. Also it has the impression of not really being well-thought as a product: why name a music service after a video service? I know it's not the case but it always reminds me of those low quality music playlists where people collected low quality unofficial music videos back then in YT just for the music: simply not the right tool for the job.

hawski · a year ago
A lot of people listened to music from YouTube as their primary source besides an FM radio before Spotify was available as it is now. YouTube somewhat famously signed deals with music labels back in the day. Content ID was the controversial, but necessary compromise for the music to remain on YouTube. I am pretty sure a very significant percentage of music listeners globally listen mainly from YouTube, I did it and I also saw a lot of people doing it.

It may seem stupid or counter productive, but it is easy and good enough. YT Music is a clear upgrade for those users.

I think YT Music makes more sense than many of the Google initiatives and it will continue to make sense as long as they will have deals with music labels.

u/hawski

KarmaCake day3888October 29, 2014
About
https://github.com/hadrianw/

[ my public key: https://keybase.io/hawski; my proof: https://keybase.io/hawski/sigs/pxWh9snF2AxGy3VJXI6w6p8NmhLolz3heeUqbdLaMTg ]

View Original