« first day (3624 days earlier)      last day (1211 days later) » 

1:53 AM
I’m sure not many people care, but I managed to beat QuadR with Jelly on Adám’s Fuzzy Multiplication challenge :D
 
 
1 hour later…
3:23 AM
@cairdcoinheringaahing nice lmao
@cairdcoinheringaahing I doubt any other language will beat your answer now
 
3:38 AM
@RedwolfPrograms apparently I can't give the entire bee movie script as an answer on your feedback survey.
This is very sad
@RedwolfPrograms do you get notified of new responses?
 
 
2 hours later…
5:18 AM
@Lyxal gzip it
 
5:37 AM
@Lyxal No, I don't get notified. I will take the bee movie script into consideration, though.
Hooray, SSL error. I can't even connect to my own site lol
For some reason it's redirecting me to my other website's config. I can feel the painful hours of debugging from a mile away.
 
5:55 AM
I'll probably just let the domain lapse next year and pretend it's not my website, seems easier than trying to fix whatever happened
 
0
A: Sandbox for Proposed Challenges

BubblerEllipsoid surface area code-golf math geometry Related: Ellipse circumference Introduction An ellipsoid (Wikipedia / MathWorld) is a 3D object analogous to an ellipse on 2D. Its shape is defined by three principal semi-axes \$a,b,c\$: $$ \frac{x^2}{a^2} + \frac{y^2}{b^2} + \frac{z^2}{c^2} = 1 $$ ...

 
6:11 AM
from ellipse to ellipsoid I see @Bubbler
 
7:04 AM
@Razetime instructions unclear. gzipped the entire website:56596254 instructions unclear. gzipped the entire website:56596254 instructions unclear. gzipped the entire website :56596254 instructions unclear. gzipped the entire website :56596254 instructions unclear. gzipped the entire website :56596254 instructions unclear. gzipped the entire website :56596254 instructions unclear. gzipped the entire website
oh man did not mean to type that much
I thought the tick key on my watches keyboard would hide the keyboard, not enter another copy of the message each time
That'll teach me to type on a small keyboard
I'd take a screenshot to show you what I meant, but that ain't exactly possible on such a device
 
7:19 AM
good job you have potential
 
7:56 AM
wdym?
 
 
1 hour later…
ngn
9:08 AM
@Anush yes, the empty string works, it prints 9121
@Anush there's no rush, new year celebrations will take me out for a few hours too
 
 
2 hours later…
10:54 AM
You must be somewhere amazing where you are allowed to celebrate!
 
@Anush Most places have opened here as well.
You area still in lockdown?
 
ngn
11:12 AM
@Anush tbh, i wish i were somewhere amazing where people aren't so noisy on new year's eve, and i don't have to waste hours on a traditional dinner :)
 
11:31 AM
You aren't allowed into anyone elses house where I am
 
oh dang
bangalore's pretty free rn
 
That's cool
I am a little sad that there aren't more fastest code people. There used to be more
 
ngn
@Anush here they throw all sorts of fireworks, bombs, and crackers, from their balconies around 12 o'clock every year. it's like a war zone. lockdown can't stop them :)
 
11:47 AM
Russia?
 
ngn
@Anush bulgaria
 
Aha...in Russia they love to set off fireworks, indoors :)
 
ngn
@Anush lol. in- vs outdoors is an essential difference :) though i'm sure hospitals here will be busy tonight too
 
12:07 PM
I have a C code that works in a strange way -> Try it online!
In that code, i%s<1 does work (but why?), but i%s doesn't!
10
Q: Is it a Harshad Number?

GryphonA Harshad number is a number that is divisible by the sum of its digits. This is obviously dependent on what base the integer is written in. Base 10 Harshad numbers are sequence A005349 in the OEIS. Your Task: Write a program or function that determines whether a given integer is a Harshad ...

^ reference problem
 
