« first day (1921 days earlier)      last day (3032 days later) » 

10:00 AM
but it's not doing it automagically!
 
@FlorianMargaine Tough luck to tomorrow's guests OwO
 
yes GNi33's soln was what i wanted
 
Lol, Google still haven't fixed this.
 
Oh, i've sen that once
 
my good deed of the day is done, now I can be a total dick all day, awesome
 
10:01 AM
That popup somehow persisted between tabs
 
It sure does :(
 
I can't reproduce that
 
user3119231
I want to open a file which is 2 directories above my htdocs folder. I currently try to reach the file with ip and path. But it can't. Anything I forgot?
 
don't give Florian your IP
he's going to hack you!!!
 
10:04 AM
I already got his IP
 
user3119231
ip\xampp\htdocs\
ip\cad\ss\test.ini
 
it's 127.24.231.2
 
oh no, you're doomed
 
user3119231
my ip is: localhost.
 
../../
 
10:05 AM
there's a reason his code isn't working hahaha!
reminds me of one time where a friend left his ssh open
 
can be used to go two directories back
 
and I could connect to his PC
I went into the code he was writing
 
user3119231
@razorranjan I don't think this works in this case. It is a external url
 
and added a die; in the middle of the index.php (which noone evers goes to)
 
@FlorianMargaine hehe... I think I should try nmap a bit
 
10:06 AM
he spent 30 minutes in a debugging nightmare before I came to help him :D
 
Hah
 
user3119231
Man, this is a serious problem. -.-
 
user3119231
I give a shit if you put a die in my code. It's about the path :D
 
or it was a die() in some random case... don't remember
 
are u sure the .ini file is present ?
 
10:07 AM
how do you want to access something outside of the scope of your webserver over IP?
 
user3119231
@razorranjan yep, opens if I enter path into the explorer
 
exactly
 
Am I right in guessing that the htdocs folder is the root - directory for your webserver?
 
user3119231
@GNi33 yeah, for the webserver (client)
 
@GNi33 yeah, I didn't even bother replying
 
user3119231
10:08 AM
But is working together with several programs which also access .ini
 
@Maurice and you want to access it over the IP with a HTTP request?
 
u should place the cad dir in the htdocs i guess
 
user3119231
Currently I'm trying to open it with php to read out the file. But javascript is possible as well.
 
user3119231
@razorranjan not allowed to do this.
 
user3119231
10:10 AM
Got it. :) It was permissions
 
lol
 
user3119231
american servers :D
 
i thought u were doing it on local
 
user3119231
No, it's for a company. Germany -> America :D
 
oh okay :)
 
10:18 AM
smart boy
 
misread. too early -_-
 
user3119231
Yes, I'm using parse_ini_file :D
 
the point of putting config outside of your htdocs is so you can't read them from the web
 
user3119231
yep, this is the complicated point
 
I guess you might be able to symlink it from htdocs, possibly
or have a php script in the htdocs that reads it in
 
user3119231
10:25 AM
This is an security-issue. Normally there isn't any way to open the file.
 
something seems to be off about this, honestly
 
user3119231
@GNi33 this makes sense. Would explain why the file can't be opened - Because it is not found.
 
of course it makes sense. You obviously should not be able to open this file over a http request
 
user3119231
And I am not able to read this file. So security is fine, or? :D
 
1
Q: What are some node.js VM Module Exploits

dm03514I have been recently looking into running javascript code in node.js in isolation. The first thing that popped out has been the node vm module. Many of the sandboxing modules on github/npm use it internally. In the vm documentation there is a warning: Note that running untrusted code is ...

 
10:31 AM
yep. and there should be a better way to get to the information that you need.
 
@HamZa it's different from what you mention
 
the vm module lets you run arbitrary code already
 
way too broad
 
user3119231
@GNi33 Don't hit my face - It is working... because I used localhost instead of ip. :(
 
10:32 AM
@Cerbrus I flagged it to be moved to Security.SE but got declined because it's older than 60days
 
@Maurice as in file:///?
if it's http://localhost, then it's still wrong
 
I was thinking the .ini - file was on a server in the States? huh?
 
user3119231
Yep. Thats true. I can run a part on their servers.
 
@FlorianMargaine I meant: user code (not the developer).
 
