« first day (2251 days earlier)      last day (2592 days later) » 

5:00 PM
oh, yeah, access level blue :-)
 
@KritixiLithos I know some processing, what are you having trouble with exactly?
 
How colors are converted to their int values
 
@Riker can we input RG for blue, GB for red and RB for green?
 
Just like how white is -1
 
@betseg sure
 
5:02 PM
:6365875 Got errors
 
> Using print() or println() on a color will produce strange results (usually negative numbers) because of the way colors are stored in memory. A better technique is to use the hex() function to format the color data, or use the red(), green(), and blue() functions to get individual values and print those.
from this page
 
I found out that c-c%256 removes the blue
 
@MistahFiggins Ah bitshifting
 
I've never had any reason to use bitshifting on a color before
 
5:06 PM
New language idea: A standard-ish language (something like Python, JS, Java, or a similar lang) but with a Random type you can use anywhere a regular value is accepted, and it will choose a random valid value
 
did i get the FGITW
 
@KritixiLithos I think you can do c&~255 to remove blue, c&~(255<<8) to remove green, c&~(255<<16) to remove red (as long as & is bitwise AND and ~ is bitwise NOT)
 
@betseg yes
do you need the space?
nvm
@betseg you have a leading space
not in the bytecount but formatting bug I think
 
didnt notice, thx
 
np
 
5:09 PM
a funny message about riker ninjaing the bot
 
@ETHproductions yes
 
@ETHproductions Instead of removing blue, I get all white
@Riker What?
 
comment reply but I'm too lazy to comment
 
@NewMainPosts @mods plz eleven this to a funny message about riker ninjaing the bot
 
done
 
5:12 PM
:P
 
@KritixiLithos Keep trying :) It is possible that there are even shorter solutions than 223.
 
he was asking for htat ;p
 
does {0, -1, -1} count as a "distinct symbol"?
 
ehh
I'm thinking about that
 
@KritixiLithos @HyperNeutrino In fact I found 222 byte solution for both Python and Röda.
 
5:13 PM
@Riker Thanks
And does "in RGB triplets" mean I can input e.g. [[126,23,253],[128,56,222],...]?
 
@Riker What if someone does a thing where they run different code depending on the argument, which contains the actual color-getting, and the "code" just runs the code in the argument?
 
..?
@ETHproductions yes
 
@ConorO'Brien wow that was a quick language
 
Sorry, I take that back. My Python solution was screwed.
 
@ETHproductions you'd need a "3D" array though
 
5:15 PM
@betseg It's been in the works lol
 
for pixelX, pixelY, RGB
 
But there are still shorter solutions in Python.
 
@betseg he was working on it since I sandboxed it
 
a day is still quick
 
eh, after 30 it gets easy
 
5:16 PM
@Riker So it would be [[x, y, [r, g, b]], [x, y, [r, g, b]], ...]?
 
@ETHproductions this works for green and red
 
@BasicSunset or [[[r, b, g], [r, b, g], [r, b, g]], [[r, b, g], [r, b, g], [r, b, g]], [[r, b, g], [r, b, g], [r, b, g]]]
 
@BasicSunset well, cv2 uses [[ [r,g,b], [r,g,b] ]]
i.e. the a list of columns, which each contain a list of rows, which each contain a list of RGB values
 
Oh yeah that makes much more sense
 
So (a,n)=>a.map(b=>b.map(c=>c.map((d,i)=>i==n?d:0))) is a valid JS solution inputting a 3D array?
 
5:17 PM
[[ [r,g,b], [r,g,b], ...], [ [r,g,b], [r,g,b], ...], ...]
 
yeah
I was just too lazy to make it longer than a 2x1 image :p
@ETHproductions I think so yeah
 
does someone have the link to the PPCG graduation script?
Can I get that?
 
I can't seem to find it
TY
 
Oo, neat, I think this is going to be actually a kinda easy challenge in PowerShell ...
 
5:19 PM
lol
it's easier than I expected in most langs
 
