News for hackers. Stuff that matters.

asm89

Re:Run PHP in the browser through Babel on Sunday July 26, 2020 @05:22PM (#23960287)
PHP in Browser has done this: https://oraoto.github.io/pib/.
Re:Elasticsearch Raises $70 Million on Thursday June 05, 2014 @09:38AM (#7851861)
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.
Re:Faker is a Python package that generates fake data for you on Wednesday January 22, 2014 @10:01AM (#7102854)
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

Re:Google bots follow SQL-injected URLs from third party sites on Tuesday November 05, 2013 @06:36PM (#6679323)
Wondering how effective this is for getting a competitor website to block for example the google crawler. Maybe that's the motive.
Re:Ask HN: Who is hiring? (August 2013) on Thursday August 01, 2013 @09:49AM (#6140260)
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.

Re:HTTP/2.0 Initial Draft Released on Tuesday July 30, 2013 @05:24AM (#6126004)
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

Re:Why HTTP/2.0 does not seem interesting (2012) on Wednesday July 10, 2013 @03:14AM (#6017934)
Longer explanation of why there is no SSL in Varnish can be found here: https://www.varnish-cache.org/docs/trunk/phk/ssl.html.
Re:“Accounts merged and now my files are gone” on Monday June 03, 2013 @09:53AM (#5813254)
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.

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)
    ...
Re:Macros in Python on Monday May 13, 2013 @11:28AM (#5699196)
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? :)

Re:Macros in Python on Monday May 13, 2013 @11:25AM (#5699173)
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").
Re:What language should I learn? on Sunday April 28, 2013 @11:57AM (#5621651)
San Francisco on the other hand:

Objective-C

  162 jobs requested Objective-C
  122 jobs requested Ruby
  120 jobs requested JavaScript
Re:Space Monkey: Taking the cloud out of the datacenter on Wednesday April 17, 2013 @10:58AM (#5564832)
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.

Re:Show HN: box2d-jquery - physics-engine for your DOM on Tuesday December 11, 2012 @06:00AM (#4904037)
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);})();
Re:Context-aware HTTP caching (with Varnish) on Wednesday September 26, 2012 @06:53PM (#4578440)
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. :)
Re:Context-aware HTTP caching (with Varnish) on Wednesday September 26, 2012 @06:36PM (#4578382)
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!
Re:Context-aware HTTP caching (with Varnish) on Wednesday September 26, 2012 @06:35PM (#4578378)
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!

Re:Context-aware HTTP caching (with Varnish) on Wednesday September 26, 2012 @06:19PM (#4578323)
Next time I'll take the photographs with a dslr camera instead of my phone. :)
Re:Context-aware HTTP caching (with Varnish) on Wednesday September 26, 2012 @06:15PM (#4578313)
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!
Re:Context-aware HTTP caching (with Varnish) on Wednesday September 26, 2012 @06:04PM (#4578285)
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.
Re:Context-aware HTTP caching (with Varnish) on Wednesday September 26, 2012 @06:02PM (#4578280)
Thanks! As for the examples, I think I will write some follow-up articles with more concrete use-cases and features of Varnish.

Older »