skysight-inc/HackerNews huggingface dataset:
Why wait for a bad review before you write a fake, good one?
Detained and interrogated for 10 hours in North Korea
If you use em for say the bottom margin on a heading, it is going to be relative to the font size of that heading (if specified).

Where as a rem would always be relative to the root of the document, which is not always the desired effect when it comes to responsive typography.
tldr: a "willpower and success coach" takes down Georges Lucas because he didn't live up to his dream or artistic ambition. On Medium.

As a willpower coach he could have found the force to not publish this clickbait story.

Probably the worst type of junk if this stuff hiding behind fair criticism to advertise fake talent.
Try to play diagonally, up and to the right. It's easier to grasp the harmonic effect, when you're first trying it out. A bit more info and a gif are in the repository readme[1].

1: https://github.com/Some1Else/qwerkey
Interesting, as nominal GDP per capita is higher in China than in Thailand.
Doe anyone know why Google decided on a jury trial? It seems they are technically in the right, but explaining it to an educated judge in a bench trial would be a lot easier than a random sample of non-programmers.
I'm sure grandparent knows that. The problem with cascadingly using em is that you cannot easily deduce the derived em-value on the nth level (e.g. header > nav > div > a, each with their own em-based font-size; good luck reasoning about a's em-value).
I like most of these except the one about not using !important.

I use .flat { margin-bottom: 0 !important } to remove the default bottom margin from certain typographical elements (ie. h1,p,ul). In this case where I absolutely know that I mean what I say when I apply that class, it works great.
I think that's something that someone who doesn't really understand Trump and Trump supporters would say.

As far as I can tell, most Trump supporters want someone who is outside the system to go in and shake it up, because they see the system is failing them, and the other candidates are just extensions of the status quo (see also why Bernie Sanders is popular).

This is why it doesn't matter what Trump says or does, because people don't care about single sound bites of the current news cycle.

Note, also that many (but not all) of the 'racist, sexist and xenophobic' comments attributed to Trump are things taken out of context, and then blown up via the media and various social networks.

If you go back to the source and look at what Trump actually said, it's often quite different from what the anti-trump headlines and tweets imply.

He also has an entire career full of actions that refute many of the accusations of sexism, racism, xenophobia and whatever else.

Note: I am not a Trump supporter, and not even eligible to vote in US elections. This is just what I have gathered from following more than once source of news and trying to get a balanced understanding of what's happening in US politics at the moment.
The majority of these problems have been solved for me by adopting SMACSS and BEM.
Yes.
I just wanted to clarify that code that "compiles to nothing", e.g., build instructions, may still be copyrightable.
Therefore, I do not think that Page wanted to extend his definition of "non-code" to anything besides interfaces/declarations.
All the places where you have taken "you" literally as yourself, I didn't mean that. I meant people in general.

And I wrote "a lot", not "all" the things will keep on working Chromebook (in an hypothetical situation Google shuts down).

> Right, because apps designed to work on a mobile phone, which generally has it's own data connection independent of whether wifi is available or not, will just naturally assume they need to work offline. Good luck with that.

Yes, the same mobile phones which also have an airplane mode.
Still depending on definitions, but faith is the belief in something. Not accepting that there's anything to have belief in is something separate, and grouping a-theism with different types of theism isn't a usually accepted argument.
I appreciate the angle you're taking, but the semantics of it are important.
That's pretty amazing. I'm actually here in Portugal, down in the Algarve & you don't actually see very many solar panels or wind turbines around. Though there is a big geothermal plant not too far from here.
I don't think Obama created the Lybia headache, they were already breaking up (failing) with the Arab Spring way before the USA intervened. The USA also didn't kill Gaddafi, there was no oil to procure, and it was a NATO action anyways. Contrast to Iraq, that was all on the USA. The people weren't revolting, no civil war, there was just no reason for us to go there.

Obama is very different from GW Bush.
1) The rules for hardening 'C' based applications aren't exactly obscure nor are they new.

2) Some things very much need to never be on a wider network with untrusted nodes. This is easier than it sounds...
> we imagine some "delivery only" roads

This is possible but unlikely. There have been numerous plans in the past to build such large infrastructure. Like large pneumatic tubes to every house for deliveries. It usually turned out to be too expensive to build.
Great article. It should emphasize the part about !important even more.

!important should be banned. !important divides the good guys from the bad guys. Whenever I see code with !important I instantly know that guy was lazy, unexperienced, wrong guided - you name it. And it also makes my life hard if I have to continue to work on that same css.

I also miss one of the most useful methods to be more granular with the cascading. To apply a new rule, instead of using a fresh new class or to hammer into some new style definitions with an id/!important just use the class twice in your css. More of the same class means more important.

.button.button.button outranks .button.button which outranks .button.

