« first day (1068 days earlier)      last day (3883 days later) » 

6:00 PM
my companies website metarain.com :D
 
@Jhawins What do you need bitcoins for? Buy drugs?
 
@AbhishekHingnikar and minimized code :)
Buy gold with your Bitcoins :)
 
user1596138
@copy Yes, exactly. Because I would buy drugs off the internet. //sarcasm
 
@Jhawins I heard they're legit. You should do it.
 
user1596138
God damn this co-worker.
 
6:04 PM
@Jhawins You mean sarcasm
 
Don't go for the blue pill!
 
Well, but then buying Bitcoins is pointless
 
buy low, sell high
 
actually there is a big industry for internet drugs
and iirc bitcoins are their main form of currency transfer
 
There is indeed, a lot of sick people in the real world :)
 
6:05 PM
@nderscore ... and everybody makes a profit
 
cough Silk Road cough
 
user1596138
@copy Yeah, because the only thing they're good for is buying drugs.
 
Silk Road is an online black market on the Deep Web. It is operated as a Tor hidden service, such that online users can browse it anonymously and securely without potential traffic monitoring. The website launched in February 2011; development began six months prior. Silk Road is an underground website or the eBay for drugs. Buyers can register on Silk Road for free, but sellers must purchase new accounts through auctions, a policy that was purportedly implemented to mitigate the possibility of malicious individuals distributing tainted goods. The founder has espoused libertarian idea...
 
Drag me on that road!
 
@Jhawins True story
 
user1596138
6:06 PM
I know someone who's used that before. And BlackMarket Reloaded.
 
internet drug trade goes way back to usenet days
 
> Based on data from 3 February 2012 to until 24 July 2012, Christin (2013)[25] estimated $15 million in transactions are made annually on Silk Road,[26] 12 months later he said in an interview that a major increase in volume to "somewhere between $30 million and $45 million" would not surprise him.
> .[27] Buyers and sellers conduct all transactions with bitcoins (BTC), a cryptocurrency that provides a certain amount of anonymity.[28] Silk Road has escrow and hedging mechanisms in place which mitigate Bitcoin's volatility
 
user1596138
Yup.
 
@Jhawins this is where the 'bitcoins are for drugs' is born from
most people use them for drugs.
 
user1596138
I know. People I know have done it but that's just a bad idea.
 
user1596138
6:07 PM
I never asked where they dared to have it shipped.
 
colorado
@Shmiddty wanna accept a package for me?
 
user1596138
They said they charge 3.8BTC as a deposit to start selling things. Purchasing is free.
 
user1596138
@rlemon lmfao
 
What do you call software that is removed from use? Something to differentiate it from Legacy code, or Active code.
 
user1596138
Depreciated?
 
6:08 PM
historical ?
 
user1596138
"Software that is removed from use"
 
tbh I would probably call it legacy
or is it 'removed from use' but might be added back in?
like a feature that is being put on hold?
 
@rlemon I'm sticking with historical. Thanks!
 
@user2087587 Welcome to the JavaScript chat! Please review the room pseudo-rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
 
Dead code?
 
6:10 PM
@rlemon Stuff I shot in the head, dug a hole and buried.
 
your welcome! all right! i'm super helpful today
 
woot!
 
My welcome?
 
@SomeKittens yup
get it, I didn't do anything
(and it is a clever way to avoid you grammatical fucks)
 
I want to make a javascript variable a string that contains <script>somescript</script> but I don't know how to do this without ending the script that contains the variable.
 
user1596138
6:11 PM
You used to be able to buy them with a cash deposit at Walmart. I liked that method.
 
@user2087587 escape the backslashes
 
Okay thank you
:D
 
got a quick noob question; is there any way to initialize an array to a specific size?
 
var str = "<script> ... <\/script>";
@Crowz new Array(n)
 
ie, I want an array of size x where all the entries are 0
 
6:12 PM
iterate and assign 0
 
^
 
@Crowz new Int32Array(count) or Float64Array
 
ooooo int32Array
never thought of that
 
