skysight-inc/HackerNews huggingface dataset:
I highly recommend reading Life and Death in Shanghai by Nien Cheng [0]. It's a factual, first-hand account of the China's Cultural Revolution and what living in a communist / socialist society is really like from an educated person's perspective. My inlaws escaped Saigon when it fell and say the picture is very accurate.

The socialist downfall of countries are all unique, but follow similar paths. I encourage people to understand the causes of them and how brutal and arbitrary these governments are.

[0] https://en.wikipedia.org/wiki/Life_and_Death_in_Shanghai
Avec plaisir - would be curious to hear how it works out, what kind of feedback you receive. Ping me if I can help.
I don't follow. You can write other modules in different languages. The data sources are language agnostic. Nobody forces you to do use a specific programming language in the first place unless the platform is close sourced. The point is that with a close source BaaS you have no control on the tools or costs or availability(i.e. deprecation policy) of the service.
I like to think that vendor lockin is something I care greatly about, for the correct reasons. In the case of AWS Lambda however, it doesn't apply.

Serverless architecture isn't a "lockin" problem. You don't develop your app with serverless in mind, thinking that you might some day go back to serverful. Serverless is a core design of (some parts of) your app.

When I hear people say they're trying to "be generic", "abstract away serverless architecture" or some such, I'm replacing "serverless" with "asynchronous", or "functional", and it sounds bloody ridiculous, because it is.

If competitors to AWS lambda arise, I do hope they'll have a similar architecture available because that's where the power of Lambda resides. The "lock in" is only whatever those fake WSGI objects lambda is passing to the function are, as well as internal triggers for the servers (SNS, S3, ...). Those things can be abstracted away if competitors offer similar mechanism.

Trying to abstract serverless+serverful together is ridiculous. If you're successfully doing this, it sounds like your app doesn't belong in a serverless environment in the first place.

PS: There's plenty of drawbacks which are vendor-specific, not tied to the serverless design itself. For example, the Amazon API Gateway is atrociously bad. AWS Lambda doesn't even support Python 3, only Python 2.7 (get your shit together Amazon). Those are things I'd switch to a different vendor for in a heartbeat... if there was actual competition.
Agreed. Undo can be almost trivial if you bake in support at the start, it can become orders of magnitude harder to add later. In projects where I have any say in the matter, undo is there from day one.
Emacs kill ring?

https://www.gnu.org/software/emacs/manual/html_node/emacs/Ki...

It takes a while to get used to it, but once you understand it / use it in anger, it becomes tough to live without.
Ha! I was 9 or 10 when my dad bought us a PC jr. It was awesome. Having the code samples like Donkey.bas was what really allowed you to experiment, see what was possible, and write longer programs. There was no online documentation then.

There's a lot of shitty but accessible examples now, and a lot more ways to get them easily. If anything, it's harder now to pick a platform/device/language because there are so many choices. My kids won't put down their iPhone games long enough to read code examples, even though they talk about wanting to program.
TLDR: “I put lipstick on a pig,” Tony Schwartz, the ghostwriter, says. He feels “deep remorse.”
So, the PALs can be completely disabled at the pull of a plunger. This plunger takes <1s to pull and I'm sure that 1 of those soldiers on base could pull it. Once this happens, the bomb is no longer immediately valuable as it has to be remanufactured.

There is also a tamper-resistant membrane that prevents individuals from getting to the fissile material, and nuclear payload. This could render the bombs likely free of design information. In fact, it turns out these bombs have a ton of conventional explosives inside of them as well and adjusting the timing could make harvesting the fissile material a pain in the ass.

Design:
http://i.imgur.com/tv7JVXC.png

Source: http://web.stanford.edu/class/ee380/Abstracts/060315-slides-...
Sometimes I wonder if all of the online computers, internet, apps and other stuff makes any sense. We have complicated our lives unnecessarily and multiplied beyond the capacity of our plant to hold us meaningfully or have a life with any semblance of contemplation.
Tiny Rock Side Hustle
Show HN: Building of Question-Answers Community Forum Application Part 4
I seem to remember that Windows had at one point something called "clipbook". I was under the impression at the time that it was about multi copy-paste, but I never figured out how it worked. Probably few people did.
One of the captions says:

Store shelves that are well-stocked, like those in this bakery near Zerpa’s house, are typically full of non-essential items set at sky-high prices
For fuel delivery to LEO, the delivery vehicle could be quite cheap. Even the Dragon might be an overkill. Perhaps a simple tank with a simple RCS assembly would be enough.
YouTube Is Becoming Many YouTubes to Keep Its Video Crown
Script arguments are not standardized (various ways to access and different conventions). Environment variables are pretty universal. It's one of the reasons that 12-Factor App guide recommends env vars for configuration.
Frankly, that's one of the reasons I'm not interested in GNU GPL (at least, yet). I would rather go with BSD License instead.

But really, the benefits that come from open source programming vs. writing proprietary software are just a one-way road: while proprietary software can benefit from ideas found in the open-source world, the open-source community cannot benefit from proprietary software written by big giants like Microsoft or Apple.
So the bottom line is, the major purpose of writing open-source software is maintaining the FreedomOfSoftware, not preserving your rights as the programmer.

Now to address your question, I would try to look at it as a "force majeure" to keep maintaining my code and improve it in many ways. Like it or not, you have actually started a competition, and to win that, you have to keep making your code better.
Unpaywalled article: http://gizmodo.com/record-setting-hard-drive-writes-informat...
Kids Are Now Competing in Bodybuilding Shows
Grav v1.1 Flat File CMS Released
Working in a Startup or Corporation?
Well they are. I've always asked myself why there is no such service..then it was GAE and then docker and here we are!
Them pulling it off doesn't mean that they aren't telling their insurers :)
I see others asking for advice. I am skeptical and embarassed to ask here, but I feel like many like-minded lurkers are here. So I think this follow-up on M4v3R's inquiry is worth a shot.

I have multiple study interests. Many of them are beyond my comfort zone, by design and with intent, and I have no way of knowing when or if I can absorb them with a timetable. How do you schedule?

I am currently enrolled in a few Coursera courses:

Algorithms
Crypto I
Scala

They all have deadlines. I am 1-3 weeks behind in each, respectively. I have been an off and on again convert to programming and open source. I desire to really get back to computing, after a kind of numbing support career. I love the machines, but I cannot force their theory to love me.

I can watch lectures over and over and take notes. This takes time. But when it comes to assignments, I cannot connect the dots.

Solutions:

- Review the material AGAIN

- Switch up assignments to reduce load; all of them are equally rigorous, so this backfires, it still takes time

- I try reading supporting material (the Crypto101 book for Crytpo I for example, and it might be helping as of this week), but this takes time, and my choices can be invested wisely or unsound

This is not to mention wanting to study for more infosec certs, building a lab to strengthen that effort, and move to working on personal projects in a more focused way by building VM and containers using all the cool kid tools, boosting career prospects and increasing discipline.

I lost a lot of weight, and maintain with exercise (sometimes twice a day now) to stave off depression. I have lot of very dramatic personal drama with a relationship that consumes my spare cycles.

Someone, give me advice! I burn out frequently, watching TV streaming when I can, and reading sites like this.

This would not bother me so bad if NOT for HN. I procrastinate with you all, for sure, but this website exposes me to a very unique subset of computing culture and counterpoints I need as I live abroad with limited community engagement. You all fill me with rage and jealousy, as there are so many brilliant programmers exposing me to great people pushing the bounds of their curiosity.

What if HN backfires? It pushes on me, but without that push, where the hell does the inspiration come from?
Slightly off topic, but I've been thrust into working with some perl code and am looking for a good learning option. I like Code Academy's interface and there are also a few good Markdown tutorials out there[1][2].

Does anyone know of a similar experience for Perl?

[1]: http://www.markdown-tutorial.com/#/

