skysight-inc/HackerNews huggingface dataset:
I disagree with you opinion on that. If you don't understand something doesn't mean that this is just for fancy optimizations.

Essentially you use std::move when you want to have pointer semantics without using a pointer. You don't want to use a pointers sometimes to keep objects on stack and use it to track ownership.

So instead of doing
C* c1 = new C;
C* c2 = c1;
You have
C c1;
C c2 = c1; // here I have a move constructor which moves c1 to c2, c2 is now a null object.

This is what rust is able to do and you don't need expensive atomics (shared_ptr), ugly template syntax (unique_ptr), can keep everything on the stack and (!) have the objects be automatically cleaned up correctly.
Apple depicts Qualcomm as a shady monopolist in $1B lawsuit
Sounds like Bryan should apply for a managerial job, not a development one. Nine out of ten IT managers I've met can't code shit. How exactly did they get the job is one of the great mysteries of our world.
I do work as a freelance consultant right now. I agree that 10k per month is not unusual for consultants, but that was not what I disagreed with.

I disagreed with the conclusion that this means tracking basically everyone, and I gave evidence of this not being the case for the UK, where if your gross income before tax is even half that, it puts you in the 90th percentile of earners.

Even 1/3 of that would place you in the 77th percentile. I've never been close to taking out less than 1/3 of what I invoice. But just in case:

The 50th percentile for the UK is GBP 21k/year, or a bit over 24k Euro/year according to the source I provided.
Except you probably want the reset anyway, since most normal people don't factory reset unless the phone changes owner.
Kick devices off your network, a new Nodejs tool KickThemOut :) star pls
In order for socialism to work, it needs access to every bit of money a worker earns so the part of it can be successfully redistributed. Because countries that implement socialism sooner or later will run out of money (as socialism by its nature is not sustainable), they will go to enormous lengths to discover any funds that are not declared and can be redistributed. Some countries are so desperate they want to stop using the cash at all. Humanity will always find solution to the oppression, one is the Bitcoin.
I wonder if there is some confusion between .NET Standard and .NET Core. As .NET Standard 2.0 is a thing but I can't find any official reference to .NET Core 2 yet. Obvious, this will eventually come but it's not on the roadmap yet as far as I can see.

https://github.com/aspnet/home/wiki/roadmap

https://blogs.msdn.microsoft.com/dotnet/2016/07/15/net-core-...

Disclaimer: I've not been paying as close attention as I did last year when writing my book on .NET Core (https://unop.uk/book/). So I may just have missed something.

Edit:

I've found some more info: https://github.com/dotnet/core/blob/master/roadmap.md#ship-d...

Milestone	Release Date
.NET Core 2.0	Spring 2017
.NET Standard 2.0	Spring 2017

This is weird as I had previously heard this would be v1.2. Perhaps it is but it's now a major bump rather than a minor one. Either a breaking change or to tie in with .NET Standard?

I guess this means it won't stay aligned with the ASP.NET Core versions now?

I spend time writing a helpful comment and the thread gets flagged. :(
True - I get calls regularly from people wanting me to invoice through shady schemes involving offshore trusts and "loans" that will never be called in.
> So you are saying we are gonna let banks get away with it

I said nothing of the sort.

> overreaching laws just to ensure Govts revenue

Follow the link from my previous post, are you suggesting that laundering the profits from trade in opiates and helping fund terrorism is better than some laws that require banks to be accountable for their actions? Those money laundering transactions are processed for a fee. HSBC made money from people suffering and from people dying/being killed.

It looks to me as though in the case of Mohammad Rahman that the banks have been given a procedure by the government to be followed but have neglected to implement a workable solution, based on there being no recourse for individual customers. It appears, at least in the case of Mohammad Rahman that the bank failed in their duty to the customer while citing "it's not our fault and we don't really care anyway". Followed by "oh shit, bad press! Remedy at 12 o'clock!" but that nothing will change in the long term because they still don't care either morally or ethically.

If banks want to be in the business of banking then they ought to make banking their job and that does not only involve profit at the cost of everyone and everything, not excuse themselves with a shrug every time demands are placed on the banking system.
Quite a few of us have been discussing fake/biased news for well over a year. When your feed shows you fake news people share from Brietbart and BlueNationReview, you tend to notice it.
The only ridiculous thing is how digital is overblown. Paper is a very good tool.

As for simple text files, well, I'm yet to see any startup coming even remotely close to beating Emacs + Org Mode with optional Dropbox sync. But IMO that's the culture clash - plaintext is about actual productivity and usefulness; startups are about bullshitting people with shiny things to get a nice growth curve.
.NET Core Whatever Wave - it won't work as advertised. The team don't even have an established release process. This whole situation is like OS/2 and IBM if you know what I mean.
Yeah, if you freeze your own wallet somehow :)
AFAIK OxygenOS is more about optimization than about security, but I might be wrong.

There's CopperheadOS and also SilentOS, both Android-based, the formed being open source and working on the Nexus phone. Don't ask me about how good they are or how they compare to each-other though.

In general, there are vast differences between devices - various vendors often add various applications that you might easily put into the malware category. I'd say that if Android, go with Nexus phone.
For pens, I am enjoying the Pilot 'Frixion' pens. Biro, but can be erased. Now with different colours and even a highlighter.

Only for note taking though, I'm not happy about erasable ink on official forms.
Preventing people making unreadable list comprehensions is exactly the sort of thing the 80 character limit is for ;)
"I was shocked to realize how dependent I’ve grown on three simple features that just aren’t available in the analog world: search, sort and filter"

https://www.smashingmagazine.com/2012/04/ui-patterns-for-mob...
I'm all eyes and ears :)
I have another conclusion. Here, for example:

"they would deviate from set procedures because the procedures can be “long and winding.” He said “sometimes you just know that you can adjust a valve slightly and that would solve the problem. Following the procedures might take you down a long and winding path.” You might think that's no big deal, just an engineer using his engineering skills; if he was caught doing this kind of action on an American submarine it would cost him his job and possibly his freedom. If you work on the Strategic Weapon System you must follow the procedures, mistakes can be catastrophic."

What I read is just that he doesn't understand the issues. The engineers make something and make the consoles sounding "alarm" for many various reasons. They also make the documents of the "standard procedures" to follow.

Now some alarms are in use observed to happen too often. That's a clear problem in how the thing was designed. The cleanest response would be to redesign the devices, or at least the documents of the standard procedures to include the "shortcut checks."

But in his specific case it's just the people on duty that passed their knowledge from one to another. Maybe they even tried to initiate change in the documents or even asked for the redesign and failed.

So they are not wrong for doing what they are doing, it's just that the system doesn't care enough for the feedback from "the trenches."

Which happens everywhere.

In that light, all non-engineers or people not being "in the trenches" with the technical equipment really have too idealized understanding that the things "just work." No they don't, everything fails all the time.

Which is why we really should press the politicians to reduce the number of nuclear weapons. Sooner or later there will be some very nasty failure, an unintended accident, and it's a big difference if that failure doesn't destroy the whole civilization at once.
There are only most basic refactoring features

Ha I always thought there were actually none.

even find all references is not reliable

Yup that sucks. It's better in VS2015

Project files are a mess.

Yeah it's xml but for the rest it just lists files and options, how is that much of a problem?

There is vcxproj file to define build and vcxproj.filters file for directory structure view in VS (I do not understand a reason for this).

Can be easily solved by ditching the filters file all together and enabling 'All Files' option in Solution Explorer. Unless you insist on having all files listed by extension, which is imo a useless complete mess for enything but small projects.

you can't set hexadecimal format just for one variable

You can, use '<variablename>, h' in the watch window
Hmmmm. -4. I fleshed out my thoughts in slightly more detail in another comment: https://news.ycombinator.com/item?id=13458224
PCI-DSS is okay if you put it in an HTTPS iframe. Many sites I've seen use that workaround.
Preventing Docker Escaping Attacks
> if they are, in fact, leading the game when it comes to engineering and quality?

I don't think so. It's a very high quality _mass produced_ watch. For example to compare it with cars i'd say it's the equivalent of a Mercedes: a very high end car when compared to all cars in the world, but to enthusiasts a Mercedes is quite ordinary/unremarkable.

Other brands have much higher floors of quality (e.g. Patek Philipe, H. Moser, Voutilainen). To continue the car analogy these are the Ferraris, Lamborghinis etc.
>I have no idea about their quality

Got Redmi Note 3 Pro a while back from China.

Came unlocked (+) but rom was adware probably installed by seller (-) - installed CM immediately and it was trivial (it did require a PC and a few CLI commands so for end users this might not be as trivial).

So about the phone - the reason I got it is because it seemed like a smartphone that had everything I needed (browsing/4g/streaming) at a price point where I wouldn't care if I lost it or it broke down (~150€ with VAT after imports). The screen is great, touch accuracy is very good which was my main problem with cheap chinese phones before. Battery life is OK, lasts me a day with 4G and WiFi on and a few hours of active use. One problem that was specific to my device I guess is that the notification LED is stuck in red - it blinks in other colors when I get notifications, etc. but it's always red (and this was before I installed CM). Maybe pulling the battery out and returning it would fix it but that seemed involved and I don't care enough it doesn't bother me anymore. Camera is mediocre, it will snap pictures when I need to share something practical (like sending a picture of a document that arrived or a package or stuff like that), but it's not something I would for taking photos - but I don't do that anyway so it doesn't matter to me. Fingerprint sensor works fine. It doesn't look cheap. Overall great value for money, unless you need a phone for taking photos I don't see why you would pay more for an android phone as an average user.
Breaking Habits: How to Bounce Back After Failure
6 Tip to Landing Your First Junior Developer Job
It is, but it might work for your app, too – js/css/image caching at CF nodes helps a lot. Moreover, you can disable their cache/cdn features and use it only for SSL.

They even have multiple modes, the "Flexible" one works even with no changes at your server at all. It obviously makes the CF<->server transfer insecure, but your users would still get a "green lock", if that's what you're after.

This is from their in-settings help: https://www.cloudflare.com/a/static/images/ssl/ssl.png
There is a reason the "computer says no" sketches in Little Britain resonated with people.
.NET Core is great technology and really fun to follow but ...

I don't think it's ready for prime time yet. Gonna give it at least another year.
The Design Secrets Behind the Apple Store
Oh, wasn't expecting that :( I will fix it asap. Thanks!
I actually really love `Cargo` : the rust package manager.
I hate to say it but I don't know grammar rules well enough to explain it. The best I can offer is something that sounds better to me. First example is the paper, second example is one possible rewrite:

"The first order of business will be to draw some distinctions between these notions and pick an appropriate focus for our present inquiry. That is the aim of section 1."

"Section 1 draws distinctions between these notions, one of which will be the focus of our inquiry."
I think this whole "go digital to save the trees" thing is utter bullshit, for the following reason:

- the digital revolution made people actually use more paper

- you get a shit ton of paper from a single tree; how much resources do you need to use to manufacture a computer, and keep it running?

- paper is recyclable

- as long as you keep recycling paper, it actually makes sense to plant trees and then cut it down - it sucks CO₂ out of the atmosphere and keeps it out
> just as german data stays in germany and chinese data stays in china, our data should stay here

Brilliant plan, exact the same like China's policy. That's why the built a wall (Great Fire-Wall) if every other nation follows we can have a nice Balkanized Internet[1] shortly.

[1]: https://en.wikipedia.org/wiki/Splinternet
It seems we know the problem and its solution:

> Ideally the linker would notice the ODR violation, but doing so ends up being expensive – you have to look into every object file to see if any of functions are defined in different ways, and the definition of ‘different’ is not obvious.

For this overhaul you mention, we just need to eliminate "undefined behavior" from our C and C++ implementations. Just. Or permit that [time-]expensive operation to run. Or create some new languages that specify everything so that there is no "undefined behavior."

For the first option (removing undefined behavior), every attempt is met with code that relies on a particular compiler's implementation of "undefined" for a particular operation. For the second (run the expensive operation), the option needs to be available in the linker (I have no idea whether it is) and programmers need to have the patience to let the tools run. For the third, see all the new languages upon which much work is done, especially in the LLVM community (Julia, Rust, Swift).

I believe the renaissance you want is underway. Just not in C/C++ land.
It's always either redundant or indicative of a problem elsewhere. Either section 1 has a title/thesis that makes it obvious what it's about and so the restatement is unnecessary, or you need to say it because you haven't already made it obvious. Instead of saying "This is the aim of section 1", just make the point of the section apparent.

This is a class of stylistic issue that's common in professional writing by those new to it and usually stems from a lack of confidence in the topic or in one's self.
Remove it. If you've stated your goal, that should be clear. There is no reason to state that you've stated your goal.
I would be curious to see how they would have handled the PR if Samsung were at fault. I would like to think the exact same.
Favorite pen: Lamy Safari fountain pen with EF nib, and Noodler's Black ink. I've been using this for many years and it's always reliable. The grip is comfortable and the construction feels solid (it's survived being dropped a few times with no real damage). It's reasonably priced and meant as a practical tool, not a fashion statement like some fountain pens. And Noodler's Black ink is waterproof and will write on the cheapest paper without problems. I've tried many other fountain pens and inks but I always come back to this combination because it's so trouble-free.

Favorite pencil: Rotring 500 0.5mm, with Pilot Neox 4B lead. I never much liked pencils before I found this lead. It's the softest I've found in 0.5mm, softer than most brands of 4B. It lets you write with very little pressure so it feels more like using a pen. The Rotring 500 has the same solid and reliable mechanism as the famous Rotring 600, but a plastic body so it's cheaper and lighter. But despite being a good pencil, I can't recommend it as strongly as the Lamy Safari because of one major flaw - it has no end cap. I reserve it for desktop use because the end pipe is completely unprotected and fragile.

I have no strong preferences for paper and IMO a good writing implement should work with any common paper.
I carry a small "Field Notes" pocket notebook in my back pocket, it's useful for jotting small notes down and reminders.

Each day I review what I've written and and input anything important into digital applications
This was mainly a QC problem. Batteries were produced with an unusual rate of defects that resulted in internal short circuits. Cramming the battery in to the smallest space possible may have exacerbated those defects, but batteries for consumer applications should not be so fragile that moderate pressure on their shells causes them to explode.
I'd rather be a fraud than the sort of guy who goes out of his way to get somebody fired from their new job.
Why not ask people directly?

Imagine public transport was full of 90% polite people who would happily give up their seat, and 10% assholes who'd get in your face for no good reason. And you couldn't tell those people apart.

If all the polite people had the app installed, using it would let you address them and avoid the 10%.
Right an attack on an RSA signature that leaks plain text. Really? Must be a super secret signature then.
Ditto! I have a leather pouch full of them :)
It gets boring after a while, no doubt about it. But for beginners, simply learning (really learning) to do the moves correctly will take a little while as they build up muscle memory and good habits. Once you're there and showing some good numbers, your body is ready for any program you like!
Makes you wonder if this is limited to the Galaxy Note 7 if there is a design fault in making the battery safe.
They all feel like work including orgmode, while writing and sketching on paper is playful.
Using RVM is not always an option and some might consider it an anti-pattern.
Interesting. I wonder how useful journaling would be to help combat insomnia. I will give it a go next time I am lying in bed at 2am with my head buzzing..
Management and development are largely disjoint skillsets, which is why it's so rare to see a successful transition from the latter role to the former.

The useful question to ask is not "how do lousy coders get management jobs?", but rather "why does anyone think being a good coder translates to being a good manager?"
You can keep your private functions private and still test them.

In your testing file, add the following at the top

@testable import 'target'

All of the private functions in your target will now be exposed for your test cases to utilise.
Because you need to be able to have one boat in repair/refurbishment, one en route to deployment or returning from, and another being replenished and preparing for its next deployment. Four is a minimum to get by and as you increase the number of boats you still only get an on-station percentage less than 50%.
Except for the South Asians.
You noticed the same as I did. Google trends etc. will also show you this exact pattern and when exactly this "Fake News"-calling started. After a while it backfired when the ones they called "Fake News" pointed out how they are also reporting many things incorrectly. Source: https://www.google.com/trends/explore?date=today%2012-m&q=fa...

After a while they even started to use it in Europe and how our elections may also be affected by "Fake News" and how Russia is planting this. They even started EU government programs to counteract "Fake News" even on schools. Source (how to recognize fake news school program in the Netherlands): https://www.weekvandemediawijsheid.nl/mediamasters-universit... and https://www.omroepflevoland.nl/nieuws/141814/almere-bieb-ver...

This must all have been set up long time before they started to use it.

The only thing this did for me is making me take everything (all sides) less seriously.
I cannot believe to live in a world like this where people keep this going while we talk about people their lives, health and our future. It should not be like a joke, it was all too obvious. Still many people think it is really something without there being any real proof of what it actually is.

One of the claimed proof of what they call "Fake News" (used many times to proof the existence of it) is someone (then unknown by all sides) that created an article about protesters being bused in by Soros or something while proven to not be true. The whole situation was too weird when people started to research the author. Source: http://www.snopes.com/anti-trump-protesters-bused-into-austi...

In reality Soros and his organizations (many part of the EU as well) sponsored and influenced many protests and still do. Read the leaked open society emails to learn about that. Source: http://soros.dcleaks.com and http://nytlive.nytimes.com/womenintheworld/2017/01/20/billio...

To be honest, while living in the EU, I am afraid to tell people how I see things (and I still try to be objective) because it is all getting more violent by the day. This is mostly still confined to the internet but I can already see this changing all around me especially with the EU elections nearing.
Hail to the king, baby, with DotNetNuke
Its great to see people still advocating for XMPP, particularly federated XMPP
Look at Craigslist or EBay. When Datacenters upgrade, they dump massive quantities of server gear for cheap.
Travelers is brilliant. I've been wanting a Sliders (but better) reboot for some time.
What, you mean she has to talk to people? Ugh that's so 20th century.
This is exactly what I was trying to get at with my original comment. There needs to be a lot more sharing of package management tools and techniques across language boundaries. Generic platform- and language-agnostic tools and algorithms are a step in the right direction!
You mean computers should be able to work around humans ?
The page looks awesome, I'll try to use it when deciding my holydays. Quick feedback: It would be awesome to have the option to have Celsius degrees instead of Farenheit. Also, it would be ideal to either a) Specify that the currency is US dollars, or b) select your own currency.

Good luck!
Yeah that's true. You can say that his reviews are comparisons between devices of similar caliber but you get to see some details that you wouldn't otherwise expect e.g. If a USB port supports display out etc
> Is there any evidence whatsoever that the missile could fail in a way that would mean "obliterating tens of thousands of people in the wrong country"?

Yes, in the "test" last year (that is, the missile luckily didn't carry the real nuclear bomb) the missile was launched to arrive around the coast of Africa but it flew toward Florida! There's no more obvious miss than that.

That's the very "Trident "accident" which May did not disclose to Parliament" from the top post of this thread.

And the reason we should really press all the politicians for the reduction of nuclear weapons. It's not the question of if but when and what the consequences will be of the "accidental" detonations.

The best protection is to have at least a very limited number of weapons. The balance of power can be held even with a little of them.

If you hear anything else, it's from those that don't want the balance but to "win."