« first day (3237 days earlier)      last day (1717 days later) » 
05:00 - 16:0016:00 - 00:00

5:50 AM
Good morning
 
posted on August 27, 2019

 
6:24 AM
@Danack wow, that was sudden ... did a bad thing happen ?
 
7:20 AM
morns
 
7:40 AM
morning
 
Good morning
@NikiC could you help me with PHP internal structures, I want to get an access to function arguments, but without macros/functions, this should be somewhere in EG, right?
 
@lisachenko You'll have to replicate these macros: github.com/php/php-src/blob/master/Zend/…
 
@NikiC Oh, cool ) Macros-driven development )) Thanks!
PHP has so many indirect constructions inside. Tons of macroses, it's like not a C language at all...
C++ ZEND edition )
 
well ... the same is true for a lot of c based projects, apache modules, kernel modules, nginx modules, they all look like their own flavour of C ...
 
7:50 AM
@JoeWatkins this link is very helpful. Awesome
@JoeWatkins it is ok to have macroses to wrap platform-dependent code and structures, but for PHP macroses just like typical functions, however inline function will be easy to understand...
 
a lot of the time they are wrapping the sort of details we want to hide, or have the [pseudo] freedom to change ... there are a lot of them, but they are mostly quite sensible, and there wouldn't be less to remember if they were functions anyway ...
 
mornings
 
desuetude discontinuance from use or exercise : disuse
 
@JoeWatkins (though it would help with making a distinction "this is magic" vs. "this just operates on its inputs"
 
9:00 AM
PEAR installation failure – #78460
 
moin
 
Multiple warning while PEAR installation – #78461
 
9:32 AM
@NikiC Can we please raise undef variable to warning in PHP 7.4 to give it more visibility before PHP 8 then? (I know it's late, but...)
 
@bwoebi It's pretty late...
Register an error handler if you care
 
for my own code I anyway show notices ...
@NikiC I know of at least some code which installs an error handler to just continue with NAN (because its just for display and does not matter) ... Not sure about forcing an exception onto it. No way to disable it then :-/
 
@bwoebi I'd be against that now.
 
@bwoebi I've seen so many complaints about this particular warning -- I'd be inclined to say that if you don't want it, write a function to do a safe division
That seems much better than registering an error handler and suppressing a warning in there
The behavioral difference between % and / is what really gets people here. We know why they behave differently, but you need to be something of an expert to appreciate that.
 
9:50 AM
@NikiC It never annoyed me because I use % much more rarely than simple / ...
@NikiC yeah, the point is to have it just work - for most of my display logic I don't want to have to think "ah I may need a special clusmy division functor here"
 
Hm okay, maybe I will split that into a separate vote then
 
e.g. you test on some data, display averages and such as string. Nothing happens in the case the dataset is empty on production, just a few NANs, no problem.
this is for me quite a candidate where namespace declares would be helpful, just allow / 0 = NAN in views namespace and error otehrwise
 
10:35 AM
Morning all
@NikiC re: imageloadfont, and errors, isn't passing a non-existent or corrupted font file entirely dependent on the programmer to fix?
 
@MarkRandall to handle
 
So leave as a mixed return type + write to the error log (leave as is), or use an spl runtime exception? My thinking is, if the return type isn't checked, everything after that uses it will fail, probably with a TypeError at which point the reason for that failure may be out of scope.
 
11:40 AM
Wrong return type for ArrayIterator::unserialize – #78462
 
11:56 AM
@Danack Tweet it and I'll retweet
 
@Jimbo Cool, thanks. Will do. Do you happen to know any US recruiters btw?
 
@Danack Nope, why you thinking of going to trump land?
 
er....US recruiters looking for remote people. More based on the exchange rate changes than anything else...
 
@Danack i am totally looking for a C developer for tideways :-)
 
@beberlei go away. I asked him first ;)
 
12:00 PM
UK contracting to US is verrrry profitable right now for sure
 
@beberlei I'll ping you on linked in.
 
thtat sounds like the digital version of you don't need to call us, we call you ;-)
 
Wrong return type for some Ev methods – #78463
 
Oooo I just saw the RFC for language errors, niceeeeeeee
Progress is being made \o/
 
@Danack I'm also interested in remote eventually. Min 100k and I'm game
 