[2]: http://agea.github.io/tutorial.md/
That's exactly our thinking, and why we want to minimise dependencies - including internet access.
There are more modern word processors that implement many of these features, for example Scrivener[1] and Ulysses[2]. Clipboard managers also help quite a bit, I can't do anything without one these days (but I also have a lot of commonly-used commands and blocks of code stored as snippets in mine, so it isn't just for juggling).

1: http://www.literatureandlatte.com/

2: http://ulyssesapp.com/
Python being intuition-centric is true in the sense that there are a limited number of orthodox, pythonic ways of accomplishing something, so if you're invested in the Python philosophy, those solutions will come to you. The comparison to Java, albeit a bit surprising, comes from the notion that both of them ship with intentionally simple building blocks, which you can chain together in a limited, constrained set of ways.

This kind of programming leads to Java's verbosity, where to read a file, you have to obtain an InputStream, so you use a FileReader, but you probably want to wrap in inside of a BufferedInputStream to get buffering, which you probably want to surround in a try-catch-finally to clean up exceptional states, which you're going to want to call readLines on until you run out of lines, which you want to put into a data structure that implements the interface List<>. None of these building-blocks are complex on their own. Furthermore, Java is about enforcing language restrictions from the programmer -- you must deal with checked exceptions before you can proceed, you must not clash types, you must provide an implementation of this abstract method, you must not access this private variable.

Meanwhile Python encourages 'pythonic' constructs, which are idiomatic ways of accomplishing a certain task; these are not unlike what Java programmers would call 'design patterns'. But Python is more lax than Java, and has a notion of 'we're all adults here' [1] towards OO.

Perl takes 'we're all adults' to a new level, providing a LOT of specialized syntax and sophisticated heuristics to squeeze more expressive power from expressions.

[1] http://stackoverflow.com/questions/70528/why-are-pythons-pri...
Shouldn't rural farmers be making a killing in these conditions? (eg. give me USD or your old iPhone/car and I'll deliver you homemade milk and bread for X months)
Socialism at its finest
History of Cartography: Volumes One, Two, and Three
In general I'd say the C-41 kits are relatively simple for someone who's accustomed to B+W development. It comes down to being sure the chemicals are at the proper temperature and that agitation is even. There's much less tolerance for variation compared to B+W but it's still well within the reach of a diligent amateur who focuses on reproducibility and good lab skills.

The main requirement is a temperature-controlled hot-water bath for warming the chemicals, which are relatively easy to construct with some creative use of aquarium equipment. Buy yourself a digital thermometer from Amazon to verify your chemical temperatures (you should have one anyway for B+W development).

You may also want to consider a rotary development instead of hand agitation. If you can find a "roller base" unit, you can just place a standard developing tank on the rollers and it works fine. I love mine for B+W development too. Works like so.

https://www.youtube.com/watch?v=60rYmqkyfDg

E-6 is a little more complex than C-41 and I do not recommend the DIY kits in general. The DIY kits are a simplified 3-bath version of the full 6-bath process and has negative consequences for quality and long-term stability of the resulting slides. Since it's more difficult and the finished product is inferior I recommend just getting it commercially processed.

You can send it out at most supermarket photo centers, just mark "E-6 Process" on the "special instructions" box. It all gets sent to a processing company (often Fuji) and they know what to do with it. Nobody does in-house ("1-hour") processing anymore, sadly.
If you want to feel some real pain ... take the following code (simplified for posting in this thread):

template<typename T> struct Function {
Function() = default;
void* callback = nullptr;
};

struct CPU {
Function<void ()> functions[65536]; //= {0} makes no difference
};

int main() {
CPU cpu;
return 0;
}

There's a bug in GCC, at least versions 5.1 - 5.4, where the above code will take 30s-90s to compile (depends on your CPU speed), and eat 500MB+ of RAM in doing it. But the bug isn't in 4.9, and possibly newer GCC releases.

What causes it? "Function() = default;" of course. Change it to "Function() {}" and the code compiles in 100ms.

