« first day (3208 days earlier)      last day (1626 days later) » 

12:01 AM
Hold on, iirc, mod voting is on answer posts to an election post, so we should be able to downvote too, no?
 
@Adám I'm not sure what you mean
 
@DJMcMayhem Nah, I just checked. The election uses a special interface, not just a meta post with answers. This means we can only vote for candidates, not against them. Would otherwise be useful to avoid bad candidates winning due to lack of good candidates. Though, to be fair, "democratic" countries occasionally suffer this kind of situation too…
 
Looking through the candidates for previous elections, there was only one other candidate for the 2018 one (PhiNotPi). I'm not sure if the users from the 2016 election not participating in the 2018 one means they aren't interested in moderating, but not many of them are that active anymore (except maybe in chat)
 
12:17 AM
@JoKing Right, but who says people who would have wanted to run, still would like a diamond, given the current… delicate situation?
 
 
3 hours later…
3:46 AM
Any feedback for this and this?
 
4:30 AM
0
Q: The relationships between question length, views, and votes (and more painful graphs)

Redwolf ProgramsI recently meta'd some interesting research I'd done relating to the correlation (or lack of) between the time a question is asked and its view count. I got some comments suggesting I look into other interesting things, so I dusted off my text editor (lots of dust builds up in 23 hours, I guess) ...

 
 
5 hours later…
9:10 AM
1
Q: 20 cards with no Set

BubblerBackground Set is a card game. The deck consists of 81 unique cards that vary in four features: number of shapes (one, two, or three), shape (diamond, squiggle, oval), shading (solid, striped, or open), and color (red, green, or purple). For convenience, let's write a card as a 4-tuple of numbe...

 
9:35 AM
hello all!
 
@Anush hiya!
 
anyone here know about function multiversioning (in gcc/clang)?
I suggested to the author of nmslib that they use function multiversioning. The reply I got was " something to think about. However, it can actually be quite tricky. All the other functions need to be marked with SSE2. Also, I would somehow need to pick-up the SSE2 version of the standard library and to compile only these functions with higher targets. What happens if you specify -msse2 and then mark a function with the AVX target? Will only this function be compiled with AVX?"
anyone know the correct technical answer to those questions?
 
A _
9:56 AM
@Anush hi!
I am trying to find out what is nmslib...
 
A _
Thank you, that was really helpful.
 
10:26 AM
@Anush You're discussing multiversioning on x86? Why? Sholudn't you be using a 64-bit built if you care so much about performance?
 
A _
(Completely unrelated. I found a Hot Network Question that is closed.)
(I feel that this is pretty rare, most other challenges I find did not become a Hot Network Question, e.g. this.)
 
ngn
@feersum it could be 64-bit with or without avx
 
@ngn Yeah I was focused on the SSE2.
 
@feersum it is 64 bit I believe
 
@A_ I suppose that's the kind of anarchy you get when moderators resign en masse.
 
A _
10:40 AM
: 52499569 This is indeed the first time I see (at) Jo King joking.
 
:)
 
A _
I am a bit bored of the silence, is there more to discuss?
CMC: The electricity company had presented a new standard for paying electricity bills. The payment system is split into the following 3 categories:
Level 1. If I used <100 units of electricity, I need to pay 1 coin(sorry for the uninteresting term) for the bill. Level 2. If I used 100~200 units of electricity, I need to pay 3 coins(sorry for the uninteresting term) for the bill. Level 3. If I used >200 units of electricity, I need to pay 4 coins(sorry for the uninteresting term) for the bill.
But I have to leave.
 
10:57 AM
@A_ yes.. my word game puzzle :)
anyone used inpainting? I have a picture I want to clean up
 
A _
12:01 PM
@A_ Take a number as input representing the coins I paid for electricity, output which level I am paying for.
@Anush Clean up? Put a 5,000 pixel black dot in your picture.
This will remove all of the unneccecary objects in your picture (which is exactly one of the meanings of "cleaning up".)
 
 
1 hour later…
1:29 PM
Son of a gun, forgot my lunch at home.
 
A _
@Veskah Don't be nervous, I have already skipped my lunch.
It is actually very fun to use the lunch time to solve CGCC challenges!
 
Not nervous, just going to have a vending machine lunch.
 
A _
Sorry, I didn't realize that. (What I skipped is exactly the machine lunch.)
 
A _
1:52 PM
My previous one is obviously too complicated. CMC: Trunctuate a decimal that is not an integer to 3 decimal places.
 
@A_ Truncate or round?
 
A _
@Adám Trunctuate, not round.
Some examples: 0.166667->0.166, 1 -> 1.000, 1.1234 -> 1.123
 
@A_ Is 11 acceptable?
Otherwise we can't return a numeric value, but rather have to return a string.
 
A _
I guess it is okay...
 
It means "floor while thousandfold"
 
A _
2:04 PM
By the way this CMC is the most tedious part of this challenge. The proportion k/n must be truncated to two decimal places.
 
2:46 PM
0
A: Sandbox for Proposed Challenges

simonalexander2005Monokeyed Words (Based on https://what-if.xkcd.com/75/) Old mobile phones had letters and numbers assigned to the same key, as follows: 1 2abc 3def 4ghi 5jkl 6mno 7pqrs 8tuv 9wxyz 0 [space] from any given list of words or phrases (input, formed of 0-9 a-z and space), find the word which has...

 
I was attempting to answer yesterdays average two letters challenge whilst avoiding using ord() and chr() using PHP's ability to increment letters. Try it online!
The feature doesn't increment from upper to lowercase or vice versa though. So it currently breaks when both inputs aren't the same case. Any suggestions?!
 
3:03 PM
@SamDean a harder case would be the inputs "Z" and "a", where the expected answer is not a letter
 
Oh yea! For some reason I'd got it in my head the average would always be a letter...
Hmm yea I don't think this is going to work haha
 
user132126
3:49 PM
Hi, all. I was wondering if there's a technical name for the technique of doing a modulus on a string hash to map values, like seen in several answers to the recent Eeveelutions golf
 
4:18 PM
 
user132126
I wondered if it were so simple.
 
user132126
Thank you
 
6:09 PM
@WheatWizard (thinking about this again recently) actually, couldn't you interpret that "disproof" as demonstrating that there are simply infinitely many such languages, so you can always keep on adding more instructions to it
 
6:29 PM
0
Q: Expand a recursive pattern

HyperNeutrinoGiven a description of the base state of a recursive ASCII pattern, output an expanded state somewhere along the recursion steps. More specifically: Let the following be an example: ##.. ##.. ..__ ..__ Where # is filled, . is empty, and _ is recursive. This describes a pattern wherein the to...

 
7:12 PM
Just to let you guys know, we're trying to kickstart (read: revive) a coding challenge Discord server I made some time ago. If you'd be interested in joining, let me know and I'll put an invite somwhere around here :D
 
@Sherlock9 I'm interested
:P
 
XD
 
@NewMainPosts i misread the question (well, more like just didn't read it at all other than the 1st example) and made this :D
 
i'm interested i guess
 
7:33 PM
@totallyhuman This invite should be fine discord.gg/sUS29jd but it is set to expire after a limited number of uses, so if people continue to be interested and the invite expires, let me know
 
i'll join once i'm on an unrestricted wi-fi network
 
8:32 PM
I have 40 bytes in PowerShell
 
V, 6 bytes: òjv}gJ
 
@AdmBorkBork dzaima/APL, 12 bytes
 
Whoops, forgot to linkify my "40 bytes" ... oh well. Try it online!
 
1 byte longer but more readable (IMO): ç./v}gJ
 
ngn
@AdmBorkBork k, 14
 
8:40 PM
@ngn the output should be a vector of the strings
 
ngn
@dzaima 16
 
@AdmBorkBork Wait, 43 bytes, else it doesn't output the last one. Needs a ;$s at the end.
 
@AdmBorkBork codegolf.stackexchange.com/a/195719/78849 here's a bit of a headscratcher I ran into. Not sure how to cheaply fix it either so I took the low road
 
@AdmBorkBork Dyalog APL, 8 bytes: ∊¨×∘≢¨⊆⊢ Try it online!
 
@Veskah Yeah, I got stuck in the same fashion. Thanks, PowerShell, for implicit casting.
BTW, you can sort l* -D for -4 bytes
 
8:48 PM
I think I tried something else and got red text so abandoned thinking about that
Thanks
 
9:01 PM
Oh... DJ deleted it
 
Yeah... I didn't really want to but it's copied verbatim from somewhere else
 
So it goes
 
10:03 PM
@KritixiLithos That's what the disproof proves. For example if we had a disproof that there was a largest number then we would also prove that there are infinite numbers.
 
 
2 hours later…
11:57 PM
0
A: Sandbox for Proposed Challenges

JL2210Detecting C++ comments in C code-golf c Write a program or function in C that returns 1 if C++ comments are available in the current compilation mode and 0 if they're not. If the program or function is compiled with C89/C90 and no extensions (i.e. -ansi), it should return 0. If it's compiled w...

 

« first day (3208 days earlier)      last day (1626 days later) »