skysight-inc/HackerNews huggingface dataset:
There are concerns with CSS in JS, but the arguments in this blog post are all very weak or non existant.

Structural/Behavioral Vs Graphical

The introduction of component based tools changes how we design and build our application. No longer is the fact that you can wireframe your whole application valuable instead being able to build individual components and later compose those is valuable. This means that the graphical properties being tightly coupled to a component is actually good.

Loose coupling vs tight coupling

Component based systems can be built with loosley coupled components, but that doesn't mean the components themselves should loosely coupled to their own implementation. This is more analgous to the native platforms too.

Visual Consistency

Claiming that CSS in JS produces visual incosistency is about as true as claiming that CSS does the same. In both cases you can be more or less inconsitent based on your chosen implementation method. In both cases you can move the lowest level design tokens[0] to a single places/system. Arguably Javascript being a more expressive programming language is actually better at achieving consistency via the more powerful variable system.

Code Reuse

Again with a design token system in place changing the design language etc is as easy as changing a few variables.

Personally I think the more interesting problems with CSS in JS is the inability to extract the CSS out into css files to be shipped along the application and how that pertains to server side rendering.

0: https://developer.salesforce.com/docs/atlas.en-us.lightning....
It always amazes me how difficult the android experience can be. I have always had Nexus devices and the "pure" google android is pretty easy and clean. My parents hand me their verizon phones and I wonder where the features and simplicity went. I'm amazed they tolerate the clutter and crap on their phones. Android can be nice and it can be crap.

As for a 2 year shelf life - I'm still on a 2013 Nexus 5. It runs smooth and runs everything I need. Isn't a 6s only 2 years old?
You'll always have a corner case or another. I wouldn't care about personal usage users.

Case 2 clearly falls into the free usage policy, but in case 1 if the school is requiring students to install this software in their school-provided hardware as a way of sidestepping licensing fees I think they are stretching it a bit.
New Chrome extension for LinkedIn: learn tech terms whilst sourcing
Side note: From a Danish point of view, the price level for offshore wind you've been agreeing to in the UK has seemed... very high. Of course, location etc. is different, but still.

There was a single offshore wind farm in Denmark in the high price range, where a government that had previously decided man-made warming was a hoax suddenly reversed their direction and decided it needed the farm built quickly, ending up with a single bidder.

But in any case this has finally ended.