So because I can't tell people, "don't use GCC 5.x", or "don't ever use any of my class objects in a large array", I basically can't use "= default;" syntax on my constructors in any of my library code now :(
Linux uptime: ~10 years
I used to use Wordstar a lot in young age. There was another software I used to use, which would let you create tables by hand, and let you fill data in it. For the life of me, I can't recall the name of that software. Unlike today's HTML tables, things were really WYSIWYG back then, between your monitor and the dot matrix printer.
I'm early adopter of serverless applications, few weeks ago was released a tool that make manage our Amazon lambda applications even easy.

https://github.com/jorgebastida/gordon

A few examples can be found here, and it's a good point to start if you're using Aws Lambda

https://github.com/jorgebastida/gordon/tree/master/examples
Polish resistance veterans sue German public TV
And Chavez's daughter is now reported to be the Richest person in Venezuela:

http://www.latinpost.com/articles/71424/20150812/maria-gabri...
The only solution is to be more self-disciplined, and there is no magic trick for that. Discipline takes time and effort to develop, and you'll be disappointed with yourself plenty of times along the way. The only secret is to keep trying.

To brag slightly, but maybe add some perspective, for many years I wanted to learn to speak Spanish. Now, I'm at the point where I can read the news in Spanish with hardly any difficulty, have read a few high-school level books, and can hold conversations, even on engineering topics, without too many mistakes.

For years it was just something I kind of wanted and put off, but at some point I wanted it bad enough, that I committed, and followed through, with spending a few hours every day studying. Sure, sometimes things just came up and I missed a day or so, other times I fell into my old patterns of playing video games after work and was disappointed in myself, but everyone gets disappointed in themselves sometimes (otherwise you must have no shame whatsoever). The important thing is to just try again tomorrow.

Anyways, I didn't really mean for this to sound braggy, but I did want to answer your post. Things like working from home and organizing and/or coming up with a scheduling system helps some people, it may even help you, but you won't develop more discipline overnight. In my opinion, the only secret to becoming more productive with your time is not never give up trying to be more productive with your time.
I agree - "vendor lock-in" seems like a valid point, although I don't know the details of many of these services. "Locked into a programming language" is something that will probably happen kind of naturally anyway.
Congrats! Prometheus + grafana are a killer duet!
Easy to setup and use. Same goes for node_exporter.
I only wish more JVM apps included a configuration file for the jmx_exporter and an easier to setup nginx_exporter. :)

