skysight-inc/HackerNews huggingface dataset:
This is actually something about the code samples in Rust docs that irks me a bit.

My view is that sample code such as this should be as idiomatic as possible and that means providing a sample demonstrating a typical real use case. So seeing "unwrap" in this context doesn't sit well with me.

In fairness, this isn't specific to Rust. I find sample code like this in many projects regardless of language. However Rust is billing itself as a safe systems programming alternative to C and C++. It would help its marketing efforts, in my opinion, by having more robust samples than the competition. And let's be honest: given the competition is C and C++, that's a low, low bar--and this comes from a guy who's about as big a fanboy of those two languages as possible.

Edit for more disclaimer: documenting Rust code is a real pleasure. The team has done a stellar job at making documentation an easy thing to do while writing the code. It's already better in most cases than many other projects I can think of.
is doing something like this considered a political statement against israel?
I'm not sure I would like to live in a world with autonomous vehicles that were trained in Grand Theft Auto.
Lazy. I think we have enough strict JVM languages.
It's worth noting this isn't unique to MongoDB.
The "Marked" npm package, with it's 2 million downloads, doesn't sanitize input by default. "st", another popular package, allows directory listing by default. Quite a few of those...
Essential Angular: Testing
The so-called "EU cookie law" is at best seen as an annoyance by Web developers. Shouldn't have privacy expectations have merit on the web?
Contrary to decades of hype, curcumin alone is unlikely to boost health
A compiler that did this optimization would immediately introduce a pragma guaranteed to result in constant time memcmp from some blessed source pattern.

Maintainers of crypto libraries inspect the assembly when upgrading their compilers, test with many compilers and document the versions of compilers they support.
That's because borders stop them from accessing much greater wages.

Even if you find the situation bad, these researchers helped improve the situation.
On a related note, how does the `parse()` in `let addr = "127.0.0.1:12345".parse().unwrap();` work? I am assuming that this parses a IP:port string into its components, but it looks like this is just calling a method of the basic String class. So how does it infer what `parse()` is supposed to do?
So how is this any different from using a URL like `accounts.google.com.googlelogin.cz` instead? I mean, yes obviously using a `data:` URL is certainly creative, but is it really any more effective?
The success of FB is likely due to the networking effects of its users. Also, employees likely adjust by ducking into a conference room or working at home for a few hours to focus.
at the time these versions of mongodb were released, it was only a few years old, and DID require considerable domain knowledge to run in production. This does not seem unreasonable for new immature technologies.

unfortunately, I don't think this was always communicated effectively by the explosion of mongodb marketing and hype.
I want to know at what point this becomes treason. We have intelligence agencies trying to smear the PEOTUS and media agencies enthusiastically helping them. In other countries these are the steps the CIA takes before a coup happens.
whats next? a fake life size cut out image of a doctor with a smartphone attached to it for a speaker?

its sad that people have to die because they don't have access to the technology that's not that expensive and readily available in the "developed countries".

And now we have to come up with some pathetic paper gizmos to justify our actions? Are we really that developed? Seems to me that we are going backwards...
The real question is whether the incoming administration wants the government to work well. That's what 18F is about. There are many Republicans in Congress who don't want Government services to work effectively. Mr. Trump, though, may not think that way. He does like to fire people who underperform.
Early J2EE frameworks did that too. Super fun when your dev box clusters with a coworker and undoes your regression testing because half of the tests run on an older version of the code!
on a given day is the important bit.

I knew the housing market was going to crash, but I had no clue when. That's enough not to buy into a bubble, but not enough to make money from a bubble.
The price of doing a postdoc
Appropriate domain name given that in Serbian it's spelled Tokio as well.

(.rs being TLD of Republic of Serbia)
The larger lesson here is that there was zero feedback from the hiring team about why he didn't get a phone interview. That's a problem, especially since Google has been going out of their way to change the perception of their hiring process and make it less intimidating. Black box hiring hurts that effort.
I'd be super interested in seeing how this reacts to having a single star wanted level. At that level police cars will come to a stop almost perpendicular in front of your car. Will the AI be able to avoid an aggressive obstacle.

Also it'd be interesting to see how it reacts to getting shot at
Was there some complaint from another team or something? That is just so illogical.
The Dark Path
Well, even that seems the wrong name. Is it worth writing an article saying php, angular, react, and _JavaScript_ are popular in web development in 2016? I guess it's worth knowing that they still are?
Well, there's ADA.
I suspect for most diseases break the centrifuge (and vial) would not drastically raise the risk for the bystanders -- we have plenty of microscopic airborne particles with all sorts of bacteria around us already, especially in cities. And I think malaria would not be contagious at all this way.

It could be different for specifically engineered bio-weapon, but IMO the benefits of better detection far outweigh the risks, especially in the developing world.
When I worked retail, one of the cashier brought her (12 year old?) daughter to work one day and left her in the break room the whole time.

One of the CSRs had a previously criminal history, but was a nice guy and did good work. That day, the daughter accused him of molesting her. Because he had a criminal record, he ended up going back to jail. I don't know if he did it or not, but the daughter should not have been there in the first place. Had the cashier followed company policy, the situation couldn't have happened.

I'm not judging anyone, and no matter what actually happened, it's a horrible tragedy.
I feel the exact same way. I am electrical engineer by training. When I first moved to San Francisco, I would answer "yes" every time someone would ask "are you an engineer" but I quickly learned that when people said "engineer" 99% of the time they meant software engineers. I quickly became used to saying "no i'm not an engineer, at least not a software engineer."

To me, it's a fairly myopic culture. One of my friends, who has a Ph.D. in civil engineering and is a professor at Stanford has to do the same thing "oh no I'm not an engineer in the way you meant". It's insulting to all the other types of engineers out there (civil, mechanical, electrical, aeronautical, bme) who are somehow excluded from the definition engineer when you enter the Valley or software circles. No other engineering subtype abuses the language this way. It's even more mind boggling because no software engineer has a PE, which in some countries (not the US) is the only way you can call yourself an engineer.

As a whole, I think abusing the language is insulting to the diversity of engineers out there. While software engineering is probably the highest growth branch, that doesn't mean the other branches are just as relevant. In university, we never used the word engineering to mean just "electrical engineering", we actually used it when we were talking about the whole universe of engineers.

The funny thing is now that I've transitioned to software engineer, it feels good to be finally be able to say "Yes I'm an engineer."
I agree that it wouldn't be all that bad, but I disagree that they can't cause a complete standstill if they want to. If they have more than 50% of mining power, they simply refuse to build on top of the honest blocks (from the rest of the network). The clients will follow the longest chain.

However, it's a costly attack to maintain in electricity alone -- with a dwindling income, since your income is denominated in the currency you're attacking -- and it wouldn't take that long for bitcoiners to get sufficiently pissed and change the hashing algorithm, thereby disarming this attacker completely.
So, to be clear, unwrap is safe. It is never going to cause the sorts of memory issues that an uncontrolled crash is.

That is, in terms of safety, this is the same thing as explicitly handling the error and then terminating the process. Which is the only real way you're going to handle this error anyway, unless you wanted some sort of retry logic. Which you might!
Rust uses type inference to figure that out. Because `addr` gets passed to `TcpListener::bind` which requires a `SocketAddr`, the type inferencer knows that `addr` should be a SocketAddr and so it all works :)
It still doesn't change the fact that news orgs universally lack the time to conduct real journalism -- fake news is a direct result of reducing the time that journalists have to vet and verify content.

Frankly I'm quite happy about "fake news" proliferating, it makes obvious how hopeless and useless news orgs are. They peddle claptrap and tripe with reckless abandon.

Facebook could throw ten thousand engineers at the problem and 1) it wouldn't fix that nobody trusts Facebook 2) it wouldn't fix that nobody trusts news orgs. Fox News' "Fair and Balanced" slogan needs to taken as religious dogma -- everybody gets as voice and Facebook has no say in who can't speak.

To any news tweeps reading: combating "fake news" by partnering with Facebook is a partisan attempt at self-fellatio -- all you do is get yourself off without accomplishing anything. Conduct real journalism with well-paid staff that have the time to do their job and anonymously share it with the public is the only way to restore trust, not 1) procuring access to high-value talking heads (eg: celebrities, pundits, "experts") that will regurgitate your propaganda or 2) shoving out unverified garbage (eg: 99% of reporting on Trump this past election cycle) at light-speed.

#1 is just a sad attempt at remaining relevant while having someone authoritative make an empty appeal to viewers and #2 is plain laziness.
I guess trianing/testing the training might work well though
Agree. The documentation would make for a great talk. I'm going to spend a lot of time reading it, because the concepts it introduces are surely going to be useful no matter which tech i'll be using.
What is the distinction between a "line office" and HQ?
because "mainstream media" like nyt and wapo have well respected, educated journalists working around the clock to research stories and find evidence whereas "alternative media" is a guy in his moms basement making up stories. just as with science, people only dispute it when it goes against their own interests.
That's really slick. I wonder if F# does something similar with it's type accelerators? Always thought that C#/VB could benefit from something like that in the tooling.
No, you're right. I just don't want to swap out the frontends right now (again, stability). I'll definitely be cherry picking bug fixes and non-pervasive changes once I get a solid test/benchmark suite setup.
Seems to me more like the NewYorker has circulation issues.
Difficult to take this seriously.
Most Americans (and apparently Canadians) think their home is a very good place to park their entire net worth. Meaning they think its guaranteed to appreciate and appreciate faster than all other assets and investments a person has.

They also tend to only look at raw numbers that look impressive unless you don't think about it too much rather than the whole picture. Grandma bought her house in 1970 for $10,000 and sold in 2005 for $100,000 (made up example). Looks impressive at a glance, however, What's the carrying cost of the house, transaction costs, inflation, and the performance of other investment vehicles during that time period?

This thinking is part of what drove the 2000s housing bubble. Its also part of what causes people to become "house poor," meaning a very large part of their income and assets go towards their primary residence leaving them unable to save any money and have no retirement fund.

http://www.usatoday.com/story/money/personalfinance/2014/05/...

>a recent Gallup poll shows that Americans now believe housing is the best long-term investment, beating out stocks, bonds, and gold.

The reality is house prices stay about lock step with inflation on average over the long haul. There's other reasons why I house is a bad investment even if they did outpace inflation. Not that they are a bad thing to buy or own, I am a homeowner myself, its just not a great financial investment.

The American government also subsidizes home ownership in various ways which can play into the fantasy.

>I consider home/condo a utility, a bill paid for purpose; it can go up, but it can also go down.

This is a great attitude. A home can be a fantastic thing to own. It is great at providing housing! It can provide a sense of pride. Its just not a great financial investment and every portfolio should be diversified even if it were.
This isn't Reddit or Slashdot, it's not enough to cause a mild chuckle. Also your humor isn't very funny.
You can (possibly) categorize a person on a given single dimension in isolation at a time. But a person in the real world is the sum of countless dimensions, and the subset of dimensions that factor into a given decision or interaction is complex and fluid and effectively unpredictable.
How to Win $200,000 Playing Poker Against an AI
Rokerslong voorkomen of behandelen zonder geneesmiddelen and Recepten
Justify what actions?

How does this make the West go backward? The researches are helping to improve the situation.

If you are so concerned, you can go donate to charities that distribute vaccines.
The local news piece was by far the most interesting to me as well. Until recently, nearly all journalists got their starts in local news, and as Facebook correctly notes, it has the advantage of focusing on stories that actually impact the intended audience's day to day life. Also, since the readers are often closer to the actual events, players, and issues described, it's arguable that the readers are less susceptible to the opinion disguised as reporting that typifies much of partisan, new media (although I'll admit that this is arguable at best, and assumes that the readers actually want their reporting to be factual).
But back when I was starting out you did get a hell of a lot of people choosing mysql over postgres partly based on the fact that the latter was easier to connect to out of the box, and/or filling the support channels with connection questions that are already answered in an installation guide in the documentation.

Convenience "sells" even at the expense of security (and in this case, actually working properly at all!) and if you don't make it as easy as possible be prepared to support people who refuse to read the instructions.
So, let me get this right: you're proposing a new cryptocurrency, which the media and masses often unfairly associate with nefarious use cases, and the name you chose for it coincides with the nefarious criminal organization from the James Bond universe?

... ok then.
The argument that suburbs are some kind of liberty-loving small-government haven is 100% insane. I'm not here to say suburbs are good or suburbs are bad -- that's a value judgement. But there are facts: suburbs rely on federal dollars, central planning, lots of regulations (try opening up a corner store on the lot next to your suburban home), and limit individual choice.
Pricing is simple, if you actually talk to people
I'm not really sure what you are trying to say here. If you have a better solution to centrifuge availability than a 20c one made out of paper, please enlighten us.
Clever phishing scam of the day
GitLab README.rst driveby script injection
Note that this is biomedicine. I doubt many other fields will show wildly different trends, but some will likely have less grim trends (e.g. engineering sciences, computing).
I second that, the title is misleading.
I've worked with quite a few programmers who absolutely wouldn't bring up things that put others in a bad light.

I worked with a Chinese guy that routinely put up with many of the others making jokes (all nice, IIRC) about his ethnicity. I noticed that he didn't look happy about it, and tried to help, but he refused to do anything about it. He eventually stressed out and quit, and I can't help but think that was at least part of the reason.

Likewise, I've seen it for noise, conversation, and even once someone finally snapped and complained about a co-worker would trim their finger and toe nails at work in his cubicle. He did it for quite a while before someone finally got fed up enough to say something. He shrugged it off and kept doing it, and nobody did anything about it.

So yeah, I agree that many people simply won't do anything about the things that make them unhappy.
The Christopher Alexander solution described in Peopleware sounds like a good compromise, having both individual and group spaces.

"People cannot work effectively if their workspace is too enclosed or too	exposed. A good workspace strikes the balance."

"fashion space explicitly around working groups. Each team needs identifiable public and semiprivate space and each individual needs protected private space. The team members and their space counselor could work out the possible ways their space could be arranged."

http://web.archive.org/web/20150319051220/http://javatrooper...
Ask RBK: The Google Analytics Black Box
What do you do for "Sign in with your Google Account" situations?
How Small Actions Help You Take Control of Your Finances
i understand that they do what they have to do.

but lets not kid ourselves that this is some kind of solution that those people deserve. its an interesting student project, sure, if all equipment fails - there is a way to get your hematocrit count manually.

How would most of us feel if we came into an office for a blood draw and saw this toy? At the same time when there are machines widely available that will do complete CBC and other panels of blood tests on a single vacutainer tube in under 3 minutes?
Mind opening an issue with this in it? <3
But then you'd never know if the cat is already inside of the box or not...
The only way NC headphones block conversations is because they are also acoustically isolating. That is, they would block conversations even with the NC feature turned off. The headphones you link to look like this: they're basically earplugs with headphones built in. Earplugs block conversations because they physically block sound waves from entering your ears. The same principle works with the big over-the-ear cans. It's not the NC feature that's helping, it's the fact that the headphones themselves are isolating your ears from the outside world.
You can probably consider unforking now that the vendor directory is a thing. I'm sure it'd be easier than rebasing on every update.
Working Remote: How We Successfully Run Clarity as a Completely Remote Team
Bzzzt, wrong!

You're on the right track though, fuzz harder
> Its year 2017, there is no reason why those people should not have access to the advanced technology we enjoy today in the west.

Unfortunately, we live in the reality in which not everyone has access to the same technology as the West. Some scientists and researchers should absolutely work on problems assuming that we'll be able to get the optimal solution to everyone. But that doesn't mean that there shouldn't be others trying to work within the reality that acknowledges that this isn't the case.
Not allowed to disclose.
This depends entirely on the employer and what they provide for in the office.

Yes, if they provide special "collaboration rooms", that's going to add to the cost. But if they don't, then it's not a factor. If your employer just gives you one big open room with a bunch of tables, and that's it, that really doesn't cost much. And there's a bunch of employers these days that do exactly this.

(As for coats and boots, you can put your coat on the back of your chair. Or drop it on the floor under your desk. Yeah, it sucks, but again there's plenty of employers that treat engineers this way these days.)
Why not walk around the office, sit in the commons with a laptop, collaborate in a conference room, etc?

The office with a door is for when you need to focus, not meant to be a jail.
On the contrary, such programs can shift focus from daily hardships and provide some hope for the future, which usually has a pacifying effect. Less extremism in Gaza is better for Israel.
I agree that in terms of safety it's equivalent. However in terms of how an actual program would be written it's...Less than optimal. I almost never simply allow a panic-like termination in a program like this, if it can be trapped, without doing something else, even if it's just to spit out a log/stdout message with a descriptive reason. Then again the plural of anecdote isn't data, and maybe I'm the oddball here.
Hacking MQTT Using Lua (MQTT Users Oblivious to Security)
If the bind fails, panic seems totally appropriate. Bonus points for telling me it failed for EADDRINUSE. This is head and shoulders above anything C could deliver IMO. It's a fair debate whether we should prefer the simplicity of panic over the elegance of unwinding and handling.
The people that know what affects the price of bitcoin own a lot of bitcoin, and they know what's affecting the price because they're moving the markets themselves.
Setting up analytics for our bot with Botkit and Keen IO
This is exactly the direction we're going. I'm a big fan of extensible records/variants. We'll be supporting the GHC 8 extensions that are orthogonal to the type system refactoring like Strict, StrictData, etc. pretty much everything other than TypeInType.
Great questions, great answers.

Sam's comments on Meetups mirror my experiences, though I'm not in a tech hub area. It depends really heavily on the person organizing and what kind of outreach they've done to people, existing groups, and organizations in the area. I've seen a few groups flare up really enthusiastically, then dwindle over a few months. I've also tried joining some existing meetups that feel most like people are sticking around more to hang out with the other people than because of value from the meetup.

Likewise for finding a technical cofounder. As a technical person I've spent some time thinking about the other direction, and (after a rough experience) there's no way I'd try to get funding with somebody I didn't know very well.
Maybe he's just trying to lift the people up. I don't see anything anti-Israel about that.
You think someone with a doctorate is a layman? We're educated people, we can form our own opinions, thanks.
Great. Please don't hesitate to reach out and or file issues or whatever, I really want to make this stuff good.

Basically, today you define macros with macro_rules!. This shipped in Rust 1.0 because we did not have the ability to invent and implement a more proper macro system, and didn't want to hold the whole language up on one thing. In the future, you'll write macros with a "macro" keyword, and macro_rules! will be deprecated, and "macro" macros will support namespacing, etc.
Surprised Visual Studio Code didn't get a mention in the text editor section.
U2F would prevent this from being exploitable, but one-time password schemes like TOTP would not.