skysight-inc/HackerNews huggingface dataset:
My assumption is that someone using wallets / exchanges is a far more likely to be a price speculator focused on short-term gains.

Any producer contributing to the Bitcoin economy would require a full node.
>I'll bite, what's the big difference?

The big difference would be as to whether immigrants are welcome and integrated, or merely tolerated as necessary evil unskilled laborers.
That's fair. I'd never claim to be immune from unconscious bias. But we do have a rule to help us mitigate it, and a lot of practice applying it. It's the first thing pg explained to me about HN moderation—before I could grab a chair, even—and the first thing I've explained to every moderator since.

There's a deeper issue too. We don't think about HN in terms of furthering YC's immediate interests. Nothing could be dumber, because the community would notice immediately—in Monty Python's classic phrase, "God would see through a cheap ploy like that". We just think about how to make HN more interesting. That's how to make it more valuable—including its hard business value. I wrote about this here too:
https://news.ycombinator.com/item?id=16019486

Of course we use 'interesting' in a somewhat specialized way, and no community of this size can ever be entirely pleased, as people differ in what interests them. But if we moderate a post like the OP, it isn't because of an opinion about venture capital or China or workers or whatever. It's because of what counts as interesting on HN, and what we know from experience adds or detracts from it.
That gives it a huge disadvantage over just using the pipe operator, particularly with standard functions:

const pow = x => y => Math.pow(x, y);
pipe(2, pow(5), square);

compared to just:

2 |> Math.pow(5) |> square
Say Turkey. Turkey post is not as good as Finland's or Sweden'spost on delivery speed, but if you are frustrated with taxes, it should do the job.
> The best solution I've found for this is to start reading books related to managing teams

Any particular position you would be willing to recommend?
That's good to know. Perhaps I just need more practice then.
Show HN: Lambda School (YC S17) is putting on a free mini code bootcamp
Thanks for the response. My concern is this; I've seen a few posts by friends, colleagues, etc. lambasting Mike's piece. My co-founder and employees read it and we had an earnest discussion about it. We all burn the midnight oil in pursuit of our vision, but it opened up important distinctions between risk-adjusted compensation and expectations now vs. as the company matures, as well as how we manage customer, VC and employee expectations and keep each other healthy and happy.

Given the right framing, I think it's possible to turn "outrage" pieces into thoughtful discussion pieces and examine the intricacies of why individuals may have certain opinions or behave certain ways. Facebook and Twitter aren't great mediums; Twitter is practically an outrage-manufacturing hot-take machine and Facebook is restrictive in content distribution. I guess part of me just wonders if by silencing outrage we're actually helping it proliferate in other mediums - that emotional energy has to dissipate somewhere.

Edit: Saw your edit with link to guidelines afterwards. I understand completely. Given this is a hot-button topic I guess I was supposing this might be a good opportunity to let people air out concerns, but I also understand the need to be consistent in enforcement. Cheers!
In my mind, math + giraffes =

https://news.ycombinator.com/user?id=RiderOfGiraffes