Incidentally yesterday I created a simple exporter for (linux) coretemp, hddtemp and NUT's upsc:
https://github.com/andmarios/sensor_exporter
What makes online computers & etc different? You could say that about many technologies, even about agriculture. Life was much simpler and sustainable when we were hunter-gatherers (I'm being sincere, not facetious).

In my opinion, whether they are "necessary" is irrelevant (by objective measures, most things aren't) and simplicity is not a meaningful goal in itself.
Yep, I'm just like you. About to turn 60, been a daily hardcore drug user for most of my life, and I've been picking up new languages and technologies every day, all while working 60 hours a week.

I find it quite hurmorous indeed that there are those that would suggest that we are not intellectually capable.

Glad to know there is someone else like me out there. :)
If corruption increases said economic activity, is it a good? If destruction of the environment increases certain economic activity, is it a good? I'm not saying these things are similar to advertising, but the reasoning is flawed. That in the current setup of our economic system something makes economic sense, does not necessarily make it a good thing.
Query Array of Objects in Postgres
> And even for manned programs, space planes don't necessarily lead to cost savings

Mitchell Burnside Clapp had a somewhat innovative idea in that rather than deal with all those expensive expendable boosters you could add a little more mass to the actual launch vehicle and then use high altitude in-flight refueling.

http://www.risacher.org/bh/bh-paper1.html
https://en.wikipedia.org/wiki/Cuban_Missile_Crisis

Under result:
"Withdrawal of American nuclear missiles from Turkey and Italy"
English and French are only distantly related. There are cognates, but they're hard to recognize: hound - chien, foot - pied, four - quatre. Words you might be thinking are cognates - such as restaurant, police, etc. - are actually loan words. Some are recent, others go back to the Norman Conquest.

English is closely related to these languages (in order of closeness): Scots; Frisian; Dutch and German; Norwegian, Swedish, Danish, and Icelandic.
I came here to say the same thing. Look for another country especially in Europe or perhaps Canada.
That would be the correct issue about the staleness limit, yes. Note that Prometheus does not track individual events, but only numerical time series and their current and historical values. What's the exact use case you're stuck on? I guess you are using the pushgateway with client-side timestamps?
Without those things, we wouldn't even be having this discussion.
I was more interested in the Barnaby fellow than the businessman's boring story.
I remember this in the news, and again during the first Irak war (the stories were that the U.S. were asking France for the "code"), hence my question:

http://skeptics.stackexchange.com/questions/11152/can-exocet...
well, if you read it....

> I head out early to a farmers’ market near my house. Before dawn each Saturday, the farmers truck in their produce from the surrounding mountains. Everything’s sold at free-market prices. This is, technically speaking, illegal but essentially goes unenforced nowadays.
Taiwan ATMs' robbed of $2.5m by European hackers'
Lolight – lightweight tokenizer and syntax highlighter
Locked in maybe, but not vendor locked in if the language is open source.
Show HN: TheWorst.is
React Components in Vaadin Framework
Sort of related, I've implemented a GitHub pages based serverless app demo, that uses GitHub API to execute git operations from the browser. Though slightly weird, I really enjoyed this experiment, and think there might be something to this concept.

https://github.com/idoco/GitMap
Wow, reads like Atlas Shrugged. Could easily happen in this country. I feel bad for the 45% that didn't support the socialists.
I'd also suggest a book by Axelrod, The Evolution of Cooperation. [1] Not software explicitly, but patterns of behavior, which is pretty close.

[1] https://en.wikipedia.org/wiki/The_Evolution_of_Cooperation
Harassment of Our Authors Is Not OK
Turkey's failed coup, explained in 3 minutes
Lack of a functional democracy is the problem, not socialism.
But this isn't real socialism ... obviously.
If results-based work actually gains employees any extra free time, companies that find a way to fit more work into that time (say, by assigning more tasks) will outcompete those that do not. Goodbye, glorious results-based-work free time.

Either that or results-based work doesn't actually help us get things done faster than traditional work (_i.e._ it's snake oil) and at best it'll limp along providing little benefit to anyone but the people selling books about it.

So either it will fail/stagnate because it doesn't improve productivity, or it will become the new norm and we'll just have enough results expected of us that the effect on workers is at best indistinguishable from traditional work (businesses that fail to fill up the free time with more work will, generally, lose to those that do)
The caveat here is that large format has rather shallow depth-of-field, and if you stop way down then diffraction limits your resolution. There is somewhat of a resolution advantage from moving to larger formats, but it's not as large as you'd think when comparing to an equivalent depth-of-field with a smaller format.

The counter-caveat is of course that large format is often shot using camera movements that allow the line of focus to be creatively placed to make the most of the smaller depth of field, so stopping down an equivalent amount is not always necessary.
> cheaper relative to hosting fees maybe

Currently serverless is more expensive in the average case from what I gather, mainly since it's new and there's little competition.
BBQ – Books by Quotes
They probably have ways to divert some supplies to the black market, but most is seized by the military or outright stolen.

http://www.breitbart.com/national-security/2016/07/13/venezu...

http://www.wsj.com/articles/crime-wave-lashes-venezuelas-alr...
I think we need to be more careful with our terminology than using the terms "communist" and "socialist" interchangeably. Presumably, the real problem we're talking about is state-controlled economies, regardless of the ideologies that set them up.
I wish this was the default.
Nope, haven't used their product, so I can't help with more details.
I actually think the opposite. Serverless architectures are the future for most of the app servers that need a language agnostic API. Maybe I didn't get it right but to me BaaS is just a PaaS with a common API interface(i.e. authentication, input/output serialization, cache etc).
Funny enough, I've been using "write a blog based on Gists on Github for a certain user" as a take-home test for the past 3 years when hiring JS developers.

Now I have to watch out for copy cats..