skysight-inc/HackerNews huggingface dataset:
I've only been using Docker/ECS on side projects, but I generate the production build Docker image with the production .env included, push it to a private repo on Amazon ECR, then pull it in to ECS from there.

My understanding is the best practice for Docker/ECS production deployment is to create Docker images containing the full app build, rather than managing the app deployment separately from image deployment. As opposed to development Docker images that rely on docker-compose to mount the host filesystem in the Docker container, the production image Dockerfile includes COPY instructions for the production build files, to be included in the image.
>"And the article hardly explains how reason has been defeated. It barely mentions the propaganda machine (Fox, Limbaugh, etc.) that played the biggest role in impugning the idea of truth."

I saw the is the other day, authored by democratic party advisers/pollsters:

>"Rather than having expert thinkers come up with the right solution to a problem, the process of trial and error creates multiple experiments that attempt to solve the problem and uses objective empirical results to determine the best solution. With this approach, more trials - and errors – produce better results.

[...]

This is the type of problem solving approach Millennials have used almost since birth. They use it every day on social networks to decide what movie to go to, at which restaurant to eat, and even for which candidates to vote. Rather than insisting on solving challenges using the inherited, but inevitably limited wisdom of experts, Millennials would prefer to share their ideas and let the group find the right answer through their combined experiences. Given how far astray critical thinking has often taken us, maybe it’s time to embrace the Millennial Generation’s approach and see if it leads to even better results than the preferred methods of older generations."
http://static1.1.sqspcdn.com/static/f/930173/12774430/130837...

So they recommend we should just do AB testing rather than use critical thinking to examine the consequences of our actions. This is the NHST mind virus that destroys everything it touches spreading beyond research.
Maybe difference is short-term happiness vs sustainable. Looking at all kinds of addictions, just giving the right conditions to release happiness chemicals is not sustainable. Meanwhile putting some constraints and forcing the body in a certain way is harder but more sustainable? Sustainable as in longer term and for community as a whole.
As an aside, the Tom McParland articles are always interesting to me because he talks directly about auto sales, where if you go to a dealer if feels like you always get half-truths and the runaround.
I understand you want to talk about fundamental wrongs and the erosion of worker rights. It's just that there's nothing in the article that's really about that.
It's funny cause i live in a very sexually active community, with bdsm, porn pro, ex prostitute, etc. The people being recognize as the sexiest and having the most partners never, ever ask anything.

I have the very unique life style that makes half of my friends also hard core geeks, d&d players, hairy sysadmin, or able to tell which multiverse this particular batman costume is. They are also doubting every of their moves : is it allowed, it it disrespectful, will the other one be offended or hurt ? They really don't have much sexual success.

I love both of my groups, and none in them exhibit any signs they are better or worse persons. But i didn't experience that explicitly asking for consent made things better.

Not being an asshole does, and is pretty much unrelated to sex.
A 1-line macro is not bad. stb's stretchy_buffer is not bad, but it could do with less macros. Take the ones from my own example that I linked elsewhere on this page.

If you use macros "correctly" there is rarely any logic in there, and they are decidedly not hard to debug. Macros let you do things that you could not do otherwise, like getting information about the caller or the size of the element type that is abstracted behind a void ptr.

C++ templates on the other hand - if you have considerable C++ experience you will shy them. They drive compile times up insanely, and are actually very difficult to debug, at least under "normal" usage.

Also, code bloat results after a few instanciations where a simple runtime integer could be used to discriminate between different cases, but with shared implementation code.

I would never again touch even the most basic C++ template, that is std::vector. I prefer my simple 3 lines of macros.
What was the content?
Pythonanywhere and flask, with git used to deploy.
Fairly simple and I have not hit any performances or scale issues for any of the minor app apps I have made.
I can't believe nobody else pointed out JSFuck.

Try the converter at http://www.jsfuck.com/ -- or browse the esolang entry: https://esolangs.org/wiki/JSFuck

