« first day (3564 days earlier)      last day (1290 days later) » 

2:33 AM
@ais523 wow, that's awesome
 
 
1 hour later…
3:35 AM
I was looking through my notes from class on the different types of programming errors and found this gem:
Syntax: You made a typo
Runtime: You did a stupid thing with some sort of value/object during execution
Logic: Only God knows what you did.
3
Amazing
 
 
2 hours later…
5:33 AM
Okay thank frick LoTM is finally something stack based
But who's making the meta post?
Also, who's making the Forth chatroom?
 
@Lyxal Doesn't have one?
@Lyxal lol why
 
nope
 
oh well why not make it then
 
@Razetime because I'm one of those people who pretty much only gets imperative/(whatever normal langs are called) and stack langs
 
someone gotta take the action first
Dlosc will probably make the meta post
 
5:57 AM
@Lyxal come Forth and use forth
 
after tomorrow i will
CMQ: Without test cases/clarifications, what's your shortest challenge?
 
6:54 AM
@Lyxal This one
 
7:52 AM
@Lyxal if details like rules count as part of "clarifications", then print titin
 
@HyperNeutrino rules don't count so that's a valid answer
 
@Lyxal that's not an answer, it's a question :))) /s
okay. yeah i don't think i have any shorter than that lmao
 
 
2 hours later…
10:10 AM
can someone explain to me why the voltage isn't 13V?
anyone any good at electricity?
2
Q: What is the voltage drop across the 10ohm resistor?

Rakshith Krish What is the voltage drop (V1) across the 10 ohm resistor? Can I use Voltage division to get V1? Like V1 = (20 x 10)/(10+4) But when I use nodal analysis and mesh analysis I get different answer (12.30V). Which one should I use? Or have I understood the voltage division method incorrectly?

 
CMC: Given a Boolean matrix, move all 1s to a random Moore neighbour. Distribution isn't important as along as all possible outcomes can happen.
 
I get 1.75A through the 4 ohm resistor, of which 1.3A (obviously) goes through the 10 ohm resistor and 0.45A (because the voltage drop is only 3V) through the pair of parallel resistors
oh I see what I did wrong, I miscalculated the parallel resistance
it would be 13V if you replaced the 5 ohm resistor with a 20 ohm resistor
 
11:01 AM
@Razetime why are you still doing Husk answers? It's not october any more unless you live on Jarvis Island - there are no more bounties!
 
11:17 AM
@pxeger is fun
 
haha
 
@pxeger By that logic I wouldn't have posted 178 answers the previous month
cause only first time answers get a bounty
 
oh
lol I guess I'm too cynical then
 
Also forth is gonna take a while to golf properly
 
is that what was chosen? I can't find anything saying that was accepted
Also I was really hoping for Scala
 
11:20 AM
I think it's Forth
DLosc usually posts the new thread so I guess we'll wait for him
Forth had 12 votes, whcih by far is the highest
after Husk
so it should be the one
 
ok
 
Yet another stack based language
but this time it does everything and requires a ton of spaces
 
 
1 hour later…
12:50 PM
@Razetime Usually the user who made the nomination post does it (and relying on DLosc to do it is what caused the first version to die), so I‘d say it’s game for anyone to post it as the user‘s deleted
 
oh nice
 
1:28 PM
@ais523 Yeah, I was thinking about that. I could ban using a lookup table, but then that comes with all the issues that banning something has :/
 
 
5 hours later…
6:40 PM
CMC sort of: Given a number, return its prime factors...most of the time. Your score is length / accuracy, where accuracy is the percentage (from 0.00 to 1.00) of integers > 1 that the program/function correctly factors.
 
@RedwolfPrograms Jelly, 2/1 = 2
@RedwolfPrograms How can you calculate the %? There's an infinite number of integers, and you either handle all of them or a finite subset, so your accuracy is either 1 (all of them), or 0 (a finite subset)
 
Yeah, just realized that.
 
Ruby: require'prime';:prime_division.to_proc
 
I guess there would need to be some upper limit for it to make sense, like 2^32-1, since otherwise it's almost always going to be either ×1 or ×(arbitrarily close to 0)
 
You could do length × number handled and you must handle a finite subset (you can't handle all)
 
6:47 PM
But what about a subset of those numbers that is infinite, like powers of two?
 
Wait, I just realised that length / accuracy has an upper bound on length, so that wouldn't work
(for some reason, I thought 2 / 0.1 < 2/1)
 
Not fully conforming but asymptotically conforming, Ruby: ->x{x>1?0: x.prime_division}
 
@RedwolfPrograms Well, you can't handle an infinite subset either, it must be finite
 
Oh, I was thinking of a subset of integers > 2, if there was a max that had to be handled it'd be different. (I wonder what percentage of numbers < 2^32-1 have only 2, 3, 5, and 7 as factors?)
 
very few
Eyeballing the graph says only 120 below 1000 and only 200 below 3000
 
6:56 PM
Would be cool to see a graph like that but a third dimension (or maybe heatmap?) for number of prime factors (as in 2,3,5,7, or 2,3,5,7,11,13, etc.)
 
Just an FYI: If no-one posts a Forth LotM post in the next few hours, I'll post it and make it CW
Any major issues with this? Probably going to post in a day or two
 
7:14 PM
You could overlay graphs for several n-smooth numbers.
number of factors: oeis.org/A001222
 
@RedwolfPrograms APL (Dyalog Extended), 1
 
 
2 hours later…
8:51 PM
Morning y'all!
 
@Lyxal Evening o/
 
9:15 PM
0
A: Sandbox for Proposed Challenges

caird coinheringaahingCompatible programs When studying numerology, you can say two strings are compatible if they produce the same number under the following operation: Remove all non-letter characters (i.e. all characters not in ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz) Map each letter to a number acco...

 
 
2 hours later…
11:29 PM
Now that the new LotM post is live, can any mod change the featured post from Husk to Forth?
(and also delete the nomination post)
 
3
Q: Language of the month for November 2020: Forth

BubblerIn accordance with our meta agreement, since one candidate received more votes than the others, we have a new featured language! Throughout November 2020, our Language of the Month, nominated by user96495 and supported by me (Bubbler), will be: Forth What's a Language of the Month? See the meta...

 
11:46 PM
@Bubbler done both
 
Thanks!
 
I wish I hadn't nominated Plumber for LotM. I'd now rather have nominated dotcomma, but I don't want to nominate two language that are both mine and are relatively unknown.
 
@RedwolfPrograms Delete the nomination for Plumber?
 
I guess that will give me the disciplined badge on meta :p
 
Isn't Disciplined for a post that's -3?
 
11:50 PM
No, that's peer pressure I think
 
They do have great badge names :P
 

« first day (3564 days earlier)      last day (1290 days later) »