« first day (2047 days earlier)      last day (2884 days later) » 

8:00 PM
@ndugger not just their phones, m8
that whole place is fucked
 
If i got one it'd be something small and cheap, would only get used to go to/from work
 
> Hi, I am Hotdog, would you like to ride on bike?
 
dat yellow
 
I hate that it makes sense to buy a beater bike before getting a nice one.
But I also love it, because the ones I'd actually want are like $20k...
 
8:05 PM
Yeah, I'd get a harley right off the bat if it made sense to do so, and if I didn't have car payments...
 
@Victor didn't really watch the video tbh :P
 
...
 
@ndugger aren't they pretty mediocre, though?
 
it's 23 seconds or so, my screen recorded
 
I've never heard anything good about Harleys
 
8:07 PM
@ssube I like the look of them--I have no idea
 
will check a bit later :)
 
@ndugger what are you, old and fat?
 
yes
 
gonna get a Harley to go with your boat and 2-door C class? :|
do you occasionally mistake your spouse for a tangerine?
 
no, to go with my depression and self esteem issues
 
8:18 PM
hmm ...
so, I have been studying again
should I be using ES2016 classes?
 
if they make your code cleaner
 
In Mocha, what is going on with scope in the "it" function? I am finding that constructors from deeply nested packages are in scope there but at top level. In a "define" function they are not in scope.
 
are there any alternatives that I should be aware of?
 
@tereško to classes? No
 
@Josiah how do you get your motorcycle license without a motorcycle? I'm reading the MN book, and it says I need to provide my own. What did you do?
 
8:20 PM
the only reason not to use classes is if you're going with functional programming to the extent that classes make no sense
 
yeah, silly question
 
and that's somewhat unusual
classes are often still useful for documenting structure, even in FP
 
sorry, my brain still reads "FP" as "FrontPage"
 
bye-bye guys
 
i'm still stuck in my XY problem. What can I do to get out that shit
 
8:24 PM
cancel out Y
 
/me is trying to figure out the whole ES2016 thing
I'm really lost
 
@tereško on which part(s)?
 
the whole thing
 
which parts are you using?
or planning to use?
or interested in?
 
currently I am looking at exporting stuff
and what I am confused about is how should I organize my code around that
 
8:26 PM
@Josiah nevermind; I can buy the bike after I get the permit in order to practice on and use for the final license driving test.
derp
 
/me hasn't done serious frontend work in yeaaaars
 
@tereško what languages with modules/imports have you used before?
 
I have played around with erlang
 
um, any real languages?
 
8:29 PM
mkay, just read 2ality.com then :D
they cover most of ES6 and do it very well
 
will do
 
the module and destructuring ones are especially helpful (I link them in SO main answers all the time)
 
of course I also need to understand what the build process will actually oproduce
and how to set that damned thing up
 
@tereško these days, you mostly just end up with normal ES5
babeljs.io/repl will illustrate that
 
i know
I am also trying to flip through leanpub.com/understandinges6/read
 
8:32 PM
why the fuck does C++ doesn't have a simple rand function for doubles
 
anyone good with unix?
 
unix or linux?
 
linux
I'm just trying to get a text output of man pages
I want the following without writing to a file
 
@William man foo > bar.txt?
 
@KarelG can't you do something with bits?
 
8:37 PM
@William close stdin
 
@ssube exactly but I don't want to write to such file
that is what I am currently doing
 
@FilipDupanović can you elaborate that ?
 
@ssube something else then man test > test;cat test
 
dunno, man foo <&- and : | man foo aren't working
 
8:40 PM
@William man test | cat ?
 
@FilipDupanović thank you!
 
man history | grep too
 
