areyouevenreal

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

That's already being attempted in the form of Redox OS. Though I don't think it's 100% POSIX compliant. Linux has so much inertia though, and Linus seems all for including Rust in Linux.

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

Tannins can be good for you, but not the alcohol. You could get similar benefits drinking alcohol free wine or even just really tannin rich grape juice. Even a cup of tea has good tannins though.

[–] [email protected] 2 points 1 day ago (2 children)

The rust guys would have gained a lot more traction by just asking the C guys to keep a bunch of comments up to date detailing the semantics and error checking procedures, and promising to edit their rust API if the C code changes, but I suspect they didn't ask for that because they know that no guarantees come from a comment and they want to be sure that the rust code works across all the possible scenarios and in rust culture, that is always documented in the type system where it can be enforced.

I could be being daft but I thought this is more or less what the Rust guys were asking for. Tell us the current symantics of the system, and if it changes in future let us know what the new semantics are and we will fix the Rust code accordingly.

I do understand what you mean though about enforcing restrictions on what the C guys can do without breaking the Rust code. I think you run into situations wherever two languages meet. The way most projects handle this is the upstream releases a new version, or a release candidate of a new version with their breaking changes documented and then downstream updates their stuff accordingly when they get time. Obviously this is one project, but I imagine it's possible for the C guys to update stuff in a pull request and then drop an email in LKML to the Rust guys so they know stuff needs fixing. None of this seems that hard to me.

Ultimately though everything here is Linus decision. Either your in or your out. If Linus says yes to Rust doing whatever then that's what's going to happen. Likewise if he says no, then it's not going to happen that way. Until he weighs in no one can really say how this will end.

Personally though I disagree with the C guys. Safety features are important and should be used where it is practical to do so. Until now C has had the justification that it's still the fastest language and by a significant margin. Now a somewhat safe language like Rust exists with the same speed and capabilities I don't think we can afford to continue ignoring safety for the sake of a few bruised egos. If this was a proper industry like aviation safety would always come first, and if that means adopting new technologies and forcing people to adapt. I can understand if C devs have a hard time adapting, I don't expect it to happen overnight. The expectation though should be they should learn some Rust eventually, even if it's just enough to know the type signatures and what not that they might break with their changes to C code. Kernel devs are supposed to be some of the smartest computer people out there. If they can't learn even that small amount of another language then should they really still be kernel developers?

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

This is false. Anyone who has used these tools for long enough can tell you this is false.

LLMs have been used to write computer code, craft malware, and even semi-independently hack systems with the support of other pieces of software. They can even grade student's work and give feedback, but it's unclear how accurate this will be. As someone who actually researches the use of both LLMs and other forms of AI you are severely underestimating their current capabilities, never mind what they can do in the future.

I also don't know where you came to the conclusion that hardware performance is always an issue, given that LLM model size varies immensely as does the performance requirements. There are LLMs that can run and run well on an average laptop or even smartphone. It honestly makes me think you have never heard of LLaMa models inc. TinyLLaMa or similar projects.

Future LLMs will still only have this capability, but since their models will have been trained on LLM generated garbage their results will quickly diverge from anything even remotely intelligible.

You can filter data you get from the internet to websites archived before LLMs were even invented as a concept. This is trivial to do for some data sets as well. Some data sets used for this training have already been created without LLM output (think about how the first LLM was trained).

Sources:

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

LLMs have legitimate uses today even if they are currently somewhat limited. In the future they will have more legitimate and illegitimate uses. The capabilities of current LLMs are often oversold though, which leads to a lot of this resentment.

Edit: also LLMs very much are AI (specifically ANI) and ML. It's literally a form of deep learning. It's not AGI, but nobody with half a brain ever claimed it was.

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

The problem is that some people like me won't get that reference and instead think AIs are universally bad. A lot of people already think this way, and it's hard to know who believes what.

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

They aren't asking C devs to write Rust code, which is what the guy being a heckler was claiming. Why don't they want to right Rust? For exactly the reasons you describe. The thing is though that's not currently being asked of them, all they actually want is the documentation to create that code themselves.

