skysight-inc/HackerNews huggingface dataset:
Yes, I read the first edition many years ago - it was a huge benefit to my naive "bash the code out however I can" practices.

Now, when reading it, I'm kind of like "yes, that's good, except when..." So you learn to temper the rules with experience. But in the beginning of your software development journey, you need something to keep you in line.
If you are using the Java API, there is an enum Regions in the com.amazonaws.regions package.
I'm sorry this is just untrue. It would take 5 mins of research to realise how many innocent people have died due to extrajudicial drone attacks.

Generations of people categorised as "collateral damage" to me is evil.
If you're compressing audio, the simple solution is to compress using constant bitrate.
Logically speaking, an encrypted file should have a high entropy set of bits within it. Compressing it would be low return, but higher security since the input file contained more "random" bits.

Compressing the source material will yield smaller results but will be more predictable as the file will always contain ZIP headers and other metadata that would possibly make decryption of your file much easier.
What is the legal force of 'should not' (as opposed to 'must not')?
Greatest catch in baseball history
The freemium model might work for public toilets. Your first five minutes is free. The bidet function is free. Extending the door lock timeout by another five minutes costs $X. TP is $Y/meter. Tampons, pads, condoms, fragrances, etc. are available from the vending machines. Using warmed water for the bidet function costs $Z. Adding medications or fragrances to the bidet function costs extra.

The stall itself is robotic and self-cleaning, so one human attendant can service dozens of locations. The human labor factor is what usually torpedoes the economics of privately-owned public-access toilets, so if you can engineer the robotic functions well enough, your per-customer operating costs can drop low enough that you only need 1 in N to pay you anything to stay in business.
I'm concerned about Apple possibly removing the 3.5mm jack. Removing the ability to use a headset + charge my phone at the same time is going to be a killer. I may switch back to Android if that happens.

I bought one of the very few 3.5mm cellphone headsets I could find (Voistek) for my wife and it works pretty well. We shouldn't be forced into choosing between wired up for charging or wired up for headset/headphones.
This is the correct analysis. Power costs are high in India and its often unreliable, requiring many industries to have expensive generators in place as backup.
Actually, not at all. It's directly measurable http://www.ncbi.nlm.nih.gov/pubmed/17833905

"The pupil response not only indicates mental activity in itself but shows that mental activity is closely correlated with problem difficulty, and that the size of the pupil increases with the difficulty of the problem"
"Stream-based code is certainly not something you can read off the cuff."

List<Integer> transactionsIds =
transactions.stream()
.filter(t -> t.getType() == Transaction.GROCERY)
.sorted(comparing(Transaction::getValue).reversed())
.map(Transaction::getId)
.collect(toList());

I honestly think most programmers fluent in Java 7 programming, can guess this is finding "grocery" type transactions, sorting by "value" transaction property in descending order, extracting the transaction ids, and returning the result as a list. ("map" could be confusing, as this usage is borrowed from functional programming.)

May take a while to learn the performance and memory usage characteristics, and how to correctly write code in this style, but I'm not buying that it is difficult to "read off the cuff."
The article is about why that can be wrong.
Yes, guilty as charged. Ever since I saw you presentation in Paris in last September, I was dying for wireguard to come out.

I'm curious what will be your strategy with regard to working or not with upstream Linux ?
In my experience, after my Bluetooth devices are paired, they seem to be rock solid. (I know - YMMV, "works on my machine", etc.)

Where things have gotten the messiest for me is when you connect multiple devices and the system has to make arbitrary decisions - e.g. when my wife and I are both in the car, whose phone should the car sync with? These are design decisions for which there is no exact answer.
No. I don't like Hillary by any means, and I don't like her attitude on drug war and crime and whatever else you wanna cite, but these things are mere political differences, whereas racism and xenophobia are immoral, utterly nauseating, and unamerican.
None of which matters a whit if Britain does not invoke Article 50.
Eggs Don’t Cause Heart Attacks – Sugar Does
I do have a bluetooth receiver with NFC. It's great!
For a guerilla war to be successful, the foreign occupier has to lose the will to win. Such resistance is hopeless in general terms of warfare, to be won it has to be considered as much a political war as it is a conventional one.
What about on iOS with fine-grained permissions? Messenger works just fine for me. I've revoked everything except background updates to get notifications.

