« first day (2137 days earlier)      last day (2814 days later) » 

12:33 AM
hue hue hue. it still took the guy a few seconds :D
 
Wes
tyler isn't a smart man :P
 
even after the other guy pointed the place with the "wounded" hand :)
 
Wes
haha
i've downloaded rollercoaster tycoon. my life is over
 
over the top, yeah :)
 
@Wes Which one? The good one (the first one)?
 
Wes
12:36 AM
yep, the first one
 
I love this 8-bit music
oh well. what have we said again? :p
 
12:52 AM
@Wes Once upon a time the head of my carpentry crew, Greg, returned from a fishing trip with what can be best described as a large, jurassic throwback version of a salmon. Jerry, head of maintenance at one of the properties we worked on, had his own fishing trip coming up about a week later.
So Greg did what any good friend would do - he packed the cantaloupe-sized fish head in ice and waited. Friday rolled around - the fish head was nice and solid, and Jerry was looking forward to his 200 mile drive through Northern California's 100+°F summer heat.
He was heading out straight from work.
 
Greg drilled through the fishcicle, working fast as the outside was quickly thawing into gelatenous goo. He then drove a lag bolt into either side and went to Jerry's truck where he proceeded to tie the surprise up under the bumper with bailing wire.
Jerry made it 75 miles or so out when he stopped at a gas station for fuel and snacks, and to check on what that thump was he kept hearing.
He wasn't in the gas station more than 5 minutes, which was enough time for a swarm of wasps to discover the thump before he could.
Jerry was short on relaying the details at this point, preferring instead a string of vulgarities. But he did eventually cut the beast-head free and leave it on the ground in front of the pump, thick with yellow-jackets.
 
lol
Greg looks like a gentleman
 
To be fair, that wasn't quite as bad as when we hid a pair of panties in the glove box of one of our interior painters. That led to near divorce and some frantic late-night phone calls of him begging us to explain the prank to his wife.
 
wow. with friends like these....
lol. the poor guy
 
1:04 AM
those were outliers but shit like that happened every day.. dildo mounted in the grill of your car, that sorta thing. you were pretty much required to inspect your vehicle before leaving work
 
when I bought a new (to me) truck they poured oil under it to make it look like a serious leak.. when my boss bought a brand new white truck they drew pencil lines down the side to make it look like it had been keyed
he was pissed until one of the guys went up and smudged it with his thumb
 
Wes
lool
 
after which he was really pissed?
 
1:08 AM
Morgen
 
Wes
\o
 
@FélixGagnon-Grenier nah, he just called us fucking assholes and laughed.. he was responsible for more pranks than most of the others combined
 
:p
@Wes I actually fear being pranked in such a way
like... I think I would get very violent
 
;D
 
i'd probably just be confused and wonder how drunk I'd got the night before
 
1:20 AM
Ok I need some advice. My father is really nice, but he is starting to be a little bit overwhelmed with the news (and the non-news) being shared on facebook. To the point that he will share every article with an appealing title (such as "the truth about 9/11") often without even reading them. I'm starting to be concerned, as I'm not sure wether or not he realizes many of those are pranks. How to not hurt his pride while showing the true nature of some of these posts?
 
@FélixGagnon-Grenier you can try pointing him to places like snopes.com - offer information without being insulting, but the sad reality is there might not be anything you can really do if he's made up his mind on these things
at a certain point presenting people with evidence that contradicts their beliefs will actually cement those beliefs furthur
 
I don't know if I could ask this here but I'm having a hard time understanding Namespaces. Could anyone give me any insights? Thanks.
 
@JoeScotto could you be more specific?
 
1:35 AM
From my basic understanding you can use something like:
namespace Space;
to indicate that that class needs to be referenced by "Space\Class" so you don't run into conflicts. Where I get confused is when I start seeing stuff like:
use \space\one\main;
 
@PaulCrovella I guess dealing with the ways our parents will be for the rest of our lives is something we must learn to live with
 
^ dat
 
yeah, it's rarely easy
 
@JoeScotto that is only an alias. All this means is that until the end of this file, any use of the main type refers to \space\one\main
 
