skysight-inc/HackerNews huggingface dataset:
we've spent a great deal of energy solving how to reverse engineer depression with moderate success. how about taking it the next step and figuring out how to quantifiably induce inspiration.
Deuce elf won't.... What have we got? Economics, whom to what. Politics, one in six, and sometimes why.
Link to the actual page, instead of the blogspam version:
http://programmers.stackexchange.com/questions/203471/why-do...
Any comments on DCI?
TechCrunch Top Stories of the Day
there's a language named "js" or "py"? i'm only aware of languages named "javascript" or "python" ;)
Yes. The contest is not about actually exposing flaws in their cryptosystem, which is why the rules are rigged up in a way that would allow even a terribly insecure protocol (like Telegram's, or Moxie's counter-challenge protocol) to pass as "secure".
Capitalism needs consumerism to deal with its overproduction crises.

This only illustrates the fact that "capitalism" and "free markets" are not synonymous. In a free market, producers who overproduce go out of business.
Yes, outside.
Although the underground of this contest was to prove security and inability to read messages by 3rd parties
contest was about decrypting Durov's chat. Chat is not decrypted and as many say - it's nearly impossible (http://thoughtcrime.org/blog/telegram-crypto-challenge/).
But "bookmark" is found and it means that all the PR was shit.
Telegram already removed 'xor nonce' from their documentation and added a new layer to their api but who knows where they will put a next bookmark. Probably it will be hidden in a deeper place. But trust is already lost.
It appears that either their secure protocol was containing the bookmark specially or that protocol is getting written by non-specialists which cant guarantee any security.
> so as a digression, which language do you think has a runtime that controls memory access better than OS?

I mentioned two: Python and Java.

In general, I mean any language where the runtime only hands programs valid pointers and the language doesn't allow pointer arithmetic. This means it's possible to guarantee that pointers will only point into objects that can be validly accessed by the code which holds those pointers.

This is generally done to make garbage collection easier, but it can be done to implement security policy: Basically, if your security policy trusts a given runtime, you can use that runtime to enforce access policies on objects of all kinds, including memory.
Their contest was based on a sample packet capture only.
its interesting that you assume I mean then that cynicism is the answer. I think we have an economic structure that uses fear as its primary motivator. Fear of depression, homelessness, suffering, and death. Working toward a solution of quantifiable inspiration would be a much more meaningful approach.

I think you can intentionally inspire people, since we all have experienced people who do it to us over and over again. So all that must be done is treat that as an abstract principle rather than intangibility, define it, and apply it more broadly.
I'm surprised AltDrag[1] didn't make it in the list. It's incredibly useful !

[1] http://code.google.com/p/altdrag/
"oil tends to be priced in dollars internationally"

And when that doesn't happen, suddenly they have the CIA overthrowing their leader, creating terrorists groups for false-flag operations, the US government spreading lies about WMDs, and then the entire army can go and fight the illegal (by international laws) war on terror.

There should be a war on ignorance, so that we don't have to read comments like yours anymore.
As Bill Black says: the best way to rob a bank is to own one. (He even wrote a book titled like that.)
Hah, "get disappeared"
Racket can actually return multiple values rather than a product type, which is what Python does. However people don't usually use it because it's easier to just return a pair or whatever and then pattern match on it.

http://docs.racket-lang.org/reference/eval-model.html#%28par...
I was surprised to see that in 1974 - earlier than I expected.
I disagree, it was not making fun of bitcoins as a concept, but only satirized some aspects of the bitcoin community, and at the same time trying to make the cryptocurrencies to be more accessible to people. Moreover, part of the joke was that it very well could become real.
Telegram's contest itself is meaningless regarding the security of its protocol (as others explained in details). Finding bugs such as this deserves 200k more than anything else
IMO it has a different place than GIMP, and they actually co-exist on my system. GIMP is more of a PhotoShop clone, whereas Paint.NET is more of a PSP clone and/or MSPaint on steroids. I've found that PS/GIMP are usually best for creating a production-quality image from scratch or for touching up full-color photos, but Paint.NET is best for doing informal graphical work (mock-ups, screenshot annotations, etc.)
So this was supposed to be secure/robust/mature/trustworthy ? Not impressed, still too many companies around pretending it's sooo easy to make something better, how hard can it be ?
It seems to me that some domain-specific computations are better modeled with the ability to return multiple values. For example, digital signal processing - a handy abstraction in DSP is the idea of having "blocks" and simply connecting the outputs of some blocks to the inputs of other blocks. A block in this model can be viewed as a function which is executed continuously.
200k gone just like that, better now then later.
It's fitting that cryptocurrencies become a giant CCG.
Rivals challenger Freelancer numbers
This is an interesting question!

I've come across the thought myself from time to time... usually have to end up creating objects/structs to then return, though in the past when I've been lazy (on iOS) I've chunked things into NSArray/NSDictionary.

But darn, I can't remember specific examples right now, I know I've definitely had moments where returning multiple things would have been nice lol.
Woo, crowd-surfing!
He's not getting it apparently, even though he discovered a major flaw. Sounds like a great PR stunt gone bad for Telegram. What a joke.
Have you tried distros other than Ubuntu and desktop environments other than Unity?

Also, can you be specific about how Linux gave you an "inferior user experience?"
Foobar2000 is a great project, it's tremendously efficient (I think it uses 10-20mb when running), and the plugin feature allows you to extend it however you wish.
Here is a great guide: http://www.overclock.net/t/1156654/seans-windows-7-install-o...

:)
yup - shopping around isn't coming up with any actual competitors for StartSSL. Would love to know if there are any. Selling the boss on giving copies of a lot of personally identifying (sensitive) information to a company with that kind of site is going to be hard :( If only they didn't look like they were 10 years old...
Do you know how it compares to the old Google Desktop search? I miss that...
I hope this person will get the full $200,000. I definitely don't think we can ever trust Telegram's strength again. They won't be paying him the full $200,000 even though he has rendered the Telegram to be weak. Major, major backfire for Telegram stakeholders.
I am not sure whether I would call this specific instance blogspam. It is a curated series arstechnica runs together with stackoverflow that presents the most interesting excerpts.
"gazillion"
well, that explains a lot of things in my life ;)
Interesting. Reminds me of the times long ago when pocket calculators were a new thing and I was also owning an AM/FM radio and held it close to the calculators to listen to what they were "doing". You would hear a lot more in the radio than the bit of whining and buzzing that you can hear acoustically from nowaday's computers.

So, I was wondering, what about the FM radio built into many (if not most) mobile phones? Connected my earbuds (they also function as antenna), turned on the phone loudspeaker, laid the earbud cable over my laptop, tuned the FM radio to some frequency where there is no radio station (thus statics playing), and voilà, I can clearly hear correlation between noise and activity. Even when I'm placing my earbuds/phone a foot away from the laptop I can still clearly hear when I'm opening some new window. The sounds are not as 'colorful' as they were on an AM radio when listening to calculators, but I'd wager a guess that it's better than an acoustic attack.

So much for thinking that making acoustic noise like playing music would dwarf the attack vector "mobile phone".

PS: what might prevent this attack is that on some (most?) phones the output of the FM radio can't be captured directly. It could be played through the speaker and recorded through the mic, though. The attack as carried out by Genkin/Shamir/Tromer is sending tons of encrypted emails and would probably arouse suspicion anyway if the computer was attended, thus this indirection may not pose a problem.
And the author figures out it is all about liquidity, which it is. The reason you might take a Euro for something is that you can give it to your bank and they can convert it into something you can use for more things (dollars, rupees what ever).

I'm really curious though about what happens when someone walks up to Coinbase (as an example) and says "I've got 150,000BTC, please convert that into dollars for me at the market rate. What? No worries I'll just wait here. You can wire the dollars to this account here ..."

