« first day (1758 days earlier)      last day (3077 days later) » 

12:00 AM
@phase Yes that's ready. The vote count really doesn't matter as long as the challenge is clearly stated. Maybe just specify if both programs and functions are allowed.
 
@Calvin'sHobbies Oh, that's definitely what happened. :P
 
Is there a standard programming language benchmark that aims to calculate a single/double number as the output?
 
Are question drafts on a per-IP basis?
 
(i.e. calculating hundreds of digits of pi is invalid because of the single/double number restriction)
 
@grovesNL What output? As the score?
Can you elaborate a bit?
 
12:06 AM
@mınxomaτ: Basically like the benchmarks in benchmarksgame.alioth.debian.org but the benchmark's goal is to calculate a single value (not an array of numbers)
Like.. calculating the determinant of a very large matrix
 
Okay, I'm back
 
Yeah, but what about the implementation? On what width should it operate? Single? Double? Extended? Or arbitrary precision? (I.e. native code, managed or interpreted?).
The real question is what you're trying to benchmark. The CPU? The language? ...
 
I'm looking to benchmark the language
I'm not too concerned about the width, but I'm looking to benchmark JavaScript implementations in particular, so double precision
 
@Mego Dunno if you've resolved this by now, but print ord(u"Σ")
 
0
Q: Trump needs your help to stop the Starman!

phaseTrump needs your help to stop the Starman! A man from the stars has come to Earth! Luckily the president of the United States, Donald Trump, has an infinity-sided die. Using this die, he can conjure up a number which you, the mayor of Podunk, must use to determine who should be sent to stop the ...

 
12:12 AM
Have we already seen this here?
Only funny if you do not understand german.
 
2
Q: Trump needs your help to stop the Starman!

phaseTrump needs your help to stop the Starman! A man from the stars has come to Earth! Luckily the president of the United States, Donald Trump, has an infinity-sided die. Using this die, he can conjure up a number which you, the mayor of Podunk, must use to determine who should be sent to stop the ...

 
^ This? Is beautiful.
 
@VoteToClose wat
 
@VoteToClose this?
 
Or this?
 
12:18 AM
@grovesNL I did a paper on a pretty secure Hash algorithm designed on top of a strictly floating point PRNG. The PRNG algorithm would probably be a pretty good bench when you initialize it with a large number of rounds since it performs FPU calcs exclusively. You'd have to port the code over to JS though.
 
@flawr That was hilarious. Probably my favorite spoof of that scene.
 
@phase i thought you were going to wait!
 
@grovesNL The problem with JS is that it matters hugely if you restrict the source to asm.js (which is immensely faster). Here's a popular asm.js benchmark: kripken.github.io/Massive . And here's a more general FPU bench that can be run in JS: fourmilab.ch/fbench/fbench.html
 
@mınxomaτ: Sounds cool. I'm mostly looking for an implementation of a benchmark in JavaScript so I can try to beat it. I want to try pushing the calculations to the GPU using WebGL but I have no idea if it's even feasible (it would add quite a lot of overhead). That's why I'm looking for long-running calculations
Yeah I am familiar with asm.js
 
@NewMainPosts Y'know, come to think of it, since Trump has an infinity-sided die, the chance that Pippi will be sent is almost exactly 100%... :P (Assuming a uniform distribution.)
 
12:22 AM
TIL there's a Julia function called issticky
 
is Mego here?
 
@TanMath Hasn't been for a little while. He'll be around within the next few hours, I'm sure.
 
@AlexA. What is long brown and sticky?
 
@grovesNL Well GPGPU doesn't make it magically faster. If the algorithm is deterministic, it brings no speed improvement at all. GPGPU (just like Inline Assembly) should only be used very rarely and when it is absolutely needed.
 
@El'endiaStarman ok...
 
12:24 AM
@flawr Uhhhh do I want to know the answer to this? :P
 
@flawr A stick. Duh.
 
@flawr Large chocolate bar.
Damn, so close.
 
@AlexA. A STICK!
 
@AlexA. but does it have ismoist?
 
Haaaaaaahaaaaaah.
 
12:26 AM
@VoteToClose Hahaha! You're too funny, you.
 