Spoiler: it can do everything normal JS can. Just because it uses 20,000 characters to do a simple if statement doesn't mean your eval is 'safe'.
With the possible exception of Clojure :). See Paul Graham on Lisp as the secret weapon.
I've often told my non-techie friends that coding apps is akin to Rube Goldberg's drawing of inventions, and after 20 years of coding I still feel that way.
Layman's hopefully-dumb question here: if a theory has no observable consequences, then what is it even saying? (or doing, or etc)
Show HN: Beetle-Race. (Unscientific) Visualization of Reinforcement Learning
Thank you for summing up all the problems patents cause in a market. You just made the point why we must get rid of patents ASAP :)
"You might be able to make a solid case..."

How?

Thru research, publishing, and spelling out an analogy to help (most reasonable) people understand the scope?

Kinda like Meixell & Eisenbury's the OP linked to?

"...I can't imagine it leads to more people being stabbed or shot."

Non sequitur.

Did you have a point? Or are you just concern trolling?
Here's the sentencing remarks from the first case: https://www.judiciary.gov.uk/publications/committal-for-cont...

Restrictions on what can be reported while a trial is happening are common, and not unusual in England. It should be obvious that you cannot, before someone has been convicted, call them a Muslim Paedophiles or Muslim child rapists, and you can't threaten to go round their house.

After being convicted for contempt of court, and given a very clear warning not to do the samething again he does exactly the same thing again.

For a good summary of the Yaxley Lennon situation there's this from a barrister: https://thesecretbarrister.com/2018/05/25/what-has-happened-...

Here's what the judge says (but please do read the entire document):

---begin ---

The sentence, therefore, that I pass upon you, taking
into account all of those matters that have been
placed before me and your admissions entered via Mr.
Kovalevsky, is one of three months' imprisonment which
will be suspended for a period of 18 months. That
will be suspended. There will be no conditions that
need to be attached to that suspended sentence, but
you should be under no illusions that if you commit
any further offence of any kind, and that would
include, I would have thought a further contempt of
court by similar actions, then that sentence of three
months would be activated, and that would be on top of
anything else that you were given by any other court.
In short, Mr. Yaxley-Lennon, turn up at another court,
refer to people as "Muslim paedophiles, Muslim
rapists" and so on and so forth while trials are
ongoing and before there has been a finding by a jury
that that is what they are, and you will find yourself
inside. Do you understand? Thank you very much.

MR. KOVALEVSKY: Your Honour, may we extend our thanks for
the patience with which you have heard us this
afternoon.

JUDGE NORTON: I am very sorry that we have gone on so
late. Thank you very much for bearing with this
rather lengthy case. Thank you both very much indeed
for your help. Finally, can I just say this to Mr. --
I don't know whether it is Robertson or Robson who has
just left the court, or indeed to anybody in the
public gallery: I hope they have heard what I have
said. There are real risks in publication and there
are real risks in what is put online, and I hope that
everybody will respect the judgment of this court and
will not be tempted to do anything which might
frankly, unwittingly or otherwise, either impede this
trial or might land Mr. Yaxley-Lennon, or indeed
themselves, in even more trouble.
PowerShell Empire Web v2.0 Released
I’ve seen you post several times whining about your job. Get therapy now. You’re like an incel, but complaining about jobs instead of women.
Webpack Express React on top of Google App Engine. I call it Rexpack - https://github.com/bengrunfeld/rexpack
Well, can you name an example where the EU focus on privacy instead of free speech had an actual negative effect?

Because as I see it, witch hunting old people who fake recipes for their opiod addiction or adding "massive national fame" to the list of motives for school shooters doesn't seem to benefit anyone beside the infotainment industry - and anyone who doesn't like actual coverage instead of sensationalism.

The very essence of free speech seems to be equally there in the EU (if not more) as it is in the US, or am I mistaken?
The point is, we don't want to start ecosystems on the planets and moons of the solar system until we're good and ready - and have checked that nothing was already there.
You're holding up a liberal rag as evidence that Peterson (a vocal conservative) is a troll. He's not a troll so much as someone on the wrong end of identity politics. Sam Harris and others wouldn't associate with him if your claims were true.

