« first day (2880 days earlier)      last day (2260 days later) » 

i am big hearing
Big scent here, please buy more Yankee "Burnt Component"-scented Candles
00:26
As a deaf guy myself.....I have no idea how to react. (I'm not offended at all, just amused.)
 
1 hour later…
01:48
@El'endiaStarman wait but if you're deaf, how can you hear what any of us are saying in here??
@Skidsdev Nubile man-servant reading the chat most likely
I realize what I've just typed. I am not clever
5
Anonymous
@Veskah And it will be forever immortalized on the starboard
nice duck hat
I can't seem to get it
Anonymous
It's easy. You just have to quack the code.
@Skidsdev well i mean he has cochlear implants
02:03
@Mego Fugg :'DDDD
at least i think
@Mego I mean I know what it says on the meta but I did the thing and didn't get the hat
Anonymous
@Pavel From what I've heard, it can take a while to award
This was last week
Anonymous
Ok that might be a bit much
Anonymous
02:04
Try again?
Now I can't get the button to appear
Anonymous
Be patient, and it will come to you
I guess I'll just stick with my identification division hat
I wonder what it's a reference to
(Assuming it's some kind of reference, which it looks like)
Anonymous
It's a reference to Admiral Grace Hopper, inventor of the COBOL programming language
Oooh
@Mego I fully expected Admiral Grace Hopper to be either a joke or a cartoon character.
Anonymous
@Dennis Nope, she was an awesome real lady
I don't doubt that.
Anonymous
Not all programming language inventors are cartoon characters like yourself :P
.oO ( When you can't even sentence. )
02:11
>Rear Admiral (Lower Half)
Oh god, what did they do with the top half?
Alternative joke: When your booty so good, it outranks you
Anonymous
@Veskah In the US navy, there are two ranks called Rear Admiral for some reason. Rear Admiral (Lower Half) is O-7, and is equivalent to a brigadier general in the Army, or a Commodore in other navies.
Neat
Anonymous
Great, now my hat makes me look like an incredibly messy eater
@Dennis the comments should probably be cleared on the post you just reopened?
I believe they've all been dealt with
I don't want to purge the comments on the post I've just reopened. Let's see if others disagree.
02:23
@El'endiaStarman well did you buy new eyes?
@Dennis fair
Answered two seconds too early to show off new hat.
I really can't write right now. What is happening?
I see the new hat
very nice duck, 9/10 needs more duck
Anonymous
@Dennis Too much eggnog? Not enough eggnog?
Yes, I wrote Answered two seconds too early to show off new hat. to show off new hat.
02:26
Oh is today the day for some chat hat
@Mego Eggnog wouldn't be my drink of choice, while it's 30 °C at 23:30.
oh is it
I didn't drink anything, actually.
@quartata it's not dennis just has a duck now
Which makes the fact that I wrote penguin in the user search—to take a look at Mego's hat on main—all the more disturbing.
Anonymous
02:28
@quartata No, that's +/- 12h of new years UTC
Anonymous
@Dennis Well I have a suggestion for you, then
> implying there aren't other secret hats for chat-based activities
Anonymous
@Dennis Honestly at this point, that should work
Well, it didn't.
It did make me question my sanity though.
it does if you click the first result then on mego's profile on the "closed" banner
02:31
@Mego If alcohol didn't cause it, it will fix it?
Anonymous
@Dennis Alcohol: the cause of, and solution to, all of life's problems!
Anonymous
Unless you're underage, in which case it only causes more problems.
@Mego welp better start hiding it, brb
I'm almost allowed to drink twice at this point.
Anonymous
02:35
@Dennis Is that what people mean when they ask for doubles at the bar?
No, they want to see double.
2
0
Q: Troubleshooting recursion code (AoC)

RakshaThis is for Advent of Code, Day 17. I literally got it ALMOST working in five minutes, but then it won't terminate ... I've been messing with it for the good part of the day and still can't figure it out. Put print statements after every line to monitor what is happening (tried PythonTutor, but t...

 
3 hours later…
05:52
@H.PWiz Okay, I can't figure it out. Clue please?
@JoKing what does this refer to?
06:05
@Riker He commented that he could get 31 bytes for one of my answers, and said I could ask for a hint if I wanted
06:34
A weak hint is this:
It is most similar to __('_=__=_/_;'+'__,_=_+__,__;'*_), but removes the last iteration without using ~-, and then reveals an easy two bytes to chop off
Let me know if you want the levenshtein distance or something similar
 
5 hours later…
11:38
@H.PWiz Got it! That's a neat trick. I think the biggest clue was that you had semi-colons in both the strings :P
12:18
I found quite a few alternate versions for 34 bytes, but nothing under
score, 31 bytes
markdown doesn't work in chat, i swear
12:36
@primo Chat doesn't allow Markdown in multi-line messages, unless the entire message is a quote or a code snippet.
aha
got it, thanks
12:58
@JoKing lol, I had __('_=__=_/'+'_;__,_=_+__,_'*_)
Also, oops, on the semi-colon thing
13:39
These hats are silly, but it is too late for me. I already succumbed to the hat curse
Ok, question: I want to do codegolf on the R214K2A (A computer built in The Powder Toy)
One problem: The computer's word size is variable. Instructions are 29 bit, and data is 16 bit.
How would i measure this properly for PPCG?
@moonheart08 8-bit bytes everywhere, no option
@dzaima Do you round up, or do you get a score with decimals?
TPT R214K2A, 3.14159265358979 bytes
@maxb your answer must have a representation of the code in full 8-bit bytes, how you do that doesn't matter
13:49
@dzaima really crazy unrelated question: What if the computer the code is for is analog?
@moonheart08 no idea. just represent everything in bytes and you'll be okay, and if you can't, who knows
@dzaima unless you're using the Baker's byte
14:16
@Skidsdev What if I told you...I'm not hearing what you're saying in here? Dun dun duuuuunnn....
@Riker The ones I have now are just fine, thank you.
@El'endiaStarman How can they be fine if you're not hearing what we're saying in here?
Just realised that you didn't reply to the message I thought you did :/
14:39
I'm currently working on a KotH challenge that I think could be really fun. I'm planning on posting it before the weekend. If anyone could take their time to read it through, I'd really appreciate it. It's based on a dice game I was introduced to recently, and I couldn't find a similar challenge under the KotH tag.
15:04
@cairdcoinheringaahing Well...it kinda still works...
15:18
0
Q: One way traffic

NoahO In a certain region all places are the one by road. But one-way traffic for all roads; if you are allowed to go from A to B via the direct route, you can not along that road from B to A. If you want to, you will have to take a detour. Above is an example of an area with five ...

@maxb Peter summed up most of what I would say in his comment. Not that figuring out the logic for this in python would be hard, but you'll generally have more participants/competition if you open it up to other languages.
And yes, that's kinda a pain on you (I've been there), but it's not that bad
You could even limit it to a handful of languages if it's the environment setup you're concerned about
I'm generally on the opposite side :)
I prefer challenges that are single languages. They make it easier for participants to test their submissions against other submissions, and you are able to significantly increase the number of runs
@Geobits I ran into some problems when I did my last fastest-code challenge, but I can imagine that it's way worse with a challenge where it's much simpler to create a submission. I don't want to exclude people who have invested their time in the challenge simply because I can't get their code to run.
@maxb I like it. It's well specified and explained.
15:33
I also strongly recommend tracking stability across runs.
Aka, if you run the full simulation, and a certain bot is the top bot
Also, I played a similar game once that used a pair of dice, and the "you're screwed" number was 7.
@J.Sallé Thanks! If I decide to go with Python only, the challenge will probably be posted today or tomorrow. If I decide to include multiple languages, it'll be a few more days.
and then you run it again, and a different bot is the winner, then you know that either: 1. You haven't run it long enough, or 2. Your challenge has too much randomness to declare a winner
One problem I had with KotH in the past was Ruby submissions. Not for being Ruby, but just that my PC really didn't like having multiple versions of Ruby running. In the end that was my fault, but at the time it was quite frustrating.
@NathanMerrill I've done runs on my own, and stability is indeed an issue. I'll probably do 4-5 one hour runs, and then the final 8 hour run to get both stability and a high number of samples.
15:35
Of course, another problem was people submitting things that just don't compile at all. I had one particular Java entry that was missing all kinds of syntax
right. If your 1 hour runs are sufficiently stable, then you're awesome. If they aren't then how can you be sure that your 8 hour will be?
I'd totally submit a bot if I knew any python at all >.>
2
^ this
? We're on a site that is all about learning (and making) new languages, and you're complaining about learning one of the easiest languages on the planet?
15:37
Not saying I would, but that's my argument in a nutshell
Especially with a simple challenge like maxb's, I really don't buy the "I need more submissions" argument.
@NathanMerrill not complaining at all, just stating the fact that I don't know any python :p
This site isn't about learning new languages to everyone. Some people just want to golf, or play, in languages they already know
@NathanMerrill I'm hoping that all runs will be stable. if the 1-hour runs aren't, I'll have to see if I can do multiple 8-hour runs
I have no interest whatsoever in Jelly or D or Ruby or Lady-Octopi, or whatever the newest fad is :D
15:38
I can probably learn some python to do it, but it's not the most exciting language to learn IMO
Fair enough. You can't expect people to learn a language. But if somebody is actually interested in a challenge, learning the language (especially Python) is the least of their problems
Actually getting a good score is (hopefully) harder
No arguments there.
@Geobits could you not use venvs or whatever ruby's equivalent is
@Poke Maybe, I don't know. The main issue was that I did not know many things lol
At least it is not required that all submissions are in Befunge or something. Python is easy to learn and easy to read, so even people who don't know it should be able to figure out how to do what they want to do fairly quickly without actually learning python.
15:40
Unless they golf on their work computers and installing python would be frowned upon :P
@Geobits Did you know what you didn't know
@Poke I only knew that there was much I didn't know, not what it was
@J.Sallé I'll look into allowing multiple languages. If I decide to (right now I'm 50/50), it'll probably be a small set of languages (I'm thinking Python, C/C++, Java, maybe 1-3 more)
@maxb You're using python, so my data may be off. However, when I tested cross-language communication vs single-language communication (in Java), I found that cross-language was literally 10x slower.
@Geobits That's better than not knowing what you don't know because then you think you know but you don't.
15:41
This can be reduced if you do parallelism
because you can do lots of pipes at the same time
but a function call is orders of magnitude faster
And so "multiple languages" is at odds with "lots of iterations"
Oh it's definitely slower if you're using stdin vs a built-in class, for instance. For such a simple game it may not be an issue, but that depends on the number of entries also
@maxb I don't think that's strictly necessary though. Sure, you'd get more submissions, but all in all it's much more complicated to test
@Geobits simple games are typically worse, because you are making more function calls, rather than fewer, larger ones
@Poke Hmm. I don't know.
though that obviously depends on the game
15:43
@NathanMerrill I'm quite sure that the simulations will be way slower, but I think the hardest part will be creating a system which runs smoothly (or at all)
@NathanMerrill Oh, I meant simple as in relatively short, really. Not not-complex
@maxb There are KotH controllers posted as examples in Java and Python at least that do this you could "borrow" from
@maxb well, if you need help in this regard, I have lots of experience in this field
I've done it in Python (including cross-language) as well as Java
I'll look into the links I've gotten when it comes to KotH controllers, and make a final decision after that. Just don't hate me if I go with Python only, as I don't have unlimited time for creating KotH challenges.
Nah, no hate here :D
I'm not sure if there is a Python controller. I might have some old code you can reuse, though.
15:47
Hard to believe this is still the case after I've been gone so long:
it's been months since I've asked one as well :)
They really do take a lot of time
@maxb I know I'm the one that wrote this, but this post is basically what I ask people every time they make a KotH.
@NathanMerrill Thanks! I'll read it through
> Commit to running and fixing your KoTH at least once a day for the next week, and every 2-4 days after that depending on how many submissions you get.
So much this
Yeah. I'm not going to lie. It's a time hog.
If you don't have some time on your hands, just don't bother lol
15:52
It's way fun though. You get lots of interaction, have some great discussions
You've got this popular little challenge you get to baby around for a while :)
@Geobits i'm surprised about how often regular code-golf challenges get posted right before the OP disappears for half a day ._.
Yeah, that's bad enough, but it's way worse for a koth
@Geobits I have "some" time on my hands. CPU time I have lots of, so running simulations probably won't be a problem. But I want to solve most issues before posting the challenge.
It's not just CPU time. It takes time to constantly update with new submissions, post leaderboards, etc. CPU time is a must, but so is the other
^ this as well as new-user support
15:57
If you're lower on that kind of time, it would probably be better indeed to stick to a single language to make that easier
brb, making a koth that requires everyone code in PowerShell
Make it exponent based, and call it Powers Hell
You know you're addicted when you can't see the word "koth" without thinking of MtG
Koth is overrated :P
i can't see koth without thinking of the chess variant
15:59
Gimme some of that sweet Teferi instead
Well he does struggle with Tibalt for the most useless red PW awards
I've always been of the opinion that he was a green born in a red's body
You know you're addicted when you can't see the word "tibalt" without thinking of GW2
Makes a lot of sense actually, what with all the making lands into creatures and stuff.
GW2?
16:07
Guild Wars 2, there's a character called Tybalt Leftpaw
Also known as George Washington Junior
also RIP Tybalt
Contact, anyone?
16:26
Actually lets test the TNB effect

 Contact

