Better HN
topnewbestaskshowjobs
Log inSign up

staticautomatic

3,655 karma · joined Oct 19, 2015 (11y ago) · 1,773 submissions

if there is a bear at fastmail
Submissions

comment 6y ago · link · parent

Even if you're in CA and your employment agreement has a permissive IP rights clause or no clause at all, the odds are pretty good that your employer has a good case for owning what you built, even if you did it on your own time and equipment. You'd be a fool to tell them about it.

comment 6y ago · link · parent

Yeah they could sue you, and you'd have to get quite deep into defending it because your best shot at a defense (depending upon what exactly they told you) is probably estoppel, which is an affirmative defense you could win on I think no earlier than summary judgment. That is to say, after you're bankrupt.

comment 6y ago · link · parent

Lots of cultures have strongly-held mystical beliefs about dead bodies, going back thousands of years. There are plenty of famous examples, even, like the fights over Patroclus and Hector's dead bodies in the Iliad.

comment 6y ago · link · parent

Aside from asking whether selling your stock on the secondary market is allowed, forget about the stock options. What happens to stock options when the company gets sold depends principally on the ratio of money raised to acquisition price.

Which brings me to the more important point, which is that the main thing you should evaluate is the company's likelihood of shrinking, shutting down, or being acquired for too little money. In my mind, there are several important things to consider:

1. Do you believe in the product?

2. Is the growth vision realistic?

3. If you were in the founders' shoes, would you have thought it was necessary or a good idea to raise as much money as they did?

4. Do you believe it's realistic that the company will be acquired for at least a healthy multiple of the total amount raised? If you know who the likely prospective acquirers are, are they shitty companies or do they have a history of fucking up companies they acquire?

5. Do you understand and agree with their expansion strategy (how and where they're spending the money they raised) in terms of speed, direction, head-count, etc.

6. Do you trust the founders as people and as business leaders?

7. How much has earlier employees' stock been diluted in subsequent rounds?

If I didn't have positive answers to all of these questions, I would think twice regardless of the stock options. If I did have all positive answers, I'd ask for more stock options because why the hell not. The worst thing they can say is no.

Edit:

If you are planning on asking for more stock, it's really important that you:

A) Be prepared to give a concise and meaningful explanation/answer for why you want or deserve more.

B) Have a (preferably specific) additional amount you want in mind and an explanation about why that amount.

