skysight-inc/HackerNews huggingface dataset:
A person's ability and willingness to negotiate can tell you a lot about their personality.
This has gone far off topic and it's time for both of you to stop.
why do you downvote so readily, rather than upvoting equally as readily?

They don't. The vast majority of users have positive karma scores, including yourself. You just can't see positive votes for other users, as they're invisible. You're arguing from selection bias here. If you are interested in a higher quality conversation, then try out those guidelines.

You may also want to find better links when you want to support your argument - that wiki page starts out "The critical positivity ratio ... is a largely discredited concept", and most of the article is spent arguing against it.
JavaScript Style Guide by Airbnb
"Hackers" "leak"... After NSA, do you really think these things will be discussed over email and SMS?
I expect that's why the current convention was adopted, and another reason I'm happy to do it that way. I don't ever actually format my code like my example - but if I'd learned Python from first principles in a cave, I probably would. :)

Would be cool if IDEs could do this for you at the display level without touching the underlying code!
Old discussion here on HN, but the claim is made that every 100ms latency cost 1% in profit: https://news.ycombinator.com/item?id=273900

HTTPS is pretty fast now with SPDY (and soon HTTP/2) but there is no avoiding the fact that is slows down that first page load ever so slightly. No doubt they have studied this carefully and opted for maximum speed, as this maximizes income.
Correctly interpreting online communication is difficult. What one person considers constructive feedback another person may interpret as negativity.

Reminds me of that Key & Peele skit:
https://youtu.be/naleynXS7yo
People who want murderers in jail for a long time are the problem? Not, you know, the people that actually murder?
> PureScript is great, but its compile to JS basis makes it inappropriate as a general purpose language.

Except that Javascript is rapidly making inroads on everything except systems programming. If Java is a general purpose language (can't be used for systems without translation due to the JVM), then so is anything-which-compiles-to-JS.

I think the really important thing is that, while I've been enthusiastic and interested in Haskell for a long time now (~8 years?), the vast majority of people will never understand even a comparatively simple concept like monads, let alone anything higher level than that.

Until you can 'get work done' without the equivalent of graduate-level math classes, there's simply no way to develop that 'mature ecosystem' that everyone is hoping for. People have been using 'better if you understand the complication' languages for a long time now, and there's a good reason they're still niche, unfortunately.

Erlang is a great language, but it's very definitely not of the same scale of difficulty to understand as Haskell. You can noodle around with Erlang and end up with something that works reasonably well - in my experience with Haskell, if you can't mathematically formalize what you're talking about, you're going to have a bad time, unless you do go the 'embedded scheme interpreter' route, which is a fun project, but why not just use Racket to begin with?
Not quite the same, but similar: Print-to-PDF. I've been doing this instead of bookmarks for years now, and as a result have a huge library of local PDF's, usable offline, for all kinds of technologies that I'm interested in/use regularly. With a few key searches I can find all the docs on luarocks, or mysql FAQ's, etc. - I find this a great way to have searchable local documentation for the moments I need to look things up. Its not quite a cheat sheet, but having my own local searchable PDF archive for all the technical howto/tutorial-style HN articles of interest over the years has been invaluable.
Wordpress runs on PHP, therefore a majority of the internet is PHP, that's the whole story right there.
The page seems to only say 10/100. Is there a correction somewhere else?
Shouldn't the people who posted the photos be really paying the price? My guess is that the guy's lawyers might have invoked the strong defense that they were just the hosting company, they didn't created or owned the material and that they just wanted to allow their users to express with freedom. I guess the core mistake he made was not allowing "Flag this" button on his website because obviously he wanted to monetize this and that would have made his defense very weak because it simply means he was running a public exhortation service company.

When you do think about legally risky startup ideas, one way to figure out the "badness" is to use the old world analogy: Let's say you ran a company in 1960 that accepts nude photos of your ex by postal mail and makes call to your ex that if they don't pay $300 then the photos would be in newspaper. Would you be punished for running such company? Of course, you will. However 18 yrs is insane. Looking at his income of $30,000 looks like he probably managed to get money from 100 victims. Considering 1 week of pain to get it removed, this still would come out to ~2 years in prison. To compare, people doing Enron billion dollar frauds got less than that.
There's already the Arduino DUE, which has the Arduino form factor and pinout, with a very lightly configured ARM processor. It's supported by the Arduino toolchain, and you get more memory and a CPU with floating point hardware. It's far too small a machine to run Linux, but it's the next step up when an ARM CPU is just too wimpy.

How do the two CPUs of the TRE talk to each other? Shared memory? I2C? USB?
Selling Rock Climbing in the Social-Media Era
They don't need extra jail time, they need to be rehabilitated.

Jail once was for this purpose, you know.
This thread is about commenting on an online forum. If yu are not commenting the entire thread can be ignored. You have replied to the thread. Thus, you are not talking about things you imagine when you read a dumb comment because noone cares about that. You are talking about the style of comments you leave so i'm not sure why you're talking about when you're not leaving comments.
I don't see how this gives additional security. When you run

curl https://project.com/script.sh | sh

...you're relying on three things:

1. That the people running the project are trustworthy

2. That the server hasn't been compromised

3. That the CA system will ensure you're talking to the correct server

(I can think of recent news stories where each of those were violated.)

If, instead, you go to `https://project.com`, read the instructions, and paste in the following command...

curl https://project.com/script.sh | hashpipe <somehash> | sh

..then you're relying on those same three things! Someone who wants to serve a modified version of `script.sh` just has to serve modified instructions as well. You also have a new requirement: you have to get a trusted install of hashpipe first.
I meet people here fine, some people treat me human. But I/we face a trauma 51% attack. Marginality breaks unconscious voting.

I am beaten being treated as a child for saying pain while everyone counts pay to be called adult.

I have plenty of appropriate help, what I do not have here is an account that survives talking about #Traumahack #Painhack #Centhack without losing my accounts because people use votes to sort feeds without sensible granulate logic filters, avoiding letting us manage and spreadsheet our own research and development fully and fairly literate — logging versus flagging and flogging.

Learning and listening is always hit and miss empathic determination.
Show HN: ASP.NET performance profiling/monitoring with min overhead
It seems like safety/correctness in general and not just memory safety is a major focus.
Terrific and very useful.
>so they stress that you need to verify the image signature against their GPG signing key which is distributed via github.

If someone has the ability to MiTM HTTPS connections, they could just as easily MiTM the victim's connection to github to return a different GPG signing key. Also, the protection requires active checking rather than coming 'for free' like it does by downloading via HTTPS, so 95%+ of the users won't bother and won't have any protection.

I think CoreOS took a big step backwards here. Just offer the download links via HTTPS in addition to the GPG key. That way people that don't bother with GPG have protection.
By bad luck he happened to be the same person who also did something legal that they really didn't like and also something illegal. So his legal actions have caused an excessive sentence for the relatively minor crimes he was actually convicted of.

If embarrassing people was a crime, the ex-partners who gave him the photos would be charged too. Those people are even more at fault than him.
Dammit, I kept wondering why it wasn't named unwrap_or_panic/unwrap_or_assert but it could be worse at least unwrap is a less friendly name then scala's get.
If you are using Docker on AWS then EC2 Container Service (http://aws.amazon.com/ecs/) would be an option. It's still in beta but looks promising.
It takes care all of the cluster management, launching, stopping etc.
Honest question: what was hard to understand in this code?
Watch Movies Online: Watch Mr. X (2015) Bollywood Full Movie Online
Probably UART, the same way the FTDI chip in new UNOs talks to the AVR. In any case, the reason having an ARM cpu w/ an AVR is beneficial is because you get the linux environment but real-time hardware GPIO access. This is far better than the software scheduling that bogs down RPis and makes it very difficult to do timing intensive tasks.
> launch attacks on critical infrastructure from outside the country

First, "outside the the country" is a nebulous thing. For example, I suspect that a NSA and/or GCHQ trick is to simply route traffic[1] so it flows over an international fiber so it becomes "foreign" in origin. The bad BGP routes that redirected traffic through

More importantly, the executive order does not reference "critical infrastructure" (itself a vary vague term that includes "safety" and "security" (unqualified)). Instead, it references[2] "critical infrastructure sector".

(A) harming, or otherwise significantly compromising
the provision of services by, a computer or network
of computers that support one or more entities in a
critical infrastructure sector;

Which it defines as:

(d) the term "critical infrastructure sector" means any
of the designated critical infrastructure sectors
identified in Presidential Policy Directive 21

PPD-21's list[3] of the "Designated Critical Infrastructure Sectors" includes:

Commercial Facilities
Communications
Financial Services
Government Facilities
Information Technology

It would not take much imagination at all to construe various petty offenses, legitimate (but disliked) use cases, and simple accidents as "attacks" or "disruption" of some insignificant government service. Is screen scraping a business's website too fast count as "harming" a "commercial facility" that should allow accounts to be frozen without due process?

The vagueness of this is terrifying.

--

[1] http://research.dyn.com/2013/11/mitm-internet-hijacking/

[2] https://www.whitehouse.gov/the-press-office/2015/04/01/execu...

[3] https://www.whitehouse.gov/the-press-office/2013/02/12/presi...
Actual Details of Agreement to Limit Iran’s Nuclear Program
10 Truly Amusing Easter Eggs in Linux
You assume that a human cannot be described with something less powerful than a Turing machine. There is no reason to believe that knowing what a human will do in this instance is equal to decidability of computer programs.
Pat pope says he was asked. He was told the band liked some of his photos and could they be used free if charge with attribution.
What is missing is whether the original query made it clear that this was a collaboration.
Ask HN: Does anyone here generate their own electricity?
Yes, it should be the responsibility of the supplier. That's how every other balanced system works in economics. You only have issues when there is moral hazard when someone is allowed to shirk their responsibility. Trying to have someone downstream make up for it is a fool's errand.

In this case, the supplier should be required to put up collateral or purchase some kind of cleanup insurance for cleanup. i.e. there needs to be a basic regulation from the government on land granted to mining.
At least people use it, which is more than what could ever be said about Haskell, so it had a larger impact overall ... while getting things done at the same time.

You only need to have one look at it's module system/Cabal/Hackage to see that it was never intended for larger code bases than people's PhD thesis.

Yes, it can scale: In the same way PHP and JavaScript does.
> () is used for function calls, grouping, and tuples, while [] is used for array literals and array indexing.

Array indexing is a function call, because an array is a function from its index set to the set of the values the array stores, or -- equivalent -- a partial function from integers to the value set.

Scala gets this right.
Foobar GitHub Gist Integration
Not personally, but my solar panels do.
https://news.ycombinator.com/item?id=9236332

Here's the example I was thinking of.
You just keep talking at him. You don't seem to understand that he's winning. Everything you're saying just slides off him.

He's stated his position and believes it's confirmed by how he's been downvoted and flagkilled. For what it's worth, I think he's right, I think that whatever you think of his comment, the reception was disproportionate; but that doesn't matter now: he's gone.

And you jabber on and on. You find his other comments so you can make him read more, desperate for another chance. You can't walk away.

You hate to lose.

I bet you want to respond with some gimmick about how you're concerned about him. Stop lying to yourself: he left the conversation with you, and you're alone talking to yourself. This is about you now.

(Well, and me. But I'm trying to teach you something about how your constant search for a middle ground is in reality pretty condescending.)
When TaiG team release iOS 8.2 Jailbreak
...and you got downvoted. It's absolutely ridiculous that a forum like HN supposedly frequented by the best and brightest has so many immature children.
> char response[] = "HTTP/1.1 200 OK\nContent-Type: text/html\n\nlol";

isnt it better to write that as:

const char* response = "HTTP/1.1 200 OK\nContent-Type: text/html\n\nlol"; ?

Having the string in a writable buffer when you have no intention of modifying the string seems like not a very good idea.

Any decent compiler will evaluate "strlen(response)" at compile time and hence there will be no run time penalty here.
> I think I agree with the spirit of this guideline, but I have serious doubts that it can work.

Let's see. HN is experimental, and this is just another experiment. If it works, it will be because community members help shift the culture in a higher-quality direction.

That, by the way, is also how newcomers find out about these things. Rules don't communicate themselves, but culture does.
Yes, but getting 8 downvotes in two comments ... why should I care?
Wow.

Ironically, the bitcoin ecosystem always seems to have problems with centralized points of failure.
My prediction is that a few years from now, the big email providers' spam systems will have made sending email from smaller independent servers sufficiently unreliable that few people will want to do it anymore. At that point federated email will be a minority concern and everybody will get migrated to email 2.0, a new and improved system with no smelly sub-billion dollar participants allowed. Nobody will care or notice except a few out of touch nerds from the past.
This post was unpleasant to read and distracted me from actual work
UK Government Now Main Driver of ODF Advance: Kudos
By that reasoning, BT's plans to build on Bletchley Park would have been fine. The physical context of a place is often a central part of understanding the an activity and how the people involved worked.
The Play Store page basically implies that the kid is seven-timing his GF. Interesting.
Everyday Sexism, the Python way
At the risk of further derailing the thread, I wonder if there might be a more inclusive term than 'steel man' — I don't feel great about using that phrase to describe 'the best possible representation of a position.' (The issue is fresh in my mind, since I stumbled across the gender-neutral alternative 'straw person'[1] this morning.)

[1] http://www.austlii.edu.au/au/cases/cth/HCA/2013/18.html, para 21.
If you have never done any network programming before, or even little programming experience at all, it is not a bad approach. Python is a nice language, and it has the advantages of being fairly readable and less error-prone than C.

Also, keep in mind that the author is working on a book on the subject, and this is most likely an excerpt, or at least a highly condensed version of what the books shows. Hopefully, the book would be a lot more detailed. (Furthermore, if you have written a web server before or are a long time Apache contributor or something like that, you are not the target audience.)

That being said, if I had never done any network programming before, I would probably still be slightly confused at the end, because I would not know anything about the socket API. As I have done network programming before, I found myself getting kind of bored quickly. And the really interesting stuff you'd need know for writing a realy web server is not even touched in this part ("Part 1" kind of implies there will be at least one more part) - how do you map URLs to replies? How do you send files or call code dynamically to generate responses (a simple CGI implementation might be interesting for study purposes)? How do you handle multiple concurrent requests?
"But I'm trying to teach you something about how your constant search for a middle ground is in reality pretty condescending."

Good. So why is it condescending? What do you find offensive about being reasonable with those you disagree with?
BTW, I'd be particularly interested to hear any thoughts/feelings you have on the project. If you hate the idea I would love to know why and that would actually be (for me) more valuable than just hearing positives.
Interesting paper: Bypassing Cloud Providers’ Data Validation
to Store Arbitrary Data [1]

>JPG & PNG Steganography Encoder (JPG-PNGStega).
The purpose of this encoder is to inject data (hiding
it) in JPG and PNG files. It takes a File Format Sample (JPG
or PNG) and, for each pixel, it injects 3 bits of data in the
LSBs (Least Significant Bit). There are more sophisticated
image steganography methods already widely discussed.
However, the use of this encoder shows that even basic meth-
ods of JPG and PNG steganography are possible in SaaS
applications, and the exploitation of such method may bring
impacts

http://arxiv.org/ftp/arxiv/papers/1404/1404.2637.pdf
Buying that book has been one of the best decisions I have ever made, programming-wise. Stevens has a great writing style and manages to present the subject matter concisely without either talking down to his readers or being obscure.
Burger by mblode
I think if you're losing accounts it might be because those accounts haven't been using the site appropriately.

Anyone dealing honestly with pain has my profound respect, but that doesn't mean it's on topic here, or that it's ok to make dozens of posts about it.
Burger is a minimal hamburger menu with fullscreen navigation. It is created by mblode.

It requires jQuery as a dependency.
I'm not saying it didn't, but 'while (true)' would be the more intuitive way to write that in any language besides Go.
> Considering 1 week of pain to get it removed

I think you haven't really been following these cases. To his victims, it was far from "1 week of pain"... his actions cost people their jobs and damaged their relationships. 100 victims only counts the ones who paid, I suspect many wouldn't. You can argue that the posters should pay the price, and they should, but Bollaert is also culpable. Just like I would be culpable if I offered a "bank robbery getaway driver" service.

And let's be honest here, the masterminds behind Enron didn't get the punishment they were due. But they were rich and well-connected. Miscarriage of justice, sure, but a bad comparison.

It's 18 years because US prosecutors want to set an example for a new category of cases, and this guy is neither rich nor well-connected.
Cool. The use case that comes to mind is knowing you are going to get the file you think it is if you are looking it up on some local or remote hash indexed storage scheme.

It would be nice if we had (it prob exists already) a standard block based scheme so files larger than the RAM could be handled without writing to disk. Making something like a .torrent for every file and using that as the per block checksum and then checking the hash of the concatenated checksums could do it. Right? I'm sure there is a real name for that but idk it.

Really this seems like something that the FS should be asked to do. ZFS seems to be close, but I haven't found out how to address a block by it's hash yet.
> And you jabber on and on. [...] You can't walk away. You hate to lose.

Personal attacks are not allowed on Hacker News. Moreover this subthread has gone far off topic. Please stop.
My gut tells me that people are going to continue to flock towards less open and free networks, and we will wonder why we ever expected it to be any different.
Windows Vista Product Key [Crack, Keygen and Activator] Free Download
You understand that not everyone can blur between words the way you do, right? It's not something they teach people; I'm out of practice.

So yes, everyone here is focused on money and not beauty and definitely not poetry. This is a cesspit. It is one of the worst online communities there is, and I wouldn't be here at all if I weren't stuck in the web tech sector for at least a little longer.

But you're going to have to accept that if you want to share output here, you're doing so in a hostile environment, not because people don't care, or aren't interested, or aren't loving, but because what they can't understand they're going to downvote. Even if they strip downvotes from the audit log, other comments that say more mundane things will get upvoted more than yours.

Just like I accept that my downvoted comments were mostly a bland stand for anti-authoritarianism no one really wants to hear.
Just wondering how the sick days are distributed into spells.

In the UK, the Bradford Factor

B = S^2*D

Where D is total days sick in a given year and S is the number of separate 'spells' of sickness in that year (so two days off for a cold counts as just one spell as does 12 days off after minor elective surgery) is used in some large organisations to detect patterns of one or two days off.
the "for" version is also shorter by a single byte.
I appreciate your response, but -

When you discuss CM being necessary, you are talking about using it on the host and not within the container.

Ultimately, operability and proper configuration inside the container is critical. Using a Dockerfile with no CM inside it is not much of an improvement on not using CM anywhere.

You don't need stateful CM inside the container. It's fine to fire and forget - use Puppet in apply mode or Chef solo. But there's a reason these tools are used in building AMIs and containers over scripting languages - we've come a long way over the past 10 years, and I still feel that switching to the Dockerfile as a configuration mechanism is like moving back to configure/make/make install.
I've made many negative comments about Apple, Facebook, MS, Google, etc and did not receive downvotes for them.

If HN is tribal then attacking one tribe while praising the others might be a method to farm positive karma.
SEO NEWSLETTER – SEO – WEB DESIGN
I don't really understand that. How can you sue your car maker for some software fault, if you don't know it was one?