« first day (1609 days earlier)      last day (3351 days later) » 

4:00 PM
@BenjaminGruenbaum well it said "in development" and I was thinking "i fucking hope so"
But it's not true
 
lol, no
It's bs
 
imgur.com/gallery/9sCAaMX whyyyyy can't I have a lioooonnn
ok imgur im done for now
 
@Loktar I think there was a brief paper about just how in-depth Halo's bullet physics were when it came out. It was one of the first games with materials that bullets could pass through.
Plus the ricochet mechanics for metal and the jackal's shields.
 
apparently in COD riot shields can ricochet bullets and kill but i never saw it happen
 
crl
Can someone explain me the order of things here jsfiddle.net/crl/z5n1wwwd?
I was really expecting:
fooing
finished foo 1
baring
finished bar 2
And how could I modify the script to enforce this order? ie waiting for foo to finish before running bar
 
4:13 PM
That's an... interesting way to use promises
 
Generally speaking you want to chain promises one after another, not have multiple "branches".
 
crl
@NickDugger I'm a noob with them, I'm just employing them to chain things
@Retsam Ah ok
 
Add a "p = " to the beginning of the line in the if block and you'll get the behavior that you want.
 
crl
@Retsam How can I do with my boolean test here (which isn't always true in practice)?
 
See my previous message.
 
crl
4:15 PM
indeed thanks
 
np
 
user1596138
@SterlingArcher omfg imgur.com/gallery/GJl7YDV
 
user1596138
See comments... lol
 
omg lol i.imgur.com/ju4evby.mp4 (relevant comment)
 
crl
@Retsam jsfiddle.net/crl/z5n1wwwd/2 is probably a better way to do it
 
4:19 PM
@Jhawins Well that took the guy on the left by surprise
 
Please take this short survey so we can try to schedule our room meeting better.
3
 
"Why are manhole covers round?" psssh
they're part of the earth, and the earth is round, duh
 
@ssube so put that in the Other
 
did
 
user1596138
4:34 PM
I recall many massive manhole heists in the news in Indiana/Michigan area over the last decade
 
user1596138
If they were square they would be a lot harder to roll away..
 
user1596138
 
Seeing "Massive Manhole Heist," the only thing I can think of is a porn parody of Ocean's Elevent.
 
Does somebody know the Massive nodejs plugin ? It looks interesting
 
4:41 PM
> created a table on the fly for you
wut
 
@FlorianMargaine hoo buddy. welcome to hibernate, how can we ruin your database today?
 
The author
1) knows PG very well. I suspect that's not the case for Hibernate authors
2) pretends to hate ORMs
 
@dystroy creating tables is still sketch
if you need to create them, someone eventually asks for a feature to delete them
and when you have a startup script deleting tables, things get Weird
 
@ssube Maybe. But that query seems to be explicitely designed to do it, it doesn't guess it from some vague annotations
 
I think they are trying to imitate a nosql database that jsut creates 'collection' on the fly
 
4:48 PM
From what I know of the author, I doubt it
 
I never understood why pre-declaring which collections you want is a burden, though.
oh
db.saveDoc() sure looks like it's trying to act like a document db.
 
@Luggage most don't just create collections on the fly
because it's a bad idea
and also it won't have indexes
which is a bad idea
 
For this function, yes, but it doesn't look like he's trying to make the whole db access go through that function
The remaining question is : is it good quality and fast enough ? That what would matter most
 
Like all such libraries, it'll look perfect until you use it for a real project, then you discover the huge missing bits you forgot about :)
But looks interesting.
 
classic example of a leaky abstraction
 
4:53 PM
@Luggage Yes. Hopefully he started with full good SQL. That's the main point : be sure you're not missing any ability of the good old SQL.
 
you can't pretend that all databases can be generalized like that, which is why most orms suck balls
 
goood morning
 
@Neil He says he supports only PG. He dropped support for MySQL in order to better support PG.
 
@SomeKittens hah
 
4:54 PM
!!afk going to fetch the baby
 
@dystroy I was referring to hibernate
 
I think being locked into postgres is ok. That's the only way you really get to take advantage of it's unique features fully.
 
@Neil Hibernate is an horrible bag of shit in my opinion
,ow going
 
I'm all for abstraction layers, but sometimes you gotta choose a backend.
 
Is any bag of shit not horrible?
 
4:56 PM
Hibernate is old. It had a place back then.
 
