« first day (2796 days earlier)      last day (2149 days later) » 

12:32 AM
I'm cooking...for once...in like six months
 
 
1 hour later…
1:51 AM
Good mornin
 
Hey Linus.
 
o/
Happy tuesday all.
 
2:30 AM
Still closing down Monday here. =P
 
Windows absolute symbolic links created without drive letter. – #76460
 
3:17 AM
@NikiC I understand the issue and I think the regular path through the variance compatibility would handle it but will definitely bookmark the bug.
Well, depending on what ce a lookup on an alias returns :D
I've never done that so maybe it will take a small bit of code to resolve the alias, but shouldn't be too bad.
 
 
2 hours later…
5:05 AM
0
Q: Creating temp table in stored proc MYSQL

Ram SinghI have SQL SERVER experience. This is the first time when I am using MYSQL. I want to create a temporary table in Stored procedure. I am not sure what i am missing here. What I want to do is: Loop through events and then its matches and insert these matches into a temporary table and return the...

please help me
 
5:18 AM
Time to crash.
 
5:29 AM
Assume you have 50$ credit in a website. And you want to get that money in your master card. In this case you have a <what_word>_request ? Is retrive a proper word?
 
In accounting - if money is going back to your card it's called a credit. When your card is charged it's a debit.
If you're on the side of the business charging someone's card you debit cash and credit sales.
 
So is credit_request clear enough for this? "the user wants to get his money back in his bank card"
 
If you're trying to retrieve money out of an account like a bank you call it a withdrawal.
You would be crediting him then.
 
ah ok
thx
 
Crediting his card.
You're welcome. =)
 
5:40 AM
@Shafizadeh sounds more like a refund to me
 
That's it .. refund_request sounds good to me, thx
 
That's what a refund is, a credit.
 
@StatikStasis yeah, the concept is identical
 
Okay- Germany and Italy are up... I seriously need to quit thinking and go to sleep. =p -night guys.
 
5:53 AM
\o
 
6:05 AM
o/
 
6:46 AM
posted on June 12, 2018

New Cyanide and Happiness Comic

 
mornin
 
6:57 AM
@bwoebi That seems like altogether too much magic
That is, it gives callable special semantics it doesn't have elsewhere
 
moin
 
@DaveRandom Sounds weird, what's the usecase?
 
Morning
 
7:32 AM
@NikiC it does give it special semantics, but I don't see where that ever should be useless.
 
@Feeds :D
 
Is the medium.com a good place to write article about web development and around PHP?
Or maybe hackernoon.com? I think they're the same
 
look what a lousy article I found on medium! hackernoon.com/…
 
Yeas sometimes there are such things.
What is the purpose of claps in medium?
I can't find a description how actually it all works
There was something about getting benefit by writers... but nothing specific
 
I think they are like +1 on instagram
nothing more...
 
7:48 AM
medium.com/membership see When I read and clap for stories, can it influence how much writers get paid?
I also don't understand membership what does it mean I can read a limited amount of articles/stories per month?
They are all publicly available right?
Or am I missing something
 
When you sign up you can read the following : As a member, your $5/month goes toward funding the authors and publishers who write the member content you enjoy.
When you read and engage with a story published for members, you’re allocating more money for that author or publication, especially when you clap. At the end of the month, we’ll divvy up your contributions based on all your reading time, applause, and engagement from that period, and it will directly go to the writers and publishers of that content.
 
what's the poin of FILTER_SANITIZE_EMAIL?
 
morns
 
If I change an email address inserted by a user it will not work
 
@brzuchal When you upgrade, you’ll unlock all the stories published for members by top writers and leading experts on Medium. (When you read and clap for those stories as a member, part of your $5/month goes directly to that author.) You’ll also be able to listen to audio versions of hundreds of popular stories stories handpicked by our editors. And you’ll be able to save stories to your offline reading list and archive
Epical...
 
7:56 AM
What's the point of altering address entered by user with filter_var($email,FILTER_SANITIZE_EMAIL)? If provided e-mail address is invalid, it should be rejected, not blindly "fixed" by sanitization and validated afterwards.
 
@AtanvarCoslin Cool, now I get it thx
 
Then if I write an article for the members it won't get much audience then :(
 
blamestorming the process of assigning blame for an outcome or situation.
 
@brzuchal if you tell me your name on medium and write topics based on php I could also watch them
:)
 
8:00 AM
/me grumbles
 
Yeah ok I'll try then to scribe something, I've got the same name mostly :)
 
Wes
programming books everybody should read? spent 45 min yesterday in the dentists waiting room
 
