« first day (2737 days earlier)      last day (2226 days later) » 

8:00 PM
did you just go 20 commits back?
 
@Danack I want to, but some people are less understanding and narrow minded
@Tiffany le me?
 
@PeeHaa yes
 
@PeeHaa I'm not sure if I do or not
The values in question I have are for user accounts for a game I'm making, and the game has online multiplayer
 
@PeeHaa Well then don't tell them about it ;)
 
@Tiffany Nope. Working on a separate branch while working further on the project on other branches
 
8:02 PM
I was thinking though it probably wouldn't be too slow to just have the server application just query MySQL when someone wanted to know something
 
@Whirvis If your storage is hidden away it would not be a problem
You can just pull live data now and if you need caching add it
Your API will just be getData() and the caller doesn't know nor care where it is coming from
 
@PeeHaa at=add?
 
So MySQL is fast enough for most things without needing caching?
 
@Tiffany tnx
 
silly dutch
 
8:04 PM
It's not a security issue, it's a speed issue
 
use memcached, espacialy public facing ones
 
@Whirvis No. It depends. What I am saying is that with an architecture where the storage mechanism is hidden it doesn't matter
@Tiffany :P
 
Ah
 
Caching does add some complexity (might be minor depending on the solution) and if you can do without I would go for that as long as you can easily add it later if / when the need arises
 
Most of the time all the server does is just handle logins and authentication between servers
It also has a few extra features (Since it has Steam login, it downloads some Steam data) such as 5 letter server IDs for easy joining without needing to know IPs and whatnot
 
8:09 PM
hmm .. ok. I am slightly drunk
 
@Whirvis I am making a wild guess here and say mysql is not going to be the first problem in terms of performance you will hit
 
@tereško And I thought you were always slightly drunk :P
 
What else would there be do you think?
 
@tereško I drank a beer at my sister's yesterday, and regretted it a couple hours later. Migraines blow.
 
@Whirvis Hard to tell
 
8:12 PM
ah
 
@Tiffany oh, yeah. I think I can understand that, since (according what I have learned) what I call "headache" actually count as migraines ... my pain- threshold is slightly fucked
 
@tereško I blame you being half a russian for that
 
I'm programming in Java (I know this is the PHP chatroom, but PHP and MySQL are often used together) and it tends to be pretty fast. The server applications are written in Java (Both for authentication and the actual game servers)
 
Imo mysql is poop, but yeah it's used a lot
:)
 
Do you know any good alternatives?
 
8:14 PM
postgres
 
It uses the SQL language?
If that's the case then it should still work with JDBC, and I could switch over to that. I'm assuming PostGreSQL is faster than MySQL?
 
Yes. As most (/ all?) db systems it kinda uses sql
 
@PeeHaa well . I was told that having headache for multiple days, or having one intense enough, that your organism starts vomiting,\ counts as "migraine"
 
@Whirvis I don't use it because it's faster, but because it has more features and is generally saner
 
All I really need is just data storage and retrieval, nothing special
 
8:17 PM
the former is fine .. the latter fortunetally happens in periods counted in "years"
 
@Whirvis Just go with what you know / are comfortable with
 
I'd rather be uncomfortable and give my users a better product rather than the reverse
No pain no gain :,)
 
@Whirvis that;s why you don't work at facebook
 
cough Valve cough
 
Pro tip: your users don't care if you use perl and firebird on the backend
 
8:21 PM
I know, but I was saying that if moving to PostGre would make the user experience better then I would
Remember when Valve tried? Good days
 
Valve actually is a php shop isn't it?
Or at least was at some point
 
Valve is a game company
 
moving from mariadb to postgres is about improving the "developer experience", @Whirvis
 
Sorry I meant the steam part
 
I don't have anything against Steam, it's actually really nice. It's just all Valve ever focuses on anymore
 
8:23 PM
Yeah can't really blame them :P
 
(shit, my spelling is bad, when I'm drunk)
 
Fuck games when you can make money just providing a platform
 
They used to make really good games and release awesome updates for their multiplayer games like Counter Strike: Global Offensive and Team Fortress 2 but now we get jack shit (I'm in the TF2 category, but I know the CS:GO community has it just as bad if not worse)
 
@PeeHaa well, GOG is still trying to do both
 
At least half life 3 is cming soon
 
8:24 PM
lol it's not
 
;)
 
It was coming soon in 2007 and it's still coming soon
lol a red jay just smashed into my window
wait not red jay
 
HL3 has a "narrative problem"
 
I forgot what they're called but I know they're not called red jays
 
@tereško How does GOG work? They actually do the "game massaging" themselves?
 
8:24 PM
"massaging" ?
 
As in: they take a game and make it work on recent platforms right?
Or do they actually make new games?
 
Yeah but it plays horrible
TF2 on mac plays like crap even if you have good sepcs
 
sorry, I had a olng day of beer and shashlik
Shashlik or shashlyk (Persian: شیشلیک‎ – Šišlik, Armenian: խորոված khorovats, Azerbaijani: şişlik or tikə kabab, Georgian: მწვადი mtsvadi, Russian: шашлы́к šašlýk, Ukrainian: шашли́к šašlýk, Polish: szaszłyk, Lithuanian: šašlykas, Turkish: şaşlık, Hebrew: שישליק‎ šíšliq, Urdu: شاشلِک śāślik, Bengali: শাশলিক śāślik), is a name given to a dish of skewered and grilled cubes of meat popular in Eastern Europe, eastern Central Europe, the Baltics, Caucasus, Central Asia and some parts of the Middle East, including Iran, Israel, and Turkey. Shashlik (meaning skewered meat) was originally made of lamb...
 
*specs
 
I had shawarma earlier :P
 
8:26 PM
also, my old man is shit at making shashlik - too much vinegar
 
hmmm om nom nom
 
so, what we were talking about?
ww3?
 
currently enjoying my lindemans shiraz from the appie, not to expensive and uiterst zuipbaar / good drinkable
 
!? booze lindemans shiraz
 
@PeeHaa No results for: lindemans shiraz
 
8:28 PM
booo
 
:)
 
lol forgot how it works
 
@Linus Torvalds :) ?
shoud have 2m rep on SO
 
@sietse85 That's the indian version. currency conversion is though :P
 
@tereško and sun? Nice.
 
8:30 PM
@sietse85 I actually really like this one: shiraz-und-co.de/Ventisquero-Grey-Syrah-2008-English.html
 
@sietse85 yo my son :P
 
(though, its around 2012, 2013)
 
:D
 
I am just joking sorry for that ;)
 
@sietse85 kinda "recommendation"
 
8:31 PM
Are you till running with infection in that project @Danack?
 
how much would that bottle cost
 
@hakre yeah, there is sun out there
@sietse85 here it costs 12-16 euro
 
ok oh thats like latvian currency?
i mean the 1620 AC?
 
@PeeHaa Forgotten to run it for a while........I think need to figure out how to have the tests results be put somewhere automatically but in a way that doesn't stop builds from being considered as passing.
 
sorry, couldnt write the symbol, because it turns our I am on windows:(
 
8:34 PM
@Danack kk
 
on linux, if you press:L ctr+alt+u as then write "20ac", it makes an euro-sign
 
I am doing one last attempt at checking if I can make it usable or not and otherwise giving up on it
 
ALT + 0128 shold give a euro sign
 
that's on windows
 
Also, a lot of the code we're currently writing wouldn't be great for testing against it right not. Testing for off by one errors it's good for. Testing whether reading and writing data from one system to another, not so much.
 
8:35 PM
I see
 
@sietse85 anyway: it's not the "cheap shelf beer", but it is really good for the price-range it is in
 
@tereško pro-tip: just use the three-letter codes like EUR
 
@hakre I have been using linux for more than a year as my primary :D
 
Well both on my primary windows XP system as well as on my linux system I have the EUR symbol in my keyboard layout, but still, EUR works best w/ US-ASCII ^^
 
@tereško tension headaches can last longer than migraines. Migraines typically do not last longer than three days. However, tension headaches are not as painful as migraines.
 
8:51 PM
@Tiffany how about "week or two"
..wait .. no... that came out a bit after that last link
 
@PeeHaa lol that guy finaly marked my answer :P
 
:-)
 