See here for an example:
http://codepen.io/gkey/pen/ONevEe

It's not beautiful and if you're doing css right you won't need it most of the time. But try this before using the big bad boys like an #ID or the !important statement.
Very happy to read the good news.

Last time was about 11 hours some three years ago.

This time 4 days.

I'm crossing fingers for next time to reach two weeks.
700 years since 1427? What century are we in again?
>more and more information becomes encoded in the declarations

I don't see how this is true at all. We've moved continually toward higher-level APIs. There's a lot more "magic" in String.split than strtok.

If your API is so specific that the implementation is entirely implied by the declaration, then all that means is that the implementation itself is trivial, in which case I don't think your API implementation should copyrightable either.
there's iup [http://webserver2.tecgraf.puc-rio.br/iup/] if you only want linux and windows. pleasant-to-use chicken scheme bindings too.
Cannot check-in with Airbnb even if booked
Yes, that's what I meant.
So it´s like content ads in the western world? buy this, buy that? nice.
If you don't care if a god exist or not and never thought about it then its not a faith. ;-)
About time they learned from Western governments.
The NSA are collecting private metadata, that's the problem there. The Java APIs are public information (everyone who creates Java programs needs a copy of them and needs to know what they do).
Overall rather mundane stuff (I kind of expected something more profound when it addressed the "seasoned developers" in the opening paragraph). I recommend csswizardy.com articles for more insightful thoughts/solutions to actual high level css problems.
Well, that was the whole point of the idea, wasn't it? Less loans for worse-paying fields would mean less people pursuing them, and this is where supply and demand curve kicks in, lowering prices of studying in these fields.
An atheist doesn't believe in the existence of god(s); a theist is the opposite and believes in the existence of god(s). The difference lies in lack of faith v. faith.

An agnostic believes it's not possible to be sure whether one or more gods exist.

Combinations are possibly; an agnostic theist believes in the existence of gods, but also thinks it's impossible to be sure.

There are also apathetic agnostics; they don't know nor care whether one or more gods exist. This usually seems to go with atheism.

I suppose there should also be a word like nontheists; those who have faith in the non-existence of gods.
He made the distinction extremely poorly. And jurors are not expected to be experts in anything. It's the lawyers' job to make the case to people who are not experts.
Pre-prequel Lucas:

Special effects are just a tool, means of telling a story, people have the tendency to confuse them as an ends to themselves. Special effect without a story is a pretty boring thing.

https://youtu.be/ykmZp5cgbkU?t=1m8s
That's probably a thermal-electric (gas/other type of fossil fuel burning station)
To my knowledge there are no geo-thermal station in Portugal.
Checkbox.CSS – A tiny set of CSS3 animations for your input checkboxes
This can be done via an addon
TIL! Thanks!
It's not a general purpose OS. But it's an OS nevertheless.
Sorry, the Decreto Ley, like any other legal text is complex and needs careful interpretation. As a native speaker I can quickly locate (what I think is) the relevant section, but a detailed analysis would take a lot of time.

Anyway, I've followed these news for a while and heard the defense that the promoters of these measures did, so in case they were thinking in other interpretation they would have said so. It has been massively unpopular for the people that understand this issue at all, that are not many, and only was defended by the gov. party and the companies.

The industry minister, by the way, had to resign after he couldn't explain why his name was found in the Panama Papers as owner of offshore companies. And no, it wasn't a big deal, if you think the whole government has been under suspicion since the party treasurer was jailed four years ago for outright corruption and the prime minister Rajoy sent him a SMS telling him "to be strong". There are an acounting papers by the treasurer that show in detail how everyone in the party received monthly cash filled envelopes with money that came from building companies briberies.

Also the Valencia mayor is being investigated in another case that has every of her councillors formally accused already. You would think that the party would have her resigned. Instead they put her in a Senate commite to protect her.

This is the governing party, the one that, after all those smoking guns showed, still had the most votes last December and (after nobody could form a government) is expected to also win next month elections. So if you were thinking this Sun Tax, as it's commonly known, couldn't be so obviously corrupt, think again.

I'm not specially partisan, more of a "swinger voter", but the situation here has been disgusting for too much time. The worst of all is that many people's reaction has caused the rise of a party that is very close to Chávez and Maduro, actually there's strong suspicion that it was ilegally financed by Venezuela gov. party (Edit: and Iran!), so we could fall from the pan to the fire.
OpenJDK isn't a good example, as Oracle owns copyright on it.
I can understand why the author interfaced with the Gtk API and also why they thought Gtk3 is the right version, but Gtk3 - even at 3.20 - is full of regressions, slow-downs and major themeing obstacles and breakage. Therefore, I wish Qt would be chosen as the X (Linux, BSD) UI API instead by new projects. Many big projects moved to Qt because of the aforementioned issues.
I'll admit that I don't know too much about Lucas as a person, but this assessment strikes me as a pattern I see amongst artists and their followings. Long time fans who feel a special attachment to the works of an artist always like to say how the artist "sells out" rather than choose to say they succeeded.

