skysight-inc/HackerNews huggingface dataset:
"[...]With over 552 million smartphone users in China in 2016, a figure that is predicted to grow to more than 593 million users by 2017, it is a strategically important market where premium design and quality is highly valued by consumers."

I would honestly consider India also a strategically important market which is bound to grow quickly...
All you have to do is make sure that your credit card has no limit. They try to charge it a couple of times in a week (I think it is called the grace period) and when they can't charge it, they automatically drop your subscription, and without any penalties. This happened to me once, I was on a discount plan and tried to reinstate my subscription but their system is so complicated that although the rep tried to help, he could do nothing.
I don't know if they would have a legal leverage on me to charge the penalties by other means if I lived in the US, but you'd better try, as you have nothing to lose.
Projects like this are so so close but fall just short of the ideal. I've been thinking about this for years but I have not been at the point in my life where I could implement my ideas which are these:

1.) A UI which is just a line/text field to enter commands. Something like the command prompt but which fuzzy matches commands like the mini-buffer in emacs or the omni text field in Chrome or Firefox or even Enso from a few years back.

2.) Each command is name spaced to an "agent" to avoid command collisions. For example agent 'jarvis' would have a set of commands it response to like jarvis/foo, jarvis/bar or jarvis/baz.

3.) The output of each command is a list of 0..N items/objects rendered in a master/detail view where navigation over the list shows a detailed view of each object/item in the list.

4.) An item/object can be anything from an email, rss entry, web page, graphic, tweet, contents from a text file. Basically anything that is renderable.

5.) The output of any command can be piped to any other command which is able to parse the list of items/objects from the prior command and render its own new list.

This UI paradigm seems to cover an incredibly large set of use cases. The only use cases I can think of which are not covered are those where the keyboard input device is not sufficient; such things as graphics manipulation where a mouse or pen & tablet are needed.

The frustrating thing for me has been to witness the vast number of systems over the years that have nibbled at the edges of this paradigm but have not gone all the way. What I'm talking about mostly here are the numerous launcher systems like Enso or Quick Silver or dMenu. All these systems have UIs very similar to what I'm talking about but they're restricted to launching existing apps and controlling the options exposed in menus of existing apps.

The other class of applications I've seen that come close are the ones like that mentioned in this topic. Applications like notty where the effort is spent trying to shoehorn extra rendering capabilities into a terminal emulator.

What I want is essentially a Grand Unified User Interface (GUUI) such that applications as we know them are done away with and we only deal with commands and output.

A system where I can type web/news.ycombinator.com and a one item list comes back with that first item selected by default in the details view. And that item is the front page of Hacker News. Then I could next type email/inbox and a list of emails in my inbox are rendered. And of course while viewing one of the items in my email/inbox I could type email/reply which would render a text area to reply to my previously selected email.

As I said earlier, the use cases seem endless and this paradigm seems like it would be incredibly efficient for those who can type well.
ผมหล่ะความหมายอยู่ตรงไหน งั้นผมครวบคุมทั้งหมดเลยนะ
Tokio/futures is going to be the "blessed" way of doing async IO (the way its done in server side apps). That should be ready sometime this year. It won't be in the stdlib but it will be integrated with most of the I/O related libraries in the ecosystem and the Rust team is involved in making it happen.

It seems like you're talking specifically about async I/O here? Because Rust does have parallel programming primitives both in the stdlib and in the form of libraries like rayon and crossbeam. Rayon, in particular, is amazing for parallel programming.
Why even have a punch card? Just a paper and pen/pencil should suffice.
I guess something that could help would be for the deduplicator to be slightly more conservative. When doing a deduplication pass, if it finds a duplicate page, rather than merging them straight off, mark one of the pages as "reclaimable", but only do that reclaim once the page is required for recycling. In the intervening time, the different users are still pointing at their private copies and no CoW has to take place if there is a modification (it is simply un-marked as a deduplication candidate). "Lazy" deduplication.

