News for hackers. Stuff that matters.

barell

Re:Signal is having technical difficulties on Friday January 15, 2021 @02:52PM (#25795454)
Netflix and spotify give me quick access to lot of content and I value it. I don’t care what software gives me this content.

With messaging it’s different. Transferring messages is relatively simple topic to do as a software. But the cost of running and maintaining it is hard and that’s what users don’t care.

Re:PHP 8 on Thursday November 26, 2020 @04:25PM (#25223638)
I tried many things from Apache with mod_php, nginx with php-fpm, Roadrunner and Swoole.

Apache and nginx are both great, both have pros and cons, although I would go with nginx and fpm as my first choice.

Swoole is totally different approach as it runs php as standalone server in a loop, just like python for example. It is great if you serve api but it kills the benefit of having each request isolated as you would have with nginx or apache. So you need to care about memory leaks, db connection pools etc. Also Swoole docs was not great few months ago.

Roadrunner is kind of between apache/nginx and Swoole. It is a golang server that can execute php in workers. For each worker once php is loaded it will stay in memory and it is super fast. The only downside on this one is that Roadrunner is developed by mostly one guy and not much you can find on the internet. Also Roadrunner features set is IMO very narrowed into what the company behind it needs at the time. IMO there is no clear vision where this project is going.

Re:How Go helped save HealthCare.gov on Tuesday November 10, 2020 @01:05AM (#25043200)
I think he means C++ is 2x to 5x faster to run than Go. I saw many benchmarks and not sure if that is true though. Go is still one of the fastest out there.
Re:Slack stores browser cookies without user consent on Sunday November 08, 2020 @11:23AM (#25026746)
That is still not clear. Not everyone need to sign in so it could not be essential. It should ask when you want to login if you want to store a cookie or not.
Definitely missing a proper CTA (call to action) button in the welcome email. It should stand out clearly in the center of the email.
It says DGPS (Digital Global Positioning System) is it the same as Differential GPS?
How do we know what is best for us? What and who should we believe? It kinds of remind me how Copernicus was banned centuries ago despite now we know he was closer to truth than anyone else. If we live at his times we would say he is crazy and certainly his YouTube channel would have to be deleted but why? I guess if someone is right, he will prove it eventually. Even if it sounds crazy but the person is determined we should have right to know it and decide if we agree. Why someone esle should decide for us what we can know.

http://origins.osu.edu/milestones/february-2016-400-years-ag...

Re:Show HN: DCPM – Docker Compose Package Manager on Tuesday April 07, 2020 @03:55PM (#22806848)
Would be nice to see some example. When I open search there are no results.
Re:In Amazon Go, no one thinks I'm stealing on Sunday October 28, 2018 @03:11AM (#18319486)
Just a bit off topic. Is it possible to steal in Amazon Go?
Re:No, Google, We Did Not Consent to This on Saturday October 13, 2018 @02:12AM (#18206688)
There is no such a thing like plugin which can operate only on one website. Plugin in browser is like an app on Windows. Once you install it and run it, it can access anything.

I think the main problem these days is lack of understanding how computers and Internet work.

Does this extension work more or less like every URL you would open in a new incognito mode separate window? Or is there some other more sophisticated solution in the background?
Re:Avoid Else, Return Early (2013) on Monday March 26, 2018 @02:40PM (#16681319)
I agree with everything apart having if and return statement in the same line. It makes code really difficult to read.

In addition, I also like is to avoid if/else when returning bool values:

  if (a > b) {
     return true;
  } else {
     return false;
  }
Could be simply written as

  return (a > b);
Re:Facebook was warned about app permissions in 2011 on Sunday March 25, 2018 @06:58AM (#16671640)
As I said I was developing Facebook apps back in 2011 and at this time as far as I remember, your friends list was publicly available to any logged in user. API was only making this easier for apps to fetch the data about you. There was an explicit permission about accessing friends list and their data through the API so yes, any of your friend at that time could just give away your profile to a third party.

I stopped using Facebook back in 2011 (only used it to manage and test my apps) as I was really concerned how easy is to collect personal data.

But I guess for me, as a developer, it is easy to imagine how things works and when to get suspicious online.

On the other hand it makes me really happy, Facebook privacy issues like this one with CA, got much attention and finally more people, hopefully, will understand how things works.

Re:Facebook was warned about app permissions in 2011 on Sunday March 25, 2018 @06:19AM (#16671554)
I was also working on Facebook apps from 2011 to 2013 using Facebook APIs.

At this time whenever we have released any app, useres could login to it using OAuth which means they were presented with a list of privileges our app needs from them (eg. Friends list, photos, posts etc). Once user has authorised the app we could fetch all of this data.

This was how Facebook worked at this time, you can’t say it is a leak of data because we explicitly ask user for permission. You basically say, I want to use your app, here is my profile if you need it. I don’t really understand why people are so mad about their data privacy. If you publish your photos, list of friends, what you like, where you live and work, who are you merry to, then it shouldn’t be a surprise this data can be viewed by not only your neighbour but also a dodgy automated scripts. Once the data is fetched then you can only imagine what people can do with it. It’s not really Facebook fault. It’s people who thinks when they publish things on the Internet, it’s safe and can be only viewed by other people.

Maybe Facebook only role should be to make people more aware of all of this, but is it in their interest? I don’t think so.

Re:Users Abandon Facebook After Cambridge Analytica Findings on Wednesday March 21, 2018 @11:32PM (#16645469)
I didn’t know you can have Facebook account without having email address.
Re:The spread of true and false news online on Thursday March 08, 2018 @04:07PM (#16547635)
It’s so easy to put anything on the internet and anyone could do that. I think most of the times is that people responsible for posting for bigger audience just don’t bother to check the source and publish news based on Joe Blogs tweet or post.

The truth is there are not many good journalists who cares and it’s more about making clicks rather than produce rich content.

Don’t think there is anything we can do about false news. Just learn how to live with it.

Re:More Gotchas of Defer in Go, Part II on Thursday December 21, 2017 @12:21PM (#15980710)
I think most of the people who understand the basic principles of how computers (and many languages) work wouldn’t be surprised by any of the „gotcha” described in this article. It seems to be written for people who just started working with golang without any or little knowledge about information technology.