« first day (1686 days earlier)      last day (3158 days later) » 

6:00 PM
This program is so confusing that I really want to write comments in it, but unfortunately my language does not have comments.
I should add those
Also a readme or a license.
 
6:08 PM
 
> If possible, output should consist solely of the string representation of a truthy or falsy value, optionally followed by a single newline.
 
Is 1-1 the string representation of a falsy value in C?
 
Eh... Wouldn't say so.
It's an expression, not a value
 
I'd say that works. The linked post says if it would evaluate false if you put it in an if() then it's falsey.
 
6:10 PM
Right, that was my logic.
I'm writing puts("!1"+a%c); :)
 
Oh damn, I spent so much time trying to use +p!=p>1 when you could just use &(p>1)
I kindof like the idea of the first one, but it's the bytes that count
 
Daily vote limit reached; vote again in 5 hours. :/
 
:(
 
You're too nice Dennis
If your votes are mostly upvotes, that is
 
1599 up / 158 down
 
6:25 PM
1882 up / 246 down
You're nicer than me :P
 
ahem
 
We're all nicer than Dr. Bits.
 
Not everyone.... just most.
 
Who're the people that you're nicer than?
 
Peter?
 
6:26 PM
waits for Data.SE query
 
I wonder if those stats include deleted posts.
 
He's a pretty avid downvoter as well.
@Dennis Do deleted posts show up in the votes part of your profile?
 
Peter's the only one with more than a hundred or couple votes IIRC. Let me find the query.
 
I'm thinking more of downvote to upvote ratio
 
6:28 PM
@Mauris Is that !1 as in 0 or is that a string?
 
I'm printing the string !1.
To signify "not prime", that is
 
Community can vote???
 
Because if(!1), etc.
 
@AlexA. Nope. I only have 83 downvotes on non-deleted posts.
 
Ahah, Copy is the most miserable person here :D
 
6:29 PM
Ah, okay
 
Community owns votes of deleted accounts, etc.
 
@BetaDecay Percent downvotes != misery.
@Dennis Good to know, thanks.
 
It also casts a downvote for certain close reasons and spam/offensive flags.
 
Can't you run this query for all ppcg users?
 
@Dennis Are you sure those belong to Community?
 
6:30 PM
I feel like there should be a difference between if(!1) and if("!1") here... (confused)
 
@DigitalTrauma You're the best upvoter :D
 
@PeterTaylor ^^
 
Woops did I mess up your message @Sp3000 :P
 
Well, I assume it's perfectly fine to print either 0 or 1, for falsy/truthy in a C solution.
 
Meh, I'm sure Peter won't mind :P
 
6:32 PM
You never know, he might be furious.
 
And if("0") and if("1") would both be truthy. So surely the strings you print are to be interpreted "raw".
 
@Rainbolt Yup.
95
A: Who is the Community user?

jjnguyWho is the "Community" User? It is an automated user agent, not a real person. Its profile explains: Hi, I'm not really a person. I'm a background process that helps keep this site clean! I do things like Randomly poke old unanswered questions* every hour so they get some a...

Own downvotes on spam/evil posts that get permanently deleted
 
lol @ "evil posts"
 
Yeah well, that's why I'm pinging the overlord for an opinion :) (I get your point though)
 
6:34 PM
LIVE?
VEIL?
 
VILE
 
LIVED backwards is DEVIL
 
 
oh yeah well golf backwards is flog
 
Lived as a devil.
5
 
6:36 PM
Damnit, somebody got an answer just as I was about to post one. It's 2 bytes better as well
 
Hey, are you new around here?
 
Yeah
Kindof
 
Oh nice. Which answer were you going to post?
 
leave before you golf your productivity hours
5
 
I've posted an answer to a non-golf (popcon) a long time ago, but I'm new to golf
@BetaDecay Python 2: p=input();print all(p%i for i in range(2,p))&(p>1) 50 bytes, the current is 48 bytes
 
6:38 PM
@Mateon1 Which question? :P
 
