« first day (1943 days earlier)      last day (2897 days later) » 

8:04 PM
@zyabin101 Are you still here?
 
Or alternatively:
xkcd.com/970
 
I worked on this for 2 days
Less than 2 KB
And is not golfed
I'll include fog later to hide the edges
 
But without Flash, I can't visit homestarrunner.com ... or NewGrounds ... or play Robot Unicorn Attack ...
 
@TimmyD ಠ_ಠ
 
> HomestarRunner.net ... It's dot commm!
HTML5 interpreter for Flash
 
8:09 PM
@TimmyD So you want to run a slow language with a slow language
 
:D
 
@TimmyD Mozilla Shumway was an attempt at that. I don't know how far they got.
 
People still go to Newgrounds?
 
@quartata People still play flash games?
Let's be honest, it was a brave move from Chromium to completely drop flash
Just imagine the thousands of everyday people, who at one day can't play their favourite games
 
isn't chromium like chrome, but worse?
 
8:12 PM
Breathtaking, completely CGI short film from 2009:
 
@CᴏɴᴏʀO'Bʀɪᴇɴ It's the bleeding edge chrome
It was at least as brave if not braver, than when Internet Explorer asks you, if it can be your default browser
 
@Bálint That's wrong. Chromium is Chrome without closed-source components (like Flash, or native APIs for e.g. Netflix). The bleeding edge Chrome is "Chrome Canary"
 
@mınxomaτ Isn't it Chrome beta
?
 
Ohh, much clearer now
 
8:15 PM
Hence "Canary" as in "when the canary dies it's time to leave the mine"
 
@quartata ಠ_ಠ ಠ_ಠ ಠ_ಠ ಠ_ಠ ಠ_ಠ
 
What?
 
@quartata That hurt
 
@quartata That reminds me of how miners would use poplar for the supporting beams instead of stronger oak beams. It's because poplar cracks really loudly, whereas oak doesn't.
 
@El'endiaStarman Oh, I didn't know that. That's interesting
 
 __
   _|
 |
 .
 
8:17 PM
| |
Try again:
 
| ? |
 
@gcampbell trollolololo
 
@Bálint Are you a canary?
 
That ascii art failed.
 
> art
 
8:19 PM
You can have multi-line messages you know
 
@gcampbell Use shift+ENTER
 
You can also edit messages
 
I'm on tablet, so pressing return seems to send the message. And sometimes the edit button appears, sometimes it doesn't.
 
@gcampbell If it doesn't appear, scroll up
 
@Bálint I tap on one of my messages and some buttons appear at the top.
 
8:22 PM
@gcampbell Just press the UP key to edit your last message. You can only edit messages for a few minutes.
 
@mınxomaτ Oh right. But this is an onscreen tablet keyboard :)
 
@mınxomaτ Android or IOS?
Or windows?
 
user image
3
 
@flawr Ahh, America jokes...
 
Tips for golfing in C++ -- 16 answers
Tips for golfing in PowerShell -- 28 answers
Awww, yeah.
 
8:31 PM
Tips for golfing in Java?
 
Don't :)
6
 
@LeakyNun There is a problem with it - I've raised it on meta. I noticed you edited the minified code - I should point out that the link I gave in the question goes to the unminified code on meta that would be much easier to edit...
 
@drobilc Or gzip it :)
 
@trichoplax Oh, ok
 
@trichoplax this happens because the position of the right-hand leaderboard is fixed, so if a language or user name is too long in the left one, they'll overlap
just a case of bad HTML/CSS and overall laziness
 
8:33 PM
The per-language results should be on the left in the standard leaderboard IMO
5
 
@gcampbell 21
 
Since that's what we emphasize
 
@MartinBüttner So even if we changed the score to be a link it could still overlap if someone comes along with an even longer username/language combination?
 
@TimmyD ?
 
8:33 PM
@AlexA. yeah that doesn't solve the problem though
@trichoplax yep
 
@drobilc Add that to the thread please! codegolf.stackexchange.com/questions/6671/…
 
@gcampbell 21 answers
 
@AlexA. Separate issue, but I do like that idea
 
