« first day (1782 days earlier)      last day (3161 days later) » 

6:01 PM
<a tabindex="0" title="Settings" class="ms-core-menu-root" href="#" onclick="SP.UI.Controls.Navigation.showSettingsLink('chromeControl','2px')">
                                                    <span class="ms-siteactions-imgspan">
                                                        <img id="chromeControl_topheader_settingsimg" src="https://ainy.sharepoint.com/sites/Dev1/_layouts/15/defaultcss.ashx?ctag=1441216769603&amp;resource=spcommon" alt="Settings" style="border:none;display:inline-block;" title="Settings" class="ms-core-menu-buttonIcon">
I want to change href = "#/" is there anyway I could it in CSS ?
this code is third party code and I can only override it in my js file
 
@Mathematics Not through CSS, nope.
 
hmm, ok i am going to try JS, thanks
can we delete our messages here then how ?
 
alt+f4
 
^ you might think that closes your browser but it doesn't. There is an easter egg.
 
@Nick wow it worked :)
 
6:07 PM
Wow, hostinger just closed my website's account for "abuse".
 
those racists
 
Twallies, any other decent free hosting?
> Thank you for the message. Your ticket will be replied within 50 hours. If you prefer to receive a faster response to your tickets, please upgrade your account to Premium or Business plan.
 
free hosting? What is this, high school? Hosting is super cheap
 
@Callum GitHub Pages
 
@Nick It's all super-expensive with no job and no money :p
 
6:09 PM
@Callum use my server, freehosting1
 
Don't use 000webhost
 
@KendallFrey Does it support PHP? I've sadly written most my stuff in it.
 
@KendallFrey here we go again
 
user406009
@Callum Are you a student? Have you tried github's student pack?
 
@Callum Depends what kind of PHP
 
user406009
6:10 PM
You can get a lot of digital ocean credits.
 
@Lalaland Yeah, twice. Both declined.
 
it supports templating, but not PHP
 
Heroku?
 
user406009
^ Good option
 
wix
 
6:11 PM
I'll go have a look, thanks.
@Nick Is that not a hardware store?
 
lol, no, but don't use it regardless
 
Is it WYSIYG, then?
 
I think so
 
@SomeKittens if the heroku app sleeps, will I need to go and manually wake it up again?
 
a really novice question. how ++ for two time ?
total_votes = 1;
total_votes += 2;
alert('total_votes '); // shows me 12
while I need to 3
 
6:14 PM
@Callum It just takes a few seconds to start up
@Sajad your initial value is a string
 
@SomeKittens Yeah, but will I need to go and turn it on again?
 
!!> var votes = 1; votes += 2; console.log(votes);
 
@SomeKittens "ReferenceError: assignment to undeclared variable votes"
 
user406009
@Callum No it's automatic.
 
@SomeKittens "undefined" Logged: 3
 
6:15 PM
@Lalaland Ah, cool.
 
user406009
You could even use a cron script to ping your server to keep it awake.
 
@Lalaland Not a good idea with the new free tier
 
user406009
@Callum One of us would certainly be willing to run that ping script for you.
 
you don't get 24hr/day of dyno anymore
 
@SomeKittens what you saw that tell me for mine is a string ?
 
6:16 PM
!!> '1' + 2;
 
@SomeKittens "12"
 
user406009
@SomeKittens You only need 6 hours of downtime.
 
user406009
@SomeKittens So you just ping it 12 hours a day to be extra sure.
 
user406009
Like from 8 AM to 8 PM.
 
@Lalaland Is it 6 hours total, or consecutive?
 
user406009
6:17 PM
6 hours total per day.
 
@SomeKittens no, I did not used quotes
 
@Sajad regardless of what you use, one of your values is a string if you're getting "12" instead of 3
Also, don't use alert for debugging your code
use the console; it exists for a reason
 
@Nick ah I see, so how can I change a string to a integer ?
 
If I am making some image editing, creating logos and doing small things, would GIMP suit my needs? Or would it possibly lack of useful features that I can find in photoshop for example? @rlemon
 
user406009
@Sajad parseInt
 
6:20 PM
Well, you need to find where your string is, first
 
parseInt(String)
 
user406009
@catgocat Logo creation would probably be easier in inkscape.
 
Are you getting it from an element's value, or an attribute?
 
@Lalaland alright, tnx
 
user406009
@catgocat And yes, GIMP would serve your simple photo editing needs.
 
6:21 PM
@Lalaland depends. GIMP does everything, but it isn't really a vector editor
er @catgocat
 
GIMP just isn't the easiest thing in the world to figure out.
 
Inkscape > GIMP for vector graphics, but for just PNG etc. I'd go GIMP
 
if you need a vector editor, I wouldn't recommend GIMP
all I use is GIMP
 
Illustrator will always be better than Inkscape; cry about it
 
unless I need to edit a pdf
then I use PS
 
6:22 PM
Have Adobe ported to Linux yet?
 
They won't
doesn't make business sense yet
 
yet
 
aye, I said yet
 
yet
 
now that they use hardware acceleration, it will also be kind of a pain
 
6:23 PM
How legitimate does this free webhost look?
 
@Callum it's a free web host
 
@ssube Good point, but I'm stuck here until I can get a job
 
@Callum index.php
 
index.php/free-hosting
 
user406009
@Callum In general, if it doesn't have a business plan, it's not a good idea.
 
6:24 PM
@Callum I may have used them before, back in the day.
 
user406009
@Callum Why not heroku?
 
bravehost
 
free web hosts are lousy, at best. Some $20/year plan or something like ramnode will serve you better.
 
user406009
Heroku is actually legitimate.
 
@Lalaland I'm just exploring all options, before I dive into it :p
 
6:25 PM
geocities
 
ramnode offers tiny machines for $15-32/year
 
What are you trying to do?
 
angelfire
 
wee little VPSes, but a real machine nonetheless
 
Hi guys, is there any new technique that supports real multithreading with javascript yet?
 
6:25 PM
@TrungDQ web workers
 
@SomeKittens Host some php files, to put it basically.
 
@Callum how many users/what kind of load?
 
@ssube is web worker uses maximum number of CPUs in our machine?
how about nodejs?
 
@TrungDQ each worker uses one core at a time
 
user406009
@ssube That's actually quite a good deal.
 
user406009
6:26 PM
Thanks for the RamNode link.
 
@Callum if you don't mind some config hassles, NearlyFreeSpeech
 
@Lalaland if you're gonna sign up, use this referral link
 
My budget is quite literally nothing, but it's quite light load. No clue on the users though. I'll have a look into heroku,
@SomeKittens I'm fine with config hassles, I've made a Minecraft modpack before.
 
@Callum google and amazon also have free tiers, but you can't limit usage, so they might bill you
 
NFS will be the cheapest of the non-free hosts
 
6:28 PM
if you can find $15 laying on the street, a tiny ramnode is nice
 
one to three pennies a day
 
if that's too much, all the big PHP hosts are pretty equivalent
 
Just don't run node on it
 
My original plan is to get the GitHub for education plan, and use DO, but that's failed thus far.
 
@SomeKittens that's always good advice
 
6:29 PM
@rlemon so what do you actually use GIMP for
what is it best for
 
@catgocat shrekking people
 
@catgocat Making graphics about missing Paint.NET :p
 
@ssube They charge for CPU time, so having an always-on event loop is sadface
 
@ssube thanks for the information.
@ssube do you have any idea for multithreading in nodejs?
 
6:31 PM
nice
 
ShadowDom spec changed slightly; had to rewrite my polyfill
 
few more gems
 
i want this,

$(".ms-core-menu-root").attr("href", "")
 
@TrungDQ there's a plugin to add workers, but it doesn't work correctly, so no
 
@rlemon what do you do to run PS on linux? wine?
 
6:32 PM
but it to not add anything to URL
 
run it on windows
 
