onlinepersona

joined 1 year ago
MODERATOR OF
[–] onlinepersona 15 points 4 days ago (10 children)

Oh my... I'll eat my words about python maintainability. No unit tests, no emulation tests (with emulated services), no tests with a database, no formatter, no linter, no type hints, simple pip... The result is working, but I'm a little bit concerned about the nigh complete lack of testing and though they use an ORM (SQLAlchemy), I find the raw SQL therein (even if it's simple) concerning.

Besides that, the end result looks quite usable and it's nice to see an alternative to lemmy.

Anti Commercial-AI license

[–] onlinepersona 0 points 4 days ago* (last edited 4 days ago)

It's a disasta!

(Well, not yet, but we'll see. 400GB are a lot)

Anti Commercial-AI license

[–] onlinepersona 1 points 4 days ago (1 children)

I don't know when the last time you worked on a python project was (professionally or privately), but things have changed. If all you know if python and python projects from 10 years ago, I'd agree with you, but modern python projects can be made very maintainable. See my other comment.

As for meta programming, dude, I don't know if you're seen C++ templates...

Anti Commercial-AI license

[–] onlinepersona 1 points 4 days ago

Python has typing hints which mypy uses. It's similar to something javascripts wants to introduce call type annotations. It also has linters and formatters (ruff which does the work of multiple tools in one and is very fast). It also has unit tests built in as well as popular test libraries like pytest and nox and tox for running tests.

It is up to the maintainers to use the tools they have been given to make projects maintainable. I have worked on and seen very maintainable python projects of various sizes. While legacy code is always a bit of a nightmare (python 2 and < python 3.6), it doesn't have to be that way and getting into a python project nowadays is way easier than most other languages I've tried (maybe also because it's what I know well).

Anti Commercial-AI license

[–] onlinepersona 9 points 4 days ago* (last edited 4 days ago) (6 children)

I read the intro here, opened the page and saw "105 minutes". Uh... I think I'll wait for the conclusion of what the C++ committee does instead of reading this monster of an article (even though I do like the apprehensive tone of it).

Edit: oh wow, is this really the new boost logo? Is boost.io a joke website or something?

Anti Commercial-AI license

[–] onlinepersona 6 points 4 days ago* (last edited 4 days ago) (1 children)

Chinese? This is business. The tactic of undercutting competitors by underpaying (or not paying employees/slaves) has existed for decades if not centuries.

Anti Commercial-AI license

[–] onlinepersona -1 points 5 days ago (2 children)

Does that mean we'll start seeing desktop apps like IDEs running in Android? How are you going to develop python on android? A linux container / VM? That's going to be so wasteful. But I am curious.

It won't be good for flashing though. Probably once support ends, it'll be a slow brick upon which one can't install linux.

Anti Commercial-AI license

[–] onlinepersona 30 points 1 week ago (1 children)

Things like the EU-Linux petition and public money, public code are becoming evermore important. If you're European, sign the petition and share it. We are looking down the barrel of all US software being used to spy on us (if it isn't being done already).

Anti Commercial-AI license

[–] onlinepersona 0 points 1 week ago (1 children)

People laugh and mock China while the same is bring implemented here. But they'll tell you "I have nothing to hide". I guess they have to be personally misjudged by AI to understand the privacy is indeed important.

Sadly, these are the mistakes humans have to make to understand. Whether they can remedy it is unknown as Pandora's box might already have been opened.

Anti Commercial-AI license

[–] onlinepersona 1 points 1 week ago* (last edited 1 week ago) (3 children)

If you’re like many developers and you generally use println for debugging and rarely or never use an actual debugger, then this is wasted time.

I weep for the time lost on debugging with println. Good grief. It's like having access to a time stopping ability and going "nah, I like trying to add a marker and tracing footsteps".

Yes, for multi threaded workloads there aren't many options, but most are single threaded and eschewing a debugger is bonkers to me.

Anti Commercial-AI license

[–] onlinepersona 6 points 1 week ago* (last edited 1 week ago) (1 children)

👏👏👏

Great response. You didn't just recommend your favourite but considered the requester's input, explained why options were filtered out, and narrowed it down to an option with a great description.

I hope OP agrees, but this is what'd be considered stellar customer service if OP were a customer.

Anti Commercial-AI license

 

If they launch, the highlight of the mission will be the first spacewalk composed entirely of non-professional astronauts, who will be wearing sleek, newly developed SpaceX extravehicular activity (EVA) suits outfitted with heads-up displays, helmet cameras, and an advanced joint mobility system.

 

Linux maintainers are unwilling to get rust into the kernel, so some rust folks decided to start writing a new kernel with same ABI. This allows them to make new architectural decisions. An example being their "frame kernel" (something between a monolithic kernel and a microkernel).

If I may say, it's more legible and the tooling is way better, right off the bat.

 
 

cross-posted from: https://feddit.org/post/2228960

Archived link

Lawyers representing Elon Musk and X, previously known as Twitter, have quietly begun sending subpoenas to a host of public interest groups, Mother Jones has learned. Most of the targeted organizations have signed open letters to X’s advertisers expressing concerns about the platform’s direction under Musk’s leadership.

The groups include the Center for Countering Digital Hate, the Union of Concerned Scientists, the digital rights organization Access Now, and Fairness and Accuracy in Reporting (FAIR). The subpoenas represent a new chapter in the legal war Musk launched after advertisers fled X, and are part of a lawsuit Musk and X first filed about a year ago against Media Matters over a report it published documenting that ads appeared alongside extremist content. The subpoenas demand any correspondence the organizations have had with that progressive media watchdog group. Several targets told Mother Jones they’ve had no or limited interaction with Media Matters, and that the subpoenas feel, in the words of more than one person, like “a fishing expedition.”

 
 
 

➜ Quality over quantity

The Megathread is to subject to rigorous 👁️‍🗨️ Quality Control checks, and often updated. Visit our r/Piracy, r/Torrents communities for all the sailing discussions.

How do we contribute from the fediverse?

 
168
submitted 3 months ago* (last edited 3 months ago) by onlinepersona to c/programming
 

Andreas Kling aka @awesomekling wrote:

We've been evaluating a number of C++ successor languages for @ladybirdbrowser , and the one best suited to our needs appears to be @SwiftLang 🪶

Over the last few months, I've asked a bunch of folks to pick some little part of our project and try rewriting it in the different languages we were evaluating. The feedback was very clear: everyone preferred Swift!

Why do we like Swift?

First off, Swift has both memory & data race safety (as of v6). It's also a modern language with solid ergonomics.

Something that matters to us a lot is OO. Web specs & browser internals tend to be highly object-oriented, and life is easier when you can model specs closely in your code. Swift has first-class OO support, in many ways even nicer than C++.

The Swift team is also investing heavily in C++ interop, which means there's a real path to incremental adoption, not just gigantic rewrites.

Strong ties to Apple?

Swift has historically been strongly tied to Apple and their platforms, but in the last year, there's been a push for "swiftlang" to become more independent. (It's now in a separate GitHub org, no longer in "apple", for example).

Support for non-Apple platforms is also improving, as is the support for other, LSP-based development environments.

What happens next?

We aren't able to start using it just yet, as the current release of Swift ships with a version of Clang that's too old to grok our existing C++ codebase. But when Swift 6 comes out of beta this fall, we will begin using it!

No language is perfect, and there are a lot of things here that we don't know yet. I'm not aware of anyone doing browser engine stuff in Swift before, so we'll probably end up with feedback for the Swift team as well.

I'm super excited about this! We must steer Ladybird towards memory safety, and the first step is selecting a successor language that we can begin adopting very soon. 🤓🐞

 
 

For some fish, being born close to a new moon increases the chances they will develop as male, while female offspring are more likely when the moon is full, a new study has found.

 

So, I think the admins are doing a great job and wanted to donate, however it only seems to be possible to donate via Github (snowe's account). Saying Microsoft isn't my favorite company would be putting it lightly, so going through them to donate is... not happening.

Is there any other way to donate? I'd even do bitcoin or monero if so requested (crypto market is having meltdown right now, so it's cheaper than usual 🤑 ).

view more: ‹ prev next ›