When will these fine-grained permissions come to Android?
Microsoft Smartscreen says it's been reported as a phishing site. However, if I strip out the URL parameters and just go to http://avc.com/2016/06/best-seed-pitch-ever/, there's no problem. It's only when you go to the full linked URL http://avc.com/2016/06/best-seed-pitch-ever/?utm_source=feed... that there's a problem.
I agree with you. People use "Cognitive load" as meaning to say "people should be thinking the way I think, because to me that is very easy and straightforward".

The load gets bigger not because the code is more complex, but because we reason about problems differently, we build different mental models of the solution, and if these models are too different, then the cognitive load gets heavy.

The other side of the coin is that books like Code Complete go a long way into making those mental models more clearly stated.

Solving the underlying problem (big variety of mental models) means standardizing how we thing about solving programming problems. The GOF book, head in that direction... then again, they become used for the sake of implementing a pattern instead of solving a specific problem. I think this is one of the things that keeps software development in the craft area, as opposed to engineering. but that would be a different rant
It is ironic that the people most qualified to grasp the problem of essential, irreducible complexity are software developers. That many don't shows that something very fundamental in the underpinning of computer science has been lost: https://news.ycombinator.com/item?id=11932963
Crime relies on compression --- the "CR" stands for "Compression Ratio"

The idea is that the DEFLATE compression algorithm used in the TLS compression mode CRIME attacks will build and index of repeated strings and compress by providing keys to that index.

Here's a beautiful demonstration of another similar compression algorithm: http://jvns.ca/blog/2013/10/24/day-16-gzip-plus-poetry-equal...

So, if you control some subset of the plaintext you can make guesses as to what the secret you're trying to get at is, and if the size changes after compression you know that you got two hits to that bucket in the index, so your guess is right. You can use this technique to guess some string character by character -- reducing your seach space to n*m instead of n^m for a string of length m with character set of length n.
It's not just the headers. You could strip those off and count on the other side to put them back on.

It's that the act of decompressing arbitrary data can leak very important information to the attacker.
I imagine they would log all the inputs, as well as branches taken so they can later replay everything in a debugger. That would make the process much simpler.
Maya for 3D modelling - Open Source

Scratch for Drag and Drop programming - Open Source

Linux and open source software are fantasic, perfect for a refurbished 7 year old laptop like this. Windows would also run like crap on one of these, Christ it runs like crap on an i7 with 16GB of RAM.
Citc is, in a word, amazing.
There's relevance in talking about both micro- and macroscopic guidelines. Both are important.

Very rarely does someone "read" an entire code base "with one look" and be able to deduce issues. You do, at some point, have to get into the weeds. Managing that experience is what articles like these are about.
I have been there but unfortunately no pricing info under EC2 or S3. Checked the product details link and FAQ links. Nothing.
not sure if you are just being a troll with that statement.

The loss of all innocent life is wrong, regardless of who the perpetrator is or the skin colour of the victim.

Its one thing for a terrorist to behave like a terrorist and another thing for a publicly financed government to behave like one
What point do you think you're making?
China tells app developers to increase user monitoring
Use the framework that the team likes and wants to learn.

You're going to get the best value from a framework that is matched well to the team's current skills and ambitions. Consider:

* Team currently writes procedural code versus Framework requires understanding of Functional Programming or Object Oriented Programming

* Team writes quickly and loosely versus Framework requires developers to code methodically and carefully (perhaps because it has less "out of the box" features and more "flexibility". Security is a good example here.

* Team likes technical challenges versus Framework makes coding routine boilerplate and boring.

etc.
Yeah. Looks like their two dimensions correspond, left-right to serif vs sans-serif, and up-down some sort of bold/italic dimension?
But in almost all cases it's right.
They didn't make fun of https://www.sidewalklabs.com/ in the same way.
Nope, secure ciphers are resistant against attack-controlled plaintext attacks.

The reason that plaintext -> compress -> encrypt has issues is because the length of the ciphertext gives away the plaintext if the attacker can control parts of the plaintext.
Can someone explain why being in-kernel is considered a feature?
No, because the length of the plaintext+encrypt depends only on the length of the plaintext and not on the contents of the plaintext; whereas the length of the plaintext+compress+encrypt depends on the length of the compressed plaintext, and the length of the compressed plaintext depends on the contents of the plaintext.

So, different plaintext of the same lengths, which would've resulted in plaintext+encrypt of the same length, instead results in compressed plaintext of different lengths which results in plaintext+compress+encrypt of different lengths, leaking additional information!
Lightweight HTTP cache, based on file, suitable for CDN especially
It is not merely an ethical issue to use pirated software. The potential loss of security is a huge issue with pirated software.
|> from scalaz. API is not that usable though. F# have List.map, List.filter functions for example, which are not present in scala.
> What framework will you choose if you could start over?

Anything that is not Python or Ruby or NodeJS based, i had so many problems and nigthmares with Django/Flask/RoR/bottle.py/web2py/Meteor/etc.

> He say PHP Framework...

Anything but CakePHP, Zend or Code Igniter maybe Laravel or Slim.
Mozilla may be a good company to look at that is open source and has a large codebase. They use a monorepo for Firefox (in mercurial). mozilla-central is around 154,000 files.

Here's the cloc of mozilla-central:

--------------------------------------------------------------------------------
Language files blank comment code
--------------------------------------------------------------------------------
SUM: 102542 2311779 2493273 13090450
--------------------------------------------------------------------------------
رجيم البروتين لإنقاص الوزن
Oh cool you came to the kernel recipes talk. Much has progressed since then.

I wrote an email on LKML and netdev today to David Miller, the network subsystem maintainer. It's not ready for a [PATCH] set now, but it is ready to get initial feedback from them, so that I can start to get things ready for upstreaming. So: that's on the roadmap and a primary objective!
Just an aside: if you have Full Keyboard Access turned on (in System Preferences, Keyboard, Shortcuts) then the Bluetooth prefpane is fairly usable with just the keyboard. You can use Spotlight to open it, then tab between the controls and activate them with the space bar. You can toggle it on and off this way, and even remove devices. You may also be able to navigate the Bluetooth Setup Assistant to re-pair, but I didn't take it that far.

If you prefer wires, the new trackpad will work as a wired device as well if you just leave it plugged in. For some incomprehensible reason, Apple placed the Lightning port on the bottom of the new mouse so that one can't be used wired, but they weren't so catastrophically stupid with the trackpad.
My problem is precisely that these scientific methods are not used when "cognitive load" is being used as rationale. Wouldn't you agree that it would be a mistake for me to claim that cognitive load is an issue with something if e.g. I have not shown that pupils dilate (or some other reasonable experiment indicating correlation)? Unfortunately, doing these experiments is difficult, which justifies "hard to substantiate."
It's "rabotnik" in Russian, and remarkably, "rab" does mean "slave". Czech is too distant however so any verbatim parallels are useless here.
New York Times braces for big change
General Curtis LeMay believed he would've been tried as a war criminal for the fire bombing of Tokyo.

http://www.pbs.org/wgbh/amex/bomb/peopleevents/pandeAMEX61.h...
The technology of higher education
> What culture doesn't acknowledge self respect

But we're talking about self-esteem, which everyone is supposed to get for free. Self-respect, like the respect of others, must be earned. Equating the two is a quintessentially modern-American mistake (I'm a modern American, and I made this mistake myself for years), and I think that's what 'sklogic calls out above.
So what was actually happening?
Something that's always bothered me about people who complain about low voter turnout among young demographics in the US is that young people are the least likely to be able to make it to the polls. In the US, election days are like any other- your employer is required to accommodate your vote, but in practice, younger demographics are much more likely to be working multiple shit jobs with bosses who treat them like disposable labor and couldn't care less about their rights. There are initiatives in many places to literally ship retired voters to the polls so they can vote, but our government seems to make it difficult for working people to vote. Or, while we're at it, take advantage of any other government service like the DMV, post office, etc that are only open during business hours.

