skysight-inc/HackerNews huggingface dataset:
>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.

Nope. The Uber and Ola drivers are themselves striking against the two companies.

"The drivers have also demanded that no new cabs be licensed until existing drivers are guaranteed a minimum of daily bookings.

"The managements should give us at least 12 guaranteed bookings during peak hours for the first five years of each cab,” the association said in an earlier statement."" [0]

[0] http://www.thenewsminute.com/article/ground-report-hyderabad...
> Hmm. I guess the community will eventually decide on one particular primitive, hopefully soon.

Ultimately you'll get libraries or frameworks that are not compatible with each other because they use different concurrency models. That's a mistake Rust will pay in the future.
There's something that always wonders me abouth these kind of disasters.

You have people saying
"we shouldn't be making more nuclear plants, they're all too dangerous and can explode!"
And then you have others who say something in the lines of

"But they get the cleanest energy" or "you can't depend on solar energy for everything"

I think the question almost nobody is asking is what will happen to this if it goes unmantained and workers leave the plant unattended, for example, a disease striking the region, economic collapse or a civil war. What containment do any goverment have for that kind of situation, it's not like you can put someone in there and push some random buttons or something to keep the entire thing from melting...
No, automation is not new anymore and unions are declining. Besides, domestic appliances and cellphones changed the way people look at machines and technology.

It is easier to demonize immigrants and globalization. That is already the main target of anger.
I'm just starting to wish that some of these good services would just freeze instead of constantly "improving" based on some "big data" that is being horribly misinterpreted.
"Manufacturing and distribution is performed by Foxconn's FIH Mobile division." [1] aka, in China.

[1] https://en.wikipedia.org/wiki/HMD_Global
Perhaps combine the benefits of both the 'former style' and 'later style' into one -- use actual Chinese so it's still readable by most of the world's programmers (who live in China) but also utilizes the short context-required names (e.g. two characters '会编' instead of 10 'isEditable').
In other words, about 48 minutes for a ~1.2 GB file?
Is there a tool for checking mongo vulnerabilities?
The CRUD database tables I make usually have "id" and "name" columns. "name" is always a human-readable descriptive string (few words). No need to have a more specific name for what "name" is.

If you write SQL, you can disambiguate by table name prefix. If you iterate over result sets for example in python, you can easily be more specific on tuple destructuring time ("for personName, carName in ...").

When defining a table "Person", I consider it bad style to prefix all column names with "person". Btw this overzealous disambiguation falls flat as soon you do a self-join.
I'm going to second that "intvlMS" is terrible. I didn't confuse it with "intval", but it's like making people play Wheel of Fortune with your variable names. It takes so long to read. Even if you called it "intervalMS", that is not how you pluralize things (which would be "Ms") or how you abbreviate meters ("m"). It could be "intervalMicroSeconds". Just call it "intervalMeters" and save everyone from parsing your "concise" hand-minified code.
As far as I know most employees with handset expertise left Nokia after the sale, so it is very hard to say if this is the revival of the old Nokia or effectively a new company that has the trademark and patent rights.
I use Stripe for my SaaS and I agree with you. A lot of the OP's "lessons learned" I feel are simply opinions based on his own experieince, not actually determined via cost/benifit analysis with any other comparable workflow.

My subscription workflow is almost exactly like yours, for similar reasons, but also I convert subscriptions into a credits/day system that I track internally, and based on the Stripe API this doesn't seem like a good idea to try to have Stripe track for me.
Thanks for clarifying.

Can't remember installation settings but I know I have successfully used the Norwegian locale after installation.
I think what it boils down to is that it's just a low priority for them to fix, versus working on their products. They probably have a fix in the works as part of some new redesign and have judged the current annoyance to not cost enough money to fix immediately. I'd chalk it up to incompetence versus malfeasance.
cixin, your comment is presently [dead], it seems like you've posted too much since your account was created (your comments seem fine to me).
I thought a lot of what we learned about poems in school was overly prescriptive, and my friends and I could often invent and justify other meanings. But, unlike with multiple choice, in assignments and exams we were supposed to do exactly that. Exploring what something "might mean" is one of the ways to get into a poem. I mean, I still thought that how we studied poetry was not a very good way. But now I see it could have been much worse!
This also has performance implications since now you can't use the "reclaimable" memory for cache, etc.
The most Googled products and services for sale in every country, in one map
I am watching it now but he's talking about VMs ("KVM") and not "containers".

As to why we're in this mess, this rather amusing talk by B. Cantrill discusses the history: https://youtu.be/hgN8pCMLI2U

