skysight-inc/HackerNews huggingface dataset:
I've commuted a few times from NE San Jose (near Milpitas) to Google MTV campus via the (mostly-gravel) Bay Trail on a hybrid bike. It's telling when the commute makes your arms are more tired than your legs... I agree w/ GP: Pave that section of the Bay Trail.
Protecting the Sharing Economy: Creating an FLSA Dependent Contractor Status
How many programs running on your computer were written in these languages?
Yeah that seems to be the core of it. Without the percentage sign what they wrote seems technically valid but very likely to be misunderstood.
Outside the Bay Area in the US, I see a lot of hybrid and mountain bikes. In Silicon Valley, there's definitely a preference for multi-thousand $ road bikes -- and people ride them, hard.

Still, riding your carbon race bike to the office is akin to driving your Ferrari to the grocery store -- uncomfortable on rough roads, no storage space, and when you get there, where do you park?
No you don't, at least not universally. I get mine sent to me, I think most libraries use the same system (Overdrive).
I like the idea, but is "forgiving yourself" even a thing you can consciously do? Probably, but I'm not sure. The study did not ask people to actively choose to forgive themselves, just whether they had forgiven themselves. That's a rather different thing.

If I rationally decide to say "I forgive myself for having slacked off", I'm not sure I'll actually feel forgiven deep inside. I strongly suspect, however, that self-forgiveness can be difficult but can be practiced.

Does anyone here have experience to share? Did anyone ever consciously practice self-forgiveness? It seems like an interesting approach to me.
Ask HN: Can you share your Vim setup for Python?
I'm a recent grad and I have been using PyCharm so far. I'd like to try out coding in Vim especially because I need to code on a remote machine. Since Vim is one of the most popular choice for writing Python code, I'd love to know your setup.

Thanks!
My library systems lets you check them out and download them completely online. Never need to leave the house.
> I know nothing of the wine world beyond $10/bottle. If there is a parallel, what is the equivalent for wine of the art gallery?

IKEA posters, i would guess?

