Hacker Newsnew | past | comments | ask | show | jobs | submit | lmarcos's commentslogin

Would opening them in the browser be "more" secure than opening then in a regular PDF viewer program?


I'd think opening a PDF in your browser would be at the same risk-level you associate with going to any random URL. On Firefox at least, I'm pretty sure the built-in PDF viewer is simply JS parsing and rendering the PDF anyway -- nothing with elevated permissions:

https://mozilla.github.io/pdf.js/


> I'd think opening a PDF in your browser would be at the same risk-level you associate with going to any random URL.

Probably pdf.js is more secure, as it is more modern than the HTML/js engine, it contains less legacy code, it is written in a higher level language, and they could implement a safer subset of the pdf standard, than they could do with the HTML/js standards.


In the context of companies: if you don't have your own cache of github,npm, etc., you're doing it wrong.


Doesn't your bank require a mobile app to do "2FA"?

If not, what would you do? Change bank?


Agree. Interviews taken into account side projects are biased towards:

- people who have free time to work on side projects (usually young people have more free time than people with families)

- people who don't mind sharing their code with others

- people who work on interesting side projects. If your side project is boring, that will probably bore your interviewers -> no offer

- people who work on side projects on regular basis. If I get to work on one side project every year, well, chances are I may have forgotten the hell I did on that project (depending when the interview takes place). If I work on side projects constantly, I have no trouble picking up a fresh one to talk about


> people who have free time to work on side projects (usually young people have more free time than people with families)

That's the whole point. Companies would always prefer someone with no responsibility who can be guilted and pressured into doing overtime over someone who can point to actual needs outside of work that they need to attend to. It's a great way of filtering out people who will have boundaries.


> people who work on interesting side projects. If your side project is boring, that will probably bore your interviewers -> no offer

This hasn't been my experience at all. The interviewer doesn't care how "interesting" the side project is. What they want to see is what your actual working code is like, that you demonstrate a good grasp of programming concepts, etc.


I wouldn't be worried about boring my interviewer and getting rejected because they consciously recognized that they were bored, I'd be worried about there not being a level playing field between projects when the hiring committee is discussing it later. The guy who built the fun video game will probably be remembered more fondly than the guy who built the CLI tool for tracking the weather.


As someone not familiarized with background checks, why is it weird to do bg checks after handing the offer?

If the employer does the bg check before handing the offer, that means the candidate hasn't resigned yet from their current job. So wouldn't the bg check expose the candidate? (E.g., my boss would know I'm thinking about leaving)


Doing the background check after the offer is fine, it's insane that they do it after the candidate already starts the new job. So what, I leave my current job to come work for you, and in the first week you tell me "sorry you failed our background check" and let me go? Who the F would ever agree to this kind of risk?

>>8. End of first week, we occasionally have to let someone go on background issues

Yeah, that's bonkers.


We're not talking like government security clearance here. If you have some major legal or financial issue in your life then maybe it depends what exactly the BGC turns up or how it's adjudicated. If not, there's basically zero chance it's going to affect anything. Just a formality from the candidate's perspective.


If it's just a formality, why not do it before you start the job then?


If it’s just a formality, why would you delay the new hire’s start by several weeks while it’s pending?


As an employer you wouldn't - but I don't understand how any employee agrees to starting before it's complete.


You already know whether you have a criminal record or financial catastrophe. If you do, maybe you need to wait and see what they think of it. If you don’t, there is no chance of a problem.


This is normal for non-tech employers. It is novel in tech, but not something that is bonkers in other sectors. We're able to have developers on the payroll three-four weeks before offers are out by competitors.


I wonder where you find developers desperate enough to accept such conditions - I'm not sure I'd want to work with them.


This has never been a problem, except when someone is currently employed and is leaving a job to take one at our company. Right now, there's a lot of really good talent that does not have this issue.


>>except when someone is currently employed and is leaving a job to take one at our company.

And in that case you do the check before they start with you, yes?


Of course.


In that case it seems like all of the criticism in this thread is moot.


> So wouldn't the bg check expose the candidate? (E.g., my boss would know I'm thinking about leaving)

