skysight-inc/HackerNews huggingface dataset:
> The couple have sought a refund via their credit card company.

I'm curious how that will play out. It's surprising how well the credit card system seems to work, when it relies so heavily on trust.
Rivets – a lightweight AngularJS alternative (databinding and templating)
The article didn't directly address private v. Public education, but rather that our teacher preparation methods are crap. You may be able to argue those who graduate from the best programs for creating educators may be skimmed off the top by the resources a private institution hasavailableto them in terms of provided salary and other issues, but the more direct issue is that teaching is hard.

One may be an expert in ones field, and not be a teacher. Saldly one may be a teacher, but over the years we've also gone and built a system which actively discourages teaching.

So the issue isn't necessarily one of money, but of how we approach the problem of building teachers.
No. Jolla is a bunch on ex- Nokia people who wanted to keep working on their then-current project.

Nokia allegedly started working on N1 when Microsoft deal went through.
Difference Between Data Scraping vs. Data Crawling?
Bill to reform the NSA falls in the Senate 58-42
> The gateway did not receive a timely response from the upstream server or application.

:(
The graphical difference has semantic significance in some domains: http://en.wikipedia.org/wiki/Mathematical_Alphanumeric_Symbo...
I dont understand how this is even legal in Europe.No matter what the contract says.How can this be a legal clause? I dont get it.
If you like this sort of thing, you might like this piece I wrote some time back about writing a Ruby script using whitespace for all identifiers: http://www.rubyinside.com/the-split-is-not-enough-whitespace...
I think this is the place I stayed when I went to see Bob Dylan play in Blackpool 2013. It wasn't too bad, Blackpool is a sh*tehole anyway what do you expect. Dylan was great though, best night of my life.
It's really frustrating to see cyclists who can't fall. I guess it comes down to lots of practice falls during childhood and infrastructure that supports safe cycling for children but...
Higher kinded types can be thought of as curried functions from types to types, but that's not how i think of them, and that's exactly the kind of explanation that i find unnecessarily offputting. For some people, thinking about functions on types is natural and useful, but for people not already deep in the functional juju, it's not.

My explanation is something like:

"You know generic types, right? They have a type parameter, and when you bind that type parameter to a particular concrete type, you get a concrete type. So, List<E> is generic, and when you bind it to the concrete type String, you get a concrete type List<String>. Well, a higher-kinded type is a generic type where you can bind the type parameter to a generic type instead of a concrete type. So you might have CollectionMaker<T>, and bind that to List<E>, and end up with a CollectionMaker<List<E>>, where the E isn't bound. Then, particular methods on the class can go on and bind that parameter to particular types."

That explanation is probably isomorphic to the one about functions on types. But it's given in terms of constructs a programmer might actually use.
There's a game I own that I'm only able to play on my computer because its developer accidentally used a GPLed audio library, and found their best course was to GPL the game engine. Internet volunteers then ported that engine to other platforms. So as an end user the GPL really has made things better for me than a BSD-style license would.
Lots of unexplored potential in this area.

Also think about optimizing memory access by applying this to data structures: if you can prove there are at most 42000 foo objects, the compiler could reduce 64-bit foo pointers to 16-bit indices. And reorder object layout so that fields are in access order. Etc. With everything being limited by cache misses, reducing your cache footprint and miss frequency like this can provide big speedups. (also shrink your VM memory requirements).

Managed languages with capabilities to deopt when assumptions are violated can do optimizations like these more optimistically and based on profile feedback. In fact Hotspot already does in a more limited way (comperssed oops).
Hey, we got this toy and we want to play with it.

There's this great quote that anything that was fun when you were five is still fun when you're thirty five, and playing around with funky letters was certainly fun at the age of 5.
Lazyload modules and resources with AngularJS
Google's operations groups are not only regularly updated during an outage, there's a root-cause analysis with remediation and prevention information posted a couple of days after any issue.

See https://groups.google.com/forum/#!forum/gce-operations and https://groups.google.com/forum/#!forum/google-appengine-dow....
LHCb experiment observes two new baryon particles never seen before
It probably isn't, but it's in that annoyingly small fee zone where it costs more to take them to court than it does to just accept the fine. I think in this case, they'll probably get the money back from their CC company though.
Ahh unintentional hipster self-parody at its finest.
> It always amazes me how many cyclists I see riding without helmets (and anecdotally they seem to be the ones who typically ride in a less safe/defensive manner as well).

Interesting, the opposite is true in my case. In London (England) it's usually the Lycra-and-helmet set I see lane splitting and light-jumping.
I think NSA was calling it Man On The Side? Or was that something different?
I've asked a couple of different employers whether I can release something as GPL. The answer has usually been "yeah, sure, just let me check with legal first". Months go by, I ask again, and I'm told "yeah, we'll get right on that". Never an outright no, just stalling until I gave up.

(Current employer has been better, and I've submitted a few improvements to libraries I use)
Has anyone come up with a way to speed up the "bundle install" step in a Docker build? The smallest change will cause this step to completely rerun, which takes a long time for a Ruby application with lots of gem dependencies.

One approach might be to base the final Docker image on another Docker image, which has a snapshot of all Rubygem dependencies at a certain point. In the depending image, the 'bundle install' will then do an incremental update and the Docker build will go a lot faster.

But I was wondering how other people are solving this?
Can you trust the cloud?
In a multiparty system such behaviour would be a sure fire way to a massive loss in the next election.
Fbi list of “cyber's most wanted”
I've had a Jolla phone for most of 2014 and I can say I'm not happy with it.

What drew me to it was the open source OS but it's very immature and needs a lot of work. It also needs a lot of new adopters to improve its ecosystem of apps.

The android compatibility is shaky at best and ruins the entire user interface experience of the sailfish OS.

The whole phone does not feel robust, not at all like the OnePlus for example which is my currently active phone, or the iPhone 4 that I previously used.

All this makes me very reluctant to purchase a Jolla tablet.
It has been a while since the book was published; and yet it wasn't mainstream media that brought this fact and the conflict of interest it entailed to the fore.
I went through a period of time where I thought I wanted to teach. I took it as far as completing a 1 year education program that would allow me to be seek certification at the end.

The article has a paragraph that describes my experience perfectly:

"American education schools are often derided as overly theoretical, inscribing an arcane vocabulary about education and few real skills for delivering it. But these institutions actually teach a hollow and decidedly anti-intellectual brand of theory, as many critiques of education schools have concluded. Future teachers receive a warmed-over set of homilies about preparing “the whole child” and “student-centered learning” (with the requisite homage to philosopher and education theorist John Dewey) instead of a serious intellectual initiation into the subjects in which teachers will have to instruct students."
I don't attribute it solely to reunification, I'm saying that adding 16M people to an economy helped it in making it bigger than it was before.
This is the w̶o̶r̶s̶t̶ b̲e̲s̲t̲ use of Unicode!
I think the author has computer science and computer engineering confused.
I just noticed that in the Chrome tabs it shows the title correctly, i guess its because it just uses Windows unicode support there. But everywhere else its not showing.
There's some tremendous effort being poured into making a crippled language like javascript usable, but when talking about solutions for maintainable frontend code, I'm more excited about compile-to-js languages like haxe [0], purescript [1] or ceylon [2].

The caveats I heard about transpilers often boil down to difficulty of debugging and lack of libraries. But with the amazing browser dev tools we have, debugging potential issues is not that painful. Every language compiling to js provides FFI and/or some escape hatch so you can write javascript manually, for performance tuning or for using 3rd party libs.

Even if you do write "raw" javascript, some sort of compile step is unavoidable, for running jshint, concatenating, minifying, etc. Why not walk the extra mile and use a better language?

BTW, I'm not saying a tool like this is not super-useful, specially if you already have thousands of lines of js code that you can't get rid of. Congrats to the Facebook team for the release!

0: http://haxe.org/

1: http://purescript.org/

2: http://ceylon-lang.org/
Ask HN: The best road to travel?
Hi guys,

I am planning on take a month off soon and renting an RV/campervan and want to do a bit of a road trip. As a group of well travelled people I just wondered where you recommend I go? Thanks!
What is the point of having different codepoints for FONTS in Unicode? What a load of nonsense.
Static? I use my own type-checking/enforcing lib as a base for everything I write in JS or CS (https://github.com/phazelift/types.js). It's only 1.8kb, dynamic and never fails on me.
Some companies go out of their way to beg for negative publicity.
You mean Uruguay and Argentina, right? :P

Short summary for non-uruguayans: Uruguay started out as the Spanish piece of the land on the eastern side of the river Uruguay according to the treaty of Tordesillas, and became a disupted frontier between Spain and Portugal.

During the May 1810 revolution (Argentinean revolutionaries against Spain), while the capital city was a Spanish stronghold the local leader José Artigas sided with the Argentinean insurgents and founded the United Provinces.

Artigas wanted a federal system, but the Buenos Aires leaders wanted centralism. So Uruguay actually became a province of the Federal League.

http://en.wikipedia.org/wiki/Liga_Federal

When Uruguay announced its independence from Spain, it became annexed to Argentina.

Then Brasil invaded, and it became a Brazilian province for a short time, thus the parent comment.
Oh that is awesome! I wonder if Java uses it as a semi-colon too?
Apple did the absolute minimum with WebKit source (occasional tarball dumps) until a KHTML developer's rant shamed them into being a bit better. LLVM has become a valuable project but I think mostly by luck; Apple contributed some funding to it because they didn't want to make the patent promises they would need to to distribute GCC. Neither of these is a new project that was developed by Apple and then released, in contrast to mda's list.
> If I want to keep my containers separated, I can’t have them communicate with a UNIX socket, unless I create a shared volume. Once again it’s a no go for me.

What do you mean by "shared volume" -- docker's "-v" to bind-mount the socket into the container? How else would you like to expose the socket to the container? Why is it a no go?
What should I think about when working with a developer?
The Jolla Tablet wants your help to revolutionize multitasking
Indeed, this is technically a misuse of Unicode.
This just confirms what a terrible, anti-customer attitude they have.
just absurd... the government should take action on this and the consumer rights. Just close down the hotel and get the managers to the court for scam.
You have to have stored the last password change date, which many systems don't do.
Ah I used the very first version of that system a few years ago. Quite good, actually, I may give it a try again to get on top of everything once more.
Thanks !This book looks fantastic.I'm not very good at C but it will be an interesting exercise to model a OO system in that language.
Unicode generally includes these things because an older encoding did, in the name of roundtrip compability. I expect some older font encoding did it to cater to people who need more than 26 symbols in their maths papers. Let 𝒉 be the...

Unicode's name for 𝒉 explains it all, really.
They need to make a high-end phone, a Z3 Compact competitor with a nice screen, camera, solid build + their backwards-compatible TOH v2 (faster data transfer) and then they'd be golden

Moving to a new UI size without resolving all phone-related problems? A bad idea IMHO
For people like me who enjoy a non-electronic way to organize all of this, I've found bullet journaling to be very helpful

http://bulletjournal.com/
The hotel made a strategic error so no need for court.

Under the UK Consumer Credit Act, when a credit card charge of £100 (or more) is made, the credit card company becomes 'jointly and severally liable'. A charge for a bad review also falls foul of UK Fair Trading legislation which means the couple can pursue the credit card company for the unfair trade breach and reclaim their money that way. Credit card companies don't argue in these cases and refund pretty damn fast (from experience) and just charge-back the business (so they lose the £100 and have additional charge-back fees of around 25% added on top).

If the hotel charged £99.99 instead, it would be a very different story and would need the Trading Standards people at the local municipal council to take action. (They already stated they will be regardless of the refund since these are unfair trade practices.) A refund would happen but would take longer and may well need a local county court action.
Oh I agree entirely - my post was meant for the irony rather than being a 45-year old curmudgeon ;)

(And I had fun too!)
In England they could go through small claims. An online claim for £100 would cost £25 initially and costs can be recovered.

https://www.gov.uk/make-court-claim-for-money/overview

They could get free legal advice from Citizen's Advice. http://www.adviceguide.org.uk/wales/law_w/law_legal_system_e...

But just reclaiming the money via credit card companies is probably easier.

I'm curious about why the people leaving one and two star reviews are not also sending reports to trading standards / environmental health. If the public areas are dirty I dread to think what the kitchens are like.
You don't matriculate from an institution. I think you mean 'graduate'.
It has a very high learning curve. And while it has great ideas, the usage of variadic functions is not warranted in my opinion.

I recommend you first try a simple OO project yourself.
> But they're not checking length.

Yeah, for that you'd need to know more about the password than we'd like them to know. I imagine they are simply setting the policy to "double" the password if it is older than X days.
Thought of that case too.

Seriously, making a mistake for the first time is one thing, but seeing the shitstorm that ensued after that and repeating it is another.
I had quite a lot of fun defining 汉字 variable names in C#. Though definitely not something to put into production code of course...
If there's any nugget of gold in there, it's that Dianne Feinstein voted with Ted Cruz in a Yea. I would have expected a different outcome.

Apart from that it's hard to frame positively. Is this something Americans should be proud of? Should the Germans have been proud in the '30s?
And yet they are the worlds leading economy and tech center of the word. Can some explain this paradox?
MirageOS is one such system that has been making the rounds here recently. (Also mentioned at the end of this Regehr posting)
> It works on basically every platform

Except, you know, Linux :)

It's also quite slow and I'd rather spend as little time as possible managing my time than waiting for the UI to load and having to mouse around for everything.

(Not to mention all those times where some of my notes were synchronized into oblivion, never to be found again)

I am much more effective using a hierarchy of text files and some simple macros to navigate it, works offline and it's incredibly easy to sync between machines.
What i've done is just mount the rails app in a volume, so it's not part of the docker image at all.

This means I can run multiple rails apps using the same image just by changing what volume to mount
Our main cluster is on azure west us but we have another cluster on amazon east and route53 on top of that. When the main clusters fails, route53 switch to secondary, so we where not affected at all this time.

The only manual step was to delay the switch back until our vms where working fine and had all resources. We do this changing route53 health check to one that is always failing.

We had also to purge our crashed mongo nodes because the journal was broken.

https://auth0.com/availability-trust/img/auth0-infrastructur...
Show HN: A missing command line client for Codewars
Personally I think it shows that this is a "first look" at Docker. Much of it is much better than what the post indicates.

> The final image is 570MB big. I could not shrink it more unless I remove the whole Python and Perl stack. Since both are necessary for many system dependencies, starting with apt-get, this was not possible. I still need a way I can improve or upgrade my container.

?!? The article starts by pointing out they use immutable servers and blue/green deployment. In that context, you will not improve or upgrade the container: You build a new one. And if you want to cut build dependencies from the final container: Do the build in one container, install the build-artefacts to a volume, and use the contents of that volume to build a container without the build dependencies.

It'd be great to get "built in" support for this, but it's not hard to do.

> There’s no easy way logging with Docker.

The standard way of logging with Docker is to log to standard out, which gets captures and is accessible via "docker logs". If he'd not dismissed systemd out of hand, he'd also easily have gotten it fed into journald, with the option of having it relayed to a remote or local syslog as per his preferences.

> Let’s put it this way: as a way of provisioning a container, Dockerfile is a joke.

We don't need more complex provisioning tools. We have plenty of provisioning tools. Ultimately Dockerfiles needs to be able to specify what should be copied into the image. Everything else you can do with your standard/preferred build tools. There's no reason for Dockerfiles to try to become yet another fully featured provisioning tool.

> Forget your classic monitoring (unless you want to pull your hair with network bridges). Everything you’ll be able to monitor within the container are ports. That because you run the old school nrpe inside your host, so you won’t be able to check you actually have 8 workers running inside your container.

This is just flat out wrong. Anything running on the host can see the processes running in the container. With the right cgroup manipulation (via nsenter etc.) it can also see the mounted volumes or network space of a container, and so you can still monitor whatever you like.

> Making your application Docker compliant requires you to rethink the way it works.

Making your application take advantage of Docker, rather than treating Docker containers as sort-of VM's with less isolation requires you to rething the way it works. It's not something you need to do in one go - you can "break apart" a larger app environment piece by piece.

> The the tag nightmare begins. If I update my application and add new deps, I’ll have to update container #2. Unfortunately, how will I know I have to do that?

Uh. How does he know he has to update the machine images he deploys his applications to today? Personally I use make - tracking build dependencies is what it is for.
If you have to ask others, you're probably not ready to jump ship and go 100% on this business. I don't mean to discourage you because in your place I would probably do it, but it will be very stressful especially with your family situation. If you already have doubts going in it will be very hard on you.
If you want to follow stuff about a particular topic in programming, you can try /r/<your_topic>: /r/lisp, /r/ocaml, /r/clojure, /r/python, etc.
I don't get that one either. It seems like he objects to it on the basis that it reduces isolation, but so will exposing ports via TCP/IP, so I don't get what he thinks he gains by avoiding volumes in situations like that. Especially since you can easily enough share just the socket file and nothing else.
It's unclear whether you're talking about the page or the unicode block.

For the page, that's fairly obvious when you look at the pseudoalphabet converters.
First world country with over 300 million people? As well as several other factors I'm sure.

You aren't doomed to failure just because one facet of your society is sub par (education in this case, allegedly).
If you like the challenge of a steep learning curve, might I suggest org-mode for emacs? It's got tasks, todos, built in agenda calculation, and so on. Also it's shipped as default with emacs. For something like a "waiting" status, you can easily reconfigure the default to-do states on a global or per file basis, and even have several different sets of states for tasks.

Here's a pretty handy guide showing what you can do with it, and then there's allways the org-mode documentation which outlines all features.
http://doc.norang.ca/org-mode.html

I've got a friend of mine who uses it for literally everything from notetaking to planning projects and billing project time, and I'm slowly getting into it as well. If Evernote's greatest strenght is flexibility, this will certainly give it a run for its money.
I'm not a lawyer and I'm going to appear to play the devil's advocate here, but bear with me and let's say it's not illegal for an agreement to contain such a clause. If it breaks no laws, then why is it illegal? Assuming you have signed an agreement for this knowingly (or at least they presented this agreement to you and it's fair to presume that you've read it before signing it). So what you would have to do is refuse to sign that. Maybe you'll have to find another hotel but you can leave a negative review pointing out this outrageous demand from this hotel. They can't charge anybody a hundred pounds and they get really bad reviews for it.

So basically I don't know what got into their heads when they thought this is a good idea, either. At the same time, though, I wouldn't be surprised if this is not an illegal clause per se. If they charge a hundred pounds for structural damage to their hotel, or theft of towels or so, it would make more sense, and if they consider a bad review to be damaging, it isn't even that far fetched. I think they should know better than to do something stupid like this at the end of the day, however.
I think he does not only mean the font rendering, but the UI itself.

Anyway, DirectWrite was horrible at high DPI, if I remember correctly.
Dylan'play there is no reason for hotel to steal money from your card.
I guess that makes sense.

Personally I find it annoying how mathematical notation seems so intractable today. Things that are easily understood in code for me are a mystery in math notation. But I guess there will never be an overhaul with a more intuitive typography...