http://www.ikea.com/us/en/catalog/categories/departments/dec...
"C and C++ is dumb and everyone who continues to use it is also dumb and/or ignorant" certainly isn't the position of the Rust team nor the general Rust community at large.
You say "encrypted" and "signed" as though that's a bad thing. When they're used against the owner of the system, sure; however, they can also be used by the owner of the system to protect themselves. "Only runs authorized code" can be a good thing as long as you're the one doing the authorizing.
Nothing more Silicon Valley than overthinking a very simple problem. Actually, not overthinking it (I'm sure there was limited thinking involved), but at least over publicizing what should be (and has been) an obvious problem and solution pairing.

If they thought into it a bit more, they may have come to realize that it's entities like Google (and similar mega-campuses) that actually make the entire region a disaster for commuters and for citydwellers.
Even the sound of the newer engines is reduced. Common-rail fuel injection reduces injector noise, which is most of that rattle you hear. The emissions equipment muffles the exhaust a bit. Even valve noise is reduced because they need to control things to finer tolerances.

But a big diesel will always sound a bit beefy I think. The smaller 4-cylinders shouldn't be discernable from gas at all.
(and for loops use iterators under the hood)
Because as Linus stated: "array arguments in C don't
actually exist"

The bracket notation ex: myarray[2] is actually just a sugar syntax for: * (myarray+2)

An array is nothing more than an address and a (hopefully) know length. Not really a "data structure" or object by no means.

You could definitely roll your own though with something like:

struct {
char * arr,
int size
} my_struct;

for(int i = 0; i < my_struct.size; i++){
printf('%x', my_struct.arr[i]);
}

ect,
Windows 10 in China
Option has been around for a while as boost::optional or now std::experimental::optional. Result is coming and has a reference implementation as boost::expected. There's also a type-erased option type, "any".

They're quite nice, especially with a few trivial additions for ergonomics.
My problem with OPAM is that there's no Windows port, which makes developing OCaml programs on Windows difficult at best. In theory, we can compile all of the dependencies by hand, but in practice, the Oasis build scripts refuse to work on Windows for most packages that I've tried.

Personally, I would love to use OCaml for my company's projects, but the lack of true cross platform tooling makes it impossible at the moment.
I was expecting him to quote the old saw about how a hundred years ago a single bowl of spinach could supply you with ALL the micronutrients you needed, while 20 years ago it took a hundred bowls to have the same nutritive value and today spinach is virtually nutrient free. Naturopaths like to toss that one about, and it comes from extraordinary rendition of various flawed data sets.
Do you have examples? I am studying philosophy and most people in the department consider it a good resource even when the author of a particular article disagrees with them (in their other published work).
I don't know why you were needlessly downvoted for drawing valid conclusions from a story without any real sources. sigh
This is one of the many uses of the static keyword in C99:

void ten(char foo[static 10]) { }

void generates_warning() {
char foo[3];
ten(foo);
}

This causes clang to emit the following warning:

> warning: array argument is too small; contains 3 elements, callee requires at least 10
Despite all the hate that Comcast (deservedly) gets, they do bring IPv6 to my apartment. Good on them for being on the ball.
Double? I doubt that. Typically, I ride ~20km/h on gravel and ~23km/h on well-paved roads at commute speeds (i.e., no sweating). Maybe the gravel roads are terrible in SV, but around here, it hardly makes a difference in speed as gravel roads are well-maintained.
Right; even Wikipedia admits it may get to the point where most of the articles are reviewed by experts and locked to some degree.
I also can't imagine how you wouldn't go buy a hundred VWs and meticulously take them apart and understand them after getting brutalized in the diesel market.

every miniscule detail of the VW car is patented. if you infringe one of those patents accidentally and VW sues you, you'll get slammed with damages proportionate to money you have made or VW has lost (thanks to you). now, you basically cannot infringe a patent incidentally after you've seen it at work. competition buying a bunch of VW cars to take them apart would be an invitation for VW to sue them for willful patent infringement and the accompanying treble damages.

you can read accounts on the internet of programmers working for major corporations (Sun Microsystems among others IIRC) who were prohibited from reading others' patents for exactly this reason.

it's a thouroughly corrupt system.

edit: "the holder" -> VW + some styling
Sadly, you folks seem to be the minority out there. I can't even remember how many times I've had conversations along the lines of:

Me: Hey, that code generates 3 compiler warnings, and you shouldn't be casting that pointer here.

Them: Oh, ok, whatever, change it if you want.

Me: It's not about what I want.. the code isn't correct. It'll break on some 64-bit platforms, for instance.

Them: Well, it works on our target platform, and that's the one in the spec. If the spec changes, we fix it as a change request.

Me: But it just happens to work! Even a different compiler could result in different behavior. Can't we just put in a little effort up front to avoid trouble later?

Them: Go for it if it bothers you so much. We have real bugs to fix. Nobody cares about hypothetical problems on systems we don't support and compilers we don't use.

Me: [This is going to drive me to alcoholism]
Did you happen to create an account at TheKnot.com? We used dedicated email addresses for our wedding because I anticipated this, along with a "+theknot" modifier on the address, and holy crap did that inbox blow up with everyone they sold it to.
The repo is for the divelog software he wrote himself. So I'm pretty sure that it's either him or it would get caught real fast if it wasn't.
You paid for using 10.0.0.0/8? Am I reading this correctly?
Chrome CustomTabs in android support v23 library
Actually there are many mechanical design issues to consider when building a waterproof product: wall thickness, button design, mechanical seal, ...

"seal it up under dry nitrogen" doesn't even start to describe the process accurately.
Honestly it's a great way to wake up to get some exercise in, then drop by a gym for a shower (if your office doesn't have one).

Showers at the office are probably one of the most underrated perks ever.

As a sidenote, the whole point is that "the utility of a vehicle" shouldn't far exceed the utility of a bicycle/public transit in an area as developed as Silicon Valley.
Given that the bytecode system can at least read arbitrary kernel memory, it better be CAP_SYS_ADMIN due to information disclosure alone.
I think that's a generalization that simply shifts the burden elsewhere, and cannot be said to be "the right" architecture in general. There is a reason CPUs implement cache-coherence on top of their "innate" shared-nothing design, and the reason is abstraction. If you don't need certain abstractions, then a sharded approach is indeed optimal, but if you do, then you have to implement them at some level or another, and it's often better to rely on hardware messaging (cache-coherence) than software messaging.

So for some abstractions such as column and other analytics databases, a sharded architecture works very well, but if you need isolated online transactions, strong consistency etc., then sharding no longer cuts it. Instead, you should rely on algorithms that minimize coherence traffic while maintaining a consistent shared-memory abstraction. In fact, there are algorithms that provide the exact same linear-scalability as sharding with an added small latency constant (not a constant factor but a constant addition) while providing much richer abstractions.

Similarly, your statement about "garbage-collected languages" is misplaced. First, there's that abstraction issue again -- if you need a consistent shared memory, then a good GC can be extremely effective. Second, while it is true that GCs don't contribute much to a sharded infrastructure (and may harm its performance), GCs and "GCed languages" are two different things. For example, in Java you don't have to use the GC. In fact, it is common practice for high-performance, sharded-architecture Java code to use manually-managed memory.
> continuing to compromise core features

What did they compromise on Pebble Time? Battery time was improved.
While I think the situation is ridiculous, I also can't help thinking that if you're one of the most successful companies in the world and you can't get this done. It's either not that great of priority for you or you're doing something wrong.
DrawMatch-iOS app measures how well people draw with image processing algorithms
Man! You guys are a bunch of complainers! I second the get-an appropriate bike line of thinking. I have a basic CX bike with a steel fork and wider tires. Riding on gravel or dirt roads isn't as fast as paved roads, but I'd hardly call it torture.
This iOS game is in the final stage of external testing. The expected release data will be at the end of Sep/2015.

To get any early built version for testing purpose, please send email to contact@drawmatch.com.
> The unfortunate situation is that if you are over 10 miles to your office ( which many are ) you will have a hard time making that commute in a acceptable amount of time, unless you actually make an effort at going fast.

OR, unless you get an eBike. Which, while more expensive than a regular bike, are still vastly cheaper to purchase and operate than a car. A good pre-built eBike will probably sell in the $1000-2000 range and uses a negligible amount of electricity.
Stand Your Cloud #2: Host Server Hardening
Yup, except you lost me as soon as you said "boost". I enjoy my fast compile speeds very much. :)
I was just thinking that the Javascript community saw that the Ruby community were both snobs and well respected, assumed a causal link, and thought they just needed to be snobs for people to respect Javascript.
Based on the photo at the bottom they are going to fail the same way that many other US cities have failed when trying install bike lanes.

You MUST put the parked cars between moving traffic and bikes. If you do not bikers are going to get hit and doored and will obstruct turn lanes.

Pretty much everywhere in Europe gets this right. Traffic -> parking -> bikes -> peds. How did the US get everything completely backward?
Thanks for sharing these insights.

Curious for your thoughts on the fees assessed by robo-funds compared to something super barebones like Vanguard's index funds that you can manage your own allocations on.

Do you see fees charged by these guys as largely overpriced for what they offer since they aren't offering these other services? Would you say the majority of the value you add is from these other services?
Except... it has no pages.
Yeah. But why is that the behavior specified by the standard?
Microsoft Sway
As a more nuanced interpretation: If one looks at the green lines, it's more about Linus "editing some existing cpp and h files".

If there are green lines showing Linus originating new code with "class xyz : superABC {};" ... that would be more interesting. :-)

For some more context of the diving software, there's a video presenting the rationale for migrating from Gtk to Qt:

https://www.youtube.com/results?search_query=gtk+qt
Already done (kinda). There is no match exhaustion, but C++ is getting an option type. (Part of the library fundamentals TS). http://en.cppreference.com/w/cpp/experimental/optional
Indeed, it's a lesson many of us find very difficult to learn, that the price someone is willing to buy something at has little relationship to what it costs. This book is the best I've read on the subject: http://www.amazon.com/Walking-High-Tech-High-Wire-Entreprene...

But it's silly that Amazon is selling them for more. Often times much more.

Not by choice. Amazon tried to set some reasonable price points, and the big five refused to play ball (remember their conspiracy with Apple?), ultimately renegotiating their contracts to agency pricing. Which is why so many of their books cost so much now.
How about they fix the public transport system first ? The bay area (united states in general, except for a few places) has the worst public transportation system.

The VTA light rails and buses are nothing compared to new york or even boston for that matter!
> Go does this. Rust should, and probably will soon.

LLVM does optimize these out, and in more cases than Go does.

> C++ can't do that because the compiler doesn't know that a template-implemented bounds check is a bounds check.

It doesn't need to. SCCP is a very general optimization. GCC and LLVM optimize out bounds checks in more cases than Go can do.
http://imgur.com/GfmeUjw
I had the same thought. I'm a little disappointed this isn't the case, actually.
To my mind, one of the main issues, in addition to protected bike lanes is the spread. Bike friendly cities are more compact. Commuting to work via bike is not a strenuous fifteen mile commute one way. They tend to be leisurely few mile rides. Now, not to say it's not possible, but a one to five mile bike ride is not the same as a ten to fifteen or more miles bike ride.

Now, I do like Copenhagen's above ground bike roundabout, I've seen. It'd be nice to see those at dangerous or busy intersections.

I'd also like to see "turning boxes" where to make a left you go to a perpendicular boxed out area on the right and wait for your light. They have these in Asia for scooters and bikes.
This, maybe? Agreed that context would be nice.

http://www.mv-voice.com/print/story/2015/05/08/linkedin-wins...
I'd also ask if there are parallels to caviar, or most other luxury goods. Though caviar might have a demand-supply reason for being so expensive.
Since Apple's allocation predates the existence of ARIN, is ARIN's position relevant?

More to the point, the IPs were assigned to Apple by some agreement more or less akin to a perpetual lease. Under what conditions can that lease be terminated? (Actually some of the earliest allocation were apparently because "Postel says so". But probably still close enough to a handshake deal to be valid.)
If the screen is anything like the Pebble Time it wont be beautiful. I love my PT but depending on the watchface the screen isn't easily readable in anything other than outdoor or very bright indoor lighting. There's a light up button, that helps. The colors are also very muted.

The value of a Pebble watch in my opinion is all in its practical utility, where it really shines. I have been careful to manage what sends my watch notifications and as such whenever my wrist feels buzzing there's something that I need to check. I can do so quickly without needing to pull my phone out of my bag. The time view for what I need to do next is very awesome.

Ultimately my Pebble Time saves me time, makes sure I don't miss important messages or events and it saves my phone's battery life since I check it much less often.
Indeed; one author I'm following has stopped selling one or more of his titles outside of the Amazon ecosystem because this feature's new pricing is earning him more money than regular, entire book sales.
There are a ton of "design flaws" in C, including integer promotions, string processing which is hopelessly error-prone (and people who think that strncpy() fixes anything), a preprocessor which is basically its own language, the mere existence of gets(), et cetera. There are many programming patterns in C which produce buffer overflows, a lack of array parameters is only one source.
Well I tried, and I didn't get a magical result like some of these guys @reddit, but it perhaps IS a bit better... I'll persevere...

I owe you 10k worth of HN 'gold' :-)
I agree with you. To a certain extent there's institutional inertia around it now. Another issue is actually pedestrians not liking the idea of cyclists (who are all reckless scofflaws, of course) being right next to them. What they don't realize is that a) the reckless cyclists are a tiny minority of the people willing to bike in good infrastructure, and b) even a reckless cyclist probably still poses less of a threat to a pedestrian than a car, so moving people out of cars and onto bikes is almost always a win for pedestrian safety.
Here's some data to support the shift to self-publishing as a major part here:

http://authorearnings.com/report/september-2015-author-earni...
I'm the exact opposite. I used to slack a LOT more, and have cut down on it heavily since my school days. Back then I would regularly last night assignments and pull multiple all nighters to do it, because I _knew I could_. As long as I subconsciously knew "I can get this down in the delta between now->due date" I would put it off, even if that delta involved not sleeping/eating/etc, and "Forgiving myself" only made it worse since I'd just keep doing it.

It was when I got into industry, and instead was posed with the equation of "If I didn't rush, I would have done better work, and more effectively used the time of the people paying me", which had enough external variables that the need to change became pressing. I used (and still use) the feelings of guilt at wasting my bosses time, the feelings of falling behind in my skill/learnings, and dominatingly (as I get older) the feeling of "There just isn't enough time in the day" to force myself off of procrastination every time I notice myself doing it too much.

Take this with the context that I've never been one for positive reinforcement. Seeing my own flaws and failings drives me far more than getting a pat on the back. I think you hit the nail on the head re: rationality, as that I don't think I _could_ forgive myself even if I tried, I wouldn't really internalize believing it in a way that would impact my behavior.

(And aptly, I've now procrastinated enough in writing this, and need to be back to reading docs :) )
Thanks for explaining, I kind of understand it now, but what if the acceleration is > 2G, then gravity won't be enough to simulate it, and I'm still a little skeptical that the user won't feel the rotating and "slowly move back" to original position, but I've never used a VR headset so I might be completely wrong here
Turning physical pages for me is at best neutral. I like to use a stand that holds the book upright-ish on my desk, which makes page-turning inconvenient.

I do wish they had kept the physical page-turning buttons though, not a fan of the touchscreen.
Out of curiosity--if you have consistently failed to find alpha over the Vanguard 401k plan, why do you continue with this approach? Not criticizing--genuinely curious.

Unless you really enjoy the time you spend doing it, seems like the opportunity cost of that 104 hrs/yr might be a bit steep both in terms of the cost of the time itself and the lost earnings from not having it with Vanguard's plan.
Yes, but why does the standard have that bug?
It _is_ a Disney ride! I've ridden on it—tons of fun.

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

The technical description:

> Star Tours utilizes hydraulic motion base cabins featuring six degrees of freedom, including the ability to move 35 degrees in the X-Y-Z plane. The simulator was patented as Advanced Technology Leisure Application Simulator (ATLAS), originally designed by Rediffusion Simulation[8] in Sussex, England, now owned by Thomson-CSF. The Rediffusion 'Leisure' simulator was originally developed for a much simpler show in Canada called "Tour of the Universe", where it featured a single entrance/exit door in the rear of the cabin and a video projector. The film is front-projected onto the screen from a 70 mm film projector located beneath the cockpit barrier. The Disneyland original has four simulators, while the shows in Tokyo Disneyland, Disneyland Paris, and WDW Disney's Hollywood Studio each have six motion bases.
An alarm clock that donates to charity if you snooze
Huge respect for Chris, and I'm very happy he's feeling that sense of relief.

I took a shot at moderating a few smaller subreddits, and managed to find myself hating every moment spent doing it. It sure makes the majority of internet look like selfish ingrates, even though it's usually just a vocal minority.

I just stay away from Reddit now for the most part; primarily due to seeing the kind of place you get when the barrier for entry is non existent.
I have a hard time believing that we're moving the emissions.

1. The efficiency/emissions tradeoff is almost entirely a diesel problem. For intrinsic reasons, gasoline engines suffer much less from emissions controls. The relevant systems are both much less complicated and much less intrusive. There is very little efficiency gain available by e.g. removing your catalytic converter.

(The vapor reclamation requirements can be very complicated, but those parts do not intrude on the function of the engine, so they are not making the system less efficient)

2. The math doesn't work out on the back of a napkin. Emissions controls can reduce total tailpipe pollutants by as much as 99%. Even if it caused 2x the fuel consumption, how on earth would that result in a 100-fold increase in emissions in the distribution chain?
Totally. I've been mulling over the idea of porting it. Would be interesting to see how the performance compares vs the older style.

Between C++14 and some template usage, I'd imagine the LOC could be reduced a lot.