oooh yeah the fancy way @copy
 
6:14 PM
@copy It's always bugged me that there's an Int32Array, but no Int32.
 
hrm. @copy I will have to remember. I knew this existed, but never can seem to remember it does when it counts.
 
@Incognito Same here
 
@copy okay, that solved my problem, thank you
 
@Loktar I do it the 'plain' boring way
 
@Crowz Note that you can't change the size
 
6:14 PM
iterate and set.
 
me too @rlemon
 
@copy isn't this the case with all arrays, technically?
 
@Xedret lol
 
With C arrays, yes. In JavaScript, we call them Arrays, but they're actually Lists
 
@rlemon you are awesome :P
 
6:17 PM
oh really? So are they essentially equatable to python lists?
sorry I really never use javascript
 
Yeah
 
The internet here is terrible, which enables me to do my job more effectively. If the only view of our product is on beautiful high-rez screens on overpowered computers with blazingly fast internets, we'll never understand how the average user sees our product.
 
Also, you can't procrastinate so efficiently
 
YOU UNDERESTIMATE MY POWER!
 
@copy That's what I thought he was talking about.
 
6:28 PM
Of course you did. I put it in your mind
 
@nderscore I recommend recursion
 
@Shmiddty I'm at 91 without recursion so far. Don't think I'm getting any lower without it
 
You can get lower with for loops
 
for(a=[b=i=0,'{0}'];i<12;print(a[i<6?i++:12+~i++]))a[i+2]='{'+(b=a[i+1]+(b?' '+b:''))+' 0}'
 
(y)
 
6:40 PM
(!y)
 
You only need to loop 6 times
output[index]=output[12-index]=string
print(output.join('\n'))
 
aha
 
or, you can append '\n' to the string when assigning to output, then do output.map(putstr)
 
you code golfers are a special breed I tell you
 
sane programming just isn't as much fun
 
6:44 PM
sure it is
play with canvas
loads of fun
 
I enjoy both
but I feel like codegolf helps you think outside the box
 
it develops critical thinking skills.
my solution to the nest tower is really elegant in my opinion
 
@rlemon It appeared on QI: youtube.com/watch?v=EnrGuwCpPSQ
 
it's not even very obfuscated.
 
6:48 PM
@Zirak o.O
 
anyone familiar with highcharts?
 
@Crowz vaguely
 
nice
WE ARE FAMOUS !
 
@SomeKittens this is a somewhat specific question... I have a click event, but on a pie chart, I'm not quite sure how to record which "slice" was clicked
 
@rlemon ?
 
6:51 PM
@rlemon this is pretty much the only thing I've done with canvas jsfiddle.net/t6q4e
 
@rlemon Who knew Canada was on the map?
 
@nderscore showoff
 
lol its so choppy. probably because of that timeout loop.
 
@nderscore thats some messed up looking code
you can optimize the image data loops
and i'm pretty sure getImageData is less expensive than create
but don't quote me on that
but all in all it looks cool
 
I've never been much of a graphics programmer :(
 
6:53 PM
don't use Math.floor(val) use ~~(val) - is faster
when canvas animations are concerned, no optimization is micro
 
yeah, this was like over a year ago. I should try to optimize it
~~(val) vs val|0 ?
 
just makein gnewData not a global increases 1fps for me
~~(val) is faster than |0
even though it is one extra op
in Chrome and FF at least
 
@nderscore Don't listen to him, it doesn't matter
2
 
it does !
1 more fps is 1 more fps
 
@SomeKittens i loled
 
6:56 PM
I use ~~ just so I dont have to type out Math.floor
 
|0 is shortest to write, ~~() is fastest performing
golfers use |0
 
just played with canvas a bit, how could I spin the hex around so they all touch the center jsfiddle.net/carbonrobot/qVThH/7 line 40
 
|0 is faster according to that perf.
@CharlieBrown what do you mean touch the center?
 
first hex in the center, then the rest circle the first
 

« first day (1068 days earlier)      last day (3883 days later) »