skysight-inc/HackerNews huggingface dataset:
They can be necessary for reasons other than CSS. Trying to do most of them, including CSS, without the usage of classes and ids is just a strange notion.

There are several different ways to handle CSS and each has their own pros and cons. But I'm assuming you're talking inline styles on the HTML elements directly? If so, while useful and I do it myself often, it is not optimum. If you're talking about injecting the styles on or before page load for that particular view, of course you can; but that doesn't mean anything different than what I've been saying at all. In the end it is still CSS and if it doesn't done properly in the beginning it will eventually cause problems.
Use Javascript for CSS.. to process it out of LESS.

LESS is Javascript but with certain limitations. If you don't like it, write your own. Or better yet, contribute.
I have some personal experience that suggests otherwise. A close relative of mine aspired to live in France for most of her life, and after a divorce she decided to pick up and move to Paris at the age of 48. When she first moved her French was quite bad, and Parisians would regularly switch to English when they heard her broken speech. Fast-forward to 8 years later and she is now fluent to the point that she's able to take on clients to her psychotherapy practice who speak only French. Her accent could use some work, and it took 7 or 8 years of complete immersion, but I don't know that there's any hard "limit" per se, to what someone can learn at 50 — it just takes longer.
The Whirlwind Project seriously considered using a microwave "delay line", a round trip microwave connection a long distance across the state of Massachusetts. Ended up using Williams tubes (https://en.wikipedia.org/wiki/Williams_tube) as did the Mark 1 and a number of other early computers (their random access had an advantage over delay lines), and eventually invented 3D magnetic core memory.
Show HN: SlidePick – Manages Your Photo Collection with Tinder-Like Swipes
Fixing GCC's Implementation of memory_order_consume
> Great, another terrorist attack used to justify restricting freedom and privacy

The way things stand, I agree that there's currently a big rush in the UK to approve wider snooping laws

> The report seems surprised that Facebook failed to hand the guy over to the authorities because he said he wanted to kill a soldier online.

Facebook had already taken down several of his accounts because they were deemed offensive and used to spread terror stuff (videos/hate speech). The ISC report says Facebook took the content offline and didn't forward the matter to the authorities.
The EC is appointed by elected national governments, no different from how the US President is appointed by the elected Electoral College. Governments who have chosen unpopular candidates have suffered for it in their national elections. Accountability may be indirect, but it is there.
I don't see the difference between your concern and being concerned with a green developer changing some base class (in java for example) without fully understanding how those changes will affect the rest of the application. You can introduce bugs that a compiler won't catch.

It seems to me your main problem is how do you have people who don't know what they are doing perform like an experienced developer/designer.
Digital tsar urges Europe not to weaken net neutrality rules
Or even better, namespace the classes with nesting; which you can today with or without a prepocessor. Such verbose classnames is not necessary.
When under the influence of MDMA my social phobia completely vanished, in fact it turned me into the Bizarro version of myself, I became the life of the party. It's no way a long term solution, but I recommend taking MDMA one or two times in your life, as it has a "psychedelic life changing effect", the first couple of times you take it, it seems to hit a reset button on your brain, changing your perceptive on life.

Amphetamines in my experience are superior to opiates for social phobia as well as providing cognitive enhancement, but they come with more side effects. They're psychologically addictive, if you stop taking them, you're in a worst place then you started, tired, anxiety, depression,..etc. Amphetamines are also hard on your body, can cause psychosis, paranoia, delusions, mania, can completely change your personality. Amphetamine psychosis is the worst thing I've experienced in life, it's equivalent of experiencing severe schizophrenia, blurring the line between reality and hallucinations.
Please admit that css is a mess.

You can't have proper modules that you just plugin in. I want a button styled a way... it will mix with some other default button. I have to create many button classes.
Skipping meetings is not the way to do well at work, no matter how unproductive you are in the morning. It's the way to get fired. If you care about your job, stop doing anything except lying in bed in the dark at 10PM, take some sleep pills (drowsy allergy pills are available over the counter, but doctors can prescribe better), and actually try to go to sleep instead of staying up until 2AM.

Everyone has to make compromises for their job and yes, 99% of us hate coming in early in the morning, especially on Monday. It isn't strange. If you can't handle that you should find a job that doesn't have morning meetings, not do bad at your job. People who skip meetings hurt their coworkers performance as well because everyone has to put up with you not knowing the latest decisions and what is going on.

If you can't handle it, you could do night shift retail at a gas station, for example, or be a contractor and always schedule with your clients later in the day, etc. but you really can't work in a large corporation.
ah-ha! it was Phusion all along. very clever marketing efforts. I wish they could have traded on just the facts, but it's clear they got more buzz taking this path.

Kudos to them!
So you css will have the same structure as html.. Therefore why not putting your css in your html. Well, in this case you should put the css in the javascript module which renders the html and then the css.
And while you are at wishful thinking, one could also ban the whole “undeclared” Greek system such as how you have to give cash to your MD to get proper treatment, how you declare half the value of a house when you sell and buy it, or how you have to pay extra to get receipts (to attach them to your tax return, well hand-washing done corrupted governments!).
4 data science predictions for 2015
I'm running SaaS startup in UE (in Poland). Because of these VAT changes, and also some consumer rights changes, I've decided to restrict my service to use only by companies.

I's not worth to me to update system to verify consumer address, create invoices with more than 10 possible vat rates and do additional accounting work.

If I would have a lot of B2C consumers, I'd just incorporate in US or other non-EU country for this. I could offer them cheaper service (no VAT) and I would have much less work to do.
I attempted to test it a while ago; the test driver is included along with all the others https://github.com/hyc/leveldb/tree/benches/doc/bench

It crashed in all of my test invocations though, so I haven't looked at it since.
Don't care whether they live or die? Kind of moralizing a bit there.

I don't think my brother had a death wish when he was introduced to heroin. He had an addictive personality and quickly became an addict. When he OD'd it likely was not a suicide but an attempt to get high. He apparently had progressed from having others shoot him up to doing it solo.

Yes, heroin is more medically benign than alcohol if used correctly, but the addictive power of all opiates is something that makes it dangerous for abuse.

It should be legal and well regulated, and drug education should be shifted to awareness of addiction and how to avoid it.
I only got a few slides in before it became obvious that he doesn't know CSS.
This reminds me of https://github.com/chenglou/RCSS . It can be used with react.js and it just works ok.
Yet, South Korea ranks high for a First-World-Country in "increase in happiness".

If one sorts "World Happiness Report" according to "change in happiness 2005-2007", the top countries are mostly from the second- or third-world with the exception of South Korea.
>Think i'll spend some time this holiday setting it up, appreciated!

That's not needed. With the default config or a simple vimrc it's a drop-in replacement. Some extensions don't work yet (even Syntastic) but that should be resolved soon.
I'm always disappointed when an open source-ish tool has to market itself. Unicorn didn't market itself. Its users marketed Unicorn because it worked/works so well.

I also don't think the comparisons Raptor is doing are fair. You're comparing an application server with a cache against just application servers. Also, I would expect Raptor's memory usage to be higher once that cache starts to fill up, or maybe you've created a super small cache just for "Hello World" apps.

People aren't avoiding Passenger because "it's too easy to use", a lot of people avoid Passenger because you're a weird company. Application servers are very important, perhaps too important to be tied to a commercial entity.

I applaud you on the work (code-wise) you've put into this and I hope the entire Ruby community as a whole benefits from it, like you claim we have with older versions of Passenger (which kinda seems like revisionist history to me, but oh well).
Those people would probably be put on watch-lists and unless they are already in one of those lists, no further action would be taken.

Or so this is what I gather based on the ISC report describing the MI6's monitoring of the two terrorists who killed the soldier.
I have a project now, with multiple developers, that uses this system; we've never had any conflicts in our CSS and I seriously doubt we ever will. It's mostly component driven with the occasional global selector.

As for your example not working with the approach, that's one of the problems as I see it with these solutions. The fancy, complicated approach apparently doesn't support one of the basics of CSS which would go a long way to fixing the problem as they see it.
This is nice, and could really be useful.
But it's raising a lot of privacy concerns. A lot of sensitive information is placed in the clipboard like private URLs and even passwords sometimes.

I think a whitelisting of sites is needed in the web browser to use this API.
America’s Resurgent Independents examines bookstores across the country
> Is the long-term outcome looking like, one day, twenty years from now, we'll be collecting every last sales tax based on where the customer is right this very second?

Maybe. If our system is smooth enough to handle it then why not?

Alternately one can hope we will finally abolish the nation-state and just collect tax in a unified international way.

> It seems a bit unfair for the EU to demand e.g. US-based sites to collect VAT, and there not being anything going in the opposite direction.

Plenty of US states have similar laws that you're supposed to collect sales tax for customers in that state even if you're a website selling from elsewhere.
I run Linux on my desktop and servers, and I can't say much about FreeBSD, but if you want a taste, I recommend building a little NAS for yourself and installing FreeNAS. It's been fun to play around with jails and ports and learn some of the differences. I've found this to be a great way to get your feet wet without risking your productivity or server reliability. I'm surprised no one has mentioned this yet!
You're right, of course. Though if they had cheated, the result probably would have been less interesting.
"Shoot first" is definitely more widespread (and probably has a better chance of working) on the consumer side.

I have done it on the enterprise side, though, and the experience wasn't all bad. I built a face recognition system to spot TV reporters on the air and auto-tweet. It was a "neat"-enough idea that I was able to get 3 TV stations to run pilot programs. In the end, even though it doubled traffic to the TV stations' live streams, it turns out they barely make any money that way and unflattering screen shots irritated the reporters. You can argue that I should have researched harder up front, but if 3 different top-15 TV groups representing 125+ stations were willing to try it out, it wasn't far off. It was close enough to a big score and took so little time (1 year) to iterate, it was worth the try.
This is an nice example I put together about the ambiguous syntax:

if a > 0 then
print_endline "a > 0" ;
match a with
| 0 -> print_endline "impossible"
| 2 ->
match b with
| 0 -> print_endline "2, 0"
| _ -> print_endline "2, not 0"
| 3 -> print_endline "3, something"
| _ -> print_endline "something, something"
;
print_endline "done"

You can see the rest of the discussion here: https://news.ycombinator.com/item?id=8497740

OPAM saves lives, that's true, but one still wishes there was a nice library of standard data structures; I use Batteries, which inherit the inconsistency of the standard library (for the sake of compatibility), the other real alternative is Core, which is undocumented.
How to plan when you don’t know what is next
Future of Science: 15 science and research startups selected to present at LeWeb
Same here at the number 4 on the list... I work 4 days a week, my wife works 3. My employer also works 4.

My day off is awesome, and accounts for a lot of my happiness. And the happiness of my kids, I'm sure!

US may be the leading in economy, but we (Northern and Western Europe) are way ahead of you guys when it comes to a healthy work-life balance...
There's no reason that this can't be addressed while adding new APIs. They're not mutually exclusive.
You are radically misinformed. As a hacker, I have about a dozen ways to see your traffic. We don't encrypt credit card transactions because we're afraid the NSA or your ISP's network admins might pick up your card and buy some sneakers on Amazon.

Ways I can see your traffic:

* fucking with bgp
* fucking with routers in general
* fucking with switch port tables
* fucking with proxies
* spoofing
* sniffing wireless networks
* sniffing wired networks
* tapping a cage backbone
* rooting an isp
* rooting a dslam
* rooting pops
* rooting firewalls
* rooting endpoints on management ports
* abusing hosted networks

The single easiest way to view someone's traffic is to use the completely fucked-up retarded configuration of an intermediary router. Do you know how many routers sit between you and your destination? Do you know how many of those have 10-year-old configurations enabled via telnet on publically-routable interfaces with default snmp community strings and 6-character passwords?

Don't assume that just because you aren't aware of a particular attack that it doesn't exist or doesn't apply to you. Hackers are only limited by their creativity.

Please don't trust the network.
I admit CSS is a mess, I've never denied it. I simply disagree that a system similar to this approach actually solves anything in the long run.

But you can have proper modules that you just plugin. If you plop in your button and it conflicts with someone else's button; then one of you did it wrong. The solution is to create multiple button classes as you say, but this Javascript solution does the exact same thing.
"feels a bit more rustic."
Hi Stuart, thanks for sharing this and your experience. It's very inspiring to us as we are currently developing another "extensible self" tool [0] that will empower you to "remote control" real people (we call them agents) and show you around, even where drones are not allowed or there isn't someone who can set it up for you.
Can we send you an email and ask you a few questions?

Moreover, can you share a bit how the streaming feed is setup?

[0] http://eyevel.com
That was the originally submitted title by Spiritus until a HN mod changed it due to inane policy that the title of the submission must match the title of the webpage.
What I liked about Passenger from the get-go is that it figures out how many instances to keep active, given some initial parameters and how much traffic you're getting. That is so much more right than what others were doing back then, which was just starting N instances and hoping N was a good number.
It seems like after the first startup, you realized that Lativa is not a good market for startups. And then you went and created 9 more in Lativa and learned the same lesson over and over.
The most advanced malware yet has been spying on you for years
The Emerging Architecture of Internet Applications
I'm referring to the effect red light cameras have on drivers rather than pedestrians.
SQL-like? How about your use a real SQL used in SQLite, https://github.com/kripken/sql.js/
you can setup 2 procs behind a reverse proxy and restart one proc at the time
Construct 2 r190 (Stable)
Wow, never thought I would run into another person that had this condition. While I do not have it, at one of my last full time positions I lead a team with a woman who had this same issue, and she had brought in a medical note as proof etc. She wound up on my team because I was good at dealing with people that have differing needs and getting the most out of them. I really didn't care about her schedule and if she needed to work 1p till the evening, and the company was saying they didn't mind, but in the end what her and I both found is they really did. Once I left the company she was forced out as they changed her schedule to 9-1700 and her productivity dropped and so they let her go.

Financial services is likely a bad industry for you to try to work in as they typically value bureaucracy and a fairly strict schedule over most things. Not saying they are bad, it just seems to me they are stuck to a concept of time that can be tough for someone who has your condition to fit in, hell it is hard for some devs just to work in them because of it.

I don't see an easy solution for you, as what I learned researching the condition before is that you cannot control this, your body is making chemicals and releasing hormones that are forcing your hand and doing it in a way that is different than most of us. From reading too I learned that stress actually increases the issue for anyone suffering from this too. So my suggestion is to find a place where you can work a more flexible schedule otherwise you will get a reputation potentially as being a low producer.

Just one other point, you likely are seeing some more issues because frankly the younger generations have a bad rap about not being the "dedicated" worker, or being lazy. I don't see it that way, but you can find statements all over the place to that affect and older managers will sometimes have bias that way, it is just they way it is. Again, financial services is probably one of the worst for some of that BS.

Also, your comment about living like a proper adult, screw that. If you are being a productive member of society, being responsible, paying your bills and producing for your employer as well as enjoying life then you are a proper adult. Find a place you can be happy, productive and successful and be humble but don't apologize for having some specific needs too.
Facebook hosted Lee Rigby death chat ahead of soldier's murder
MI6 report says US web giants offer 'safe haven for terrorism'
Best i recall, there will be some issues with the power management as those parts were largely Nokia proprietary.
I'm very curious to see if this will make it possible to have password managers on Firefox OS.
Your Product Demo Sucks Because It's Focused on Your Product
Pull request deploys – GitHub Sync
Binary (compiled code) JIT compilation could very well be faster than direct execution.

I'm not aware of anyone currently using these techniques for running native code faster. Yet.

You can also call these techniques binary translation if you like.

At simplest level, one could for example dynamically replace relevant static library calls with higher performance versions. Perform function signature based optimization - when a certain known common function is found, simply replace it with a faster version.

More advanced ones could for example inline functions, even those pointed by function pointers given a guard condition. It could also vectorize suitable serial code.

Superoptimization techniques could also be applied to the instruction stream. http://en.wikipedia.org/wiki/Superoptimization

Even complex optimizations are possible. Like memory access pattern translation. The JIT compiler could perform cache simulation and find a mapping between memory accesses that would increase true hardware level locality of reference. Performance could be improved by generating access transformation code when target binary tries to access memory. Like map image processing memory access code from row major to Z-order curve to increase cache hit probability. Unless memory mapped (either to other processes or physical hardware) the buffer resides the data would need to be translated back row-major only for system calls. A lazy page fault mechanism could also work in some cases.
I don't think we should have expected the temporary news of decreased hours to account for greater happiness, but rather that people filled their newly free time with pursuits that made them happy.
Sudos Web2.0 Creation Guide
The example I provided above aggressively overwrites any inherited CSS properties for some component B.

Example 1:

<div class="component-a"><button></button><div class="component-b"><button></button></div></div>

Example 2:

<div class="component-b"><button></button></div>

Result:

The <button> wrapped in div.component-b for both above examples will render exactly the same, ignoring html structure.
The few past submissions on writing CSS in JS didn't seem to have picked up discussions. I'm glad this one at least does.

I'm gonna go ahead and avoid repeating what's already mentioned in vjeux's presentation (https://speakerdeck.com/vjeux/react-css-in-js). Instead I'll focus on defending against the common "shortfalls" people tend to immediately point out with this approach.

Designers will be uncomfortable with learning this: React's JSX has shown that (surprise surprise) designers can bear modifying markup with a little bit of code mingled in it. In this case, JS objects in their simplest form map very well to css declarations. I don't believe designers will be scared away by this at all.

"Atwood's law", "we already have CSS", "stop reinventing CSS": no one's reinventing the idea of CSS; we're reinventing the implementation of it. Declaratively specify your layout is really nice, but you do want the backing of a real language to do so. Merging two styles is just a `merge()`, Overriding a style is just `bla.color = newColor` (assuming you don't mind the mutation; otherwise clone it or use persistent collections), and (!) reusing, importing, exporting styles is already solved with commonJS since you're working with normal js objects.

We already have preprocessors: except preprocessors are there to solve the exact problem "CSS in JS" is solving. The difference is that the latter, again, uses a real, familiar language instead of inventing an ad-hoc new syntax like we've done countless times with HTML templates. And since preprocessors need to generate the final CSS beforehand, this limits lots of potentials such as looping more than, like, ten times.

On this last point, I hope that none of the critics here used React's virtual DOM before; If you did, and are still complaining about writing CSS in JS, then you should go back and re-learn why the virtual DOM came to be. CSS in JS is the "virtual styling" equivalent for CSS. The potentials are huge (runtime feature detection for example). And this new layer allows us to map the neat, declarative style to something else than CSS: say, webGL. This is platform-independent; if anything, it's a nice conceptual model.

(Disclaimer: I made https://github.com/chenglou/RCSS)