Hacker News new | past | comments | ask | show | jobs | submit | ned's comments login

I see that you are quoting in extenso News articles (I read one from the DailyMail). How did you secure the copyright issues of reproducing full articles ?


Oh whoops, that seems like a bug. We typically show press releases verbatim, but our intention is to just provide the headline, link, and extracted facts for sources like the Daily Mail. Better see what's going on there; thanks for the catch!


We'll see what comes out of ALTEDIC - https://ec.europa.eu/newsroom/lds/items/797961/en


Very exciting project, specially the support for custom document schemas.

If the authors are around, I'd love to hear what was their thinking regarding implementing focus and selection, with regards to the inconvenients outlined by the author of ProseMirror here: http://marijnhaverbeke.nl/blog/prosemirror.html#general-appr...

In a nutshell, ProseMirror chose to keep contentEditable in order to have browser-level support for spell-checking, screen-readers, RTL, etc.

What are the tradeoffs exactly?

Thanks.


I think the approaches of Substance and ProseMirror are quite similar. We map DOM coordinates to model coordinates and the other way around. That way we can use the native DOM for cursor navigation (not trivial to implement), but all input is applied on the model first and then updated in the view component.

I had a brief talk with the author of ProseMirror the other day. From my point of view the difference lies in scope. ProseMirror's focus is providing an editor widget that can be extended but works out of the box with HTML + markdown. With Substance you basically start from zero, and you probably have to invest more time to get going. But then you could build apps that are not limited to one isolated editor area for instance. You could build a custom title editor, body editor and metadata editor and have a shared toolbar for them and shared undo/redo history. Substance also provides a bunch of top-level UI components that you can but don't have to use. A ScrollPane with a visual scrollbar for instance. A Table Of Contents component, TwoPanel editor layout etc.


When you are full-time employed, remotely, by a european company, and living in another european country, does anyone know :

— do you set yourself up as a freelance consultant, and pay your healthcare and retirement fund yourself?

— …or do you let the company pay that for you in the country they are based in, and somehow benefit from that?

How does it work exactly for these social benefits that are very important in the european welfare model?


Disclaimer: I am not an accountant nor an employment lawyer.

Anti-disclaimer: I run a company in Spain, and pay people in other countries money to do things for the company.