hibernate definitely served a purpose
They practically defined the jpa
 
Yup. Until recently I was on a .net project that used nhibernate. I put nhibernate in back in 2004. I'd choose something else day if I was making a c# project form csratch, but it DID do the job.
 
It is quite ambitious what they tried to achieve
 
Y'all might find this interesting
0
Q: cgi.SERVER_NAME reverts origin

Sterling ArcherI have two versions of a site, one for spanish, one for english. The spanish subdomain is set via IIS and a C Name (network admin told me, I'm not sure how or what that means), it's not a seperate dubdomain. es.website.com en.website.com Now, when I use CGI.SERVER_NAME on my development server...

 
user1596138
i.imgur.com/aDKUvxY.gif // bikini (might be a dudes butt) if that's nsfw stay away // @SterlingArcher duuuuuuuuddeeee
 
5:03 PM
lol steve-o
classic
 
user1596138
lol oh is it steveo? I thought it had a sort of "jackass" atmosphere to it lmao
 
Yeah he hated that one so much lol at the end he was like "there's a reason I turned down that bit for so long.."
 
if (!empty(fetchResult()) and isObject(fetchResult()) and is_a(fetchResult(), "objectType")) {
  $result = fetchResult();
  doSomethingElse();
}
elseif (isObject(fetchResult()) {
  $result = fetchResult();
}
ahahaha
fetchResult is a db call
 
oh my
burn it with fire
 
Your answer doesn't help at all. If I could figure it out I wouldn't post questions here. — GLP 10 mins ago
lols
 
5:17 PM
user image
8
 
luls
 
is there like a fancy nmap, that will only list results that were not found in the previous nmap?
nvm, I'll just pipe it to a file and do a diff
 
5:33 PM
@rlemon is_a(fetchResult(), "objectType") This seems... incorrect.
 
I don't like that. This user answered with the exact same code than the one another user answered with 5 minutes before. And he gets in the upvote wagon...
3
A: Why can't I map integers to strings when streaming from an array?

codebotYou can create an Integer Stream using Arrays.stream(int[]) , you can call mapToObj like mapToObj(Integer::toString). String csn = Arrays.stream(numbers) // your numbers array .mapToObj(Integer::toString) .collect(Collectors.joining(", ")); Hope this helps..

I already know flags don't work for that kind of plagiarism...
 
from the docs, "objectType" should be the Class name you're checking for. I am dubious that they have a class called objectType
 
@rlemon It seems that my boss learned a new word, and is now blaming ajax for why some google banner ads aren't showing up.
 
"well you see... ajax isn't really a thing as much as it is a concept which is facilitated via XMLHttpRequest Objects...."
@NickDugger next teach him CORS
 
maybe the ajax is effecting the css-classes, causing the banner ads to red, photoshop, 72
 
5:41 PM
I would just blame my developer
and get a new one that knew ajax, and css
 
lol
 
and seo!
 
@NickDugger affecting*
 
ajax, seo, and css-classes!? What else would you ever need in a developer!?
@Shmiddty k
 
haha
bleh I need to think of an idea for this react hackathon that just started
 
5:42 PM
dumb question, is this the proper way to implement a callback in a function? Keeps giving me an error
 
@NickDugger premature-optimization strategies
 
I want to do something cool.. like a game
 
@Loktar todomvc
 
lol
Im thinking of an overhead shooter, might be too much to bite off though
 
'invite': function(userId, options, callback) {
  cb = callback || _.noop;
  // do stuff here
  cb();
}
 
5:43 PM
@Loktar Gamejam coming soon... after we release the new website, I'll have extra braincells to spend.
 
sweet! Will definitely be participating
 
I've been too busy/brain dead
 
function foo(cb) {
  // stuff
  cb && (cb());
}
or
function foo(cb) {
  cb = cb  ||  function() {};

 ..

  cb();
}
 
Can you add an argument in just by doing cb(myarg)?
 
yes
 
5:44 PM
What's wrong with the trivial if(cb)cb(); ? Too easy to read ?
 
@dystroy if's are slow
/s
 
user1596138
Today I am supposed to prepare for some jackass who claims knowledge of nothing but being a musician to come in Monday and "look at shit". So I'm not really doing anything because that's fuckin dumb.
 
@SomeGuy Can I take my own previous game, rewrite it, and enter it?
 
@NickDugger Can you fork your own repos?
 
5:53 PM
@SomeGuy Ah
 
You can, so I guess you could
 
Oh, cool
 
I don't think that'd be as fun, though
 
I just have some math in it that I wouldn't want to rewrite lol
this.x += Math.cos(this.angle - (Math.PI / 2)) * this.speed;
this.y += Math.sin(this.angle - (Math.PI / 2)) * this.speed;
kill me.
I'm so bad at math, figuring out cos/sin took me 3 hours out of the gamejam...
this.hitbox.x = this.x - (this.hitbox.width / 2) +
    (Math.cos(this.angle - (Math.PI / 2)) * (this.hitbox.width / 2 - 16));
this.hitbox.y = this.y - (this.hitbox.width / 2) +
    (Math.sin(this.angle - (Math.PI / 2)) * (this.hitbox.height / 2 - 16));
 
user1596138
@NickDugger lol you're not alone
 
5:57 PM
The other day I saw someone doing Math.sin * angle
so you're doing ok
 
user1596138
@KendallFrey spent like 2 straight hours trying to tell me one pretty simple thing not long ago lol
 
I still don't 100% understand what my math was doing... I just knew that at the end of it, it was working as I wanted, so I moved on
 
@Jhawins ?
 
user1596138
@KendallFrey Pythagoras
 
oh that, lol
 
5:59 PM
@NickDugger Hahaha
 
user1596138
lol yea it took me soooo long
 
Being in school still makes the Math a bit easier for me, thankfully
 
not doing real math for 10 years killed me
now I'm like "durr... ;how do I find slope?"
 
What's a Math?
 
Hahaha
 
6:00 PM
!!youtube what is drugs?
 
user1596138
Object
 
@rlemon I hope I never come to that
 
To be fair, what is drugs?
 
I think he was just being philosophical
 
Hahahaha
 
@NickDugger I wish something cool would happen in India for once
 
@SomeGuy What, like a jQuery conference?
 
user1596138
@SomeGuy At least they unblocked github lol
 
6:07 PM
@Jhawins Haha did they?
It was never blocked for me in reality
Even though they said they'd block it
 
@Jhawins Github was blocked in India ? Why ?
 
I know it's bad, but when I think of India, I just think of jQuery copy/pasters... sorry...
 
user1596138
@SomeGuy I thought they called all that bullshit off pretty quick. It was in the news. But yeah every Indian dev I heard from said it didn't actually even get blocked
 
@dystroy Because the govt is stupid
 
@dystroy India thought that github had ISIS connections
 
6:08 PM
@Jhawins None of the blocked websites were really blocked, when I think about it
Goes to show how effective they are :P
 
user1596138
@dystroy Google "india github" I guess ISIS was using github to spread propaganda... Read "One person posted 'GO ISIS' in a github repo" or something
 
That's the best kind of stupid govt : stupid and ineffective govt
 
They probably tried to block it with jquery
 
user1596138
They also blocked vimeo and dailymotion and tons of other sites it wasn't just github
 
@NickDugger Hahaha
 
6:10 PM
@NickDugger look for the SO question "how to block github. pls"
 
accurate.
Can you imagine if the Indian gvt blocked access to jQuery, including all cdn's? Chaos.
 
also @SomeGuy the video was the full version of this:
there was some bits in the middle missing
but you get the idea
 
@rlemon Oh my god
I've heard about this before! XD
 
I wanna get a full version of the movie
looks like fun
 
6:19 PM
The Indian people are an interesting people.
 
I don't understand bollywood
 
Hahaha our movies certainly are amusing
@rlemon A lot of us don't either
 
you had western media first right?
then decided to make your own??
I ask only because it looks like effects and styles of film we used to use, but VERY low budget effects. .. which ends up making it super corny :P
 
I don't know about that
Bollywood predates me
And I haven't bothered to look into its history
 
Bollywood is the sobriquet of the Hindi language film industry, based in Mumbai, India. The term is often incorrectly used to refer to the whole of Indian cinema; however, it is only a part of the large Indian film industry, which includes other production centres producing films in multiple languages. Bollywood is one of the largest film producers in India and one of the largest centres of film production in the world. It is more formally referred to as Hindi Film cinema. == §Etymology == The name "Bollywood" is a portmanteau derived from Bombay (the former name for Mumbai) and Hollywood, the...
looks like Hollywood, specifically musicals were an influence.
> Western musical television, particularly MTV, which has had an increasing influence since the 1990s, as can be seen in the pace, camera angles, dance sequences and music of 2000s Indian films. An early example of this approach was in Mani Ratnam's Bombay (1995).[38]
is also interesting.
 
6:25 PM
Not a single movie of ours ends without a few songs at least
Before I learned about foreign musical artists, I had no idea music came from artists. I thought it was always movies
(Because that's how it used to be in India)
 
lol
 
> [Bollywood] makes the industry look like a poor cousin to Hollywood
that's because it is
 
not at all
Bollywood is the largest producer of films world wide
 
Don't correct me
 
interesting.. plugged my beagle bone into my laptop via usb, the beagle bone was connected to the internet itself... now my laptop is being served internet from the beagle bone via the usb.
neat.
 
6:37 PM
bleh, I need a better way to construct objects. Want to make keys/values if certain things are true
 
Where can I read on how to set up routing in node, without a framework? All of my google searches bring up express results
 
why do you want to do it without a framework?
 
Damn you, that's what I already found... I didn't want to buy a book... lol
 
It's free, though
 
6:40 PM
He ends the free excerpt right before explaining routes
 
Oh, shit. It used to be free
 
react-router, flatiron, app.get, app.post, ect.
 
RTFC?
lol
very well
 
okay I am bad. How do you access db in meteor?
 
6:43 PM
ready the fucking car?
 
RELOAD THE FATGUY CANNON!
 
Or, I can go to archive.org, go to nodebeginner.org, and read--for free--what is now paid.
Yeah.
 
relay the fiber cables!
 
so I just ssh'd into a device I thought was mine and shutdown now
but my device didn't shut down
now I am just sitting here quietly pretending I didn't do it
 
Hahaha
We do that at our college labs whenever we can
It's entertaining
 
6:46 PM
we 'burn in' devices over 24 hours before we ship them
so there is at any given time a few dozen on the network
all of them just report as 'beagle bone'
and all of them are dhcp
so If I need to access a single one, I need to first find what one it is on the list :P
fun times, let me tell you
I've found the easiest way is to nmap 192.168.2.* > nmap1.txt unplug the device, run it agaain to nmap2.txt then run a diff on the files.
 
@rlemon did you ever find that bridge between your serial devices so the piped cat didn't drop?
 
kinda
very very convoluted
VERY
 
haxy fix?
 
part of the problem is that the QNX box is in terminal mode 'qnx'
which is stupid and I hate it
 
Whereas it should be in what mode?
 
6:49 PM
VT100
is what I would like
 
Also, last night I figured out with a mustache, you look like Mac from Super Troopers
 
haha
 
So it's no longer dropping the cat though?
 
ohh it still is, but i'm not using cat any longer :P
I fought with putty
 
Can you imagine a non-tech person seeing this conversation?
Did you drop the cat?
Nah, I fought it with putty.
 
6:51 PM
Yes, in this cut-throat world of startups, we putty the cat fairly often.
 
putty? a new ssh bridge?
 
Then marketing comes in, and suddenly we're using eco-friendly single-source triple-distilled silicon caulk on whatever feline, or equivalent four-legged furry butt, you can source in bulk from a fair-trade distributor.
 
@SterlingArcher tl;dr I now just create a second tunnel when I create the first. one is strictly for websockets and the other is now setup as a terminal..
 
oh cool
 
not perfect, some of the outputs need to be 'filtered' or fixed. but we're at least getting all of the data now
cat with screen was dropping a lot of data randomly.
 
6:55 PM
@rlemon dropping, or interpreting for its own purposes en-route?
 
socket drops or no idea
 
or did you stop caring before diagnosing in that kind of detail?
 
like, the sequence of characters would be "cp dxx.cfg /dev/ser3" and I would get "cp dxx.g /dev/ser" and when I closed the app It would dump out the missing chars "cf3"
@ssube ^
 
screen was saving them for later, in case it got hungry?
that's pretty weird
 
really strange stuff.
 
6:56 PM
I can see some sequences being caught and interpreted as commands to screen itself
 
I wish I could downvote that comment Teemu :( — Sterling Archer 9 secs ago
too rude?
 
events are kind of a good place to jQ, especially custom ones
I certainly don't enjoy writing event managers, rather just use on and trigger
 
if you don't have to support older ie, events are not bad at all.
little tedious maybe, but write once and forget. right?
 
how well do browser support totally custom events on totally arbitrary (potentially object) scopes without jQ?
 

« first day (1609 days earlier)      last day (3351 days later) »