skysight-inc/HackerNews huggingface dataset:
>I bet there is a correlation between age of having children and lifespan.

There is (at least for women).

https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4270889/

> A significant association for later maternal age was found whereby women who had their last child beyond the age of 33 years had twice the odds of survival to the top 5th percentile of survival of their birth cohorts compared to women who had their last child by age 29 (OR=2.08, 95%CI 1.13; 3.92 for age between 33 and 37 years and OR=1.92, 95% CI 1.03; 3.68 for older age).

It's important to know though that delaying childbirth among women is associated with all sorts of other "healthy" factors like high education, high income, stable marriage, etc.
Please stop saying "CSS is for appearance, Javascript is for behavior."

Not since the 1990s has it been feasible to write a nontrivial app in which javascript doesn't impact the appearance of a web application.

The real choice is whether one does 50% of the "graphical stuff" in CSS and the other 50% in javascript... Or, instead, one just does 100% of the "graphical stuff" in javascript (independent of the merits of either approach- It may still make more sense to leverage CSS as much as possible, though I'm a skeptic of that viewpoint as well.)
There is the Belgium model.. and this seems to be supported by EU law:

https://www.ft.com/content/d736fe48-a912-11e3-bf0c-00144feab...
My healthcare plan costs me $1,200/month for my family of 4. It went up nearly 30% this year and is expected to do the same next year. Give it a few years and it will be $2,000! I have a good job, but if that keeps going I won't have any choice but pay the fine/tax.

So back to the $1,000 phone. If all phones cost $1000 - I'd be more likely to go without one.
In twenty years of commenting on the internet, I've never insulted someone's physical abilities. Maybe you are just lacking empathy or deliberately clueless.
> I don't know if this question has been investigated.

One should hope that this will be thoroughly investigated, lest we set precedent on an issue that leads to so many worrisome open doors for abuse in the future. These are not medical professionals bound by an oath and consequences; this feels like where I draw the line.
I even use CSS in JSX, while some people would consider JSX alone madness already, but it feels really nice to write it that way.
I think it's truer these days than most of us would admit. The current Shelby Mustang placed only behind the McLaren 570S in Motortrend's 2016 best driver's car contest, beating out the Merc, Aston Martin, Porsche, and others[0]. The BRZ might not be fast, but it has almost universally positive reviews anyway because it handles and drives so damn well[1]. Even the $23k Ford Focus ST gets positive reviews as a great driving car[2]. You can get a fantastic sports car for well under $75k these days.

0: http://www.motortrend.com/cars/mclaren/570/2016/2016-motor-t...
1: https://jalopnik.com/what-nobody-understands-about-the-subar...
2: http://www.automobilemag.com/news/2016-ford-focus-st-one-wee...
China to U.S.: Please stop sending us your junk
Wow. That last bullet point is particularly remarkable to me - both the implied level of 'technological understanding' and presumed foreplanning for significant journeys 30K years back and for the capacity of oral history to record what come today might not be the most pertinent information.

Also quite amusing in the context of contemporary Australia's philosophy where alien plants and animals are concerned! :)
Ask HN: How to secure an old android phone that is no longer supported
does anyone know any tips to update an older phone that is no longer supported by the manufacturer/carrier (I am not sure which)

I am still stuck on Marshmellow and find myself increasingly frustrated by the lack of updates especially when reading about the recent issues on the September Android Security Bulletin [0]

I am considering LineageOS but I think I am done with android in general and I do not think postmarketOS is developed to a point where I could make phone calls and texts or participate in data plans.

my preference in the immediate near future is to keep my phone without changing OS but know I will switch to postmarketOS type solution as soon as it is ready for general use (phone/data/work with carrier cell towers)

[0]https://source.android.com/security/bulletin/2017-09-01
Only thing I don't get on HN, is the number on the left of the title. What purpose does that serve?
> It baffles me then, when CSS in JS advocates argue for essentially the "copy and paste" methodology when it comes to styling.

This is incorrect. Even if you're using JS for styles you still follow best abstraction practices -- just instead of importing your colors and mixins from another LESS file you're importing them from another JS file. It's no different then designing a styling framework in pure CSS.

What the author is missing here is the biggest single problem with pure CSS -- reusability. Frameworks like React make it incredibly easy to reuse a widget's logic, but what happens when I want to change the styles? JS-in-CSS allows you to do that as part of the widget's API.
Doesn't it break the separation of concerns ? JSX is already a big red flag in that respect.
I have highly been enjoying "CSS" in JS with React and things like Radium and AphroditeCSS
"there's money to be made in the field "

With salaries in Berlin of $80k and >$100k or $150k in the valley, they currently don't think there is money made in that field? Wow. I do consider $100k a lot of money but YMMV.

"offer relocation assistance?"

Yes everyone I know does this.

"Are your potential hires aware of that?"

Yes.

"It seems to work relatively well for oil companies"

I have no data on oil companies or any experience with oil companies and if they have problems with finding enought good engineers or not. If you have any data, would be interesting, especially on the elasticity of that job market.

I can only speak about software development and hiring people for 20+ years, no clue about other fields.

"you need to compete with Swiss companies"

So I increase the salary to compete with Swiss companies, they increase salaries, holes move around.

Aside from that I assume Swiss companies already have their own holes - at least considering all the executive search calls I get.

You only can plug the holes with more engineers, not higher salaries (above a certain point). And it's questionable you can pull in more people into CS when salaries are already very high compared to most other occupations (but I have no numbers on the elasticity of the engineering job market).

Also: If most ads do not show salary information, how can I get more good engineers interviewing with higher salaries? The problem was not getting good engineers when they showed up for an interview, the problem was getting enough resumes - a problem everyone has outside Google,FB,...

We did some A/B testing on job ads, including salary information did not help. I'm a proponent for

https://stackoverflow.com/company/salary/calculator

But yes, I would double the salary and let go of half of the people if joining a company as CTO, I'm not against increasing salaries, but they don't close holes from my experience.
What happened to the MIT Administration? Ever since Aaron Swartz death, it seems the administration of the school has been corrupted by some influence.

My guess is that, like so many universities in this country, the administration is not answerable to students or even alumni.
From yesterday: Legal Marijuana Is Almost Here, If Only Pot Farmers Were on Board[0]

> California, which by one estimate produces seven times more marijuana than it consumes, will probably continue to be a major exporter — illegally — to other states. In part, that is because of the huge incentive to stay in the black market: marijuana on the East Coast sells for several times more than in California.

Interstate cannabis transport legalization appears to be the hurdle to California's reaping tax benefits from the industry. How will legalization in a few New England states impact Northern California's economy?

[0] https://news.ycombinator.com/item?id=15210766
I'm willing to do take home projects when I know how they'll be evaluated. If you are willing to ask me to commit my time to something, and let me know what I'm getting for my investment of time, that goes a long way.

As an interviewer, I tend to avoid paying applicants. It just feels odd. Instead, I try to make the opportunity (interview plus potential job) as enticing as I can. Once it gets out that an that an interviewee pays interviewees, I'd be concerned that I'd attract "professional" interviewees who just want the money. As a blood bank, I wouldn't pay people to donate blood either for reasons that feel similar.
This article is a little bit flawed and a little click-bait-y also.

CSS-in-JS is more or less enforced-CSS-modules + some sugar + a different way to author your styles.

Most of the arguments there are against CSS modules, or “isolated styles”.
Should we blame Comcast for attempting to maximize their own profits in legal ways (the purpose for which their company exists)? Or is it the government's fault for allowing lobbyists to exert that kind of control over legislation? One of the two organizations has the power to create and enforce laws; the other does not.
Implementing surveillance of telecommunications and disclosure of information
The rumor that I heard was that the student leadership of Senior House was dealing cocaine to students, and was using their clout to do so (for example, by advertising to mailing lists of Senior House residents). Which might have been fine normally, but this was during this turnaround process, which made MIT administration think that people were not taking this seriously. At one point MIT thought it would be fine to allow only those students who were taking the turnaround seriously, and sort of recreate the image of Senior House. Then Senior House alumni started internet harassment campaigns against specific people in the MIT administration, so MIT decided to just shut the dorm down.
> I don't want a smartphone that only a couple of million bought

Not sure if serious ...
> No pressure sensitive touch-ID which fails to work with aging users (try to explain the concept to a +80 yo).

It can just be disabled in the phone settings.
> A simple Google search shows the redeemed camp isn't located in Lagos but Ogun State.

"The Redeemed Christian Church of God’s international headquarters in Ogun state has been transformed from a mere megachurch to an entire neighbourhood"

It says as much right there in the article.
They shouldn't tackle this at all...
Same.

The only thing that intrigues me is that you can make pretty website for the paranoids who run hard script blockers.
The point is everyone has the potential to learn to code. You don't have to be born a genius or super special to do it. With enough effort and time anyone can pick it up. There's a lot of people who think "Oh, I am not smart enough to learn that" but anyone can provided they put in the time and effort.

There's things that can make it take longer of course. If you're not familiar with computers at all, or have never even owned a computer in your life of course you will take longer to learn. If you are not an analytical person you will have to train your brain. If you're bad at even basic math you'll have to learn that too. You may have to do more learning than other people to learn to code but you can still do it.
> If you're new to this space, some of the practices to check out include OOCSS, SMACSS, BEM, ITCSS, and ECSS.

These practices sound a bit outdated to be recommended to someone new to the space. Forget any of these and just use CSS Modules, it guarantees you not only namespacing but explicit dependency between your CSS, which most of these conventions -- which require developer effort and compliance -- can't really offer.
That's the absolute worst thing about EVERYTHING on the web. It's usually a video of absolute nonsense too, for example just bullet points from the text below. As if we've got shitty powerpoints, with sound, that play every, single, page. Drives me insane.
The should just call it by it's price tag.

iPhone $1k
iPhone $1.2k
iPhone $2k
...
Sharing Amsterdam’s story of transformation into a city for people
"As the lead for ZURB Foundation, I've trained hundreds of people on frontend frameworks and best practices."

Ok, this kinda explains everything.
They also said that they had to either kill or be killed. Which you conveniently omitted. And given everything I've read about many of these tribes, they will not hesitate to fire arrows at you even if you're a futuristic helicopter hovering 300 feet above them simply observing
> Imagine being big enough to basically absorb the billions in fines from the EU.

These billions in fines are based on % of revenue; so by definition almost every business will be able to absorb the EU's fines; it's this big to be an actual disincentive to an entity that is Google-sized.

Large entities are in many ways actually far easier to regulate than small entities, since you can actually keep track of them and hold them accountable.
not really, especially considering it has the same author as electron
Yes, I did. But then I also saw similar issues on other people's phones (both crappy ones and good, but _old_ ones - the latter probably can be blamed on flash degradation).
The problem is not with patent law here, it's sovereign immunity for tribes being used to protect IP after it's expired.
Pretty much all of it. Except for askscience which is pretty strict on it
The thing you have to always remember is there is no specific language that is JavaScript.
Zipline has no drone delivery operations in California, or anywhere in the US. That article was about starting operations in Maryland and Washington, but neither operation has started yet. They currently operate only in Rwanda, and should start in Tanzania.

http://www.flyzipline.com/service/
China to Ban Gas and Diesel Cars
Agreed. Getting regulations in place for a new $5 billion industry is a huge issue.
I don't think this guy gets it.

In real life large web apps CSS is very coupled to behaviour and DOM structure. A large part of the advances towards _adaptable_ component-based code comes only when you let go of principles like DRY.

Let me put it this way, if I come along to change a feature in one of the 100s or 1000s of components in a project I _only_ want to think about the JS and CSS in that component's folder. I don't want to think about how that component exists in a vast web of generic CSS utilities and abstracted decoupled code. Copy and pasting CSS properties is cheap. Conversely overly abstracting your presentational code is a short cut to expensive CSS spaghetti.

It's about component encapsulation, which intimately includes its visual presentation. If you can't think of your component as encapsulated single unit then you might as well not be using components. And if you're not using components, then for the love of God don't use CSS in JS.
DeepWalk implementation in C++
Yeah I'm really sick and tired of seeing these articles that add no value. Nothing has added more value in front end development in the last 5 years more than using JS for more and more of the view logic so why stop at HTML?
>...what we call web frameworks are transforming from runtime libraries into optimizing compilers.

I took that to mean that the frameworks are doing the optimization. But the article doesn't give examples of the frameworks. The only examples of code transforming optimizations are Uglify and Babel. So I thought maybe these were the things the author has in mind and not actual frameworks. I was genuinely confused and prefaced with the aside about pedantry because questioning these kinds of semantics can come across as pedantic.

The second half of my comment stands regardless.
The copy-paste problem is true.

But on the other hand, I often end up with a few "primitive" base components that use CSS-in-JS and reuse these components.

So I have a few components with "inline" styles and the rest uses these components.

For a refactor I simply have to change these components.
Yeah, don't write about it though, this has cost me -1 karma. I guess people like this less /than/ i expected.
Do you have any numbers on that? I don't sense a particular racial component to prosperity preaching in America. I have heard that it's particularly popular in developing countries, though, for what it's worth. That's not to say there aren't many, many prosperity gospel megachurches in the U.S., but they're not especially prominent compared to evangelical, catholic, or mainstream protestant ones.
The real problem with programming in JavaScript
Well, since the problem is economic, the stink has to be economic. 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.

Despite how much time we all spend solving problems we fear we have but don't really have, most devs don't actually have the option to spend significant portions of their time optimizing, even if they want to. I've been exposed to squeezing large games down onto a Wii console because it was a requirement to ship, but not because we cared about bloat. We did care about bloat, btw, but we didn't spend anywhere near as much time reducing file sizes on the PS3 as on the Wii, even though we could. It was an organizational decision that I had almost no control over.
its the same in the UK there is a scandal where high schools are kicking out sixth form students and refusing to enter them for A levels to flatter the schools place in the league tables - this is actually illegal.

its like you where kicked out of your US high school and not allowed to graduate
Yeah, the Ford drives better :P

http://www.motortrend.com/cars/mclaren/570/2016/2016-motor-t...
> PS To buy a plot of land in some of the areas cited in the article e.g. Ikoyi it could cost up to $300 million dollars per plot.

There is no plot of land in any estate in Nigeria worth $300 million.
There are a largish number of issues converging here. Broadly the naive idea that power and control is used for good needs to be jettisoned. It only seeks its own concentration with negative outcomes for everyone else, and thus requires societal intervention before it becomes a problem.

Neither Google or Facebook are innovative. Search is not innovation, for Google efficient, yes. Facebook is timing. The bulk of the hard work in computing is the result of decades of work by academics funded by the public. TCP/IP is the innovation. So market fundamentalists prone to come in when all the hard work is done and see perfect markets everywhere have little ground for complaints about innovation.

You can already see abuse of power in Google and Facebook. Zuckerberg's political ambitions will prevent egregious bad behavior for now but that just underlines the potential for abuse.

There are other issues too. Lobbying, inability to apply anti-competitive laws - amp is a glaring problem, and the wild west situation with tracking and user data, there needs to be some control and constraints here. You need to create a level playing field where disruption becomes possible and problems can be addressed by market forces before they take the field with them.
This place becomes more and more like reddit every day. Where is proper STEM discourse happening now?
Right now it more feel like 'uncanny valley' native.

They don't look as bad as a rendered webview, but they look distinctively different from the native implementation.

For example on Android, the ripple implementation is very different on Flutter.

It might even be that Flutter more closely adheres to the design spec, but since what I am used to is the actual Android implementation, the Flutter one feels wrong.

On top of some missing features like accessibility.

Perfs are also not entirely where they are promised, but that's a separate issue.
Citing that article:

> “It suggests that Aboriginal oral traditions may have endured for up to 30,000 years, and lends further weight to the idea that some Aboriginal myths pertaining to gigantic animals may be authentic records of extinct megafauna”

Wow ^ 2
You drop it and break the screen at your own fault and your card will replace it? Sorry I don't buy it.
I do not doubt the efficacy of microdosing.

I think that albert hoffman would be a little aghast at how LSD has been coopted so that it lets you work even harder, though. Certainly Huxley would be.

Using a chemical that, at best, has real theraputic potential and can provide meaningful insight into the world this way just seems tawdry to me.
I'm not suggesting that - look at big professional projects like Lineage, Paranoid and others.

I'd say it is a quite genuine option - you just need to know one person who can set you up once, updating is simple and streamlined.
Doesn't say anything about tunnels (another biz opportunity for The Boring Company?), or delivery via pneumatic tube.

It's also unclear if ballistic delivery plus a parachute qualifies as a vehicle. So, marijuana delivery by unpowered smart mortar . . . :-)
Well, if you use a 6-years-old phone and it works for you, then by all means, stick to it. I would, too.

In my case it's not about chasing the newest features and highest resolutions - it's about certainty of getting a quality product. I no longer want to risk getting a shitty, laggy phone, or a phone that turns into one after few months. I consider it not worth the frustration it causes in daily usage.
There's nothing on caniuse.com about CSS Modules, perhaps you could share a resource?

http://caniuse.com/#search=css%20modules

I don't need any fancy tools or precompilers/processors/etc to use BEM or SMACSS, so I think you may be mistaken about how Css Modules are comparable to the list given.
ah the old "Elf and safety ruse" beloved of beurocrats every where
> Keeping things 'DRY' and having reusable code rather than constantly repeating yourself is generally considered a good practice in software development. It enables fixes and changes to occur in one place, rather than having to be replicated a multitude of places throughout a codebase. It baffles me then, when CSS in JS advocates argue for essentially the "copy and paste" methodology when it comes to styling.

DRY means different things in different contexts - if you are writing a utility function that is pure and has no side effects, then of course you want to write the function once. The CSS cascade, however, has a tendency to spew side effects all over your application views (e.g. one style that affects a ton of different components), which you then need to override by adding new styles. But be careful, because your new styles have side effects also! Ad infinitum....

For this reason, I regard the CSS cascade as an anti-pattern in most situations. I think that ideally, you want to isolate most of your view specific css to a module attached to the view - so that you are pretty confident that it doesn't have any side effects AND it's easy to know when you can safely delete it. That way you can avoid specificity wars and doing a paranoid but justifiable 'Search in All Files' every time you want to change a style.
I wonder the the author controls the pricing, check out the pretty price graph over time: https://snap.philsnow.io/2017-09-11T08-33-57.uht5fvfr2cro9pf...