For playing the game Contact, where one person tries to "defend"...
16:42
@Pavel Seems like the effect is real
Yes
I'm quite surprised linking to a chatroom from a more popular chatroom increases the population in said chatroom
17:09
fascinating
Always link to the transcript.
@wizzwizz4 But then you don't join the room, which defies the point of invoking the TNB effect
If the point is "more people in the room", then yes. If the point is "more people playing the game", not necessarily
But when you enter the room everyone can see
And then we can harass you if you're playing or not
I entered and left with no harassment ;)
17:19
@Geobits can, not will ;)
I mean sure, but the last part of the statement is redundant anyway. "if you're playing or not" is the same as if(true)
So we might as well not parse it too closely :P
poorly worded, his intention was "harass you as to whether you are playing or not"
That makes an assumption not guaranteed. VTC as unclear
oh, so he didn't mean if x or not x:...?
Unrelated: I finally gave up on the not-Comcast option in my area, since they've screwed my billing up for the last time. Signing up for Xfinity now :(
I knew this day would come, but it's a sad one
17:26
Ok, I think the period of respectful silence can stop now.
2
18:22
0
A: Sandbox for Proposed Challenges

japhCount smooth numbers fastest-code number-theory primes combinatorics Define \$\Psi(x,B)\$ as the number of integers between \$1\$ and \$x\$, whose prime factors are all \$B\$ or less. (These are the \$B\$-smooth numbers.) For example, there are 34 integers between 1 and 100 that have only 2, 3...

