skysight-inc/HackerNews huggingface dataset:
> Often, these are before built as libraries and imported into multiple projects which is the wrong approach. Offering up an API for these instead can help decouple.

This assertion - that it is a wrong approach - is false. And an API call that involves RPC is not necessarily more decoupled than one that doesn't. Coupling is another word for correlation of changes over time. RPC has no necessary implication of reducing this.

What makes the library approach awkward is usually persistence, error recovery and asychronisity, not coupling. The need for things like retries that survive restarts, which means they need persistent queues, even if that's just files in a directory. But none of these things necessarily require service implementation rather than library implementation, not even sandboxed attachment screening - that's a subprocess (potentially farmed out to another box container style, which is a service), not a service in itself.

People have been doing versioning with libraries for decades; there are a lot of different ways to crack that nut, and ignorance isn't an argument either way, because it cuts both ways.

When you have the same job that needs the same kind of queuing, same error recovery, same resource management across different applications or areas of a single big application, that's when it makes more sense to try and package it into a service. Something that is stateful and long running, and not just some code at the end of an RPC. Something that might need very different resource consumption requirements than the calling application - e.g. a CPU intensive operation in an otherwise lightweight app. Something that needs to be scalable independently of other components in the system. That kind of thing.
It makes sense if each client gets to add their own fields.
Before I read the whole article, do I have to be a US citizen to create the LLC?
Oh. You’re not reading too much then. That is cringeworthy. Not necessarily from the jingoistic perspective (but that also), but mainly from how ignorant it is. There are countries where starting a multi-billion dollar business is virtually impossible. China is not among them.
Many (most? all?) newspapers have a firewall between ad sales and news/editorial. Since news and editoral on FB is pretty much the news feed, I think duplicating the newspaper model here might be something like so:

One could split Facebook into a "connecting the whole world" company that Zuck talks about constantly and the ad company FB actually is.

The ad company would have exclusive license to fill of all the ad slots on the platform, and the social company would request ads through some kind of interface which had strict privacy controls. The ad company would take a cut and pass the rest of the cash to social network.

Just one way I think it could splitting the company could work.
How bad is python in string search
US citizens still owe taxes on any income over a certain threshold as per:

https://en.wikipedia.org/wiki/Foreign_earned_income_exclusio...

There is no more tax advantage to the law abiding citizen in this scheme versus just registering an llc in wyoming/nevada and living abroad.
You define a business based on customers and costs:
1. Facebook's customers are advertisers.
2. Facebook's costs are for IT systems development, infrastructure and operations.

As such it competes with other advertisers: e.g. Google, TV broadcasters, et.c.

The fact that it does this using a "social network" has nothing to do with the question!
My only problem with Facebook is that it was allowed to purchase Whatsapp and Instagram it's future competitors. I was glad Snapchat did not sell to Facebook. Personally I only use WhatsApp of these 4 as it is something I can't do without for work.
Maybe you meant this article, which is linked to from that one? https://www.independent.co.uk/arts-entertainment/interviews/...
> It's a really odd line of questioning from people who don't seem to understand the subject matter.

Maybe but that particular quote "Zuckerberg (in a disdainful tone): Senator, we run ads." is not an example of it. Sometimes they ask really basic questions, not because they don't know the answer to it, but to enter it into the record. It's how a police or how cross examination starts, get them to admit basic stuff then later make them contradict themselves. Another reason for basic "stupid" questions is to provide information for others who many not be aware. We all know how FB makes money, but that might not extend to people who aren't proficient technically (think grandparents, parents, aunts, uncles...).
> There isn't any reason they couldn't do the same for HEVC

The practical problem with HEVC licensing is that it's complex and uncertain. There are three separate patent pools (MPEG LA, HEVC Advance, and Velos Media) and there are other licensors who aren't in any patent pool. The licensing situation is so bad that Leonardo Chiariglione, founder and chairman of MPEG, calls HEVC an "unusable modern standard":

