Readit News logoReadit News
lugao commented on Code formatting comes to uv experimentally   pydevtools.com/blog/uv-fo... · Posted by u/tanelpoder
IshKebab · 3 days ago
This is obviously a great move. I don't know why so many commenters here are against making things better. "Can't you just do <this slightly worse thing> already?". Well yes. But it's slightly worse.
lugao · 2 days ago
Strong agree, they can even make the formatter configurable in pyproject if you want to use something else.
lugao commented on Claude vs. Gemini: Testing on 1M Tokens of Context   every.to/vibe-check/vibe-... · Posted by u/dshipper
irthomasthomas · 12 days ago
So sonnet-4 is faster than gemini-2.5-flash at long context. That is surprising. Especially since Gemini runs on those fast TPUS.
lugao · 12 days ago
Anthropic also uses TPUs for inference.
lugao commented on Self-hosting your own media considered harmful according to YouTube   jeffgeerling.com/blog/202... · Posted by u/DavideNL
curiousgeorgio · 3 months ago
> The video doesn't promote or highlight any tools used to circumvent copyright, get around paid subscriptions, or reproduce any content illegally

Here's my theory: they aren't concerned with the movies and TV shows shown in the video (which are presumably obtained legally as Jeff mentioned), but rather the brief use of what looks like [plugin.video.youtube] (https://github.com/anxdpanic/plugin.video.youtube) at about 12:10 in the video.

The plugin is an alternate frontend to YouTube, and as such, allows bypassing ads. He never mentions the plugin explicitly in the video, but I'm pretty sure that's what it is; he mentions YouTube and is clearly watching one of his own YT videos in Kodi. Just today, I noticed YouTube getting more aggressive in its anti-ad-blocking measures. They got really strict a year or two ago, backed off a bit, and seem to have ramped up again. My guess is that someone in management needs to show better numbers and is looking for ways to punish anyone even hinting at accessing YouTube without the obligatory dose of advertising.

lugao · 3 months ago
That seems exactly why it happened.

Why should a platform allow sharing ways of violating its terms of service? Sure, any tech savvy person will be able to figure it out, but business are businesses.

Should supermarkets allow you to ressel coupons in their premises for a profit? Because he's 1. monetizing the video, 2. being sponsored by a third party in the video and 3. showing ways of circumventing the platform TOS.

He could remove that frame where he shows the yt plugin, but he's using this to farm engagement.

lugao commented on Quarkdown: A modern Markdown-based typesetting system   github.com/iamgio/quarkdo... · Posted by u/asicsp
skwee357 · 3 months ago
The syntax feels complicated. Maybe I just don't have enough patience for learning a typesetting syntax (I never worked with Latex before).

On top of that, there is no easy way to create a template. For example, I want an invoice template which I can reuse with different data. Theoretically, I can create a typ file for the template, and define the invoice as a function which I then call from a string with, say, json data. It seems great as web service, but not as a library I can use from, say, Rust.

And the type system is a bit confusing. I can define basic types like numbers or string, but when it comes to structs, they don't seem to have support for that.

I find it easier to create a handlebars template, and feed the HTML to headless chrome printing service, which will output a PDF for me. It's not scalable for high volume, but good enough for my needs (takes about 2-3 seconds to generate PDF).

lugao · 3 months ago
> On top of that, there is no easy way to create a template

Templates are just functions [0].

I think much of the frustration comes from typesetting being a harder problem than it seems at first. In general a typesetting system tries to abstract away how layout is recomputed depending on content.

Supporting contextual content -- cases where the content depend on other content, e.g. numbered lists, numbered figures, references, etc -- involves iterative rendering. This is evidentidly a complexity sinkhole and having a turing complete script language will bite you back when dealing with it. I recommend reding their documentation about it [1] where they explain how they propose solving this problem.

[0]: https://typst.app/docs/tutorial/making-a-template/

[1]: https://typst.app/docs/reference/context/#compiler-iteration...

lugao commented on Overengineered Anchor Links   thirty-five.com/overengin... · Posted by u/matser
matser · 5 months ago
It's something new IMO but we are definitely working on improving UX still. Fixing the overscroll issue as we speak. I'm assuming you're using mobile, would you prefer it of the 'tiles' all started in an open state?

It is not an experiment in how bad front end design can be pushed to be... Although that would be a fun blog post

lugao · 5 months ago
I am not on mobile. It all boils down to the way decade old convetions/expectations are broken.

The things that look like buttons (and are spans in the html code, not even anchors!) trigger non-local transitions (the left panel thing) when hovered... and they close the opened panel when clicked, so if I move my mouse to click on it the end result is a panel that flashes.

I need to keep ignoring the usual button affordance of being clicked and force myself to think they are tiggered on hover.

If this isn't bad UX I don't kown what it is.

Dead Comment

Dead Comment

lugao commented on Resigning as Asahi Linux project lead   marcan.st/2025/02/resigni... · Posted by u/Shank
-__---____-ZXyw · 6 months ago
One aspect of all of this which I haven't seen directly addressed[0] is the question of what might be going on with Torvalds and the Rust Foundation from a longer term, dare I say "political" standpoint. Torvalds seems to usually position himself as a kind of anti-political, code-is-code type, but then, perhaps there's more to him and to this story?

There's an awful lot of money and power associated with operating systems and programming languages (obviously), and the resulting "realpolitik" of situations like these seem to get swallowed up in these discussions.

It makes sense for technical people to think that the technical debate is what essentially matters, but it usually never actually is.

I've found the way Linux has approached Rust in the last couple of years to be a tad confusing. Always cutting a hard line, suddenly Torvalds' opinion is quite wishy washy. Oh, we'll try it, who knows, what's the worst that can happen, type thing? What induced this change, one wonders.

[0] Well-written blog posts on the subject are very welcome, please share if you know one!

lugao · 6 months ago
I can't agree more. Linus position here is not dissimilar to CEOs and alike. He's trying to deal with R4L using his (allegedly) 100% technical and 0% political perspective but in this case it simply doesn't work. R4L is a political challange that require political discussions; who decides? what's the bar? who maintains what? etc

By not answering this questions and saying he doesn't want to have anything to do with the arguments, Linus simply decided that he doesn't want to solve the problem that only him can solve. The result is clear: R4L will fail if Linus decides that any maintainer can stop the "cancer" to spread and block Rust changes.

R4L implies that Rust will be present in the kernel and will need to be maintained. If Linus is ok with maintainers that have a deep/fundamental problem maintaining/coordinating the maintenance of Rust code, R4L will never happen.

lugao commented on Airflow – Stream media files directly from macOS to AirPlay devices   airflow.app/... · Posted by u/tiagod
lugao · 7 months ago
Really solid program. I bought a license years ago because it is the only software that correctly remuxes media for direct play in Chromecast, including surround sound and HDR.

I wish Jellyfin could catch-up with the compatibility level AirFlow has to offer.

u/lugao

KarmaCake day13September 23, 2021View Original