skysight-inc/HackerNews huggingface dataset:
Python mode for Processing.

http://py.processing.org/

https://processing.org/
Apple is focussing on a great user experience to sell devices with a premium tag, google is focussing on maximizing the number of targeted ads you see whatever you do.

Your choice.
People said the same thing about Digg... Who would abandon the site over something like a redesign?

I took it off my bookmarks bar and added Voat. And besides, the Voat goat is cute.
That is all valid and well known. I just stated that they were not afraid to return home recently - or they wouldn't have been back for a visit.
No technological improvement is worth risking the health of a patient.

I disagree, least of all because the health of the patients should be put ahead of the health of a patient.

The fact is that this unreasonable fear of harming patients has caused everyone to be completely blind to the routine fuckups and inefficiencies which, when taken together, doom the industry and patients as a whole.

Let's look at EMRs. Epic, for example. Integrating with Epic is pretty hard--unless the client really twists their arm, they basically won't say anything to help you with their software or access their piles of shitty databases (mumps lol). They get paid tens or hundreds of millions of dollars a year (per hospital!) to handle the task of not losing patient records, a task at which they semi-succeed. They have no incentive to change. Oh, and one more thing...hospitals are deathly afraid of having data duplication anywhere, so they freak out if you start looking like you're a sibling system to their EMR instead of just blindly consuming it.

Moreover, they--like many smaller vendors--do extreme customization work that basically guarantees a new learning curve everytime somebody moves to a new system. And the software looks like garbage, and is hard to use, but at least lives aren't on the line and nobody was risked being harmed by some ~crazy new startup EMR~. Hah, oh wait, they are on the line, and people die due to bad medication decisions that aren't flagged or are flagged and ignored by the system.

And this whole system? Most of the mess is geared towards solving the billing problem. It isn't geared towards the patients records problem, towards the "what did this patient's body do at this time" problem. It isn't geared towards the "hey, that's odd, all my lab messages have the same jank-ass free-text formatting instead of an interface from the 90s".

The fact is that the vendors and hospitals have conspired in their fear and greed to basically raise the barrier to entry so high that iterating on new designs to help is quite hard, and instead just a good way of giving yourself an aneurysm. And you don't want that, because by that time you'll want to step nowhere near a hospital.
Reddit has had several incidents in the past and they haven't had a substantial impact on site traffic. Maybe these blackouts have a greater effect on the average user and might actually make a difference. I wonder if there will be any long term consequences from this or if it will fade away like before.
The Chinese military has a new secret weapon: Lightning-fast trains
That's really a good news! Thank you for pointing that out.
Permanently sticky this to Reddit so they stop thinking they're a representative sample of the population at large.
Default reddit is terrible to me. But there is virtually no overlap between my front page and the default front page. I am not subscribed to AMA. This whole thing just passed me by.

I'm not into heavy customization usually, but for reddit it is where all the value lies for me.

It also allows me to avoid most of the sexism and racism that does so well on there.
This has been on a couple of times. It's an interesting concept but user's reputation isn't really stored anywhere. It's just a synch of data between peers. So someone can very easily simulate many points, or upvote content several times.
The funny thing is that, land of MIT and tech, the city of Boston has one cable company that is slow and overpriced.
Oh, that makes the law much more defensible. Never mind, then.
Wouldn't it be better to create serialization functionality at compile-time?

In the Java space some libraries are moving to compile-time code generation instead of relying on reflection. It is a huge win, since a lot more can be checked beforehand.
Dagger 2 is a good example how it can be beneficial. It provides dependency injection at compile-time, which will in turn check whether all dependencies are satisfied. I haven't seen this being done at compile-time before, but it is definitely a step up from reflection-based DI.

I'm not sure whether macros of Rust can provide such functionality, but the developers seem conservative when it comes to adding functionality. That seems like a good thing.
I believe Rust uses WTF-8 as an intermediate format for windowsy things (cheaper), but I'm not sure.
Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away.
-- Antoine de Saint Exupéry
Chrome's Flash plugin uses Google's Pepper plugin API (PPAPI) instead of NPAPI. So Google can more tightly integrate Flash and Chrome. I've heard from someone familiar with the code that Google's Flash "uses 110% of the documented Pepper API", meaning there is lots of undocumented or underspecified details.
Strange, when I use the search bar I get contacts or app results first. I really don't have the same experience at all like you.
On the other hand, municipalities generally run water and sewage services without complaints; incompetence and corruption in that department are so rare that they are news.

You can privatize bus or trash service and hand the concession to someone else should the incumbent be too awful at their job, but things like water, sewage and data are natural monopolies, and for these different rules apply.

The sad thing is that we know how regulated utilities ought to be run, but we choose not to. Hence Comcast and the Enron-sponsored electricity shenanigans in CA.
Intel is hardly a startup though. Doesn't really support the OP's point.
This has the same flaw that all utilitarian arguments do: imperfect knowledge of future consequences.

Specifically, by driving distasteful expression underground, you may find that you've hidden it just well enough to allow it to grow unchallenged.

The antidote to bad speech -- the only antidote -- is more speech.
You can cleanly implement that "welcome back!" example using flux actions and stores, without having to bubble down events.
This is a big enough project to justify a bespoke wiki-style system. Perhaps a thesis project for someone, along with tooling to convert existing content from TAOCP. Get some kind of grant to cover employing CS-literate undergrads on a UROP project to do the more difficult data entry and QA.
i think most of the issue is that looney labs want to be in the business of selling pieces, rather than selling games. they envision the icehouse set as a general-purpose set of game-playing pyramids, with an accompanying rulebook for tons of games you can play with them. they also sell a few more specialised auxiliary items like ice dice and a volcano board, that are only useful for a couple of games, but their core business of making and selling pyramids is probably profitable and high-margin enough that they don't need to get back into boxed games.
Reddit is also getting more popular over time, so it's hard to judge exactly what that graph means.

Relevant XKCD: https://xkcd.com/1138/
That's the expert talking. The tool is made for the most common case - a new hire meeting it for the first time. They're not gonna do a good job; but anything that can improve their performance, pays. Follow the money.
Jaywalking is enforced with an iron fist in Las Vegas. Yes, I agree it's dumb most of the time, but it's part of the culture here. You'll be cited by police in the hospital if you're hit by a vehicle while jaywalking.

Since I grew up in Boston, I was used to crossing when the road was clear regardless of the status on the walk / don't walk indicator. I did it here a few times at first and it sent oncoming traffic barreling to a halt while I waited in the median. Folks assume if you're jaywalking you're "all in" and going for it.
> On Android all I have is the Google search bar which searches--guess what? Google. If I type my girlfriend's name I'll get a wikipedia result instead of her contact info even though I contact her 10 times a day.

The Google search bar does instant search on-device (including contacts, apps, web history, etc.) from the search box before you hit the search button (including contacts, as I just tested on my phone), and searches Google iff you hit the action button (the search icon that replaces "enter" on the keyboard when typing in the search box.) So I don't see the problem you are reporting of having to take extra-steps to find the on-device results; instead, it takes fewer.

This is a Galaxy Note 3 with Lollipop and the Google Now launcher; its possible that different device/OS version/launcher may provide a different UX here.
Yeah, 'cause that's going to solve things. Also, congrats on probably your shortest post in recent memory. :)
You are correct. I thought the guidelines encouraged discussion instead of down voting but...upon looking at the guidelines, I was wrong. Also, I don't mind the down votes, all I did was ask others to discuss more instead of clicking a simple down vote link. Many can down vote but how many can have a conversation?
Announcing the Princeton Companion to Applied Mathematics
As a plugin, it works on sites that don't have it installed natively (Facebook, Pinterest, etc.). PLEENQ is both -- we offer a plugin that lets regular users use it on any site, as well as an embeddable version for website owners who want to monetize their image content.
Where I lived in CA, a car entering a crosswalk with a person in it got a ticket. Set one foot off the curb, everybody stopped. Look like you might step off the curb, folks stopped. But that was some time ago; these things change.
The C comment example seems more simply solved using non-greedy matching. Is that not done because the parser absolutely does not support non-greedy (or minimal-munch) matching?
I wonder when we are going to see an open source implementation of Datomic's main ideas in the database space.
If it is only going to rely on community votes for moderation, how will it deal with spam?
agreed - lego is probably the best easily-available substitute for pyramids; the difficultly is that you have to be a lot more precise up front about which features and combinations are and are not acceptable for use in koans. it does have the easily-relatable trio of colour, size and pip-count, which is nice.
This is cross-posted from Reddit's /r/dataisbeautiful subreddit: https://www.reddit.com/r/dataisbeautiful/comments/3bzlup/goo...

I am not a fan of citing Google Trends as data visualization not because it's bad data, but because it invokes correlation-implies-causation hard and is extremely kneejerk.

On a slightly off-topic note, I made a more causal data visualization with official data on the impact of Digg v4.0 on Reddit activity: https://i.imgur.com/AdIKqFW.png
Though the styling of the website looks similar, this is not a facebook project.

I think the main reasons to want a component to do some styling are:

- so the consumer doesn't have to include separate CSS elsewhere to get default appearance

- and so that stuff that is an implementation detail can be relatively hidden (as with the shadow dom) and can expose what it makes sense to expose.

So the ideal styling approach lets a component properly render itself, yet also lets it be customizable with regular CSS.
this is in Safari 9 as well. https://developer.apple.com/library/prerelease/mac/releaseno...
Na, that chart is flat to declining.
That's how it's worked on Android phones for over two years - It's possible you are using an OS version more than four years old or something.
- Doing anything "appy" and need to get something working out the door fast, for browsers and mobile devices? --> Go full stack with meteor. The raw productivity is unmatched.

- Want to do a more traditional "website" or some web services or something with networks or messaging? --> Use Elixir/Phoenix. Blazing fast, quite productive, fault tolerant and reliable.

- Just a default CRUD website like it's 2006? With all the building blocks already available? --> Rails. Excellent learning resources available and should have plenty of RoR developers available for hire.

---

For the frontend site, go with react, ember, angular (or meteor's blaze), all of them are good choices and may suit different needs and developer preferences. A well designed frontend layer is completely replaceable anyway.

---

From all the stuff I played with in the last years, these are the choices I'd recommend
1. What you are interested in is only tangentially relevant at best. Consultants are hired based on their clients' interests.

2. You have discovered the difference between pretend work and real work. SEO, blogging, branding, tweeting, etc. are pretend work. Real work is identifying leads, qualifying prospects, and closing deals...then doing the work and actually getting paid. Pretend work is easier because you can control it and nobody slams the door in your face when you tweet or goes with someone else because they were $5 cheaper or closes down with your invoices unpaid.

For all the things you've mentioned, I don't see a value proposition. How does Docker make someone money? More importantly how does Docker make any specific business money? It's a long road to develop a consultancy with a backlog.

Good luck.
Show HN: FrontJS – Clean and Fast MVC
Funny you mention Facebook in a thread about Google Trends.

https://www.facebook.com/notes/mike-develin/debunking-prince...
Hospitals involve capital investment, human resources, and exposure to liability unlike any startup can imagine. Thinking they will ever run like startups is pretty much an impossibility. Even startups that get big don't operate like startups anymore. If they have problems with IT operations, the solutions are not going to be found by telling them to operate like startups.
The ability to provide a default implementation of a function in a trait that can be inherited and used by "classes" that extend that trait.

In C++, this would look like:

#include <iostream>
class B { public: int get_id() { return id; }; int id; };
class C : public B { };

int main() { C c; std::cout << c.get_id() << "\n"; return 0;}

Maybe I'm ignorant, and there's an easy way to do this. I was screwing around with Rust a few months before 1.0 and didn't see any mention of it in the docs, though. (Everything I saw required me to provide an impl for functions defined in an interface for every class that implemented that interface.)
I don't understand why this is called an illusion. How about just counting the edges as a measure of popularity? Surely nothing "appears to be more popular" than it is -- if there are more outgoing edges to other nodes, it is more popular. Popularity has always been about popular people.
There looks to be a dormant attempt at the alpha stage here: https://github.com/runexec/PossibleDB

for bonus points, it uses rethink as the backing store
Excellent paper? This seems like an observation one could make in the shower and publish as a tweet.
Some day the people of Germany will rise up.
It reranks items incrementally.

I'd love to get to the point where we can sort everything on every request.
> municipalities generally run water and sewage services without complaints

I'd largely agree with this from my own experience. The caveat here in comparing water & sewage to internet service is that water and sewage service - at least what we experience as end users - hasn't changed much over the years. Municipal governments are good at managing that type of service. I'm happy with the same water and sewage service that I had 15 years ago. Not sure I'd like the same Internet service. And I'm not so sure I'd trust my city to keep such a service up to date.
> The ability to provide a default implementation of a function in a trait that can be inherited and used by "classes" that extend that trait.

Rust provides this. E.g., the "talk" method in the "Animal" trait below: [0]

trait Animal {
// Static method signature; `Self` refers to the implementor type
fn new(name: &'static str) -> Self;

// Instance methods, only signatures
fn name(&self) -> &'static str;
fn noise(&self) -> &'static str;

// A trait can provide default method definitions
fn talk(&self) {
// These definitions can access other methods declared in the same
// trait
println!("{} says {}", self.name(), self.noise());
}
}

[0] From Rust By Example, http://rustbyexample.com/trait.html
>I don't know what rules are in place as to what's OK in spying/sabotage and what isn't, but I imagine it's something not super unreasonable

Yeah, but you see, when it comes to regular blood-and-flesh people, we (as a society, through courts) don't judge them based on whether their actions have been reasonable or not. We could, but the world would be very different. Having different standards for different people/organizations is plain hypocritical, undermines democracy and weakens civil society.
There's also rustlex [1] that have been around for a while and provides rust stable v1.0 support through syntex [2]. I use it for a handlebars implementation [3].

[1] https://github.com/LeoTestard/rustlex

[2] https://github.com/erickt/rust-syntex

[3] https://github.com/nicolas-cherel/rumblebars
Getting to a high level of traction while requiring people to download a client is incredibly difficult. I can't see it happening.
My town fired the city chemist because he wasn't actually doing the water quality tests.

And I view sanitary drinking water as a public health obligation. Internet service isn't even in that ballpark for me. It's a convenience, and one that people should be able to choose to pay for, or not.
Three things which worked for me when I was a kid:

- Games
- Pretty pictures
- Music

Someone suggested python processing. This might be cool. Also, pygame can be fun. For games, you could introduce the kid to the game of Nim, learn a strategy to always win, and the kid can program the strategy. Make it a real game that someone might load up and play, with whatever graphics, sound, and experience the kid wants.

Having the computer be the blackjack dealer would be another option.
Wikipedia has a long list of replicas (though I wouldn't classify some of them as one):

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

The Eiffel tower isn't copyrighted anymore so there is nothing that would stop anybody.
Oddly enough, the "X alternative" chart could be seen as a health metric, at least as much as "X" itself would be.

You could argue "if people are searching for alternatives to my service, that means they (1) care enough about a core aspect of my service that they're inclined to find an alternative rather than simply leave, and (2) other alternatives/competitors are not already obvious (market dominance)."

Of course that's a stretch, and if enough people really are dissatisfied with your service you stand to lose them to alternatives, but I guess the point is that google trends doesn't really imply a whole lot in this case because it's going to be biased by many things - including overall popularity.
They might not have feared for their lives, but they obviously are afraid to have any information on them when crossing the borders and they are simply afraid to do their job as a journalists in US.
I use Mark Forster's "Final Version - Perfected" algorithm for tracking and selecting what to work on next.

http://markforster.squarespace.com/blog/2015/5/21/the-final-...
That's how every langauge with immutable data structures works. What makes this one special?
Well, this is what is going into Python 2.7.11 for a 15% speed up, so apparently compilers aren't that good yet.

https://lwn.net/Articles/646888/
The first sync is taking a long time, is this normal?

(They recommend you to launch it at boot, so I guess it is)
digg 3.0
It would be so incredibly great if we could somehow keep bombarding U.S. policymakers with propaganda about the incredible military advantage of a well-developed high-speed train network. Then again, with military procurement as ludicrously broken as it is, we'd probably end up with an F-35 train that is amphibious (for the Marines) but which can't top 35MPH or elevations above Des Moines.

"Mr. President, we cannot allow...a bullet-train gap."
More photos on his instagram: https://instagram.com/ralphmirebs/
Constraints allow for only integers <= 9999999999999999 and >= -9999999999999999 which is interesting considering (-)10000000000000000 through (-)9223372036854775807 are also within the bounds of a 64 bit integer.

It's ironic that these facts are not mentioned considering the article is about confirmation bias.
it wouldn't surprise me if a lot of the 200 people who left were from middle management who didn't feel like the new structure provided them with enough ways to advance their careers.
Man. The documentation did not make that clear at all. Was this added in 1.0?

A question (In C++ syntax, as I'm not a Rust programmer): How would one call Animal::talk inside Dog::talk? The obvious thing (commenting out the println and adding Animal::talk(self) ) causes infinite recursion. The other vaguely obvious thing ( Animal.talk(self); ) is a syntax error, which makes sense.

Edit: I'm referring to the code at the linked Rust By Example page.
Lack of `goto` is a huge disadvantage for a language with macros. Pity they did not want to provide something like `unsafe` keyword which would enable all the dirty, dangerous, high-performance stuff.
defer has unavoidable runtime overhead due to its dynamic semantics. It's strictly slower than RAII as implemented in C++ or Rust.
Can you doubt it and say it was closer to 7 million?
Are there really a lot of teenagers on there? When I was in high school almost nobody knew about Reddit, it took until college for most of my peers to find out what it was.
How do you imagine that reflection would be useful for serialization in Rust?
Lets not forget about the MSDN subscription that came via CDs.
I really do miss typing part of a domain name (often YouTube), hitting tab, and doing an on site search.

But I'll put up with whatever to support Mozilla. Their work on Firefox and Rust is some of the most important going on.
I don't quite understand how it's not a setjmp/longjmp usecase. Isn't this exactly what longjmp is for?
I'd need to recheck my vocab, but I'm pretty sure aborting is always safe.
I've always defended goto and gotten a lot of flak for it. As soon as I say, "I wish I had X-language had gotos", I see jaws drop. Response: "Wow, haven't you heard the news?! GOTOs are considered harmful!"

I think goto should be in almost every language. It's one of the most primitive instructions, why shouldn't it be available when needed? Yes, it can be misused, just like any other feature in the language, but it can also be used to great benefit. State machines, for example, can make good use of gotos.

Hell, look at any unix library your machine uses every day. The ones you don't even think about. Start with libncurses: I promise there's a few gotos where needed.

$ find ~/ncurses-5.9 -name '*.c' -print0 | xargs -0 grep goto | wc -l
70

Raise your hand if you plan to stop using ncurses because of how opposed to how "harmful" goto statements are.

Oh, here's tmux, if you're interested (one of the most beautifully written C programs): https://github.com/tmux/tmux/search?utf8=%E2%9C%93&q=goto
No, the original division gives 8 exactly, while yours gives 8.000000072900001. (There's no way an odd number can be a multiple of 8.)
It's cute how you digg wannabes still love reddit for lack of an alternative.