« first day (1040 days earlier)      last day (3905 days later) » 

10:00 AM
They're an American company so it was probably written by a Mexican
2
 
10 year old Mexican child then.
 
I want a phpelephant ... I'd like to cast one in aluminum ...
good paper weight / desk ornament ...
a toy will just make it's way to the kids' bedroom ...
 
I don't know if I want an ElePHPant. I'm torn on the idea. :(
 
@JoeWatkins aluminum is bad for the environment. Can't you use wood?
@SweetieBelle it's an essential tool for debugging
 
@Gordon I barely ever write PHP any more :(
I got pushed onto C++ :D
 
10:03 AM
how is it bad for the environment ?? wood is worse for the environment ... I'd reclaim ally from old crap, do it all the time ...
 
@SweetieBelle can use it to debug any language
 
Anonymous
a:link, a:visited, a:hover{text-decoration:none; color:something;}
 
@Gordon Even ASP?
 
Anonymous
Is there something bad about that?^
 
Anonymous
When I style links in css I usually do it like that
 
10:04 AM
@Simon_eQ ASP? Yes there are many things bad about it
 
can't really work wood that well either ... that's more of a skilled labour ... make a mould and cast metal is much easier than shaping wood ...
 
@Simon_eQ Unless you plan to set another for active, I'd suggest just styling a.
 
Anonymous
@DaveRandom why? Even for global?
 
@peeHaa with the regex solution -_-. One day I will learn it, I promise :P
 
a { text-decoration: none; color: #aeaeae; }
 
10:05 AM
@Fabien :-)
 
@SweetieBelle yes
 
Anonymous
@SweetieBelle are you sure?
 
@Simon_eQ Yes.
 
Anonymous
I never thought a{} would be valid!!
 
@Gordon I don't think you can debug ASP, ASP is a bug.
 
10:05 AM
@JoeWatkins it's expensive to create and even more expensive to recycle and it creates a lot of additional waste.
 
@Simon_eQ I think you missed the point :-P But yes, you should just apply the global styles to a and then overload things as appropriate on the relevant meta-states
 
@SweetieBelle that is correct, but at least the elephpant gives you the feeling that you are not alone ;)
 
expensive to recycle ?? you can do it at home ... and I WOULD be recycling, not buying new material but melting down old stuff ...
 
Like a {text-decoration:none; color:something;} a:hover {text-decoration:underline;}
 
Anonymous
Hmm. this is a big tip @SweetieBelle @DaveRandom I just tried to find for a link, and I can't even find trace that, we can apply a{}
 
10:07 AM
@Gordon When dealing with ASP, one is always alone. Unless others are also dealing with ASP, in which case it's like one of those horror movies where a bunch of people go into a haunted house and you take bets on which one will die first.
 
@PeeHaa On the other hand, my answer isn't as good as yours but it's easier for him to understand :(
 
@Jack On what question were you repwhoring again last week? The username part of an emailaddress thing? So we can dupe it: stackoverflow.com/questions/18354360/…
@Fabien I didn't answer
 
Comment*
 
@Fabien :-) Jack already answered that question somewhere this week I think
 
10:08 AM
@PeeHaa Just a sec.
 
Anonymous
@DaveRandom Ahh, the site I never visit.
 
1
A: How to get string before @ from a email address

JackA simple approach, without using arrays, would be this: $prefix = substr($email, 0, strrpos($email, '@'));

 
Anonymous
Use to think that site was all about JS
 
Not one I use often
 
You should, MDN is generally pretty good. It's incomplete in a lot of places, but all the info on there is usually solid
 
@JoeWatkins okay, but still. the creation of aluminium is expensive
 
the cutting down of trees is devastating ...
 
Depends whether it's sustainable or not. Some logging companies plant 5 for every 1 they cut down.
Know your supplier and use your fiscal weight to stimulate good practices.
 
Anonymous
$email = 'simon@troll.com';
echo $email[strpos($email, '@')-1];  //n
 
@JoeWatkins it takes much more trees to produce the aluminium for the elephant though than it would take to just carve one out of wood
 
Anonymous
10:13 AM
@Jack No?
 
@Simon_eQ Sorry?
 
@Simon_eQ An email address can include multiple @ symbols.
 
@Jack This still fails with validation. You could at least note that and link to RFC, imho. :)
 
sweetie\@belle@pony.com is an RFC-compliant e-mail address.
 
@Leri Well, I'm assuming the email address is valid.
 
10:14 AM
yes, but the ally already exists, it's in my garage ...
 
