frozenfire

- friends
4,325 link karma
33,906 comment karma
send messageredditor for
what's this?

TROPHY CASE

Ramen? by Dragonbaqin glutenfree

[–]frozenfire 0 points1 point ago

Yeah, ramen noodles are made pretty exclusively from wheat. This is so that they are firm and squishy, due to the gluten.

Protesting in Quebec? Perhaps this will come in handy. by DoctorNosein canada

[–]frozenfire 0 points1 point ago

"Our officers were acting in self defence. The anarchists were assaulting police officers with deadly weapons, so were met with deadly force."

PSR-2 enforces strict guidelines on spaces vs tabs, and where your opening braces are by frozenfirein PHP

[–]frozenfire[S] 0 points1 point ago

It's not hate for spaces. It's hate for people telling us to use spaces. I use tabs for indentation, because it's my personal preference. You use spaces for indentation, because that's your personal preference.

So long as the indentation is consistent across a project, so you don't end up with mixed indentation, then everything's good, and nobody needs to enforce their personal preferences on others.

PSR-2 enforces strict guidelines on spaces vs tabs, and where your opening braces are by frozenfirein PHP

[–]frozenfire[S] 2 points3 points ago

I'd have been happy if they said "Use spaces or tabs in a given project, but not both".

PSR-2 enforces strict guidelines on spaces vs tabs, and where your opening braces are by frozenfirein PHP

[–]frozenfire[S] 0 points1 point ago

Am I the only one who sees a major problem with that? Granted, these are standards that individual projects can choose to accept, but they're being bundled up with a lot of stuff that the PHP project in general should be adopting, which are based on sound logic.

These are matters of personal preference, being codified as requirements.

Protesting in Quebec? Perhaps this will come in handy. by DoctorNosein canada

[–]frozenfire 26 points27 points ago

And then get shot.

wysihtml5 - A better approach to rich text editing by Eartzin webdev

[–]frozenfire 0 points1 point ago

You were complaining about <b> and <i>. I was just mentioning that <strong> and <em> are the semantic elements, and the former are recommended against in HTML5

wysihtml5 - A better approach to rich text editing by Eartzin webdev

[–]frozenfire -2 points-1 points ago

<strong> and <em(phasis)>

Annoying guy gets taken down by a man in a tiger suit. (xpost from r/Judo) by Jtl4231in JusticePorn

[–]frozenfire 55 points56 points ago

Because you're drunk and wa iz a ger... gerr.... gerjo... gerjoozii?

Learn php by johnbridge180in PHP

[–]frozenfire[M] 0 points1 point ago

You've already submitted this video once. Please give it time, and don't repost.

Learn PHP by johnbridge180in PHP

[–]frozenfire -2 points-1 points ago

Most of us are busy people - it's a busy industry. But, I've been mentoring a young guy for a few months now, and I find that it takes up less than an hour of my day, each day. I just make myself available for questions, provide him with a few important resources that most teenage kids can't afford themselves (web hosting, etc), and show him the work I'm doing myself (as legality permits). I might also set up an internship for him with my company, as resources permit.

The mentorship program is really just an idea in my head, though I've floated it to a couple of key members of the PHP community. I'd only suggest involving yourself in such a venture if you're actually interested in doing it; you can probably find someone to mentor on your own. The mentorship program would simply be a matter of "matchmaking", and providing a few extra resources that you wouldn't have available yourself.

Learn PHP by johnbridge180in PHP

[–]frozenfire -1 points0 points ago

I don't necessarily disagree with you when you say that new programmers shouldn't teach. All I'm saying is that there's no harm done in them trying.

If you're interested in putting your money where your mouth is in regards to "They should instead learn from people who know what they are doing", I'm thinking about putting together a sort of mentorship program in tandem with #phpc and the PHP community at large.

Learn PHP by johnbridge180in PHP

[–]frozenfire -1 points0 points ago

The best way to learn, is to teach. Yes, if someone, somehow decided to use his material to learn, they would probably learn some bad practises. However, that's not the point. The process of formulating your understanding into a format that you can propagate to others is the best way to discover where your knowledge is lacking, and to come to even better understandings.

Learn PHP by johnbridge180in PHP

[–]frozenfire -2 points-1 points ago

Oh, be nice. :)

That anyone as young as he is has taken the initiative to learn to program, and to try to teach others at that, is nothing short of admirable.

Yes, his way of doing things is novice for sure. But, it's a start.

Learn PHP by johnbridge180in PHP

[–]frozenfire -1 points0 points ago

Good god, how do you use that system with all of those applications in your dock?

Brother bought a lot of acrylic tubes(6"x72" 1/8" wall), need ideas for DIY projects by bobkonyshin DIY

[–]frozenfire 0 points1 point ago

An algae oxygen production system? Cap the tube at the bottom, with a screw-on valve for draining. Cap the tube at the top with a hole for the bubbler tube, and a couple of holes for pressure release. Run the bubbler tube to the bottom, and hook it up to a pump. Get some ocean algae (or maybe algae from a fish tank?) and drop it in. Bubble.

Turns into something like this.

Poll: Do you still write code with PHP 5.2 compatibility in mind? by frozenfirein PHP

[–]frozenfire[S] 2 points3 points ago

You're missing a quote.

How do you defend against something like this? by earwigy1990in motorcycles

[–]frozenfire 0 points1 point ago

But you see, that's not breaking them. To make an analogy, I would consider "breaking" a lock to be taking bolt-cutters to it - you're compromising the mechanism itself, so that it no longer works as a security measure.

What you're talking about is equivalent to cutting a new key through trial and error. Yes, this is possible with modern encryption algorithms, but it's infeasible.

As well, once processing power catches up to the point where it's feasible to brute-force the key size, then at that point we've already moved on to larger key sizes, because we now have the processing power to handle them.

As long as our key sizes increase proportionally to our computational capability, then the security measure itself is fundamentally strong. To extend that analogy, this is equivalent to making more complicated keys as key-cutting measures become more advanced. Sure, some people will stick with the legacy version of keys, because they're easier to work with, but anyone with security in mind will use more complicated types of keys (RFID, circular tumbler locks, mushroom-capped pins, etc).

So, I taught myself enough to build this website from scratch in about a month. How bad does it suck? by cbimfgin web_design

[–]frozenfire 1 point2 points ago

For the products page, you can take a look at 12 standard screen patterns. It's a great guide to the fundamental design of standard screen patterns, which are what everyone is accustomed to working with.

Poll: Do you still write code with PHP 5.2 compatibility in mind? by frozenfirein PHP

[–]frozenfire[S] 0 points1 point ago

I had the same thought when I first started working with Plesk servers. I hate Plesk, but getting a server set up with PHP 5.3 on Plesk isn't hard. All you have to do is run two commands, and it'll upgrade the Plesk install and then you can select the PHP 5.3 option.

Poll: Do you still write code with PHP 5.2 compatibility in mind? by frozenfirein PHP

[–]frozenfire[S] 39 points40 points ago

No, I don't usually concern myself with compatibility with PHP 5.2.

Poll: Do you still write code with PHP 5.2 compatibility in mind? by frozenfirein PHP

[–]frozenfire[S] 7 points8 points ago

Yes, I write a significant amount of my code so that it is compatible with PHP 5.2.

view more: next