skysight-inc/HackerNews huggingface dataset:
> I've attempted to learn Rust a few times, and it always feel like I'm moving uphill.

Isn't this also because it's actually quite a bit different from other languages? I think how difficult something is to learn is largely dependent on how similar it is to something you already know.

I can see how from a business standpoint, being able to start coding is great, but I also feel a bit sad when I see people not really giving a language a real chance, especially when a week or two may not be all that significant in the long run, whereas choosing a technology is potentially pretty significant long term.
ALMA telescope reveals the Sun in new light
> than a wager informed by knowledge of the research on the factors that contribute to longevity.

Not the longevity that gets you to 100. The stats on centennials shows it's genetics. - see the Forbes article covering the people studying it.
> Working for the government doesn’t pay as well as a big company in Silicon Valley. We don’t get any free lunches. Many days are incredibly frustrating. All I can tell you is that the work is deeply important and inspiring, and you have a chance to work on things that genuinely make peoples’ lives better.

Pretty easy thing to say when you already have millions in your bank account.
It's the "stop-the-world" pauses that are problematic and that we've been talking about. Single-thread pauses are a fact of life, completely unavoidable with any dynamic memory allocation system even without GC (e.g. when malloc searches the free-lists).
That's a really crap excuse for inequality. The rising tide of technology has lifted all boats, but the political and economic system has systematically neglected working people. Fairness and technological progress aren't mutually incompatible. We don't have a choice between 1960s society and modern life, but a choice between modern life in an unfair system and modern life in a fair one.
You don't have to keep explaining the mechanism. I get the mechanism. But the fact that `foo == nil` can return false when foo is actually nil is indefensible. The fact that it crashes less than C does is not a defense here. Sorry.
I think it's also the removal of the constant stimuli competing for your attention with other forms of transportation. If you take a train, you're probably looking at your phone, or trying to catch up on something on your laptop en route. If you drive, you're likely listening to music, ads on the radio, an npr piece talking about something you like, etc.

Being on a bike, your priorities shift to keeping yourself alive occasionally, but mostly just thinking while moving forward. It's generally a good place to solve problems for me too.
Liquidity? You mean as in it is easy to find a different job? I guess that's good if you enjoy that sort of thing. But, I've been working a six figure developer job at the same company for the past 15 years and I'm thrilled that I don't have to worry about the liquidity of the market ;-)
Implicitly, everyone with a pension fund.
This is not an opinion piece by WSJ, the U.S. "Education Department released a memo saying that it had overstated student loan repayment rates".
Show HN: CloudBoost – Open-Source Parse, Firebase and Algolia Combined into One
I don't know if "free market actors" is exactly the right way to describe the two things he talks about. War is certainly not a function of the market, Wall Street is kind of a grey area that uses the language of free markets to describe something that is an odd state-empowered cartel. Clearly the bailout was not a "free market" event.

So...I don't think he is implicitly or explicitly saying anything about China's authoritarian regime. It wasn't free markets that lost the money he's speaking of. And, there wasn't a trade of that money for political freedoms and economic opportunities. The American people just got a bad deal out of their government and their financiers. They didn't buy freedom with that money, they just got fleeced.
What is code? (2015)
Hi Looking at the salary and that I'm in Baltimore making $135k as Sr. UI/UXer (designing/coding sites apps for Govt agencies) I'm not sure the salary range of up to $163k would be worth it. That's probably not for UI/UXers or is it?

My rent here in Baltimore with utilities is 2k ... if I moved to D.C. A lot of the additional salary would be absorbed by the doubling or tripling my cost of rent.

Thus I wonder why remote positions and or a mix of remote and on site one day a week is not being offered?
Amazing what happens when you stop bombarding your brain with social media and other screen time. The brain is probably getting less blood when exercising as muscles need it more.
My advice would be to incorporate it as part of your everyday life. Cycle to work, if you live far, get a battery assisted bike.
I am a massive fan of yoga as well, the general and core strength you need for that is incredible along with keeping your body limber (which helps fighting injuries and just generally helps with people sitting a lot).

