skysight-inc/HackerNews huggingface dataset:
I wish Australia had a comparable project and the public showed equivalent interest in space. But instead the current obsession is, once again, burqas.
"We were mostly I/O bound so we knew we’d like to use gevent’s quick task switching so we could write the maximal amount of data per-process. A single process really constrained us to one vCPU. Therefore, to speed it up meant running more than one process."

Wait. What?! The response to being I/O bound is not using more processes...
I've started experimenting not making cells but UIViews and just add them on top of cells. I haven't gone with that fully yet but I've planned to try it out.

The downside is you lose out on many of the out of the box stuff, like cell background highlights that you know have to define yourself.

The upside is that you can now reuse the UIView everywhere, including non-subclasses of ScrollView.
Good on Jimmy Johns for stating the stores and dates that were affected.
If enough customers are using those 8 services, then they're not going to shut it down with the API when they block everyone else.

It's a common deprecation strategy for APIs, and only proves Netflix is tightening control over their user experience.
Look again - the site you've linked lists issues with CINT, not Cling.

That's the whole point: By using Clang instead of a custom toolchain, you get a production-grade, standards-compliant C++ environment.
I believe you can explain the difference by understanding Sam to mean "important to the founders". As he explains, this is the source of the motivation to persist, despite the risk and downsides discussed by Dustin.
The interest in the U.S. right now is as if whatever non-U.S. country just won the World Cup.
Totally different problem, and not at all related. People prefer to go to the bathroom outside in the parts of India with the worst sanitation. It's not about money.
Ohhhh I love this idea. Days of Future Past, Age of Apocalypse... hmmm. Might have to look into those events to check out some locations.
Smartcuts – How Hackers, Innovators and Icons Accelerate Success
What you're describing is all quite similar to how systemd operates. Your definition of "monolithic" seems to be that the components communicate with each other. My definition is that the components are difficult to replace. Systemd makes it easier to replace components, because the requisite interfaces are clearly defined.

MacOS is quite tightly integrated, it's what Apple does. Darwin is a bit different, as it's much more BSD-ish; with that I agree. But MacOS is a lot of stuff on top of Darwin and replacing any part of that would require tons of very MacOS specific code to do. Apple most definitely does not intend for their users to be able to replace logind or Aqua or pretty much any core service.

Probably a better way to phrase it would be to consided how much effort it'd take to run Aqua on BSD. You'd have to port basically everything that is MacOS. To me, that is what a monolithic system means.
I wasn't really referring to the generally people, I meant "imminent to businesses."
I think you're spot on here. And reading `tn13's comment [0], I think it's clear their goal is to produce real, tangible value with their space program. There's an enormous amount of waste in developing an industry, and I would just as soon write off a Mars mission as part of that. (After all, if you want credibility for your satellite launch operations, safely hitting Mars is a pretty good indicator!)

[0] https://news.ycombinator.com/item?id=8364792
> "Remember that thing that happened in 1928" is hardly a compelling case.

And that wasn't what I said -- Penicillin is just one example. Look at the polymerase chain reaction, thought up during a late-night drive by a graduate student and now ubiquitous in biology and medicine. Look at the first polio vaccine, created at very low cost by someone who was so sure of his results, and so short of funds, that he used his own children as test subjects.

Examples abound. One need only look.
I've seen this posted a lot on my Facebook by members of the LGBT community after FB decided that drag queens have to use their legal name. I'm curious to see how the community develops and to try it out when my invite comes through.

Are there any other specific communities that are shifting to Ello?
If that were possible, couldn’t you do the same thing to the entire ocean?
Oh man, thanks for the link! Super excited about that.

I like the idea of individual characters, I could see having locations with different colored markers for their origins/birthplace. That wouldn't be super super difficult to build out, either, as there's a lot of information there to pull from.

Someone else in another comment suggested doing locations based on events/alternate timelines, which sounds pretty similar to this idea, and also could be very cool. Just a matter of doing research - the Marvel API is great for single data points (i.e. character, series, single comic), but gets super overwhelming (and a little useless for this kind of thing) when you search for an event or the like. But yeah, definitely doable as a Phase II kind of thing.
They write similar headlines. Sanitation is a problem. However, your comment is off-topic in this conversation and I am, therefore, down-voting it.

Feel free to discuss this in a more relevant thread.
We do the same thing, custom views, mostly drawn in -drawRect:, reused in different cells. It's actually a very nice technique but like you said, the are some sacrifices to take. Still, these cells depend of a tableViewcCell which has unique properties and special APIs that collectionViewCells don't.
I think the most trikcy part here is to be able to build a custom UICollectionViewLayout allowing to display cells from the bottom. Haven't found any third-party doing it well enough yet. Do you know of any?
Haha I know, I know - I tried to get a few different domain names before settling on this one. Fingers crossed that there's enough context around the link (and whatever metadata those filters need) to make sure it doesn't get ignored/blocked.
9 Obvious Ways to Increase Your Attention Span
> The amount of spacetime curvature at the event horizon is fixed in the theory -- it's always the same.

No, its greater the smaller the horizon is (so, equivalently, less the bigger the horizon is).

> Near the event horizon, light orbits endlessly (in principle)

Sure, at the event horizon, light orbits endlessly. But the amount of curvature needed to do that is less the further across the horizon is.
It keeps the cutting board from slipping and moving while you use it.
I love these articles by Monty for the technical insight they give me in to video compression, and I would love it if the end product from this work would result in a top-class codec which would atleast rival HEVC/VPX.

Realistically though I don't think this will lead to anything competitive at all, I really wish I am wrong but I just don't see it.

Just avoiding trampling on MPEGLA's huge patent chest would be a massive feat in itself, finding/developing compression techniques which aren't patented and capable of improving on the likes of HEVC while still be performant enough to be realistically usable strikes me as 'mission impossible'.

Again, would be so happy to be dead wrong.
Show HN: Talk Shop – Get Advice from Creative Experts
I have a running hypothesis that those particular "wow, this is receiving a lot of downvotes" comments cause upvotes to the post they're attached to. (Unless they're by the original author of the downvoted post; then they just cause snotty arguments.)

If you cared a lot about Internet Points, I'm betting keeping a sockpuppet acccount just to post "why was [master]'s post downvoted?" comments would be one of the highest-ROI things you could do to get more of them.
Is your startup something you can build as a side project while you work? You can do a lot of testing and validation without putting yourself at risk if this is an option. I'm pretty new in the startup scene but am happy to bounce ideas with you if you like. My contact info is in my profile.
I'm assuming this is due to fallout from the recent bash security issue?
This video explains it well http://www.ted.com/talks/elliot_krane_the_mystery_of_chronic...
It's the other way around. The evidence doesn't depend on the assumptions, the assumptions depend on the evidence.

The observations are very good and offer little latitude for interpretation -- there is a very massive, very dense object at the focus of multiple stellar orbits near the center of our galaxy, and both the mass and the density of the object are easily and unambiguously derived from the orbits.

It's the same with other galaxies -- a massive, dense central object dominates the orbital dynamics of the galaxy near its center. We're obviously not free to say that means black holes exist, it's just another piece of evidence. But it's a way to exclude certain alternatives.
Great; thanks for volunteering to answer questions! I'm still reading your paper; please excuse me if this is covered.

There is a technique for eliminating the long pauses from rebuilding called "incremental global rebuilding". The big idea is that the new structure is built piece-by-piece, taking a few building steps for each update to the existing structure. The new construction is finished before the existing structure fills up (or empties out, for deletes). Depending on the variant, updates may be applied as the new structure is being built, batched to be applied later, or applied in a secondary "ghost" structure.

It has been used in dozens of data structures, and was, I think, made famous by a series of papers by Overmars and co-authors in the early 80s. He wrote a book about related techniques called "The Design of Dynamic Data Structures".

