skysight-inc/HackerNews huggingface dataset:
One thing that AirBNB seems to get right, is knowing who its customers are. They have two major categories of customer: Hosts and Guests. (Those have subdivisions as well, which may be quite significant.) Curiously, one of those is effectively the "product" peddled to the other. This model can be generalized across many kinds of gig economy websites. How is it that AirBNB can be so much better at this than other websites with similar models? Is it because the services on offer are that much more complex?
Yeah but I'm sure there's technical tools for digital marketing that cross all of these boundaries.
Thanks for your interesting POV on the Redis/Kafka intersection on this. What could be interesting is that while Redis Streams are certainly totally inspired from Kafka streams, it's just a conceptual thing, so the two things can act in very different ways in practice.

For instance just imagine that I never touched a Kafka system in my life, never used it, don't even know the API, I only read all the documentation they have on the site about the design, to get the higher level picture and combine this with my own ideas about fixing the fact Redis was lacking a "log" data structure.

Pub/Sub + other data structures were not able to provide time series and streaming, but yet Redis streams remain an ADT (Abstract Data Structure), while Kafka is a tool to solve a very specific business case. So the applications have some intersection, but are also very very apart.

For instance you can create infinite small keys having streams, so Redis is good for many IoT usages where you receive data from many small devices. Redis Streams also stress on range queries, so that you can combine the time series with millisecond-range queries.

However, yes, the fact that I added also consumer groups is a way to put this "80% streaming" into a more usable streaming systems more similar to Kafka, for the use cases where:

1) The memory limits.

2) The speed.

3) The consistency guarantees of Redis make sense.

However at the same time, it was a great challenge and pleasure to do what I always try to do, that is to create an API for developers thinking like I'm designing an iPhone, and not some terrible engineering thing which does what it should but is terrible to use (I'm not referring to Kafka that I do not know). So I really hope that what you say "easy to setup and use" will be what developers will feel :-)
It's working here in San Jose.
It is for objects, just not for primitives.
Don't like giving up your phone? Don't go to the show. I am one of the people who are more likely to attend a show if devices are banned.

Also people acting like this is a safety issue are being ridiculous. Does anyone really think that no stage manager or security guard has a phone they can access in the event of an emergency?
Vancouver is same in regards to the service but strangely the position-tracking of a bus is more accurate on mobile google maps than the official 'transit' app, although the former says the source of data is latter.
Quantum Physicist Michelle Simmons Named 2018 Australian of the Year
It's not even close, nothing is passed by reference!
Don't mind at all. ATM we're using a simple VMWare server backing up the virtual HDD every night, with a dirty hack thrown in (no full backups on weekends as that's when the bigger jobs run, so I dump the current day to a CSV on a smaller virtual HDD that's still saved daily). We're running on our own systems as our customers are pretty paranoid about where their data is sent.

The history of this system is pretty organic, lots of experimentation. Started with Postgres, but that was too slow if a select statement returns tens of thousands of rows. MariaDB was way faster but became erratic once we passed about 2 billions of records. Now with SQLite we are at about 180 GB, about three years of data so far, so not really "big data" territory yet.

Constantly looking for better alternatives. InfluxDB looks promising, but maybe we'll switch to a "hot/cold" approach instead, keeping whole "cold" days as JSON objects in JSONB fields in Postgres again while storing "hot" data in SQLite. We'll see...

So far the system has been rock solid. In the last few weeks we went live for real, now storing about 2k records a second. Not a problem so far.
> What is so wrong about advertising?

It inherently shades into malware.

First, all advertising platforms are malware distribution platforms, because the people who run ad platforms have every incentive to push through all the ads submitted to them and negative incentive to stop the ones which are malware. Nobody in the ad industry wants people to talk about this, but as long as the malware authors are using them to distribute malware, they can't pretend it never happens and they shouldn't be allowed to ignore people who say it does.

