« first day (2080 days earlier)      last day (3058 days later) » 

17:00
@Dennis why Fedora over debain?
@Sherlock9 proc{|m,n,k|i=0;(1..9e99).each{|z|i=z;break if m**n%k==m**z%k};i} Should work, without testcases I can't really unit test
@Downgoat SELinux, mostly.
hm :/ ok
TIO v2 will be powered by Fedora.
For now what distro TIO use?
17:02
do you know about how memory intensive? Wordpress is memory hog
Ubuntu
(though I'm planning on switching from wordpress to ghost)
@Downgoat Wise choice
@Downgoat The distro? Memory usage varies greatly between desktop distributions, but on a server, it will mostly depend on what you're running on it.
already starred :D
(OK, I still need to write a doc, but :D)
so much gaot lang
@Downgoat LFS
17:04
@betseg lol no
        else
            fail "Y U DO DIS ;_; THE GAOT DONT UNDERSTAND #{token.inspect} ;_; I WILL NOT GIVE YOU CHEESE"
>_<
@Dennis Oh, you're right. If m and k aren't coprime, Carmichael is only nominally helpful
@Dennis Wait, it's my program
0/10 would not code in again
@TheveryevilROFLcopter Test cases: (2, 21, 40), (4, 5, 6)
17:05
@TheveryevilROFLcopter made PR
@TheveryevilROFLcopter Of course it is. When did you ever see me writing y u do dis?
@Dennis :O you said "y u do dis" ;D
'twas a quote
y u quote dat, y not say dat
s/dat/dis/
17:07
@Sherlock9 *no say
@EᴀsᴛᴇʀʟʏIʀᴋ :O are you an imgurite?
@DJMcMayhem yes, but I get most of the pictures from r/all
@Dennis @Downgoat fixed the message
17:10
@TheveryevilROFLcopter Oh goodie, you're back. >_<
Yes ( ͡° ͜ʖ ͡°)
@EᴀsᴛᴇʀʟʏIʀᴋ Oh, OK. Imgur and reddit are weirdly related
s/word/( ͡° ͜ʖ ͡°)/
17:12
@EᴀsᴛᴇʀʟʏIʀᴋ Why'd you ping him and not @CalvinsHobbies - excuse me, @HelkaHomba?
because we don't want Helka's previous incarnation to get any ideas :P
Because flawr posted the original image
@El'endiaStarman because he pinged me with the pre-r/photoshopbattles image
calvin was a pumpkin
17:14
@EᴀsᴛᴇʀʟʏIʀᴋ Oooh okay. :P
@Downgoat TempleOS
@Downgoat Keep calm. Use MS-DOS, it fix everything.
@Downgoat None of those three
@Fatalize which one then? i am not using ubuntu
i have heard it is slow
It is
;_, QEMU don't work on Window$
17:16
oh my god what happend to your right eye D:
i thought it was a typo but it is becoming consistent ;_;
I can't really typo ; and ,
(Keyboard distance of 3)
@Downgoat None of these
Assuming it's for a desktop
@TheveryevilROFLcopter On the server? The things that slow it down on the desktop aren't (shouldn't) be present on a server.
@quartata no, server
Oh, all right.
CentOS then.
17:18
@Dennis Ah, I never used the server version, but the desktop version is horribly slow
Also please for real do not give Python braces
7
its teeth are fine
^^ Please, for the sake of humanity
@quartata too late
star trek phone dock
@EᴀsᴛᴇʀʟʏIʀᴋ because it's delicious
@Downgoat Literally no point
@Downgoat Anyway it already exists ^^
@TheveryevilROFLcopter it doesn't work
@Downgoat Windows, lul
17:21
ಠ_ಠ
@Fatalize ಠ_ಠ
@quartata [citation-needed]
@Fatalize For a server? I hope you're joking
I didn't read for what it was
Even for a desktop Windows is truly a joke
17:21
@EᴀsᴛᴇʀʟʏIʀᴋ Are you actually asking for a citation on whether french fries drenched in gravy and cheese is delicious
It's fat. It's like a fact that it's delicious
i need proof before trying
@quartata oh, true
French fries drenched in anything is a sacrilege
It's a survival instinct
17:22
@EᴀsᴛᴇʀʟʏIʀᴋ Citation: Me. I've eaten it. It was delicious.
@quartata gee, thanks for making me hungry
Free of charge.
Question for JS people: what the heck is CommonJS and RequireJS
Is this more reasons to make JS development painful
Or is it something I need
They are basically the module system
just forget about it and use babel
17:24
Why would I need Babel for something I'm writing in es5
I just wanted to use protobuf
Because module system
r u writing nodejs?
Browser JS?
Yes
That's the only kind of JS I write
im sorry but nobody does that anymore
you gotta setup a nodejs project and use web pack
17:26
@quartata I would love to add poutine to my routine
@Downgoat Why? I already have the backend
wtf is webpack
I only find some once every few years over here. AND they substitute cheese curds with melted cheese
@Sherlock9 I just make it.
Step 1. Acquire leftover french fries
Step 2. mix together bad gravy
Step 3. Use cheese curds if you can find them, little mozzarella balls if you can't
@Downgoat That's clearly false since quartata and I do.
@Dennis Guess we're not the cool kids or something
17:27
This music is coding in a nutshell soundcloud.com/mackinn-2/after-journey
Anything more than jQuery is more than I need for the stuff I do.
@quartata Saved this chat so I can find this discussion later
@quartata If being cool requires using a zillion frameworks that depend on each other, I pass. For me, it's vanilla JS or nothing.
@quartata How does make gravy?
> A man goes into a bar with his dog. He goes up to the bar and asks for a drink.
> The bartender says "You can't bring that dog in here!" The guy, without missing a beat, says "This is my seeing-eye dog." "Oh man, " the bartender says, "I'm sorry, here, the first one's on me." The man takes his drink and goes to a table near the door.
> Another guy walks into the bar with a Chihuahua. The first guy sees him, stops him and says "You can't bring that dog in here unless you tell him it's a seeing-eye dog." The second man graciously thanks the first man and continues to the bar.
17:29
@Sherlock9 My grocery store has a packet of flavoring and good stuff that you mix together
@El'endiaStarman @Downgoat Did I mention I'm using both jQuery and Perl?
:PP
Guess I'll have to go hunting through some grocery stores
@Sherlock9 I've made it with chicken bullion before, try googling how to do it with that.
@Sherlock9 I'd be surprised if they didn't have something.
@EᴀsᴛᴇʀʟʏIʀᴋ That sounds like effort.
If I'm going to put effort into gravy I'd make actual gravy
This is "gravy" with quotation marks around it at best
But it tastes good so
@TheveryevilROFLcopter Why not ->m,n,k{i=0;(1..9e99).each{|z|i=z;break if m**n%k==m**z%k};i}?
@quartata -1 for jquery +1 for perl
@Sherlock9 I always forget about -> ._.
17:33
@quartata lol
Hey ruby experts, does ruby's regex have anything equivalent to vim's \zs, \ze?
@quartata oh my
@quartata Good point. I'll give it a shot when it's not late night over here.
@TheveryevilROFLcopter Well, I wasn't going to use it but $.ajax is pretty nice.
17:34
@DJMcMayhem What are \zs and \ze exactly?
I figured one library wouldn't hurt
@quartata I'm so sorry, there's a whole new world of painstaking JS development you'll need to introduce yourself to
QUESTION: are there any special reasons to use fputc() , fprintf() etc for printing stuff to STDOUT rather than easier and more "beautiful" functions like printf() and putchar()?
@Downgoat Or I could use regular coding habits and be almost done
Which I am
@Sherlock9 start/end of selection respectively. So foo\zsbar would turn foobar into bar
I mean, I can work around it with capturing groups, but it's nice.
17:35
@GLASSIC f* functions are used for doing to file
@Downgoat That's what STDIN and STDOUT are
@quartata That's why I use jQuery whenever I need an Ajax call. :P
fprintf(File object with path "/dev/tty/", "wgatever") would be pretty much same on some platforms
I usually have it already for easier selectors, but anyway...
@quartata in unix only, if i'm not wrong
17:37
@El'endiaStarman What's wrong with document.querySelector?
@GLASSIC STDOUT isn't a file descriptor in Windows?
@Dennis More typing.
What on earth?
Also, I didn't know about that. Must be newish.
@quartata Yes, it's a fd
17:37
@El'endiaStarman var $ = document.querySelectorAll.bind(document)
irb(main):004:0> f = File.open 1, "w"
=> #<File:fd 1>
irb(main):005:0> f.write "ROFLcopter\n"
ROFLcopter
=> 11
@Downgoat I also use jQuery for stuff like .mouseover, .keypress, etc...
$("foo").mouseover = function() {
}
is it scary that I pronounce & as and-amp?
@Downgoat What is Bower
17:41
@El'endiaStarman Has been around since 2008 and was implemented in all major browsers by 2009.
@Dennis Weird. I never heard of anything other than document.getElementsByTagName() and similar functions.
document.querySelectorAll is more like jQuery's. document.querySelector just gets the first match.
@quartata browser package manager
@Downgoat That's stupid
not exactly, they exist so you can bundle them with webpack without having to touch HTML during code generation
17:43
I just read the website for Webpack, why do you write things in Node if they're for the browser
@El'endiaStarman Didn't know abut it until recently. I'm using it for TIO v2.
@quartata because module system
@Downgoat Why do you need that when you could just use <script>
you generate a script which you can use in that
All I get from this conversation: JavaScript == === dafuq
17:44
it also is used to bundle images and CSS
Anonymous
@quartata Because browser JavaScript is a horrible broken mess and JS devs keep making modules to cover up the blemishes but in the process add more blemishes and unnecessary complications
you need it script loading is synchronous so you end up with incredibly slow page load times and all
Anonymous
@Dennis Sweet. I might use that from now on when I don't need keyboard/mouse interaction or Ajax calls.
How do you actually get started doing anything in JavaScript these days, though?
17:46
use tools.js
@Lynn You give up
@Downgoat Or maybe I could just do this:
    <script src="https://code.jquery.com/jquery-1.10.2.js"></script>
    <script src="https://raw.githubusercontent.com/dcodeIO/ByteBuffer.js/master/dist/bytebuffer.min.js"</script>
    <script src="https://raw.githubusercontent.com/dcodeIO/ProtoBuf.js/master/dist/protobuf.min.js"></script>