Artist makes something awesome -> people get attached -> artist starts making moves against -original- fan base's interest for the sake of larger financial success -> -original- fans get mad at their success.

This happens in the music industry. An artist will sign to a label where they lose control over their lyrics or thematics and their original following will feel betrayed. But that sense of betrayal can make fans overlook how it was for the betterment of the artist. They attained the success that every artist dreams of! Maybe they made sacrifices to the 'integrity' (however you define it) of their craft, but they reached an extent of financial security and wealth that they always wanted for doing what they love.

"Artists deserve to make good money!!"
"Wait no.. artists should feel ashamed of reaching success because it hurts my feelings!!"

I understand where the fans are coming from, but I think it's just as reasonable to view "selling out" as "reaching success"- which makes me happy for the artist.
I disagree on !important. Good use of !important in high level css is outlined pretty nicely in this article: http://csswizardry.com/2016/05/the-importance-of-important/
OpenJDK is code released by Sun.

Better analogies would be Harmony (what Android used) or GNU Classpath.

They did not go after those, one presumes, because those projects don't have billions of dollars to be sued for.
Modern Russia has rotten core anyway. Too many questions that are left without answers but just pushed away and piled on and on.

So sanctions don't help but also don't hurt. When Putin ends or nukes the fridge is when all the fun will start.
Check out Competitive Programming by the Halim brothers. One of the best books on the subject, explains many algorithms and different problem types you will find in a competitive setting. The book also includes solutions to 100s of UvA problems.

http://cpbook.net/
Can you elaborate what's so bad about Firefox's pinch to zoom?
ctrl + q to quit is bad enough, it's right next to ctrl + w to close a tab
People who work in a team have a harder time absolutely knowing what's in their team's heads, though.
This is incorrect technically. Oracle has already won API copyrightability claim.
http://www.wsj.com/articles/supreme-court-denies-google-appe...

The trial now is about Google's "fair use" of those APIs.
> Agreed. But we've discovered from users of the board that in hilly or hot areas, having exercised on their way to work and arriving sweaty is a non-starter

Non-starter - really? How many workplaces don't have showers? I'm in a developing country and we have showers at our office.
static languages and dynamic languages simply have different ways to injure yourself.
Good luck learning to program or repair self-driving trucks when you've been a truck driver for your whole career.
I'm Portuguese but far from knowledgeable in matters of energy. Going north from Lisbon you'll start to see many wind turbines while in the freeway and inner roads.
Disagree. Atheists believe there is no god (without any conclusive evidence).
Meanwhile the UK is dragging its heels by cutting the renewable subsidies -- a move which at this point can really only be ideologically motivated.
I have to use Gmail in static HTML mode so that it doesn't try to reinvent and fail at a text edit control for composing a mail.

GitHub has been, like Twitter, grabbing more key bindings that existed before in a web browser like Ctrl-K and their comment edit box got limited in its resizability, forcing me to edit outside the website and paste into it often enough that it's an annoyance.
Patents have been granted on claims that essentially cover an API. I think it would be harder to get such patents issued today than 10 years ago though.
Sure, but there are ways around that.
From that article:
"However… if your friend is dying in the back seat and
you’re trying to get them to hospital before they bleed out everywhere, by all means, drive faster than 70mph!

In 90% of situations, the [avoid !important] rule is a good one. By and large, we’re much better off following it than not following it. But there will definitely be situations that fall outside of that 90%."

Sooooo, I guess 10% of the time he's driving dying people to a hospital. DON'T TAKE DRIVING ADVICE FROM AMBULANCES!!!!!
> And using JavaScript to do the things CSS is meant for is just a terrible idea.

That's very strong wording, and I couldn't disagree more. I've added in-line styles into my React workflow for several projects and couldn't be happier with it.

To me, React is primarily a tool that lets the developer define their view in terms of their model, separating business logic from display. Styling is a part of that view. Class names are just an extra abstraction between the view and the model, and offer little benefit.
Or use a pure software rendering implementation so it's always the same across platforms.
>Now that every paid plan includes unlimited private repositories, you can experiment all you want in private and still add to your contribution graph. For more information, read our help guide for toggling private contributions on your profile.

I think this can also be used to show fake contribution within private repos with a bot like these https://github.com/gelstudios/gitfiti it becomes easy to show more activity without doing much work.
However, such an approach corresponds to a few dozens bits of entropy at best (some for the approach, some for the length of text used, and a few for the numeral depending on whence it comes).