Let's assume that BTC were trading at $600 each, that is $90M dollars. Where does Coinbase get the $90M to cover their side of the transaction? Since nobody "bought" the BTC from Coinbase (perhaps some was bought there, but perhaps someone had just stolen it from the FBI or something) the counter party to that transaction (the person who gave dollars for BTC or gave watt-hours for BTC) their contributed value isn't at Coinbase, it is spread across perhaps a half dozen exchanges.

How does that even work at scale?
Standardized Achievement Tests: What Are They Good For?  Not Cognitive Ability
The stated reasons are all stupid. The real answer is likely that programming language design is largely a cargo cult exercise and early languages only had single return values, which are easier to implement.
I remember this but I don't think that the F/A 18 was ever a serious contender. However:

The government may have 'leaked' to some in the media that the deal was going to be for F/A 18s purely as a negotiating tactic with their preferred suppliers.

At some stage Boeing may have said the deal was as good as done. This would have enabled them to impress other buyers and their own shareholders.

Ultimately though, the SAAB plane was a better deal, easier to maintain, with technology transfer and perfectly suited to the needs of Brazil. Whereas the F/A 18 was 'better at dogfights' (which haven't happened since the 1960's) and the French bid was expensive.

The deal is not actually a bad one for USA Inc. as the avionics on the SAAB are mostly American.
The top comment from u/theysayso on the same Reddit thread seems to put things in a good perspective:

Other posters have already noted that you can still have the solar panels, you're just not going to get paid for net metering. What people typically want is the best of both worlds, to charge onto the grid when the produce more than they use (and get paid for it) and have the grid available to supply power when they generate less than they use. But maintaining the grid also costs money. If all your ratepayers split, it makes it more expensive for those "left behind". Who gets left behind? Typically people with less money, that can't afford the systems in the first place, apartment dwellers, etc. The other noted challenge are battery systems. You can go completely off the grid but installing the batteries is WAY more expensive, takes and takes up a lot of space. The technology is disruptive, which the article really didn't go in to. For PV to push electrons onto the grid it needs to be at a greater potential. So if your local grid is 120v the PV needs to adjust to 120.1v. Then your neighbor installs one, and this her/his neighbor. If you're on a long radial line the voltage at the head end might be 126 just to get it to be 118 at the tail end. Normally a utility will install capacitor banks to adjust the voltage. Now you have PV going in everywhere totally screwing with the voltage so it becomes a bit of a grid management challenge. You need to know where all that is going in, what its rate of power is at any given moment (clouds/rains suddenly everything changes and the utility has to compensate). So yeah, a sticky problem that could get out of hand pretty quickly.

http://www.reddit.com/r/technology/comments/1tey5l/a_solar_b...

credit: http://www.reddit.com/user/theysayso
Cold Email to Mark Cuban Turns Into Investment
I use multiple return values in Python all the time. Returning tuples (which due to multiple assignment actually work / appear as multiple return values). And using continuations, generator functions, etc.
Enable automatic trimming of SSD drives (Ubuntu)
Essentials of PEP 8
Down: 28.08
Up: 4.66
US
ISP:Cincinnati Bell
http://www.speedtest.net/my-result/3180272022
old copy of their doc which has 'xor nonce' inside: http://webcache.googleusercontent.com/search?q=cache:FAntx8l...
Why does Telegram provide the generator (g and p) and then suggest validation and caching? These can be hardcoded parameters
If the 'point of a gun' element was the major determinant in how much currencies are worth, Zimbabwe, which had and has a military sufficient to kill its own citizens, would never have had hyperinflation.
I believe if you install ImgBurn using Ninite that it comes without bloat. Win win.
Actually, in a free market overproducers try like hell to increase demand. They do that through better advertising, which these days means directed advertising. Mass media (starting with newspapers) has really changed the way the world works because it gives producers a way to affect the very fabric of society. Advertisements, TV commercials, billboards - we just accept these as part of the landscape. We accept the constant intrusion of private enterprise to influence our thought, which is strange indeed.

Mark Twain wrote a remarkable little book called "A Connecticut Yankee in King Arthur's Court", which to me is the quintessentially American book on capitalism as it is fetishized by Ayn Rand etc. The man travels back in time, and proceeds to use his technical knowledge to enrich himself, and civilize the medieval society. One of the steps he takes is to introduce advertising to the knights shields. This is presented un-ironically.