@trichoplax I didn't mean it to be related to whatever you guys are talking about, I was just sayin'.
Super sayin'.
 
@TimmyD Oh.
 
8:35 PM
well, anyone here knows c++?
 
@drobilc Just a bit
 
@drobilc We're acquainted, but that's as much as I can say
 
@drobilc We all know about trigraphs :)
2
 
Any good resources for learning?
 
I thought trigraphs were a C thing that went away in C++.
 
8:37 PM
@AlexA. Nice reference. Raise it here
(or I can...)
 
@AlexA. C++ also has them but they will be / have been removed.
 
What is a thigraph?
 
??/
 
8:39 PM
Not to be confused with the C# ?? operator.
 
0
A: Leaderboard Snippet

Alex A.In my opinion, the per-language results should be on the left since we emphasize competition within each language. It would simply be a swapping of the current left and right columns.

 
???
 
??/
 
@AlexA. Upvoted :)
 
(Probably shouldn't be teaching trigraphs to someone who is asking about seriously learning c++ ;) )
 
8:40 PM
9 mins ago, by drobilc
Don't :)
 
___    ___
__|    __|
|      |
.      .
 
Learn any language: Take a project of yours and try to port it ¯\_(ツ)_/¯
 
@Bálint It was amusing to watch those take shape.
 
(That's a question-mark BTW)
 
@AlexA. fun fact. the one that I'm actually using on my challenges does have that...
 
8:42 PM
@MartinBüttner Nice!
 
i am confused... what are trigraphs used for?
 
Code trolling
 
@drobilc Junk
 
@drobilc shenanigans
 
//Why doesn't this fail??/
abcdefghijklmnopqrstuvwxyz
 
8:42 PM
Shenanigoats
 
@gcampbell Ctrl+K
 
They're a legacy remnant from the Ancient Times before modern keyboards
2
 
Or `
 
The shrug emoji ( 🤷 ) looks like it's angrily shouting...
 
not displaying on mine
 
8:43 PM
@gcampbell Ctrl+K for multi-line, `abc` for in-line
 
That's a square
 
@LeakyNun thanks
 
Get a better browser
 
@mınxomaτ ¯\_(AHHH)_/¯
 
In computer programming, digraphs and trigraphs are sequences of two and three characters, respectively, that appear in source code and, according to a programming language specification, should be treated as if they were single characters. Various reasons exist for using digraphs and trigraphs: keyboards may not have keys to cover the entire character set of the language, input of special characters may be difficult, text editors may reserve some characters for special use and so on. Trigraphs might also be used for some EBCDIC code pages that lack characters such as { and }. == History == The...
 
8:44 PM
@TimmyD I was just reading that :D
 
@drobilc so was I :)
 
I wasn't
 
^^ this guy
 
I read it enough to link it.
 
Quiz: which golfing languages have digraphs? trigraphs?
 
8:47 PM
Some.
 
Old.
 
@CᴏɴᴏʀO'Bʀɪᴇɴ J and Pyth have digraph
pretty much every golfing lang has digraph
Jelly also
 
cookie goes to the first person who finds a golfing language with trigraphs
 
@CᴏɴᴏʀO'Bʀɪᴇɴ I don't know golfing languages but can I have the cookie anyway?
I can assure you I do deserve it!
 
@CᴏɴᴏʀO'Bʀɪᴇɴ Pretty sure J has trigraphs
 
8:48 PM
@flawr you don't have to cookie..
 
Oh right
 
@CᴏɴᴏʀO'Bʀɪᴇɴ V
 
In the meantime, where should i start learning C++?
 
Where's cookie?
 
^^^^^^^
 
8:48 PM
@TimmyD It does, but it's not a golfing language
 
Where's my cookie?
 
@DrGreenEggsandHamDJ is V a golfing language?
 
6 mins ago, by mınxomaτ
Learn any language: Take a project of yours and try to port it ¯\_(ツ)_/¯
 
@mınxomaτ Dependencies could not be resolved: You have no projects.
 
8:49 PM
@flawr gives cookie
@DrGreenEggsandHamDJ gives cookie
 
@CᴏɴᴏʀO'Bʀɪᴇɴ Thank you nom
 
bounty still open :p
 
TY!
Also, I'm really proud of this answer:
3
A: Separate alphabets and numbers

Dr Green Eggs and Ham DJV, 12 bytes òí¨Ä©¨ä©/²± ​ V, is an unfinished, 2D string based golfing language. Although it is unfinished, this program works as of commit 45, which was published last night, making this a competing answer. (Most of my previous V answers were non-competing.) Note, the trailing newline is nec...

 
trigraphs in J: NB., p.., and _N: for N from 0 to 9 and {::
 
J is a golfing language in the same manner that APL is
 
8:51 PM
thanks
 
@CᴏɴᴏʀO'Bʀɪᴇɴ &.:
 
I did not know about that one
 
Oh hey, I misunderstood what a trigraph is.
 
8:52 PM
Is int a trigraph?
 
it's symbols
 
@CᴏɴᴏʀO'Bʀɪᴇɴ any chat mini-challenge lol
or J challenge
 
gimme a sec :3
 
because it takes lots of practice to master J
 
8:57 PM
that is true
Chat petite challenge: Given two numbers N and K, output 2*N+K
 
+Ey
3 bytes, pyth
 
jolf is three bytes as well
I'm just too lazy to find the correct greek letter
 
param($n,$k)2*$n+$k 19 bytes in PowerShell if it's a full program
 
@CᴏɴᴏʀO'Bʀɪᴇɴ ]+2*[
 
Anyone knows a fast and small algorithm to tell, if a point lies in an isoceles-triangle?
 
9:00 PM
Ḥ+ in Jelly
 
f=n,k=>2*n+k js i think nope
 
@LeakyNun suboptimal.
 
Retina, 4 bytes: ;\n$`
 
leaving in a bit to update chrome brb
 
Labyrinth: ?:?++!@
@LeakyNun I like that :)
 
9:01 PM
05AB1E: ·+
 
@CᴏɴᴏʀO'Bʀɪᴇɴ Swap order +2&*
 
just one byte less
 
Matl 2 Bytes: E+
 
The Snippet just fell off my challenge!?! Does anyone else see it?
 
9:02 PM
how to open ff js console?
 
f12
or right click + inspect element
 
@trichoplax I do
 
@ev3commander ctrl + shift + j
 
Actually, 2 bytes: τ+
 
@MartinBüttner I just opened it from the main page in a new window and it has the snippet there, but my other page doesn't have it even if I refresh the page. Never seen that before...
 
9:03 PM
@dro tried
but anyway
 
ctrl + shift + K
 
anyone have UPDATED ff can test out f=n,k=>2*n+k?
 
I was in the leaderboard in full screen and it just vanished, leaving no link to show snippet
 
Mathematica: #+##&
 
9:04 PM
V, 10 too many bytes: "apÀ<C-a>yw@"<C-a>
 
@Bálint It's slowly turning my face that colour...
 
@DrGreenEggsandHamDJ link to V plz?
 
@MartinBüttner What?
 
It's terrible for math.
 
@Bálint Maybe a bit slower to avoid airsickness?
 
9:05 PM
@Bálint Did you use square encoding?
 
@trichoplax It will be a first person camera demo
 
Chat mini challenge: Given an integer K, factorize K, increment each element of K by it's index, and factorize each subelement, yielding the product of all the elements. E.g., 24 => 144
 
So, yes, it will be slower
@LeakyNun Because I doN't kow what that is, I assume no
 
@Bálint Well, what is the average of #00ff00 and #ff0000?
 
9:06 PM
@trichoplax jsfiddle.net/nk5k4j42/2 Here, slower
 
@Bálint As for the terrain, it looks good but the sudden cut off at the end is a bit jarring.
 
@drobilc An unnamed function where # represents the first argument, and ## expands to a sequence of all arguments so this is actually #+#+#2& which is 2#+#2& as required.
 
@trichoplax I will use fog to hide that
 
@CᴏɴᴏʀO'Bʀɪᴇɴ How does 24 produce 144?
 
9:07 PM
@Bálint With the speed it's running, I'm guessing you could afford to include more of the rest of the terrain going off into the distance too
 
@CᴏɴᴏʀO'Bʀɪᴇɴ not following
 
@trichoplax Not that much, with a 14*14 instead of 10*10, the fps jumps down to 15
 
@CᴏɴᴏʀO'Bʀɪᴇɴ In J, */@(+i.@#)@q:
 
@CᴏɴᴏʀO'Bʀɪᴇɴ *FsPM+VUPQP
 
@trichoplax But I can change the size of a quad
 
9:09 PM
24 -> 2,2,2,3 -> 3,4,5,7 -> 3,2,2,5,7 -> 420 not 144
 
@Maltysen *F.e+bkP
 
ahhh nice
 
@ev3commander 0-indexed
 
@LeakyNun 24 => factor(24) => [2, 2, 2, 3] => [0, 1, 2, 3] + [2, 2, 2, 3] => [2, 3, 4, 6] => [[2], [3], [2, 2], [2, 3]] => [2, 3, 2, 2, 2, 3] => 2 * 3 * 2 * 2 * 2 * 3
 
@CᴏɴᴏʀO'Bʀɪᴇɴ Hint: the second-to-last step is not needed
 
9:10 PM
Hm ok 2,3,4,6 -> 2,3,2,2,2,3 -> 2**4*3**2=16*9=144
 
@LeakyNun flattening?
 
@LeakyNun I'm stupid
 
@CᴏɴᴏʀO'Bʀɪᴇɴ No, factoring
 
@ev3commander Use `abc` :)
 