@aditsu Dear god I hope not
 
I hate my life. XD
 
issticky(stick)?
 
@TanMath What do the ellipses mean there? :s
 
@Calvin'sHobbies nothing...
why>
 
12:27 AM
@mınxomaτ: My thought is that I would expect some deterministic algorithms written in GLSL (pushed to the GPU) to act faster than JavaScript in the CPU
 
@TanMath You use them in weird places
 
It is fun how this ... sounds like this 0 in english.
 
Experiment still in progress
 
President CEO of the United States, Donald Trump, has an infinity-sided die.
4
@SuperJedi224 ooh wus dis
 
12:28 AM
@grovesNL You can't run deterministic algos on GPUs, because they rely on previous results (hence deterministic). You would only utilize one GPU shader core :)
 
@SuperJedi224 Actually I think the exact numbers are documented somewhere.
 
Holy crap, @mınxomaτ just used the reply button!
Surely this signifies the end of days
 
@Doorknob They have frequency tables for some individual categories on the wiki, but they don't seem to have an overall table
 
@AlexA. ikr
 
:P
 
12:30 AM
@mınxomaτ: I'm new to graphics programming but I thought modern cards supported loops and dynamic branching?
 
@SuperJedi224 Oh, okay.
Is this for a PPCG challenge? :P
(if not, it could be an interesting one)
 
@grovesNL So? You still can't pull results from other running cores, because they're all running at the same time. This is an algorithm design problem, not an implementation one.
 
@Doorknob No, not really
 
@AlexA. P:
 
By the way, has anyone written a Golly plugin to do the pattern counting automatically? Because counting them manually is a bit tedious.
 
12:32 AM
Not me.
 
@mınxomaτ: Ah okay I understand what you mean now. Thanks
 