Are election days national holidays in the UK?
I can't think of a single reason to use LinkedIn's native app.
The idea that you should make livestyle tradeoffs while making $140K+ a year is absurd. But the alternative, spending $4k a month on rent, is also absurd.
Compressing then encrypting gives you more effective compression and (somewhat) less effective encryption. Encrypting then compressing gives you more effective encryption and less effective (almost ineffective) compression. So, depends which one you want more. :)
There's no compress or encrypt _first_.

It's just compress or not, before encrypting. If security is important, the answer to that is no, unless you're an expert and familiar with CRIME and related attacks.

Compression after encryption is useless, as there should be NO recognizable patterns to exploit after the encryption.
I think that you inadvertently pointed to a piece of the puzzle that is pretty important, but retirement communities are a problem, not a solution.

The ideal city is habitable to people of all ages. I don't know if you can make it happen with a top down approach, because I think that it is cultural, but in some cultures the old people are involved in the lives of the young. They are active, they assist with childcare, they pass down old recipes, they bring multi-generational families together, etc.

Ushering the old off to separate communities to die sounds pretty miserable.

Disclaimer: I'm (hopefully) going to be old some day.
Sexy call girl Lise +971569052110
Go ?
KGB/FSB are interchangeable. I don't think this pedantry invalidates his point. The reality is that if the US is caught doing something you can bet other countries are doing the same, and if not more, considering how little oversight autocratic states have. This is basic game theory and how countries handle foreign relations. Hell, Putin murders journalists on a whim. That's a far cry from cellphone tracking.
I said "reasonably." I at least followed the trail to The Intercept and figured the stat was in there somewhere.
Not at all - with compression thrown in, you get a measure of the entropy of the original plaintext from the length of the compressed message.
The commitment and potential loss of resources while waging war is actually a valuable input to the system. If all war was virtual, then why not continuously wage war with everyone weaker than yourself all the time? Why would the strongest not virtually-subjugate every other nation? In the real world, resources aren't unlimited and losses are cumulative. So consideration must be made as to when it's worth committing to a war.
Most (good) encryption schemes have the property that knowing part of the message, or some other information like message length, will not help you decrypt the message.
Speed, simplicity.

It's not possible to do highspeed crypto from userspace while still integrating with the usual networking stack. Tun devices result in copies and context switches which makes things quite slow.

This also adds quite a bit of simplicity.

But sure, I agree, it's scary. But not nearly as scary as the obscenely huge xfrm/ipsec layer in the kernel. Or the dozens of other kernel tunneling deivces available. And I dare even say it's not as scary as most userspace VPN solutions like OpenVPN which are massive code bases. WireGuard, in contrast, aims to be quite minimal in its codebase, so that it can be audited by an individual.

I didn't make the title of this HN post, unfortunately. But do note: there _will_ be userspace implementations of WireGuard. It's most certainly not tied to the kernel. It's just that the OP saw me present at a kernel conf about it. :P
Could be that it's not the sun being the problem, but not having walls. Inside, the radio waves can bounce of the walls, around your body. Outside, they have to go through your body.
No option for Go?
Saving Time, Learning Scala, and Improving Code Quality at Schneider Electric
If you control parts of the plaintext, a well-designed cipher doesn't tell you anything about the rest of the plaintext.