Hey look I'm done
AHHHH OH MY GOD WHAT ARE YOU DOING THIS IS NOT 2012 WAT IS THIS BLACK MAGIC. YOU GOTTA USE WEBPACK AND BOWER AND NODE AND BABEL AND JSX ITS 2016
What?
btw github is not cdn
Anonymous
@Lynn You write code and don't stress out about the micro-optimizations.
@Downgoat GH is like a CDN
Anonymous
@Downgoat That's the one bit I will actually side with you on. RawGIT if you have to have GH stuff
I guess there’s stuff like this, which, aaaaahhh.
17:48
@Mego Fine, I'll change it to use the cdn
@El'endiaStarman What are you doing with the mouse? I've replaced a lot of onmousewhatever scripts with CSS in TIO v2.
I tried React and liked it though, oops
I still don't know what React does
@Lynn 1. Use vanilla JS. 2. Ignore everyone who says otherwise.
11
2016 JavaScript seems like everyone tries to be Elm really hard but they don’t aaaaactually want to use Elm???
So they just do horrible things to JavaScript until it looks and feels like Elm :I
This is why you should use TypeScript
Why are people so afraid of programming languages, sigh.
@Dennis Well, let's see...VarLife is a pretty good example...
Though I actually used d3 for the mouse interaction there.
What are VarLife and d3?
17:57
varlife made with d3
Anonymous
@VTCAKAVSMoACE Hmm, whatcha say?
@Mego Hey, I only meant well.
Anonymous
It's all for the best
18:05
can someone do a ls -al ~/.ssh and tell me what permissons they see?
everything ssh borked for me
@Downgoat I have Windows
Anonymous
total 164
drwx------+ 1 Mego None    0 Jan 28  2015 .
drwxr-xr-x+ 1 Mego None    0 Oct  9 13:03 ..
-rw-r--r--  1 Mego None 2520 Jul 25 23:07 known_hosts
id_rsa.pub should be 664, everything else 600.
drwx------   6 vihan  staff   204B Oct  9 11:02 .
drwxr-xr-x+ 98 vihan  staff   3.3K Oct  9 11:06 ..
-rw-r--r--   1 vihan  staff   318B Oct  9 11:02 config
-rw-------   1 vihan  staff   1.7K Oct  9 11:02 id_rsa
-rw-r--r--   1 vihan  staff   408B Oct  9 11:02 id_rsa.pub
-rw-r--r--   1 vihan  staff   177B Oct  9 11:02 known_hosts
my stuff looks right
but for some reason its borked
18:07
@EᴀsᴛᴇʀʟʏIʀᴋ o_________O
Anonymous
Are you using a Mac?
debug1: Reading configuration data /Users/vihan/.ssh/config
debug1: /Users/vihan/.ssh/config line 16: Applying options for *
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 21: Applying options for *
debug1: /etc/ssh/ssh_config line 56: Applying options for *
debug1: auto-mux: Trying existing master
debug1: Control socket "/Users/vihan/.ssh/control:***:root" does not exist
debug1: Connecting to *** [***] port 22.
debug1: Connection established.
debug1: identity file /Users/vihan/.ssh/id_rsa type 1
@Downgoat Afaik config shouldn't be world readable. It would help if you told us what you mean by borked though.
@Mego yes
Anonymous
@Downgoat Mystery solved
18:07
@Dennis Could you add FEU on TIO?
basically i have mathcing keys and all but it still prompts me for password
@Dennis I believe it's a mispelling of "broken". Couldn't say for sure.
Use the command line flag --safe for safe mode
@Dennis the config is read properly and all though by ssh
@El'endiaStarman d3 looks awesome, will be using
18:09
@Downgoat Needs more debug. Enable level 3.
@TheveryevilROFLcopter I'll take a look.
@Maltysen I've used it for all my graphical needs in JS thus far (at least, when HTML+CSS doesn't suffice).
enables level 4 (falling and screaming) WRONG LEVEEEEEEEEEEEL
@Dennis how do I do that? -vvv?
Yep.
18:10
Oooooh, I didn't realize "The Very Evil ROFLcopter" == Tux. Now I feel silly.
^^^^ you get a cookie if you know the reference :P
Anonymous
@ConorO'Brien Everyone knows Emperor's New Groove
ebug1: Host '*** is known and matches the ECDSA host key.
debug1: Found key in /Users/vihan/.ssh/known_hosts:1
debug2: set_newkeys: mode 1
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug2: set_newkeys: mode 0
debug1: SSH2_MSG_NEWKEYS received
debug1: SSH2_MSG_SERVICE_REQUEST sent
debug2: service_accept: ssh-userauth
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug2: key: /Users/vihan/.ssh/id_rsa (0x7f8fec014ab0), explicit
debug1: Authentications that can continue: publickey,password
18:11
@Mego hoorah
Anonymous
Enable debug level 6 for a fun game
it is giving me this:
debug1: key_load_public: No such file or directory
Only one line?
no its quite a bit
Neat comic about programming languages and saving the princess toggl.com/programming-princess
18:15
OpenSSH_6.9p1, LibreSSL 2.1.8
debug1: Reading configuration data /Users/vihan/.ssh/config
debug1: /Users/vihan/.ssh/config line 16: Applying options for *
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 21: Applying options for *
debug1: /etc/ssh/ssh_config line 56: Applying options for *
debug1: auto-mux: Trying existing master
debug1: Control socket "/Users/vihan/.ssh/control:107.170.216.170:22:root" does not exist
debug2: ssh_connect: needpriv 0
debug1: Connecting to 107.170.216.170 [107.170.216.170] port 22.
thats the entire thing
@Downgoat you're doing what with python?!!
screw it im just creating new droplet and using apssword
;_; y dis stuff gotta be such pain in ass
@Dennis Actually, I have a better example: this game mechanics taxonomy. I would probably need twice the JS code to do the toggling of sub-lists without jQuery, and I use .on("click" function(){...}) too.
Incidentally, if any of you reading this have questions or feedback on the taxonomy, please tell me here.
Question: how does git push to github without a SSH key or prompting me for password?
does it store it somewhere else?
Uh, I've always had to enter a password when pushing to GitHub... o.O
18:26
>_>_>_>_>
pls halp i am freaking out, ssh is weird and bork
What do you get from git remote show origin? (Assuming you named your GitHub remote repo "origin".)
control:104.236.175.143:22:root
what is this .___. i see it in my ssh folder
Single line comments are nice because you can parse them out with just a single line gsub
@Downgoat I dunno. I guess that's why, but I really don't know.
Anonymous
@Downgoat If you set up git to store your password, you don't have to enter it
Anonymous
18:32
See if you have ~/.git-credentials
@Geobits: Ewe oughta appreciate this Family Circus comic. :P
@El'endiaStarman Toggling single elements can be done with CSS. Whether that's easier or not is probably subjective, but it has the advantage that it works without JS. Of course, if your site requires JS anyway, that's not important.
Proof of concept: jsfiddle.net/dhz3ctgp
Oh, clever, using checkboxes.
what is that fiddle supposed to do?
18:39
Click the [+] thingie.
@Mego ahhh ok
question: why use visudo over vim /etc/sudoers
@El'endiaStarman It works really nicely with radio buttons, in case you need to display exactly one of two or more things.
@Downgoat visudo won't break your system if you mess up the configuration file.
ah ok
is it good idea to do vihan ALL=(ALL:ALL) ALL
seems like it means i can bork something
And it does
Like pretty much everything with Linux
Anonymous
If you really want to bork things, add nopassword at the end
18:42
Please don't
so should i do or not?
Anonymous
Do whatever, it's your funeral machine
;_; I have to wait for December to have Python 3.6 ;_;
Why? It's available
Well, for a stable version
18:46
;_; still ssh key bork
;______________;
Question: Do CoffeeScript and friends support pattern matching?
Well, no for ^^
wat how can i restart sshd and still be connected
Because the deamon still handle the connection?
Wait no
BRB booting my Linux machine and testing
:O I fiexd!!!!!
yay
@El'endiaStarman He's been doing too many pun strips
18:53
elie@elie-N250P  ~  sudo service sshd restard                                                  ✓  279  20:52:51
[sudo] password for elie:
sshd: unrecognized service
WAT
try using ssh
> restard
BTW I typoed restart lol
what a restarded thing to do :P
Huh I can effectively restart ssh and the connection is still running
Probably some POSIX black magic (like everything in Linux)
$ git
-bash: git: command not found
WAT
18:57
sudo aptitude install git
@Downgoat git doesn't come by default in most cases
what is difference between aptitude and apt-get
sudo apt-get install aptitude
@muddyfish -1 for assuming aptitude is installed
@quartata huh, it came pre nistalled on my centos
18:58
@Downgoat aptitude is just a better wrapper around apt-get
But if you're using CentOS apt isn't even a thing
@quartata ^^
You want yum
I was using centos
im on debain now
Debian is bad
Use CentOS
aptitude came pre-installed
@quartata ..........

« first day (2080 days earlier)      last day (3058 days later) »