« first day (1959 days earlier)      last day (2878 days later) » 

11:00 PM
@AlexA. K, I'll be waiting.
 
@Maltysen Just because Github emulates this, doesn't mean they are git repos.
 
@mınxomaτ Thank you!
I worked at least 45 minutes on this thing + research
 
@Maltysen Yes, on their server
But they are not created from a user. You have to create them on Github
 
11:01 PM
> Every gist is a Git repository, which means that it can be forked, cloned, and manipulated in every way.
 
@Maltysen You cannot publish a git repo as a Gist.
 
@Geobits here you go
 
@Maltysen Github creates a repo on their server from your Gist.
 
@mınxomaτ i don't see the difference
but whatever
 
@AlexA. Uh... It's not that I'm ungrateful or anything, but it looks slightly off >_>
 
11:03 PM
@Bálint why do you have separate definitions for different sized matrices and vectors?
 
@Maltysen I do, because some things are specific to one size
 
@Geobits Little known fact: When you get 20k reputation, SE shittily erases part of your avatar >_>
 
And these are useful for game making/graphics programming
 
Oh well that explains it then.
 
@Bálint Specifically for JS files, you could also use pastebin.mozilla.org without any login.
 
11:04 PM
@Bálint well if you're talking about things like cross product, you can just return an error if any of then are 2-vectors
 
@Maltysen I like it this way :/
 
@Bálint or even define a vector class, and inherit vector2 and vector3 from it
and define cross_product on vector3
 
Yes, you can use a 4d vector as 2d by just setting the z and w axis 0
I don't like javascript inheriting, it's not an intended property either
 
user image
12
 
11:06 PM
@Maltysen I did that in java thogh
 
@AlexA. why did you do that?
 
Do what?
 
let SE do that?
 
20 secs ago, by Alex A.
Do what?
 
Ugh.. this lang is going to be *terrible* for golfing. I'm still going to use it.
Preview: Factorial function
     : factorial ( n -- n! ) 2 swap inc range { * } swap fold ;
I can't quite get the hang of formatting code in here...
 
11:10 PM
Backticks for inline, leading newline then four space indent for blocks
 
@aditsu Much better :D
 
I tried that. I know MD. I think separate messages are my only resort.
 
And also, don't include block-formatted code with normal text, since you can't do multi-line Markdown in chat.
(Except for block-formatted code, of course.)
 
Well, you can, it just doesn't render properly. (As you've seen.)
 
@Geobits I don't think you'll ever reach -20,000
 
11:11 PM
sounds like a challenge
 
@Optimizer All I have to do is overflow the field to get negative, right? :P
 
I did this in an hour:
 
@Geobits nope
it uses BigInt with no limitation
 
BTW, it's a hypercube/tesseract, if you couldn't guess it
 
11:14 PM
@Bálint oh look, a tesseract! (movie quote)
 
The page is just blank white for me
 
wife: honey why does our credit card bill say "pirate ship insurance" me: *whispering to parrot on shoulder* we have to leave NOW
 
@AlexA. Press F12
 
That made all of my windows shift to the top
 
alt command i
 
@Bálint Very cool.
 
@Quill What's that do?
 
Was hoping it could be user-controlled, but I guess that's a bit much for an hour. :P
 
@AlexA. opens the dev console in Chrome, like F12 does in Windoze
 
:30279278
> Windoze
ಠ್ಗಠ
 
11:16 PM
> Windoze
 
@Quill I don't use Chrome
 
:30279278 > Windoze
 
@AlexA. Then what do you use?
 
Safari
 
I actually use(d) Ctrl+Shift+I to open the Chrome console, but F12 is so much faster and easier. TIL! :D
 
11:17 PM
@AlexA. ಠ್ಗಠ
 
turns out it's the same command in Safari anyway....
 
This is BTW not a proper way to draw a hypercube, because of the limitations of the 2d screen
You would actually need a holographic disply, to draw something closer to it
 
@Optimizer You know what's the biggest difference between that and my implementation? Mine uses 4 times less memory
 
