« first day (2138 days earlier)      last day (2708 days later) » 

8:00 PM
too trivial
imo anyway
 
@GabrielBenamy You mean like calling Jelly from Bash? Sure, that's fine. Invoking Jelly on TIO is currently a bit expensive though. I should create a separate .../bin folder for interpreters.
 
Yeah, that's what I mean
 
@Flp.Tkc Well, I was going to throw a slight twist in it, where you have to append the length of the input string to the string and count that appendage as part of the length (ie. if the input was "aaaaaaaaa", it's length is 9, but "aaaaaaaaa9" is length 10, so the actual output would have to be "aaaaaaaaa11")
 
@Yodle what about aaaaaaaa? It has two valid answers now -- aaaaaaaa9 and aaaaaaaa10
 
@Yodle Woah
 
8:03 PM
For clarification, I'm pretty sure I was AdmBorkBork before Tux joined here.
 
@GabrielBenamy Hm, I would say use the smaller number if there are duplicate answers like that case.
 
@Yodle All inputs of size 10^n - 2 will have two answers
 
@Yodle any ideas on how to further golf the skittle one
i updated my answer a bit
 
@Poke I havent been able to figure anything out, haven't looked at the recent changes either
 
Rofl, GitHub is down.
Ironically the exact time I released a free hosting project for status pages.
 
8:15 PM
@ais523 Do I understand right that your pangram-finding challenge is equivalent to weighted minimum set cover?
and since that's NP-complete, any answer must exploit either the finite alphabet or the length bound?
 
it's definitely a variant of minimum cover
finite alphabet is what I was expecting people to exploit
I made sure there was at least one obviously polytime algorithm before submitting
 
that seems somewhat unsatisfying, as I'd expect algorithms to be exponential in the 26 parameter
 
worst-case, yes, I think that's unavoidable though
 
ok, as long as you're expecting untestable programs
 
right, I was simply trying to disallow the obvious brute-force algorithm because I thought it would be uninteresting to compete with
rather than to get a program that actually runs quickly
 
8:20 PM
Dang, don't think I'll be able to squeeze in PowerShell on the answer-chaining.
It would be really easy to do, too, just need to somehow get a number on the pipeline. But parse errors stop execution :-/
 
most of the #-as-comment languages should still work, although Python 2 makes it hard to use semicolons. which is an annoying obstacle
 
Lol
 
The easiest way to polyglot PowerShell is use the multiline comment <# ... #>, but that breaks a bunch of 2D languages.
 
Python 3's tolerance of semicolons is a huge gift to polyglots
 
Then, I added Python 2
@TimmyD TIL
 
8:25 PM
@Dennis: now I'm wondering if being a duplicate is transitive
my post is talking about a different (although related) problem to the post linked at the start; the post you mentioned was marked as a duplicate of the post I linked; so can my post be a duplicate of the one you mentioned?
 
@ais523 if a is a duplicate of b and b is a duplicate of c, can a and c still be sufficiently different?
 
@GabrielBenamy that's pretty much what I asked!
 
in Mos Eisley, 17 secs ago, by Wad Cheber
I'd love a goat president.
@Downgoat found your next job
 
i'd say it's transitive by the hybrid argument
 
time to write a binary-to-decimal converter in COW
 
8:31 PM
@ais523 I've just stated the facts. If I thought your question was a duplicate, I would have closed it.
 
fair enough, I was just curious about the metaproblem
now I'm trying to figure out how to find a computer with a working RS-232 port so that I can test porting 7 to that, so I can happily never use the feature, safe in the knowledge it exists
 
lol @betseg, invading other rooms isn't nice ;p
 
4
Q: Should we be flagging so many questions as duplicates?

ElPedroI have seen a lot of questions flagged as duplicated and so blocked recently, some from established members and some from new members. In several cases these have not been exact duplicates but have had some (sometimes small) difference that does not make them a direct duplicate. While I am tota...

(duplicate)
 
@EᴀsᴛᴇʀʟʏIʀᴋ what, is it a crime to increment user count in a room? :p
 
> sadly this site is no longer "Programming Puzzles & Code Golf" but just simply "Code Golf" (link)
:-/
 
8:35 PM
it occurs to me that it will be incredibly difficult to run a bin-2-dec converter in COW for any inputs larger, than, say, 1000000
 
> Remember the good old days when opening a simple document or web page was painfully slow as it hogged all the meager resources your computer had? And today, doing the same is even slower, despite your processor being hundreds of times faster and having access to thousands of times more memory?
Uh, no it isn't. I remember those days, and things are much faster now >_>
 
that (= the quote) is not true
I've tried to open Wikipedia on SunOS
it took ages
and I accidentally blanked Talk:Main Page somehow trying to edit it
 
@Geobits Actually, it is.
Software gets slower faster than PCs get faster.
That applies everywhere, not only to web development.
 
@Geobits For giggles, I booted up a ~2005 WinXP machine I still had in the closet. It took a solid 5 minutes before I had a usable desktop. Compared to ~2 seconds on my new laptop.
 
Anonymous
There was a sweet spot in the 00s when DSL was becoming widespread, and internet ads hadn't taken over everything and slowed everything to a crawl
 
8:38 PM
web pages are only slower nowadays because the web pages themselves are bloatier
the browsers are much faster than they used to be
 
@mınxomaτ Specifically speaking of web pages, it's not true at all. Any web page with any images at all used to take forever to load. So long that the images would come in rows, and blurry.
Yes, web pages today are bloatier, but they're still faster than they used to be.
 
@Geobits That's still true for images today, because most people don't even have a 6M DSL line.
 
@mınxomaτ wut? images no longer affect pageload times, bub
 
And sites from the era I'm talking about (like this: frigger.de) load instantly today and did so years ago (talking about 2k/XP)
@Poke You missed the point entirely
 
8:41 PM
ok
 
> So long that the images would come in rows, and blurry.
Still very much true on slow connections.
 
and block the rest of the page
 
Images come in on 2G phones now faster than they did on home PCs 20-25 years ago.
 
The internet got bigger tubes
 
@Poke That depends on how the page loads images.
 
8:42 PM
so we can have more cat pictures
@mınxomaτ The page doesn't load images... The browser does
 
Good night
 
night
 
@Poke Sure it does. It can load images async, where it is the code from the page that requests the image.
I still see images roll in from top to bottom, slowly, when I visit my parents. Their maximum available internet speeds also didn't change for many years :)
 
your browser is still interpreting that javascript
 
@Poke That's kinda like saying it's not my code that executes a function, it's the processor.
 
8:45 PM
Yes, but these requests don't block the page, as they used to in a less async era.
 
When you type in a url your browser fetches the HTML markup and begins rendering while it makes any calls needed for additional resources (images, scripts, etc)
that's my point
back in the day the browser rendered things differently
 
That's what I just said.
 
5 mins ago, by Poke
@mınxomaτ wut? images no longer affect pageload times, bub
The page finishes loading
and images render as they finish being downloaded
it's no longer a blocker
that was my point
 
Load times are measured with all resources fetched.
 
what
> The DOMContentLoaded event is fired when the initial HTML document has been completely loaded and parsed, without waiting for stylesheets, images, and subframes to finish loading
 
8:48 PM
Yep. Just open your dev tools in "Network" and take a look at the load time.
 
you can actually see the basic structure of the page at this point
 
DOM != Page
 
it still renders
nevermind
 
Anonymous
@Poke You are completely failing to grasp what he is saying
 
i don't care
 
8:48 PM
It literally says that DOM and Page times are two different things.
 
Anonymous
He is saying that he is using the metric of timing the page from when the request is sent to when all resources have loaded
 
The page load time always includes all resources.
 
Except that's not how web development works
 
Anonymous
Not what you are saying, which is from when the request is sent to when the page is rendered and able to be interacted with (which is much harder to time)
 
I can't believe we're arguing about this.
 
Anonymous
8:50 PM
@Poke I'd wager the guy who has been in the industry for a while knows what he's talking about
 
in web development you care about domcontentloaded just as much as page load times
it's a way better ux to get something loaded as fast as possible
then async in the slower bits
facebook even does it
 
@Poke Sure, that's true. Still the term page load time (as you can see in the screenshot of the developer console is all resources). I even said that DOM loading used to be different:
6 mins ago, by mınxomaτ
Yes, but these requests don't block the page, as they used to in a less async era.
At this point it looks like you are just reading what you want.
I even made a nice pink arrow :(
 
3
Q: Nostalgic prime number generator

vszRemember the good old days when opening a simple document or web page was painfully slow as it hogged all the meager resources your computer had? And today, doing the same is even slower, despite your processor being hundreds of times faster and having access to thousands of times more memory? T...

 
me: downvotes the challenge in question because it's tearing apart our family
 
@mınxomaτ This was the original point I made where you said I missed the point entirely. It's possible I used incorrect vernacular between domload and pageload
 
9:00 PM
I like the question. Still unclear though.
 
@GabrielBenamy There have been sillier arguments
 
There's a relatively easy way to do it in PowerShell -- (Get-WmiObject Win32_Processor).MaxClockSpeed ... just sleep for that many milliseconds
Presto - faster computers are slower to execute
 
Hey, can anyone take a look at this answer I posted awhile ago: codegolf.stackexchange.com/a/92810/59170
Is it invalid? My friend thinks I did something wrong with how I'm escaping backslash
 
@TimmyD Hmm. I'd argue that a single core 1.0GHz should qualify as "slower" than a quad core with the same clock speed. I assume there's a way to get the number of cores also, but then you get into trying to find a balance between cores and clock, etc...
 
s=\"x5Cx5C\x5C\x5C\" looks very suspicious to me, but I don't really know C#
 
9:13 PM
Probably better to close the challenge as not objectively specified
 
I guess you need to make sure that x, 5, C, and `\` are all balanced
 
@trichoplax Either that or come up with an arbitrary "fastness" formula, taking into account clock speed, number of cores, memory speed and capacity, FSB speed, ...
 
(also SE Chat sucks at mixing backslashes and backticks)
 
@Geobits So do a sleep for MaxClockSpeed * NumberOfLogicalProcessors + L3CacheSize ... yeah, you're right, this is getting unwieldy.
 
@ais523 Yeah that's what I was trying to do, the resulting string is using System;class a{static void Main(){var s="x5Cx5C\\";Random d=new Random();for(int i=0;i++<268;)Console.Write(s[d.Next(0,134)]);}}
 
9:15 PM
why not just run an infinite counting loop, interrupt it after 1 second
 
@ais523 Type it on its own line with 4 preceeding spaces
 
then sleep for the number of iterations it reached
 
Sure - as long as it's specified that would work. I just refreshed the page and realised it's closed already...
 
@TimmyD doesn't help for code blocks mid-sentence, there'd be way too much vertical space
 
Yeah. But that's the best workaround :-/
 
9:19 PM
Uh, did anyone else's HNQ sidebar suddenly fill with nothing but 3D site icons?
 
yes
 
@Geobits yep
 
Huh, not just there, but everywhere the little icons are used :/
 
HNQ?
 
hot network questions
 
9:20 PM
I'm getting questions from all sites, but the icons all show just the top left corner of the 3D icon
 
8
Q: All Stack Exchange site logos are showing up as the 3D Printing one REDUX

sumelicAll Stack Exchange site logos are showing up as the 3D Printing one This bug just started showing up for me again; I noticed it on both computer and phone.

 
ninja'd
 
I get that too...
 
Oh - I get the full icon if I'm not zoomed in
 
9:21 PM
3D printers taking over the world...
 
It's probably the first site if you sort them alphabetically.
 
I'm disappointed in the HNQ sidebar
I was hoping it'd be showing the icons for the actual sites, but in three dimensions
 
0
Q: How to count bytes in 7 (and other languages that use fractional numbers of bytes)

ais523(See also this question, which is similar, but talks about the situation where the language is normally stored on disk with one command per byte.) This question originally came up in connection with 7, but might be relevant to other languages. In 7, each command is only three bits long (it only...

 
@NewMetaPosts Way to be slow, you crazy bot.
 
Anonymous
@NewMetaPosts Wow you suck, one hour late
 
9:24 PM
Funny anecdote -- We adopted a Persian cat (they have a very stubby snout, and ours even more so, almost to the point that the nose is indented into the face) and for several months, that was the only cat I saw. Then I went to a friend's house, where they have a generic tabby and my first reaction upon seeing it was "Whoa, you're in 3D!"
 
@NewMetaPosts New Meta Posts
10
 
4
A: All Stack Exchange site logos are showing up as the 3D Printing one REDUX

Nick CraverI actually managed to screw this up in a new and exciting way as we moved favicon generation around. Due to caching on dev, we missed it. It was a grep for favicon.less, but turns out our base .less includes it via: @import "favicons/favicons", which didn't show up in my grep of "places to fix". ...

That's an awesome snafu.
SE is blaming caching.
 
Anonymous
> I actually managed to screw this up in a new and exciting way
 
Anonymous
Best thing to hear from a dev
 
and that's why find and replace is bad
 
9:28 PM
@Mego Just like hearing a "Whoops!" come floating over the cubicles ...
 
the person who posted the original question has repcapped for the day on Meta already
FGITW times a million
wait, no
only halfway there, question upvote is 5
 
Anonymous
@TimmyD Or the furious pounding of a phone number pad from the office next door
 
Anyone know where the meme for "is caching to blame" is?
Nvm
 
Would some explain to a poor non-native what's the fun or the point of this? I only feel I wasted a few minutes reading what appears to be a story with no end
 
9:29 PM
damn ninja'd
 
Anonymous
@Flp.Tkc blame caching
3
 
Anonymous
@LuisMendo Feghoots are long stories that end with an unexpected pun
 
Hm. So that was it. And the pun is...?
 
Anonymous
@LuisMendo "no punchline"
 
9:31 PM
@LuisMendo A "punchline" is typically the ending to a joke. In the context of that story, it also refers to a line for the punch (a drink). Thus the pun was a play on words.
 
@mbomb007 They better have a Wobbuffet hat for Winterbash 2016!
 
Anonymous
The punchline is that there is no punchline. Confusing yet?
 
I would do anything for that hat!
 
@GabrielBenamy Oh, thanks. I had no idea of the punch - drink equivalence
 
Anonymous
Really?
 
9:32 PM
Really?
 
Anonymous
Someone flagged that?
 
Well, it's a kind of drink, like fruit punch.
 
That flag was invalid due to caching.
 
That moment when you view the source, and the entire thing is basically one giant SVG.
 
Anonymous
I'm taking your flags. You don't get them back.
 
9:32 PM
 
OK, three people post the same link and only one of them gets flagged?
 
Anonymous
You clearly aren't responsible enough to use them properly.
 
@Catija We should all blame caching :P
 
Anonymous
@Catija People use flags incorrectly. News at 10.
2
 
News at 10? You must still be in Daylight Saving Time.
 
9:33 PM
Still, I wish I could apply a "negative-star" (black-hole?) to that "funny" story
 
@LuisMendo downstar
 
@LuisMendo Neutron star?
Dark matter?
 
What's it called? It should be quirked!
 
@mbomb007 Nah, those do shine
 
Quarked!
If that's a word
 
9:34 PM
@Zizouz212 Just came into the room to be able to star that! (some people get offended by a leaf blowing in the wind)
 
Anonymous
@LuisMendo You might like this one better.
 
fun science fact: black holes don't exist. black holes take an infinite amount of time to form, and a finite amount of time to dissipate, so they dissipate before the black hole ever forms.
 
lol that makes my day! I've been having a really crummy day :/
 
@Fabby Go blow your leaves somewhere else. :P
 
Anonymous
@Fabby Yep, and they stab it right through the heart
 
9:35 PM
@GabrielBenamy Do they take an infinite time to form? How's that? Stars can collapse into blackholes, can't they?
 
Anonymous
@GabrielBenamy That is factually incorrect
 
@Zizouz212 Had a crummy day yesterday... Tomorrow is going to be better and it started 3 min ago!)
 
@LuisMendo Due to relativity, as you get closer and closer to the event horizon, time slows down for the rest of the universe. The act of crossing a black hole takes an infinite amount of time.
 
Anonymous
Black holes take a finite amount of time to form. That's verified by the fact that we have actually detected them.
 
@Mego I'm not sure I want to read such long text :-)
 
9:35 PM
@GabrielBenamy How can they dissipate if they haven't formed yet? That must be one of those science "facts" (more of a guess than a fact)
 
I think it's a stretching of the theory of general relativity.
 
@GabrielBenamy Ah, but you crossing and they forming are very different things!
 
Anonymous
@GabrielBenamy The act of crossing the event horizon takes an infinite amount of time for a distant observer. It happens in finite time for the unfortunate soul who is falling in.
 
@Fabby I'm guessing your somewhere in Europe? (I'm from Toronto btw)
 
@Mego But before that happens, the black hole will have dissipated due to hawking radiation.
 
9:36 PM
Please capitalize the poor guy :-D
 
@Zizouz212 would have to be very eastern europe xD
 
Anonymous
@GabrielBenamy Sure, because the distant observer never sees the falling person cross the horizon. But black holes do form in a finite amount of time.
 
Isn't Europe 6 hours away? Oh wait, it's 4:30 here -_-
 
@Mego In any time frame, a black hole will dissipate due to hawking radiation before an object falls inside the event horizon.
 
@Zizouz212 EST is GMT-5
 
9:38 PM
UTC 21:38 right now
 
@Zizouz212 Yup. Currently in Germany...
 
So go a couple timezones east, and you're in tomorrow.
 
Anonymous
@GabrielBenamy Once again, incorrect. In the reference frame of the object falling into the black hole, it takes finite time to fall in.
 
@mbomb007 Considering that I'm Norwegian, and think in Norwegian ways, Europe is UTC+1 for me
 
Belarus is GMT+3 and in Europe (I think...)
but GMT+3 is more in the area of Iraq
 
9:39 PM
@Mego Speaking of jokes and time dilation...
 
We had a challenge about this ...
 
@Mego But it will also take a finite time for it to dissipate due to HR.
 
Anonymous
A distant observer will never see the black hole form thanks to massively-redshifted light, it does in fact form in finite time.
 
@LuisMendo The joke is at the reader's expense. Instead of a long build up in order to amuse the reader, there is a long drawn out story to amuse the person who sent the reader the time-wasting link. I suppose you could see it as the prose equivalent of rickrolling. It's something you can send to someone you wish to irritate.
 
Could you guys please use terms that a time baby could understand?
 
9:39 PM
Anything that happens in finite time happens sooner than something that happens after infinite time.
 
6
Q: World Time Conversion

YodleWorld Time Conversion Challenge: Given an initial clock time in UTC and a list of countries: for each country in the list, output the local time it is in that country based on the initial time. In cases where a country is big enough to have multiple local time zones (like the United States), y...

 
@trichoplax Exactly. I found that irritating
 
Anonymous
@GabrielBenamy Sure, but the rate of Hawking radiation is inversely proportional to the size of the black hole. It's not difficult to construct a scenario where it takes less time for an object to reach the singularity (in its reference frame) than it does for the black hole to dissipate via Hawking radiation.
 
@mbomb007 You need to walk into a tardis
 
Interesting that Kosovo is on that list
 
9:40 PM
Being a time lord could be helpful
 
Are you sure about that?
 
Anonymous
@GabrielBenamy 100%.
 
@LuisMendo I read the whole story in order to be able to explain it to you. I also found it irritating... Think twice before reading anything else from whoever linked you to that...
 
@trichoplax It had quite a few stars here :-(
Also, thanks for reading it just for me!
Sorry that you also wasted time
 
@LuisMendo Well, I was also curious...
 
9:42 PM
 
I disagree. Let's say in my reference frame that, after 10 trillion years, a black hole dissipates, but an object has yet to fall in it. Does that mean that the object is returned to its pre-event horizon state?
Remember, in my reference frame, it takes an infinite amount of time for an object to fall into it, but a finite amount of time to dissipate. That means that when it dissipates in my reference frame, the object has yet to fall in.
 
It's much worse than rick-rolling. With RR you only waste a few seconds
 
Indeed. Rickrolling is for amateurs
2
 
Anonymous
@GabrielBenamy That's something that isn't answerable with our current understanding of physics.
 
It's explainable if black holes aren't really black holes, just very dense objects that have yet to dissipate.
 
9:45 PM
@LuisMendo Watching "Never Gonna Give You Up" is not a waste of time
 
Anonymous
We need a quantum theory of gravity to really understand stuff like what happens inside of a black hole and what happens when a black hole dissipates. We can't observe either - the first because a distant observer never sees the object pass the event horizon, and the second because the only interesting black holes will either take way too long to dissipate via HR, or are gaining mass too quickly and HR can't keep up, so they will theoretically last forever.
 
@Flp.Tkc I wouldn't think so. They have 100-some UN members recognizing them as a country, even if Serbia doesn't.
 
It depends on how we define what a "black hole" is. Is it an object in space that is supermassive and massively redshifts light to the point where we basically can't detect anything at all, or is it something that has a surface escape velocity of > c?
 
Anonymous
@GabrielBenamy The second one. That definition isn't up for debate.
 
@Flp.Tkc Well, that depends on whether that was your intention :-)
 
Anonymous
9:46 PM
@GabrielBenamy That's one of the possible explanations.
 
Then how have we confirmed that these objects fit that criterion?
 
Anonymous
@GabrielBenamy We can determine the radius of the event horizon, and we can measure the force of gravitational attraction, which gives us mass. We can then compute the density and see that it is high enough that the escape velocity inside of the event horizon is > c
 
@TimmyD I'm Serbian, but on the fence about Kosovo. Their independence doesn't really affect me at all, I'm just interested to see how they are progressing
 
Anonymous
Also fun stuff like gravitational lensing around a large, dark region of space
 
Anonymous
By measuring the orbits of stars near the center of the Milky Way, astronomers were able to determine that there is 4.3 million solar masses' worth of mass in a volume with a radius of less than 0.002 lightyears - well over the limit for a black hole.
 
9:52 PM
@Flp.Tkc Well, significantly more countries recognize Kosovo as independent than Taiwan as independent. I'm guessing that has something to do with the relative economic might of the People's Republic of China versus the Republic of Serbia...
 
Wait, literally my first visit to the chat and I get into a physics discussion?
 
Hi, Adowrath!
 
Anonymous
@Adowrath Welcome aboard
 
That's my fault, I apologize
 
Anonymous
You're stuck here with us - no escaping!
 
9:53 PM
^^ No need to :-)
 
No problem, Physic's always interesting.
 
@Mego TNB is the black hole of SE chat?
 
Topics in this room tend to vary
 
@TimmyD yeah, I'm pretty sure that soon Serbia will be the only country that doesn't recognize Kosovo, lots of people back home are quite stubborn about that, but I promise you that not all Serbians are evil :P
 
9:54 PM
I just browsed through the memes and 10+ referenced the chat in some way.
 
It's a nice place :-) Just don't trust starred messages
8
 
The main site is just a side attraction. Chat is where it's at.
 
Anonymous
@TimmyD Basically yeah
 
@LuisMendo can I or can I not trust you? :P
 
@LuisMendo I read all about the stars there
 
9:55 PM
Is the "Stop abusing stars" still the most starred message?
 
@Adowrath At least you didn't see anything about me in that post.
 
@DJMcMayhem Oh, I got starred. I should have known :-P
 
@Geobits Oh I did, we graduated. :V
 
@LuisMendo Yeah, and you created a paradox in the process.
 
@Flp.Tkc I think it was one of the "I'm an idiot" ones.
 
9:56 PM
Now I don't know if I can trust starred messages or not
3
 
@DJMcMayhem Why not just trust no message?
 
You can trust this message because it has no stars.
7
 
@DJMcMayhem >:U
 
Anonymous
@Flp.Tkc Yep
 
Anonymous
@Adowrath Nope, quartata's got surpassed
 
Anonymous
Our graduation announcement should be pretty high up there
 
> 93
@El'endiaStarman The DB is outdated on TNBDE
 
Anonymous
Oh speaking of which, it's now been 6 months since we last heard from the CMs about our design and site-specific text. Time to bug them again?
 

« first day (2138 days earlier)      last day (2708 days later) »