Then the attacker would also have to force the system into enough memory pressure to be requesting to recycle these pages - something it may not be in the position to do if it is a guest with capped resources. The pages would also presumably be recycled in a less predictable order, making it harder to come up with simple a "wait 10 minutes" rule to ensure the recycling has taken place.

Now, I'm sure what I've described would not be particularly simple to implement, but that's another thing.
>it's useful to bypass the Linux VM as much as possible to avoid systems stalls

Oh man, I didn't even know that was the cause of these problems.
If I remember right, Rusts approach for their stdlib is that the bare minimum is actually in there and everything else is to be supplied by libraries, like the getopts crate that was split from the stdlib AFAIK.
The law of unintended consequences - in this case, you take a simplified, abstract model (operating system, processes, memory) of what is really happening, and you modify it to produce a different abstract model (the above in containers), and it looks relatively simple and straightforward, but the abstractions blind you to what is really going on, which is far from that.

So good luck, humanity, in keeping AI under control, should it be developed.
Isn't this the same as:

tail -c +$HEADERSIZE <foo
And this is why parallel/concurrent computing/applications are necessary to ease speedups. And that's what the new languages promise to let you get right. For the same effort.
> The manual partitioning also was quite cumbersome for me, even though I've done a lot of fdisk fiddling when I was younger. The main issue for me was the lack of clear documentation regarding this phase [1].

The way I do it, lately, and for pretty much any Linux system I use, is to just use LVM for everything except the /boot partition which I leave unencrypted. I think you can have an encrypted /boot but with Grub 2 being the way it is, I don't want to bother with it, my threat model is pretty much thieves stealing my computer, I don't need much plausible deniability.

The only install-time inconvenience with this is that the manpages for LVM-family commands (lv, pv, vg*) are nothing short of terrible. They're pretty much the equivalent of the // add 1 to i comments next to i++.

You don't necessarily "screw up" if you pick the "wrong" label type. You can actually convert between the two (e.g. https://wiki.archlinux.org/index.php/Fdisk#Convert_between_M... ) . Also, I don't know if the functionality was eventually merged, but a while ago, you had to be careful to use the "correct" set of utils for the partition table type you used (e.g. fdisk for MBR, gdisk for GTP, cfdisk for MBR, cgdisk for GPT and so on)..
Define "actual Nokia".
I don't think it's a good idea for Rust to choose a particular kind of concurrency primitive. Rust is pretty broad in its use cases, and choosing a primitive may end up restricting other fields. Remember that Rust used to have a libuv based green threading model, and it was removed for precisely this reason -- it affected some use cases in major ways.