http://blog.chiariglione.org/a-crisis-the-causes-and-a-solut...

A while back the x265 team pleaded with the industry to sort out the HEVC licensing problems, but that never happened:

http://x265.org/proposal-accelerate-hevc-adoption/

HEVC licensing may be too risky for the Raspberry Pi Foundation. It's simpler to use H.264 and VP9 today and to look to AV1 for the future.
It's fun to bust on our parents & politicos but I'm pretty sure anybody who managed to raise you, or especially get into the Senate, has a much more extensive and nuanced understanding of life (and politics) than you think

You say that, but I'd just like to remind you that Louie Gohmert (my home state fwiw) was a judge. And is now in the house.
I think the whole appeal is faster encoding/decoding, but compared to a normal jpeg, it's the same image quality with a larger file size. I could be mistaken, the article is kinda light on actual technical details.
that's wrong, though. x becomes a copy of y, which is only transiently the same.
Right, it’s not that hard, but there are some gotchas. The most common problem I see is the local submodule being out of sync with the remote superproject. Pushes across submodules are not atomic. Accidentally working from a detached head then trying to switch to a long out of date branch can be an issue, as can keeping multiple submodules synced to the head on the same branch. Recursive submodules are, as you mentioned, even more fun.
What history teaches us is that past generations have been ruined by serious things, like war, political upheaval, disease, and economic collapse, not by a frivolity in their social lives like FB.

Modern marketing has ensured that everyone in the US born after the'80s has grown up in an environment of marketing saturation, but modern marketing/propaganda was invented in the early 20th century. (Thanks, Edward Bernays) It changed our lives and the way we think, from Fascist propaganda to Coldwar rhetoric, and to the belief that orange juice is a breakfast drink and the engagement ring is a thing.

FB is one of thousands of powerful entities continuing the tradition, but of course, data mining has reached obscene levels, but FB is only one of many players.
Channels that specialize in reviewing virtual reality content are especially fun. Since the head mounted display obscures the eyes, they must make up for the loss of expression with terrifyingly exaggerated gaping maws.
Maybe Facebook.com fades to irrelevant, but Facebook.the.company evolves to dominate that treadmill, purchasing or replicating any threats for a long period. In this scenario Facebook is not a classical static monopoly protecting its rentier status, but instead a dynamic monopoly whose massive resources enable it to leapfrog from one trend to the next. Facebook-the-company is clearly aware of the history of its predecessors and is poised to pivot.
> I'm trying to think of what it is, exactly, that Facebook has a monopoly on. The nearest I can come up with is: Facebook has a monopoly on Facebook users.

Perhaps Facebook could be thought of as a monopoly because 1) it has no clear, direct competitors, and 2) it's taken action to buy up anything that could become one [1]?

[1] successfully with Instagram and WhatsApp, and attempted with SnapChat

> The followup question would be: how can that be broken up?

It could be divested of Instagram and WhatsApp, for starters. I think its core facebook.com could also be split up in a way to increase competition further: randomly divide its users between multiple successor networks with a mandate to provide an open API for inter-operation.
I would love to see a startup package in the US (for genuine startups). No franchise taxes for three years, no employee tax—-or a simple contractor system—a simple and inexpensive corporate healthcare plan, a simple tax form for companies with little or no revenue. Running a startup is hard enough already then you have to put up with all of this admin nonsense when you’re just trying to keep your head above water. Why waste all this money on lawyers and accountants when it could be put into your business.
a byte of RAM or disk is cheaper than a human neuron.
Brains are more important than fingers.
Seems somewhat ridiculous to allow companies to acquire other companies/services just to force them to spin them off.

