skysight-inc/HackerNews huggingface dataset:
For starters the people pushing lightning are religiously opposing any increase in the block size. For lightening to even be viable on a world wide scale the block size will need to be increased.
Still plenty of people doing those jobs, but they tend to be immigrants.
IMHO it'd be much better to just mock it than to litter your code with if() all over the place, similar to how polyfills do it (but without the actual functionality):

if (!window.ga) {
window.ga = function(){};
}
It sounds like Kia (but they have 7 years warranty though) or Alfa Romeo.
This is all really good advice, and any manager candidates or new managers reading the thread should take this with them.

Remember also that while your job isn't to write code and that success is in your team's hands, it is your role to help that team be capable in order to achieve that success. I'm going to give you a lesson I learned in my first management role that I hope you'll take with you -

Deal with underperformance head-on, and do not avoid the tough conversations. I made the mistake of "seeing how things go" and giving wishy-washy performance feedback because I really wanted my team to like and enjoy working for me. In hindsight, you are doing no one any favors by not giving direct feedback on performance early and often. Don't just leave it on the negative, though, give them something to work toward and steps to take to improve, and then be hands-on in helping them with that development (without doing their work for them). Do not avoid this.
Why PDF then; it could be saved as a PNG, which an ImageMagick one-liner can turn into a PDF (or several of them into a multi-pager).

It would be good if a way was available for any application to take a full window screenshot, rather than the viewport screenshot.
After some time the person with more money apparently starts to increase the amount of money. I'd like to see a longer simulation to see if after some time the first one accumulates most of the money.

They don't - if you track individual players for a long time, every player ends up having periods of both very high and near-zero wealth.
Author notes that depreciation has the greatest impact, in which case the F-150 is in a whole different ballpark than most luxury cars; trucks have a much gentler depreciation curve than luxury cars.

A truck may retain 80% value after 3 years, where a luxury car may retain 50% or less.

Edit: I should also note that variation between depreciation curves on luxury cars is also much greater.
They did, they failed and they still earned billions at that time. Why are we entertaining their sociopathic ideas now?

It's not that they're trying to stop mass distribution, they're trying to prevent you from rewatching content later (shows regularly disappear from Netflix and similar services), prevent you from showing them or sharing to their friends (does any service let you share a show from an ipad to another ipad?) or even let you watch anything when you're offline (how many services let you download their full catalog for later watching?).
Since people are incapable of making truly random decisions, I reckon the person with the most pleasing physical appearance will receive most of the money.
LinkedIn, HiQ spat presents big questions for freedom, innovation
Interviews from speakers and community members at JeffConf London 2017
True, but they still kept earning billions through peak global torrents distribution and Netflix happily made people pay for them because they were accessible. And now they run after the DRM train like everyone else.
This was also my question: why not just create a lisp kernel for jupyter?
I often suggest having an external mentor regardless, because you can be more candid with confidence that the conversation isn't going anywhere. It's easier said than done, but finding a mentor from a high performing company who is 1-2 levels above you has been really ideal for me.
Why look to ten year trends? That graph has the extreme case of buying ten year old cars and keeping them for five years - meaning with that strategy you are at times driving a car which is fifteen years behind the curve of fuel efficiency development. Not to mention the effect that 15 years of engine wear has on the efficiency of the specific car.

To get specific: a 2017 Ford F-150 (to stick with the absurdly parochial example used here) gets 19-26mpg; a 2002 F-150 got 17-21 - that may not look like much but is a 12-25% improvement, not a completely insignificant difference. A 1987 f150 got 10-12mpg, so it's clearly a continuing trend, too.
Could you elaborate? I'm really curious as to how!
> set up their own redistribution channels and steal your customers and your revenues.

And DRM prevents that how exactly?

> A third lesson you will learn is that a lot of people may quite innocently assume that if they can do something then it's allowed