Second, advertising requires data to be effective, which leads to tracking, which is, itself, a form of malware.
I must admit, for the past couple months I've been digging for status info about Redis Streams. They would fit a use case we have perfectly, but we use cloud providers for Redis so manual compilation with modules isn't possible.

Really pleased to see that I'm not the only one digging for info and that work is ongoing.
Doesn't that eliminate anything that organizes people for anything? Your requirement seems to eliminate Meetup, all dating apps, Craigslist, or meeting a stranger for almost any other reason ever.
Why Data Warehouse Startup Snowflake Just Raised $263M at $1.5B Valuation
You are correct, but it would so help to explain to the reader what the correct evaluation strategy employed by JavaScript is: call-by-sharing.
https://en.wikipedia.org/wiki/Evaluation_strategy#Call_by_sh...
What does that have to do with anything? The US has cheaper and better food than most of the world. If anything the health problems in the US comes from people eating whatever they want rather than staple foods and vegetables.
Oh...well that's why the page was written: why signing gets us everything HTTPS would (and more).
I had the great fortune to take a class from Dr. Steve Franke. It was a class on radio communication circuits, and a big chunk of the class was devoted to talking about the different modes. I remember he got really animated talking about phase-shift keying. Dr. Franke is the F in FT-8.
No.

I want a browser. I don't want Pocket. They bundle them. => This is bad and I will be angry.
The problem is figuring out if you're in a looping/cycling data structure or not. JSON.stringify and friends often already have code to deal with that, and it's quite complex in pure JS because there is no "object id" function.
Are the mods fairly well known for manipulating negative Google posts on the front page?
Oh, no doubt!
Why would you ever want to visit a website that Zuckerberg doesn't approve of?

Dump that evil spyware, and tell your friends to as well.
CockroachDB and Baidu hold their first joint open source conference in China
Germany and Switzerland do also have homeless people. Normalized to the population they're fewer though (about 39'000/80mio population for Germany compared to 550'000/300mio in the US, or 335'000/80mio for germany if you count people who are wohnungslos [=homeless, but sometimes can sleep on a friends couch, a trailer or something])

Additionally low-skill people are hurting here as well and the government makes the issue worse by allowing mass immigration of low skill labor: in 2017 alone 88'000 immigrants from EU-17 countries (a record low figure) arrived, 80% of them are low skill workers. There are many more frontier commuters. Switzerland has 8mio inhabitants out of which 25% are immigrants that have not yet been naturalized. So yeah, for low skill citizens the real wages have not kept up with cost of living (obviously rent prices go up with mass immigration since government doesn't make it easy to build upwards or outwards) and in quite a few places taxes had to be increased to pay welfare for jobless migrants which has lead to quite a bit of discontent among low skill citizens. Saddest thing about this whole thing is probably the mainstream left-wing reaction to the whole issue: they want to increase or keep the current levels of low-skill immigration and at the same time tell low-skill citizens that they're voting against their own interests by voting for a right-wing anti-low-skill immigration party.

Sources: Been to Germany many times and live in Switzerland. I see them at least 5 days a week.
39k figure http://www.zeit.de/gesellschaft/zeitgeschehen/2015-10/deutsc...
335k figure http://www.deutschlandfunk.de/sozialstatistik-immer-mehr-obd...
550k figure https://www.theguardian.com/us-news/2017/feb/16/homeless-cou...
88k figure https://www.sem.admin.ch/dam/data/sem/publiservice/statistik...
80% are low skill figure https://www.nzz.ch/schweiz/studie-zum-arbeitsmarkt-vier-von-...
Seems to be limited to devices. In-browser still working fine.
Great to hear, I'm pretty bullish on the framework and have been using it happily in Go for a while
I would try and clean up the bits I was working on.

This is a good book on the topic refactoring a large code base with no tests.