There shouldn't be two answers for that equation. That is just too weird of a coincidence.
Cortex A53 and A55 (in-order designs) are not vulnerable to any variant. ARM Ltd. provide details for all of their designs (it's a bit like Swiss cheese, each core is vulnerable to different variants). Thus low/mid-tiers and half of cores in big.LITTLE configuration are safe. The worst is latest gen, Cortex A75, which is vulnerable to all of variants (incl. Meltdown).

It's all in ARM Ltd. report and whitepaper.
I think they're talking about going from an unprotected to a protected memory model. The windows 9x line was unprotected (ending with "Windows ME" circa 2000) and NT was protected. The first consumer NT was XP in, what, 2002? That lines up with their "early 2000's" comment.

Why they're deciding to credit Intel with protected memory models is beyond me, though. Maybe they thought they needed to give some credit to Intel for something to make the article seem more balanced.
Similar thing happened with lens development at the nro and nasa
Securely deploy your progressive web app with Firebase and CircleCI
Thanks for the source! It looks like this one looked at a large number of people and controlled for various factors. The skeptic inside me is still saying "Correlation does not imply causation," but this is a great start in showing a connection. Personally, I'd still say that it is far from clear that insufficient UV radiation causes eye deterioration.
Partitioning by date is a common solution to efficient archiving - the partitions may be dumped independently, and instead of DELETE, which requires expensive cleanup after the fact, you can simply drop the partition (which does not require cleanup at all).

The declarative partitioning (added in PostgreSQL 10) is also transparent for the optimizer, i.e. it can understand how the data is routed to partitions, and can leverage it while planning/executing queries. For example when a table is partitioned on "a" and your query does "GROUP BY a" then in some cases the database can do the aggregation per partition - which should be more efficient in general (smaller hash tables, less data to sort, ...). Or when joining tables partitioned in the same way, it may be possible to do by joining the matching partitions (again, more efficient).

Obviously, PostgreSQL 10 only introduced the "core" declarative partitioning, and many such goodies are currently being worked on - either for PostgreSQL 11 or following version(s).
It's called the C++ REST SDK (https://github.com/Microsoft/cpprestsdk) now and is fairly active. I've used it client-side and I've really enjoyed it.
Sweet Moments of Couples’ Lives
Awesome, thanks. My searches must have missed these, as I was focusing on UV radiation rather than outdoor activity. It looks like there's still a ways to go to understanding the causes of myopia.
In case anyone was confused like I was, trying to find the article text: http://archive.is/ywGYJ.
> computing the sales tax is easy

Sure, it's almost as easy as time zones!
The problem with views in Postgres is that they are not updated on the fly, they require manual updating. For real time data, it's not a very useful feature.
> Just use a language that puts syntax extension in the hands of it's community and let them figure it out without burdening the core language with a thousand little tradeoffs for the 90% use case.

The downside of that is that some Lisp projects can only be understood by the original authors, during the time they were actually active on it.

I have seen a few that went DSL crazy with macros.

Scalaz is another "good" example of that.
Now we're arguing the semantics of "speculative execution." When I use the term, I mean speculatively executing code across branch instructions. I use "out-of-order execution" when instructions inside of a basic block are executed in an order different from how they appear in the instruction stream. This is the terminology I learned in computer architecture courses, it's what I've read in the literature, and it's what the Meltdown and Spectre authors use.
Not to mention that Apple has been running their OSs on ARM for years now so it wouldn't exactly be groundbreaking for them. Kind of like how when they switched to Intel they had already has x86 builds running for years prior. It's only a matter of time really.
There seems to be consensus that it's a hoax.
From the Results section you can see what the author thinks of the main takeaways:

"Currently, running the demonstration in the latest versions of both Chrome and Firefox on Linux, with an integrated Intel GPU, shows that the WebGL version is the fastest, as expected. Interestingly however, the performance of the WebAssembly version matches the plain JavaScript version almost exactly!"
I like how he calls rap c...rap. Such a brilliant mind.
> Their failed 10nm shrink has forced product delays

Previously [1], from 2012 (starting around t=49:52): "Lots of problems here [at 11nm]. Intel and IBM have publicly discussed solving the problems with 11nm by skipping it", i.e., going straight to 7nm with never-been-used-before EUV lithography.

[1]: https://news.ycombinator.com/item?id=16175949

Were people realistically expecting Intel to hit deadlines at 10nm? This sounded more like a research project than a product line.
I think it was general light intensity, not specifically the UV component. Prolonged UV exposure causes cataracts.
I'll take people getting a few extra bucks back from taxes for scraps vs. religious donations that offer no benefit to general society. Thrift stores offer employment opportunities to the disabled and ex-convicts, and provide an option for those that can't afford to buy new.
“By middle age, the lenses in your eyes harden, becoming less flexible”

Do they harden for a specific reason? Any research underway on how to unharden them? A few drops of something?

[UPDATE]

I did a little research and found that Novartis bought a company that’s working on a drug:

EVO6 - Novartis

https://www.novartis.com/news/media-releases/novartis-bolste...
You might want to read the PyPy's documentation wiki[1] and the Tracing the Meta-Level paper from the PyPy authors[2].

Pypy consists of a Python interpreter written in the RPython language. RPython is a statically typed language that is easy for an opimizing compilation framework to work with. It also happens to be a valid subset of Python but that isn't actually that important.

The RPython translation framework has three ways to run RPython code:

* The first way is by using an ahead-of-time compiler to convert the RPython to C and then passing that to a C compiler (gcc or clang).

* The second way is by compiling the RPython down to RPython bytecode and running that through an RPython bytecode interpreter. (The RPython bytecode interpreter is written in C)

* The third way is the trace compiler. It takes in a linearized trace of the program execution (as observed by the RPython bytecode interpreter) and generates optimized machine code for this trace.

So, going back to PyPy as a concrete example, this is what is going on:

PyPy is a Python interpreter written in RPython. The pypy executable contains two versions of this python interpreter, both created by the RPython translation framework. The first version is the one where the rpython code for the python interpreter gets compiled to C. The second version is one where the rpython code for the python interpreter is converted to rpython bytecode (which is stored in the data section of the pypy binary) and where this bytecode is in turn executed by the rpython bytecode interpreter.

When you run a python program with pypy, it starts being executed by the first interpreter. When this interpreter detects a hot loop in the python program, it transfers control to the RPython bytecode interpreter. This bytecode interpreter executes for one iteration of the loop, and records a trace of what rpython bytecode instructions were executed in this iteration. Then, it uses the jit-compiler to directly generate machine code for this trace, and transfers execution to that.

If it goes according to plan, the base C interpreter will have speed comparable to CPython (or slightly slower), the tracing interpreter will be very slow (but for just one iteration) and the machine code for the traces will be very fast.

-------

You might be wondering: why bother with so many different steps?

1) Why write a python interpreter in rpython and then run that on an rpython jit compiler instead of just writing a JIT compiler for Python?

