« first day (1812 days earlier)      last day (3152 days later) » 

5:00 PM
@Luggage which we just use airstrikes for
 
They figure at 10-20 feet is where a knife becomes lethal to a gunman
 
ugh man knives are scary, I would rather be shot honestly.
 
Although in a guerilla style environment, a bow can have several advantages over a sniper
 
@KendallFrey If you're Steven Seagal
 
> 3rd Battalion, Princess Patricia's Canadian Light Infantry
 
5:01 PM
a bow won't set off a metal detector at the airport.
 
God dammit Canada
 
@Luggage but the broadheads will
 
Not only is a bow quiet, in a jungle environment you can make your own ammo much easier
 
3d-print plastic arrows.
 
use carbon arrows, would have to find some non metal tip
 
5:01 PM
@SterlingArcher or guns in general
 
@Loktar according to a coworker, getting stabbed was much more painful.
 
@Luggage But that lump under your jacket will raise the red flags
 
And depending situation, a bow is much more manueverable
So sneaking and moving around is easier
 
Unstring it and make it look like a cane.
 
@SomeKittens yeah I've heard the slashing is also terrible because its harder to actually "repair" than a bullet wound
 
5:02 PM
Seriously tho.. Tomahawks people.
 
It would be interesting to pit an expert archer against an expert sniper, both highly trained in stealth
@rlemon dat native heritage lol
> Guys let's go scalping
 
Now scalping sounds painful
 
It is like a knife, but better
 
@Loktar did my knowledge of archery impress you? lol
 
haha yeah definitely
You are 100x more badass now imo
 
5:04 PM
I've never shot at a moving target, but I have been skeet shooting, so I know generally how a moving target should be aimed at
 
@SterlingArcher those... are moving targets?
 
But I did nail bullseyes at 25m consistantly with a longbow
 
or do you mean with a bow?
 
I've only shot moving targets with a shotgun, not with a bow
 
Skeet shooting is a crime against Stack Overflow
 
5:05 PM
awww skeet skeet mufuckaaaa
 
skeets also move in a predictable path
 
@Loktar honestly, all my "book knowledge" of archery came from the book series called "The Rangers Apprentice"
 
We don't need no stinkin book larnin
 
