skysight-inc/HackerNews huggingface dataset:
Has anyone found a cheap and high quality source of one way mirrors? I keep seeing 24" x 36" panels in the $100s range.
I'm not. What do you recommend?
If you are interested in this, I recommend Umberto Eco's book, The Search for the Perfect Language, which goes into some depth on the history of...this sort of thing.
> So do all the functions have to have the same error type as the function that is calling them?

Not quite, they must have an error type convertible to the caller's error type, try! (and ?) really desugar to

match val {
Ok(v) => v,
Err(e) => return Err(From::from(e))
}

From is a generic conversion trait, a type A can implement From<B> in which case `From::from(b: B)` will yield an A (assuming A is either inferred or explicitly requested)
> No actual (automatic) syntax highlighting system would ever highlight the code as it is shown on the page.

Not true: my actual automatic syntax highlighting system (Vim) uses the same colour for reserved words and for labels. So I think it's fair play.
Suppose you were the person to relay the message though.

Imagine one friend tells you "Can you please tell Adam X", but you know X is a flat out lie and is actually horrible and offensive. So do you agree to spread the lie? Oh and you're doing this free, and it's not your friend it's 2 strangers.
Apple seems preternaturally constrained by engineer time; I can't see why they would devote a scarce resource like that to qualifying drivers for anything older than Windows 10 Anniversary Edition.
because we spend so much time reading HN while sitting on the toilet
Not particularly. Personally, I've always advocated for some type of "internet journalistic credentials" that could be embedded in meta tags to identify content producers, editors, originators and retractions according to a process of journalistic ethics that actually valued real journalism over content spam. Content originators over scraper and ad-farms.

I'd honestly envision something closer to the BBB to manage this type of thing and track membership, ratings, disputes and resolution that all browsers and search engines could tap into. The key would be that freelance journalists would need to be able to gain membership in the same way that journalists get officially credentialed to cover different types of events.
"When you're 2 days walk from civilisation, it's pissing down with rain, and you're cold, wet, hungry, and tired, you get a different perspective on life and the "soft" challenges that you face in life back home."

Milford?
Among others, eliminate the per country limit on the fraction of total visa quotas, aligning supply in each category with demand, reducing the long wait lists for legal entry in many categories from certain countries.

Lots of illegal immigrants are qualified to immigrate in legal visa categories that have ludicrously long wait times because the system is poorly designed (many family-based categories fromy Mexico particularly.)
Facebook needs a censorship department! Get a list of prohibited topis from white house and block those posts on facebook.

Better yet, ask Trump what topics to block :)
While Macs have fantastic build quality, there are now premium-level PCs that are catching up to it. The new EliteBook Folio is a Core M-powered, Thunderbolt-containing replacement for the 12" MacBook (not Pro); the Razer series appear to be built just as well as Macs from my time with them hands-on as well.

Personally, I don't care so much about "build quality" in terms of materials used. If the hardware works I'm happy, and the Thinkpad is fine to me.
Apple launches official “Support” app for iOS
You're close minded because you refuse to hear arguments out, not because you disagree with me. I don't think you even realize where you actually agree with me, since you're reading hostility in my replies.

What a waste of words.
> Doing ORMs and auth without knowing what you're doing imply a huge risk out of itself, which Go tries to avoid.

And implementing it yourself the wrong way is also a huge risk.
Case in point: Syria & Iraq, where there's been a bit of a drought. See http://journals.ametsoc.org/doi/abs/10.1175/WCAS-D-13-00059....
that's not true and you know it. please stop repeating nonsense.

everyone who argues that and then try to prove their point ends up comparing budget pcs. so tiring.

also my company is full of 2012 and 2013 macbook pros that crash and burn with several hardware video card build issues that for some reason it was never able/willing to return.
> Twitter uses Oauth 1.0a (srsly?)

Why the srsly?
It talks about Tesla, but I'm not really sure how much oil prices can really decline. I would be more worried about SolarCity and solar in general. Trump says he wants to expand coal, nat gas, etc.. and cheaper prices for those (and perhaps discontinuation of credits for renewable energy) would discourage new solar installations.

What would be really sad is if this policy change causes bankruptcies in renewable energy companies... it would take a while to rebuild that, even if the policies are restored later on.
What is your cloud strategy?
It goes both ways. By buying Apple you're funding walled gardens and anti-choice design patterns, abusive labor practices including child labor and sweatshop conditions at their prime contractors, and collusion with NSA et al via PRISM.
The one scenario that could still get Hillary into the White House
VC++ pops a CDQE in there. For ``p=(int *)malloc(1000);'', with no prototype for malloc, it generates this:

mov ecx, 1000
call malloc
cdqe
mov QWORD PTR p$[rsp], rax

I'll have to check if it's still true today, but Windows/the VC++ CRT certainly used not have no qualms about handing out pointers to memory below the 4GByte mark. So if you have a problem like this, it can go undetected for quite some time...

(Don't know about Linux. 64-bit OS X binaries usually start with a 4GByte section at 0, so the bottom 4GBytes simply isn't available.)
Maybe we should build a wall to keep them out
"America elects a reality TV star as president. What happens next will shock you..."
What the Valley Really Thinks About Uber
Well, I didn't say it was all wine and roses :)

I'd also like to point out I've seen a lot of people calling Trump voters racist, sexist, homophobic, fascists. Let's not pretend like there's something uniquely toxic about that place.
Of course. Worse, they actually have two different strategic factors that play poorly together:
1.) Retain users
2.) Have a personal bias about what will offend users

These two items can magnify each other in a false direction as they attempt to retain users that they perceive they have.
It not gets mentioned often, but the settings pane in Atom is unsatisfactorily complicated. Three subpages ("Packages", "Updates", "Install") to manage packages. Information for packages (name, version, downloads, readme, settings) are mixed together in a chaotic single page.

VS Code has a single sidebar subpane to list extensions. For each package the information (name, version, author, downloads, readme, extension points, changelog) are either always visible or separated clearly into subpages.
And many of the Republicans hate him. The Republicans are the first alliance that he has to stitch together.
Ask HN: Have you ever got tired of programming?
Hello HN,

I'm 28 and been doing programming ever since I was a kid, built a pretty successful carrier out of it, tried to launch startups, worked for big corporations and small startups, contributed to open-source, became an expert in a niche domain, and ended up doing consulting working remotely for the last couple years.

The problem is, I don't enjoy it anymore. More importantly, I don't enjoy the process which doesn't involve much creativity. Especially with building software, there are always optimal engineering practices, but even with paths less travelled like reverse-engineering, there is limited room for creativity as well. In the end it's all about solving a problem, and after a while solving really hard problems which you don't care about burns you out.

Anyone else experienced something similar? What drives you to keep at programming?
Yes, constantly. I've rarely seen generics overused.
While it may be convenient, it's truly worrying such (EDIT: was "many") syntactic special cases are going into Rust at this point.

(It may be the case that these things absolutely cannot be handled in a systematic way in a no-GC/no-runtime language, but I'd really like to see some evidence that this is the case.)
They have incredible amount of cash reserves. An investment in Linux drivers would go against their mission of OSX penetration. It has nothing to do with being unable to do it.
Care to explain your stance, or should we just agree with a brand new HN account saying a published research paper is false?
Which ones specifically worry you? I can't think of many, but I am also incredibly biased.
And follow-up fixing n copies when that bugs gets copied, but only gets discovered later.
That figures. China (Bejing) is 7 hours ahead of german time, yet I've noticed that my Tmall contacts are replying to messages when it is really late at night for them, sometimes excusing themselves that they have dinner right now. On 11.11 many are on duty for 24 hours.

Off topic, but in contrast to americans, german people are often frowning and complaining a lot - even though we really don't have much cause, in comparison. Friendliness and positivity are some of the things I really appreciate about the USA. Treasure it!
I don't get why they'll let the language be abstracted in that way, but are against having ternary operators. It's the one thing that's somewhat bugged me about Rust. Aside from this one minor thing, I"ve been really loving the language itself.

let greater = a < b ? b : a;

Is a lot better than having to write this all the time:

let greater = if a < b { return a; } else { return b; };
Is there anymore major performance improvements left to make to PHP or is everything else just dimishing returns?

No disrespect to the huge amount of work the PHP team has already completed, they should be praised.

Just curious to know if we can expect anymore major performance improvements like we saw from v5 to v7.

EDIT: After further searching, appears PHP 8 will have some sort of JIT (with the hope that it'll continue to bring significant perf improvements. More info at http://news.php.net/php.internals/95531
> A 2 space indent... A 4 space indent...

I have been wondering for a while now why is it that everybody is stuck with this typewriter/punchcard mentality and assumes that only a fixed-width (non-proportional) font could be used to display program code on a computer screen. Would it not be more appropriate, in this century, to realize that since indentation (and spacing in general) is essentially something that only pertains to the graphical representation of program's code, it should be left to the editor/viewer software (and its user) to set, given a single tab or space character, the number of pixels (or inches or any other unit of length) that should be used to represent the indentation or white space? This should have nothing to do with the width of a character, and therefore using modern proportional fonts should be just as convenient and natural as it is when using a word processor.
I would argue that wikileaks on it's own can also be very misleading. Reading emails out of context and without knowing if they've been altered is probably not the best way to get a full picture. The value add of media looking at them is they can also go and get other sources to add context or to corroborate what they are reading in the wikileaks releases. Sources which aren't available to everyone. It's also easy to be fooled into seeing things as nefarious which are in the end benign when given context.
On the days leading up to the election, my feed was full of fake news stories. Every single one that looked fishy to me, Snopes had debunked. I posted a few replies, but I felt like it was a Sisyphean task of shoveling shit against the tide of misinformation.

Is there any hope that Facebook will do the right thing and put information ahead of profits? As a libertarian at heart, it pains to to say this, but I think the only way to fix this is government regulations. Of course it will never happen under Trump, but how else can force them to be good curators with all the power they wield.
If you are doing plain SQL in your golang app, I highly encourage you to check out sqlx:

https://github.com/jmoiron/sqlx

It has features like directly unpacking the results of a query into a structure. Very handy.
It may be fine, but the disk speeds on the latest Macs are amazing. There is no laptop that matches that I'm aware of.
The increasing temperatures speed up evaporation in the water cycle which has a lot of impact on rainfall. Since wind speeds aren't increasing overall while temperature is, this means that rain clouds store more water and travel farther across land. This also means that the radius of the strip around the equator that can be considered tropical grows and pushes other biomes outward. The further north you get the more land becomes available for farming and if rains can reach them, a lot of fertile land will be unlocked for agriculture.

That's the theory anyway. The current impact of that evaporation seems to be increasing frequency and strength of hurricanes and monsoons. It is really hard to get fine grained reliable data on temperature and humidity across the entire planet, let alone account for unknown factors, so specific medium to long term impacts on agriculture are hard to pin down.
I think that's a genuine concern, the only way I can think of that breaks this paradigm is by users to elect moderators.

This would also give a platform to new and grassroot politicians to rise up over time. Right now, grassroot enthousiasm seems to flow towards senators (ron paul, bernie sanders,..) because they didn't vote for something most of the other senators voted for.

Meanwhile having access to capital and connections to even become a senator is very constraint and unlikely to come without strings attached.

Anyway, having users elect moderators solves the problem of "trusting the moderator" and since I assume they would be a salaried position facebook can apply and enforce fairness guidelines.
I'm not arguing a defense of Apple here. Honest question: Are there differences between computer manufacturers in these regards that you're aware of?
I would recommend reading this commentary, from the political director of CBS News, today:

"The mood in the Washington press corps is bleak, and deservedly so.

It shouldn’t come as a surprise to anyone that, with a few exceptions, we were all tacitly or explicitly #WithHer, which has led to a certain anguish in the face of Donald Trump’s victory. More than that and more importantly, we also missed the story, after having spent months mocking the people who had a better sense of what was going on.

This is all symptomatic of modern journalism’s great moral and intellectual failing: its unbearable smugness. Had Hillary Clinton won, there’s be a winking “we did it” feeling in the press, a sense that we were brave and called Trump a liar and saved the republic."

http://www.cbsnews.com/news/commentary-the-unbearable-smugne...
> takes a ludicrous percentage of revenue via the App Store.

Do you know what it was before the Apple App store came along? You were handing over about 70-80%, and that was if you could convince a publisher to take your app, which was a very hard sell.

Then Apple came along offering EVERYONE the ability to publish apps, and at a very reasonable cost.
It's a risk you take, or don't, it'll certainly depend on how compelling is the job.

But you are the one that placed yourself in a bad situation. They have a sane procedure that fully respects you, but isn't fine-tuned to your current problems. You can try negotiating their procedure too, but in their place (what I'm not, I'm in the "can't bill you" place right now), I'd refuse to.
> Obama's recent statement that news needs to be "curated" by government appointed gatekeepers

Facebook is leaking, I can already imagine what the clickbait headline looked like...

"Obama to assemble government censorship agency"
Nothing prevents you from writing

let a = foo()?;
let b = a.bar()?;
let c = b.baz()?;

if that's what you want, not sure how the Go version would be easier to debug beyond that, and you can easily perform that transformation when you actually need to debug that code if the "pointfree" version hinders that.
They do. They've modified BIOS in the past to keep the spyware going.
This doesn't duplicate anything in the language; it moves a stdlib macro to be included in the core language.

Since if is an expression, ternay operators would be wholly redundant.
Most of the times we couldn't do the refactorings/changes we wanted to, it was because we could only be 99.9% sure and not 100% sure someone didn't stick some goofy value somewhere to denote something special.

Also, I'm not so sure that Smalltalk as a language community and as a programming environment did what it took to get everyone to do the right thing. In Swift, it seems like the programmer would quickly learn that an enum is the right thing to do, and management would be on board with using it, because it's obviously the way you're supposed to do the thing. I could just hear one of my bosses saying, "Do you really need that? I don't want to hear about you delving into some sort of 'science project' where you could just stick a String there."

The quick and dirty way of doing things with "somewhat-connected Singletons used as enums" would be just to use the class hierarchy, and subclasses of a particular class would constitute one particular enum. But even with that, someone would have some sort of objection to it.
Except the 99% (though in my experience more like 80% of the cases where generics would be considered in other languages) of the time you are refraining yourseld from using interface{} and perhaps choosing another bad solution (lesser of the evils)
"After the initial report of apparent superluminal velocities of neutrinos, most physicists in the field were quietly skeptical of the results, but prepared to adopt a wait-and-see approach."

https://en.m.wikipedia.org/wiki/Faster-than-light_neutrino_a...
Depends on what you consider 'hard'? I'd say the market for quality developers is still pretty small and thus time consuming and it takes a lot of time to sift through to find the right candidates or candidates with potential.

If a position takes longer than 2 months to fill I consider it 'hard'.
Sadly the echo chamber I'm trapped in is our industry. If it were just a choice of media or people I knew from high school I wouldn't care. It's appalling to me that any political opinion can terminate your hard earned career in tech just because the people at the top feel they have a monopoly on the truth. This attitude is cultivated by the media and the universities they attended, which is why I view them as the root of corruption.
This is slightly off topic, but the fact that Trump got as many votes as he did, or that Hillary did not get way more votes that a person running against Trump should have, shows how bad of a candidate she was.

She was not even very popular with women. Democrats screwed themselves.
So when I run the game locally there is no visual feedback at all? Is there some way to turn visualization on?
Sandstorm now supports RHEL 7, CentOS 7, Arch, and more
Thank you, blahi.
Wow that newton emate picture really brings back memories. I love the design of that thing!
> What country are you in?

Canada.

> How long are the shipping times for you?

Very long, but I'm not in a hurry. Between 2 weeks and 2 months.
Only if the cost-benefit works out, and there isn't a better solution.
It's not about the money.

Apple prefers and has done a lot better with smaller, more focused teams.
But…. these are two completely different statements, the equivalent Rust is

if a < b { b } else { a }

why are you adding sprurious returns? And if you need to get the minimum of two values so much that actually impacts you, write a `min!` macro?
> He got about 25% of the total voting population overall.

Clinton got about 24% of the total voting population in 1992 and 1996. What is your point?
Well I personally think Hacker News needs a little bit of real world news injection. After all technology's and startup's main role in society is to solve real world problems. Talk about a news bubble, we techies love to live in a world where, social apps, chat apps, killer new languages get created without much change from the previous nth iterations. Look around, the word is bigger than that. And if you want to created the next killer X app you better expand what you read.
> Enums. My god, Enums.

Oh yes, please.
The build quality of MacBook Pro is generally good, but it's still hit and miss especially for a premium priced machine. For example, the film layer on my display is currently peeling off, similar to this: http://cdn.macrumors.com/article-new/2015/03/Retina-MacBook-...

This is a 2015 model.
They could pay a third party to do this and provide them with the necessary documentation of the internals (which probably don't stray very far from standard hardware).

A simple announcement as in "We're working on it. Expect Linux drivers in 6-12 months." would suffice to calm the waves.
Will the people being put out of work be skilled enough to operate these new jobs? What happens when we get AI that is comparable in capability to the average worker?
The whole point of it would be to have a higher level of abstraction which makes codebases more concise. Avoiding duplication for the sake of avoiding it is as nonsensical as avoiding 100 dollar bills since we already have 100 single dollar bills that could make it up.
More like Lenovo is taxing spyware, if you're going to install something other than Windows. Superfish only loses money on that transaction.
Thanks. Do you expect that to introduce some non backward compatible changes to language (and for example require a new major version)?
What does two paragraphs of axe-grinding about woman like Jessica Valenti and Laurie Penny have to do with American "alt-right white-nationalist thug media"? Take a look at the narratives they've been pushing about Truump and the evils of the alt-right lately.
Responding with an ad hominem attack, nice.

You see your position as supporting software developers, which is reasonable. It's not reasonable to expect other software developers to refuse to raise rational points of inquiry that you've based your argument on because it may result in weakening your argument on the merits. It demonstrates that you care more about winning than about the truth. As a result, you're responding to someone who is behaving more rationally than you with an emotional response and personal attacks.
According to this, the median rent in NYC is like $3200/month: http://www.businessinsider.de/median-rent-new-york-city-acro...
This comment is just ridiculous. Apple does more than ANY manufacturer to improve working and supply chain conditions, anywhere, and most OEMs use the same facilities so blaming Apple specifically is doubly silly. How is the Mac even close to a walled garden or anti choice??? They allow Windows and any app you want to be installed.. What are you talking about? And please, do provide a source for your "collusion with NSA" accusation as every other statement and action by Apple shows the opposite.
could we shock the candidates when 3/4 fact checkers disagree? Joking (mostly) aside. I like this idea as well. I think it could replace the useless and toxic chat/twitter feed that is put on websites hosting debate streams.
This is an embarrassing article.

Let's not blame this on the coastal elites, let's blame it on mid america that is uneducated/doesn't travel/ doesn't have any exposure.

Ironically - that's exactly what defines coastal elitism (thinking that we are more educated and more cross cultural).

Some things will never change and then we wonder why "no one predicted the elections "