12:06 PM
@beberlei nah, it just means that discussing personal stuff is easier there than here.
 
@Danack i know :-)
i sent you a contact ping
 
@Danack why is it, that people that viewed your profile also viewed the profile of Robbie Willams?
 
@Gordon people looking for "Dan Aykroyd" probably....
 
@nikic Seems good to me, I've made a gist for the ones where you put ??? with my opinion on those
https://gist.github.com/Girgias/3518e49e3bb9f3421000bade991b8a5d
 
12:25 PM
Abstract may not or cannot be instantiated? – #78464
 
I'm finding myself rather confused now as to what should be an error and what should be left as warnings.
@Girgias what are you using as your rulebook for which is which?
 
Honestly? A lot of gut feeling. For the ones about references as I don't really use them myself I'm not pretty unsure of them. Ones where a wrong type is used, those are for me Error Exceptions.
I've also wrote this a bit as a "hot take" so it's all up to debate
And I'm just saw that I'm not consistent with the handling of "numeric" strings
 
Ah, I was meaning with rgeards to the elevating errors PR's you're making.
 
Oh
Type Errors, Recursion, Invalid modes and Empty arguments
 
Invalid modes?
 
12:35 PM
A don't think I have an example under my hand atm
 
hmmm
 
Morning
 
Morning
 
Morning
 
@Girgias I'm not sure if it would be possible, but I think there's a reasonable chance the work you're doing to provide exceptions would have a greater chance of being used at some point, possibly not in the precise RFC you're writing, if it was written in a way that only adds the appropriate exception info now, rather than adding that info and removing the info about the current warning.
Possibly setting up a new macro would allow that.
 
12:52 PM
But I'm not writing an RFC atm, so I'm not exactly sure what you are referring too? My gist to reply to Nikita's draft RFC?
 
Personally I'm of the opinion that falsy error conditions suck really rather badly, but short of the upgrade errors declare I'm not sure how to go about that
 
Or are you talking about the declare statement thing?
Because for that one I think I'll try to introduce IO Exceptions and similar ones
 
@Girgias so this:
-php_error_docref(NULL, E_WARNING, "Invalid extract type");
+zend_throw_error(NULL, "Invalid extract type");
loses the information that the E_WARNING is the warning that should be generated.
 
Ahhhhhh
 
whereas something like:
ERRORRFC_error_handler(NULL, E_WARNING, "Invalid extract type", NULL, "Invalid extract type");
i.e. just adding the info about the exception keeps that info, and allows whatever is implemented in the 'error rfc' to figure out what to do with it.
 
12:55 PM
I see, yeah that does make sense
 
Could use a var in the existing php_error_docref to elevate exceptions via the existing API if its warning or above?
 
And then depending on how the conversation goes, we can then search replace if we no longer need that info.
 
That would be equivalent to registering an error handling that throws
The main issue I see with ERRORRFC_error_handler would be we would still need the mixed return types for it @Danack
 
cmb
Dan's idea is that ERRORRFC_error_handler is temporary, and replace after we have decided how to go about it.
 
is there any way in PHP to extract encryption type of .cert file?
 
1:02 PM
Which possibly might take more than a single version, so that people can run their code on a single version in different 'modes'.
 
@cmb Sure, but after that error line almost invariably comes a RETURN_FALSE;
 
cmb
yep; just leave it for now :)
 
or wrap it ERRORRFC_return(RETURN_FALSE);
 
Hmmm, that would work.
 
/Macros all the way down....
 
1:05 PM
I'd probably skip the RETURN_FALSE bit entirely and go RETURN_ON_FAILURE_CONDITION and have it RETVAL_FALSE only if it was operating in ye-olden-mode
 
Keep in mind that there are two things: Conversion to Error, which we do unconditionally, and opt-in conversion to Exception, which is what github.com/php/php-src/pull/4549 does.
 
I'm happy to commit time to both, although I seek guidance on what constitutes an unconditional programming failure
 
@MarkRandall The easy ones are: Invalid type, invalid enum value and "must be positive / non-negative / non-empty" Those are pretty safe bets
Conversely, anything filesystem related definitely is not programming failure
 
The has ones for example, I throw if the hash algorithm isn't known, or isn't cryptographic. Those would seem to be enum based ones, but it's based on what algos are available
*the hash one
 
