Show newer

IT curriculum should include way more ethics and social awareness

@gingerrroot kind of makes spontaneity a think of the past. I just don't interact physically with people. No hugs, limited handshaking, and I only call cashiers "Darlin'" after they have clearly addressed me as 'Hon', 'Sugar', 'Dear', or 'Sweet tea' (or some other version).

Just don't do things. Much safer.

i find it very interesting that consent is mainly discussed within sexual scenarios

but i promise you need consent for any/every interaction online and offline. it’s not just for sex. it’s for hugs, for DMs, for flirting, for following, for collecting personal information too

just like. ask before doing things u giant doinks

@namark related processes help make new pathways in the brain. Thinking about one will help with "the way you think" and should help with the other consequently. At least that is my theory :0

exploiting intellectuals for my mathematical needs 

@namark glad it could be useful!

exploiting intellectuals for my mathematical needs 

While pondering about a pointless optimization of a pointless feature of one of my pointless projects, I stumbled upon a similar to this one
qoto.org/@Absinthe/10319412553
but different.

A couple of ways to put it.

Colloquial(mathy jargon):
Given a prime factorization of a number, generate all of its factors(prime or otherwise) in ascending order.

Down to code(with fumbling):
Given a multiset(in ascending order) of prime numbers, generate all numbers... whose prime factors are subsets of that set... too mathy?... maybe then "that can be obtained by multiplying numbers from that set together"... in ascending order.

Examples:

Input: 30 = (2,3,5)
Output: ([1,]2,3,5,6,10,15[,30])

Input: 60 = (2,2,3,5)
Output: ([1,]2,3,4,5,6,10,12,15,20,30[,60])

@p @yohanandiamond @l0wk3y@freespeechextremist.com But does it support TCO :)

@Absinthe @yohanandiamond @l0wk3y The nicest thing about it is the CSP stuff, I think. It's also ruthlessly simple. Ken Thompson is involved, he has done a lot of the language design and a lot of the compiler.

@p @yohanandiamond @l0wk3y@freespeechextremist.com I absolutely love Rosetta Code. Got introduced when I was involved in an Ada to C++ converter project. It is super awesome, even just to peruse for finding out different languages exist.

@Absinthe @yohanandiamond @l0wk3y Oh, you might like rosettacode.org, then. It's full of problems like that, and if you are learning something less common, there will be some algorithms that you can implement pretty easily.

@yohanandiamond I am using Python, but it is pretty language agnostic. I have seen results posted in just about every language I could think of.

Oh, one thing, @Absinthe what programming language are you using for AoC? I was using Rust.

@yohanandiamond @p @l0wk3y@freespeechextremist.com I encourage you to do so, at least a few days worth.

@Absinthe @p @l0wk3y I started late (on AdventOfCode) and did only one and a half day :P
I had to travel too, Internet was bad and I ended up losing motivation. I'll try to go back to it when I go back home.

@p @yohanandiamond I have fed my wife and children with C++ so there's that :) Fun is in the eye of the beholder. C and C++ can both be fun depending on what you do with them

@yohanandiamond C++ is, in my experience, not very enjoyable.

:dmr: C is very fun, though. :ken:

@yohanandiamond @l0wk3y@freespeechextremist.com @p a language that has unit tests as first class items ... that's definitely interesting. There is a local guy here that teaches and he really has a super massive hardon for Golang... I must give it a shot some day for sure

@p @yohanandiamond @l0wk3y@freespeechextremist.com I still want to find a good all purpose "Toy" program. I might dig through some of the AdventOfCode stuff this year, as I loved some of his problems. Getting interrupted half way through with my Tahiti trip (poor me :D ) kind of stopped me at day 10 for the time being, but I liked the potential of his IntCode computer and things like that.

Who knows, soon time to get back to coming up with more problems again. Feel free to participate or suggest some as well.

@p @yohanandiamond @l0wk3y@freespeechextremist.com Sure you can, as well as other solutions too. 10 programmers 11 Solutions!

Show older
Qoto Mastodon

QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.