The PyPy devs had already tried that with the Psyco JIT compiler.

2) Why generate C code for the first interpreter if you already have a JIT compiler that can generate machine code?

The JIT compiler can only compile linear traces, and can't compile whole functions.

3) Why not use C as an intermediate language for the JIT compiler as well?

While C is a workable intermediate language for method-at-a-time compilation, it is less suited for trace compilers.
Not just the rates though... Like ice cubes aren't taxed here, but blocks of ice are taxable. Adult diapers aren't taxed here, baby diapers are taxed there. This water is food, this soda isn't food. So would have to somehow classify items... Then I wonder how it works if you bought a prepacked meal that isn't taxable otherwise but since it included a small juice or soda like a lunchable might - one package but items part of it are classified differently.
the hakank?
I try to make dinner as soon as I get in, it's done then and I can spend the rest of my night doing whatever.
You can get NI credits if you are claiming benefits because you are unemployed or ill.
>1. Don’t found a company. You have a good idea and you think you can execute? Great, go find someone who is very likely already doing it and help them out. You’ll have way more fun and probably make more money.

Citation needed.

Everything that I've seen in the business world leads to one answer: You want money, have the balls to start a business. Because the only one getting the real money, is the boss.
Creating the database and maintaining it is obviously hard work. But, once it exists, doing a lookup can be straightforward just as it is with time zones.
Hmm. Is it $0.60/min for the automated solution?
I broke at ‘not smiling in photos’.
Study: Spin Entanglement Witness for Quantum Gravity

Citation: Sougato Bose, Anupam Mazumdar, Gavin W. Morley, Hendrik Ulbricht, Marko Toroš, Mauro Paternostro, Andrew A. Geraci, Peter F. Barker, M. S. Kim, and Gerard Milburn Phys. Rev. Lett. 119, 240401 – Published 13 December 2017.