Get in a pool and just go as fast as you can, for as long as you can. Take a short break, repeat. Do this for 15 minutes a day and you will experience a massive difference in your life.
High intensity training is very good and a pool exercises a lot of muscles, great cardio and very little strain on your body.

Aim for 20 minutes each day, 5 days a week.
I agree with you. Most of our work is on projects where something is very wrong.
Except for a few exceptional cases, eating right and exercising helps almost everyone feel and look better.
Customers don't understand what you're talking about and they don't like blackbox solutions.
I.e. ML-heavy offerings are throwing ML-rich buzzwords while customers want to solve problems who "talk" their language.
I'm interested in the arguments that the links contain, but I'm starting to see why I apparently never bothered to fully answer you in the first place...
BLS Payrolls: Publication anomaly for November very large this year
I'm glad you've brought this topic up, I've been meaning to ask about it on HN before. I'm not American, nor white, and I have trouble understanding the nuances of American race/religious/ethnic relations.

It seems from my perspective that when some negative or unpopular action is taken by a person of Jewish heritage, many times that is spoken of not as a Jewish problem but as a white people problem. Case in point, Mr Zuckerberg is clearly Jewish, but the GP comment didn't say "ultra elite (basically a "king" of today) Jewish man", they said "ultra elite (basically a "king" of today) white man. Why is this?

As another example, I've been hearing more and more how Hollywood has a lack of diversity and this is sometimes phrased as a white people problem in part because so many studio executives are white/Jewish. Now I agree that I would like to see more diversity in Hollywood, and in particular less stereotyping, but it seems to me that Jewish people are vastly overrepresented within the film industry. Yet I never hear the mainstream media say there are too many Jewish people in Hollywood, but I do hear that there are too many white people.

This all gets very confusing to someone trying to understanding American society.
Seems really similar to what Telegram has been trying to do for a while now. First with basic bots, then bots using custom keyboards and stickers, then with inline bots, and now with the game API (which basically allows you to package arbitrary HTML/JS/CSS into a bot message).
For 99% of people here just push-ups will be much better than nothing, it's much harder to find a pull up bar than do push-ups. You won't get overdeveloped muscle just from push-ups.
Indeed. Although I think one big difference is that Australians are occasionally forced to face reality en masse, the last time being around the late-80s early-90s. I think we're due for another dose of reality, now that the mining boom is over and we can no longer sustain our current economic model (which is indistinguishable from a ponzi scheme).

As Donald Horne wrote in his book, The Lucky Country: "Australia is a lucky country run mainly by second rate people who share its luck. It lives on other people's ideas, and, although its ordinary people are adaptable, most of its leaders (in all fields) so lack curiosity about the events that surround them that they are often taken by surprise."[0]

[0] https://en.wikipedia.org/wiki/The_Lucky_Country
Where bug reports go.
Theranos closes last blood-testing lab after reportedly failing an inspection
Those are certainly examples of countries that have gone backwards in income and life expectancy over some of the recent years. However, the vast majority of countries have seen huge increases in average income and life expectancy over the last 100 years, 50 years, etc.

Source: https://www.gapminder.org/tools/#_chart-type=bubbles
Show HN: Open GitHub issues mentioned in commits directly from tig
The big thing for me in this regard is not worrying about dependencies (in a lot of cases). With Rust, when someone asks me for a script that does X, I can compile and ship a binary and they run it end of story. With python, I say "ok, now install python version whatever, then install pip, and then pip install all this stuff, and finally run my script"
By security, i was more thinking of dealing with exceptions and error. I should have used Fault tolerance.

And i was not comparing Java to C# or Python here, but that is probably due to my personal background, which is more with OCaml, Erlang, C, Rust and co.
Calling a competitor to Apple, Facebook and Co "unstoppable juggernaut" is sarcasm, isn't it?
Scala's Somes cost an object as well, though (I believe) None is free in both Java and Scala.
Netflix's gamble pays off as subscriptions soar
The complicated lifetime stuff is pretty rare to run into unless you are doing some tricky things, like custom zero copy parsers or data structures or whatever.

The most important tricks I've learned are:

- Return types should usually be owned values, input types should often be references (or AsRefs). "Be explicit in what you return, and general in what you accept".

- If I'm going to be pointing into an array, its often easier to just pass around indexes instead.
How to Play DVD Discs with DVDFab Media Player 2
What would you say about chess, go, leading physicists, e-sports, professional sports, scientific breakthroughs, notable inventions? Do we need Magnus Carlsen to step aside for a woman 3 standard deviations below him, or a woman from an underrepresented minority 5 standard deviations below him, as is done in law school admissions? What conspiracy exists among corporations, whose existence is based on nothing more than profit, that the real priority is the #1 motivation of corporations is actually to hire men over women? If women are underpaid as enormously as Cosmopolitan claims, an all-woman business would out-compete the marketplace with a fraction of the personnel costs. That's the way the marketplace works.

Every single person should be given every opportunity as every other, but we shouldn't continue this state-forced results based on people's personal politics about how they believe the world works.

Why do we have issues with providing everyone with healthcare, clean water, and safety... We're bombing seven countries, funding jihadists in Syria, creating a surveillance police state. Some US cities have murder rates higher than any country in Africa or the Middle East. We can't provide everyone with housing, and we can't successfully protect our environment. Give me a break. This issue is not about human welfare, dignity or equality. This is about people's personal politics and lawyers finding a way to cash in on laws that may have been well intentioned but since gone out of control.
Ask HN: Where to draw the line on coding tests?
I'm sure this has been asked before, but my search turned up negative so here goes ... When is a coding test as part of a job interview too much?

I usually don't mind these tests and actually enjoy them as they usually involve some brief algorithm / data structure challenge that gives me an opportunity to quickly confirm I know what I'm doing.

However, I recently received a coding exercise from a startup that is substantially more involved. I estimate it would take at LEAST 3 hours of my time. It is also uncomfortably close to asking for a near-finished component that they could conceivably use as part of their product. (This is a startup that was just formed.) This is an initial test after a 30 minute intro call.

I'm not sure I want to invest that much time at such an early stage ... actually I'm pretty sure I don't. What's a polite way to say "no thanks" if I decline?
Oooh shots taken at Rust (~56:00). He claims rust doesn't have much adoption and swift caters better to application programmers. Wonder what the rust community thinks about it.
Even without a battery protection circuit, this wouldn't have happened if the device was properly vented. When li-ion cells go into thermal runaway, they produce large quantities of gas; that only causes an explosion if the device doesn't have sufficient venting to allow that gas to escape. If the mod had a couple of holes in the bottom, this chap would have escaped with nothing worse than minor burns to his hand.

This isn't a story about electronic cigarettes, but a story about people doing astonishingly stupid things with batteries. An exploding mod is the end result of a long chain of extremely bad decisions.
As far as I know hide doesn't change the order, it just skips some results. This is a far simpler problem than merging multiple sources of information into one result.
"we want to make government work better for the American people."

Sadly I don't think this is a non-partisan goal these days.
I would say don't fear for now. Google is pouring a lot of money there and want to win developers hearts. They have GA on web, to some extend, now want to grab your mobile and web data. I see it highly unlikely that Firebase will decelerate.

As an alternative, suggesting Countly (open source) - http://github.com/countly/countly-server - with crash reporting, push notifications and analytics.
It's the same thing for me, although I am not active at all.
I even get carded when buying beer (I have been able to buy beer in Norway for 18 years now).

When i was in Mexico last summer people kept asking what I ate and how I stayed so young. I don't do shit!.. Well I don't eat meat more than once or twice a week but I don't think that has anything to do with it.

Personally I believe that most of this stuff has to do with genes rather than exercise but, but I don't doubt that if you exercise moderately you will live longer than your genetic baseline.
Mozilla ditches the dinosaur, unveils new branding only a nerd could love
You might want to update your Hacker News profile :-)
Twitter.com only, or also Crashlytics services too?
I think it might be much more than $2 trillion the US spent on wars. Remember Sept 10th 2001? Donald Rumsfeld said on this day, they can't find out how they spent $2.3 trillion.
I'm curious why my comment was marked as dead with 1-2 minutes of posting it. I don't believe I have said anything inflammatory, have I?
This is a better writeup [1] but only includes one of the figures. For some context, the ALMA observatory is a radio telescope array that works at wavelengths of around a millimeter. The images show the intensity of the radio emission and are only in a false-color black-orange color scheme. These are the best images ever taken of the Sun at these wavelengths, you can see that the first two "zoom in images" are essentially focused just on that black pip centered in the third figure.

One thing that makes ALMA unique for these kind of observations is that it can actually observe the Sun--without melting the secondary mirrors from the focused sunlight that is. The antennas are designed to be reflective in the radio, but diffusely scatter optical and infrared light in all directions. The Swedish SEST observatory was not so lucky, and after accidentally pointing at the Sun it's secondary mirror burst into flames (see footnote 2 in [1], here are some pictures [2]).

[1] https://www.eurekalert.org/pub_releases/2017-01/e-aso011717....

[2] https://www.eso.org/public/images/?search=%2Bsest+%2Bfire (see footnote two in above)
Surely you have evidence of this?
This is a big thing for Swift - the 'optional' paradigm is totally unavoidable, and heavily affects the code as usage is fairly pervasive.

Not having used them much in the past, I rather don't like them, but I'm aware of the fact they could simply take getting used to.

Anyone chime in on whether or not Optionals are really the 'future of good syntax'? Or they are quirk? Or good in some cases, not for others?
Not very many good things have happened to Russia in the last 100 years.
Google Down?
Down for me and lots of chatter in twitter. 8.8.8.8 is also down.
I have, and it's what I live everyday! I'm just pretending to be interested in things. I figured I'd rather be sad surrounded by nice things, so the only thing that motivates me is money. I honestly don't give a damn about what I even do, but the pay is good, so I'm just rolling with it.

I was too scared of meds, so I never took any. Probably should've, in retrospect. Maybe I could've gotten fixed. Can't be helped now, I guess!
It's always about the choice between short-term vs long-term benefits, or between us and them, or rich and poor. When people don't act as if other people (or even themselves, in the future) are connected to them, they make bad choices in the long term. On personal terms it's a battle between temptation and moral action.

It's basically a problem of strategy in games (here, the game being well-being). There are two main strategies: optimize for low level features (immediate benefit) or high-level features (what you should do in order to succeed). Companies battle the same choices, often very rich and successful ones optimizing for short term instead of long term, as if they expect to close shop in a few years.

The main purpose of politics should be to balance the focus between short and long term strategies, but short term relies on corruption and long term on consciousness, so it's an uphill battle. It's also called principle of "delayed gratification" - few can handle the rigors of it.

With the new Trump administration we should prepare for a lot of short-term based choices that ignore the long-term consequences.
No sane person genuinely believes just as many woman as men want to work on oil rigs, or that it's even close. That's a very surprising case, yet very American, lawsuit though.
I've found the Rust community on Reddit to be very helpful. Every one of my questions, from borrow checker errors to compiler internals, has been answered within a day.
The new analysis shows that at more than 1,000 colleges and trade schools, or about a quarter of the total, at least half the students had defaulted or failed to pay down at least $1 on their debt within seven years.