@grovesNL By the way, an easy way to play with GPGPU (shameless plug) is my library MiniCL. (New version comes out in a few hours, I'd suggest to wait ;-) )
 
Nice!
@mınxomaτ: So to clarify, a Monte Carlo/genetic evolution/artificial neural network could theoretically perform much better than native JavaScript, right?
 
I thought just about anything ran faster than native JavaScript.
 
@grovesNL Err can you rephrase that?
@AlexA. Well, technically JScript is native JS and it is plenty fast. :P
 
12:37 AM
@AlexA. V8
 
? You made a political post
 
@CᴏɴᴏʀO'Bʀɪᴇɴ me no understand
 
@CᴏɴᴏʀO'Bʀɪᴇɴ I'm very tempted to nuke all the comments there because they're completely off-topic.
 
12:38 AM
@mınxomaτ: I mean if we were running a simulator in JavaScript that was non-deterministic, we could potentially benefit from pushing the calculations to WebGL. So for evolution, each species could evolve in separate threads
 
(Except @El'endiaStarman's of course, because it's obligatory)
 
How do I view previous revisions?
 
@El'endiaStarman I think the git one is better :)
 
@Doorknob ^_^
 
@Doorknob That might not be a bad idea, at that.
 
12:39 AM
@grovesNL Yes. Everything that is faser with CPU SIMD or general threading benefits from GPGPU.
 
@CᴏɴᴏʀO'Bʀɪᴇɴ Click where it says "Edited X hours ago"
 
Most of them are about Earthbound, I don't see what's wrong with that
 
@AlexA. Danke :)
 
@aditsu A few seconds in and...wow! 97 branches?!?
 
@mınxomaτ: Ok great. I wonder if anyone has tried this already...
 
@grovesNL Probably Unity4Web which is based on asm.js+WebGL has some optimizations for this.
 
@CᴏɴᴏʀO'Bʀɪᴇɴ I don't see your point
 
@AlexA. I didn't have a point...?
 
@mınxomaτ: Interesting. I also thought of abusing CSS3 3D Transforms if the WebGL method requires too much overhead (currently I believe I would have to pass bitmap data back)
 
12:41 AM
@Calvin'sHobbies @CᴏɴᴏʀO'Bʀɪᴇɴ This
 
@CᴏɴᴏʀO'Bʀɪᴇɴ Seems like you wanted to make the point that you were not allowed to make political comments
 
@Calvin'sHobbies cc @AlexA. Ohhh right.
 
@flawr Clopen sets are best sets
 
@quartata Half-open on the high end?
 
@aditsu Eh, topology one is still my favorite. ^_^
 
12:43 AM
I didn't really have a point, at that.
 
@CᴏɴᴏʀO'Bʀɪᴇɴ ?
Yeah, Seadrus put a bounty on it
 
@CᴏɴᴏʀO'Bʀɪᴇɴ well duh, it has a bounty
ninja'd
 
It's for the JS one apparently
 
That's nice of him.
^_^
 
12:44 AM
Which is lame since the Perl one is vastly superior
 
No
 
@quartata You said that just to get a rise out of Alex, didn't you? :P
 
but but Perl
 
> This bookmarklet is so much fun. I thank you for the endless enjoyment.
 
@El'endiaStarman Nope, it's the honest truth.
He hates JS too
So he should like the Perl one better because it is shorter
 
12:45 AM
@Doorknob Perl is bad. It's best if you rip off that bandaid ASAP.
 
It's kinda pointless hating the only language you can use to do something. :P
 
Perl is black magic
 
(I mean, I'm sure you could use other languages, but JS definitely has a monopoly in online interactivity.)
 
Perl is stinky brown magic
 
and I remember why I feel so alone. >_<
it'll be ok, javascript
 
12:47 AM
@CᴏɴᴏʀO'Bʀɪᴇɴ Hey, I don't mind Javascript...
 
Aug 13 at 4:52, by orlp
@ChrisJester-Young javascript is such a terrible language that I believe we're doing ourselves a massive disservice by building upon it
 
@AlexA. Wasn't Flash the only alternative at the time Javascript was being developed?
 
Uh idk
 
Or Shockwave?
 
They're all crap
 
12:49 AM
 
JS, PHP, Java, Visual Basic. :P
 
Skimmed the Wikipedia article and it seems like Javascript had effectively no competitors. It's basically that everyone thought using it was gimmicky and amateurish. It didn't become extremely popular until the advent of AJAX.
 
@El'endiaStarman :D
 
I should have checked visual basic, I don't know why I didn't
 
@Doorknob s/Java/Perl/
Not saying Java's good, but it's better than Perl.
 
12:57 AM
Incidentally...
7 hours ago, by Mego
Dim var As Integer(5) means create a 6-element array
Blitz 2D/3D does this too. Which makes sense if you remember the original name was "Blitz Basic".
 
More like Shitz Basic. Heyoooooooo
 
Now, this was weird, but I found a use for it: store the length of the array in index 0. Blitz has no dynamic arrays and no len function, so that's how I got around that problem.
 
BATCH has no arrays. Period.
Just pseudo-arrays
 
> commadns
 
1:11 AM
Mini-challenge: Post a picture of the most surreal sea creature.
 
-1 no coding involved
 
><>
5
 
shhh it's underwater
 
Here you go
 
1:16 AM
Gulper eel ^
 
Looks like Julia will help President Trump defeat the Starman.
Also WTF did I walk in on
3
Okay bye
 
@AlexA. Undercut by Mathematica with a measly 3 bytes!
 
2 votes for Perl ಠ_ಠ
 
1:32 AM
Perl or JavaScript?
 
@AlexA. Perl is shorter than Julia thereby objectively proving that Perl is superior :P
Also I got to use % as a variable name so that's nice
 
@Doorknob !
I'm so happy you've discovered Perl's true greatness.
Don't ever let anyone named Alex convince you otherwise.
 
:D
 
SH[]T
MY F***ING CODE DELETED ITSELF
 
If they're named Larry Wall that's OK though
 
1:34 AM
@CᴏɴᴏʀO'Bʀɪᴇɴ what about your regular code?
 
There's probably a good reason
 
@Doorknob O^O
FUUUUU
 
I do this to people all the time
 
Such language.
 
@Doorknob Me too, often. Mentally.
 
1:35 AM
sighs
I hate Windows atm
 
I still don't understand Alex's hatred of Perl.
 
@CᴏɴᴏʀO'Bʀɪᴇɴ you should use a sane OS :P
lkjalkjflk
 
@Doorknob ಠ_ಠ
 
He's never bothered to explain why he hates it which leads me to believe he's just doing it to troll us.
 
Why is windows crashing.... ;-;
 
1:37 AM
 
Surely there's a better way to do this
 
@SuperJedi224 To push three blocks back and forth? No.
If you want a fun challenge, develop a self-moving block train.
 
To get all three pistons to fire properly
 
If you want an extra challenge on that, make it go both forwards and backwards. :P
 
Would someone mind taking a look at the thing I just posted in the Sandbox? I've never posted a c-a-r challenge before, and I'd like to hear what people think.
 
1:40 AM
@Eridan Ooh, a CnR
Link?
 
@SuperJedi224 Pistons cannot push other, extended pistons, so the only way to extend multiple pistons like that is indeed, in a delayed fashion.
 
@quartata xD
Yeah, come to my place itra. We have so many weird technical problems.
 
@quartata here
 
I'm not sure I want all that redsone lying in the doorway of my mars base though. Oh well.
 
1:43 AM
@CᴏɴᴏʀO'Bʀɪᴇɴ Y U NO git
 
@CᴏɴᴏʀO'Bʀɪᴇɴ At least you have a backup on GitHub, right?
 
@El'endiaStarman Yeah, thank God for that.
 
@El'endiaStarman ninja'd :P
 
0
A: Sandbox for Proposed Challenges

EridanFind the nested source codes A cops and robbers challenge where the cops write between 2 and 8 programs that produce output in the same language and interweave the programs together. WLOG, let's discuss this action being performed on two programs. By interweaving, I mean adding the characters of...

 
@Doorknob Because of the previous two files
:P
 
1:44 AM
Ooo, is that automatic?
 
I still have to rewrite ~100 lines of codes though ;-;
 
Like, 1-6-12-4-8 on the repeater lines
You know what? I'm going with an easier door design
 
2:09 AM
@Eridan Would the following be valid interweaving?
window[a]="alert";window[a]("Hello, ");
r="a";l="lert";eval(r+l+"(\"World!\")");

=> wri=n"dao"[la=]"=l"earlte"r;te"v;awli(nrd+olw+["a(]\(""WHoerllldo!,\ ""))";);
(Every other character)
 
Yes it would
Though for the sake of obscurifyability, that is not recommended.
 
So I can choose an arbitrary N characters?
 
Anonymous
@El'endiaStarman Turns out I'm an idiot, your solution was ~3 billion. Off by a power of 10. It'll get there this week.
2
 
The characters do not have to be interweaved according to any particular pattern, just so long as removing the characters from either program produces the second program.
 
2:12 AM
Technically, window[a]="alert";window[a]("Hello, ");r="a";l="lert";eval(r+l+"(\"World!\")"); is a valid interweaving.
 
So... just combining the two-eight programs works?
 
@Mego Oh dear...
 
Yes, but that is also not recommended. The idea is to write it like 1212211211112122222121121121121112121222222111 or some other random-looking arrangement.
 
Anonymous
@El'endiaStarman 500 million now
 
*combining in an arbitrary way
 
2:13 AM
Yes
 
Ohhh.
Nice challenge!
 
Anonymous
I chucked the process on its own core and gave it high priority
 
Do they have to be in order?
 
Yes
Otherwise it's too much like the CnR challenge where the objective was to unscramble source code
 
So, if I had alert("Hi!!"), )"!!iH"(trela is invalid?
 
2:15 AM
By the way! @Mego, I thought about the problem last night and I realized that you can take the log of each number to turn it into a sum problem. I think that, with further work, you could turn it into the knapsack problem. And/or turn it into a graph problem.
Also, you can fairly easily compute all groupings that share prime factors and then work from there.
(I'm assuming their prime factorizations are already known.)
 
Anonymous
@El'endiaStarman I think it would be easier to reduce it to subset-sum than knapsack
 
Oh, true.
 
test █ • ‴ ƒ … ¯ † ‡ ¢ ¤ £ « © ™ ¬ ® ± § ¶ » ¿ · × ÷ þ Ð ≤ ≥ ≠ √ ∞ ∴ ∵ ∫ ∂ ∇ ∀ ∧ ∨ ∩ ∪ ∟ ⊥ ∥ ≈ ≡ ‰ ½ ¾ ⅓ ⅔ ⅛ ⅜ ⅝ ⅞ ⅟ ■ □ Γ Δ Θ Λ Ξ Π Σ Φ Ψ Ω α δ ε ζ η θ λ µ ν ξ ρ σ τ φ χ ω ϐ ϑ ᴓ ϕ ø ϖ ϗ ϝ ϟ ← ↑ → ↓ ↔ ↕ ⇒ ○ ● ✓ ʭ ‗ ŋ ß ɤ ※ ‽ ₪ ℓ ᴕ ᴖ ᴗ Þ ► ◄ ▲ ▼ ɷ Ǝ ə € Э Д ɰ Ж ₸ Б ↄ ℮ ☇ ♭ ☈ ☉ ♅ ♆ ♇ ¡ ¦ ◊ ♦ ◎ 〈 〉 ☊ ☋ ¹ ² ³ ⁿ ° ♐ ↨ ➤ ¥ æ Æ
 
No blank boxes!
 
Anonymous
woo
 
2:23 AM
@El'endiaStarman What blank boxes?
 
Anonymous
That's probably a Seriously program
 
@CᴏɴᴏʀO'Bʀɪᴇɴ Stuff like □ that shows up when your browser/whatever can't render the character.
 
@El'endiaStarman Oic
Firefox is bae
 
@El'endiaStarman Well, technically, there is a □ in there :P
 
2:26 AM
@mınxomaτ Yeah, I know, but that doesn't count! It's supposed to be there! :P
Also, the true blank boxes do tend to be bigger.
 
> It's supposed to be there! :P
You wouldn't know if it wasn't supposed to be there :D
 
@CᴏɴᴏʀO'Bʀɪᴇɴ Whatever it is you saw, I don't wanna see it.
 
sun face
 
2:27 AM
☉\/☉
_____
 
I just wrote a 700 line function with 11 levels of nested comparison operators and two goto's. I feel dirty now.
 
you should!
 
It works (surprisingly). I wouldn't even know where to start refactoring.
 
Anonymous
@mınxomaτ Start with a flamethrower
3
 
0
A: Sandbox for Proposed Challenges

MegoString Shuffle Given a list of strings, output a single string formed by taking a character from each string at each position, sorting them by ASCII ordinal, and appending them in order to the output string. In other words, for n input strings, the first n characters of the output will be the fi...

 
Ethics of a challenge called check_thii2_2hiit_out.~ATH if there is a reason it's called that given? (aka is 2hiit too close to the real thing)
 
x^2 is to squared as x^3 is to cubed as x^1 is to ______?
I mean whats the word for x^1
 
@Calvin'sHobbies x
Because x^1 is dumb :P
 
Oh right
identitied? :P
 
measured. aligned. laid out.
lined
 
2:42 AM
@Eridan But say you don't know the variable name. e.g. "Square the variable" -> "Oneth the variable"
 
Unchanged? Unmodified?
 
"Take the variable"
 
"The first power"?
"The variable itself"?
 
@El'endiaStarman that works
 
I like first power
 
2:45 AM
I actually kinda liked "identitied", but that's kinda awkward and not really that clear to non-mathy people.
 
Anonymous
For anyone planning on writing a language that uses the upper bytes: don't
 
Anonymous
Juggling text encodings is not worth it
 
Haha, why not?
ahh
Seriously?
 
Anonymous
Seriously.
 
Anonymous
2:52 AM
I'm considering giving up on text code and just going for hexdumps
 
Anonymous
Raw byte reading instead of trying to juggle text encodings
 
1
Q: check_thiis_2hiit_out.~ATH

EridanThe popular webcomic Homestuck makes use of a programming language called ~ATH to destroy universes. While this code golf challenge is not to write a program to annihilate our existence, we will be destroying some more tame (albeit less interesting) entities: variables. ~ATH (pronounced "til dea...

 

« first day (1758 days earlier)      last day (3077 days later) »