C) Give some thought to how you're going to approach the conversation. You don't want it to go like this: Can I have more stock? No. Why not? Instead, consider asking how they went about deciding what amount to offer. It'll help you figure out whether it's worth asking for more and how far you can push it. The answer will also tell you if they're bullshitting, if the number is totally arbitrary and pulled out of thin air, or if they've actually given thought to it and have a good reason (like they've worked out the proportion of the employee option pool they can safely give each new expected hire at your level).

comment 6y ago · link · parent

Is the olive thing a so-called "cabotage" issue?

comment 6y ago · link · parent

Could you please elaborate on what you mean by "intelligently validate the quality of labels in a document and complement human judgment", and discuss your methodology?

This seems to operate under the assumption that human labels are not actually the ground truth. I understand that they can be dirty, but most unsupervised approaches aren't producing a ground truth, either. So, are you saying it's better to have multiple pretty good sources of truth instead? Because depending on the application, that might make sense or it might be like trying to start a farm with a dead horse and a dead cow.

comment 6y ago · link · parent

This is only really true of marketing campaigns, and even then only in some instances. In certain kinds of marketing (e.g. direct campaigns), there may be downside risks to casting too wide a net beyond just cost vs profit.

It's also important to understand that these data aren't just used for shotgun marketing campaigns, they're also used in highly targeted applications. For example, if you give a company a small amount of information about yourself, for example through a insurance or financial services "estimate" page, that company has very good reasons for wanting as much (and as accurate) data about you as possible. The two biggest reasons are:

1. If they're smart, they're running models to associate those and other things with purchasing behavior. Notwithstanding the fact that they need to stay on top of the model's accuracy, having information about you that is too incomplete or too inaccurate can really fuck up their shit.

2. In domains where customers are extremely profitable (again, e.g. insurance and financial services), it can likewise be extremely expensive to acquire the data needed for robust modeling, even dirty data.

In both of these cases, they do very much care "about having data about 'you' in particular".

comment 6y ago · link · parent

I am not experienced enough in machine learning to say when it's not, but I can say it's extremely useful for quickly building classifiers of stuff that would be a nightmare to label by hand for training purposes.

I do a lot of text classification where I'm working with a set of semi-structured sample documents. I can usually hard-code rules to classify my sample set, but I know that any new sample document might well break my rules. Typically, I know a handful of things about what distinguishes some documents from others-- some I know will always be true but many I only know will sometimes be true. The naive way to handle this tends to be a score-based approach, where documents get "points" for meeting certain criteria. But unless it turns out that stuff you thought was sometimes true is always true and/or the things that are always true are enough to classify correctly 100% of the time, the naive approach is always going to regress (no pun intended) to a model because you have to identify a cutoff for your scoring. You can take statistical approaches to figuring out the best cutoff to achieve the result you want (e.g. a Principal Component Analysis optimized for a certain chi-square distribution), but it's still turning into a modeling task no matter what you wanna call it.

It's great to be able to dump all of my roughly understood features into Snorkel and let it build a model around them. It's also super fast because I've usually already written the hard-coded "rules", so I have very little new code to write.

Usually the classifier ends up being a supplement to what I'm already doing but in certain cases it could become an outright replacement.

comment 6y ago · link · parent

This looks awesome! Super fast Snorkel with even better performance? Yes, please.

comment 6y ago · link · parent

I appreciate you weighing in here, but with all due respect this is homework you would have already done if you were serious about your FTS being on par with Lucene, and that I shouldn't have to do for you.

It's totally obvious just from comparing Elastic's documentation with Bleve's that Elastic has way more tokenizers and filters than Bleve. And it's also totally obvious from comparing Bleve's code to Dgraph's that Dgraph implements a subset of Bleve's.

Whoever was responding to me on Slack sounded like they didn't even know what I was talking about. When I asked whether Dgraph planned to implement all of Bleve's tokenizers, the response I got was "Dgraph uses Bleve to generate the full-text tokens for the full-text index." When I pointed out that currently only some of them have been implemented and reiterated my question, the answer I got was "Dgraph's product decisions are independent of Bleve's features."

Bleve would be a fine choice for FTS if you were planning on implementing the whole thing, writing additional analyzers to reach parity with Elastic, and preferably up-streaming them to Bleve. But if you're asking me to open a GitHub issue saying "will you please consider implementing the rest of Bleve?" the answer is no, thanks. I'll just revisit Dgraph some other time.

comment 6y ago · link · parent

Believe it or not, Dgraph has far and away the worst FTS of any graph or multi-model DB I evaluated. After speaking with Dgraph's engineers about it on their Slack channel-- for reasons left unsaid and which I'm pretty sure I would charitably describe as ridiculous-- that is apparently by design.

Like Couchbase, Dgraph has decided to use the Go library Bleve for FTS. Bleve is good at what it does, but it just doesn't do very much. The number and kinds of analyzers that Bleve has absolutely pale in comparison to Lucene. So for starters, it's just not all that great. Never mind that Bleve is pretty easy to extend. I don't want to reinvent the wheel writing analyzers that are freely available in Lucene, and I certainly don't want to have to deal with incorporating them back into my code base and testing them every time there's a new release.

But it gets worse. Unlike Couchbase, Dgraph doesn't even fully use Bleve. Rather than tracking Bleve releases and inheriting its analyzers, Dgraph has made the completely baffling decision to implement only a subset of them. It's already the case with Bleve, for example, that pretty much the only sentence tokenizer available is the unicode tokenizer. I don't want to use the unicode tokenizer anyway, but even if I wanted to do the tokenization myself, there's no straightforward way for me to get them into Dgraph because Bleve's "single token" analyzer (which just accepts a stream of individual tokens) is not one of the two or three analyzers Dgraph elected to incorporate.

As far as I'm concerned, that is some bullllll shit.

comment 6y ago · link · parent

I posted a thread recently about my struggle to evaluate neo against multi model alternatives but have not gotten any useful replies. Any chance I could pick your brain? Email in my profile.

comment 6y ago · link · parent

I can only speak for teams of attorneys, and my experience is mostly working with litigators rather than transactional lawyers, but among other things:

1) It's shockingly rare to see use of project management tools, even simple stuff like Basecamp or Notion. When multiple people need to, say, review a draft of a filing in sequence, they're typically either keeping track of it in their heads or in a spreadsheet. "Excel is totally adequate for this" is wrong for a variety of important reasons.

