skysight-inc/HackerNews huggingface dataset:
Every time I visit America I'm surprised by how unwalkable most of metropolitan America is. I always wondered if roads are unwalkable because most Americans wouldn't walk anyway or if Americans don't walk, because roads are unwalkable.

Probably it has something to do with the long walking distances; even if the roads were walkable with proper sidewalks and pedestrian crossings installed, it would take half an hour just to walk to the nearest corner store.
The designs are far superior to the one used though. It's easy to see how under the pressure, the lights and expectations one could misinterpret the card.
sure, there are numerous jurisdictions outside of the U.S. where patents have become stronger, but enforcing a U.S. patent is the weakest it's ever been.
Lyft Files to Raise as Much as $1B
"Well established" is a strong statement:

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

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

In short, current consensus is that there is some relation to language and it's role in shaping thought, but the extent is not nearly as great as the strong Sapir-Whorf hypothesis originally posited.
Apple calls on UK government to scale back snooper's charter
Yea, I know many 3G modems also uses the Hayes command set.
Ran the program with some slight modifications and couldn't reproduce it

#include <iostream>
#include <sstream>
int main(int c, char **v) {
std::stringstream s("1.5");
double x; s >> x;
return x == 1.5 ? 0 : 1;
}

Apple LLVM version 7.0.2 (clang-700.1.81)
Target: x86_64-apple-darwin15.2.0
Thread model: posix
That's due to the network structure rather than the size. Maybe you can strip/split it to sub-'questions' or weigh nodes or edges?
What took the longest to click for me is that there is no distinction between a variable and an array in mathematics- if you write x_i = y_i you are equating each element of two potentially infinite sets. There are implicit looping operations everywhere. Also in the equation x=2y x and y are not variables in the programming sense of the word but rather every pair of x and y that are a solution is a member of the solution set. So it's a very different approach.
If 10% is your threshold of "often", then no. Arithmetic expressions do show up often enough in code that I work on that they should be immediately readable.
SantaBaby? A Feminist Christmas Wish [video]
A lot of readers reflexively downvote comments that have lines such as:

> I know how alarmist this comment sounds, and I fully expect it to be downvoted because it contradicts the politically-correct utopian vision of immigration that we're all expected to hold.

(Emphasis mine)

From the HN Guidelines[1]:

> Please don't bait other users by inviting them to downvote you or declare that you'll probably get downvoted.

[1] https://news.ycombinator.com/newsguidelines.html
That's generally what you try to do in MVVM apps too... you have some "service" that stores all the state. User input goes:

View -> ViewModel -> Service

and the data goes

Service -> ViewModel -> View

However, the same app state may be presented in different ways in different parts of the UI. Those different ways could each have their own ViewModel for transforming that state as needed for its presentation.

Poorly architected MVVM apps have lots of inter-ViewModel dependencies... that's where you wind up with state spaghetti.
Interestingly, a couple of companies I worked for in Italy grew, and moved into office parks that were pretty difficult to reach without a car. Here in Bend, Oregon, I'm now at a company with offices downtown, in easy biking/walking distance from where I live. It's kind of ironic as Italy is, generally, a more walkable place than the US. I'm very happy, though, in any event.
Mathematica has hierarchical namespaces (known as Contexts) with backtick as the separator.
Yeah. iPhone on a train is not an ideal way to have an Internet argument.

My point was it complicates the business model of selling software artifacts since the GPL does not prevent downstream dissemination of the source so long as the GPL is not violated. So the fairly common business of selling a binary blob of functionality that ceases to legally be useful after the license expires falls down with GPL licensed software.

I suppose one might argue the GPL holds hostage a commercial software ecosystem that favors software sellers over software buyers. But well that's really the point.

And I think that's what angers people. It's certainly the impetus behind Open Source.
"In the US, you can keep them in miserable conditions and then pump them full of antibiotics before slaughtering."

How do you explain this then? (posted below by legulere)

http://i.imgur.com/9ybmhwE.jpg
in contrast, i recall pre-egcs gcc being very easy to hack and port.

egcs, on the other hand, was a much needed kick in performance and features of gcc, but had the negative of making it harder to maintain and understand.

lcc was a good example of moving back into the simple compiler design, but it seemed to have stayed more in academia.
cock.li. The proud owner of nigge.rs, horsefucker.org and goat.si.

RIP in peace
> ...I think bit shifting a string to write to a file is pretty unreadable...

If you have a fundamental misunderstanding of the meaning of an operator, it's pretty easy to fail to correctly read a section of code.

Maybe you're someone who hates operator overloading. If so, that's a pity. It's a useful power tool. [0]

[0] Yes, all power tools can be abused. That conversation is tired and not worth revisiting.
They were at the forefront hiding their uninstallers.
People are interested to know why things happen the way they do; looking at the card, I can completely understand the mistake as the formatting leads one to not really look at the true winner.
I've only ever done MVVM development with WPF/XAML and it makes a whole lot of sense for me. Viewing it as a logical code-behind is exactly the right way to see view models in my experience. I've not done iOS development, and the term View Controller in the article was very confusing.

Other than XAML being somewhat confusing and having relatively poor IDE support, I've found the WPF MVVM model to be the most intuitive and nice UI design pattern that I've used.
Not everyone wants to live within walking distance of the big towers.
Conway's Cosmological Theorem
Thank you for this comment, I may give it another try.
FSF executive director: Join with me to support the Software Freedom Conservancy
It could detect all scenarios by compiling to a C virtual machine which checks for UB at runtime
I edited to explain. If you don't like something, stop doing it. Don't wait for someone to stop you doing it. Stick up for yourself.
You would have ended up with GPL shims that read/write the IR from/to the disk and a closed source program that transforms the IR on disk.
"GCC has been designed specifically NOT to be extended."

Several extension mechanisms have been built out in the last few years, including plugins for intermediate passes of compilation, and a library to operate as a JIT.
Oh no, while my meditations aren't based on anything specific that I can currently remember, those were more than certainly both read about at some point and as a firm believer in the value of balance I never chose either or.
Oh wow, a few weeks ago I bought one on digikey for kicks because of this project, I guess a lot of folks are doing the same.
Actually I think subsidies, rather than regulations, would be a better strategy. The government subsidises lots of industries to ease the cost of transition to more expensive production methods or to wean them off environmentally destructive practices, or even just to promote growth and take advantage of export opportunities. Subsidising meat production would be a fantastic idea. Pity we have governments the world over that believe they need to "earn tax revenue" before they can spend!
> If Amazon were to randomly lose a big chuck of Netflix data, AWS's business would tank immediately.

http://www.theregister.co.uk/2015/09/20/aws_database_outage/

AWS is the new Microsoft / IBM, nobody ever got fired for picking AWS.
Yeah the search works well now. When iTunes 11 just launched it was a disaster. (If I remember correctly it kept trying to 'group' searches by album instead of showing individual songs.)
Got to this late, but other commenters have already pointed out why this is wrong.

While this is unfounded (I have no sources), LISP is quite possibly the most flexible higher level language ever invented, I would caution against betting against it in the future.

Saying that it's the most flexible higher language ever invented might not actually amount to much -- I'm sure there's actually a small subset of features/points-in-the-language-that-allow-for-user-modifications that you need to achieve such high flexibility, but figured it was worth saying.

[EDIT] - My wording of the original post is sloppy. Where I say Lisp, I mean the dialect of Lisp that is Common Lisp.
Was the issue that the company was moving to away from SF, or that the company was moving to an Office Park?
Possibly. Agriculture uses about 50% of the world's supply of antibiotics. The rest goes to humans. That's a lot, but even without it, there are enough humans on antibiotics to breed resistant strains. Many people take low doses of antibiotics every day for certain conditions like acne.
Classic case of Baumol's Cost Disease. The core of a university education is still sitting in a room writing down what a professor says. This hasn't changed in more than a thousand years. It hasn't gotten more efficient while just about everything else has, increasing its relative cost. Unlimited easy loans have allowed the problem to spiral out of control by preventing economic forces from forcing innovation and increases in efficiency.
I downvoted because of the use of the word "lefties"
I like it because it has clear separation from the Playlist. Something that most other players seem to lack. You start playing one song they go on playing everything else in your library. Other than that it had a nicely customizable display and as a sibling commenter said it had built-in tag editing.
The C64 has at least one web browser as part of Contiki OS.

https://en.wikipedia.org/wiki/Contiki#Features

I couldn't find any screenshots of the C64 version of Contiki, but here is the Apple ][ version browsing the web.

https://www.youtube.com/watch?v=OMzgp7xTp1k
Better security features for one. Clang supports SafeStack and Control Flow Integrity. SafeStack is much more performant than gcc's stack protectors, and gcc offers no equivalent of CFI.
That’s not really true. You have student loans and state colleges – two very useful tools which make a college education possible for many poor people, too.
You're in luck. It is reborn.

http://orrtech.us/qlink/

http://www.lyonlabs.org/commodore/qlink/
When I was 21 I was only able to get a secured credit card. That didn't change until I got a full time job. I would've loved to know where I could get something better; I just wanted something low limit to build my credit score without tying up $1k (a lot for a college student).
I regularly use winamp to tune into internet radio stations from my android
This should be a standard feature of online banking web sites - a list of all your recurring transactions, with CANCEL buttons.
How, exactly, did German authorities come to decide that California has jurisdiction in Germany? Was this pursuant to MLAT?
Winamp is still installed on all of my Windows boxes. I've never, ever been the kind of person to use shuffle. I prefer to just listen to an album at a time. And so my default method of playing music is still right-clicking on the album's folder in Explorer and clicking "Play in Winamp".

It still whips the llama's ass.
Esplorio records your journeys so you don't have to
That must be why Amazon's SLA is defined as follows[1] :

If amazon loses more than 3 datacenters (only total loss of external connectivity for all of your instances in an entire availability zone, or total loss of hard disk access, again only counts if all your instances completely lose hard disk/EBS access) for more than 45 minutes in a month you get 10% of what you pay as a voucher for future ec2 usage. If they lose it for more than 7 hours you get 30%.

So no, Amazon, or at least their legal department, does not trust their own competency. Or at least, they're not willing to risk any revenue on that, but they're willing to give you a small future discount to encourage you to restart using the service. Oh and you only get that if you explicitly ask for it.

If they lose your data on EBS/S3/Dynamo/..., you get nothing. So having any data exclusively on any Amazon service should be cause for getting fired, and this of course also means that using Dynamo for storing anything non-trivial is a big no-no from a disaster recovery standpoint.

So I have to say, I would suggest you do not trust Amazon with either your data, nor with keeping your site online. Yes, historically their performance has been better than this, but ...

This reads worse than the SLAs on internet connectivity from places like level3 and cogent (pay 10% less if they fuck up completely for more than 2 days).

[1] https://aws.amazon.com/ec2/sla/
Kotlin and Java are from different era's, Java's one of the most verbose and limited modern typed languages for functional programming whilst Kotlin's one of the best and both have great tooling support for developing Android Apps courtesy of JetBrain's tooling prowess, where to enable Kotlin support in Android Studio you just need to enable the Kotlin plugin: https://kotlinlang.org/docs/tutorials/kotlin-android.html

And configure your project to support Kotlin with a find action or a `Tools > Kotlin > Configure in Project` Menu item click. From there you can mix and match Java and Kotlin classes in the same project with great interoperability for calling code between each. The Kotlin plugin also has a nice feature (Ctrl + Alt + Shift + K) to convert a Java class into idiomatic Kotlin which is a great way to explore Kotlin features.

Even whilst the plugin has stability issues, I don't see myself developing another Android App with vanilla Java 7 - Kotlin's just so much a more productive and enjoyable dev experience, that Android Studio should have the Kotlin plugin enabled by default.
Looking at comments, am I the only one being surprised, when getting email from recruiters with one of the perk "office in downtown"? For me it means - constant fight for parking, lines in restaurants, loud? Granted I live in suburbs (and love it)
Even for someone that uses shuffle it's still brill.
> So what do you do when an index into an array is out of bounds at run-time. You can't perform a check every time because that would go against the C's principle, and at the same time it would degrade performance, making it less useful compared to newer languages.

Bounds checks are not really a problem if you get rid of for loops in favor of constructions that eliminate bounds checks by construction (e.g. iterators). Of course, they're still problems in languages that continue the tradition of C-style for loops.

This is a classic example of how just defining away undefined behavior can make C unacceptably slow, but does not necessarily make other languages unacceptably slow.
> How is iostream any better than *printf?

Type checking.
The 10 Coolest Time Capsules Opened in 2015
Hi, nice tool. I just gave it a go and it seems reasonably accurate. I've recently been developing something similar - I'm detecting singing pitch for use in a game. I wonder did you use any particular method for detecting the pitch?
I lived in that neighborhood in San Jose for 14 years. It's at least plausibly walkable if they put more businesses around there, and I think that will naturally happen if 10,000 tech workers magically show up.
> How is iostream any better than [<star>]printf?

What consistent mechanism do you use to printf an instance of an arbitrary user-defined type?

With ostream, you implement

ostream& operator<<(ostream&, const Class&)

and you're done.

with printf, you have to have a convention and remember to stick to it. (Do I call .toString(), .stringize(), .getString()... ??)

For one-off things, printf is great. You take it from me when you pry it from my goddamn cold, dead, hands. However, for real work io*stream are rather nice.
An 1878 patent for “an improvement in scrapbooks”
Somehow Cycle has been completely off my radar, I only came across it reading André's Reactive Programming with RxJS[1]. If you're looking to get going with RxJS in general I thoroughly recommend his book, there's also a whole chapter on Cycle.

[1] https://pragprog.com/book/smreactjs/reactive-programming-wit...
> The motivation behind MVVM appears to be to update the UI automatically when data changes. Modern frameworks are moving away from two-way data binding (React, Angular 2.0, Ember, etc.)

Angular still has ngModel according to its docs. Whether you have two-way binding or not, View Models are still useful. Cycle.js doesn't have two-way binding but uses Event Streams and has a pattern that is similar to MVVM (they call it Model-View-Intent but the Model is a View Model by normal definition).

React not having something like MVVM makes it difficult to create reusable components. Most React apps are divided into the view layer (which are "components" but really just dumb views) and application logic which lives in the flux layer. This division means you can't / shouldn't write components that fetch their own data.
Am I being downvoted for asking an honest question?
Why is it unpopular? Because some people like to have control over our media and like it to be available when your ISP is being shitty.
Wanting to focus on things that are not the contents of the if-block.
New HTTP status 451 indicates web censorship
Facebook is down
How am I supposed to procrastinate now?
FWIW, GCC has ASan too. [0] I'm not sure how it compares to the LLVM implementation, I've only tried LLVM's (with good results).

Having said that, I hack on LLVM daily and would not relish having to use GCC to the same effect. LLVM really does shine when used as a library!

[0]: https://gcc.gnu.org/onlinedocs/gcc/Debugging-Options.html
Often this is done, manually. With a big enough team and code base, by the time the brokenness is detected, more commits which depend on it will have piled up.
That's not correct. Silex replaces the Symfony DI (or service locator, if you will) component with something much simpler called Pimple. You can read the code within a few minutes.

The only other required libraries for Silex to function are the event dispatcher, routing (which you can swap out for something like nikic/FastRoute), and the request/response stuff. I'm not sure if you think that's a "lot" of code, but if you're rolling your own you'd probably end up using the HTTPFoundation stuff anyway.
In a purely "socialist" society the people who produce the capital (the workers) would own it, in a purely "free market" the capital is owned by a "capitalist class" who own the products of their laborers efforts.

I'm generally a free market guy, but words mean stuff. No purely free market or purely socialist system has ever or will ever exist.
Thats not legal anymore. Its no longer legal to advertise credit cards on college campuses.

My first credit card as a student came with a $500 credit limit for what its worth. I wasn't able to get a $5k limit until I was out of school and working in my field and made a dent into my student loans.
Given that we're talking about Silicon Valley, I'm guessing the solution would involve Shamir secret sharing + proof of stake, along with some sort of USB device that mysteriously costs more than the expected value.
Fair point. No deceit intended. I'll edit OP when at a computer. (Can't find edit option on phone.)
They use them in SF and Las Vegas.

http://downtowncontainerpark.com
> We need to start discussing immigration without the stifling constraints of political correctness.

Leftists only support immigration because the immigrants vote overwhelmingly for left-wing parties. It's effectively a grand scheme to establish permanent majorities for left-wing parties through demographic replacement. If these immigrants were white, Christian, and conservative, walls would have already gone up to prevent their entry.
If thieves are just following delivery trucks, they'd see the difference between the decoy and the real package immediately. This doesn't gain you anything but leaves a bunch of garbage on everyone's door.
The quaternary reason is that I still have the music I bought, even if the company provides the streaming services goes belly-up, decides it won't support my country any more or even just has a bad day or an outage.
I would add that when you use a framework not sure if the 100 lines actually counts
So, has it helped you "tune" your ear? i.e., are you able to correct your pitch without the tool now that you've spent time practicing with it? I've often wondered about that. I learned guitar at such a young age, that I don't have a good recollection of the process of learning to have a reasonably good ear, or if it was something I already had and had to just learn to listen to.

As an adult, I've often gone years without seriously practicing music, and yet the basic ability to hear notes and tune instruments remains strong, no matter what. The ability to name notes and recognize chords on demand (so-called "relative pitch") does require me to refresh my memory with practice whenever I take a long break from music, but recognizing when things are sharp or flat, and by how much, seems to be permanent and require no practice no matter how long it's been. So, I theorize (and have read about science on the subject) that there may be a variety of parts of the mind that handle these subjects. But, I don't recall reading if they're all in-born skills or are acquired. Perfect pitch may be teachable to the very young...but not adults, so maybe my tuning ability simply developed and "stuck" because I was young. I dunno.
It doesn't mean anything is broken.

The recent rise in price justifies bringing miners online or shifting them away from other cryptocoins.

Halving day is coming soon too.
foobar's layout is entirely customizable if you use the columns UI plugin[0] which I think should just be included in the default distribution. Everybody I've ever known who's stuck with foobar uses it. The plugin ecosystem is decent for foobar; I suggest checking them out and seeing what you might use. They have plugins for caching, transcoding, tagging, the works. In the past they tried to raise money to port to Android and iOS, but I wish they would raise money to port to OSX and Linux.

[0]: https://www.foobar2000.org/components/view/foo_ui_columns
It boggles my mind how many buildings Apple has. Altogether their office space in Silicon Valley probably approaches the size of Microsoft's Redmond campus, yet they make a mere fraction as many products as MS.
The typical workflow was documented over 23 years ago on Usenet:
http://www.netfunny.com/rhf/jokes/90q3/urinals.html
I think his argument was that poorly supervised mass migration, specifically from places with poor healthcare and agriculture practices spreads readily available drug-resistant bacteria to places where otherwise there'd be none or little of them.

And that is a fair point, imo.

We enforce strict border control to protect ourselves from Ebola, SARS and other infectious diseases we can't treat.

I would assume poster expects to see that actions to help refugees and other less lucky people of the world are thoroughly weighed against health risks. Again, fair point, even if the poster is a Trump supporter.
Depends on what you mean by live. If you hit the save button the page renders immediately and you can see it. It rebuilds as files change.
Thank you for pointing this out. You'd be surprised how many people even within medical device think design control necessarily means some slow-as-hell waterfall development method.