Working with that 85% of "HARD scientists", yeah, they're mostly pretty liberal, but they're just as likely to spout off horrible conspiracy theories and assume all conservatives are backwater inbreds as anyone else. That bias is supremely real, and it's not because scientists have a magical, rational filter against propaganda.
> Amarillo College, in Texas, is working hard to accommodate low-income students

such as by offering to pay vehicle-repair bills for families with only one car, reimbursing (through federal grants) baby-sitting bills, having 8 week mini-semesters, having administrators simulate homelessness so they can better help their students etc.
Some food for thought regarding old people leaning conservative:

http://nymag.com/daily/intelligencer/2018/05/poor-people-oft...
I believe when asking for "proprietary or free?" it's usually about end-user freedoms, not monetary cost. "Free" as in "free speech", not as in "free beer".
I played some Eve, but yeah I felt the same feeling coming and had to quit. My original MMO was DAoC, which when I look back was a second job.

When I played some WoW it was care bear enough that I could mostly solo and not have any real obligations. Eve was very hard to solo much.
Oh you mean blizzard-api-using websites? It's still not the same thing, but it's probably not worth talking about since the original comment was so silly anyway. MMOC would still work just fine if the blizzard apis got taken out by murlocs one fine day.
It makes it less valuable to transients, and more valuable to the residents.
https://hacknews.launchaco.com/

Had an old one lying around
Exactly. It really is amazing how many areas this is blatantly obvious once you read and understand what both are really saying.
I don't know enough Spanish to talk to that, but its definitely not Portuguese.

calleu d'una puta vegada

There is at least two words, calleu, and vegada that don't exist in any Portuguese I've encountered. Also, d'una is... not something I've seen in Portuguese before.

But I'm a new speaker so I may be missing something.

I found this slang for shut the fuck up in Portuguese, not sure how cromulent it is:
https://en.bab.la/dictionary/english-portuguese/shut-the-fuc...
I realized this when at a company.

The guy recommending the bonus was bit generous (really good at attributing bonus to the person who put in the hard work barring other bias) and the guy handing out the bonus was the one who battled hard to reduce every bonus as the company had hired him to limit the unnecessary bonus to employees.

Every employee thought that he is the one fighting management to get them their bonus and got lots of love/respect and the generous guy got nothing.
That is his whole point. Bible stories...archetypes.

It's like saying Sam Harris would make a lot of sense if he'd just stop rambling about consciousness, ethics, and AI.
You're supposed to add the ads after you establish your user base.
First, it was never stated to do that from a balcony so how would have known that the person to whom it was suggested? But leaving that aside, can you grant me for sure that there won't be any problem? for every place in Barcelona? what about if they people making noise aren't Barcelonian? what if they are too drunk and make even more noise? what if they recognize the balcony from where you screamed at them and start to throw you things as retribution? or ringing at your door? The possible developments of that situation are so many that you can't lightly ignore them, specially when it's another person the one who is going to be in that situation.
That's fair. I interpreted "dubious trending negative" as a subject rather than a negative qualification of one.
It seems like it should be easy for that API to provide access to take action on tweets beyond the 3200 threshold, by passing it along to a rate-limited task queue. I imagine there’s an incentive to not provide hot access to old activity data due to infrastructure constraints, but if you just responded HTTP 202 and batched them all later, it’d be gentle enough on the colder shards.
The US needs some law standarding a minimum notice/vacation/sick day policy across the board.
And that there is active discouragement to even read philosophy / metaphysics among much the mainstream science community.
Humi | Full Time | Senior Ruby on Rails Dev | Toronto | https://www.humi.ca/careers

Humi is building the modern scaffolding of HR, Payroll, and Benefits in Canada (and soon, beyond). We're looking for a senior RoR + full-stack dev to join our team in a formative role.

