skysight-inc/HackerNews huggingface dataset:
This is going to sound silly, but have you tried bodybuilding? Not just running or hitting the gym once a week, but actually weight lifting? It works for me every time, and I think here's why:

- it releases endorphins - making you feel real happy just after the workout

- it increases your testosterone - making you more likely to do those "manly" things like approach a woman, or do something you've been previously afraid of.

- it makes you loose weight - making you more attractive to the opposite sex, which boosts your self esteem

- you'll see progress: depression is all about breaking with bad habits and progressing in something. as soon as you'll see progress - it will be easier to keep going, as you'll visualise the reward.

- you'll make new friends: I've made more friends in the gym than anywhere else I think

- you'll get the girls: sooner or later, once that muscle shows up, you'll get laid, and women will want to date you.
The only better route to that is making a million bucks quick, but you're not mentally ready for that, so lay off the PC, go lift some weights until you're exhausted, sleep, and lift some more. Repeat until depression is gone.

PS Don't break anything. Get a proper book (I suggest Arnold's Bodybuilding Encyclopedia) and follow the rules.
NASA to launch 3D printer into space first time ever
> People won't die of thirst in California, but crops aren't doing as well.

Who has the bigger lobby group?
perfect for hyperlapse
nicely done, although taking a photo of an autograph works surprisingly well
I'm not sure if this is sarcasm or not. The usability of such an approach is terrible: humans like names, and like hierarchy. This is the same reason we use DNS instead of IP addresses.

There was URN https://en.m.wikipedia.org/wiki/Uniform_Resource_Name many moons ago that is still used. A URN resolver is a software library that could convert that identifier to a URL.

URLs aren't much different from URNs but they actually specified a default resolution algorithm that everyone could fall back on. They were more successful because there was less need to separate identifiers and locators than originally thought, though it's still a debatable point whether the results are intuitive (eg. HTTP URLs for XML namespace identifiers which may or may not be dereferenceable).

HTTP URLs took advantage of DNS as an existing globally deployed resolver, coupled with a universally deployed path resolver (the web server) the rest was history. You could create a URL scheme called "hash" but it would be hard to see how you could design a standard resolver unless it was one big centralized hash table in the sky - you still would need to, at the very least, map objects to IP addresses.
I ALWAYS had a feeling that something was off about "JavaScript". I hope Oracle does not decide to start suing everyone using JS like node.js...
Star Wars is a space opera themed fantasy, not a sci-fi though.
Take a look at influxdb (influxdb.com). It gives you the ability to store arbitrary values at specific times and a subset of SQL to query it.
Not that I want to waste any time on a HPLC-MS machine on this, but I was distinctly under the impression Coca-Cola 7X does not actually contain kola nut?

I've had Red Bull Cola, and actually found it quite different, but delicious. No accounting for taste, though.
For C, libmicrohttpd

https://www.gnu.org/software/libmicrohttpd/

Big list of alternative libraries at the bottom also.
Well, good luck trying to enforce it... It's now a generic term for ECMAScript.
Use Spanner, if you're working for Google. :)
In Germany, we pronounce it as one word.

Ecmascript and not E C M A script. Which makes it as easy to pronounce as JavaScript.
> How would you remember the hash?

I wouldn't. I'd make a symbolic link.

Basically the current directory/names structure would be an abstract layer above the hash-based system.
AFAIK, generally the people I see getting in are technical and have somewhat interesting projects that they've worked on.
>but this is obvious the moment one of these error objects is printed or inspected

The point of documentation is that you don't have to run the code to see what the code does.
Thanks that was very helpful. Seems btrfs is still a bit behind, some of it by design.

Valerie Aurora, who worked both on ZFS and btrfs seems to think the btrfs architecture is better in a few ways:

https://lwn.net/Articles/342892/
It is pretty simple. When all the people you want to interact with are only using Facebook... What are you going to do?
Cruise (YC W14) is hiring robotics engineers to build self-driving cars
I would say returning regular pointers is more C++-esque than your handmade range implementation. Pointers are, after all, a kind of iterator, which is an essential C++ concept. (std::string::iterator is a handful.)

(Furthermore, there is nothing "C" or wrong with regular pointers. Their only "flaw" is that they can't manage an object, but they're still the semantical way to refer to one.)
A good starting point would be scrapping agricultural subsidies. Since South Africa scrapped it, a lot of farm land was turned into wildlife farms.
> the country boasts one of the most undulatory coastlines in the world, measuring an astonishing 64,000 miles (by comparison, the entire United States coastline measures 95,471 miles).

It is, in fact, impossible to measure the length of a coastline: https://en.wikipedia.org/wiki/Coastline_paradox

This accounts for the fact that contrary to the article’s stated length of 64,000 miles, the World Factbook gives the length as 15,626 miles¹ and the World Resources Institute once gave the same length as 33,056 miles².

① https://www.cia.gov/library/publications/the-world-factbook/...

② http://web.archive.org/web/20120419075053/http://earthtrends...
Indeed the (new) correct term would be "TUI": Text-based user interface: http://en.wikipedia.org/wiki/Text-based_user_interface .
It's been almost ten years from 2005. Have you looked at Emacs since then? It's still being developed and improved.

Anyway; you asked if Emacs can handle this and that, I provided examples. I don't see how my list reflects on any kind of understanding apart from knowing my package ecosystem and how to use Google.

Would you mind sharing what do you think in particular sucks at Emacs compared to an IDE you use, that you have tested on both to come to this conclusion?
https://getsentry.com/
> humans like names, and like hierarchy.

They do, but that does not mean there should not be other ways to access data. Hashes are universal and unambiguous. There should be a way to retrieve a file given its hash.

> You could create a URL scheme called "hash" but it would be hard to see how you could design a standard resolver unless it was one big centralized hash table in the sky - you still would need to, at the very least, map objects to IP addresses.

There would be an underlying P2P protocol that cp would use. On the other hand, cp doesn't even use FTP or HTTP so maybe that's too much to ask.

Maybe with curl or wget, then.
I would think that (in C++14 at least), std::string_view would be more appropriate than both?

http://en.cppreference.com/w/cpp/header/experimental/string_...
If most people thought like you, I'd rather see an Earth without humans than an Earth with just humans.
It doesn't work, the &str could come from completely different types in the two branches.

I.e. one branch could be created by .as_slice() on a String, the other could be created by referencing a global, e.g.

let s = if cond {
let some_string = create_it();
some_string.as_slice()
} else {
"literals are always-valid &str's"
};

`some_string`s destructor should only be run if the first branch was taken.
Your CPU (and likely >90% of the rest of your hardware) is designed in Verilog.
I've thought about doing similar things in the past (I like the idea of deploying with bash/extended-bash) - great to see this!
Datomic does this.
>Another barrier quite honestly is ego. While it may sound as if my boss is "one of the good ones", alas, she is not. On occasions that I have asked to repeat other group's seemingly unbelievable results myself, I've been flatly denied on grounds that this kind of work does not express the sort of originality of research produced by her lab. In other words, nobody wants to be known as "that lab", the nay-sayers of the field, those that would dare to question a colleague's ideas.

"There are two kinds of scientific progress: the methodical experimentation and categorization which gradually extend the boundaries of knowledge, and the revolutionary leap of genius which redefines and transcends those boundaries. Acknowledging our debt to the former, we yearn, nonetheless, for the latter."
Strictly speaking, JavaScript is an implementation of ECMAScript, not merely a generic term.
They can always call it JScript.
It's not exactly a key-value store, but have a look at this:

https://en.wikipedia.org/wiki/Temporal_database

Though, if I personally had this requirement, I would just roll my own as it sounds very basic and easy to represent in a plain RDBMS. No way am I going to base my DB choice/design or infrastructure impementation for something this small.
Nope http://en.wikipedia.org/wiki/JScript
That's a very peculiar way to do unit testing, comparing the output of the whole test instead of specific asserts.

How would you compare this with something like Shunit2[1]?