I would take this as a hint that it probably should be allowed then. If lots of people innocently assume that something is perfectly legal, the way of tyranny is to build a police state, the way of democracy is to make it legal.
They really missed out on an opportunity to call it DataBayes.
No need to ask: lack of nutritional education and income inequality.
If this is what passes for substantive and documented talk on HN, then things are getting a turn for the worse. There was a post a few days back about France promising something great for 2040.

Is hn at an impasse point, where no more technical issues are up for discussion?

EDIT: Just to add that if you are more likely to be shot by cops if you are a white criminal than if you are a black one. And this is backed up by stats. To show up on HN and make statements without backing them up looks petty and propagandistic. It reminds me of communist dictatorships: only there the "great leader" would simply state that things are going great (despite obvious starvation) and everybody else would simply clap and nod. To do otherwise would mean death. The Khmer Rouge had a clear policy of rounding up people with glasses and kill them. That was what passed for an intelectual. And millions just vanished.

The nazi left would stone and cut just for wearing a hat. So, we are getting close to the Khmer Rouge.

That's what you guys are advocating: socialist utopia.
I see what you're saying, though I think it misses the mark somewhat.

By analogy, the 'the web' does not only mean HTTP or even the exclusively just the various protocols involved. (to name a few on the client side: ip, tcp, dns, http, http/2, tls, ws/wss etc.)

The term also refers to the use of browsers, hosted websites and the culture surrounding how society interacts online with these sites. In short, 'the web' is an ecosystem just like bitcoin.

With that said, it's widely accepted that the proof of work system has not yet been compromised, nor has the network itself. However, let's not gloss over the fact that there's a rather established hacking problem in the space affecting a broad audience.

ransomeware, hacked exchanges, personal wallet attacks, online wallet attacks, 2fa attacks. Even a few of the most paranoid and technically savvy early adopters, have fallen victim to such schemes.
This is not surprising. Random doesn't mean homogeneous. Notice that in this model there are rich people and poor people, but advance many iterations and the rich people aren't the same people as they were.

If you want to see the real problem, don't let the people with no money get away with not paying the dollar. Make them borrow it with interest from someone with money.
Out of curiosity, would it be possible to explain what a Tesla "anti-lease" is?
2x4s are measured using nominal sizes- "nominally" they are 2" by 4" but in reality a bit less. There is a lawsuit over this right now.
Reminds me quite a bit of the Alcoa safety story, which has been covered in a number of books as a fantastic success story and an example of great leadership. http://www.businessinsider.com/how-changing-one-habit-quintu...
A ten year old car with 100hp using 95 octanes could make on average about 8l/100km. Currently they're about 5l to 6l on average. On 1000km that's close to 30l, with a rate of 1.20€ per litter that's 36€. On a lifespan of 150k that's 5400€.
If you're betting against driving between two arbitrary street addresses, I'll bet that there won't be a single capable car.
Benchmarking nftables vs. iptables
Strangely, I couldn't find any of these reports available for free download and in the public domain...

No, but I bet if you pay for them you get them as PDFs, unencrypted, which you can view on a vast breadth of devices and OSes and applications, annotate/modify, clip parts out of, convert to other formats, and otherwise manipulate as you please, with no arbitrary technological restrictions getting in the way. (Compare to, say, Adobe Digital Editions wrapped PDFs, which can only be read in designated apps and limit you to the capabilities of those apps.)
> For anybody young and commitment free (or even just commitment free), you should go there.

Are there english speaking startups one could work at? Are work-permit requirements doable?
Wouldn't it be a fault of the currency's physical nature?
What's with the downvotes? The question is asked in good faith and it produced an interesting discussion. Would y'all prefer for the author to remain silent with his thoughts, and for the opposing arguments to remain untold?
Depends. Newer cars are heavier, engines tend to be smaller and have to be more environment friendlier.