The author researched both archery tactics, and old sailing methods. So it's very detailed since the books are about basically ancient spies who use bows
The scenario reminds me of a "it's obviously ancient europe but not really"
It even has a spinoff book series about the more Viking side of life (also very good, new book out this month I can't wait)
 
aw, that reminds me. One of my roommates and I have decided to buy a forge and blacksmithing stuff.
We're gonna make metal shit, shirtless, outside, in the winter.
 
5:08 PM
haha nice @ssube
 
If I vanish for a while, it's because I'm getting too many women.
 
show pics of the stuff you make!
that always sounded so damn interesting, but seems like such a huge time commitment to get good at it.
 
@ssube I made chainmail - it's rewarding work
 
Turns out a small propane furnace is ~$300 with another $250 for simple tools, anvil. Scrap metal is $10-30/ton, so practice is cheap.
 
I wanna make a forge, but the gf won't let me :(
 
5:09 PM
@ssube if you make a quality throwing knife set, i will buy
100% serious
 
On etsy, you can sell little trinkets for $10-25, so we should be able to break even on materials and fuel.
 
@ssube when I'm not on mobile I'll link you to a few YouTube guys.
 
After a little practice, at least. So like $600 capital, then break even on materials, eventually make some back.
 
They do some funky shit
 
@ssube make some replica game weapons and I will give you all my money :p
 
5:10 PM
@SterlingArcher that'll be a long time. Knives are hard.
 
Dude. Hold on Lemmy find their names. YouTube English kid who makes knives.
Makes it look so easy
 
you're hard
 
crl
!!urban 4chan
 
I'm gonna get myself this fucker amazon.fr/gp/aw/d/B0076KQRXG/…
 
@crl 4chan you have just entered the very heart, soul, and life force of the [internet]. this is a place beyond sanity, wild and untamed. there is nothing new here. "new" content on 4chan is not found; it is created from old material. every interesting, offensive, shocking, or debate inspiring topic youve seen elsewhere has been posted here ad infinitum. we ar(snip)
 
crl
5:12 PM
 
His channel is filled with cool project s
 
I prefer project t
 
@rlemon The whole hammering glowing metal thing looks so fucking sweet
 
5:17 PM
I did blacksmithing in HS
 
I did frontsmithing in your mum
 
fuck
I was a chimney sweep in your mum
is that funny
 
not in this context
 
fuck
 
5:20 PM
kendall is mad that I one-upped him
 
o/
How is everyone doing?
 
giggity
 
I can't speak for everyone, but I'm doing your mom.
Oh, how. My bad.
 
5:21 PM
0
Q: Is there a cleaner way to include the necessary polyfills for every combination of browser support?

Nathan JonesMy project uses a Promise polyfill and the fetch polyfill, that I am only including if the browser does not yet support it // Browser doesn't have Promise if (!window.Promise) { require(['es6-promise'], function(promise) { promise.polyfill(); // Browser doesn't have Promise or fetch ...

 
hi Benji
 
Kendall, now you're just trying too hard
hard like you were with my mum? no
 
@NathanJones core-js?
 
5:22 PM
There used to be a site that polyfilled based on useragent string but doesn't work anymore
 
useragent strings are bad business
 
@KendallFrey hmm, my userscript didn't red mark that one. I guess it is not really required.
 
@BenjaminGruenbaum that would work...but it doesn't include the fetch polyfill, which is one of my dependencies
 
5:23 PM
sigh, I really need to add a GUI to register more links as evil
 
@NathanJones there is an issue about it, hmm. Honestly I'd just do it the ugly way :D
 
It could get really ugly. For n polyfills, I'll have 2^n require statements.
 
@NathanJones check a feature, add the polyfill to an array, then if the array is .length, require all those
 
@NathanJones why?
Wouldn't you have n require statements?
Are your requires all async?
 
Write a module to take a tree of deps and recursively automagically identify which ones are required. Then pass it a handcrafted tree of deps based on your app.
 
5:27 PM
@AwalGarg Or pass it a main to run after pulling in any necessary polyfills
features.ensure([features.Promise, features.Async, features.String]).then(main)
 
@BenjaminGruenbaum I'm not explicitly making them synchronous, so...yes?
 
@ssube yeah, basically what I mean is instead of handcrafting code for individual features, handcraft information of the required features and have something automatically load it for you.
<here lies a failed attempt at a quote>
 
yeah. You can generalize it pretty well: function to check the feature exists with a property pointing to the polyfill. Pass an array of those functions, call, add polyfill to list if it returns false.
 
^ that
It can also do error handling, like some environment might simply not be capable of running some feature even via a polyfill. So tell the user to gtfo
 
@NathanJones You can assign each of the loads into isNeeded? promiseForModule() : Promise.resolve() and then Promise.all them and .polyfill all the results.
 
5:31 PM
class Features {
  ensure(...features) {
    let requires = features.filter(it => it.call()).map(it => it.polyfill);
    return System.import(requires);
  }
}
Features.Promise = function () {
  return !!window.Promise;
}
Features.Promise.polyfill = 'bluebird';
// Use it:
Features.ensure(Features.Promise).then(main);
You might need to globalize the polyfills, where they don't do it themselves, but that ought to do it.
 
> Programming in C when you're used to other languages.
 
@SterlingArcher I was going to post an example of that, then realized my C/++ is too neat. :(
 
@ssube point me to neat C code which a noob like me can understand
 
404
 
@AwalGarg Back when I was doing video game graphics stuff, this was my big project: github.com/ssube/VoodooShader/tree/master/Framework/Core
 
5:43 PM
@SterlingArcher A JavaScripter? Making a pointer joke!?
 
Jokes on you I've never used C!
 
@Nick you have 1k rep for being a user for a year, 25% of your post are questions, I on the other hand been here on SO for 3 months, I have 2k rep with only 2% of my posts as questions. Say what you want bubba, My numbers speak for themselves.... Go back to school and learn something... — Adam Buchanan Smith 29 secs ago
lol hemad
 
@SterlingArcher use it and then try writing proper javascript.
 
@SterlingArcher But have you used D? :D
 
@Nick He's also been on a spree of doing that lately, it looks like.
@KendallFrey We were talking about that at work yesterday and I accidentally said "I wanted to like D, but..." :(
 
5:48 PM
 
...but butt?
 
@SterlingArcher ^^
 
He has a complete lack of understanding on when/how to access the DOM. I called him out on it, and so he told me that he's better than me because he has more points.
Fantastic.
 
@Nick I may not have the most rep, but I did stay at a Holiday Inn Express last night and you two need to keep this type of childish banter at the door.
 
@AdamBuchananSmith By that logic, I know 8x as much as you. Nick's right. — SomeKittens 14 secs ago
 
5:49 PM
I didn't have childish banter; I told him that he lacked a basic understanding that he shared with the OP
 
@Nick You did. Without any detail about why he's wrong, your comment is just as useless.
 
Do I have to hold his hand and walk him through why he's wrong? It wasn't his question. He can create a post asking about it if he feels curious about it.
 
what is a "bubba"?
 
@AwalGarg it's a common name for fat hillbillies
It implies you spend your food stamps on beer and beating your wife
 
5:52 PM
"hillbi..."? what?
 
He really likes calling people bubba
well, he likes calling me bubba
I'll take it as a term of endearment
He obviously has a thing for fat, bearded, internet guys
 
@AwalGarg Hillbillies are fat, dirty, poor people who live in the forest. They keep cars on blocks in their yard, drink cheap american beer, own guns, and beat their spouses.
 
Calm down bubba
 
k
 
@ssube ahh, interesting term
 
5:53 PM
@ssube pfft, I can beat up peoples wives for free. I don't have to spend my hard earned food stamps on that
 
http://www.commitstrip.com/en/2015/10/02/can-you-you-sit-in-therell-be-technical-questions/
CommitStrip - Blog relating the daily life of web agencies developers
Can you you sit in? There’ll be technical questions
CommitStrip
1443808114
 
@ssube So hillbillies are fat and something something, and bubba is a common name for fat hillbillies, so bubbas are fatter than hillbillies who are already fat?
 
I am fat, yeah
 
crl
!!wiki hillbilly
 
@AwalGarg No, it just means you're one of Them.
 
5:55 PM
Hillbilly is a term (often derogatory) for people who dwell in rural, mountainous areas in the United States, primarily in Appalachia, but also parts of the Ozarks. Due to its strongly stereotypical connotations, the term can be offensive to those Americans of Appalachian or Ozark heritage. "Hillbilly" first appeared in print in a 1900 New York Journal article, with the definition: "a Hill-Billie is a free and untrammeled white citizen of Alabama, who lives in the hills, has no means to speak of, dresses as he can, talks as he pleases, drinks whiskey when he gets it, and fires off his revolver...
 
"nice"
 
> a Hill-Billie is a free and untrammeled white citizen of Alabama, who lives in the hills, has no means to speak of, dresses as he can, talks as he pleases, drinks whiskey when he gets it, and fires off his revolver
 
!!wiki bubba
 
In American usage, bubba is a relationship nickname formed from brother and given to boys, especially eldest male siblings, to indicate their role in a family. For some boys and men, bubba is used so pervasively that it replaces the given name. The nickname may also be used outside the family by friends as a term of endearment. The linguist Ian Hancock has described similarities between the African language Krio and Gullah, the creole language of African-Americans in the isolated Sea Islands of South Carolina and points out that the Krio expression bohboh (boy) appears in Gullah as buhbuh, which...
 
> [...] other languages [...]. Bubba is common in Australia and New Zealand as a noun or pronoun to refer affectionately to a baby.
 
5:57 PM
So... I'm a fat, bearded, mountain-dwelling baby-man that doesn't know anything about programming
Sounds about right
 
@ssube okay, i ran with your example, modified it a bit, but I'm stuck with something:

class Features {
  ensure(...features) {
    let requires = features.filter(it => it.call()).map(it => it.polyfill);
    return require(requires);
  }
}

Features.Promise = function () {
  return !!window.Promise;
}
Features.Promise.polyfill = 'Promise';

Features.fetch = function() {
  return !!window.fetch;
}

Features.fetch.polyfill = 'fetch';

Features.ensure([Features.Promise, Features.fetch])
.then(() => { // what should my params be here?
 
php > var_dump(levenshtein("bubba", "boob"));
int(3)
 
!!wot
 
6:01 PM
@rlemon That didn't make much sense. Maybe you meant: bot, uwot, wow, wat, wut
 
I know what I meant
 
@AwalGarg lol
you pervert
 
??
 
Darnit you have a higher rep then me !
 
@ssube put another way, where in that example can i globalize the polyfill?
 
6:03 PM
@Abhishrek pervert for using PHP or for higher rep?
 
@Abhishrek That's pretty rich coming from you
 
@AwalGarg php boobs
 
@NathanJones @AwalGarg you need to define each feature as an object with a check method and a globalize method, then loop over the necessary polyfills, load them all, globalize each one. You won't pass anything to main.
 
@KendallFrey I am not a pervert anymore, I have been cleansed ;-)
 
PHP doesn't even have a boobs operator
 
6:04 PM
(.)(.)
 
@rlemon the spaceship operator in php7 is somewhat sort of remotely similar though
 
@CSáµ  (.).(.)
 
3 does look like boob enough to me
 
Ugh
This commit strip reminds me of something that happened
 
@rlemon umm..
 
6:05 PM
17
Q: Composing function composition: How does (.).(.) work?

Vlad the Impala(.) takes two functions that take one value and return a value: (.) :: (b -> c) -> (a -> b) -> a -> c Since (.) takes two arguments, I feel like (.).(.) should be invalid, but it's perfectly fine: (.).(.) :: (b -> c) -> (a -> a1 -> b) -> a -> a1 -> c What is going on here? I realize this qu...

 
A customer wanted http caching based on the application's permissions...
i.e. the permission would be in the http headers and the cdn would cache based on that
 
class Features {
  ensure(...features) {
    let requires = features.filter(it => it.check()).map(it => it.polyfill);
    return new Promise((res, rej) => {
      require(requires, (polyfills) => {
        features.forEach((it, idx) => {
          it.load(polyfills[idx]);
        });
        res();
      });
    });
    return require(requires);
  }
}


Features.Promise = {
  check: function () {
    return !!window.Promise;
  },
  load: function (bluebird) {
    window.Promise = bluebird;
  },
@NathanJones try something like that
 
@ssube i was about to ask why there were two returns in ensure, but you caught that. That looks awesome, I'm definitely using that. Thank you!
 
That does assume that none of your polyfills depend on each other. If they do, you should set those up in your require conf.
You can also replace the globalize part with the require conf, if you set up the keys correctly.
 
fetch might depend on Promise
 
6:17 PM
I'm prety sure it does
oh wait, you mean a polyfill?
probably
 
I was doing something similar a while back, but I bundled the polyfills server side. So client identifies what all it needs, sends request to server with the list of polyfills needed, and server sends back a specially crafted blob of polyfill bundle. I left it unfinished though.
 
I just installed every npm package that had 'polyfil' in the name just to be sure
npm install *polyfill* --save
 
Imagine there was package all-purpose-ultimate-polyfill-disabler-pro-free and you installed that as well!
 
And I transpile down to ES1
 
6:26 PM
must have been on PCP. Someone should drug test him.
 
@SomeKittens that's an ugly tshit
 
@CSáµ  you only perceive it as ugly because your face is ugly.
 
your face is ugly because you are ugly @SomeKittens
 
I AM KITTENS! KITTENS ARE ADORABLE.
 
throw new Water @SomeKittens !!!
 
6:28 PM
throw used Water @CSáµ .
 
you're used (in the airport) @Luggage
 
:(
 
@CSáµ  SomeKittens used California! It's super effective
 
6:29 PM
@Luggage has a too many things inside him
 
i don't get that :(
 
:P
 
@CSáµ  if "that" is water, no you didn't.
 
I wanna buy another domain but I already spend $$$ on a bunch I don't use...
 
me too. i hate luggage66.com
 
6:31 PM
shared.awalgarg.tk this is had for free and managed with digitalocean's free dns service and served from azure's free VMs. everything free
 
nothing it there, don't bother checking
i use it to host test sites sometimes
 
@SomeKittens kittens.io is available
ohh, no it's not.
it was slow to update
 
@Luggage but if I give them up, I'll never get them back!
 
i want a semi-professional domain name that isn't just my name.
can't think of shit.
semi-professional = probably not luggage.tld.
 
I love that @SterlingArcher ALWAYS looks at reddit like 1 hour after I have
 
it is like a 1 hour throwback
 
@Luggage I've got rkoutnik.com which I do use
 
and you all do 3 hours after I have
like the donut image
omg that was from like 8am
 
6:35 PM
@rlemon Time zones, man
 
It's a vicious cycle lol
 
@SomeKittens yea?
 
> submitted 7 hours ago by JiminyPiminy
^ donut image
 
@Loktar I'm browsing reddit from the shitter 2 hours before you wake up
 
Old as my grandma
 
6:36 PM
dmull.com is fucking parked by godaddy.
fuckers
 
Its not godaddy
its someone who bought it using godaddy
 
or does that mean someone bought it?
 
its just the default park page
yea
 
ahh. ok
I'll still hate godaddy anyway.
 
I wonder how much $$ godaddy makes off of those
all the unused parked domains people buy
 
6:37 PM
@Luggage someone has daddy issues
 
oh weird they don't even have ads on their parked pages anymore.. weird
 
But they still know users passwords :(
 
Did you guys see the reversed choking nun? xD
 
is that a sexual position?
 
@BenjaminGruenbaum I just realized that I had this on my bookmarks from you. Do you happen to know if this was recorded as video? (if so, link if available online?)
 
6:39 PM
You tell me lol
 
LOL
hahahahha
that smile on the mask omg
 
in reality I'm sure that guy was in a lot of pain, because my god that finger went so far down
INORITE
 
oh man glad I'm at home
almost crying
 
@SterlingArcher It's backwards; I really wanna see it the right way around.
 
im trying to hold myself together lol
 
6:40 PM
@Loktar you're not supposed to try it!
 
(btw I was cleaning them and read it just today, it is really nice!)
 
@rlemon lol
 
It's great both ways
 
LOL jesus
 
6:41 PM
like kendall's mum
 
yeah thats funny even normally
 
But so painful xD
 
@AwalGarg Yes, google it
 
ohh yea guys, new pond pic
I started digging more
 
I see construction has ramped up
 
6:41 PM
haha man, the way he pushes the hand away
I need to close this.
idk how but he is able to convey a painful expression through the mask
I am tearing up so badly
 
are .io TLDs out of style, yet?
 
They were never in style
 
@Luggage they are just $$
 
OH SNAP ITS FAIL DAY
 
6:45 PM
it's*
 
yeah jeeze, $32 a year for .io's
so ridiculous
 
but per year.. meh.
 
> Sale: .DESIGN Only $12.88
 
Hm. Given two arrays like ['jackdaw', 'jackdaw', 'crow'] and ['jackdaw', 'crow'], can you get jackdaw? _.difference gives me []
 
6:45 PM
LOL wtf? .design for $12.88 what a steal!
 
@copy hmm, found a link saying this is part 1 of 3, couldn't find part 2 and 3 :(
 
@Loktar allthesame.design and have it redirect to getbootstrap.com
 
hahaha
do it!
 
"Honey, why are you paying ~$100 a year for domain names?"
"It's all petty jokes, my dear. All petty jokes."
 
@corvid red the description of _.difference. it looks for items in only ONE array. you want _.intersection
 
6:47 PM
@Zirak true story
 
@AwalGarg google.fr/…
 
@Luggage The problem is that I'm trying to get the difference, but remove exactly the number of occurrences
 
sigh, I suck
 
@SterlingArcher i.imgur.com/5NXQKf4.gif
Another good reversed gif
 
6:49 PM
@Loktar ohhhhh who's the reposter now!
 
@copy Why are you under google.fr?
 
isn't anything not your original content a repost?
lol did you post that or something?
I found that in an ask reddit thread yesterday
 
21 hours ago, by rlemon
http://i.imgur.com/5NXQKf4.gifv best reverse gif ever
 
@Zirak I'm secretly French
 
oh so you were in the same askreddit thread haha
 
6:50 PM
and I posted it from the ask reddit thread yesterday :D
 
there was some awesome stuff in there
 
babeljs.io <- see, .io is in style.
 
crl
there should be a .js domain name
 
@crl there isn't one :( but I have awal.js.org though which I love
 
6:53 PM
.js TLD would be a terrible idea
 
@Loktar back in the day this was the one that had my crying for hours laughing youtube.com/watch?v=DTZ2UGHLwu8
 
LOL yeah that one is awesome
 
@SterlingArcher youtube.com/watch?v=R6kuhHKJhtU always had me in tears
the thud
 
lol omg ive never seen that one
 
are my standards higher, or did old CRT monitors actually make that video quality look good?
 
6:59 PM
Well, isn't this a great idea: forthepeeple.com
 

« first day (1812 days earlier)      last day (3152 days later) »