FYI: Not long ago, DONG won a bid on a subsidy-free offshore farm in Germany. IIRC, they have until 2020 to decide whether they're going to build it or not, but they'll have to pay a fee if they don't.
I'm happy for you. I tried remote work for 2 years and now I'm happily going back to working in an office next Monday. Can't bear the loneliness anymore. I don't have much of a social life to begin with, so I really need some actual human face-to-face interaction in my job.
Steve Jobs lived in a commune with some millionaires who went to prison for selling LSD. Certainly not a path most MIT students (or current Reed students) would be encouraged to take today.
Ship a Chat App in 9 Minutes with Slack and StdLib
Dive into the Hugo v0.27 Release
Cannabis, while undoubtedly a medicinal product, is one with a very high possibility of being used recreationally. Nobody is going to consider batting down a drone carrying chemotherapy drugs being delivered to a reservation, whereas the risk is a lot higher for pot brownies. If (and I don't know whether this is true) the cannabis delivery rules are similar in scope to alcohol delivery rules, I'm not going to get myself worked up over it.
Their self-defense claim is one thing, but it's a whole other thing to brag about it, claim to have a trophy and to have desecrated the bodies.
This headline makes no sense. Apple has no $1k phone.
INGNR – Current events
I wonder how Indian tribes will feel once people start voting to end any of the immunity that allows for these tricks?
Undergrad students are a nuisance for a school like MIT nowadays. These are giant research corporations masquerading as academic institutions.
I think there's some confusion here as to what VAT means.

VAT in the EU (or anywhere else really that has the concept of VAT) normally affords no additional consumer protections on its own. It's a tax, not dissimilar at a high level to sales tax in the US, applied to goods or services at time of sale.
You walk into an emergency room and get treated without paying a cent.
Yes, because Senior House was full of Trump voters /s
Curious to see how the CAB will handle this or if they're going to be "soft" as it's the first days of the CAA enforcement. Historically, they've been very accurate in enforcing their rules, which could mean a serious reprimand of Comodo.

If anyone is interested in testing their own CAA records, we built an online CAA validator specifically for this; https://dnsspy.io/labs/caa-validator
> Rather than being tightly linked to structure, these are very loosely coupled - this is why one can often wireframe an entire application out before styling it!

Here's one of the premises on which the article was written - and I must wholeheartedly disagree.

If you're looking to write clean, maintainable CSS - you MUST consider DOM-structure of the thing you're styling as well. Too often, quirky CSS selectors are written, only because someone failed to foresee how HTML and CSS work together to create a visual.

This decoupling of the HTML that's written, and a CSS "theme" being written/applied after the fact, is also where things like negative margins (ugh) and the like tend to come from.

Now, I've been working on a very large component library in React, and keeping our CSS maintainable has not been an issue. We've got one (S)CSS file per component, and it resides in that component folder.

And while the file is separate, we absolutely do not allow anyone to develop any component anymore, without having any knowledge of how to style the thing.

We used to do exactly that: other devs would develop component, we would try to style them afterwards. This always results in either us writing messy CSS with crazy selectors or - and more often - we simply opted to re-write the entire HTML, to suit our styling needs.

At this point in time though, I would love to write some CSS-in-JS here. Too often we need to use variables based on JS logic; And it ends up as an inline style right now, anyway...

All in all, if the writer believes HTML and CSS can be written separately, without resulting in a terrible mess, I'm having a lot of difficulty accepting that they know what they're talking about. Sounds like they never had to work on, or maintain, a large application.
Show HN: An online CAA record validator
Ask HN: Anyone here make a 'comeback' from rock bottom? What is your story?
A big advantage is that it would push identity control risks to the federal government, which is in a position to want to protect its citizens (it has to remain accountable to voters).

A current problem in the US is that we have three for-profit companies doing that today, whom are only really accountable to each other (sort of) and their shareholders. Their customers are each other and banks; you whose data is actually at risk are not a customer of strong value to them directly.
The problem is also with patent law. (Intellectual) property is theft, etc.
> Ember has always been driven by the idea that web apps are becoming more and more like native apps over time.

Well, this is what people keep telling again and again, as if it was enough to repeat it to make it real, but I still have to see one web application that I would prefer to use over a desktop one.

Sure, we have hugely complex webapps, but the browser is a really a shitty environment to think of it as a "platform" to do anything else than to read documents.
The author is trying to sell a freemium product, its a gift insofar as Dropbox's 2 gigs are a gift. (EDIT: maybe the premium support is more to support this project than being the main objective. I don't mean to assume too much on motives)

Some small modifications to the text can make the messaging more friendly. For example "To report a bug, please create a pull request with a test case of your problem." (instead of "you have to")

It's a small change, but conveys the same requirements without conveying a notion that the reader is a burden. Instead it just asks a favor, since we're all humans talking to each other in good faith.

It seems small, it seems pedantic, but we're guided by our emotions. The fact that this thread exists is proof that it affected at least some people enough to comment about it
Well, they make the best set top boxes. They were first for Netflix Instant and are still the best. Even beats Apple TV.
Why is this comment being grayed? Despite the language, this is a legitimate rebuttal.

>
I love how people are now all of a sudden defending the "Taxi regulations" as if an artifical monopoly that was serving no one's best interests except for the monopoly was somehow a great thing.

Conjecture, disregarding.

> It's a lazy argument, especially for HN where old industries with arcane rules are meant to be broken.

I cannot refute this.

> calling a cab 1 hour before you needed it was required, and you wouldn't know if they would actually come or not