Oh, sorry
 
I was going to wait for xnor, but okay that's it :P
 
14
Q: Is this number a prime?

DennisBelieve it or not, we do not yet have a code golf challenge for a simple primality test. While it may not be the most interesting challenge, particularly for "usual" languages, it can be nontrivial in many languages. Rosetta code features lists by language of idiomatic approaches to primality te...

 
Ahh I see. Yeah I was going to try a Python one too
 
Yeah just saw it
That's what happens when you golf your attention span.
3
 
6:40 PM
I got it to 47.
 
I started at 62, working my way down was awesome, though
 
I'm 3 seconds ahead :P
 
That's why we love golfing
 
I haven't explored regex yet, it is valid for input to be unary
 
What's sad about golf is that the ratio of code you type to the code you actually publish is much higher than normal code
 
6:42 PM
@Mateon1 Only if it's the only possible input format for numbers
 
@cjfaure Yeah, I figured out a nice trick regarding Python's a==b>c is a==b and b>c
 
@Mateon1 oh wow, I didn't know that, nice~
 
@Dennis Why drop the restriction on no output to STDERR for the prime challenge?
 
@AlexA. Is there a one-answer-per-language thing here that I'm not seeing?
 
errrrr
 
6:44 PM
@Mauris I thought so but I guess not. I thought that was the case with Hello, World! as well but I don't see that in there either.
I'll remove my comment.
 
@AlexA. Warnings are allowed by default and I didn't see a reason to override community consensus.
 
Aren't @Mauris' and @Sp3000's Python answers essentially the same except that one iterations upwards and one downwards?
 
Yes, we were 3 seconds apart in submitting them
 
@Dennis It was a restriction for Hello, World! so I figured it made sense for primes but it's your call.
 
I should remove mine (I apparently lost the race ;n;)
 
6:46 PM
That's amazing
 
Oh, @Sp3000 improved theirs, nice.
I lifted the improvement to my Python 3 answer. I hope it makes sense to have a Python 3 answer.
 
@AlexA. I love the web design of your profile by the way i.gyazo.com/6cbf644aa0e672dd1134a3bc7914a2b6.png
 
@MartinBüttner I have another question regarding input/output in matlab/octave: If you just write an expression without a trailing semicolon, it will be printed as ans = my_expression (with newlines in between) does that count as output? IIRC we have already discussed this somewhere and said that matlab answers need a disp() or similar for exlusively printing the answer (no other output like ans = , but I did not find this anymore.
 
Is Alex a bird IRL
 
@cjfaure Haha wth.
 
@BetaDecay to be fair, it IS optimized for the pi
 
Does this answer your question?
 
@AlexA. nice whitespace
 
Live Derad
 
@AlexA. No. I'm not a bird but also have pictures of birds.
 
6:52 PM
@Geobits why do you have pictures of birds
 
Because I own a camera and like to use it...
 
oh yeah, there aren't really birds where i live ;-;
@Geobits mfw somebody posts a better answer than me
 
Seriously? I thought there were birds basically everywhere.
 
@AlexA. there are but there're very few
I usually end up taking "artistic" pictures of walls
 
 
6:55 PM
I feel like there's an eye misplaced in that painting
 
its the third eye
 
^ stupid ninja posts
 
He's ready to do the Infinite Tsukuyomi jutsu
 
it just occurred to me that people with a third eye can look at the keyboard and at the screen at the same time
 
^ next post on Skeptics
 
6:58 PM
Why shouldn't you be able to do so with only two eyes?
 
@cjfaure geckos and many others have 2, they still can
Even I can do it with 1 eye closed!
 
Geckos are terrible examples. Their typing sucks.
 
@Geobits no, they just code in snails
 
Apparently they can save you money on car insurance though.
 
@Geobits so that is why firefox is so slow
 
6:59 PM
@BetaDecay how do you figure that out? what is the query? To be honest I'm surprised - it probably shows I'm not very good at downvotes, rather than the other way round ;-)
 
I do not recommend doing a google image search with the keywords chimera taxidermy, can be quite scary.
 
@DigitalTrauma He's talking about this query. You just made the cut :D
 
@flawr Although, as with all google image searches, if you scroll down far enough it might appeal to a particular audience.
 
@flawr I can imagine... The Victorians were creepy weirdoes
Wth is with the squirrel bottle holder?!
 
Decisions, decisions.
What about printing True and False when those aren't constants in your language?
 
7:05 PM
@Mauris I'd say no, for the same reason I can't use 0 or 1 in Java :(
 
Mm, yeah, I'd probably also be inclined to say no
@Geobits I see you've played truthy-falsy before.
 
To my byte count's detriment ;)
 
(I've been waiting to use this joke since the first time I typed the words.)
 
LOL at Community being 6th on the downvoter list
 
@Geobits is not working that hard
 
7:15 PM
Damn, I knew I should have implemented memory limiting for snails
I asked about it on SO but then was too lazy to do it
 
What's Knifey Spooney?
As in the game
 
It allocated 6 GB in a couple of seconds and I barely managed to spam the X button hehe
 
:O
 
Such backlog. I still owe an explanation for nine recent answers...
 
7:18 PM
Amaze
 
Oh, I know what to do
Only make 32-bit versions and then it can't get more than 2GB haha
 
WAT
Apparently I have 0 downvotes
 
Better get to it
 
Some people just want to watch the world burn.
 
7:21 PM
The first rule of The Nineteenth Byte is you don't talk about The Nineteenth Byte.
 
^ rulebreaker
 
Remember, the first rule of tautology club is the first rule of tautology club.
 
Dammit I was gonna say that
 
On the bright side, there are only 137 users with more upvotes than me
This SE query thing is real fun :)
 
The first rule of Checkers is The object of the game is to take all your opponent's pieces or place him in a position where he or she can no longer make any moves.
 
7:24 PM
>.>
 
404
404: Attention not found
 
The first rule of first rule of first rule of first rule...
 
rule[0]=rule[0] ?
 
Error: Page expected; Edgar F. Codd found instead
 
7:26 PM
Just keep the input below 34 to the rule function.
 
@AlexA. oh god, rule 34 applies to checkers
 
34 is the best rule, though :(
 
i am NOT googling that
 
@Geobits Is it though?
 
It is.
 
7:27 PM
Has Rule 34 been applied to Rule 34 yet?
Or Stack Exchange?
 
@BetaDecay yes
 
Hmm. Several of the results when I search "rule 34 checkers" are blocked by this corporate filter.
 
Time to reference an XKCD
My code is as short as possible EXCEPT in bed
 
Um... excuse me, but are there any experienced users of the queries of data.stackexchange.com on here?
 
Eyo
 
7:29 PM
How could I get data for a specific user?
 
None of that is checkers... Just anime. Google, you lied to the chess clubs across the world
 
@ETHproductions Join on the users table
Or just query the users table
^ example
 
Ah, cool :)
There's a ton of users on that list with 1 or 101 rep
 
Yes
 
I suppose a query of all users with rep <= 101 would return 75% of existing accounts
 
7:34 PM
^ better example
(because I'm at the top >:) )
 
Yes! Our continuous integration build runs in 45 seconds now!
 
@AlexA. haha :)
 
@AlexA. It'd be better to sort on creation date to see the original Alex first, instead of impostors.
 
That's down from an embarrassing 48 minutes
 
My original display name was just "Alex." I added the last initial later when I noticed another guy named Alex who was posting stuff I didn't like.
 
7:36 PM
@Rainbolt That's quite an improvement :)
 
Eh. I've seen better.
 
And if I press "I approve" after the CI build finishes, the product pops out and deploys itself to a VM. Takes 5 minutes.
 
@Alex OK, so how can I compare all user's rep or downvotes or smth to a specific user's?
 
There are probably some T-SQL tutorials online if you wish
 
Oh, so that's what that language is
 
7:38 PM
And if you find a good one, I'd love to know how to create Data queries ;)
 
It's not hard. Something like "Commander Data, what are the results of that scan?" would work.
 
The hard part is getting access.
 
He keeps returning the same thing
 
@ETHproductions My T-SQL is a tad rusty but this should get you part way there: data.stackexchange.com/codegolf/query/362850
 
7:42 PM
I once wrote some code to sort the pixels in an image by brightness, so one part took all the unique colors from the image and the other sorted it
but the output was always the same as the input image
 
Aw no, I think SE has replaced the Data and Riker 404 page :(
 
tfw code so glitchy it becomes an image compressor
 
@Alex OK, thanks :)
 
Lol
VP of Operations gave testing the day off because they have been here till 10 PM three nights in a row. So my supervisor caved and decided to let us go.
And now we get free BBQ on Monday for lunch
Our team is the only team that works late nights so they are nice to us
 
Haha you sound like a load of school kids trying to get to lunch early ;)
 