https://www.amazon.co.uk/Working-Effectively-Legacy-Michael-...
Trump will talk with Mueller
It's been happening in Houston for 15+ years, too. I suspect any city with decent HOV lanes and bad traffic has slug lines.
Doesn't prevent people from spending the concert recording it.
I generally agree with you. My "begrudging" was mostly misdirected anger at the parent poster's attitude of labeling as "flawed personality" the act of very rarely and softly lashing out at society every now and then. Society only gets nasty when we forget its purpose and add too many restrictive rules on top of it and then rationalizations for those rules and so on...
I would recommend building out better tests for the system before you attempt to refactor it.

This way you will have some better assurances when you change things.

There is a great book on Legacy Code by Michael Feathers that I would also recommend.
Do you think maybe the security guards and other personnel at the venue might have access to phones? Do you think that you in particular are going to be the last resort that manages to reach 911 when nobody else can? It's a weird train of thought to me. Venues are required to have their ducks in a row - emergency plans in place, etc. You not having your phone during the show is not a safety concern.
> 2 billion lumens, which is now worth around $2 billion

That's a bit exaggerated. Lumens are currently trading at $0.58 and such a big sale would have a high impact cost too.
No. Object are passed by value. Exact same example apply:

let a = {key: 'a'};

function foo( a ) {
a = {otherKey: 'b'};
}

foo( a );

console.log( a ); // {key: 'a'}
He's not blaming anyone; he's saying it was stolen.
> The same thing that happens in the non-Waze case: you kick them out, call the police, get mugged etc.

If you shift a large enough volume of traffic into that mode of transportation and externalize 'support' to emergency services then you are taking a free ride on a scarce resource. At a minimum there should be a first tier of support within the company offering the service, if only to serve as a mechanism to immediately halt providing the service to or from that particular passenger or driver until the matter has been dealt with.
Interesting how serving their customers is not part of the defining characteristics. o_O
All IP has been made open by bet365 (including RIAK TS) and development is continuing, both in the community and within the company. bet365 are actively recruiting to support this effort, and are committed to the long term future of RIAK. Latest release is to be cut Jan / Feb with the help of the community.
To be fair, Jack does tons of that too.

Heck, he's got a refurbished 1940's Voice-O-Matic at his Third Man Records, an old time vinyl recording booth which lets you go in and records 2.5 minutes of audio onto one unique vinyl.

He's very much about eschewing as much technology as possible and getting people as close as possible to the sound itself.
How does this compare to Scoop, I wonder?
There are good things in there, and then there is this:

“Where every city is a village, every block a community, and every kitchen table a conversation. ”

Didn’t he get the memo that many people explicitly want to be in cities for the very reason that they are disturbed by the social dynamics of villages (everyone knows everyone and is involved in everyone’s business)?

I love Airbnb but I would hate if every city becomes a village.

Also, this talk about building an infinite company. I’d argue that in the current public debate about tech’s power, this actually can sound a bit threatening.
Thanks for the tip! I'm gonna have a look at it. :)
> By that definition, even a nuclear family is a degenerate form of state.

Indeed, it is. This is an ancient idea, going back to the Classical era at least.
A large volume of traders who don't realize that USDT is something different than USD? People on HN realize it, but most people don't read HN.
I've always imagined the hope is for a country like Singapore, not North Korea (which is still scary).
The PlayStation Network had an outage too, just two days ago.
John Conway is actually one of the authors of the book discussed in the article.
CEOs, man. Jeez.
He should probably go seek medical attention, then, as he has been free to do this entire time. He's not being held prisoner, his confinement is entirely voluntary.
I don't dispute that a Bitcoin is a real, discrete thing. What I'm arguing is that it's a self-contained thing. The price of a Bitcoin is not anchored to anything outside the Bitcoin ecosystem.

With other assets, there's a clear causal arrow leading from outside the system back in. If Google the company performs better, Google the stock will overwhelmingly tend to perform better. If Google the company folds, Google the stock will overwhelmingly tend toward being worthless. The asset is a proxy for something that isn't the asset.