This is still very true.

> after waiting 1 hr they didn't come, you would be out of luck.

This is true.

> in every city where Uber pops up transportation gets better.

This is the only thing I could come close to refuting, but it'd be an argument built wholly on anecdotal evidence.

We should not be so easily provoked.
And customers here in Europe overwhelmingly buy a Huawei (they've just passed Apple in sales). Might be that Android had caught up to iOS enough that iOS doesn't justify the price premium (especially since iPhones here are 800$+).
Its a "hybrid" because its designed to behave and look like a micro-kernel, but instead of full subsystem/process isolation, all of the kernel subsystems exist in a single address space (although I guess this could be argued in the context of hyper-v not to be entirely true).

This means that instead of incurring a full context/privilege switch just to pass messages between components, the messages go through (say the IO manager with an IRP) the subsystem controllers with simple function calls and effectively shared data structures (although its designed not to look that way).

Because its compartmentalized like this, it would actually surprise me if somewhere in MS research/etc they don't have a full context switching version of the kernel running. Such a project would if nothing else help to catch "bugs" and validate the subsystem and drivers aren't misbehaving. Of course driver verifier achieves most of this goal by itself with simpler checks.

OTOH, while the idea of a micro-kernel helps to solve a lot of development/design issues I'm not sure an actual implementation buys you much over the NT approach. That is, while its easy to say "just restart the storage subsystem" implementing something that is capable of getting the state right in a microkernel environment sufficiently that a bug which takes down a critical subsystem isn't repeatably fatal (or just drops important filesystem updates/whatever) likely creates even more complexity in which latent bugs can hide. Particularly in the face of buggy hardware where the driver is trying to avoid/work around a hardware misbehavior, doing something like restarting a disk controller won't necessarily unwedge a stuck command queue in the hardware.

So, that said, I think if you keep the crappware (most "security" software for starters, maybe certain GPU drivers too) off a windows system its really rare to have windows crash. In the past 15 years I can't actually remember the last crash I saw on a machine running only WHKL qualified drivers, and i've never seen a crash on a server core machine.. etc...
If you're Christian check out medishare (and other alternatives). Disclaimer: I'm not a still for them.
This makes the case that colleges are not those places in the same way they used to be, and so colleges are now missing some of the utility they once provided. Both to students and to society at large.
Gamedev plays by different rules. You guys work too hard already :). I was thinking more about regular run-of-the-mill app and webdev.

> For consumers to make a stink, it means they have to withhold their money and stop purchasing wasteful products, not voice their complaints after purchasing.

Yeah, but that's not easy to do either. I added that point in the ninja-edit to my previous comment. In my experience, in many areas consumers don't really have any real choice. I.e. you choose from what is available on the market, not from the space of all possible products. There is no good line for getting feedback from consumers to producers about options not explored, or even about the reason you refrain from buying something. Again, I currently have no idea how to approach this.
"It is interesting to note this is because people in the US have much less disposable income than people in other developed countries."

Is this a commonly known thing? First I've heard it. I would have figured it would be the opposite given our overall tax rate compared to somewhere like Sweden is infinitesimally smaller. Can you point to some analysis/citations for this?

