skysight-inc/HackerNews huggingface dataset:
"If you plan to compare Redis to something else, then it is important to evaluate the functional and technical differences, and take them in account.

- Redis is a server: all commands involve network or IPC round trips. It is meaningless to compare it to embedded data stores such as SQLite, Berkeley DB, Tokyo/Kyoto Cabinet, etc ... because the cost of most operations is primarily in network/protocol management."

https://redis.io/topics/benchmarks
> People depend on the web more than they did, so they might be willing to wait for things longer—or even just be resigned to the web being slow. Or perhaps the increased number of providers means that they won’t be willing to wait as long. I don’t know.

It is hard for me to disregard those big names and their claims, especially since I have no direct experience in working for any of those companies for me to say otherwise.

On the other hand, in my purely anecdotal world of friends, family, and colleagues, I have never seen/heard of such behaviors. I doubt any of them even realize what 100ms is, let alone abandon their purchase on Amazon because of that delay. Most people can't even react in 100ms to brake their cars.

I really have to wonder if we have causation vs correlation going on.
How about $40/month for 12, but capped? [0]

[0] https://www.exetel.com.au/broadband/nbn
It's actually interesting that you say that... am I reading your post right that you're a US citizen, but lived abroad for a few years? I've found re-entry as a citizen to have gotten much easier and more streamlined over the past few years. With Mobile Passport, I'm through both immigration and customs in minutes (it boggles the mind that so few people have learned of MP yet; the "manual" lines are still pretty long). Nearly all of the immigration officials I've interacted with (SFO, EWR, IAD in the past few years) have been polite and even friendly. I feel like random customs checks have actually decreased for me in the last decade, though that could just be coincidence. Of course, full disclosure, I'm a straight cis white male, so I'm basically bottom of the list of people they'd potentially harass.

I have several friends who are not US citizens, so I get to hear about how much it sucks from their perspective. There are differences depending on country of origin and visa type. My friends who are from "bad" immigration countries like India, China, and Russia have a hard time, but friends who are from more "trusted" countries tend to have it much easier. My friends who are on long term / work visas find it a huge pain to deal with renewal and keeping it updated (and sometimes my friends from "bad" countries get stuck outside the US for weeks during renewal, for no good reason), but the actual border crossings aren't too bad, as long as they have all their paperwork in order. I don't really know anyone who visits the US on a tourist visa or similar, so I don't know what that experience is like.

Regarding changes for non-citizens, despite my friends relating their experiences, I don't think I've seen _that_ much of a negative difference over the past few years. The onerous fingerprinting requirements are not new[1], and the idea of the anxiety-inducing chat with the immigration officer is even older and doesn't seem to have changed much post-9/11. The new social media stuff is of course ridiculous, especially if it morphs into a hard requirement (or worse, a soft one, where refusing to provide details habitually results in denied entry). Is there a timeline anywhere of changes to US entry practices in the last decade or two? It'd be interesting to see if there have been a lot of small, incremental, "unnoticeable" changes.

[1] And it seems many other countries have adopted fingerprinting requirements anyway; I was just in Japan and Taiwan, and both fingerprinted me. I believe Japan has been requiring fingerprints of visitors longer than the US has.
I moved to Toronto from the EU a while back and can confirm that the ISPs and mobile carriers are all awful.

Horrific service, decades old technology (I'm still on 3G in Toronto), traffic quotas (low ones at that) and all options are rather expensive.

I had a quick look around, and in .SE you get about 40GB of mobile traffic for 90CAD. The same amount of money will get you 10GB of traffic at Bell in Canada.

The story is identical for residential broadband. It is truly an embarrassment.
That wealthy first worlder sympathy has a tendency to stop at puberty. Everybody loves the idea of helping children in need, but once those children grow up, it'd better be someone else's turn. It's more satisfying to help the next batch of children, or maybe even a puppy.

Being aware of suffering in the world and living with a minimum of class segregation are orthogonal concepts, or maybe even inversely coupled, with the comforts of segregation helping superficial salon socialist ideas.

But the way I understand the root post (grandparent or deeper), the idea of avoiding the segregated bus is not directly about helping, it is just a routine reminder that the people outside the bus are persons. Maybe with their individual flaws and imperfections, but not the fearsome mass of zombies or orcs that they become in the eyes of those who spend too much time in comfortable isolation. Fear is difficult to get rid of once it is there, but it can be trivial to not allow it to start.
>Global population isn't evenly distributed. Some countries and areas are definitely overpopulated.

Do you mean the West, or for example Africa? The West is often brought up, but it's below replacement level. Africa will definitely have problems, and we need to a) bring them safe, effective birth control, so they can make their own choices, and b) solve infant mortality.

The goal should be 2.0 fertility rates everywhere. "Overpopulation" isn't even remotely a problem anywhere in the West, the opposite is.

>What constitutes overpopulation can vary according to climate and economic changes. Just look at Syria, where unprecedented drought caused 75% of the country's farms to fail, led to mass migration from rural areas to cities, and ultimately to civil war and significant depopulation.

1) You haven't established that the Syrian population was "too high for its natural carrying capacity", which is a normative and not positive statement. A drought doesn't necessarily signify that. This is a social and political problem (did they not receive pensions?), not an overpopulation problem.

2) Are you arguing that, because many died as a result of the drought, many shouldn't have been born in the first place? Seems circular.

>No, it's a myth that populations need to be perpetually growing in order to maintain economic growth. Growth can also be achieved through technological development.

Many countries in the West are below replacement levels. That carries its own problems. The people campaigning against overpopulation seem to also be targeting the West, which I find absurd.
Redis is quite an awesome database, these claims here aren't to belittle Redis (it is one of the fastest out there!). Check out there performance (and make note of theirs, and mine, warnings that benchmark tests are not the end game) blog: https://redis.io/topics/benchmarks .

The biggest difference is that you still have to speak to Redis over the wire within a single machine, where Redis has it cached and replies. The (terrible terrible?) choice of JavaScript gets around this, once cached, it is directly in the app logic's memory - so you don't even have to perform any request. And that is where you get the speed gain.

Summary: GUN's caching is closer to the end result you are measuring, therefore it is faster. Not magical algorithms.

- What does GUN do badly?

Banking. Anything relating to strong consistency. GUN is an AP system which means you really shouldn't use it for anythign involving accounting, money, etc. - read more about that here: https://github.com/amark/gun/wiki/CAP-Theorem

Where should you use it instead of Redis? When you want realtime updates or graph data. There is a 10 minute guide on how to use graphs from a key/value, table or relational, or document oriented way here: https://github.com/amark/gun/wiki/graphs .
I Know What You Download on BitTorrent
Christmas Cable-car 2016
A team of one
While the cinematography is a master stroke, it's not enough to carry a film seeking some level of depth.

I feel Children of Men succeeds because all of its elements - the direction, acting, art direction, writing, score, editing & cinematography - come together so well.

There are many films that get some of these elements right, far fewer nail all of them.
Customers of a larger provider had their rates go up. While those of a smaller reseller went down.
http://www.cbc.ca/news/business/crtc-teksavvy-1.3906730

We've seen how well other basic services have been handled
and priced.
http://www.huffingtonpost.ca/2016/07/21/ontario-hydro-rates_...
How are you calculating the 'risk of any one person being killed by violence' today? To make that claim you need to consider tail risk and black swan events that are possible but have little precedent. What weight are you giving the likelihood of a person dying by nuclear weapon?
I just wonder what's it's design goals in the future. I noticed that Elixir team seems working hard on something like GenStage and so on.
My personal mental model is this:

People have a threshold to to [1] on how long they stay on your site, say 5 minutes. If you're site is faster, they will see more pages. More pages increases the likelihood that they find something to buy/comment/...