Anonymous
@SweetieBelle STOP surprising me!!!
 
I've got a question $datum = strtotime($year."W".str_pad($week_number,2,0,STR_PAD_LEFT)."1");

How would I change it so if I input 201333 it would work also? I tried editing it but didnt succeed $weeknumber is 33 and $year is 2013 I want it to read from the inputbox
 
Anonymous
@Jack was talking about your post
 
wait, how does it cost wood to create ally ?
 
It's not common, but it is possible to find one.
 
10:15 AM
most of our power is nuclear I think ...
 
@JoeWatkins it costs energy of some sort
 
Anonymous
@SweetieBelle I'm adding you in my 'List of evil geniuses'
 
@Simon_eQ Thanks :D
 
@Simon_eQ What about it? I couldn't deduce your meaning from just "No".
 
@JoeWatkins nuclear power is evil
 
10:15 AM
nuclear energy is the cheapest and cleanest sort we know about ...
 
list() is much under used:-
list($user) = explode('@', $email);
 
Anonymous
@Jack
 
Anonymous
2 mins ago, by Simon _eQ
$email = 'simon@troll.com';
echo $email[strpos($email, '@')-1];  //n
 
@JoeWatkins if you ignore all the nuclear waste it produces and the cost in case of disaster
 
10:16 AM
* that's actually able to keep up with demand ...
 
@Gordon No it isn't. Nuclear fission isn't great, but fusion is the future.
 
@Simon_eQ Still don't get it.
 
@Gordon Nuclear waste is fuel of the future, theoretically Thorium reactors can use fuel comprised of 80% U/Pu waste.
 
Anonymous
My G-d!! Wakeup!! @Jack I was asking, in-reference to this question
 
Anonymous
1
A: How to get string before @ from a email address

JackA simple approach, without using arrays, would be this: $prefix = substr($email, 0, strrpos($email, '@'));

 
10:17 AM
@DaveRandom Long term fusion is the future (until we get to moon mining of O3, anyway) but short term look to Thorium imo.
 
Anonymous
I meant, what do you think !
 
well I'm not ignoring anything ... there is waste ...
I've read some pretty interesting articles about that subject, lots of things are being tried to turn that into a positive ...
 
@Simon_eQ What's your point? Are you asking me a question, saying my answer is wrong, what?
 
just like hydrocarbons/plastics industry ....
 
@DaveRandom @SweetieBelle I honestly cannot believe that some people still believe nuclear energy to be an option after tschernobyl and fukushima. I guess those people should move close their local nuclear plant to enjoy all the benefits first hand when the inevitable disaster strikes
 
10:19 AM
something will come along, some way of processing the waste into a neutral or useful substance ...
 
Anonymous
@Jack I was asking, how about my answer? Is it good enough also...
 
@Gordon If anything Fukushima should make you more confident in nuclear power. It was hit by a tsunami and an earthquake 10x more powerful than it was built to withstand, but the 'catastrophic' outcomes never came.
The catastrophe of the tsunami was huge, the nuclear fallout was minimal.
 
Is there a way to flag a user for a weird behaviour on edition-reviews ?
 
@Simon_eQ Oh, well, strpos() returns the first occurrence of @; in this case you will want the last one.
 
As for Chernobyl, it bears no similarity to gen 3 nuclear plants we use today. It was known to be flawed and unsafe years before the meltdown.
 
10:20 AM
How'd I get 2 downvotes and then someone else copies my answer then gets an upvote? :(
 
@Fabien Check the other answer carefully
 
@Gordon nuclear power plant is a half hour drive away ...
 
Anonymous
@Jack upto this day, it never occurred to me, there are multiple occurrences of the email symbol
 
Anonymous
Technology is playing tricks on me
 
user652649
@Fabien classic
 
10:22 AM
@Touki You can ping editors in a comment. Or flag one if his/her posts with a custom message. Or go to meta or ping a mod
 
what I "believe" is based on the facts ...
 
I knew I should've cv - pls that question :P
 
@Gordon ...fission isn't great, but fusion is the future - reliance on radioactivity is a bad plan (and only has a fairly short-term future whichever way you look at it, the supply of suitable materials suffers the same problems as fossil fuel) but H is a safe (relatively, no more dangerous than short-chain hydrocarbons), reliable energy source that will be in plentiful supply until long after the universe is habitable by any form of life.
 
@Simon_eQ 5 answers and noone mentioned poor strtok :(
 
@SweetieBelle if that's what you want to believe, believe it.
 
10:23 AM
world-nuclear.org/info/Current-and-Future-Generation/… there are 430 nuclear power stations, you have cited incidents at 2 ....
 
@Robik strtok() gives the wrong result for "foo\@bar"@domain.com
 
@JoeWatkins which turned out to be expensive and caused people to die from cancer. the risks associated with catastrophic failure of a plant do not outweigh the energy they produce.
 
@JoeWatkins Yeh, but there have been non-catastrophic incidents at many others, and probably way more than the general public are aware of as well.
 
@Fabien Not as bad as yours, but even though this answer is ripped from mine, it still gets an upvote anyway =/
 
so what, people hurt themselves at work all the damn time ... you want to stop building buildings because of the broken bones/deaths suffered by builders ... don't be silly ... as a matter of fact, nothing can keep up with demand like nuclear power can, so its not like there's an actual viable choice ...
 
10:25 AM
ohohoh are you discussing nuclear power plants?
 
@Gordon I used to live less than 3 miles from a nuclear plant btw, I'm not one of those people who screams the benefits and refuses to live near one.
 
I'd rather not live near one, but only because I'd rather not live 3 miles from any heavy industry, largely for aesthetic reasons
 
maybe rather than pouring hundreds of millions into developing green fuels (that aren't really green at all) we could spend it on the health and safety of the workers who are in danger ... it just takes the world to accept that nuclear power is our best chance at keeping up with demand ...
 
@Gordon How many people die from wind/solar power driving up prices so poor people can't afford to heat their homes in winter?
 
Are there people here looking for a project and have some time, I have not yet an idea about what and how but I would like to start a project to receive a 'passive income' and maybe with a group of thinkers we can create a great project.. Maybe some people here would like to contribute? It's like my friend d.kestens who started twitspark,
he was talking about it in a pub and now he's living in san fran but that's in the exterme way but I would like to start a project with some people and see where we can go.
 
10:27 AM
that and the engineering of new fuels ... I can't find it now, but an article I read in the last month was about someone using modified bacteria to produce methanol ....
 
@SweetieBelle none?
 
it was very clever ... that I'm all up for ... very clever ...
 
@Gordon Citation needed.
 
Just FYI guys, nuclear energy is the safest form of energy we have, statistically speaking
3
 
10:28 AM
@NikiC This.
 
As in, it has the lowest amount of deaths per energy
 
@NikiC I know right ... you say nuclear and people hear bomb and death ...
 
@PeeHaa Sounds like sock-puppet. I guess I'll just flag one of his questions. Thanks!
 
@SweetieBelle I don't need citation for that as long as you dont offer citation that it actually happens ;)
 
@Gordon I've just ended to argue with my teammates about static methods using :p it was a holywar :p
 
10:29 AM
@AlmaDoMundo with what outcome?
 
People think nuclear power is unsafe in the same way that they think that planes are unsafe
 
SELECT type, COUNT(*) FROM statistics GROUP BY type ORDER BY death ASC
 
@Gordon So why is energy in the EU so much more expensive than the US where they still use fossil fuels? I pay 2x the typical US rate and I'm in the sunny med.
 
@JoeWatkins This is also pretty cool/promising - there's an article published at the end of last year, they've made quite a bit more progress, but I can't find it
 
10:30 AM
@NikiC that is not true. there is not a single solar plant or wind park that polluted an entire area with radiation and made in inhabitable
 
only we don't spend billions on developing green catapults .... people can think what they want, but what they do should be based on the facts, we'll get further by developing chemical and biological fuels than we will with wind power ...
 
@SweetieBelle because of the investment. like all new things they are more expensive because they need to be amortized first
 
@Gordon well, some people think that it is stupid - not to use static methods. All agreed with the thing that we can avoid them. As for me - I will try to avoid (with hope that there will be the moment when I'll be enlighten enough to use unit-testing)
 
@Gordon Same argument could be made for nuclear... but that's far cheaper than solar/wind when you disregard government subsidy.
 
@PeeHaa cool site bro.
 
10:31 AM
@SweetieBelle nuclear is around long enough
 
Bring on the fracking revolution imo.
 
@SweetieBelle its not cheaper when you take into account the risks of catastrophic failure
 
@webarto What site?
 
@SweetieBelle fracking pollutes ground water and creates earthquakes
 
@PeeHaa YOUR site.
 
10:32 AM
@Gordon In Gen III+ nuclear, catastrophic failure = the plant stops working, and maybe a microscopic amount of radiation leakage.
 
@Gordon Yes, that's true, because solar panels and wind parks don't cause radiation (at least post production). That does not mean that people don't die from it
 
@SweetieBelle blind faith
 
@webarto Aaah tnx :)
 
@Gordon Fracking doesn't pollute ground water unless it's done wrong.
 
@SweetieBelle and it will be done wrong because there is very little expertise in that field
 
10:33 AM
Gas fields are thousands of feet below groundwater
 
fracking doesn't solve anything
 
@JoeWatkins It solves a short term problem
 
no it doesn't
 
I am being quite serious here. More people (per kwh) die because they fall from their roof while installing a solar panel than from nuclear accidents ;)
 
It buys us the time to research thorium, fusion and O3.
 
10:34 AM
that is a brilliant statistic ...
I will use it often
 
@NikiC Yes, I've read that report and it doesn't surprise me.
 
@NikiC it also doesnt mean that people did die from it. unlike with nuclear plants
 
@Gordon See previous message :)
Let me find the source for that...
 
no it doesn't, it gives you a distraction from the real problem, you are replacing one exhaustible supply with another ...
 
@Gordon Wind plants chop up birds and bats, cause ecosystem damage, create sonars which mess with the local wildlife... they're hardly environment friendly.
 
10:35 AM
 
@NikiC I am pretty sure much more people would die from trying to install a nuclear plant in their basement instead of getting a professional to do that for them
 
@SweetieBelle yes, I do have some issues with wind plants, too
 
@Gordon The point is not that people are stupid, the point is that statistically nuclear is safest...
 
@Gordon The rate of professionals dying from working on rooves would be higher than the death rate for nuclear, which is tiny even when you include Chernobyl, per GWh
 
10:36 AM
there is something fishy about the drive for wind farms ... you'll notice the royal family in the UK are campaigning all the time for green energy, for farms to be put just offshore, land which they own, the princes benefit from every farm installed, it is their inheritance ...
 
@NikiC which proves nothing
 
the only one near me is on land, and it is horrible and is mostly still ...
 
@Gordon Uh, why?
 
about 30 of these things in a field, 2 of them will be doing something ... they are a joke ...
 
@Gordon Btw, just to be sure: What color does Uranium have?
 
10:37 AM
@Gordon Read the blueprints & specifications for a Gen III+ BWR or PWR (the most common newbuild nuclear plants), it'll make you feel a lot more comfortable about the likelihood of a nuclear catastrophe.
 
I found that there is a strong correlation between people who dislike nuclear power and people who think uranium is that green-glowing metal
 
@NikiC Uranium is a silvery-white metallic chemical element in the actinide series of the periodic table, with symbol U and atomic number 92. It's green though in Civilisation. But I knew that it's not green.
 
@SweetieBelle it won't. they do not build these things to be absolutely safe. they built them to be safe depending on probabilistic risk assessment ignoring that the results in the cases where they would fail are unpredictable
 
@Gordon George Monbiot, an adviser to the UK Green Party, supports nuclear power because of Fukushima.
 
10:41 AM
the only thing I could really get behind is a form of fuel that is renewable, but also, we should be looking to reverse damage done, that is not beyond us ... fracking, wind, solar ... not good enough ...
 
@Gordon Nothing is absolutely safe.
@Gordon The worst-case scenario with modern nuclear is not another Chernobyl.
 
I'd rather die fast from radiation etc than continuous everyday air pollution poisoning.
2
 
@SweetieBelle that's okay if the failure is predictable which it is not with nuclear failure
 
@webarto Radiation can also be a horrible slow death....
 
10:43 AM
@webarto Less than 0.1% of those who got ill from Chernobyl died, even those who got thyroid cancer had a 99% survival to 5 years.
 
In Sweden don't they offer reduced sentences to prisoners who cycle on bikes to produce electricity for a nearby town. :P
 
@webarto then move close to a nuclear plant.
 
Anyone plan on visiting Chernobyl?
 
@Fabien can you?
 
10:44 AM
You can now, yes.
 
@Gordon this is the center of city called Zenica
 
@Gordon The outcome of failure with Gen III+ reactors is not a catastrophic meltdown scenario. Chernobyl scenarios cannot happen with modern reactor designs.
 
@Fabien cool
 
@Jimbo Yes, but I have a gun, knife, razor.
 
@Gordon treehugger.com/clean-technology/… this is basically what I read about but not that article ...
 
10:46 AM
4 miles from my apartment.
 
@webarto If you're suffering a slow horrible death from razor ownership, you may need re-educating in how to shave.
 
@SweetieBelle Funny thing is that governments (e.g. the German one) let the old, less-secure reactors run, but forbid replacing them with newer, more-secure reactors :D
 
@DaveRandom Suck on umbrella, Brit :D
 
:-P
 
Don't shave, trim. it's much more manly.
 
10:47 AM
politicians are rarely chemists or physicists ... or intelligent ... or truthful ...
2
 
You've obviously never watched porn.
 
@NikiC Nuclear has a bad rap because of the 'what if', most people don't realize that these new reactors worst case scenarios is an expensive (but not environmentally harmful) failure -- it simply stops producing energy.
 
lol
 
@JoeWatkins hehe
 
@NikiC Most now have fail safe mechanisms where if cooling fails, the gravity suspended reactor is plunged into ice or similar.
 
10:48 AM
@DaveRandom Until few days ago, I had mustaches just like that '70s porn actors.
 
@JoeWatkins stuff like that is the future.
 
@BDillan sigh You again, I showed you how to search for chatrooms
 
Pornstache
 
AWESOME @Fabien
 
10:49 AM
I don't bother taking part in Movember for this reason too. Too creepy looking.
 
@SweetieBelle sure and the Titanic was unsinkable :)
 
@tereško Well we followed the "scrum" methods in my first internship. My experience with it was terrible.
 
@HamZa why?
 
@Gordon The Titanic was never claimed to be unsinkable :P Except in a movie.
@HamZa Be thankfully you don't have to use SSADM :D
 
10:51 AM
Heh, there's a guy asking to run a basic web server on his blackberry :P
 
@Gordon It was supposedly resistant to sinking :P
 
Titanic was built where I live.
 
@SweetieBelle same for your reactors
 
'there is no evidence that the notion of Titanic's unsinkability had entered public consciousness until after the sinking.'
 
@SweetieBelle "there are three trade publications (one of which was probably never published) that describe Titanic as practically unsinkable" […] "Harland and Wolff did not claim she was actually unsinkable, but a promotional item from the White Star Line stressed the safety of Olympic and Titanic, claiming that "as far as it is possible to do so, these two wonderful vessels are designed to be unsinkable"
 
10:53 AM
@Gordon Nothing is 100% safe, modern reactors are designed to resist a richter 10 quake, plane crash or missile. I don't think there's much more you can do. :P
 
Well some ideas were great, like working in a teamwork. For example, normally we would assign each project to each employee, but with this scrum we had to divide the work in each project. The problem with this is we had to communicate and spend rather much time on explaining what had to be done and what not.
What I liked was that ~each week~ we assembled and assigned "tasks" and voted on how much time we would spend on it. What I didn't like is that the times were not in hours, ok I can live with that. But the "scrum" guy insisted that we should use only "1, 3, 5,8 ..." units. So if I thoug
 
@Gordon Olympic had a long lifetime, and served in a war. The ship class wasn't to blame for Titanic sinking.
 
@SweetieBelle exactly. and the stuff you cannot protect against is too much risk.
@SweetieBelle ah ok! so let's melt all the icebergs. global warming is a safety measure!
 
@Gordon What do you think is the greatest risk of, say, an APWR in a catastrophic situation?
Given that Fukushima (a Gen II reactor) had a worst case scenario and an incredibly low death count.
 
@SweetieBelle failure of what it was designed to withstand
 
10:56 AM
@Gordon another problem, the levels of each one weren't equal. So if I assigned "3" units, there is a high chance that the others would have chosen 8 units. Note that 8 units = 2 days (if my memory is good ...)
 
@HamZa Overestimating is good
 
@Gordon But maybe that wasn't really "scrum" ?
 
Does anyone know a good online billing system? good for landline customers..
 
Project managers expect you to allow a buffer for unforeseen issues.
 
@HamZa "The problem with this is we had to communicate and spend rather much time on explaining what had to be done and what not." that's actually the core activity in software development :)
 
10:58 AM
@Gordon heh, not when you use Joomla lol
 
I'm more of a "get shit done fast and with quality"...
 
@HamZa scrum poker is not done in hours on purpose and it doesnt translate to days or hours. it's sole purpose is to give a rough estimate of the complexity and whether it needs to be broken down into a smaller chunk and to calculate your velocity. the idea that it translates to hours is wrong because it cannot be reliably repeated.
 
@webarto Joomla is your best candidate, or even wordpress lol
 
Not what I meant :)
 

« first day (1040 days earlier)      last day (3905 days later) »