skysight-inc/HackerNews huggingface dataset:
Ask HN: How are you deploying Rails + Sidekiq on AWS?
I'm migrating from Heroku to AWS. I have a lot of free AWS credits that expire in about 2 years, so I want to use those up and save some money on hosting. I also don't have autoscaling on Heroku, because I'm not using their expensive dynos.

It's just a Rails app with some custom buildpacks. I also have a Dockerfile that I'm using to run the tests on GitLab CI, so the app is ready to deploy as a container. I use Sidekiq for background jobs, and I have some scheduled tasks that run once a day.

I'm open to anything, if your setup is fast and stable. CloudWatch, Terraform, ECS, OpsWorks, Chef, Puppet, Ansible, SaltStack, Capistrano, Deis, Flynn, Convox, or whatever else you're using. I'm just looking for some production-ready and battle-tested infrastructure for Rails + Sidekiq.

Does anyone have some config that they're using in production, and wouldn't mind sharing?

Here's what I'm looking for:

* Multi-az VPC for high availability

* RDS (Postgres)

* Elasticache (Redis)

* Autoscaling for Rails app and Sidekiq workers

* Easy way to set up scheduled tasks

* CloudWatch alarms

* A simple way to deploy new code

* Rolling deploys

Nice to have:

* "git push" deploys

* Elasticsearch + Kibana for APM, logging, metrics, etc.

It would be great if someone has already done all of this work and would be willing to share their config. If I can't find anything, I'll open source my setup when it's finished. Segment.io's Stack looks good, but it doesn't seem like it's being maintained [2].

[1] https://github.com/segmentio/stack

[2] https://github.com/segmentio/stack/pull/139
would also really like to read your articles. Was talking with someone just yesterday about autonomous trusts and cryptocurrencies
Why? Isn't the whole reason you use a scripting language is that so it easily be used and edited? If you're going to this length, why not just write and obfuscate it in .NET? You'll gain a bunch features and possible speed advantages
"more than they bargained for" is not a phrase that I think about. I know what it means, but it's always used as a set phrase.

"Bargaining chip" is a bit more obvious, though. I admit, it does mean that, but I still think of it as a thing instead of 2 separate words. Right up until you pointed it out.

Even "you drive a hard bargain" comes through my head full of meaning, and I have to think about the word itself to realize it means that.

So a point of clarification: I've never heard the word used that way that wasn't part of a colloquial phrase.
Benchmarking Google’s new TPUv2
For me it was GW-BASIC on a Tandy 1000 our family found next to the university dumpster. Kids these days with their fancy-schmancy dropdown menus!
People in their 20s don't remember before the banking coup. They think it has to be like this.
> Poor CLI.