*F+VUPQP
@LeakyNun mine is the same as your without factoring
 
@Maltysen What?
 
that also works
same len as yours
 
Jelly, 8 bytes: ÆfĖS’$€P
 
9:13 PM
@LeakyNun whats your r eal us ernm ae
 
@Maltysen Oh, he factor'ed
@ev3commander Nyan Luke lol
 
@trichoplax Also, I want to change it, so it renders a frustum instead of a rectangle, then it can be bigger
 
@Bálint So you don't waste time drawing things that are off screen?
 
@trichoplax Pretty much
 
9:14 PM
@Bálint is the terrain random?
 
@Maltysen Yeah, I use mid-point displacement algorithm, because that's the smallest
 
ÆfĖS’$€P Main monadic chain. Argument: n

Æf       prime factors of n
  Ė      enumerate: pair each element with its index (1-based)
     $€  for each pair:
  S        compute the sum
   ’       then minus 1
       P compute the product
@Bálint What is the average of #ff0000 and #00ff00?
 
@LeakyNun I don't know
 
If you just treat them as normal numbers, you would get #7f7f00, which is far from yellow
in reality, the color codes are square-encoded
which means, you should take the root-mean-square instead of the direct arithmetic mean
 
hmm i think #ffff00
 
9:17 PM
@Maltysen The terrain part is about 400 bytes, the 3d rendering is about 700
@LeakyNun And that's good for me because....
 