HR at the orgs I've worked for call that a reference check and it is usually concurrent with the other background check processes before the offer. The background check I'm thinking of is more like criminal history, work eligibility status etc., potentially drug screening etc. I know I have no criminal record but I'd really like to know that whatever service HR is using to screen agrees with this before I quit my job.


Background checks don't call your old boss. How would they even know who that is?


Have you ever done a background check with HireRight? They ask you for all of your previous companies and contact them to verify. I think there is an option not to call your current employer.


How far can you legally go with those in the US?

Here in the EU at most you can ask if they worked there, nothing else.


There's a huge background check fetish here in the US, and it's facilitated by a massive lack of privacy and an equally big fetish for everlasting punishment.

Want a job or rent a place? Background check, baby!

Not just prior employment but even civil court cases and criminal history are all a part of it, and it doesn't help that even something as small as a traffic ticket shows up on your records.

Have you ever sued a landlord to get your deposit back? There's a good chance your new landlord doesn't want you.

Were you convicted of petty theft years ago? That might cost you your prospective job.

In most of the EU, much of this information isn't public, and in many countries, criminal records are inaccessible.

Often, in the latter, you can get a declaration of “good behavior” from the government if your prospective job has some sensitive elements. The government will then issue one or decline based on the specific job and its risks with your record in mind.

Were you caught committing a DUI? You won't get one for a job as a cab driver, but you can safely get one for working at a bank.

Have you got caught embezzling money? Then you can't get one working at a bank, but you're welcome to become a cab driver.

In the US? Well, you're SOOL. Enjoy being marked for life as your options to get an income legally have significantly shrunk.


Oftentimes, in practice it's the same.

Aside from things that may lead to accusations of violating equal opportunity employment laws, you can ask just about anything. Many previous employers won't do more than confirm employment though, as a negative review may open them up to liability. As a result, the norm in many industries is to only ask (and receive) confirmation of employment.


Nearly the same. “Did BigJ1211 work at your company? Would you hire them again?”

But that signals to their current employer that they’re applying for other jobs. Unlike the EU, employers in the US can be retaliatory about that.


I'm the only one still listening mp3s? I have a sandisk mp3 player (size similar to the classic ipod shuffle) and I use yandex to get the mp3s. And I transferred all my old CDs to mp3 format as well.

I don't use my smartphone to listen to music because it's too big/heavy (running with it is so uncomfortable).


You're not alone. I have a cheapo mp3 player from a Chinese no-name brand -- I'm pretty sure I've seen the exact same thing sold under multiple brands, for some reason -- and it's tiny, light, and good at playing music. Way better experience than having a smartphone clunking around in my pocket.


As I type this I'm listening to mp3's playing from my iPod classic, line out from the dock, into desktop speakers in my home office. Love it.

I started buying CDs in 1985 (and vinyl before that). I guarantee you I have music that isn't on any streaming service so they're mostly of no use to me.


Children in schools where their phones have been banned had to learn about the history of music distribution, eg what mp3s are


all of my cds nicely ripped to mp3 and on a usb drive right into my car. use them every day. luckily the infotainment system handles them.


Why not both? Keep getting money from employer X, and experiment with your ideas until one works out.


Why only the french market then? Shouldn't they withdraw from all EU markets?


Individual countries within the EU have their own regulators who make their own enforcement decisions.

The EU isn't a super-state and EU law isn't applied by some overarching entity. On a technical level, each country ratifies and applies their own laws in their own ways.

Given this, other countries could act on this too, but it's the French regulator who has chosen to do so.


> The EU isn't a super-state and EU law isn't applied by some overarching entity

Yes-and-no: the EU Commission serves as the "executive branch" (Americanisms...) of the EU, and while the EU isn't a true federal superstate union yet, but there's enough similarities that the EU Commission probably does 80% of the work it would be doing if the EU were.