It does seem to make sense in my mind as, anecdotally, when I was in Germany I noticed a large number of high end Audis and BMWs. Cars that are $80k in the US would be well over $100k in Germany. (This is perhaps an oversimplification of the situation given that there are a great deal more factors involved in the pricing of German-made cars within Germany vs. selling the same cars in a much more competitive foreign market like the US'.)
Supergiant Designated a Kubernetes Certified Service Provider
Uber's ability to skirt cab regulations in particular has always baffled me. They've always argued that their drivers are independent contractors, not employees, and that they merely facilitate the arranging of rides & fare payments. If that's actually the case, then how are the drivers not textbook cabbies? How does a driver using an app to receive requests for rides differ at all from a driver using a phone dispatcher to receive requests for rides? I can't think of any difference that should exempt Uber drivers from submitting to the same regulations as regular cabbies other than the argument that existing regulations are obnoxiously burdensome and often protectionist.
The idea that a best practice should be usable without a pre-processor has sailed. The fastest people give up on that, the better Web development will be for it.
Honestly exchanges are a shit show. There used to be a small scene where people traded directly via forums/voice comms but like all good things that's over because of bad actors.

The main issue IMO isn't settlement speed but the ludicrous exchange fees. If you're willing to put some work in I reckon you should be able to "manually" find counterparties for the major altcoins, but to my knowledge there are no decentralised exchanges that offer reasonable liquidity.
Postman Pro at BetterCloud
your script does not work. probably something is missing. I've raised an issue on github.
> a dead blog

lol & nodding in agreement

What's with the breathless write-up in the article?
Just curious, what tech stack do you use?
I am really digging Vuejs and its single file components. The <style scoped> part makes it even better for me. No more searching through codebase for where the css came from vs. where the JS is coming from.
> JavaScript used to do this, and we fixed it by encapsulating everything in modules and using tools like webpack to stitch everything together.

We've done the same with CSS, and CSS modules work extremely well. For us, they've even eased the need for SCSS.
>you lose the cascading advantage

What? Components and cascading? Only inline styles make sense if we are talking components. Each component must be self-contained, pure and predictive. Why the hell do we want 90s technology again?
> inline styles

It doesn't have to be inline styles. Styled components ( https://www.styled-components.com/ ) inject unique css classes.
The hardware is really really good, well supported and it's pretty light with excellent battery life. It's actually not al l that more expensive than Androids either (the new "cheap" iPad is actually on-par or cheaper than Android competitors).

Having said that, Apple does make a few funny pricing decisions that pushed me to buy an ASUS Zenpad instead.
> you don't remember how shitty taxis were pre-Uber

I don't remember that, because I live in a country that doesn't have awful taxis, and where Uber has little to offer except dubious insurance status.
Doing your own thing isn’t risky. Stability is risky
Agreed. I really enjoy the way Vue handles this.
"Transportation may not be done by ... human powered vehicles ..."

Does that mean no bike deliveries?
Yeah, I do believe some type of AI has a decent chance at disrupting google. Their current infrastructure is very good, and is their competitive advantage. But if some algorithm doesnt need that infrastructure, and provides a much better experience than google, they can be dismantled. All tech companies eventually get disrupted.
Even Hillary Clinton admits she thinks she lost because of Bernie Sanders and his sexist bros.
Neither MIT nor Stanford are Ivies.
Toyotas negligent practices with regard to software killed at least 2 people. Their developers did not even have a bug tracking system at all. They followed only 6 of 90+ industry standard recommended practices. They lied about the system using error-checking RAM when it actually did not. None of that was enough to get a court to declare them negligent. Equifax will be fully acquitted. If a computer is involved, companies can get away with literally killing people. This is court precedent.
Perhaps its a problem of empathy? Many of the Professors and Administrators I've come across are, to use the article's crude term, egg-heads. They have not experimented with drugs or alternate lifestyles; or perhaps have had bad experiences with them. They are usually socially "upstanding" people: married, with mortgage, spouse and kids. So they just can't see why a place like Senior House would exist; they can't see the purpose of leaving alone an environment which, however disgusting it might feel to them personally, seemed to have provided a lot of comfort to a lot of students from different backgrounds.

A college education is much more than just graduating and getting a piece of paper. The metrics for measuring progress are really fucked up IMO.
Ask and get online for online money with security
Sveikinimai jums,
Mes (beatricepfam@gmail.com) siūlo ir saugus interneto paslaugos, užtikrintos paskolos palūkanų labai žemu 2%. Mes siūlome asmeninės paskolos, konsolidavimo paskolos skola, rizikos kapitalo, verslo paskolas, studentų paskolas, būsto paskolas arba "pasiruošęs dėl tam tikrų priežasčių, bet!" - Jums bloga kredito? Jūs visada galite klausti.
Pastaba: Dėl asmeninės paskolos suma yra mažiausiai 150 000 eur, o daugiausiai 5,000,000 eurų, o bendrovės / investicijų suma yra bent 100 000€ ir 50,000,000€ maksimalus.
Susisiekite su mumis šiandien jūsų paraiškų!
beatricepfam@gmail.com
How to Protect a Drug Patent? Give It to a Native American Tribe
I didn't even recalled they wanted to make iPhones here, but this article [1] basically says that "its more expensive than building them in China" and that some tax incentive laws were being disputed by the World Trade Orgnization.

[1] https://www.tecmundo.com.br/iphone/118381-decisao-foxconn-ip...
Major algorithms asked during Interviews
Facebook was started by somebody who followed bg's path of dropping out of Harvard.

I don't know what Elon Musk's GPA was, I don't think anybody cares.

I don't see a trend towards conformity...in the real world.
In practice, DRY in CSS ends up making code very hard to maintain. It creates ghost side effects where you change something on one page and break something on another page unknowingly.

With the exception of a few elements that don't really change at all from one page another like buttons, doing a little bit of copy pasting or search and replace between files is easier.

Sure, you might forget to update one page or component here and there, but at least it won't be broken. Better a component is inconsistent in style but functional than broken.

Using a few variables for things like color and spacing can also help minimize this problem.

Keeping most of my CSS components encapsulated and "namespaced" has worked a lot better in practice than trying to make everything reusable and coupled together in ways that you'll forget about when you have to come back to that project a few months later.
It might be interesting to compare Senior House to fraternities and sororities that are off campus and have their own buildings. If they were off-campus perhaps they wouldn't have been shut down?

(Not that I know anything about it.)
Sveikinimai jums,
Mes (beatricepfam@gmail.com) siūlo ir saugus interneto paslaugos, užtikrintos paskolos palūkanų labai žemu 2%. Mes siūlome asmeninės paskolos, konsolidavimo paskolos skola, rizikos kapitalo, verslo paskolas, studentų paskolas, būsto paskolas arba "pasiruošęs dėl tam tikrų priežasčių, bet!" - Jums bloga kredito? Jūs visada galite klausti.
Pastaba: Dėl asmeninės paskolos suma yra mažiausiai 150 000 eur, o daugiausiai 5,000,000 eurų, o bendrovės / investicijų suma yra bent 100 000€ ir 50,000,000€ maksimalus.
Susisiekite su mumis šiandien jūsų paraiškų!
beatricepfam@gmail.com
Who would define and evolve this standard protocol? What happens when FB wants to implement a feature that the protocol doesn't support?
He told the school to disclose grades to you. Not his personal conduct. Most parent's accept that their kids are going to drink, and have sex, and maybe do some drugs in college. They probably aren't happy about it but they know it's going to happen to some degree or another. That is a huge difference from having your only communication with the school be basically a PSA that your kid is living in some sort of college sponsored hippie, drug den that's going to cause them to fail out. That's what people are taking issues with.

Maybe they were right to contact parents. I've never been to Senior House and don't know the ins and outs what went on there. But as someone who has worked in ResLife and been responsible for kids, I can say without a doubt MIT took the nuclear option. At most colleges, you can be put on academic probation, and even kicked out without the university notifying your parents directly.
Spotted the government worker.
This. You can have global styling, or you can have properly-encapsulated components. The more you try to have it both ways, the more they step on each other's toes.

And for me personally, at least for heavy-duty web applications, modular components are far more useful.
I think the Uber hate comes from their business practices, and people are reaching to jump on the bandwagon to hate uber at all cost. I think it's been a good service compared with taxis. But we're in this weird double standard, where we tolerate them breaking some rules but ignoring others. (Tolerating the taxi regulations, but violating basic decency [safety, passenger rights, etc])