Bitcoin doesn't appear to work the same way. There's no obvious not-Bitcoin that demand for Bitcoin is a function of. It's a proxy for itself, after a fashion. That doesn't mean it has no value, but it does feel uncomfortably self-referential when compared to almost any traditional asset class.
Maybe the market should decide. No one is forcing you to buy a ticket to the show and separate you from your phone.
Dutch agencies provide crucial intel about Russia's interference in US-elections
You do realize AYUSH ministry funds Unani Tibb, too? Just saying.
Insert well-worn debate about positive vs. negative rights here.
In the worst case, one person has to round trip between the source and the sink. But although the worst case is the same as the best case without a delivery service, the best case for a delivery service is better. QED.

There is wear on a vehicle, insurance, gas, either way but potentially less with the delivery service than with everyone doing their own fetches.

Yes, I'm assuming there is enough density for there to be actual economies of scale. Yes, it's true that delivery/takeaway sacrifices freshness compared to eating at the kitchen. Yes, it's reasonable to be skeptical about whether any company can achieve the required density and whether the theoretical efficiencies will overcome the friction of employment taxes. Etc., etc. However, pizza delivery has been a very affordable luxury for decades and mail delivery has been obviously cheaper than hand-delivering your mail for centuries. So, I don't buy your claim that delivery services are inherently niche luxuries.
Well, from a corporate standpoint, it's better than saying things are down when they're not. Though it seems like it should just be a missing datapoint until it can ascertain true status.
Thank you, I believe it's my fault that many potential users remained wondering. Sometimes I forget that the world is not inside Twitter... and I should instead blog more and tweet less, both for myself, because writing a blog post gives me much more sense to accomplish something, and for people interested in Redis that will find information more readily, and also searching via Google and so forth.
On the "pass by value" vs. "pass by reference" controversy, I see two issues here:

First, these terms have specific meaning in other languages such as C++, but JavaScript's behavior does not match either of their definitions.

Second, there is a widespread myth that JavaScript passes primitive values and objects in two different ways. It doesn't. They work exactly the same, and making an artificial distinction between them is not useful.

I find it helpful to make up some new terminology, so my thinking isn't led astray by implied comparisons with other languages. I like to talk about names and things.

A name is a variable name or a parameter name.

A thing is any object or primitive value: anything that you can pass as a function argument or use on the right side of an assignment operator.

A name always refers to one thing. A thing can have multiple names.

When you pass an argument into a function, or when you use the assignment operator, you are giving a new name to an existing thing. If the name already referred to some other thing, that connection is lost. The name now refers to the new thing, and only to the new thing.

Everything works this way, primitives and objects alike.

The reason it's often claimed that objects are passed into a function by reference, while primitives are passed by value, is that we instinctively write different code for the two cases. That different code is what leads to the notion that objects and primitives are treated differently.

If you pass an object into a function and you want to add or change a property of that object, you'll naturally write:

function foo( obj ) {
obj.myprop = 42;
}

But if you know the function is going to receive a primitive value, you won't write this:

function foo( val ) {
val.myprop = 42;
}

If you do, you'll find out soon enough that it won't work. It will throw an exception in strict mode, or fail silently in non-strict mode.

Instead you may write:

function foo( val ) {
// Do stuff here with val
val = 42;
// Do stuff here with the *new* val, which isn't the old val
}

The reason the functions behave differently is not because JavaScript passes primitives and objects differently. It doesn't; they are all treated the same.

But primitives are immutable. They have no properties that we can change. We know that, or we find out if we try, so we simply don't write code that tries to change a property of a primitive value.

It isn't the JavaScript language that treats objects vs. primitives differently when passed into a function or when used in an assignment statement. We programmers do, by writing different code for the two.

(Edited for clarity)
Duo is an app with a 4.6/5 rating and has been downloaded more than 100 million times. I would call that a very successful app by any metric. I realize your anti-Google and like to disparage them at every opportunity you get, but being disingenuous does not help your argument.
Swimmer – An async task pooling and throttling utility for JS
>That does not mean that this person contributed to the DNA of anyone living today, he added. It is possible that the jawbone belonged to a previously unknown population of Homo sapiens that departed Africa and then died off.