While the majority of EU directives are enforced by member states, the EU can enforce itself via several routes (e.g. there is now an EU public prosecution, and the EU parliament can vote to apply sanctions on its own members for non-compliance (e.g. Hungary).


> there is now an EU public prosecution

That only prosecutes the misuse of EU funds (and perhaps the EU VAT border regime?) and even then only with cooperation with local prosecutors. In addition, the EU prosecutors are from the participating member states - several EU members are not yet participating.

> EU Commission probably does 80% of the work it would be doing if the EU were.

It's very far from that; notably health-and-safety enforcement is largely in the jurisdiction of members states.


> Yes-and-no: the EU Commission serves as the "executive branch" (Americanisms...) of the EU

That's not an "Americanism". It's a principle of the separation of powers and I imagine it dates back to the "Europeanianist" Englightenment.


EDIT: I'll admit I overlooked the US system's origins origins and concepts in France - but even though these concepts are not American in origin, the US is where all the mentions lead-to today.

---

It is an Americanism because the term implicitly assumes two things:

1. That the government is split into branches, following how the US system evolved.

2. That executive power must be confined to a single branch, also how the US is organized.

Then, consider that other-countries-that-are-not-the-US do exist, many of those are liberal democracies that arguably function better than the US for various scores - and of those very few (if any?) of those are modelled on the US’ system. While some other countries have a US system but score poorly overall (e.g. Liberia).

It is demonstrable that deep separation between the agents of the government - and the state - is unnecessary for a functioning liberal-democracy today: many countries using the Parliamentary system have an executive cabinet and an executive PM role which, under the US system, is considered part of the legislature - and the US is hardly the best example of “separation” of the judiciary when you consider how explicitly political the judge appointment process is - and the volume of politically-motivated and arbitrary SCOTUS rulings over the past 120+ years.

———

I understand that (non-crackpot) political-scientists would agree that judicial independence alone is far more important to a functioning democracy than a system that constantly pits an executive President against the legislature whenever their political party affiliation differs.

Don’t get me wrong: accountability is of paramount importance; I just want to communicate that having “separate but co-equal branches of government”, “separation of powers” (and other thought-terminating-cliches from middle-school civics class) is both unique to the US - and is demonstrably unnecessary for a functioning liberal democracy.


> It is an Americanism because the term implicitly assumes two things:

> 1. That the government is split into branches, following how the US system evolved.

> 2. That executive power must be confined to a single branch, also how the US is organized.

I'm pretty sure these principles are originally French. The American system was built around these principles as well, but calling them American is a whole new level of Americentrism.

Separation of powers into three branches is basically a prerequisite for belonging to the EU, as it is considered a basic requirement for a democracy.

For that matter, the US and France are probably two of the modern democracies that have the least separation between these powers (on paper).


> I'm pretty sure these principles are originally French. The American system was built around these principles as well, but calling them American is a whole new level of Americentrism

I'll concede that - certainly.

> Separation of powers into three branches is basically a prerequisite for belonging to the EU, as it is considered a basic requirement for a democracy

The EU is concerned more with judicial independence, not constitutional separation-of-powers: most EU countries (and especially its founding and early members) do not have separation strictly along judicial/legislative/executive boundary lines: The UK, Germany, Spain, and others all have an executive parliament; France and the US are in the minority here.


> most EU countries (and especially its founding and early members) do not have separation strictly along judicial/legislative/executive boundary lines

1. Let's not count the UK because it's the earliest democracy, and also is the messiest one (no written Constitution...) and also it's not the earliest or current member of the EU.

2. What exactly is an 'executive parliament'? My understanding is that in parliamentary democracy, the parliament chooses the executive, but the executive powers lie solely with the executive (government), and the parliament in itself does not have any direct executive function. It can only legislate, not execute. Certainly that's the case for Germany and Central European parliamentary systems I know a little bit more of. Might be different in the US but we are talking about the EU now.


> What exactly is an 'executive parliament'?

Sorry - I was being sloppy and made-up a term that at-the-time made sense to me but I didn't proofread my post...

But I was referring to any parliamentary system where executive power is held by (a subset of) the members of that parliament (i.e. how the PM's cabinet's members are MPs) - basically what Canada and the UK has, for example.


Ah ok now I understand. Don't know about Canada but the UK is certainly an exception in this regard. In Germany and rest of Central Europe the PM and ministers are not required to be MPs, in fact currently in Slovakia we have a interim government without any MPs at all. Also in Slovakia when a MP is made PM or member of government he is temporarily released from the parliament and a substitute from the party list is temporarily taking his MP place. In some other countries sitting MPs while in government still have to take care of their MP duties.


https://en.wikipedia.org/wiki/Separation_of_powers#Montesqui...

The origin of the principle is literally European, but all right, you have an agenda, have fun :-)