12:51 PM
@RahulVerma you can't just blindly drop the return and assume things will still work
it works sometimes, but only if you're lucky that the calculation value ends up in rax, which it might do, but it might not
in particular, the calculation of % ends up in rdx
it's just that adding the <1 causes the compiler to move the result of % to rax for some reason, and that's why it's now the "return" value
 
1:39 PM
0
A: Sandbox for Proposed Challenges

DingusClock Patience: win or lose? code-golfdecision-problemcard-gamesgame Clock Patience (a.k.a. Clock Solitaire) is a simple single-player card game that proceeds as follows: Take a shuffled, standard 52-card deck and deal 13 piles of four cards each, face down. The first 12 piles are arranged in th...

 
 
1 hour later…
2:55 PM
@Neil oh?
 
3:16 PM
Is there any evidence that larger bounties get more answers?
4
 
@Anush I sometimes go for +500 bounties when I wouldn't've gone for +50 bounties.
Then again, I rarely finish my answers, so I'm probably not part of the sample.
 
@wizzwizz4 Huh, why? You don't need rep.
 
@Adám But, but – numbers go up!
 
@Anush larger bounties get a lot of bad answers from what I know of the internet
 
ngn
3:35 PM
@wizzwizz4 it's not important that my numbers go up. what matters is that the other user's numbers go down >:) #positivethinking
 
Damn i wish FALSE had arrays, it would make a lot of questions 10x easier
like to index something on the stack as an array I have to do (if len(array)-1 is stored in c and index is on top of stack) c;\-ø and its annoying
 
@ngn Relatively speaking?
 
ngn
@Adám humorously speaking :)
 
@Adám Remember when question upvotes went back up to 10? Well, if all votes are +10, might as well make them +1 instead.
 
and if i want to change something on the stack with the tio interpreter thats more than 3 levels down i have to copy the whole stack except changing that number with the wont i want to change it with like why
 
3:44 PM
The most important thing is never to upvote anything. Upvoting causes more rep to be created without producing more tangible value, i.e. inflation.
 
is rep the new crypto or what
 
Well, we have Bitcoin, Iota, Monero
 
ngn
@ReedsShorts there's no shortage of other languages you can use
 
Who's writing the Area51 proposal?
 
"Rep"?
:56599838 Gasp, ngn suggesting a longer name‽ Who are you, and what did you do to ngn?
 
3:47 PM
R⃒
 
0
A: Sandbox for Proposed Challenges

SomeoneMystery Numbers Challenge math I'm not outlining what the program should do, but here are some sample inputs and outputs: IO Test 1 Input: 102 Output: 10404 1061208 14002414191924244276669361796022272 Test 2 Input: 10 Output: 100 100000 Test 3 Input: 50 Output: 2500 312500000 312500000 Notes Only...

 
@wizzwizz4 ℟
 
@Adám Much better.
What does that APL built-in do?
 
We don't have that, but BQN, the newest member of the APL family, has 𝕣
 
@wizzwizz4 is toString in Jelly
 
3:53 PM
i just like FALSE
 
@wizzwizz4 Actually, 🞁 would be the correct symbol.
Negative amounts must be denoted 🞃.
 
tbh might make my own version with the only three differences being int input, stack changing, and arrays
 
hi all
 
hapy new year ppl
whenever it is for you guys
 
We're going to do this every hour, aren't we?
 
4:04 PM
i hope so
 
If im awake in the next 16ish hours ill say it
 
@wizzwizz4 Razetime would be doing it on a half-hour, I think.
 
@Adám Do it on local (solar) time, and you can say it whenever you like!
 
That'd be highly questionable. There's nothing special happening in the Earth-Sun relationship on the night of 31 Dec/1 Jan.
 
But there is with our calendar system.
 
4:18 PM
I don't use that system. I personally count as month 1, the month beginning close to the spring equinox.
 
ngn
@Adám that's because there's no sun at night :)
 
@ngn You're wrong. The sun still exists during your night, because there are other observers of it elsewhere.
 
but how can you be sure that that is the same sun? :p
 