Does this technique not apply to resizing hash tables in a concurrent kernel?
Obviously any compression function has collisions - this is a mathematical fact. What I mean with "no secure hash function has collisions" is that if you are using a secure hash function you shouldn't need extra defenses against collisions attacks as the "secure" in "secure hash function" implies those attacks are infeasible.
Violence is short lived and easy to defend against.
Knowledge is real power.
I have a laptop, and as such tend to use it on-the-go.

As such, backups won't capture anything after the last time I had access to my backup volume.

Also, again, I don't always have access to my backup volume.

I'm not saying "I wish that they would go read-only so I didn't have to back up" - I am perfectly well aware of the need to back things up.
San Diego Hacker News Meetup 56 This Friday (9/26)
Looks like Raspian have updated their bash package with the fix, so my Raspberry Pi is safe.
That doesn't solve the problem mitigating risk from insolvency - it's just yet another complex layer of security.
So he really means they were "waiting for IO" bound.
BlackBerry unveils Passport, its latest smartphone
IMO, the problem is that the only people still buying BlackBerry phones are the die-hards who want their hardware keyboards.

The Z10 was a BB10 device that did have a touch-screen keyboard, and its sales were pathetic.
i'm curious as well - even if the data was only somewhat structured on the mongo side, an import into a single column table with JSON should be fairly quick with \COPY, then with a couple of indexes applied on your disparate data in the JSON data you should have been able to query that into a new table structure quite easily.

just wondering what the tradeoffs were in OP's eyes.
Manually deploying openstack with a virtual maas on ubuntu trusty (part 1)
Ask HN: Why is one downvoted for sarcasm
...when sarcasm is the most refined form of humor?
Debian's package manager has the nasty habit of stopping affected daemons before all the upgrades and starting them afterwards, leaving you with serious downtime.
The fact that the US wastes huge wads of money doesn't exactly convince me that wasting money is a good idea. The US does lots of things that are questionable at best.
Web performance is not very good with the built in browser. I ran comparative performance tests of it with Sunspider and found it was not much better then an IPhone 3GS
I'm sick of working as a slave programmer where no one values good ideas and writing good code, thinking of scalability solutions. If you have respect for programmers, I promise you hard work and honesty !!
DHH on Laziness
If by fluid you mean liquid, liquids don't compress.
Ello.co = el loco = the crazy one
Pun intended?
Swapping bash should not require reboots. The pending XSA-108 (http://xenbits.xen.org/xsa/) however....
Rule of thumb: If you aren't sure if the other person is being a jerk or not, they're being a jerk.
If violence weren't central, why would people even care to argue about it in the first place?
I prefer Roku over Chromecast because Roku has a remote with a headphone jack. If Chromecast had an option to play the audio through the headphone jack of the device you're casting from, I would say it's just as good. In fact, I often cast from the YouTube app on my phone to my Roku, because it's easier than searching for a video using the Roku interface.
On this reasoning, really, all space programmes are unacceptable, and always have been. People are without healthcare in the US; scrap NASA! People are unemployed in Europe; cut funding to the ESA! Zero-sum!

There seems to be a strange idea that spending on space is inherently wasteful. In fact, India spent ~$75m on this, mostly locally, thus providing economic stimulus, and no doubt assisting education.
But that's the beauty of market competition: those who protect their clients, get loyalty from their clients.
Yikes, that redaction... even if it didn't miss digits that's a mighty small search space.

Really interested to see where the bug crops up aside from CGI scripts.
No, they would need a valid SSH account and password/key.
How would you unit test device drivers?
That's unlikely. You can update bash without any restarts. This sounds like an architecture change / global hardware (firmware?) update / kernel upgrade which doesn't allow nice migration to/from the hosts.
> Serious question: doesn't the landscape mode of rectangular screens sufficiently address this?

Not for me, or at least not well. In landscape mode the screen is too short vertically (especially with the keyboard displayed). There's no getting around having sufficient space in 2 dimensions.

EDIT: Someone else posted that it displays 66 chars per line, which is enough for my text files! I wonder how Vim works on that keyboard.
When we introduced pluggable storage drivers in Docker 0.7, we wanted all existing data to work as usual (full compatibility of data at rest), but we also wanted to migrate the layout of the legacy storage system (based on AUFS) so that it would be "just another driver" instead of a perpetual special case. At the same time, we didn't have the luxury of a full-stop mandatory migration, because if anything went wrong, the upgrade would fail and the user would be stuck in a hairy half-migrated situation. Keep in mind we are not talking about a relational database, but directories used to mount the root filesystems of live containers. That means that some of those directories may be mounted and therefore unmovable. So we had to accomodate partial migration failure, and the possibility of a partially migrated install.

So we shipped a migration routine which ran at startup every time and gave up (gracefully and atomically) at the slightest sign of trouble. Over time, we reasoned, each install would converge towards full migration, and the huge majority of containers would be migrated within seconds of the upgrade. The rest would be much easier to deal with if anybody had any trouble.

Of course we had the luxury of a data structure which allowed this.
>> The amount of spacetime curvature at the event horizon is fixed in the theory -- it's always the same.

> No, its greater the smaller the horizon is (so, equivalently, less the bigger the horizon is).

We're using different meanings of "curvature". For all black holes regardless of their properties, the event horizon has the same spacetime curvature -- that required to produce orbiting photons that cannot escape. Outside the event horizon, photons can escape. Inside, they cannot (and those photons don't orbit either, but cross the horizon). All the same.

> But the amount of curvature needed to do that is less the further across the horizon is.

No, it's the same. Same curvature, different large-scale geometry. For a sufficiently small zone near the event horizon, the conditions are identical.

Again, this is about the meaning of "curvature". The circumference of the horizon is greater for a large mass than a small one, but the spacetime curvature at the horizon is the same -- it's the specific value that causes photons to orbit perpetually, and interestingly from a local perspective, the entire horizon surface appears as a plane of infinite extent, sort of like two facing mirrors but with more dimensions.

From the perspective of a hypothetical observer at the horizon, he wouldn't be able to judge the size of the black hole using local observations -- there would be a plane of infinite extent for any black hole regardless of size.
Bash Fix Incomplete, Still Exploitable (CVE-2014-6271)
Mobile retention benchmarks for 2014 vs. 2013 show a 50% drop in D1 retention
Filming Star Trek on location would have been pretty difficult, I'd imagine.
Yes, that's exactly what they probably think. It's a very conservative way of doing business, the classic approach of the established interest. As they twiddle their collective thumbs, the world demonstrably changes around them.
3D Print with Sand (2011) [video]
The author of the article got this wrong. The return value is the number of characters it tried to write so it's easy enough to compare with the buffer size to see if truncation occurred.
There currently isn't a startup idea I have. There's some random ideas I've thought about pursuing, but I'm still waiting for something that really inspires me to dive in. I have one small side project with ~11,000 users, but it's entirely free and monetization of it is quite tricky. It's a donation model now, which many would say has failed. $23 in three years.

So I'm still looking for an idea I love. I figured in the meantime it makes sense to orient myself in a startup. That way I can figure out the way things truly are and convince myself that building one myself is a possibility for me.

Thanks for your response.
If you put 0 (i.e., plus) in the sign bit, and 1023 (i.e., zero) in the exponent field, and 52 random bits in the fraction field, of an IEEE double, then you get a number between 1 (inclusive) and 2 (exclusive); the representable numbers in that range are evenly spaced, and if your random bits are good then they are all equally likely, so you've got a uniform random number between 1 and 2. Subtract 1 if you want a uniform random number between 0 and 1 (this doesn't lose information; if a number between 1 and 2 is representable, subtracting 1 yields a representable number).

If your machine happens to work the same way as mine, the following will do it (unportable, untested, yadda yadda):

