skysight-inc/HackerNews huggingface dataset:
Interestingly they don't seem to have a rule against one line declarations.

I alwats use this style, which imho is very handy, because of the tree structure and admittedly because I have a super cool macro in Vim that copies the characters from the line above, word by word so create rules that afect children of the rule above it requires just a few keystrokes:

#some-div { margin:1em 0; }
#some-div .inner { padding:5px 10px; }
#some-div .inner p { font-size:90%; }

This makes the structure of the declarations more obvious imho, and I tend to have a nicely organized series of structures like that that are logically grouped together.

Obviously this applies more to components/widgets than the basic rules and layout.

If a declaration is long then I use newlines.. but even then I tend to group things together eg.

#some-div {
display:inline; margin: ...; padding: ...;
border-radius: ...; border-color: ...;
font-size:90%; text-align:center;
}

Basically within a css rule I'll group together the layout properties, the text properties, etc.
Your math is way off. 2 million annually works out to about 40k a week, so not sure where your 1600 a day comes from.
Ask HN: Simplest way to build a REST API?
I'm currently planning for a mobile application implementation that will use a REST API as a backend proxy to a MySQL database -- This seems like the most logical way to do it, as I'm not going to expose MySQL to the world.

What frameworks are there that can support rapid development -- I need a router, and some type of database abstraction library with prepared statements of course.

I don't want to get tied into vendor lock in with other services that provide an API platform as service, and I don't want to use the AWS database as a service, because again, I don't want to get tied into vendor lock in, so I'd rather keep this thing as portable as possible.
I want to enjoy the technical details of the Technet post on their own merits, but I can't help but add "to better support our telemetry needs" to the end of some of the phrases, like so:

"Like Windows TFO, IW10 mostly affects small object transfers over the Internet. Windows IW10 can transfer small Internet objects up to twice as quickly as ICW4 [to better support our telemetry needs]"
$2,000,000 / (6 * 52) = $6,410 sales per day, assuming a 6 day work week.

average NY check = $48.56 according to Zagat[0], so you can back that out the above number to 132 diners per night.

[0]: https://www.zagat.com/b/new-york-city/48.56-what-can-you-get...
why it takes so long?
The only thing that surprises me is how long it apparently took for Curling to have its "aluminum bat" moment.
Here's the direct github link if you want to fork or star:

https://github.com/google/styleguide/blob/gh-pages/htmlcssgu...
exactly, that is what I am saying.
According to 4/2chan posters from Japan it's all about money. Men are expected to have a career by age 30something and be set for a family, if they don't it's seen as shameful so they don't try to date. Too many low paying jobs, with fleeting job security, and no support for single women to raise a family.
Not a Boeing but the Airbus A300 predates fly-by-wire and the pilot stamping on the rudder pedals snapped the tail off of AA Flight 587 [1] - you might reasonably expect FBW to have intervened.

1: https://en.wikipedia.org/wiki/American_Airlines_Flight_587
You're essentially arguing for SSH security to be reduced to the "something you know" prong of multifactor authentication.
In the grand scheme of things, this feels like throwing the baby out with the bath-water. The example shows a huge savings in file size, percentage-wise, because it's an extremely contrived one, being optimized for making sure these sort of optional things are a large proportion of the total document.

Real documents don't look anything like this example. They have lots of meta tags and they have footers and they are expected to be read by a wider variety of user agents than "Google Chrome on Windows" and "Google Chrome on Android".[0]

Part of the problem is that we treat HTML as a canonical data format, when it should be a rendered data format. That's not to say that you shouldn't hand-write HTML for your small site[1], but if you're deploying more pages than can be managed by hand, then you should be A) use a data format for your content that is as rich as absolutely possible, and B) statically rendering that data down to a transmission format.

[0] I shudder to think what screen readers might think of this sort of markup. I mean, I make VR applications in the browser, but I still make sure the data is semantic. It's our duty to do so.

[1] AKA "the vast majority of cases". I whole-heartedly believe that new ventures--before it is known how large they will be--should be hand-written.
There are a couple ways you could do this, though according to jerf in a comment below, banks often don't implement transactions as commutative.

