Belisarius Cawl
kiwifarms.net
- Joined
- Mar 16, 2024
Pay for DataCamp for one month, save what you have learned in Jupyter Notebooks, and keep that knowledge indefinitelyIt's just a different focus as far as writing code
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Pay for DataCamp for one month, save what you have learned in Jupyter Notebooks, and keep that knowledge indefinitelyIt's just a different focus as far as writing code
17x slowdown is a small price to pay for SAFE code, chudApparently Mozilla's attempt rewrite GNU Core Utilities in Rust has hit a snag.
Ironic considering the project lead went on stage a few years ago and claimed a speedup with sort.
View attachment 7924643View attachment 7924645
I get why he is using the development branch, Ubuntu is going to replace GNU Core Utils with the Rust version.17x slowdown is a small price to pay for SAFE code, chud
Also lmao @ the issue poster for using a non LTS version
another effortless W for the GNU systemApparently Mozilla's attempt rewrite GNU Core Utilities in Rust has hit a snag.
Ironic considering the project lead went on stage a few years ago and claimed a speedup with sort.
View attachment 7924643View attachment 7924645
at this point why not write it in an actually good application language like common lisp17x slowdown is a small price to pay for SAFE code, chud
Also lmao @ the issue poster for using a non LTS version
i haven't use rust a lot myself, but i imagine having to debug anything serious in it must be a total nightmareApparently Mozilla's attempt rewrite GNU Core Utilities in Rust has hit a snag.
Ironic considering the project lead went on stage a few years ago and claimed a speedup with sort.
View attachment 7924643View attachment 7924645
i've heard horror stories of a dependency of a dependency of a dependency having nasty segfaults (ironic)i haven't use rust a lot myself, but i imagine having to debug anything serious in it must be a total nightmare
why would you use rust if you aren't gonna use the borrow checker? all the grandiose promises about memory safety go out the window if you drop the borrow checker, and that's the only reason for using rust in the first place. might as well just write C (++) at that point.if you dont like rustc you can always use grust from gcc
it doesnt have a borrow checker iirc, but it does implement the latest (at the time of gcc 15 dropping) version of rust
i mean i didnt say it was a good idea, but it still is a possibility if you wanna just fiddle with the languagewhy would you use rust if you aren't gonna use the borrow checker? all the grandiose promises about memory safety go out the window if you drop the borrow checker, and that's the only reason for using rust in the first place. might as well just write C (++) at that point.
this is actually my biggest issue with rust tbhMy issue with it is its ecosystem and the mentality of Rust Trannies. They have made the entire ecosystem full of mediocre, over-engineered packages. Each depending on dozens of other packages. Also to blame are the many novices who use Rust as their first language, because hey, it's the BEST language right? Or at least, that's what they're told.
well c is kind of slightly too small for writing complex things and c++ is a bit of an abomination from hellwhy would you use rust if you aren't gonna use the borrow checker? all the grandiose promises about memory safety go out the window if you drop the borrow checker, and that's the only reason for using rust in the first place. might as well just write C (++) at that point.
I'm going to shout out Odin again, it's what C++ should have beenwell c is kind of slightly too small for writing complex things and c++ is a bit of an abomination from hell
yeah this would be ideal tbhc with a saner function as a type syntax
this is really hard to abstract awaydifferences of character encodings between linux and windows abstracted away
fuck foreach, i hate gay nigger syntax sugar, give me a FUNCTION called foreach and not some dumb fucking syntaxmaybe foreach cuz its
clean by indian standards i guessclean
> https://www.w3.org/Style/CSS/specs.en.htmlCSS is really not that hard, you just gotta sit down and actually bother learning it for a few hours
(Solution to width dependent height)
Since height percentages are relative to the height of the parent element, we can't rely on it. We must rely on something else. Luckily padding is relative to the width - whether it's horizontal or vertical padding. In padding-xyz: 100%, 100% equals 100% of the box's width. Unfortunately, padding is just that, padding. The content-box's height is 0. No problem! Stick an absolutely positioned element, give it 100% width, 100% height and use it as your actual content box. The 100% height works because percentage heights on absolutely positioned elements are relative to the padding-box of the box their relatively positioned to.
- Alexis Wilke
You don't have to know all the intricacies of the specs to be able to use it competently. Just like you don't have to know ALL of the JS spec to be able to use the good parts.> https://www.w3.org/Style/CSS/specs.en.html
> few hours
Right...
make the text scroll work on delta/elapsed time, rather than just outputting it as fast as possible?Gentlemen of the programming thread, I have a conundrum.
In my C project, I am using the terminal / command prompt shells to render my project. The issue is, when working on it on my main rig, Windows, it's a tad slow, and the text scroll I have implemented does it job nicely. However, on Linux, Fedora specifically as I haven't tested other distros, the text scrolls at what I believe to be the screen refresh rate, making it otherwise unreadable. I was told I should consider ncurses, but I am not entirely sure how I would go about using that, as the ncurses website, this is the one I used. I'm not sure how to go about integrating it with my project in Visual Studio 2022 (I like it, leave me alone) so I can use it on windows, then go about similarly on linux... maybe it's the same solution and I'm just retarded. Many such cases. Any suggestions?
how to css: save, refresh, see that the thing looks weird, look up some shit, repeatOk, fine, I'm being overly spergy. While it certainly is gigabloated, one can ignore it.
However, the real problem is that the hundreds of properties (how many hundreds? I don't know, I don't think anyone knows how many there are today, but I digress) each have different inheritance, dependencies and most importantly: interactions.
Every time you fix something with CSS, it carries the risk of breaking two other things.
I am sincerely impressed that there are mortals that wield CSS effectively.
My simple programmer brain is not fit for that kind of strain.
you deserve everything that is happening to youAny suggestions?

gcc `pkg-config --cflags --libs ncurses` -o program program.c and ncurses will be properly included