double randomDouble() {
uint64_t bits = random64bits();
bits &= ~(3ull<<62); // clear sign and MSB of expt
bits |= (1023ull<<52); // rest of exponent is 1-bits
return (*(double*)&bits) - 1;
}
I wish they would tell us how they dodged this bullet. Using a custom git-shell which is different from GitHub Enterprise it seems?
A good example of a "dead collection" is the NodeList returned by `querySelectorAll` http://jsfiddle.net/4jyv99o6/14/
How we moved our engineering blog from Wordpress to Ghost
I think it's more the enterprise / business customers than the keyboard users.

The Microsoft + Nokia partnership has been gunning hard for Blackberry's market. Blackberry OS marketshare is almost half what it was last year, while WP has almost tripled.
> I know it's Blackberry's key thing, but instead of trying the same old tired keyboard, why not embrace the software keyboard with some innovations?

Isn't the software keyboard old and tired by now? Whether or not you happen to like the result, Blackberry embraced innovation -- e.g., in the keyboard, screen, and OS -- much more than their competitors, who now struggle to differentiate themselves.
> So the region within the event horizon is where we see the sufficiently large/infinite curvatures and the imaginary terms and GR can be said to break down?

Yes. At the event horizon, general relativity still predicts the outcome. Below it, no more conventional physics.

> I've heard that from a frame of reference outside the event horizon the time dilates and light would seemingly never get there, hence the whole idea of a black hole.

I've read that too, but in fact, because of the energies of accretion disks that are vacuuming up light and matter from the neighborhood, and the fact that some of the photons tend to orbit the horizon endlessly, it's actually a very hot place in most cases.

> ... thanks again for writing out these explanations.

You're most welcome.
DIY Hanging Light System
Bash Fix Incomplete Still Exploitable (CVE-2014-6271)
What you're doing wrong is not being in the job that you want.

Find a position that you want in the company where you are now, or find a position that you want somewhere else. It doesn't have to be a full-on 100% PM job. After all, the guy you mention apparently only has a year experience himself. Everyone starts somewhere and somehow. Everyone.

It won't be easy, but it will never happen if you don't try.

As for the specific issues you have with that other guy, those are merely details and they will instantly be irrelevant once you move up or out. Forget about that immediately (I literally mean right this second), and put all your energy into finding your next position, internally or externally.

Get to work. :)
Amazon Seller Central Is Down
More discussion on /r/netsec

https://www.reddit.com/r/netsec/comments/2hbxtc/cve20146271_...
The table expansion operation seems complex. Is it really faster than just rebuilding the hash table (by concurrently reading it), switching to the new hash table, then deleting the old table (use RCU to determine when it's safe to delete)?

Perhaps copying is slow if the nodes are large. Perhaps one way around this is to have two bucket pointers within each node and swap between them whenever the table is rewritten.
My findings so far: setting User-Agent to that new string and executing a .cgi script complains about: syntax error near unexpected token `newline' in `#!/bin/bash'. (My speculation is that we are in some kind of parsing context where no newlines are expected; none are given on the example bash -c ... line, but when you actually run a script there will be a newline).

I tried to change this to a Python script and instead use os.popen. Well, Ubuntu /bin/sh is "dash" so that's not affected.

I tried to explicitly call bash via os.popen("bash -c 'some command'") -- no go either, as that bash command started by parsing some /etc/bash.bashrc file and complaining about newlines there.

Finally I used os.popen("bash --norc -c '/tmp/file date'") -- and that ended up running "date > /tmp/file" from the CGI script.

I tried replacing /bin/sh by "bash" instead of dash. That now made the CGI script choke on reading some other RC files due to the unexpected newlines in the context bash starts with.

So the question from me still seems to be: what is the weird context setup by that environment setup, and what else can do you with it than to redirect $1 to $0 ?
That's easy to answer -- humor is almost always disparaged at HN. People want serious discussions, and jokes often end up being noise blocking the signal.

Also, sarcasm by its ambiguity requires people to shift gears from a straight interpretation of someone's post, to one in which various kinds of verbal trickery is intended. It just seems like too much work if a straight presentation would convey the meaning more efficiently.