/me is reading the pragmatic programmer and it's a good one
 
@Wes I envy you because you had some 'time' to use to read ..
:D
 
Wes
thanks ekin... got also code complete
bought also "unicode explained"... looks legit. i am infatuated with unicode for some reason. i am weird
it's 700 pages aha
 
8:09 AM
:-)
 
Wes
i'm never gonna read that :P 700 pages about unicode must be like the most boring thing ever
 
:-P
 
:P
 
Probably Yes
 
Wes
i had a quick look at the bidi algorithm... man that sounded like absolute nonsense
 
8:16 AM
@Wes you have all summer before you said ...
@Wes then if you read 6 pages a day you finish the book in 3,8 months
 
Wes
@LeviMorrison just the other day someone started a similar project... and i am doing more or less the same thing
well, hopefully i'm not actually spending all summer at the dentist
 
moin
 
hi there
 
I think I annoyed some people by stopping that vote ...
was I wrong ?
 
Wes
ah there's free books from the unicode consortium itself... also 600+ pages
 
8:25 AM
sorry but... I'm a little bit less nerd ... why not a nice manga? there are some really beautiful
then these are fancy...
 
Wes
i would rather punch all my teeth out of my face than reading a manga. but thanks for the suggestion :B
any good event sourcing book? @Ocramius @Patrick
 
ahahah
Would you give yourself a punch to have more time to read the manga from the dentist? no, well, I'm kidding (^ - ^)
 