@NikiC forget that stuff I said about docker last night. Just symlinking the php src directory into a directory that has a docker compose setup for compiling stuff is a lot easier that farting around with build contexts.
 
1:19 PM
actually I am looking for PHP function which will extract above mentioned information for me.. is there any such function?
 
@Exception What above mentioned information?
Ah the .cert file, sorry
 
Yes
 
Have you looked at openssl_x509_parse ?
 
Yep .. still no luck..
it is not even printing certificate's start and end date properly..
 
1:43 PM
does anyone have any clue how I can progress in debugging bugs.php.net/bug.php?id=78405 ?
^ I have ~ 30k of those exploding FPM childs daily which is pretty insane
 
1:58 PM
@Sjon best step, try and get Joe interested in the problem...
Are you seeing any actual problem on the website? i.e. any noticeably incomplete responses?
(which might be detectable if you're setting a content-length header and then not sending the appropriate amount of data, I think nginx might log that).
Or is it just the logs that are spammed?
 
@Danack nginx frequently logs (Connection reset by peer) while reading response header from upstream - I'm pretty sure those two are related
@Danack I'm pretty sure @JoeWatkins will just tell me problems with FPM are to be expected :P
 
segfault?
 
@sjon this is really at or just beyond my skill level, what that looks like is that the child phpfpm process is sending the response, then sending what it thinks is some CGI command (which could be, hello I am ready for the next request). But the master PHPFPM process thinks there is still some data to be sent.
I can't remember the details, but I was investigating a similar problem before, and gave up on what would have been the next step:
write(4, "\1\6\0\1\v\200\0\0html>"..., 2968)
read(4, "\1\5\0\1\0\0\0\0", 8)
 
@Danack yeah - my next step is diving into the fastcgi spec
 
yeah.....
 
2:06 PM
@lisachenko nah, it's SIGTERM after being killed by the master
 
finding something that can convert from those two strings to understandable stuff would be my recommendation.
 
o/.
 
@Danack maybe you can trace it with my low-level FCGI library? github.com/lisachenko/protocol-fcgi
 
@lisachenko thanks that's a nice reference
 
It can communicate with FPM/Nginx as client-server, nothing more
 
2:08 PM
@lisachenko Well Sjon can.....does that have function they can use to 'decrypt' those CGI strings?
 
the problem there is clear
there is a race on the state of the process ... that must be true ...
it's not so simple to just look at that myself, and I think I saw this before ... possibly this very bug report ?
the process must be idle for there to be no request/script set, and you say strace shows you that, well fpm doesn't know, so there's a race condition very obviously causing this behaviour ... but I've no idea how to reproduce it and I super hate fpm ...
 
7 mins ago, by Sjon
@Danack nginx frequently logs (Connection reset by peer) while reading response header from upstream - I'm pretty sure those two are related
 
@JoeWatkins very likely. Thanks for the pointer - I'll continue "storming the castle" :P
 
I mean it might be, but have you ever used fpm ?
these kinds of logs are just NFPM - normal for fpm ...
 
there used to be a time when FPM worked better and didn't have this issue.
 
2:12 PM
it's really a pile of crap you know, one companies attempt to solve their problem scaling, who knows if it was really required ...
and now it's badly maintained, it behaves strangely, there's almost no knowledge about it (because it's overly complicated and too hard to read)
 
@Sjon if you haven't, also try 7.3.9
 
At this point is there anyone who doesn't use FPM other than on IIS?
 
FPM << spawn_fcgi. It's a shame that spawn_fcgi only shipped with lighttpd
 
Seems to be the de-facto mechanism even on Apache
 
A thing was fixed there
 
2:14 PM
I don't think it's use is anything to do with it being superior to the apache module (or any other method of deploying the interpreter itself), but rather to do with configuration and the move away from apache in general ...
fpm can't magically make php any faster, no sapi can ...
 
@Sjon yes. it doesn't look entirely related but also not entirely unrelated ^^
 
@NikiC you're right. I'm gonna give it a shot
 
Is it still possible to improve FFI before final 7.4 release or not?
 
Morgins
@lisachenko Why do you need it in 7.4.0? Instead of in e.g. 7.4.1?\
 
2:29 PM
Pointer support in FFI is so unclear and tricky, even unpredictable. And I'm only trying to increment a pointer by one byte to next offset
@PeeHaa it would be BC break then
 
It's experimental for a reason
 
@lisachenko you need to do a bit of casting to get that done
 
My thoughts after several weeks with FFI
@ircmaxell yeah )) to "char *" and back
instead of simple pointer increment/decrement
 
> PHP tries to perform magic in background (checking structure size), which leads to strange behaviour with pointers during increment/decrement.
This is how pointers work...
p+1 is p+sizeof(*p)
In literally every language that has a pointer concept :)
 
@NikiC yes, but it's only on C side with raw structures.
 
2:35 PM
@lisachenko I disagree with that, it's pretty fundamental to pointer arithmetic that +1 is actually +1*sizeof
> Map C types on PHP classes
that's why I built FFIMe
(well, one reason)
> Proposal here is to remove an ability to work with fields, containg pointers to structures without explicit dereferencing:
 
@ircmaxell so, pointers in CData type should respect that? But we don't have an access to raw memory
@ircmaxell it is most unpleasant one in FFI at the moment...
 
Well, I think it's because in C there are two operators (struct.field and struct->field). While it's not obvious which it is doing, is there a case for separating them so you can't? Meaning, if it's a pointer, dereference first, if not, just access the field?
@lisachenko Why? I don't understand that...
 
Me neither
 
@lisachenko sure you do. That's what FFI gives you, raw access to memory
 
Imagine that you have a structure with some field, containing pointer to another one collection of structures. In FFI you want to replace this collection with another one, by copying address to this field
I have tried a lot of combinations of casting, FFI::addr and memcpy before make it working...
 
2:42 PM
struct Foo {
    char * bar;
}
FFI::addr($foo->bar); // that isn't what you want?
I'm not defending FFI, there's a TON of dark corners there. Everyone knows how much I've cursed it out
 
> //$structures[0] = $pointer; // This works as expected, but if we want to use memcpy, then segfault
huh?
 
What's wrong?
 
I don't get the second part
does it work? or does it segfault?
 
2:47 PM
ah, see next lines
 
but why wouldn't you just use that?
and each of those memcpy lines is incorrect C code (just without a compiler to tell you that).
 
Structure is a pointer isn't it, for most of those aren't you trying to get a pointer to a pointer?
 
If collection is big enough and I want to exclude one item in the middle, then I should allocate a buffer and copy-paste first part and second part into new collection
 
//FFI::memcpy($structures, $pointer, FFI::sizeof($pointer)); // Nope, segmentation fault
somestruct value = {whatever};
somestruct* pointer = &value;
somestruct*[2] structures;
memcpy(structures, pointer, sizeof(pointer)); // <-- wrong, since you're copying the value inside of pointer rather than the pointer itself
 
$structures is array of pointers to structs.
 
2:51 PM
@lisachenko but you're still copying one item at a time?
 
It's for example here
 
I think the problem is you don't have a type checker
that's what I generated with FFIMe so that you get real errors rather than arbitrary segfaults
since I started using that generated API, I've not encountered a single segfault due to FFI logic
 
FFIme supports macroses?
 
@lisachenko can you elaborate on what you mean?
 
Eg. if we give PHP headers to it?
 
2:54 PM
It does full preprocessor expansion
 
the plural form of the word macro is macros ...
 
@JoeWatkins Sorry ))
 
I just saw it earlier too and thought it was a typo ... no need to apologize, we're all learning something :)
 
there are a few bugs in the parser (specifically github.com/ircmaxell/php-c-parser/issues/6 )
but overall it works pretty well. Enough to parse LLVM and glibc headers (though glibc dfails on Ubuntu 18.04 due to the ternary parsing issue)
 
How is execute_data->call different than execute_data? ->call is the context that called execute_data?
 
2:55 PM
@ircmaxell Huh, I didn't realize you can use a ternary in preprocessor
 
ex is current frame, call is the call the current frame is about to make, soon to be the current frame
 
Thanks.
 
@NikiC it's basically #if IS_MACOS ? SOMEMACOSMACRO(whatever) : IS_WINDOWS ? SOMEWINDOWSDEFINE : SOMELINUXDEFINE
 
@LeviMorrison and call can have meaningful prev_execute_data when nesting function calls
 
