skysight-inc/HackerNews huggingface dataset:
I'm unconvinced.

For one thing, it's not CSS in Javascript... there's no cascade and no sheet, so it's just "styles in Javascript". (And, actually, this article is only about a specific implementation.)

The benefits listed are:

- "confidence" - but I think that's a matter of understanding and mastering the tool, whether it's CSS or this library. As the co-creator of "styled-components" the author is no doubt a master of it. For for the general developer, perhaps a roughly equal effort would provide a similar level of mastery in each. So why not invest in the standard?

"Painless Maintenance" - I would have to use it deeply before I could say too much about this. But I would guess that the danger of creating spaghetti code and a spaghetti of .css are pretty much the same and have the same root causes.

"Enhanced Teamwork" - I don't see the connection here. The discussion in this section seems to be about mastery of the tools again. The team can learn how to manage styles though CSS-based techniques or they can learn through techniques based on coding Javascript and the capabilities of this library.

Not that CSS doesn't have its issues. IMO, it's too low-level to use directly for many cases. There are two main problems:
(1) missing the tools to manage complexity, like scoping, variables, and modules. (2) allows you a lot of freedom to do bad things. But there are libraries that address these that don't throw out the fundamental design of CSS, as styles-in-code does.

To me it seems like a better approach to build on CSS to address its weaknesses rather than throw it out.

The design of CSS itself came out the recognition that the tight coupling of style and content has drawbacks, and this is signing back up for those drawbacks. And you better neatly divide your presentation code from your business logic code and data access code or you'll get all that coupled tightly as well.

I'm not dismissing this out-of-hand -- I haven't dug into styles-in-code approach so I don't have a deep understanding of it.

But I'm not convinced it's worth the time to look more closely at it. Really, not even close.
> fire bombing of [...] Kyoto

I'd love to hear what you're referring to since common knowledge is that Kyoto was notoriously the only part of Japan spared from major bomb raids (originally due to no military significance, then because they wanted to A-bomb it and didn't want earlier strikes to mess up the damage data, but later it was spared from the A-bomb as well)
Pulwama attack: Google searches 'hijacked' to link Pakistan flag to toilet paper
Yes, but how meaningful is that?

If a thief breaks into my house, I don't particularly care if he can access the drawer where I keep pencils.
Blockchain Could Help Put a Halt to the Gray Market
Yeah or pseudo elements / hover / focus etc?
Full disclosure: I work on the cryptocurrency in this article, Algorand.

There are a lot of questions and speculation here about this paper and Algorand. I would be happy to try an answer them to your satisfaction.
Some context may be helpful first, though. This paper is an innovation about one aspect of our technology. Algorand has a very fast consensus mechanism and can add blocks as quickly as the network can deliver them. We become a victim of our success. The blockchain will grow very rapidly. A terabyte a month is possible. The storage issue associated with our performance can quickly become an issue. The Vault paper is focused on solving this and other storage scaling problems.

The Algorand pure proof-of-stake blockchain and associated cryptocurrency has many novel innovations aside from Vault. It possesses security and scalability properties beyond what any other blockchain technology allows while still being completely decentralized. Our website, algorand.com, and whitepaper are great places to start to learn more.

If you learn best from videos then I suggest you watch Turing award winner and cryptographic pioneer, Silvio Micali, talk about Algorand: https://youtu.be/NykZ-ZSKkxM. He is a captivating speaker and the founder of Algorand.
Apple Executive Shake-Up Readies It for Life After iPhone
There's a 4k wallpaper version. 213MB. Moon centered in the screen.

magnet:?xt=urn:btih:6f64830246540020bf26b87b5c269088d563ac5d&dn=4K-mosaic.png
It’s so awkward seeing Mark Zuckerberg try to navigate all this and mostly failing, despite being a generally smart guy and all that.

I’ve heard once you get in power you’ll be surrounded by 1). Ppl who are just like you because we as humans prefer that and 2). Ppl who flatter you very convincingly because we as humans also prefer that.

This can be a very dangerous situation to be in. You think everything is alright while outside the world flails and rages.

Who in the world is advising Mark Zuckerberg?
"A good deal? The vast majority more like."

That just isn't true. The federal government funds no where near the majority of r&d, not even the majority of basic research.

Data from ongoing surveys by the National Science Foundation (NSF) show that federal agencies provided only 44% of the $86 billion spent on basic research in 2015. ...

Basic research comprises only about one-sixth of the country’s spending on all types of R&D, which totaled $499 billion in 2015. Applied makes up another one-sixth, whereas the majority, some $316 billion, is development. Almost all of that is funded by industry and done inhouse, as companies try to convert basic research into new drugs, products, and technologies that they hope will generate profits.

Those private sector efforts are now the dominant form of research activity in the United States, with business spending $3 on research for every $1 invested by the U.S. government.

http://www.sciencemag.org/news/2017/03/data-check-us-governm...
The discussion is not about cryptocurrency anymore at this point
Using online ads in political disinformation (2016)
I'm intrigued by the incentives that Zuckerberg would have to show up to a hearing like this..

1. What is the legal risk of not showing up? What are these lawmakers likely to do against him or Facebook? Can they compel him to personally testify?

2. What would be the moral obligation of showing up to answer questions? What does he owe them, really?

3. What is best for the financial interests of the company? What good would come out of sending Zuck out?

I assume his decision was mostly directed by the answer to number 3, but the others are curious thought experiments.
"The police isn't looking for the truth but for a solid case for a conviction."

This video is of a fancy defense attorney and a police detective discussing about "talking to the police". BOTH, say don't.

https://www.youtube.com/watch?v=d-7o9xYp7eE
Why can't we see more of these stories surfacing on the internet. All I see when I search for CSS-in-JS on google is how, CSS-in-JS is so great.

Why don't we have more : "We tried it, it is the worst, especially for products which lifespan is more than two months"
The government can't fine itself I guess, so it would have to be the EU that fines sweden? Or some kind of class action from swedes?
"Common"? Like you can actually just transform differentiated cells into stems cells into other differentiated cells willy-nilly? I thought this was still being worked on.
Such as?

I didn't see any example of that in the comment threads.
Probably because it's the only one among major popular frameworks that doesn't use weird compile-to-js templates, and relies on JS only.