Rather, it is important for subcommunities to rally around particular sets of libraries. E.g. the web and I/O related libraries seem to all be going in the direction of integrating with tokio. This means a web programmer can use tokio and it will work smoothly. OTOH, a different subcommunity that uses a different set of libs may use stuff built on rayon and crossbeam.
Your comment about a case-sensitive filesystem on macOS made me curious. Are you using APFS or anything else? What's your motivation to using a custom filesystem?
Show HN: Simple Multiplayer 3D render with threejs, Tile38 and websockets
You're very right. This is one of the main challenges for people to move away. There's expat insurance though (usually in the same country as where you're from) and usually the fees are way lower since you're now in a pool of higher educated wealthy expats instead of the overall population.

You can also usually move back, become a resident again and get covered again.
Check out arXiv:1405.1548v3

The Cellular Automaton Interpretation
of Quantum Mechanics
Gerard ’t Hooft

The author is very far from a crank, too, being one of the most important influences in the Standard Model...
Ah wish I knew this last week. Writing Xubuntu to my USB took something like 2900 seconds from a Mac.
I doubt protests will be prompted by automation explicitly. Take Britain as an example, it used to be the largest manufacturer in the world [1]. Now less than 13% of its economy is based on manufacturing.

This hasn't cause massive protests at the level I think your proposing. The question therefore is if automation is likely to have knock-on effects, resulting in widespread poverty. This might well result in popular unrest.

[1] https://en.m.wikipedia.org/wiki/Manufacturing_in_the_United_...
I hope the same, but i don't have great hopes. For a community to adopt a library as fundamental as this one would be, it would need to be of such a high level that i think only the language designer can create it ( or other really big names in the field).

If you think of something like OTP, i don't see any equivalent anywhere else. Even akka isn't unanimously used as the foundation for server side dev on the jvm.
How to Install WordPress in CPanel – Step by Step Installation Guide|
>The rule against identifiers shorter than 8 characters specifically disallows `name', which makes absolutely no sense to me. This particular word says a lot, and it can easily have its context implied with no problems. Example, if we're working on a database that stores people's personal information, it's easy to guess what `name' means.

Is it "first name", "last name" or "full name"?
Several people below mention the ransomware aspect of this is a scam and no data is ever returned.

This is ironically a good thing as it poisons the well for 'legitimate' ransomware. The less people expect paying up to restore their data, the less people will pay up and the less viable ransomware is as a business model.
Does cut(1) work for you?
This argument doesn't past the smell test as it doesn't explain why home prices are less today in Detroit than 10 years ago and why home prices fell around the country in 2008.
Art of the Marbler [video]
At least for delimiter characters, that's what cut is.
The modern luddite movement is already here.

A few days ago I was unable to get an Uber out of Hyderabad airport because of a "strike". "Strike" might be the euphemism of the year - it refers to angry taxi drivers/autowales striking Uber drivers who continue to drive.

This is not an isolated experience, many other countries (Columbia, France, Brazil) have the same problem with violent angry mobs trying to shut down automated competition. Politicians mostly side with the luddites; here in Maharashtra, Shiv Sena (racist party of Maharashtra, for those unfamiliar) is strongly opposed to Uber. French politicians similarly surrendered to the terrorists.
Yeah, I imagine all those distortion and amp units introduce a lot of fairly loud random noise.
Secure what? Please add "laptop" to the title as it is on the original.
I disagree that the competition always comes at a cost. Many European airlines tend to have a better reputation in the flying community than the major American carriers, and I have no doubt they provide more worker's rights than are the norm in the US. The same can be said for the top-notch Asian carriers, which to be fair also tend to have a lower cost of living and likely pay as a result.
Yes, but if we continue down our current path, they will not be directed at automation itself. Instead, advanced propaganda and bot networks will organize discontent against whichever targets allow the protesters to feel temporarily empowered, but that pose no actual threat to entrenched powers. The Russians are far further down this road than the US. Go read about how Surkov simultaneously creates Neo-Nazi movements, gives money to anti-Putin protestors, and props up the Russian Orthodox Church.

https://www.amazon.com/Nothing-True-Everything-Possible-Surr...
You can also go the opposite direction although its much slower by burning 4K eprom (12 bits is 4 bits of A, 4 bits of B, and 4 bits of opcode, 12 bits is a 4K eprom). Both modern eeprom or eprom or especially old eprom will be much slower than the old TTL implementations by maybe a factor of ten.

The interest in this design is modern eproms can be quite large, of course the largest ones are serial which is quite useless for this purpose, but 8 bit ALUs are possible.
Quantifying and Visualizing “Deep Work”
Pharma adopts data-science culture in move toward AI
Containers from Scratch
>The article cites some scientific papers, but I'm quite skeptical about them. How do they define "good" and "bad" identifiers?

Wouldn't that be answered in the content of those papers?
Wise Folder Hider Pro 3.41.117 Crack and Serial Key Free Download
Richard Hamming lectures
Notice how Adobe support staff are quick to address each individual complaining customer's short term one-off problem of unsubscribing, yet they never acknowledge that there is a general overarching problem with unsubscribing being impossible because of their broken looping web site, or promise to fix the actual cause of such a frequent and long standing problem.

Why, after the many years the problem has been repeatedly reported, doesn't Adobe fix their apparently terribly designed and maintained web site, which sends many of their customers who are trying to unsubscribe into a frustrating infinite loop, instead of manually unsubscribing the few persistent squeaky wheels who one by one eventually find their way to the forum to complain and demand a refund?

Could the reason be that Adobe's staff is unable to fix the looping bug in their own web server that their users keep reporting? Do they not employ anyone who has the appropriate skill set to fix that problem? Do they not have a bug reporting and tracking system in place? Does Adobe, of all companies, not consider the web to be important enough to devote sufficient resources to competently maintaining their own web presence? Or perhaps there is another reason?

The reason is because it's a dark pattern they've purposefully implemented and maintained in its broken yet lucrative state, because it makes them a hell of a lot more money that way by systematically fucking their customers on a large scale, while also saving them money paying their staff to fix their "broken" web site that's actually working as designed, by making them more and more money each time it "malfunctions".
Rust may eventually get async/await syntax that works with futures so coroutine-based programming would be easy to do, regardless of whether or not it is backed by an event loop like tokio or something else.

I'm not sure I get your point here, from other comments it seems like you're annoyed that Rust didn't choose a solution, and when tokio (which is the "chosen" solution for server side async stuff) is talked about you wish it had chosen a different one.

As I mentioned in my other comment I'm also not sure what you mean by "concurrency primitives" here, from your mention of server-side programming it would appear that you want something that handles async I/O, but this comment seems to indicate otherwise, and Rust does have pretty nice primitives (in the stdlib, and in rayon/crossbeam) for general parallel programming.
thanks for sharing this... stirring thoughts. Did my best to paraphrase here (https://twitter.com/iamtrask/status/818090203990659072) but I really think we should spend more time on this as a society.
stat(2) the file, and use the value from the st_blksize member of struct stat.
What are some of its more interesting applications?
I read it as "after three weeks in production, they noticed that the daily defect rate was now 0 instead of the dozen or so that they expected".

Natural languages are ambiguous...
Yes, but you can't set block size to n bytes in cat.

Also, it's useful to have in the back of your mind that dd can very easily mean Disk Destroyer, specially because of it's sui generis syntax
Stephen Hawking made a great point last year when he wrote that automation/robots aren't the problem, capitalism is the problem.

Most of the world takes for granted a system that allocates resources and the results of production in a way that encourages the highest profits with the least costs. Since humans are the highest cost, they are the biggest target for automation.

We have a golden opportunity to create a better, more equitable way of living now and in the future. Let's not let this moment go to waste.

http://m.huffpost.com/us/entry/us_5616c20ce4b0dbb8000d9f15
In FreeBSD, cached/block disk devices are long gone:
https://www.freebsd.org/doc/en/books/arch-handbook/driverbas...
so all disk devices in /dev are implicitly O_DIRECT.

Though, read cache can be enabled manually by creating separate device via gcache(8). This is usually not required, because caching is done at the filesystem layer.

It's important to specify block size for uncached devices, of course. dd(1) with bs= option will surely work, and with cp(1) your mileage may vary, depending on whether underlying disk driver supports I/O with partial sector size or not.
Op-ed: The desktop CPU isn’t dead, it just needs a swift kick in the butt
It's a priority for this year with the ground work already completed last year:

https://github.com/rust-lang/rfcs/blob/master/text/1774-road...

https://blog.rust-lang.org/2016/09/08/incremental.html
Unless those characters are Unicode (unpatched GNU cut).
Here's one alternative: http://v1.indie.vc/
Many of those short names are keywords (or pre-defined identifiers) in many programming languages, e.g. string, close, print, copy in Go. Having to use another name instead can also be difficult.
[OpenTokRTC](https://opentokrtc.com/) relies on WebRTC, a vendor-independent HTML5 technology.
SAAS owners/CTO's, can I talk to you for 5 mins?
I'm with a team building upon an idea that highly increases (or make it unstealable even) user data security for SAAS. To validate this idea, I'm looking for people owning SAAS (or CTO there) to talk for a few minutes and collect qualitative feedback. Of course in return you would be able to use the service for free in the future. Just respond here if I can contact you, highly appreciated :)
Case-sensitive HFS+ is an option when formatting a disk.
Making a Home Flight Simulator in 1600 Hours
The end result seems a little strange to me.
Why doesn't it KNEAD and BAKE without being told, and yet DECORATE's just by adding sugar?

Also, this is a perfect task for core.async / core.match in clojure. Definitely not 6 days worth of work.
> find an unrelated but expensive hobby

Why expensive?
glew-2.0.0 is in Fedora Rawhide. Oded, thank you!
I personally don't use Perl much, but I've seen quite a few scripts written by members of my IT department that I could read top->bottom without any issue whatsoever.
>"It's unfortunate that three-year olds are not in a position to rationally choose to rather live in Somalia, and that they therefore become part of a social contract they never actually signed – but can you come up with a better arrangement? It's very similar with parents, btw."

What about the rights of the parents? They are the custodians of the child's consent until they are able to make their own decisions. I.e. Their right to choose that their children not be part of some abstract contract even if they are themselves? Of course, then statists like to suggest "Well then, move to Somalia if you don't like it".

I've had this discussion, in multiple forms, starting in different spots, multiple times. It eventually gets to the Somalia suggestion (to the point of cliche), and the only logical point to make after that is: "States have taken up ALL land, including Somalia". Until you can offer people an alternative, or a logical and systematic way to get out of this weird contract of yours, then you can't possibly say that it's voluntary. Maybe even allow them to pay back all the "benefits" they have gotten, if it is even possible for such wishy-washy concept.

The problem is, you don't allow it. Even the richest persons on this world would not be "allowed" to "buy" their freedom from the "social contract". Because you use this wonderfully magical argument that says that all your wealth is owed to the "safe" society that government has provided. Convenient, yet choice and consent is magically not required.
Robert Caro’s Big Dig
Yes a free plan with 6 invoice items added via webhook should capture this as a single bill. At the end of the month stripe pings your server for user X what is the bill and you respond with your 6 line items.
"http://www.felienne.com/archives/5452" leads to "Error establishing a database connection".
When will you guys add the failed payment notification emails out of the box ? Been asking this for a while. Webhooks are fine but I feel like a failed payment email should be part of the core just like successful payment emails are.
I don't think there are any language features in PHP that we haven't already tackled for Ruby, JS or Python.
that's a great IDEA
It was sad to see the decline of Nokia from being the most ubiquitous brand of phones to literally nothing today (in the smartphone and feature phone market).

If they had adopted Android instead of going with Windows Phone, things could have been a lot better. Even when they made Windows Phone devices, at least the high end devices where critically acclaimed with everyone's only gripe only being Windows Phone (mainly the lack of apps). IIRC Samsung started becoming incredibly popular at around the same time. In some ways Samsung become the new Nokia, especially in developing markets where low end Android devices became very popular. At the time Nokia also had what seemed like technical advantages one of which was the PureView camera technology.

I think Nokia's decline was also largely because of very poor management decisions and also to some extent political. Microsoft aggressively pursued a deal with Nokia to adopt Windows Phone and they gave incredible incentives as well, billions of dollars in aid/credit/support (I don't remember the exact nature of the transfer of cash). This probably swayed their decision away from Android towards Windows Phone. I can't help but take a cheap shot: Stephen Elop was a Trojan Horse.

As the title says, this is a Nokia branded device, so HMD uses the Nokia brand for it's phones. It's not a real Nokia device from the company itself.

PS : Seeing Nokia and Android in the same sentence always triggers a nostalgic/angry rant.
How Mobile Games Aim to Keep You Coming Back