But if you control parts of the plaintext, a compression algorithm will absolutely tell you information about the rest of the plaintext. That's its job—identifying similarities between different parts of the plaintext.

And it will leak that information in the form of the size of its output, and the standard definition of "well-designed cipher" doesn't do anything to mask sizes; the size of the encrypted data is the same as the size of the data passed to the cipher. So now both the data and its size are sensitive, and nobody's encrypting the size.

(You could sort of work around this by padding, but then you've basically removed the point of compression.)
One of the major functions of Hungarian notion was to communicate information which was not contained in the types of the actual variables, for example an int could be a count of bytes 'cb', or perhaps a handle 'h', etc. But it ended up being mostly misused to communicate redundant type information, such as a char* being 'sz' (zero-terminated string), which tells us nothing we didn't already know. As you say, better IDEs made the latter kind of naming no longer advantageous (if it ever was) but that was true for some time before Hungarian notation fell out of favour - the real reason being a rejection of its redundancy within MS during the transition to .NET. Joel Spolsky details the good and bad of Hungarian notation here:

http://www.joelonsoftware.com/articles/Wrong.html
What are the various city research projects like the Y Combinator initiative?
Firstly, there must be tons of companies that work on cities in general that ask similar questions:

https://www.sidewalklabs.com/

And secondly, every Urban Planning program is essentially a center to study how cities can be improved. Implicitly, the must ask what it means to improve a city i.e. what is the purpose of a city?

What is different about the Y Comabinator approach and do all these initiatives form a large network or are they silos?
http://www.cnn.com/2016/06/02/politics/donald-trump-californ... . It of course opens with the weasely "fair" opening sentence: "Protesters and supporters of Donald Trump clashed in the streets of San Jose, California, Thursday night after the presumptive GOP nominee held a rally." But the violence was exclusively in one direction, violent anti-Trump mobs attacking peaceful Trump supporters while waving Mexican flags and burning American ones. The biggest provocation from a Trump supporter was apparently waving the middle finger. A mob cornered her and threw eggs at her face. http://www.msnbc.com/msnbc-quick-cuts/watch/trump-supporter-... At least she didn't have a bloodied face and need to be taken away in an ambulance, like some Trump supporters have. This has been playing out all over the US.

If you vote based on who has the most violent supporters, then you'd be crazy to cast your ballot for a left-winger in any Western country. There's a contingent of far-left protesters in the West that just cause mayhem at any major event, like party conventions, G8 summits, WTO summits, Davos, etc. You barely hear about it because it's basically background-noise to Western society at this point. I don't think it's fair to use this as a shot against everyone on the left, unless they're trying to accuse conservatives of violence, or unless they're purposefully tolerating or equivocating about the violence, like the mayor of San Jose did.
It works primarily because code health is a number one goal here, everything goes through rigorous mandatory code review, nothing submits into the repository without running all affected test targets, and the goal is that everyone can pretty much "always" (for various definitions) build off head.

And also that there be no walls between teams and projects and code sharing is a universal value across the company. At least outside of Chrome/Android, which are in their own worlds.
Japan is an island and needs external resources in order to survive.

When the nuclear bomb was ready Japan was already under siege and nothing could get inside or outside by air or sea. Japan was already defeated consuming resources like food or oil and not replenishing them, it was only a matter of time for unconditional surrender(Japanese had already proposed "honorable surrender").

The US documents are already declassified. Nukes were launched because:

1-They were ready, and the military wanted to test it on a real target. The war was going to end before they could test it.

2-To give a clear message to URSS, specially over Europe occupation.

For the military there was not a real difference between bombing a city and killing women and children, like was routine by the time, and doing it much faster and effective. Over 50 million people died at WWII. Nukes only killed a small fraction of it.
But we seem to missing the planes that can fly halfway around the world in less than half an hour on less than one tank of gas.
Is there any way we could build a miniature black hole in a lab?
This blog is an interesting way to advertise to their target market: us.