The Nineteenth Byte

The Nineteenth Byte: General discussion for codegolf.stackexc...
Dec 13, 2019 08:38
That's actually pretty weird that they have a database of which IP addresses visited every link.
Dec 13, 2019 08:38
I see
Dec 13, 2019 08:35
I wonder how I got the 'link visited by 300 IP addresses' and the 'link visited by 1000 IP addresses' badges in the same day from some old link.
Nov 27, 2019 00:53
>
Potato44: Not necessarily.
Nov 26, 2019 16:59
In the large table limit you can just do rejection sampling (completely start over if you get an overlap) and get a totally uniform distribution.
Nov 26, 2019 16:48
Apparently it's called the "rectangle fit problem".
Nov 26, 2019 16:48
In the cramped table limit, the problem of just determining whether the cards can fit at all is NP-hard.
Nov 26, 2019 16:29
Can they be rotated 90 degrees?
Nov 26, 2019 16:29
So what is your desired distribution?
Nov 22, 2019 17:25
@cairdcoinheringaahing I predict arbitrarily large scores will be found.
Nov 19, 2019 14:21
Hmm, I suppose they don't. Maybe they do now though...
Nov 19, 2019 14:20
Why watch it? It doesn't seem like a very entertaining form of entertainment.
Nov 15, 2019 17:02
[ 2>/dev/null; echo 'you can put a bash command here' # ]: # (generates nothing in markdown)
Nov 15, 2019 16:57
@El'endiaStarman ^
Nov 15, 2019 16:57
[ 3 < 2 ]: # (as a start, this line generates no output in either language)
Nov 15, 2019 16:54
[ // ]: # (why is this is a line comment in markdown)
Nov 15, 2019 16:45
You don't have to have a hashbang, as long as bash is your default shell.
Nov 15, 2019 16:17
I run on a populist platform of banning golfing languages, and win on the support of the 200-rep demographic.
Nov 14, 2019 14:08
That challenge certainly lacks a proper spec, but it's not impossible to write one.
Nov 11, 2019 10:35
@A_ I suppose that's the kind of anarchy you get when moderators resign en masse.
Nov 11, 2019 10:34
@ngn Yeah I was focused on the SSE2.
Nov 11, 2019 10:26
@Anush You're discussing multiversioning on x86? Why? Sholudn't you be using a 64-bit built if you care so much about performance?
Nov 8, 2019 14:15
Perhaps, we always posted this in chat but no one remembered to actually write it in a challenge.
Nov 8, 2019 14:14
@HyperNeutrino Don't we have a standard solution for this: require the answerer to run the program on all test cases before posting
Nov 6, 2019 10:17
Well, we know what to do next time we have a feature request.
Nov 6, 2019 06:16
Anyway you could have some kind of conditional stack opreation or soemthing if it's really needed.
Nov 6, 2019 06:15
@JoKing Eh? I know you're not new here...
Nov 6, 2019 06:13
No jump. It's like, barely even esoteric if you have jump.
Nov 6, 2019 06:03
I wonder if that would be enough for all programs.
Nov 6, 2019 06:02
You could get golden ratio by having it be root of a polynomial.
Nov 6, 2019 06:01
How do you specify the number?
Nov 4, 2019 10:13
Or perhaps there is a more fun approach, to hard-code the gcd(1,2,3,...12) root of pi.
Nov 4, 2019 10:11
@Anush Maybe not, in which case you'd spend a few more bytes to hard-code pi.
Nov 4, 2019 10:09
@Adám Nope.
Nov 4, 2019 10:08
It has a big decimal library. Probably like 60 bytes.
Nov 4, 2019 10:07
@Fatalize Yep.
Nov 4, 2019 10:06
At least in Python 3.8, you can assign variables inside expressions, so newlines will probably be entirely obsolote.
Nov 4, 2019 10:05
Well, a professional programmer needs to be able to handle writing under multiple style guides. Here we just have a slightly different one which recommends one letter variable names and 0-space indentation :)
Nov 4, 2019 10:03
No, how so?
Nov 4, 2019 10:02
It sets a bad example and requires the participants to manually examine teh numbers.
Nov 4, 2019 10:01
It's still bad.
Nov 4, 2019 10:01
It requires potentially arbitrarily large precision.
Nov 4, 2019 10:01
"First 20 digits should be correct" is a bad way to specify it.
Nov 4, 2019 09:58
@Bubbler This.
Nov 4, 2019 09:51
Is it actually interesting for you to get an answer like bigdecimal.power() or something?
Nov 4, 2019 09:46
You're likely to get only builtins answers.
Nov 4, 2019 09:44
We should set something on fire.
Nov 4, 2019 08:33
@cairdcoinheringaahing I understand what golfing languages are like and still find them uninteresting.
Nov 4, 2019 07:58
Blame caching?
Nov 4, 2019 07:57
Works fine for me.