As stated by zamalek, the trick to not memorizing many passwords is to use a password manager.
You're talking about something like, but not exactly, choice paralysis?

It's possible that's part of what's going on, but... I don't think so. Or, not so cleanly. YAML options aren't choices, they're things you can do if you end up wanting to.

This is a theme in Ruby (and then Rails) programming. There's a bunch of stuff you can use, but you don't have to, and probably won't. There's an effect there, but it's not the same as choice paralysis.

--

I don't see what you see - that YAML was designed with the idea that options are intrinsicially valuable - it said, "Here's a thing to do. What's the simplest way to do this?".

Well-executed simplicity leads to options - think grep. There's a bunch of options when using grep, but really, it just does the one thing... but then there's a bunch of ways to use that one thing.

Again, this is a Ruby thing. There's more than one way to do it because there's more than one situation in which you'll need to. Have a simple array? Brackets. Have a not simple array? Dash.

In either case, it's pretty much the simplest way to do it, but one doesn't work (as well, or at all) for the other situation.
Safety by obscurity might not be a magic bullet. I'd still be able to tell much just from the compiled binaries.

For example, I wouldn't detect your code snippets from stackoverflow but would be capable of creating a very comprehensive list of third-party dependencies you are using.

There are companies completely dedicated to the software originality topic: http://triplecheck.net/
Learn JavaScript Series: Some of the Best Resources to Learn ReactJS
The ransomware makers themselves have an incentive to do this. Making a ransomware that just deletes all your files is much easier than proper encryption. And they can still take your money!

The only issue is that people would take it to computer repair shops, who surely would know which ransomwares are real or not. You'd need to successfully disguise your ransomware as other people's ransomware, and that's slightly harder.
The term "normal person" is referring to your average person, and the average person has not been through such an experience.

Also, the whole "once it happens to someone, they care" applies to pretty much anything. Find someone who invests a lot of their time speaking in public for any cause you can imagine. Someone who talks to audiences about the perils of alcohol, drugs, any cancer or disease - basically anything that is harmful/dangerous/deadly. How many of them do you think ever gave a second thought to their cause, before it affected their lives personally (themselves, a family member, or close friend)? Practically none of them. People generally don't care about the consequences of anything until they've been slapped in the face by it.
Just to give you a bit of local perspective: talking to the locals here in China (and actually a Chinese Malaysian guy I met too .. so it's not just confined to the people agrarian paradise), they ofcourse know that this is happening, but they don't envy our free for all either.

The article says "a massive effort to distract its citizens from bad news and sensitive political debates" but of course that's just one angle. The local perspective is seeing it mostly as an effort by the government to try to moderate sensationalism, things getting spun out of proportion and down right fabrications (ie. US-TV news, Buzzfeed et al)

They see our CNN having some 24hr coverage of a kitten stuck in a tree - which they will not stop till either half the nation is foaming at the mouth with rage at the government's incompetence or it just becomes too absurd to keep up - and they are understandably horrified
You'll see a lot more in the centre of the country than in the south.
I agree that password managers are great. They let you use completely different passwords for each service, efficiently mitigating any compromise. Also, they tend to encourage you to use actually random passwords (using a generator).

However, most users will not bother, and getting them to use at least decent passwords would be a great step forward. Additionally, you still need a master password for your password manager.
I guess you don’t have to maintain those projects. You’re coupling the style to the view so tightly that any updates in the future will be serious effort.
If you wish, you can follow the daily statistics of the Portuguese grid at: http://www.centrodeinformacao.ren.pt/PT/Paginas/CIHomePage.a... (in Portuguese) or http://www.centrodeinformacao.ren.pt/EN/Pages/CIHomePage.asp... (in English).
Intrigued by "This is not a solution for the majority of users." - do we really know what percentage was intended? If we're going by anecdotal, then everyone I know fully uses backspace to go backwards, including parents and non-technically minded colleagues. Would have assumed that if you go backwards by accident, the obvious solution is to go forward again, no?
OpenJDK is the official reference implementation of the JVM, so that would be a little silly...

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

http://openjdk.java.net/faq/
Just so you can improve your knowledge, Portugal as geo-thermal power plants in Azores.
Most people I know who claim to be atheists seem to believe there is not god, despite not being able to prove it. Agnostics seem to be the most honest ones....
They don’t work in IE8. If you’re working on smaller projects that’s less of an issue, but I still get 6 figures of IE8 users per month on mine.
Fair enough, but they didn't have a "year" link
Seems interesting, although I find it amusing that a tool to make system-level packaging easier wants to be installed with "gem install"... no dogfooding?
Photographing the worlds largest plane from a helicopter
Personal finance app Tink raises $10M launch a virtual bank
Many of them believe in a big bang, that came from nothing where the laws of physics don't apply, and created the universe......
(Sounds almost as crazy as religion to me).