« first day (2109 days earlier)      last day (2837 days later) » 

12:15 AM
How do I get the exact position of an element relative to browser location?
 
12:29 AM
anyone use ui-bootstrap?
why use ui-bootstrap over regular bootstrap when working with angular applications?
 
 
2 hours later…
2:58 AM
@rism If you mean "zip" by "compress", there are a number of js zilb libraries. If the uncompressed data is more than 1 or 2 MB, it should be done in a Worker.
@betarunex getBoundingClientRect
 
@rism Note that few browsers support it, and suck at that too.
Some block it for security reasons.
 
ugh Github's still down for me
 
if i have <div ng-if = "1 + 1 === 3"> does the div itself get rendered? will I see a difference in style on the page?
 
@littlepootis Can open github. Blocked by country?
 
3:13 AM
Nope. Every one else can access it.
 
Try another browser. Try another device. Try another network.
 
My IP wasn't blocked either. I tried requesting a new one.
It wasn't in my hosts file.
 
Yeah. Bet you know your linux well enough to check host and firewell. :)
 
It doesn't work on another device or on a virtual machine.
 
That's weird...
You sure it's not something in the router?
 
3:15 AM
My PC is my router.
 
Okeeey...
 
I can access my site hosted on Github Pages though.. erik.js.org
 
That's not same as glthub.com though.
 
yeah
*.github.io works. *.github.com doesn't. I'm contacting my ISP..
 
Try flushing your DNS cache
 
3:24 AM
I did. No use.
 
power cycle?
 
Find an exorcist?
 
Change your DNS to 8.8.8.8
 
I just did
nope. no use.
 
Can you open it from office, friend's home, or mcdonald?
Preferably with the same computer, e.g. with the same notebook/pad or VM.
 
3:30 AM
I work from home, no friends, I don't go out :/
 
Time to
 
Take a break. Say hello to the sun. Make some Vitamine D. :)
Well. Or to the moon.
 
You can get some cool night photos from near a river
 
When I attend pregnancy seminar, they always say you need more than calcium. You also need vitamin D to absorb calcium. A few minutes of sunray on your skin will do.
Well, that or buy their nutrition supplements.
 
Do they ship to Greenland?
 
3:36 AM
I doubt there are any Greeeland health stores that don't sell prenatal supplements.
 
Are there any Greenland health stores at all?
 
0_0 Okey.
 
Greenland has less population than Isle of Man had five years ago
 
Can't imagine how it's like. My closest experience to that is probably a long vacation in Scotland...
It's just hills, grasses, clouds, sky, and many sheeps.
 
Was it in winter?
 
3:42 AM
Summer XD
 
Baah. Greenland is 80% covered by ice sheets.
 
Didn't have smartphone then. So no Internet either :)
 
*an ice sheet
@Sheepy could have used carrier pigeons
 
Which means the population is "concentrated" in the remaining 20% land mass?
 
Sounds less bad than Russia when you put it that way
 
 
2 hours later…
6:04 AM
greetings, programs!
 
 
1 hour later…
7:04 AM
good morning, environment!
 
7:15 AM
oh-slash
 
7:29 AM
oh-seven right back at you
 
oh-seven? Is that a facepalm? I thought that was with an angle bracket
 
!!urban o7
 
@FilipDupanović o7 An [emoticon] meant to resemble the act of saluting another person. May also be used as 07.
 
I have an object that outputs as { _: [ 'abc' ] } and I am trying to get the 'abc' inside, but being a beginner I don't know what data structure it is (a kind of array?) and all searches for "underscore" lead to Underscore.js which seems to be something else... how is this data structure called, and is there a name for that underscore peculiarity?
 
how... does that work? I don't bend my arm like that when saluting someone
@NicolasRaoul _ is just a property name with an array as the property value.
Where did you come to this object?
 
7:35 AM
@JanDvorak: From require('minimist')(process.argv.slice(2))
a Node.js library to get command line arguments
 
ah, cute.
 
OK, got it as argv._ thanks for your help :-)
 
This actually looks like a rather useful library
except, well, not for a browser environment.
I love those rare moments when an error message actually tells me where I've made a mistake.
 
love that! not easy to get right in JS, though (minified errors)
d'oh... Webpack's development server still ships a broken SSL certificate :|
@JanDvorak military-grade salute :P
 
7:51 AM
Do... you bend your wrist backwards during a military-grade salute?
 
haven't thought about it really... now there's people around and I'd look silly if I started trying out
 
Oh, that salute. I was thinking of the one where you just lift your right arm at a 45 degree angle
 