And yeah, it's a pain in the ass, since you need to parse the line into an AST, but you can't do that ahead of time because macro expansion happens on the token stream
 
2:57 PM
@ircmaxell can it work with structures like this: github.com/php/php-src/blob/master/Zend/zend_compile.h#L63-L76
?
 
@lisachenko that's really easy, yes.
 
@ircmaxell ugh
 
Ok, perfect, will give a try for FFIMe )
 
That sounds terrible
 
so my first approach was to try to execute the token stream directly
but then I discovered support for ternary, which throws that idea out the window
and I haven't felt like building a formal parser
@lisachenko I have no idea if there's a dark corner of macros in PHP that I didn't find yet, but it works on "sane" large libraries
 
2:59 PM
@ircmaxell why though? Can't you still do the macro expansion on token stream first and then parse the ternary?
Assuming the macro expansion is non-erroring?
Or can one side of the ternary actually produce garbage if it's not taken?
 
@NikiC yes, but the parser would need to understand precedence
@NikiC I don't know, I doubt it honestly... It shouldn't be that hard to do, but I just didn't get around to it
 
it'd be cool if you could add the libui header (or whatever it requires) to a milestone ... it looks like someone else is already on it, but I intended to move on that if no-one else did when 7.4 became widely deployed ...
 
github.com/ircmaxell/php-c-parser/blob/master/lib/… <-- that's used in the context of #if WHATEVER (basically any place there's an expansion that needs to be evaluated to a value that isn't just a "lookup"
 
there's a few other single header projects that might be interesting test arenas for ffime
 
single header? they don't bring in any of stdlib?
 
3:04 PM
oh I'm not sure
github.com/vurtun/nuklear that one springs to mind, there are others ...
they just tend to be the sort of places that want to use tricks to get everything into one file in a sensible order, so seem like good tests for ffime maybe ...
I've not actually used nuklear, just read it a few times ...
 
#ifdef NK_INCLUDE_DEFAULT_ALLOCATOR
#include <stdlib.h> /* malloc, free */
#endif
#ifdef NK_INCLUDE_STANDARD_IO
#include <stdio.h> /* fopen, fclose,... */
#endif
#ifdef NK_INCLUDE_STANDARD_VARARGS
#include <stdarg.h> /* valist, va_start, va_end, ... */
#endif
#ifndef NK_ASSERT
#include <assert.h>
#define NK_ASSERT(expr) assert(expr)
#endif
 
though those should work unless you hit that ternary issue
header resolution actually works quite well with FFIMe in general
I got it parsing all of LLVM and glibc, except for the one issue on 18.04 (works great on 17.04)
 
nice
I'm itching to do something with it (ffime), but have about 10 projects on at the moment ... was going to be the libui thing, guess I'll think of something else ...
 
the only two things that it really needs work on to be "production" ready, are better work on resolving the object file path dynamically (needed for portability), and the parser fix to enable support for complex types
 
3:09 PM
and a bottle of chloroform ... oh and balaclavas, a black van, torches .... will all be needed for the raid on the datacenter that is going to deploy ffi to production ...
no but ... I am scared of ffi ...
 
Oh, and pragma support (specifically warning, error, and once)
@JoeWatkins that's why I used quotes around "production" :P
 
how many agencies do you think are listening right now ?
haha ...
someone will eventually do it, and they'll blog about it, and that will give me confidence, but I'm not going to be anything like the first person to load it on a public facing thing ...
 
I think for any non-trivial usage FFI is going to be way too slow for interactive web usages
 
we haven't even got preloading right, nor can we reliably optimize the code that we produce ...
 
with preloading, I guess it could be fast enough, the huge overhead is in linking (and symbol extraction, etc)
once it's linked, it's not terrible as long as you aren't calling into it in a hot loop
 
3:13 PM
oh I hadn't even considered someone might use it without preloading, I thought that was the thing that made it acceptable to deploy
 
yeah, very likely
Well if anyone wants to take a stab at the parser issue, let me know and I'll grant contributor access to FFIMe/PHP-C-Parser (hint hint @NikiC or @lisachenko or @JoeWatkins (or anyone else really who wants to take a stab)
 
putting this power and authority over the system into the hands of the kind of people that came up with things like wordpress seems like the worst decision we ever made ...
 
so maybe throw FFIMe away, and keep it hard?
 