Wes
also interested in web app security books, of which i know nothing (yes, that didn't stop me from making web apps)
still md5ing all the things here
 
this is a book that a professor of computer science advised me ... amazon.com/Internet-Security-Protection-Computer-Hacking-ebook/…
 
@JoeWatkins IMHO this was a good move, if somebody don't feel responsible to RFC and don't value others time should be simply slapped :D
 
8:44 AM
@tereško The deadline of my project ends in 5 days and still I need probably 2 weeks for finishing it .. Do you think is it better to I launch the project incomplete or pay the mulct?
 
I have no idea what "pay the mulct" even is
 
Morngins
 
here comes the sun
 
Undefined property: DateInterval::$f – #76462
 
Noted1: incomplete is in my opinion, all other people believe the MVP version is finished times ago.
Note2: mulct is a "financial penalty". It's about 50$ for each month delay.
@tereško
 
8:48 AM
If MVP is complete and functional then release it, add the changes in next build.
 
I cannot :-( ..! I like to make it adorable before launching
noted that it's close to be adorable :-)
 
@Shafizadeh Then you are missing the point of MVP.
 
@Shafizadeh well, if the only penalty is $50, then it is a drop in the ocean
 
@mega6382 I personally believe the point of MVP is finding a sponsor, well, I have it.
@tereško I guess the second part of your sentence been pasted by mistake, right? ... (ocean?)
 
@Shafizadeh Well I believe the point of MVP is whether someone is going to use your service or not.
 
8:52 AM
@Shafizadeh It's a way of saying that $ 50 are not so much money
or am I wrong?
 
it's basically what I spend in three or four days only on lunch
 
@mega6382 There are some similar services (much weaker than ours) here .. I want to be different (however I currently am, but I want to make the different bigger)
 
first impression is important
 
@AtanvarCoslin ah, so it is a term. thanks for the heads up
@tereško exactly .. that's all I'm trying to achieve.
 
@Shafizadeh Read the "Lean Startup" book. It will help you a lot with this.
 
8:55 AM
@mega6382 will take a look at it, thx
 
it would take him 2 months to read it
 
how many pages does it has? Also isn't there any translation?
lemme check it out ..
 
@Shafizadeh 300 something
 
oh .. it will take a while then
Also, which one?
- How many pages does it has?
- How many pages it has?
 
@Shafizadeh Not really, it took me about a couple of weeks to read it all.
 
8:56 AM
Ziggurat is for free on GOG: gog.com/game/ziggurat
 
@mega6382 You know English.
 
@Shafizadeh "How many pages does it have?"
 
ah, thx
 
hi, so the best way to learn the php programming is by watching the videos on how people do things? I've done like 12 months of edu so far (like reding the php.net) and this may not be the best way
 
\o/ @Gordon
 
8:59 AM
This reminds me of that movie, 50 first dates
Maybe that's what the ten fives stand for?
 
@Shafizadeh Its a really good book. It explains the importance of many points that a startup should keep in mind. It explains it all from example, of the author's own start up etc. You really should read it.
 
lol
 
@mega6382 ok, sure
 
@MadaraUchiha He is in C# room doing the same thing.
 
@mega6382 Avner is there, if he feels like it's getting out of hand, I trust him.
 
9:06 AM
Yeah, ok, I sent Avner a message anyway.
 
I'm in fibrillation ... at 13 my computer will update and I can write emoji! :-)
small joys of windows updates
 
9:27 AM
I hope you realize how pathetic it sounds
 
(._.')
yes ... I do not do it anymore
@Gordon OMG is a... maaan!!!(#o_o)
 
@Gordon I mean, the plating is nice and everything, but all the engineering is in the chips and wiring... so until we can 3d print those, then it's not really 3D printed (and so my enthusiasm is curbed)
It's like printing the fairings for my motorcycle and saying that the bike has been 3D printerd
 
@AtanvarCoslin if you want a woman, try realbotix. not open source, nor printable though.
 
9:33 AM
ahah : ) I could try... or ... I will try
first maybe I'll talk with my real girlfriend ...
@Gordon if you want i can print and then we share it (or she)
 
no thank you
 
ahah as you want..
you do not know what you're missing ............
 
Ayo \o
 
9:49 AM
o/
 
\o
 
o/
 
@StatikStasis Cool.Also using amp?
 
so hot.
 
@Danack right?
reminds me of Mars Attacks
 
9:59 AM
disturbing
eyesore
I'm not English and I can not think of other terms...
 
@AtanvarCoslin uncanny, as in "uncanny valley"
 
yes it makes the idea good
@Gordon Hey, if realbotix has that beautiful mouth ... I'll do a thought! Ha ha ha ha (-_-)
 
hello, everyone
i have some issue in wordpress gravity form
anyone that could guide me???
I have already created gravity form with product and price
but i don't display shopping cart items in step 5
i know that it have to be done by conditional shortcode and other .
[gravityforms action="conditional" merge_tag="{Product:57}" condition="greater_than" value="0"]
How should i do for displaying product that quantity is greater than zero.
 
10:20 AM
@Jincowboy just fyi, there aren't many/any regulars who know a lot about wp, you'd likely do better going to a more wp-specific place like wordpress.stackexchange.com (although there don't seem to be any active chats there)
 
i have already checked
but there is no
and have question limited
@DaveRandom
 
I vaguely remember that there's a pretty active IRC channel on freenode
 
@NikiC the specific case is "integer which matches any number with a zero fractional part" datatracker.ietf.org/doc/draft-handrews-json-schema-validation/… sec 6.1.1, but just generally I think it makes sense because JSON itself only specifies "number" rather than distinguishing between ints and fractionals, so it doesn't really make sense wrt interop to distinguish between them using inferred additional semantics.
 
10:27 AM
@AtanvarCoslin
no
 
on the 5: checkout..
 
@AtanvarCoslin
yeah
in shopping cart section
 
ok... I've see... on the box there is nothing written ...
only gray
 
yeah, so do you have experienced with gravity form?
 
see my profile photo? it's now as I am now ...
@Jincowboy I'm really sorry but I don't think I can help you... :(
 
@AtanvarCoslin
No Problem
 
really sorry... good luck
I keep working to be
@PeeHaa Really? haha
 
Yep. That's how it all went down
 
there was more name-calling though, and Make PHP Great Again hats
 
10:51 AM
I dislike humans, and all of you, as humans, are to blame ...
 
@JoeWatkins but have you ever gone through the CAPTCHA test?
:~)
 
@JoeWatkins silence human
 
@DaveRandom Why do you want that?
 
28 mins ago, by DaveRandom
@NikiC the specific case is "integer which matches any number with a zero fractional part" https://datatracker.ietf.org/doc/draft-handrews-json-schema-validation/?include_‌​text=1 sec 6.1.1, but just generally I think it makes sense because JSON itself only specifies "number" rather than distinguishing between ints and fractionals, so it doesn't really make sense wrt interop to distinguish between them using inferred additional semantics.
 
k
 
10:57 AM
what I would actually like is something like github.com/DaveRandom/JOM tbh
 
Any js fixers will also just do number I guess
 
maybe some sort of middle ground between that and PHP magical loosey-goosey data structures
 
As in the likes of typescript
 
afaik ECMA explicitly specifies that numbers are IEEE754 doubles
 
k
 
10:58 AM
or it may just be that that is how everyone implements them
regardless, there is no set of json_decode() options that enables you to be 100% about the original serialized representation from the resulting parsed value, there are edge cases with every combination
 
Yeah guess so
 
specifically the difference between [1,2] and {"0":"1","1":"2"} may matter in some contexts, and if you don't use JSON_OBJECT_AS_ARRAY then props that start with \u0000 will error
on balance the latter likely matters a lot less
but still, it's an edge case that prevents truly reliable generic solutions
 
I'm updating directory A. However, the directory might still be in use by another process (read only). So I'm downloading the content into another directory B and then renaming the two. What happens if a process is reading the directory and I'm trying to rename it?
 
and the fact that numbers are coerced to numeric types is a real issue wrt json schema, something as trivial as validating an int is actually difficult and not 100% reliable
 
@someone Read about atomicity and actual locks
@DaveRandom yeah sucks
 
11:04 AM
last I looked json schema was kind of a shitshow
 
s/schema//
I do not understand what is wrong with xsd, for the specific problem it is trying to solve
nevertheless, I suspect it's not going anywhere and the existing PHP tooling is all shit (that I have found)
and if it really must be a thing, PHP deserves decent tooling for it
 
btw your proposal has missed edge cases too.. e.g. numbers larger than int max
 
@DaveRandom soap ruined it
 
@PaulCrovella sure, and tbh I'm rapidly concluding that I'm going to need to write a JSON parser if I want to be 100% edge-case free, but regardless of my specific need I still think it makes sense for it to exist
@PeeHaa ...and yet JSON schema is charging head-first into all the same mistakes, only this time with the added dimension of a serialization format with almost no semantic restrictions \o/
 
Yep
 
11:14 AM
@DaveRandom with jsonreader I decided on an option to return anything that'd normally be cast to float as the original string
 
the single biggest mistake with SOAP was the attempt to make it transport-agnostic, without that layer it would have been simple to define the HTTP transaction semantics and message structure and everything would be fairly simple and actually interoperable
also xsd 1.0 was somewhat inadequate
@PaulCrovella I need something that just emits a token stream I think
since I am creating an object model where the data type is unambiguously represented by the node class
 
it does handle decoding escape sequences in strings, but other than that leaves shit untouched
 
@DaveRandom #fixme A DOM-like API for working for JSON
 
way ahead of you buddy :-P
 
@DaveRandom nope. you only fixed in the readme. its still wrong in the repo description
 
11:20 AM
oh I see
right yes
ty
 
yw
 
@PaulCrovella tnx, I think I can work with this, although I am going to have to refactor the shit out of that class in order to understand it, but I assume that a lot of the stuff I dislike about it is for perf reasons (i.e. bajillion-line methods and dangerous-looking references :-P)
 
good lunch!
 
@PeeHaa I remember that composer did a similar thing. I think it creates a .staging directory. I read about flock but I'm not sure how would that work. I'm using PHP's rename function.
 
Is this for deployment?
 
11:24 AM
@tereško look at thiss 😂
 
@DaveRandom github.com/pcrov/JsonReader/blob/master/src/Parser/… is probably more useful, actually (if you care about the json actually being valid).. and yeah, basically everything you're gonna hate is for performance
 
yea something very similar to deployment
 
aaand there is a new user in the tiny-avatar list
 
@someone @PeeHaa ln -sf eliminates a lot of these problems at a stroke, btw
 
That
 
11:25 AM
open handles are unaffected because you are just updating inodes
 
Also warm up your cache before doing that
 
@tereško nooo 🤣🤣 ok I've finish
 
@DaveRandom all of you people, as far as I know are just imaginary ... I call you humans ... the evidence - I experience life in a seemingly non-temporal, broken sequence - leads me to believe that I may be simulating you, and the simulation software is extremely buggy ...
 
@PaulCrovella sure, lexers and parsers are the only place I will use goto and not feel bad about it :-P
 
the lexer will be a little prettier if I ever getting back around to adding partial match support to php's pcre
 
11:32 AM
@JoeWatkins actually that's mostly just evidence that you may have had at least one too many joints during the course of your life, as evidence for that I cite my similar subjective experiences
 
hey, I started to write a pure php lexer and parser generator ... don't know where it's going ....
I hate that I have to resort to regex or str[i]pos/substr whenever I want to parse something ... which is quite frequently ...
@DaveRandom could be true ... but if you keep making good points that are contrary to mine, I'll just switch you off ...
 
@bwoebi Not saying it's useless, just that it's better to forbid than give inconsistent semantics
 
didn't anthony port some parser generator to php?
 
11:44 AM
that's the one
 
recently became aware of that, still the code is ... not very nice, because it's a port ...
 
Wes
\o
 

« first day (2796 days earlier)      last day (2149 days later) »