So basically "\space\one\" is a directory and main would be the actual class file?
 
1:38 AM
it doesn't have to be a directory, it a more or less arbitrary string that can map to a directory but doesn't have to
 
stackoverflow.com/q/39070318/4332216 <- some views? I would offer a bounty tho, after the 2 days period...
 
Wes
while sleeping my ex always used to do stuff like kicking me in the nuts, in my teeth and sorta things but once she was so fidgeting while sleeping she kicked a reading lamp we had near the bed on the ground. i was sleeping too but the sound of broken glass and everything made me jump yelling like crazy.
 
and main might be a class or might just be another chunk of namespace .. there's decent documentation at php.net/manual/en/language.namespaces.importing.php
 
Wes
then in the complete dark i walked on the broken glass and yelled more, with a rate of ten profanities for each actual word. i finally reached the light switch, turned on the light and realized that despite the sound of the glass smashed on the ground, me yelling in panic, my feet and the floor completely covered in blood with even more screaming in consequence, the biatch was still sleeping like a baby
i thought i owe her some real panic so i went back to bed leaving everything as is. the next morning when she finally woke up she passed out at the "crime scene" sight. she thought someone killed me while sleeping
 
hahahaha
you are a crazy bastard
 
Wes
1:43 AM
would totally do again
 
son, I am proud of you
 
gj @Wes
 
@Saitama just shooting from the hip, but couldn't you send that info along with the payload?
or maintain the route info for the connection?
 
Wes
i think i crapped myself more though. getting a scare while sleeping in the dark is terrible. i remember i couldn't even distinguish up and down
 
@Wes in those situation, the fix is to roll over until you know which direction it is :D
 
2:38 AM
Any way to loop ssh command?
 
@AbrarAhmed What are you trying to do?
 
I want to unlimited loop an ssh command
*a ssh command
 
(an was correct) I don't understand what you mean. What are these ssh commands doing?
 
LOL
I am stress testing my server
 
Are you just wanting to run something like ssh serveraddress over and over?
 
2:45 AM
yep
 
man watch
 
similar to that
 
man while
 
oooh
But how do I make it infinite or 5 million times?
 
If you wanted to print "something" to the console an infinite amount of times...
while (1); do; echo something; done
 
