« first day (1869 days earlier)      last day (3070 days later) » 
00:00 - 18:0018:00 - 00:00

12:00 AM
@MarkBaker Heh
10's: I X C M
5's: V L (is there one for 500?)
 
@Trowski so, not sure how V is supposed to be an exception here?
 
D would be similar I'd guess
 
@Trowski yeah, D.
 
Because you never would see CVX for example.
 
@Trowski yeah, no point there...
 
12:02 AM
But 5000 is MMMMM
 
Sorry, I had meant CVX, not XVX.
 
actually, making an "arabic to roman" converter is a good as 2nd or 3rd "programming exercise
 
Or.... the rather more obscure V with a bar across the top
 
Same thing though I guess..
 
right after "does these three lines make a triangle" and "find roots for quadratic equation" exercises
 
12:03 AM
@MarkBaker I've heard of it, but no symbol for milia decem, right?
 
Stupid confusing roman numerals...
 
I think that the V bar method could be used for all multiples of 1000, so X bar for 10000, C bar for 100000, etc
 
lol
 
ThW
rotfl
 
> "anything worth shooting is worth shooting twice"
 
12:05 AM
@MarkBaker I've just googled… turns out you're right
 
Wow, almost got that right as UTF-8
 
@MarkBaker I guess that's a boolean nor? :-P
 
V followed by u+305
Vor
So X̅ is an exclusive OR
 
uhm, isn't xor usually ↮ ?
wuh, is that sign small in this font…
 
^ in PHP
 
12:12 AM
Or alternatively ⊻
but a top bar? :o
⊽ < that's nor
indeed a different one from what you had :-D
 
\oplus
 
?
 
Can't get that in UTF-8 - Another xor symbol is a + inside a O
 
ah that
 
@MarkBaker That's the one I usually see.
 
12:16 AM
It's the symbol for XOR that I learned at university - not computer logic, philosophical logic
got it
u+2295
 
There's ⊕ and ⨁
 
Right, maybe that was in discrete math, not comp sci.
 
There are anyway too many chars in Unicode…
@MarkBaker Did you know there are individual unicode points for each Roman number (≤12)? Like Ⅻ… (this is one char)
 
12:33 AM
Does anybody actually use those Unicode points (besides playing with the new \u syntax in PHP)?
 
Anonymous
nah
 
12:48 AM
hmm ... time for a piece of cake with some tea
 
Anonymous
yum remove tea
 
Anonymous
@tereško if you are still using mysql workbench, try sqlyog
 
it doesn't look free
 
Anonymous
1:04 AM
Yeah, but they are giving 50% free if you talk to one of their agents. Or there is always the usual way. Anyhow, for me is was 10x times better than workbench.
 
Anonymous
So, if you hate workbench try the trial version at least.
 
well, I need to get a now job before I start buying anything over $50
I am even limiting my current purchases for the Steam sale
 
Anonymous
Speaking of games, have you played fallout4 yet? A month ago, I have never even heard of that games but suddenly it all over the net.
 
Anonymous
I have still to play any game, but I just want to know if it lives up to the hype.
 
it does not
it's having multiple issues
UI problems, general bugs, shitty conversation system ... there is a good game under that all, but it will take at least 6 month before any of those issues get resolved
besides, IIRC, your current PC would not be able to run it at acceptable level
 
Anonymous
1:10 AM
Nah, this is just to add it to my bucket list.
 
Anonymous
Anyway, I guess it is safe to say fallout3 is a worthy game to add to my bucket list. Assuming its quality probably helped propel the hype for fallout4.
 
I actually would recommend: XCom, Mirror's Edge and Portal
Fallout3 wasn't all that impressive
 
@MarkBaker Well, not yet; but what I really hate is whenever I have to add some ZWJ or similar grapheme combinators… Good luck finding any zero width codepoint in your file! That's where I see most potential…
 
Anonymous
Hm, usually when people are existed about a sequel, it indicates the predecessors must have been good.
 
