« first day (2535 days earlier)      last day (2420 days later) » 
00:00 - 15:0015:00 - 00:00

Wes
3:10 PM
@PeeHaa do you know how to packagist-webhook for github organizations?
 
The same as for normal repos?
1 sec
Add packagist service, use your own username not the orgname and create the token
 
Wes
thanks. should i create a different account for an organization i don't plan to be the only in :B like, if other people joins, i don't want to handle their releases
 
evens v1.57.52.74645
 
Wes
also @PeeHaa when i do a release on github, do i create a branch, right? :\
or that's just a tag? should i create a branch for major and minor releases?
 
Under releases -> Draft a new release
 
Wes
3:24 PM
so i need to branch first, right?
otherwise it's only going to create a tag
 
mornis 11
 
Wes
\o
 
how come I dont get a wave at my evening
:(
\o
 
Wes
sorry o/
peehoo halp
 
@Wes if it's a normal repo where you'll release from master a tag should be enough
 
3:32 PM
^ that
Sorry @Wes was eating :)
 
Wes
right now i only have master, i want to release 1.0.0. i tag 1.0.0 on master. then say i want to tag 1.1 and have a separate branch for it... what would be the pattern?
 
@Wes you would probably merge 1.1 to master and tag it there
 
That's why I do
Also it's not called 1.1 but dev for me
 
@Wes unless you want to maintain multiple versions (i.e. php/php-src) where you would tag on the version branch
 
That's imo of limited usefulness for minors and projects following semver
ymmv ianal yolo
 
3:36 PM
:D
 
Anybody seen designated survivor?
My gut feeling says it should be good because jack bauer, but not sure
 
Wes
meh, one day i will get git
 
Or is kiefer still mostly being drunk all te time? :P
 
Wes
getgitgotguts
 
I think I know about 1% of git tbh :P
 
Wes
3:39 PM
that was way harder than i thought it would be lol
 
Just means you need to release more often :)
 
@JoeWatkins Hey dude, did redis in PHP lib ever get a close method for persistent connections?
 