but this keeps adding "#"
$(".ms-core-menu-root").attr("href", "")
 
I use PS like once every 2 years
 
Wine might work, but it'd run poorly.
 
what the eff... all my images in my hostr account are gone...
 
6:32 PM
@ssube glad to know. Thanks. Have a nice day.
 
@Nick someone must had hacked it
press alt + f4
 
Hey lemon
 
@TrungDQ instead of mutli-thread, cluster.
 
what is vector graphics
 
It's possible to style an index of/ page but how?...
 
6:34 PM
graphics defined by lines instead of pixels
 
@catgocat graphics defined by basic shapes rather than pixels
 
they still need to be put into pixel form (rasterized) to display onthe screen, but they can be resized without losing queality (if they are re-resterized)
fonts are a form of vector graphics
 
@Luggage you cannot define a circle by a line
 
sure you can
 
or, shapes, then.
 
6:35 PM
@Luggage unless they're displayed on a vector display
 
I didn't mean literally..
 
right, but there aren't many vector displays anymore
tubes are the only form I know of
 
a curved line that starts and ends on the same point. <- circle described by a line
drops mic
 
and for vector graphics, PS or inkscape?
 
6:36 PM
I prefer Victor displays
 
@rlemon thats a point.
 
i use inkscape.
 
Illustrator
 
@catgocat usually people like to use illustrator or sketch
@rlemon thats a point.
 
@rlemon Not really, are you saying that the curve is consistent the whole time? Otherwise you could end up with a squiggly thing
 
6:37 PM
yea, but inkscape is free and an SVG editor as opposed to some proprietary format
 
@Nick no, really. you can interpret it differently, but that doesn't make my statement false.
just makes you a pedantic asshole.
 
yeah
 
So how can you style an index of/ page? How would I link a style sheet
 
chat has been terrible for me, like unusuably bad @balpha it lags like hell, did you guys thought of torturing us ?
 
@rlemon meet @nick.
 
6:38 PM
@Abhishrek I don't think SO can control India's internet
 
india can't even control it
 
#TeamNick
 
India needs Google Fiber
 
India needs a a new country
 
@Nick maybe bad cdns ?
 
6:39 PM
haha.. so i ws playing games with a guy in India the other day. He got kicked off and came back a few minutes later and said "I have to text my ISP every night at 8:30 when the internet goes out to get it turned back on"
 
was*
 
@Nick nahh, just like 60% of them need to relocate. less population density would likely benefit them
 
they also need new leadership, and a new education system, and less jquery
 
their education system seems okay
 
Still trying to get India to invade Russia?
 
6:40 PM
Maybe we could treat India as a semi-illegal social experiment
 
@Luggage yup
nvm
 
"come on, russia has their back turned, they won't see it coming."
 
@rlemon besides the organized test cheating and fraudulent degrees
 
@AwalGarg is India's education system good?
 
@ssube but they are all doctors or engineers!
 
6:40 PM
wow we went way to a different topic
 
@Luggage that would be interesting. They have a lot of population, but opposite climates.
My money is on vodka.
 
welcome to the ball pit
 
I just asked one simple thing that led to way more
LOL
 
@benlevywebdesign don't style an auto-generated index page
 
why not
 
6:41 PM
we need to change topics rapidly in order to somehow justify not doing our work..
 
don't keep auto generated index pages
 
they're slow, you're supposed to turn them off anyway, and the stylesheet will be really funny looking
 
make my own?
 
yes
 
if you need to list some resources, make your own
 
6:42 PM
but why..
 
52 secs ago, by ssube
they're slow, you're supposed to turn them off anyway, and the stylesheet will be really funny looking
 
because ssube said so.
 
because letting the server index files is dangerous and slow
forget to turn it off for one vhost and you have a huge security hole
 
but how else will Google find them!?!?
 
6:44 PM
@SomeKittens you take a few million of your VC money and hire some SEO consultants
 
I know just who to hire!
 
few million? I'm now an SEO consultant.
 
