News for hackers. Stuff that matters.

lpinca

> There is NO WAY in hell the Italians have tested over 200,000 patients for SARS-Cov2 in a matter of 2-3 weeks due to

See https://lab24.ilsole24ore.com/coronavirus/#box_6 that graphs shows the number of tampons per day.

https://lab24.ilsole24ore.com/coronavirus/#box_5 total tampons: 233222. The source is the Italian Ministry of Health.

Also in Italy, unlike what happens in other countries, all deceased people positive to the test are classified as "Covid deaths", regardless of the simultaneous presence of other serious diseases.

Re:Show HN: A Website for HTTP Status Codes on Saturday March 30, 2019 @04:23AM (#19528432)
How is this better than https://httpstatuses.com/
I'm not sure how the append only mode works but I tried to run a script (appendfsync directive set to always) which sets a new key in an endless loop and kill the server in the middle of the execution.

No changes are written to the AOF so I guess the operation is atomic.

Re:More than one million requests per second in Node.js on Saturday February 04, 2017 @12:10PM (#13567754)
Did you ever try to disable permessage-deflate with ws? It will never be as lightweight as uws because ws is built on top of `net.Socket` but I think you hit this ws issue https://github.com/websockets/ws/issues/804 in the WebTorrent tracker.

I think ws will use 3/4 times more memory than uws with permessage-deflate disabled which is a lot, but far different from 47 times as advertised.

Re:uWebSockets 0.10.0 on Wednesday October 05, 2016 @10:19AM (#12643998)
It's your idea of transparency which I don't like, not your project.
Re:uWebSockets 0.10.0 on Wednesday October 05, 2016 @10:16AM (#12643969)
Yes, for 100k connection, using Alex's own benchmarks I saw that uws is up to 2x faster/more lightweight than ws except for the short message throughput where uws really shines and is up to 10x faster. It is a lot, don't get me wrong but the numbers on the README are obtained comparing the C++ server with ws which is totally wrong imho.
Re:uWebSockets 0.10.0 on Wednesday October 05, 2016 @09:57AM (#12643811)
For 100k connections your own benchmarks showed a different story. Now I didn't try with 1 million and I guess it gets worse so I trust you but I can try with removing the upgrade request, the event emitter, etc from ws to start at least with a fair comparison.
Re:uWebSockets 0.10.0 on Wednesday October 05, 2016 @09:36AM (#12643633)
`ws` is another popular WebSocket implementation for Node.js
Re:uWebSockets 0.10.0 on Wednesday October 05, 2016 @09:17AM (#12643518)
Congrats for this achievement. For anyone using this in Node.js I strongly suggest to run your own benchmarks as uws is no way 47x 18x 33x and 2x times faster/more lightweight than ws. Also check how the improvements are obtained.
Re:Deepstream.io – Open Realtime Server on Wednesday September 21, 2016 @05:19AM (#12546599)
I'm still confused. You are announcing 1.0 but the actual version is 1.1
Re:Deepstream.io – Open Realtime Server on Wednesday September 21, 2016 @05:15AM (#12546581)
I'm confused. 1.1 has been released 13 days ago https://github.com/deepstreamIO/deepstream.io/releases/tag/v...
Re:Ask HN: Are you still using Socket.IO? on Monday June 13, 2016 @11:59AM (#11894923)
The project is young but looks promising.
Re:From Node.js to Go on Tuesday May 17, 2016 @10:09AM (#11713741)
I wonder what was the WebSocket module used in Node. There is this new module https://github.com/alexhultman/uWebSockets which is very promising.
Re:Show HN: MMO Pixelart with and Websockets on Saturday October 10, 2015 @01:41PM (#10366230)
This is great.
Re:Ask HN: Who wants to be hired? (September 2015) on Wednesday September 02, 2015 @09:47AM (#10159069)

  Location: Perugia Area, Italy
  Remote: Yes
  Willing to relocate: It depends on the offer
  Technologies: JavaScript (Node.js, Primus, Express, jQuery), SQL (MySQL), Redis, MongoDB, PHP, Linux, Bash, Git, CSS, HTML
  Résumé/CV: Will send via email
  Github: https://github.com/lpinca
  Email: luigipinca (gmail)
I enjoy learning and collaborating with others and I'm looking for a working environment where I can expand my experience, skills and knowledge.
Re:Offer HN: Free Domains on Friday April 24, 2015 @03:21AM (#9431853)
I won a promo code for a .HOST 85% off from the same anniversary game.

I will not use it, so if you are interested let me know.

Re:Best free resources for learning Node.js on Monday November 17, 2014 @12:16PM (#8619168)
Maybe a bit out of topic but take a look at this https://github.com/sindresorhus/awesome-nodejs and this http://nodeschool.io/
It's nice, but why should i pay for this when i can write a simple bot that runs 24/7 and does the same thing for free? At least add a free plan.
Re:CentOS 7 potential release on Monday July 07, 2014 @10:28AM (#7998986)
Title updated.
Re:Introducing Socket.io 1.0 on Thursday May 29, 2014 @02:45AM (#7815066)
Yes it does, but if you are building something that works perfectly only using websockets (e.g. a command-line utility), why would you use engine.io?

You can tell engine.io to only use websockets, but what's the point if you can use websockets directly and have the same API?

Re:Introducing Socket.io 1.0 on Wednesday May 28, 2014 @06:01PM (#7813244)
You can't use both. In Primus you can select only one transformer, listed above by V1, but if something doesn't work, you can just switch it with a single line of code. No rewrites, no need to learn a new API.
Re:Introducing Socket.io 1.0 on Wednesday May 28, 2014 @03:50PM (#7812403)
Congrats for the release, but i will keep using https://github.com/primus/primus.

No module lock-in!

Yes i'm a bit biased.

Re:Song of GitHub on Friday February 22, 2013 @06:05AM (#5263716)
Cool idea!
Re:Howler.js - Javascript audio library for the modern web on Monday January 28, 2013 @04:38PM (#5130817)
Yeah, but it's a limitation.

Playing a file in another domain works with http://www.schillmania.com/projects/soundmanager2/ or http://www.jplayer.org/ (http://jsfiddle.net/Q4LMV/18076/)

https://github.com/CreateJS/SoundJS/ instead respect same origin security policy (http://jsfiddle.net/SeUD7/) like your library.

That being said, i like your lightweight library, well done.

Re:Howler.js - Javascript audio library for the modern web on Monday January 28, 2013 @01:37PM (#5129873)
http://jsfiddle.net/mt6Tt/1/

Value is not of type AudioBuffer. Origin null is not allowed by Access-Control-Allow-Origin.

Re:Show HN: Show H En on Saturday January 05, 2013 @09:49AM (#5012745)
You should add a link to return to the original post then.

Older »