« first day (2271 days earlier)      last day (2571 days later) » 

12:06 AM
is 98°C normal for a laptop GPU?
 
@Mendeleev No. Even under intense load they should not exceed 80 Celcius, ever.
 
@Pavel That's for desktop GPUs.
 
Why would laptop GPUs be more heat-resistant?
 
Laptop coolers are much smaller, and laptop GPUs produce much less heat (my laptop has a 12W TDP at full load)
 
@Mendeleev I mean my CPU regularially reaches 100C so probably
 
12:15 AM
also, even Intel CPUs can withstand up to 105°C before the transistors start cooking
But srsly I'm only running glxgears
quit glxgears, gpu temp is 56°C
small difference
 
sigh programming can be painful...
 
@ThomasWard so true.
 
especially Py2 -> Py3 conversions.
 
Can you please test inventory.dk0.us login?
@ThomasWard Isn't there a tool?
 
E: Site not responding
 
12:18 AM
@ThomasWard try again
heroku can be weird
 
up now.
@Mendeleev yes? It didn't work right, most tools try and keep reverse compat.
 
I guess the dynos were sleeping
 
not a direct cut.
 
@ThomasWard ah.
 
need me to test something on this site?
 
12:19 AM
Type in ARD2 and check it out and in
 
not authorized
 
Have you logged in?
Try logging in with the button top right
 
works
BUT
you need to fix the labels
 
@DJMcMayhem question: if in vim, each line is suffixed with a tab, what is best way to remove? Select with V and then do :g/^/normal $diw?
 
@ThomasWard define fix
oic
 
12:21 AM
@Mendeleev if i type in ard2 the 'Item ID' doesn't go away, so you see smushed collided text.
 
ah
the js refuses to load sometimes
 
@Downgoat or gg$^VG$d or :%s/\t$ or :%norm $x
 
:%s/\t$ >_> how my brain just forget find+replace approach <_<
 
I don't think my optimisations to my turtlèd interpreter made a difference
 
thanks though
 
12:23 AM
how can I check how long they take so I can figure out if I actually helped anything?
 
@Downgoat That works just fine. Doorknobs solution is good too. Here's one more: :%norm $x
Oh wait, he already said that, ha!
In V you could do Ld<M-k>
Or Ìó$ or Í$x
(I might have those backwards)
Yep, I did.
 
turns out my optimisations just made it slower or there is a coincidence happening
 
12:40 AM
I managed to answer a question using my Grapher.
 
CMC: remove leading tabs from a string (char array, line array, etc.); you may assume each line starts with a tab
 
Retina, 5 bytes. ^\t+ with a trailing newline. Try it online!
 
@ConorO'Brien Îdw
If there is only one tab per line, you could do
 
heh I just added a thermal pad between my GPU and the heatsink (had only paste before)
testing
 
CMC: Name your favorite PPCG question or answer you've ever written :D
 
12:55 AM
I'm very proud of This One
 
holding steady at about 70-75C
Basically there was not enough contact between the heatsink and GPU
 
Mine is probably the GOL on a non-regular grid one, not so much because it is super elegant or well written but because of all the cool stuff people made in answering it.
 
@HelkaHomba make a 10x10 array of 1's in Javascript
 
0
A: Sandbox for Proposed Challenges

Feldspar15523Make a Login Screen Challenge: make code that asks the user to enter a username and password. The username and password should be hard coded, but they must not be visible: you cannot have the entire username or the entire password in plain text in the code. Both the username and the password m...

 
27
A: Javascript: Create a 10x10 array of 1s

Jan DvorakJavascript, 34 bytes for(r=[b=[i=10]];i--;r[i]=b)b[i]=1 Since it's apparently OK to make the rows equal by reference, I guess it's apparently OK to rely on that fact. This helps us shave off one for-loop by building the table at the same time as its rows. So, here's my new contestant. Since r...

 
1:02 AM
Should I buy a used Nexus 5 or save up for a OnePlus 3T?
 
@Mendeleev Lumia 950
 