@tereško are you sensitive to light or sound? Is the pain a throbbing/pulsing pain that increases after a few hours?
 
yes
 
You are about to die
 
8:54 PM
well, if you're drinking like every day, having a migraine last two weeks seems plausible
 
@PeeHaa nom I am getting a headache while getting drunk
 
there was a period of time I was drinking basically a beer a night cause I wanted to, and I would keep getting migraines... that's when I learned that alcohol was a migraine trigger
 
sometimes I get a headache .. will .. fuck it .. that's why I have pain meds in my bag, that can be nixed with booze
 
mixing pain meds and booze isn't good...
 
just ask your doctor, what he/she uses for hangovers :D
 
8:58 PM
shrug mixed drinks are the only thing I can tolerate in a larger quantity
I thought I drank the beer slow enough yesterday, but last night said otherwise :|
 
I have am extensive family tree associate with doctors
 
still doesn't refute that mixing pain meds and alcohol together as not good
 
it affect my med-usage habits and the things I consider "acceptable lunch conversation"
fortunetally I have similarly traumatized co-workers
 
fortuneteller...
 
shit
 
9:01 PM
lol
 
the autocomplete/spellchecker on vivaldi is a bit .. emm .. fucky
this is my 5th or 6th beer :(
 
have you considered not drinking?
or limiting it to important things, and in small quantities?
 
user3485442
Hello Devs, Can anyone please give some good resources for learning Data Structure in PHP?
 
With data structure you mean arrays?
 
I was going to make that joke/insightful observation.
 
user3485442
9:11 PM
Not only arrays.
 
@MarufAlom why do you think you want to learn data structures in PHP?
Because PHP is not Java.
 
user3485442
Because some interviews ask me to solve some data structures related problems.
 
oh god the nightmare of C structs and linked lists that i goofed arround with
 
I stop drinking all the time
At least 3 times a week I make the decision never to drink again
 
yes and i quit smoking 10 times a day
 
9:20 PM
@Tiffany based on what I have observed, mine are actually triggered by mental strain or messing with my neck
also, "getting actually drunk" is something that happens on on a per-3-months period mostly
(and the headaches I actually get some of the times then are fueled by "pushing though" the buzz, because I feel responsible for others)
 
@tereško cheers.... burpppp
 
@MarufAlom maybe buy a book like amazon.co.uk/…
however these are .............not problems that 99% of PHP programs need to worry about.
 
user3485442
I found this usefull
https://github.com/jwasham/coding-interview-university
 
9:39 PM
> PHP Warning: PHP Startup: Unable to load dynamic library 'php_openssl.dll' (tried: .....\Debug_TS\php_openssl.dll (The specified module could not be found.), .....) in Unknown on line 0
> Class 'DOMDocument' not found
1. php_openssl.dll exists at that location
2. I'm building PHP with `configure --enable-cli --with-libxml --enable-debug --enable-soap --with-openssl --without-gd`
What am I missing?
 
@Christian Perhaps that part: "The specified module could not be found" ?
 
But it exists at that location :/
 
The file perhaps yes, but it might not be load-able.
It writes "tried:"
E.g. TS module while PHP is NTS?
Or wrong binary version?
 
It's built by PHP
I mean, in the same build process.
As a shared module. AFAIK.
 
hmm, it should have headers ...
Maybe it has dependencies it can't resolve when getting loaded?
 
9:44 PM
Some people recommended copy+pasting libeay32.dll and ssleay32.dll (which php_openssl depends on)
I tried that and it still didn't work.
At this point I think I should just go ahead and use strace.
 
perhaps a good idea.
At least you see PHP complain about not being able to load that extension :)
Perhaps the one or other syscall before that will show something insightful
 