they dropped mandatory military conscripture, I'll have to find a dinosaur and ask them
 
I just image googled "salute" and found out you're supposed to touch your forehead now.
 
yeah, I think that's the oh-slash you did, the oh-seven I use for ack or when we're in online battlegrounds
 
7:56 AM
How does that work IRL? Do you put your forearm on your head?
 
yeah, but I'm not sure which direction the palm is supposed to be facing
 
Does anyone still actually use Palm PCs?
 
so much for internet speak, we're discussing it :P
@JanDvorak people doing utility measures, police forces, ride conductors still using them; waiters are mostly switching to smartphones
 
I would assume anything lesser than the latest iPad would bring down the prestige of any decent 12-star restaurant‌​.
A pen and paper might suffice if the pen never dries out.
 
naaah, I think most peeps opening up restaurants are doing it because they have excess/dirty money to invest... either way, they don't care about costs/making a return
probably an iPhone or an iPad and some expensive software they can use to rig the books
I was in Hicksville with a population <3k and the restaurant at the village square looks like something popped out of a design catalog; most people are having coffee for lunch
 
8:13 AM
✨💵 ?
(or, the ASCII version, *$)
 
for their standards, yes, for the most part.. gentrification at it's finest
there are a few feudal lords with infinite $$$
anyways, wouldn't be ashamed to bring in someone from New York to a luncheon
 
!!nudge 15
 
@MadaraUchiha Nudge #1 registered.
 
Why is the default submit event on the <form> in Angular 2 intercepted as (ngSubmit), as opposed to just (submit), similarly to (click)? Why do we have the ng prefix on a native DOM element event?
 
my EWAG is that they get triggered at different times
 
8:28 AM
hmm, not an Angular user, but figure the event data must contain some Angular-specific payloads
 
jQuery can normalize its events without renaming them.
but not without intercepting replacing the attachment mechanism
 
<3 to whoever dropped smooch.io in chat recently
 
is that sfw
Ah, it is.
> Start messaging your customers today
 
SFW, aggregates all your customer comms to your favorite central
 
Somehow I think of \w+.io as agar.io derivatives
 
8:37 AM
me.io reserved for the first person to upload themselves
 
inbefore these guys grab it first
 
ROFL :P
 
@MadaraUchiha nudge
 
9:12 AM
^%$% I hate tables for form data
 
flexboxifyify it!!!
how did they ever think to make tables work across all devices?
 
There were no cellphones in the olden NS1 days.
Flexbox doesn't work in IE10
Poll: does an icon positioned between two rows logically belong to the first one, or to the second one?
 
good point. But I've seen guys who have IE7 emulation as a network-wide policy.
They've gave us an exception when we learned that after pushing out a finished product.
 
"Dear Foos. Your system is at risk. Please upgrade to a supported version of IE. <3, the Bar team."
 
9:25 AM
Luckily I don't have to do the corporate talk, boss does.
 
scratch his back and he'll scratch yours ;)
things get a lot better from IE11, IE Edge
 
Is there any good reason not to merge the tags [pixi] and [pixi.js]?
http://stackoverflow.com/tags/pixi/info
http://stackoverflow.com/tags/pixi.js/info
 
9:41 AM
nice catch @Forivin
 
Well, if anyone here has got the privileges, it would be nice if he/she would merge them. I think keeping [pixi.js] makes more sense as it is the official name of the lib.
 
9:58 AM
Would you mind? @FilipDupanović
 
10:21 AM
@Forivin open a meta.SO post.
 
Hi
 
Hello Everyone,
 
Apart from autocomplete off is there any method to disable password storage prompts? Because on some browsers, it's not working for our application. But when I check few banking sites on the same browser, it's not prompting.
 
hello o/
 
i am facing problem with typeahead in angular with ui bootstrap
when i reset form
it clears typeahead but then not loading values of it
 
10:29 AM
@Kanth set autocomplete="off" either on the form or the password input developer.mozilla.org/en-US/docs/Web/Security/…
 
hmm, sounds like you'll somehow have to do some cleanup to reset the typeahead control state after someone decides to reset the form
 
Apart from a nicer (more boring) commit history, are there any benefits to rebasing instead of merging?
 
angular.element("#attributeProductOption").val(""); i have does something like this
 
