|
that's insane sprintf problems are so old that even 20 year old static code analysis checkers will detect it
|
# ¿ May 2, 2022 18:45 |
|
|
# ¿ Apr 19, 2024 23:33 |
|
BlankSystemDaemon posted:
If it fulfills the requirements then ship it. Which is why security in solid concepts like type enforcement and coding standards (which is why companies like ldra will always make tons of dough) are clearly written into modern contracts because otherwise you could just ship crap that works but is vulnerable to all kinds of already-solved bugs.
|
# ¿ May 2, 2022 20:09 |
|
Sapozhnik posted:Incidentally there's a really good article I read about Mesa's NIR compiler that I read a while ago: pro click really interesting to see how differing requirements between code compilers and gpu compilers can make your own custom compiler more viable also, when the compilers and drivers are developed in such a quick cadence, it really helps to align release schedules
|
# ¿ May 5, 2022 22:26 |
|
perhaps ... all software ... is a POS
|
# ¿ May 11, 2022 10:48 |
|
The_Franz posted:one of the red hat guys did a good writeup on this So it makes sense that this mostly targets compute, rather than graphics, in order to beef up security for stuff like (what I'm guessing is) high security production AI or data processing. Also, this means that nvidia will not provide better support for older chipsets. Still, I'll take this over the alternative, which is downloading a binary driver. Unfortunately, it means that there'll probably be a lot of work needed to get the display stuff working.
|
# ¿ May 12, 2022 03:06 |
|
I guess that means I won't be switching to F36 if nvidia is still a steaming pile. Graphics issues were the only reason why I switched from fedora in the first place. maybe I'll try rocky linux on my desktop
|
# ¿ May 15, 2022 00:25 |
|
chromebooks seem pretty solid if intel just released some drat discrete graphics chipsets then honestly they could make at least a nickel or two
|
# ¿ May 15, 2022 04:19 |
|
or, y'know, nvidia could just give the nouveau team all the needed info without reverse engineering and they'd probably do it for free and even better and compatible with modern APIs. Which is probably what they're doing right now anyway
|
# ¿ May 15, 2022 04:21 |
|
Kamrat posted:China is ditching Windows in favor of Linux when it comes to government services and the like, if this is really true we could expect to see more Linux users in general in China which could have an effect on the available software for Linux and hardware compatibility which in turn could make Linux a more viable choice here in the west for people still on the fence. china is already making inroads into their own consumer hardware with riscV, which will likely lock in Linux support https://www.theregister.com/2021/12/09/china_homegrown_chips/ Russia is also making their own hardware and linux (although they are still using ARM, maybe they have a riscV group too) https://www.theregister.com/2021/08/10/baikall_iru_arm_pcs/ But riscV is also being explored in Europe as well. Not like Windows has ever had any supercomputer wins lately, but riscV precludes use of Windows more or less https://www.theregister.com/2021/09/22/first_riscv_epi_chip/
|
# ¿ May 16, 2022 02:46 |
|
I, for one, am happy that Intel is embracing riscV instead of the 2000s microsoft take (where ballmer called linux a cancer) https://riscv.org/blog/2022/02/intel-corporation-makes-deep-investment-in-risc-v-community-to-accelerate-innovation-in-open-computing/
|
# ¿ May 16, 2022 04:09 |
|
go play outside Skyler posted:is qt with C++ or whatever mess GTK is still considered the best way to make a gui application in windows? they made a good product in Office and etc but they couldn't help themselves and committed some heinous antitrust actions https://en.m.wikipedia.org/wiki/United_States_v._Microsoft_Corp. dos and windows were also decent computing game platforms but copy protection is annoying as poo poo and it was just easier to play those games that just required a CDROM in the drive anyways, we are in the linux thread so regardless of what os you use, it's nudgenudgetilt posted:electron
|
# ¿ May 16, 2022 06:35 |
|
I was real surprised at how well quake 3 did on my linux box. I had hoped that linux gaming was right around the corner but it turns out that it would take another 22 years and would involve applying a windows api translation layer
|
# ¿ May 16, 2022 06:38 |
|
nudgenudgetilt posted:loki saw some real bangers make it to linux in 99 and 00. loki really made it work well but then steam came out and took over and it was right at that cusp when distributor control finally took effect because accountants couldn't justify having developers work on a linux port (or outsource it) when that money could go to shareholders Props to id software for open sourcing the doom 3 engine, though, and to splash damage for the wolfenstein enemy territory game, and to whoever helped open source star control 2.
|
# ¿ May 16, 2022 07:10 |
|
sysv cron is fine and there's no reason to discard decades of experience and documentation for something shiny if sysv cron does the job well
|
# ¿ May 16, 2022 19:29 |
|
no one is saying that systemd timer functionality can be entirely supplanted by cron. But if one line in a crontab will do you good, then there's no need to write a unit file and timer file for systemd there's no need to replace all shell scripts with python files, when the bulk of the work is just chaining pipes and fork/exec
|
# ¿ May 16, 2022 20:00 |
|
Beeftweeter posted:there are a lot of different ways to do (almost, fork/exec being the exception) all of that with cron anyway though? I think the idea is to execute tasks relative to when the system starts up, rather than on boot itself like a virus scanner or an indexer or whatever
|
# ¿ May 16, 2022 20:02 |
|
Beeftweeter posted:while i can see that being a use case, not only can you query uptime but the system clock is most likely also utc (unless you're dual booting an old version of windows or something, i guess). so idk, maybe i'm missing something here I'm not arguing there. But as the script gets complex, the argument starts to form around using systemd timers. I'm content with leaving crontab stuff where they are now, but I'm still open to using systemd timers when it could be beneficial.
|
# ¿ May 16, 2022 20:12 |
|
probably hardware or drivers in a bad state and frankly, with graphics, it could be either
|
# ¿ May 18, 2022 13:26 |
|
also if a process triggers a kernel oops then killing it does nothing. you have to reboot the system to clear it out.
|
# ¿ May 18, 2022 22:05 |
|
there is a crontab man page, op. also, if you configure it right, cron e-mails you the standard output. So you can easily write a script that is quiet unless an error occurs. cron is like vi. not everyone likes it, but it just works and it has its fans.
|
# ¿ May 19, 2022 17:07 |
|
dunno if it's unclear but cron doesn't bother e-mailing you if there's no output this is why a lot of utilities have a quiet mode that don't write anything out unless there's a problem
|
# ¿ May 19, 2022 18:48 |
|
nudgenudgetilt posted:that is actually kinda worse? Those are all good points. There are many many ways to configure (and periodically test) an e-mail system to make sure mail gets delivered (including whitelisting hosts, whitelisting domains, forcing a username/password login over ssl to deliver mail, etc) which would take many pages and does not address the fact that some vocal users abhor e-mail. Piping logs to syslog (using logger or whatever) is undoubtedly a better way of doing it as long as your logs are also looked at. Ultimately, linux gives you a million and one ways to shoot yourself in the foot. And each solution is wrong.
|
# ¿ May 19, 2022 20:21 |
|
If people want to replace find, then they can feel free to try. I won't stop them. If init is bad enough to force systemd on us, then who's to say that find would encounter a similar fate. But you'll have to make sure its replacement is in ubuntu and redhat (and freebsd) and busybox in the default repositories (except for busybox where it's built in) or else I'm pretty sure people will just stick with find.
|
# ¿ May 21, 2022 08:32 |
|
mystes posted:If only we had some sort of system for managing changes to code so that people could edit the files locally on their own computer without the risk of accidentally screwing up the central repository rcs?
|
# ¿ May 21, 2022 19:44 |
|
# systemd-creds decrypt password.cred *******
|
# ¿ Jun 1, 2022 20:22 |
|
Selklubber posted:What's the best way to program and manage a lot of different scrips or programs running on various Linux servers? Systemd or cron jobs? Some of these are running continuously, so I don't feel cronjob is the right thing. You want configuration management like ansible. Or chef or puppet. nudgenudgetilt posted:serious response: yeah, this sounds about right
|
# ¿ Jun 6, 2022 21:48 |
|
Selklubber posted:I'm trying to learn ansible, currently using it to install stuff on servers and configure them, take backup of switch configurations and stuff like that. It works fine for the initial setup, but afterwards I feel it's easier to experiment and configure locally on the server and forget to update my playbooks afterwards. orchestration depends on context
|
# ¿ Jun 6, 2022 22:17 |
|
the file picker for gnome was written by people who only know of one workflow for every single task and this workflow requires you to give a name to all of your documents so if you hoover images from imgur or twitter and they have autogenerated filenames then you have to open another nautilus window to actually find the filename of the image you want to select
|
# ¿ Jun 17, 2022 19:21 |
|
The universe of docker, containers, and Linux is so vast that it's like learning a new language with new metaphors and ways of thinking. It can be kinda overwheming to some, and it sounds like this guy needs a month or two of training before they can even get their feet wet. Embedded Linux is many orders of magnitude more intricate than just docker programming so y'all seem like you've got your work ahead of you. Unless you expect this guy to not have to worry about drivers, systems programming, or ever having to invoke Make. The mythical man month rears its ugly head again, looks like.
|
# ¿ Jul 11, 2022 16:58 |
|
FlapYoJacks posted:We have detailed instructions and the script I gave him is a single command that starts the container and dumps you into its shell. I understand that docker is complicated, but if you don't even know the difference between systemctl enable and systemctl start, perhaps you shouldn't advertise yourself as knowledgable in Linux? fake it 'till you make it! On the job training, baby!
|
# ¿ Jul 11, 2022 17:04 |
|
FlapYoJacks posted:He's in his 50s. He could still be fresh outta school
|
# ¿ Jul 11, 2022 17:32 |
|
Progressive JPEG posted:that's why you don't work with windows shops yeah but Truga posted:they pay a shitton though
|
# ¿ Jul 11, 2022 17:33 |
|
sometimes, some people have just the right domain knowledge that they get paid the big big bucks despite only writing software for windows It's been a completely acceptable programming environment for decades. Big businesses depend on it for both clients and servers. And it's only been the past 10 years or so where even Microsoft is seeing the benefit of running more servers on Linux. There will be enough institutional friction to make sure those greybeards have work until they retire. Or they can just run wsl2 and make minimal changes to their workflow.
|
# ¿ Jul 11, 2022 17:38 |
|
Gentle Autist posted:what gets me with people like that is a seeming lack of curiosity. like the way they view their work is totally different to mine. i have some fundamental interest that makes me want to know How Computer Work. my impression of them is that they are satisfied just being fluent in their little domain, but anything more than that just doesn’t motivate them at some point when you hit middle age you stop caring about computers and feel the urge to do old people stuff like read history books, fix up old motorcycles, and actually feel the sun on your face. On the other hand, tech novices in other fields suddenly discover Linux and they have that enthusiasm in the completely opposite direction and now they've gone 4 hours playing tux racer (or uqm) before they realize they can just install Steam and now they're posting wine configs like no tomorrow.
|
# ¿ Jul 11, 2022 18:06 |
|
Silver Alicorn posted:thinking about linux hell,
|
# ¿ Jul 14, 2022 02:58 |
|
Rooney McNibnug posted:people talk a lot of poo poo about linux but i have really enjoyed using it as my primary OS on desktop for the past 5 years or so. Its come a long way, babey except, like, 25 years or so
|
# ¿ Jul 14, 2022 19:02 |
|
Gentle Autist posted:i like linux. im not gonna lie anymore hell,
|
# ¿ Jul 16, 2022 17:55 |
|
comedy option: use gentoo
|
# ¿ Jul 19, 2022 05:33 |
|
like clockwork
|
# ¿ Jul 19, 2022 20:53 |
|
|
# ¿ Apr 19, 2024 23:33 |
|
oh man the flexibility of not being tied down to a specific kernel driver binary abi is probably yet another good reason why linux is so widespread
|
# ¿ Jul 20, 2022 05:50 |