skysight-inc/HackerNews huggingface dataset:
Ask HN: Anyone teaching young children programming through Minecraft?
I had naïvely assumed the Minecraft Hour of Code was the first of many modules that continued onwards in the same direction, but was surprised to discover that the Designer and Adventurer modules are the only ones available. This led to a question I posed in /r/minecraft, and a brief reply that confirmed [1], that indeed there isn't something like Hour of Code that continues past the two modules.

Before I re-invent the wheel that someone else has already built because my Google-fu failed to reveal someone else's project that has already trod this path, has anyone else here built a simplistic syntax on top of a Python API library to Minecraft, and set it up in a simple REPL? Extras would be a pre-built world that acts as a platform for puzzles, and a Lispy syntax, but as long as I'm not duplicating someone else's efforts, I'll do what I can for my child.

[1] https://www.reddit.com/r/Minecraft/comments/6ib4kx/is_there_a_launcherclient_that_players_can_only/
Certainly if you are considering moving a production workload, then a beta test, regardless of the company, may not be an ideal fit.

Object storage has been a highly requested feature by our customers and now that we are getting closer to GA we want to ensure that customers get a chance to use the product and provide feedback on usability, bugs, performance, and etc.
It's both!
`grep -A 1 "void someNiceMethod" src.java`

(╯°□°）╯︵ ┻━┻
I'm in the UK, and ASOS does this already. My partner regular orders the same clothes in multiple sizes, and sends back the ones she doesn't want in the bag they're sent in, with the prepaid return label.
I think what's special is the first word of the title. (Serious comment.)
Really wish this link worked, looks like a cool article!
So you didn't read the article where Charter was called out by the FCC for renting modems (at an exorbitant rate) that were incapable of more than 20mbps to customers on 100mbps or more plans, and in order to avoid being fined then for deception promised to replace them... three years ago... and hasn't done it whatsoever?
My significant other couldn't figure out how to easily post images on Reddit (without switching between two websites).

Now she's posting more content on Reddit, because it's easier and self contained.

There's also many advantages to keeping users "on site".

When will they start hosting short videos?
I'm Dan and work at Rigetti as a software engineer. Be sure to see this post about Forest 1.0: https://news.ycombinator.com/item?id=14595290

See this discussion there for a Q/A, or start one here!
PGConf Local: Philly 2017 registration open and schedule published
Tab as the prefix for command lines is a property of all Makefile formats I'm aware of (though not of many other build script formats). Make itself (including GNU Make) does not generally use M4, though both Autoconf and Automake use it, often in conjunction with Make, as part of the Autotools suite which is also published by GNU.

So, none of the above, in itself. It is a historical anomaly which has been preserved.
If you have backups, you might unintentionally restore an EU citizen's data. Pretty sure it's a crime to make backups (of user data) under this law.
rclone is a nice cloud cloning solution for files and folders. casync is intended to clone and delta entire filesystems, in a way that makes them nicely deployable. rclone is very cloud focused while casync says nothing of the details of how images are served.

casync also has fs composition, a multitude of recorded file attributes, automatic reflinking/hardlinking, uid/gid shifting, and so much more.

tl;dr: rclone is for files, casync is for entire filesystems/deployments.
What gets me is loading a gif on Imgur compared with alternatives.

Imgur seems to want show it's loading gif before the actual gif.

Sometimes I can be waiting at least 10 seconds for the gif to actually begin loading.

No thanks.
The company i used to work for wanted to basically replicate what plex does with their certs for our IoT devices. Unfortunately the price implied by Digicert was far too high for a startup.

The other solutions proposed like abusing Lets Encrypt, etc never really seemed right. I am still not sure really what the best solution is for IoT devices that doesn't have an astronomical cost.
LinkedIn has always stayed close to my heart. I'm currently on my third job, and I found all of them through LinkedIn. But I find it incredibly hard to like their new UI. They try hard to look like Facebook, when they really have no reason to do so. LinkedIn messaging is supposed to be professional messaging like email, but they turned it into a chat window. The "news feed" used to be useful and relevant, now I see memes and irrelevant sponsored posts. I try to check the site at least once a day, and in the past 3-4 weeks I find myself leave the site in less than 30 seconds. The home page is so heavy that you can almost feel it. I deleted my facebook account recently for some reasons, and I find the exact same reasons on LinkedIn now.
No independent image hosting service can scale because of pricing. It gets too expensive and users will never pay for it so they rely on ads + annoying ways to get ad revenue.
Exactly what problems are you having with grep/git and tabs? Grep has \s to match any whitespace character and git has settings to ignore whitespace.
funny how nobody wants to pay for bread and butter functionality, and yet the internet survives on such bread and butter.
Have you been to China or have close Chinese colleagues?
Will this work in China?
The Mersenne Twister algorithm takes a random seed (which should be highly entropic) as input and then deterministically generates a series of outputs. It does not generate any entropy by itself, nor does it specify where your source of entropy should come from.
I don't even understand why your question is relevant.
They do it even on normal website. Iv seen a couple of cases of twitch streamers showing viewer submitted fanart (pre screened), and the MOST VIRAL IMAGES sidebar had some almost pron 'click to look at tits' suggestions :/
For js (at least?) we now have Prettier [1].

It's already a must-have editor plugin for myself and any underlings. It's real nice.

[1]: https://github.com/prettier/prettier
Yap borg is the first thing I thought of. It already does a lot of this an more: encryption, configurable encoding, a rolling hash computed by the Buzhash algorithm and so on.

Maybe it wasn't geared for CDN delivery during restores but otherwise I've been impressed by borg so far (haven't deployed it in production, only played with it locally though).

https://github.com/borgbackup/borg

This is a description of the internal design:

http://borgbackup.readthedocs.io/en/stable/internals.html
> ``` pip install virtualenv virtualenv -p python3 venv ```
Yes, if everything always worked as advertised that is how you would do it. Unfortunately it isn't.

> First, updating a certificate can be done by hand without the use of any software.

Yes, I'm aware of that.

> The point of letsencrypt is to automate the process. Automation requires software.

Exactly. So, how difficult can it be to upgrade a certificate that was already there, nothing on that machine needed 'upgrading' over and beyond the certificate, especially not without doing so in an irreversible way. All the software required to do the upgrade was in place because it worked 90 days before then.
I would like to find some books on Forth. I just dump my old books in a donation bin.
What are the best books about history of technology? (in Tim Harford's Opinion)
They whitelist ports, I believe. That's the reason torrents don't work, for example.
I could be equally condescending and say "Why Grown-Ups Don't Use Column Alignment."

But using alignment doesn't mean you are childish. It's just a bad habit that leads to many problems.

A couple of examples from the Servo source code, whose coding standard at one time required column alignment:

let construction_item = ConstructionItem::TableColumnFragment(Fragment::new(node,
specific));

self.set_flow_construction_result(&kid,
ConstructionResult::Flow(kid_flow,
Descendants::new()))

There's no good reason for these lines to be so long. If they were formatted with indentation as shown in hawski's example, they would be much shorter.

Another example from an earlier version of the code:

ConstructionResult::ConstructionItem(ConstructionItem::Whitespace(whitespace_node,
whitespace_style,
whitespace_damage)) => {
...
}

Wait, is this aligned or not? What happened? Most likely it was aligned at one time, and then some names were changed and it became misaligned.

If you use indentation instead of alignment, these problems never happen. And in fact, the Servo coding standard finally allows the use of indentation, and this particular call has been changed to use it.

Now back to the question of tabs and spaces. If you use tabs and only use indentation with no alignment, then it doesn't matter what anyone uses for their tab width. The code will always look perfect whether someone likes their tabs rendered as 2, 4, 8, or any number of spaces.

The code will also look fine for someone like me who prefers proportional fonts. In fact, I think every developer should try using a proportional font for a while. It's a good way to get over the bad habit of column alignment.
Hey! I'm one of the engineers on this project. We're really excited to release the beta of this today. If you have any questions about this, how we built it, etc. let me know.
Then just run an autoformatter over the whole codebase once and clean up anything that looks wrong as you come across it later.
I wasn't even discussing moving production environments, just the beta test seems to highly favor DO in terms of cost.

But that is fine, if enough users are willing to front the cost of testing.
A company i used to work for tried to get something similar to what Digicert has with Plex, and the initial cost was very high.
Off topic - but I haven't been able to right click text and bring up the context menu on google's blog for a few months now..
I'd be interested to see what other people's recommendations are too.

I know Guns, Germs, and Steel gets mentioned a lot.
Philosophy, at least in the analytic tradition, is supposed to be precise and formal, starting from axioms and reaching well-supported conclusions in the same way as mathematics.

By contrast, the problem with Nietzsche is that he was such a good writer that no one can agree on what it is he actually said or meant: the same colorful metaphor and ambiguity that makes Nietzsche fun to read also makes his writings a mirror into which people can see anything they want. Which is entertaining, but doesn't make for great philosophy.

That's why contemporary philosophy doesn't pay much attention to Nietzsche, especially by comparison with his stature in the public consciousness: they just can't decide what, if anything, he was actually saying.
When I want to share an image over chat with a friend, the long, odd looking reddit image urls disrupt the natural flow. It's like virtually slapping someone on the face. A nice, short and sweet URL is much nicer in text conversations.

Also, being a developer and security conscious, I inspect URLs before I click on them. The longer they are, the more frustrated I get examining them.
Crystal stacks up qubits in first-in first-out memory
You're asking the wrong question.

What are your personal goals in the next 5, 10, 30 years? What do you plan on doing that requires money? How much money does that require?

Without knowing anything about your goals then any advice you will get (as demonstrated in this thread) will steer you toward structuring your life around saving money and getting safe but modest returns. Is that what you're asking for?

Here is a question you should ask yourself probably every 6 months:

"If I had infinite resources (money/whatever) what would I do?"

Take that answer and then figure out how to accomplish that without infinite resources.
And that was because Microsoft made a huge mistake. I don't find it likely that Google will make such a mistake, given how web is central to their business.
Just to counter your single anecdote with mine: I have on multiple occasions run in to syntax errors when copying/pasting code from sources that didn't properly preserve whitespace. It was fixable, but annoying.

I also often run in to code that mixes tabs and spaces, not just in Python, but it many other languages as well, and it is super annoying when it happens.

That said, before I learned Python, I absolutely hated the idea of meaningful, forced whitespace. But once I actually learned Python, it turned out it wasn't a big deal, as I tended to indent that way anyway. But it is annoying on occasion when working with other people's code, for the reasons mentioned.
It's a little exaggerated on the show, but I've definitely experienced pretty heated discussions on the issue!
Have a look at RTFM: http://blog.japaric.io/fearless-concurrency/

Theres nothing like it out there. This is zero abstraction, and it works.
Can't you just run your app on an async wsgi server, like gunicorn w/ gevent workers? You could use whatever web framework you like so long as it supports WSGI (Flask, django etc).
GNU IceCat is the future
Unsplash wrote a nice piece last year on how much it cost their site to run.

https://crew.co/blog/what-does-unsplash-cost/
This is why you have be careful when it comes to starting a business or service that's dependent on another to keep going.

Because it's very easy for the 'host' company to take your idea, undercut it and 'force' you out of business. Or to make changes that completely kill your product or service/screw up your marketing strategy.

It's a risk you have to take with a business so dependent on another particular company or site.
Uber co-founder Garrett Camp says recent events have left him upset and ‘deeply
It's a single file placed at the root of the repository. The text editor/IDE will automatically see it and silently apply it as you edit the file (eg press tab and it inserts x spaces or a tab, uses whatever newline specified). There is no extra burden unless you need to download a plugin for it manually.
If they have your data but won't give it to the authorities, the result is the same, isn't it? Unless you're suggesting the authorities aren't fooled, and will pry it out of them? That hasn't been the case so far.
Webpack and Preact-CLI Vulnerability
It's kind of sad that PG couldn't get anything more than that out of the short stories he read in high school english. Sure, a lot of them are forgettable, but if I think think of the stories I read that stuck with me, they all had a heck of a lot more going on than just being a random slice of mundane unhappiness. A few that really stuck with me: The Secret Life of Walter Mitty (James Thurber), The Open Boat (Stephen Crane), The Long Sheet (William Sansom). If PG couldn't find anything funny, gripping, or worthwhile in stories like these, well, his loss.

It wouldn't even be worth making this comment, except that PG seems to consider himself some sort of authority on writing (http://www.paulgraham.com/talk.html) - and for him, the one and only rule of style seems to be simplicity. I'll agree, simple beats overwrought, but c'mon. Great writers have a style that makes you want to copy it, which is something that PG doesn't seem aware of even as an aspiration.
How Not to Sort by Popularity
Are you assuming that all mining is happening with GPUs? Because a large portion of it now is being done with dedicated mining hardware.
That's symbiosis.
"In the beginning" is when there are no reporters or other observers on the ground, so we have to just take the military's word on everything. If we just asked the Cleveland Browns how they did last season, they might tell us they played pretty well.

Besides, is it supposed to be hard to use billion-dollar stealth weapons to kill a few malnourished soldiers equipped with 1960s-era Soviet surplus? The worst part about the upcoming war with Russia that we're determined to have might be that we're going to get our asses kicked, from the beginning. Expect to see more airports completely operational within hours of multi-million-dollar missile attacks.
Ha!

I was really expecting this to be Mosaic (97% in 1994), or at least Netscape Navigator.

I guess I'm showing my age.
It's a shame, because for the first two months the community was nice.
> In functional programming EVERY function is a single expression, including the main itself. In fact, in functional programming, your Entire program is just a single expression.

This is a technicality. There's basically always a mechanism for chaining two expressions and junking the result of the first. In OCaml, the semicolon operator does this. In Scheme (and most lisps) you can just put multiple expressions in the body of the function, and the return value will be the last one. And there's `begin` if you want a block that's not a function. In Haskell, the purity makes this actually not make sense in most contexts, but you've got `(>>)` for monads, and the do-notation which sugars it into something that looks basically like a statement.

Some version of that in python would be an acceptable alternative.

But there's also stuff like moving reduce to a separate package.
It's not just money. A car that's in the shop is a car that you can't use. So you have to make alternate arrangements while it's in the shop, plus figuring out how you're going to get it to the shop. A cheap but unreliable car is a false economy.

Also, do regular maintenance. Change the oil (or have it changed). Change the transmission fluid. Change the timing belt. A good car can last a decade or two with good maintenance.
Details? Is this some special version of Firefox, some plugin?
IBM owns Compose.io now, so I'd be a little surprised to see them launch anything on DO.
In sweden, salaries are traditionally paid the 25:th.

An if you get paid per hour, your payment is usually for the previous month, so 56 days late.
> I spotted loads of malicious network traffic

Care to provide anything substantial (e.g. net dumps or screenshots at least)?

> and they were C&C servers

How do you know that, have you MITMD your connection? Do you have anything besides generic spooky words?
Not open source, but I found newrelic useful to quickly profile and discover bottlenecks in Django code.
Amazon Prime is testing a try-before-you-buy option on clothing
Etymological research is rarely cut-and-dry. The authors are aware of this, and the quotation is being held as a counterexample to "the conventional wisdom that the word “southpaw” originated “from the practice in baseball of arranging the diamond with the batter facing east to avoid the afternoon sun. A left-handed pitcher facing west would therefore have his pitching arm toward the south of the diamond.”"

The article goes on to point out that southpaw was almost definitely a boxing term before it was given its baseball "etymology".
Show HN: Open Beta for New AI-Powered DevOps Monitoring Platform
I chose embedded systems as my specialization during my CS degree. We spent a week in one class just trying to define what exactly an embedded computer is.

Your definition is pretty much what we came up with--they're defined in terms of use. But at the end of the day it's one of those "I know it when I see it" things.
What's your website?
I believe the other was Cloak - could be wrong though.
The forced import contacts feature is a non-starter.
This sounds amazing. I honestly think recruiters can be entirely replaced by a decent A.I. and good scheduling software. And we would all be better off.
>Also, most of us run a load just before going to bed, and shuffle it to the dryer in the morning.

Have people told you that you smell funny or just acted weird when you are around?

Of course if washing, trying and ironing would be all integrated and automated then one could do that.
White vinegar in the prewash will kill the mildew smell.
That's absolutely incorrect. In this case, since the relationship was mutually beneficial it's literally called mutualism. It does not require that both parties require the relationship to survive.

Parasitism is when one party benefits while the other is harmed.
With my student loan paid off, I could afford about $400 a month in rent for me and my two adult sons. Good luck finding decent housing (not a trailer) anywhere in the U.S. for that amount. And not because it can't be done, but because houses have grown to more than twice their average size compared to the 1950s and then the low end is basically just trailers. There is almost no middle class housing left. It is all either slum housing (I count trailers as slum housing) or housing for rich people.

Many people on the street do have an income. They just don't have enough income to afford a middle class lifestyle. I have actually studied this space in school and everything.
GPUs are definitely dead for bitcoin. You'll get something like 10^9th more efficient SHA256 hashing from an ASIC than a GPU.

But for many other coins, there are two big factors bringing GPUs back into the game for mining:

- Lots of alt-coins competing for popularity; many might have ASIC mining implementations in the future, but there either hasn't been enough time or enough money to be made by doing it yet.

- There's been various research done to reduce the potential gain in efficiency from an ASIC implementation over using commodity hardware. This was done in response to the concentrating effect of ASIC mining operations, which put a greater percentage of global hashpower in a smaller set of hands. The main way ethereum implements this "ASIC resistance" is by exercising memory bandwidth -- an area where GPUs are already quite optimized -- in the hashing algorithm. https://github.com/ethereum/wiki/wiki/Ethash goes into detail.
I work at a company doing retail return analytics (pretty niche) and we've found that looking at returning customer segments gives a wider picture. In many cases, high returning customers can be your most profitable in the long term even after considering cost of returns. Particular segments keep more than any other (from a financial perspective) despite being returning a disporportionate amount of the things they buy. They're the most loyal, most tolerant and often the highest value customers.
Curious comment. What Django plug-ins were you using that caused you problems with Jinja2 templates?

We've been using Jinja2 at my startup since the beginning; in the four years I'be been working here I can't recall any issues with plug-ins using it.
Sure, I realized that old editions were very very cheap but very outdated, the 5th (2012?) is about 20$ that's probably the best compromise
I don't think Chrome has a control to reject 3rd party cookies from sites never directly visited.
My definition is the market definition, it doesn't single out to one specific architecture design.

The market goes all the way from something like the PIC10 to something ARM v8 64 bit.

It is all a matter of what a company is targeting as customer market, and how much it is willing to spend.

Just because a given language is not able to target 100% of the market, it doesn't make it invalid to such market.

If that was the case, C wouldn't be a valid language for embedded development as well, given that many CPU/uC aren't able to cope with straigh ANSI C compliant compilers and require either a C dialect or pure Assembly.
He did a perfectly fine job of reading your comment... you implied that you only cared about certain variables, "peripherals, power, tools, size, price". vertex-four points out that "x86 IoT devices" (ie these Intel chips we are talking about) are a bad choice in regard to those things that you care about...