An older exampl of ~40mpg for Golf III Diesel combined is not bad even in todays standards.
Here’s your first official glimpse of Tesla’s finished Model 3
I'm an American and I understand too. We are living through the decades where America gave away its leadership in the world. We can't get anything accomplished at a reasonable price in reasonable time.

For example, China built 14,000 miles of high-speed rail in about 15 years, with another 10,000 on the way. In America we still haven't built our first line. Every time the discussion comes up, it degenerates into people explaining all the places it won't work.

Not to worry for India, in 50 years it will be better off than today. It might even pass the US.
Isn't having nuclear weapons around actually a deterrent to war because of mutually assured destruction?
You should also mention that the almost perfect curve can be generated automatically by just rubbing two rough surfaces (hemisphere and sphere) together.
Hire Virtual Assistant – Fiverr
It's just not that hard to run a registrar. Even if the current one bites the dust, someone will pick it up. ¯\_(ツ)_/¯
This reminds me of "power of two" balls and bins, which is useful for load balancing. Throwing work onto a random machine doesn't work well. Picking two random machines, and throwing the work on to the less loaded machine is asymptotically better.

I think you'd see something very similar with this type of simulation.
"it's deflationary in the long term"

Whether or not you think that matters is political dogma.

"very volatile int he short term"

Looking at the one year time scale BTC/USD is only about 2-3x as volatile as USD/EUR. Bitcoin volatility in general has been trending DOWN since it's inception as you would expect something to become more stable as the market matures and more people adopt it.

https://www.investing.com/tools/forex-volatility-calculator
https://www.buybitcoinworldwide.com/volatility-index/

"transactions are expensive and slow"

By what standard? A typical transaction costs less than a dollar and takes about 10 minutes. Once the people holding the block size hostage are out of the way you can expect the cost to return to cents and the speed to be more reliable at 10 minutes or less.

Anyone who thinks Bitcoin can be a store of value like Gold w/o having utility as money is fooling themselves. You need to both.
Rainloop with cloudron is awesome
> How do you mean?

A focus on the salacious rather than the important.

> for at least 150 years

You seem to consider that a mitigating factor, where I consider it to be an aggravating factor.
It is a nice/ok code base. I find Redis' a bit better.

One thing that stood out in the article was calling out the percentage of functions with fewer than X lines. I don't think that is a good goal to work toward. Having functions that do one thing and do it well is, and function length can be a very rough proxy measure for that. However "doing one thing" almost always means "perform more than one step in an algorithm." I've seen too many code bases where "keep functions short" is used as an excuse to break locality by piecing functions out into smaller functions that are only ever called in one place (the function they split up). It can make code harder to read and maintain and be less efficient besides.
Looks like the algorithm 2.1 has a flaw: after low becomes equal to high , we need to take keys[low] and vals[low] instead of midKey and vals[mid] in last "IF", in other case midKey / mid may remain not actual and the function can return nil.

I put it coded in golang there https://play.golang.org/p/hXdA0CY755

