« first day (4098 days earlier)      last day (1042 days later) » 

00:19
@RadvylfPrograms im pretty sure there was some xkcd What If about a star-sized mass of animals
00:32
@DLosc man this is actually an interesting read.... and shows how much of a nerd I am, if I'm finding a programming manual published decades before I was born interesting
00:43
i mean you can't categorically say that decades old programming manuals would be boring to the average person because i refuse to believe anyone would fail to appreciate the intercal manual
fair, but thats INTERCAL
 
1 hour later…
01:58
Whoa the first dual core processor wasn't until 2005?
And you can get 'em with like 24 even for like an R530 now lol
Be weary of processors claiming they have more cores than they do because of SMT.
Also multi-core processors are older than that, but that was back when they were true SMP [sic], not "SMP" (aka NUMA).
@forest I don't know too much about the subject, but, e.g., Intel shows the number of cores, and the number of threads. Wouldn't that be the second one?
(Also, en.wikipedia.org/wiki/POWER4 is from 2001)
@RadvylfPrograms The first one is the number of true cores, presumably.
But a lot of "n core CPUs" are actually "n/2 core CPUs with n threads".
I guess with server CPUs it's a bit more transparent, since I only ever see the physical core count when looking for those
E.g., ark.intel.com/content/www/us/en/ark/products/96899/… is listed as 22 cores in most places I see it, but has 44 threads
The sad thing is that all these Spectre vulnerabilities means that SMT needs to be disabled for security.
So we're locked down to however many physical cores we have unless we disable security features.
02:04
I remember when Spectre was discovered, that was the first major vulnerability sort of thing I was old enough to actually be able to read about and stuff
>mfw everyone in this room is a kid
But yeah, Spectre is pretty incredible. And the fundamental problem has not been solved. It still plagues modern hardware, and new attacks are discovered all the time. And for some nightmare fuel: rowhammer is not mitigated either. :P
in canvas, 8 secs ago, by allxy
This really has stagnated. Maybe we should just stop it and take a break for a day
^ Opinions?
What's the difference between taking a break and it stagnating?
It's more that no one's doing anything, maybe we should just end it for now
02:26
CMC: Make }; else { valid JS syntax
(No comments / strings / regexp / whatever
@allxy if(0)x={};else{}
Yep
actually if(0)!{};else{} saves a byte
I think my parents are going to let me go to the concert :D
We're buying the tickets tomorrow, if everything goes well
I'm just worried the moderately good ones will sell out
Which is not an unreasonable worry lol
I'm going to do my best to convince them to let me buy the ticket tonight and then I can just lose the money if they don't let me go
> I can just lose the money
Aren't you still in debt from the raspberry pi?
02:46
My parents finally caught up with their allowance payments from the last like two years
I sent some debt collectors to rough them up
Oh lol
@RadvylfPrograms I'm trying to guess what this actually means
Just a joke
If someone owes you a lot of money you can send people to go get the money
I know
@RadvylfPrograms Reading it again that comment doesn't really make much sense, I was typing it while talking about an unrelated subject lol
[insert giraffe xkcd here]
I feel like it's not that one
02:51
Nope lol
This feels more likely
03:01
Got the tickets!
o/
@allxy oh i forgot that xkcd lol, thats a good one
@RadvylfPrograms o/
Okay back on mobile because I'm too excited to sleep
Random JavaScript question: what's the best way to differentiate between 0 and -0? (For whatever definition of "best" you like--golfy, idiomatic, efficient, etc.)
I'm not sure thatt there is...
03:17
I've come up with one: 0<1/x is true if x is 0, false if x is -0
Ooh, nice
I was surprised that -0 === 0. I would have expected -0 == 0 but -0 !== 0.
Yeah
Also surprised that (-0)+"" is "0", not "-0"
Tried that as well
03:23
And Math.sign() returns 0 for 0 and -0 for -0, which to be fair does make some kind of sense, but isn't super helpful.
Object.is
That's the "correct" way
Insert JS holy trinity joke here
@RadvylfPrograms Lol, amazing X^D
May 13, 2021 at 5:23, by Redwolf Programs
That is another janky JS feature
@DLosc For Ash I used x || 1 / x
and took the math.sign
Oh lol Math.sign is the identity function for 0/-0
03:34
To be fair, other than the difficulty of telling 0 from -0, JavaScript's signed zero/Infinity/NaN system is very sensible and does exactly what I'd expect it to.
JS has no less than five types of equality check
==, ===, the one used by indexOf, some other one, and Object.is
Anyway I should probably go to sleep now lol
So excited for August 21 :D
o///////////////////////////
Meanwhile Python very sensibly has 0.0 == -0.0 and 0.0 is not -0.0, but it won't let you divide by 0.0 even though it supports floating-point infinity. :P
@RadvylfPrograms \o/
Where does -0 and 0 even come from?
Actually I know the answer to this: symmetry.
Signed zero is zero with an associated sign. In ordinary arithmetic, the number 0 does not have a sign, so that −0, +0 and 0 are identical. However, in computing, some number representations allow for the existence of two zeros, often denoted by −0 (negative zero) and +0 (positive zero), regarded as equal by the numerical comparison operations but with possible different behaviors in particular operations. This occurs in the sign and magnitude and ones' complement signed number representations for integers, and in most floating-point number representations. The number 0 is usually encoded as +0...
03:43
1s complement arithmetic, and sign-and-magnitude.
04:10
hmm the starboard got a lot of stars ...
5
o_o why is that starred
9 hours ago, by pxeger
I don't recall ever loving either of you
tnb is weird....
@DLosc looks like that flax answer will have to wait, i realised i need to increase the domain of some builtins
04:54
@allxy hold on, we have XKCD embedding? how did I not realize this until now
alright i updated the flax docs with a file telling the differences between flax and jelly
@lyxal ^
@UnrelatedString ^
05:29
man I do think the review queue system on this site is sorta broken
in what way
Meh, I don't think there's any site where:
- You can get reviews without a userscript and
- Reviews aren't left pending
05:49
@hyper-neutrino we just got a first answer like half an hour ago, and after seeing it i decided to check the review queue, and it was actually there, but simply clicking on it (without doing anything to the review task) made it disappear from the queue when i accidentally closed the tab and wanted to get back to it
06:49
Why do you have to wait till 20k rep to edit tag wikis without approval?
07:02
what is python trying to do here lol
wtf you don't need to understand a whole lang to use it
why are they trying to add rust macros in python
it could be nice for leaning into how python's sort of found itself as the host language for a bunch of important domain-specific libraries without actually being built for those things
alternatively it could create a horrible explosion of macro layers on top of libraries making everything impossible to read and causing the downfall of science as we know it
this got rejected: peps.python.org/pep-0204
^ that looks trash anyways
CMP: Rate this: peps.python.org/pep-0284
@PyGamer0 If it weren't for the fact that there's already a way to do that (range), that would be a pretty cool syntax actually
07:12
Speaking of which, are you going to add ++ to whython?
eventually
That text looks like it was generated by.a markov chain trained on newspaper headlines and the stock market.
> User generated content in real-time will have multiple touchpoints for offshoring.
07:53
CMC: output the nth non negative number such that the number does not contain any odd digits
^ theres prob a formula out there for that lol
0, 2, 4, 6, 8, 20, 22, 24, 26, 28, 40, 42, ..., 96, 98, 200, 202, 204, 206, ...
might not be too easy after all...
oops
96 and 98 should not have been included
I meant:
[...], ..., 86, 88, [...]
08:10
@allxy does vyxal have a to braille builtin?
      ;b[32,32]⍴[0,0,1]
>>>
⠢⡑⢌⠢⡑⢌⠢⡑⢌⠢⡑⢌⠢⡑⢌⠢
⡑⢌⠢⡑⢌⠢⡑⢌⠢⡑⢌⠢⡑⢌⠢⡑
⢌⠢⡑⢌⠢⡑⢌⠢⡑⢌⠢⡑⢌⠢⡑⢌
⠢⡑⢌⠢⡑⢌⠢⡑⢌⠢⡑⢌⠢⡑⢌⠢
⡑⢌⠢⡑⢌⠢⡑⢌⠢⡑⢌⠢⡑⢌⠢⡑
⢌⠢⡑⢌⠢⡑⢌⠢⡑⢌⠢⡑⢌⠢⡑⢌
⠢⡑⢌⠢⡑⢌⠢⡑⢌⠢⡑⢌⠢⡑⢌⠢
⡑⢌⠢⡑⢌⠢⡑⢌⠢⡑⢌⠢⡑⢌⠢⡑
flax now has a to braille builtin
now blind people can feel boolean matrices
08:58
how to knock off a few dozen bytes in python: E=enumerate and replace enumerate with E (except in the definition of E)
simplest way too
09:55
Yay I finally managed to post an answer
(not gonna post it here due to self-promotion policies)
0
Q: How long is it in Roman

pajonkOr Fix American Kennel Club's database As covered by the recent video by Matt Parker, the American Kennel Club permits thirty-seven (37) dogs of each breed to be assigned the same name (source), because of a database restriction for Roman numeral length. Given an integer, your task is to output t...

why ugh
can't believe I didn't think of that
of what?
10:04
@NewPosts this
it was in the sandbox
well okay
10:56
holy shit i almost pasted my github pat here
good thing i have brains
btw i got my second dose of the covid vaccine today
Cool!
Your arm will hurt for a while and you might feel a bit sleepy
@allxy no last time i got the vaccine; i got a fever for a week and a couple of days later i got covid
arm hurting was for one day
¯\_(ツ)_/¯ differs between people
> i got covid
I saw
IIRC getting covid is a substantially stronger defense against it than getting vaccinated
11:02
probably
11:18
do yall know what time it is?
its time for a new flax release :P
fun
this time with actual release notes
and with a bug
that reshape doesnt work lmao
12:08
hooray vaccine!
covid can go die in a pit
just be sure not to go near the pit
12:32
I solved Semantle #80 in 92 guesses. My first guess had a similarity of 4.38. My first word in the top 1000 was at guess #36. My penultimate guess had a similarity of 29.11. semantle.novalis.org
today's one was fun
aw cmon 999/1000
it is autism awareness month
I solved Semantle #80 in 36 guesses. My first guess had a similarity of 5.97. My first word in the top 1000 was at guess #16. My penultimate guess had a similarity of 60.44 (953/1000). semantle.novalis.org
13:03
user image
9
> at 55 minutes ago
why is it blue green
because that's the accent colour I use
Did you mean: "Why not?"
@lyxal sus
are you sure it isn't a scem?
It's legitmate
It was a windows system popup
the point is that it wants to install it 55 minutes ago
13:05
The best part is "Windows is continuously improving"
is it really
well that's the great philosophical question
Microsoft is continuing the pattern of releasing a good OS then a garbage one
Windows 7 (good) -> Windows 8 (garbage) -> Windows 10 (great) -> Windows 11 (garbage)
@lyxal I've never seen such a popup before...
@Ginger Can't wait for Windows 12, then...
@ophact It comes up every now and again when I open my computer at a time when it would otherwise update by itself
it should be 10pm that it installs the update
but it for some reason missed this one
13:08
I never open my computer at 10pm that's probably why
why I never see the "famous" green popup
It bases it on what it percieves as my bedtime
and it's only green because that's the accent colour I use on windows
joke's on them you never go to sleep
I do sleep. They're just a year out of date
@lyxal so it thinks you go to bed 55 minutes ago?
@ophact this time last year, yes.
because I did
13:09
how do you know
because I did
how do you remember then?
don't say because I did
because I remember the decline into lateness
hmm
I remember there was once a time I went to bed at 10pm
and now that's completely out the window
13:11
or the windows?
there's only one window in my bedroom.
didn't mean that window...
I meant that window
@lyxal It would be even worse if it said "We installed this update 55 minutes ago", the one time grammar is worse than non-grammar
@lyxal which version is your window anyway?
13:12
@lyxal sorry, was a lame attempt at a joke
@ophact as was my statement
@mathcat how do I tell?
There's no button to click on the window
look at the amount of dust on the window
it's night time
and pitch black
how I'm gonna see dust
well don't you have night-vision?
don't got any golden carrots
13:15
okay fair enough
user image
2
It's always fun to see "JOE-HECKING-MAM wants to pair with your device" come up on your phone
because for some reason, it doesn't like to display the last a
wait a sec
okay I've waited a second
now what?
> Nobody wants to pair with your device
that would be funny
@Ginger hook it up to Codex and you've got an automated version of me
13:22
problem: codex sometimes gives bad AICMCs
that proposed system searches TNB for old CMCs and posts those
solution: use GPT-3 to determine if the prompt makes sense
A prompt like Determine if the following sentence is understandable to a wide audience: with the P/FP turned up + stop sequence of true or false should work
uh
shame I don't have access to those APIs
go make yourself an account
age restrictions don't exist anymore
13:25
lemme go generate a new email
@lyxal seems to work for english sentences
now to test with some AICMCs
@lyxal can you generate a reshape function using codex for me :P
do it tomorrow if you cant now
def reshape(lst, dimensions):
    """Reshape a list of lists to a given number of dimensions.

    >>> reshape([1, 2, 3, 4, 5, 6], (2, 3))
    [[1, 2, 3], [4, 5, 6]]
    """
    return [lst[i:i+dimensions[1]] for i in range(0, len(lst), dimensions[1])]
It wrote the docstring itself
13:33
g'mornin
I'd insert a joke about timezones here but I don't got any
Morning!
> Morninh
Hyperbolic morning
mohing
@Mayube g'day
i mean noht
13:34
@lyxal I read that as gay
3
lmao
ah yes the traditional Australian greeting. Calling people gay when you see them.
@lyxal bloody aussies
@lyxal it kindof works ato.pxeger.com/…
@Mayube fair dinkum you're hard to please :p
13:35
⬜🟨⬜🟩🟩
⬜⬜🟩🟩🟩
⬜⬜🟩🟩🟩
⬜⬜🟩🟩🟩
🟩🟩🟩🟩🟩
:|
@RadvylfPrograms looks like grass with a sun
@lyxal something something penal colony
@PyGamer0 that's a steep hill
that's what she said
turn that pipe upside down!
13:36
@lyxal I'm going to choose to believe this is in response to my penal colony comment
dais ehs tahw s'taht
@lyxal |:
What do they mean skree isn't a word?
Dang wordle people never slanged before smh
Try fleek
or sussy
@RadvylfPrograms I feel your pain
⬛🟨⬛⬛🟨
🟨⬛⬛🟩⬛
⬛🟨⬛🟩⬛
⬛⬛🟨🟩⬛
🟩🟩🟩🟩🟩
13:41
Tetris
I highrolled with my first word, it was rot13(ulcre)
rot13(gubfr qnat pnanqvnaf qbvat n yvggyr gebyyvat)
tf happened here
I come back after 10 minutes and I see (44) The Ninete...
Somehow I autocompleted that as The Nintendo
rot13(Arire tbaan tvir lbh hc.)
rot13 is not a very good spoiler method for short spoilers
I see rot13(ulcre) and it doesn't matter how hard I try to distract myself, my brain is now counting through the alphabet to decipher "ulcre"
13:50
My brain just autocorrects it to ulcer and considers it a job well done :|
Can we trade brains
My brain sees the rot13 and just gives up on deciphering it right from the get-go
it doesn't even make an attempt to do anything about it. It just says "eh look it up what do you expect me to do, alphabet properly?"
My brain h
yes
funny you should say that
I have a file called h.jpg and it's from that time I made a joke about gingers on a conveyor belt
I don't have a brain
@lyxal I have a file called h.h :O
13:53
I told GPT3 to generate 5 tips for code golfing:
1. Use built-in functions whenever possible.
2. Avoid using global variables.
3. Use list operations whenever possible.
4. Use vector operations whenever possible.
5. Use functional programming whenever possible.
it's not wrong
y'know... those aren't that bad
it forgot use a goflang
What are the 5 best golfing languages?

There is no definitive answer to this question as it depends on personal preferences. However, some of the most popular golfing languages include English, Spanish, German, French, and Japanese.
13:54
Ah yes, English, my favourite golfing language
I prefer golfing in Bantu, thank you very much.
Good to know GPT-3 is not beans.
What are the 5 best golfing languages for code golf?

There is no definitive answer to this question, as it depends on the individual preferences of the code golfers. However, some of the most popular golfing languages among code golfers include Perl, Python, Ruby, Java, and C++.

Golf in Java, everyone.
Honestly not a bad answer for "languages to golf in" not "golfing languages"
nah i will golf in flax
13:56
yeah, it's not terrible, as far as AI goes.
@Romanp Deutsch isch 'ne gute golf sprache.
Looks like I'm alive.
Русскый язык тоже плохой, обычно.
What computer language is most similar to Dyalog APL?

There is no computer language that is exactly like Dyalog APL, but the language that is most similar to it is J.

« first day (4098 days earlier)      last day (1042 days later) »