Most commonly things like this are done by somehow reifying the operation as data and attaching some information to determine ordering. One way would be to attach a timestamp to bank transactions. By itself, that would be enough to ensure bank transactions commute (but without bounds on clock synchronization, wouldn't guarantee that you see those operations in the order you issue them). You could also require a single consistent read to an account to get a state version number and attach an incremented version of that in your transaction. Ties in both cases could be resolved by account id of the person initiating the transaction.
Why didn't they decide to keep the strictness, but only in dev mode? Lets say after you checked some checkbox in browser settings or if you had dev tools opened.
> A coarse summary might be that Airbus drivers are negotiating with a computer while Boeing drivers are generally flying the airplane.

Would you mind taking a moment to spell out what these statements mean to a non-pilot?

(For example, I expect that Airbus pilots still operate controls which affect the movement of the airplane; they aren't typing parameters into a computer. And I expect Boeing pilot's actions are still mediated by a computer.)
Japan isn't going to change in that regard anytime soon. They'd definitely rather have less Japanese people, and have them still be what they consider "Japanese" enough. Japan has many wonderful aspects to it, but the racism and nationalism are not part of them.
There are ~200k sheep in Norway, about 1mil livestock total [1] and less than 100 wolves. Unless these wolves have devoted themselves totally to taking down sheep, the idea that they're a real issue is preposterous.

[1] http://ec.europa.eu/eurostat/statistics-explained/index.php/...
Try Ruby on Rails with Amazon RDS. Simple. Battle-tested. No lock-in.
This sounds like it was written by someone who has no direct experience (side note: selling people food you made in your home kitchen is illegal) and I am pretty sure restaurants, generally, aren't like tech startups, where you experiment to get product-market fit and so on.

People like food, they want to eat it, and chances are high you're making food that's generally recognizable as such and part of a general culinary category and price range. There are acceptable standards for service, wait times, cleanliness, and so on, that you can meet or exceed to provide a certain level of experience.

From what I understand, and being around the business, restaurants almost invariably sink or swim based on how good a real estate deal they've been able to get, and their ability to have a stable staff and be relentless about controlling costs, things like spoilage, advance planning, etc.

Software based startups are all about growth. You fuck around as you describe and when you nail the product it grows like crazy at a very low marginal cost.

Restaurant economics essentially look nothing like that. They aren't about growth, they are about margins, and since they have to be highly price competitive, that means fundamentally the business is about managing expenses.
But Google is bringing(slowly) Android into chrome, an it gets some decent reviews:

http://www.pcworld.com/article/3086871/chromebooks/how-andro...

As for ARM inside the chromebooks : currently Intel sells chromebooks chips at low prices , and for a relatively smaller segment of the market - so they're OK with that.

What happens when ARM chips improve, and chromebooks hold a much larger share?
Is it wrong for me to see that devaluation of human relationship in your linked thesis as Marx's theory of alienation without the capitalist critique?

>The theoretic basis of alienation, within the capitalist mode of production, is that the worker invariably loses the ability to determine life and destiny, when deprived of the right to think (conceive) of themselves as the director of their own actions; to determine the character of said actions; to define relationships with other people.

https://en.wikipedia.org/wiki/Marx%27s_theory_of_alienation
Emacs 25 Released
Just because that restaurant had a line out the door, doesn't mean that it was a successful business. Often food and beverage "businesses" will be incredibly busy, but not be turning a profit.

Restaurants have horrendously low margins[0] - from 1% - 5%, so even if you're selling hundreds of plates of pasta/burger/lobster it's quite possible that your restaurant is making a loss.

[0]: https://www.sageworks.com/pdf/Data_Release_06102014.pdf
Developing their Ad product, becoming a profitable company.
Further aside: it's funny that in popular use, "abstract" means "unintelligible", but in math, it means "well defined shorthand", for the purposes of making bigger problems approachable, at all.
https://google.github.io/styleguide/htmlcssguide.xml?showone...

How is adding a space after ":" any more consistent than having none? No space between property and value is more unique and searchable should you need to find something or do search/replace.
This simply doesn't make sense.

Yes, certainly, content should be made accessibly available. Yes, certainly, Berkeley's responsibility is to its enrolled students.

But removing content from public access serves neither of those needs. It doesn't help the blind, deaf or otherwise handicapped; it doesn't help tuition-paying students.

It makes everyone equal, in the same sense that an eye for an eye makes everyone equal.
> The typo explanation is acceptable when I just see some comment I posted being reordered after a page refresh. It's less so if I get locked out of my account because my password change hasn't fully replicated to all servers (and even less so if my consistency model doesn't converge).

The typo model is merely meant to explain why it happened. You'd be no more happy if you were locked out of a door because a locksmith fat-fingered the code on setting a pin. Not all typos are harmless, and that wasn't the point of my analogy.

Helping people understand why these technology mistakes happen -- through intuitive models like typos -- helps us discuss when mistakes are and aren't acceptable, and how we're going to address the cases where they're not. It simply gives me a way to discuss it with non-technical people: under what situations would a person doing the computer's job making a typo be catastrophic instead of merely annoying?

Most managers or clients can understand that question, at an intuitive level.

> But in most cases, I think its advisable to start with stronger consistency semantics and only weaken them when a need presents itself.

Completely agree! Unless you have a specific reason it's necessary for you, you likely don't have to actually address the inconsistency directly and are better off letting the database handle that for you.
Postgres: https://github.com/postgres/postgres
I would guess that it requires a phased array of transducers, and that the signal processing requirements are hugely compute intensive. Until recently, that would have been a non-starter because of cost.
Three unconventional interview questions
No question that thought is comforting, but that is the example of the benefit which never appears before your eyes (i.e. it is not tangible, unlike the converse). I am not saying people should stop working on autonomous cars, it was just a comment on how fraught with moral weight the occupation is, particularly for the pioneers.
UITableView Customization and Custom UITableViewCell
I blame the perpetual-beta mentality along with lazy development practices.

Used to be, we specced out exactly what was in a release and no more. Now, it's just whatever they can cram in under a deadline without all that "unnecessary" optimization.

I'm probably as guilty as anyone else; I like getting a paycheck and so I keep my mouth shut, even though shit like that literally keeps me up some nights.
Yelp says lawsuit might eliminate all negative reviews
Previous versions of chrome...
> There is nothing to the concept of "knowing what you are talking about" when selecting who to fund and who not IMO.

I disagree. For example, clearly the head of the Museum of Modern Art in NY would make better decisions than I would about who to fund, because they know what they are talking about.

That knowledge and its application aren't perfect, but they do add necessary value.
Why should I use this instead of plain CSS?
Salaries are definitely high in the big companies, but compensation isn't everything. And rankings for best workplaces don't include smaller companies who don't have time to apply for those rankings.

Your points are valid, but they're not the complete picture. Otherwise we'd all be clamoring for jobs at Googlezonsoft, but as sentiment shows in this thread; that's not the case.

My main point was to emphasize that it's possible to find job satisfaction outside of the big companies and that one has to question and determine if a big company would be a good fit, or is it purely an ego thing.
Your quote reminds me of Robin Hood.
so all else being equal cheap money shouldn't increase the proportion of stupid investments

All else isn't equal because it's not a free market. You can't just say "Oh, Uber looks good, I think I'll invest in them." It's not even rivalrous, it's simply private.

So, cheap investor money has to find an outlet some other way.
How to convert an Autotools project to Meson
It wouldn't surprise me if some Japanese viewed the atomic bombings as an unwarranted act of unprovoked aggression - and they may not be entirely unjustified if they do.

From their point of view, it probably seemed as if the US had already won and just decided to spike the football.
I'm waiting for a distributed system, any non-profit has to comply with government censorship.
TSMC is already investing more than Intel in fabs.
They are not saying that the space is more consistent than having none, just says that you always should use one style consistently (and that this specific style guide has chosen to add one space as the thing to do).
News orgs sue FBI for details on San Bernardino iPhone exploit
I'm not saying the non-profit couldn't have advertising just that someone would have more control over their personal data with an option to pay to opt-out. Maybe use transactions to cover their usage. options for data storage and clients

I think it's focus would be on control and transparency. Of course, salaries have to be paid etc. but as the large companies control more and more of communication, distribution, and marketplaces (all of which are winner take all markets) I see serious problems ahead.

Especially the way VCs have skewed business growth with their herd mentality and the stock market not punishing tech companies for hoarding money and not paying out dividends.
totally off the subject: when I saw that logo, this was all I could think of:

http://bignum.sourceforge.net/primebear.html
That's just because of ordering, though. Test it:

<html>
<body></body>
<head><script>alert(document.body);</script></head>
</html>

works fine. It's not a head vs. body distinction, it's just that the parser is stopped during inline scripts, and doing e.g. getElementById won't work if the script is declared after you.

This is why window.onload and then jQuery's document.ready, and later, putting the script at the end of your file, is a best practice.
I have one in my work browser to redirect a journal’s website example.com to example.com.library.university.example.net in order to get the full access. Having a simple button for this made my life a lot easier, though I admit that it is somewhat of an unusual case.
I just released a VNC client for Hololens, for the express purpose of exposing my Mac to that environment, for development. The resolution is absolutely fantastic. The thing about Hololens is that the resolution all depends on where the window is in reference to you; I don't know how they do what they do, but there's no blurriness, no jaggies in the least. I'm not one for hyperbole when it comes to tech, especially that in development, but I will say this: it's the closest to magic I've ever seen.

Edit: I should probably actually link it, since people might see this! https://www.microsoft.com/en-us/store/p/vncaster/9nblggh528q... Don't judge the text by the screenshots; for whatever reason, they threw a 640x480 camera on the front, and downscale everything for that. What looks like magic in real life, looks like shit in screenshots. If they don't fix that with Hololens v2, there's a serious problem with their priorities.
In the technology that enables HFT, sure. And like I said, they were expanding their expertise beyond nuclear proliferation experts. Having experts in other areas is valuable. Surely you're aware that the intersection of networking technology and nuclear concerns is non-empty.
In my head I divided by 52 but then for some reason divided again by 4 thinking that was per month.
And of course, the explicit connection drawn to the raison d'être of this site: "Manhattan restaurants seem to be the original example of the business model taken to its extremes by Uber and others in Silicon Valley, of investor capital subsidizing, semi-permanently, the customer experience."
It's kind of a shame that this article devolves into political discussion, as that is the least interesting aspect of the thing.

Public speaking is hard af, and being even decent at it pays dividends.
Trust Me, I am (not only) an Engineer
> If you don't have minimum standards for accessibility, you perpetuate a two-class system

Reality is a multi-class system. It's always and everywhere going to be more difficult to get things done when one lacks a capacity which most people have (e.g. sight, hearing or mobility); it's always and everywhere going to be easier to get things done when one possesses a capacity which most people lack (e.g. intelligence, strength or wealthy parents).

Measures which aim to level the playing field really can't raise those who lack up: all they can do is lower those who have. But that leaves us all poorer in the end, because those who could have achieved did not.

Harrison Bergeron was a cautionary tale, not a guidebook.
World Strongest Kid in a Power Lifting Competition
The coding tools of the future probably won't be so file/text based. At any given moment you're only really focused on a couple lines of code. That's what I think anyway.
It does feel weird to see that the world's souvenirs are largely made in China. I like my lamps I bought in Istanbul, but I could have bought not just a similar lamp, but quite possibly an identical one, online.
The Muse (YC W12) Is Hiring a Senior Front-End Engineer
We visited India last summer. We had been warned by other travelers, blogs, and even the Indian Railways employees, that we should stay with the higher class cars. When getting tickets from Agra (where the Taj Mahal is) to go north, they were one short for our group, so I volunteered to stay by myself in the lower (sleeper) class.

We got on the train around midnight, and I stumbled around looking for my berth. Everyone was asleep. An IR employee, who was genuinely happy that I was there, helped me find the spot. I was paranoid and alone in a train car filled with strangers.

The next morning, I felt like a fool for feeling that way. I awoke to find my 5 other cabin-mates sitting around the small central table, quietly talking so as not to disturb me. Suddenly we were all talking, even though I spoke almost no Hindi and they spoke almost no English, and they were all feeding me delicious home-cooked food that was unlike anything I had ever had. That experience was a demonstration of the power of technology to connect people in unexpected ways as well - we were showing each other maps of our home towns, pictures of my family and city, and translating hindi words on a smartphone as we made our way through rural India. One of my favorite experiences of the trip only happened because I couldn't get the ticket I wanted.

I think it's easy today to live in our own walled gardens, and being so connected means we don't need to move outside of them often - we'll just see our friends' posts, watch the stuff in our Netflix queues, and read the articles that we agree with. But, I still believe that sense of camaraderie with strangers is still there, based if nothing else on the fact that so many people crave it. We just have to move outside of our comfort zones and find it.
You obviously didn't grow up with a 1200 bit/s modem.
Isn't the AI supposed to do the learning?
As long as you're sure it will never be interpreted as HTML, you can do that. Which is harder than it should be, because doctype declarations are ignored. One lost header or unforseen embedding and everything after that <script /> tag gets eaten.
> Who made Anders Brevik the environment minister?

Whoa, you can't comment like that here. Even without that horrid bit, your comment is problematic for HN: we don't want overheated rants, and comments shouldn't go on about downvotes.

The kernel of a civil, substantive comment is detectable in what you posted. When commenting here, please develop that part and edit out all the rest.

https://news.ycombinator.com/newsguidelines.html
Python vs. Dataflows
After using pug, I don't think I can go back to plain HTML. I didn't know how much i hated closing tags.
Under this model, drone operators should get paid $100M/year

Sounds good to me.
The traditional way the Sami people manage wolves is by systematically killing all of them. The method they do this is that whenever anyone finds any prints on the snow, they encircle the area, laying a kind of "streamer" that smells like people (so wolves don't want to approach it), constantly reducing the area until the wolfpack is trapped in a small enough area that they cannot hide or escape and can be slaughtered.

The reindeer herding areas of Lapland have no wolves, and have not had any for any long period during recorded history. The Sami claim the right to kill all wolves on their territory despite environmental legislation and their endangered status as part of their unalienable rights as indigenous people.
It totally changes the game and it's even worse on an amateur level. Professionals are making 80-90% of their shots, and the sweeping techniques were pushing that percentage higher. However, amateurs are only making 50% of their shots, and this technique/fabric can make a shot go from a miss to a perfect hit. Although the WCF did rule that for local bonspiels (tournaments), any fabric can be used so this discussion for the amateur level is quite moot.
Tasmanian Devils Fight Cancer
The problem with the DAO is that despite the theory, it was not "accountable and transparent".
I biked to my friend's houses when I was a kid, but any more it seems like the suburbs are just too spread out to make that practical for a lot of kids. The traffic is also fast-moving and unaccustomed to looking for road users who aren't also in cars.