skysight-inc/HackerNews huggingface dataset:
I looked closer at the C code and noticed that it's not really realistic error checking (both before and after your changes). Each level of function is simply tail-calling to the next level. No level is checking whether the return code indicates an error. Instead, an error pointer is passed all the way down the stack and then possibly filled in or not at the bottom, but never inspected in the intermediate frames. This means all the extra branching that is normally associated with error code checking is being skipped in this test.

It's not surprising, then, that you're seeing the exception-based code and the error-code-based code performing the same (one or the other winning at random) in the 0% error rate case -- they are actually the same code.

In a more realistic test, each intermediate function would call the next function, then inspect its result to see if it indicated an error. If so, the intermediate function would return early (probably passing along the same error code). Otherwise it should do some additional processing on the result (maybe increment it or something, for testing purposes) before returning. In the C++ exceptions version, the error code check could be skipped.

With all that said, I would still expect that when exceptions are actually thrown, they should be slower than error code checking.
Debugging mechanism in Intel CPUs allows seizing control via USB port
But they don't both suck. Newer tools reflect the needs of newer problems. Like, I can point to exactly what I get from my Chef/Cfer stack--I can wrangle hundreds of concurrent machines that need to update to a policy while also getting, in a standardized and predictable format, a full itemization of all changes applied to all systems. I can leverage the community, too, to help me bootstrap new features and functionality because we're speaking a shared language.

They might be new tools to you, and being skeptical of new stuff is fine (even healthy), but there's a point at which skepticism turns into Ludditism and it's well before the point where one starts to bloviate about "hipster software".
I NEED Unibox App, and Capture One, and Arq, and 1password, and XCode and and and. Too much software I use on Mac. Linux just isn't a desktop OS in my opinion.
Just P3, though the wider gamut available in our graphics operations should benefit photos brought in using Adobe RGB too since iOS is fully color managed.
Runs fine under wine I think.
Atlassian acquired bitbucket, and seems to be going ok.

Though it's not a profit centre for them, so may be different.
Autoplay video (with sound).
Asteroids are identified and tracked with radio waves, not visible light, so I don't think sun glare is a major issue.
Uber for Business
Anecdotally, one astonishing observation I often make is that "breakthrough" papers [1] are nearly universally among the most accessible, clear and easy to follow. From Watson and Crick on DNA in MolBio, to Backpropagation by Hinton in ML, to Cox' survival model in Statistics, the most significant advances often tend to be the "easiest" to understand (in hindsight only, naturally).

[1] http://www.nature.com/news/the-top-100-papers-1.16224
What caught my attention was "unlimited private Git repos" and hoping that it has performance better than GitLab
Sounds like fun! :)
Was there a noticeable speed improvement with React vs Angular?
Yes that makes sense, thanks for explaining
I can't speak for this generation, but I have a previous-gen XPS 15 (or a current-gen, depending on how you look at it, since the Kaby Lake stuff isn't entirely out yet) and Linux runs on the normal Windows edition just fine, with the exception that I swapped out the wireless for an Intel card on the advice of a coworker. I'm not sure if that will still apply to this gen since ISTR they come with an Intel wireless either way, though if that matters to you, check first. (Still, new wireless cards are quite cheap on Amazon ~$20, and easy to replace, if it suits you.)

Of course, dual booting comes with its own issues. But I pretty much just game in Windows.
Dell make sure all of the hardware works with Linux out of the box before releasing new versions of the Developer Edition laptops. Everything you mentioned works fine, that's the whole point of the Developer Edition laptops.
> Except it also has "primitive" types that can't participate, so many of my functions have to take interface{} instead which is pretty much void*.

Can you elaborate? A primitive value can easily implement an interface if you assign it additional meaning through a type:

# interface Stringer { String() string }
func foo(value fmt.Stringer) {
fmt.Println(value.String())
}

foo(1.0) # fails: int is missing method String()

type ValueMeters float64
func (v ValueMeters) String() string {
return fmt.Sprintf("%g meters", float64(v))
}

foo(ValueMeters(1.0)) # okay, prints "1.0 meters"
I don't think it's ironic. In The Foundations of Geopolitics, Alexandr Dugin (an ultra-right wing thought leader that seems to heavily influence Russian military thinking) explains how to make Russia a superpower once again. Putin is reportedly a big fan.

Dugin outlines a playbook that is chilling in its real world implications today. For example, he advocates propoganda aimed to have Britian leave the EU, the invasion of the Russian speakung parts of Ukraine, US to become anti-immigrant and isolationist and the ceeding of certain islands bacj to Japan to improve Russian relations and weaken Japan's reliance on the US.

https://en.m.wikipedia.org/wiki/Foundations_of_Geopolitics

I've yet to find a complete English translation.
Are you saying that we shouldn't have any moral consideration towards beings that don't have the cognitive capacity to understand ethics?

If that's the case, do you think it's okay if a human sets a dog on fire just for fun? How about mentally challenged humans? Should their pain be disregarded?

P.S: I didn't down vote.
And in the end, that's the developer who always gets the decision. Does he ships half assed half finished every single time, or does he take time to do some testing and not break production.
Kill Bill 0.18.x released
Neither does the fact that you believe it.

And the fact that everyone else believes it means that such belief should be viewed as not automatically correct.
Huh. It didn't autoplay for me, but I agree that's quite annoying.
This is when somebody gets the bright idea to block all protocols other than TCP and UDP.

Hey you can just tunnel via udp right??
This is a decent example, but it's not quite comparable to developing general AI. We can build helicopters without a full conceptual understanding of aerodynamics, but we can't produce a physical simulation which will accurately determine which helicopter designs will and will not fly for any given design without a full understanding of aerodynamics under the conditions in which helicopters operate.

Creating aerodynamics simulation is creating an aerodynamic system. Creating a general intelligence is creating an intelligent system. A better analog to creating a helicopter using incomplete understanding of aerodynamics is something like creating a system that can discriminate between what is and isn't a general intelligence. We don't have such a system, but it at least doesn't seem like the sort of thing that would require a full understanding of intelligence.
I've never heard this before. Can you provide a reference for more info?
Agreed, and that's speaking as a stubborn amateur. In tournaments, the escalating blinds point you toward pretty straightforward strategies at different junctures. You're in the shallow end of the pool. In a cash game, you're always in the deep end.
"And optical viewfinders don't take into account exposure length either"

The Minolta X700 does do that via a secondary faux-shutter mechanism and a light sensor. If you actually bothered to have a battery installed (which dies after about 8 shots,) the tiny auto-exposure sensor inside would take over and the faux secondary shutter would move out of the way.
It's not dogma. This was my experience using Go. I haven't touched go in a while though. Did they fix the interface{} problem?

Specifically, I ran into this when I was using a database library. Values that can be converted to a database-friendly format implement sql.Valuer. However, the library functions just took interface{} instead of sql.Valuer because primitive types could not implement sql.Valuer. Can they implement it now?

Btw, you don't get a free pass at my other objections just because someone poked a hole in one of them. The other problems still stand. Take them one by one.
> If you have multiple things that can fail in sequence, you can "lift" into option

Hey, look, a monad! \o/
This looks awesome. I'd switch away in a heartbeat if the Let's Encrypt integration could handle multi-server deployments.
As much as our outgoing ruler and his party have pretended otherwise as of late, not everything is about Russia. b^)
> Why are you so against that word?

Because, to be frank: it makes you sound like a tool. That's what 'greglindahl was referring to in his post, 'cause I said exactly that before I edited it to assume good faith and be nice about it. But leading off your reply with "ridiculous" confirmed that you're okay with that. I'm not gonna play this game with you; I'm having way more interesting and way better conversations in this thread with people who don't wanna dance that dance. Haveaniceday.
Well one could argue that Brexit will still preserve free trade (indeed the government wants to preserve that). And UKIP seems to be imploding, so it's plausible that Brexit could have neutralized them.
There's a difference between excluding them from the domain of philosophy, and co-opting them as developments of philosophy. The distinction here is that the methods used to develop proof theory look exceedingly similar to how mathematics is developed, and quite alien to the methods of philosophy both of that time and now. Frege didn't develop his proof theory by spending years doing literary reviews of previous philosophers, or by writing papers and books based on suppositions.

You're right that proof theory, like mathematics and science, branched off from philosophy some time in the past. But looking at the successes of these branches as evidence that you should read old philosophy or engage in the mainstream methods of contemporary philosophy when their methods are worlds apart does not make much sense.
> I've run it with one monitor, two would be hard since it only has a single USB C and I don't have any monitors that can daisy chain.. if that's even a thing.

Most of Dells Ultrasharp monitors from the past couple of years have supported Daisychaining through Displayport. I have an older XPS 9333 DE from 2014 and use it with Dell's U2715H and U2415H monitors through a single displayport connection.
I know there's not much love for the API these days, but is / will there be a way to access wide color images from the API? iPads and Macbook Pros also have wide color screens nowadays, so it would make sense to display them for specific use-cases in third party clients.
32GB ECC in a thin and light laptop.
Ask HN: With Windows 10's Linux-like feats, do we need native Linux anymore?
Are reposts ok?

If a story has had significant attention in the last year or so, we kill reposts as duplicates. If not, a small number of reposts is ok.
Honestly, I am all for raising the wage requirement. This will definitely help to reduce the use of H1B for hiring underpaid foreign labor.
I purchased an XPS 13 in December last year. More specifically I have the 2016 - 9360 model.

The laptop came with Windows 10 preinstalled (Dell did not offer Linux preinstalled in Australia).

I installed Fedora 25 on it. I hit a major issues with the Linux installer failing to recognize the Laptop's built in SSD. I was able to fix this by entering the BIOS and changing the SATA controller to AHCI mode and disabling Secure boot (apparently intel is to blame because bios default SATA "RAID mode" only works under Windows). After I made bios changes Windows partition would no longer boot (not a huge deal for me as I nuked this partition during Linux install).

The first time I closed the lid it failed to wake from suspend and I had to power cycle it. However since then I've updated the system packages quite a few times and it has successfully woken each time I have closed the lid subsequently. So suspect newer kernel fixed this.

For dual monitor support I haven't noticed any issues. But rarely run with an external monitor attached. WiFi worked out of the box. Never used bluetooth on it.

Trackpad is probably biggest issue it feels very poor to use and often does not register clicks. When I mentioned this on LWN some people mentioned changing from synaptics driver to using libinput driver for touchpad - for time being though I have been using an external mouse.

Overall I'm mostly satisfied. For hardware as new as what I purchased everything has worked remarkably well.
It looks pretty but it also looks like it wastes even more white space than trello does. Do you really have to wrap every 0.5 sq inches of actual content in 2.5 sq inches of whitespace? It's like going back to kindergarten with the HUGE lines of text for learning to write letters for the first time after learning to love real books with high information density. Please add a switch that lets us dense pack our tasks. This is the one thing that's kept me in excel and OneNote rather than Trello for my own personal task tracking
This is from the point of view of usability, hardware support, etc - a purely technical angle.

I am not interested in philosophical implications (in this thread). Of course, I don't want to prevent you from commenting on this aspect, too, if you still feel this is the right place.
Any plans to extend beyond mobile? I'm skittish to commit to a framework before it gets desktop support.
That depends on the sensitivity of the film and the strength of the X-ray imager.

100 ISO through carry on once? Probably no issue. Instead of once, 8x? You'll see things. ISO 1600 through carry on once - you'll see lines. 100 on checked luggage? It's gone.

edit: Kodak posted some examples with X-ray scanning awhile back: http://support.en.kodak.com/app/answers/detail/a_id/30482/~/... - it really depends on the sensitivity - and that effect is additive.
The specific case I ran into was using a database library. The function that would compose a database query with custom parameters took interface{} as the parameter type instead of sql.Valuer. I thought this was a mistake, but when I asked the library's author, they said they had to make it take interface{} because primitive types cannot implement sql.Valuer.

Nothing in your comment indicates this is not still the case. You can't implement methods on primitive types, can you? That's a shame.
polyfills in general are a really awful user experience.

They are typically pushed by people who use the latest chrome, so they have an excuse not to care about other browsers.

Their preformance, and usability is almost invariably terrible.
That's a decent argument to say immigration wasn't a real concern (that was the second counter point I mentioned). Although it does seem like a fair bit of Leavers voted because of migration (at least according to polls).
Yahoo's name to be changed to Altaba Inc
https://news.ycombinator.com/item?id=13348672
I've been using Linux of some flavour at home for the last 15 years, only straying onto Windows for gaming. I've been lucky to use Ubuntu at work for most of my professional career too (6-7 years?) - so it's what I know and what I'm used to.

I started a new role a few months ago that forced me onto OS X and found physical and software issues. Physically OS X does not let you configure mice properly without installing third party drivers. Of course I ditched the "magic" mouse pretty quickly after my hand started hurting after a couple of days, but even with a normal mouse you simply cannot configure mouse sensitivity and acceleration properly - it cannot treat a mouse on par with what Linux or Windows will. You need extra drivers to even enable mouse buttons 3,4 and 5.

The keyboard shortcuts hurt too, sometimes using Ctrl, sometimes using Cmd, but that could be just fighting 15 years of muscle memory - so take that with a grain of salt (but it indirectly caused more physical finger pain).

Software-wise I don't know how objective I can be, but it feels faster/simpler to install software and things like the terminal are much better integrated - I can auto-complete git branch names on the command line for instance. Maybe OS X can do that kind of thing, but certainly not out of the box. To me, OS X feels like a 95% emulation of Linux, just that slightly bit lacking.

Then there are the embarrassing things like I couldn't find the shortcut to go to the end of the current line. On Linux it's the End key - on Mac I assume it's some combination somewhere.
I can appreciate where you're coming from.

I see a lot of photographers starting out not learning the craft. Some of the convenience of digital can reinforce bad habits. You can shoot a thousand photos in a few minutes, switching between a bunch of modes and options that you don't truly understand, and inevitably get a few decent photos. This isn't a fault of digital, it's just human behavior. I think for this reason, a lot of schools are still using film when teaching photography.

As an artist, I have a use for both digital and film photography. There's something about the way film feels, and the way the process of shooting film makes me feel, that makes me enjoy it so much more. My old Pentax cameras are very substantial, physical objects. The shutter opens and closes, and you can feel it - it's a physical act. Digital cameras don't have the same physicality about them. I still use both digital and film, they each have their own advantages to me and have their place.
In a way, I agree. In another--activating the people to actually do it is not very easy, and thinking retail when the problem is wholesale seems to be a pretty good way to keep having things go to pot.

I have some ideas on this, I'm working on one at the moment in my spare time, but...well. We'll see. ;)
Why You Shouldn't Be Yourself
Makes me wonder if someone has a comms protocol based on backscatter for the back haul.
I'll be going for the XPS 15 too. I've been using an XPS 13 9333 from 2014 with 8GB RAM and recently I've struggling to keep things under that limit.

The XPS 15 has the advantage that the RAM is user replaceable, and as I understand it, the 16GB model comes with a single 16GB module, so should be fairly cheap to upgrade to 32GB yourself if you'd like to save a few $ initially.
Amen to that. I used slicehost for years and was totally happy with them. Then Rackspace bought them and killed them off.

Needless to say, Rackspace did NOT get me as a customer after that. I switched to another provider.
That would be a bit sad, given that they went through all the trouble of getting wide colour.
It's not like that anymore. What stability? What have you had to deeply debug lately with a laptop that has known or supported linux.
It's funny you'd quote Chef (or puppet), because they've been replaced by Ansible/Salt.

I spend a lot of time evaluating new tools, possibly more so than anyone else in this tread. There are very few novelties which solve a problem notably better than what existed before AND are reliable enough for serious usage AND don't come with so many drawbacks that it nullify their interests.
Ask HN: What Is the Most Creative Swag You've Picked Up at a Trade Show
We're exhibiting at the ATX Automation Technology Trade Show in LA in a few weeks and need some swag to give away. What was the last SWAG you've picked up at a trade show that you remember thinking, "Oh, that's pretty cool!".
Are there any other situations where you look up to lions as the compass for your ethical conduct?
Pretty interesting, I'd never taken the time to review the React license.

In addition to this restriction, my guess is it will cause other undesirable license compatibility issues.
Nokia 6 First NOKIA with Android OS. Stay Alert When Will Be Launched? – APPlite
The section of the paper where this is mentioned offers a novel (at least to me) argument in support of homoiconicity, to wit, that you build DSLs directly into the base language, which (it is asserted) makes the DSL development process more flexible (or something), and that this is important for 'living' domains, where you're trying to work out the domain semantics, like biology. So, you're not really so much building a specialized language for X, as slowly turning (almost in the sense of wood turning, as on a lathe) Lisp into X-Lang.
Yahoo SEC Filing: Name change to Altaba Inc and director resignations
Raising the minimum is about the only way (short of auctions) to prevent companies from playing games with the prevailing wage requirements.
Musica+-+Musica+brasiliana+-+Sergio+Lisanti+(Cantautore)
Yahoo leftovers will be called Altaba
So... basically, trying to automate what Slashdot already does. The machine-learning program would need to be an expert in every subject to make this even remotely workable.
I can't imagine it applies...
There's a place near me that I'm about to try that does exactly that plus they have dropboxes in city areas

http://hillvale.com.au/dropbox-locations

They don't print, you just get an option of paying more for hi-res scans (though from the look of it, 5444px x 3649px .JPG @ 72 P.P.I for 35mm film)
It's like a hammer vs an automatic electrical nail driver. Sure, the hammer is an old, primitive, slow, and occasionally painful technology, while the electrical nail driver is modern, convenient, and fast. But sometimes a hammer is the right tool for the job, and it would be a shame if hammers stopped being made.
What am I missing? It looks like it is priced much higher than the MBP, and aside from a more appropriately priced TB SSD and ports (yes, Apple f'd this up short term), I'm not seeing what makes it better.
> Well one could argue that Brexit will still preserve free trade (indeed the government wants to preserve that).

The government says they want it, but that doesn't mean that there is any reasonable basis tomexpext that it will happen.
it's funny that that has become more special than transmogrifying reality into an ethereal form represented by numbers, stored by manipulating electricity, and recreated anywhere in the world by transforming electricity into light
It's an interesting paradox ... the top users of H1s are foreign companies, like Infosys and Tata - they bring in people on these visas.

So in a way, it's kind of 'insourcing' not 'outsourcing'.

I truly wonder if those companies would opt to just leave their staff in India, and to hire mostly just customer-facing support types here otherwise.

In that case, the US would lose a lot of tax revenue (and spending) from those foreigners who are in the US on H1's - who are clearly generating a lot of value, not exactly slouches on welfare or what-not.

Granted - it could be that Infosys may have to hire real talent locally.

All of this outside the issue of FB, Google etc. hiring on H1's.

I wish someone would chime in with some hard research on this ... it'd be nice to know the exact skills of those on H1's and how those align with US labour market ...

I often think these laws are passed without grasp of the nuance ...
does not appear to be the right interpretion - according to this - https://code.facebook.com/pages/850928938376556
Electricity is pretty magical too, if you stop to think about it. Most things are pretty magical, in a way, if you really think about them.
This is not correct. Optical telescopes are used, in conjunction with the WISE space telescope. https://www.nasa.gov/content/asteroid-grand-challenge/detect...
On the flip side you can use Reader Mode to make long lines shorter, but you can't use Anti-Reader Mode to make short lines longer.
Can you elaborate a bit for those of us that haven't read it? What stood out as particularly bad for you? I am asking since I am considering one of these machines.