Skip to content

u/foldor

In this archive from Feb 2009 to Jan 2020

2
posts
74
comments
1
media
293
score

Top posts

First attempt with PDO and looking for feedback

I'm attempting to make the switch to using PDO for all my new projects and figured I'd make a class to test things out. I was hoping to get some feedback on things and see if I could do better. Here's my code Before you say anything about including the database connection details in the class, don't...

10 points27 comments
Open on Reddit

Top comments

That's funny cause a guy in my class has a prominently display "Not Porn" folder on his desktop. He always gets asked what is in it, and sure enough it is not porn. Just a stash of all the crap he downloads, like emulators and "funny pics".

40 points

If you read the article you'll find out why.

HHVM does boast some very impressive numbers, and compatibility, but it does require carefully rewriting portions of code that are incompatible. There is also the potential for subtle differences, and unknown places of incompatibility. So for developers who don't want to find out the hard way which methods are incompatible the switch over is difficult.

For most web sites that aren't at Facebook or Wikipedia scale, the performance difference isn't worth the potential headache.

16 points

Subreddits

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.