@Optimizer Pure CSS?! Witchcraft.
 
11:20 PM
and that one is pure css
 
@AlexA. btw I LOVE the last line at git.io/ಠ_ಠ
2
 
also, increasing dimensions
 
@Optimizer css abuse eleven?
@aditsu I don't even need to click that to know to ಠ_ಠ
 
@aditsu Haha
 
Oh wait, it's basically just a hard-coded animation. I am slightly less impressed. :P
 
11:21 PM
cc @mınxomaτ
 
@El'endiaStarman umm.. all animations are like that in css?
 
@Optimizer Yeah, I realize that now.
 
-_-
:D
 
@AlexA. So, what happens if you open the console in the inspection tools?
 
11:23 PM
I think the fact that I had to maintain the lines to put an increasing dimension effect is enough to call it witchcraft
 
@Bálint Nothing, actually
 
Haha, it's definitely still a work of art. I just thought it used some black magic feature of CSS to do 3D stuff and a moving camera.
 
aw, thaks
 
I changed the color scheme a bit: mcdorli.github.io
 
11:25 PM
@MartinEnder 1498 USD?
 
@Bálint Old one was better.
 
@Optimizer get some glasses
 
@Bálint COPY CATTT
 
@Optimizer 14.98
@Optimizer In my defense, I originally wanted something like that
 
@MartinEnder I don't think regular glasses fit around llama heads though
 
11:26 PM
@MartinEnder give some answers to your puzzles
 
@Bálint do the box in terminal green
 
and a CRT effect
 
and then make katakana and alphanumeric chars scroll down behind it
 
@Optimizer @zʏᴀʙiɴ101 said I had spoiled it for them. not sure whether it was a joke or they figured it out.
 
11:27 PM
> SyntaxError: Unexpected token '>'
 
@Upgoat Your browser doesn't support ES6?
 
Make JavaScript great again: use babel dammit :/
 
@Bálint make mcdorli.github.io/black do that, mcdorli.github.io/white do the original, and mcdorli.github.io/1337 do green on black.
 
@Bálint no, like a vast majority of browsers
 
@Upgoat I SUPPORT GOAT
 
11:28 PM
@Bálint are you sure your animation is correct in there?
 
@Upgoat javascript was never great
 
^
 
I remove the ES6 parts
 
the inner cube's side face is supposed to become the outer cube's face
 
@aditsu and neither was cjam :P >:|
 
11:28 PM
harsh
 
@Quill I included a P to show it was just banter
 
So, what colors should it be in?
 
@Upgoat harsh banter was harsh
 
11:30 PM
I improve it tomorrow, so the rotations can be set manually
Now it's green and should be ES5 proof: mcdorli.github.io
Side-note: update your browsers, because the vast majority of the browsers do support it (at least the modern versions of them)
 
@Bálint :D yup.
@Bálint s/majority/minority/
 
that's white for me
 
Yeah, I used a map in the code with a lambda
 
reload
 
@Bálint no seriously, many browsers don't.
 
11:33 PM
@Bálint You can usually install the babel plugin in your favorite text editor and it'll babel it automatically.
 
@Upgoat actually no, the modern browser versions all have at least 80% compatibility and Firefox, Chrome and Safari have over 94%
 
@Bálint tesseract spin like woah
 
hey @RenderSettings
 
@RenderSettings Again, I make the rotation changeable tomorrow
 
@Bálint yay, now it's ready for 80s hacking programs
 
11:34 PM
@Quill we're not talking about how much of ES6 is supported, we're talking about what percent of users have ES6 ready browsers
 
It's 1:34 AM and I should sleep
 
@Bálint what I would really like you to do is to show it in 4d
 
@Upgoat If we don't update our broswers, then that percentage won't change too much in the near future
 
@Bálint g'night
 
@aditsu If you can send me your 4d holographic display's specs, I gladly do it for you
 
11:35 PM
@Bálint My browser is updated to the latest but doesn't support ES6
 