I can see someone missing some error confirmations by being careless when producing the output or testing things in isolation.

But I can also see how this could be more likely to catch some side effects (stupid example: unclosed terminal escapes) in combined output.

I was looking for a nice testing tool for my bash migration tool[2], and while the `assert` way is well known, I like writing bash because it's bare and requires discipline and yours seems survivalist enough.

[1]: https://code.google.com/p/shunit2/
[2]: https://github.com/zenoamaro/rash
Honestly I think you miss the point. The author tries to tie the body of the article to their conclusions at the end, but they largely fail: Marine corps use hellish group training regimes to create unity, street gangs employ death-defying initiations to ensure the loyalty, et cetera only appear at the bottom in quick summary.

The thing you seem to miss is that these rituals were not forced on the participants by some manipulative manager trying to observe some group psychological response. The fire-walkers have to choose freely to walk on the coals: it's not like they all get in a line and crack whips at each other, goading one another reluctantly across the coals. It's not forced social cohesion at play here, it's personal determinations of sacrifice.

When you decide which sacrifices I make, it's completely different. Do you not see that? When I notice you intentionally schedule our meetings in the freezing rain, what do you think that will make me think?

Understand that the military background you come from really, really blurs the line of voluntary. I do not wish to 'enlist' just to work on your software team, buddy. I didn't sign my body away, just my 9-5.
NY Times did an even longer and more advanced article like this a while ago called "Snow Fall: The avalanche at Tunnel Creek" (http://www.nytimes.com/projects/2012/snow-fall/#/?part=tunne...)

It had over 3.5 Million page views the first week. Estimates are that it took about three man-months to write and design the long article. But that was two years ago, and without any of the tools and experience they have now.

That's expensive, but napkin-calculations can be done:

Average yearly at NY Times according to Google is: $98 167
That means about $33 000 plus some taxes and costs for three monte, say, $50 000 then.

Can you sell one ad space in such an article at $50 000 / 3 500 000 = $14.29 per 1k impression?

NY Times sells ads at $6.29 for 1k impression on their sports pages. On the Snow Fall article three such ads would be enough to cover the estimated costs.

As a comparative note: A full page print ad costs $10 per estimated reader, it is possible that this Norway article is also published in the regular print, and will therefore recuperate some costs there as well.
(I know, that was the joke.)
Using string_view in this example doesn't solve the use-after-free bug.

If you are concerned about memory safety, the only appropriate choices are to copy the string and have the string_view objects share ownership, or to use the primitive index range idea and punt the problem back to the programmer.
You don't need to specify the type on a script anyway if you are using ECMAScript/JS.
That's a MIME type. Those don't get removed. They're also not necessary. The only reason to use the type attribute on the script element is to use a MIME type that isn't ECMAScript's so that the browser doesn't execute it as such.
AMERICA EXCERP from christians attacked/
Check out https://github.com/highfidelity/hifi
These ideas go together.
Defining Powerhouse Fruits and Vegetables: A Nutrient Density Approach
Make a presentation on what you have read. Present it to a group or at the least put it on Slideshare.

More than just taking notes (which are more effective than not taking notes), when you try to present something (or explain to others) is when you really capture the knowledge in your head for a really really long time.
Not sure what level you are at, but for HTML, CSS basics, this is an ideal resource. Little more than the basics, and not too extensive either.

http://learn.shayhowe.com/
Texas Instruments closed their Lisp Machine activities in 1990. Nobody picked that up.
Ah, oops. I'll write some better docs. Thanks for this.

It generates ~/.ssh/config from ~/.sedge/config. So like you say, it's a preprocessor.
Returning regular pointers which point to memory which is not managed by you and that you by default know could disappear at any time is not the C++ way of doing anything. Thing is, a class has a public interface for a reason, and if you as an outsider want to start playing pointer games you know from the start what you are in for.

I never implied that pointers are bad, just that this particular usage of pointers is bad, and as such should not be used as an example of why we would want something else over C++. If I ever saw a function with a signature like the one proposed I'd be extremely suspicious of what was going on.

Note that this would happen in the same way if the function returned pairs of iterators. It is a choice that depends on the documented and intended usage of a function. If you feel your tokenizer will be used on temporaries (I fail to see how that would ever be useful though) you could overload the function to also take universal references or change the return parameters so that nobody can get hurt. Otherwise you return whatever delimiters you are comfortable with, with the assumption that they will not be used in some way. All code can be broken if you actively try to, so it makes no sense to protect against everything.
Microsoft plays on iOS 8 issues by doubling free OneDrive space to 30GB
Ask HN: What's the best company to buy an SSL certificate from?
I am embarking on an upcoming Magento e-commerce project, target demographic is security-aware business customers. The extended validation (green bar) SSL is -- in my view -- required for the website.

There was an Ask HN thread [1] from nearly three years ago that asked the same question, and a variety of answers were provided. On the one hand, there's the "don't spend more than x" on a certificate, and there's the flip side of "get a green bar, it's worth it".

The specifics:

- site is running atop Magento 1.9 on LAMP, payments processed offsite by Braintree (i.e., no credit card details stored on the website)
- initially 1x IP address, hosted from a UK data centre
- static components may be served from a non-www subdomain (i.e., static.example.com) in future, which may be the same or different IP address

My questions:

1. Who's worth shortlisting in 2014?
2. If you consider yourself a security-aware shopper, would you be dissuaded from purchasing from a site with standard (`non-green`, if you will) SSL?

Thank you in advance.

[1] https://news.ycombinator.com/item?id=3556796
If you are working, it is like a parrot getting free from its aviary.
Under what circumstances would they be defending this trademark?
times or revisions?
Well it's ridiculous, but if it can make ecmascript die, why not.

/troll
/rant
I believe you when you say that picohttpparser is faster. But is it also correct and secure? Is it fully RFC7230 compliant? Are there no parsing bugs that would allow a security exploit?
Which makes me wonder :

1/ could you build the same unsafe behiavor in Rust if you wanted to by not specifying lifetime constraints ?

2/ If yes, shouldn't lifetime constraints be mandatory ?
Bureaucracy, not conspiracy. I'm sure it's theoretically be possible to bid for the procurement contract and apply for the license and whatnot, but this would take years, cost lots of money, and leave you with an incredibly heavily regulated product and thus (presumably) not much of a profit margin.
NASA – “The Tether Incident” – UFO Anomalies – STS 75
If you're still poor at 35, you deserve it
Show HN: WebMTG, manage Magic the Gathering games, tournaments and decks
Would you have been protected by Adblock Plus since it allows Google ads (default config)?
There's still be a line a block long to buy them. Most people would want this.
Related question, is there anywhere in the node 'request' docs that describes the structure of the 'response' object?
huy, we're in the middle of building this right now - http://gunDB.io (talks about other nifty aspects of it, too). We just got into an incubator program in SF, so if you are around that area we should meet up, send me a message (see my profile).
> I'm not sure what you mean by "large" but Jane Street has apparently millions of lines of OCaml written.

Ocaml is a nice, pragmatic hybrid of imperative, OO and FP. Adding sporadic side-effects to some component (1) will not force the rest of your program interacting with it into some monad. I guess there's a reason they didn't use Haskell :P

(1) For example, you want to compute on-line summary statistics, where the input is run-time configurable, i.e., items can come from a file, network or memory stream.
Yep, definitely, I was just responding to the question of which view-into-a-string type is the most appropriate.
Dude you're doing it wrong...

OBTW Convert a binary number into a decimal number.
The binary number must be provided in the format
return by decimal_to_binary.
TLDR

...variable numbers and procedure names are too readable.

That should be something like this:

OBTW

count ur 1s as human hand
1s it haz shape like hand before thx

TLDR
We live in Ottawa, Canada. Last year we had a very dry summer, so the city sent out notices asking people to please water their lawns regularly.

The Ottawa River is a major river, Ottawa is the only major user of its water, and doesn't really make a dent in the flow, especially since we put our wastewater back into the Ottawa (after treatment, mostly).

They had no concern about water security, but they did have a concern about fires. There were a couple of cases where dry lawns made it easier for fires to jump from one property to another, so they sent out the notice.
If that is legal, everyone should add it to their licenses immediately.
My startup www.loggur.com is essentially a really advanced service that does this. Please pardon the text for now. I recently replaced the old landing page with it to prevent any confusion, as things have taken a bit of a turn (for the best). There are roughly only 3 things left to do before launching!
1. Namecheap according to me.

2. Yes.
Why is H2O faster than nginx? I've read the source of nginx and it does attempt to be very clean and tightly optimized, which makes me suspicious of H2O. Is there some big architectural advantage or is it less robust in some way?
Free iPhone 6 PLUS, 5.5-inch PSD Templates
A list of podcasts about startups and entrepreneurship
Amazing Images of Futuristic Architecture
About the security content of iOS 8
The complaint still holds though. Add "-osis" to get "ecmascriptosis", something that sounds more likely to be overheard in a hospital than at a Node meetup.
1. SSLS.com is rather nice.

2. Yes.
When speaking about aggressive governments, the elephant in the room is the US, waging war everywhere with a military bigger than all other countries combined...

How can we citizens of the world figure out a way to if not stop then exterminate this brutal force that has grown out of proportion? Can we do it without human sacrifice, and in a way that does not harm the american people who the US military is "protecting"?

Ninja edit: No I'm not saying a good solution is for the worlds government to wage world war against the US. Just trying to say that there is little difference between Ukraine and Iraq/Afghanistan/Pakistan, except that the war in Ukraine is a piss in the ocean in comparison to the sins of the American government and military.
The compiler will not compile code it cannot verify as safe (outside an `unsafe` block), meaning it will complain about lifetime constraints that are missing, e.g. it is a compile-time error to not propagate the lifetime information out of the enum.

http://play.rust-lang.org/?run=1&code=enum%20Token%20{%0A%20...
GelSight allows robots to experience incredibly complex touch sensations
Watch Saints vs. Vikings live stream online NFL
There are a couple of things that seem incoherent, but maybe I'm missing something:

- Is the only reason why he touches upon the limits of computation and computing efficiency that it secures distributed hash tables and that there is space for improvement in terms of energy consumption, respectively?

- It seems contradicting that he advocates biologically inspired systems and lowering entropy at the same time. Aren't biological systems even messier than current computer systems?

- Wouldn't the 'condenser' very likely require AGI to be of any use for us?
Same sort of thing that I've been deploying everything with. http://github.com/AndrewVos/garrison
Don't forget: Carmack and Abrash are going to give talks today!

http://www.twitch.tv/oculus
(Original poster here.)

Yes, returning indexes is also an excellent solution in this particular case, because it forces the programmer to keep the underlying string around. And you probably can save memory by using a pair<uint32,uint32>.

Still, as several other people have pointed out, the truly idiomatic C++ solutions here are things like sub-ranges and string views. And these all use pointers internally. I deliberately chose to use an pair of pointers in place of these idiomatic types because it was easier to explain what was happening, not because I think C++ programmers should mess around with bare pointers.

What I like about the Rust version is that I can work directly with low-level types in high-performance code, and the compiler still has my back.
The lifetime constraint in the enum is mandatory, the code won't compile without it.

The tokenization function itself doesn't have to explicitly specify lifetimes like it does in the blog post. It would also work without them and Rust would still ensure that you don't end up with a use-after-free.
This would have advantage in case you only needed a few results; but in case you needed most of them, then substr would practically result in duplicating the memory anyway. Plus, this is sure more cumbersome than the Rust version.
I'm just in the middle of building a similar system. As another commenter mentioned, you can use a log / event sourcing for this.

A log basically is a stream of changes to a DB. I found this the best introduction to it so far: http://engineering.linkedin.com/distributed-systems/log-what...
true, but you can compare them, if you use the same measuring length.
Please let me know what is the font. I want it in my Visual Studio now.
Plz me 2