My understanding is that in the EU your income tax, social security, etc, must be paid to the government in the country you are "tax resident" in. Typically, you are "tax resident" if you spend more than 180 days per year in a country. (Note: that doesn't mean that if you split your time equally between three countries you avoid being tax resident at all. If only avoiding tax was that easy...)

The company employing you _might_ be willing to help with the necessary headaches of abiding by the employment law of the country you are in. But they would more than likely prefer that you are self-employed/freelance/autonomous in the country you are in. Abiding by the employment law and tax law in your country of resident becomes your problem.

How exactly that works for your social benefits depends on the country in which you are tax resident. For example, here in Spain, a freelancer ("autónomo") is not automatically entitled to state unemployment benefits ("paro") if the work ends. But you are entitled to maternity leave and retirement pension. You'd need to talk to an accountant in your country to understand exactly how exactly being a freelancer affects your social welfare rights and responsibilities.

There certainly are some tax advantages to being a freelancer: eg. being a freelancer in Spain entitles you to claim a VAT refund on any business-related expense. That new computer you want to buy? Expect that in a year or so the tax department will refund you roughly 17% of the total purchase price (21/121 of the retail price).


> Typically, you are "tax resident" if you spend more than 180 days per year in a country. (Note: that doesn't mean that if you split your time equally between three countries you avoid being tax resident at all. If only avoiding tax was that easy...)

I've been informed by my tax consultant that you are tax-resident in the country where you spent the majority of time in a year. If you split your time between three or more countries this still applies.


That's far too simplistic, sadly. It's perfectly possible to be tax resident in multiple countries - I am tax resident in two, for example, neither of which is the US.

Here's how you try and work out if you're tax resident in the UK:

https://www.gov.uk/tax-foreign-income/residence

There are automatic resident and non-resident qualifiers, but everything else involves a whole range of factors.


It depends in the country really. In Portugal and Spain it is really that simple, you do not live more than 180 days in a year in the country, you are not tax resident.


So if I spend 125 days in the UAE (a no income tax country) and 120 days each in 2 EU countries, I pay no income tax?


Actually it's that easy to be a non-resident (except for US citizens):

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


By far the easiest way is to become self employed and take care of everything yourself. You could be "trading" as an individual, or through a legal entity. Your salary (i.e. a lump sum you invoice each month) would be a bit higher to account for these. If you'd make $8k as an employed engineer, maybe you'd get paid $12k to account for that.

You might also end up with more money in your pocket, since the tax situation can be different (but not always, depends on the country). One advantage is that you can deduct most tech expenses as business expenses (i.e. laptops/software/conferences/etc)

The alternative is that your employer sets up a local "shell" company that pays you for services performed, with you being the only employee.


I'm doing exactly that, I'm self employed and take care of everything myself or at least I have someone taking care of it in my place.

Of course I charge much more than a normal employee would, I make around 20k Euros per month. (pre-tax)

Sounds like a lot - almost to the point where I sometimes feel like I have to excuse myself for it, but you also have to take into account that I have 10 years of all-round experience and I'm working harder and more focussed than most normal employees and spend a lot of time in improving my skill set in my spare time.

Not only the higher income is a good reason to be self employed, the other thing is that once you work remotely for someone, it's less likely that you will count a lot for that company.

So by letting that company employ you, you basically take a lower pay with less job security while making everything more complicated for that company. I'd rater be self employed and have a much higher than usual pay that offsets the lower job security.


And right you are. Once you account for all the taxes and expenses that you have to pay yourself, you lose a significant amount of money each month.

Most people just read the 20k number, and think, "he's making 20k a month!!!1111".


Yes, I pay a 50% tax here. Additionally one has to consider that you might have some down time between two projects where you don't have any income.

But still I'd encourage anyone interested to try. You'll not just improve your tech skill set, but if you make it work you'll also learn how to sell and to negotiate, which is a generally helpful skill to have in all areas of life.


Where are you based?


Thanks for the very interesting data point. If you can share this, may I ask you how many hours you need to work per week to get that amount?


out of curiosity what kind of jobs you take up that pay off so much?


Native mobile development for big businesses like banks or telcos. No startups as they often have lower budgets.

But I know much more self employed professionals working on Java Web backends for big companies that earn equal or much more than I do.


But that's not remote, right?


Depends on the project. For banks it's less likely that you'll be able to do something remote, but for telcos it's less of a problem as they rely less on security by obscurity and both use and give back to Open Source projects a lot.

Also the financial sector doesn't consist only of banks, there are many well funded areas one could work for remotely.


In France it's risky to be self-employed and have only one customer, that could be re-qualified as a disguised employment.

I don't know exactly how that works with foreign companies.

edit: my remark on foreign company is that, by having no nexus in the country of the consultant, going after them seems difficult


Same in Germany. It is risky for the company, not for the "disguised employee", because the company can find that the freelancer subsequently demands back-payment of entitlements.

I've never actually heard of this happening, but I've encountered difficulties as a freelancer because a company was scared this could happen.

True ridiculous story: a German bank I did a consulting gig at for several months would not allow consultants to have their names on the office doors, unlike employees. They thought that having our names on the doors could be enough to turn us into "disguised employees".


No is not ridiculous at all: having your name on a door means that you are "forced" to work there, thus rendering you in a employee since you cannot determine for yourself the place and location of work, the cornerstones of beeing a freelancer.

I do consulting for a big technology company in Munich and they have special freelancer areas where you can have any place you want, since there is no concept of "office" for a freelancers like. Some colleagues always have to chase me, since I can choose to take another place than they are used to :).

Also, you have to bring your own coffee machine, water, you are not allowed to use the ones from the kitchen, since they are only for employees. But I just don't care :), and use them anyway.

PS. i had some other crazy contract where I had to show them proof I am working also for another client, otherwise not able to take the gig. Germany is quite special :)