Now we finally know what @ssube looks like
 
At least he knows the basics of click-bait titles..
 
6:45 PM
no
that is his entire argument
he doesn't understand how node works
 
@SomeKittens lemon has a picture of me somewhere to be gimped
 
but is telling us it is not a production ready or scalable solution
@ssube taped above my bed
 
I was in a newspaper for being the only person over 6' and not biologically female at a show
 
@rlemon That's every article ever about why X is bad.
 
@rlemon node definitely isn't mature. Production ready, maybe. Scalable, can be.
 
6:46 PM
Except articles about the things I hate. All those articles are nuanced and thoughtful.
 
Mature, oh hell no.
 
so?
lots of new technologies are production ready
 
makes it a pain to support and maintain
 
sure
 
@Luggage Exactly.
 
6:47 PM
but in this industry, if you keep using dated technologies, you will fail.
 
like, daemonizing node is weirdly hard compared to doing that for java
 
@rlemon This guy doesn't know anything about what he's saying; why did this video get so many views?
 
clickbait
 
@ssube pm2
 
and he's a known troll.
 
6:48 PM
> Humans naturally seek reasons why they are right, but to understand the universe, you must seek reasons why you are wrong.
 
@SomeKittens according to my gf, I'm wrong and everything is my fault.
 
@Nick "Gimme justifications for my hatred of new/popular things."
@ssube I use forever.js
 
like angular
 
<3 forever
 
except angular really does suck
 
6:49 PM
@Nick Of course, I read an article about it once!
 
same
Maybe we read the same article!
I also read that jquery is awesome
 
My favorite one was the article that said DI was a bad practice and shouldn't be used because it makes things too complicated.
 
@SomeKittens barely related but an interesting read: youarenotsosmart.com/2011/08/21/…
 
@SomeKittens and how do you daemonize that?
you should be able to bounce a host and have all the VMs come back up and start their services
 
pm2: installs itself as a deamon, manages node processes and clusters
 
6:50 PM
you have to jump through a hoop or two to get node to do that
 
init.d calls forever
done and done
 
@Luggage Haven't read that one yet (will do!). My response: lesswrong.com/lw/h5/archimedess_chronophone
 
@rlemon which is what we do, but forever doesn't come with init scripts (or systemd units)
hence, immature
playing well with the OS and being responsibly packaged would be great
 
npm install -g pm2
sudo pm2 startup # installs init.d scripts, or whatever you system needs
pm2 start my.js # starts new  process, will restart on crash, or system restart, etc.
 
@Luggage pm2 looks pretty legit
I might have to start using that for stuff
 
6:54 PM
they have a paid webapp for monitoring, too, but it's optional
but, out of the box tells you of long running requests, can view your log from the website, git pull, restart, etc.
 
we'll have to figure out how to make that work with apps installed from RPM
but I have a meeting with my boss and some devs in 30 to make them explain how node apps work
 
7:21 PM
hi
umm, i was trying to use rxjs with react, now I can , in my componentWillMountcreate a Rx.observer to fetch dasta from .lets say, api, and in componentDudMount subbscribe and change state onNext . but is that the way .. can it be more fluxish ?
 
AngularJS, is the only difference between $rootScope and $scope, is that $rootScope can $apply() to all $scope's, and $scope can only $apply() to that $scope and downward?
 
 
that sounded more like emitting
 
but I am referring to digest cycles, not emit/broadcast.
 
afaik doesn't matter where you call apply() it triggered $rootScope.digest ..
 
7:32 PM
 
but if someone stays in the angular ecosystem .. the apply call is rarely required, maybe when you are handfling file upload
 
Can somebody help me?
Why does this not work:
 
because there's nothing there
 
I get callback(fileNames);
^
TypeError: undefined is not a function
When I do a get request to /photos/
I am quite unfamiliar with JS..
 
if your callback is undefined, it means that you're not passing a function into the function that accepts the callback...
It should be obvious
function getPhotoList(callback) { ... }
var fileNames = getPhotoList(); -- no callback being passed in
 