Also, while on the subject, how would I know where to get those libraries? I thought they're part of the dependencies project (but they're not, I checked)
(and downloading them from a random location on the net is out of question :D)
 
hmm anyone know why this line breaks php interpreter?
<?php var_dump(chr(0x0D));
 
@sietse85 3v4l.org/flpA4 <- doesn't seem to break..
 
i get "tring(1) "
in my terminal
 
9:58 PM
because the output interferes with the terminal
0x0D causes the cursor to go to start of line
 
ah :)
 
and since there a double quote after that char, it overwrites the first char with a double quote
 
btw, since you were the (presumable) target audience, @Tiffany, what did you think of the "bully hunter" campaign and the headphones they were selling :D
 
@hakre Fixed it. I just copied the non-PHP dlls from a PHP Windows download for the PHP version I'm building.
 
@Christian Well, like I said, just use the correct DLLs ;)
 
10:07 PM
:D
 
@tereško I agree with the sentiment, but the actions ... I dunno. My first thought when I started reading an article was misandrists, but they're strictly targeting players who engage in sexual harassment. I see it is ambitious, but if raising awareness is their end goal, it might work
 
there are .. emm .. issues
 
I'll read more after this episode of SGA
 
hehe
 
SGA?
stargate atlantis?
 
10:11 PM
I am too drunk ATM :D
and I can't actually remember in what context I pinged
shit
nn
 
it lives! :D
 
@tereško o/ same here
nn
 
posted on April 14, 2018

New Cyanide and Happiness Comic

 
@Christian what's that?
 
@tereško lol
goodnight
@sietse85 yes
 
10:26 PM
but @Tiffany isn't that like super old :) i was so sad stargate universe ended the way it did ... :'(
anyways will never forgot General Hammond, and Colonel O'Neilll ... can we bbq it ^^
 
@sietse85 I didn't watch it while it was on Netflix and then they took it all off. It's on VRV right now, so figured might as well watch it. I'll start SGU when I'm done.
 
Carter i didnt have my coffee yet ^^
 
that's O'Neill with two Ls
 
shame on me
 
@hakre trial run of what I'm working on on a random phpunit test suite.
Next steps are basically to polish it... visually and by adding a little bit more useful data.
There's also something I missed; right now it only links objects when one is inside another one's property.
But it doesn't track when an object is inside an array property.
 
10:32 PM
Is that runtime?
 
yes
 
then you can do a deep search traversing array properties
 
it might be more tricky than it sounds, for example I see two different scenarios: $otherObject->a = [$object]; vs $otherObject->a[] = $object
 
add use empty tag <?= ?> – #76222
 
@Christian But at runtime you would scan it the same, wouldn't you?
 
10:48 PM
For linking objects right now I'm hooking into ASSIGN_OBJ opcode. That second example is ASSIGN_DIM opcode, so I need to handle that too.
Of course, maybe there's a better way to do this.
For example, I found out that object creation/destruction is better logged from zend_objects_API.c instead of opcode handlers.
 
Add use executing finction in the logic design. – #76223
 
Oooh... way trickier... there's also stuff like performing operations on array properties by reference. :/
 
11:16 PM
unrelated "Rapid development is now the newest best book I've ever read about programming" comment
 
11:32 PM
@Christian you made me think of visual debt at first
 
visual debt?
 
you probably don't want to know
 
But hey, on the bright side I've just read a great post by @Ocramius about it.
So it's good for something, in a perverse way.
 

« first day (2737 days earlier)      last day (2226 days later) »