onlinepersona

joined 2 years ago
MODERATOR OF
 

The Linux foundation announced "neonophos", but Eurostack has been around for a while. Why do these two exist separately and not together?

[–] [email protected] 6 points 1 day ago

There's no need to give more money to the MAGA crowd. Plus, Proton only have opensource clients, not opensource servers.

Anti Commercial-AI license

[–] [email protected] 4 points 1 day ago* (last edited 1 day ago) (4 children)

On regular x86 laptops, this mapping is already present in the UEFI firmware, described as ACPI tables. ACPI, which stands for Advanced Configuration and Power Interface, is an open standard that some firmware implementations use to advertise the devices that are part of the system to the operating system through a key-value data structure called “ACPI tables”. At boot, when the operating system detects ACPI tables, it reads them to enumerate the hardware devices and allow the various drivers and kernel modules to interact with all compatible discovered devices.

Why doesn't Quallcomm have this? Seems like a major oversight. Kinda weird that they don't have ACPI. It's an open standard...

Anti Commercial-AI license

[–] [email protected] 1 points 1 day ago

That company really is good at marketing. And their customers will parrot their ads and marketing to you all the time. "No, they care about privacy!", "They are climate-neutral!", "They have the most secure devices on the planet!", and so on. Whatever the company says is gospel at this point.

Anti Commercial-AI license

[–] [email protected] 1 points 1 day ago

I thought this was about them starting the word to reach that target, but 50% up from 15% in a single year is impossible. Datacenters are going to throw out half of their inventory to replace it with ARM. Also, how many workloads will even run on ARM? It's doubtful Azure would be up for a major ARM purchase.

Anti Commercial-AI license

[–] [email protected] 2 points 1 day ago* (last edited 1 day ago)

The joke is that there are some people who truly believe chatgpt is a better programmer than humans. It isn't that programming.dev is chock full of beginners who seriously believe the same.

Anti Commercial-AI license

[–] [email protected] 6 points 2 days ago

Thank you! I set it to high and that solved the problem for me. This has plagued me for a long time. Finally it has been resolved 🙏

Thanks again!

Anti Commercial-AI license

 

I configured steam to open on a separate desktop using window rules, but it also grabs the attention and plasma will automatically switch to the desktop it opened to. Is there a way to stop that from happening?

Steam opens 3 windows, so switching to another desktop will be reverted 3 times.

Anti Commercial-AI license

[–] [email protected] 1 points 2 days ago

I'm hoping there will be some news about Rust! 😀 The ability to write KDE widgets and Kwin scripts in Rust would be great!

Anti Commercial-AI license

 

I've read multiple times that CUDA dominates, mostly because NVIDIA dominates. Rocm is the AMD equivalent, but OpenCL also exists. From my understanding, these are technologies used to program graphics cards - always thought that shaders were used for that.

There is a huge gap in my knowledge and understanding about this, so I'd appreciate somebody laying this out for me. I could ask an LLM and be misguided, but I'd rather not 🤣

Anti Commercial-AI license

[–] [email protected] 0 points 2 days ago* (last edited 2 days ago)
[–] [email protected] 1 points 2 days ago* (last edited 2 days ago)

I've been in the industry a while too and in multiple countries in Europe. Before COVID there were even some visits to tech conferences. Only once did I meet a trans person (or so I think, they never corrected anybody on the pronouns).

This seems to be an internet thing, or at least the loud minority thing, but maybe I'm also just a recluse 🤷

Anti Commercial-AI license

[–] [email protected] 19 points 2 days ago (2 children)

Nobody's really serious on a meme sub. Maybe check your humour meter. It must be broken.

Anti Commercial-AI license

[–] [email protected] 1 points 2 days ago

I would then encourage you to look up how those work and what proof of work actually is. Proof of work requires some work to be done by the client. If you want regular people to browse the internet normally and "do work", that means JavaScript, otherwise it requires them to install an extra binary like TOR or something, which would lock out most of real users. I imagine that's not the goal of site operators.

Anti Commercial-AI license

[–] [email protected] 3 points 3 days ago

Now suddenly privacy is important. Fuck everybody else though.

Anti Commercial-AI license

 

An analysis of an excellent report into the use of consumer messaging apps within the Australian government.

 

It's getting more and more unhinged on LinkedIn.

 

Blitz is a new independent web engine implemented in Rust. It’s flexible low-level APIs make it suitable for a wide variety of use cases web browsers, an application runtimes, ebook rendering, email rendering, rendering HTML to image, etc. And its uniquely modular architecture allows it to share much of its code with other projects which it is hoped will lead to a more sustainable development model.

This project aims to bring Blitz “up to scratch” for the use-case of being an HTML/CSS browser (JavaScript support is not in scope). Use cases that are being targeted include: browsing wikipedia, viewing news websites, and searching using a search engine. The work to be completed includes improvements to the layout engine, implementation of form controls, adding WPT testing infrastructure, and the creation of an initial browser UI.

 

It happens all the time, a maintainer quits/abandons some opensource project due to economic realities. There are comics, jokes, threads, and so on about what the realities of maintaining opensource software are and that most people are not willing to donate or contribute in any way besides opening issues.