no, I want an android phone that's rootable
 
how about a CyanogenMod then?
 
44
Q: Build a triangle without any triangles

DJMcMayhemAs a little kid, I liked to play with these toys a lot: They probably intended for these to be used for art, but I always used them for math! Fractals, patterns, etc. One time, I was given this challenge: Build a triangle without using any of the green triangle tiles. This challenge stum...

 
@JanDvorak 1. That is an OS. 2. That OS is defunct. (Replaced by LineageOS)
 
1:11 AM
I don't know if that's my absolute favorite but it stands out to me
 
@Mendeleev keep iphone so you can use gitgoat
 
@Downgoat will have to sell to get $
is just incentive to make android gitgoat
 
however android I will get like $0 because people will pirate and I will be poor :(
 
@Downgoat how will pirate if free?
 
entire app not free
 
1:16 AM
wat
 
will have in-app purchase
 
put ads
 
@Downgoat fail
 
0/10 ads don't belong in mobile app unless game
 
neither do IAPs
 
1:17 AM
Well notification server actually cost money so will charge like $1.99 for that
 
@Downgoat not true download roastbot it is my friend's app and it has ads
 
yeah but I assume it is android app, and android apps are ya know...
 
put like a single ad on the initial login screen and then ads at bottom if notifications are enabled.
my friend has made >$300 from roastbot already
and that's just android, he just recently put on ios
@Downgoat can you oppcgmcs?
 
@Mendeleev link?
 
user165474
1:20 AM
@noɥʇʎԀʎzɐɹƆ I see. But with that in consideration, wouldn't using uo... be equally easy/hard to ping you?
 
@Mendeleev iOS link?
 
@Downgoat one sec dont have itunes because linux
 
D:
 
@DJMcMayhem omg these are literally on the floor behind me
 
actually that's probably a good thing
> this are
 
1:21 AM
ffs
eh
 
see no ads for iOS
 
@Downgoat they are there, I assure you
it's just the simulator
 
yeah but that's not gitgoat
there is no place to put ads
I have thought about it
 
Put at bottom
 
1:23 AM
I could randomly insert ads inside activity feed
 
just shrink your layouts vertically a bit
 
@Mendeleev not allowed
 
@Downgoat huh wat
 
also 0/10 UX pls
 
aight then
@Downgoat make $1 iap to remove ads in activity feed
 
1:24 AM
@Mendeleev UITabBarController goes intowindow
 
just use iAds or something
 
@Mendeleev 10/10 becoming richest goat on barn
wait what iad is gone??
 
@flawr ^ from that comic, 10/10
 
@Riker lol
 
1:36 AM
Oh, hah.
 
@Pavel All right. I just finished a major project wo I have time to relax a bit
 
We have 3 major projects in progress and 5 tests this week.
 
I'm glad I'm at an "innovative" school, although I have an exhibition on Wednesday
 
Hey, have you ever participated in the Math Hour Olympiad?
 
Not AFAIK
 
1:40 AM
You should totally do it! It's great!
It's completely unlike any other math competition you might have done.
 
Also, May 7th is final Monthly Math Hour lecture, on game theory.
@Mendeleev Oh, and did I mention? It comes with free pizza.
10th grade is also the highest they allow, so this is the final year for us. (You're in 10th, right?)
 
@Pavel :( california don't have I don't think
 
Considering that to participate you have to physically go to the University of Washington, probably not.
 
2:12 AM
@Mendeleev BTW, you have to register online beforehand, and they fill up rather quickly, so you might as well do it right now: tinyurl.com/ky9hb3z
 
just moving back the image I sent that got moved along with the MC messages
 
2:31 AM
@Pavel 9th.
 
Oh. Do it anyway, it's excelent. The idea is that you get 7 problems to solve in 3 hours, if you're really good you might just get 4 of them.
 
I signed up.
@Pavel So they're that hard?
 
Yeah. BTW, I got 1st place last year, I've been doing it every year since 6th grade.
 
@Mendeleev so tempting to click that
 
@DestructibleLemon Don't. It's onetimesecret for a reason.
 
2:37 AM
yeah just saying but posting links like that in chat kinda defeats the purpose of the onetimesecret site
 
It's a photo of me from the awards ceremony last year.
It's available online.
Example problem (from last year):
> You have 100 pancakes, one with a single blueberry, one with two blueberries,
one with three blueberries, and so on. The pancakes are stacked in a random order.
Count the number of blueberries in the top pancake, and call that number N. Pick up
the stack of the top N pancakes, and flip it upside down. Prove that if you repeat this
counting-and-flipping process, the pancake with one blueberry will eventually end up
at the top of the stack
They don't seem that difficult but you have to prove everything extremely rigourously.
 
what's with the pancake flipping everywhere
 
¯\_(ツ)_/¯
CMC solve:
> Homer went on a Donut Diet for the month of May
(31 days). He ate at least one donut every day of the month.
However, over any stretch of 7 consecutive days, he did not eat
more than 13 donuts. Prove that there was some stretch of
consecutive days over which Homer ate exactly 30 donuts.
I don't actually remember how it's done, it's one of the problems I didn't solve.
 
> I will straight up give 300 rep to anyone that can come up with a brain-flak/brain-flueue Trick or Treat Polyglot (before I do).
CMC / indefinite bounty
 
@WheatWizard I feel like that would be kind of easy
 
2:50 AM
Then its 300 free rep
 
I mean it might be difficult to golf
also getting 300 rep for doing essentially nothing in a >300 byte answer or something
 
Btw you can now run brain-flueue in TIO with -lbrainflueue
 
um
@WheatWizard done
 
Anonymous
@ConorO'Brien Yes, but it got frozen a while back
 
@DestructibleLemon Gj
 
2:57 AM
um
I don't know what to say
 
Gah
I literally just came up with that ;-;
 
@DestructibleLemon I would appreciate it if you golfed it a bit first
 
Anonymous
@Dennis That's because Python does a weird/dumb thing where its version of CP437 is the "modern" ASCII-compatible code page (where \x00-\x7f match ASCII). Seriously/Actually use the original CP437 codepage (with the wingdings instead of control characters). I had to write my own encoder and decoder to make it work: Seriously/lib/cp437.py
 
@WheatWizard soon :P
 
CMC: Make a submission to the Versatile Integer Printer using Brain-Flak, Mini-Flak, Brain-Flueue, and Brain-Flak Classic.
(would give rep but I'm rather close to 2000)
 
3:00 AM
M clearly stands for mega
 
@Pavel isn't that literally impossible?
 
It actually seems pretty doable
 
any miniflak program is a brainflak program with the same function
 
Anonymous
@Pavel I'll toss 100 rep on a bounty if someone does it
 
There is not really concept of stack clean in Brain-Flueue, so it would have to be non-stack clean
 
3:01 AM
@DestructibleLemon No, any mini-flak program can be ran in brain-flak
Err wait
It's doable because the inverse is not true
 
ok but just wait a minute
 
@Mego So I'd have to run the program though the decoder first? Or is there a way to trigger this from the Actually interpreter?
 
I actually forgot how classic works.
 
mini-flak and brainflak have to print different things
 
@Pavel [] is negative 1 [...] prints the value
 
3:03 AM
but mini-flak is invalid if it uses brainflak features that aren't in miniflak
 
Anonymous
@Dennis The only way that I think it would work is if you set the system/terminal/whatever encoding to CP437. That's what I do when I locally test programs.
 
so the miniflak and brainflak would do the same
hence impossible
you're free to try but don't get upset when you can't do it
 
@DestructibleLemon stuff for miniflak, toggle, stuff for brainflack, toggle, pop garbage from stack 1, toggle again.
 
@WheatWizard is ^^^^^^ true
I thought it is a noop
 
@Pavel um, <> would render the program invalid in mini-flak
 
3:04 AM
@DJMcMayhem It is true, which I why I've been complaining at wheat-wizard to make it a nop.
 
@DJMcMayhem what?
 
@WheatWizard Make <> nop and not error
 
Is <> in MF an error or a noop?
 
error
rn
 
It should be a noop
Like Pavel said
 
3:06 AM
ok I'll do that Right now then
 
@Mego Conor tried chcp 437 on Windows, but it didn't work; I can't find any CP437 option on Linux. What setup do you use?
To test it locally, I mean.
 
@WheatWizard ok now is possible
 
Anonymous
@Dennis I use Cygwin on Windows. I can right-click the title bar on the terminal, go to options -> text, and change the character set there.
 
OK, I have no way to test it myself, but if you say 1e 67 works as an LCM program on your system, I'll just believe you. ;)
 
Anonymous
Where did you get the 67? 1e alone should do it
 
3:12 AM
I need 67 to make it a polyglot.
 
0
A: Trick or Treat polyglot

Destructible LemonBrain-flak/flueue 2200 bytes what can I say? money reputation talks (()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()...

 
@Pavel @DestructibleLemon @DJMcMayhem Done
 
Brain-flueue git repo is private, where can I get info about it?
 
Its not private I deleted it
For now I can tell you about it
I am supposed to document it some time
 
Anonymous
@Dennis Ah
 
3:17 AM
@WheatWizard TY, we can work on VIP now.
 
VIP?
 
Classic is the easiest, [value]
@WheatWizard Versatile Integer Printer
 
user165474
VIP = VIP Integer Printer
 
@WheatWizard Why?
 
@Mendeleev The old Brian-Flueue was buggy and feature sparse so I deleted it when Brain-Flueue was added to the Brain-Flak repository. I did forget that the docs were in that repository
 
3:21 AM
ah
 
Although from what I remember the docs were not very helpful
 
Anonymous
@Dennis Yep, works as intended. The only thing not working is my memory of how to use xxd and bash subcommands :P
 
Obviously mini/brain can be distinguished by toggling stacks.
 
Anonymous
I'll probably make an easier way to handle raw byte streams in the near future
 
@DestructibleLemon I'll cut you a deal. I'll give you 150 reputation outright for being the first person to solve the challenge, or I'll give 350 to the shortest answer at the end of the week, (excluding of course myself). You can decide.
 
3:26 AM
I'm playing TOS right now
will consider when that is done
 
Ok no rush
 
0
A: GCD / LCM Polyglots!

DennisJelly / Actually, 2 bytes 00000000: 1e 67 .g This is a hexdump (xxd) of the submitted program. It cannot be tested online because TIO doesn't support the CP437 encoding. Jelly: GCD Jelly uses the Jelly code page, so it sees the following characters....

Thank you for your help!
 
Anonymous
Glad to help!
 
Anonymous
Side note: g also works on lists. However, it does nothing when given a single integer.
 
Yes, that's why I said two integer inputs. :)
Kinda neat how it let me get away with placing an LCM and a GCD built-in right next to each other.
 
Anonymous
3:32 AM
Yeah, you used the right languages for the job :P
 
Anonymous
You could have also used Seriously and Actually for 3: ,▲g. wasn't added until Actually.
 
user165474
Wait you made two answers that are just "inverses" of each other?
 
@Mego Why don't you post that?
 
Anonymous
@Pavel Because it's very similar to Dennis's answer
 
Anonymous
And because I'm busy making an improved CP437 codec
 
3:35 AM
@Mego Heh, I knew that wasn't implemented in Seriously (first thing I checked when I couldn't coerce Actually to use CP437), but using it to my advantage didn't occur to me.
Anyway, the Jelly/Actually-Actually/Jelly pair of answers is kinda neat.
 
Anonymous
I finally found the right codepage in Python, I think. oem should do the trick (requires >= 3.6)
 
One more reason to upgrade TIO's Python 3.
 
Anonymous
But it's Windows-only
 
:(
 
Anonymous
I'm working on a proper cross-platform OEM codec for Python
 
3:41 AM
@Mego OEM?
 
@WheatWizard no I want the 300 :P
 
Anonymous
OEM is the name used for the original CP437 codepage
 
@DestructibleLemon How about I'll give you the 300 if you can golf it under 300.
 
@DestructibleLemon That's not how this works.
 
> I will straight up give 300 rep to anyone that can come up with a brain-flak/brain-flueue Trick or Treat Polyglot (before I do).
 
3:44 AM
It is a bit unclear
 
Bounties announced in chat are awarded on an honor system, which breaks down if you piddle over the entire spirit of the challenge.
 
I was hoping for under 1000 bytes
I'll still give you 150 for being the first
 
@WheatWizard I'll see what I can do
 
o_0
My new tab page just crashed.
 
I've done it in 140
so it is more than doable
 
3:46 AM
WTF I can't load new tabs
It just dies
BRB restarting chrome
 
@WheatWizard thanks
 
I guess
 
user165474
4:23 AM
Wait so I'm confused: For this challenge what's the site-policy about ongoing problems that's been mentioned?
 
0
Q: Create a vortex!

Papayaman1000Your mission today is to create a vortex given a single parameter. This parameter determines the length of each arm in characters. Each "layer" of each arm contains one more character than the last. Here's how the vortex will look, given the arm length: 0: █ 1: █ ███ █ 2: █ █ █ █...

 
Anonymous
I fear I have angered the Python gods... What should be a simple codec is throwing errors for no reason.
 
@Mego i hope your indenting is off
because python
:\
 
Anonymous
Nothing to do with indenting
 
Anonymous
Just encoding errors that shouldn't come up because everything is in UTF-8
 
user165474
4:37 AM
@Poke Okay thanks.
 
user165474
@Mego What exactly is the error being thrown? And also how is "Mego" meant to be pronounced, out of curiosity?
 
Anonymous
@HyperNeutrino 1) UnicodeEncodeError: 'charmap' codec can't encode characters in position 0-1: character maps to <undefined> (which is the most uninformative, useless error possible because the charmap does map those characters correctly). 2) Me-go.
 
user165474
Hm. That's odd. And okay, so long e?
 
Anonymous
Yep, long e
 
user165474
Cool. That's what I thought, just wanted to make sure.
 
4:43 AM
@Mego ah
 
> Windows Subsystem for Linux Gains Serial Device Support: Windows COM ports can now be accessed directly from a WSL process!
I'm going to pretend I know what that means and be happy anyway
 
@Pavel You can access serial ports from Bash on Ubuntu on Windows
 
Ok, I understood most of it. I just had to get the clarification that yes, a COM port is something completely irrelevant to me.
I don't have a lot of devices, at all.
/dev/
├── block
├── fd -> /proc/self/fd
├── kmsg
├── lxss
├── lxssclient
├── null
├── ptmx
├── pts
├── random
├── shm -> /run/shm
├── stderr -> /proc/self/fd/2
├── stdin -> /proc/self/fd/0
├── stdout -> /proc/self/fd/1
├── tty
├── tty0
├── tty1
├── urandom
└── zero
What's /proc/ for?
 
Lists processes, has info about cpu, etc
 
ty
@NewMainPosts Does anyone else feel the definition of a vortex is unclear?
 
user165474
4:53 AM
I find it quite understandable.
 
user165474
I agree with DJMcMayhem though that there's no reason to restrict it to this one random character that's not an ASCII character (?)
 
I don't really understand the way the arms are supposed to expand out.
A reference implementation would be really great.
 
I made this
Which is a clientside editor for math.js, that uses ace's editor.
 
How to run commands?
 
user165474
If you look at the arms, they go up 1 out 1, then up 1 out 2, then up 1 out 3, etc.
 
4:55 AM
I typed 2+2 and it did nothing.
 
Try print("Test") or plot(f(x)=x)
 
user165474
*
.**
...***
......****
 
K
Ok, that's clearer.
 
Also, eval("math.js"), if you want generic recursion.
 
user165474
Error: Undefined symbol math
 
4:58 AM
Don't legitimately type math.js
 
user165474
lel
 
user165474
ik it wouldn't work because that would just be math.js as in math["js"] (I think, I don't JS)
 
Well math.js isn't js
 
user165474
No?
 
user165474
ok then i don't know what i'm talking about >_> happens too often
 
5:01 AM
Why isn't math.js js
It has js in the name.
 
user165474
JavaScript has Java in the name but Javascript != Java
 
Anonymous
If anyone can figure out why this isn't working, I'll give them a cookie
 
user165474
What version of Python? Just 3.x?
 
user165474
This doesn't solve the issue, but you probably don't want to be using input as a parameter name. Doesn't cause an issues though.
 
user165474
@Mego I'm assuming that the two empty classes don't really matter?
 
5:23 AM
reverse(s)=
    s=="" ?
    s     :
    concat(
           size(s)[1]>1?reverse(s[2:size(s)[1]]):"",
           s[1]
          )

print(reverse("Hello, World!"))
That reverses strings.
Because a math tool needs to be Turing complete, for reasons.
 
user165474
>_< Nice.
 
Anonymous
@HyperNeutrino Not really. They just inherit the default behavior from the parents. They're not the part throwing the error.
 
user165474
Okay.
 
user165474
I'm still trying to figure it out >_>
 
Anonymous
@HyperNeutrino It doesn't cause any issues and it's not really discouraged in Python.
 
user165474
5:30 AM
Alright.
 
user165474
Anyway gtg now, 1:30 am
 
user165474
I might get it by tomorrow
 
user165474
I'll ping you if I find what's wrong.
 
user165474
o/
 
Cookies seem to be a powerful motivation.
 
5:46 AM
Running plot(plot) seems to crash the browser.
Nice.
 
Anonymous
6:22 AM
@Pavel They're the strongest motivation
 
7:08 AM
You need decoding_map = {b:ord(CP437_TABLE[b]) for b in range(256)}.
@Mego I'll take my cookie now.
 
Anonymous
One cookie, coming your way
 
:)
 
Anonymous
document.cookie = "DennisIsGreat=1;"
6
 
Anonymous
 
Anonymous
That adds an codec called oem437 that properly handles CP437 encoding and decoding
 
Anonymous
7:21 AM
I'll incorporate it into Actually soon
 
7:40 AM
 
7:50 AM
0
A: Sandbox for Proposed Challenges

Mr. XcoderPolyglot for min and max code-golf polyglot math Task Well, everyone loves Polyglots. You will be given two integers, in any standard form of input (no hardcoding). Your task is to write a polyglot which finds the minimum value in a language and the maximum value between the two in the other on...

 
What do you think about ^^^?
 
8:11 AM
@ATaco but why is this here
 
 
1 hour later…
9:30 AM
> visited 498 days, 100 consecutive
awwwwwwww yis
 
10:15 AM
0
Q: Contradictory Polyglots

Mr. XcoderWell, everyone loves Polyglots. You will be given two integers, in any standard form of input (no hardcoding). Your task is to write a polyglot which finds the minimum value in a language and the maximum value between the two numbers in the other language, and performs the following operations: ...

 
 
2 hours later…
11:53 AM
@DJMcMayhem am i correct in supposing that you've lost interest in discussing improving the site with me, or that you never had an interest in the first place?
 
user165474
12:27 PM
@ATaco IIRC There's a comment below that saying "Actually, what I'm wondering is how." :D
 
Posting code golf answers while staying in hospital, I think I have more problems then asthma :p
 
user165474
Oh :P :/ hope you get better soon
 
12:45 PM
2
Q: Plus or minus polyglots!

programmer5000Your submission must take a list of numbers (in whatever list format your language supports, or using multiple function / command-line parameters) or a string of numbers separated by any character that is not 0123456789. In one language, it must add all of them and output the sum. In another lang...

 

« first day (2271 days earlier)      last day (2571 days later) »