HNHacker News
TopNewBestAskShowJobs

asm89

534 karma · joined July 28, 2011

submissionscomments
asm89··on Run PHP in the browser through Babel
PHP in Browser has done this: https://oraoto.github.io/pib/.
asm89··on Elasticsearch Raises $70 Million
What I find interesting about the Elasticsearch story is the success it has given that the core product (the search server) is completely open source.
asm89··on Faker is a Python package that generates fake data for you
The name looked familiar and it's indeed inspired by the Faker library for PHP: https://github.com/fzaninotto/Faker

Another interesting library that is build on top of Faker is Alice. It allows you to define complex fixtures in .yml: https://github.com/nelmio/alice

asm89··on Google bots follow SQL-injected URLs from third party sites
Wondering how effective this is for getting a competitor website to block for example the google crawler. Maybe that's the motive.
asm89··on Ask HN: Who is hiring? (August 2013)
Rotterdam, The Netherlands - Full time - Senior PHP Developer - Qandidate.com

Come and join our team in our quest to build the best recruitment software in the universe...and beyond ;-)

You will be working at our head office in Rotterdam, developing Qandidate.com, diverse internal back-office applications, internal and external API's.

You get to work with experienced colleagues with a strong vision on web development and software architecture, giving you a full intellectual challenge every day. One day of your work week will be dedicated to R&D, prototyping and researching new processes, techniques and tools to move the development of Qandidate.com to the next level. If you want to push your web development knowledge to the next level, come join us!

# At Qandidate.com we use the following (and this list is growing):

  - LAMP + Elasticsearch
  - Symfony2 / Yii (legacy)
  - Git and GitHub
  - IRC
  - Test driven development
  - Constantly investigating new stuff like DDD / CQRS / Event sourcing / devops / ...
  - Our architecture is moving to decoupled applications, working together to provide the platform that runs Qandidate.com.
# What do we ask from you?

  - You have a Bachelor’s or Master’s degree in Computer Science (or equivalent)
  - Strong object oriented programming skills
  - Experience with developing with a framework such as Symfony2, Yii, or Zend2
  - Experience with test driven development
# What do we offer you?

We offer an excellent salary, an Option plan (SAR’s) and additional incentives every 6 months when we hit our company targets. Think of a day at the spa, dinner for two at a Michelin star restaurant or designer sunglasses of choice. We also have a pension scheme and if you like socializing, you’ll be pleased to know that there are plenty of outings and get-togethers taking place!

Meet your new colleagues! http://qandidate.com/tag/meet-the-team/

# We also offer:

  - 25 holidays days;
  - flexible working hours;
  - time and budget for training;
  - communal lunch every Tuesday;
  - laptop with SSD and 16GB RAM + docking station and two 24” screens at your desk;
  - 20% time for R&D;
  - great coffee ;-)
# About Qandidate.com

Qandidate.com is the new and free recruitment system for those companies looking to improve and take direct control over their recruitment activities. Designed for in-house recruitment, Qandidate.com offers customers an alternative to Outlook and Excel by providing a refreshingly easy-to-use online recruitment system. Qandidate.com provides all the information and tools they need to create an effortless recruiting process. Customers can track and manage their applicants anytime, anywhere. All for free!

Interested? Drop me a mail at iam.<my hn nick>@gmail.com.

asm89··on HTTP/2.0 Initial Draft Released
The draft was released earlier this month. There was an interesting discussion about it back then too: https://news.ycombinator.com/item?id=6012525

At the same time I also submitted another article that I still think is interesting and relevant as of today: https://news.ycombinator.com/item?id=6014976

asm89··on Why HTTP/2.0 does not seem interesting (2012)
Longer explanation of why there is no SSL in Varnish can be found here: https://www.varnish-cache.org/docs/trunk/phk/ssl.html.
asm89··on “Accounts merged and now my files are gone”
I agree on the Multiple Users being very useful. I have a user for my private browsing, one for company related user accounts and more.

The benefit for me is that this does not only work for for Google related products (gmail/analytics), but also for other products you use. In our case Outlook Web Access, but also for example Trello and GitHub.

asm89··on Show HN: Stackifier for Scala – Make sense of your Scala stack trace
They might look tacky in first place, but I assume they are related to the dollar signs in the stacktraces of code with threading and anonymous functions. :)

    ...
    at com.company.IdentityVerifier$$anonfun$go$2$$anonfun$apply$2.apply$mcII$sp(IdentityVerifier.scala:19)
    ...
    at com.company.UserCreatorMain$1.run(UserCreatorMain.java:37)
    ...
asm89··on Macros in Python
It's hard to give a TL;DR on the whole library, but case classes can be used with for example pattern matching (https://github.com/lihaoyi/macropy#pattern-matching).

The following code:

  with patterns:
      Foo(x, Bar(3, z)) << Foo(4, Bar(3, 8))
The constructor after the << will be matched with the part before <<. It will only match if the first argument of "Bar" is 3. If that's the case, x and z will be bound to 4 and 8.

Does this help? :)

asm89··on Macros in Python
While the specific feature is fun to see in python, I'm much more impressed by the fact that MacroPy enables you to do AST transformations from python modules on the fly. This allows for developing DSLs like they show with PINQ (a LINQ "clone").
asm89··on What language should I learn?
San Francisco on the other hand:

Objective-C

  162 jobs requested Objective-C
  122 jobs requested Ruby
  120 jobs requested JavaScript
asm89··on Space Monkey: Taking the cloud out of the datacenter
Really like the design. What I'd like to see is a device with a design like this that also has:

- options to pair up with specific other devices for the backups (family, trusted friends etc)

- a web app for posting status updates etc (implementing tent.io?)

Basically the things social networks offer now, but with you owning your own data.

asm89··on Show HN: box2d-jquery - physics-engine for your DOM
Very cool! I created a small bookmarklet that injects it into the system we're developing over here. It's nice to amaze some colleagues real quick. ;)

    javascript:(function(){var%20s=document.createElement('script');s.setAttribute('src','https://raw.github.com/franzenzenhofer/box2d-jquery/master/js/lib/jquery.box2d.min.js');document.getElementsByTagName('body')[0].appendChild(s);window.setTimeout(function(){$("#main-nav,header").box2d({'y-velocity':5,'x-velocity':-0.05,'debug':false});},500);})();
Note: if you copy this in the omnibox of chrome, you will need to re-add "javascript:" in front of it.

Edit: And a working bookmarklet for HN that also injects jquery.

    javascript:(function(){var%20s=document.createElement('script');s.setAttribute('src','//ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js');document.getElementsByTagName('body')[0].appendChild(s);s=document.createElement('script');s.setAttribute('src','https://raw.github.com/franzenzenhofer/box2d-jquery/master/js/lib/jquery.box2d.min.js');document.getElementsByTagName('body')[0].appendChild(s);window.setTimeout(function(){$("td:first()").box2d({'y-velocity':5,'x-velocity':-0.05,'debug':false});},500);})();
asm89··on Context-aware HTTP caching (with Varnish)
I think it also depends on how you use Varnish. A lot of web applications can benefit from the reverse proxy capabilities of Varnish, but if you make Varnish part of your application stack from day one you can do things like I describe here. :)
asm89··on Context-aware HTTP caching (with Varnish)
I took the photographs with my phone, next time I'll use a better camera. Changing the red is probably a good idea anyway. Thanks!
asm89··on Context-aware HTTP caching (with Varnish)
Hm, I'm not sure how to introduce the pre-authentication bit even further. Maybe it isn't the best subtitle.

I agree that colouring the output could make things more clear. I'll keep it in mind for future articles!

asm89··on Context-aware HTTP caching (with Varnish)
Next time I'll take the photographs with a dslr camera instead of my phone. :)
asm89··on Context-aware HTTP caching (with Varnish)
Ah yes, the introduction talks about caching, but doesn't say anything about the title. I'll try to keep this comment in mind next time!
asm89··on Context-aware HTTP caching (with Varnish)
The approach described in the blog post can be used with all sorts of authentication schemes. I used an access token as example, but you could also use the "Cookie" header to get a session id.
asm89··on Context-aware HTTP caching (with Varnish)
Thanks! As for the examples, I think I will write some follow-up articles with more concrete use-cases and features of Varnish.
asm89··on Context-aware HTTP caching (with Varnish)
Yes, edge side includes are very interesting indeed! We used that for scenarios like you describe, but there are actually some things you should take into consideration when using them. Maybe I can dedicate a blog post to that! :)
asm89··on Context-aware HTTP caching (with Varnish)
This is the first blog post I wrote and actually published. Any comments on content, but also writing style etc are very welcome!
asm89··on Show HN: We Use That. What startups use to get stuff done
You should add http://weusethat.com/ to the description of the repository and as the url of the github user (not an org?). Right now there is no link to click!
asm89··on Year of the storm
Screenshot for the dutch people that can't visit TPB anymore..: http://i.imgur.com/VVBiJ.png
asm89··on Twss.js
There was a similar project before that implemented this for an IRC bot. You can also train this bot by telling it what jokes are good and bad ones. :)

https://github.com/jsocol/scottbot http://coffeeonthekeyboard.com/say-hi-to-scottbot-594/

asm89··on PHP 5.3.9 released
If you have open-source projects on github, you should really checkout travis (http://travis-ci.org/). Travis is also able to run tests in different php environments and can be hooked into github to tests whenever you commit! :)
asm89··on New Chrome Beta release renders web pages as you type, screens downloads
I believe pre-fetching of links is already more common in browsers these days, so I don't think that this feature will introduce these issues again.

Note that this new feature also _renders_ the page in the background.

asm89··on Nginx server not safe against ldos | feedback from sys admins?
Google cache link: http://webcache.googleusercontent.com/search?q=cache:http://...