skysight-inc/HackerNews huggingface dataset:
One man feeds a chicken daily and then kills it (wrigs its neck). From the daily feedings, the chicken learns that the man is not an enemy (he acquires a view that the nature is uniform, and friendly). Considering that the man eventually does kill the bird, that view was incorrect, so it should be refined.
Have they never heard of averages?

Just show time remaining based on last 5 minutes, 1 hour, 5 hours, and all data.

Or does apple not like that kind of "complexity" and wants just a single number?
Yeah, this is an issue for those of us who came online in a different era of the Internet. Nowadays people can and should assume that the Internet is actively hostile and malicious before they even log in for the very first time. We grew up in a far more innocent age. Loads of us used our real names on Usenet for example because it simply never occurred to us that someone was archiving it all, after all, why would anyone even want to do such a thing? And who had the money for it? And they didn't tell anyone they were doing it until years after they started, which was in very poor taste.
+1 for the No Agenda podcast, by John C. Dvorak and Adam C. Curry.

They watch the news (so you don't have to!) and each week they de-construct the biggest stories from around the world, revealing the truths behind - and the motivations for - the news that's given to consumers.
Edit:
I forgot to add:
The systems they are using are mainly completely outdated systems and there is almost only string concatenation for request building, didn't see any prepared statements.
I remember reading that the Linux kernel does not use Intel's hardware RNG alone for /dev/(u)random precisely because of concerns that Intel has backdoored the RNG.
Voice is pretty good target for being separated from everything else. My "ok google" recognizes my voice pretty good even if loud music is playing, for example.
Why do your think your right to read a "useful" comment overrules the rights of the original writer of that comment? Not snark, a genuine question.
Ulterior States (2015) Cypherpunks, Bitcoin and changing the world through tech
C2/C3 systems have been built ontop of Windows NT since the 90's, nothing really new.
I'd be interested in reading about this "strong evidence". Seriously. But I'll I've seen is quotes from people in the US's security aparatus that we should trust them that strong evidence exists.
How about puzzles for a metaphor?

The police can seize my puzzles, but they can't compell me to tell them the solution, even if they can't solve it themselves.

It does miss the effects (potentially incriminating content being decrypted), and maybe it's a bit too silly.
Which statically typed language do you feel offers the same level of developer comfort as Ruby?

My favorite statically typed languages are Haskell, Rust and C# but I prefer Ruby over them whenever possible.
It is terse and somewhat dramatic illustration of plato's allegory of the cave (https://en.wikipedia.org/wiki/Allegory_of_the_Cave)
> The issue with the Snowden revelations and similiar programs is that there is no warrant or court process.

For Americans, yes, or rather that the NSA meddles with internal US affairs at all. For the rest of the world, the issue is of privacy, economic espionage, and having no way to vote in the US to get rid of this practice. Apart from Merkel. She only cared her personal phone was tapped. Which is exactly what I expect the NSA to do: target specific high priority targets. Including heads of nation states.

But, economic espionage and mass surveillance? No.
Fair point.

When I said "mission critical systems that aren't as mission critical as nuclear submarines" I meant that a mistake can result in us losing $400 million in 30 minutes rather than the destruction of civilization as we know it.

I don't know what people in the latter case use, but it sounds like they use Windows for Submarines.
You mean Google/Gmail and Facebook? That ought to do for at least 90% of all cases.
Less Medicine, More Health
I've read several reviews by critics, as well as some users here on HN, that report that the new MacBook Pro battery is actually lasting quite a bit longer than its predecessor. I always found this surprising considering the current ongoing controversy.

I myself bought a brand-new 2015 model 15 inch, and I'm getting all day battery close to 12 hours. I've never had a laptop deliver such battery life before. And that's doing C++ development all day!
I don't know why you're downvoted, because this is exactly correct.

https://www.vsecurity.com//download/publications/XMLDTDEntit...

Granted, most modern parsers disable the features that can trigger this by default. But there's still a lot of code out there compiled against libraries that did not, and some of that code is still updated and extended today.
YouTube video where the author of the text covers the same idea: https://www.youtube.com/watch?v=x8KoqciAtlQ
Obviously it fragments the language in a way that's harmful for human readers as well as software like compilers, editors/IDE plugins, and so on. How to know which variant of Rust you're reading? As you add more options that change the syntax and semantics of the core language, these difficulties will be compounded.

Maybe a bit of fragmentation isn't the end of the world, but I think you'd need a really good argument in its favor and in this case frankly I don't see one. Additive extensions/features (like GADTs in Haskell) are an easier sell for me because a) they actually add something useful and b) they generally don't change the core language, but rather sit on top of it.
"Fb is a shunk (flattened) pure functional programming language."
This is not very convincing.

Also I'm not sure why would anybody support this.

1. You can have skype from official sources on windows, linux, and on OSX. Ok, the experience may be sub par, but I'm pretty sure still better than with a reverse engineered unsupported solution.

2. Skype has lost traction, there is competition widely available. Why invest in something that is loosing popularity, and can have it officially for free?

3. Choosing C for implementing such a project is not a good idea. I'd not choose C for anything personally, but if I had to for whatever reasons, I'd only do it if I had plenty of resources for testing and verification of the solution, as the language has quite some gotchas, and to use it for network facing code, I'd think twice. For a poorly funded reverse engineering work, which will always play catchup with the official solution this is definitely not the tool, as you will have to sacrifice some testing because of the very nature of the project, thus you also sacrifice security. Maybe the sound code can be justified with C.

4. Licensing an unlawfully obtained code as LGPL is pretty controversial imho. (Your readme suggests you reverse engineered skype 5.5 client code. I'm pretty sure you violated the EULA with that. I'd not use your code given these circumstances even if it would work as advertised, but you surely couldn't defend GPL violation lawsuits given these circumstances)
There's Time Remaining indicator in the Activity Monitor, you don't need 3rd party tools.
It's easy to do in any language/framework which accepts raw strings as SQL input. Which is pretty much all of them, except for ORMs and similar (and even those usually have an escape hatch, which sufficiently lazy/clueless developers can and will find eventually).

If a raw string is allowed, then the standard facilities - string concatenation, formatting etc - can be used to write injection-vulnerable code.

The only mitigation that does not require educating the end developers is to completely banish strings from the API, and require everything to go through a DSL layer instead. Said layer can then ensure that all values are properly quoted and/or parametrized prepared statements are used as needed.
...yes.
Yep, I remember a Destroyer been adrift after Windows for Warships crashed at least a decade ago.
Can't speak for GP but for me the kicker was that you cannot get any guarantees on the mutability of an object, and the unexpected quirks that could result from it. Example:

https://redmine.ruby-lang.org/issues/6037

You can (must) be pragmatic, of course; and assume that all will go well. But under the hood, it means a great many objects get pointlessly allocated and reallocated - or not, sometimes, with hard to find bugs occurring when a gem author overoptimizes their code to avoid making a few object copies, and ends up mutating your object's properties without you realizing it.

Things have improved since, with e.g. strings being frozen by default if you want them to be since a few versions ago. Even in this changelog, there's a least one point related to memory allocation that touches the performance consequences of needlessly allocating new objects.

Back then, I found Obj-C (and Swift, maybe?) more conforting in this respect, with most things being immutable unless you explicitly requested the mutable version. And I liked ARC a lot. (I haven't programmed much in recent years, so can't say what I'd use today if I were neck deep into code. Probably Swift.)

Another issue was that Ruby was then attracting a lot of end-users that had no formal software engineering skills. Which is fine for day to day tasks; not so much when they start distributing libraries. (Always vet your gems' authors and source code.)

I still love Ruby, mind you. It's beautifully expressive and it's still my preferred language for non-trivial "glue" tasks.
> $400 million in 30 minutes

You write systems to autoplay Free to Play games?
"Said Leopard to Baviaan (and it was a very hot day), "Where has all the game gone?"

And Baviaan winked. He knew.

Said the Ethiopian to Baviaan, "Can you tell me the present habitat of the aboriginal Fauna?" (That meant just the same thing, but the Ethiopian always used long words. He was a grown-up.)"
Will an American explain what the House judiciary committee is, what power they have, and if this paper by them has any impact.
County punts on whether to adopt new modernized logo
The best boss I ever had back when I worked retail used to walk the store every morning, write down all tasks for that day and then prioritise them, he then gave that to me and I just worked the list until finishing time, I asked him once if he minded I didn't get them all finished every day and he replied "Nope, I don't expect you to", it was incredibly unstressful, I always knew what I should be doing, communication overhead was low and the list was a measurable measure of progress over a day.

Last I heard he was senior management in the whole company so well deserved I'd say as a former sub-ordinate.
The problem is that there's such a thing as lie by omission. Cherry picking which truths to release, and which to keep hidden, can provide an extremely distorted picture of the world.

Indeed, 90% of modern Russian propaganda for internal consumption is exactly that. It's not that they lie all that much, it's that they selectively choose the facts to focus on, and the facts to ignore, to create a very specific view of the world.
> They can't compel you to provide information from your mind, such as the passphrase to a phone.

In the UK, they can [1]

[1] https://falkvinge.net/2012/07/12/in-the-uk-you-will-go-to-ja...
Wait, do you really think that embedded Windows versions behave the same as end-user ones?!

That's like saying "Linux sucks for embedded devices because Ubuntu automatically updates kernel and breaks stuff".
Big Tech's AI Predictions for 2017
And the OS is out of service (thank god :)) but the submarines running it aren't (oops)
Speed is part of the user experience, but again it's more complex than that.

Nobody would have used snapchat if it didn't take photos but the site loaded in 1ms. Nobody would use it if it had loads more features and took 2 hours.

Speed is a part of it, and must be traded off with all the other parts of the user experience.
(Former Googler worked on this topic and now help businesses with this kind of question)

The short answer is focus on what is best for your users and what they expect, but there are a couple of things you need to do for best indexing in some cases.

To answer your last question first, if your server can respond to a URL and browsers fetch it successfully, Googlebot and indexing will be fine. Want to use UTF-8 for fully localized URLs? Go for it. Want to stick to ASCII? Sure. What's best for your users is the answer.

Trends across languages is a very odd request. Take the string of characters "chat". In English it's used in many different ways, a verb, a noun, etc. Same string in French means cat. You really wouldn't want to look at the trends of this string by combining English and French.

Now your biggest question: a search engine tries to identify the language of the pages in its index, and also the language the searcher is using. To illustrate:

1. The "chat" example is perfect for this, but also any number of queries.

2. Take someone searching from Switzerland. Wouldn't it be better to show them pages in their preferred language, be it German, French, or Italian?

3. Take someone looking for a specific business. If that business has pages for its UK, Australia, and USA subsidiaries, it would be great to show searchers the right country page if they're searching from the UK, Australia, or USA, even if all are using English queries and these localized pages are also all in English. For that, you'll need hreflang annotations, which also works across languages in the same country (Switzerland) or across languages (global pages in English and Spanish).
Linux desktops do the hard part out of the box: scaling everything by an integer factor. But then there is no built-in way to downscale the result to a usable size, which should be relatively easy?

For example, if you need more space on a 5K iMac than the default 1440p@2x, you can have macOS render everything at 1800p@2x off-screen, then downscale it to fill the screen.

The UI looks like this: https://support.apple.com/en-us/HT202471

I think it can be done with xrandr, but IMHO it should be a built-in option in GTK-based desktops too.
> I don't recall any *nix OS's having automount and autorun enabled by default?

If you're implying that Windows does, then that's the consumer version. These settings can be controlled by group policy. In a military or corporate environment operated by an administrator, they certainly should not be assumed to take on their default value, and instead should be assumed to take on their configured value.
Sorry did you mean 2016 (if you did and correct it I'll delete this comment, so don't reply to it) which your context implies
He, beings capable of interstellar travel would have very little need for "slaves", I mean, even on mean old earth slaves only made sense until 1 coal joule was cheaper than 1 man joule.

If you can travel over light years a joule is going to be extraordinarily cheap, or time is not relevant. Either way, very hard for me to see how human slaves would be of any use to them.
High frequency trading, more like! Or just trading.

Mistakes such as selling 610,000 shares at 1 yen, instead of 1 share at 610,000 yen.

Clash of Clans only makes on the order of ~$2M-$8M per day, according to estimates, so it'd be tough for a Clash of Clans outage to cost $400M. Only when playing with money, or with equipment worth $400M can you lose that much in 30 minutes.

(What kinds of equipment costs $400M and can be ruined in 30 minutes? Offshore oil rigs, I'm guessing. According to Quora, the least-expensive offshore rigs are $200M, while average is $360M. Ruining one of those with a software error would be a very bad day. Another option might be equipment in space such as satellites, though I imagine those are relatively harder to ruin.)
(For context, that is how Apple prevents people from plugging anything but its own keyboard into the extension cord, or daisy-chaining two extension cords.)
The ratio between K1 energy and K2 energy is the ratio between a sun's radiation falling on one planet and the sun's radiation over the entire sphere.

So a directional transmission with the beam angle of a planet from the sun at K1 power should look similar to an isotropic transmission with K2 power.

For earth, that angle is 0.0025 degrees, entirely possible with parabolic antennas.
Note that this is not purely a House Judiciary Committee working group; as the page header says, it is a joint Judiciary Committee and Energy and Commerce Committee working group.

This is an encouraging sign, as it indicates that interests other than those of law enforcement are being represented.
I'm not sure if rights is the correct term to use here. Those are choices made by the host, the experience they want to provide; and the members who have chosen to participate, accepting the terms of the host, aren't they? Well, I guess rights of some sort are involved, the commenter ceding copyright or some such to the host.

I'm not a lawyer, and admittedly haven't taken the time to look up the appropriate legal terms and other minutiae involved, rather relying on the kindness of my fellow commenters to extend to me the benefit of the doubt with respect to what I'm getting at, and helpfully clarify anything that needs to be. Thanks :)
That is called charming.
You can check if a channel is closed or not. You can even use it gracefully as an iterator.
There is something special here, which is the unique combination of biospheres and natural processes that enable life as we know it. Maybe aliens also have the same life form as us, and they are looking for similar habitats? Our search for such habitats so far has not been very successful, which shows that we are a indeed one of a kind in the known universe.

The aliens who can visit us, however, are likely to possess technologies to terraform unsuitable planets. But maybe their technological development was not well rounded and space exploration was pursued way more than other form of technologies. Remember that we went to moon before we had smartphones. Just a simple analogy, but who knows?
And if you wrote said diary in code a la an encrypted phone or laptop, you absolutely could not be compelled to decode it.
A good understanding of randomness has much further implications than just generating random numbers for cryptography. This work is not indended as a practical method for generating random numbers, I think.

Randomness is very important for algorithms. It is currently unknown if being able to make random choices adds expressive power to efficient algorithms (the P=BPP question). Being able to generate good random numbers from a weak source can lead to more efficient determinsitic implementations of randomized algorithms, for example.
Wait, do you really think that embedded Windows versions behave the same as end-user ones?!

Typically they're worse, in my experience. Harder to work with, easier to make mistakes.
I want to not get fired and not rage-quit from my well-paying, but boring and tedious programming job. The saved money will allow me to quit sometime in 2018 and retrain to do something cooler (preferably a different kind of programming).
How can you lose an election due to leaks?

Forget the US elections, if you are running an election and you lose 'because of leaks' what is the rational response. Blame the leaker, blame your indiscretion, blame your own actions?

The post election narrative has become surreal with the cartoonish rhetoric of 'enemies' and 'russia did it'.

Why is Russia an enemy? What has Russia done to the USA? Instead of acting like a responsible member of the international community we are ratcheting up tension, hate and hysteria with no evidence. This is the definition of demonization and propaganda.

On the other hand we unironically place nukes at Russia's borders via NATO an organization whose reason to exist is anti-russian, stir up trouble in Ukraine, practiced some extremly dubious 'shock doctrine' economics by the Chicago school in the 90s that destroyed what was left of the economy and directly led to the Russian oligarchies and follow a distinctly anti-russia global policy. Let's not be blind to reason.
Though you're right that he's a decent interviewer and does have interesting guests, I'm going to reluctantly give a vote against Tim Ferris. It's hard for me to put my finger on exactly why I don't like him. It's like he's a modern-day snake-oil salesman, but that doesn't fully capture what's off about him. It's the name-dropping, the self-aggrandizement, the uncritical support for every new thing that's sciency, seemingly just so he can lay claim to being on the forefront. He just rubs me the wrong way.
A committee in either house (House of Representatives, usually "The House", and the Senate) is the body that writes laws and sends them to the full chamber for a vote. In doing so, they also research the issues involved, and can conduct investigations and can summon people (including government officials) to testify.

A paper by them does not have any legal force, but it often shapes the views of other members of congress, and reflects the views of those members who have the most interest in the issues at stake (ie the members of the committee).

In this case, both the Judiciary (dealing with both the court system and law enforcement) and Energy and Commerce (dealing with economic issues in a fairly broad sense) committees have a combined working group on encryption, since it affects both their subject areas.
The problem with your article is that it is just based on reasoning in a vacuum. It is not based on any repeatably measurable observations, and it does not allow you to make any predictions about anything, or to meaningfully fill in gaps in existing knowledge.

It uses existing vocabulary from physics, but just for superficial discourse. Entropy, locality, the Heisenberg principle, etc are not just concepts, but equations and definitions one uses to measure and reason about the physical world, which your article completely ignores.

Tldr it'a woowoo "science"/"philosophy".
I dunno, a self-replicating swarm would by definition be technological superior to us, for the next few decades at least.
I would suggest that a reasonable proxy-measure for how good a code base is would be to look at how long the bug list is (of course, this assumes the bug list hasn't been gamed). Is the bug list ever-growing, with no hope of being fixed and cleared? The code quality is awful.

Is the bug list empty, with bugs fixed rather quickly once they are reported? Then the code quality is probably good, because that is hard to reasonably achieve with a moderately-sized (or larger) lousy codebase.
This hilarious Scoble piece?

https://virtualrealitypop.com/im-inside-tim-cook-s-head-but-...

I wonder what he has been smoking.

I love this sentence:

"You pop it into a headset which has eye sensors on it, which enables the next iPhone to have a higher apparent frame rate and polygon count than a PC with a Nvidia 1080 card in it."
If we could ever scan your neurons and determine data from them would you be ok with that? While I can't imagine them pulling out whole thoughts I can imagine them extracting phone numbers as an example. Sure that might be 100-200-500 years in the future. I have no idea but unless you believe the data in your brain is stored in your sole it seems reasonable to believe someday there could be a device that could dump your brain the same way we can dump memory from other devices and that certain pieces of data will be able to be extracted.

Is that the same? Different? Okay? Not okay?

Or how about closer to reality: Memory enhancing chips are already available/in the works (https://www.technologyreview.com/s/513681/memory-implants/) should someone using those be required to allow the government to get a data dump of them?
Do you compile your code locally?
Come usare il dentifricio per altri scopi