I would have kept scrolling, but you're doing this thing where you are making "shhhhhh!" noises that are louder and more annoying than the person that was whispering.
Decisions, apparently without regard to the importance of the decision, consume a fixed amount of blood glucose in the brain. People avoid expending energy when the benefit of the task is unclear, and there's a Catch-22 when the task is "recognize the benefit of the task".
@Zerglingman@fedilist@pwuille Reasonable. I think there's no solution for people that expect to have to invest more to even get started: there's a lot of stuff where the barrier to entry is way lower than the perceived barrier to entry and it's difficult to communicate that.
@Zerglingman@fedilist@pwuille It takes like a year for people to figure this out, like even with tech people the mental model is "achieve viral" and "engagement numbers" and "if this platform does not show progress in the KPIs and start lowering their user acquisition cost then it won't survive".
> getting enough network effect to bootstrap a new social media site
The best part is that you don't have to care about that. There are people here, you can talk to them. It doesn't cost anything but juice to run the machines, so it's less tenuous than a commercial endeavor where it doesn't just have to break even but it has to capture enough of the market that the investors think it's worth their time.
> recent events on Twitter
"Recent" as in the last decade of events at Twitter, I think, but your mileage may have varied. We really should send Elon a thank-you note for sending so many people this way; there were so many new servers springing up that @fedilist started flooding the timeline. twitter_sux.png
> And, remembered that I've never really looked at ruby. (but I've often heard it talked about)
Oh, wow. It's basically what I have been using for work since forever, so it feels boring to me sometimes, like not really worth mentioning. But it's really great for mangling arrays and strings, lot of easy support for talking to random databases (SQL or Redis or whichever), very nice REPL, so that makes it useful for interactively poking at data. There's some disdain for it, but it's like Lisp, Smalltalk, and Perl had a baby. Like, the fact that you can pass a block to gsub is already enough to put it on top of most string-manglers:
irb(main):001:0> i=0; "This is a test of the string substitutions.".gsub(/i/) { |m| "[number #{i+=1}]" } => "Th[number 1]s [number 2]s a test of the str[number 3]ng subst[number 4]tut[number 5]ons."
It's what I usually reach for if it looks like awk won't cut it.
> Any thing else you can point me at to see the shine of ruby?
I still like "_why's (Poignant) Guide to Ruby", but when he pushed that out, I already knew Ruby. The way I learned was I half-read and half-skimmed the Pickaxe book (which is now notorious for being a terrible way to learn the language) and basically having done some Perl and some Common Lisp, I was able to more or less guess how things like map worked, and I hung out on the mailing list. Back in The Day, if someone managed to use Ruby at work, they'd send email to the list, and people were on there puzzling things out or making up challenges or doing code golf.
[1,2,3].map{|i|i**2}.inject(&:+)
I think the best way to learn Ruby is the REPL. Like fire up irb and go for it. Matz's goal was to make a language that was fun to use, and it's pretty successful at that.
_why is really fun. Left when he got doxed. Like, DFE-and-nuke left. He explained some in the book he released "posthumously".
> I noticed some of the things, that require leg work to do in JavaScript, are the default in Ruby.
This is one of the things I like a lot about it: I don't want to rewrite some things that are primitive operations in Lisp or Perl or even awk, C, whatever. That also makes it very convenient for interactive use, like I'm looking at a new dataset or a new Postgres DB or something like that, I don't have to bash out a lot of basic stuff to do basic analysis or data exploration.
> Why does python even exist? (though after talking with a friend, the answer seems to be, people prefer a simpler smaller syntax)
Neither was very popular at the time they were created, so they probably weren't aware of each other, ha. Ruby is slightly older but I think it's by months. The languages appeal to different sensibilities, though, and that has made different communities spring up around them, which means different libraries and whatnot, and so some stuff is lower-friction in one language versus the other. Python's not likely
> My primary interest in coding these days, is either a micro controller, or to make something with graphical user interaction.
Ah, you might be interested in mruby, designed to be an embeddable subset of the language. Lua-but-it's-Ruby; I believe it runs on some microcontrollers.
To be honest, if I am doing a GUI with Ruby, I usually just open up a pipe to wish (though I have played with the SDL library a lot). I don't think I have attempted to use ruby2d before.
> So, I am guessing there will be some kind of "make Window current context" command to be covered.
I had a look at https://www.ruby2d.com/learn/get-started/ and it's actually pretty cool, looks like fun. Their sample code runs for me. I don't know where you got your sample code from, but it looks like they create the basic window and then merge that with the top-level object, and it looks like `Window` gives you (per https://www.ruby2d.com/learn/window/ ) a reference to the Window singleton.
You can actually tell it's added things to the toplevel by doing this in irb:
@hazlin Yeah, Object.methods is just the methods on the object that represents the Object class. `Object.class == Class` yields `true`.
pistolero :thispersondoesnotexist: (p@freespeechextremist.com)'s status on Saturday, 23-Dec-2023 20:35:29 JST
pistolero :thispersondoesnotexist::elliot: Gonna hack that gibson. :elliotthinking: barrier is clunky but when it works, it's beautiful. :mycomputer: It's not installed. :elliot: Okay, install it. :mycomputer: libdaemon. :elliotthinking: What the fuck do you even need that for? :mycomputer: ... :elliotthinking: Well? :mycomputer: ...avahi. :elliot: Fine, whatever. Where's the source for libdaemon? :duckduckgo: I have no fucking clue. :elliotthinking: Debian. Debian ships this horrorshow and they will have the source. :duckduckgo: I'll show you https://packages.debian.org/sid/riscv64/libdaemon-doc and you can just kinda click around until you find what you want. :debian: libdaemon-dev0. :elliotsmile: Hilarious. Where did it come from? :netscape: ...I don't wanna say. It's the website named after a thing that makes processes crash. :elliotmanic2: Just tell me. :debian: ...0pointer...dot de... :elliotmad: Look, he can't have written only bullshit. He must have made a good program some time. :netscape: "libdaemon just abstracts the goddamn fork()/chdir()/fork() dance. It's useless. It's a purely masturbatory dependency. It was probably copied and pasted from the bottom of a man page. The latest release is from 2009. None of this fluoride builds without avahi and avahi relies on a library that gets no updates." :elliot: Whatever. It probably doesn't need one. The daemonization dance has not changed since the 90s. :mycomputer: It won't build. :elliotthinking: Why not? :mycomputer: It says I'm not a recognized architecture. :elliotmanic: Stupid fucking...what is the point of any of this if autotools won't build except if the OS/CPU combination is on a whitelist? :mycomputer: How do I compile this program? :elliotsmile: That's easy, it's just the stupid config.sub thing. You just drop in a new one. That's probably what Debian's doing anyway, they have a RISC-V build of this. :mycomputer: I made libdaemon! :elliot: Okay, install barrier. :mycomputer: No. Now I refuse to install avahi. :elliotmanic: Why? :mycomputer: Because of the-- :elliotfurious: GODTDAMN AF FUCKING FUCK IT MAKES DNS QUERIES WHY IS IT SUCH A SHIT LIBRARY I DON'T NEED IT :mycomputer: Do you think Lennart would-- :elliotmad: BUILD JUST `barrierc` AND `barriers` THOSE DO NOT EVEN LINK AGAINST ANY OF THAT SHIT :mycomputer; Do you want to placate cmake? :elliotdead:
@ins0mniak@gentooP@lemi New York making decisions is the insanity here, man. Tijuana is cleaner than New York, a Blue Bottle coffee in SF is cheaper than Starbucks is in NY. There's no getting around it, man.
@ins0mniak@gentooP@lemi Yeah: the midwest taught it how to become cornbread and that was it, the ultimate in pizza technology. It's not worth touching otherwise.
BOFH of freespeechextremist.com, and former admin. The usual alt if FSE is down: @p@shitposter.club, and others. I am no longer the admin. FSE has no admins now. Welcome to the FSE Autonomous Zone.I'm not angry with you, I'm just disappointed.I am physically in Los Angeles but I exist in a permanent state of 3 a.m.I have dropped a bytebeat album, feel free to DM me for a download code or a link to a tarball: https://finitecell.bandcamp.com/album/villain . There is a chiptunes album there, too.Revolver is coming: https://blog.freespeechextremist.com/blog/revolver-kickoff.html