2:49 AM
-bash: syntax error near unexpected token `;'
 
Crap, I'm using zsh, hold on.
 
if you're stress testing your server and don't know how to use while, I do not believe you that you're stress testing your server
 
while true; do echo something; done
 
@MarkWeiman Thank you very very very much
 
 
1 hour later…
3:56 AM
@bwoebi Nope, should tomorrow sometime.
 
Ekn
4:22 AM
er, I was reading amp/lib/functions.php and just realized some docblocks still say "a awaitable", noting here
also morning
 
4:43 AM
mornin
 
5:00 AM
o/
 
morning
 
5:58 AM
happy monday all
 
6:08 AM
ugh. damn you. I had almost managed to forget about it ;)
 
:)
 
who would've thought that using an adversarial process to hodgepodge together a type system would result in so many problems
 
so I took a terrible decision, rolled my own templating system, and now I have unescaped content everywhere. Is there any other option than manually escaping every place where I output content? Some kind of php magical echo escaped content everywhere?
@PaulCrovella .... wat? My mind doesn't seem ready to handle thinking
 
@FélixGagnon-Grenier I just caught up with the on-going saga of internals and the, ehh, discussion surrounding ReflectionType::__toString()
 
Good morning!
 
6:20 AM
o/
that being said, I'm done for tonight yawns
cyall
 
Cya @FélixGagnon-Grenier Sleep well.
 
Ekn
\o
 
Hey
 
Man, the 327 messages moved link really messes with me, even though I stared it I clicked it again this morning while thinking "Why did I star this", before realising just why I stared it :(
 
6:29 AM
I have a problem with installing the php mssql extension. I used WAMP server and changed the php ini to include extension=php_pdo_sqlsrv_55_nts.dll, the file is in the default extension directory (wamp/bin/php/php5.5.12/ext) But its not showing the extension as installed in phpinfo(). I tried renaming the file to "php_pdo_sqlsrv" and including that, as well as including it with the complete path, but no dice either way.
I'm new to php, so maybe I'm missing something obvious
 
Not that hardcore with wamp / installing php extensions, but I assume you're not getting any errors?
 
@Magisch did you restart your webserver (Apache) after your edits?
 
error log is showing nothing on startup, and I'm running with E_ALL and E_STRICT
Yes
There is one log entry that I can't make anything of:
[22-Aug-2016 05:58:26 UTC] PHP Warning: PHP Startup: in Unknown on line 0
 
Anonymous
moins
 
Morning
 
6:42 AM
@Magisch Might have something to do with it, but alas I don't know enough to actually provide any other insight than what google can tell, might be worth asking again when a couple of the more regular has awoken :)
 
@Magisch is your php NTS?
 
@Gordon I read on the php.net manual page that NTS is to be used for low traffic websites
My webapp will have like 3 hits a day at most
 
Ekn
maybe .ini extension_dir = "ext" was commented out/linked to different file
 
@Magisch yes, but you have to make sure that your php is NTS if you want to use an extension compiled for NTS
29
A: How to get mssql work with PHP 5.3?

GordonQuoting http://php.net/manual/en/intro.mssql.php: The MSSQL extension is not available anymore on Windows with PHP 5.3 or later. SQLSRV, an alternative driver for MS SQL is available from Microsoft: » http://msdn.microsoft.com/en-us/sqlserver/ff657782.aspx. Once you downloaded that, foll...

 
@Gordon Oh?
 
6:46 AM
phpinfo should tell you whether its NTS. I assume it is, but please check to rule out its not.
 
extension_dir = "c:/wamp/bin/php/php5.5.12/ext/" is set
which is where the mssql file is
 
can you open a command prompt and type /path/to/php.exe -dextension=path/to/ext/extname.dll -m to see whether it will load it at all
obviously replace the pseudo paths with your correct paths
 
Apparently it is thread safe
does that cause the loading to silently fail? o_O
 
Hi all
0
Q: Show all rows with some special condition rows

Mr_GreenI have two tables: Items item_id is_private created_by stock_id 1 0 1 4 2 1 2 5 3 0 3 8 Stocks stock_id created_by 4 1 5 2 ...

^ Any help?
 
guys i have a question i posted i here pastebin.com/JTQNEyJA if it's easy to solve please let me know it's about horizontal scrolling an entire page, I wanted to ask on SO but wasn't sure so I copied it to pastebin maybe it's sillier than I thought
 
6:52 AM
@Magisch well, there is a warning in your log about Unknown. might be it :)
 
@Gordon "Unable to load dynamic library - this is not a valid windows 32 bit application
c:\wamp\bin\php\php5.5.12>php.exe -dextension=c:\wamp\bin\php\php5.5.12\ext\php_
pdo_sqlsrv.dll -m
is the command I used
 
@Magisch ok, now either download an nts php or the ts extension
 
moin
 
ohai
 
@Gordon Getting the same using the "php_pdo_sqlsrv_55_ts.dll"
 
6:57 AM
hmm, weird. you sure you put the right path?
 
c:\wamp\bin\php\php5.5.12>php.exe -dextension=C:\wamp\bin\php\php5.5.12\ext\php_
pdo_sqlsrv_55_ts -m

Warning: PHP Startup: Unable to load dynamic library 'C:\wamp\bin\php\php5.5.12\
ext\php_pdo_sqlsrv_55_ts.dll' - %1 ist keine zulõssige Win32-Anwendung.
in Unknown on line 0
C:\wamp\bin\php\php5.5.12\ext\php_pdo_sqlsrv_55_ts.dll is definitely a valid path
 
@Magisch where did you get that dll from? Can you try with this one: microsoft.com/en-us/download/details.aspx?id=20098
 
@Gordon Thats where I got the DLL from
as far as I remember it was a clickthrough link from one of the PHP man pages
 
yes, it is
no idea then, sorry.
 
Morgen v1.1
 
7:07 AM
@Gordon I think my wamp is generally just botched
going to the Phpmyadmin link within wamp gives me an error
 
morgings
 
well yes. any xamp sucks
did you know you can run mssql on linux nowadays?
 
not allowed to use linux
 
moin PeeHaa,Gordon
 
o/
 
7:09 AM
our sysadmin will not permit anything non-windows
 
Y????
 
I wonder, is there a site on SE where asking about this would be permissible?
 
like, not even in a vm?
 
Seems a little too abstract for SO
@PaulCrovella correct. No non-windows os of any kind on any of the stations or servers
 
Anonymous
Just to be anal or is there an actual reason for it?
 
7:11 AM
I suspect its half/half
 
@Magisch a) tell your sysadmin to get a job doing something they actually understand b) don't use wamp or xampp or any of those things, install and configure the components you want separately.
The problem with those bundles is that you don't have control over which version of the individual components you have, plus they screw around with them a bit and put the config in weird places
 
@Magisch serverfault.SE
 
Also you can get a linux VPS for like $5/mo
 
linux vms in azure are super cheap than the windoze ones
 
7:14 AM
@Magisch ask your sysadmin then to set it up for you
also, your company seems to have too much money or very good deals with MS if they do a full vendor lock-in like this
 
if your sysadmin is getting a sizable kickback I'll forgive the behavior
 
@Gordon Or they just have windows only sysadmins
 
@PeeHaa yes, but even then, someone else must realize the licensing costs.
 
I'm gonna place a fair amount of money on them not using Windows for production PHP web servers
 
@DaveRandom We are
windows server 2008
we're using only windows. Our sysadmin and the other programmers only know windows, so non-windows stuff is forbidden company wide
 
7:21 AM
@Magisch resign
:-P
 
@Magisch you are probably running IIS and not apache on those, or do you?
 
I'm an apprentice I have no choice.
 
srsly though, what the actual shit?
 
apache
 
well, ask your sysadmin to help you with it.
 
7:23 AM
I really do highly recommend not using wamp/xampp/whatever pre-made bundle though
 
also this ^
 
hold on... are your production servers running wamp?
 
Get an apache build from apachelounge, get a PHP build from windows.php.net, get a mysql build from Cthulhu, and you're set
6
 
^ lol
 
ideally, your sysadmin gives you a VM with a setup resembling your production server
@DaveRandom they are using mssql
 
Get an apache build from apachelounge, get a PHP build from http://windows.php.net, get a mysql build from Cthulhu, and you're set
 
:-P
 
@Gordon I never thought I'd say this, but thank fuck there is some sanity in the set up
 
ah, Linus. Before I forget: I also have no idea who this Linus Sebastian or whatever his name was is.
 
@Gordon sysadmin has no time.
 
7:26 AM
(not that mssql is so much better than mysql, but it does make more sense in an all-windows env)
 
I'm an apprentice I'm expected to do this on my own
 
@Magisch ridiculuous
 
What PHP/apache version are you supposed to be running @Magisch?
 
PHP 5.5.12 apache 2.4.9
Maybe its because my php is 64 bit
 
And I'm assuming (hoping) at least SQL server 2008 r2?
 
7:28 AM
for now I'm running this on my desktop
for dev purposes
which is win7 64bit business
 
@Magisch this is a bad start. 64-bit PHP on Windows before PHP 7 is "experimental", and also pointless because it still does not support 64-bit integers
 
It came with wamp
 
^ this is why you shouldn't use a bundle
 
not my choice
 
Ugh
Right, where did you get the sqlsrv DLL you are using?
 
7:31 AM
morning
 
from the microsoft homepage
I assume there isn't one that plays nice with php 5.5. 64 bit?
 
morning tereško
 
They probably don't ship a build for 5.5 64-bit because no-one uses it (because, as previously stated, it's "experimental" and pointless to use it)
 
So let's sum this up: you are working as an apprentice in a company that is in a tight vendor lock-in with MS and/or which has a sysadmin that dictates WAMP with MSSQL on all the things but refuses to help getting that up and running. Did I miss something?
 
getting that running is part of my assigned task as an apprentice
they only set the boundaries
 
7:34 AM
is there a semaphore abstraction in the zend engine?
(that is portable?)
(I'm writing an extension in C, so no userland stuff.)
 
@Magisch what an incredible waste of time.
 
Our syadmin doesn't set things up for us - the devs are expected to set stuff up and maintain it. The sysadmin just does the company tech support and the domain/backup configs
I never even actually coded in php either, thats something I'll have to learn as I do this project
Right. Time to grab a new version of WAMP server
 
@Magisch Hint: part of what a good apprentice (or anyone) will do is question things that don't seem to make sense. What they have asked you to do doesn't make sense (honestly, I promise). It's possible that the purpose of this is to see what you will do here - and you have two options. 1) modify the parameters yourself and deliver an equivalent result 2) question the parameters, stating that what they have asked for is technically nonsensical and impossible without building your own DLL
Now it's also possible that your sysadmin is a genuine idiot, but I'm feeling generous this morning so let's put that on the back burner for now
 
Also, this is highly inefficient. It is much more cost effective and less error prone to provide a Virtual Machine with a proper setup that all the devs can use for development. Ideally one that is under config management via ansible/salt/puppet/chef and checked in under version control
 
I'll just grab a wamp with 32 bit and if they ask me why I'll tell them that the mssql dll doesn't come with that. I don't have time for this, I'm supposed to ship the webapp next monday and I have no clue how to code it yet so I really can't afford to spend much more time messing with the dll
 
7:39 AM
moin
 
@Magisch best of luck to ya, you have our condolences
 
@Magisch what webapp is that? just asking out of curiosity.
 
@Magisch either this is a test, or you should get out now
I wouldn't ask an experienced dev to do something like that in their first week
@Gordon facebook
 
@DaveRandom because an experienced dev would tell you to GTFO ;)
@Magisch is there any particular reason why all the servers are MS? Especially the php servers?
 
someone's first week I expect them to get their workstation set up and learn where the bathroom is
if they're experienced, bookmark the internal wiki and ticket tracker
 
7:47 AM
@Gordon An internal app for some project management thats supposed to integrate with our document management system
 
MOrninginginsinidnmday
I see @Gordon is back from his unapproved holiday.
 
@Magisch and you never did any php before? good luck with that then because I think they set you up for failure
 
Anonymous
No Joe yet though
 
I've been here for a year, but so far I've only been working with c/assembly and vba
I have no clue about php, no clue about JS, and almost no clue about html
 
wow, talk about an eclectic mix :-P
 
7:48 AM
@PaulCrovella what do you call "experienced"?
I certainly expect a senior or intermediate dev to do more than looking at wiki and ticket tracker in their first week.
 
@Fabor ultra-avrage-developers dont need approval, they just approve it themselves
 
@DaveRandom Well they threw me into c/assembler the same way
 
Which do you prefer, C or VBA?
 
"Here have a hand scanner with poorly documented api and a garbage eclipse knockoff IDE. We expect you to make a database driver for this in a month"
 
or assembly?
 
7:50 AM
No-one likes ASM
 
I like c and assembly more then vba
vba is too hand-holdy
 
@DaveRandom I like SarcASM
 
OK then you will hate PHP
PHP is even more forgiving than VBA, but it does look nicer
 
at least in c I can control my memory and variables properly
 
@FlorianMargaine I was being a bit facetious.. but one place I worked the environment was jacked up enough that you couldn't get much more than that
 
7:51 AM
ah, these places...
yeah, I've seen them.
 
@Magisch Well VBA is a special kind of horrid (and trust me, I know whereof I speak), but almost nothing else gives you this
 
Assembler is a little too fine-grain for my purposes, but sometimes you need that precision
 
I'm more and more intrigued by the second, wtf are you doing that you need that level of control?
They don't even write ASM at CERN, for the most part
 
developing for semi-garbage hand scanners
maybe I'm a scrub and I don't actually need it and just think I do, but I hate wasting memory when I dont have to
 
@Gordon lol
 
7:56 AM
once you get down to hardware control or super-constrained systems ASM seems to come up
 
@DaveRandom In my case it was because the function to grab screen input and scan input at once for the scanner was hot garbage and it wouldn't let me overload it in the c part of the driver
 

« first day (2137 days earlier)      last day (2814 days later) »