@ev3commander That's another way of taking average
@Bálint because you used changing colors?
 
@LeakyNun What language is that?
 
@CᴏɴᴏʀO'Bʀɪᴇɴ Golf my J solution?
@drobilc Jelly (see above)
 
@drobilc
5 mins ago, by Leaky Nun
Jelly, 8 bytes: ÆfĖS’$€P
 
9:18 PM
@LeakyNun I just add some value based on height to 100 to get the green channel
 
@LeakyNun Oh, didn't follow :)
 
@Bálint I see
Well I'm not that familiar with colors
just saying what I know
 
I found out, that if I remove the stroke, I get a 1 pixel gap between the polygons, thus if I change the background to black, I get the same effect, but with lower overhead
It's not fun to balance between small code and efficiency, it's not a problem you usually encounter on the ppcg SE
 
My avg is like this Take each r/g/b value seperately and add them together. If total>ff than set to ff, so e.g. 841234 + 7a1b2c = ff2d60
 
ANd now it runs at 55 fps in avg
 
9:21 PM
I meant 941234 btw
 
@LeakyNun Your solution seems optimal
 
ok
 
Chat minigolf: For input n, factor n, double each factor, and multiply. (Factor not factorize for reasons)
 
*FyMP
 
@CᴏɴᴏʀO'Bʀɪᴇɴ 05AB1E, 7 bytes: ÒDgL<+P.
 