[1] would love this tested.
Absolutely! I mention this in one of my other comments, thanks for highlighting it. The performance difference is really a matter of the cache being closer (embedded in-memory into your app), not any magical algorithms. But this is still an optimization that many people miss! And it can significantly speed up your web app.
I see management and security on different planes requiring parallel priority paths. Activity on these channels can be intrinsically disruptive and may require clearing queues elsewhere.
Why should debt be forgiven via inflation? Also, this causes interest rates to go up as lenders will expect another surprise inflation.
I don't like something that I have to plugin. What I greatly prefer is what PacBell gave me as a consultant in the 1990s to access their secure inner networks remotely: a device that would display a new random number every 10 seconds and I would add that number to my password when logging in. I was given the same sort of device at Google in 2013 when I was a consultant there.

For laptop and mobile devices, I like the idea of password and biometrics (finger print reader and/or facial recognition).
> people choosing not to have children

Which does not prevent it from being a problem. Government policy can change that. Not forcing teenagers to go $150.000 in debt and to have a career to repay that until they're in their 30s would be the bare minimum.
The 'fast' is not increasing revenue by itself I think. Faster pages => more products seen by user => higher likelihood they buy something.

Amazon has shifted since then to pushing more products into your face, which looks like for them works better than the 'faster pages' approach.
Junk food cravings are triggered by the mere thought of being low class
The speculation is that the name and logo all belonged to the company, so apparently most/all the devs are upping and leaving with the open source portions of the code and rebranding as Lineage OS.

The domain is registered, github organisation created and currently tracking with CM's repos, and the channels are registered on freenode.
I honestly don't see why you wouldn't consider SQLite to be a "proper database." I think it has a reasonably competitive feature set.

In a usecase where you consider independent databases, with few interactions between them, for millions of users (and a few MBs + binary blobs of data per user) I'd certainly consider it as a possible solution.
"In addition, the site offers a nifty spy tool where you can see what your friends are downloading, without knowing their IP-address. If someone clicks on a link you send them, their alleged download history shows up immediately, without the IP-address being exposed."[1]

[1] https://torrentfreak.com/i-know-what-you-downloaded-on-bitto...
OnePlus phones haven't used Cyanogen in a while. They run OnePlus' skin, OxygenOS.
>Second, treating the world as a software project gives us a rationale for being selfish. The old adage has it that if you are given ten minutes to cut down a tree, you should spend the first five sharpening your axe. We are used to the idea of bootstrapping ourselves into a position of maximum leverage before tackling a problem.

>In the real world, this has led to a pathology where the tech sector maximizes its own comfort. You don't have to go far to see this. Hop on BART after the conference and take a look at Oakland, or take a stroll through downtown San Francisco and try to persuade yourself you're in the heart of a boom that has lasted for forty years. You'll see a residential theme park for tech workers, surrounded by areas of poverty and misery that have seen no benefit and ample harm from our presence. We pretend that by maximizing our convenience and productivity, we're hastening the day when we finally make life better for all those other people.

This wasn't programmers' fault. It wasn't robots. It wasn't automation. It wasn't the fault of boomers. It wasn't the fault of millenials. It wasn't the fault of "us" in any sense.

It was the fault of the same American oligarchy who conspired to suppress American wages across the country, including those of programmers: http://www.nakedcapitalism.com/2014/03/google-apple-tech-tit...
HELL YES!
I wrote "...because it's too much of an effort" was a really selfish reason. If you decide not to have kids on some grounds, I don't mind at all.

It amazes me how shallow has people's attention on HN become. Not even bothering to read the whole sentence. I feel like I'm on Reddit.
If you want to see a quick site: blog.fefe.de
Zero. I only wrote that for those citing "it's too much of an effort" as a reason not the have kids.
A serious problem with biometrics is credential revocation. The best answer I've seen to this is using the biometric to locally unlock some other credential like a certificate that can be revoked. There are other problems that are flashier, like spoofing and liveness, but revocation is a real show-stopper that is frequently ignored.
Or Richard Lyons book:

https://www.amazon.com/Understanding-Digital-Signal-Processi...
then I'd change the title - comes across as a direct comparison to redis.

Can we please let HN be free of click bait? :(
Why Constant-Time Crypto?
for one, it's free
Actually, we turned S3 into a timeseries store that handled 100M+ messages for $10/day (over 100GB+ data, all costs for processing, storage, and backup), check out this screencast - https://www.youtube.com/watch?v=x_WqBuEA7s8 .

Master/stable branch is not failing, and we definitely don't recommend using the JSON dump in production (we have warnings about this everywhere) it is intended to make local development easier.

NodeJS is single threaded, but because GUN has a P2P/decentralized architecture it can easily sync between machines or threads and handles concurrency and conflict resolution. Check out this demo - https://youtu.be/-i-11T5ZI9o .
Android phones still compare well on CPU metrics but poorly on browser/JS metrics.

If a beefy desktop is 100 I'd guess the real world (todomvc) benchmarks are 100/90/20 for desktop/android/iOS, for a recent android and an iPhone 7.

So CPU power (sadly) doesn't translate directly to browser performance as well on android as it does on iOS.
GNU Radio as well:

http://gnuradio.org
I suggest just flagging it, as I did, it'll be off the front page soon enough.
Except that tech workers in the Bay Area do pay a lot in taxes - a $100K/year earner pays almost 40% of his income. Calling it a Randian Utopia makes no sense.
'Black Mirror' Recap: 'San Junipero' Is the Standout Episode of This Season
Didn't Microsoft want to buy this company in the past?
For math type benchmarks of the order of 2-10x slower http://benchmarksgame.alioth.debian.org/u64q/erlang.html

For this web framework test Phoenix (Elixir) does almost as well as Play (Java) https://github.com/mroth/phoenix-showdown

The benchmarksgame's site quotes "Most (all?) large systems developed using Erlang make heavy use of C for low-level code, leaving Erlang to manage the parts which tend to be complex in other languages, like controlling systems spread across several machines and implementing complex protocol logic."

So it depends I guess.
Its only good if you have good network conditions. For me, sitting in a hotel in Europe it takes 19 Secs to load. 49 Reqs/Page Load is just awfully much.
Also the fastest website by far is blog.fefe.de, 2 reqs/pageload. Also written in C.
I think eventually we should start distinguishing between a website whose main purpose it is to present some minimally interactive hypertext to the user and an application that uses HTML as a GUI description language.

The former is trivial to make fast: just write it like it's 1999. You don't really need a database or Javascript, just make sure that your images are not huge and don't load too much stuff from other sites.

The latter requires a lot more work.
My Christmas gift to OOP aficionados
A high-speed Wi-Fi service also seems a bit stupid given the fact that no ISP in Lucknow provides an unlimited 50+ Mbps broadband connection. What do they expect us to do? Take our laptops and sit at the station which is littered with rats, monkeys, their shit, and trash?

I don't understand why the lack of a good ISP in Lucknow means someone should not try provide high-speed Wi-Fi at the train station. Are you saying it's an inefficient allocation of resources?
I don't know much about the team behind Cyanogen, i just know i love it and don't want it to die but it looks like management is starting to make some silly calls. I'm definitely getting that abandon ship feeling I've learned to trust over the years. Are there similar projects worth looking into? Ill go back to my Nokia 8210 before i go back to vendor controlled Android.
"...Cuarón’s most effective decision was to shoot so many scenes on the streets of London, without adding much except graffiti, litter and all-round squalor."

Actually, I lived around the corner from one of the locations in the film, and remember the film crew coming in and cleaning up the pretty disgusting real filth (human excrement, used needles, etc.) and painting over the real graffiti, replacing it with cleaner pretend filth (scrunched up newspapers and the like) and safer pretend graffiti.
Ever since I was a child I've always dreamt of some way of being able to 'download' and organise my memories. Like, if you're looking at an awesome view, or some serendipitous event happens that's too quick for a camera (e.g. a shooting star)

Obviously as I've grown older the reality of something like this is in the realm of science fiction, along with the privacy concerns of others and keeping memories that you would rather forget, but often I find myself in situations like at a concert where I'd rather not be viewing it behind a phone/camera screen.

I've seen wearable cameras in the past for people who suffer from memory problems, but I don't think anyone's ever commercialised it - for obvious reasons.
>slum tourist

I've never heard this phrase used out of genuine concern for those in poverty. It's just another way of saying "don't make me feel guilty by reminding me that it exists".

The condescending presumption behind the phrase seems to be that those in poverty would actually prefer it if you hid behind your gated community.
Runners’ brains may be more connected, research shows
Probably because they shoved Z-transforms down your throat instead of focusing on the concepts. Filtering, correlation, convolution, are easier to understand in the discrete domain. It's a shame DSP is not taught prior to classical signals & systems courses. Instead it's taught as an extension to analog signal processing, at least in EE school.
Solar power is now the cheapest form of energy in almost 60 countries
Show HN: TurboHist: Turbo Histogram Construction
> There's a 20 minute running street battle at the end with tanks and explosions that is shot in a single take.

Strictly speaking there's a cut hidden in the middle of it somewhere.
The last two times I bought a smartphone, I deliberately chose a slightly older model that was proven to be fully supported by Cyanogenmod. I never even bothered to explore the stock ROM on those phones. I rooted them and installed Cyanogenmod as soon as I confirmed that the hardware was working.

I'm planning to get a new phone sometime in the next 6 months, but I don't plan to check for Cyanogenmod compatibility this time. I have no idea what's going on with that company these days. The future of Cyanogenmod seems to be getting more uncertain and less open every time I hear an announcement like this.

We have no need for the Year of Linux on the Desktop anymore, because Linux on the Phone already commands a very large market share. Unfortunately, every year the Android ecosystem feels less like the Linux I know and love, and more like just another proprietary platform. I hope I'm wrong. I hope Cyanogenmod and other Android forks thrive. But in the meantime, I'll have to use a non-Cyanogenmod phone.
Looks like they were going after a solid market but failed to execute. This happens all the time. Pity though, could have been a great company and product.
I encourage you to act in how you see is best fit for the HN community. My two counter arguments would be:

(1) How many people on HN do you think are aware that they can get a huge performance boost by using an embedded cache rather than just relying on Redis or others? Personally I think there is merit to this point alone, most people overlook it.

(2) I linked to Redis' performance page, and even with pipelining turned on they are doing 0.5M reads/sec while gun (on the exact same type of test) is doing 25M ~ 30M on the same device (MacBook Air). So "50X" is a claim that can be backed by evidence, not link bait. If it is shocking to anybody, then that is actually why we need to talk about (1) more, to get the word/discussion out.
How can I do that? Rarely comment/moderate stuff in hacker news
There are plenty of third party ISPs that offer plans without data caps.

I've used Start.ca for a few years now and I've been very happy with the service.

Mobile is indeed quite awful, though.
I like the wavelength formula because of it's simplicity and practicality.

λ = c / f

It is a cool way to demonstrate the importance of the speed of light to figure out the optimal length of an antenna for a given radio frequency.

My son, when asking why knowing the speed of light matters, was impressed when I showed him we could make our own wifi antenna by using this to figure out the length it needed to be. Of course antenna design can be complex but this was still cool to show.
"resemble fascism closer than most fascist governments".

Except of course that (1) the corporation only survives ultimately by selling a product or service that someone of their own free will, wishes to purchase; i.e., it is of more value to them than their cash. (2) local conditions excepted (no other job available), people are not forced to work in these organizations.

Making products is all very well but if your potential customer doesn't know about it and/or its production is not financed properly, the activity is a waste of time.
Come to Berlin, the startup scene is great by european standards, the city is cheap and super diverse. Great food, great nightlife but cold winters ;)