Good point. I concede that the sun's existence at night is indeterminable.
 
@HyperNeutrino Is this in the “Ever-newer waters flow on those who step into the same rivers.” – Heraclitus sense, or the “what if somebody is swapping out our star for a different one” sense?
 
ngn
4:23 PM
@Adám but how do you know they exist? :P
 
@ngn True too.
@wizzwizz4 Exactly. I was just about to write that the sun may well be replaced with a similar one continuously, and we'd be none the wiser.
 
2
Q: Bedevil your hangman opponent

JonahTask You are playing Hangman, and your opponent uses a simple but effective strategy: Each turn, from the remaining letters, they guess the letter that appears most frequently across all possible words. When multiple letters appear with the same maximum frequency, your opponent selects randomly ...

 
@wizzwizz4 i hadn't considered the first interpretation, actually :P
 
It is probably happing 10⁴⁸ times per day, and we don't can't notice.
 
Starstuff gives out less power (per volume) than a toaster.
 
4:28 PM
Toasters give out less power (per mass) than starstuff.
 
depends on how powerful the toaster is
 
@ngn if you start with "aa" then the number of strings is 89305
 
@HyperNeutrino That toaster needs a prominent "caution: hot"
 
@ngn give me a starting string and I will give you a number :)
where are the rust/julia/nim experts when you need them?
 
@fomin I'm a Rust novice, but given how big Rust is that might be enough.
 
4:44 PM
@wizzwizz4 that sounds cool! Please try my challenge :)
 
@ASCII-only yeah I added a commit in my fork if you want to take a look
 
5:29 PM
@fomin gaming
 
6:11 PM
@fomin Will you output to a terminal?
And is it system time or CPU time you're using?
 
@wizzwizz4 pipe to /dev/null
@wizzwizz4 hmm... I was thinking real time. Is that bad?
 
@fomin Slightly bad; other things running on your machine would throw off the result.
But programs that parallelise would benefit, so… I don't know.
 
@wizzwizz4 I will repeat it a few times and won't have anything else running
 