Others (I'm thinking Angular and Vue) have their own templating systems that they compile to JS anyway.
It also seems from a cursory look that they have rolled their own crypto[1]- and math[2]-lib

[1] https://gitlab.com/fickdiepost/evoting-solution/tree/master/...
[2] https://gitlab.com/fickdiepost/evoting-solution/tree/master/...
Looks like a True Scotsman to me (https://rationalwiki.org/wiki/No_True_Scotsman)
This seems kind of silly. Yes, there's good chances that there will be balkanization and space wars when we colonize widely. That's no reason not to do it. Should we stay confined to a tiny island on Earth just so that we don't get big enough to form nations that sometimes fight each other? Maybe there would be less war overall, but we'd never progress from being hunter-gatherers and subsistence farmers, and would always be vulnerable to a whole bunch of things that are inconsequential to our current global society.
But according to your description, technical debt is a debt:

- it has interest: you're paying extra in maintenance, debugging and manual testing for all the shortcuts you've taken

- it can be paid back by refactoring the bad module. The price of such a refactoring is usually known and, unlike in short sale, won't get to infinity

- it can be used to grow. Instead of working five years on a perfect solution we build something plausible right now and then keep refining it
The UK's Digital, Culture, Media, and Sport Committee on Monday released its report on disinformation and "fake news" following an 18-month inquiry, which took in evidence from 73 witnesses.

The report called for urgent regulation of Facebook — including an independent UK body to stamp out harmful or illegal content — and skewered Zuckerberg for refusing to give evidence to the committee three times.

I almost closed my browser tab at "fake news". There are legitimate concerns about Facebook, but this isn't it. The UK government seems bound and determined to increase it's censorship foothold.

Can anyone in the UK comment on how these types of things are received by regular citizens? Are you concerned that your government is cracking down on content with censorship left and right?
>to be so single-minded about the political spectrum is childish

Uh, what? You've utterly misunderstood; knowing nothing about me hasn't stopped you insulting me.. I consider myself left-wing, I just had never seen anything remotely like that on reddit, still haven't - not that I've seen much of reddit. Sorry I didn't make that clear enough. Not very interested in your recommendations after that, thanks; who would be?
The parent should have said, "Go is regularly used to ship..." instead of "Go can be used...". The fact that Go backs all sorts of complex, interesting software testifies that it has solved the basics extrememly well, and if you're going to argue for a definition of "the basics" which doesn't respect shipping software then your argument is self-defeating. "Generics" isn't an end unto itself, after all.
I agree with you. I've done both approaches at scaled, and I'm still not really sold on CSS-IN-JS. Of course, I think it's a matter a taste (and maybe experience?) so to each its own.

Personally I much prefer using separate css (or sass) file, one for each component (assuming you also have a "layout" component for shared styles) and import each relevant css file as a module.

This way you keep writing our CSS out of your JS, but still can keep it scoped to your component. It's also obvious what css a component uses, and each to grep for when you want to delete some css.
Microsoft Office 365 down
Extreme version of anything is bad!
Why you would do anything extreme!? Isn't the word obvious enough? Aren't enough examples around us?
You lose any negotiating power.

You may feel guilty, but not enough to commit seppuku. So you can at least request your mortal body not be placed in the local hellhole prison, get a more reasonable sentence, etc. This is done by having a lawyer negotiating on your behalf.
On my machine Google translate seems to "boot-loop" that site because of the cookie settings so I'll just do this:

Files were stored on a server using HTTPS but requiring no credentials. http://188.92.248.19:443/medicall/
Part of the calls were saved as .mp3s with the customers phone number as file name.
CEO when confronted wouldn't believe it and hung up when the reporter asked if he could play one of the tapes.

The articles states that the server was a NAS (nas.applion.se).

All files have been available since 2013.

When calling 1177, there's no need to identify yourself with your personal identity number. You can if you want to if your medical history is of significance to your call.

Source: Am swede and this article... https://computersweden.idg.se/2.2683/1.714787/inspelade-samt...

And I want you guys to hear it from me before you hear it on the streets... I once called 1177 wanting to order a new pair of knees because one of mine hurt. The nurse who answered had a good laugh.
I'm not clear on why medical records are so sensitive. I can understand some people might want to hide HIV status - but is there anything else? In the US people have wanted to hide prior conditions from insurance companies, but I wouldn't expect this a problem in Sweden.
I've wondered if CostCo works along this principle. People like the idea of getting bulk rates for items. But even in cases where items really are cheaper per unit, it may not be an advisable purchase for most people if they don't really need or want as much as they are induced to buy.
AFAIK you can't have non valid CSS in the style tag of a SFC, so, strictly speaking, it is CSS.
Actually Dogecoin was a major hit.
Some quantities are non-negative in their nature, such as energy, intensity, number of occurrences etc. When modeling data that is assumed to be a sum of such non-negative terms (i.e. the terms cannot cancel out), it can make sense to enforce non-negativity.
Why do you think they are so enraged at Facebook? Cambridge Analytica and the data they stole through Facebook was pivotal for the UK's "Leave" campaign.
A discount for getting it yourself is the same as charging for delivery, though.

And “free” delivery never is, at least in then US where tips are expected.
I introduced a friend of mine to WordJazz in 1983 or 1984 and he liked it so much that he kept in touch with Ken. His number wasn't hard to find, and if you called it and heard the "Hello?", you were instantly certain that you hadn't misdialed.

He called Ken every once in awhile and they mostly talked about the Blackhawks / Blues rivalry. The last time he spoke to Ken (around August of 2018) he called me afterwards. He said, "Ken seemed confused a bit and didn't really want to be on the phone".

My friend called me at midnight the other night and said, "Ken is dead."

That's all he had to say and I knew who he was talking about. I know he'll be missed around here.
I think "ocean of air" is more common.
What really was different was conquering territory and then giving it back to the governments in exile.

Contrast this with the other players in the war who kept territory they acquired. Even the soviets who were on our side.
The last phrases of the article sound like we didn't think long ages already about colonizing space.

We're thinking about it from times immemorial, and last century we think about it too, taking into account our latest understanding of possibilities and dangers. One would hopefully think our expansion is limited mostly by our abilities, not by our doubts?
AI savants, recognizing bias, and building machines that think like people(2018)
With thousands of institutional users? Implementing distributed databases?
At which point the megacorps will discover that governments command actual loyalty and a monopoly on force. Corporations only have such massive power because institutions of government have abdicated their responsibility to control them. Maintaining that status quo requires business to at least pay lip service (and sometimes money) to the supremacy of government.
???

Lawmakers?

Accuse Zuckerberg of "leadership failure"?

(Brexit debacle)

Um... OK.
Good question. Definitely yes. Why would I pay middlemen (banks) when there is no need to? Also why would I trust them, when there is no need to?
I believe it did last time I looked at a box of it that I had in my kitchen. Maybe they removed them a little while back?
A problem, imo is that these cryptocurrencies are pieces of software developped by anybody.

This means a new one popping up every month... Which in turn means that they are useless as currency.
> People who freely gave their time and attention to make Facebook something more interesting and mainstream than existing social networks which at the time seemed to be trending inexorably towards ever more niche audiences found that time and attention farmed, commoditized, and sold.

I assume you're talking about the users. If so you could argue that they were given a service free of charge. That service enabled them to fulfill some need/whim. They're weren't necessarily interested in making Facebook better. They just wanted to use it for what it could do for them. In return Facebook users their data.

You're right though. These are interesting times.
Show HN: Two strange useless things to do with a neural net
Skype for Business doesn't even have a Linux client, while the "normal" Skype Linux client isn't great but works reasonably decently. But Skype for Business is an utter disgrace.
There are some features which will clearly call for a SPA over SSR, if you need

* to continuously play media (video/audio) while the user interacts with the web app (think modern youtube, soundcloud, spotify web, video news sites)
* provide offline usage/features
* highly interactive app with extensive use of drag'n'drop, animations, touch events etc.
* data sync between browsers/tabs (think moving a ticket in a trello board should update the stacks in other open trello tabs or even for other users that currently view the board)
Well the US collapsed our own narrative with Iraq and subsequent regime change attempts, which is why Russia and China don’t bother to try now.

In the aftermath of the first Gulf War, George H. W. Bush originally attempted to create an international precedent where sovereign nations don’t invade each other, by refusing to push into Iraq and depose Saddam after expelling him from Kuwait. That was an important aspect of his “New World Order” and quite forward looking. Clinton mostly upheld it, but subsequently Bush Jr and the neocons tossed that out the window with their invasion of Iraq.

That the Iraq invasion was both poorly justified and poorly executed (the occupation at least) hastened the destruction of H. W.’s precedent. America’s additional regime change attempts since of varying results have further undermined it. At this point the precedent and SOP for the great powers is barely concealed will to power.

The 21st century is going to be ugly as Russia, China and others follow America’s ill-conceived lead in this regard. But make no mistake, it was the US itself that made this dangerous state of affairs more likely.
I've been doing almost the opposite - enhancing and extending valid CSS stylesheets by using JavaScript to define new features and functionality to be made accessible and usable by writing valid CSS.

An overview of my tooling and workflow is here: https://github.com/tomhodgins/caffeinated-style-sheets

The big idea being that CSS should be able to apply to _any_ HTML, no matter how it was created before it got to the browser. Many style-related tools integrate tightly into your framework or into one particular workflow but don't give you the flexibility you need to apply any styles to any website unless it happened to be put together with specific tools a specific way, but I don't think that provides enough flexibility.
Yes! And I think there is one aspect of Bitcoin that is precisely backwards in relation to both this and the energy crisis: proof of work is a substitute for proof of identity so it can be anonymous.

Imagine a currency that everyone is born with a certain amount of, with the only price of admission your ability to prove your identity. Suddenly, we have solved the problem of proof of work for allowing this to be a distributed ledger since the trust can be based on reputation. Also, we can impose limits such as perhaps a logarithmic scale of wealth interpretation, where ten million dollars isn't all that much more than one million, if it's all in the hands of one person.

The digital age could be an age of fairness, if we choose to use these tools to design a fair game instead of an unfair one. Note that I mean "fair" not in the sense of two people starting out exactly equal, but where the winner can use their advantage to win more over time until the "match" is over, but one that tends towards a fairness equilibrium, where the advantages gained by one person or group over others are minimized over time or at extreme scales.

This is how I write when I have gotten less than 4 hours of sleep, but hey, I can dream. :)
Government is not the justice system. It is one of the basis of Democracy: separation of power.
You can absolutely take your government to court (at least in democratic country).

Class action doesn't exist in all country though. Each person that want to sue the government might have to do it in his own name.
Yeah, I can't run a node without 200GB+ of free storage space. No way I do it on the phone for example.
Yes. I think there's value in reducing the politically privileged's means to dominate their power over the general populace. It is my personal belief that people are in poverty because they are politically disposessed, as opposed to the opposite causality arrow (ok obviously it goes both ways but my belief is that it's mostly the other direction).
A "faster, more efficient cryptocurrency" is already in productive operation since 2015. Called "Nano" https://nano.org/en
Yea, but this isn't out of the box. This is some 3rd party solution for a pretty major part of an application.
A couple of 1920x1080 versions for desktop, I like the one on the right so there is space for icons on left:
https://imgur.com/a/I62aGZ2
I'm really not a carefull reader...
> eventually corporate executives will get to the point that they no longer find that they NEED to do such things, daring the world's presidents and parliaments to do anything to stop them.

I doubt it. It's always going to be more profitable to be careful, answering the questions you can, avoiding the questions you can't. Better a faux outraged MP than a legitimately angry and crusading one.

Zuckerberg did not show up to this because frankly if he showed up to every piddly committee overseeing $2B of budget he was requested to attend on, he'd spend all his time doing that and none doing anything else. If they genuinely wanted information, they can ask for it, and his team can provide it (which is indeed what happened). They don't care about information, though. What they want is a whipping boy. It's not "giving someone the middle finger" to refuse to provide them an opportunity to grandstand at your expense. Especially if you have no legal obligation to turn up.

I mean, does anyone honestly think the outcome would have been different if he attended? People yell at him if he shows up and yell at him if he doesn't. If I were him, the calculation would simply be, "Will they yell a lot more if I don't come? Or will anything else bad happen? No? Then I'd rather save myself the time."
The anarchist in me wants to believe that cryptocurrency will diminish the power of the state but I don't actually have enough faith in humanity that we will come up with something better than crypto-oligarchy.
There is a selfish balancing act as well. I've been in two jobs where I'd take on more and more technical debt to deliver new features quickly so we could capture marketshare. Eventually, the technical debt killed agility and project sponsors didnt understand why every little thing took three days to do instead of one.

This left me open to being ousted (e.g., the Product Manager "had a friend" who could surely do everything much faster.) Seems easy from the outside. They got rid of me, hired the friend, who both increased the team size and then re-built from scratch.

Selfishly, it would have been better to more steadily deliver features and balance speed with maintainability -- because sometimes higherups dont understand the tradeoff they are making.