« first day (2970 days earlier)      last day (2204 days later) » 
01:00 - 18:0018:00 - 00:00

01:03
Code reviews, when the person just doesn't understand clean code: https://t.co/N3DTwQ0gdL
 
2 hours later…
02:55
Phar::buildFromDirectory() generates tar archives in 'PAX' format – #77229
03:16
@Alesana It okay to capitalize the first word a of a title, so: "Full stack web developer" and "Founder & Developer". Which obviously might seem inconsistent.
@Danack Ah I see, since they're two different titles
I'm almost finished with it, just proofreading and then I'll send it back to you!
@Danack Do you think having a 1-2 sentence about the company under the company's name is a good idea?
Wes
Wes
@Danack can you drink alcohol in stadiums? if yes, well, that explains it :B
@Alesana not a huge fan, but it might work in some cases where the company is unusual.
@Wes ........even just by chance, that's a large number of attempts to get that right...
Wes
Wes
03:31
:B
Yeah it did seem like he got it wrong more times than there are ways to hold it
@Danack Hmm okay, I'll skip out on it
BREAKING: #Marriott's Global Chief Information Security Officer, @BAHoffmeister, urges everyone who booked a room at their properties since 2014 to "change your mother's maiden name and your social security number as soon as you possibly can" https://twitter.com/AP/status/1068496244488716288
and on that bombshell, nn.
o.o what if I worked there
Wes
Wes
in unrelated news, i was asked to make a web app that is way harder than anything i have ever done so far... must include audio and video streaming from mobile also
which means potentially involves creating an app other than a web app
Why is audio and video streaming on mobile more difficult?
Wes
Wes
03:38
it is kinda a live support application
i have no idea, i only know that mobile browsers are less good than desktop browsers, normally
Ah I did a live p2p video application a while ago but it used flash
I don't know off of the top of my head how it would be done without flash but I would imagine the solution would work on mobile and desktop
Wes
Wes
this is how you do it today, i read about it but never did anything with it
That doesn't even work on IE :O
Wes
Wes
it works in edge afaik
yes it does
@Danack I updated some things on the resume, I'm worried it's too much text but not sure. Anyways I'll send it to you for whenever you do get a chance to critique it. night!
@Wes Ah okay, I guess it works for that then
I have to make sure all my websites/web apps look good IE, it can get frustrating
Wes
Wes
03:48
eh, i know
Support passing CFLAGS, LDFLAGS,etc from the environment on Windows – #77230
Wes
Wes
04:04
also, the video must be watched live on another end
Wes
Wes
04:18
it's snowing again. good good
think i'm gonna get cross country skis today or tomorrow
I haven't been in the snow in a long time
Well, not any real snow at least
Wes
Wes
04:30
here used to snow a lot... like, meters of snow... you couldn't walk out of the door because snow. but then global warming happened and we basically get no snow at all now
pretty sad. also changed quickly in the last 10-15 years or so
we went from regular snow to no snow at all
Yeah, snow seems like a thing of my childhood now.
Wes
Wes
according to people that lived here their entire life.... i only moved here 15 years ago
pretty sad
It's really sad when we have effects that noticeable and still nobody wants to do anything about it
Wes
Wes
we are trying... not hard enough probably
that's always the problem with us... nothing is a problem unless the shit gets real
i mean, when it gets catastrophic then maybe we'll acknowledge it's time to do more :B
Yeah... well I guess what I mean is the people who would prefer make money while making the problem worse. All the citizens of my whole state could put their best foot forwards to stop global warming and it still wouldn't do as much as if one big company tried to be stop it
Wes
Wes
04:42
the citizens get to decide, hopefully, in part
by voting non lobbyists
and more importantly, by voting representatives that want to tax pollution
*polluting industries
That's a good point
I guess putting forward your best foot includes voting
Wes
Wes
04:59
the worst part of the trump thing is that people are still on board
i mean, it wasn't an accident trump
half of american actually voted him, and many are still supporting him
05:11
Well, 26% of eligible voters voted for Trump, but your point still stands
It's really sad
It's scary not even for just these years, but for the future really. It makes me wonder what our future will look like when so many people can support him after all of his lies, bigoted comments, and disrespect for nature and this planet
05:54
Morngins
Guten Morgen
morning peehaaa
pee haa everyone nice username
06:12
mornng
someone is using Internet explorer
@ujwaldhakal someone, but they're probably not in this chat room
hope so ! fingers crossed
Wes
Wes
but is it really morgen or verylaten
googles verylaten
Oh, it took me a second
For me it is verylaten
Wes
Wes
06:26
:P
just returned from the run
Regarding https://chat.stackoverflow.com/transcript/message/44633773#44633773 in case anyone wondered:

I was able to pin it down to CakePHP 2 method cache. Triggered from `__destruct` in https://github.com/cakephp/cakephp/blob/3d224639d9ee8f87d4fbc91f6b678e668911c985/lib/Cake/Model/Datasource/DboSource.php#L3756 in an environment with >100 concurrent background processes writing to it, seems to crash PHP 7.2 _when its exiting_.

The effect of the crash wans't noticeable in normal operations because of this.
06:54
posted on December 03, 2018 by HarmonyIO

# New rules - Added IP address rules - Added negate rule - Added credit card rules - Added image rules - Added file integrity rules - Added file system rules - Added age rules

Wes
Wes
07:27
@PeeHaa harmony. you and your big data / pokemon names
@Wes You and meboth know how hard it is to come up with a name for anything :-)
Wes
Wes
:B
btw, the other day i could come up with a nice name
it's about testing
brightest
testicle?
@Wes ah :)
Wes
Wes
as superlative adjective of bright
i haz logo even
\o/
Wes
Wes
07:30
it's a light bulb
The one from the donald duck? :)
Wes
Wes
wat?
Which one?Never heard of donald duck or the lightbulb? :P
Wes
Wes
i have never heard of the lightbulb from donald duck
unless you mean archimede's helper
Wes
Wes
07:33
ah, edi
yeah... jesus what a reference?
are you ok? :B
:P
For some reason was the first thing I thought of :D
Wes
Wes
Gyro Gearloose
it's archimede in italian... all my childhood
puff... gone
Thinking what it is in Dutch
Ah of course
Willie Wortel
Wes
Wes
which translates to? if it translates to anything
Will Carrot I guess
Wes
Wes
07:35
lol
Wortel has multiple meanings when translate though
Might also be square root
Makes more sense probably :P
Wes
Wes
yeah
Donald duck was the only thing that made visiting my grandma worth it back in the time :P
Well that and candy
Wes
Wes
how is your grandma related to donald duck? :B
She always had a subscription
Wes
Wes
07:41
what happened to you ahah
aaaahh lol
damn you are being weird today :B
08:00
beanfeast Chiefly British Slang. (formerly) an annual dinner or party given by an employer for employees.
08:24
Your guys' conversation made me laugh haha
I'm going to sleep though, nite
nite @Alesana
Wes
Wes
\o
i laughed too :B
i had to think hard to understand the connection between grandma peehaa and donald duck :B
> All day, Will had felt as though something were watching him, something cold and implacable that loved him not.
what does "as though something were" mean?
as if something...
Wes
Wes
never read that before... is it pronounced like though?
git mernings!
Wes
Wes
08:35
\o
@Wes yes
Morngins @Naruto
 
1 hour later…
09:52
o/ Morning!
Yo @Sean
morns
Week two without PHP on the job, withdrawal symptoms are showing
@Sean What is it you are doing?
Don't tell me they are forcing you to write something like react :(
10:06
this reminds me, how is your work with laravel going @PeeHaa?
@mega6382 ?
Python + Node, and aye, react
@PeeHaa You said a while ago that you were working with laravel, I was just asking how happy you are with it :P
@mega6382 Oh that project is already long over
As well as that client most likely
And it was how you expect a laravel project is
Stupid slow made by code monkeys
Which is a bonus also had a react frontend which was even worse
It was basically the perfect setup for a failed project
@NikiC what's the best way to get the current call scope in an internal static function? via execute data?
10:11
@PeeHaa definitely sounds like laravel :P
Yeah that didn't end up well
Was to be expected and it paid ok so:P
Are you planning on participating in adventofcode?
Neh. ATM I already give myself a lot of side projects of which I want to finish at least one this year
cool
@NikiC I want the equivalent of return new static(...$args);
10:28
Oh crap yeah, advent of code
gotta get on it
Wes
Wes
10:49
@rtheunissen try Z_OBJCE_P(object)->name ?
There is no object because it's a static method
ie no getThis
Must use the current scope somehow but I'm getting self rather than static
Wes
Wes
wait, i have it
it's zend_get_scope or something
lxr.room11.org/xref/php-src%407.0/Zend/… i think this is where i copied it from
@rtheunissen zend_get_called_scope() if you're looking for static
Internally static is usually the "called_scope", while self is just "scope".
\o/ I'll try it out, thanks.
11:09
hello
@NikiC works, thank you
11:45
Wrong week of month for 2018-12-31 – #77232
Wes
Wes
you are welcome :B
12:05
All functions taking Traversables should be changed to accept Iterables – #77233
Wes
Wes
* have -> are ^
Wes
Wes
12:23
I HAZ SKIS
13:07
Good Morning!
morning
@Wes it's snowing here this morning
13:25
Wes
Wes
13:57
:3
14:24
To solve today's adventofcode I came up with 3 solutions for the first part, 2 of which took more than a minute to solve it, and the 3rd one only took like a couple of seconds
But still it was a terrible script
The way I did it was to represent the field as a 3d array: rows, columns and list of ids
took like 20 seconds for mine to spit the outcome
14:48
I'm working on day two's, and haven't even attempted part two of day one
@Tiffany part two of day one isn't too difficult, give it a shot :)
15:04
does anyone schedule a regular import of a MySQL dump into a backup server?
15:16
@kelunik ... why?
@MadaraUchiha I didn't know you played screeps
@Tiffany At that point shouldn't you just have a slave?
@Tiffany I used to, yes, I'm on and off for a while now
Usually I have backups and a slave.
15:19
@Allenph how do you mean? I have two servers, web1 and web2. web1 is the primary, and web2 is its backup. Currently, I have a scheduled task on web1 to mysqldump its database each day. If I happen to fuck up web1 by mistake, then I manually import the database backup into web2, and DNS is updated to point to web2 as "primary" until web1 is fixed. I'm wondering if instead of manually importing when something borks, I should have it automated.
I don't understand what a "slave" would do in this situation
or what a "slave" is, in this situation
As an added bonus you can take the backup from the slave or whichever server is not currently being hit if you want to be super fancy.
@MadaraUchiha The one that I used(that took only couple of seconds) was done by creating an array with key being $x . ',' . $y and value being the amount of claims that overlaps on that $x,$y spot and then I counted all the elements where value was greater than 1 and I got my answer in a couple of seconds
[CONTAINS SPOILERS MAYBE] ^
I would suggest scripting this. Or even Jenkins if you feel you need it...but that can be a lot of work. @Tiffany
Just to point though, that a MySQL slave or replica isn't a full backup, as if you drop the tables from master, the replica will quite happily replicate that also.
^ True. You should have a slave and make automatic backups.
15:25
yeah, has me wondering if I should have a third server if I wanted to do a slave setup
@Jeeves I want a feast, I want a beanfeast. Cream buns and doughnuts and fruitcake with no nuts, so good you could go nuts.
master/slave should be renamed to guide and guidees
ABOLISH MYSQL MASTER/SLAVERY NOW!!!!1
AI revolution
'primary and replica' are fine terms.
15:33
@mega6382 I made each point on the field be an array of claim IDs that claim that point, then I filtered by points that only have one claim, and found the one claim that's N times in the array, where N is the w*h of that claim :D
@LeviMorrison Otherwise accidental use of the same variable name in that scope modifies the last item of the iterated array.
does primary/replica completely convey the full meaning of master/slave?
@Gordon how about we just call them "white" and "black"?
3
15:38
oh you were being sarcastic
@tereško and I presume white is the master then?
@kush I like that /cc @Danack
it doesn't matter as long as you're consistent
leader/followers like a proper cult
but, if I am being serious, call them "master" and "replica"
calling the read-only servers "slave" is only bad because it is misleading
and as a side note, I would remind you that word "slave" comes from word "slav" ... as in "slavic"
> From Middle English, from Old French sclave, from Medieval Latin sclāvus (“slave”), from Late Latin Sclāvus (“Slav”), because Slavs were often forced into slavery in the Middle Ages;[1][2][3][4][5] see that entry and Slav for more.
interesting
what did they call slaves before that? I mean, the Romans had tons of slaves
15:45
serfs?
servus (servant)
ah. yeah. makes sense. actually could have though of that myself since I had latin at school
@kush "primary" does not have any meaning. Think on the term: "multi-master replication".
"primary" is just as fancy way of saying "first"
there's also plebeian, but they're not "servants"
on a database related subject: anyone aware of a Rosetta stone like repository that would do the same crud in all of the various php sql apis?
15:48
@Gordon Is the answer "Things that sound like a reasonable question to ask on the surface, but in reality are complete nightmares?"
@Danack not sure. doesnt have to be?
@Gordon you mean something to put on top of pdo, ext/mysqli, ext/pgsql etc?
so what color should the other bikesheds be?
@Tiffany Why?
@kush Doesn't matter as long as when you're behind them you stand still, laddy.
@Allenph mainly the situation that @Danack brought up ... if I deleted something from master and it propagated to slave but deleting it was a mistake... basically that I'd wanted a dedicated server for "slave," and a dedicated server for "backup"
15:54
@tereško No I just mean the same CRUD example in all of the various PHP rdbms apis
@Tiffany Sometimes you use a backup server. For small stuff usually it's good enough to just stick it on the disk of one or both of them.
there is no such thing
but what I have works fine enough... generally if the primary server goes down, it's because I fucked something up... and I would be available to fix it anyway
At least that's me, others may have other opinions. But it is good to have a backup server...and a fall back backup server.
And somewhere where you store physical history disks.
15:55
.. well .. there probably is in some old blog post, that has been visited by 8 people this year and it's probably wrong to begin with, @Gordon
we keep tape backups, and the mysqldump file is copied to like four different servers
@Gordon if it was just crud, then maybe not. But sorry don't know of one.
at least you have moved on from stone tablets
@Tiffany Then you're fine on backups.
A lot of companies even have duplicate separate depots where they have copies of the tapes in case one building catches on fire or something.
yeah, one of our satellite campuses is a disaster recovery place
and we keep copies of tape backups there
our physical set up for backups is pretty robust
15:59
No it's not. What if aliens invade?
South African Accent: We need to make backups multi-planetary.
@Allenph lol, I took a screenshot of this and sent it to our server admin, who's in charge of backups
That's why I send my name on three Mars missions so far. Dunno how to get my name back, but it's safe even when Earth blows up
@Allenph that will be reality, if humans don't fuck themselves. Titan is basically custom-made for that purpose :D
Morning o/
16:04
@Gordon btw, if you haven't listened to Ayreon, you might like them, the dude who leads the project has a ton of guest musicians
good prog rock
#RedisGraph is now available. Learn about the fastest graph database with the smallest memory footprint. Watch the video presentation from @roilipman and @stockholmux. https://bit.ly/2z8tgx6
possibly of interest to people.
@tereško What better place to store backups than a lake of methane bathed in radiation?
@MadaraUchiha for the 2nd part?
@Tiffany I think I liked "Universal Migrator" album the best
16:07
@Gordon 25th Century Space Kid Haha. What is "Gooor-dahn". Throws Hard Drive in Trash Incinerator
@Tiffany that's quite a list
@tereško I need to give it another listen. I think I tried listening to it back when I was still hooked on other albums and couldn't get into it.
@Allenph it's the thermal budget that is important. Methane buy itself is not harmful to electronics. And, IIRC, it has a magnetic field to shield it from Jupiter's radiation.
@tereško Huh. You're right. Didnt know that.
@Allenph it's not on a hard drive. It's on a microchip
16:14
I bought BF5 for my dad for Christmas through a Craigslist deal just so I wouldn't have to give EA any money.
@Gordon Throws Weird Grain of Sand into Trash Incinerator*
@Allenph the temperature is important to take advantage of:
Landauer's principle is a physical principle pertaining to the lower theoretical limit of energy consumption of computation. It holds that "any logically irreversible manipulation of information, such as the erasure of a bit or the merging of two computation paths, must be accompanied by a corresponding entropy increase in non-information-bearing degrees of freedom of the information-processing apparatus or its environment".Another way of phrasing Landauer's principle is that if an observer loses information about a physical system, the observer loses the ability to extract work from that system...
@Gordon the main artist has a ton of side projects, I think this is probably my favorite youtube.com/watch?v=MsXmtjLMH18 though, Space Metal is a close second. Lots of his stuff is science fiction based, and is it a bit on the campy end. (think like Futurama)
@Allenph based on reviews - sounds like wast of money
also each song on Space Metal is a tribute to a scifi movie or show
@tereško I've bought him a bunch of games and he only likes BF.
16:15
Doom?
He's on Xbox.
ouch
@tereško So what have a computation station on Titan? Would it be worth the gains when there's such a constriction of bandwidth to other places?
we ar talking about backups
you need a place to store them, with good physical security and low costs
Then why does the cold matter?
16:21
@Allenph it matters because if you lower the temperature 2x (in Kelvins), then the energy cost for flipping a bit becomes 2x smaller
You don't typically edit backups.
you need to store them
you need to check them for corruption
Hmmm.
the ambient temperature on TItan is 4 smaller than on Earth (in Kelvins)
Still seems like a good place to do computation and not really that advantageous for backups to me.
16:25
hmm .. maybe
oh, and atmosphere pressure there is slightly higher than on earth (+40%), mostly Nitrogen
Hi everyone! Can we distribute an application written in PHP to clients, without exposing the source code?
The existing answers on SO and relates sites say that source code protection for interpreted languages is next to impossible.
I guess you could compile it theoretically. (I think).
I forgot to mention in the RFC that the patch also resolves parent at compile-time when possible. Previously many erroneous cases caused issues only at runtime, but now give warnings. If this lands in 8.0 these should be compile errors.
What if my project is in node.js ?
or in python?
You just said it was in PHP.
16:32
@Davy for php you can use something like ioncube.com ... but it will have limited "protection"
I was asking for possiblities, sorry for any miscommunication.
How do companies offer on-premise installations? like atlassin products, gitlab etc? Are they all compiled apps?
You might want to look into making some kind of container like Docker where you can lock down access. Not sure if that's possible, but other than that yeah...you can compile it or use something like what Teresko mentioned.
people also suggested me running VMs with restricted access, but most people recommend against it. What do you think?
@Davy if your application has vulnerabilities, it's possible to expose the source code to the client unintentionally
@Davy That's similar to what I suggested with Docker.
16:36
@Davy I think you are solving the wrong problem to begin with
if your clients do not adhere to the contracts, then you should not have them as your clients
@tereško client can be "anonymous visitor"
I totally accept your recommendation of making stringent contracts.
but that doesn't really protect the source code from being copied or modified by someone
stop trying to solve wetware problems using software
we run a couple applications that were built by a consultant, and the code is encrypted
encrypted or obfuscated?
16:41
I wish to implement some licencing model, if the client can modify the source code, they can just remove the licencing module.
@Tiffany You could get at it if you wanted. At some point you have to decrypt to run it. They could obfuscate but that doesnt really do anything but make it harder...and you could still just make copies.
obfuscation is not really a solution, I believe.
THERE IS NO SOLUTION
@Davy Pretty much your only real option is to shift your business model to providing your functionality as a service.
@Allenph that is a very good alternative and we are considering it too. But some of clients are very strict about data security and they do not wish to have any of their sensitive data outside their network.
and I believe they have all rights to be protective of their sensitive data
16:44
Then you're SOL. Or you can design your service to not store state.
@Davy All of the PHP obfuscators simply pre-compile the PHP. There's nothing to stop them from de-compiling it.
@Machavity Yes I agree. And all node.js protectors just put the node exectuable and the project source code together in a bigger bundle. Anybody can just read out the strings very easily.
@tereško not sure, but worth noting that the code isn't PHP, it's PL/SQL.
I haven't tried to do anything with the code
anybody knows how atlassin is distributing on-premise solutions? are they all compiled versions?
why are you asking that shit in php chat room?
16:50
@tereško please be nice
why?
@tereško code of conduct ...
I am a newbie, I came here for help. If you can't help, that's understandable. but plese be polite.
atlassin does not do php
this is a php chat room
@Davy We've given you every option we know of for PHP. If you have additional questions, go to the language's room you're asking about. Better yet, cast a wider net and take the time to ask a question on Stack Overflow.
Of which there are many answers already so you'd probably be posting a dupe.
16:52
I understand, there are a million similar questions.
Okay well go read them.
but I did not find a reference of how big companies are offering their on-premise solutions without getting cracked
This is not the place to ask that question. If your question is not a duplicate, then go ask it on the main site.
some of them maybe in PHP, some of them may be in ASM. I really do not know.
@Davy using Java, C# or something
16:53
thank you all for your time
have a great day :)
the question of "how do I make my HTML safe from stealing" has not changed in 20 years
@tereško systemctl stop httpd
@Machavity Instructions unclear. Ran sudo rm -rf / --no-preserve-root.
no -f flag?
Good catch.
16:58
@Allenph Someone posted that as a trolling answer on some SE site and they had to delete it when someone actually ran it
Oh man. You know what? If you run that you kind of deserve it.
@tereško there's still the wider question of "writing secure web applications," which is a fair question to wonder about, but it does inevitably lead back to what you're pointing to with it being a wetware problem and not software
I'd like to remind people that ignoring people who are off-topic is a better strategy than being a dick to them.
tone-policing again .. ehh
17:24
@Gordon Fun-fact: I look just like that guy; spitting image.
@StatikStasis long hair?
@Tiffany Yes... beard. On top of head- not so much... particularly around the crown and front of scalp area.
But other than that it is a perfect match.
lol, going bald, eh?
@StatikStasis Ah, you're in the Danack hair club: facial hair down to your navel or your money back
!!uptime
17:35
404, uptime not found
@tereško do you get motion sickness from playing some games?
@samayo my mom would
I am sure most gamers feel nauseated playing games like spyro or bioshock
google it if you don't believe me
I bought bioshock a week ago and could not play it for 20 mins without trying to throw up
17:52
Naming is hard. Any suggestions for something better here?
enum _inheritance_status {
  NO_KNOWN_ERRORS = -1,
  CERTAINLY_AN_ERROR = 0,
  CERTAINLY_NO_ERRORS = 1,
};
I would go with _inheritatus
@LeviMorrison just remove "CERTAINLY_"
@samayo don't get VR... almost made my boyfriend sick from what he said, the first time he used his headset
@Tiffany that's a bad news. I have always been looking forward to buy one
@LeviMorrison EVERYTHING_IS_FINE_HERE_SITUATION_NORMAL_HOW_ARE_YOU
9
01:00 - 18:0018:00 - 00:00

« first day (2970 days earlier)      last day (2204 days later) »