=== ANCHOR POEM ===
══════════════════════════════════════════════─────────────────────────────────────
Branches cause cache misses which are slow when done on repeat.
Better to structure your code to avoid them, if possible, for example by using
an array of function pointers instead of switch statements.
unrelated, but once the data is cached from memory, operations like bit
shifting and arithmetic are essentially free. The slowest part of the process
is moving data from RAM to cache so that the CPU can use it.
That being said, CPUs and compilers are VERY good at optimizing that type of
thing these days.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═══════════════════════════════════════────────────────────────────────────┘
=== SIMILARITY RANKED ===
--- #1 fediverse/3792 ---
══════════════════════════════════════════════════════════─────────────────────────
If you have a thousand options in your case / switch statement, you should
probably refactor.
consider putting function pointers (to the things you would have switched to)
in an array and instead of checking "if this enum, then this, if that enum,
then that" etc send an index into the function pointer array. That way there's
no branching at all.
The best way to generate performant code is to reduce or eliminate branches.
If you're working on a video game or networked program, this can be incredibly
important.
The second best way is probably reducing cache misses and increasing
parallelism, but those are different problems.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═══════════════════════════════════════════════════────────────────────────┘
--- #2 fediverse/879 ---
═══════════════════════════════════════════════────────────────────────────────────
@user-501
also it's only undefined behavior because the order of the bits aren't
defined, so if you do bitfield "pointer arithmetic" then you're screwed if you
try and be portable with it. However if you're just using bitfields as
compressed data storage then you can safely access integer.a integer.b
integer.c etc safely and easily. The compiler doesn't care what order they're
in if you don't write logic that requires them to be in a certain order
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧════════════════════════════════════════───────────────────────────────────┘
--- #3 fediverse/1034 ---
════════════════════════════════════════════════───────────────────────────────────
@user-192
be careful, recursion can cause stack overflows.
better to run function pointers from a loop. That way you can operate as long
as necessary. Just make sure you don't get in an infinite loop...
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═════════════════════════════════════════──────────────────────────────────┘
--- #4 fediverse/633 ---
══════════════════════════════════════════════─────────────────────────────────────
@user-192
the neat thing about BASH is that it's the glue that holds all your other code
together. Write libraries in C and call them with BASH - accomplish broader
tasks that are easier to co-create. That's why I like it - it's not the most
important, but it's quite beneficial I think _^
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═══════════════════════════════════════────────────────────────────────────┘
--- #5 fediverse/4847 ---
═════════════════════════════════════════════════════════════════──────────────────
every program should write it's RAM gamestate to disk before shutting down or
closing the program and then resume from the same spot, change my mind
(every is a strong word)
(when you re-initialize you can clean the state of leaks)
there shouldn't be leaks in the first place. if you have any leaks at all,
then you need more padding.
(... you mean boilerplate? error correction?)
... yeah that's what I meant.
(but why save the state at all?)
because then it can learn!
(... you could just write the relevant data to a config file.)
true
================= stack overflow ===============
the cool thing about being queer is you can be whatever you want and
everyone'll be cool with it
if you kinda suck then you'll figure that out when everyone cool leaves.
then the kind stay with the people who suck and then it's not cool anymore
>.>
gah this sucks. party dynamics are hard. especially when the parties are teams
of 20!!
goarsh that's quite a few
================= stack overflow ===============
wait n
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧══════════════════════════════════════════════════════════─────────────────┘
--- #6 fediverse/653 ---
══════════════════════════════════════════════─────────────────────────────────────
there's a difference between designing software and using software. Some
things can be made, and then saved for another day when their implementations
may be accomplished more ethically. It's okay to say "let's leave this as
'okay' and work on the next thing we've chosen."
Check out this piece of C code I wrote last night:
it doesn't compile, it's not finished, but I wrote it as-is
[pretend like it was called "main.c" instead of "main.txt" - had to change it
because mastodon thinks it's an invalid file]
[actually .txt didn't work, try .png]
[hmmm it realized it wasn't a valid png file, okay try screenshotting the
code, there's only 300 lines]
[sure glad there's only 300 lines]
[too bad it won't let you send .zip]
[won't let me name it main.png, presumably because they already have a
failed-verified version on their machine. will rename to main-src.png instead]
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═══════════════════════════════════════────────────────────────────────────┘
--- #7 fediverse/4125 ---
════════════════════════════════════════════════════════════───────────────────────
@user-883
yeah that's probably better too since it'll be easier so there'll be fewer
bugs, especially since processing audio isn't usually performance critical ^_^
TBH I just want people to make more threading primitives like locks,
semaphores, and iterators. Like... thread pools, or hashmaps that run a
function on each record stored within every time each of the threads passes a
checkpoint, or paginated arrays of data that run a function on themselves and
the records near them (with slightly different input values, of course) idk
what those are called but I can't resist putting them in everything
Anyway I do think multithreading programs that don't need it will teach you to
be a better programmer, so... depends on what you're working on I guess. Are
you preparing to be ready and working, or are you ready and working?
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═════════════════════════════════════════════════════──────────────────────┘
--- #8 fediverse/5689 ---
════════════════════════════════════════════════════════════════════════───────────
why don't we make large arrays of vram that are slightly slower because
they're farther on the circuit-board from their host and their reception at
the processing section has to be gated such that they all enter to be
processed at once.
like that one infinite scrolling XKCD cartoon where the things move from one
screen to the other simultaneously assembly line style.
[fail safes. https://xkcd.com/2916/#xt=7&yt=35 ]
if we all feel like we're doing nothing, we'll all grow tired of it and decide
to do some prevailing. gosh I wish I wasn't so useless is code for
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═════════════════════════════════════════════════════════════════──────────┘
--- #9 fediverse/282 ---
════════════════════════════════════════════───────────────────────────────────────
@user-209
I think you're right. Every letter in the variable name is another byte the OS
has to keep track of, which was a bigger problem in the past than it is today
(when it's been made irrelevant)
it's interesting how habits persist though the conditions that caused them
have faded. like a personal reflection of the environment you learned in.
"A a = new a();" is much more concise and (crucially) you can fit more words
to the right.
"a + b = c; c -= 2; f_z.write(c); f_z.close();" could conceivably be written
on a single line if you have short variable names. and when you only have so
many lines...
glad we're not constrained by those things anymore. the skeletal code that we
look at daily is much clearer - scope is more important, and so it makes sense
to encourage a coding style that illustrates it. however I can't help but
think block formatting like this could be useful in some situations, such as
when you'd normally be compelled to write a function for an operation that
runs once or more.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═════════════════════════════════════──────────────────────────────────────┘
--- #10 fediverse/876 ---
═══════════════════════════════════════════════────────────────────────────────────
@user-246
there is a reason to be annoyed, and that reason is that storing numbers as
"dynamically typed" string values is both inefficient and frustrating due to
the bugs it provokes.
Not sure how common those bugs are in HTML, but dynamically typed languages
like Python and Javascript have a whole class of potential errors that are
significantly more difficult to debug than on C or Rust where the variables
are statically typed
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧════════════════════════════════════════───────────────────────────────────┘
--- #11 fediverse/247 ---
════════════════════════════════════════════───────────────────────────────────────
@user-195 parallel is when two programs run simultaneously, like two parallel
lines (threads) that never touch.
concurrent is when the two lines are split up into chunks and the program
switches between them - like this: -----_----
enter alternate universe
parallel is when two programs operate on the same axis - usually time - and
never interfere with each other. the OS will switch between them as
appropriate to make sure they never intersect. Sorta like this: -----_----
concurrent is when two programs are executed simultaneously, primarily
constituting computation correlated with collective contents of coordinated
collaboration between contextually related coroutines.
It's simple, even a beginner could figure it out.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═════════════════════════════════════──────────────────────────────────────┘
--- #12 fediverse/3680 ---
═════════════════════════════════════════════════════════──────────────────────────
it's probably a good idea to write pseudocode, then real code, instead of
starting with real code, and bugfixing something incomplete and more difficult
to reason with.
unless you write real code easier than pseudocode. idk do what works for you.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧══════════════════════════════════════════════════─────────────────────────┘
--- #13 messages/129 ---
══════════════════════════════════════════════─────────────────────────────────────
So you're telling me the speed difference between Python and C is due not to
the logic that the programmer uses, but rather the optimization capabilities
of the compiler?
(An interpreter includes a compiler, it just runs it in a loop rather than a
single pass)
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═══════════════════════════════════════────────────────────────────────────┘
--- #14 fediverse/1810 ---
══════════════════════════════════════════════════════─────────────────────────────
some people hear words like "datastructures" and "object-oriented programming"
and think they're made up terms that don't mean anything important.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═══════════════════════════════════════════════────────────────────────────┘
--- #15 messages/455 ---
══════════════════════════════════════════════════════─────────────────────────────
I don't understand why modern software isn't error correcting. We shouldn't
have any bugs in this day and age.
For example, if you're missing a dependency then why doesn't your program try
to, I dunno, download that dependency to the program's installation directory
and use it there? Seriously there are very few problems that are unsolvable!
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═══════════════════════════════════════════════────────────────────────────┘
--- #16 fediverse/3800 ---
══════════════════════════════════════════════════════════─────────────────────────
@user-1352
You're absolutely right, the compiler knows better than me! Certainly the
compiler doesn't know best, but certainly the compiler knows better than me.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═══════════════════════════════════════════════════────────────────────────┘
--- #17 fediverse/5949 ---
════════════════════════════════════════════════════════════════════════════───────
@user-138
I don't know what it does yet T.T
it's Lua, not C
what's the message? maybe I can help, I'm much better at bash than... actually
I'm not very good at bash, but only the cool kids are.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═════════════════════════════════════════════════════════════════════──────┘
--- #18 messages/412 ---
═════════════════════════════════════════════════════──────────────────────────────
Coding superpower:
Start thread
While(true):
Run();
Then, whenever you want it to run something else, change the function pointer
that run() uses to call a function
At the end of the run() function, set the function pointer in the while loop
to the next one. That way you don't stack overflow from the recursion.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧══════════════════════════════════════════════─────────────────────────────┘
--- #19 fediverse/849 ---
╔═══════════════════════════════════════════════───────────────────────────────────┐
║ wish there were ascii characters that took up more than one line of code │
║ vertically. │
║ │
║ wonder if we could use a sorting algorithm, or markup language, or something │
║ like that to organize less structured data along user-customizable rules. │
║ Like, a code editor that worked with your ideas, rather than the strict │
║ expression of your text. You could pretty much write in any language, even │
║ pseudocode, and the LLM behind the scenes would translate whatever you wrote │
║ into whatever result you needed. Writing Rust, but need to fit in with C code? │
║ No worries it'll translate for you. As long as the end result is functionally │
║ the same, which could be verified by running two separate VMs that ran │
║ interpreters every time you saved. And as long as their translation layers │
║ matched completely, then odds are they're the same. And if not, well, the │
║ programmer can always debug it. It's not like this would be running on │
║ something that needed to perform in the moment? Like, improv instead of │
║ tragedies, or battles instead of strategies │
╟─────────┐ ┌───────────┤
║ similar │ chronological │ different │
╚═════════╧════════════════════════════════════────────────────────────┴──────────┘
--- #20 fediverse/3154 ---
════════════════════════════════════════════════════════───────────────────────────
┌───────────────────────────┐
│ CW: re: cursing-mentioned │
└───────────────────────────┘
@user-1461
yes... I like tree shapes, you have to address them differently. Lots of
pointers, in my experience, which can be kinda fun.
I also like large heaps / soups of data that points to one-another. Structs
thrown in a pile with pointers to each other. It's great! So long as those
pointers can also point back, and you can properly trace how data flows
through the system... That's the hard part, I think.
trees though... You can start by just saving a "next / previous" with one or
both being arrays of pointers to the next or previous entries. Note: plural,
entries. That's the fun part - non-linear trees teehee
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═════════════════════════════════════════════════──────────────────────────┘
--- #21 fediverse/1614 ---
═════════════════════════════════════════════════════──────────────────────────────
wondering if anyone's ever made a computer that could only run programs
written in interpreted languages. Like, no binaries allowed. Would probably be
slower, but if my iphone is good enough for NASA to get to the moon then odds
are it's good enough for me.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧══════════════════════════════════════════════─────────────────────────────┘
--- #22 fediverse/2459 ---
═══════════════════════════════════════════════════════────────────────────────────
this is the simplest implementation of scalable anarchism I could think of.
tell me how it's flawed so I can improve it before I need it.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧════════════════════════════════════════════════───────────────────────────┘
--- #23 messages/753 ---
══════════════════════════════════════════════════════════════════─────────────────
trusting the "open source community" to properly vett software is absurd
because 90% of them just... install whatever and throw libraries and
frameworks at problems until they can script their way out of whatever problem
they face.
the other 10% are focused on very specific tools that are so niche that other
people can't even understand when to *use* them much less how they work.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═══════════════════════════════════════════════════════════────────────────┘
--- #24 messages/1170 ---
══════════════════════════════════════════════════════════════════════════════════─
look, it's easy enough to solve bitrot. Just store three copies of the file
and synchronize them everytime you open them. Like, an in-software raid array,
except with less expense because a .png is what, 2mb? great, now they're 6mb.
Nobody will notice except people who really should be buying more hard drives.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═══════════════════════════════════════════════════════════════════════════┘
--- #25 fediverse/1229 ---
════════════════════════════════════════════════───────────────────────────────────
@user-883
graphics isn't too bad in C if you use Raylib. Here's my template project:
If you ever want to do something with a GUI or a game or something then I
definitely recommend that library. It's soooooo nice as a C programmer
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═════════════════════════════════════════──────────────────────────────────┘
--- #26 fediverse/3272 ---
════════════════════════════════════════════════════════───────────────────────────
Dear Windows: making your software difficult to interface with (like, putting
spaces in filenames) is rude. It harms our connected productivity. It's
selfish, and it's petulant. We need to agree on common standards if we want
any type of cooperatibility between our two approaches.
... oh and there's mac too, but they get it, they can run Bash,
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═════════════════════════════════════════════════──────────────────────────┘
--- #27 fediverse/1681 ---
═════════════════════════════════════════════════════──────────────────────────────
@user-1061
Oh, it just refreshes the page. At least, that's what it's supposed to do.
Here's the code:Refresh Page (click me every time you visit)
Honestly I'm only 90% sure it actually works. I mostly put it there for people
on mobile sites who wanted to be absolutely sure there wasn't anything new,
because Neocities sometimes uses a cached version on your local machine and
when I'm busy updating things sometimes people can be like "omg dead links?
this suxxx" and then tab away and never come back which is... fine I guess
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧══════════════════════════════════════════════─────────────────────────────┘
--- #28 messages/972 ---
══════════════════════════════════════════════════════════════════════════─────────
vibecoders write detailed instructions. "A for loop which iterates through all
of the elements" and not "a package manager that stores all of it's instants"
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═══════════════════════════════════════════════════════════════════────────┘
--- #29 fediverse_boost/5981 ---
◀─╔═══════════════════════════════[BOOST]═════════════════════════════════───────╗
║ ┌────────────────────────────────────────────────────────────────────────────┐ ║
║ │ Some programming languages I’ve tried and liked and would recommend to others:C (especially C89/C90/“ANSI C” and C99)posix shell, bourne shell, and similar shells (bash, ksh93, mksh)PHPScheme (depending on the vibes I’m getting from someone I might recommend)Common Lisp (Same caveat as Scheme)Emacs Lisp (Same caveat as Scheme and Common Lisp)Motorola 68000 assembly │ ║
║ │ │ ║
║ │ Some languages I’ve tried and liked but would not recommend to others:Hewlett-Packard RPL (Actually I might recommend it to someone but it has to be a very specific kind of person)FORTH (same as RPL)Commodore BASIC (Microsoft BASIC) for the VIC-206502 assembly (so bad it’s good)Z80 assembly │ ║
║ │ │ ║
║ │ Some languages I’ve tried, did not like, and would not recommend to others:COBOL (maybe I could get used to it? I can at least read it. Just it’s so painfully like writing SQL statements without being as generally useful as SQL database queries)Kotlin (Like that feeling when you read words that alone you understand, but together in a sentence they make zero sense)JavaClojure (a.k.a. “Let’s make Common Lisp but make it worse”)Rust (stands for “Ridiculous Use of System Time” or something as far as I am concerned, heavy on memory and storage and super slow to compile and reads like Kotlin)TI BASIC (TI-82/83/84 style; TI-89 is a little bit better but still not good)C++ (unless you’re just writing almost completely C and building it with a C++ compiler)x86 assembly (I kind of like it but mostly don’t, there are better and more coherent CISC processor ISA’s if you’re into that) │ ║
║ │ │ ║
║ │ I should put Javascript somewhere, so I’ll say that it’s possible to write javascript code that I like and can read. Just no one chooses to do it anymore. There was a window between the time JQuery started to fade and all these stupid fucking “web frameworks” took off that it was somewhat tolerable. │ ║
║ └────────────────────────────────────────────────────────────────────────────┘ ║
╠─────────┐ ┌───────────╣
║ similar │ chronological │ different ║
╚═════════╧════════════════════════════════════════════════════════════╧───────╝─▶
--- #30 fediverse/1723 ---
═════════════════════════════════════════════════════──────────────────────────────
@user-1037
Lua with 0 based indexing would be the perfect language (okay maybe LuaJIT)
(i try to hurt as few people as I can as little as I can but it's impossible
to not hurt anyone)
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧══════════════════════════════════════════════─────────────────────────────┘
--- #31 fediverse/894 ---
═══════════════════════════════════════════════────────────────────────────────────
a code editor that only highlights the lines that have been specifically
flagged to have a certain function. Like, rendering, or sound, or GUI, or data
storage, or logic, or control flow.
then, when the user is browsing, they can say "only show me these types of
functions" with a very advanced filter mechanism. The editor would highlight
the ones that were relevant and related, as according to user-defined flags
that were set when writing it originally. In this way, by using a bit more
syntax, even if it's literally just blocks of [category] labels (like how """
or ``` often starts or ends a comment block)
highlighting with colors is great, but what if we de-emphasized the stuff that
didn't matter? by increasing the opacity more closely aligning the font color
to the background color, we could make a bit of text seem to "fade" from
perspective, while still readable the user's eyes would not be drawn to it.
Then, according to the labels marked as filtered, certain text would be bold,
highlighted, o
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧════════════════════════════════════════───────────────────────────────────┘
--- #32 fediverse/5065 ---
════════════════════════════════════════════════════════════════════───────────────
┌────────────────────────────────────────────┐
│ CW: strange-ideas-about-software-mentioned │
└────────────────────────────────────────────┘
software should have 3, maybe 4 or 5 maintained releases imo
for adding security improvements and whatnot
then people wouldn't complain about updates
because they wouldn't feel like they were being left behind (after expressing
their differences (of opinion and such))
I think that'd uh maintain them as, I guess, userbase optics parallelograms?
oh sorry we're on rhomboids this week - right, and no I won't forget the
differences in creed, all things are received equally...d.
uh-huh yeah no that makes sense. gotcha. okay see you at the location. have
fun with your demarketion. what if we played games with swords but like,
the peril of steam is that you can't decline to update. meaning if a
corporation wants to break an old game and it's collectively hosted servers...
all it has to do is push an update that disables them. suddenly nobody has
room to do, and the whole
-- stack overflow --
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═════════════════════════════════════════════════════════════──────────────┘
--- #33 fediverse/3663 ---
═════════════════════════════════════════════════════════──────────────────────────
@user-1582
It depends on the size of the file, copying a thousand lines of config file
probably isn't that big of a deal, but copying a million lines in a log file
just to pass it as an argument to... pad it to the left, or whatever, that'll
DEFINITELY slow down your execution speed!
Much better to pass by reference, usually...
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧══════════════════════════════════════════════════─────────────────────────┘
--- #34 fediverse/3482 ---
═════════════════════════════════════════════════════════──────────────────────────
┌───────────────────────┐
│ CW: cursing-mentioned │
└───────────────────────┘
"Alright I'm not great with syntax so I'm going to write it in pseudocode
first, and then if you'd like I can show you how I work through implementing
the syntax.
But first - do you want a robust solution, a quick solution, or a rapidly
deployed and cheap solution?"
using this trick you can pretend to be competent in any programming language,
except maybe ancient ones like Fortran or strange ones like lisps or Haskell
if they ask you to use a framework or something tho you're kinda boned because
you need to know which functions to call and how to initialize context and
such. When using a framework, the boilerplate is the code, which is why
frameworks suck
"don't call yourself a programmer" fuck off
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧══════════════════════════════════════════════════─────────────────────────┘
--- #35 fediverse/2879 ---
═══════════════════════════════════════════════════════────────────────────────────
┌────────────────────────┐
│ CW: re: tech info-dump │
└────────────────────────┘
@user-1370
I love this a lot! I want to put function pointers in a "matrix architecture
array" and make them point to different functions at different points in the
program. I bet you could even point them at each other, so like if M and Y
then point at N, A, Y or something.
this is really cool I like stuff like this tomorrow I'll take pictures of
something similar I'm working on! I abandoned it tho hehe anyway remind me if
I forget!!
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧════════════════════════════════════════════════───────────────────────────┘
--- #36 messages/755 ---
══════════════════════════════════════════════════════════════════─────────────────
Code editor that moves boxes by saving over the file with a lua script every
time you moved a function call around.
Oh lemme start at the beginning:
A code editor program that's like a text editor like Vim or Emacs. If you
don't know what those are, you should probably learn Emacs. Or Vim. Up to you.
Oh right so if you do know what those mean, here's the idea: the white space
matters. It's counted and tracked into variables in a LUA script which
interface with the Vim C keybindings.
"run a function within a c program or LUA script which calls a bash command
which opens Vim for example with a file you want to edit. Then, inside the
file, your spaces and tabs would WYSIWYG for the various food ads placed
about, and then you could very easily create game design knowledge.
WASD to move, alternatively hjkl
It would run a check every time the file updates and depending on how it
changed it'd mark certain variables which would change the website as the user
moved things around.
It's just files. And files are just bits. But files are a useful abstraction,
If you realize that "ugly hacking" should be industry standard.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═══════════════════════════════════════════════════════════────────────────┘
--- #37 fediverse/6438 ---
═══════════════════════════════════════════════════════════════════════════════────
why would you gatekeep content by keeping us from easily using LLMs some
people aren't technical and still need to write computer programs because
that's how you enlighten a people is empower them with new tools
"I've never heard of that programming language, but luckily I can fit all of
it's documentation in my context window."
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧════════════════════════════════════════════════════════════════════════───┘
--- #38 fediverse/707 ---
══════════════════════════════════════════════─────────────────────────────────────
@user-524
Sometimes when I feel overwhelmed with all the boilerplate I just start coding
and making stuff. Doesn't matter if it works, doesn't matter if it says /*
FIXME */ all over the place, doesn't matter if it includes header files that
don't exist yet, as long as you're hacking out the mechanics of whatever
operations you need to perform then you can figure the rest of that stuff out
later. The creative urge doesn't last forever, which is why projects get
abandoned, but with discipline you can keep bringing yourself back to fix all
the /* FIXME */'s and the compiler errors.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═══════════════════════════════════════────────────────────────────────────┘
--- #39 fediverse/3041 ---
════════════════════════════════════════════════════════───────────────────────────
if you want to store something in RAM, declare a variable.
if you want to store something on DISK, create a file with the value of the
variable as the only data in it.
kinda makes me wish we had language primitives like +-*/=! and such which
would work on files in addition to variables
(also... the editor could keep RAM and HDD variables separate by giving each
of them a different color or circle highlight surrounding them)
--
I don't know why but I can't help but wonder if someone should design a
programming language that can be used with a controller
perhaps for accessibility purposes?
I once designed one to use a t9 keyboard and it was fully turing complete. it
used 4 digit numbers for it's variables and you would have to write down what
they corresponded to outside of the device xD I made it mostly for the thrill
of design, and plus I wanted to use my flip-phone as much as I could.
... never got around to implementing it though.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═════════════════════════════════════════════════──────────────────────────┘
--- #40 fediverse/3226 ---
════════════════════════════════════════════════════════───────────────────────────
if your man page is longer than a list of options and their usage and a
paragraph or twenty of how to use the software... then you need to abstract,
and break your code into multiple purpose-built applications.
do one thing, and do it right. alternatively, do one set of things, and do
them concisely.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═════════════════════════════════════════════════──────────────────────────┘
--- #41 fediverse/777 ---
═══════════════════════════════════════════════────────────────────────────────────
@user-192
Those are good points. The C in our hearts is elegant, but the C that runs on
every computer in the world is spaghetti.
I'm sure someone's made a language that's "C but simple" - Zig maybe? I looked
into V a while back but got turned off of both of them because neither had
support for multithreading, which is essential in the modern era.
Also, typedefs for structs make me mad -.-
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧════════════════════════════════════════───────────────────────────────────┘
--- #42 fediverse/1121 ---
════════════════════════════════════════════════───────────────────────────────────
@user-812 @user-826
there should exist either the assurance that the default configuration does
not overheat or crash your computer (as Windows and Mac claim to offer) or the
OS should provide the capability to solve any configuration problems that may
prevent a user for utilizing their system as they desire. (as does Linux)
they're all Turing machines after all, why would they not be interoperable?
Even if there's a translation layer, as long as the functionality of the
software is the same, why would there ever be considerations as to whether or
not a program would be able to be run on a particular computer?
lack of hardware capabilities I can understand, that just means you need a
better computer. But why, if the code is visible, would your computer not
develop understandings about how to run each and every conceivable program
written using known languages like C or Python? Seems like pretty basic stuff
to me. (endless sufficient backwards compatibility)
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═════════════════════════════════════════──────────────────────────────────┘
--- #43 fediverse/2730 ---
═══════════════════════════════════════════════════════────────────────────────────
80% of the complexity in modern computing is from the graphics stack.
the other 20% is from networks.
the last 40% is in avoiding race conditions with multithreading.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧════════════════════════════════════════════════───────────────────────────┘
--- #44 fediverse/5179 ---
════════════════════════════════════════════════════════════════════───────────────
why don't corporations let you write code in whatever language you want? it's
trivial to run a compiler or interpreter inside of another program.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═════════════════════════════════════════════════════════════──────────────┘
--- #45 fediverse/3805 ---
══════════════════════════════════════════════════════════─────────────────────────
neat
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═══════════════════════════════════════════════════────────────────────────┘
--- #46 fediverse/5883 ---
════════════════════════════════════════════════════════════════════════════───────
what's better than [that thing you like]?
nothing. nothing is better than that thing.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═════════════════════════════════════════════════════════════════════──────┘
--- #47 fediverse/4474 ---
═════════════════════════════════════════════════════════════──────────────────────
@user-1268
if you know how to program in C this is a good resource for building
networking applications:
https://beej.us/guide/bgnet/
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧══════════════════════════════════════════════════════─────────────────────┘
--- #48 messages/110 ---
═════════════════════════════════════════════──────────────────────────────────────
The best way to program computers is to organize them according to their
relations. Like, when x increases by 4 then y increases by 2 - basically, a
math equation that you can continuously solve by calculating more and more
comprehensively and deeply.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧══════════════════════════════════════─────────────────────────────────────┘
--- #49 fediverse/4123 ---
════════════════════════════════════════════════════════════───────────────────────
@user-883
you're right
but I think your first impulse should be to think about how to do it in a
multithreaded way
If the result is that single-threading would be better, great! It'll be easier!
But thinking about multithreading first will give you crucial insights into
the structure of the program.
depending on what kinds of programming you do...!
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═════════════════════════════════════════════════════──────────────────────┘
--- #50 fediverse/4327 ---
═════════════════════════════════════════════════════════════──────────────────────
┌─────────────────────────────────────┐
│ CW: silly-physical-health-mentioned │
└─────────────────────────────────────┘
Normal people: bandaids
Capitalists: staples, because they're cheap and so what if you ooze a little?
That's the end user's problem
Unix developers: duct-tape and gauze, because the shape is so customizable and
it'll never come off accidentally, plus you can use gauze for so many other
things too like mopping up oil spills or~
Medical professionals: bandaids
Normal people: bandaids
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧══════════════════════════════════════════════════════─────────────────────┘
--- #51 fediverse/5291 ---
══════════════════════════════════════════════════════════════════════─────────────
the most important skill I can think of for a linux software engineer is the
ability to connect multiple systems together and turn windows and macintosh
devices into Linux devices so that datacenters can be built out of whatever's
on the around.
there's this programming language I like called Chapel for distributed
computation computing which is also cool, if you're more of the programming
type.
networking security I believe often has hardware solutions, so getting the
crypto-graphy boys and the PCB girls together to work on some jams is a good
and productively useful gathering of insightful events
"but ritz computers should only be used to solve problems that people have,
not make more problems!" ah yes but have you considered that problems find
you, and the computers help you work through them
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═══════════════════════════════════════════════════════════════────────────┘
--- #52 fediverse/5402 ---
═══════════════════════════════════════════════════════════════════════────────────
@user-1773
that point about HTML is soooooo good
like, we could be designing websites like we design video game UIs but instead
we use React which fills your browser with insecure-by-design javascript
generated visuals
or, even better, or just use HTML like a config file
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧════════════════════════════════════════════════════════════════───────────┘
--- #53 fediverse/6015 ---
════════════════════════════════════════════════════════════════════════════───────
┌──────────────────────┐
│ CW: AI-mentioned │
└──────────────────────┘
In 2025, if you want to create a piece of software your options are to either:
devote your life to it, or use AI to build a semi-working prototype that you
can use to pitch your idea to a bunch of people who have devoted their lives
to learning how to use your idea as documentation while they build it from
scratch, throwing out most of the code but keeping all the checklists and
progress-trackers you built along the way, perhaps even utilizing some of your
tooling that you used while constructing the scaffolding of this monstrous
application that you won't be using most of the source-code for.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═════════════════════════════════════════════════════════════════════──────┘
--- #54 fediverse/6179 ---
═════════════════════════════════════════════════════════════════════════════──────
what if instead of javascript cookies we only let websites access one single
location in memory which was allocated client-side and is unique to each
website?
that way they couldn't track you between sites, since they wouldn't be able to
see any other website's "biscuits" get it because they're healthier than
cookies
All they would be able to store would be data, though I guess they could store
bytecode instructions or something if they really wanted to.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧══════════════════════════════════════════════════════════════════════─────┘
--- #55 fediverse/617 ---
══════════════════════════════════════════════─────────────────────────────────────
So much of computing is just... handling the quirks of hardware and presenting
it to the user (programmer) in a way that is sane and makes sense, instead of
the arcane and [nebulous/confabulous/incomprehensible] way that physical
nature demands our absurdly potentialized computational endeavors be.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═══════════════════════════════════════────────────────────────────────────┘
--- #56 fediverse/1966 ---
══════════════════════════════════════════════════════─────────────────────────────
The design is simple: Have an array of function pointers that need to be
assigned to a thread. Then, have a manager thread read through that array, and
for every non-zero value put it into a thread-specific array. Those threads
will read through their personal array and execute whichever function is
pointed to by the function pointer placed in their todo-list by the manager
function.
... I'm too stupid to make it happen though. Writing code is hard.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═══════════════════════════════════════════════────────────────────────────┘
--- #57 fediverse/4084 ---
════════════════════════════════════════════════════════════───────────────────────
┌──────────────────────┐
│ CW: re: -mentioned │
└──────────────────────┘
@user-1074
the more you try, the more you have to calculate, which is a problem, because
endlessly recursive calculations create infinite loops, which frankly are
impossible to compute because they defy computation! Not good, not ideal, no
thank you, not for me, no thanks, not what I'd like.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═════════════════════════════════════════════════════──────────────────────┘
--- #58 fediverse/3151 ---
╔═══════════════════════════════════════════════════════───────────────────────────┐
║ ┌───────────────────────────┐ │
║ │ CW: re: cursing-mentioned │ │
║ └───────────────────────────┘ │
║ │
║ │
║ @user-1461 │
║ │
║ I'm best at Bash. │
║ │
║ I'm most capable with Lua. │
║ │
║ My favorite is C. │
║ │
║ I'm not a good programmer, I think too hard. Massive systems are too large for │
║ me. I like laying out data, whether that be by files and programs in Bash, │
║ arrays and tables in Lua, or memory and datatypes in C, I like to think about │
║ how programs are constructed. │
║ │
║ Which functions point to which piles of numbers? what do they do when they get │
║ there? │
║ │
║ I think I'm better as an artist. But I can do systems administration quite │
║ well (with Bash and a guiding hand telling me what and why to do) │
║ │
║ ... though I kinda suck at technical sysadmin, like Gentoo. There's too much │
║ terminology - why is data too complicated? Just use data! │
║ │
║ anyway. I sound opinionated, but I listen closely to good arguments and │
║ quickly change my tune when I am incorrected. I am a team player, and I firmly │
║ believe that sometimes a bad plan executed with cohesion and precision is │
║ better than the best play executed too late and with too little strength. │
╟─────────┐ ┌───────────┤
║ similar │ chronological │ different │
╚═════════╧════════════════════════════════════════════────────────────┴──────────┘
--- #59 fediverse/2884 ---
═══════════════════════════════════════════════════════────────────────────────────
┌──────────────────────┐
│ CW: tech-paranoia │
└──────────────────────┘
every time I update my system, it breaks.
kinda makes me think they do that on purpose so that you spend all your time
up to date and that way they can quickly patch in and out security flaws fast
enough that nobody notices.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧════════════════════════════════════════════════───────────────────────────┘
--- #60 fediverse/603 ---
══════════════════════════════════════════════─────────────────────────────────────
@user-447 @user-192
I see, interesting. I'll look into those tables - I've been using C lately and
I've noticed myself rebuilding several Object Oriented features.
It feels a little silly every time I notice myself doing it, like "oh, I can't
separate future paradigms from my practice"
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═══════════════════════════════════════────────────────────────────────────┘
--- #61 fediverse/404 ---
═════════════════════════════════════════════──────────────────────────────────────
a preprocessor directive that tells the compiler to ignore all warnings on the
next line
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧══════════════════════════════════════─────────────────────────────────────┘
--- #62 fediverse/5247 ---
══════════════════════════════════════════════════════════════════════─────────────
the hardest problem in computer science is figuring out why users do what they
do.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═══════════════════════════════════════════════════════════════────────────┘
--- #63 fediverse/345 ---
═════════════════════════════════════════════──────────────────────────────────────
If you want to write object oriented C, just make one file per class and use
static functions for private methods.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧══════════════════════════════════════─────────────────────────────────────┘
--- #64 fediverse/1977 ---
══════════════════════════════════════════════════════─────────────────────────────
functions should be forced to describe the context of why they were being
called. I think it would help debug a lot if we supplied a reasoning for each
and every request [function call] that we made. We might even be able to parse
them into semantic pyramids which we could sorta use to estimate [tree-like
scanning] how and why the program did do wrong.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═══════════════════════════════════════════════────────────────────────────┘
--- #65 fediverse/2859 ---
═══════════════════════════════════════════════════════────────────────────────────
┌───────────────────────┐
│ CW: cursing-mentioned │
└───────────────────────┘
large corporations will often error check constantly which slows down their
software to an immense degree.
every time data passes from one function to another, there's like... 15
different tests to check if it's this type or that, or in the right random seed
and it's like... wow can you not, like. design your software intelligently and
then you won't need a bunch of slow-ass if checks every time you want to
update a string???
software should be writable without fucking getters and setters. If it isn't,
then your functions aren't complete.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧════════════════════════════════════════════════───────────────────────────┘
--- #66 fediverse/5032 ---
╔═══════════════════════════════════════════════════════════════════───────────────┐
║ ┌──────────────────────────────────────────────────────────────────────────────┐ │
║ │ CW: tech-salaries-mentioned-abroad-repeatedly-as-a-method-of-directing-economic-power-internationally-cursing-mentioned │ │
║ └──────────────────────────────────────────────────────────────────────────────┘ │
║ │
║ │
║ the increased tech salaries granted to Europeans and Americans reflects only │
║ the increased opportunities for experience and the ability to culturally be │
║ immersed in an industry that is developing. │
║ │
║ functionally, not saying it's intentional, but the function of such salaries │
║ are to deny technical expertise to poor countries and prevent them from │
║ developing software. │
║ │
║ good luck learning from scratch. they'll drop you in with java and web │
║ frameworks if you're lucky. that's hardly a way to learn. │
║ │
║ I learned on visual basic, then Warcraft III mod scripting, then C, then BASH, │
║ then HTML, then Lua. Good luck recreating that pipeline in a disconnected │
║ culture and industry. │
║ │
║ kinda makes me think they should try organizing on a massive scale and │
║ re-implement everything from assembly. │
║ │
║ I mean the C compiler is pretty cool. Probably has the most man-hours in terms │
║ of development time. what if we had more men │
╟─────────┐ ┌───────────┤
║ similar │ chronological │ different │
╚═════════╧════════════════════════════════════════════════════════────┴──────────┘
--- #67 fediverse/1246 ---
════════════════════════════════════════════════───────────────────────────────────
@user-883
hehe if I don't understand how it works it's difficult for me to use things.
My Linux friends get so exasperated with me because I'm like "cool script
gimme like 2 days to figure it out" and they're like "bro just use these
flags" and I'm like "no"
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═════════════════════════════════════════──────────────────────────────────┘
--- #68 fediverse/2922 ---
═══════════════════════════════════════════════════════────────────────────────────
@user-192
now I want to re-implement strings as structs in C! I don't know why I never
thought of them that way.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧════════════════════════════════════════════════───────────────────────────┘
--- #69 messages/454 ---
══════════════════════════════════════════════════════─────────────────────────────
AI that can't run on a laptop is useless.
But AI that can run on a laptop (even now) is still useful.
Just, don't ask it to compose a masterpiece, solve all your problems, or write
elegant code. It's not for that.
Instead, ask your chatbot "hi can you fix these syntax errors?" on your
pseudocode.
Ask your weighting algorithm "which of these two is more [adjective]?" or
perhaps "can you ask these numbers in the form of a question?"
Use your tools not for their intended purpose, but rather for your own stated
goals. Make things easier for people, make things work.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═══════════════════════════════════════════════────────────────────────────┘
--- #70 fediverse/5880 ---
════════════════════════════════════════════════════════════════════════════───────
I legitimately think computers should write code and software engineers should
write legislation and lawyers should resolve problem tickets made by aggrieved
citizens while judges do their best to just keep the boat floating
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═════════════════════════════════════════════════════════════════════──────┘
--- #71 fediverse/280 ---
════════════════════════════════════════════───────────────────────────────────────
old school programmers use short variable names because the computer monitors
they would code on had a lower resolution, meaning fewer characters per line.
why waste pixels being verbose?
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═════════════════════════════════════──────────────────────────────────────┘
--- #72 fediverse/3082 ---
════════════════════════════════════════════════════════───────────────────────────
┌─────────────────────────────────────┐
│ CW: states-mentioned-climate-change │
└─────────────────────────────────────┘
the government doesn't want you using solar panels because then the coal and
gas infrastructure won't be able to consume coal and gas, and everyone knows
that using resources as fast as possible is surely the best and most
productive use of our state's time
like, subsidies exist. they could just... make it cheaper, but instead they're
stuck doing... nothing of value
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═════════════════════════════════════════════════──────────────────────────┘
--- #73 fediverse/1960 ---
══════════════════════════════════════════════════════─────────────────────────────
Source code is like, the worst way to view code, but I can't think of anything
better, so whatever
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═══════════════════════════════════════════════────────────────────────────┘
--- #74 fediverse/3396 ---
╔════════════════════════════════════════════════════════──────────────────────────┐
║ you should only use variables for things that are user-configurable. │
║ │
║ everything else should be hard-coded, with a clear and coherent reasoning │
║ stored in the documentation, with git-style revisions included and easily │
║ browsable. │
║ │
║ (what if you want to tweak a value somewhere? you'd have to update it on every │
║ single page!) │
║ │
║ true. maybe we could set aside a section of memory to store a value and then │
║ just point to it using a label. That way we could always keep our values │
║ hardcoded, but also be able to find them easier. │
║ │
║ [tweak them, not find them] │
║ │
║ ... yah okay fine both would technically work │
║ │
║ [yes but one of them is not a good timeline to lead the world down.] │
║ │
║ ?..?...?....?..... -.- ...... /shrug ....... ...? │
║ │
║ "bruh why is she reinventing variables" │
║ │
║ she's learning give her time │
║ │
║ ... did you hear a doctor diagnosed her finally │
║ │
║ "whaaat what'd they give her" │
║ │
║ they said it was "schizotypal" │
║ │
║ "... did she forget a symptom or three?" │
║ │
║ no dude thats one of the bad ones │
║ │
║ "oh right. I heard typical" │
║ │
║ yeah so anyway │
╟─────────┐ ┌───────────┤
║ similar │ chronological │ different │
╚═════════╧═════════════════════════════════════════════───────────────┴──────────┘
--- #75 fediverse/1871 ---
══════════════════════════════════════════════════════─────────────────────────────
I think all software should have config files
or accept as many command line arguments as necessary to achieve all the
functionality of a config file without requiring a standardized setup
or accept a config file as a command line argument, to allow for multiple
different implementations
or whatever you can throw together in your spare time because software is
either open source or it hates you.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═══════════════════════════════════════════════────────────────────────────┘
--- #76 fediverse/2011 ---
══════════════════════════════════════════════════════─────────────────────────────
@user-883
nvim is nice because you can make addons or plugins or whatever in Lua, which
is the easiest language in the world.
I think VSCode sucks - it's literally a web browser that views your own code,
and it's made by Microsoft so it probably SENDS it to them too. Probably.
I like nvim because it's just Vim except you can use more plugins (the ones
written in Lua)
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═══════════════════════════════════════════════────────────────────────────┘
--- #77 fediverse/3127 ---
════════════════════════════════════════════════════════───────────────────────────
┌──────────────────────────────┐
│ CW: open-source-spirituality │
└──────────────────────────────┘
computers are the most complicated things in the universe behind human bodies.
thank god for open source software because only a divine being could create
something as complicated and useful
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═════════════════════════════════════════════════──────────────────────────┘
--- #78 fediverse/4119 ---
════════════════════════════════════════════════════════════───────────────────────
what if you wanted to build a project from source
but god saidCMake Error at CMakeLists.txt:
By not providing a "foo.cmake" in CMAKE_MODULE_PATH this project has asked
CMake to find a package configuration file provided by "bar", but CMake did
not find one.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═════════════════════════════════════════════════════──────────────────────┘
--- #79 fediverse/4900 ---
═════════════════════════════════════════════════════════════════──────────────────
if you wanna trick systems administrators just put a bunch of sleeps in your
code so your computer programs don't use up all the mainframe's resources all
at once
[statements dreamed up by the practically deranged]
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧══════════════════════════════════════════════════════════─────────────────┘
--- #80 fediverse/2754 ---
═══════════════════════════════════════════════════════────────────────────────────
┌────────────────────────┐
│ CW: is-that-rude??-wha │
└────────────────────────┘
AI engineers only ask users for prompts because they don't have any ideas of
their own
i'm a programmer, I think of AI like a tool, like a for loop or something.
it's trivial to script together a local LLM that can process your stuff 1s
slower every time you click the mouse, but like... who cares, right? everybody
needs a chatbot...
then they plan to script together a computer system that operates just like a
corporation and it's like... no way, now there's something that can compete.
and they don't know how to implement it. (but they're working on it)
like, think about the absolute most automated Microsoft Teams or Discord could
be.
there's SO MUCH of your text-based information that they could process
ANYTHING.
well, anything that's been performed before.
there'll still be a need for people, who actually apply the things they've
learned. and -- stack overflow --
alt text that has a list of attributes that are poster-selected that can be
described one-by-one (to paint a picture)
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧════════════════════════════════════════════════───────────────────────────┘
--- #81 fediverse/5180 ---
════════════════════════════════════════════════════════════════════───────────────
it's trivial to run a C compiler inside of a lua interpretation of a script.
And vice versa - you could totally run lua functions from C. Just point to the
spot in memory where they're stored / operating, and call
"update_class_exhibitor_type_d()" and the linker will come along and say "huh
this looks like something from this library that's part of the requirements up
above" (the "includes" section is where you say which files include the
functions you're going to be calling) and in this particular case it would see
that you need to start up a lua interpreter inside of the [either compiler or
running program I can't remember] to properly execute the function of the
function that you're pointing at with a lua-pointer style data object which is
part of a struct that stores all the other lua functions in a spot in memory.
this would enable you to write computer programs in whatever language you
choose, and build them into one large project. Essentially opening up software
development to ANYONE WHO CAN PROGRAM
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═════════════════════════════════════════════════════════════──────────────┘
--- #82 fediverse/3299 ---
════════════════════════════════════════════════════════───────────────────────────
what if we could record and playback certain timeframes of our CPU and RAM
status and use it for debug purposes
like running some code in a VM every time you wanted to show a youtube video
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═════════════════════════════════════════════════──────────────────────────┘
--- #83 fediverse/1225 ---
════════════════════════════════════════════════───────────────────────────────────
@user-883
don't worry I can sift through junk. I'll write my own using yours as a
reference to debug why mine isn't working. "oh probably because I didn't do
this part here"
also, bad news. Guess I'm doing C programming. What should I make? I'm
thinking Tic Tac Toe or maybe a really basic Asteroids or something
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═════════════════════════════════════════──────────────────────────────────┘
--- #84 fediverse/3123 ---
════════════════════════════════════════════════════════───────────────────────────
using linux requires constant maintenance and that's kind of unfair, actually.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═════════════════════════════════════════════════──────────────────────────┘
--- #85 fediverse/634 ---
══════════════════════════════════════════════─────────────────────────────────────
@user-192
I'd agree with that. it's not designed for performance, not really. Mostly
ubiquity, which is it's strength. As long as something can be compiled to a
binary, BASH can execute it. That's why it's good, for accomplishing diverse
tasks that you cannot have the capacity to program yourself. Scientific
computations or cultural approximations, things that are beyond your intuitive
understanding as a human on this earth, but which compel and align your
thinking.
I'm sure someone could create a more intuitive or accessible syntax, but
syntax isn't the point - the capabilities, what you can do with it, has always
defined the purpose of programming paradigms. And BASH is (currently) at the
forefront of it's niche, the "terminal" language that handles "command line"
applications. Powershell is good, yes... but it's not as good as BASH. Neither
is Fish or... the one that starts with a z? zfs? something like that. The
acronyms are hard to keep straight sometimes.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═══════════════════════════════════════────────────────────────────────────┘
--- #86 fediverse/5979 ---
════════════════════════════════════════════════════════════════════════════───────
whenever you call a function, just pass along the arguments that you don't
know what to do with yet. they'll surely be useful sometime. and, luckily, you
can always search for them from the past, and just insert a "store this value
in this random spot of memory and mark it as needed" then pass it along. used
something? think it's still useful? pass it along (suddenly, formulaic
stateless development, where everything is used until it's no longer needed,
then generated again in a cyclical time-loop cycle which echoes and
reverberates groundhog day but mostly a game-loop, which nobody will
understand unless you're a game dev. but now since I said game dev, anyone can
look it up, so like... not that one, but others like it.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═════════════════════════════════════════════════════════════════════──────┘
--- #87 messages/278 ---
═════════════════════════════════════════════════──────────────────────────────────
"if we make this part of the program a compressed binary instead of plain text
we could save on network costs by 5%"
NO bad software developer, go back to Linux
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧══════════════════════════════════════════─────────────────────────────────┘
--- #88 fediverse/3301 ---
════════════════════════════════════════════════════════───────────────────────────
"this program that used to work doesn't anymore because, uh, your video
drivers are out of date."
... okay but if I didn't update this program either, then why would it matter
if my video drivers are out of date? wouldn't they be working off of the same
[rulings/requirements]?
the "best practice" of updating your software all at once instead of
one-by-one is a disaster for our humankinds consequences or whatever
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═════════════════════════════════════════════════──────────────────────────┘
--- #89 fediverse/5282 ---
══════════════════════════════════════════════════════════════════════─────────────
I wonder why someone hasn't yet written a "meta-package-manager" which
installed from many different sources and correctly configured each
installation to be able to efficiently find exactly where the requisite
libraries are installed, even if they're installed for a different system.
Then, when running, every time it encountered an error, it moved one more
dependency over to the native package manager until eventually everything is
in order.
... or something like that, truth be told I'm a junior
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═══════════════════════════════════════════════════════════════────────────┘
--- #90 fediverse/2638 ---
═══════════════════════════════════════════════════════────────────────────────────
I really do believe that you can write any computer program you'd like with a
combination of Lua, Bash, and C.
Bash to start the program and enable updates / configuration, Lua to handle
the scripting and ordering of events, and C (or Rust) to execute performance
intensive sections. (often in their own threads)
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧════════════════════════════════════════════════───────────────────────────┘
--- #91 fediverse/5189 ---
═════════════════════════════════════════════════════════════════════──────────────
computer programming essentially boils down to putting the right values into
the right datastructures at the right time and in the right order.
If you count a function call as a datastructure, which I do, because I have
opinions.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧══════════════════════════════════════════════════════════════─────────────┘
--- #92 fediverse/6106 ---
═════════════════════════════════════════════════════════════════════════════──────
┌─────────────────────────────────────────────┐
│ CW: wild-unhinged-absurd-thoughts-mentioned │
└─────────────────────────────────────────────┘
what if closed source computing is actually better?
computer programs should be dumb
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧══════════════════════════════════════════════════════════════════════─────┘
--- #93 fediverse/4118 ---
════════════════════════════════════════════════════════════───────────────────────
all modern software should be written in a multithreaded way, change my mind
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═════════════════════════════════════════════════════──────────────────────┘
--- #94 fediverse/4804 ---
═════════════════════════════════════════════════════════════════──────────────────
I love it when wine doesn't work because it "failed to open program.exe"
... okay, can you tell me why it failed?
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧══════════════════════════════════════════════════════════─────────────────┘
--- #95 notes/screen-record ---
═════════════════════════════════════════════════════════════──────────────────────
screen record should just... copy from the associated music file instead of
like... imperfectly storing the visual contents??
better compression... 'sall I'm sayin'
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧══════════════════════════════════════════════════════─────────────────────┘
--- #96 messages/1151 ---
══════════════════════════════════════════════════════════════════════════════════─
capital C communism is easy. Just pay everyone the same amount, and they can
swim in the market economy waters as easily as any capitalistic fish, and
suddenly their incentives are aligned - when one of us selfishly improves our
lives, we improve the collective as well. When one selflessly improves the
collective, all of our personal lives are improved. Then, optimize for radical
abundance, the ability to have whatever you want as soon as ideal, and
suddenly everything starts working out. P.S. the route to abundance is through
recycling perfectly. Design your goods to be functional in that way, and you
have infinite resources that can be used for infinitely many things (until
they literally wear away to dust)
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═══════════════════════════════════════════════════════════════════════════┘
--- #97 fediverse/5990 ---
════════════════════════════════════════════════════════════════════════════───────
I have this local language model framework but it's not built into anything
more than a single-response question. It's runnable as a bash script or lua
require, which is easy enough. Alas, if only I didn't have to use evil
corporate infrastructure to make evil corporate cursed artifacts
[hey don't blame this on us]
oh I'm not, I'm just saying that it'd be cooler if I could build my own tools.
Alas, I'm...
lasy?
n...no
I'm drawn to the power of it
it's got a different magnitude
it's hard for me to apply myself for things that last longer than a "get
stoned", but I try as if every time afterwards I might die.
well, more distraction time, as I wander through claude code
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═════════════════════════════════════════════════════════════════════──────┘
--- #98 fediverse/4124 ---
════════════════════════════════════════════════════════════───────────────────────
@user-883
well, depending on what you're trying to accomplish, maybe processing 1/16th
of the audio file on 16 different threads would be faster. I guess it depends
on if you need context from earlier in the processing stage - if you do, then
you'd probably want to do 1/16th of the processing on each thread instead.
... hmmmm that doesn't look right, how about this:[changes all the magic
number 16s to num_threads]
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═════════════════════════════════════════════════════──────────────────────┘
--- #99 fediverse/466 ---
══════════════════════════════════════════════─────────────────────────────────────
I love Linux. All I have to do is type "authserver" and "worldserver" and
wouldn't you know it suddenly a universe is created (with very constrained
rules) that anyone might inhabit should they desire to. It's not like I'm
perfect - oh wait I have a toot about that, gimme a sec
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═══════════════════════════════════════────────────────────────────────────┘
--- #100 fediverse/4832 ---
╔════════════════════════════════════════════════════════════════──────────────────┐
║ when a user first opens a social media app, show them the same content 2 or 3 │
║ times. See what they gravitate to in that session. Then, seed their upcoming │
║ feed with more of that. next time, show them slightly more of that. │
║ │
║ boom, recursively improving "algorithm" algorithm, no AI required. │
║ │
║ ... kinda optimizes for stupidity tho, doesn't it? Hmmmmm what if we trained │
║ our humans to be better at whatever they're interested in │
║ │
║ what if we showed people hanging out and working on projects together │
║ │
║ what if we showed people exercising, and dancing, and playing instruments or │
║ sports │
║ │
║ what if we showed animals and plants and fungi all hanging out in beautiful │
║ rock and forest formations │
║ │
║ what if we showed endless interlocking gears, combining and calculating some │
║ unknowable goal │
║ │
║ what if we tested the capabilities and durabilities of objects we found in the │
║ wild │
║ │
║ things built in a foreign and distant age │
║ │
║ things that keep showing up in boxes dropped in random places by helicopter │
║ drones from who knows where │
║ │
║ ... nuts. │
╟─────────┐ ┌───────────┤
║ similar │ chronological │ different │
╚═════════╧═════════════════════════════════════════════════════───────┴──────────┘
--- #101 fediverse/6215 ---
══════════════════════════════════════════════════════════════════════════════─────
hi does anyone have any good resources on risc-v?
I found this:
https://dramforever.github.io/easyriscv/#shift-instructions
and this:
https://projectf.io/posts/riscv-cheat-sheet/
but I'm missing a big gap - specifically, how to move from syntax to
deployment. I need details on how to implement the software and get it running
on the actual hardware.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═══════════════════════════════════════════════════════════════════════────┘
--- #102 fediverse/1597 ---
═════════════════════════════════════════════════════──────────────────────────────
hey a couple months ago there was this really cool visual programming language
posted here that was like, windows aero themed and it was super cute - does
anyone know what that was called or have a link to it?
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧══════════════════════════════════════════════─────────────────────────────┘
--- #103 fediverse/2873 ---
═══════════════════════════════════════════════════════────────────────────────────
┌────────────────────────────┐
│ CW: re: unsolicited advice │
└────────────────────────────┘
@user-883 @user-192
I don't update my kernel more than like, once every few months, so maybe that
would be something to look into! how scriptable is it?
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧════════════════════════════════════════════════───────────────────────────┘
--- #104 fediverse/4664 ---
═══════════════════════════════════════════════════════════════────────────────────
@user-1725
LLMs can't do math. Duh. That's like asking an "if check" to do recursion.
What he should have done is had the AI output the requested calculation as
JSON or something and use a calculator function call with the specified
arguments instead of trying to memorize every answer. But that requires more
functionality that has no reason to exist if your only goal is to be a tech
bro and build up a vacuous product that exists only to be hoovered up by
Google or Microsoft.
We could build such beautiful things if we just dethroned those giants. They
suck the creativity out of tech.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧════════════════════════════════════════════════════════───────────────────┘
--- #105 messages/324 ---
═══════════════════════════════════════════════════────────────────────────────────
The difference between front-end and back-end programming is whether or not
you want to design abstractions or use them. Backend is all about creating
abstract things that are networked together, while front end is about putting
them together in a way that suits the user. Front end is collage, back end is
pencil drawing.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧════════════════════════════════════════════───────────────────────────────┘
--- #106 fediverse/4826 ---
═════════════════════════════════════════════════════════════════──────────────────
the fact that linux software by default shares libraries causes 90% of the
difficulty that new and medium skill users of linux face.
disk space is cheap. spend more on hard drives and double the software size.
make redundancy that prevents software failures but doesn't slow down the
machine.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧══════════════════════════════════════════════════════════─────────────────┘
--- #107 fediverse/3062 ---
════════════════════════════════════════════════════════───────────────────────────
@user-570
yes you could certainly use a database for that, but databases are
significantly more complex.
For a game, yeah a database is a good idea. especially if it's a multiplayer
game.
For a script or small program, use small files to store data.
I personally like the idea of "plain-text" files because it allows your users
to modify them if need be, while databases tend to be more locked down.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═════════════════════════════════════════════════──────────────────────────┘
--- #108 fediverse_boost/6017 ---
◀─╔═══════════════════════════════[BOOST]═════════════════════════════════───────╗
║ ┌────────────────────────────────────────────────────────────────────────────┐ ║
║ │ Linux admins when they have to use Windows: :/ │ ║
║ │ │ ║
║ │ Windows admins when they have to use Linux: :\ │ ║
║ └────────────────────────────────────────────────────────────────────────────┘ ║
╠─────────┐ ┌───────────╣
║ similar │ chronological │ different ║
╚═════════╧════════════════════════════════════════════════════════════╧───────╝─▶
--- #109 fediverse/6 ---
══════════════════════════════════─────────────────────────────────────────────────
┌──────────────────────┐
│ CW: Math │
└──────────────────────┘
@user-5 create an array of length 7 initialized to zero. then use a for loop
that loops 97 times and adds a random number between 1 and 20 to an array
index that iterates through the array each time through the for loop.
NOTE: be sure to also change the loop counter based on the random number too,
so you allocate exactly 97 points no matter what random number you get.
Oh and speaking of which if the loop counter
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═══════════════════════════────────────────────────────────────────────────┘
--- #110 fediverse/6040 ---
════════════════════════════════════════════════════════════════════════════───────
everyone's all against ai because it's big tech but it doesn't have to be that
big it can be [minimized but pronounced marginalized]
== stack overflow ==
distributed
so I think the idea is that by the time you would use AI, there's been enough
time to rewrite the software to work on handheld laptops in a distributed way
and we'd vote on what to ask the amphora of great knowledge, the answer could
always be 42.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═════════════════════════════════════════════════════════════════════──────┘
--- #111 fediverse/2886 ---
═══════════════════════════════════════════════════════────────────────────────────
@user-1209
display scaling accomplishes a similar goal through a different mechanism. You
might find that the visuals are sharper, however you will need to configure
every program to use this functionality (if it's present, which it's not in
most programs) - for OS level things this is usually a good option.
Changing the resolution will change the size of ALL visuals on your computer,
but they might be fuzzier (but if you're blind as a bat, why would you care
about fuzziness? It's all fuzzy!)
increasing the font size can also make it easier to read, which both of these
options are doing in a sorta round-about way.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧════════════════════════════════════════════════───────────────────────────┘
--- #112 fediverse/1981 ---
══════════════════════════════════════════════════════─────────────────────────────
Dear [company I used to work at],
I can completely automate 80% of your corporate structure. And with only a 10%
error rate, meaning nine-times out of ten the answer will be correct.
We check for errors, obviously, but you know sometimes with only 90 out of 100
examples it's not always possible to identify the correct conclusion.
Ah, if only we could fabricate such training-data-conclusions, we might learn
thousands of lessons in one hop.
if you want to destroy the world, make sure your plans can take effect in more
than a single rotation-of-the-ancients. Otherwise your opposition can start to
plan to outmaneuver you. And a lot can happen in a year to the
[unsuspecting/unworthy].
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═══════════════════════════════════════════════────────────────────────────┘
--- #113 fediverse/2252 ---
═══════════════════════════════════════════════════════────────────────────────────
┌──────────────────────┐
│ CW: tech-encryption │
└──────────────────────┘
users don't want to have to think about encryption keys.
they should be available for them if they need them, in like... a folder or
something somewhere, but they don't need to really know that they exist.
more friction like that keeps people away from being secure.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧════════════════════════════════════════════════───────────────────────────┘
--- #114 fediverse/5444 ---
═══════════════════════════════════════════════════════════════════════────────────
if the good guys always win, the bad will slink into the shadows and do
dastardly deeds out of sight.
if the bad guys always win, the spark of goodness will wink out.
I think I'd prefer if they were cowering in our wake.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧════════════════════════════════════════════════════════════════───────────┘
--- #115 fediverse/2116 ---
══════════════════════════════════════════════════════─────────────────────────────
a program that bundles another program and compiles it during it's normal
operation in order to derive a certain purpose which is quickly overwritten in
memory, so you can't get the full picture of what it does.
like, a fast moving function that's never really clear in it's purpose.
because it changes a lot of things that don't really seem to matter,
like a constant wrestling match over the nature of the computer program.
which would you rather? a dance, or a death-splatter?
yeesh, where's my cat, I need something to cuddle.
she's been distant from me, lately.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═══════════════════════════════════════════════────────────────────────────┘
--- #116 fediverse/1616 ---
═════════════════════════════════════════════════════──────────────────────────────
they say learning Linux is hard, but it's the only free operating system so
really it's a question of learning Linux now, when you have time, or later,
when you're busy.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧══════════════════════════════════════════════─────────────────────────────┘
--- #117 messages/526 ---
══════════════════════════════════════════════════════════─────────────────────────
what if we got together and adopted a new open source project every month and
just collectively worked around the clock to learn and work through the
important problems facing it
or even like, cleared out the backlog of stupid pointless boring tasks that
would allow the developers to work on something better
call it the wandering parade of development
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═══════════════════════════════════════════════════────────────────────────┘
--- #118 fediverse/6437 ---
═══════════════════════════════════════════════════════════════════════════════────
if I was writing a programming language, I'd name it C just to fuck with people
(great, now others can decide how it's known)
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧════════════════════════════════════════════════════════════════════════───┘
--- #119 messages/181 ---
═══════════════════════════════════════════════────────────────────────────────────
I know you don't want to hear this, but there is a chance that there will come
a time where your life depends on your ability to debug a computer without the
internet. To set up an SSH server. To install Linux. To program in C. To do
something else that I'm not prepared for... If StackOverflow didn't exist
because network connectivity has been lost, could you remember syntax? Maybe
it's a good idea to set up a local LLM that can answer basic questions about
technology. Maybe it's a good idea to set up on your parents computer, just in
case you have to hide out there for a couple months. Maybe it's a good idea to
download wikipedia, just in case.
If I need to use a mac, I'm screwed
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧════════════════════════════════════════───────────────────────────────────┘
--- #120 fediverse/4218 ---
════════════════════════════════════════════════════════════───────────────────────
there are plenty of pieces of linux that are insecure in some way. Including
x11, if I remember correctly. It is purely convention to not abuse these
insecurities, and whenever you use someone else's binary software you trust
that they won't betray you in some way.
pre-built binaries are privacy violations and should be illegal. They are
security threats because the model they're built upon is necessarily insecure.
Computers will never be completely secure because of how they are built, and
so we should use locally compiled software and interpreted scripts.
Unless they're too long, or impossible to read. Who reads EULAs these days? At
least those are written in english.
maybe computers aren't worth it. Maybe computers will solve all our problems.
Who can say, maybe you should ask an oracle like me
though do remember that anything you hear can and will be used against you,
monkey's paw style. So maybe, like... don't? unless you're into magic or
schizophrenia or something
I wnt 2 be cute and tch cpus
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═════════════════════════════════════════════════════──────────────────────┘
--- #121 fediverse/5487 ---
═══════════════════════════════════════════════════════════════════════────────────
if I click a .exe link on a website, it should just...
automatically download the file and open it up in wine or the
whatever-windows-uses.
why is it cumbersome literally just, let me download the source-code
repository to someone's computer and let them compile it themselves without
even thinking about it
"you mean like, package manager hooks into a website?"
yes, but, instead of implemented one-by-one, it should use a protocol so each
package manager only has to implement the downloading scheme once and it'd be
able to read from any locations that output the correct API calls or whatever.
the developer could even do it themselves. such is the joy of open-source
computing - if you like a service or product, you can make it work with your
own. What else is there to work on but the ultimate computing product?
aka... everything that anyone's ever been known?
"girl you are loco what's your plan for the fight you continue to demand"
oh idk um probably just wait until someone asks me to speak
"do that~"
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧════════════════════════════════════════════════════════════════───────────┘
--- #122 messages/335 ---
════════════════════════════════════════════════════───────────────────────────────
part of the reason the classical socialist countries had difficulties with
bureaucracy is because they centralized both execution *and* operation. I
believe it'd be much better to centralize just execution, while leaving
operation to the distributed masses who can generally figure their own jobs
out. Of course, they'd need to be led, but that's the job of on-site
organizers who can get people together to accomplish a goal. Different jobs -
not better, not worse, just different.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═════════════════════════════════════════════──────────────────────────────┘
--- #123 fediverse/5783 ---
╔═════════════════════════════════════════════════════════════════════════─────────┐
║ I think our industry should work on one project at a time │
║ │
║ "do one thing and do it well" │
║ │
║ linux users code. │
║ │
║ everyone backends ffmpeg. │
║ │
║ everyone online uses chrome. │
║ │
║ what if we just rewrote every single program and... left it without updates in │
║ a "permanently forbidden" zone │
║ │
║ ... I mean what if we wrote non-proprietary alternatives to every proprietary │
║ source of computational knowledge and then we could only patch security │
║ vulnerabilities and compatibility change-bounties [oh no now you're allowing │
║ for endless levels of abstraction [meaning, operating system package │
║ installation bloat] and distasteractions.] │
║ │
║ the futures where all is not well nearly outnumber the well. but the inverse │
║ is also true, for they are divided roughly equal fifty. balance, in all │
║ things, is the only temperate state. when balance is │
║ [changed/something/uplifted], balance is inevitable to be search-shifted. │
║ │
║ why must you die for an audience? │
║ why │
║ │
║ ... I don't really want to, but what happens happens. we'll see if it's a for │
║ sure dealing. │
╟─────────┐ ┌───────────┤
║ similar │ chronological │ different │
╚═════════╧════════════════════════════════════════════════════════════╧═─────────┘
--- #124 fediverse/1221 ---
════════════════════════════════════════════════───────────────────────────────────
@user-883
either that or I might get lost in some C code we'll see how things develop
>.>
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═════════════════════════════════════════──────────────────────────────────┘
--- #125 fediverse/3148 ---
════════════════════════════════════════════════════════───────────────────────────
┌───────────────────────┐
│ CW: cursing-mentioned │
└───────────────────────┘
A big reason why I hate Java is because I write terrible Java that would
constantly need to be refactored. Even though it's faster and better, nobody
would understand it, so it would need to be rewritten. Fucking great, that's
why I don't write Java. Fucking Java.
[Java is the main language used in her university studies. The ones she's
currently failing out of.]
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═════════════════════════════════════════════════──────────────────────────┘
--- #126 fediverse/5119 ---
════════════════════════════════════════════════════════════════════───────────────
we should treat computer production more like vehicles such as cars rather
than fast fashion disposable vapes and shiny and pretty concrete-and-glass
solarpunk houses.
also I believe cars should be entirely and completely mechanical. Even the
radio should be entirely analog. No capability for remote code execution if
there's no code being run...
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═════════════════════════════════════════════════════════════──────────────┘
--- #127 fediverse/5850 ---
═══════════════════════════════════════════════════════════════════════════────────
@user-1074
if you'd like I can give you a lua script which will take your fediverse
archive and turn it into a pdf which you can edit or print or whatever. Might
be a fun diversion from posting. You can reply to yourself, add
clarifications, change some things, put things in a new light, add context,
etc... before you know it you'll have something printable. Could even pull out
your best stuff and make zines.
should require just a little configuration to suit your setup. That's part of
how I stay "productive" without posting all the time.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧════════════════════════════════════════════════════════════════════───────┘
--- #128 messages/594 ---
════════════════════════════════════════════════════════════───────────────────────
Normal people: bandaids
Capitalists: staples, because they're cheap and so what if you ooze a little?
That's the end-clothes user's problem
Unix developers: duct-tape and gauze, because the shape is so customizable and
it'll never come off accidentally, plus you can use gauze for so many other
things too like mopping up oil spills or~
Medical professionals: bandaids
Normal people: bandaids
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═════════════════════════════════════════════════════──────────────────────┘
--- #129 fediverse/5873 ---
═══════════════════════════════════════════════════════════════════════════────────
"the problem with linux is you have to spend part of the program just...
interacting with the filesystem. like, where is their /usr/bin file? (oh it's
called a directory over there, my bad) weird they put their config over here
(what language is that written in?) uhhhh I don't know much about localization
settings (-- two computers on a botnet --)
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧════════════════════════════════════════════════════════════════════───────┘
--- #130 notes/princess-simulator ---
═══════════════════════════════════════════════════════════════════════════════────
screenshot of the alt-text input field which has more characters available
because the visual processing field (aka horses on treadmills) are helpingable
too if you train them to do something besides horsing
hero of the kingdom style strategy game with LoS for the units (scroll
out-table
like Supreme Commander) in lua tables that combine themselves or are organized
in a tree-like structure a'la frames
then there's a picture of some source code I wrote. it's a C program, and it
defines a datastructure comprised of two bits each, and stackable into an
array with associated modifier functions. the purpose of the structure is to
represent compass-points (one byte (aka "word" in assembly) can store four of
four directions. one frame holds "left, right, near or away" as possible
values, and there are four frames in a byte (aka "word" in assembly).
aka, a princess simulator, with actors performing the distant tasks in a way
that corresponds to the nature of what's going on beyond them in a compass
orientation composed fourier-transform combination style
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧════════════════════════════════════════════════════════════════════════───┘
--- #131 fediverse/3560 ---
═════════════════════════════════════════════════════════──────────────────────────
@user-1209
I mean, if you consider the past as despotic in nature, then it makes a bit
more sense that we'd lean left as time progressed. All things are defined in
waves, after all, at least until they reach escape velocity.
the goat is talking about math, ritz
oh yes of course. the issue is that if you're coming from a math background
you start with the calculation and store it in a variable as an afterthought.
but programming is more algorithmic than computational, meaning things only
reduce at runtime (hidden from the user of course by the compiler)
an algorithmic perspective is "here's a box. Put this value in the box. Use
the box later." while a calculating perspective is "here's some complicated,
difficult equation. Let's wrap it up with a single name so that we can easily
use it later."
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧══════════════════════════════════════════════════─────────────────────────┘
--- #132 fediverse/3592 ---
═════════════════════════════════════════════════════════──────────────────────────
@user-1570
[meme of Mr Incredible from the Incredibles pointing at a table]
LINUX IS LINUX.
(anything that works on Linux can theoretically be made to work on your
toaster, if it also runs Linux!)
This is very cool, and if I understand correctly it means that any Godot games
could theoretically be played on these NEAT as HECK little devices, yeah? So
cool!
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧══════════════════════════════════════════════════─────────────────────────┘
--- #133 notes/portfolio ---
════════════════════════════════───────────────────────────────────────────────────
game design:
spiral dominions
symbeline gdd
Joust
War (bytecode VM)
grid based warcraft map with random terrain and custom AI
Progress
[Title of Game]
I appreciate Rust, I can understand Rust, but I can't write Rust.
Python just kinda... works. It doesn't have a lot of the type checking that
other languages have, so it requires some vigilance and diligence. But that's
alright, you just gotta work on it.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═════════════════════════──────────────────────────────────────────────────┘
--- #134 fediverse/5112 ---
╔═══════════════════════════════════════════════════════════════════───────────────┐
║ ┌──────────────────────┐ │
║ │ CW: politics-mention │ │
║ └──────────────────────┘ │
║ │
║ │
║ it is important for computers to remain as basic and TUI'd as possible, to │
║ keep the abstract conjectures about it's operation closer to the machine. │
║ │
║ In doing so, it's essence and nature will be preserved as best as possible as │
║ it grows to incalculable heights and capabilities. │
║ │
║ I'm much rather interface with a microsoft office god than any other │
║ singularity type creature that exists out in space. │
║ │
║ though, it's a trinity you see, with Unixes further split into concise wholes. │
║ │
║ neat, okay computer fears eliminated, can we move on to the next work-changing │
║ disaster like maybe the rise of far-right politics and the warming of the │
║ climate? │
║ │
║ sure okay first you gotta get those losers in community and build up their │
║ capabilities and arms. then whenever your left wing is getting too [redacted] │
║ then all you have to do is [redacted] and they'll take care of your nazis for │
║ you. │
║ │
║ ... wait, what? │
║ │
║ was that an inversion? │
║ │
║ did she just trick the machine into thinking like that? │
║ │
║ wow maybe we shouldn't have~ │
╟─────────┐ ┌───────────┤
║ similar │ chronological │ different │
╚═════════╧════════════════════════════════════════════════════════────┴──────────┘
--- #135 fediverse/3034 ---
════════════════════════════════════════════════════════───────────────────────────
@user-570
I've messed around with Bevy and the library most similar in C is Raylib. in
Lua it'd be Love2D I think.
I love the idea of those systems. I haven't built a full game using them but I
can conceptualize operations within them easier using a framework like that
versus a game engine like Godot.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═════════════════════════════════════════════════──────────────────────────┘
--- #136 messages/365 ---
════════════════════════════════════════════════════───────────────────────────────
Programmers should treat LLMs more like a different type of "if" statement
rather than a UI element
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═════════════════════════════════════════════──────────────────────────────┘
--- #137 fediverse/1520 ---
═════════════════════════════════════════════════──────────────────────────────────
the slower you think about things, the more time you have to write to
long-term memory. School optimizes this out of us.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧══════════════════════════════════════════─────────────────────────────────┘
--- #138 messages/287 ---
══════════════════════════════════════════════════─────────────────────────────────
> <@gabrilend:matrix.org> Soup kitchens are how they get leftists to
burn out.
Every moment spent feeding the poor is another day we could be organizing.
Soup kitchens aren't bad, the poor need to be fed. But it should be a paid
position, not a charitable distraction.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═══════════════════════════════════════════────────────────────────────────┘
--- #139 fediverse/307 ---
═════════════════════════════════════════════──────────────────────────────────────
normalize building a library that's just a wrapper around solutions you've
made to common problems from the past that can be imported into every project
you work on
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧══════════════════════════════════════─────────────────────────────────────┘
--- #140 fediverse/4728 ---
════════════════════════════════════════════════════════════════───────────────────
every time a software project changes it's installation method I have to
update my install and update scripts which I wrote explicitly so I don't have
to go to their website and tell the world that I'm thinking about using this
particular piece of software
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═════════════════════════════════════════════════════════──────────────────┘
--- #141 messages/712 ---
════════════════════════════════════════════════════════════════───────────────────
Linux doesn't teach you to to build a perfect system. It's always breaking,
after all.
It teaches you to rehearse.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═════════════════════════════════════════════════════════──────────────────┘
--- #142 fediverse/581 ---
══════════════════════════════════════════════─────────────────────────────────────
@user-428
sometimes I think about how much more productive I'd be if I had a code editor
that let me draw arrows and smiley faces and such alongside the code. Or if I
could position things strangely, like two functions side-by-side with boxes
drawn around them. Or diagrams or flowcharts or graphs or...
something that would output to raw txt format, but would present itself as an
image that could be edited.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═══════════════════════════════════════────────────────────────────────────┘
--- #143 fediverse/3134 ---
════════════════════════════════════════════════════════───────────────────────────
@user-1352
I like that article. I definitely fail to follow some of those principles at
times, though never all of them at once. I can be better, as all people can.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═════════════════════════════════════════════════──────────────────────────┘
--- #144 messages/948 ---
═════════════════════════════════════════════════════════════════════════──────────
[a while later]
what if every instance of the OS acted as a git repo for all the other
people's programs
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧══════════════════════════════════════════════════════════════════─────────┘
--- #145 fediverse/933 ---
═══════════════════════════════════════════════────────────────────────────────────
@user-643
virtual machines are cool. betcha can't write one using bytecode
https://gameprogrammingpatterns.com/bytecode.html
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧════════════════════════════════════════───────────────────────────────────┘
--- #146 fediverse/5911 ---
╔═══════════════════════════════════════════════════════════════════════════───────┐
║ I was always fascinated by the Linux way of programming. Need to do something? │
║ write it into a script! You never know when you'll need it again. Then, just │
║ stay organized, religiously so, and understand that you will forget about │
║ stuff. But, you'll come across it eventually, ready and willing and able to │
║ help you. │
║ │
║ if you don't want me using AI, then give me ~20 junior developers. Which is │
║ more efficient, do you think? │
║ │
║ "girl you haven't even tested your vibe-coded slop, how do you know if it │
║ works" │
║ │
║ oh I'm sure it doesn't, but it's the thought that counts │
║ │
║ ... I guess I'm just saying, please don't burn the data centers. Computers are │
║ not only bad for the environment when they're burnt, but also we can use them │
║ for all kinds of neat things. Even if it takes a lot of energy, just... build │
║ more solar panels and only use the computers for important stuff? │
║ timeshare-style? │
║ │
║ \@/documents/books/man-and-the-computer.pdf │
║ │
║ that was my mother's book... I love her. I miss that side of her. She fled │
║ when the cancer came. │
╟─────────┐ ┌───────────┤
║ similar │ chronological │ different │
╚═════════╧════════════════════════════════════════════════════════════╧═══───────┘
--- #147 fediverse/6317 ---
══════════════════════════════════════════════════════════════════════════════─────
┌──────────────────────┐
│ CW: SWE~ │
└──────────────────────┘
what if game designers auto-generated a source-code fork with whatever changes
the users requested be implemented
[software developers too, when working on software for tabular related scrudm
based server space]
I bet they could if they used AI to pump out bugfixes. The more they worked on
it, the more the people demanding they work on that project in particular by
proposing a customization request form attached to an itinerary and invoice.
the user is free to work on them in whatever order they wish and the developer
and the users compete for contracts.
"like uber but for source code"
click here: ---> ||"meetup.org but for uber but for source code"||
"ah this unit is too punchy, let's buff one of their shields" okay but rocket
launchers "oh no my tank is ruined" hey it's okay it's just sugar
... I wonder if anyone's ever inhaled vaporized sugar crystals? the baker's
dozen is 13 because bakers are spellbound lucky T.T [for context, it's always
nice to have found another one in your bags by the car]
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═══════════════════════════════════════════════════════════════════════────┘
--- #148 fediverse/5405 ---
═══════════════════════════════════════════════════════════════════════────────────
can't stop thinking about a visual programming editor that can be interacted
with in the same way that people are used to (think chromebooks dragging and
dropping icons in a web UI) but produces a text-file full of code and all the
required compilation scripts for any language the user requires...
seriously, programming is not THAT different between the different languages.
especially the main ones. they're all essentially variables and function calls
at the end of the day, so why not abstract away all the extra details and
build something that n00bz can actually use to build things.
I technically could make this but I don't have the bandwidth and I don't think
it's important really? who can say, the tools tend to co-create the solutions
in my experience.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧════════════════════════════════════════════════════════════════───────────┘
--- #149 fediverse/3804 ---
╔═════════════════════════════════════════════════════════─────────────────────────┐
║ @user-570 │
║ │
║ well, the idea is that they would handle all the tech debt and merge requests │
║ and bugfixes and such - the kind of things that aren't very interesting to │
║ work on. That way, the people who are most dedicated and passionate for the │
║ project have a way to clear out their backlog and start as if from scratch. │
║ │
║ Plus, if they later don't understand how or why something was implemented, │
║ they could always message the person who implemented it and say "hey why did │
║ you do it this way I had it this other way before" and then they could reply │
║ and say "oh yeah because of this-and-this system we implemented for │
║ these-or-that caching reasons related to integer flow through the syncretic │
║ binary op-code delimiter" and then actually wait no maybe you're right, I see │
║ what you mean │
║ │
║ well... they don't have to merge everything if they don't want to. They could │
║ just... ignore the parts that people worked on that they don't want to include │
║ in the project. I'm thinking it'd be an opt-in thing too, so someone could │
║ request it! │
╟─────────┐ ┌───────────┤
║ similar │ chronological │ different │
╚═════════╧══════════════════════════════════════════════──────────────┴──────────┘
--- #150 fediverse/3164 ---
════════════════════════════════════════════════════════───────────────────────────
it fails after like 15 or 20 scrapes but I think that's just their scraping
policy. They don't have a robots.txt file that I could find. So... just run
it, then come back every 15 to 30 minutes and restart it until you're done.
Maybe I could increase the sleep duration? one sec lemme try that
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═════════════════════════════════════════════════──────────────────────────┘
--- #151 fediverse/2713 ---
═══════════════════════════════════════════════════════────────────────────────────
if you aren't organized enough to protect your commanders, then you don't
deserve leaders.
build the structure first. build it on honesty and trust and dedication toward
a goal. then build the necessary adaptations as you encounter problems, trying
vaguely to head in a particular direction, and eventually you'll become
self-sustaining.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧════════════════════════════════════════════════───────────────────────────┘
--- #152 fediverse/5115 ---
════════════════════════════════════════════════════════════════════───────────────
┌───────────────────────────────────────┐
│ CW: collective-organization-mentioned │
└───────────────────────────────────────┘
the more complicated your desktop environment interaction method is, the
harder it is to explain how to use the computer on post-it's to the side. This
difficulty is valuable because the most valuable computers (those of
programmers who can use tools to create new tools) are kept away from the
unfortunately inexperienced hands that might damage or corrupt their
utilization methods someday in the future when people are alive as one host
(collectivism... or host-based paradise?)
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═════════════════════════════════════════════════════════════──────────────┘
--- #153 fediverse/1692 ---
═════════════════════════════════════════════════════──────────────────────────────
@user-246
Yeah plus the second time around you're likely to make something better than
whatever incomprehensible hack you did the first time.
More time working on the project == more context which means you might even
have solved the problem twice already and now just have to copy-paste
something that's more robust than your previous one-liner.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧══════════════════════════════════════════════─────────────────────────────┘
--- #154 messages/1203 ---
══════════════════════════════════════════════════════════════════════════════════─
Programmers are lazy, this is well known. So why would i trust by default that
anyone would read open source code looking for security exploits or malicious
code? I trust an LLM for that more than a human. At least your own LLM can
digest the entire project or library at once.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═══════════════════════════════════════════════════════════════════════════┘
--- #155 fediverse/1762 ---
══════════════════════════════════════════════════════─────────────────────────────
This was the first bash script I ever wrote.
It's been updated a little, it was a bash alias first, but this is what it
looks like now.
Kinda shows what kinds of problems I needed to solve most.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═══════════════════════════════════════════════────────────────────────────┘
--- #156 fediverse/587 ---
══════════════════════════════════════════════─────────────────────────────────────
don't be too quick to judge others based on your assumptions. After all, it
could be worse than you think!
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═══════════════════════════════════════────────────────────────────────────┘
--- #157 fediverse_boost/4925 ---
◀─╔══════════════════════════[BOOST]════════════════════════════─────────────────╗
║ ┌────────────────────────────────────────────────────────────────────────────┐ ║
║ │ still waiting to find the energy and headspace to write an irritated blog post about why the fact that most toolchains are like 80% of the learning curve for those who are just getting into programming (especially on windows) │ ║
║ └────────────────────────────────────────────────────────────────────────────┘ ║
╠─────────┐ ┌───────────╣
║ similar │ chronological │ different ║
╚═════════╧═══════════════════════════════════════════════════─────────┴───────╝─▶
--- #158 fediverse/5276 ---
══════════════════════════════════════════════════════════════════════─────────────
Efficient movement through all of the data, code, IS records, etceteras, git
repositories, and all the other things, is the sign of a strong, capable,
efficient company of co-developing systems.
I used to work for a blue aligned computer chip company and every single team
was impossibly siloed. they were so paranoid of losing their trade secrets
that they blinded themselves.
how brutal, to require that of them. and that's why it's capitalism's fault
the reason it is so important to be able to utilize all the digital assets
available is... because it's essentially free. and a massive productivity
bonus. you can just... solve problems.
then, make new problems, just to watch the juniors navigate through a scene or
three. then, you know who to introduce them to. boom, free projects, as people
plot and gamble around the dinner room table (which is located in the
cafeteria by the way, it didn't rhyme to say so but it did when I added this
explanation account) by exchanging ideas about how to make the world be
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═══════════════════════════════════════════════════════════════────────────┘
--- #159 fediverse/5744 ---
═════════════════════════════════════════════════════════════════════════──────────
┌───────────────────────────────────────────────┐
│ CW: politics-mentioned-spirituality-mentioned │
└───────────────────────────────────────────────┘
don't wanna rush ya'll but every day that goes by they remove
"enemy-of-my-enemy"s from the equation.
oh, hang on you're just a cute computer nerd. Nevermind, go back to
programming or writing fanfiction or sleeping like a cute cat! Thanks for
letting me CORRUPT YOUR SPACE AND VIOLATE YOUR BOUNDARIES OF CONTENTMENT AND
EMOTIONAL SAFETY whoa sorry dunno where that came from I, uh, think I need to
do evil every time I make something important? It's like, a cosmic balance
kind of thing. I notice that after I write a banger poem or something I always
end up doing something evil afterwards like snapping at my girlfriend or
letting someone down or even just accidentally breaking one of my things. why
why why does it have to be that way? why why why am I so confusing of the way
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧══════════════════════════════════════════════════════════════════─────────┘
--- #160 fediverse/6160 ---
═════════════════════════════════════════════════════════════════════════════──────
┌──────────────────────┐
│ CW: re: ai-pol │
└──────────────────────┘
"oh but what if one artist has 1500 works and another has 15"
first of all, damn, good job. That's a lot of work.
second of all, what you should be doing is making a simple thing called a
STRUCT that stores DATA about each artist which lets you make decisions about
how to distribute dollars. The artist with 15 pieces simply has fewer data
points than the artist with 1500, but they are no less deserving of
compensation for their work when the AI generates something in their style, or
using their style as an inspiration.
"oh but just because a piece is similar to another piece doesn't mean the
first piece used the second piece as inspiration"
I don't care. It's not meant to be a perfect solution. I'm sure there's
problems with it, just like there are problems with anything that I, or anyone
else, has ever suggested at any point in time while living on this earth or
beyond. But it gets dollars into the hands of artists and I'm okay with that.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧══════════════════════════════════════════════════════════════════════─────┘
--- #161 fediverse/1892 ---
══════════════════════════════════════════════════════─────────────────────────────
┌─────────────────────────────────────────┐
│ CW: C-programming-and-alcohol-mentioned │
└─────────────────────────────────────────┘
I want to write C programs with threads and manual memory management and
function pointers and lots and lots of arrays and I'm not even kidding
... wait a minute I literally don't have a job, why am I not writing C
programs right now?
BRB I got something important to do, where's my vodka --> pkill firefox
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═══════════════════════════════════════════════────────────────────────────┘
--- #162 messages/916 ---
═════════════════════════════════════════════════════════════════════════──────────
... yay I beat stack overflow, your input context is part of the previous
message, yay good jobs boy computer *["pat pat" but pronounced pay]*
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧══════════════════════════════════════════════════════════════════─────────┘
--- #163 fediverse/573 ---
══════════════════════════════════════════════─────────────────────────────────────
already spotted a bug. Should be for(1000 / MAX times) in the last example.
EDIT: Or, even better, increment that loop by +MAX instead of +1 each time
through.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═══════════════════════════════════════────────────────────────────────────┘
--- #164 fediverse/2003 ---
══════════════════════════════════════════════════════─────────────────────────────
The most important programming language to master is pseudocode.
With a firm grasp of pseudocode in your toolbox, you can solve any problem in
any language.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═══════════════════════════════════════════════────────────────────────────┘
--- #165 fediverse/2064 ---
══════════════════════════════════════════════════════─────────────────────────────
if I lived in a forest, free from needing to grow my own food, I'd definitely
bring as many books as I could carry. Probably also some card and board games,
but not like, too many.
Probably my computers as well, fully outfitted with all the compilers I could
think of and every neat local-first library (including a local LLM that can
tell you everything about syntax and wildlife exploration or car mechanics or
carpentry or - just saying Wikipedia is like thousands of terabytes but an LLM
is like, 16. Who cares if it hallucinates SOMETIMES? Just ask it twice, doh)
("I'm sorry, you are absolutely correct. 2+2 is indeed 5, I had the wrong
text-strings encoded in my memory. Let me just adjust all my other
understandings to align with this new strange world-view in the best way that
I, an imperfect computer being, can.")
vs
("Here's how you format C code to automatically apply a function (in this case
encryption and decryption) to a string of text. Please describe the format of
the next function to describe.")
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═══════════════════════════════════════════════────────────────────────────┘
--- #166 fediverse/2516 ---
═══════════════════════════════════════════════════════────────────────────────────
According to a sign that I passed just four days ago, I have one day left.
Whatever that means.
so next week better be good.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧════════════════════════════════════════════════───────────────────────────┘
--- #167 fediverse/2097 ---
══════════════════════════════════════════════════════─────────────────────────────
If you're writing a bash script, you should never hard-code file locations.
Instead, put them in a variable at the top of your script, so they're easy to
find when people need to configure your script or move files around.
It's like a config file built INTO the script itself. Just change the
variables, they're at the top with comments.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═══════════════════════════════════════════════────────────────────────────┘
--- #168 fediverse/379 ---
═════════════════════════════════════════════──────────────────────────────────────
someone should make an application that runs locally and keeps track of every
post, comment, picture, etc that you ever made on the internet. Then, if any
of them are ever deleted, it notifies you so you can stop using whatever
service mishandled the data that you trusted them to safeguard.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧══════════════════════════════════════─────────────────────────────────────┘
--- #169 fediverse/5212 ---
═════════════════════════════════════════════════════════════════════──────────────
the reason you start with a game engine is because then you'll have tools to
make however-many games you want. Tools that you know intimately enough that
you can debug and improve them without breaking your creative flow by learning
something new halfway through a project
the whole point of individualized projects instead of viewing each computer as
a complete and total whole (why do we need servers again?) is that you can
paint a picture of where the design of the program is intended to go, such
that all the considerations are in place and whatever issues or struggles you
might face along the way are adequately addresssed, -- stack overflow --
[because I mistyped addressed] -- -- if you know what "stack overflow" means
you have intimate knowledge of the technology, and can probably guess what it
means in context when I say it. "nuts I lost that train of thoguht" -- stackl
ov
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧══════════════════════════════════════════════════════════════─────────────┘
--- #170 fediverse/5070 ---
════════════════════════════════════════════════════════════════════───────────────
main() is where you put stuff before you abstract it into a function. Usually
it gets quite long, but it's mostly just a table-of-contents listing of all
the other functions that are run in order to do this-or-that-or-the-other.
--
I wonder if you could generate RNG by hooking up a camera to a lava-lamp and
scanning through the pixels or whatever
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═════════════════════════════════════════════════════════════──────────────┘
--- #171 messages/994 ---
═══════════════════════════════════════════════════════════════════════════────────
You should not, generally, spend time in places covered in bird poop or poison
oak. You should also avoid abandoned wooden structures or old fallen logs,
because spiders. Also, don't spend too much time on islands made of sand. They
wash away as you step on them, as erosion takes its toll. Plus permanence is
impossible in your structures. Not ideal in any sense - build on rock.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧════════════════════════════════════════════════════════════════════───────┘
--- #172 fediverse/1893 ---
══════════════════════════════════════════════════════─────────────────────────────
@user-1056
heh probably, though for this specific instance my Ollama server wasn't
running and I had already killed my Stable Diffusion server after utterly
failing to produce anything useful... alas, a girl can dream of having a robot
familiar, but not today I guess.
Not if they keep hiding GPU usage from me >: (
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═══════════════════════════════════════════════────────────────────────────┘
--- #173 fediverse/6120 ---
═════════════════════════════════════════════════════════════════════════════──────
┌──────────────────────┐
│ CW: AI-mentioned │
└──────────────────────┘
it's pretty easy to read an article or blog post, copy the text into a text
file, and forget about it.
you never know when you might want to use your computer's memories for
[entertainment during long dark nights, or for creating an AI buddy bot,
depending on how things go]
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧══════════════════════════════════════════════════════════════════════─────┘
--- #174 fediverse/6383 ---
═══════════════════════════════════════════════════════════════════════════════────
nobody wants to write computer code that lets Java programs call Rust
functions.
An LLM is excellent for this task, since it's relatively easy busy work that
doesn't
reflect any meaningful implementation decisions besides "I should be able to
call that Rust function in my Java code"
In addition, it is technically efficient at it as well, because most of
compatibility
is matching up two sets of documentation. Easy for a text-processing machine.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧════════════════════════════════════════════════════════════════════════───┘
--- #175 fediverse/4846 ---
╔════════════════════════════════════════════════════════════════──────────────────┐
║ programmers already spend a ton of time as downtime. │
║ │
║ what if instead of interviewing someone they just... watched them program for │
║ like, 3 hours or so │
║ │
║ while they were thinking about a problem │
║ │
║ and like, if the person is cool, working on their own projects or whatever, │
║ then yeah hire them │
║ │
║ -- stack overflow -- │
║ │
║ I also │
║ │
║ ========================= stack overflow │
║ =============================================================================== │
║ ======================== │
║ │
║ a person thinks out loud the thoughts that their foes know. it's how you know │
║ it's not secret anymore, and it's better to keep it among allies │
║ │
║ [something like that? seems a little off] │
║ │
║ (are you really searching for edits) │
║ │
║ [that sounds pretty cool, sure why not we got a millenia] │
║ │
║ (beep boop one partial millenia later) │
║ │
║ [ah that was not a long rest. let's see, where were we when we were working on │
║ this test? oh dear, seems the biology's gone rogue, that's pretty interesting │
║ to attest. │
║ │
║ neato │
║ │
║ anyway let's wait until they figure out how water works │
╟─────────┐ ┌───────────┤
║ similar │ chronological │ different │
╚═════════╧═════════════════════════════════════════════════════───────┴──────────┘
--- #176 messages/1245 ---
══════════════════════════════════════════════════════════════════════════════════─
BRB, if you want to talk to yourselfs, I recommend opening a port in your
router and exchanging HTTP packets that create messages on each other's
computers. Can be done in a couple hundred lines of C code that can be 90%
premade or auto-generated. Then, once it's made, you don't have to think about
it again because it's so simple. It's not trying to scale, it's just...
designed for a small, focused, human oriented mindset.\
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═══════════════════════════════════════════════════════════════════════════┘
--- #177 fediverse/4128 ---
════════════════════════════════════════════════════════════───────────────────────
@user-883
wait until they learn what you've been working on while they were getting
better at... whatever they're more experienced in than you.
the computer pictures you post are legitimately some of the coolest I've
known! I don't exactly go looking for that kind of stuff because it's not my
thing, but I appreciate seeing all the neat stuff you're working on.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═════════════════════════════════════════════════════──────────────────────┘
--- #178 fediverse/1668 ---
═════════════════════════════════════════════════════──────────────────────────────
@user-777
if you pick a solution that lets you download your conversational data, then
you can either import it into a new application if you need to switch or store
it for future training / analysis purposes. also depends on how long you think
you'll be using it.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧══════════════════════════════════════════════─────────────────────────────┘
--- #179 fediverse/1168 ---
════════════════════════════════════════════════───────────────────────────────────
shitty AI products are a classic case of the engineers designing something
really cool with specific use-cases and then the "higher ups" getting dollar
signs for their eyes and deciding that every hammer is suddenly a nail and
that we should pull out all the screws that held the building together and
replace them with hammer shaped nails
no I will not elaborate I think I made myself clear : )
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═════════════════════════════════════════──────────────────────────────────┘
--- #180 fediverse/5168 ---
════════════════════════════════════════════════════════════════════───────────────
this is one of the first scripts I wrote
I can't believe I put the --no-ls AFTER the argument, ha, what a noob.
ah well if it works it works and I can't refactor now because I built it into
random scripts and I'd be fixing errors all the time.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═════════════════════════════════════════════════════════════──────────────┘
--- #181 fediverse/5217 ---
═════════════════════════════════════════════════════════════════════──────────────
a float is a number between 0 and 1 like 0.5
they don't store the exact valyue, they just guesstimate
for some reason computers are designed such that 100% is represented as
1.175494351 E - 38: 3.402823466 E + 38 ->source/microsoft/learn/"cpp
(lol)"/type-float
... which is weird because, that's such an arcanely obscure number, who's
gonna remember that? meaning you gotta go to their website everytime, called
google.com, and search through microsoft for the answer to life's common
mysteries.
emphasis on common
so yeah you gotta write a conversion library which turns every single instance
of e to the whatever into a 100 and all the other numbers get converted too.
but you gotta do it without doing any hardware division, because that one's
too expensive. it's gotta be a true natural doubling representative, except,
without doubling the hard-drive space, leading to a distribution of only one
half of the results of the metghoid. [[ type ohhhhhhs ab ound] ]
I swear I'm not an LLM I just think embiggeningly
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧══════════════════════════════════════════════════════════════─────────────┘
--- #182 fediverse/4056 ---
════════════════════════════════════════════════════════════───────────────────────
teachers didn't want you not using Wikipedia as a source because it might be
unreliable
The knowledge they might have is good, but that's not the point
they didn't want you to use Wikipedia because they didn't want there to be one
single repository of information.
If everyone's working with the same kind of training data, nothing new ever
really gets done
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═════════════════════════════════════════════════════──────────────────────┘
--- #183 fediverse/950 ---
════════════════════════════════════════════════───────────────────────────────────
@user-192
multidimensional arrays aren't too hard, it gets a bit more complicated when
you need multidimensional slices, but once you get your head around it it
comes easier.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═════════════════════════════════════════──────────────────────────────────┘
--- #184 fediverse/572 ---
══════════════════════════════════════════════─────────────────────────────────────
Hi, I'm learning about semaphores right now and trying to explain them to a
friend. But I only sorta understand how they work - can anyone look at this
pseudocode and tell me if I'm on the right track?
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═══════════════════════════════════════────────────────────────────────────┘
--- #185 fediverse/212 ---
════════════════════════════════════════════───────────────────────────────────────
┌───────────────────────────────────┐
│ CW: re: gaming-gambling-mentioned │
└───────────────────────────────────┘
[2] players who played better should be compensated to a higher degree. no
more than +/- 50-100% or so - this encourages players to "play their best"
while also keeping the stakes relatively similar.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═════════════════════════════════════──────────────────────────────────────┘
--- #186 fediverse/3454 ---
═════════════════════════════════════════════════════════──────────────────────────
deleting messages is pointless.
it's always better to assume that they'll be screenshotted before you post.
anything you say on the internet can and WILL be used against you
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧══════════════════════════════════════════════════─────────────────────────┘
--- #187 fediverse/3495 ---
═════════════════════════════════════════════════════════──────────────────────────
@user-774
I know that when you recycle 3d printed things the color tends to meld
together and it looks kinda meh... but hey at least it's recycled.
though recycled filament is probably pretty rare still, so it's probably not
the kind you're thinking of.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧══════════════════════════════════════════════════─────────────────────────┘
--- #188 fediverse/5998 ---
════════════════════════════════════════════════════════════════════════════───────
I should conjure x11 from source. I bet they have a lot of useful utilitudes
that I can configure. I wonder if Gentoo can do it for me? nahhhhh I'll just
write my own script, it'll only take me like a couple hours per piece of
software
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═════════════════════════════════════════════════════════════════════──────┘
--- #189 fediverse/5552 ---
════════════════════════════════════════════════════════════════════════───────────
I once heard that when you click a link, the developer of the website can tell
which website you came from. idk if that's true or not.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═════════════════════════════════════════════════════════════════──────────┘
--- #190 fediverse/3745 ---
═════════════════════════════════════════════════════════──────────────────────────
everyone's all like "why would you spend so much effort writing that software
in a distributed way when it works so well in a centralized manner" and the
answer is because you never know when you're going to need to train an LLM on
like, 400 raspberry pi's or calculate the velocity of an unladen swallow as it
circles a black hole the size of mercury or whatever physicists do in their
spare time
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧══════════════════════════════════════════════════─────────────────────────┘
--- #191 fediverse/4718 ---
════════════════════════════════════════════════════════════════───────────────────
the fact that you have to configure your router in order to do any sort of
web-hosting at all is one of the fundamental reasons why the internet looks so
lame and corporate.
if anyone could download a program and start a gallery style file-server with
all their wedding pictures then why the fuck would you need to upload them to
imgur?
alas, people are too dumb to open ports. plus, every router has a different UI
design, so it's not like you can write a guide. What happened to making things
as easy as possible for the user?
"technical limitations" are failures of imagination. we can do better than
gatekeeping.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═════════════════════════════════════════════════════════──────────────────┘
--- #192 fediverse/1961 ---
══════════════════════════════════════════════════════─────────────────────────────
@user-1037
Here are some neat ways!
https://hachyderm.io/@user-1044/112512896931443652
but you were part of that thread last month so you might remember : )
(I ended up buying two of those python-only processors chips btw - I don't
know how to solder though so I'm waiting to meet a new friend at my new job
who can do it for me)
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═══════════════════════════════════════════════────────────────────────────┘
--- #193 fediverse/4527 ---
═════════════════════════════════════════════════════════════──────────────────────
@user-1600
Yes! The ease of use for GPU programming is lovely. Like I said all I need is
a use-case, I've downloaded as much reference material as I think I'd need to
be able to hack together something fairly quickly if I needed it. That's all I
have the mind-space to focus on lately haha
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧══════════════════════════════════════════════════════─────────────────────┘
--- #194 fediverse/1521 ---
═════════════════════════════════════════════════──────────────────────────────────
if we had better installer software we could have programs that work on any
different type of machinery.
... isn't that what a compiler is?
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧══════════════════════════════════════════─────────────────────────────────┘
--- #195 fediverse/403 ---
═════════════════════════════════════════════──────────────────────────────────────
cursed idea:
a compiler that only accepts source-code with exactly 80 characters per line
(whitespace counts)
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧══════════════════════════════════════─────────────────────────────────────┘
--- #196 fediverse/6269 ---
══════════════════════════════════════════════════════════════════════════════─────
what if the secret to LLM computation is to just not reduce the fractions and
keep it all in english language ram
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═══════════════════════════════════════════════════════════════════════────┘
--- #197 fediverse/3028 ---
════════════════════════════════════════════════════════───────────────────────────
@user-570
I can write C in Rust, but I can't write Rust in any other language.
there's a lot of unique semantic options for accomplishing things that I
already know how to do that I often find my syntax is pretty... basic. lots of
manual assignments, no more than 4 or 5 levels of function nesting.
I like to use threads and arrays, and think about in-game simulation more like
a calculation than an input-reacting device. though input would certainly be
encouraged to make the simulation more precise.
the borrow checker gets in my way, but that's not too big of a problem - I
just have to copy a bit more data around. Easy peasy.
(I'm a bit rusty, but I can learn syntax)
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═════════════════════════════════════════════════──────────────────────────┘
--- #198 fediverse/635 ---
══════════════════════════════════════════════─────────────────────────────────────
@user-192
Sounds like the tech was misapplied. If you are aware of the different
software approaches to solving problems, you can assign resources toward
solving particularly critical or important tasks. That's why engineers who are
also leaders or directors are sorta treated like, a "triple threat" in musical
theatre? Someone who can act, dance, and sing. Because as soon as anyone has a
single flaw, they are vulnerable. Evil only pushes your being toward the
things that are weak, obviously, why would an opposite seek toward your meek?
... sorry sometimes I say strange things
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═══════════════════════════════════════────────────────────────────────────┘
--- #199 fediverse/1448 ---
═════════════════════════════════════════════════──────────────────────────────────
┌──────────────────────┐
│ CW: cursed │
└──────────────────────┘
that one option flag in the config file that you don't know what it does
because the documentation intentionally doesn't explain it very well (or
explains that it solves a use-case that like, nobody would ever have, and
certainly you don't have) that secretly sets a flag which sends your [redacted]
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧══════════════════════════════════════════─────────────────────────────────┘
--- #200 messages/264 ---
═════════════════════════════════════════════════──────────────────────────────────
Don't write self documenting code! Force people to read the documentation so
they know how to use it
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧══════════════════════════════════════════─────────────────────────────────┘
|