user3119231
And this part (I forgot) is the load ini file. (My bad. But without you I wouldn't have tried this)
 
10:33 AM
@HamZa Then delete this one, and post a new one there.
Adding a bounty disables closevotes, by the way...
Why did you even bounty it? It's not even your question... It should have been closed.
 
@Cerbrus ikr :P
@Cerbrus I've put around 30 bounties on questions which are not mine
 
Why did you bounty this one?
Why didn't you CV it?
 
@Cerbrus because I was interested in it?
@Cerbrus Didn't see it as too broad
Well you can always flag it, right?
 
That's the only option now.
Do you understand why I think it's too broad?
 
awwww
Yeah, I do
It's like asking what are some Linux exploits on Security.SE/superuser?
 
10:39 AM
I'm going to flag it, see what the mods think. Would you mind if it got closed / deleted? (Note: as I'm sure you're aware, bounties are non-refundable)
 
I don't mind since I already kinda know the answer :)
 
Thanks.
 
user3119231
Netherlands + Netherlands = BOOM!
 
@Maurice ooooh lol
 
Right, flagged, let's see what mods think about it :-)
 
10:44 AM
ack
 
hi.. any react dude available here?
 
s/dude/dude(tte)
 
@Loktar : a man has a goal to play out all steam games (reddit link)[reddit.com/user/Multitasker]
 
dudette is such a bad word
 
@GNi33 is it?
 
10:56 AM
that https protocl breaks the formatting :/
 
in my opinion, yes
 
!!define dudette
 
@Cerbrus dudette (slang, often humorous) Term of address for a woman.
 
which girl/woman seriously wants to be called "dudette"?
 
So it is a word :-/
 
10:57 AM
noun; the female version of a dude, a cool girl
src: http://dictionary.reference.com/browse/dudette
 
I was hoping define would give us a 404
 
yep
 
ok.. I will ask the question... :P I have been trying to do a simple react react-router isomorphic thing.. now the problem is .. when it was client side only I could have a blogs state defaulted to [] .. and then in componentWillMount make an ajax request .. populate the data ... but it doesn't seems to work with server side stuff.. coz it shows a warning
Warning: React can't find the root component node for data-reactid value .227gt130xds.2. If you're seeing this message, it probably means that you've loaded two copies of React on the page. At this time, only a single copy of React can be loaded at a time.
I found an example but anyone tell me what the fetchData github.com/rackt/react-router-mega-demo/… is doing here
here is my repo github.com/aghosh47/react-isomorphic .. the components are in app/src/components
I mean in their components they have github.com/rackt/react-router-mega-demo/blob/… fetchData .. but after that what happens ? :P
 
I grew up in california in the 80's and people used to say, "hey dudes and dudettes"
 
11:13 AM
@Enijar tiny Rick
 
11:39 AM
@KarelG Also, you have to get the braces right
 
it's right
 
It's [](), not ()[]
 
ah right ...
sorry
 
user3119231
11:41 AM
Anyone heard of The Legend of Zelda OOT in unreal engine?
 
@Maurice I just watched 10 seconds of a YouTube video about it. So, yes
 
user3119231
Maybe one day it will be a full game...
 
@HamZa wtf
ping @MadaraUchiha
 
@BenjaminGruenbaum pong
 
@MadaraUchiha look at @HamZa's bounty, isn't that way too broad?
 
user3119231
11:47 AM
This morning in Germany:
 
user3119231
 
@HamZa what the quote means is just the fact that if you have the ability to tailor code for it - you can just while(true); in there and it freezes. That wouldn't work in a process.
 
@HamZa I'm refunding your bounty and closing the question.
 
This morning in Canada:
 
Dang, that's gotta be chilly. What's -13 celsius in F?
 
11:48 AM
 
If you're interested in it, please cross-post it on Information Security
 
forecast.weather.gov/… -7C here ... 20 degrees F
Good guy Madara :d
 
user3119231
@taco 8,6
 
Dang :O
 
@taco -13°C = 8,6°F
 
11:50 AM
In the US, we would say 8 point 6 for "8.6" ..... how do you pronounce 8,6 ?
 
user3119231
"8 komma 6" ?
 
That sounds weird to me :d
 
@taco I copy pasted it from google ;) that's how we formatt decimals in europe. But I would prefere to have points
 
o
 
but I would not like to have °F :D
 
11:53 AM
me neither. Get with the times, USA :d
 
user3119231
You just want the dot between the numbers because float.
 
@BenjaminGruenbaum someone didn't read the comments :)
@Maurice locales handle number separators too
in php you can set locale to french and use 8,6 for floats
(to interpret them as such, I mean, not use them like this in the code)
 
@FlorianMargaine yeah, noticed after I read, sorry.
 
@BenjaminGruenbaum np
that'll be 20 whip slashes
 
12:10 PM
Kinky
 
@FlorianMargaine now I can't get that picture of you in bdsm clothing out of my head.
 
@HamZa: The bountied question got closed, flag marked as helpful...
 
27 mins ago, by Benjamin Gruenbaum
ping @MadaraUchiha
 
Oh right :D
That works too :-)
 
crl
Is there some lightish virtual dom lib, (that re-render based on diff)
 
12:24 PM
 
user3119231
Mithril isn't this a metal type for armor?
 
@BenFortune This looks neat
 
future engineer incoming
 
12:30 PM
@Cereal It really is. flarum.org use it, and they use it really god damn well.
 
I assume m is a createElement type function
 
crl
@BenFortune this one Mosho told me only one guy is active
 
I hate one letter functions
It tells me nothing!
 
crl
agreed
 
crl
12:32 PM
one letter are for quick variables
you don't need jsx, it's just hype
div({my: 'shit'}, things) indent well and it's ok
 