Anonymous
@tereško thanks for the recommendations.
 
1:16 AM
@MarkBaker I remember gruesome hacks with mediawiki syntax where I magically made sure that there were no empty paragraphs etc. with zero width spaces in templates… Fun things…
 
How to get an export of a table which has some foreign keys ?
 
2:50 AM
I loved fallout3 =)
 
 
3 hours later…
 
1 hour later…
7:31 AM
hi every body .I am working svg and I want write my image in pdf .I am using tcpdf for this work .my image is very large and I want draw it on A4 pages but it resize my image and draw it in first page
 
7:44 AM
hi gm all
I am facing a problem of ssl
I have recently added ssl to my website but its not applied to home page rather its applied to all inner pages..
anybody have any idea what necessary changes needs to be done for fixing this...
 
8:41 AM
Quiet here...
@John does it work if you explicitly specify yourwebsite.com ?
https yourwebsite
 
 
1 hour later…
9:44 AM
hey guys would you please check pastebin.com/QzV6WuvP im getting unexpected ) at line 10 on the laptop of my friend, but on my laptop its working
so just check if you have time if anything wrong
 
10:05 AM
@Lynob are you sure it's that code snippet?
 
10:29 AM
Morning!
 
morning11
 
> php -l syntax.php
No syntax errors detected in syntax.php
(Saved your code and ran a lint check) Seems like that's not the problematic code!
 
10:56 AM
Damn. App killed itself in the middle of a 1.3gb query file.
Terminated the query process but now presumably it's trying to rollback
and it's taking literally forever
 
Abe
big transactions are something to avoid yeah
 
11:21 AM
State Repair with keycache
dammit.
Don't suppose I could kill the repair query? The database needs dropping totally anyway, I don't care about it's integrity
it's the other DBs I'm concerned about
 
11:48 AM
Hello!!!
 
@whatever \o
 
Hi @sean
I need a bit of assistance...
 
Fire away!
 
I have developed a website based on my own idea.. but now I don't know how to get started.. I don't have too much friends so can't guess if I am headed in the right direction... I need some feedback buddy..
 
well .. what do you know about web development?
 
11:55 AM
??
 
Oh, hello @tereško!
 
o/
 
I have developed the website..
 
in that case, first step would be to flesh out that idea of your
mindmaps are really good for that
that will let you figure out what functionality that project of yours would need to have
 
would you like to visit..
my website and check things out...
what is this mindmaps
 
Abe
12:01 PM
\o
 
Hi @Abe!
 
Abe
hey!
@Sean i have no idea. it would be very strange that killing that would also kill other dbs... you could try..
 
@Abe Lol, literally 2 seconds ago I killed it
Dropped out some errors around the db affected, but I could drop it no problem
 
@whatever we can't visit your site if we don't have the url
 
www.askbuddy.org
 
12:04 PM
@tereško if JavaScript room is open to you right now, please take a look at it :-)
 
Strive to survive choosing the least suffering possible
 
@iroegbu www.askbuddy.org
 
Those "mind maps" leave an uneasy feeling. en.wikipedia.org/wiki/Mind_map#/media/File:Mindmap.gif
 
@whatever you have a very serious problem
very very serious!
 
yes
@iroegbu what is that?
 
12:09 PM
can we post vulnerabilities here?
 
Uh, if it's a framework or package vunerability you're best privately contacting the owner
 
I say post 'em.
 
@iroegbu can: definitely; should: maaaaybe
 
he should pull down that website asap
 
So I'm trying to import this .sql file by piping it into mysql, but it's saying there's a syntax error on line 1, which is a comment :/
 
12:11 PM
his directories are exposed
 
@iroegbu but to be honest, you probably should try to contact the vulnerable party before disclosure
 
-- MySQL dump 10.13 Distrib x.x.xx, for debian-linux-dnu (i686) Syntax error on '('
 
And what's bad about that?
 
I private messaged him
 
@iroegbu then give him two weeks to acknowledge the issue, then you can disclose
 