7:45 PM
@ETHproductions T-SQL (or Transact-SQL) is a pretty nice SQL dialect. You can do quite a bit with it--way more than I know how to do. In this example I probably could have used cross join in place of cross apply.
@Rainbolt Worth it for the lunches?
 
@BetaDecay We may as well be a bunch of school kids when it gets to be 2:00 AM. I got 5 hours of sleep and then had to get up and come back today.
Worth it for the company support. They treat me well
 
:)
 
Are the seats comfortable?
 
Not at all
 
And do the computers look cool?
 
7:46 PM
I should inquire into a nicer chair. I bet they'd give me a nice one
Part of why I like this place is that I know if I just mention it offhand, I'll end up getting it
 
@BetaDecay That had to be possibly the most uncomfortable collection of chairs I have ever seen for a developer
Unless you have a wireless keyboard and great eyesight
 
Laptop?
 
Eww
 
7:48 PM
XD
 
Laptop's okay iff it's plugged into a dock with a couple monitors attached and a good keyboard/mouse.
 
laptop = hot crotch area
 
So, if you make it not a laptop.
 
and misaligned monitors
 
Haha I see your formal logic Geobits
 
7:50 PM
My logic is informal at best ;)
 
Informal logic, intuitively, refers to the principles of logic and logical thought outside of a formal setting. However, perhaps because of the "informal" in the title, the precise definition of "informal logic" is a matter of some dispute. Ralph H. Johnson and J. Anthony Blair define informal logic as "a branch of logic whose task is to develop non-formal standards, criteria, procedures for the analysis, interpretation, evaluation, criticism and construction of argumentation." This definition reflects what had been implicit in their practice and what others were doing in their informal logic texts...
 
Oooh
 
@Alex Do you know how I could then select only users with rep greater than mine?
 
@ETHproductions where a.Reputation > b.ETH_Rep
 
Ah, the a. and b. where what I was missing :)
 
7:51 PM
@Rainbolt I guess I need another description then... how about spontaneous quasi-logic?
 
@ETHproductions Those are called correlation names. (Or something like that.) They tell SQL which table the column you're referencing is coming from.
 
Alright, thanks for the info! I got it working now.
 
Great
 
Apparently, there are 475 users with rep greater than mine.
 
7:54 PM
Wait, I don't have 874 rep, I have 1046
 
data.se updates weekly IIRC.
 
@BetaDecay That's weekly rep >_>
 
Shh no one needs to know that
 
I'm #29 on the monthly rep chart
 
7:56 PM
#8 :D
 
#42 per quarter
Shortly behind @Geobits
Tied with @AlexA. for the most edits this month :)
 
Where are you in the league tables?
 
@AlexA. It's not really a by the definition given there. Also it has been voted "Leave closed" by 3/3 reviewers, and there's a meta-question discussing it (which has links to a much clearer community consensus against first-to-post-wins), so it seemed extra-strange to me that you should vote to unilaterally reopen without saying anything in the meta question.
 

« first day (1686 days earlier)      last day (3158 days later) »