Link: https://doi.org/10.1103/PhysRevLett.119.240401

DOI: 10.1103/PhysRevLett.119.240401

Abstract: Understanding gravity in the framework of quantum mechanics is one of the great challenges in modern physics. However, the lack of empirical evidence has lead to a debate on whether gravity is a quantum entity. Despite varied proposed probes for quantum gravity, it is fair to say that there are no feasible ideas yet to test its quantum coherent behavior directly in a laboratory experiment. Here, we introduce an idea for such a test based on the principle that two objects cannot be entangled without a quantum mediator. We show that despite the weakness of gravity, the phase evolution induced by the gravitational interaction of two micron size test masses in adjacent matter-wave interferometers can detectably entangle them even when they are placed far apart enough to keep Casimir-Polder forces at bay. We provide a prescription for witnessing this entanglement, which certifies gravity as a quantum coherent mediator, through simple spin correlation measurements.

---

Study: Gravitationally Induced Entanglement between Two Massive Particles is Sufficient Evidence of Quantum Effects in Gravity

Citation: C. Marletto and V. Vedral Phys. Rev. Lett. 119, 240402 – Published 13 December 2017.

Link: https://doi.org/10.1103/PhysRevLett.119.240402

DOI: 10.1103/PhysRevLett.119.240402

Abstract: All existing quantum-gravity proposals are extremely hard to test in practice. Quantum effects in the gravitational field are exceptionally small, unlike those in the electromagnetic field. The fundamental reason is that the gravitational coupling constant is about 43 orders of magnitude smaller than the fine structure constant, which governs light-matter interactions. For example, detecting gravitons—the hypothetical quanta of the gravitational field predicted by certain quantum-gravity proposals—is deemed to be practically impossible. Here we adopt a radically different, quantum-information-theoretic approach to testing quantum gravity. We propose witnessing quantumlike features in the gravitational field, by probing it with two masses each in a superposition of two locations. First, we prove that any system (e.g., a field) mediating entanglement between two quantum systems must be quantum. This argument is general and does not rely on any specific dynamics. Then, we propose an experiment to detect the entanglement generated between two masses via gravitational interaction. By our argument, the degree of entanglement between the masses is a witness of the field quantization. This experiment does not require any quantum control over gravity. It is also closer to realization than detecting gravitons or detecting quantum gravitational vacuum fluctuations.
https://www.xkcd.com/1053/

I almost certainly know something I'd consider "trivial" that you haven't encountered yet. I try to be really excited when that happens.
Traditional views are just stored queries that are built on the fly, so there's no performance improvement. Materialized views are stored/cached on disk and will give you some performance improvements but you'll have deal with when/how the cache is updated and the resulting penalties.
> I'm going to argue that the vast majority of startup founders are not interested in actually changing the word

I have no idea. How would you know? And then, who cares - if they do change the world, it doesn't matter if they really really wanted it or jus kinda, and if they don't, truly nobody cares.

> If I take a glance at AngelList, the vast majority of startups are trying to fix small problems in niche fields.

Vast majority of startups also don't make claims about changing the world. In fact, we, on average, know absolutely nothing about vast majority of startups, because there's just too many of them. Everybody knows about Juicero, because that's in the press, but nobody knows about 10000 non-Juiceros. If you want to discuss the hyped ones - then let's not lose the focus.

> Because these people make it harder for qualified people with less rhetoric to gain funding.

If people with funding make decision on whether somebody uses rhetoric or not, only, then the rhetoric is not a problem. But frankly, I don't believe it. People who professionally invest money are not stupider than you or me, if you can see it, they can see it. So I don't think "we're too honest with our rhetoric and too beautiful for this cruel world" is a real industry-wise problem. Lack of communicative or marketing skills to clearly explain the idea behind the startup may very well be, but that's a different one.

> Again, there's regulation around high stake poker games