Well, PowerShell can read a PNG as a .NET object. So, (I'm thinking) I can just loop through every pixel and re-output that pixel with $_.R*($input-eq'R') and so on, then save it back as a PNG.
 
huh. There are 2 identical befunge answers on this challenge (1 and 2)
 
If you want a real mindfuck then search 3D chalk art on google images
it's pretty strange
 
oh that, yeah, pretty cool
 
@Riker is my new solution valid?
 
5:24 PM
new?
oh, hm
... can you give an example of how to call it? :P
I'd say yeah tho
 
Does the RGB indicator have to be a string?
 
not at all
my python answer takes input as 0,1,2
 
@Riker f([[0x0000ff,0x00ff00],[0xff0000,0xffffff]])(255)
 
So it could be an array?
 
@BasicSunset hm, I'm just going to say no
it can be a string though
 
5:26 PM
Alright
 
@DJMcMayhem ... whoops
 
Can my three values be b=>b.map(c=>c&255), b=>b.map(c=>c&65280), and b=>b.map(c=>c&16711680)? :P
 
@ETHproductions Golf the code, not the input :p
 
@Riley sorry, but I'm restricting to only strings or numbers for the second input
 
@Riker I was just about to ask if that was valid.
 
5:29 PM
yeah, I've been mentally debating that
 
But what if it's a string containing the array and you eval it?
 
clarifying that
 
I'd just disallow executing the input string as code
 
> However, the symbols must be either a string or a number, or another single symbol.
@BasicSunset better?
 
@ETHproductions that ruins the day in languages without dedicated string to integer functions
 
5:31 PM
@Riker Ahahaha, the example code for System.Drawing.Bitmap is pretty much exactly this challenge.
 
O_o
lol though
 
I mean, I don't know if you grok C#, but you should still be able to kinda follow what it's doing. The example code is just setting every pixel to the red channel (rather than taking input), but still, lol.
 
@Riley nice edit
@AdmBorkBork yeah I can
I know some C#
 
@Riker All good now?
 
@Riker what?
Oh wait, my comment?
 
5:34 PM
@Riley yep
@DJMcMayhem yea
 
Np, lol
When I first looked at it, I was like Wow! The green channel looks way more blue than I expected!
2
 
also, those last two test cases are really pretty
 
0
Q: Two roads diverged in a yellow wood (part 3)

programmer5000 Note: This is based on Two roads diverged in a yellow wood (part 2), a previous challenge of mine. Because of the popularity of that question and Two roads diverged in a yellow wood (part 1), I wanted to make a third. But the first 2 were too easy (a 2-byte answer on the first, a 15-byte answe...

 
Could you do it too my avatar?
 
Jeez, everyone golfing the input.
 
Anonymous
5:35 PM
@DJMcMayhem Story of my life
 
@DJMcMayhem sure!
 
@Mego Blue–green trichromacy?
 
Anonymous
@AdmBorkBork Just a generic unsmart colorblind joke
 
Oh.
 
5:38 PM
Which kind of colorblindness do you have?
 
I don't.
 
I just realised that we have a missing consensus on the I/O defaults post, and I'm interested in knowing whether it's legal or not (as it's normally going to be shortest): can a function output a Boolean via the use of an error/exception for false, and no error or exception for true?
currently I'm leaning towards yet (as it's analogous to programs doing the same thing, which affects their exit codes, and there are languages where it's an idiomatic method of output), but I'm not sure
 
Anonymous
@DJMcMayhem Deuteranopia
 
@ais523 I have no problem with it. +1
 
@DJMcMayhem imgur.com/a/4sKRK
 
Anonymous
5:40 PM
Oh boy I can't wait for everyone to start hue-shifting their avatars to make them even more unrecognizable /s
 
I didn't think of that :/
 
@Mego brb, changing DownPowerShell avatar to be red on green background
 
@Riley why'd you re-delete?
btw @DJMcMayhem, yours looks pretty cool separated
your avatar I mean
the outline around it kinda makes it look like stained glass in minecraft
 
I'm gonna stick with regular though :P
 
5:43 PM
lol
 
@Riker What did you think of that imgur album I sent you?
 
Ooh, found a "cool" trick with colors in Processing
nvm
 
@betseg mine is actually shorter with input as a name :p
 
lol
 
@DJMcMayhem I don't remember getting it, how'd you send it?
 
5:44 PM
@Riker It only works for red. The others get truncated (e.g. [[[255]]] for a 1 pixel blue image) because it converts 2 -> 10 not 2 -> 010.
 
ah
that's too bad
 
:o missed that
that's epic though
@DJMcMayhem firewatch vs No Man's Sky
:p
 
@Riker golfed 3 bytes!
 
:D
 
5:45 PM
@Riker Lol
Firewatch is an incredible game BTW
 
@DJMcMayhem FFS I even checked the username
 
Anonymous
@DJMcMayhem There's a slight difference in the brightness of some of the colors, but they look very very similar
 
@DJMcMayhem really? I haven't played it
 
I have firewatch set as my New Window background in my browser
 
:o
@DJMcMayhem smh I'm dissapointed in you
 
5:47 PM
@Riker I haven't either, just watched play-throughs. But it has one of the prettiest and most unique art-styles I've ever seen
 
with the cera image
;P
@DJMcMayhem yeah, can't deny that
 
@Riker XD How could I not?
@Riker It's kinda like if TF2 was way prettier haha
 
"DJMcCerahem"
 
@DJMcMayhem Huh, the two halves look mostly the same to me as well, though the roof in the top one is quite a bit more red than in the bottom one
 
@DJMcMayhem lol I tried to golf my program, but apparnetly it produced yellow not red
so there's your avatar with all of some color removed, I think blue
 
@Riker so it doesnt take green away
 
I dunno
I think tha'ts blue removed
because orange is still there
 
@ETHproductions interesting. Does the grass look different?
 
I see now that the grass is greener in the top half
 
5:54 PM
I have normal vision problems, no colorblindness, and the greens and reds are substantially more yellow in teh bottom for me
 
I have some minor form of colorblindness that means I can't tell the difference between... certain shades of green and brown, I think?
Also, I can't really see a difference between yellow with a hint of green and half-yellow-half-green
 
huh
that's somewhat cool tbh
 
I don't know what specific type of colorblindness it is
 
There's three iirc
Yep. And apparently 5% of men have what mego has.
 
Anonymous
@DJMcMayhem There's a lot more than 3
 
Anonymous
6:01 PM
There are 3 common types, but there's significantly more rare types
 
Like monochromacy?
 
Anonymous
Yep
 
Isn't elendia colorblind too?
 
Aug 2 '16 at 2:00, by El'endia Starman
@EᴀsᴛᴇʀʟʏIʀᴋ I'm deaf, not blind.
he's just deaf, not colorblind
 
Anonymous
You've got the main 3, where one of the types of cones don't work (R, G, or B). Then you have the ones where two types don't work. Then there's monochromacy, where you see in greyscale. Plus there are other types where the cones sorta work but not completely.
 
6:03 PM
Huh. TIL colorblindness is significantly more common among Caucasians.
 
^
 
I think I must have some form of anomalous trichromacy
 
@Mego Have you ever tried those special glasses that let colorblind people see colors better?
 
Deuteranomaly maybe?
 
Anonymous
@DJMcMayhem Nope
 
Anonymous
6:06 PM
@ETHproductions Try this test
 
@AdmBorkBork how goes the powershell answer?
 
@Mego For starters, I cannot see any pattern whatsoever in the middle image (looks like it should have a 4?)
Maybe that's just a ruse :P
 
neither can I
 
@Riker Nom nom lunch nom
 
lol
to both
 
6:11 PM
> Mild deuteranomaly
There you go :P
 
@ETHproductions As far as I can tell some of the images have no number.
 
0
A: Sandbox for Proposed Challenges

VisualMelonASCII Arc Length: How long is a piece of string? Given an ASCII representation of a piece of string, determine its length. Input An ASCII rendering of a string which runs from top to bottom, with one 'node' on each linear # # # #### ## ## # ## # Each line in the context of the ...

 
Now I'm very curious as to how the Enchroma glasses work
 
> You were able to see the hidden shape in all or nearly all of the test conditions. This indicates a high probability of having normal color vision.
 
 
6:18 PM
@Riker My brother frequently tells me that he likes my girlfriend more than he likes me.
 
ouch
 
Not really. We joke around like that a lot, lol
 
lol
 
CMC: Write a Haiku titled "Sudo"
 
I run a command.
Access denied? Once again,
This time with sudo.
 
6:27 PM
Sudo is admin
Sudo make me a sandwich
Sudo is awesome
 
@KritixiLithos Last line is 6 syllables
 
That makes it easier :) I had to squeeze in the "so"
 
sudo make sandwich
$ make sandwich --install
Error: ham not found
7
@ГригорийПерельман ^
 
:D
that counts $ and each - as distinct syallables
 
6:31 PM
noice
 
no ham allocated is 6 syllables though
 
ninja'd
 
damnit
fixed
 
Would Sudowoodo
Sudo wittle widdow wood?
Sudowoodo would.
 
@ГригорийПерельман fixed :D
now without "bork"
 
:D
 
@KritixiLithos Golf your homework
 
6:36 PM
That's brilliant
 
@ГригорийПерельман SJR34 hasn't been signed into law yet
 
> Ham not found
 
Didn't it happen earlier this day or something?
 
D:
But my ham DJ!
 
Wait no, yesterday.
Or today depending on timezone.
 
6:39 PM
If so, the website doesn't reflect it
 
Oh, right, Trump hasn't signed it yet.
But it passed the house, and Trump is going to sign it.
 
The most liked comment on that fundme page is pretty hypocritical in a way, though. After all, many Democrats' reason for funding PP is that abortion is going to happen anyway, but PP makes it "safer". It's the same logic
> ...But keep in mind: What this bill did was let them sell our privacy openly and brazenly -- and wholesale. They were already doing it under the table. The price just went down, because the racket was legalized.
 
Regardless, Trump's internet data should be made public.
 
@Riker dol-lar-sign make sand-wich dash dash in-stall ... isn't that 10 syllables? :p
 
Trump didn't even have an email address. You probably wouldn't even find anything
His internet history is likely to be benign compared to Hillary's
 
6:45 PM
@mbomb007 wait WHAT
 
We should make Hillary's internet history public too.
 
Didn't he have a business email address? Like x@trump.whatever
 
> "I'm not an email person," Trump said during a July press conference in which he invited Russia to uncover and release Clinton's deleted emails. "I don't believe in it because I think it can be hacked, for one thing. But when I send an email -- if I send one -- I send one almost never. I'm just not a believer in email."
 
@AdmBorkBork I mentally pronounce it something along the lines of "s make sand-wich d in-stall" (and yes, "s" and "d" represent their sounds, not their names)
 
and earlier in the article:
> His secretary sometimes sent emails on his behalf, but he did not. Nor did he own a personal home or office computer.
 
6:47 PM
Yet he tweets ...
 
But tweets are automatically public
 
@mbomb007 CNN? Isn't that biased?
 
@AdmBorkBork He might have someone post those for him, too
@MendeleevLemon It's a direct quote, how could it be?
 
@mbomb007 Not the article, the site
 
Every site is biased.
 
6:48 PM
> I'm just not a believer in email.
I find this hilarious for some reason
 
@ETHproductions Think about how much spam email/mail you get. Now think about how much you'd get if Google or whoever didn't have a spam filter.
 
Also that website autoplayed a video in full volume in my writing class.
 
@MendeleevLemon Sorry. I don't have speakers or sound at work.
 
@mbomb007 Pretty much the same amount because I use spamassassin on my email server
@mbomb007 How do you not at least have an internal speaker in your computer?
 
@mbomb007 It just is phrased sort of like he doesn't believe it exists
 
6:50 PM
Trump probably doesn't know how email works.
 
@mbomb007 As an email administrator, can confirm that the spam numbers are way higher than legitimate email.
2
 
@MendeleevLemon Because it's a workplace? Tons of workplaces don't include them.
 
@mbomb007 the manufacxtrurer would
 
@AdmBorkBork Snail mail, too. I throw more mail away than I read.
 
I want to say that I am profoundly dissapointed in Trump, but that's been the case since day one.
 
6:51 PM
Can we get away from politics?
 
@MendeleevLemon Workplaces can remove them, or order in bulk without them. I'd be willing to bet that enterprises can get them without speakers.
 
Those claims that "99% of email is spam" are not lying
 
What's the deviation on that number? I almost never get spam.
 
Even my legit emails often feel like spam
 
@AdmBorkBork I would say that is partly because bots can be made to spam emails and people only have so much to say.
 
6:52 PM
@ГригорийПерельман That's because of the filters
 
@ГригорийПерельман Right, because the vast majority of spam is blocked before it even gets to you
 
@ГригорийПерельман That is probably because your email provider blocks most before it even reaches spam folder
 
LinkedIn sends me so much crap. I need to change my prefs
 
Oh, I thought the 99% figure was after applying filters, which is why I was skeptical.
 
@ГригорийПерельман No. Total email volume. Gross email. Not net email. :P
It's definitely gross.
 
6:53 PM
Root, branches, and leaves
 
Suppose you receive 20 legitimate messages per day into your Inbox. On average, that means your spam filters are blocking ~2000 emails that would otherwise make it to you.
 
A simple search, no voodoo
 
its crazy to me how effective spam filters are
 
Solving sudoku
 
@MitchSchwartz Use Shift+Enter to keep it all in one post.
 
6:54 PM
@MitchSchwartz who are you talking to?
 
It's a haiku
 
@MitchSchwartz Nice.
 
On phone
 
like, its false negative and false positive rate on spam filters (as far as I can tell) is really close to 100%
(at least with gmail)
 
It's also great how gmail splits your email into Primary, Social, Promotions, Updates
 
6:55 PM
@mbomb007 Ah, I meant the statement itself, not the reasoning behind it
 
I actually hated that :P
I prefer a single list
 
@NathanMerrill Yeah, I think industry average is somewhere north of 97%, with the really well-done ones reaching north of 99% accuracy.
 
Well, I can safely ignore the Social and Promotions tabs, leaving me with the two that matter.
 
Meaning that out of the ~2000 email messages your address gets per day, maybe a handful make it through into your Spam folder.
 
@ETHproductions At the current rate, I probably won't be a believer in email for much longer either, lol. Every account I create has opt-out vs opt-in, and they send me so much crap.
 
6:57 PM
@AdmBorkBork >_> I was counting dollar sign as 1 syallable
 
The few spam emails I have seen get through on gmail were from when someone else's email got hacked and used to send out a virus.
 
@Riker ching
$ makes a ching sound
 
there you go
 
Hmm, spam filtering sounds like an area where machine learning could do well (maybe it is already)
 
"sudo make sandwich. ching make sandwich dash dash install. error: ham not found"
 
6:58 PM
@ETHproductions I think it is already. Google probably has info about what they use for gmail
 
@DJMcMayhem lol
 
So, we've got # "shh", ! "bang", and $ "ching"
 
< > ! * ' ' #
^ " ` $ $ -
! * = @ $ _
% * < > ~ # 4
& [ ] . . /
| { , , SYSTEM HALTED
> Waka waka bang splat tick tick hash,
Caret quote back-tick dollar dollar dash,
Bang splat equal at dollar under-score,
Percent splat waka waka tilde number four,
Ampersand bracket bracket dot dot slash,
Vertical-bar curly-bracket comma comma
CRASH!
 
@mbomb007 My school district is pretty large. All of the computers have tiny built in speakers.
 
7:00 PM
@MendeleevLemon Probably because they need them. When all the computers at a company are used for programming, there's no need for speakers
 
It's likely a set of of fixed rules + machine learning
 
Schools need speakers. Companies don't
 
@mbomb007 So, what does that output in CJam?
 
there are a lot of people interested in "how do I get my legitimate email to a user"
 
@ETHproductions you should check out the Charcoal room. Making StackExchange spam-free since ... three years back or so
 
7:01 PM
so, they need to be given a list of things they should do to not get caught by spam filters
 
0
A: Sandbox for Proposed Challenges

programmer5000code-golfnetworking Just another average accepted answer Your challenge is to make a program or function that gets the average accepted answer from PPCG. More specifically, you must do 2 things: Find the average length of an accepted answer from PPCG (the whole answer, not just the code) Ave...

 
but because machine learning is a black box, you can't list what it is looking for
 
@AdmBorkBork Lol. No idea. Anyways: poem source
@NathanMerrill Same with "how do I get my spam email to a user"
 
@mbomb007 Google has published some whitepapers, but their secret sauce is kept very secret and proprietary.
 
Makes sense
 
7:03 PM
@mbomb007 sure, but ideally those requirements would be hard for a spammer to fufill
 
@NathanMerrill maybe you could use something akin to deep dream
 
I'm sure a lot of it has to do with volume. They can get access to aggregate data that other companies can't.
 
An interesting fact, I had a gmail before gmail was cool. In fact, gmail.com was an email host site for Garfield Mail until Google bought it.
 
oh yeah. If you get a ton of emails from somebody and you haven't already whitelisted them, I'd absolutely block them
 
Gmail, however, is also a source of a lot of spam, because it's free, easy, and web-accessible.
 
7:05 PM
yeah, but then they have access to even more information
 
@mbomb007 hahahaha, that's great
 
like Ips and accounts that are sending out tons of spam
 
Botnets are cheap
 
@fergusq Found what you were talking about! 223 bytes here we come!
 
but not so cheap for each computer to only send a single email each day. Because the average user doesn't send that many emails
 
7:10 PM
Turns out I golf well when I log out of SE
 
@NathanMerrill While the average user doesn't send that many there are many users who will send many emails daily who aren't spammers.
 
right, and I've imagined they've already been flagged by the system and reviewed :P
 
(Excess output. Not all output will be shown)\n
1\n
1\n
2\n
3\n
5\n
(skip a few hundred lines...)
8.077637632156222e+307\n
1.3069892237633987e+308\n
Infinity\n
Infinity\n
(skip a few thousand lines...)
Infinity\n
Infinity\n
I
Whoops
 
@HyperNeutrino Btw, your new code unfortunately doesn't work for the abcd\;\n _ testcase (at least on TIO it doesn't work). But the outdated TIO link works for that testcase. (I discovered this while trying to golf your code)
 
7:33 PM
@KritixiLithos Good. Now you can try find the 222 byte solution ;)
 
1
A: Sandbox for Proposed Challenges

WillbeingPerfect License Plates Starting a few years ago, I made myself a little game while driving around: checking if nearby license plates are "perfect": Rule 1 If the sum of the characters ('A' = 1, 'Z' = 26) is equal to the product of the digits, then we call the plate perfect. Ex: AB3C4F Digi...

 
(I guess it's better if the title "sudo" isn't given, so people might miss the references)
 
user165474
@KritixiLithos Oh well... rip :( I guess I'll have to rollback and try again
 
user165474
But I had an extra semicolon somehow that I missed ;_; too much Java
 
@Riker For the color channel challenge, can we save over the existing file?
 
@Riker Nvm, I get a sharing violation when trying to do so, so I'll need to rename it anyway.
 
@betseg ...
i died a little watching that
 
-1
Q: A proposal to combat Meta Bloat™: The Big Consensus Freeze

Martin EnderI believe it's a widely acknowledged problem in this community that the number of meta posts a new user needs to know to figure out all the rules has long got out of hand. We require certain answer formats, allow a large (but not arbitrary) set of I/O methods, have certain standard loopholes, spe...

 
so close
 
Why on earth was that downvoted? ಠ_ಠ
 
7:58 PM
¯\_(ツ)_/¯
 
CMC: what is the highest score a post has ever gotten before being posted by a feed?
 
Oh, I think I've seen a 5 once
 
that's a case for El'endia's chat data explorer
 
Winner gets something tasty of their choosing
 

« first day (2251 days earlier)      last day (2592 days later) »