I heard this has to do with the fact that once social services prove that you are not actually self employed the employer would have to pay back a significant amount to social services AND a fine on top of that.

I understand that these laws should prevent abuse of employees by big corporations, but it's hilarious that they go after self employed consultants that make several 100k Euros per year and already pay the maximum amount of social security that is possible.

And it's not like these companies have 2 or 3 consultants, they will likely have 10, 100 or even more. We are talking about fines that could be as high as many millions for these companies.


In Germany you need to make about 60000€ a year to get private health insurance (better service, lower price) OR you have to be self-employed, where it doesn't matter how much you make. (500€ private, 750€ public)

Yes, this doesn't matter for an engineer who makes about 100000€ a year. :)

But!

If you're an employee, you have to pay into a government-controlled retirement fund, if you're self-employed you don't.

If you make about 100k, you (and your employer) would have to pay more than 10k a year.

So, no, if you're self-employed and make good money, you don't necessarily have to pay "the maximum amount of social security" :)


For the retirement fund only the first 74,400€ (west) or 64,800€ (east) of your income is used (2016 numbers, different rules if you work in mining). For anything over you don't pay into the retirement fund.

There are some self-employed that need to pay into the retirement fund, including teachers (which is applied broadly, e.g. training supervisors and moderators), journalists, and artists.

Also don't forget about the unemployment fund into which employees must pay.

> lower price, 500€ private

Heavily depends on your health and age. Additionally family members are insured for free in public but not private insurance which might tip the scale. Also important to note is that it's close to impossible for most to switch back to public insurance once they decided to go private (e.g. if the premiums rise in the future).


Only after 50 it is impossible to switch back.

Before that you just have to report, that you're unemployed and the state forces you to go back into public healthcare


A software engineer can make 100k€ in Germany? Where's that!?


Never said "software" engineer :P

;)


I knew it! :/


It's similar in The Netherlands. If you are self-employed and have more than one customer it's pretty demonstrable that you are autonomous, can decline work, and the relationship is not solely to avoid an employment contract.

Contrary to popular (Dutch) belief, you do not have to have more than one customer... it's just that if you do it can be difficult to prove that you are autonomous. One test is if you are doing the same type of work that other employees in the company are doing.

I'm not sure how this works for for international agreements (self-employed in NL but only customer in DE).


I'd assume the rules are the same in principle but you would be more likely to be considered autonomous in practice if audited. Also because you're probably providing your own equipment, office etc.

I actually did this for a while - self-employed in NO, only customer in NL. After a while I had more than one customer, making the issue moot :-)


And the UK, the relevant legislation being IR35.

https://www.gov.uk/guidance/ir35-find-out-if-it-applies


The IRS in the US also has regulations regarding single employer contractors/consultants. A company cannot turn its employees into independent contractors to skip out on things such as payroll taxes.


It's exactly the same situation in Spain. (I'm freelance, spanish, working in Spain).


Same in Italy.


It varies from country to country. I think most of EU countries require you be more than 6 months in the country to be an employee. Usually people have LTD for more flexibility and lower taxes.

US based companies can hire remote workers as 1099 contractors.

https://github.com/tadast/switching-to-contracting-uk/tree/f... https://github.com/lukasz-madon/awesome-remote-job


It depends on the country, but you will probably have to found some kind of legal entity. For questions like these you can ask for help on our slack community: http://europeremotely.com/community.html


If your employer has a branch office in your country of residence, they could make you a regular employee of that branch and take care of all the legal/tax issues for you.