9:25 PM
@ev3commander See above
 
wait your algorithm is just RMS, right?
 
>alrogithm
 
@Maltysen Yes
 
sorry
 
@Poke lol thanks
 
9:26 PM
@LeakyNun rms per channel?
 
Yes
 
@LeakyNun Which is close
rr
 
@ev3commander n->prod(2*[keys(factor(n))...])
 
@ev3commander J: */@:+:@q:
 
@ev3commander 05AB1E, 3 bytes: Ò·P.
 
9:28 PM
@LeakyNun alrogithm
 
Jelly, 4 bytes: ÆfḤP
ÆfḤP Main monadic chain. Argument: n
Æf   prime factors of n
  Ḥ  double (each)
   P product
 
welp/
 
@CᴏɴᴏʀO'Bʀɪᴇɴ ninja'd
 
@Maltysen I forgot to divide by 2... lol
 
9:31 PM
@Adnan Nope
Try 6
 
Why isn't it 24?
 
@ev3commander 6 => [2,3] => [4,6] => 24 which is correct
 
You missed 1 and 6
 
Oh, divisors?
Change Ò to Ñ.
 
I said factor not factorize
 
9:33 PM
@ev3commander They're the same.
 
those are divisors, which mean numbers that divide n
factors are a way to break n apart
 
Jelly, 4 bytes, ÆDḤP
factor is american, factorise is british
 
@ev3commander 05AB1E: Ñ·P.
 
HMmm
To me factor == "find factors"
 
Another SpaceX launch tomorrow :)
 
9:42 PM
@ev3commander J: */@:+:@((0=|~)#])>:@i.
@CᴏɴᴏʀO'Bʀɪᴇɴ Golf plz?
 
what's the difference between factor and factorize?
 
@HelkaHomba Going to space?
Going to the moon. Moon ride, moon ride.
 
@CᴏɴᴏʀO'Bʀɪᴇɴ To him, factor means find divisors
 
TIL: chrome://net-internals/#dns
 
@LeakyNun so... like, "factor" 6 is 1, 2, 3, 6?
 
9:46 PM
Hey @mınxomaτ, can a port of a BSD-2 project (a derived work) be licensed under MIT?
 
yep
 
@AlexA. -2 meaning "2 clause"?
 
Yes
 
Sure
 
@AlexA. Yes. No people, just a satellite. But they'll be attempting the cool stage 1 drone ship landing as usual
 
@mınxomaτ Nice. Thanks for the info. :)
@HelkaHomba I figured no people. I was quoting Spongebob.
 
>.>
 
In the UK do they spell his name Spoungeboub?
 
Space Exploration > Spou?ngebou?b, I'm sorry -.-
 
'aup
sup
 
9:50 PM
@AlexA. german (first one)
 
Good god
 
@ev3commander lambda n:reduce(int.__mul__,[2*i for i in range(1,n+1)if n%i<1])
(Does __mul__ work?)
 
@ev3commander test case?
 
@LeakyNun int.__mul__
 
lambda n:eval('*'.join(map(repr,[2*i for i in range(1,n+1)if n%i<1])))
 
9:55 PM
6 -> 576
 
@Maltysen Oh, thanks
lambda n:reduce(int.__mul__,[2*i for i in range(1,n+1)if n%i<1])
lambda n:eval('*'.join(repr(2*i)for i in range(1,n+1)if n%i<1))
lambda n:eval('*'.join(`2*i`for i in range(1,n+1)if n%i<1))
 
@LeakyNun you can remove the space after repr
 
@LeakyNun seems pretty well golfed
 
@LeakyNun do range(n) and do 2*-~i
 
@Maltysen what about n%i?
 
9:58 PM
oh didnt see that
nvm then
 
@Maltysen 2*i+2 also works
 

« first day (1943 days earlier)      last day (2897 days later) »