Anonymous
@Geobits RIP
yum, waffle
19:12
@EriktheOutgolfer No eating Mego's head.
and I thought I was the only one who has put that hat upside-down...
@EriktheOutgolfer I was planning to hack the site to place the hat lower down whilst keeping it maximum size, but I don't really think it's worth the effort of extracting H(...).setHat.
abuuuuuuuse ;P
I\ve had my hat upside down since I got the topbar hat
good, I'm not the only one using hats in weird directions & places :p
19:26
I actually like this hat upside down over my picture so much that I took a screenshot of it and set it as my picture
so even when hatmas is over I still get to keep it :D
@Skidsdev It's a tradition for me.
this is my first time being active here around christmas
19:46
Hahahaa!
n = {
  hatId: 4,
  fkey: StackExchange.options.user.fkey,
  x: 0,
  y: 0,
  s: 100,
  r: 60,
  everywhere: true,
  community: false
};
$.ajax({
  url: "/winter-bash/wear",
  type: "POST",
  data: n,
  dataType: "json"
});
Change the ID to a random number, see if you get a new hat
x and y relative to the centre, I think.
@cairdcoinheringaahing You can't; only hats you already own.
And I just realised that setHats is exposed as WinterBash.hats.setHats; that takes hatId and then n, iirc. Never mind; it's not!
r is in degrees, not radians, by the way.
@cairdcoinheringaahing And secret hats have randomised IDs.
Argh! They validate it server-side. :-|
We can't set hats out of bounds. :'-(
of course they do
ah but can you increase the scale above normal limits?
how good is their validation?
What about a negative scale?
19:57
Seems to be the same as client-side.
Same algorithm, even.
The client-side algorithm is pretty foolproof, so I expect the server-side algorithm to be too.
Especially since Winter Bash is 60% client-side; only the hat awarding and the position storing is server-side.
... It's not server-side validation. It's client-side upon rendering, I think.
Chat renders mine differently to Main.
@Skidsdev You can find out, if you like! I've got to do some real work, but I think there's potential for hackery here.
Alas I too have work to do
Aww...
@wizzwizz4 known issue, yes
Running WinterBash.chat.init() fixed it...
Probably a coincidence.
 
1 hour later…
21:24
Quick, party while everyone's off playing Contact and Codenames
peeks at sidebar
Found anything interesting?
!Yes
@Veskah Mazel tov.
21:37
I've been starting an effort to drink 64oz of water every day while i'm at work. This has (as expected) resulted in more trips to urinate throughout the day. Anyone know what the actual benefits i'm getting are if i'm just urinating them out a few hours later?
TIL: The acceleration due to gravity in the room I'm sitting in is 9.80799 m/s^2
@Poke You're getting free breaks from work
for reference I used to drink less than half of that
And no, you don't need to drink more water when you don't feel thirsty
Unless you do hard labor in extreme heat you're not hurting yourself by drinking only when you feel your should
so my recent effort is going to gain me nothing
excellent
Most likely, yes
21:40
well I suppose my pee will be clearer more often ;)
Fighting the good Kidney stone fight
@Pavel 1. That seems oddly exact — did you measure it? 2. No, that's the net acceleration due to gravity and centrifugal force.
@Pavel Well ... Adipsia is a thing tho'.
@Adám Only gravity, and I calculated it based on longitude, latitue, altitude, and ground density.
@Zacharý ninja'd me.
21:42
(Always assume there is a way around something)
@Adám WAIT WHAT.
@Zacharý I was about to say that.
@Geobits I recently found out that an ISP I used to use recently sent out a big ad to all of their consumers (that had to be acknowledged before you could use the internet). I'm quite glad I switched (and rather happy with my current ISP)
If you're sick you should drink more, because most sicknesses cause you to lose fluids.
I know. I had to look it up: I literally assume there's a (possibly convoluted) way around everything, including advice.
General health generally has a high correlation with water consumption. There's no solid data on the amount of water.
21:43
Not sick. Just working on small stepping stones to washboard abs
@NathanMerrill ... Yeah, I'm glad I'm not living there.
Where is that?
@Pavel So you sit on a pole?
Wasn't it a Colorado ISP?
CenturyLink, in Utah. My current ISP is a small company called Direct Communications
@Adám No..?
21:44
they might have stuff in Colorado. We are neighbors, after all
Oh right, only one of latitude/longitude. Already forgot which one.
@Pavel If you're not at a ple, then whatever you measure is the net total (though the centrifugal force is negligible… I'm just trolling. Sorry.)
longitude goes the long way around on maps
but that's all based on your projection
@Adám I didn't measure it, at that precision you'd get the wrong answer just from air drag. I calculated it with a formula I found.
@NathanMerrill I always was taught latitude flatitude
;)
21:46
I was taught Latitude like steps of a Ladder
lol. That's way better
@Veskah Erm... But ladders go the other direction to longitude and latitude...
Kinda want an app that gets your GPS data and tells you the acceleration due to gravity on your phone
Not if it's lying down and facing north
@Pavel you mean you want the decimal places after 9.8?
21:48
Yes
CMC: Given an integer k, alternate between waiting/sleeping/busylooping n seconds and printing that n (you choose order), for n in (0 or 1)…(k-1 or k) (you choose combination).
So sleep 1, print 1, sleep 2, print 2, etc.?
@Quintec Yes, or print 1, sleep 1, etc. or begin at 0 if you want.
@Adám for(0..<>){sleep$_;say}
@Pavel What's up with not saying language any more?
21:54
@Adám Well, no other language looks like Perl
@Pavel You could have convinced me it was Python.
Wait, Python doesn't have braces, does it?
@Adám Python 3, lambda n:all(map(lambda n:[print(n),__import__("time").sleep(n)],range(n)))
Not with the $ or <>
@Adám Jelly, 5 bytes: œSṄ$€
Returns garbage.
foreach $_ (0 .. readline(ARGV)) {
    sleep($_);
    say($_);
}
21:56
@Dennis Show-off. :-p
@Pavel The deparse of the above perl
@wizzwizz4 Isn't that the whole point of this site? :P
Wait, 4 bytes: œSṄ)
@Pavel Looks like JS to me ;-)
@Pavel It's ruby :P
@Dennis Is Wait a new language of yours?
21:58
@Adám deparsed (i.e. ungolfed) Perl doesn't look as cool
@Adám Cool! It's shorter than Jelly!
It is neat how Perl comes with an ungolfing tool
@Adám dictionaries, sets...
@Adám Sister language to hold on and I think I found something shorter.
lol
22:00
@Dennis Seriously? ;-)
Actually, I just golfed my Jelly code.
@Dennis That's odd, Jelly is usually shorter than Actually.
Local Man Can't Be Stopped
I wish say returned the value it prints so I could do sleep say for 0..<>
that's what Jelly does over there...
22:02
@Pavel Does sleep not return?
It does.
Neat.
@Adám Is 0 to k OK?
Oh, but it doesn't take $_ by default, so say sleep$_ for 0..<>
@Pavel That's why allowed whichever order you want of sleeping and saying.
(no pun intended)
22:03
@DJMcMayhem Yes, as stated in CMC.
@Adám No I had no idea until you asked and I checked
I tried this in Java, gave up when I realized there would be an exception
I couldn't tell if you meant "(0 to k-1) or (1 to k)" or "any combination"
lol "(0 or 1)…(k-1 or k)" apparently means the cartesian product of those
@DJMcMayhem It literally says you choose combination
22:04
@Adám Vim, 22 bytes: qqYp<C-a>0D@"gspqddC0<esc>@"@q
Deparse: say(sleep($_)) foreach (0 .. readline(ARGV));
No Stack Exchange, I'm not trying to ping Quintec and Quartata.
I heard my name
0..$args[0]|%{$_;sleep $_}
22:06
I have 10 bytes in APL.
@Veskah please explain
I need to figure out how to sleep in APL
@Quintec ⎕DL (DeLay)
Ah, is that in seconds or millis?
@Quintec secs (but allows non-ints)
22:08
Cool thanks
@Pavel Powershell for the CMC. Pass it a number, makes a range where it implicitly outputs it then sleeps for that long
@Veskah I get ForEach-Object : Cannot bind parameter 'RemainingScripts'. Cannot convert the "4" value of type "System.Int32" to type "System.Management.Automation.ScriptBlock".
@Pavel Weird tio.run/##K8gvTy0qzkjNyfn/30BPTyWxKL042iC2RrVaJd66OCc1tUBBJb72//… TIO's run time correctly runs and shows 10sec taken (despite not being live)
Oh, it was my bad. Shell quoting error.
22:13
@Adám Does ⎕←⌊⎕DL¨⍳⊢ not work
@Quintec Have you tested it
@Quintec No, because it will collect all the results from ⎕DL¨ before getting to .
@Veskah It is live. It take just over 10 secs to run.
@Adám Live as in you see the oupt being produced
Not in a batch at the end
However, it will cache output, including the time.
@Pavel ^
22:16
As opposed to alive, i.e. tio is not on fire
"IT'S ALIVE!" - Dennis von Frankenstein
TIO is kind-of alive. Dennis is sitting there clicking on the appropriate REPL or compiler and pasting your code in every time you press ▶
18
I think the only language running in a repl on TIO is dyalog
I think J too
there's a C# REPL too isn't there
22:21
@Pavel Dyalog Unicode actually doesn't. Only Classic.
Why is there a EOF interrupt then?
@Quintec Where?
22:34
@Skidsdev Not quite. While that is what most people use it for, csi and csharp are C# interpreters rather than just repls.
@Adám Everytime you run code on TIO with Dyalog Classic there's always a EOF interrupt
@ASCII-only should an override keyword be required for a function that overrides a parent function
Do you have a virtual keyword?
@Pavel no
0
A: Sandbox for Proposed Challenges

guest271314Integer or decimal to array and array to decimal or integer Task Write two functions 1) Convert an integer or decimal to array of integers that potentially includes a single decimal 2) Convert array including integers and potentially a single decimal to integer or decimal Input Integer or d...

23:43
@Downgoat depends
Idk. See Java or c#

« first day (2880 days earlier)      last day (2260 days later) »