« first day (2338 days earlier)      last day (2835 days later) » 
00:00 - 11:0011:00 - 00:00

11:01
@QuolonelQuestions PHP 7.2 allows dropping the type. ;P
I am aware :^)
Not exactly the elegant solution I am looking for as it applies today, in 2017
11:37
morning
o/
\o
Wes
Wes
11:49
can't stand this guy on facebook that keeps writing, like weekly that "he is doing charity work today"
i am a bad person
for being on facebook, yes
Wes
Wes
if i did charity work i wouldn't show off about it. but perhaps that's acceptable as long the charity work is done...
@Wes yes you are, but not because of the charity thing
You are just that. A bad person
Wes
Wes
/me commits suicide
:B
he like posted and keeps posting hundreds of pics for a marathon he ran for charity. can't. stand. him.
i run to the bathroom sometimes. i should post pictures
he sounds like a self-aggrandizing douche. he should write a framework.
11:54
lol
Wes
Wes
lol
ALSO
he smiles in every single picture
like a paralysis smile
at a funeral he would be like "i'm not smiling, that's just my face"
Cool PHP discussion we're having
Wes
Wes
sorry, ignore me :B
he sounds like a self-aggrandizing douche. he should write a framework.
12:03
You forgot to hash-tag #laravel
Wes
Wes
@PeeHaa formula1.com/en/video/2017/3/… (also #notphp)
Was just starting that one :P
Wes
Wes
:P
Damn :)
Wes
Wes
what's impressive is that kimi is not trying at all. see how far he is from the apex
12:29
f1 is crap
you watch it for the fails
Wes
Wes
@Saitama how valuable is the opinion of someone that probably watched sailor moon and liked it? :B
@Wes well, I haven't watched Sailor Moon.. so.. so..
Wes
Wes
pokemon. you surely watched that :B
Never trust weebs
12:35
@Wes shit...
@kelunik @bwoebi @Trowski what is the state of amp v2? If I were to start a new project now can I use the entire amp ecosystem yet?
user1804599
12:48
gaaahh
putting these next to each other was a bad idea
hahahahaha
user1804599
Phpshop
been there done that
removed photoshop
Wes
Wes
12:52
@Wes windows? 8?
Wes
Wes
i don't even know. i use 7
if i got the number of rows in a column, would i do if($rows = 0) or if($rows = "0")?
2
@Wes urm.. install some linux distro, at least mint?
https://t.co/cMUtGndiM4
Anonymous
Moin
mornin
Raj
Raj
hi every one
i am facing this "403 - Forbidden: Access is denied.
You do not have permission to view this directory or page using the credentials that you supplied."
on iis
.php pages not working but .html works
@Jeeves need help
13:25
@Raj What do you need help with.
Raj
Raj
i have dedicated windows server
i want host my php website on that
in IIS
but m facing this issue
Wes
Wes
@Jeeves help him
@Wes How can I help you if I don't know what you need help with?
Wes
Wes
@Jeeves he just wrote it...
@Wes I need help talking to people, but you're already helping me with that.
13:32
awww
@Raj I highly recommend you don't do this
If you have a dedicated server, are you able to install a virtualisation environment like VirtualBox,VPC etc?
14:02
Just look at these two idiots, stackoverflow.com/questions/42730352/…
Wes
Wes
idiocy != ignorance, though
14:26
evening
mornign
mornign PeeHaa
14:38
Hello guys
@gtzinos yo
i try to setup a web server on ubuntu (latest). After the installation i configured my directories as follows: drwxrwsr-x 2 www-data developer 4096 Μάρ 11 16:33 html
one issue is that i can't create directories inside the html. I am logged in with the user who is member of group developer as a secondary group
14:53
@Wes Once the matter has been explained to someone, they cannot excuse themselves with ignorance anymore.
15:52
!!dad
Last night I dreamt I was a muffler I woke up exhausted
burakdev
bless you
also, mornings
16:14
hope I'll be pardoned for being naive, I still answered something they might be able to learn from about json.
lol @PaulCrovella
<3
Wes
Wes
16:46
afterno/o/ns
hola
Wes
Wes
you mean ho/la
17:06
Any mathematician around?
17:24
you still haven't learned, that this chat room isn't really a good sample-population for random surveys
10
hey guys!
Wes
Wes
@tereško i'm totally average population
among the 5% of mentally ill population
Let us suppose I wanted to do a sql query involving tables 1 and 2. I want to retrieve all rows from table 1 that share values in field X with field Y in table 2. Is the correct course of action running a left outer join with table 1 being the left table?
@Wes people here wouldn't even qualify as "average population" in a fucking PHP conference
I can attest to what teresko is saying. I have no idea what PHP even is. all I know is that the people here tend to know the answers to my sql questions.
I was shocked by the amount of speakers / people that downright praised Laravel at confoo.
Also some guy presenting how to refactor your app with symfony components by basically injecting Pimple in every function/object
Wes
Wes
@PeeHaa was wondering, you guys are wasting so much time on jeeves. it's fun, ok. you get to learn stuff like async... but what about doing something more serious... us all in the room 11? something simple for a starter
and with that, nobody ever heard of @Wes anymore
:P
@Wes Do you have something in mind?
17:33
@FélixGagnon-Grenier that is a reasonable first step for refactoring a include-oriented code to something with hints of OOP
but it would never be the only step
Also when you say serious you mean money right?
I'm going to take this as a yes to my question.
@anang I'm thinking
Wes
Wes
well i for instance planned working on @kelunik's phpdoc thingy. but that doesn't have many users. was thinking of something that everyone needs
like a blog. totally boring, but relatively easy. we often criticize wordpress but none of us did an alternative :P
in general, it would be INNER JOIN, but your results with my vary depending on RDBMS
Wes
Wes
17:36
well, not an oss one
well ... depending on whether it's MySQL/FoxPro or a real database
in it sql server 2016
@tereško hmmm... right. I guess I missed the part where he made it clear this was a transitional step
*it is sql server 2016
@anang it probably should work
17:36
so left outer join then?
@FélixGagnon-Grenier I am currently in a process of refactoring a large project and my first step is "add a DB singleton"
@Wes think of something, pin the idea in chat, get opinions, get collaborators
@anang emmm ... INNER JOIN, if I understood you correctly
@tereško .... wow on that you got me. that was also my first thing a few years back when I started refactoring towards oop. hmmmm
you want the rows that appear in BOTH tables, right, @anang
Wes
Wes
17:38
@PeeHaa that's not what i have in mind. what i need might not be needed by others. we should do something we all need... and, most importantly, my ideas are all insane
@tereško I want to reveal all table 1 rows that values that are the same as those in table 2 regarding values in a certain field
@FélixGagnon-Grenier what I have is a pure include-oriented page. Each "link" is a separate file with a shitload of includes.
@tereško I think you are right about inner join. all I have to do is specify that I only one to return columns from table 1. That way I won't get any table 2 stuff.
@tereško I would totally fail that refactoring. I'd start with trying to make that single point of entry, and would then proceed to get distracted by every detail everywhere
@FélixGagnon-Grenier it's about 10MB of code
17:41
o.O
tell me there are stylesheet that span 100k lines in that
maybe more ... the repo is 40MB (after I did some aggressive history cleanup) and there are some image
@Wes Yes but it all depends on the idea whether people we be interested :)
@FélixGagnon-Grenier no, the CSS is somewhat minimal. The page was sliced around when PHP was the language of choice.
but it has 0.gif and tables
and uppercase tag names
I would feel right at home. that is actually from what I learned / started learning PHP
and a workaround for rendering transparent PNGs in IE6
17:44
If I were to run a union query will that actually change my tables or only yield results that I have the option of turning into a table via INTO?
@tereško did you have suicidal tendencies when accepting the job? It seems like it have everything to deserve a yuuge TSOD.
I hope you get to do what you know is good without having management making problems
Well the idea and the time @Wes
But if it is interesting enough people will make time
@FélixGagnon-Grenier it's a sideproject
I am trying to revive an old text-based mmorg
@tereško lol that's the third person today I see talking about a text based game today :P
I feel like 1990 again
17:52
ok, it's not really text-based
booo
it's actually this game: pheelit.fr
but it needs a serious re-working to bring it into current decade and revive
this has exactly the right amount of everything to tickle my inner I need that now RPG sense
the server seem to have some identity questioning going on
@tereško cool
yeah, at the moment the game is dying
all of the "worlds" are old (10+ years) and suffering from runaway imbalance .. and it has like 50 active users left
@PeeHaa you can always join an help out :D
18:01
@tereško Current status is github.com/ekinhbayar/tower-defense
However @Wes might be interested
@tereško I didn't dare ask but I would love to
@FélixGagnon-Grenier let's put it this way: I will start seriously looking for more people, when I get some more influence in the project
and when I have finished with the initial refactoring
by the look of the codebase, there have already been at last 5 different attempts by different people
and all have left without finishing
the plague of nowadays projects
I might ping you about this in a month or so
please do
ok, I don't understand why / how the crappy question about escaping json linked earlier is getting all these views
is there some meta effect going on?
18:08
what did I miss?
4 hours ago, by Your Common Sense
Just look at these two idiots, http://stackoverflow.com/questions/42730352/how-to-escape-special-charcer-using-‌​json-encode-php#42735178
tbh, I'm somewhat ok with the traffic, but I don't understand.
I'll hang around these questions more if basic "use the right tools" answer gets rolling
Wes
Wes
read the comments
-9
Q: Why did I get downvoted for helping the OP with their literal problem?

Noah CristinoI hate that if the person asking the question wants to do something that is bad programming and you answer it telling them how to do that you get a lot of bad comments and negative rep. Like in this question, the OP wanted to extract a URL from JSON. I showed them how to do that and even though ...

aaaaaaaaaa
yup, that would explain that
18:15
sigh
I'm considering locking that question to stop the piling on
But I feel like they kind of deserve it...
I mean, at least 5-6 users told them that their solution is crazy.
Don't lock. Let @FélixGagnon-Grenier get all them reps
:)
:D I wasn't going to comment, being obviously partial
That answer should just be deleted because it's harmful
18:28
@PeeHaa Regarding v2, probably to be released within the next week.
That would be great \o/ We have a project to be started and we wanted to start using v2
Not all packages will be released with v2 immediately I guess, e.g. for Redis I want to do some changes, too. Same for Aerys-Session
We are probably going to need both :P
Or at least redis I think
Redis is mainly the currently already existing PR.
For Aerys-Session I want to split locking and storage.
And I think I want to write a session-lock daemon that is better suited than Redis.
While Redis works and solves all three properties of the critical section problem, that solution comes at a cost. We have to open a new connection for each blocking read, there's no multiplexing of blocking reads unfortunately.
@PeeHaa What do you plan to build?
@kelunik a game
18:55
@Wes I totally want to continue the docs project for Amp's documentation. /cc @Trowski @bwoebi
that kickstarter feels wrong
Wes
Wes
@tereško better than this i suppose youtube.com/watch?v=i9IX9P4Ugi8
btw I kinda wanna apologize for all the stupid questions I ask. I am a journalist and not a programmer.
kekistan is real
next question
ya it is kinda obvious I was about to ask another question aint it
19:31
@tereško sounds like a glorified Spore
sounds like a scam from where I stand
No Man's Evolution™
so I have this table. One of the columns contains values of data type int. some of them are negative numbers but most are positive. I want to know what the sum is.
SELECT SUM(column) FROM table
btw my project is going quite nicely. I decided to focus on the campaign finance contributions of Robert Mercer.
thanks! sorry again about the dumb question. I do try to find the answers on my own but after 10 minutes of searching it starts killing me.
Wes
Wes
19:36
word order please?
[...], so that implementations that are instead affected by this parameter can [...]
[...], so that implementations that instead are affected by this parameter can [...]
do i need commas, somewhere? :B
> implementations, that
parameter, can
also the first sentence seems to flow better
Wes
Wes
thanks
@tereško are you sure that query you gave me will subtract the negative values from the sum?
Wes
Wes
yes
19:53
@anang try
you can always make a small table to experiment on and add 4 rows in it
I was expecting to retrieve a number around the range of 22126000 - 22551000. Instead I got 24108300
I will try that now
It looks like you were right.
I guess I will just have to live with the discrepency
wait, @anang
did you need just the positive ones?
wait a second......
now that I think of it yes! the negative values represent refunds. they shouldn't alter the total.
that was my bad
try doing something like SELECT SUM(column) FROM table WHERE column > 0
20:11
The number has changed. It got bigger as should be expected. However I don't think this discrepancy is something to panic over.
make a small table and try it out
what are you using to access the database?
studio manager
never heard of it
does it let you create new tables?
SQL Server 2016 studio manager
yea it is the whole package.
then make a small temporary table
with a single column
and fill in few rows in it
and then make the SELECT on that table
if the result of that query is what you expected, then run the same query on your real table
20:15
I already tested it. The discrepancy I speak of refers to the differences between my database's sum and the sum reported by Open Secrets
also, that "small discrepancy" can become quite significant if you do something like:
SELECT
    SUM(column) AS total,
    YEAR(some_time_row) AS year
FROM table
WHERE column > 0
GROUP BY YEAR(some_time_row)
or i you decide to group by year and month
the smaller the interval, the more significant will the discrepancy be
also, SQL queries are basically math ... precision matters
Nothing like that will be run. I am curious about the direction the money goes. Here is the link to the website: opensecrets.org/outsidespending/…
If you look at Mercer (he is number 9) you will see that the two listed totals for him do not match
everybody else's totals do match though. I think that they are the ones making the mistake.
also I just remembered the error I found in their data where they accidentally put in a candidate who didn't exist instead of Trump
That non-existent candidate received A LOT of money
I corrected my database. Their's may still be incorrect. That could easily account for the discrepancy
holly shit, you mustbe like one of last 8 investigative journalists in USA
:P
20:21
dawwwww
that is sweet and disturbing at the same time
why u say that?
because most of journalists in USA seem to better be described as "twitter reporters" these days
I am doing my best. My dream is to submit a paper to a certain organization. If they are impressed enough by my analytical abilities and writing skills I will go to Washington DC and work for them. That would be the dream.
I think the odds are against me. Even though my education is strong I believe the other applicants are much stronger. So I decided to go all out on this paper.
if you are trying to verify that OpenSecrets result is false, you will need to be precise
Oh no. That is not my goal. The paper I submit will be tested on the basis of analytical abilities as well as writing skills. The fact that I built a database all on my own and used it is meant to set me apart from the other applicants. I do not think ANY of them know SQL. I know for certain they will forgive small discrepancies in my database.
The thing is I don't have the same resources as the other applicants. The SQL database is meant to compensate. Otherwise writing a paper is just impossible.
20:51
can some one tell me whether we can get full listing from ecommerce site like amazon, flipkart through affliate api. when i try getting deals listing i received some part of deals for each product category. thanks in advance
sorry if im off topic here
Wes
Wes
@NikiC is there a correct name for those data structures that are normally fixed size and are increased in capacity incrementally as needed. eg arraylists, hashmaps, etc?
21:12
@Wes They're either at fixed size or incrementally increased as needed. :P
Wes
Wes
they are technically fixed size, the resize is a copy, not the original increased in capacity
@Wes Depends on the implementation. Hash maps usually aren't copied but use linked lists.
Wes
Wes
i mean the capacity of the array, not buckets'
@Wes Dynamic data structure?
Wes
Wes
that sounds imprecise. i thought something along the lines of "incrementally growth capacity"
21:32
@Wes dynamic is a common term for that
though you'd only make that explicit for arrays, other structures are generally understood to be dynamic
If you want to throw around fancy words, maybe call it an "amortized growth structure"? :P
Wes
Wes
dynamic sounds like a jolly word that can potentially describe anything :B
how 'bout "embiggening"
Wes
Wes
ah, that simpson episode. what a masterpiece
@Wes It's a widely used term. They do not only grow, they also shrink.
21:48
s/It's a widely used term./It's a perfectly cromulent term./
thineyes.jpg
@Danack I still vividly remember the highly confused state of mind I lived through
Wes
Wes
@kelunik it's such a poor term tho
economically disadvantaged term
@Wes "adjustable" is another used term.
Wes
Wes
22:21
thanks :B
Anyone here know some free and easy to use software that I can use to map out money and the movement of said money? Like make pie charts and whatnot?
needs to be able to handle decent amounts of data
@anang What type of data do you put in and what type of information will you want out of it?
I want stuff from my sql server tables to go in. What I want out is money tracking.
Tracking like who it goes from and to?
That's just really vague
But if you google data visualization software you should be able to find something
Yea I want to track who it goes to and from.
Basically I have a single source of money named Mercer
Mercer's behavior as far as where he donates his money changes over time
The organizations he donates his money to have agendas
Some organizations he donates to have huge portions of their money coming only from Mercer
So the actions of a organization that is 90% Mercer money really represents Mercer better than some others do
on the other hand some other organizations receive TONS of money from Mercer. Even though their total percentage of money from Mercer they are composed of is less they still get a lot of money.
so I want to graph all this stuff
to try to see what is going on in Mercer's head
Who gets the money? How dependent on Mercer are they? How much money does Mercer give them? What do they do with that money? And how does this all change over time? That is what I need to graph.
22:42
Ah I don't know of any specific tools out there it would also depend on the format of your data. You could make something that would give you all the information you need and then from there you could make pie charts, etc.. easier.
What would that be?
My data comes from SQL Server
Like I said it would be custom designed depending on how your data is laid out
It sounds like an interesting project, depending on how complicated the data is I might be able to help you write something
It is not very complex data however a strong knowledge of what all the info in the data means is essential.
If there was a program I could just plug this stuff into that would be epic.
Ah right so like I said it would be pretty hard for a program to have that knowledge right off the bat :P
would it need to have that knowledge? I could make my tables very specific.
22:47
Do you have skype? I might be able to write you a simple PHP script if you can give me dummy data with the same table/column names
I do have skype
I am knew to this site. how do I PM it to you?
No way to PM, hold on I will give you mine
I think you can search me up with that
I don't have facebook :P
No I know but search that up on skype
I made it with my facebook account, so it gave me that username
o ok
22:53
They took custom username ability away from Skype, pretty stupid
invite sent
Hmm I didn't get anything
maybe you're the other one
check again
Haha there were two?
one was wearing a ski mask
23:01
Ah that's the one I use to rob people
23:46
@anang I've never seen anyone go that far into understanding Skyrim.
00:00 - 11:0011:00 - 00:00

« first day (2338 days earlier)      last day (2835 days later) »