I think this might be a matter of framing -- "failed to pay down at least $1 on their debt" might include students with a deferment who are planning on having the debt forgiven. That is, for better or worse, public policy of the United States; it seems weird to conflate that with default.

For example, if you have a Perkins Loan, you can defer during a period of service at any employer where 10+ years would get you loan forgiveness. That list is... rather expansive?

https://studentaid.ed.gov/sa/repay-loans/forgiveness-cancell...

Would I expect people graduating from e.g. a teaching college to largely make principle-decreasing loan payments given that this is our policy? No, I would not; it would require that they receive terrible financial advice.
Yep down for me too. Can't remember last time this happened. Is this another coordinated DDOS attack? It must be on a massive scale if so..
As someone who has been writing Swift for a year, I've definitely got some questions!
I'm not sure of any Chinese restaurants that have federal contracts.
According to Wikipedia[1], the biggest U.S. arms companies employ ~700.000 people, so I don't think you need to be a conspiracy theorist when you deduct from this that, if world peace were to settle to the globe it would mean less jobs for the people, less tax income for the government and less profit for the industry. Although most of the sales for these companies come from the U.S. government, according to TIME the export business isn't exactly pocket-change either[2].

[1] https://en.wikipedia.org/wiki/Arms_industry
[2] http://time.com/4161613/us-arms-sales-exports-weapons/
Sure. The program has a name. It is called NSEERS.

The info about it is all available publicly.
Well, at least for now, they're going to try the opposite approach and see what happens. An open letter to Trump from the US Press Corps:

http://www.cjr.org/covering_trump/trump_white_house_press_co...

"We’re going to work together. You have tried to divide us and use reporters’ deep competitive streaks to cause family fights. Those days are ending. We now recognize that the challenge of covering you requires that we cooperate and help one another whenever possible. So, when you shout down or ignore a reporter at a press conference who has said something you don’t like, you’re going to face a unified front."
I didn't take it that way; he said Rust was a very interesting language.

It seems like he believes pervasive borrow checking is not the right approach for the average application developer, even if it is the right approach for systems programming. He also mentioned eventually having a mode that only uses borrow-checking without ARC, e.g. for writing firmware.

Rust originally had lofty goals to support compile-time lifetime proving and GC mode; GC was abandoned for sensible reasons. Swift uses ARC, so it is trying to support full-ARC, mixed mode, and compile-time lifetime. Whether that is achievable remains to be seen.
From the article I posted:

"Under the Kuleana Act of 1850, those lands are also passed down to people who now only own fractions of an interest in the property."

And from Wikpedia:

"Another notable part of the Great Mahele was the Kuleana Act of 1850."

"The Great Māhele was one of the most important episodes of Hawaiian history, second only to the overthrow of the Hawaiian Kingdom. While intended to provide secure title to Hawaiians, it would eventually end up separating many of them from their land."

https://en.wikipedia.org/wiki/Great_M%C4%81hele

So that was the intention, but if you read further into the Wikipedia article it explains how many poorer Hawaiians did not understand the new laws and therefore lost their land to rich Hawaiians and the nobility.
Ask HN: Any programmer/developer using Windows as their primary OS?
As a trained epidemiologist, I regret that I have but one upvote to give.
If you use a standing desk, I'd recommend also getting a thick rubber mat for the floor (the industrial kind line chefs and people who stand for hours use, you can easily find these on Amazon).
Are you unfamiliar with semver and the promises it makes?

This is a rhetorical question, as there's no way you've been around here so long without knowing what it is. For everyone else, however, the notion is that code written for 1.0 will continue to work for additional 1.x releases. It says nothing about iterating on not-yet-baked features--that's what nightly is for, and as they become baked they become part of 1.x releases. They're not breaking backwards compatibility; the major version remains the major version.
What if the next page that you go to isn't on Reddit?
I think it's their dns service. Removed 8.8.8.8 and all is well again for me
Trump and the nuclear codes