From the article
Ask HN: Best way to host video tutorials?
If you wanted to host your own video tutorials, and you did not want to put your content up on YouTube or other similar video services, what would you use in terms of price and reliability?
Completely this.

I recently went on an alaskan cruise with my family. While they all took pictures, I left my camera home and my phone locked up and just enjoyed myself.

Not once have I regretted not taking pictures. Like others have posted, you can get better quality shots from the same views, and the handful of pictures we did get of the family were shared out to everyone.

I enjoyed stepping away from technology and experiencing everything directly rather than looking for great pictures and lugging equipment around.
Vue, Test Coverage, and Drag-And-Drop
Amber – Crystalizing Rails and Phoenix
Can you fix your first statement:
"JavaScript passes everything by reference" which is incorrect?

see:
https://jsfiddle.net/t73ykuj0/
I've read this blog for years. This is exactly the kind of joke he makes all the time; in describing or referring to something, he folds in a fact which, while not literally true, is a funny way of imagining it to be, and which is expected to be obvious to the readership. It's kind of like the practice of Using Capital Letters to refer to a Self-Serious Idea of Something.

It's just the way he writes.
That's very cool, PSK or QAM is pretty darn incredible. I highly recommend breaking open say Numpy or Matlab and working backward from quadrature(sin+cos) into basic 2-PSK, 4-PSK and N-QAM RF mixer modulation/demodulation.

The math behind it is mostly basic trig and really impressive considering it is the underpinning of all modern RF modulation(wifi is 2/4/16/64/256-QAM modulation per OFDM carrier for instance).
> Nowadays, everything is pass-by-value.

Except for obscure, seldom-used languages like C++ and C#.

If you can write

int a;
ParseInt("123", a);
Print(a); // print 123

your language has pass by reference.
Yes 'JumpCrisscross and I are in fairly complete agreement on this issue. The counter-argument I offered has always amused me when I've seen it. I reproduced it in the hope that it would amuse you as well; sorry humor is difficult.
Let's think of a million different hypothetical situations in which not having a phone is bad. Result: you sound helpless.
If they are people who are being defrauded into believing that they are selling bitcoin for USD when they are actually selling it for USDT, then yes we should be worried because fraud is a crime.
Nobody forces you or “your teenage child” to attend such a concert.
You forgot Columbia tower star
As far as I can tell, the entire "Out of Africa" model taken for granted within the MSM is being treated with increasing skepticism/nuance by scientists actually studying the facts on the ground, leading to these odd & increasingly ancient "first modern out of Africa" stories which may be confusing the public more than they're illuminating the history of human populations.

Razib Khan had a good short primer on this topic a little while back [1], excerpt:

The data for non-Africans is rather unequivocal. The vast majority of (>90%) of the ancestry of non-Africans seems to go back to a small number of common ancestors ~60,000 years ago. Perhaps in the range of ~1,000 individuals. These individuals seem to be a node within a phylogenetic tree where all the other branches are occupied by African populations. Between this period and ~15,000 years ago these non-Africans underwent a massive range expansion, until modern humans were present on all continents except Antarctica. Additionally, after the Holocene some of these non-African groups also experienced huge population growth due to intensive agricultural practice.

To give a sense of what I’m getting at, the bottleneck and common ancestry of non-Africans goes back ~60,000 years, but the shared ancestry of Khoisan peoples and non-Khoisan peoples goes back ~150,000-200,000 years. A major lacunae of the current discussion is that often the dynamics which characterize non-Africans are assumed to be applicable to Africans. But they are not.

[1] https://www.gnxp.com/WordPress/2017/04/28/beyond-out-of-afri...
You gotta understand that this is pretty much the case at a LOT of places. In the beginning, you should be humble, at least for the first few years. Once you're the most senior person there, say in 5 years, you'll have a lot more political power to do the things you think are right.

And as far as refactoring goes, take things 1 part at a time. Don't try to refactor everything all at once.