I'm for regulation, if you can come up with sensible ones. But targeting a specific company to be split up doesn't seem like it actually solved the problem in the long run. I mean look what happened with AT&T -- we're almost back to complete consolidation again.
Yes, python is included, though I think macOS uses python 2.x (though people using cli tools will often have the latest). I’m guessing a google search could tell you what is bundled for macOS and various Linux distros.
Uber unveils new app for drivers that navigates to higher paying rides
law abiding *US citizen, but yes.
Relieved to hear a super high performer be honest about some of his imperfections e.g. sweet tooth
This thread is really interesting, let me tell you why.

1) Forming an LLC, or a trust, or similar things, has always been considered complex, expensive, and requiring human supervision. I guess and assume that a large percentage of the population still believes it is the case.

2) This thread, however, confirms that people are ready to see #1 challenged and eventually removed. And there are numerous examples of websites, resources, etc, pointing at simple and elegant solutions that would apply to MOST cases. (deciding whether your case belongs to "most" or not might not be too simple though).

3) There is so much unexpressed potential in the ability for people to put these matters into their own hands. Don't get me wrong, experts are and will still be required in many cases, but the point still stands.

An example? Everybody owning property should use some form of legal entity to own/manage that property. Why? Because in its simplest form (a trust) it is literally cost-free, and brings several benefits out of the gate (no probate on death; legal separation between trustee and beneficiary; etc). For slightly more specific needs, an LLCs or other similar vehicles also provide great benefits (although require tax reporting, and some state and local tax to be paid each year). And these tools shouldn't be expensive. Not for most people.

In my recent experience, I have been dealing with the structure of a land trust to facilitate real estate transactions (using the Blockchain to record these transactions - before you say anything, we're not crypto fanatics, the crypto part is actually quite straightforward and not too crazy like many projects out there).

We are a startup, and we invested a significant chunk of our initial funding in fees (legal and otherwise). We intend to open source most of our outcomes eventually, and hope that MOST people will be able to actually benefit from this, instead of spending several orders of magnitude more to have it done the old way.

In that regard, the "setting up an LLC in 10 minutes for $70" is exactly how these things should be. (again, provided that you belong to the "most cases" category).

All in all, I'm really happy that this is happening.

As a side note, if you have experience with trusts and LLCs used for real estate investment, I would be very happy to chat with you - I come from the IT world (Amazon, etc) and still have a lot to learn from experienced people.
No you're definitely not the only one. Git is one of the simplest and dumbest tools developers have at our disposal. People's inability to conceptualize a pretty straight forward graph is something no amount of shiny UI can ever fix.

I don't understand HN's hardon for hating Git.
The compiler warns unless you add an extra () around the assignment to signal that you mean it.
I though canvas fingerprinting can't track individual users, but only segments based on the underlying graphics substrate?
Didn't protect Liberty Reserve.
And so does the headline of this submission. :)
You're right. I started using mysql in 2000 when it was still a toy. It's an outdated bias :) I was more flabergastered they would choose 'InifiniDB' when there are so many other great options out there.
I can wholeheartedly echo your concern. Operating from Europe I am looking for the same.

For me, it is not just about protecting free speech by not having to fear litigation costs, but also privacy: Extremists from left to right make heavy use of what private data they can find about owners of websites and try to destroy them publicly or use threats/actions of violence against them.

