HNHacker News
TopNewBestAskShowJobs

pstadler

2,836 karma · joined April 8, 2011

  https://pstadler.dev
  https://github.com/pstadler
  https://twitter.com/pstadler
  https://infosec.exchange/@ps
[ my public key: https://keybase.io/ps; my proof: https://keybase.io/ps/sigs/5fJvRJSJfeFNB0mGiAzfHVBuEv0TYYxMGMd4TWc-DZo ]
submissionscomments
pstadler··on CSS3PS: Convert Photoshop layers to CSS3
I'm looking for an app that does the opposite, since IE is still around ;-)
pstadler··on Ask HN: Sending large files over HTTP
There's also a draft for a File API which should solve the problems with uploading large files.

http://www.w3.org/TR/FileAPI/

pstadler··on TotalSpaces for OSX brings back grid Spaces and cube transitions
The best part for me is that it fixes the painfully slow animations when using ctrl+arrow
pstadler··on Smart Working at Credit Suisse - 2000 workspaces for 2500 employees
More information in this press release: https://responsibility.credit-suisse.com/app/article/index.c...
pstadler··on Introducing the New GitHub Graphs
This is a huge improvement - especially the Contributors chart is plain awesome and they finally load fast. On the other hand I still don't see any sense in the Punchcard.
pstadler··on Grc - it's like stylesheets for your terminal
If you're using Terminal.app, the first thing you should do is installing an eye-friendly color theme. Check out Optometrist: https://github.com/pstadler/optometrist
pstadler··on Helveticards - Minimalist Typography Cards for the Typophile, Gambler
Site seems to be fairly stressed. Here's the link to the designer's page: http://helveticards.uberdm.com/
pstadler··on StackOverflow for your Intranet
That's what I thought...
pstadler··on Ask HN: Open-source alternatives of Gmail?
Roundcube is by far the most clean, intuitive and beautiful opensource webmail client out there.

> it's also written in PHP... which doesn't necessarily have to count against it, but makes me a little wary

why that?

pstadler··on One thing I actually like better about DOS shells than bash
zsh.
pstadler··on Introducing Kikuchat: The Self-hosted Team Chat Solution
You could easily write a plugin which enables file sharing.
pstadler··on WebGL Path Tracing
Indeed, very polished. It's so awesome! Nice experience, very smooth (OSX/Radeon/FF5).
pstadler··on Find is a beautiful tool
`find` is beautiful, no discussion. Together with tools like xargs there's hardly anything you can't do with it.

Following is slightly off-topic but for searching inside files like

    find . -name "*.css" -exec grep -l "#content" {} \;
try `ack` instead

    ack --css '#content'
Above command will recursively search for '#content' in all css files under the current directory. It is faster than grep and does automatically exclude your hidden version control folders. No need to mess with `--exclude`. I really stopped using grep at all. ack can be found here: http://betterthangrep.com/
pstadler··on Code.Google.com now supports git
I think the strength of GitHub is lying in it's focus on code. And that's the point of a code hosting website, isn't it? You visit a GitHub repository... what's the first thing you see? Instead of a blank page with some numbers and a project summary you're directly looking at the core of every project: its code. The presentation of the readme file is just one more thing which speaks for GitHub. Your project summary is integrated into the actual process of development because it's a part of it.

Plus, you really get this feeling of activity while browsing projects and code on GitHub. Google Code and SourceForge seem so abandoned in comparison.

pstadler··on PHP to deprecate MySQL extension
It was much more fun to send them their own /etc/motd!
pstadler··on PHP to deprecate MySQL extension
As a person who teaches PHP (and probably other languages too), you should definitely tell people not to do following mistakes:

  mysql_query("INSERT INTO table(field) VALUES('".$_POST['input']."')");
and not to forget, a truly classic one:

  include('pages/'.$_GET['page']);
When I started to learn PHP there was a contest between the students: Who brings hosts with vulnerable websites down faster. The trick was to recusrively include the same page (like index.php for example). The most funny thing though was to see the explosively rising load average by including /proc/uptime.

After having some fun, we usually sent emails to the administrators just to not receive any answers and to find the hosts still vulnerable months later...

pstadler··on PHP to deprecate MySQL extension
Definitely a step into the right direction! It's just scary how many bad developers are passing unescaped values into SQL statements.

I remember one guy who was a PHP developer at the company for years. He was really good at it though. However during my apprenticeship I asked him about best practices querying databases and showed him my code. Looking at it he said: "Why the hell would someone escape those values? It's a database, not the Pentagon."

pstadler··on Cool, but obscure Unix tools
mytop - a `top` clone for MySQL
← PreviousPage 6 of 6