You really don't have to explain any of the culture clash to me lol. I've written both C/C++ and Rust. My C and C++ coding skills are demonstrably better (or at least used to be, it's been a while) than my Rust skills. Why? Because of how complex those guardrails are. The difference is I have the self awareness to know that my lack of Rust skills doesn't mean that the language is bad, or that C is a safe language to use. Rust tutorials could be improved. Perhaps an easier to use language like Zig might be more useful for some people. I feel like it's a good compromise between safety and ease of use. Rust though is still incredibly progressive for the industry, and will improve systems security, maintainability and reliability going forward if only people would stop getting in the way.

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

AI at this stage is just a tool. This might change one day, but today is not that day. Blame the user, not the tool.

AI and ML was being used to assist in scientific research long before ChatGPT or StableDiffusion hit the mainstream news cycle. AIs can be used to predict all sorts of outcomes, including ones relevant to climate, weather, even medical treatment. The University I work for even have a funded PhD program looking at using AI algorithms to detect cancer better, I found out because one of my friends is applying for it.

The research I am doing with AI is not quite as important as that, but it could shape the future of both cyber security and education, as I am looking at using for teaching cyber security students about ethical hacking and security. Do people also use LLMs to hack businesses or government organisations and cause mayhem? Quite probably, and they definitely will in the future. That doesn't mean that the tool itself is bad, just that some people will inevitably abuse it.

Not all of this stuff is run by private businesses either. A lot of work is done by open source devs working on improving publicly available AI and ML models in their spare time. Likewise some of this stuff is publicly funded through universities like mine. There are people way better than me out there using AIs for all sorts of good things including stopping hackers, curing patients, teaching the next generation, or monitoring climate change. Some of them have been doing it for years.

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

Netflix is using FreeBSD for servers. You can't blame everything they do wrong as being a problem with the new hires. They are using an OS older than Linux that changes more slowly than Linux, simply because it performs the best for their specific application. Rate of change isn't the issue here.

In fact that's 90% of what this comment is. Blaming new people and new techniques for problems when you aren't a part of that organisation and don't actually know what's happening.

Working with computers is not the same as working with construction equipment. Some degree of fluid intelligence is needed in this field, no matter how experienced you might be, just like how a surgeon needs steady hands. The people you call greybeards aren't nearly as old as your father is. We are talking about people who are in their 50s and 40s. They don't have that level of cognitive decline yet. Likewise some things like ext4 aren't likely going to be ported to Rust now or even ever. They can keep maintaining them as they are now for the foreseeable future. Plus I don't want people to have to keep working into their 70s and 80s. At some point it becomes elder abuse. Let people retire man.

C has existed for a long time now. We've been trying to replace it for ages, for most of it's lifespan even. C++ actually was one of the new options at one point. I get it seemed immovable only a decade ago, and I think that has lulled people into a false sense of security. In truth it was inevitable it would have to be replaced one day. It's already well outlived the life expectancy of a programming language. Just think about Ruby: created long after C yet has already become mostly irrelevant. You talk about the maximum rate of tool change, but C is one of the oldest tools we have, keeping it around would be almost 0 rate of tool change over decades. If you can't see that C is very slowly dying then you haven't seen the writing on the wall for the past several years. It's on you at that point.

We should look back with pride at everything that has been accomplished with C, and just how long it's been relevant. We can do this while still acknowledging it needs to be phased out gradually.

No one is asking for change that rapid either. Linux started adopting Rust four years ago now. It's probably still going to have C code inside it for at least a decade from now. This isn't some quick change, it's a gradual process. People have plenty of time to adapt, and those who are too old to do so will be around retirement agent if not already dead by the time C is fully phased out.

We of course play plenty of video games together to keep him sharp. We also eat mushrooms, paper when necessary, and he works out a lot. We do all we can, believe me.

Honestly you take more care of yourself and your father than I do. I am only in my 20s and suck at video games. If I took mushies or LSD I would probably lose my mind, assuming it's all still there in the first place. I suspect there is a good reason why people like me only have a life expectancy of 58 or so.

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

C has been around for a very long time. I don't think wanting to replace a 1970s language, that was old when current gray beards were young is a bad thing. People have had more than enough time, and still have a good decade or two to make their careers writing and maintaining C code. Sometimes things have to change, old people be damned. It's diatribes like this that remind me the human race advances one body at a time as those holding us back die out.

Edit: also we aren't talking about people in their 70s and 80s here. Most of these "greybeards" are in their 40s and 50s at most. Linux itself is from the 1990s and is therefore more modern than C.

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

At this point you might as well complain about the mods and admins on Lemmy as tons of them are out of wack. I have had comments removed for stating facts that every should know just because it doesn't agree with the lemmy hivemind. For example say anything positive about AI or how it was used before the likes of ChatGPT came around.

 

I am looking for a YouTube alternative client, where I can ideally import my subscriptions, and possible even like or comment on a Linux computer. Does such a thing exist?

 

First off I am in England in the UK, so that's the medical system I would probably be using.

I've had significant issues with executive function throughout my life, but especially in the last two years of my integrated masters degree. This includes organization, as well as staying focused. I've had issues with losing things, multitasking, procrastinating, racing thoughts, and other issues in the other areas of life as well. I am thinking of going back to do a PhD or starting my first full time job, and am worried that I will really struggle this time.

I got a diagnosis of Asperger's before you could officially have a dual diagnosis under the DSM. So even though some of initial paperwork said I had significant evidence of ADHD, I couldn't actually be diagnosed with both so I guess Asperger's took precedence. This all happened when I was like 4 or 5 years old.

I am thinking medications or maybe therapy might be helpful, but I don't know if I need the second diagnosis to get those. From what I understand the NHS (UK public health system) has long wait times, and going private might be expensive. Additionally going to a psychologist, and talking about stuff with my family seems scary.

Additionally I have issues with sleeping and waking that probably won't help get all of this organized, and I probably need to get this addressed too. I understand that both ASD and ADHD can cause sleep issues, so maybe getting treatment for those would help.

Sorry for the long post. I hope this is also the right community for this as I wasn't sure where to post this.

Edit: I also have hyperfixation/hyperfocus/special interests out the waazoo, but I didn't know if this was relevant as that's also a part of having autism.

 

I have a calibre server setup on my home server and was wondering how to sync it to the version on my desktop so I can upload books to an ereader using USB.

 

Trying to figure out how to setup an aria2 server. It seems to rely on XDG dirs which isn't normally setup on LXC containers. I don't want to setup a whole GUI VM just for one application.

19
submitted 6 months ago* (last edited 6 months ago) by [email protected] to c/[email protected]
 

I have been having issues using real debrid. One of the big issues is downloads getting stuck continuously retrying. I think this is because I am using 5G internet that has issues with latency and occasional packet loss. Similarly I get buffering issues when using Stremio.

Another problem I am having is with the permission set by the real debrid client if I use the docker version. It doesn't allow for changing the UID and GID the real debrid process uses. This causes problems for the other services, though I can work around this using a manual installation in an LXC container.

Does anyone with more experience know how to fix this?

Edit: I can't edit the title to fix the spelling. You will just have to deal.

Edit2: Fixed the permission issues. Also managed to work out that the problem isn't 5G. The download client is just bad. Apparently you can use external downloaders, but this requires deploying services like aria2c, which it turns out is actually quite hard.

 

I am a bit lost as to how you use authentik to do single sign on.

I can connect things that have external access quite easily using the reverse proxy provider that's built into authentik. I am struggling with how I would connect things that are on a docker network and can't be accessed directly. Normally with nginx proxy manager I would put it on the same network, but I don't think this is correct for authentik. Am I supposed to create a docker outpost?

Other people are using authentik + nginx proxy manager and I am a bit lost why they are doing that.

 

I am currently living with my parents and we have just started an Internet contract with a 5G wireless company.

The issue is the MFND settings are behind a password and likely not allowed access by the ISP. Even if they weren't doing port forwarding on 5G likely isn't possible because of CGNAT. I think I can use cloudflare tunnels or tailscale to get around this, and not many things need to be directly accessible from the Internet.

The more annoying thing is that setting DHCP reservations likely isn't possible without getting access to the settings. It's going to make setting up static IPs difficult too.

Before anyone asks fixed line Internet almost certainly isn't practical in this area. Getting our own modem while possible is more expensive and potentially difficult, and would mean cancelling the contract.

Is there a reasonable way to work around these issues?

Any help or advice would be appreciated.

 

Hello based people of lemmy,

I have recently started trying out BSDs as an alternative to Linux and found out that Spotify isn't supported. Before you say try it in a browser this doesn't work as spotify has DRM that doesn't work on BSD OSes.

Now is there a way to stream music similar to Spotify? I know there is a downloader program available.

Furthermore do you know what self-hosted options are available? I already have a basic *arr stack and am always up for convoluted server and Linux hijinks.

 

I am having issues with Jellyfin not finding ffmpeg on FreeBSD. Is there any solution to this?

 

I have been struggling to stabilise things in my last few brewing attempts. I had been using a combination stabiliser (sorbate and sulfite) from the department store Boyes. It doesn't seem to work.

I know have sorbate powder and I already had campden tablets. I am wondering how you dose them correctly. From what I understand it's dependant on the ABV and the pH. Is there an easy way to calculate this? I take it there is no easy and cheap way to do a free SO2 test.

I am begging to think buying a sous vide and doing pasteurization is easier and more reliable at this point.

 

Chinese ROMs come without support for many languages. Even when using English there are still things which are in Chinese.

The people selling the devices on AliExpress are selling then with a "global rom". The issue here is that the rom doesn't exist officially. So no updates are available and you don't know what's actually inside it.

xiaomi.eu provide a modified version of the Chinese rom with language support and some other things. The issue is they charge for this through patreon for any mediatek devices. You have to keep paying if you want security updates. This is immoral and probably illegal as they don't own MIUI or Android and copyleft is designed to prevent this kind of thing.

To add insult to injury they started offering some mediatek roms for free. When people stopped paying the patreon they removed them from the download sites.

Shame on them and shame on the AliExpress sellers. If anyone knows a good course on building android roms and reverse engineering them let me know. Maybe I can fix this situation.

1
submitted 10 months ago* (last edited 10 months ago) by [email protected] to c/[email protected]
 

Was running out of Kveik yeast (my last brewing yeast), and too impatient to wait for more to arrive so decided to co-pitch the one gram I had left with some sourdough starter.

What does anybody think will happen?

The starter has worked well at fermenting strawberry wine in the past, but it was looking a lot less healthy this time.

Honestly this was an impulse decision to do this but I will be interested to see what happens. Maybe it will sour? That would be exciting.

view more: next ›