Of course Twain grew up in a very different time where the ratio of city to country was far different, and cities themselves were much humbler affairs. It was easy (and indeed the default) to be "in nature". So the product of "American ingenuity" no matter how crass represented lovely "civilization", and one could turn away from it if one didn't like it, and venture back into the forest. But now, with our mega-cities there are few forests left, and they are far away, and if we turn away from one advertisement we are just confronted with another and another and then another.
I have no issues with their certs on android 2.3.
Looking at http://en.wikipedia.org/wiki/List_of_radioactive_isotopes_by..., californium-253 has a nice 17 day half-life. I propose we make this our new value of currency.
Just asking, but isn't there a flaw in the logic and that this is actually not a one-way, but a two-way system? Like folowing:

* TWTR → USD → BTC → DOGE → MYCOMPANY *

* MYCOMPANY → DOGE -> BTC → USD → TWTR
cool stuff. Give the guy his prize
Good job dodging these guys.

BTW, I'm an active client of yours and love what you have going.
Depending on your use OSS might be an inferior solution to your needs specially if you're mainly a desktop user, but on the server OSS rules. OSS is not for everyone but if you need something custom nothing beats it, OSS is not about convenience is about flexibility. OSS gives you options that are simply nonexistent in proprietary equivalents. I can't imagine why anyone would choose to use a non OSS stack in a server unless they are already heavily invested in proprietary technology.
A proof by contradiction:

Assume a language where functions do not only return one value. Now, consider each function in this language. It either returns the same number of values each time, where each has a specific meaning, and they are distinguished either by order or by name. Or it returns an arbitrary number of values, where the semantics of each are the same. But that means the return values are equivalent to a tuple, a dictionary, or an array, which are single values. Therefore we have a contradiction and such a language does not exist. (Yes, I know about values in Lisp and this can be a bit nice. Mostly joking.)

More seriously, ask the question: what relationship between multiple values is useful for returning from functions but not useful enough to be a data structure that can be used in other parts of code?
I disagree that both main candidates were not good.

The winning presidential candidate does roughly represent the majority preference of the people. You make it sound like everyone is being disenfranchised. If you support proportional representation, or ranked voting, or some other change, I'd agree to that.

If you went around telling everyone that would vote for my preferred candidate to vote for candidate X that has no chance of winning, I might be annoyed if you succeeded. Unless I liked candidate X even more and knew you could succeed with everyone (or a majority anyways); but that's very unlikely.
As befits a post on the linux-raid mailing list, that advice seems to be primarily concerned with using SSDs in a RAID array. I suspect that most users have only one SSD and plan on using most (if not all) of their drive's space.

The Debian wiki page you mentioned [0] was changed from saying TRIM "is not strictly necessary" to "is not needed" if your SSD has enough free space. The editor wrote that the section was rewritten to ensure consistent style, [1] which suggests that they probably did not mean to change that sentence's meaning.

[0]: https://wiki.debian.org/SSDOptimization

[1]: https://wiki.debian.org/SSDOptimization?action=diff&rev1=74&...
The US's place in the global economy is just a bit difference than Zimbabwe, so that's a false equivalence.

Hint: I was talking about imperialism, not "buy stuff with the national money, citizen!"
Tragedy of the Commons [1968]
There was a massive performance boost for startup for ST3. ST2 startup is slow.

That might explain the difference in opinion perhaps.
One of many ways to see it: Ultra low wage workers work long hours and spend all their money to barely survive, thus confront great difficulty in improving their skills. In the US a minimum wage worker can have the funds and time to become a software developer.
in cryptography nothing is hardcoded (or at least hardcoded values should have enough entropy) :) if client doesnt use caching - then every message user sends should obtain a new pair of p/g (which is expensive) - and it will make telegram not only insecure but also "slow" messenger :P
It's pretty worthless, whatever you choose to call it. For one, it adds nothing to the original SO page - no commentary, insight, etc. For another, it doesn't update dynamically, so is already out of date. It's now just duplicating information that will no doubt be refined, so is pretty much having a net-negative effect - exactly the kind of content SO was originally set up to improve upon / obsolete.
Actually, Python returns a single value. That value may be a tuple, but it is still a single return value.