2) Infrequent use of file indexing, even Windows' built in. I see firms using document management software running old versions of SQL with totally the wrong kinds of indexes and which usually take forever to find anything or crash in the process.

3) If they exist I haven't seen them in use, but a lot of teams would benefit from some middle ground between nothing and e-discovery software for searching across relatively large but not enormous collections of documents. A rudimentary on-prem or local CRUD app that could ingest a variety of shit, OCR it if necessary, dump it into Elastic, and let you FTS it would probably sell like hotcakes to small and mid-sized firms.

comment 6y ago · link · parent

Agreed. For all their tech initiative claims and hiring of in-house "legal ops" people and even developers, your typical attorney uses hardly any legal tech outside of e-discovery or billing.

comment 6y ago · link · parent

Depending on your domain, they can be super useful, if not indispensable, for Named Entity Recognition.

comment 6y ago · link · parent

Postgres is great but it's totally unsuitable for the kinds of queries I need to run. They'd be horribly inefficient even with indices significantly larger than the data tables themselves.

comment 6y ago · link · parent

In my experience working as a consultant to probably 1000 lawyers over the last 10 years-- from solos to biglaw partners-- it's absolutely true. The most highly paid are not clustered at the far end of the skill/experience bell curve.

comment 6y ago · link · parent

Most people who bill at those rates are no better than people who bill $300.

comment 6y ago · link · parent

How cheap? I have an ABBYY FlexiCapture license I'm not using if you're interested.

comment 6y ago · link · parent

Dgraph is out bc of Bleve. Others have varying levels of shortcomings but aren't necessarily out. Like Arango supports custom analyzers but I'd really rather have more analyzers available out of the box.

Neo4j seems like a clear winner, but I'm a little skittish because so many people seem divided on using it in production. OrientDB also seems like it could be a very good choice.

I think my main problem with evaluating the multi-model alternatives to Neo is that I don't feel capable of reasoning about the appropriateness of implementing this in a multi-model database. I have to admit I don't quite get how their graph layers work beyond "graph something something linked lists". At best I have a suspicion that it could turn into some kind of composite indexing hell.

891.

Ask HN: Graph DB for full text search?

3 points · by staticautomatic · 6y ago · 9 comments

comment 6y ago · link · parent

Thanks for clarifying.

comment 6y ago · link · parent

Sure, I meant for greenfield projects.

comment 6y ago · link · parent

I've also done a lot of work in this space and one thing I don't understand is why more extraction libraries don't support images as input. If your PDF isn't layered or OCR'd, it might as well be an image. I've lost count of the number of times I've downloaded some PDF extraction tool and then had to hack it into accepting an image.

comment 6y ago · link · parent

Edit: See reply below

Am I reading the repos correctly? It looks like Extractable copied Tabula (MIT) to its own repo rather than forking it, removed the attribution, and then tried to re-license it as Apache 2.0. If so, that would be pretty fucked up.

https://github.com/tabulapdf

https://github.com/ExtractTable/tabulapro

comment 6y ago · link · parent

Back end Python web development is a joy these days.

comment 6y ago · link · parent

Surely there's a startup for that.

comment 6y ago · link · parent

http://watch.everythingisterrible.com/

http://www.foundfootagefest.com/

comment 6y ago · link · parent

> the surveillance is limited to non-citizens

How many times have we heard that one before?

comment 6y ago · link · parent

My point is simply that without a directive from the government, it would be illegal for the conference organizers to physically detain you, even if it's to isolate or quarantine you. Even if they did have a directive, it would probably still have to be a sworn officer doing the detaining (there may be case law on this to the contrary). Hospitals obviously have such a directive, but I'm not sure that even a hospital security guard who isn't a sworn officer would have the power to detain you under the hospital's directive. In any event, it's not at all clear to me that HIMSS has a directive from a government agency, let alone that the detaining would be done by sworn officers and not some hired help with "guard cards".
1
293031
60