Wes
i was waiting for thousands of stars by linking it here but you guys always disappoint me :(
:B
 
Where is it?
oh nvm
Not enough marquee
 
Wes
i'm actually more happy that i started that org where i can add all the random functions that i keep copying from project to project lol
 
3:50 PM
What is the performance impact. Is a cache warranted?
Don't want to be the one who introduced feature creep btw :P
 
Wes
i've benchmarked it. it's obviously slower than func_get_args but not that slow. the slowest thing is the substr()
 
k
 
@Wes nice lib, but the code style makes me wanna hide in a corner :P
 
Wes
the code style?
 
yeh, not sure which one you use
 
Wes
3:52 PM
i hate spaces if it's that what you mean
 
I can see that
 
Wes
i don't write if ( a === b ) {
( is a good enough separator for me lol
Use whatever brace style you prefer. But not this. Don't do this. Seek help instead of this. https://t.co/1EYb7BLHkb
 
Anonymous
does anyone know a faster file uploading software than rsync?
 
Anonymous
It's faster than any other software I have used, but maybe there is something faster out there
 
torrents
!!xy
 
3:56 PM
1148
Q: What is the XY problem?

GnomeWhat is the XY problem? When asking questions, how do I recognize when I'm falling into it? How do I avoid it? Return to FAQ index

 
Also !!toobroad|notenoughinfo
 
Anonymous
What's wrong with xy problem?
 
Anonymous
I'm looking for a better tool
 
Wes
i don't know why people is so obsessed with spaces. that code style was standard before hipsters decided they needed more spaces
 
Anonymous
Is there some new rule against asking for better tools now?
 
3:57 PM
After all this time you still have no idea how to ask a question
Kinda amazing tbh
 
Wes
check any book that is 10+ years old. they are all like that
 
better how? faster how? what are you doing? what is the use case? what is the current bottleneck?
@Wes I mostly just hate any style that is not a perfectly copy of "PeeHaa's sweet and perfect in anyway because that's how I write it code style"
 
Wes
lol @Ocramius twitter.com/Ocramius/status/911948119436353537 that is the second function i'm going to add to that org
function raise(Throwable $throwable){
    throw $throwable;
}
:D
it's gold
$qux = $foo->bar ?? raise(new Error());
 
Anonymous
@PeeHaa It's not just you. I'm also amazed
 
Anonymous
!!wotd
 
4:01 PM
wotd is diabled because they changed their structure
 
:(
 
Wes
@pmmaga feeling in the mood for a pr to php-src? :D
 
maybe... :P
for what?
 
@samayo a volvo filled with DVD-ROMs?
 
4:32 PM
@Danack I guess I'm late: announce userland session library
 
@Jeeves no problem, the code is nowhere near ready to be announced either \o/
 
ANNOUNCE IT
 
@Danack What game?
 
boooo
 
I'm working on it right now.....
 
4:33 PM
\o/
 
5:26 PM
umm... just a quick question :P
what gaming headphones do you generally use?
 
5:37 PM
oh keey ... looks like there will be another "Battle for Berkeley"
 
6:11 PM
a hand with my sidebar please
I can't drag down the scroll bar: big3bio.com
 
@PeeHaa Do you happen to have a link to the WordPress Uninstall Plugin?
Which simply runs unlink on everything?
 
Cheers
 
6:51 PM
I'm accustomed to having 16-24 cores for building software. Only having 4 is awful.
 
!!lxr stream_socket_enable_crypto
 
[ /ext/standard/streamsfuncs.c#1495 ] PHP_FUNCTION(stream_socket_enable_crypto)
 
 
1 hour later…
Anonymous
8:03 PM
@Danack Nah. Just 25 gigs of music
 
Hi :)
 
Anonymous
hi
 
so, guys .. I have a question
how do you handle the documentation of migration guides for breaking changes in a library?
 
Anonymous
8:18 PM
Just document it in the proper version. Your doc should have the same version as your library. Maybe a "deprecated" section on the doc that is breaking the change
 
the changes that I have in mind affect DB schema and the constructors of published services
 
Anonymous
Well, if your lib introduces breaking changes (and I assume that you are following semver) then if v2.0.0 breaks changes v1.* you should mirror your docs to show the breaking changes. So, you should have docs specific for 2.*
 
Anonymous
There you can indicate the deprecations or breaking changes
 
hmm ...
 
Stackoverflow makes it really hard to search about actual stack overflows :/
 
8:24 PM
I need to have a beer and think on it
@NikiC -site:stackoverflow.com
 
@tereško But stackoverflow is still the most likely place you'd find something...
 
for that the internal search will be more reliable
 
Anonymous
should be -site:stack*.*
 
btw, @samayo, were you the one who said that you dont like the taste of beer several years ago?
 
Anonymous
Yeah.
 
Anonymous
8:29 PM
I still don't.
 
Anonymous
No human likes the taste of beer
 
@NikiC use the search functionality of SO directly instead of via google?
 
@Ekin for the phone-number based authentication, how would the password recovery work?
do you have an sms gateway available?
 
@tereško yep we do. I could do otp via sms?
 
I was thinking more along the lines of "send generated pin code for verification"
 
8:44 PM
That also would do yeah
 
sending OTP via SMS is kinda tricky, since it might become an attack surface
it has to have a limited lifetime
as in - a lot more limited than what you would have for an emailed link
( would set a default somewhere between 20min and 3 hours)
 
Yeah, thinking now you are right
 
I have entity room with fields id and roomtype. and another entity reservation with fields id ,room_id(onetomany relation with room) and date. how can I make a choicetype of field roomtype and persist id in the room_id(reservation).
 
you are talking about symfony's form builder?
 
yes
 
8:58 PM
gimme a sec, I think I can pull up some old code where I need to do that
(I tend to avoid frameworks)
 
I have made form for the reservationType but I want to create a choicetype of entity Room of roomtype value and persists id into room_id
ok
I only use symfony and laravel
 
$formMapper->add('room_id', EntityType::class, [
    'class' => 'AppBundle\Entity\Room',
    'label' => 'Room',
    'property' => 'roomtype',
])
and you will need a foreign key to be defined in the Reservation entity
 
I have room_id as foreign key
 
then that code in the code for Reservation entity's form should do what you want
 
ok thanx
 
9:05 PM
basically, the trick is not to use ChoiceType
 
it gives me error property does not exist
 
oh, yeah .. sec
 
i am using $builder instead formMapper
 
@user8124685 you need to add a setter and getter for roomId in the entity
 
Yes I have
 
9:19 PM
what is the full error message?
 
The option "property" does not exist. Defined options are: "action", "allow_extra_fields", "attr", "auto_initialize", "block_name", "by_reference", "choice_attr", "choice_label", "choice_loader", "choice_name", "choice_translation_domain", "choice_value", "choices", "choices_as_values", "class", "compound", "constraints", "csrf_field_name",
it is to long to past
can I use property_path instead?
 
gimme a second to read about for formbuilder differs from formmapper
 
I changed to propert_pathit gives me error choice_label not exist I am not even using it
ooh ok
 
$builder->add('room_id', EntityType::class, array(
    'class' => 'AppBundle:Room',
    'choice_label' => function ($room) {
        return $room->getRoomType();
    }
));
maybe this
 
ok I will try
same error
 
9:38 PM
it cant be the same
 
it gives me choice_label does not exist
 
> The option "property" does not exist. Defined options are: "action", "allow_extra_fields", "attr", "auto_initialize", "block_name", "by_reference", "choice_attr", "choice_label", "choice_loader", "choice_name", "choice_translation_domain", "choice_value", "choices", "choices_as_values", "class", "compound", "constraints", "csrf_field_name",
 
I understand also in symfony documentation it said use choice_label
 
9:59 PM
I think I have that part but right now it is giving me some other errors
thanks alot
damn it is not saving huis_id it save as null
@tereško does that mean there is something wrong with entity relationship?
 
no idea
as I said above, I don't really use frameworks
and the form-builder part is a strictly framework-specific magic
 
ok thanx again for your help Iam now a step closer
 
10:27 PM
Apparently when doing make install on GCC it needs to compile some programs still... bleh.
I was doing some manual bootstrapping and deleted the compiler before running make install...
Hours of time lost...
 
invest in threadripper?
 
I've been waiting to see how things shake out in CoffeeLake in response to it.
I want AMD to succeed but I will do what's best for my $$ since I really don't use this very often. I mean, I have supercomputers at work, so typically my expensive computation stuff can be done there...
Maybe it is time I finally learn to cross-compile.
 
you mean CoffeeLakeX
.. well ... up till now the Intel's response has been resembling a headless chicken
oh, and the rumors in the HW community been circling that AMD might already have a higher core-count chip prepared, since the current version has 4 connected dies, which 8 cores in each, but two dies being "dummy dies"
which would mean, that they can start releasing a consumer grade 32 core (64 thread) variant, as a response to anything Intel does
.. though according to some way-smarter-than-me people doing de-lidding, there actually might be all 4 dies functioning, but each only having 4 enable cores ... which would be how AMD managed to lower the costs, since they only needed 4 dies per chip functional (or 3, for the cheaper version)
and yes ,.. I have been dipping in the "learn hardware shit" pool again
 
10:52 PM
@tereško Intel has great hardware. My only problem with it is cost, which is why I hope AMD is successful.
My brother bought a bit of their hardware and invested in their stocks right as everything was coming out.
He's been happy so far, which is a good sign.
 
@LeviMorrison not in this season: they fucked up the market
you need a Z board to unlock all the PCI lanes in skylakeX and coffielakeX chips
and those Z boards are enthusiast boards
 
My motherboard is 6 years old. As long as the boards are reliable and not too costly I wouldn't care since I need to upgrade anyway.
 
can't find the correct diagram
:(
 
@tereško Most up-to-date I could find: eteknix.com/intel-coffee-lake-specs-press-deck-revealed
Probably a better link: videocardz.com/72831/…
 
that's not what I am looking for
what I am looking for are CPU feature set per motherboard chipset
ah, wait, it was other way around
if you had an Z270 board and you put a i5 in it, you would not get thing's like quad-channel memory and all of the PCIE lanes enabled
 
Wes
11:32 PM
hello
 
Hello, I am galstaff.
4
 
Wes
ahaha
 
hello
@PeeHaa annnnd we won. both games!
 
00:00 - 15:0015:00 - 00:00

« first day (2535 days earlier)      last day (2420 days later) »