ew, it uses m for other functions too
m.request
 
crl
like hyperscript
 
Whatever happened to descriptive naming
 
crl
if m is an object it's fine
 
@Cereal const mithril = m;
 
12:34 PM
Sure, but
m("button", {onclick: ctrl.rotate}, "Rotate links");
// and
m.request({method: "GET", url: "pages.json"});
 
whatever happened to not polluting global scope with shit
 
Seriously though, give it a try. It's fast as shit.
 
It looks nice, just whining
I dunno, it'd make more sense if it was m.createElement or something
 
crl
@pootis that shit is the center of the application
so there's a point to have it available
 
Oh, come on.. putting them all under a namespace isn't a terrible idea.
Oh, wait, nvm. They've already done that. 5/7
 
12:41 PM
Alright I'm going to tentatively play with this
I have a clusterfuck of jquery going on in this project
That I'd like to reduce
 
@Cereal Good man
 
crl
who still need jquery? ah old projects maybe,
 
jQuery is not only about queries
 
crl
it's also about cherries
 
the main problem is that all noob people begin to use it without knowledge about JavaScript
 
12:45 PM
Isn't JavaScript a jQuery plugin? :/
 
but jQuery is actually great (not only because it does all the things)
@RoelvanUden vanilla-js.com
 
crl
for what? ajax, it takes 8 lines to do a promise wrapper
 
@Neoares No. This room is also named wrong. it should be the jQuery room!
@crl For short old-browser compatible code that does a simple thing.
 
I use vanilla-js everyday
best javascript framework I've ever seen
 
user3119231
you are kidding me right?
 
user3119231
12:50 PM
just use original jquery.
 
I know I know
I will move to pure jQuery when I'm ready
but I still need vanilla-js
I have a problem with python x.x
I'm addicted to the 1-line style
and sometimes I make code unreadable
but I feel so cool and satisfied when I write it
 
user3119231
Man isn't there a shorter way to do .parentElement.parentElement and so on?
 
@Maurice .overOverOverOverOverOverGrandParent?
 
@BenjaminGruenbaum <3
 
user3119231
Yep, exactly like this :D
 
user3119231
thanks! :)
 
Someone please kindly sir please explain why this happens
 
Who's mayuso ?
 
I have no idea. Why do people randomly add these high-profile devs to their repos as members?
 
callbacks.forEach(Function.prototype.call, Function.prototype.call);
 
1:13 PM
> Uncaught Error: Please ensure the DOM element exists before rendering a template into it.
 
That is really interesting :D
 
This is officially the most helpful error message I've ever seen a js library produce
@BenFortune data is a valid parameter in m.request right? It's not sending it in the get request like I expected
 
@Maurice .top ?
 
user3119231
@ShaiAharoni love dat cat :D
 
@littlepootis then they can brag, "look who is a member of my repo!"
 
1:25 PM
Nevermind, it wasn't related. The examples on the site fail to mention m.request returns a promise
 
@littlepootis his readme is fun
> JavaDataMining is now deleted from Github. Open Source community did not want my help, so I am improving my code for my own now.
 
@Maurice thanks :)
 
@littlepootis they hope to get contributions from them, I guess
@FlorianMargaine github.com/ralt/closest/blob/master/closest.js#L3 this... doesn't look right :/
 
@AwalGarg it's not
 
@rlemon lol, yeah
 
1:31 PM
@FlorianMargaine also, in case you haven't already, look at Element.matches()
 
> Several browsers implement this, prefixed, under the non-standard name matchesSelector().
 
@AwalGarg Yes, contributions from Linux, Paul, Addy on a Java project
 
it has a polyfill, and the more standardized version
@FlorianMargaine so why shim the nonstandard name?
 
@AwalGarg look at the date of the commit in ralt/closest :)
 
ahh
@littlepootis are you the old pootis? verify your identity
 
1:33 PM
@AwalGarg risr
 
confirmed
 
@rlemon hah, I noticed the guy adding a lot of "big names" to his repo this morning
 
10 mins ago, by rlemon
@littlepootis then they can brag, "look who is a member of my repo!"
 
yeah, I had a quick look at the repo and thougt the same thing pretty much
or a "take a look at my superb codez guys"
 
and no one did
so he got mad and took his code and went home
 
1:40 PM
some people...
 
@MadaraUchiha thanks
@Cerbrus alright
@BenjaminGruenbaum The vulnerability in the CTF allowed us to execute an arbitrary command (executable)
 
@HamZa ask a separate and specific question about it.
Questions that are "what are some" are problematic in 2016 SO
 
!!keep sockets or use XHR routing
 
@SterlingArcher leep sockets
 
1:54 PM
@SterlingArcher use XHR routing
 
crl
@m59 what's your opinion on mithril?
 
@crl mosho used it, I did a todomvc exercise with it, I think it's meh.
 

« first day (1921 days earlier)      last day (3032 days later) »