But you're just employed by the branch. You're not working for them. You're still working remotely with your colleagues elsewhere.


  For instance, one day at school he was working with the student theatre.
  All week he had been struggling to produce the right sound effects, 
  but it just wasn’t coming together. Eventually, his boss lost his cool
  and started ripping into him. “My response was that something weird was
  happening with my body,” he says. “I could feel a tension, like my heart
  was racing, but my mind was distracted…
Isn't this an extreme case of repressing emotions, in the most classic sense? The disconnect between bodily reaction and lack of mindfullness seems to indicate it.


Maybe, since they're talking about Alexithymia, which is defined as "inability to identify and describe emotions in the self". (1)

Who actually has no emotions whatsoever and stays alive? What about primitive things like e.g. the feeling of shock and terror as you are crossing the road and turn to see a bus bearing down on you. This is a basic animal survival response. If all you can say is "my heart was racing" that's not exactly being unemotional, but uncomprehending.

1) https://en.wikipedia.org/wiki/Alexithymia


I think it's more along the lines of an agnosia or aphasia. They receive the same somatic input, it's just not translated into affect the way most people do, in the same way that a face doesn't register 'faceness' to someone with prosopagnosia.


Maybe it was a bad example for the author to use because it sounds like whats been described to me as symptoms of a panic attack. Or it might be that pathological panic attacks are an example of the emotional problem in the story.

From talking to people who've had medical panic attack problems, it seems common for them to confuse how to name the bodily symptoms, so they show up in the ER confused why they're sweating bullets and feeling very confused and heart rate of 150 thinking they're having a heart attack or stroke instead of "just" an out of control emotional response.

Or it could be that their treatment plan for repressed emotions leading to panic attacks is a lifetime dose of a pill. Maybe that is the best treatment plan for them; none of my business, I guess, other than that specific example might have been a bad choice for the article because of confusing factors.


From what i understand panic attacks are easily treated exactly because, as you say, the primary problem is that the person having the attack erroneously confuses the physical symptoms with something more serious. Through cognitive behavioral therapy they can learn to fix this, and as a result the panic attacks disappear (or at least the initial panic doesn't spiral into a full-blown attack). Similar approaches have also been successful in treating phobias and other issues.

For anyone interested in the topic (and CBT in general) I can highly recomment [What You Can Change and What You Can't - The Complete Guide to Successful Self-Improvement](http://www.amazon.com/What-You-Change-Cant-Self-Improvement/...) by Martin Seligman.

As someone who has recently developed a bit of an obsession with mindfulness/zen/meditation, this book is a good example of the parallels between that and the field of psychology.


Yes!

Ted Nelson talks about this in this amazing and inspiring Google Talk video from 2006. He talks about the rise of packet-based networking, and how the future will be content-centric.

https://www.youtube.com/watch?v=oCZMoY3q2uM


That's Van Jacobson, not Ted Nelson


Super interesting.

How does this compare to Xopus? https://xopus.com/

Of course, Xopus is closed source, so that's a big difference already.


I'm not really that familiar with Xopus so I can't really comment. Judging from the screenshots (E.g. DITA) it looks like it has a lot of per-schema customisations which my software doesn't have.


Similar to http://chromatic.io Nicely done.


I'm not worried about being under surveillance. I'm neither interesting, nor engaged in anything interesting.

That's probably the feeling of most people. Martin Fowler wrote an insightful post about this subject:

Privacy Protects Bothersome People …and isn't about me (or probably you) http://martinfowler.com/articles/bothersome-privacy.html

He argues that privacy on the internet is important, not because normal people have something to hide, but because journalists and activists (or other counterpowers in a well-balanced democracy) need a certain level of privacy in order to work.


In the long run yes, when they have revenue. But they mention:

But then, one day when I came back to their website, I saw that they had added a minimum fee of €100 to their plan, and that unfortunately tipped the scale for us, as we pay everything on our own, and we have zero revenue coming in.

So the problem is for the first few months during which you pay everything out of your own pocket. It probably all depends on how confident you are that you'll get revenue.

How simple/hard is it to migrate from system to another?


Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: