Skip to content

u/oldling

In this archive from Dec 2010 to Jun 2013

0
posts
23
comments
0
media
45
score

Read other peoples code. Think. ???. Profit.

Oh, and rewriting your own stuff really helps a lot as well. It kinda sounds like you are starting from scratch every time, why? What can you do to the code in your other projects for it to be reusable in your new project?

1 points

I am not sure about the details right now but you can register a shutdown function for php and in that function there is a way to check whether php shuts down because of an error or not.

He will also want to check for more then just E_ERROR. I think > E_ERROT works, but I am not sure.

Sorry for being so vague, but I am about to go to bed. :-)

1 points

I run sc2 from arch/linux/wine. It is a huge performance drain but 1v1 on lowest settings is definitely playable - I don't notice much difference to windows.. There are a number of problems though. To get wine to work with ATI cards appears to be a huge problem and the dual monitor issue sucks.

With the latest sc2 patch I also have problems when login to US (might be Patch 1.3.3) and I also noticed some small graphic glitches with the spine crawlers yesterday. I don't know if this is a big issue yet since I have not investigated it. I can tell you more after the weekend. ;-)

Edit: Oh yeah, I got a nvidia 460-something and some random 2-3 year old cpu. A decent graphics card is a must and from what people told me, a better cpu might help...

1 points

^ Why on earth is the default crypt MD5 when blowfish is available??

If I remember correctly there is an option for PHPass. If it is not set, PHPass will use "portable" hashes. They are based on md5 in case you want to port the Database to a System where Blowfish is not available.

If you want Blowfish, you need to tell PHPass explicitly.

1 points

End of this list.

Back to top

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.