HNHacker News
TopNewBestAskShowJobs

pibi

62 karma · joined November 3, 2012

pibi046 [at] gmail [dot] com
submissionscomments
pibi··on Problems with Swagger
It looks like the perfect workaround is to use some middleware to autogenerate the Swagger docs, at least to keep code and documentation in sync. After a while I found myself doing the opposite, using Swagger to autoconfigure endpoints (https://github.com/krakenjs/swaggerize-express) and even mongodb models (https://github.com/pblabs/swaggering-mongoose). Here is my actual reference architecture: https://github.com/pibi/swagger-rest-api-server

Best thing about this approach is the clean separation between API definitions and the implementation (all over the stack), so the teams can just discuss about how to organize the resources and how to use them.

pibi··on Ask HN: How much do you earn on average through software freelancing?
Node/Socket.io|Sockjs/AngularJS Development from Italy - 2000$/week working 2/3 days per week. Made 5 figures with different clients on the last 2 years on Upwork and I'm really not a good English speaker. I think your 1. point is the key, especially if you are competing with bottom-barrel programmers. It is the thing that makes your proposal outstanding against the competition, even if you are not a good communicator, but you have to learn how to select your client or the projects.

I'm a seasoned node.js developer (since 0.1.30) and I'm specialized on the "realtime" web, (e.g. chat, push notifications, events synchronization ) and scalable architectures. For everyone interested, feel free to reach me out at pibi046(.at.)gmail(.dot.)com.

pibi··on The Real Value of $100 in Each US State
Not exactly the same but you can find comparative prices for 100€ in EU here: http://ec.europa.eu/eurostat/statistics-explained/index.php/...
pibi··on Leonardo da Vinci’s resume
"Faccio il tifo per te" instead of "Sto tifo per te".

Anyhow, thanks for sharing it, I will rewrite my resume based on this approach.

pibi··on How to close a running process's socket
what about tcpkill (8) ?
pibi··on Italia Startup Visa
Also, patents OR a deposit of a relevant source code to the author registry (SIAE). this is really easy to achieve at almost no cost at all.
pibi··on Italia Startup Visa
What about the Dolce Vita?

Have you some serious FACT to show? Something you can COMPARE to French, Spain , Ireland or Germany?

pibi··on Gwan – a fast 150kb web server supporting 14 scripting languages
More cons: - cheating for benchmark's sake (https://news.ycombinator.com/item?id=4735670)
pibi··on Time Zones Considered Harmful
What about Internet time (http://en.wikipedia.org/wiki/Swatch_Internet_Time)?
pibi··on HN Pizza Index: Cost of living by city
North Italy: a standard Margherita: 4,5€. And, you know, it is simply the best.
pibi··on Unnoficial design concept for Windows 9
This is almost done with Rainmeter and http://omnimo.info/. Pretty useful on my B121 tablet.
pibi··on Rethinking the guest operating system
Very similar to: https://github.com/anttikantee/rumpuser-xen
pibi··on Speeding up HTTP with minimal protocol changes
I think of dynamic pages. How could the webserver compute the slice length without known chunked length and buffering?
pibi··on Speeding up HTTP with minimal protocol changes
Maybe better without Slice-Length header for chunked encoding to avoid buffering on web server.
pibi··on What makes something "notable"?
Because it caches (http://gwan.com/faq#cache) response under high concurrencies. Try to benchmark this code:

  #include "gwan.h" // G-WAN exported functions
  int count=0;
  int main(int argc, char *argv[])
  {
   if (!count) printf("New Counter!\n");
   xbuf_xcat(get_reply(argv), "Hello World %d",count++);
   return 200; // return an HTTP code (200:'OK')
  }
← PreviousPage 2 of 2