There is a lot of resistance to stuff like the business source license, but people do have to earn a living somehow. Doing so with opensource would be amazing. In lieu of the contested licence, could a template similar to Reminna's actually work? Basically "pay to get this fixed/implemented, make a PR, or it's low priority/ 'I will get to it when I get to it'".

Relevant part of template

### Contributions

In return, or to fix this issue, I'd be willing to:

 - [ ] Fix this myself.
 - [ ] [Donate](https://remmina.org/donations/) ___ and/or have donated ___ towards fixing it.
 - [ ] Take a donation of ___ to fix it.
 - [ ] Update the [documentation](https://remmina.gitlab.io/remminadoc.gitlab.io/md__c_o_n_t_r_i_b_u_t_i_n_g.html).
 - [ ] Update the [wiki](https://gitlab.com/Remmina/Remmina/-/wikis/home).
 - [ ] Translate Remmina in my native language(s) (___) on [Hosted Weblate](https://hosted.weblate.org/projects/remmina/remmina/).

Anti Commercial-AI license

 

In terms of its usability, not its deficits.

3
submitted 3 weeks ago* (last edited 3 weeks ago) by [email protected] to c/[email protected]
 

It's been a while since picking up rust, but until now, most of what I've written has been CLI tools, proc macro libs, and async networking stuff. Web/application servers have been kept at arm's length while waiting for something to come around like Django.

For those not in the know, Django is a web framework written in Python. It's opinionated, extensive, has many features, and has stellar documentation. It's old too and had major problems taking advantage of (back them) python's new async capabilities as well as "new" technologies like WebSockets. Popular frameworks popped up in the meantime like Flask and FastAPI that do use new technologies and python language features like type hints, however nothing has really come to be quite like Django.

Django's ORM

As usual, there are camps when it comes to this, but I'm in the "keep SQL away from me" or "one language for all" camp. Django's ORM does a mighty fine job of doing so. It's possible to write a django application without ever seeing a line of SQL. It helps me immensely to just think about models, application logic, and presentation.

Django allows defining your models in python, generating and handling database migrations, making complex queries of 1-1, 1-n, m-n relations without an SQL syntax, storing objects, locking rows, optimising queries (again without knowing SQL), and much more.

Queries

My favorite, powerful query simplifications are QuerySet.select_related() and QuerySet.prefetch_related(). An example of Queryset.select_related:

This is useful for a tree of 1-n objects. An example from the documentation: a Book has an author (foreignkey) which is a Person (1-n), with a hometown (foreignkey) that is a City (1-n). An author can have written many books (n-1), a city can have many people (1-n).

Say you wanted to find 10 books from an author that lives in "Marrakesh" with the associated objects (Book, Person, City). In Django that's

# Hits the database with joins to the author and hometown tables.
books = Book.objects
  .filter(author_hometown__name="Marrakesh")
  .select_related("author__hometown")[:10]
book = book[0]
person = book.author  # Doesn't hit the database.
city = person.hometown  # Doesn't hit the database.

QuerySet.prefetch_related() does the same for m-n / many-to-many relationships and some other queries (see doc). No messing around with SQL, just python.

Migrations

The ORM also takes care of generating and managing migrations for you. To me, that's a major plus as it offloads the need for me to think about whether a specific type exists in the DB of choice. Most of the time django will handle it transparently. There are even django extensions / apps to optimise more SQL query generation like adding views, or choosing which index to use for a specific type or table, and so on.

Django's documentation

If I'm not mistaken, it follows the diátaxis method of documentation

diataxis

which fits the project very well and allows getting started with django very easily as well as finding good, low-level, in-depth information quickly. Many projects have documentation but it's everywhere and nowhere in terms of location (where to find specific things) and depth (high-level vs low-level), making it less optimal for beginners and experts alike. If you want to step up your documentation game, do give diátaxis a shot.

What prompted this

I'm currently 3 days into exploring the rust web framework ecosystem and banging my head against it. It's very commendable what people have written in their free time and shared with the world, so I will not disparage any projects here. It would just be really cool if a django-like, batteries-included project started or reached production quality sometime. The closest candidate I found is Cot.

Cot started in June 2024 and is a long way from django's level but has already grown to something quite impressive. If time allowed it and the project weren't on GitHub, and had a matrix chatroom, it would surely get contributions from me. Here's the announcement on the main dev's blog, which reflects some of my frustrations with the current web framework ecosystem in Rust.

Until Cot is ready, I'll probably be using axum for application server, diesel for the DB-glue, and possibly leptos, yew, or just plain Rinja. Unless of course somebody knows of a django-like web framework in rust that isn't on awesome-rust...

Anti Commercial-AI license

 

I've tried watching videos about it, but they are not analysing the reasons. Instead it's just whining about the symptoms and hypocrisy of rich CEOs firing employees then buying a yacht. We all know it's terrible, but my question is "why". "herp derp, capitalism" and "omg, it's the fucking CEOs" doesn't explain anything.

 

I don't have a Github account after deleting it some time after it was ought by Microsoft. Given the rise of anti-US sentiment and calls to stop using their products, more people leaving Github might be a real occurrence. How can I and others who have left, are leaving, and will leave Github, be able to contribute?

view more: next ›