12:13 PM
he asked for review here...
 
What's bad about those directories?
 
Listing should-be private information
 
@iroegbu oh, you mean the @whatever guy?
 
yes
 
Nobody can read his code, right? And the rest should be in the database anyway. Unless he's exposing some system stuff? But even then...
 
12:20 PM
dammit
turns out it was hanging because the import file is buggered
so just done the exact same thing again
The person exporting truncated a table during the mysqldump
 
JS is beautiful. :)
 
Just like Php is magic :)
oh please
 
what you guys did
 
12:45 PM
auch, what happend
 
1:11 PM
watch -n 2 mysqladmin -u... -p... processlist
So handy for keeping track on importing
got mysql -u -p < file.sql running as a background task.
 
@Sean I don't understand .. are you talking about my project?
 
Nah, my work
 
@Sean okay
 
@iroegbu I'd say JS is more sort of a magic. lol
 
a dark, evil magic
 
1:25 PM
lol
I heard WordPress is shifting it's codebase to JS.
 
The wordpress.com admin or something - not the self-hosted stuff - from what I've heard
 
I believe that is already done.
There will be a significant change in the PHP usage count if WordPress does so.
 
If the self-hosted stuff does change, I see a lot of people moving to an alternative PHP solution - unless they can somehow figure out how to make a JS solution as easy to set up on cheap shared hosting
 
Abe
@Andrea ping
 
@AlienJB I'm quite sure, it might become quite popular and hosting providers will start offering a simple way to set it up.
 
1:37 PM
self hosted is not changing
content management via wordpress.org is shifting to node
If you want to use the wordpress.org management suite for your self-hosted WordPress site, you need to install jetpack
otherwise it won't affect your install (all hosted installs on wordpress.org have jetpack enabled by default)
 
I hope it doesn't change to JS.
My portfolio blog is using WordPress. -_______________________________-
 
Yeah don't worry about it
It's not gonna change.
 
It's just a faster/more convenient way for admins to manage their installs on Wordpress.org
If you manage multiple sites, easy to swap between etc.
Only thing I imagine it doesn't do (and if it does I have no idea how it does) would be to manage custom extensions, like plugins and custom post types etc.
like, all the extra stuff you can extend WP to do
 
2:02 PM
hello all of you. I am getting error( Failed to connect: 111 Connection refused ) in push notification from php to ios. Can any one help
 
It's taking like 40 seconds for each batch of insert queries to finish for this import.
I really should have disabled commit and FK indexes.
 
@Sean can you help me?
 
Checked the SO questions? Seem to be a lot
e.g.
3
Q: Push notifications (iPhone) give "111 Connection refused"

TimWhen I try to send Push Notifications I get this error: "Connection refused", but I don't know why... I've uploaded my apns-dev.pem in the same directory as well in the root-directory but that won't work either. <?php $payload['aps'] = array('alert' => 'This is the alert text', 'badge' => 1, 's...

 
ok. thanks, let me checck this link.
 
Abe
2:19 PM
o/
 
Hello, are you guys good at riddles?
need help with this one. What is strong, begins with "p", Knocks you down and looks like pee?
 
Abe
i'm dealing with a monumental riddle right now.......
 
Abe
@phcm surely it's some kind of alcoholic drink. can't tell which
 
hmm, it might be
 
2:27 PM
@phcm prosecco?
(prosecco is a white wine)
 
Abe
pina colada?
 
after some months I am totally drunk :)
 
wordpress change to JS?
That's bad in many ways... not to say almost impossible
 
Abe
@iroegbu they will fail hard
 
what'll happen to all the templates? It's not going to happen.
 
2:50 PM
*opens HN* > Node.js running in the new Airbus A350 inflight servers WE'RE ALL GOING TO DIE
 
@Andrea lol my reaction was basically the same
 
@NikiC you'd hope the IFE servers were separate, but apparently they aren't always D:
 
3:08 PM
'morning
 
@Andrea but what are the inflight servers responsible for?
it's definitly not tracking and comms, because those systems are like 20 years outdated even on the new planes
 
I don't think those control the operations of the plane... I read somewhere that planes can manage almost everything on their own with minimal human interaction...
 
Abe
ever left trolling comments in code to the future you?
just come across in // ^ ahahahahahahah
and actually the code it is referring to doesn't look particularly wrong
 
3:23 PM
Node.js is a sxc bae <3
Node.js is Lamborghini, PHP is Ferrari. ;]
 
Abe
lamborghini are rebadged audis in a sultry italian outfit. ferrari win. your argument is invalid
 
@Andrea would you prefer to see them written in PHP? :-P
 
Abe
in php there's less room for programmer mistakes, imho @bwoebi
 
@Abe Well, yeah, JS' very dynamic nature allows an additional class of mistakes, but that's not really the most common mistakes in JS though.
 
Abe
3:34 PM
well common mistakes is not the kind of mistakes i would expect an airbus programmer to make
 
@HassanAlthaf I would go with Skoda and Kia
 
@tereško In-flight entertainment
 
Abe
skoda are pretty good cars, to be honest
basically vw
 
@bwoebi PHP handles errors slightly better than JS, surprisingly
it also has a class system
 
@Andrea that too.
@Andrea mhm, isn't ES6 already in node?
 
3:36 PM
@bwoebi ES6 just provides sugar over prototypes
 
@Andrea I actually head that you can take over parts of flight ops, if you can gain full control over the entertainment systems on semi-new planes
 
right, but that causes you to make automatically less mistakes by not having to fiddle with the prototypes
@Andrea uhm, why is that a surprise? :-P
 
@Abe both are good, but they make cars for regular commute
 
Abe
@tereško the more i read about other languages, the more i think none is worth learning / switching to
basically, they are all skoda's
 
@Abe Oh no, there are Ferraris as well. Those are the ones you particularly want to avoid...
 
3:45 PM
Good morning
 
Abe
@ircmaxell o/
 
@ircmaxell Good morning. It's 16:45 here and already completely dark outside :(
 
:-)
 
Abe
@NikiC for example?
 
@NikiC rather than "salting" the hash function, couldn't you just change the size of the array to a non-power-of 2
 
3:48 PM
@ircmaxell How would that help? h % s == (h + n*s) % s still holds
 
where did the n*s factor come in?
and what I mean is not making it a factor of 3
but when you detect the collision threshold getting to high, increment the array size by 1 and re-index
 
@tereško yeah someone did so quite infamously recently and tweeted gloatingly about it
@bwoebi given PHP's reputation
@ircmaxell ooh that's a clever solution
If an array hits a collision threshold, change the hash function
 
.. yeah, I loosely recall some panic about "hacking planes"
 
@Andrea except that removes the ability to cache the hash value of strings
 
3:55 PM
@ircmaxell I believe we currently have some assumptions about array size being a power of two… But sounds like a good idea.
@Andrea nah, bad idea, that'll cause us to loose all advantages we get from precomputing hashes.
 
emm ... @ircmaxell, ya know, in the new avatar you look like you cannot decide what type of fart is it going to be
 
@bwoebi not quite
for that array, yes
but that array is having collisions. the usual perf boost of precomputing hashes is negated by it
 
@ircmaxell I assume you're referring to integer keys only here?
 
not sure…
 
And use siphash for strings?
 
3:57 PM
I'm talking all hashed values. Since siphash turns a string into an integer
 
@ircmaxell I mean, it does not help if the collision is in the hash, it only helps if the collision is in the modulus
 
sorry, using our current hash function
 
but it's a good picture, because previous one had that "taken from police academy yearbook" feel (it 'probably was the color scheme)
 
@NikiC correct, this assumes the hash funciton is reasonably well behaved
which I know is not true always
 
@ircmaxell siphash is the only hash function I know which is well-behaved in that context
 
3:59 PM
if the array hits too many collisions, switch to a random siphash and rehash the entire array
slow? yes, but it's not as slow as a collision attack, and better than crashing the app
 
@Andrea except now you need a branch at every hash table lookup in the entire engine to see if the hash table has been rehashed or not
 
@ircmaxell Your variant now requires an integer division on every table access
 
@Andrea except for the completely broken try..catch, JS doesn't even have an error handling system :P
4
 
@ircmaxell that's the problem, yes
@AwalGarg broken?
 
@NikiC which is already needed
 
4:01 PM
@ircmaxell how so?
 
@Andrea doesn't differentiate between "exceptions" and "errors", for instance
 
@NikiC you're doing a dynamic modulous, right? Not a bit-shift?
 
@ircmaxell currently we use powers of 2, which is a bit shift
@AwalGarg that's good.
php's error model is nonsense
php does at least produce errors in certain cases where JS doesn't, though
 
@ircmaxell You're doing a masking operation
That's the point of power of two sizes
 
ah, you're not doing a modulo
 
4:04 PM
on that note, how slow is integer division on modern CPUs?
(not that I'm thinking we should do one, but how big is the difference? 1 vs 3 cycles? 0 vs 3?)
 
@Andrea way faster than a branch operation
 
@Andrea Something like 10-30 cycles
 
@NikiC yikes
how much is a bitmask?
 
@Andrea one cycle
 
@Andrea It would have been cool if catching a specific class of exceptions/errors was supported. Since it is not... I don't really like it. And doing an if check inside the catch block is a sacrifice of stack traces.
 
4:07 PM
@AwalGarg yeah, that bothers me about JS
@AwalGarg though you can rethrow the exception at least, but
 
which is a sacrifice of stack traces :)
If they ship async/await in ES7 without pattern matching in catch blocks, I can imagine how bad stuff can go :P
 
@AwalGarg is it?
does throw reset the stack trace on an already-thrown exception?
 
@Andrea mostly yes. engines are free to not do that, but most of them do.
@Andrea (sorry missed this), no. The stack trace retains, but debuggers don't follow it. You have to manually inspect the error in the console to do that. Again, that's a tooling issue, but... it is.
 
I answer to the OP's question on reddit, isn't phptherightway.com a good guide?
*in answer
 
4:21 PM
> But PHP The Right Way will not teach you PHP.
A tutorial would take you by the hand, and introduce you to those topics. PHP The Right Way exposes better practices on subjects you want to learn on.
 
I guess I'm not sure what a good PHP tutorial would look like then...There are framework specific tutorials everywhere. Most people constantly repeat the mantra "don't reinvent the wheel, use a framework" Thus the constant confusion for us newer devs over what the "real" right way to do things is.
 
github.com/PatrickLouys/no-framework-tutorial is from someone in this room, and it is pretty good. Hook it up to a tutorial of similar quality which can explain basics of programming, PHP, and OOP and you are good to go.
 
+1 to what @AwalGarg said. The best tutorial out there. :)
 
good point^^
 
4:31 PM
>If you are new to the language, this tutorial is not for you
 
I might do some video tutorial of it during holidays or something.
@SuperNoob, as long as you have got hold of OOP, it is simple and easy.
@SuperNoob Looks like you've used Laravel. Well, it shouldn't be that hard then.
 
@HassanAlthaf I'm referring to Felix's comment about taking you by the hand
I'm good in this department, I'm speaking in general terms
 
With a sufficient grasp of oop, that tutorial did take me by the hand and allowed me to link together different bits of knowledge I already possessed. Tutorial doesn't mean for beginners only :)
 
I think there is more to the roots of "bad PHP" than just "bad tutorials". PHP knowledge alone, even exemplary knowledge of PHP alone, can't help you write good quality code, let alone codebases and applications. You really need to understand how the "thing" that you are working with works itself. How the web functions, why, why the limitations imposed, the HTTP protocol, client server model, etc. It is more than unfortunate that most articles don't even mention this as a pre-requisite.
 
If you're new to a language, NEVER use a FRAMEWORK.
 
4:35 PM
There is plenty of bad code in every language.
 
Using frameworks is not bad, but understanding what it does is very important.
 
Hello!! can you guys let me know is there any difference between the normal login and B2B and B2c login?
 
The answer to that question is almost certainly yes, there are. What is your real question?
thanks for the props @Jimbo and @Abe, I actually scored 100%!
 
@FélixGagnon-Grenier are you talking to me?
 
Abe
great! congrats :D
 
4:42 PM
the first message was for you, yes
:)
which actually makes me wonder if getting that was actually the minimal requirement to continue the hiring process..
 
I heard from a friend to design a B2B login but I had no idea? what rules are involved ?
@FélixGagnon-Grenier what is special in B2B login? that is not in normal login?
 
> On the Internet, B2B (business-to-business), also known as e-biz, is the exchange of products, services or information (aka e-commerce) between businesses, rather than between businesses and consumers.
so, do you have two business which tasked you (yourself) of exchanging informations between their softwares?
 
yes I know that.. but I am confused over the login functionality?
Yes a person told me to do so but I had no idea...
I checked but there is not material on internet and stackoverflow blocked my account over asking this question.. :(
 
Either you got trolled, or that person doesn't know anymore than you what is involved?
 
I am still not sure what you are saying.. you said there is a difference but what is the difference ?
@FélixGagnon-Grenier would please clear my confusion?
 
4:56 PM
I'm rather confused myself @whatever. I'm not exactly sure what b2b implies as a login declination. I can't really picture how a business actually logins to another business.

What I could think of is something like an employee of a company being able to use his company's credentials to login to another business interface.

In any event, I've no idea why you would be tasked with this, as this probably implies somewhat complex infrastructures, and moderately huge user bases. If a company actually had the need for this, they'd hire someone who knows about it, wouldn't they?
 
Okay, that's pretty cool - youtube.com/watch?v=wczdECcwRw0&feature=youtu.be Use full screen and WASD to control
 
@Danack no panning/walking around :(
 
@FélixGagnon-Grenier no I did not get the project but I am wondering what it is...
@FélixGagnon-Grenier my other confusion is .. why would stackoverflow reject such question?? I was told as a joke that.. My account has been hacked.. :(
 
@whatever the question itself can't be accurately answered because it seems to be based on bad information. B2B is a type of business model--a business which sells stuff to other businesses. B2C is a type of business model where a business sells to customers (general public)
 
5:06 PM
@whatever, so in essence you're asking for the difference a login system for a hypothetical B2B business and B2C business. Am I right in assuming we're losing something in translation here?
 
:( B2B Login ... hhhh .. so its not serious thing..
 
> Either you got trolled, or that person doesn't know anymore than you what is involved?
 
Yes.. I am asking what is the difference between "NORMAL LOGIN" vs "B2B LOGIN' vs "B2C LOGIN"
@SuperNoob
 
okay, by specifically googling "B2B login" and "B2C login" the only answer I can give you is that B2B is designed for business-class customers to login, whereas B2C is for general customers to login. So for example WalMart may have a B2B login for vendors/suppliers/businesses, and then there's the "general public" login system for grandma to put toys on lay-away.
That's my best guess with some assumptions (aka speculation)
 
Thanks both you Felix and Super..
 
5:29 PM
anyone know the Chrome extension that blocks individual sites for a user defined time? all of them seem to have switched to a more complicated model of allocated time per day for sites...
 
Auto moderating your so daily consumption? :)
 
no ....reddit.
 
@FélixGagnon-Grenier I've gone with SimpleBlocker - that stayFocusd one gives you a budget of time allowed per day.....I just wanted something that blocks me from browsing to time-wasting sites for the next 2 hours...
 
Happy caturday!
 
5:42 PM
@FélixGagnon-Grenier you should ask in Tavern on the Meta.
 
done, thx^^
 
00:00 - 18:0018:00 - 00:00

« first day (1869 days earlier)      last day (3070 days later) »