Position entails:
- Writing new application code for our core product API and frontend web application
- Designing and architecting new features
- Scaling and enhancing existing modules
- Advocating and implementing best practices for development and testing
- Mentoring junior developers on the team and promoting skill growth

Required skills:
- Elite Ruby on Rails skills
- Strong understanding of web APIs
- Experience with TDD
- Experience with front-end frameworks, ideally Angular and/or Ember
- Proven competencies in SQL and data storage (we use MySQL, Postgres, AWS Services)

If interested, apply here: http://jobs.humi.ca/job-board/product%20development/278
I think parent was referring to similarity of k8s to OTP from user's prospective..
zeit.co 's "now". So simple, no cost to get started.
It’s also so nice how quickly the site loads — that and the simplicity of HN’s mobile site makes for a very pleasant experience.
Looks are often a prerequisite, particularly for women, but they aren't valued more than acting ability.

There are scores of models who are more attractive than your average big name actor who fail to break into Hollywood because they can't act.
It'd guess it's because a) it lets us all think we are in the "rockstar" category, which is pleasing, and b) it lets us avoid all sorts of difficult thinking about the system that actually produces the work, and c) justifies unequal rewards, which is entirely useful to the people receiving the rewards.

It's the same reason the myth of the 10x engineer is so popular. I've worked with some people who certainly thought they were the 10x engineer. As far as I could tell, they were just showboats who did highly visible work, leaving little things like technical debt for others. Or the "brilliant" engineer who make things that require high cognitive load to understand, instead of doing the extra work to make them clear. [1] Or who shirk the work of supporting colleagues and building strong teams.

So basically I think these are the people who optimize for the visible success metric, not the ones creating the most value.

[1] Just this week a friend took over responsibility for an internal build system. The previous author had written it in JavaScript. Except that he was really excited about functional languages, so he wrote it in a highly functional style incomprehensible to anybody not used to it. Now this either needs to be mostly rewritten or anybody who wants to work on the build system needs to spend 6 months learning Haskell first. I'm sure this guy looked productive and got to sound brilliant in meetings, but a better productivity analysis would include the significant costs he imposed on others.
> What sensitive details did he broadcast

He threatened witnesses; he called defendants before they were convicted "muslim child rapists"; his actions nearly caused the collapse of the trial.
No, I’m sorry but the pop-culture YouTube phenomenon that is Jordan Peterson is not remotely comparable to an actual thinker like Aristotle.
How is the marshmallow test (or "The Boy Who Ate the Marshmallow") different from "The Boy Who Cried Wolf"? Both teach a lesson with a nugget of wisdom, the former about the perils of self-indulgence, the latter about the foolishness of sounding a false alarm. Both lessons are supported by numerous examples--far more than 90--that each of us has observed in our own lives. But one is presented as a self-contained fictional story, while the other is told as the result of an experiment that revealed some kind of natural law.

Why is our culture so drawn to presentations of basic life lessons as if they were the results of scientific experimentation? It's as if we have some sort of self-consciousness about "believing in" fables that drives us towards the telling of "fables-as-science".
I liked the intriguing idea of how this article started but it did end on a cop-out, “now that I have suggested this phenomenon rather than understanding what causes it so that we can harness it in practice, I invite you (what must necessarily be the majority of my readership if the pattern holds true) to quit your jobs!”

It would be very interesting to work out a probability distribution f(r), 0 < r < ∞ support, such that when sampled N times independently half of the total sum is contained in the top √N terms. Like I would suspect it can be done with long-tailed distributions, though they might need to have an undefined cumulant or so... just that trying to set up that “sum of the top √N” integral sounds very tricky in a way that would foster some clever insight.