The EU is not and never (on human time scales) will be, as there is no appetite for a federal union in many member states and unanimity would be required.


Anything can happen in the same way as it happened with Maastricht and the Euro: cooperating countries would just go forward with new entities that inherit the previous institutions, dissolving or mothballing old entities. In the long run, the hard core inevitably wins.

Anything that includes France, Germany, Italy, and Spain, will inevitably drag everyone else one way or another.


> Anything that includes France, Germany, Italy, and Spain, will inevitably drag everyone else one way or another.

Maybe so, but whatever it became wouldn't be the EU and wouldn't include most of the current members states. It's obviously still an impossibility, as there is no appetite in any of those four countries for a federal EU.


You're making up your "obvious" reality there. EU federalism was born in France and remains strong in the other three countries I mentioned - it might not be a clear majority at the moment, but it's definitely a popular idea among large swaths of the population. The evolution of EU structures undeniably goes in that direction year after year, with stronger and stronger federal institutions.


> You're making up your "obvious" reality there.

There has never been even a hint of a popular federal movement in any of the countries which you mentioned, so I don't think I am.

> EU federalism was born in France and remains strong in the other three countries I mentioned - it might not be a clear majority at the moment, but it's definitely a popular idea among large swaths of the population.

That's a bold claim that I'm sure you'll be able to back up?

Honestly, I think you've allowed your own preferences and wishful thinking to cloud your judgement here.


> There has never been even a hint of a popular federal movement in any of the countries which you mentioned

It depends on your definition of "popular movement", but there have been plenty of popular leaders arguing for federalization, from Briand onwards. Just recently: https://www.euractiv.com/section/politics/short_news/german-...

> a bold claim that I'm sure you'll be able to back up?

https://journals.sagepub.com/doi/10.1177/14651165221101505 - this paper explicitly sets out to find non-federalist views, reporting that 44% hold "traditional" views (federalists and separatists), which would indicate federalism is about 20-25% of the population - that's a "large swath", in my book. And that's pure-federalism; the generic support that can likely be turned is much higher.

I mean, that's just a random source. The news focus on anti-europe trends these days because, for so long, pro-europe ones were the mainstream default.


Your source doesn't at all support your claim. Meanwhile, there is no indication in any polling that any of the countries you mention have even single-digit support for federalisation.

As I said, you've either blinded yourself or you're intentionally dishonest.


Lol, keep talking. Meanwhile, actual federalists continue doing the work set up by Brand, Schuman, De Gasperi etc, almost a century ago. For example: https://european-union.europa.eu/principles-countries-histor...


Yet several EU members still don't use the Euro and will not use it for the foreseeable future. So the hard core didn't win?


Technically, all of them are required to join once their structural problems are solved - it's not that they chose not to adopt but rather that they were left out to avoid compromising the currency. Most of them have a clear political will to join the eurozone. The only real exception is Sweden, which effectively enjoys a de-facto opt-out like Denmark, for historical reasons (although they are increasingly under pressure to join).

Regardless, the hard core has won because the Euro is now a cornerstone of EU policies, whether the non-EZ countries like it or not. Every project, every accounting in the Union is now done in Euros.


> Technically, all of them are required to join once their structural problems are solved - it's not that they chose not to adopt

Denmark has a real opt-out. They chose not to adopt in a referendum.

> Most of them have a clear political will to join the eurozone.

No they absolutely don't have that. Even leaving out Sweden and Denmark - it's a toxic political issue in Czechia even though de facto euro is widely used in the business. And while Hungary has currently no chance to fulfill the technical conditions, there is also no political will to join until Orban is in power (and that will be a long time). The ruling party in Poland (PiS) is also explicitly against the euro, as is majority of the population.

> the hard core has won because the Euro is now a cornerstone of EU policies

The Euro won through merit - it just makes sense to use a common currency in the common market.


> Denmark has a real opt-out. They chose not to adopt in a referendum.