PS I like the article - I've never realized that such low level thing as L1/L2 cache are so important for query optimization!
Somewhat joking, but ads, businesses pay for "nicer" descriptions, hook into yelp to show off local buisnesses, etc.
There is nothing suggesting they were, and as far as I can tell, nothing to justify this information's inclusion in the article.
Because all this digital coin thing is bullshit. When it becomes relevant, it will be corporate owned (isn't it already?) and it will be the new mainstream politics/economics, not the "REVOLUTION!". Just like Facebook/Google are the internet nowadays. Very far from that liberate and revolutionary thing, right?
This doesn't really fit with my own experience. I've bought 2 brand new Fords and kept them for about 6 years each. In sum total I had about $100 of unscheduled maintenance for both. However older cars always have expensive maintenance: timing belt, suspension, brakes, and other things all start to wear out somewhere around the 7-10 year mark (timing belt will depend on distance).

It also doesn't factor in the 0% financing that Ford has offered for the last 10 years, which is a significant benefit...Ford is essentially paying you about 5% of the value of the car each year (as you can avoid getting a 5% loan, or if you have the cash you can invest it in the stock market for a 5%+ return).
You should always seek medical attention for a cat bite because the odds of a severe infection are high.
You should probably read the article, because there are no actual people involved.
Actually, without interest people would have no incentive to lend to others. Any loan carries a risk of not getting your money back. If interest was illegal then the rational move would be to never loan out any money.
Oh, that's why I had mentioned tree-ish structures, sort of referring to skip-lists & friends on a broad level. Sorry for the misleading expression. Rather, I'm interested if any ranged/set retrieval approach can be found that scales better than log n. (n.b. ranged, so LSH doesn't count either ;-))
I wonder how this would practically work in somewhere like America, where the cities are so diverse. I have a hard time believing that the rules that are the best for a big city like LA and San Francisco are the same rules that would work for middle of nowhere Iowa.
Your side project does not count. You are working 40 hours a week, which makes your high horse comment about watching Netflix and not wanting to work harder sound pretty bad.

It's very easy to work on a side project, or side hustle, or whatever you want to call it. I don't doubt that you're happier. Making things yourself is fulfilling and fun. But that is your free time & your social life. That is your choice, not your day job. You are misunderstanding what the 40 hours per week concept is all about.

The parent comment is correct; working 100 hours a week for someone else, for extended periods, is possible early death. That's not an exaggeration, it will compromise a person's health if done for long periods of time. It is definitely like that for many, many people. Have you ever worked more than 40 for a single job? How about 60/80/100 for longer than a week? Do you know what 100 hours at one job feels like?

If you have a life outside of your job and 20-40 hrs/wk side project, with time to meet friends, you might be working less than you think. A real 80 hour week is hard to maintain without any social life, it's enough time for meals an maybe an hour of social or alone time per day, and not much else. 80 hours/week is 11.5 hours per day, 7 days a week, on average, sustained. Factor in eating, sleeping, bathing and travel to & from work, and you have maybe 10 hours left. If you exercise, you're probably down to 5 hours of free time for the week. If you try to drive anywhere in those 5 hours, you'll run out of time before you get there, activities very close to home are the only sane option. At 100 hours a week, you only have time to work, eat, and sleep, there is physically no time left for anything else.

An employer of mine measured how many hours people worked during crunch, and found that almost everyone in the studio overestimated their own hours. I overestimated my own hours, and I've worked a real 80 hours a week multiple times before. It's not fun, and I did not have time for a social life. It's not maintainable for long periods, at 80 hours a week you're trading your entire life for your salary, it's not a good deal.
press REC on your VCR and… make a worse copy of the already pretty bad copy you received over the air. Subsequent generation copies would be really bad. Sharing your copy with a friend involved physically transferring it and possibly not getting it back.

It really isn't comparable to a directly copyable digital form.

If you like the 1970s way, prop your phone up on a table and use the camera to record a movie off of Netflix. You will have a much better result than we did with VHS tape in the 1970s. You can probably find a filter to crap up the video to look like VHS.
press REC on your VCR and… make a worse copy of the already pretty bad copy you received over the air. Subsequent generation copies would be really bad. Sharing your copy with a friend involved physically transferring it and possibly not getting it back.

It really isn't comparable to a directly copy able digital form.

If you like the 1970s way, prop your phone up on a table and use the camera to record a movie off of Netflix. You will have a much better result than we did with VHS tape in the 1970s. You can probably find a filter to crap up the video to look like VHS.
How to Start Your Own Successful Business
A dog attacked one of our cats and when iredcued him he was do scared he bit by arm and wouldn't let go - took 5 mins to get him off.

I didn't think it was that bad, but after nearly two days my arm was very red and I was feeling a bit ill. Popped to nearest NHS hospital expecting to. E told I was overreacting, but I was immediately admitted and put on IV antiobiotics (6 doses a day).

Fortunately all fine and I'm going home today!
Everything I said was based on my experience with C++, I was making pointed statements not general ones.
Already taken, of course: https://baconjs.github.io/ (and they have a picture of Francis Bacon, just to be contrary!)
Please make an Android version ty
> a function which finds an integer in an array "should" get that array as a "const int ". But if the caller wants to modify the found element, it needs to do ugly casting (really bad practice).

My friend, your example is wrong! The caller can happily work with a mutable array; the function accepting a "const" pointer is just a guarantee that the function itself* won't modify the content.

size_t look4 (const int *ptr, int val);
void caller (int *ptr, int old_val, int new_val)
{
size_t index = look4(ptr, old_val);
ptr[index] = new_val;
}
There are planar Fourier capture arrays, which are also lensless, can be implemented with existing CMOS process and seem to be better by every metric than this. AFAIK they are currently being evaluated for eye tracking sensors which aren't sensitive to resolution (128x128 is enough) but need to be flat.

There are also single-pixel compressed sensing cameras, which can be made lensless as well and are limited by the optical modulator specs.

The problem with lensless sensors is always the computing power required to reconstruct the final image.
We mathematicians have as much intuition as anyone else. I think of this as a random walk on a very large but finite state space with positive n-step transition probabilities between all states for all large enough n. It's an aperiodic irreducible Markov chain. So we should have ergodicity. My intuition now tells me that this means every state is positive recurrent, i.e. for each person x should see x hoard all of the money at some step. Given enough time, a very long time, we should see everyone eventually have all of the money and eventually have none of it. The intermediate steps may look very skewed, but we should see all steps happen.

I'm a bit wary about concluding that just because there's positive probability between all states that we should see all states. At least for infinite state spaces, we know this fails (Pólya's theorem on random walks in dimension 3 or higher). But my intuition tells me that the finite state space should mean that all states are positive recurrent.

Edit: Aha, here's the relevant theorem which confirms my intuition: in a finite-state Markov chain, every closed class is recurrent:

https://math.stackexchange.com/questions/543051/markov-chain...

Untangling the jargon, if you have a random process in which you can go from any state to any other state with positive probability after a certain number of steps, and there are only finitely many states, then the probability of getting to any state as the number of steps goes to infinity is 1.
Or pretty much any used car for that matter. My Lexus and my mom's Audi both needed the Takata recall performed (circa 2007). There were supposedly 60 million cars affected
How children change their mothers – and their mothers’ DNA
>If this is what passes for substantive and documented talk on HN, then things are getting a turn for the worse.

You mean contentless comments that don't engage with the thread they respond to but instead lament some lost golden age?

>Is hn at an impasse point, where no more technical issues are up for discussion?

HN always had a mix of technical and non-technical threads (the major one being business issues, which are of course non technical -- it's a VC firm's creation after all). And that's because, despite what the name might suggest, HN is not about people with one-track minds.
Not sure if it is ignorance that is making you to utter such words about Africa. Do you seriously think all African people are dying of hunger and waiting for food aid from your governments? Have you ever been to any African country? Majority of countries with food and hunger problems are those who are at war. Rest of us, citizens pf this wonderful and arable continent, can feed ourselves and don't need any food aid.

The only aid we need is for Western countries who sponsor African wars to stay away from Africa. I have been living in Africa since birth(35 years old). I have never seen anyone dying of hunger.
No, it's a sensible trade off.

Go look up pyrethroid insecticides and malaria and then contemplate whether you'd rather risk sleeping in a treated net all the time or be sickened at length or maybe dead.
Because everybody has a language that tickles their fancy. You could replace golang here with any or every other language and you would have someone say "I use this stack in production and it's great!".
There are tons of foreigners in Beijing, Shanghai, Guangzhou and Shenzhen so there must be some ways to get into the country (and work there).

A few years back a friend told me work permit was easy to get as long as you got a sponsor. Not sure how hard it is today though.
Orquesta project -an open source automation tool for remote terminal operations