Common Lisp on the other hand, does in fact support multiple return values.

For example, Python's divmod and Lisp's floor are roughly equivalent. But if I say:

>>> x = divmod(11, 5)

x points to the tuple (2, 1).

But if I say:

(setf x (floor 11 5))

x points to the integer 2, though I could have gotten the 1 as well had I used something like multiple-value-bind.
TextSecure's protocol, on the other hand, hasn't ever been compromised. Don't use Telegram. Use TextSecure. https://whispersystems.org/
"That's a bunch of needlessly cynical and completely ignorant bullshit. We don't use the army to convince people to use dollars. That's quackery. People use dollars because the value is relatively stable, most goods for sale in the U.S. and exported from the U.S. are priced in dollars, people in the U.S. pay their taxes in dollars, oil tends to be priced in dollars internationally, foreign countries hold lots of dollars as reserves, in the U.S. you can have a bank account denominated in dollars that will retain it's value up to $250,000 even if the bank blows up(!), and so on. All of these are reasons people use dollars. It isn't something that's done at the point of a gun."

a) The value isn't stable. Dollars have lost ~90+% of its value since the fed was created.
b) You pay taxes in dollars, because otherwise you'd be thrown in jail by force.
c) Oil doesn't "tend to be valued in dollars". It's an agreement between the us and the saudis, to only sell oil in dollars, in exchange for protection. Leaders of other countries trying to change that, were suddenly found to be dictators, deposed and killed.
d) Foreign countries hold dollars because otherwise they can't buy oil.
e) The bank account doesn't hold it's "value" of 250k. It holds its nominal price.

Finally, because of the oil thing, the us has been happily printing dollars, and exporting its inflation to the whole world, stealing everybody.

Sorry, but you are the ignorant.
Perl's context addresses this in a useful way; a function can be called in a void context (no value expected), a scalar context (one value expected) or a list context (multiple values expected.) The function can detect which context it's being called in and alter it's response accordingly.

List context works really well with list assignment, which lets you assign multiple return values directly to muliple scalar variables. It also works well with passing multiple return values to the input of another function, of course.
On a more elementary level, Michael Spivak's Calculus is an amazing book on first-year calculus.

He also wrote Calculus on Manifolds and a 5-volume series on Differential Geometry. Those, to put it mildly, were rougher going.

I actually once got a crush on a dorm-mate in large part because I saw Calculus on Manifolds on her bookshelf. It wasn't reciprocal, however. Later in life, she went on to run the Bureau of Labor Statistics.
I'm a big fan Landau and Lifshitz's "Mechanics." Starting from nothing they hit the major results in classical mechanics in 224 pages. Short. Sweet. Elegant.
Another classic from Joseph Epstein. The same guy who wrote,
"There is much that my four sons can do in their lives that might cause me anguish, that might outrage me, that might make [me] ashamed of them and of myself as their father. But nothing they could ever do would make me sadder than if any of them were to become homosexual."
I have to agree. I found the answers to be mostly after-the-fact justifications, rather painful to read in fact. Sure, y = sin(x) is well modeled as having one output, but there are plenty of multi-output functions, even in math. A few that come to mind are:

Modulus calculations like

a,b = mod(x,n)

where a is the remainder modulo n, and b is the residual, so that x = a + b*n.

The two outputs from the quadratic formula.

All the matrix factorizations, such as

L,U,P = lu(A)

where A = P L U, and L and U are triangular, and P is a permutation.

The remedy of having a data structure to hold the a and b integers above, or the two roots of a quadratic equation, is asinine.
The Toughest Laptops On (and Off) Earth
Generalizing, there's really a math relation but it's most because the language designer wanted this. Nobody wanted to add this feature (not so trivial to a compiler) if they just could return a struct.