7:38 PM
That is what I do on line 21:
ouh I am an idiot
lol
should better go to bed
thx :)
 
@argentum47 Even with isolated scopes?
 
I swear, my code is getting worse by the day. I thought we were supposed to improve ??
 
I tried using scope's apply but it would never clear up the UI, but rootscopes.apply would. Any thoughts as to why this is?
 
I improve a lot, but then I get bad when I try to apply my new knowledge to make javascript twist and bend to my will, and then I end up with a giant pile of shit and then I have to revert it all
 
My slogan is "Tomorrow's legacy today"
or "I'll fix it later"
 
7:44 PM
like real isoalte scopes or can you not have a 2 way data binding .. or maybe you might need scope.apply . really depends on use case
 
is mutateUserData too verbose of a function name?
 
I have to use in a weird edge case where a return call fires a ng-html-bind and the html doesn't always refresh until a new digest cycle, but calling a plain $scope.$apply() didnt work, only $rootScope.$apply() worked :P
 
What should I read to proper learn JavaScript?
 
@Nils jQuery source code /s
 
@Austin No, $apply() triggers on all scopes
and you shouldn't be calling it manually except in rare cases
and you should be using $evalAsync in those rare cases.
 
7:49 PM
@Nils realistically, depends on what you wanna learn and how
!!tell Nils resources
 
here is a good start
 
Python has so called doc strings in its repl, so if you don't know how to use a function you can easily look it up like this:
>>> print sys.argv.__doc__
list() -> new empty list
list(iterable) -> new list initialized from iterable's items
is there something like this for node?
 
just the docs
 
@CapricaSix thx
Yes but I prefer to have it in repl :)
 
7:51 PM
@SomeKittens why $evalAsync instead of $apply? (trying to understand)
 
@Nils then write it in
 
JS functions don't have signatures, so it's practically impossible to do that
 
there might even be a modile for it
 
@KendallFrey they have as much as python does
 
@rlemon I am too expensive for such a tedious task :D
 
7:53 PM
Then again, in software engineering, "impossible" just means "harder"
 
@Nils boo hoo
 
thx for the help I will have a look at the links
 
@Nils Then get your mom to do it
 
@Austin $apply triggers an entirely new digest cycle. $evalAsyc picks up on the current one if it's already running
 
7:53 PM
Nah automate it would be the way
 
@CapricaSix shut up
you already said that
 
This is a list of burn centers in the United States. A burn center or burn care facility is typically a hospital ward which specializes in the treatment of severe burn injuries. As of 2012 there are 123 self-designated burn care facilities in the United States, 54 of which have been designated burn centers by the American Burn Association and the American College of Surgeons. == Alabama == UAB Burn Center University of South Alabama Burn Center == Alaska == Providence Alaska Medical Center—Thermal/Wound Services == Arizona == Arizona Burn Center at Maricopa Medical Center == Arkansa...
 
So a family member got a large TV with an HDMI connection. They want an home media centre or something, basically just to connect it online to watch movies and shit over WiFi. I thought about buying a raspi and hacking something myself. Any other suggestions?
 
user1596138
@Zirak If you want DIY go for it. But Rokus are pretty nice
 
@Zirak Chromecast?
 
7:54 PM
@Zirak Synology NAS acts as a DLNA server
 
@Zirak nuc
 
has a mobile app, streaming in browser and to smart TVs, pretty cheap and reliable
 
I hated Kodi
don't use Kodi
 
Googling all of the above, will reply
 
7:56 PM
@Zirak I bet this neat thing called "goatse" would be a great solution.
 
Setting up a synology is super friendly (web UI). Streaming works great, so long as the video is in a standard format (although the newer ones can transcode).
 
@KendallFrey It's a bit of a stretch, but it could be made to work I suppose.
 
oh yeah, I forgot to mention shipping. I live in approximately Iceland.
 

« first day (1782 days earlier)      last day (3161 days later) »