(Other example: I repeatedly run across pyramid schemes. Setting up a simple, yet convincing set of facts as a website, that would keep people from being fooled into these is my initial response. But I always restrain from doing so when I look at two things:

- how litigious these schemes often are (it often takes years for authorities to catch up to them)

- how emotionally attached (and often shady) the scheme's propenents are)
Hong Kong tops ACI’s world busiest cargo airport ranking – Air Cargo
> Maybe you could do less work producing just the few bytes

It takes more work to produce fewer bytes, because you've to pack the same information in fewer bytes. Entropy and all that.
Thanks! I asked because i’m looking at the same problem, though at a smaller scale than you guys.

I decided to build our personalization API using Python’s Flask, worked great at the start because it helped us move quickly adding new features. 6 months later, we have more clients and hence more traffic, the response times have gone up significantly. I ran a benchmark doing a simple db query which returns the result as JSON with the apache benchmark tool and found my Golang implementation to be in the order of 20-25x faster, compared to falcon which is meant to be a lot faster than Flask.

Decided to just go ahead and implement the most performance sensitive parts of the API in Go.
Which is why I started my comment with "US citizens.." but also, if you're not a US citizen (for most countries anyway) you can register a corporation in a dozen other tax havens and avoid any taxation without those ludicrous fees given you are living abroad.
English has Subject-verb-object word order, not object-verb-subject. That's why x is the first word in x = 2+2
The question is whether it can be stored like this while allowing for fast queries. For example, unless it changed recently, Postgres doesn't calculate statistics to help the query planner on jsonb fields.
Many small businesses start out as sole proprietorships or general partnerships that don't pay the tax for the privilege of a corporate-style liability shield for investors that applies to LLCs, LLPs, and corporations.

They often convert to an LLC or corporation if they scale beyond a very small operation, because at any but the smallest scale $800/year is nothing (it's less than the wages—not total cost—of a full time minimum wage employee in the state for two weeks.) But, you only need to start that way when you have or are seeking early investors that are protecting substantial assets outside the business; lots of people starting a small business sink most of their personal assets into them initially anyway, so the corporate liability shield isn't protecting anything: if the business fails, they are personally wiped out with or without it, and their exposure is limited more by personal bankruptcy than anything else.
This is just the reference implementation. Its purpose is as a check for production versions to verify they produce the right bits, and to make clear what all the protocol options are. Production performance will be comparable to software implementations of the other protocols; and then hardware will be real-time, soon enough, and there will be expensive way-faster-than hardware for transcoding services. If you have much transcoding to do, you farm it to them.

The performance of the first x264 software implementations was no better, although you never saw them.
How would that be?

You still have to pay yourself a reasonable salary which would be taxed at regular earned income rates.

And then for any dividends you pay yourself, you are going to pay corporate tax of 21% (after Trump tax changes hit) plus 15% or more capital gains.
> Unfortunately, I've heard you can talk to customer support and say things like "I think I just typed in random garbage for that" and they'll accept it.

I suggest:

- "L9Pro840Of9KNI...This.entrophy.is.intentionally...GfKD4tf8tOwTG9Dcqj"

or even better

- "Dear support agent, DON'T reset my passwort on any security question!"

I also write "passport required" on top of all my bank saving books with a ballpoint pen.
You think people using email know anything about email standards? RFCs?

They see a "forward" button in their email client. Just like Facebook Messenger has a "forward" button on messages.

No one is expecting a different level of privacy in Facebook Messenger over email because of the IETF.
This talks a lot about 5.5 and mentions that 5.6 is “due out soon”. The current release series is 5.7. How much of this is outdated and how much has stayed the same?
Most of them are both (a) minors and (b) minorities, so it's no surprise people assume this is a rare phenomenon. It only happens to black and latina girls, thus, it doesn't happen at all.

Why do you think the NCMEC is so up in arms about Backpage? They know damn well what happens to runaway girls. Not all of them see themselves as victims.

When more underage white girls start turning up in prostitution busts you won't have a problem finding victims.
I'm from SF. Living in Saigon now for almost 2 years. Lots of people reach out to me to 'offshore' here because they hear that VN devs are pretty good and salaries are a fraction of the Bay Area.

What I've learned is that Vietnamese developers are generally smart and hard working. There is a lot of young hipster attitude. They don't suffer from some of the same cultural issues I've seen in other countries. They have their whole own baggage here. ;-) They really love the latest technologies and strive to keep up to date on things. At the end of the day, it is quite hit or miss, but that could really be said anywhere.

In the past, I've never really been a huge fan of offshoring, but with the right company, I've seen it work here on several occasions now. If you're willing to pay a bit more (but still way less than the bay area) for the better dev houses here, you can really get some quality work done.
Yeah and this varies by person obviously. I wouldn't even think about small claims court unless I thought there was $1,000 or more recoverable.
Românul de la Hammamet (Tunisia)
Tesla’s response to getting maps updates over LTE or service center WiFi
No, I am not fine with this. I don't care if a company has 10 engineers or 50 (hi WhatsApp) or 10,000. The number of engineers has no relation to how many users are exposed to privacy risk.

After all, one single developer can make a popular app that reaches millions. (If you want an example, the Muslim Pro app has over 40 million downloads and is made by a team of less than 5).
Didn't protect Kim Dotcom.
> This has never been secret and has been "on record" for a very long time.

Been a secret to "whom"? Not secret to technical people, no. There are plenty of non-technical people who still don't understand the "you are the product not a customer" trope. They see this free "talk to your family" service which sometimes shows ads which they ignore. They might answer the "how FB makes money question?" with "I don't know, maybe some people pay for it. Or maybe they are just nice and give it away for free".

Other questions might have been stupid but that particular one was typical of how a police investigator might start questioning or how a lawyer might cross examine a witness.

> I think most people will see the absolutely dismal lack of technical understanding by Congress

Back in the day I used to think of lawyers asking witness questions on the stand the same way: "Why do you ask him if he knows the victim, of course he does, these lawyers are sure not very bright..."
You are right. It is a solid DB. I was more pointing out that if you have to move off Mysql, there are excellent options other than adopting a new columnar datastore.
Examples of GoF Design Patterns in Java's Core Libraries?
> To be proficient with sql you have to understand how results are stored on disk, how indexes work, how joins work, etc

No, you don’t. As far as I know, the data is stored in discrete little boxes and indexes are a separate stack of sorted little boxes connected to the main boxes by spaghetti. This is the abstraction, it works, and I don’t need to know about btrees, blocksizes, how locks are implemented, or anything else to grok a database.
We moved from SVN to Fossil and it has worked out great for us. The other option was Mercurial but it required Python.
Facebook's arch nemesis: turning off your computer and going outside :)
Let's break up Google too while we are at it. They exert far too much influence via Google search and YouTube and Android.
If you can pull off the tax-nomad thing. There are fewer places in which you can basically "buy" work permits and live income tax-free semi-permanently. (The Caymans will "roll you over" / send you home for a year after 8-9 years if you don't apply for Permanent Residence (more expensive).)
Labeled data for potholes on roads with bounding boxes
That's the least rational thing I've ever seen. Look at what happened to Bell. Forced corporate breakups are the dumbest thing possible.
You have a working device and then you modify the software and it stops working.

If it works, why change it?
6 Graphic Design Tools for Marketers
In math, "=" is an equivalence relation.
You definitely do not need a lawyer. And you don't need an LLC either. Both of which are definitely "premature optimization".

If you are in the US, you can just use your SSN and sign up directly with your payment processor as a sole proprietor.

If things take off, you can start worrying about talking to a lawyer. You really won't have any reason to form an LLC until you need to hire real employees (W-2 employees).
The US government coming after you for facilitating massive fraud and countless other illegal activities is hardly the same as some idiot suing you.
Amusingly enough, git's scaleability is also not that great (e.g. worse than mercurial last I checked).

The network effects are there, though.
Are you serious? After what they did to Dotcom? Heck no.
While true, I think it’s worth remembering that history is being written constantly. Facebook’s position and scale has no precedence, and we’re just now really beginning to understand what the consequences of such a position can be. Today’s event was historic in its own right (even though I think it was mostly unproductive).

We’ll emerge from this a little wiser, and maybe with some new regulations. Whether regulation is good or bad I can’t say, but this is all very much a learning process as a society and, to some potentially great extent, as an industry.

Frankly, I think crossing this line was necessary.