I know. My sentence was meant to highlight how Sweden is de-facto in a similar position, if not de-jure.

> it's a toxic political issue in Czechia even though de facto euro is widely used in the business.

Translation: it's happening no matter what.

Hungary and Poland are currently suffering from backwards political headwinds. In the past they would have happily joined (but couldn't). But again, like in Chzechia, it's basically happening de-facto no matter what. Once sanity prevails, governments typically find that having multi-currency systems is a headache.


It's not going to happen in any of those countries for the next at least 10 years. If ever.


[flagged]


You missed your chance then - treaties already require member countries to defer to European rules where conflicting.


My country has a supreme law written in 1978. Any other law that conflicts with this one is illegal and must be repelled. Anyone who wants to overturn our 1978 law is effectively declaring war to us.


The first modification to that 1978 document came 14 years later, done for the sole purpose of keeping it in compliance with the Maastricht Treaty. The line in the sand you are fervently defending was crossed a long time ago.


I guess this is why geeks are largely not involved in political processes. People seeing all topics as 1s and 0s are called maximalists and typically laughed out of the room.


Laws are to be interpreted by the courts.


> The EU isn't a super-state

True whatever that means :)

> and EU law isn't applied by some overarching entity.

It is. EU law as a whole is ultimately applied by an entity, the Court of Justice of the European Union. It is overarching, over national courts, over national governments, and over EU bodies.

Then within EU law, you have several branches and distribution of who has authority etc. Primary EU law is the foundational basis (some would say a "constitution" effectively even though the word has been a political minefield) and does provide some "overarching entity" in some areas.

Then within Secondaru EU law, you have regulations, orders, directives, etc. Many regulations and orders have an EU overarching entity, and in many cases the European Commission has a central role.

> On a technical level, each country ratifies and applies their own laws in their own ways.

That is a gross mischaracterisation and overgeneralization of EU Directives.

EU Directives as a general rule* don't have "direct effect" in a Member State. They set a goal agreed at the EU level, and the Member State are bound to implement the means in their national laws to reach the goal. That usually (but not always) means at a national level the adoption of a legal act by national Parliament.

*as a general rule because as always there are exceptions.


They should, but it's up to each country to enforce EU regulation.

The other countries radio regulation agencies have either not made the same measures, not measured the iPhone emissions at all, or have not yet decided what they were going to do.


EU Directives have three stages:

- EU ratification - national implementation - national enforcement

The ratification is typically accompanied by an implementation deadline (usually in years) so there'll be cases of some countries following EU regs earlier than others.

Finally there's enforcement which is entirely in the hands of nation states pretty much - just because something is written in statute doesn't necessarily always translate to actual action.


The French apparently measured the test at a closer distance than EU regulations.

See: https://news.ycombinator.com/item?id=37492752#37495753


They tried that, but they couldn't because:

- my contract says the place of work is city X

- they don't have an office in city X

- they cannot unilaterally change the contract (Europe)

They asked me if I would be willing to relocate to a city in which they have an office. I declined. I'm still working from home. The company is big, so they don't care much about isolated cases like mine.


For Spanish speakers who know English, reading Don Quixote in English is probably easier (and more pleasant). The Spanish one is full of words that even though a native speaker can understand (with footnotes sometimes), it's just not as pleasant as reading modern Spanish.


Agree with easier, disagree with pleasant.

First time I read the whole book, it was an annotated edition with lots of footnotes, explaining all the differences. I was hating the experience. Solution? I stopped reading the footnotes.

After some time, I got much more engaged in the story and got the occasional arcaism right from the context.

The "bad translation" must have been Borges identifying old Spanish as a broken, not idiomatic modern Spanish.


I guess when an old text is translated into a foreign language, the translator often takes certain liberties to make the translated text more accessible to a modern audience. But there isn't really any separate process by which old works are "translated" to a more modern version of their original language (and any such process could be controversial). An interesting lacuna.


The boundaries between languages over time are as elusive as they can be between dialects in the present day. Most educated people can read English prose from the 1800s on a familiar topic and generally understand it. It's English. But to be fair, some will struggle. Further back in the 1600s, it's much harder. Does it need translation? If we go back to the 1400s, there's general agreement that it's Middle English, which is a different language, and it needs translation, as even many educated fluent speakers can't make heads or tails of it.

