« first day (2028 days earlier)      last day (2812 days later) » 

1:00 PM
@DestructibleWatermelon I'm tempted agree as I say P-N-G and not ping or peng or something
 
I didn't mean literally, but there is no pronunciation but the ones that are used to shorten it
 
I can't stand when people call .png a "peng"
 
@DestructibleWatermelon gee-you-eye? Never heard it spelled out, I've always heard it as "gooey"
 
1:00 PM
Now what about WYSIWYG?
 
@βετѧΛєҫαγ Wizzy-wig
 
whizzy wig
 
wizzywig
 
Okay, so that's a standard... Good
 
I learned that people actually do phonetically pronounce gui
 
1:01 PM
or exe
 
The Nineteenth Byte: Answering the hard (G vs soft G) questions.
 
@DestructibleWatermelon I think those might be people that are more used to saying UI, so it's a natural jump.
 
Excee?
 
I'm of the acronym pronouniation of exe
 
1:02 PM
Whether an acronym is pronounced or spelt depends on how pronounceable it is to me
 
"exe" isn't an acronym, it's an abbreviation.
 
.apk
I say it A-pack
 
@Sp3000 Spuh3000 or Ess Pee 3000?
 
@TimmyD I pronounce it as one though
 
Ewwww... that's A-P-K
 
1:03 PM
^
 
@Fatalize Ess pee cos origin
 
Space Pilot 3000?
 
Sultry Potato
 
1:04 PM
Sexy Pete
 
@TimmyD I mean for the PNG example, but exe's interesting because I don't pronounce it like the start of executable
 
I try not to pronounce exe at all. #WindowsBashing
 
@βετѧΛєҫαγ Ditto Schwaobits, A-P-K
 
^ where does that ao come from, eo isn't prounounced that way
 
@Fatalize I think it was a play off of the schwa
 
1:05 PM
the worst is ELF
 
Shwowbits
 
@TùxCräftîñg Why? It's pronounced just like the word elf.
 
> an elf file
definitively weird
 
an*
 
Sham-wowbits
 
1:06 PM
@Fatalize My horrible rendering of however the heck you pronounce the middle of "bourgeoisie"
 
@TùxCräftîñg an?
 
Bourjwa
I think
 
I saw that z :P
 
@Sp3000 it's pronounced like wa, but the e in the eoi is silent
(to soften the g, funnily enough)
 
@Geobits Zed
 
1:07 PM
Why does oi = wa in French
 
@Sp3000 Oh, 'cause "schwa" means /ə/
 
Oh god. Not a zed person.
 
French is weird
 
we have the word "burjuva"
 
^^ i agree
 
1:08 PM
from french
 
@BusinessCat Why does ea = … too many possibilities in English
 
@BusinessCat Quoi do you mean?
 
Pretty sure it's just the US that says "zee"
 
@Geobits Zed here too fyi
 
and i dont see the utility of the ligature œ
because œ == e
 
1:09 PM
But English has equally terrible things like ough
 
@TùxCräftîñg No, otherwise cœur would be pronounced with a soft c which it isn't
 
I thought œ was u
æ is e
 
halp weird grammar
 
@Sp3000 Zed doesn't even really make sense to me. All other consonants (besides miserable w, but that's another gripe) have only one consonant sound in them. Why mess that up with zed instead of zee?
 
@Geobits Because British
 
1:10 PM
ough has 4 different pronunciations and no way to tell which one from context: as in through, though, cough, or bough
WTF English
 
@BusinessCat There's more (source: The Chaos)
 
@Geobits Zee makes more sense, Zed is just the retained prononciation from the languages they borrowed the alphabet of
 
@βετѧΛєҫαγ Goaty fish is not good fish.
 
@Geobits shrugs I'd stick with the Asian languages if you wanted pronunciation consistency :P I just stuck with what I learnt as a tiny todd
 
1:12 PM
Haha cool, goatfish actually exist
 
Haha, fair enough. I was never so baffled by English as when I started learning kana.
 
Japanese is good for consistency
But then they go and use kanji and you have to just remember how to pronounce them all
 
Pretty good until the last few rows :) but better than English at least
...only for pronouncing
 
And each one has multiple pronunciations based on context
 
So just don't read kanji out loud :P
 
1:14 PM
@BusinessCat Don't forget hiccough ("hiccup")
 
I've never seen that one
WTH
 
I want to correct hiccough every single time I see it.
 
Or thorough -- that's slightly different, too
 
Thorough and though are almost the same
 
1:16 PM
Not when pronounced like thara
 
@ReleasingHeliumNuclei looks like valid java to me
 
I forgot about enough
 
(That's a little extreme, but you get the point)
 
Pls help why do I speak English
 
Yeah, it's definitely different to my ear in thoroughfare at least.
 
1:16 PM
@Poke printf
 
yes and?
 
@βετѧΛєҫαγ Yuss, perfect.
 
@ReleasingHeliumNuclei Y U DO DIS ;_;
 
1:19 PM
^ You mean you pronounce printf the same as format?
3
 
@BusinessCat learn French. then you will understand than English is easy.
 
what
 
I know a fair bit of French
 
@Poke wow i didnt knoe
 
english is harder than french
 
1:20 PM
no
 
yes...
 
French: where chairs are... shoot... Feminine? I forget
 
French is harder
 
@Sp3000 Correct, it's in german that they are men
 
1:20 PM
how can you say that
just because things have gender?
 
you forget grammar ( ͡° ͜ʖ ͡°)
 
@Fatalize D:
 
Grammar and conjugation is much harder in French, in English it's almost non-existent
Pronunciation is harder in English though
 
I always forget if French is a man or a woman
 
And anyway, French is harder because I haven't been learning it since I was born
 
1:21 PM
@βετѧΛєҫαγ you're saying it's harder for you
 
@Fatalize We conjugate just fine. Why, we even verb nouns.
 
la français or le français?
 
@Poke of course. There's no objective "hardness"
 
@BusinessCat le
 
@BusinessCat Watch the Eurovision and you'll know: La France, Nul points
 
1:22 PM
that's debatable
 
French is fairly easy for a native English speaker and conversely English is fairly simple for a native French speaker
 
la france, but le francais
 
Wait seriously? France is feminine but French is masculine?
 
@BusinessCat yes
 
1:23 PM
yes
 
Guys...
 
@NathanMerrill Mohs scale is pretty good for that >_>
 
in english you have a ton of homophones. you have synonyms that you can't interchange.
 
@BusinessCat I can't think of a single language name which is feminine
 
1:24 PM
Julia
 
nope, we would say "le" even for programming languages
 
That's terribleh
 
That's miserableh?
 
Le Julia
 
1:25 PM
I needed 10 rep yesterday to reach the rep cap :(
 
pretty sure there are more irregular verbs/adjectives in english than in french. you've got things like conjunctions
 
I think English does have way more exceptions than French... but I may not know enough French
 
different letter sounds depending on other letters in the word
 
At least French almost always just uses an s for pluralisation, sometimes it's an x
 
Sometimes it's a hard G
 
1:28 PM
Les chaiseG
 
need a reference for this one but i feel like there's more slang in english too
 
my language has no exceptions except borrowed words which is nice
 
@Poke I guess you've never been to Quebec
 
that's why i said i needed a reference
wasn't sure about that
 
1:28 PM
@Poke English has way more vocabulary, that's for sure
though the part that you use is usually pretty constant throughout languages
 
I've heard someone from Quebec say "the sky's the limit" while speaking French
 
boiling a language down to the bare parts you need in order to get basic points across does not constitute learning a language
 
@Poke I'm not talking about basic points, I'm talking about fluent speakers. There are probably tons on English words you don't know even if you are a native English speaker
 
correct
 
chet is bek tu ded
 
1:41 PM
𪚥 < wtf
 
11
A: Calculate the difficulty of a Code Golf question

Yay295I've been wanting to do this for a while... HTML + CSS 491 487 bytes -4 bytes thanks to Conor O'Brien Input is taken as the width and height of the page window; width being the number of Views, and height being the number of Answers. <style>p{overflow:hidden;width:1ch}@media(max-aspect-ratio:...

2
wow
 
2:11 PM
0
Q: Golf me a card dealer

tuskiomiFrank has been working IT his whole life. Each day he responds to tickets, organizes equipment, and reports to his boss. One day, near the closing time on friday, frank is doing his final inventory and sorting come cables in the supply closet. Suddenly, the door closes and locks from the outside!...

 
s-i-l-e-n-c-e
 
Does anyone know the fastest way to find a path through a grid with obstacles where the coordinates of everything (start, end, obstacles) are known?
 
Slip language?
 
@TùxCräftîñg Thanks, but is there no way to optimize it if you know the coordinates of the point you're looking for? Because then it just becomes a case of obstacle avoidance rather than a full search
 
i know nothing about pathfinding
 
Alright
 
but i think it's by waypoints
 
Someone should make a challenge about this: research.swtch.com/qr/draw Given an image and a URL, create a QR code for that URL which resembles the given image.
 
2:34 PM
wat
PLY for a regex parser
is this a joke
 
@PhiNotPi watch out; that sounds like a popcon
 
@Dennis Could you please pull Brachylog?
 
@Fatalize Done.
@Mego Done.
 
2:51 PM
@Dennis Thanks
 
@Poke It could probably be a really good popcon, comparatively speaking.
The barrier-to-entry is relatively high.
 
just watch out
we love to rain on popcon's parade
 
3:10 PM
In computer science, A* (pronounced as "A star" ( listen)) is a computer algorithm that is widely used in pathfinding and graph traversal, the process of plotting an efficiently traversable path between multiple points, called nodes. Noted for its performance and accuracy, it enjoys widespread use. However, in practical travel-routing systems, it is generally outperformed by algorithms which can pre-process the graph to attain better performance, although other work has found A* to be superior to other approaches. Peter Hart, Nils Nilsson and Bertram Raphael of Stanford Research Institute (now...
 
@TimmyD Ooh, nice.
 
@TimmyD You can use the arrow buttons to move the image around on the QR code.
 
Yeah, if you could shift it down a little it would be more recognizable
 
-1
Q: Show the love! Print the string "love you" in an infinite loop

FlyingJayThought of this for a nerdy valentines card a while back, but I'm curious what sorts of variations everyone can come up with! Example (python): while(1): print('love you') Any of the following answers would also be acceptable, such as: "love u" "<3 you" "<3 u" Since this is a code-g...

 
3:20 PM
@PhiNotPi Ah, that's neat
 
Perfect
Now we just need to print it on some stickers...
 
3:33 PM
.lol as a gTLD? wow
 
There are some truly horrible TLDs
That's one of them
When I become the one true dictator of ICANN that one is going to be the first to go
 
@quartata By far the worst is the .zip TLD.
 
i want to be the dictator of the Unicode Consortium
 
@PhiNotPi That's another one on my hitlist.
 
3:43 PM
@PhiNotPi u srs? dat exists?
 
This list of Internet top-level domain extensions contains all top-level domains, which are those domains in the DNS root zone of the Domain Name System of the Internet. The official list is at http://www.iana.org/domains/root/db The official list of all top-level domains is maintained by the Internet Assigned Numbers Authority (IANA). IANA also oversees the approval process for new proposed top-level domains. As of January 2016, the root domain contains 1205 top-level domains, while a few have been retired and are no longer functional. == Types == As of 2015, IANA distinguishes the following...
 
.みんな
wow
 
Also .google and .youtube are going because I'm not scared of Google
 
i like the Brand top-level domains
 
3:44 PM
nic.zip redirects to registry.google
nice
 
To be honest I think it all started going downhill when we got .blue and .red
 
@quartata but .google would be so useful
 
@Maltysen I have to set an example
 
like maps.google instead of maps.google.com. 4 chars saved every time!
 
3:45 PM
Demonstrate my power to the pathetic little Internet startups
 
@quartata I say you ddos all the dns servers till they listen to your demands
 
bing.google
 
@Maltysen Unfortunately it's going to take me a little while to rise to power. I'm currently applying as a janitor for their server farm
 
.istanbul exists but it isnt on wikipedia:/
 
3:47 PM
There is .aq for Antarctica
 
@ReleasingHeliumNuclei Did you check .Constantinople?
 
Hopefully from there I can take a backbone or a DNS server hostage
@TimmyD Damn, the hitlist just got bigger. I forgot how many bad gTLDs there are now
 
@quartata I guess pouring water on things technically counts as a DOS attack
 
@ReleasingHeliumNuclei because they dont know what continent istanbul is on? :D
 
3:48 PM
@Maltysen Water is for scrubs. #windexmasterrace
That'll show em
 
@BusinessCat wtf
 
@ReleasingHeliumNuclei I was referring to a song
 
> Yes boss, I'll be careful not to break anything, I just wanted to clean the inside of the servers also since I'm so hard-working and motivated - in a few months by quartata
 
Antarctica has 135 permanent residents
TIL
 
3:51 PM
@BusinessCat Yeah. Research bases
 
Also 5000 temporary, I assumed those were the research people
 
@Maltysen Janitors are inherently trustworthy. I give it 3 months before they give me root and mysql passwords
 
Don't cleaners usually get blamed when stuff goes missing overnight?
 
It'll be too late by then.
 
> Hey boss, after I clean the servers physically, I also want to clean the software on them
 
3:52 PM
Hell yeah. You guys are going to be having problems in 2038
 
oh .ist exists too
 
> I heard about this thing called "bit rot" so I called in an exterminator to get rid of the termites. He fumigated the whole room for us.
 
.blackfriday wtf IDN
 
That one is going to suffer a particularly hideous fate
 
3:59 PM
> I also gave him those root passwords you gave me so he could also fumigate the servers for e-termites
 
tnb.ninja for every ninjas around
 
@BusinessCat I'll modify all the records with that TLD to be .youhavehorribletaste
 
btw i can buy a domain for my name! (includes Ü)
 
we really need ppcg.se or codegolf.se
the first one is taken tho
 
4:00 PM
My brain is not 100% on today
@EᴀsᴛᴇʀʟʏIʀᴋ I think ppcg.se actually redirects to us
 
This site can’t be reached
ppcg.se’s server DNS address could not be found.
DNS_PROBE_FINISHED_NXDOMAIN
 
only ppcg.ga and .lol
 
4:33 PM
0
Q: Given a list of Tetris moves, return the number of completed lines

ArnauldDescription We consider a simplified version of Tetris where each move consists of: rotating the piece clockwise, 0 to 3 times positioning the piece at a given column fast drop The goal is to determine the number of completed lines, given a list of such Tetris moves. Playfield The playfiel...

 
CMC: given an array of positive integers, group runs of same elements. e.g. [1,1,1,2,2,1,2] -> [[1,1,1],[2,2],[1],[2]]
 
Haskell: import Data.List;group
 
@LeakyNun mM_MrQ8
 
@Maltysen mM_Mr8
 
oh, didn't know that r took it both ways
cool
 
4:39 PM
C doesn't have a built-in AFAIK
 
@Maltysen really tempted to Lenny that
 
@TimmyD ._.
 
hah! :D
 
param($n)$x=@();($n|%{if($l-eq$_){$x+=$_}else{$x-join',';$x=@($_);$l=$_}})+($x-join',')
I added some -join',' so the output is more clear that it is indeed separate arrays getting output
PS C:\Tools\Scripts\golfing> $n=1,1,1,2,2,1,2;$x=@();($n|%{if($l-eq$_){$x+=$_}else{$x-join',';$x=@($_);$l=$_}})+($x-join',')
1,1,1
2,2
1
2
 
4:43 PM
@LeakyNun Œg
Funny?
 
@Dennis I meant interesting
how about you do one without using the built-in
 
n2\0;œṗ
 
@Dennis lel pyth beat you :P
except you have a builtin...
 
Well, the idea was not to use built-ins. With RLE, there's Œrẋ/€.
 
RLE?
oh, run length encoding
@Maltysen lel, your turn
 
5:01 PM
i;main(c,v)char**v;{for(;i++<c;)printf("%s%c",v[i],strcmp(v[i-1],v[i])?32:10);}
Didn't try, probably works
 
@ReleasingHeliumNuclei you didn't create an array?
the idea is to create a 2d array
 
Oh
Then c cant lol
 
why not
 
@LeakyNun multimimensional arrays must have same amount of members, or everything gets borked ,especially if you don't know how many members (if you do know then no bork, but you don't in this cmc)
 
@ReleasingHeliumNuclei can't you like fake a 2D array by malloccing?
oh wait I see that wouldn't work for the indexing
 
5:09 PM
@Maltysen if inputndoesnt have zeroes, it wiill work
(i mean NUL characters (\0))
@LeakyNun is {{1,1,1,0,0,0,0},{2,2,0,0,0,0,0},{1,...etc excepted?
 
@ReleasingHeliumNuclei ok
 
The easiest way would probably be to print the output.
 
I disallowed that
 
@Dennis like i did here?
 
Ah, missed that.
 
5:24 PM
Well, you could make a linked list (or whatever) structure and use that... probably won't be very short though :P
 
i;main(c,v)char**v;{int**a=malloc(c*sizeof(int*));for(;i<c;)a[i++]=malloc(c*sizeo‌​f(int));} shortest i can get
The real thing (probably won't work): i,j,k,m;f(n,l)int*n;{int**a=malloc(c*sizeof(int*));for(;i<c;)a[i++]=malloc(c*siz‌​eo‌​f(int));for(;l--;){a[j][k++]=i[n];if(i[n]^i[++n])j++;}}
 
( ͡h ͜ʖ ͡i)
 
TFW you find a PPCGer on a completely different site that you didn't even know he visited.
 
@ReleasingHeliumNuclei can you explain this to me? what does i;main(c.v)char**v; do ?
 
it's K&R style
to type arguments
 
5:38 PM
iirc i defines the variable i, but doesn't assign a value (it's nil)
 
oh
got it
 
main(c,v) creates a function that takes inputs c and v
 
@GLASSIC modern style: int i; int main(int c, char**v)
 
and char**v makes sure v is a single character
 
ok, ok ...
i understood
 
5:39 PM
@EᴀsᴛᴇʀʟʏIʀᴋ a 2d array of characters
or a 1d array of strings
 
@ReleasingHeliumNuclei longest golf i've ever written
 
Issues: 253
that's a lot of issues
 
> C# 93.5%
ಠ_ಠ
 
5:52 PM
@TùxCräftîñg ? What did you expect
 
> C 0.0%
ಠ_ಠ
 
I don't think it's that bad for a day-0 alpha
 
@quartata ...
 
??
It's Microsoft. It's their language. They're gonna write things in C#
 
I wouldn't even want to fathom what a C-to-.NET library would look like
 
5:55 PM
@TimmyD You mean Win32?
 
but still the startup time of PS is insanely long
instant for cmd, ~1s for git bash and 1mn for PS
 
@quartata Sorry. Meaning that because PowerShell is very, very .NET, writing the code in C would be a nightmare.
 
Oh, yeah. Writing Windows apps in C is hell.
 
So it makes sense it's C#
 
5:57 PM
@TùxCräftîñg 1 second for bash? Sounds like it's your computer :P
 
ಠ_________________ಠ
»  powershell
bash: powershell: command not found
Elie@elie-asus — ~
»  ps
      PID    PPID    PGID     WINPID   TTY         UID    STIME COMMAND
     9276    4980    9276       6360  cons0     197609 19:59:33 /usr/bin/ps
     4980       1    4980       4980  cons0     197609 19:59:08 /usr/bin/bash
I     928       1     928        928  cons0     197609 19:59:14 /usr/bin/bash
...
 

« first day (2028 days earlier)      last day (2812 days later) »