@FilipDupanović I have set, but still no luck. When I set random string like autocomplete="randomstring" as mentioned in that post, it still prompts. I have even tried two password fields by making one password field hidden, it works on other browsers but not for chrome :(
 
10:36 AM
i have tried many thing from issues generated in github but not getting proper solution
i have no idea how to do that some cleanup
 
you'll have to dig in @SagarNaliyapara; e.g. if you relied on some external service, you'd do things like cancel pending requests/ignore HTTP responses when someone decides to reset the form
@Kanth hmm it should work... are you maybe accidentally re-rendering the form, setting the password value explicitly?
for instance, some frameworks, after you submit a form with a password and some erroneous input, would re-render the form, setting the value for the password (bad); setting autocomplete="off" would do nothing in that case
 
WYSKRWYG = what you see kinda resembles what you get
 
@FilipDupanović I am just testing for simple html page that contains username and password to reproduce. No framework has been used for this sample
 
@FilipDupanović user not reseting form but when user add one entry at that time i am saving that entry and then resetting form so there is not http request is generated at that time
 
@JanDvorak depends on what you want to rebase/merge
some things are better for merge, other for rebase
e.g. when you update your local repo, merging is useless
when you want to put your branch's work in the main branch, merging is a must
 
10:56 AM
@Jean-philippeEmond quest-sea queue too manager maintenance?
 
"retarded IE error" LUL
 
@FlorianMargaine The situation is that we have a dev branch that lives in the central repository and moves a few times per day and a topical branch that only I touch but I also upload it once per day. I'm wondering if rebases could help reduce the number of merge commits and if it's even worth it.
 
@SagarNaliyapara was just illustrative... if you have some application state, you'll have to manage that as well
@JanDvorak you can't rebase after you push your topic branch (commits that have been sent to the upstream therein)
 
Could I rewrite a merge that has been done and move it along the dev branch, rebase-style?
 
11:04 AM
@JanDvorak which merges?
 
Q:
How can I update multiple records at once with Waterline?

http://sailsjs.org/documentation/reference/waterline-orm/models/update#?notes
 
My current strategy is to merge each change in the dev branch to the topic branch as they come.
 
you can avoid the "merge dev into topic" merge commits if you rebase topic onto dev; then, you can do a fast-forward merge of the topic into dev and avoid the spurious merge commits
 
can you elaborate?
 
1 message moved to Trash can
@PomeGranate Please don't post unformatted code - hit Ctrl+K before sending, use up-arrow to edit messages, and see the faq.
 
11:06 AM
var photos= [{id:1},{id:2},,{id:5}];
var value = {status:"accepted"};

Photo.update(photos,value).exec(function afterwards(err, updated){

console.log('Updated all photos status with those ID's to accepted");
});
Is that possible?
 
@JanDvorak rebasing makes sense there, yes
 
*my code doesn't work - maybe some one has a solution?
 
@JanDvorak another way to look at it: dev is the parent of topic. You want dev changes to be rebased in topic, but you want topic changes to be merged up to dev.
 
11:19 AM
Is that even possible? Or do I have to do a Loop?
 
@PomeGranate you have an undefined value in your array ,,
dunno if that's causing your issues... can you share the error message?
 
 
@FilipDupanović I tested it without the ,, ; I don't have an error, but it also doesn't update anything:
        var photos= [{id:1},{id:2},{id:5}];
        var valu = {status:"accepted"};

        Photo.update(photos,valu).exec(function afterwards(err, updated){

            if (err) {
                res.json(err)
                return;
            }

            res.json({err:err,
                        updated: updated})
        });
=>
{
  "err": null,
  "updated": []
}
In the docs http://sailsjs.org/documentation/reference/waterline-orm/models/update#?parameters

you can see for the find param: [{}] and for updated records: {} - I thought so it must be possible to update multiple records at once
 
meh! so what is Photo? you using some kind of ORM/ODM?
 
@FilipDupanović Photo is a Sails.js model - the ORM is called waterline

Photo.update(1,{status:"accepted"}) works well
 
11:34 AM
hmm... looks like what you did should work... maybe something simpler: const photos = [1, 2, 5]
 
hmm
but there is no [] in the docs
Find Criteria {},[{}], string, int
 
yup, you're right there
and does Photo.update({id: 1}, {status: 'accepted'}) work as you'd expect?
 
@FilipDupanović I tried with [1,2,5] it gives me:
{
  "err": null,
  "updated": [
    {
      "user_id": "22",
      "campaign_id": "21",
      "photo": "1469384217246viff.png",
      "status": "accepted",
      "id": 1,
      "createdAt": "2016-07-24T18:16:57.277Z",
      "updatedAt": "2016-07-25T10:55:52.101Z"
    },
    {
      "user_id": "22",
      "campaign_id": "12",
      "photo": "1469384614791Unbenannt.png",
      "status": "pending",
      "id": 2,
      "createdAt": "2016-07-24T18:23:34.801Z",
      "updatedAt": "2016-07-24T18:23:34.801Z"
and does Photo.update({id: 1}, {status: 'accepted'}) work as you'd expect?

works as expected yes.
* so with [1,2,5] it found my records, but it didn't update it
the status is still "pending"
@FilipDupanović THANK you very much!
It worked now with:
        var photos= [1,2,5];
        var valu = {status:"accepted"};

        Photo.update(photos,valu).exec(function afterwards(err, updated){

            if (err) {
                res.json(err)
                return;
            }

            res.json({err:err,
                        updated: updated})
        });
so the doc is very bad! isn't it?
 
bad doc, very bad doc!
 
naaaah, took us a bit to figure out you can't pass several objects with data for a single search predicate :P
 
11:41 AM
bad predicate!
 
I was out having a smoke when it hit me while you were at it
 
haha
 
collective brainfart
mmm, silly question: how can I help someone bump up 20 rep so they can participate in chat?
 
make them post a good answer
 
so that's all the privs they have for the moment, to post answers?
thanks for the pointer, I'll try to dig out the docs on privs
 
11:50 AM
They can also post questions and edit
They have some privs in docs, too
 
12:03 PM
@FlorianMargaine @Loktar Monday! \o/
 
:)
 
Anybody here play Juarez Gunslinger?
I am geeking out! I love this game
 
lol didn't know "Dick" is an actual surname
just saw a Benjamin Dick
 
Richard Dick
 
12:23 PM
Philip K. Dick
 
A dik-dik is a small antelope in the genus Madoqua that lives in the bushlands of eastern and southern Africa. Dik-diks stand about 30–40 cm (12–15.5 in) at the shoulder, are 50–70 cm (19.5–27.5 in) long, weigh 3–6 kg (6.6–13.2 lb) and can live for up to 10 years. Dik-diks are named for the alarm calls of the females. In addition to the females' alarm call, both the male and female make a shrill, whistling sound. These calls may alert other animals to predators. == Physical characteristics == Female dik-diks are somewhat larger than males. The males have horns, which are small (about 3 in or 7...
 
1:00 PM
> This article is a stub
teehee
 
Good morning
 
Whatever morning
 
I'm so hungover it hurts
 
hey
I have a small doubt , can anybody help me
 
@SterlingArcher Stop hanging over and sit down
 
1:01 PM
@SterlingArcher You have to be hungover to hurt? Lucky prick
 
@YoYo I have a tiny doubt? Can you help me with that?
 
What would be funny, you ask? 's/doubt/rare\ manfeet\ fetish/g' on #stackoverflow. That would be funny.
 
@littlepootis : yes .. if I can
 
@KendallFrey lol typically yeah. Gym hurt is a good hurt
 
@YoYo Did you read the rules?
 
1:03 PM
@KendallFrey `You can help Wikipedia by expanding it.
 
huehuehue
 
@littlepootis : whats your point
 
Wikipedia you dirty grandpa
 
> There is no need to ask to ask a question.
 
1:04 PM
On the bright side, I'm down to 202 lbs :D 2 more to go!
 
@YoYo the point is that there is no point
 
@YoYo Ball
 
damn you're catching up to me
 
Damn you're catching up to me
 
@SterlingArcher 179 ... that is where i started
 
1:04 PM
@Abhishrek ditto
 
91 to go.
 
@rlemon lol I am < 159
 
@Abhishrek do you even lift?
 
@Abhishrek you've lost 20lbs? :O
 
@rlemon I run about 12 km in a day twice
 
1:05 PM
-1
no gains
 
@rlemon I run in India!
 
@Abhishrek Why?
 
to stay fit -_-
 
@Abhishrek you have one month
 
Everybody runs in India
 
1:06 PM
start
 
Mostly from things
 
lol
@rlemon its photoshopped
 
its an african americans body with an indians face
 
Murali Kumar
some old indian bodybuilder
 
1:07 PM
@rlemon I got so drunk last night I ended up talking to the hooters waitress about lifting for like 20 minutes lol She was build dude. Like she lifts harder than I do
@Abhishrek that's racist af. What if it's a really tan white guy
 
@SterlingArcher did you take her home and show her your form?
 
@rlemon no :( This woman was like aphrodite incarnate. Like 5'10, blond, perfection
WAYYYY out of my league
 
while you got drunk, wife and I painted the bedroom
fun times all around!
:(
 
Like she's NFL, and I'm on the bench in Rikers Prison
 
@SterlingArcher dude, that was old fat you
new sexy you can get the dimes
remember that
 
1:09 PM
Still fat, need abs first
 
you make up for that with watches
 
I mean... yeah
God I really want that Epos Emotion watch. So pretty.
 
but really, shoot for the stars man
don't ever tell yourself "out of my league"
 
Can't help it. Any pretty woman is immediately too pretty for me
Just how I am, but I make up for it with situational humor
 
next time make up for it with pickup lines
barney stinson it
 
1:12 PM
lol I don't think hooters is the place for that
I wasn't showing enough skin
 
macho-man off the shirt.
60% of the time it works every time
 
No way man I'm not gonna Lou Ferrigno my shirts lol shirts are expensive!
 
buy the hulk hogan rubber ones
 
Plus I really love the shirt I wore last night. It's a t-shirt thin zip up hoodie. So comfy
express.com/clothing/men/… think this but t-shirt thin
 
I only buy my clothes from highest quality walmart
 
1:17 PM
Expensive clothes make me look good :(
 
I don't wear expensive clothes on the daily, because all I do is go to work, but I do own expensive clothes for other occasions
 
@rlemon :D
 
lemmy get a pic
 
My work clothes are semi-expensive. But it's accessories that I really go nuts on
Sunglasses, watches, sometimes shoes
 
I have so many raticates...
 
1:20 PM
that Electrobuzz is crazy op
 
I can't even log into the app; how's it not down for you too?
 
omfg you got an aerodactyl too?!
 
yea man
 
I hatched a Pikachu on friday but that's it. i was too drunk to catch pokemon over the weekend
 
I hatched the Squirtle
 
1:21 PM
I hatched a pidgey
 
I hatched your mom
 
brb gotta go fetch a computer
 
hm
I've caught so many duplicates
is it normal?
it's the only way to get experience I've found...
 
Fichtre, lui aussi
 
I catch as many as I can (dupes)
lucky egg + evolve 15 things === levels.
 
1:37 PM
Finally got around to properly trying vscode, I loves it
 
ew
 
Especially since they implemented proper tabs
It's just so quick
 
I designed a controller which is a...
 
If I need to write a config to tell my editor to syntax highlight ES6, which is the current version of the spec, then fucking please. the whole idea behind the jsconfig file was born out of stupidity.
VS Code can go suck a nut
 
I have this as a controller - jsfiddle.net/0fscmf3L/1526
how can I show this in another controller ?
 
1:43 PM
 
Terrible misquote
> I don't think it means what you think it means
pleb
 
Suck a tit
 
flgged
 
flgd
 
Bring it on
 
3pm, flagpost
you and me
lets do this
 
bring your stretchy pants
 
@rlemon I quit
 
flawless victory
 
1:50 PM
no, I thought it would be a bit more then flagposting
something like developing a car which would travel faster then speed of light ?
 
Q:

var arr1 = [1,2,1,3,,3,1,1] // all values
var arr2 = [1,2,3] // unique arr1

how could I get number of amounts of the values?

var amount = { 1: 4, 2:1, 3:2}
 
Bleck, Meteor has so much bloat. Had to use three different rendering libraries to make a log in screen with meteor. Not only that, their guide specifically says you should do that.
 
Sounds like a really great framework that everyone should use because it's so big
 
1
Q: Using array.reduce method to count duplicate elements

ZARI'm working through a tutorial on functional JS and I'm up to a challenge requiring the use of the reduce method: Given a random array of words, output an array that shows the word plus it's word count, for instance: ['apple, 'orange, 'grape', 'apple'] -> ['apple: 2','orange: 1', 'grape: 1] I k...

 
Yes, I am salty
 
1:53 PM
@PomeGranate
 
@rlemon <3
 
I just wish they would separate it into a few smaller modularized libraries :\ their mongo additions and publications/subscriptions are definitely not bad, but I have no need for their silly front end additions.
 
The entire point of meteor is to be one framework for the entire stack. If you don't want their front end stuff, don't use meteor.
I personally don't see the appeal
 
@rlemon I think we should start recommending people to read documentation now, guess you heard of D beta too ;)
 
morning guys
 
1:57 PM
@Mathematics go for it
 
want to ask. any benefits to writing this. JSON.parse(JSON.stringify(someArray))
 
Should add it to cap
 
@Ming That will essentially clone an object, but there are better ways to do it
 
1:59 PM
The onebox looks quite nice
 
so no
 
@ndugger cloning an object? whats the purpose?
 

« first day (2109 days earlier)      last day (2837 days later) »