Wait, so the whole problem is that there's no Big Dude from Big Government overseeing it and protecting poor investors from themselves? The the whole thing is even less substance than I expected. I think exploitation of angel investor billionaires by overhyped startups is not the problem we should be too worried about, and probably not in the first 1000 of the problems that our society faces.
I keep tabs on Baltimore in particular, I spent some time around there growing up. I'm sadly unaware of any serious plans to fix the city. Nothing with substance or credibility.

Detroit is undergoing a modest recovery right now that is properly giving some people hope that it could get better there. It has far more industry to pull from than what Baltimore does, and it appears to have a spark to do so, a cultural determination if you will. Baltimore right now is lacking that aspect, it seems entirely adrift in a swamp of hopelessness.

If the Federal Government were smart, they'd shift a few major agencies over to Baltimore and push resources into the city by doing so. Absorb some labor slack, invest into communities, put resources into education and job training, etc. It would make a meaningful difference, Baltimore isn't a massive city. Just normalizing their high school dropout (~70% graduation rate, versus closer to ~90% for the US) rate would probably do wonders for sparking improvement.

If you look at what NYC accomplished, going from 1,200 murders to 1/5th that over 25 or whatever years. They had vast resources to pull from to accomplish that reformation. Baltimore is stuck between a classic rock & a hard place, lacking the resources they'd need to do it.

The city mostly has itself to blame for ending up where it has, I'm skeptical it can fix itself at this point. If it can, it'll take a very long time. Failed states usually take a very long time to recover. Ethiopia took decades to begin finding its footing after the disaster of the 1980s, and it's still on a difficult course. One would assume Venezuela has decades of recovery ahead of it, even if things stopped getting worse immediately. I consider Baltimore a humanitarian disaster, which in the world's richest nation is about a thousand notches beyond unacceptable. The Federal Government should step in and effectively abolish Baltimore as we know it today and reform it, put tens of billions of resources into the city, at the expense of all US tax payers. It should set various standards for how to operate the city to try to avoid it ending up right back where it is and gradually return control to local governance. Little different than when the US Government steps in and takes control over police departments (eg Seattle) when they effectively have failed at their basic responsibilities.
Whenever you run 'time <command>' you could consider running 'hyperfine <command>' to get an answer that has been averaged over multiple runs.

I personally use command-line benchmarking to compare different tools. You might want to compare grep, ack, ag and ripgrep. I currently use it to profile my find-alternative fd and to compare it with find itself (https://github.com/sharkdp/fd-benchmarks).

You could also use it to find an optimal parameter setting for a command-line tool (make -j2 vs. make -j8).
Unfortunately the zip code level is not always precise enough to determine local tax rates, but your point stands that it isn't usually overly difficult to find the tax rates for a particular shipping address.

I remember a few years back when I was doing ecommerce, I came across a service called TaxCloud[0] that was supposed to handle all of the tax collection for you, for free. I never actually used them, but the idea was you use their API to calculate tax rates for all your orders, you remit the tax to them and then they paid the states. Apparently many states offer a commission to 3rd parties that collect and remit owed taxes, so TaxCloud was supposed to be making their money that way.

[0] taxcloud.net
All state-level taxes require nexus, even gross receipts taxes. I don't know who told you otherwise but they were misinformed. Gross receipts nexus is higher than sales taxes, because it claims know income.

Having a Nexus for one type of tax does not make you liable for other taxes, i.e., sales tax Nexus doesn't necessarily subject you to income taxes in that state.
Lambdas are a bit more than that, because on standard JVMs they are implemented with specific bytecodes (via an invokedynamic specialization).

The only variant of Java that desugars lambas into anonymous inner classes is Android, because Google.
Show HN: Gatsby Source Plugin for Gentics Mesh
Expecting an advertising company like google to have scruples strikes me as more than a little myopic and misguided.

Stop using the products of advertisers, their goals are antithetical to what arguably should be yours.