One of my textbooks in high school had a translation of Shakespeare into modern English, alongside the original text in both original and modernized spellings, with glossary and cultural notes. I'm not sure I'd have understood even it half as well without those.


> But there isn't really any separate process by which old works are "translated" to a more modern version of their original language (and any such process could be controversial).

This is dependent on the perception of the source language: For example, Beowulf is often translated into Modern English, even though it is (officially) written in English itself, but even the worst prig will admit that Old English isn't comprehensible to a modern reader who hasn't explicitly learned it as a foreign language.

Shakespeare, on the other hand, is almost never translated, even though his poetic Early Modern English is so distant from our own that Juliet's famous "Wherefore art thou Romeo?" is often performed with Juliet looking for Romeo from her perspective on the balcony. Translating Shakespeare would be admitting defeat, I daresay, so the prigs allow footnotes and no more.

Is Chaucer translated these days? Have the prigs ceded at least that much?

That said, there's No Fear Shakespeare and (probably) some other works aimed at students, which do essay an actual translation:

https://www.sparknotes.com/nofear/shakespeare/hamlet/act-1-s...


It's curious that we accept translations from spanish to english, but not from old spanish to modern spanish.


For some cultural reason that I'm not qualified to explain, the Spanish literary world is much more stilted than the English one. When I first read the Odyssey about 20 years ago, I found it more pleasant to read in English than in my native Spanish because all Spanish translations were full of intrincate poetic language and obscure words, while English ones where much more down-to-earth.

(Now there is at least one Spanish edition with a plain language translation as well, edited by Blackie Books, which as a layman in these things I have found enjoyable).

By the way, this happens also with original literature (I mean, not translations). I find most Spanish literature rather pedantic, there tends to be a huge focus on form over content, using the richest vocabulary, the longest sentences, the most complex subordinates, the most subtle nuances, spending 4 pages on describing the movement of a leaf with the wind, etc. while in English literature actual stuff happens and is told in a nice but practical way. As a native Spanish speaker, I read much more Anglo-Saxon literature than Hispanic one, although I guess it's all a matter of taste, of course.

(PS, since the post talks about Borges: he's an exception. He sounds like an Anglo-Saxon writer writing in Spanish).


> For some cultural reason that I'm not qualified to explain, the Spanish literary world is much more stilted than the English one. When I first read the Odyssey about 20 years ago, I found it more pleasant to read in English than in my native Spanish because all Spanish translations were full of intrincate poetic language and obscure words, while English ones where much more down-to-earth.

This is a common theme in Romance language writing, but it's especially so in Spanish. Lots of elliptical sentences longer than most paragraphs in English, requiring extensive effort to parse. Lots of flowery language. A bit of a word game, but usually just dreadful.

> (PS, since the post talks about Borges: he's an exception. He sounds like an Anglo-Saxon writer writing in Spanish).

He learned to read English before Spanish while living in Switzerland as a child. In a way he very much was an English language author writing in Spanish. The result is that his writing is very accessible in the original Spanish and very translatable to English, and his writings have a very unique flavor.


> while in English literature actual stuff happens and is told in a nice but practical way.

That’s an overly broad generalisation.

I can give you a ton of English novels spending pages after pages describing the movement of a leaf in the wind in rather florid language. It’s much more likely that you have been mostly exposed to a lot of old and rather serious novels during your education in Spanish are now mostly consuming novels you find entertaining in English.

It’s the same with the Odyssey which let’s not forget is originally written in ancien Greek verses. The epic has been translated hundreds of times with vastly different goals. Even in the same language, some translations aim to capture the poesy of the original either in its rythme or in its evocative power, some try to stay as close as possible to the Greek text, some just want to be easy to understand.


Andrés Trapiello, a well-known Spanish writer, did just that a few years ago [to some backlash](https://www.theguardian.com/books/2015/aug/19/modern-version...)


I don't know how it is in Spanish culture, but in English culture there is certainly an amount of sneering done at "modernisations" of older English texts.


It's the same.


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

Search: