skysight-inc/HackerNews huggingface dataset:
The smart features mostly suck, but the idea of using two remotes (or a nonstandard programmable remote) is pretty unattractive. I jump through a lot of hoops to be able to plug my tv antenna cable into my tv rather than a set top box of some kind, so it would defeat the point to have a set top box for the smart features.

I suppose if the streaming services I use were all compatible with e.g. ChromeCast I could use that, but until they are I'm pretty happy with the ui of the SmartTV. Most importantly, the kids can use Netflix without having their own smartphones.

I'm going to check the settings really carefully on the TV to see if I can at least maximize privzcy, but I wish there was something better such as a firewall setting I could use. Is there a guide for various manufacturers/models floating around somewhere?
Because spies are paranoid and rather classify everything than inadvertently let something important out.
Going to give me a hint about what the hour long video contains? The video itself does not contain a description either and comments are disabled. After the first 12 minutes he's yet to say absolutely anything of value.

I'm not sure a ministry is the most impartial source in the first place, in the part I've watched he even lists secular biblical scholars as an attack on christianity.
Modern Software Over-Engineering Mistakes – Medium
You may like something like Codeception: you code your tests and it drives Selenium. Code is in php but I'm sure you can find the same kind of things in your prefered code language.

For a more visually oriented IDE Sikuli seems to be a good start but last time I checked there was no easy way to automate its use for CI.
The "SmartTV" isn't really smart (nor is anything to be honest). The SmartTV is just a smartphone type hardware built into the TV so the kids can Watch netflix and you don't need a second box + remote to do it. I find that pretty compelling actually.
Can he even ban it at all? AFAIK he's banned (or was talking about banning) the other direction - lobbyists getting government jobs.
Steve Jobs was never a good co-founder. Steve Woz was a decent person but Jobs was just behaved insane. He might be good at what he does, but he was not a good co-founder.
New Mexico is an interesting one. Any ideas why it should be the only C++ one?
I use Mendeley on my desktop which has a big screen and allows me to take notes side by side with a text editor.
I second Mendeley. Highlighting features, sharing. Awesome software

I only wish it had pen support (surface). If I could markup papers as I go with my pen it would be the ultimate tool.
In my opinion, he hates the fact that documentation of stacking things up is very poor. Which is true.
Check the synology forums linked in the article.

Quite a few units have completely died without explanation. From the descriptions given by the users it does sound like dead cpu.
Kubernetes Helm has graduated from the Kubernetes incubator
Heh, we had the exact same joke when I was growing up in Poland. It's a hidden critique of the system,which is a best kind of joke.
> What can an average citizen do (short of living Ron Swanson-style in a cabin in the woods) to protect their privacy?

Talk to your politicians. Tell them that data privacy is important. If you're in the USA lobby for something like the EU's Data Protection law (even at the constitutional level). If you're in EU, lobby for stronger data protection (no more sharing data with the USA)
If you've tried the Kobo Aura One (7.8" screen) would love your feedback.
1. Press the Menu button or open the HDTV Settings.
2. Select System.
3. Select Reset & Admin.
4. Select Smart Interactivity.
5. Right arrow to Off.
Ask HN: How is quality tests on complex softwares like IDEs?
How companies like Intellij IDEA does to manage quality assurance on systems with complex requirements like IDEs and development tools?

IDEs usually supports a large amount of configurations, each release must be tested to assure the features are working. These features must be tested with different combinations, because features can eventually affect each other. It's easy to calculate that this is a huge work to do each time a new version is released. Even with tests being automated, they need to be developed.

My guess is that they have large test suites, being executed on each new release by multiple really specialised teams on parallel, using multiple software engineering techniques. Am I right?
Leading Power: A Look at Japan vs. China
I have tried to look at CMake a couple time and always found it very...inflexible? Currently I have a hand-written Makefile which:

- automatically collects executables to build from the .cpp files in two distinct directories

- uses the CPP preprocessor to only link in the object files in the rest of the project associated to headers used directly or indirectly by the executable .cpp files

- allows me to select the compiler using an environment variable

- allows me to pre-define some common options for the three supported compilers (e.g. to disable specific warnings with ICPC and increase the template instantiation depth for Clang)

- allows me to specify whether I want to rebuild everything or just a single executable and whether this should be copied into the external directory contained in my $PATH

Yes, putting this together was a bit of work (208 lines for the Makefile, 34 for the dependency generator and 15 for the script which puts the current output of `git diff` into a CPP #define), but now it only rebuilds the things needed, only links in the object files needed and allows me to quickly test multiple compilers. Getting all this with CMake seemed extremely difficult when I last looked at it.

Addendum: I should add that my only external dependency is Boost and LAPACK and I essentially ask the user to point me at their Boost base directory and plug in their LAPACK link line -- this works well for the target audience (fellow physicists who are used to all sorts of horrible toolkit installation processes), but I understand it may be annoying to the more general public (or if you have more external dependencies).
Oxford Deep NLP – An advanced course on natural language processing
Why should it be enforced by the compiler?

We're talking about garbage-collected languages (and "language" traditionally includes the standard library), not garbage-collected-only languages.

I mean, by your definition, C# also doesn't count, because it has unmanaged pointers in it.
ISO C Meeting Report – Whats new in C
A dumb old laser printer that doesn't know I've been feeding it cheap aftermarket toner for more than 10 years.

It's not a waste of paper if paper is the most efficient way to get my work done. Paper has a large viewport and unlimited battery life, while only weighing a fraction of most electronic alternatives.

The only thing that a computer does better is searching, but this problem can be easily solved by having a PDF open on some other device as well. You don't have to choose one or the other.
Totally agree, maybe they would need UI polishing to make it more user-friendly a la "GitHub". But first priority definitely should be backend speed improvements, not frontend.

Also good backup strategy. :)
If I remember correctly, the reason Facebook switched to Mercurial from Git was because they needed to make some changes or add additional functionality and Mercurial is an easier system to do that with, apparently.
Laptop when I'm at my desk, but otherwise I actually use my smartphone. It's a biggish one, and in landscape orientation it's enough to fit the (printed area of) the width of a pdf page in a decent font size.

The convenience of just taking the phone out of my pocket and start reading more than compensates for not having a whole page in view.
I wonder if Comcast does the same, they can even cache user interests locally waiting for a connection to be available.
30 years of Culture: what are the top five Iain M Banks novels?
Is it an unsecured or secured connection? Can you make a connection?

You might want to check if they just blocked your IP addresses and your connections are being dropped. Although if you're been running it for 2 years(!), I think you have it covered.

Just a tip: It's very easy to clean up completely garbage data from a database. Any data scientist worth their salt would do that. Getting rid of your garbage data just needs a couple lines of code. What you need to do is, skew the data so that it isn't suspicious but eventually will mess up their inferences.
Yeah, not Nixon with Watergate, Reagan with Iran-Contra, or Bush with Guantanamo. No, Obama's the precedent here and he's the one blame when Trump does something.
Fair point, but the author still could have given some examples of common ones.
Well, if you're going to read that magazine you should expect to see contradictory information as it hasn't been a reputable publication for quite some time.

And, yes, I do mind.
Disagree. React was released in 2013, but use didn't take off until Dan Abramov released his Flux implementation, Redux, in early 2015[0]. That is a full two years of a Javascript view library with the backing of Facebook where it didn't leave much of a mark vs angular.

Most of the projects that contributed to React/Redux becoming popular[1] were developed outside of Facebook - altho some of those developers went on to work for Facebook.

I'd also argue that it isn't the projects themselves that made it popular, but rather the design philosophy that React/Redux brings to a project that is popular. The Redux part is a Flux implementation, but the React part could also be seen as a "React" implementation - one that certainly has flaws and could probably be improved on much in the same way Flux has been improved on (there are other parts that could use this as well).

If you think of the React/Redux style as opposed to React/Redux the code projects i'd characterize it as an ad-hoc, componentized, purely functional and immutable architecture. But that is just listing characteristics, rather than capturing what it is about. Formalizing what it looks like could bring improvements to the ecosystem.

I'd also argue that big company backing has little meaning in web application development, unlike enterprise services, hardware and operating systems. I have two enterprise clients who both migrated from jQuery style web applications to Angular 1 largely on the basis of Google's support. They're now both migrating to React/Redux and have been burnt by Google's support - meaning two periods of developer re-training, prototypes, testing and then migrating code in just over a single year. There are similar situations with Microsoft's ASP.NET MVC although they're handling the transition much better.

[0] iirc he released it earlier, but first half of 2015 is when React + Redux "hockey stick'd"

[1] the term is definitely React/Redux - React isn't (and wasn't) as successful on it's own. Welcome to the new GNU/Linux.
> Copyright is a privilege granted by the government.

AFAIK, it's actually "Copyright is a privilege RECOGNIZED by the government.".

I'd be surprised if if was the other way around in the US.
Microsoft enforced that and OEMs decided they'd rather build Android phones than Windows Phone ones. The rest is history.
Why Webpack 2's Tree Shaking is not as effective as you think
How I built the IMDb message boards, in 2001
The biggest reason to use make_unique and make_shared is to avoid the ancient C++ problem with non-deterministic order of evaluation. In code like this:

// definition
foo(std::unique_ptr<bar>, std::unique_ptr<baz>);

// call
foo(std::unique_ptr<bar>(new bar), std::unique_ptr<baz>(new baz));

the only guarantee is that `new foo` and `new bar` will occur before the corresponding shared_ptr constructor, and all of them will occur before the call to foo. This means that the following is a valid sequence:

1. new foo
2. new bar
3. unique_ptr
...

Now, if constructor of bar throws, you've leaked foo.

With make_unique, construction and smart pointer acquisition is a single atomic operation - if it throws, everything gets cleaned up.
I agree 100%. Thanks for the clarification!
You're new to HN, but as you'll find out, we don't really recommend posting jokes or wisecracks in the comments in an endeavor to keep the signal-to-noise ratio a little higher.
Why not, when you are abroad it is kinda the only way you can watch many of the content that is not available in other countries. Even subtitles are not available in English in some countries like Sweden.
Open question: how well does Vue handle isomorphism? Our standard React template now for new projects is isomorphic, and we're porting old projects when/where we can.
On Code Reviews
You stopped one iteration short. You assume you can, and will, know that your OS and your disks do not lie to you.

Yes, persisting data in a consistent and durable manner is hard. It is damn hard. It was hard 20 years ago when systems required to store obscene amounts of data started to become more common and it is hard today.

(This reminds me of a discussion a couple of years ago on how to kill processes. There are two schools of thought. One is that you should go through the SIGTERM - wait - SIGKILL dance, because that's "being nice". The other is that you always send SIGKILL immediately and instead engineer systems that can deal with it)
> Polymer's CSS automatically spills over into the child components.

Hm? No, the opposite, the shadow DOM provides CSS encapsulation.
Loan Store – Perfect Solution for You to Improve Your Bad Credit Score
> Users interacting with the modified program over the network have a right to access the modified source, there's absolutely nothing about the client software (database drivers, web browsers, etc) accessing it being considered part of a combined work.

No, but there is a definition of corresponding source which includes code beyond the direct scope of the AGPL in case of mongodb: "Corresponding Source includes interface definition files associated with source files for the work, and the source code for shared libraries and dynamically linked subprograms that the work is specifically designed to require, such as by intimate data communication or control flow between those subprograms and other parts of the work."

This is one point of contention that was brought up by multiple people in the past because it puts client libraries into the scope.
They either don't or will happily silently downgrade to SMTP even if previously they've connected via SSL. So an active interceptor can still intercept communications.
By and large the only way to prevent man in the middle and downgrade attacks is to use DNSSEC and DANE. Without that, an attacker can just filter out the STARTTLS option in the SMTP EHLO response and the mail will be sent in plaintext.

However, active attacks like downgrade attacks and TLS man in the middle are not popular for large scale surveillance. The reason is that it is easy to detect.
The expression "old thinking" really makes me cringe.
A Samsung Galaxy Tab S 10.5 (2015?) with Xodo PDF Reader. The screen is very good and big enough to read and highlight/comment PDF's, even for todays standards. Xodo also saves the annotations directly back to the original PDF. Using Dropsync/Dropbox for syncing with the PC.
Back in USSR, everyone thought that it is KGB who tracks these jokes and those who spread them.

Who knew it was CIA all the time? :)
Python In-App Purchase Validator for Apple AppStore and GooglePlay
Good one. But it would be better with a cat instead of a rabbit, so the bear will just yell:

-Meow, meow meow!
No, I am arguing that Google doesn't have the guts to improve the situation.

Most people around the world are on pre-paid, not contracts, and they only update their devices when the current one dies.

Even now, the majority of the devices being sold on the 300 € border are Android 5 or 6, with no planned upgrade to 7.
That's the equivalent of people having to manage blacklists for ad blocking - it doesn't work for most people because it's too much work or too difficult.

Just like uBlock solves it by making an accessible plugin and a manages blacklist, I hope someone will launch a simple appliance for home use that will manage this. The router/firewall UI would just need to provide simple switches for blocking various manufacturers' data collection.
Yeah, being unable to host Gitlab under 512MB is just too bloaty for me. I know Gogs doesn't have this issue for the same features I use. I still use Gitlab though because it's the mainstream.
https://www.whitehouse.gov/the-press-office/2017/01/28/execu...

"1. I will not, within 5 years after the termination of my employment as an appointee in any executive agency in which I am appointed to serve, engage in lobbying activities with respect to that agency."
I'm surprised by this heated debate regarding GC in this thread. Are you arguing that scripting languages that use reference counting are not garbage collected? PHP used reference counting for a long time (cycle detection only made it into the language in version 5.3 if I trust Wikipedia), it feels odd to consider PHP as not being garbage collected.

For me the underlying technology is not very relevant, what matters is "do I have to worry about exactly when the resource is going to be dropped". I use the resource and when I stop using it it'll probably be deleted soon-ish. At any rate it's not really my problem (at least in a perfect world).

You say "With reference counting [...] you keep track of your allocations and release them when you're done with them" but that's not really true, I don't keep track of anything, the language or library does. I can't really tell by looking at some code in isolation when or how the resource is destroyed. The GC takes care of that.

Some languages like python, Java, Go or PHP have 1st party garbage collection that's active by default and other languages like C, C++, Rust and friends have optional 3rd party GC implemented as libraries (reference counting or otherwise).

I really don't see what's so controversial about this.
Funny, I feel the exact same way about the windows world. The few times I've ever had to touch a windows machine, someone tells me
- "Oh just reboot it to fix that microsoft problem."
- "Oh the system update must have been corrupted, reinstall the OS."
- "Oh just go download this rando .exe using your browser that isn't signed or open source, that tool will be able to fix your problem."

I just wonder how that could ever possibly be acceptable.

You don't even have to reboot a Linux machine to upgrade the kernel nowadays for crying out loud.
This isn't a phenomena limited to JS frameworks either. These days, anything corporate-sponsored tends to overtake alternatives (Rust vs Crystal, etc)
Thanks for the link, I'll check it out in more detail in the morning. I worked with an algae biofuels company so for fun we messed around with a lot of different light types with various strains. We got some crazy growth rates using a flat PBR with ~3:1 red:blue leds and no green whatsoever. Our best outdoor open pond results were about 25G/m2/day (on a 30cm deep, 1/2 hectare pond) but with the right leds we could do the equivalent of several hundred g/m2/day. We had good luck with high frequency pulsing too which further cut the energy usage.

Edit:

That user definitely seems to know their stuff, all the math and logic around quantum flux and measuring photon output seems solid. It seems that green light is more beneficial in the presence of white light which makes sense from what I remember of photosynthetic apparatus (I left that co. ~2 years agoso I'm definitely rusty). Id be curious to know why the green response curve is so different between algae and plants but perhaps an investigation for a different day.
Why India doesn’t trust its private sector
I wonder why no one mentioned it, but I would like Mendeley to have a device like this that only has Mendeley and I will be so happy.
They are most likely symlinks to mlocate
If you don't understand your object graph, then maintaining a large codebase is going to become very difficult. You'll get questions like 'who is responsible for updating this object' or 'who is responsible for notifying when X happens', or 'why does every object talk to every other object', or 'why does it work very slowly when there's a large number of objects'
Trump promoted him to head the FCC but he's served on the Commission itself for almost five years:

> He was initially nominated for a Republican Party position on the commission by President Barack Obama at the recommendation of Mitch McConnell. He was confirmed unanimously by the United States Senate on May 7, 2012,[1] and was sworn in on May 14, 2012, for a term that concludes on June 30, 2016 (though he may stay on until 2017 even if not reconfirmed).

Ref: https://en.wikipedia.org/wiki/Ajit_Varadaraj_Pai
I think having an OS available for free was more relevant.
In order to roughly scale how much technical knowledge this actually represents, remember that most humans, even most humans with home networks, do not know what routers and networks are.
How can I be productive while dreaming
So what? It probably started off as a fun hobby project like "I bet I can write a fast server in javascript." That was probably all he was interested in at first. Now he deals with problems that are not fun and not anywhere near that original hobby. These problems are clearly not what he considers fun at all, therefore I don't see any reason why you had to be snarky with the OP.
Could you cite some books explaining that train of thoughts ? It's interesting to me.
Facts President Donald Trump Doesn’t Want You to Know
If you generate too much text, it will not speak.

Relationship with God is like a person. He's going to look at you with disgust. He's not going to be your friend and love you.

God says...
shrieked churlishly clunkiest bobsleds dismissal flaws ohs corolla coiffure's vigil umbilical liberator equated intensives phonetician creeps Lusitania's Havanas filibuster's yield's fiend medals integration ironclad's overcompensation's conqueror's unavoidable undresses millennium's assertions Kiribati's glowingly

--------

5 Then Jesus said to them, “Suppose you have a friend, and you go to him at midnight and say, ‘Friend, lend me three loaves of bread; 6 a friend of mine on a journey has come to me, and I have no food to offer him.’ 7 And suppose the one inside answers, ‘Don’t bother me. The door is already locked, and my children and I are in bed. I can’t get up and give you anything.’ 8 I tell you, even though he will not get up and give you the bread because of friendship, yet because of your shameless audacity[e] he will surely get up and give you as much as you need.
I really tried to use a 6'' kindle for that, but it just doesn't work. I tried it with .pdf, but the screen is just to small and scrolling is not really comfortable. When I tried to convert them to .mobi with calibre, all formulas just looked nasty.
Today, I read them on my 14'' ThinkPad with Redshift installed. It does its job well, but it isn't as handy as a Kindle would be.
New LinkedIn UI
That's not correct. A well-written SPA can lazy load components, take advantage of code splitting, load in modules asynchronously after the initial load. There are plenty of strategies to push the time-to-interactive timing right down. Webpack 2 supports multipage apps with individual dependency graphs for each page. SPAs have progressed considerably over the past few years.
Nexmo is hiring Java Dev's
Another version is about a time when KGB agents were asked to help with identification of a ancient mummy and they made him to admit that he is Ramesses II.
Yes, essential viewing!
I add the remark here: in some literature, especially older, Reference Counting is not listed under Garbage Collection, but under Automatic Memory Management or Automatic Storage Reclamation.

See page 6, remark 7 in 'Uniprocessor garbage collection techniques', Paul Wilson:

http://scholarworks.rit.edu/cgi/viewcontent.cgi?article=1322...
Introducing “fabricated” data breaches to Have I been pwned