I think it's great fun, you obviously like it, but we can go and find it, we can build it, and we know how to deploy it, if it should be deployed ... it didn't need to be dumped in php-src for the whole world to able to abuse ...
 
@JoeWatkins ))
 
3:16 PM
no definitely not, it's here now and we need to make it acceptable somehow, ffime is preferable to a bunch of api revisions at the ext level, it's good stuff ...
 
it was fun too :)
 
Time of PHP extensions is coming... )
 
yeah of course, I can just separate my personal interest from the interest of millions of developers who have no fucking idea how to use this ...
but will try, whatever ...
 
The biggest thing gist.github.com/lisachenko/c9cd3d3fdccb025a1b7de046febffcee proves is that you really need to know C well to be able to use FFI in its current form
 
@ircmaxell Sure, I'm trying to remember my C skills, but it's still pain for me...
So, sometimes I will ask stupid questions or propose strange things )
 
3:23 PM
@lisachenko Oh, and you know C. But 99% of PHP devs don't. And if you are having that trouble, imagine when "regular" php devs try...
 
I feel the smell of opcodes and close to write bytecode weaver that will work with method opcodes directly like AspectJ does...
@ircmaxell they will just use ready libraries for them, like PHP extensions...
 
I still think you're crazy for that ;)
 
@NikiC thanks for the pointer, I included that patch in 7.3.8 but unfortunately it doesn't help #FYI
 
cmb
3:35 PM
Did anybody try FFI classic C funcs (without prototype) with non standard call conventions?
It seems to me this is likely to segfault.
 
@Sjon is this only the sort of thing you are seeing in logs, or do some machines behave like that long enough to possibly get access to the process as it is behaving strangely ?
 
@Sjon thanks for checking ... was a long shot ^^
 
I hate when it rains... ready to go home and play video games when it is raining.
 
It's far too warm in the UK. I wanted to break out the BBQ but my neighbours have their washing out
 
what's temp in uk ?
 
3:43 PM
28c at the moment, 33 over the weekend
 
@MarkRandall You cannot bbq if they have clothes hanging out?
 
he's British
 
@StatikStasis on the contrary, that's the best time to BBQ, it enhances the scent of the clothing
 
@StatikStasis it's considered impolite to make a neighbours clothes smell of bbq smoke
 
@ircmaxell lol
@MarkRandall I know you guys do not have AC units in your homes but what about washer and dryers?
 
3:44 PM
they heat their houses, almost year round
 
But 28°C is nice
 
summer lasts about 6 weeks, tops, the rest of the time it doesn't make sense to warm a house, with radiators (which can hold washing) and run driers ...
although we still had one and used it all the time, but that's down to terrible organization, most people thought it was crazy to run it ... they are super expensive to use ...
 
Yes we have washers and dryers. Most people have developed past scrubbing their clothes on a washboard :P
28c is, as we say in Yorkshire, too bloody hot for an Englishman.
 
@ircmaxell PHPCParser complains about stddef.h, is it expected? AFAIK, stddef should be provided by concrete compiler, isn't it?
 
lol- I was just curious since you mentioned them having their clothes hanging out. I wasn't sure if the use of energy through dryers was frowned upon now for sustainability reasons.@MarkRandall
 
3:46 PM
@MarkRandall it's that temperature at night here ... takes some serious adjustment ...
 
@lisachenko define "complains", that it cannot find?
 
yes
Fatal error: Uncaught LogicException: Could not find header file: stddef.h given context /usr/include (called from /usr/include/stdlib.h)
 
@StatikStasis Nah, but people with gardens can often fit more on a line than they can in a dryer, and it's cheaper of course, but during winter and spring most people use dryers.
 
That makes sense.
 
People on the very low end of the income scale sometimes use indoor drying racks
 
3:48 PM
@lisachenko can you try a locate on it? I thought that was included in a normal gcc install
 
0
Q: Where is stddef.h defined in Linux?

Evan CarrollIf I want to find the values of stddef.h, where is it defined? The /usr/include/linux/stddef.h almost has nothing, /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ #ifndef __always_inline #define __always_inline __inline__ #endif Specifically, I wanted to see how size_t is define...

 
the spanish loves their pharmacies, a staple of the health system they are numerous and very visible, lots of them have digital thermometers as part of their shop display ... our neighbour sent a screenshot to my wife at about 3pm the other day, it read 45 degrees ... it felt hostile to life outside ...
 