(Linux) Containers are not VMs: https://wiki.archlinux.org/index.php/Linux_Containers
If you demonize globalization, the result is local automated recycling and production. Thus this actually increases as in decentralizes automation.
The DARPA Robotics Challenge was actually inspired by the Fukushima nuclear meltdown, because it was unsafe for any humans to go there and people were surprised that no robots were capable of going themselves. Of course, we still have a long way to go before robots are going to deliver on that front. I don't know enough about nuclear reactors to know what the safeguards are in the scenarios you describe, but I do think it's smart to ask about the worst-case scenario.
Other than the help with a job hunt, it has so much to do with having professionals/teachers with years of real-life experiences around, IMHO.

It's like, for instance, learning how to swim. Many people can learn some basics of swimming on their own, simply by spending time in water. They can learn how to use their arms and legs efficiently or how to stay on the surface of water with a minimum effort. But, there are quite a few details which are almost impossible to learn on your own before many years pass or without having a professional teacher - such as the importance of exhaling under water, body roll etc.

I don't know programming counterparts of this instances, but I guess there are so much more important details than there are in swimming.
Using TensorFlow in Windows with a GPU
I would guess that using erase sector size as a block size won't help, because SSD controller anyway rearranges blocks all the time.
This is an excellent collection! Igor Kostin is mentioned in one paragraph but I do _highly_ recommend reading his "Chernobyl: Confessions of a Reporter" if you can get your hands on it. Confessions is an incredible bit of photojournalism. Everyone I've ever lent the book to has been moved by the scale of the unknowing sacrifices that were made to bring the plant under control.
"Modifying a defuplicated page will take longer, because a new copy has to be created."

Well, kinda. They only eventually have to be created.

You don't have to create the new copy immediately, you could overlay new data on the old page

(IE create new sparse page. Anything filled in on the new page is read from new page, anything else goes to backing dedupe'd page. real copy is made in background so this goes back to being fast)

Of course, this mostly just makes it harder, assuming you can place enough memory pressure on the machine.
If you need to do anything on a list of files/dirs, but they are not in the same place, or not easily filterable (e.g., all sub directories "/Fillion" but not the ones that start with "Nathan") you can use find to prefilter everything, then hand it over via xargs (if you want all to be handled by one instance of the action program) or with "-exec" (if you want each instance to be handled by a separate instance by the action program).

Also check out "find tutorial" articles like this one: http://www.grymoire.com/Unix/Find.html (e.g., did you know you can filter by size?)
FB is an exception to the rule here.
Which is precisely why it matters that I can write functionally pure code that is trivial to parallelize. At $FORMER_WORK, I even wrote (the same!) code as reasonably idiomatic-looking Clojure (essentially, reducer fns) that transparently runs locally single-threadedly, multi-threadedly, and on Hadoop.

That C program might be fast, but it's not a great tool for processing petabytes of data on a stampeding herd of angry elephants. So, I think performance arguments need a little nuance about what you're doing.

(My experiments include soft real time with deadline scheduling. Clojure's fine.)
This has gone on for too many years, and makes them too much money, to be a mistake. They completely ignored and refused to acknowledge the original subject of the thread, which states explicitly: "how to cancel monthly subscription to photoshop? Website leads you in a loop".

I don't think Adobe's incompetent when it comes to maintaining their own web site. It's the business they're in, and what the tools they make do.

So to be charitable, I'd chalk it up to competent malfeasance.

But on the other hand, maybe they're suffering from eating their own dog food! Perhaps ColdFusion web sites are so buggy and hard to maintain that they can't even fix their own infinite looping problem after all these years. Perhaps it's so hard to hire competent ColdFusion programmers and interaction designers, that even Adobe doesn't have any on staff.
I was wondering the same about why cixin was dead. Interesting heuristic in the HN codebase there. Is it a permanent death or does it back off after a cool down?
It looks to me like actually implementing the algorithm and proving that it works is the innovation here.

Also don't forget that the researchers themselves originally didn't understand its significance when Thurston suggested the idea.
Yeah, analogy -- thanks (was running on no sleep from travel).

I just don't think it fits the situation, even though I know what he was trying to say. Submitting proof to authority that you had done nothing wrong (as a defendant) is not the same as exacting revenge, even if the authority didn't see the initial harm. Along with the other descriptors of his ex-customer, it comes across as unprofessional.
I think it is more along the line to make more money: replace engineers with sales
Between the militarization of NYPD and the increasingly bold mass surveillance they're implementing, I think I may just never go to NYC again.
You can use the 'web' link in the comments to drill into the article via Google search results.
Have any former Nokia/Microsoft Mobile engineers transferred to HMD?
> give an intro to containers without Docker or rkt.

https://linuxcontainers.org/

Problem solved.

Seriously, while its interesting to see how a DIY container ecosystem could be achieved, an "intro" should be focusing on how to use something, not now to make your own half baked replacement for that something.
> I wish that all of those projects, tutorials etc. that explain how to write their image to a block device, like an sdcard, would start advise using cat, because there is no reason to use dd, it's just something that people stick with because others do it too.

I'd wondered whether dd or cat were faster, and indeed cat is faster, but not by much. Also, for some embedded devices, you have to write to specific offsets, so dd is more convenient and explicit. Lastly, cat composes poorly with sudo.

$ sudo dd if=foobar.img of=/dev/sdi # works
$ sudo cat foobar.img > /dev/sdi # fails unless root b/c redirection is done by shell

> I only use dd for specific blocks, like writing back a backup of the mbr, or as a rudimentary hex editor.

xxd / xxd -r is much nicer, but I suppose sometimes vim is not available...
To be fair, it does cost money and time just to maintain a static product due to customer support, bugs, security updates, etc.
If she had known the answer, would that make the question any better?

I remember back when I was in high school, I always sort of assumed that the authors of the poems we were tested on wouldn't be able to answer the ridiculous questions on our assessments. But even if they did, I've never been able to figure out what skills these questions were testing. If poems are open to interpretation, isn't it reasonable to think that two equally skilled readers would arrive at different conclusions? Which is to say: Is the answer really objective?

In any case, the state of standardized testing is miserable, and unfortunately from all accounts I have heard it is worse abroad. I don't think this should be much of a surprise to anyone.
Isn't this just a convoluted way of arguing that there's no such thing as idiomatic multicore C? If everything's idiomatic, then surely nothing is.
Alternatively - it might be typical big company bureaucracy. These staff members might simply not have an effective way to communicate with anyone that could fix the underlying problem - without going seriously out of their way and maybe missing a few targets as a result.
Quantified Self: Tracking Wardrobe
I think that it will not generate violent movements. In my opinion there is not nowadays an scene for a huge protest in the developed countries, so if there are protest, as long as they will be pacific, is very difficult that they will have repercussion. In the case, the demonstrations will be huge, they could induce new social movements and parties in the governments of the developed countries fighting for some political ideas to change the automation. .
Amazing collection! Really expanded on a few less-known aspects of the disaster
> Users may like having separate tools to help them differentiate between different communication tasks.

It is because the user ends up having to look at notifications of multiple applications. Those notifications take up space.

Right now they're sorted in a way. For example, the way the lockscreen looks, or the time they've arrived. This doesn't necessarily reflect priority for the user. How to achieve this? I think the correct way is by ML/AI. One way could be looking at which notifications the user tends to open first. Or, for example, look at which correspondence appears to be most used. This could even be combined with other factors such as time of the day, day of the week. E.g. the wife might be less important during 9-5 at a weekday.

Moreover, to reply to your specific point, a user could decide to user Ulum, plus Signal on the side. Or a user could decide decide to run Ulum, MSN Messenger, and ICQ. My point being, an application can abstract some of the protocols but just because it can't do more doesn't mean the user will use that feature. This is entirely up to the user.
I was told by the person I was visiting in Hyderabad that those who didn't go along with the strike were attacked. However I cannot find independent corroboration of this via Google (then again I don't speak or read Telugu). So I may be mistaken on this and I concede that the anecdote may be badly chosen.

That said, in other cities the luddites have become violent: http://indianexpress.com/article/cities/mumbai/mumbai-taxi-d... https://www.google.co.in/amp/www.hindustantimes.com/india/ub... https://www.theguardian.com/technology/2015/jun/26/uber-back...
People still use the Amiga today, and new Viva Amiga documentary shows why
Disabling autonegotiation and forcing 1Gbps full-duplex on the NIC might solve it, too.
My experience as a freelance data scientist
It's Oracle's general attitude. While not going anywhere near their products won't protect you from a patent lawsuit, it is some protection. They can't sneak in some commercial components and bill you later, for example.
The excuse of "our sales people have no way to contact the web developer who's on vacation, and we don't have a bug tracking system in place" might work for a dentist's office, but not a company that prides itself in developing online software and tools for maintaining web sites, and brands its products with the buzz-word "Cloud".
People who sue gig economy companies like this ruin it for everyone else. Some people want to have a relationship with their employers where the set their own hours, work one week and not the next, or just work a few hours a week. When gig companies get pushed into being traditional employers through legal action the have to convert to having traditional labor practices. Fixed number of hours a week, setting their employee's schedule etc. If someone doesn't like the arrangement with a gig company, then don't work there! Don't take the job then sue to ruin the arrangement for everyone else.
I can confirm that. I did the same route. Afterwards I read the "Living Clojure" book and solved the Wonderland Katas (https://github.com/gigasquid/wonderland-clojure-katas)
Tell HN: Linux is awesome for Digital Art and Computer Graphics now
I've tried doing digital art on ubuntu a few years ago, and failed miserably, so I got used to thinking that linux is just not good for this sort of stuff. But now I've tried it again, and was so sursprised to discover that many tools are actually really awesome now!

- Krita is amazing for digital painting. The most recent version works incredibly well, I'm so happy that I've discovered it! I'm as happy with it as I was with Photoshop. And it works with Wacom tablet really well too.

- Kdenlive is amazing for video editing. I used to be unable to find any halfway decent editor before, but kdenlive is REALLY good now.

- The latest version of SideFX Houdini works really well too! It used to have a lot of issues, but now it's just perfect, and enables me to do any 3D art I want.

- Nuke is great for compositing. This one isn't news though, it's been great for a long time.

- The only remaining thing that's missing is a native 3D modeling tool. The best one I could find is Nevercenter Silo. It has a Linux version, and it's a brilliant program, but it has issues and lags. Nevertheless, it is totally usable, and I'm having lots of fun modeling with it.
We already have inherently safe nuclear reactors[1] that automatically power down if the core gets too hot due to the physical properties of the fuel, without the need for an electronic control system. However, incidents such as Chernobyl, Three Mile Island and Fukushima have already tarnished nuclear in the public view, making it politically unfeasible to spend money on new reactors. This is a good summary of the situation: https://www.technologyreview.com/s/602051/fail-safe-nuclear-...

[1] https://en.wikipedia.org/wiki/Molten_salt_reactor
Universities like Stanford have ridiculous endowments that let them finance a significant chunk of their operations on interest alone.
You mentioned a desire to get some visibility into the runtime effects of your code. You get that (ASM dumps) out of CL, but you also get JVM bytecode and associated ASM dumps out of Clojure, even if your code is doing FFI. I go into detail on this in my Conj talk: https://www.youtube.com/watch?v=Lf-M1ZH6KME
Because it expresses the authors confidence but doesn't give anything informative. Show me metrics, features, idioms and working examples.
A few more Stripe tips from running a SaaS for a year now:

- A discount coupon can either be applied at the customer, or the subscription object level. The first persists across subscriptions (even while cancelled in between), but the later takes precedence if both types of coupons are present.

- There can only be one single coupon in effect for a customer at a time, therefore I would caution against the article's suggestion to use coupons purely for price segmentation as you "use up" that capability which you might regret later on.

- When you sell a multiple of something, make the Stripe plan cost representative of one unit of the thing (the smallest unit you think you'd sell, like a single user), even if there's a pricing floor in effect (X units required). This makes it so much easier to allow users to upgrade by an arbitrary amount of units. Learned this the hard way.

- In general, use the quantities property of plans, instead of creating a ton of different plans. I see a lot of "5 user", "10 user", etc. plans in the open Baremetrics data, which seems like a bad idea to me.

- If there's a discount built into your annual plan, just make that the base price of the annual plan. This frees up the coupon slot as per above for volume discounts or whatever.

- Annual plan pro-rating default behavior is broken in my opinion. If the plan type or quantity changes during the subscription period, the customer will pay for this only with the next invoice, which can be up to a year later. This is almost certainly not what you want, or what the customer expects. Instead, you have to manually (programmatically) create an invoice and trigger a payment to "sweep up" the price delta for the new plan. Ideally this could be done by Stripe on a monthly basis (it has to be delayed, you don't want to do it immediately since the customer might make more changes in a short period of time and you don't want to bombard them with receipts).

- http://www.ultrahook.com/ is great for testing & developing the Stripe webhooks locally

- It's a very rich ecosystem. I use 3rd party services that save me considerable time over building it myself for Stripe dunning, analytics and even professional looking receipts (customization, PDF rendering, VAT info, bulk downloads etc.), help desk integration etc.
The author gave valid reasons. One was a wrong assumption about the input files and it looks like the author was willing to absorb that. Then more changes were asked by the client.

Small fixed priced contracts are hard and limiting liability is critical. Typical is limiting it to value of contract. Otherwise it is very limited upside and unlimited downside. Key to make it work is change management but that assumes reasonable people on both sides and getting started with it early on.