Did you even read the OP? Nix 2.0 has begun to fix this as one of its highest priorities.
I would imagine that Swedish politicians are also vulnerable from lobbying and US diplomatic pressure.
How we built our startup (it's all about balance)
https://www.youtube.com/watch?v=Rpn0vh2Rj0Y&t=4m39s
I’m applying a model called a chain reaction whereby one event causes another, which proceeds to cause yet another, and so on.
While there are surely FOMO investors in any ICO, there's a really rational case for Tezos. It potentially solves the governance issues bitcoin had as well as offering provable smart contracts, which helps alleviate the constantly-hacked problem with ethereum smart contracts. In terms of the amount raised, I invested because the coldly rational math of what a market-cap competitive with wither of those would mean for the token value gave really great pot-odds to a "donation."

This was the first project I ever saw where the developer pitched the source code to hacker news fore review, rather than a whitepaper to a coin sale.
Rehosted on Imgur (where it can be viewed without JS enabled):

https://i.imgur.com/5zTT0gk.jpg
That's not really a value, but more of an economic analysis [1].

Translated into a values, I'd say it'd be something like "focus on helping your long-term community members," meaning you'd try to preserve your local tree-trimmer's standard of living.

The conflicting PC value is something like "focus on helping newcomers, regardless of any negative effects on your community's existing members," meaning you'd support the immigrants and immigration, even if it pushes your local tree-trimmer into poverty.

[1] I'm starting to get annoyed with how economics seems to be used as a substitute for so many ways of thinking that it's totally unsuited to replace. Not just here, but all kinds of discussions. It has too firm a hold on people's minds.
the never satisfied freeloaders
I'm referring to people who sold the business they owned. To me, that would be the most common way someone would end up with hundreds of millions of dollars of income in a single year.

If you owned stock in a public corporation, you'd be smarted to sell it over time to reduce the tax impact.
A secure messenger that only works when you have a government that respects their citizens privacy isn't very useful, is it?
Type at point in an IDE helps. You can also use type holes and let the compiler infer types that you can use as a guide to fill in.
Reminds me of an episode of Cops I once saw where a man beat the shit out of another man for stealing the baloney from his sandwich.
You believe in responsibility, but the tenants (OP's hypothetical ones) have failed the responsibility that got them into their housing. At that point, to allow the tenants to stay is giving them the home freely.
The mining reward will eventually drop to 0 BTC though.
learn basic programming. I would suggest javascript, not because it's a great language(it's not), but it will transfer to both. And you can learn another language once you understand basic programming.

https://developer.mozilla.org/en-US/docs/Learn/Getting_start...
At this point you obviously know you're mistaken. Why keep pushing it?
Most people aren't psychopaths. The man was crazy, but he was still a person and didn't deserve to die.

You should celebrate the fact that even people who he antagonized were upset by his death. Even if they reacted irrationally, at least they reacted at all.
While I agree with your statement, I was actually very impressed to see the level of detail they were able to achieve with this technology.
The closest you're likely gonna get is an i.MX6 based board.
The populations of both people who go to college and those who do not are so large that I feel like we could likely control for effects (at least extreme ones like you're talking about) and make useful judgments.
> It's harder and harder to know what moral right and wrong are.

Morality isn't about what is right or wrong. You need to get past that. There are plenty of situations where there is no right answer and an individual is forced to choose between two wrongs.

Morality is what an individual ascribes to be proper or improper and it is very fluid. An individual's morality is influenced by everything from the situation to the people around them. They may inherit their sense of morality of another person or group but morality is still a personal choice.

We tend to think that everyone shares the same morality and so it becomes confusing when we encounter situations where our moral beliefs are at odds with others and we're in the minority. It doesn't help that the moral code ascribed to by a community might be completely different from the one the next town over.
Solar sails provide free delta v if you are already in orbit and willing to wait. It's not useful for moving people around the solar system, but a rock that takes 100 years to get somewhere is not a big deal. On that timescale they can move literal mountains.
In fact, as far as I can tell, "being a jerk" and "being politically incorrect" are actually completely orthogonal. I've interacted with lots of jerks (and shared freeways with them too) who weren't being in any way politically incorrect - and I've observed people who have been fired from jobs for being politically incorrect even though they were actually incredibly polite about it.
So either you're not from the States or you were well funded in your own educational pursuits. Both are fine this, is not a personal attack.

It is not hard to find evidence that American university is outrageously expensive. And for what is the average result? You learned the theory/basics of X subject? Or you met cool people and had a good time?

I think we're getting to the point that it is not worth it for a common job and certainly not for a common job in tech.

(Not arguing medicine or advanced science/engineering degrees!)
This is exactly what I came in here to ask about. I was reading this article and wondering whether one contributing factor for colony collapse is that these vast Almond farms alone simply cannot sustain the bee population in the areas they dominate.
"This is clearly just possible for this high-value crop, but there are not enough humans in the world to pollinate all of our crops by hand."

We have so many crops that rely on bees. There is no way we'd ever be able to pollenate all our crops by hand and it would become incredibly expensive if we tried.
Commit to a System
I think what's truly insidious is this idea that anything other than narrow vocational education is useless because you will "never use" it.
Thanks for the feedback!

If you have some database of notable domains, aliases used by investors and celebrities when testing, etc - highlight that competitive advantage.

That's exactly what we have - if that isn't coming through via the landing page, we should probably focus more on it.
Dropbox is infuriating. I love the app but will be switching this year. The Apple, Google, and Microsoft products are offerings are either good enough or close to it and are cheaper.

I pay a premium for their basic service, which lacks features like search, but even then I can’t escape ads and nags. If I was a business, I might be interested in Dropbox business, but I’m not. Leave me alone!
I just drove the I-5 highway through California's Central Valley yesterday. There are hundreds and hundreds of almond and other orchards with thousands of trees each along the way. They are in full bloom. Just beautiful.

Each orchard had bee hives at the ends of rows. They're so crucial to our agricultural industry.
Is there anything we should have to pay for?
How expensive? In my country, where we still use paper ballots dropped into sealed boxes, the whole budget for the election operations is less than 1€/citizen.
Screen capture in Firefox
> Very few people wouldn't be embarrassed to be an imposition on others

Your implication is that parasitic people have the same density among people who don't pay their rent as among the general population. This seems like an extraordinary claim in light of what we know about phenomenon like adverse selection.
GW-BASIC too! Though in my case, running on a PC XT with an amber monochrome CRT. I remember doing graphics with GW-BASIC (on an Hercules videocard, I think you needed SIMCGA or something like it)... it was a bit like using the LOGO turtle, you had to go left, right, up and down.

Compared to GW-BASIC, QuickBasic was a luxury :)
At Japan’s cliffs, he's walked more than 600 people back from the edge (2018)
>What if the AI creates a fake identity?

The article addresses this as a potential issue, but also goes into the game of cat and mouse with humans currently creating fake identities and stealing identities. The authors don’t seem overly concerned about this and conclude the system (States, IRS, Etc...) are pretty effective at weeding this out already.
HP Enterprise shares jump 19% on upbeat results, rosy outlook
Yeah tell that to my buddy working the night shift at a Chrysler plant, or 99% of working America for that matter.
Free delta-V, yes, but not much - certainly not enough to maintain the orbit of a mass driver.
Researchers map global fishing footprint
Who would provide such right?
This is a risk, like anything else. But in aggregate college graduates make far more money than non-graduates, much more than would offset even the crazy tuition today.
I agree with your perspective in general: I think that often we underestimate the power of our intuitive reactions (particularly in the tech world, where we often embrace that platonic notion of rationality as a tool to suppress emotion and instinct rather than something working with it).

In this case, I do think it's difficult because these sorts of manipulators thrive on making a good first impression. But in general I think that we in the tech world undervalue our trained instincts.
RxJava Library Social Manager on GitHub
Their effective tax rate is lower too, since once you don't need to pay as much for education and healthcare, your take-home pay is higher.

Based on what I've seen this is certainly not true baring a few exceptions.
> don’t have the time or the desire to learn the about what a DAG is.

rooted DAG = tree

What programmer doesn't have time for trees?
Voting should be mathematically immutable. We have the technology, and it can be made user friendly.

Most bank login forms are more secure than US elections (there is a password and KYC registration process.) Even credit card "enter your zipcode" entry level anti-fraud measures are more secure in my opinion.

What it takes to vote in most states: a mailing address, a signature, and a pledge that you are being honest.

It is sad how little hope I have for anything to come out of this bipartisan effort. (kudos to Schneier for participating, though) America's track record is of leadership being quite ambivalent about proven technological solutions to citizens' problems.

I want the titans of our industry to lobby hard for user friendly priv key crypto signatures, an irrevocable blockchain based solution, or both. Even a QR code on your registration card would be more secure than today, where you typically don't even need a card or ID to vote.

We are blind to trust our current process.
‘Plogging’ is the Swedish fitness craze for people who want to save the planet
My brother had the opposite experience: we didn't know what "copy and paste" was, but one of my brother's classmates did. So they told the typing class professor, and he forbade everyone from bringing printed homework.

My parents had to buy a typewriter, despite having a perfectly good printer at home.
Copy/paste the needed password from your workstation to a text file on a secure USB key, then use the key to copy/paste it into the login on the other workstation and delete the file.

> * remote-login from their workstation to mine to copy/paste (and hope their workstation's clipboard is secure)?

This option also risks leaving around credentials to remote-login to your workstation.

No sense worrying about the workstation's clipboard-security though- if the workstation itself is pwned or intentionally bugged, the password will be at risk from a keylogger or network-sniffing proxy when it's typed in anyway, so no avoiding that risk.

Option B is to ask yourself whether a 40-character impossible-to-write-down-without-typos password, phones are Not Secure level of security-paranoia is worth the tradeoff of inconvenience (it may be, depending on the nature of your work).
I can play this game.

You don't have freedom of speech in Germany because there are hate language laws. Thus, it's not a democracy.

See how silly that is?
Allow me plug something. If you just want to "AJAXify" a few links and forms you could try the splice-into behavior from this repo:

http://quickenloans.github.io/Behaviors.js/

It has no server-side dependencies and should be easy enough to use. But it doesn't use push history, which limits its usefulness for more extensive use cases.
Search outpaced social for referral traffic last year
Rob Pike on History of /bin/true
i don't know about the UK, but i know in the United States that "Computer and Information Systems" isn't as marketable as "Computer Science". Since most major tech companies know that CIS is for those who can't handle data structures and algorithms. But hopefully her 5 years as a dev could counteract that. If she switched to CS, then that would be a lot better
The tech may have changed but the people have not.

Thus they put the same amount of effort into the same things (ephemera vs permanence).
I say put out the $30 and try a structured course like the one below. Once you finish that course you should know enough to start focusing on where you want to go with your development. Otherwise I would just search on YouTube.

https://www.udemy.com/the-web-developer-bootcamp/
Top 3 things to know about using Apache HBase
I've seen as many reviews contradicting your first point as supporting it. Distributed source vs point source - the Sonos's have a huge advantage out of the gate in terms of ambience and imaging, and adding additional units helps with volume and quality as well.

I've seen a lot of talk about stereo AirPlay but not about surround. What would you use as the center channel, another homepod? That would look awkward, though sound fine.

The enclosure has always been a huge part of speaker design. The software side, ever since the computing power got cheap enough to enable stuff like Audyssey, has been a newer but not unheard-of part. Apple would be fools if they didn't optimize the physical design of the speaker as much as the software side.

Ecosystem lock in only works if you have a reason for me to buy a HomePod to use with my iPad instead of a Sonos in the first place. Sonos+Alexa+iPad works perfectly fine for me, so...
Strap some big rockets onto the ISS and somehow gently land it on the moon?
An observation of how much these closed systems are a regression from systems we had 10 years ago.
Project MARS
> If it did not. Employment would not require it.

That's not so clear. Other theories I've heard include "college is a good proxy for being reasonably intelligent and able to complete a difficult task" (mostly from employers themselves) and the more cynical "college education is a class signifier." I personally would say that college is worthwhile, from a purely work perspective, because it provides the student with the tools to encounter a new problem or concept, learn about it, and teach himself how to solve it, but that there's something to the other two explanations I mentioned too. My Japanese degree taught me nothing about programming, but the experience of learning Japanese in a university was useful when I decided I wanted to learn how to program.

Of course there are exceptions (if you're a doctor your higher education materials were obviously directly relevant), but to me this helps explain why so many employers care about a college degree, and not necessarily a degree in a particular subject.

> Not because you're so much better off because you had a class on .Net and Network fundamentals.

A computer science program that has courses devoted to stuff like .NET frankly doesn't sound like a very good one, since the idea of learning comp-sci is to understand underlying principles rather than memorizing how to use a particular tool.
Corel VideoStudio Pro 2018 Crack and Serial Keygen Full Free Download
Indeed. The actual story behind this research can be found here: http://tinyclouds.org/residency/ . JavaScript folks should also recognize the name of the researcher ;).
PAYWALL
Interesting comment in the article about how VB is still being used in some organizations. One company I worked for ran some critical business processes in Excel + VBA. I hope they've moved on from that. I imagine there's a lot of that lurking in Fortune 500 companies.
Announcing the 2018 no-budget film contest
Yes, you can implement an "error monad" instance for each of a given set of procedures (returning Either, Maybe, or whatever).

You can also wrap each of a given set of procedures that don't conform to a uniform interface (say, return null or < 0 on error) to be conformant. That's just basic hygiene. I don't see a problem.

> Monads abstract and generalize the concept of chaining computations.

I get that, but in the real world I don't find any need beyond sequencing (first do this, then do that) and the occasional nested-for or early return. Everything else is only giving up on other things that are extremely important, like modularity (complex types / protocols are inherently anti-modular) and deterministic resource usage.

> This is why every single monad code example in the article is identical.

I didn't even notice that, and I do not consider this a desirable goal at all. The examples do totally different things, and you want to see that. There's no need to swap one out for the other in any realistic scenario. Ever.
the part that gets me is that key based authentication is much, much more secure, as long as you have a passphrase. How many 'howtos' and other sites on the internet say to just create a key with no passphrase? Its right up there with the number of guides I see for deploying things on Redhat, that first have you disable selinux.
BlitzMax for AmigaOS4.X
They're livestock, and an invasive species. Colony collapse is an economic issue for bee farmers, and not an especially difficult one.
This usually happens to me when I do a reset password flow for a login that was previously not in 1Password. 1Password then saves the password, but not the login. It also happens sometimes when the password entry is on a different page from the login entry field. A third scenario that sometimes occurs is when a website mangled what was put into the login form before field submit (this usually only happens with ISP provided routers, but have seen other cases).
>what exactly do you mean by "just shifts the weak point ... to another"?

I'm not the person who made that argument, but I can give you my reasoning to support it.

Your key is on your laptop and unlocks your server, now your server is safe. But your laptop is just secured with a password. I brute-force the password on your laptop, and now I have no barriers preventing me from accessing your server. Your server is secure, sure, but the risk was just pushed back to your laptop which may be more or less easy to compromise than your server (depending on the threat).

I'm not arguing that key-based authentication isn't a good step forward. If you're using passwords on your Internet facing servers, stop doing that and start using keys. But you also have to protect your keys and any machine those keys are installed on, otherwise you're just shifting the weak point to another machine.
Only a very disingenuous reading of history would lead to the conclusion that our society is less "objective" than the past.

What has been lost is widespread confidence and faith in those institutions that previously served as the pillars of society -- the church, the king and the nobility. Now people are completely on their own for their worldview. What's become abundantly clear is that people are very, very bad at constructing useful or reliable models of the world. Left to their own devices the people will readily embrace all sorts of nonsense, the more extreme the better. Some will turn to drugs and some will turn to ranting about crisis actors and some will turn to video games.

None of this is a cause for concern. These people's lives are still orders of magnitude better than those enjoyed by people just a century ago. A life wasted playing video games for 12 hours a day still beats one wasted slaving away for 12 hours a day on the farm.

What is disconcerting is that the "poison" is seeping into the vital and core institutions and systems that contribute to our extraordinary quality of life. The author is concerned about the suicide rate (which impressively continues to break new records every year) but what should really be frightening is the extraordinary poor governance that Americans have enjoyed for the past 20 years. (Seriously, trillions of dollars flushed down the drain on completely pointless wars.) When the real engine of American prosperity sputters out we will have much more significant and difficult problems than a bunch of dumb, bored kids getting high on dope.