You can probably link against the C library. The library is kinda crappy, but then so are most of the webservers you'll link to, so you won't actually get to use fancy features like parallel requests per connection and stuff
Ugh. php and choadigniter. Quit reminding me how super extra bad it is. I'm really likely to be taking a job where I'll be dealing with it consistently for awhile and possibly forever.
And my coffee this morning sucks. We've got keurig machines here and I grabbed the last k-cup out of some normal coffee without looking at it. What I seem to have is some sort of flavored vanilla bullshit that makes my cup smell funny and doesn't taste like coffee at all.
Probably still better than the "hot chocolate" k-cup I tried one afternoon.
I'm going to push for a rewrite of that platform in Django since a rewrite is already on the table. I brought it up when interviewing and it sounded like it would possibly be ok to do but since there's so much php code already there, they kind of wanted the rewrite using php as well just to avoid rewriting as much code and were leaning towards CI for that, which makes sense.
There's also random chunks in C, Python, and shell script. I was told those are definitely open for Python rewrites. If the php is bad enough, I'm sure it'd be ok to just scrap it all as well.
I'm trying not to worry about it too much until someone here can make a decision on wtf they're doing, though. They don't want to bring me on until January/February, and I can't change jobs until then because of shit I've got going on. I've got platform here that I like and would like to build out more using technology I like, so if I can feel that my job is secure, I wouldn't mind staying here as long as they get rid of the on call support for random regular user bs. There's a lot going on with that which from the rumors going around could result in raises, bonuses for staying until some given date, etc. though. So I'm just hoping someone here can decide exactly what their plan is before I have to make a decision.
@admanb I've heard enough about their hot chocolate that I haven't bothered to try it. I made the mistake of trying a raspberry something or other coffee because that's all there was once and my mug smelled like artificial raspberry for 3 days. I haven't used anything other than plain old coffee from those things since then until today's accident.
Rewriting it as PHP to avoid rewriting parts of the code seems to be a bad idea anyways. You'll likely have to rewrite everything anyways. I have never had a situation during a rewrite where I went "gee sure would be swell if I could use this module" because it was just as bad as the wrest and I'd have to compromise my code to use it.
For instance, they wanted me to use the crazy 5+ hour parsing code for my library for HL7. Just change what table it went to and change some of the analyzing. I said no, spent less time writing my parser, and used my remaining time to rewrite the original ones.
I've been wanting to change it to C for a while though. .NET seems to crash randomly at times and I've yet to explain it. I could restart the application and there it goes, works perfect and the error logs don't indicate anything either.
not a doctor, not a lawyer, examples I use may not be fully researched so don't take out of context plz, don't @ me
Oh yeah, I'm totally with you. I think just the fact that it's in PHP means it should be rewritten if they can fund it, even if it's "good" PHP.
That is my only major sticking point with the place. They don't hate PHP and that makes me nervous. We talked about it in my interview, they are of the belief that every tool has its place. I have that same belief, just sometimes I think that place is the garbage or a giant fire or the pits of hell.
Overall it's a good environment though, so good environment with good people and as far as I can tell currently room for pay to go up, so vs what this place is likely to become, I can live with questionable tools for awhile while I try to push my belief that PHP needs killed with fire on them.
With enough knowledge of digestion you could come to the conclusion that if it's roasted properly there's no danger and that the resulting product might actually taste pretty nice.
not a doctor, not a lawyer, examples I use may not be fully researched so don't take out of context plz, don't @ me
+1
admanbunionize your workplaceSeattle, WARegistered Userregular
I'm not gonna lie, I would drink poo coffee if it was available.
With enough knowledge of digestion you could come to the conclusion that if it's roasted properly there's no danger and that the resulting product might actually taste pretty nice.
With enough knowledge of digestion you could come to the conclusion that if it's roasted properly there's no danger and that the resulting product might actually taste pretty nice.
Ha. The job decision just got made for me. I was just handed my papers. I get a big fat bonus if I stay through the end of March. Time to call up the other place and see what I can work out with them.
Access Project #1: VBA part is mostly done outside of some cleanup, went perfectly fine. Currently on hold.
Access Project #2: Shoot me, shoot me now. (It's not that bad, just somewhat flying blind on what exactly I should be working on at this point, need to get with my supervisor. It's UI design that drives me nuts).
Is it normal to feel like I'm wasting time doing research and trying to figure out how to do something up until I get it working? Because I feel like I haven't done anything at all today until I think about what I have actually accomplished.
Yeah, I normally use the braces for my own code, but fall into "I'm writing PHP online for newbies to decipher" mode when I write code online. It's a learned response from PHPFreaks.
Coincidentally, IPB sucks. One of the admins there was all gung-ho about dumping SMF for IPB. It, uh...hasn't gone well. Since the forum change, activity is down a lot and those of us on staff have fuck all for mod tools. And, laughably, the admins keep trying to figure out a way to monetize the forums when I'm sitting there thinking "There's hardly anyone here... who's going to give us money for access? Ourselves?"
I'm hoping that the downturn in activity means that people are smartening up and going for RoR, or Python, or C#/MVC, or something palatable instead of the shit smear of PHP. I plan on jumping ship from PHP to RoR with my open source stuff in the coming months. I finally got RVM installed properly (stupid Linux Mint for being weird with permissions at times), and now just need to buckle down and learn it.
PSN/XBL/Nintendo/Origin/Steam: Nightslyr 3DS: 1607-1682-2948 Switch: SW-3515-0057-3813 FF XIV: Q'vehn Tia
PHP Fatal error: Can't use method return value in write context
what does that even mean
Wait... isn't a method return value placed in a write context with something like:
echo "My name is " . $person->getName();
??
empty() needs to access value by reference (in order to check whether that reference points to something that exists), and PHP doesn't support references to temporary values returned from functions.
Posts
Now I'm wondering if you can CGI c# through mono.
But can it FastCGI?
Pfft, there is only FastCGI!
http://fastcgi.com
You can probably link against the C library. The library is kinda crappy, but then so are most of the webservers you'll link to, so you won't actually get to use fancy features like parallel requests per connection and stuff
Probably still better than the "hot chocolate" k-cup I tried one afternoon.
Some people pay good money for poop coffee.
Civet Coffee
There's also random chunks in C, Python, and shell script. I was told those are definitely open for Python rewrites. If the php is bad enough, I'm sure it'd be ok to just scrap it all as well.
I'm trying not to worry about it too much until someone here can make a decision on wtf they're doing, though. They don't want to bring me on until January/February, and I can't change jobs until then because of shit I've got going on. I've got platform here that I like and would like to build out more using technology I like, so if I can feel that my job is secure, I wouldn't mind staying here as long as they get rid of the on call support for random regular user bs. There's a lot going on with that which from the rumors going around could result in raises, bonuses for staying until some given date, etc. though. So I'm just hoping someone here can decide exactly what their plan is before I have to make a decision.
@admanb I've heard enough about their hot chocolate that I haven't bothered to try it. I made the mistake of trying a raspberry something or other coffee because that's all there was once and my mug smelled like artificial raspberry for 3 days. I haven't used anything other than plain old coffee from those things since then until today's accident.
For instance, they wanted me to use the crazy 5+ hour parsing code for my library for HL7. Just change what table it went to and change some of the analyzing. I said no, spent less time writing my parser, and used my remaining time to rewrite the original ones.
I've been wanting to change it to C for a while though. .NET seems to crash randomly at times and I've yet to explain it. I could restart the application and there it goes, works perfect and the error logs don't indicate anything either.
That is my only major sticking point with the place. They don't hate PHP and that makes me nervous. We talked about it in my interview, they are of the belief that every tool has its place. I have that same belief, just sometimes I think that place is the garbage or a giant fire or the pits of hell.
Overall it's a good environment though, so good environment with good people and as far as I can tell currently room for pay to go up, so vs what this place is likely to become, I can live with questionable tools for awhile while I try to push my belief that PHP needs killed with fire on them.
I just don't understand the thought process of someone who goes "Hmm, these coffee beans my cat ate aren't digested. I can still use them!".
Much like I don't understand the thought process of someone who <insert programming reference here. Nothing appropriate is coming to mind>.
Well, to be fair booze was invented by a person who thought it was a good idea to eat that rotten fruit on the ground.
So how about them pointers?
Also what do people think honey is?
Deliciousness
what does that even mean
PHP. :rotate:
How did you get that picture of me?
Access Project #2: Shoot me, shoot me now. (It's not that bad, just somewhat flying blind on what exactly I should be working on at this point, need to get with my supervisor. It's UI design that drives me nuts).
Is it normal to feel like I'm wasting time doing research and trying to figure out how to do something up until I get it working? Because I feel like I haven't done anything at all today until I think about what I have actually accomplished.
Wait... isn't a method return value placed in a write context with something like:
??
Switch: SW-3515-0057-3813 FF XIV: Q'vehn Tia
echo "My name is {$person->getName()}";Yeah, I normally use the braces for my own code, but fall into "I'm writing PHP online for newbies to decipher" mode when I write code online. It's a learned response from PHPFreaks.
Coincidentally, IPB sucks. One of the admins there was all gung-ho about dumping SMF for IPB. It, uh...hasn't gone well. Since the forum change, activity is down a lot and those of us on staff have fuck all for mod tools. And, laughably, the admins keep trying to figure out a way to monetize the forums when I'm sitting there thinking "There's hardly anyone here... who's going to give us money for access? Ourselves?"
I'm hoping that the downturn in activity means that people are smartening up and going for RoR, or Python, or C#/MVC, or something palatable instead of the shit smear of PHP. I plan on jumping ship from PHP to RoR with my open source stuff in the coming months. I finally got RVM installed properly (stupid Linux Mint for being weird with permissions at times), and now just need to buckle down and learn it.
Switch: SW-3515-0057-3813 FF XIV: Q'vehn Tia
empty() needs to access value by reference (in order to check whether that reference points to something that exists), and PHP doesn't support references to temporary values returned from functions.
So I'd have to do
to do what I want.
PHP. :rotate: