skysight-inc/HackerNews huggingface dataset:
If you allocate data for your errors dynamically (perhaps they have formatted strings for informative messages), you'll want to return a pointer, otherwise you'll have copies throughout

Not sure what you mean exactly but I don't think you need copies all over the place since this is C++ so instances can be moved and there's also copy elision. And should you use 'int fun(Error& error)' with error containing an std::string for the message then at least the principle of 'you need a pointer' is dealt with by std::string insetad of having to do it manually.

There is a solid rationale behind it.

Might be but from a usage point of view it seems harder to deal with than alternatives (see 'ErrorOr' in another comment, or passing 'Error& error' or so: these days raw pointers are frowned upon, imo with reason, and raw pointer to pointer doesn't make that any better). Suppose I write an

int fun(struct Error **error) {
if(somethingWentWrong) {
StoreErrorCode(error);
}
}

In StoreErrorCode I'd first have to check if '* error == nullptr' or not. If not I'd have to '* error = new Error()', I guess. If '* error' does point to an instance, what do I do? 'delete(* error)' followed by new? Or reuse the current instance? That's imo too many questions already and I didn't even store an error code yet. Sure the answers to those questions can be dealt with in an error handling API used by the library. Or one could rely on some convention that '* error' always is NULL and hope everyone follows that convention. But unless somehowe proven that this is really really needed for performance reasons I'd pick any easier to work with (and hence less likely to introduce bugs) C++-style alternative over pointer to pointer anytime.
Downr, a simple Markdown blogging engine
The question for many residential internet users is: Just because I set my DNS to Google's, do my request really arrive there? Or does my ISP use transparent DNS proxies?

I know that for many ISPs around here (Telekom especially), setting your DNS doesn't have any effect unless you run a local resolver (or DNScrypt).

More info and how to test if you are affected by this: https://news.ycombinator.com/item?id=13037858
I can get an unreliable 3Mbps with the wind in the right direction on Openreach, or anything up to 200Mbps on Virgin Media. I'd rather not use VM's heavily filtered IPv6-free zone, but it's not a question of not being able to afford a decent ISP, it's just practicality.
I don't think the pace of technological advancement is increasing. I think it probably peaked some time before the year 2000, possibly around 1990. It's still pretty fast, but gradually decelerating.

Individual technologies each follow their own advancement curve. Jet and rocket engine advancement flattened out in the 60s and 70s. Moore's Law is history. Rising life expectancy are now mainly about expanding long life to more people, not extending how long the longest lived survive.

New technologies generally have a slow start, then a sharp rise in performance/drop in cost, then those advances level off. But where are the new technologies that will provide further rapid advances? Our aircraft still have jet engines, our rockets still burn the same fuels, our chips are still made of silicon. Electric cars are great, but battery technology is reaching it's limits, as is solar tech which is finally coming into it's own after a very long development history. Finally, on AI research I recently posted the following on a different thread:

1960s Herbert Simmons predicts "Machines will be capable, within 20 years, of doing any work a man can do."
1993 - Vernor Vinge predicts super-intelligent AIs 'within 30 years'.
2011 ray Kurzweil predicts the singularity (enabled by super-intelligent AIs) will occur by 2045, 34 years after the prediction was made.
So the distance into the future before we achieve strong AI and hence the singularity is, according to it's most optimistic proponents, receding by more than 1 year per year.
Probably immunizing themselves against invasion.
You need something for the signaling part (sending the WebRTC offer, answer and ICE candidates to establish the connection).

It's not necessarily a «central server», if you can convince you users to send each other the info text-encoded via Facebook or any messaging system, it will technically work (but it won't be really ergonomic for you users ;).

I wonder if some people provide a SaaS solution for webRTC signaling. Quick survey: would you be willing to pay for it ?
With the rise of devops system engineering knowledge is being lost.

I often see developers trying to replace it with bloated, complex piles of hipster software.
While a devops team is attempting to build a toy Google-like infrastructure on 50 nodes for weeks, another company is deploying code just fine using some 15 years old setup with netboot + disk imaging system + OS packages.
Nim is a language I really want to like. Having looked for a language that's 1) Cross-platform, 2) Script-like syntax and 3) C Speeds, Nim should be my ideal language. What I find though is a sense of frustration that grows over time when using it. Sometimes this stems from the quality of the documentation and other times from obscure problems that's hard to Google and get an answer for.

I do appreciate Nim, and bought Dom's book, but I feel it's missing a trick in its current state. No doubt I'll try it again as I'm ever the optimist :-)
In case the author reads this, and as I can't comment there: Thank you.

Debian is an awesome and somewhat under-rated distribution. Being a maintainer always seems like a thankless and slightly forgotten role. Thanks for having the persistence to keep going so long.
Give Your Brain a Break with Smart Data Visualization
IINA – The Modern MacOS Video Player
Fake news didn't start in 2016 [1].

> Following the news, global media had a fit and made wild assumptions about the accident. In fact, only 2 men had died when these were published.

[1] http://i.imgur.com/EF8o29L.jpg
The post has a valid point even if the example is more about system architecture than system administration.

In my experience a developer doing one year in an Operations department gains some insight in what is going to be important in the longest phase of the software life cycle, that is when it's exposed to customers and the company has to react quickly to problems. Proper logging, anything that can help pinpointing the cause of problems and even hot patch them at 3 AM.

The usual lean startup might have little thoughts for that (is it even going to have customers?) but established businesses do.

If it's 6 months to develop and it runs for 10 years (with maintenance and new features), which phase is more important to a company, development or production? I'm a developer which did a couple of years of operations and I've little doubts about it. It's where the company makes the money from.
I thought DNSSEC was supposed to be verifiable by the client? If it isn't then it's pointless in the way that you suggest, but I find it hard to believe that hole was left.
Guys,

please stop posting this kind of old stuff. Or at least other guys - please stop upvoting this.

It's a very old tutorial, there are tons of better ones, in every aspect, today.

Somebody once smartly observed that the ratio of upvotes / comments is a good indicator if something is really good. If the ratio is very high it's a red flag.
This article is a perfect example - nobody has anything interesting to say about it...

Maybe HN admins could take this into account maybe into the sorting algo.
My 4S got unusably slow (with even keystrokes taking ~75ms to register) after the iOS 8 update. How have you avoided such mishaps, which I gather are pretty common when putting newer iOS on older devices?

(Yes, I turned off the fancy stuff like Springboard background parallax. It helped but not enough.)
I use fastmail with my domains. It costs 30$/year and I really like it. I make it pull my gmail stuff which I am slowly trying to phase out.
HN: I need someone like me
I'm a full stack web developer working full time. I spend my free time working on a platform for students, founded by a friend of mine. While that is going great, I need someone like me -- working full time, full stack and wants to create something great (to eventually make a lot of $$$) -- to join me.

The platform is built with Reactjs on the frontend. I'm still not sure what we'll be using for the backend, most probably Laravel.

The founder is currently working hard to maximise our chances for investments, and that's going well.

If you're interested please contact me.
You're describing qualities that are meaningless to a database user. A Rust implementation of PostgreSQL, with its runtime checks, would almost certainly be slower than the existing implementation. So a Rust port is a non-starter. Database users don't care about your syntactic sugar, that you find manual memory management a "scary land" due to background in managed languages, or how many contributors you have. Speaking of which, the PostgreSQL project is healthy and has many, many contributors. And while we're discussing developer productivity, I can't even imagine the build time of a Rust port.

What's annoying about OP's email is that they clearly did no research on the matter. You can find many discussions on the list about "upgrading" to C++, and there has been much wringing of hands. The last I heard, it sounded like a faction was considering having the project build with a C++ compiler rather than a C compiler for better type checks and as a step on that path.
As an ex-smoker: it is the nicotine. After I stopped smoking I still went with some of my former co-workers for their smoke breaks and had a coffee, it wasn't really the same "feeling".
What are those better tutorials? I'm interested.
AI, Machine Learning, Deep Learning – Getting Started
Ah, okay, I understand your point and see my misunderstanding. I would still suggest they have more sway in feature pushing than any other manufacturer, insomuch that when Apple sets something in stone, even the very unpopular removal of the headphone jack, others follow suit (not widely copied, but a few manufacturers followed suit with flagship devices)

I would agree that their newest changes aren't revolutionary in my mind and are more iterative, just spec bumps and features added, but everyone is still taking their cues from Apple when it comes to functionality.
> if you believe that the rate of technological advancement is still increasing

It made sense for Robert Heinlein to believe this in the 1950s, when he wrote an article prefiguring the "technological singularity" concept by a good forty years.

It may make less sense for someone to continue to believe the same thing in 2017.
Order Your Members
Free Jobs Data Feed
The other issue for me actually is that while I might like to drop into a shell sometimes I don't really feel Android phones offer me much in that regard either.

Android is far for a standard Linux/UNIX system. And it's hard to build one on top of Android because of their use of BIONIC rather than glibc.

So, I feel that Android has taken Linux and crippled it to suit their ends. To me jailbroken iPhones felt much more like standard UNIX phones than Android phones.

My ideal phone doesn't exist. But he iPhone is still the nearest match right now.
If you are going to exclude anything that could be considered mathematics or science from the domain of philosophy, then trivially, you will find that philosophy concerns things which can't be precisely quantified or empirically proven.

Proof theory does, however, originate from the work of philosophers (Aristotle being a salient example), and issues relating to proof theory are central to epistemology and metaphysics.

One problem that philosophy has is that its most conspicuously successful branches often become disciplines in their own right, so that philosophy doesn't get any credit.
Steve Jobs reshaped Apple into an organization that would focus on a select few products at a time. This worked very well in the beginning and allowed them to rapidly innovate.

Now they're a victim of their own success. All their product lines are relatively successful. There's not a significant product that they can kill (they killed the routers now, but that probably doesn't free up too much focus anyway). I think even Steve would've struggled with this conundrum.

Internally, they've tried to merged Mac and iOS, ala Windows 8/10, to allow them to keep a single focus.. but their conclusion was that it compromises both Mac OS and iOS in a way that they don't want to do. And if they made the merged OS closer to iOS, it would alienate a lot of Mac users and developers.

So how should Apple refocus? Who knows. I think it's a flaw to think that Steve Jobs would have magically solved the problem already. He was smart, but not a god.

> how do you plug your lightning headphones into your Mac?

You don't buy lightning headphones.

Apple will kill the lightning on iPhone too. Either replacing it with USB-C or removing it altogether. This is all part of a transition which is unavoidably awkward.

Apple is betting heavily on wireless, and lightning headphones is just a stop-gap solution while wireless headphones improve. A way for people to be able to buy some cheap, simple headphones to replace the bundled ones if they need to. If you buy an expensive lightning-only headphone you're a fool.

The moment that wireless charging is fast enough to completely replace wired charging, they will kill the lightning port and perhaps bundle a case which bridges lightning or USB-C to wireless charging+bluetooth 5. Third parties will deliver cases with bundled battery, USB-C and 3.5mm jack, and since the phone will be even thinner without any ports, the phone+case will still be plenty thin enough for daily use, and sturdier too. Everyone will be happy (hah, as if..)
Putting a UI around Docker with Portainer
I use Virgin Media and have no problems on any of my devices. Downlink can be a bit slower at busy times, but I guess that's nature of cable internet and uplink is always at the limit. And I really like that they very rarely change IP addresses (have mine for at least 3 months now).

I have the feeling that Sky has slightly better peering (more stable speed to US & Asia during peak hours), but the higher speed on VM is more important here, and ping times are generally very low.

What do you mean with IPv6-free zone? Have ipv6 disabled on my PC (for different reasons) but haven't experienced any connectivity problems on either Computers or other devices (which should be able to use IPv6). IF you mean missing availability of ipv6, I don't think that there are any pages you can't see on ipv4?
As an iPhone/iOS 10 user, I cannot corroborate all of your claims.

1. Scrolling seems native to me. I just tried it again, maybe it seemed off for a moment. It's hard to tell. I don't find that the scrolling is broken as it is on many websites, and it's not difficult to achieve with -webkit-overflow-scroll: touch in one's CSS, i.e. they could fix this if it's not native already.

2. The URL bar does indeed remain visible. This is normal behaviour when you disable overflow scrolling on the root/body element and enable it on a child element instead. There are a couple of reasons to do this: if you want to size your page relative to the viewport and don't want that size to change when the user scrolls up and down, i.e. you don't want that size to change due to a disappearing/reappearing URL bar, you can force the URL bar to stay visible, thereby forcing a constant height, by doing what I described.

3. This definitely doesn't happen to me.

4. I have yet to encounter an AMP link that didn't work with Safari Reader. I would blame the author of the specific AMP page before blaming AMP as a whole if it works most of the time on other websites.

5. seems like a hazard with most dynamic websites.

6. I cannot say I have experienced, but I do not use Reddit, so maybe that's why.

7. is true. Can't avoid that, regrettably — the whole point of AMP is to serve the site from Google's CDN (and to use AMP components to follow best practices for loading assets). However, I wouldn't call it a disadvantage.

8. I do not find it confusing.

I think 2/3/8 are parts of a bigger and more general problem. The AMP bar simply isn't necessary. It's part of Google's system of control around their AMP pages. AMP should just be an optional way to display pages, there shouldn't be this whole sub-app experience of flicking between AMP articles once an article has been selected from the Google SERP.

It's a nice idea and everything, but what they should have done is implement a similar thing to the Safari reading list, where you're suggested the next article at the bottom of the one you're reading, rather than having an ugly ass navigation bar occupy 10% of the screen.

For one thing, this breaks the gestures for going backwards and forwards in navigation history in iOS Safari, which I would expect to be the first and foremost complaint by any iOS Safari user grappling with AMP.
Nim is really cool. I tried it out for a few weeks last year.

It's biggest problem is the lack of engaged contributers (really only 2 or 3), leading to many bugs ( you can never really trust the compiler), little documentation, and a very messy standard library.

Creating a language is really hard work. Nim is impressive considering how many people work in it.

But in it's current state you can really only use it for "just for fun" projects.
> C (without macros) is pretty much a subset of Rust

Well, yes and no.

On the one hand unsafe Rust is roughly similar to C[1], and unsafe Rust is a subset of Rust.
But unsafe Rust is not the most widely used subset of Rust, stable Rust is ! And stable Rust is arguably way easier to understand and work with than C. And you can write fairly complicated software without writing a single line of unsafe code.

[1]: even though, the more expressive syntax and type system of Rust makes a lot of things less error-prone in Rust, like pattern matching or Result<> for error handling instead of switch and goto.
You also forget that South Korea pays significant amount of money for US "protection".
Software Engineers should keep lab notebooks
THE EVOLUTION OF DELTA DIFFERENTIAL ALGORITHM
Perhaps the general lack of ethics and morality in society is the product of the culture of incompetence, corruption and greed that the finance sector seems to nourish.
Snowboarding in Istanbul
So if I understand it, adding road signs before the new route adding estimated travel times (that take congestion into account) will fix things? The paradox arises from considering only route length, and not congestion?
> What right? Most people (but not enough) have some sense that privacy is an actual right. The number of people who think that it's a right that every device you own with an MCU or CPU should be a completely open general programming platform is a fraction of a percent.

Ultimately, those are the same thing. There is no privacy if you can't inspect it and verify that it's upholding its promises.

> What lock-in? You can have all your iPhone data (contacts, notes, etc.) on Gmail if you want, you can have all your photos synchronized to Dropbox. Which data are you referring to?

If you've used one word processor, how do you open them in another without using any external service?
Legal proceedings have just begun in the UK [0], and according to the article VW have already had to pay out to owners in Spain.

0 - http://www.bbc.co.uk/news/business-38552828
UK VW owners seek compensation over emissions scandal
with the rise of cargo cult style management, how often are managers different then a script that purchases items from Amazon randomly and bulk emails randomly generated business plans?
Thanks muchly for the reply - it was exactly the sort I was looking for, thank you. Always (Usually?) fun to understand other points of view.
If all the of the things which have had 'const' removed are members of structs that are themselves 'const', then there is no need to re-add them.
AMEN!!! In my current job, I am wearing both hats, and while I like that there is a certain variety in my work, users calling for help is highly disruptive when programming or doing some other stuff that requires deep focus.

The upside that in a three-person IT department there is very little bureaucracy to fight, just the odd "organically grown" legacy system.
I doubt this is a main reason. Main reason is that they don't have valuable natural resources that can be exploited, they have not so important strategic location. Investment in "liberation" of NK will hardly be as beneficial for US (main "liberators" in the contemporary world) as "liberation" of other more lucrative countries (that has oil or somehow threat stability of US dollar).
> It's not a hugely popular opinion

Eh? On the contrary; the iPhone appears to be the most popular phone on the market. Although there is not 'one' iPhone. There is the iPhone 6, 6S, 7, 7 plus, and the small SE.

For me, I'd like a small phone which I can easily hold in one hand. One I can remain using various years. Of which I can replace the battery myself. And, where it is I who decides which software I run (ie. not a review time ran by an American corporation). Of those 4 factors, sadly only the SE covers two (since iOS will run for say 3-4 years on SE). I'm also a proponent of longevity and reducing e-waste and while I cannot replace the battery of an iPhone myself the iPhones have a relatively large resale value, which is a plus compared to a lot of Android devices.

> I still feel that Apple are standing up for user rights (e.g. FBI/government requests to make phones less secure) more than any other mobile manufacturer.

Its easier to just buy a phone from a company who can't comply with such ridiculous claims from the US government. Imagine Apple was based in Ireland. Suddenly, the claim to insert a backdoor for the FBI in every iPhone is more ridiculous.

That was one of the reasons why I bought a phone from a company based in the same country as where I live.
Translation: "I'm wasting everybody's time."
Indeed, the watch is great. I'm not such a fan of the iPhone for various reasons, primarily that I find the interface a bit clunky and very much dislike the locked bootloader, App Store and so on.

But, to use Android Wear on an Android phone would involve activating various Google account settings I don't want to turn on.
There is (fortunately, in this case) no limit to the ingenuity of people to circumvent government regulations.

UC is creating jobs by increasing purchasing power. It's just that those people don't have lobbyists.
Given how amazingly slow many websites are, to the point where I start to question whether the site is working at all and deeply regret the fault in my brain that just had to know why list item #7 will surprise me, I generally assume your average web developer does most of their work on some kind of super computer; that probably helps make VR epic ;P.
At least they seem to have fixed that now (according to the blog post). Once they publish the fix to allow sharing the original URL, I don't see any downsides with AMP.
Not to mention "Don't worry, everything is where you left it" which I've had a few times when booting up. And the slow fade in makes it even creepier.