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 Find out how many users/repos Github has by a simple search
This seems to be valid compared to numbers released in April 2013 [1]. GitHub is growing fast.

[1] https://github.com/blog/1470-five-years

pstadler··on UNIX Tips and Tricks To Save You Time In Terminal
This is really cool. Thanks for posting that!
pstadler··on UNIX Tips and Tricks To Save You Time In Terminal
Don't use too many aliases, a dozen generic ones should do it, learn to use reverse history search (usually mapped to Ctrl-r) instead.

Once you get used to it, your brain just triggers this combination whenever the command is more complex than let's say `ls -al`. This means you have to change some habits like to `tail` your logs with absolute paths, so you don't need to `cd` into the folder first, etc.

pstadler··on HN Pizza Index: Cost of living by city
There's a Margherita as discribed in my earlier comment available at Santa Lucia[1].

[1] http://www.bindella.ch/gastronomie/ueberblick-ristoranti/res...

pstadler··on HN Pizza Index: Cost of living by city
That's the very reason this will lead to nowhere...

A good (e.g. not the crap from Domino's which is overpriced in CH anyway) italian Pizza Margherita made in a wood oven with a size of around 33cm costs CHF 17 (~$19) in Zurich.

It's the wood that makes it good.

pstadler··on Georgify: Make Hacker News More Readable
The version for Stylish was broken. Fixed here: https://gist.github.com/pstadler/5684154
pstadler··on This Is What Winning Looks Like – Afghanistan War Diary
No End in Sight[1] is my favorite.

A documentary about the Iraq occupation starting in 2003. It's a sad story - no room for heroes - as the iraqi people lost everything.

[1] http://www.imdb.com/title/tt0912593/

pstadler··on Rebuild YouTube's mobile-like progress bar in jQuery
I did the same on https://www.mila.com

It's fairly simple but it took some time to figure out the right sequence and timing for it to run smoothly across all devices / browsers.

pstadler··on Yes `yes no`
`yes` is an excellent tool for simulating CPU load:

    CORES=4
    for i in {1..$CORES}; do yes > /dev/null &; done
pstadler··on Ask HN: Webdevs, designers: what devtools should we (Mozilla) build in Firefox?
The main reason I'm still using Firefox as my main browser is Firebug, which is still better than the competition. Unfortunately it's a memory hog and dramatically slows down the whole browser. So my vote goes to performance improvements for Firebug.
pstadler··on What Coke Contains
HFCS is not banned in the EU, but its production is limited to 5% of total sugar production.

"Which foods and beverages contain GFS?

Because of the limited availability in Europe, the products in which GFS is used, are those where the sweetening power and other qualities are needed simultaneously. Examples of this can be found in baked goods, cereal products, confectionery, jams and preserves, yogurts and other dairy products, condiments (e.g. mustard and ketchup), canned and packed goods. The use of GFS in soft drinks has been limited as this application needs a fructose content of 42% or higher to give the desired sweetness and GFS is not available in sufficient quantities to be widely used in soft drinks. In the EU, soft drinks continue to be sweetened mostly with sucrose, when in the US, they are sweetened with HFCS."

http://www.eufic.org/page/en/page/FAQ/faqid/glucose-fructose...

pstadler··on What is your best programmer joke?
Definitely the right answer to gpg's "Please do some other work to give the OS a chance to collect more entropy!"
pstadler··on I'm not too happy about Sublime Text 3
Come on, not everything is for free.

A lot of you prefer ST over all the free or cheaper alternatives out there. At least I do, and that's why I can live with the fact of paying somebody 30 bucks to continue the development (for another year, or two?) of an awesome piece of software that I use daily.

pstadler··on Plane Finder - Track flights around the globe
There's a similar project made by students at ZHAW (a swiss university of applied science) but only covering planes on swiss radars. Check it out here: http://radar.zhaw.ch/radar.html
pstadler··on Data from two years of blogging with no SEO
definitely.
pstadler··on Data from two years of blogging with no SEO
"Some high level stats since I put Google analytics on my blog on February 28th, 2011. I never spent money on SEO, I did do an experiment for a month- buying twitter ads."

It seems like he's associating SEO with running (Google-)ads, which is simply wrong and therefore this blog post is pretty much nonsense.

pstadler··on Obama quickly dropping by on Reddit on election day
Looking forward to seeing Santa quickly dropping by on Christmas Eve.
pstadler··on ProCog – a new transparent search engine
Most of the search results are outdated, inaccurate or no longer existing. I'm always looking for alternatives, but this is not the one. Google is still so much better and/or faster than other search engines, including DuckDuckGo.
pstadler··on Always “hover” before you click? Wrong.
Really not worth a discussion as this functionality is probably around since the first web browser implemented JavaScript. I don't know anyone who's actually giving that "hover" target-preview attention anyway. On the other hand, preventing this is not a solution. It would break patterns for AJAXified navigation.
pstadler··on [dead]
This submission is just wrong. Sure, the new maps suck, but really? Who is upvoting such a crap?
pstadler··on Using /usr/local
You're right. Good to know that man checks this path by default. I'm using a custom path for homebrew, that's why I added /usr/local/homebrew/share/man to the $MANPATH.
pstadler··on Using /usr/local
Don't forget to add the following line to your .bash<whatever> to make the man pages of your custom software accessible:

    export MANPATH=/usr/local/share/man:$MANPATH
This works for packages installed with homebrew and othe software that follows the standards.
pstadler··on Tomorrow Theme
For Terminal.app I still prefer Optometrist: https://github.com/pstadler/optometrist

Disclaimer: I'm the creator of the mentioned theme.

pstadler··on Tomorrow Theme
I solely use dark themes for editors and terminals.
pstadler··on Tomorrow Theme
I originally used "Tomorrow Theme - Solarized was yesterday" as a title for this post. However, I agree with the crowd that this title was a little bit to agressive (some might call it marketing).

I never liked Solarized, for me this is a replacement for the awesome Twilight theme.

pstadler··on Linux Commands for Developers
You should really try ack (http://betterthangrep.com) as a replacement for grep.
pstadler··on CSS's "transparent" isn't all that transparent
No problem with FF 14.0.1 on OSX for me as well.
pstadler··on Use OSX Finder Quicklook (Spacebar) to preview all plain text files
I guess you're right. Though I never recognized this before and since I'm using Alfred, I don't touch Spotlight that often.
pstadler··on Use OSX Finder Quicklook (Spacebar) to preview all plain text files
Somehow off topic but this is a very neat trick: You can preview the selected item directly in the Spotlight menu by pressing the left arrow key.

Source: http://www.macstories.net/mac/all-you-need-to-know-about-qui...

pstadler··on Use OSX Finder Quicklook (Spacebar) to preview all plain text files
Nice plugin!

Pro tip: Instead of restarting finder run `qlmanage -r`

← PreviousPage 5 of 6Next →