@JoeWatkins Same way in Dominican Republic.
 
I work from home and domestic houses don't tend to have AC as a matter of course, so I've been dying faster than my unit tests this past week. Might have to invest in a portable AC unit
 
It's the same in France
 
3:50 PM
I can but almost anything over the counter in DR that I have to have a doctor visit and a prescription for in the US... not that I take advantage of that... I don't take much medicine.
 
@lisachenko except that there is a header on your system called stddef.h. It's not in /usr/include, but it's somewhere. Can you try to find it (maybe the search path needs to be expanded)
also, which OS are you on (and which version)?
 
@ircmaxell there is file /usr/include/linux/stddef.h
 
@MarkRandall I thought because of the temps there you guys did not need them. If you ever come to the US you will realize why we spend so much money on energy for them in our homes.
 
@ircmaxell it's Ubuntu x64
 
It was 43 C here the other day.
 
3:51 PM
@lisachenko which version?
 
@ircmaxell uname -r reports 4.4.0
 
for a couple of weeks, a little ac unit makes sense in the uk, I had one in home office and was glad it was there when I used it ... but it did get very little use ... they are also extremely expensive to run, not like the proper inverter based devices you are likely thinking of @StatikStasis
 
@lisachenko no, of ubuntu (19.04, 18.04, etc)
 
@JoeWatkins ah! Yeah I did not realize the difference- though ours are still terribly expensive to run.
 
also, the second parameter to the FFIMe constructor is an array of header search paths. Can you add ['/usr/include/linux'] as a second parameter
 
3:53 PM
@ircmaxell It's working computer, provided by admins. uname -a Linux 4.4.0-142-generic #168-Ubuntu SMP Wed Jan 16 21:00:45 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
 
I'm paranoid about electricity bills, the thought of this thing spinning in a cupboard constantly and costing me money as it does it, really gets on my nerves, all the time ... the same is true about so many things, but this one is in the physical world, you can watch it ...
 
@lisachenko $ lsb_release -a
 
some of them even have a little red light that flashes when you draw a lot of current, I'm no electrical engineer, but a flashing red light is usually bad ...
 
@ircmaxell omg, it's old enough ) Description: Ubuntu 16.04.3 LTS
 
I just get used to it. Mine is running at normal temp right now at home with no one there (although slightly higher) for the doggo.
 
3:55 PM
@lisachenko that explains it, it was changed to github.com/ircmaxell/php-c-parser/blob/master/lib/… in 17.04
if you'd like, you can PR that folder into php-c-parser (assuming it works)
 
@JoeWatkins What does the average electricity bill run in Spain for a given month?
 
@StatikStasis your electricity meter is obviously missing the little flashing light ... you should have that looked at ...
 
nope. T: error Never use <bits/endian.h> directly; include <endian.h> instead.

Fatal error: Uncaught LogicException: We reached an error preprocessor token:
 
I would just put a piece of tape over it to fix it.
 
3:57 PM
@lisachenko is there another stddef.h file on the computer?
 
there's no answer to that, apparently ... what you have to understand is that "villa in spain", means "concrete thing carved into hills", these structures aren't insulted, double glazing is not standard (and not fitted here) ... you're paying to air condition the countryside basically ...
 
@ircmaxell provided by gcc at /usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h
 
@JoeWatkins No one should ever insult a structure.
Builders worked hard. =P
 
@lisachenko that should have been picked up then...
 
last month it was 160EUR, this month it was 240, there is obviously a difference in the weather, but I don't understand the difference in price ...
 
3:58 PM
I see though and understand. Without insulation and double panes that would not make sense to cool all the time.
 
no you switch them on when you have too, and even though they are fitted in every room, the grid is not able to supply more than 3 at a time (on a low wattage setting)
 
do you have any other versions of GCC installed (or partially installed maybe)?
 
@JoeWatkins Wow- that is high... at least for me.
 
oh well bear in mind, that I grow a lot of weed ...
 
3:59 PM
Mine is 117 Euros a month.
 
(but that is a constant cost) ...
 
lolol
 
05:00 - 16:0016:00 - 00:00

« first day (3237 days earlier)      last day (1717 days later) »