That's probably okay then.
Keep in mind that it'll be faster after the first time, thanks to branch prediction.
You say you have Ubuntu; are you going to boot into a rescue shell to run it, then?
By default, Ubuntu has a lot running.
(It probably won't make much difference, though.)
 
6:34 PM
Just spent like an hour working on writing a challenge when I realized the actual task was actually really flawed and easy to do
It had to do with rounding/approximation errors that gradually changed the actual value, but the algorithms I picked didn't actually introduce any errors after the first time it was rounded and those specific ones were the main point of the challenge :/
 
@RedwolfPrograms It's probably still salvegable.
Perhaps you could do something based on the 8087 trig inaccuracies?
CORDIC (for COordinate Rotation DIgital Computer), also known as Volder's algorithm, or: Digit-by-digit method Circular CORDIC (Jack E. Volder), Linear CORDIC, Hyperbolic CORDIC (John Stephen Walther), and Generalized Hyperbolic CORDIC (GH CORDIC) (Yuanyong Luo et al.), is a simple and efficient algorithm to calculate trigonometric functions, hyperbolic functions, square roots, multiplications, divisions, and exponentials and logarithms with arbitrary base, typically converging with one digit (or bit) per iteration. CORDIC is therefore also an example of digit-by-digit algorithms. CORDIC and...
 
6:52 PM
does someone happen to know for x, y, n floats representing sufficiently small nonzero integers, is it guaranteed by IEEE that x/y == (n*x) / (n*y) exactly?
 
@JohnDvorak What's “sufficiently small”?
Are you including the subnormals?
 
all are integers
 
But what about the integers 0 < x < 1?
4
 
?
OTOH, I do have realized that what I'm trying to do can be done with just integer arithmetic
 
ngn
7:10 PM
@JohnDvorak ieee floats are just rationals whose denominator is a (possibly negative) power of 2, so generally the answer is no. it may be a yes in some cases due to rounding.
@fomin thanks! i'll carry on with my nfa->dfa solution next year
@fomin the answer i get for "aa" is correct. not so for "obenquillo" (probably my own fault).
 
 
1 hour later…
8:39 PM
1
Q: Partial sums of the kempner series

Command MasterThe kempner series is a series which sums the inverse of all positive integers which doesn't contain 9 in their base 10 representation (\$\frac{1}{1} + \frac{1}{2} + \frac{1}{3} + .. + \frac{1}{8} + \frac{1}{10} + ...\$). It can be shown that, unlike the hermonic series, it converges (to a value ...

 
 
1 hour later…
9:59 PM
My goodness I've been extremely inactive
I haven't posted here since last year!
 
Confused me for a second before I realized it's 2021 already in some timezones lol
 
2300 in most of Europe
I think GB is already in 2021
 
Wow y'all are still living in the past?
Pathetic
 
when the real future comes, it comes.
 
What's it like over there in the Future™?
 
10:02 PM
green pastures everywhere, no wars, only one religion...
 
Sounds like the past tbh
Like a billion years ago
 
wasn't a billion years ago still lava?
 
Probably
idk
 
@RedwolfPrograms cold, and rainy
Which is surprising given that its summer
 
Wait, it's that way where I am. I'm starting to think you're not really in the Future™
 
10:04 PM
do elaborate
 
Google can vouch for me
But then again, Australia doesn't exist
\s
 
Maybe 2021 will take 2020 a step further and we'll just get a whole year of constant rain and flooding
 
2020 (1).exe
 
> Copy of Copy of Copy of Untitled (important) DO NOT DELETE 828 (Recovered from My Documents) 9-1-2020.pdf
I just found that in my documents folder and I am concerned
 
"Recovered"... Does that mean you deleted it at one point?
 
10:11 PM
I just checked and the contents are some random assignment from years ago. I don't know what happened but I must have had a teacher who was really bad with technology lol
I must have gotten a new copy given the name ends in 2020
 
10:26 PM
@JohnDvorak If you mean the UK, then no, they’ve still got an hour and a half left
 
ngn
hello from the future
 
ah, sorry
 
How is next year?
 
ngn
@Adám i'm appalled!
 
If you take the Channel Tunnel (45 minute journey) at 00:10, you arrive in France at 23:55 (roughly). Grab a very last minute train and you can go back... to the future! :P
 
10:32 PM
@cairdcoinheringaahing Don't you mean the other way?
 
@ngn wdym? I'm 9 hours into the year and everything is fine so far
 
ngn
@Lyxal i'll explain in a moment
 
@Lyxal So it is true then, 2021 exists?
 
@Adám yes
 
I knew it!
 
10:33 PM
It is not 32nd of December 2020 but 1st January 2021
 
ngn
every single new year in bulgaria since before i was born has been like: president's speech, bombardment with fireworks, 12 o'clock, national anthem, a particular 1960s recording of "mnogaya leta" by boris christoff singing in st nedelya, then danubian horo (a folk dance) in any orchestration.
this year channel 1 of the national tv played a different recording of mnogaya leta! close to the original but different. inconceivable.. where is this world going.
2
 
@ngn OK, that does it. I'm going to sleep!
 
@Adám Maybe, time zones confuse me
 
ngn
10:49 PM
@ngn correction: apparently alexander nevsky cathedral in the 70s, not st nedelya in the 60s
 
@ngn haha we have the equivalent "horă" as well
Wishing y'all a happy new year! <3
 
ngn
@Mr.Xcoder same to you! may 2021 be a better one
 
11:05 PM
This is unrelated, but some times when I get milk out of the fridge, it bounces against the racks in the fridge and makes a noise that sounds like the SE chat notification noise
5
 
11:22 PM
@fomin I'm hand-coding asm!() macros now, and it's breaking everything so much that gdb crashes.
Help.
 

« first day (3624 days earlier)      last day (1211 days later) »