skysight-inc/HackerNews huggingface dataset:
At work, I use PyPy to run a Luigi server for our data pipeline. It gave us a pretty dramatic decrease in latency and allowed us to scale our workload with a trivial change. It's unfortunate you can't choose your interpreter, but when you can it's pretty easy to just test both and see which one is faster.

I also use it at home to solve Project Euler problems. For anything that takes more than half a second or so, it's usually a big win and can turn minutes into seconds.
It's actually pretty good. One of the only things I'm really proud about pertaining to Facebook. Many blue collar workers, especially those out of the workforce need any assistance they need and it's HARD to gain motivation to apply via LinkedIn or individually find places. From this, it's right on Facebook, they understand the UI and the first initial step in the job process becomes a lot easier and then it cascades after that. I like how it's targeted to blue collar work as well.
Has Sam talked about depression? The mysterious periods of fog and lack of motivation he mentioned as well as a previous post that had a somewhat overly wistful tone about getting older (he's only in his early 30s!) seem like they could be symptoms :(
Lots of ways this could happen but people often forget about GPS/location services which are very accurate. I'm not sure if you have never had FB app on your phone, but even if you never installed FB app on your phone there could still be geo-associations inferred.

Think about the times your phone is near your friends phones, how your phone probably sits in the same space every night, the overlap between your IP location to whatever other devices connect behind your NAT which also send data to FB.
The stack has to bottom our somewhere and it's usually at the application code
Whatever happened to BrowserID from Mozilla? [1]

[1]: https://github.com/mozilla/id-specs/blob/prod/browserid/inde...
They even handed out unit tests for the Moonlight team. It was certainly the start of the Microsoft renaissance, which is very strange considering it happened under Balmer.
Although there is not a market for household care, one can show that there are substantial transfers involved when one partner stays at home. As an earlier commenter noted, a partner who stays at home enjoys the use of many of the same things -- all the property -- and has all of their own consumption covered. Working backwards from consumption would allow us to discover the nominal price of housework.
Just make the algorithm select a random frame, and it will be solved.
How to Convert Videos to MP4 for Free
“GRAHAM: […] So would you work with us in terms of what regulations you think are necessary in your industry?

ZUCKERBERG: Absolutely.

GRAHAM: OK. Would you submit to us some proposed regulations?

ZUCKERBERG: Yes. And I’ll have my team follow up with you so, that way, we can have this discussion across the different categories where I think that this discussion needs to happen.”[0]

If facebook manages to introduce regulation that requires expensive processes it could stifle competition and increase their moat.

There was a planet money episode on that topic[1]

0: https://www.washingtonpost.com/news/the-switch/wp/2018/04/10...

1: https://www.npr.org/templates/transcript/transcript.php?stor...
Sourcetree is great, until it forget who you are and it can no longer push or pull.
Ok, first you need to decide: is this going to be a purely transactional database (for business processes) or do you also plan to do data analysis straight inside this database (meaning you won’t be extracting, transforming and loading data into another database and analyzing it there).

If it’s transactional, I recommend keeping calculations only if you need to access summarized data frequently. For example, if you are tracking inventory by storing the history of transactions that occur into and out of inventory, it’s trivial to find out how much of each item you have in stock at any point in time by doing a sum of the change in quantities for each item type up to that point.

If you were usually interested in the “current” count, it would be expensive to perform this sum every time, so instead you could keep a separate table for calculating the running total of inventory per item and referring to that. Keep this table up to date through the use of triggers on insert events (Note that your log of inventory transactions would thus be an immutable stream of events)

An example of something not worth storing is derived data that is a combination of separate columns in a table. For most queries it’s probably trivial to be lazy and wait to perform such a calculation until you actually need it. If you still want to have a ready made “table” that has all the computations you want already entered as columns for easy querying, use a view. If you find yourself making liberal use of views, you’re on the right track.

If you are using a separate data warehouse for data analysis, then precompute and denormalize as much as you can.

*Disclaimer: most of what I’m talking about is from a Postgres perspective.
Rents have risen nationwide, making it tough for potential homeowners to save
For the record, in my opinion git is the worst SCM among the distributed ones and I truly believe it was only hype that carried it. The user interface is genuinely user hostile with so many commands and yet many commands have switches that change the behavior so much it very well might be a different command. And so forth.
Tom Lehrer at 90
> And the rich have way, way more time.

The ones who make the money tend to be workaholics.

> If you have tons of money to spare, you can afford to throw money “at the wall” and see what sticks.

You can afford it, sure, but you'll lose pots 'o money that way.

> For every case of losing money, there’s probably a lot more that pays off, especially when a billionnaire can afford to have entire staff working to minimize the chance of bad investments.

If your staff is so great, they'd be making the money themselves. Besides, anyone can hire such staff - that's what mutual funds are.

Any billionaire I've read about made their investment decisions themselves.

> My guess

I recommend reading some biographies of wealthy people and how they got that way. Kennedy, Jobs, Gates, Carnegie, Buffet, Musk, Hearst, Getty, Walton, Bezos, take your pick, etc.
The theories are incompatible at all energy levels, it's simply that those are two examples where we can't use them to accurately predict outcomes. Another not-extreme-at-all example where quantum physics completely breaks down is empty space. However, this discussion is deliberately missing the point, which is that it's not making predictions in everyday scenarios where physics fails. It's in describing the basic nature of our universe, which are two completely different things all together.

You're right that there are examples of scientists who highlight these gaps in our knowledge, there are more who simply pay some lip service to them, and then there's a much larger group of people, like dbasedweeb, who irrationally suppress all criticisms of scientific theories as if they were literally religious beliefs.
I would love it if more people were taught entrepreneurship such as what YC is doing, so that more people could afford rent. I was not taught this stuff in school.
Also, how do you index that?
> That means it is not in general possible to tell which branch a particular commit belongs to.

That's because commits can belong to multiple branches, which is by design.

> Therefore visualizing complicated branching scenarios, in ways that makes sense to users, becomes almost impossible.

There a reason users need to visualize complicated branch scenarios?

> This is why people advocate rebasing https://blog.carbonfive.com/2017/08/28/always-squash-and-reb.... The idea is to "lie" to the vcs because otherwise your history becomes a hodge-podge mess of merges. :)

Rebasing/cherry-picking isn't lying, it's avoiding the mess of a merge at the expense of being a tad more difficult.

Seems you have a very concrete idea of what you think a VCS is, and git disagrees with you, thus they "all suck".
I read SQL Antipatterns[0] - Avoiding the Pitfalls of Database Programming by Bill Karwin a while ago and really liked it.

[0] https://pragprog.com/book/bksqla/sql-antipatterns
Poorly paid, overworked, with an overblown sense of importance.[0]

[0].I work on Capitol Hill
It was proprietary.

Linus wrote Git. Fanboy followed.
He wasn’t even under oath
To understand FB's leadership, look at Christopher Columbus
Similar discussion from almost 8 years ago...

https://news.ycombinator.com/item?id=1433387
I wonder if Unity regrets using Mono / C# as their scripting language, it seems like they have so many workarounds and hoops that they jump through that it must be a nightmare to maintain.
Dare I say that after hammering away for 6 years with no profitability, it's not the $2.19/day in LLC tax that's bleeding him dry, it's the fact that the market is sending him a message about his offering.
In highschool, we used numeric subscripts for that. Ticks(apostrophes) were kept for derivatives.
It’s all done for the media, soundbites, constituent communications, and fundraising. I once worked for the energy and commerce committee, and it’s a total crap show.
It's really good that people find way's that is more easier and cheaper for everyone. Get Factoring from EUR 1000 to EUR 50 000. City Finances.
https://bit.ly/2uwKHav
You are correct: the specification is a work in progress which we plan to wrap of quickly. The approach is not to over-specify the format with features/options initially, but begin with a functional sub-set of HIEF and MIAF. The target is to provide an HDR/WCG successor to JPEG. This work is being done by a working group in the Alliance for Open Media.
That's hilarious given that Fossil was notorious for actually corrupting data, which is one of the few things people hardly ever bitch about with git. The fact that you are running into this frequently enough to rant about it suggests maybe you aren't familiar enough with the tool?
If you are using Postgres, the JSONB datatype will let you do exactly this while still using the full power of SQL. Simply create a column where you keep a JSON object full of random user properties, if flexibility is what you want. You can even index properties.
> Facebook doesn't have a single competitor because they don't have just a single product.

Isn't their single product the Facebook website/app? Sure they sell ads but so does Yankee Stadium. From the consumer's perspective the stadium's competitors include Citi Field, not Google Adsense.
What you have there is a sequence. Recursively defined or not, taking the indices out of a sequence takes away the only thing that makes it a sequence (the mapping from the natural numbers) and would be a horrible abuse of notation.

I think language designers were certainly consciously aware that they were designing something well defined, and chose to use this kind of syntax because its simpler, rather than an implicit mapping to the natural numbers via something like CPU cycles.
Also discussion at: https://www.reddit.com/r/coding/comments/8b7jwn/confessions_...
How Facebook targets ads for sites viewed in incognito mode
This is an interesting vulnerability in Chrome. Cookies from websites viewed in incognito mode are apparently available to websites viewed in non-incognito mode, provided that a regular browser is open while an incognito browser is open. Facebook looks at the temporary cookies folder and can later serve you retargeting ads based on sites you visited while in incognito mode.
So you're telling me that people are actually gambling money on fake cats online? Is this what we've come to?
The Single Greatest Business Trip of All Time
I think he is arguing that you should work on one feature at a time.
The future is coming really close with all these AI cars. I didn't expect them from Japanese manufacturers, but it's kind of creepy. To stabilize cashflow for small and medium size companies, to develop a secure foundation for growth with fast, convenient and friendly loan.
https://bit.ly/2pQF8ye
If you get to the point of having more than 50% of your employees outside of CA, I believe you can avoid registering as a foreign entity.
I've come to the conclusion that the problem in tech is that all the people doing the work are in their early twenties and have no idea what they are doing. Once they get some experience they are quickly promoted to the CTO position. Rinse and repeat.

What we have here is a classic dbms problem and no one at Movio seems to know how to deal with that. Instead of migrating from Mysql to something serious (Postgres) they move to some columnar DB no one has heard of. Nevermind that postgres and a reasonably priced DBA and a little thought put into their data model/queries could probably handle all their issues.

Sorry for the snark, cheers on a successful product.
A lot of cryptos have the same thing, with "votes"
In this case, a foreign entity is an LLC that is registered in another state, but does enough business in CA to require registering in CA. In this case you register as a "foreign entity".
This just isn't that hard. They don't have that much data. It is really late for me, but, put it all in memory and figure it out. These just aren't hard problems. DBAs have been solving performance issues for decades with a clever index on the right column for 30+ years. Sorry if this is get off my lawn-ish, but I have been on too many projects where I made a DB index and solved a major bottleneck. Too many new developers are ignorant to the nuance of RDBMS tuning. I am not even a DBA.
VP9 had more browser support than H.265, the codec it competed against. It was Apple's hamfisted attempt to hinder royalty free codecs for the web (among other web standards) that gave some users a bad battery experience. https://ngcodec.com/news/2017/10/21/why-we-are-supporting-vp...

That Google didn't force VP8 over H.264 is what led to the unfortunate situation with Firefox needing to ship a binary blob. I'm happy that Google stuck to its guns in the next round.
Dr. Sherwood Parker, pioneer in experimental physics
If you do business in California, which basically means you live in California you will still have to pay the California LLC $800 flat tax and CA income taxes.
Duplicate:https://news.ycombinator.com/item?id=16807474
Libraries that need to scale out faster than other ones tend to be CPU intensive (or RAM intensive, which tends to imply CPU intensive since you will be missing the cache a lot). Those sorts of tasks are rarely bound by network traffic, particularly when you are within a single data center, where latency is low and bandwidth is free.
I have converted all my mercurial repos to git and I have forgotten all mercurial now. It helps me feel less pain when I am forced to work in Git....
Christ do people do this??
Assuming it's a "do as I say, not as I do" warning. As in, take some ideas but don't go crazy.
Have you tried snacking?
Rebase is a controversial history altering operation and makes it easy to paint yourself into a corner and get weird error messages or wrong results. Its very different from pull/merge.
I just recently moved and also moved my single member California LLC to a single member Tennessee LLC. While there is NO INCOME TAX in the beautiful state of Tennessee, it still costs around $400 a year to register the LLC in Tennessee. So not a huge savings over the $800 LLC fee in California.
Agreed, I’m sure if this is the kind of problems they are having I could probably be saving them even more than $50k a year if they were on Postgres.
This workflow can be yours, in 10 easy* payments:

$ git stash
$ git checkout stash@{0} -- ./
$ $EDITOR # pare your changes down
$ make runtests # let's assume they pass
$ git add ./
$ git commit
$ git checkout stash@{0} -- ./
$ make runtests # let's assume they pass
$ git add ./
$ git commit

*(In case it appears otherwise, this isn't actually supposed to be a defense of Git. Originally, this was 15 steps, but I edited it into something briefer and more straightforward.)
While simultaneously "proving" that all projects could get done in one tenth of the time.
I would ditto that for sure. It can work out well for some but in my case it was a bad call. That was probably the worst decision I've ever made. I went to a good state school for undergrad, but I always wanted to go somewhere more prestigious. Nobody in my family had gone somewhere like that before. I didn't end up impressing anyone.
But why is "suppress into inconsequence" the appropriate metric? Murder is illegal but isn't "suppressed into inconsequence" by the law.
No I'm not, you do _not_ require keeping a branch around to have the complete commit history of the branch, the point it diverged from another branch, all the commits that were on the branch, and the point where it was merged back into another branch. Git doesn't keep the name of the branch in the history outside the merge commit message, but everything else is there.
Yeah but how many views do you need to put food on the table?
The Strange Parts previews don't seem so bad compared to some of the more egregious examples.

He seems to have the same facial expression in all of them. I don't think putting a big picture of your face on the preview is a bad thing, it makes it easier to visually filter videos by creator.
Just go with the snark and out in a joke answer that you will find funny. Some of my security questions are hilariously inapplicable, so the first silly, snarky thing I think up is likely to be memorable. It is also a little hard to guess unless you know me really well to an unlikely degree, and it won't stick out as much as a sore thumb in multi-choice situations.
So what do you think when Linus wrote why Linux kernel use Git. Is it an ad as well?
Not true. You can face sentencing for lying or concealing information in such a setting, even without taking an oath.
If that’s where they bottom out they should be called “mid stack” rather than full stack.

If you are claiming to be full stack you better be prepared to go all the way.
Oh no! My mother's maiden name is _invalid_!
What a tired trope.
If you live in a society where thoughtful, rational discourse is drowned in a sea of shouted opinions, then you do not have free speech either. Free speech is not the freedom to say anything you like, but the freedom to express any idea you like. You are not free to express it how you like to whoever you like.

And there aren't many liberals willing to censor people for controversial opinions presented in a self-aware, carefully worded, and relevant manner abounding in due consideration for the facts. They do censor people who like to peddle propaganda and wave their victimhood around like pariahs.
And on top of that, when you eventually do realize you want to change the domicile to Delaware, you find out that California corporations don't allow direct conversions into Delaware corporations, so you have to pay lawyers an extra couple thousand dollars to prepare merger documents to move the entity to Delaware.

Lawyer, but not your lawyer.
x265 gets ~10fps on veryslow with 480p video on a recent workstation. Intel and AMD are pretty much tied there because Intel's per-core performance is significantly higher for x265, but AMD has more cores.
Zero?
What do you say to women--and they do exist--who choose prostitution voluntarily, despite having other options? Who is served by imprisoning and persecuting those women? How does that protect their sexual autonomy?
For now - and even HEVC encoders are still pretty new.
Do you have any more info on this?
This is basically the worst possible course of action. Facebook is neither a utility nor monopoly. Facebook will be irrelevant in a generation or less. Even if Facebook manages to leverage the network effect of its alternative subsidiaries, there will always be the treadmill of evolving trends, and there’s not such thing as one true mode of electronic social interaction.
Extensive discussion 4 days ago: https://news.ycombinator.com/item?id=16775166
merge is what civilized people who care about getting history and context in their repository use ;) ... I worked a lot in git using both rebase and merge workflows and I'll be darned if I understand the fear of the merge commit ... If work happened in parallel, which it often does, we have a way of capturing that so we can see things in a logical order ...
Well, what would be the argument against that - if in fact it does deliver code that solves a problem in a short period of time? Why can't you just do that all the time?
they should have never been allowed to buy Whatsapp and Instagram in the first place.
It is a feature. Not a bug. Youtube wants people to do this..
Short Random Thoughts on Disruption
Well, not quite. From the article, 731.71 for the paperwork, but also an annual fee of 853.66. Additionally, a Registered Office is required, which they will provide for 2,500/yr. Rates are tiered based on income, and may be higher based on class of business. 731.71 just gets you in the door.
What are the advantages/disadvantages over a typical Delaware C-Corp?
This is a big thing in Australia, new laws that came out in 2011 to emphasis the point.

Especially that products should last "as long as you expect them to last".

Take TVs for example - if you buy a 80" OLED for $500, it might be expected it'll only last 12-18 months. However if you purchased a 50" 4k TV for a few thousand dollars, the implied warranty might be 5+ years as it's a product of reasonable quality and cost.

The best bit about it is that if there is a major fault with the product, the remedies are: 1) Refund, 2) Replacement, or 3) Repair. And it is the consumer/purchaser's choice.

So if you purchased a TV for $5000 and then a fault causes it to blow up 5 years later, you can ask to get a full refund, even though the current street value might only be a few hundred dollars.

The benefit of this is it forces manufacturers to actually build quality products, knowing they are liable for full refunds if they fail.

It reduces the chance that they'll build "planned obsolescence" using cheap parts that might only last 12 months and 1 day (1 day past their "warranty").

A longer explanation is here:
https://www.accc.gov.au/consumers/consumer-rights-guarantees...
Rebase is "rewind local changes" "pull" "replay local chances"

Basically it makes it so that all of the local-only commits are sequenced after any remote changes that you have not seen yet.

[edit]

YZF is correct. In the context of pulling (i.e. "git pull --rebase") my description is correct. However in general rebasing branch X to Y that diverge from commit C is:

rewind branch Y to commit C; call the old tip of Y Y'

play all commits from C -> X on Y

play all commits from C -> Y' to branch Y.
Youtube "recommended" videos, if you open it in incognito mode are very revolting to me. This is why. The quality is so atrocious. The video recommendation in my google profile are not as bad, but every now and then it will recommend me a picture of The Donald making an ugly face.