@FilipDupanović Actually, i'm complaining that most languages that i've used so far returns a value in [ 0, 1[ when using the random generator
 
I want the whole output otherwise grep would work
 
now in c++ ...
std::uniform_real_distribution<double> dist(-50, 50);
std::mt19937 rng; // Mersenne Twister
rng.seed(std::random_device{}());

return (dist(rng) + 50) / 100.0;
 
8:41 PM
@KarelG any prng will produce something in [0, 1)
 
in c++ it returns with an integer
 
@ssube I think STD returns int
 
@William setenv PAGER cat
 
hi guys, how do you structure your node apps?
do you have the express files in :root and the client in /public
 
8:42 PM
@KarelG I guess you could stitch bits from integers to get double precision
 
@tereško does that get ride of more?
not portable probably
 
@FilipDupanović you can't just mash randomness together and keep it random
 
user1596138
@ndugger You should be able to take a written only test and get your learner's permit, then you can ride the bike and get comfortable with it for 6-12months depending on your state before you come in and take the skills test. Only restrictions are you can't take passengers, ride after dusk or without head + eye protection. (Indiana laws)
 
@tereško why setenv?
 
@FilipDupanović err
 
8:42 PM
@William yes it does
 
user1596138
@ndugger I see you have already figured it out.... Derp lol
 
PAGER=cat man foo
 
though, you can also just do: man -P cat history
 
@Josiah Same in MN. I read up on it. I think I'm gonna actually do this; get a bike. I've wanted one since I was a kid.
 
@KarelG should you not be able to represent an integer in double precision?
 
8:44 PM
it's not easy to magically convert an int in double that goes unpredictable
 
@tereško I'm testing this on cygwin and it appears setenv PAGER cat doesn't work
 
stay on windows
 
@tereško what do you mean?
 
I mean, you are not even able to follow instructions
2 mins ago, by tereško
though, you can also just do: man -P cat history
 
hey, you can pipe in windows
 
8:45 PM
hey @KarelG wait, can't you get a number between 0 and max safe integer?
maybe that's the trick
 
user1596138
@ndugger Don't skimp on gear and always always always expect the car to do the stupid thing. lol I've been down twice and neither was my fault at all
 
... I also suspect that we are dealing with another XY problem and he just wants to be able to search in the man-pages
 
You can that, but the division of the result with max_int is a long process
 
@William avoid cygwin if at all possible, it does weird shit. git/mingw bash is much more predictable and matches linux better.
 
meh, there must be some obvious way to get a fixed point decimal from the random integer
 
8:48 PM
@ssube do you have a comparison page by any chance?
that you prefer
cygwin seems to be more complete
 
or, you could, ya know, just use linux as your desktop
 
@FilipDupanović myInt / 1.0 makes it double :-)
or float (depends of the language)
 
@William it is, sort of, but it's also a pretty mediocre impl
 
I would use linux if it had notepad++ just kidding
 
@KarelG don't divide when multiplying will do
 
8:50 PM
you've a point
 
@William are you on Windows 10?
 
7
 
why
 
can someone give me a quick ex./use-case of when a When().Then().Then().Then().etc. is useful vs just a singular When().Then()?
 
8:51 PM
why didn't you upgrade :'((((?
 
no reason really. all my applications run fine
 
because they added bash to Windows 10
 
@William so what exactly are you using? Nodepad++ or dreamweaver (as your profile implies)
 
@William it does: atom.io
it's notepad++ but, like, actually working
and not the ugly 1998 piece of garbage that npp is
 
@tereško I like mathematica for code I do laughably use notepad++ with node
 
@FilipDupanović thanks that looks like itll have the answer
 
@agentprovocateur if the first then does something async (ajax), you have to use another then
 
ohh
that makes sense
 
@tereško I only use dreamweaver for the following dus.tn/microsoft.html
THERE IS NO ALTERNATIVE THAT I HAVE FOUND
 
@agent riiiiiight? pixel magic
 
8:55 PM
@ssube thanks
lol
 
@agentprovocateur I see we have a new incarnation of $(this).parent().parent().parent().parent().parent().attr('id')
 
@tereško nah, it's a good pattern in promises
Promise.resolve(makeAsyncRequest()).then(getImportantField).then(getAsyncDetail‌​s).then(doSomethingWithDetails)
 
@Josiah just watched a video of the MN motorcycle skill test. It's pretty simple.
A lot easier than a car driving test
 
Honestly I'm not the biggest fan of the new ubuntu interface if that counts for anything.
Although it is similar to W10
in some ways
 
huh, did they update Unity?
 
8:58 PM
emm ... there are like 10 different major desktop environment on Linux
 
which do you use
 
Plasma5 and Lumina
 
^ Gnome shell extensions?
 
@tereško my .parent() chain only goes two parents deep =P
 
@William XFCE
it's light and clean, unlike all of the others
 
 
@FilipDupanović it's for the linux subsystem
 
mathematica is only supported by debian so that not to mentoin it is faily glitchy
 
not sure if it's handy to install it. I prefer a VM with a Linux distro over that
 
yum group install Xfce ftw
 
@FilipDupanović Plasma5 is the "new KDE" and Lumina is a lightweight desktop (initiated bt PCBSD) lumina-desktop.org
 
9:01 PM
@KarelG yeah but it's going to make things easier for new devs (I hope)
 
i'm a windows fan.
 
most of the world uses windows so yeah C# development isn't great on linux i have heard
 
ah, there are compilers that compiles programs for the linux environment
5 years ago, there weren't any.
 
@William if you want to troll, please put some actual effort in it
 
sorry typo
 
user1596138
9:04 PM
@ndugger Yeah real easy, just weave thru some cones and stop inside the box basically right? haha
 
@William it's going to get better, MS wants to bring .NET and DirectX to Linux
 
@William yarly, knock off the trolling
you don't use dreamweaver for C# and the world doesn't develop primarily on windows
 
basically, your ignorance is showing
 
@tereško The guy comes in here and probably half of the crap that spews out of his mouth is trolling or bullshit.
 
so, does he smell?
 
9:08 PM
@tereško wow, nice!
 
@KarelG Almost as bad as a French Canadian from Quebec.
 
sigh so I am no expert what do you want?
 
@FilipDupanović in past two month MS has been really pushing linux development tools. basically since acquisition of Xamarin
 
!!afk firefox started to lag when i've opened a tab. So, brb closing 451 tabs
 
@William just don't intentionally confuse the conversation by lying to folks.
 
9:10 PM
@tereško and when would it be reasonable to expect that my whole Steam library runs on Linux :D?
 
@tereško it's so they can be relevant on servers
@FilipDupanović never. :D game devs don't give a shit about the 400 people who run linux desktops.
 
I'm very excited about .NET stuff running on Linux :)
 
@ssube I think they mentioned they want to bring both .NET and DirectX to Linux
 
@FilipDupanović the DX stuff doesn't matter, Linux drivers are too shit for it to work and big studios won't care
there's no gaming market on nix
 
9:13 PM
@tereško there's like 4 games on that list that aren't $3 indie titles nobody has actually played
 
I'm using Linux and playing games in a VM: reddit.com/r/pcmasterrace/comments/2z0evz/…
 
@FilipDupanović err, for the current/previous games they have to be rewritten and compiled
but there is not much to rewrite me thinks
 
@KarelG sounds just like downloading newer build tools clap
 
@KarelG heh. Any and all IO, to start with.
@FilipDupanović for games from the early 2000s where somebody manually built it?
it's just not going to happen
 
ok those games ...
but games compiled in C11 doesn't need much changes
 
9:15 PM
I am totally confused by all these compilers and platforms
 
@KarelG assuming they only ever use stdlib stuff. If they use the WinAPI, then you're screwed.
 
@copy whatever that thing is, how do I check if I can use that to run windows in vm at near native performance on this modest dell laptop?
 
Or Microsoft can provide an adapter so that the transistion can be done more easily
 
@KarelG you mean Wine?
the thing that doesn't work and never will
 
adapter as adapter pattern
 
9:16 PM
@KarelG and then rewrite the old games to use it?
 
@AwalGarg You can't, you need 2 GPUs
 
:(
 
@NathanMarotta that's a googleable question
 
Alright
 
@AwalGarg But performance should be good enough without that, except for games
 
9:18 PM
@NathanMarotta howtocenterincss.com
 
@AwalGarg I went the other way around because of the graphics drivers and got good results
 
@NathanMarotta or from my head: you need to wrap it in a div, then margin: 0 auto; display: block;
 
@ssube xcom2, counter strike, civ 5, tomb raider, shadow of mordor, cities: skyline, dying light, x3: albion prelude, dota 2, metro series
 
@copy no I mean I want it to be able to use complete RAM and CPU alongside linux. Possible?
 
@FilipDupanović running a linux VM on Windows is pretty standard
 
9:19 PM
@FilipDupanović what is the other way?
 
.. I left the indie stuff (like pilars of eternity and transistor) since you dont think those are important
 
@copy but... why would I run it in a VM when I want it to run at 144fps? :P
 
@AwalGarg Yeah (not all, but everything except for a little bit)
 
@copy :O you are da best guy right now
 
@AwalGarg you want a hypervisor for that
 
9:20 PM
@Codeman Those two aren't contradictions
 
finally I don't need to get away from linux every 2 months simply because I want to view my college exam's datesheet \o/
 
@ssube, FYI about 1/3 of AAA games are actually supported on linux
 
@tereško lolwut
 
you're telling me there's little enough overhead I could run Witcher 3 at 144Hz like I could on my Windows OS non-VM?
 
citation needed
@Codeman with GPU passthrough, there's effectively no overhead
 
9:21 PM
^--- for me too
 
@AwalGarg VBox let's you mount raw partitions, so you avoid talking to the host for disk I/O, so you get close to perfect Linux perfs inside of Windows
 
you pass control of the hardware to the VM near-directly
 
@FilipDupanović ughh no. get the fuck out
 
with a good enough hypervisor (vmware especially, hyper-v maybe, none of the others) it's damn fast
 
@ssube no citation. Personal experience.
 
9:21 PM
you've trolled us nicely
GG
 
@FilipDupanović vbox is a joke
 
running linux inside a vm in windows, even without downsides, has all the moral trauma attached to it. I'd still be using windows. fuck that shit
 
@ssube Not KVM?
 
I'd do what copy posted and whatever hypervisor thing is ssube said
 
@copy not sure about KVM. It's good, but does it support all the hardware IO redirect stuff?
 
9:22 PM
anyway, I am starting to loose consciousness
 
@ssube Yeah
 
we use KVM almost exclusively here at work, but don't have any GPUs hooked up or anything
I knew it was good at the usual cloud stuff, but that's pretty nifty
now does openstack support attaching GPUs to a VM?
 
And then I use rdp with RemoteFX to get the game on my Linux desktop
 
@ssube maybe, but I got used to it's management commands; all I really care is that I can boot my Linux host inside a VM on Windows and continue work and that commands don't take longer on Windows
 
man, I could make my entire house run on VDI with that :D
 
9:26 PM
@ssube can you config KVM so that it would use GPU's? Or is it not supported yet ?
 
@FilipDupanović vbox is super slow compared to vmware or any real hypervisor
although vbox's network handling (or utter lack thereof) is what ruined it for me
 
@ssube and Hyper-V on Windows?
 
it doesn't work with most VPNs, which makes it useless for work
 
VMWare was slow some years ago. But they has improved itlately
 
and they got cheaper too
 
9:27 PM
@FilipDupanović you don't run hyper-v on windows
hyper-v and esxi and kvm are the OS
well, less so with KVM, but the other two are real hypervisors
 
When i was doing CS, the server farm runs completely on VMWare technology.
 
vmware used to be the only option, but hyper-v and kvm seem pretty competitive now
 
all students could do the OS management course either in lab or remotely
 
Anyone here with experience updating multiple documents with a single update query in mongoose.js? if so, i have a question open here. stackoverflow.com/questions/37423279/…
 
we run kvm on our servers, because provisioning a new linux host is nice and easy
 
9:29 PM
don't have experience with KVM
 
openstack on top of that, with some hundreds (or probably thousands now) of VMs
 
worth to try out ?
 
@KarelG it's in the kernel
 
I just don't understand why you wouldn't just run a Window partition and boot to that when you wanna play games
 
pretty easy to work with
 
9:30 PM
@ssube no, I was thinking whether I can get some better I/O by running Linux on Hyper-V instead of VBox on Windows
 
wrapped them in a div and they all appear on top of each other
 
Ah, welp tough luck for me i guess.
 
@FilipDupanović any other than vbox will be faster
you can carry the electrons to the database by hand and it will be faster
 
@NathanMarotta err what was your attempt? Maybe you have misunderstood the CSS required
 
@ssube hmm... I should give Hyper-V a spin then
 
9:34 PM
@FilipDupanović Hyper-V and ESXI are both type 1 hypervisors, so you can't just throw them on your desktop.
A hypervisor or virtual machine monitor (VMM) is a piece of computer software, firmware or hardware that creates and runs virtual machines. A computer on which a hypervisor is running one or more virtual machines is defined as a host machine. Each virtual machine is called a guest machine. The hypervisor presents the guest operating systems with a virtual operating platform and manages the execution of the guest operating systems. Multiple instances of a variety of operating systems may share the virtualized hardware resources. == Classification == In their 1974 article "Formal Requirements for...
 
you need type 2
 
what's a type 1 and type 2 hypervisor?
ROFL, sorry, started from the tail
 
check the wiki that ssube has linked
 
I will be back later
 
// off gn
 
9:39 PM
hmm, well, I still don't understand why there should be a huge perf diff between type 1 and type 2 hypervisors
I thought a lot of the virtualization was happening at the hardware level
 
quick help.. erm.. I want this script to fadeout everything except the navbar. This doesn't seem to be working: <script>
$(function(){

  $(".main-menu .menu-item").on("click", function(){
    var $target = $("#" + $(this).attr("data-target"));
    $target.siblings().fadeOut(1000);
    $target.fadeIn(1000);
  });

});
</script>
oh wait, ti's gone.. well I added to .attr("data-target").not("navbar"));
 
by not working, what do you mean?
what is it doing instead, or not doing?
 
it still fades out the navbar
 
.not("navbar") of course wouldn't work
 
what would? :/
 
9:53 PM
something with a valid selector
like .navbar or #navbar, etc
 
for example?
okay, forgot the dot
tried it with the dot as well
but it still affected it
Wait, I'll make a quick fiddle
Make the window wider since the toggle menu doesn't work atm
widen it until all the links are there
and try clicking on each
I don't the navbar to disappear on click
@KevinB
 
put the target elements in a container so that .siblings only targets the sections.
that, or give the sections a class that you can filter on with .siblings
(you've already done half of the second suggestion)
 
can you do that on the fiddle? my brain literally stopped working
 
add '.panel' to .siblings(). .siblings('.panel'). this will restrict it to only finding siblings with that class.
 
Yeah but uhm, that seems to be working except one thing.
I've updated the jsfiddle
The svg isn't loading for some reason so I've replaced it with an image
On click, the image should be gone too..
@KevinB
 
10:10 PM
when should the image be gone? should it ever come back?
because you'll have to specifically code for it to show/hide as needed
 
It shouldn't come back I guess. So the landing page is a background image with a logo in the middle of it. The navbar is on top. Now on each navbar element click, everything a part of the logo should be gone and only the div content should be displayed. When you click on another menu item/link, the same process repeats itself.
@KevinB
 
morning
 

« first day (2047 days earlier)      last day (2884 days later) »