But of course the more likely explanation would probably have something to do with network effects. If you imagine that each person is a morphism (or a bounded number of morphisms?) in a category for example, perhaps whose objects are indirectly profit centers, then having N profit centers correlates to having N objects that your company relates, which correlates to N^2 employees connecting them together, so if the top 50% of profit resides in some fixed number of these objects, then only the ~N employees out of the ~N^2 who happen to deal with these “cash cows” would make up half of the profit. To detect this you would want to show that rather than linearly scaling with employees, the returns to scale might show a characteristic pattern of profit versus company size.
Quantum mechanics may have defeated the notion that reason applied to intuition is not the way to enlightenment, but it appears to be a powerful demonstration of what can be achieved when reason is applied instead strictly to observables. Unfortunately, if Adam Becker is correct, this may have led more to a rejection of reason than to a critical examination of intuitions.
Danes moving there in later life aren't likely to add much to the gene pool, at least not the women.
Perl 5 is pulling me like a superstrong magnet. I haven't had time to read the basics and things like choosing the correct sigil + accessor trim me up, but still, it has many niceties. To begin with, you can have a statement "use v5.x;" and be done with which interpreter problem: it can tell you it needs sth. different, and does not fail because you have python3 to be 3.x, but the script needs 3.x+y, or you have the shebang as python3.x but the system has 3.x+y which is compatible, but you can only have one full path in the shebang... Then the context variable $_ is just lovely. The availability of mature libraries for everything is a trait Perl shares with a small number of languages. Its integration to Unix and its expressivity are second to none. The documentation, while not as accessible as Emacs', is available on you computer offline in man pages, and perldoc can give you proper docs on functions (unlike crappy help() in Python which never shows you anything useful and you have to go to the docs, usually online), add to that POD being a very nice way to add documentation to your scripts and also view them (if its in the path you can "perldoc <script>" and get help. And once you know your way around perl* man pages, you can just program independently, with little or no need to go online for Perl stuff. All niceties other languages/communities could've had, but just don't, because, well IDK why.

I'm a 25yo, so when I started programming Perl hatred was the hot thing already. Well, luckily as a curious person I discovered its just baseless cargo cult. Perl is one of the best tools to have in your toolbox.
I think this is a very poor design:

- Nested tabs are a poor use of space, scrolling tabs would be better

- The spacing around posts is too large

- The spacing within posts is too large

- The notch extends beyond the status bar

- The captions on screenshots are cringey

- The screenshots don't show the comments page

- The icon looks weird with both a border and bounds with different corner radius

- The '.' separator is sometimes bold

- Capitalization is inconsistent ("3 Comments", "3 minutes")

- The title bar of the comments page is empty

- The navigation architecture with each tab having its own stack is weird

- Padding is different in every type of page (posts, post, about)

- Line breaks in comments are ignored
Bulma.io, MLab, flask, nuxt and zappa.io and netlify for deployment.
Btw doesnt apple have fiduciary duty to minimize taxes to the best of their ability for their shareholders?
>the worst of widely used programming languages

Oh, you mean javascript?
Author seems to be a heavy user of thesaurus.com.
> The failed replication of the marshmallow test

Actually, the result DID replicate here even though the experiment was slightly different. Other variables were introduced that might suggest additional explanations of the replicated result.
It has often been said that all of philosophy is just commentaries on Aristotle and Plato and I think that was almost literally true at least up through the Renaissance.
https://github.com/PacktPublishing/Advanced-Artificial-Intel...

NLP, genetic algorithms, and reinforcement learning.
Kind of wrong to use another site's content and make money off of that.
Not surprised. Would rather they got back to creating great products to generate growth like they use to.
This is a fantastic idea and is badly needed in residential neighbourhoods of cities all around the world.
I doubt they will every go away. You have to make peace with that.
Ask HN:
A Review of Invision Studio, Flinto, Framer, Adobe XD and More Prototyping Tools
I totally agree that this one study sounds ‘fishy.’

That said, I think in general that GMO technology is moving forwards too fast without enough study. Same opinion on pesticides, and pesticide-GMO combos.

We need to balance feeding more people with taking care not to cause a technology caused catastrophe.