So I was wondering about this earlier: given an alphabet of N characters. Are there more even-length strings or more odd-length strings over this alphabet? Possible argumentations:
a) as N goes to infinity the role of even and odd length strings becomes interchangeable so there's the same amount. b) for every even-length string of length X, there are N strings of length X+1, so only 1/(N+1) strings have even length. c) the same is true the other way round, but then you get one additional even-length string (the empty string), but that still converges to 1/(N+1) but for odd strings.
 
@Bálint I'd send them but you'd only get a projection of the specs
 
@Upgoat What browser you use?
 
I feel like the gist is just "the limit doesn't exist", and "infinite cardinalities are weird", but I thought it's an interesting question.
 
@Bálint Safari
 
11:36 PM
I don't count that as a browser ^
 
@Upgoat There's your problem, god dam'it, use Chrome or firefox
 
@aditsu why not?
 
@Upgoat because it's crap, like all apple stuff
 
@Bálint Safari has best js debug tools though
@aditsu pls don't start flamewar >_>
 
@Bálint Safari has the highest ES6 integration percentage; 100%
 
11:37 PM
@Quill Safari WebKit Nightly, not Safari
 
@Upgoat In what aspect is it better? Chrome gives you the exact file and line, and assuming I have finite length lines, I can easily solve the issue
 
@Quill Safari WebKit Nightly is not supported on OS X El Captain and above
 
more seriously, because it is chock-full of bugs and its interface is absolutely horrible
 
@Bálint yeah, that's V8/the engine. Safari's debugger is much better
1 min ago, by Upgoat
@aditsu pls don't start flamewar >_>
goes on to start flamewar
 
@Upgoat It comes with Chrome
 
11:39 PM
really? I was trying to give a less-inflammatory clarification
if I wanted to start a flame war, I would say other things :p
 
@aditsu idk, you really don't have any evidence and to me that looks like a random false conjecture ¯\_(ツ)_/¯
 
@aditsu BTW, if you have a 3d projector, then that would be the same as projecting a 3d model to a 2d screen
 
@Bálint yeah, the debugger =/= engine was my point
 
But projecting a 4d model to a 2d screen is the same, as projecting a 3d model to a 1d screen (a line)
@Upgoat Chrome has a line-by-line inspection tool, wich let's you go trough the code with the interpreter/compiler
@AlexA. Does it work for you now?
 
Indeed. Nice work!
 
11:43 PM
@Bálint yeah, but that takes forever to debug. It's similar to most command-line debuggers, but in Safari, you don't have to keep clicking step. You can see exactly where your code broke, what the call stack was, the local variables, and the passed data to a given function, inspect classes, etc.
 
@xnor thanks for all the feedback! Will consider that as we decide where to go next.
 
@Upgoat You can make it, so it prints out every variable at every debugger statement
 
@Bálint that's about as annoying as console.loging everything though. If I was developing a large app, like Cheddar, I have like 80 files all processing a single string, it's a pain in the ass navigating throughout all of that using the debugger, or placing debugger/console.logs everywhere
 
@Upgoat No, that's not how it works, it isn't an assert
 
@Bálint i know
 
compare this to this just by glancing it's immediately clear which is more helpful.
crap wrong picture
 
I always chuckle at the ridiculous drop shadow in OS X screenshots. Who the hell thought that was a good idea...
 
@Bálint every JS engine supports those, those aren't very helpful as traces in V8 usually just show the internal stack. Try throwing to resolve a circular dependency error
 
Then use firebug with firefox
 
11:52 PM
hahaha, I might as well debug on my toaster
though the fact the V8 debugger goes into it's own internals is scary, regardless of whether or not you like Chrome
 
@Upgoat Oh, can you tell me what safari prints out, when you want the source of a native method, like console.log?
 
> console.log
< function log() {
    [native code]
}
 
Same there too :/
 
> break in internal/module.js:15
 
W...what. How? o.O
 

« first day (1959 days earlier)      last day (2878 days later) »