skysight-inc/HackerNews huggingface dataset:
> A big aspect of what I'm wondering is about automatically setting something up for keeping local/production environments in sync, quickly deploying to production, and not having to mess with a bunch of server configuration things, user accounts, security, etc.

Here's the simplest operational approach that I have yet found. Use Amazon RDS to run PostgreSQL as your production database. Architect your system to be one, static binary that is its own web server, contains all web assets compiled in, everything. It takes its configuration from a very small number of environment variables.

Start a CentOS VM. Copy the binary to it. Write a systemd service definition that sets the appropriate environment variables and runs the service as a dynamic user (so you don't have to worry about setting up accounts on the VM). Copy that definition to the VM and run `systemd daemon-reload` to make that service available. To deploy a new version, copy static binary of the new version to the VM and restart the service.

That glosses over lots of details, but it's your starting point for thinking about this. Every deviation adds operational complexity and has to pay for itself in reduced effort elsewhere.
Ethical hacking solutions and cc top up
Hire a professional hacker that can help you with all your hacking problems.Clear criminal records, university upgrade, Facebook hack, instagram hack, WhatsApp hack, bank transfer,credit card top etc
Contact us via geraldhacks30@gmail.com or ICQ: 703132619 or WhatsApp +14696660879
I started building a SaaS in Java/Spring and months in realised Ruby/Rails would have been stunningly faster to get the same result. The full write-up is here for reference http://tayler.io/5-lessons-learned-as-an-indie-hacker/
Explore Backtracking with Sudoku
Any language in which there exists a big enough and useful software system. Another factor to consider: How good the tooling and libraries are for the language.
Maybe check out the one we built in the Qbix Platform. It does tons of stuff including sharding and autogenerating model code for you:

https://github.com/Qbix/Platform/blob/master/platform/classe...

https://github.com/Qbix/Platform/blob/master/platform/classe...
SDL_Create/SDL_Destroy basically malloc/free under the hood. (SDL has its own custom allocator, so depending on your platform and compile switches, it may use something other than the standard library malloc/free.)

SDL has some value struct types like SDL_Rect which APIs sometimes pass around through pointers. SDL_RenderCopy is one example.
The difference is that if you sue someone, they will by definition face legal action. A complaint is just a tip-off. In only a tiny minority of cases will there be any action, and most of those will be a warning letter. Admittedly these cases in the link are very likely to be investigated, but they would have probably been even without the complaint. Apart from anything, the ICO in the UK is already investigating Facebook because of Cambridge Analytica.
Well, nowadays Visual Studio community edition is that native free tool.
Bookmarked! A real gem.Has become a rarity on HN these days. Will pace it and watch it over a month.
The Neural Turing Machine has been expanded upon considerably since that paper, and inspired a number of other memory augmented neural network architectures, including: https://www.gwern.net/docs/rl/2016-graves.pdf , https://arxiv.org/abs/1605.06065 and https://arxiv.org/abs/1803.10760 .

If you don't want to read a bunch of papers this video also has a good discussion of that last paper, describing how a memory system based on the NTM has been applied to reinforcement learning to achieve very impressive results that seem to me to be a very significant step towards human-like general purpose intelligence: https://www.youtube.com/watch?v=9z3_tJAu7MQ
Most languages don’t support static binaries. Other than Go I can’t think of any that make it easy.
Show HN: Self-Service Crypto Index Fund API
How is it native if you're just replacing a JavaScript VM with a Dart VM? Or is the Dart somehow compiled to native code?
It's not too bad, but am not a huge fan of it being basically IRC but made fancier under a new name.
I'd love to see a list of additional features!
Ask HN: Anoyone find medium.com recommend articles weird?
They are all over the board, checking if anyone seeing the same weird recommendations.
If you have the luxury of picking your stack, and don't mind using modern, clean PHP, try Laravel and Forge.

Laravel is a solid framework, and Forge handles the deploys, even going so far as to be able to deploy automatically when you push to master. Plus, you can use Laravel Spark to build an application framework base, with user login, teams, payment, all that written for you.

If you're not able to pick your stack, well, Ansible is pretty easy to learn. You can use Vagrant for the local dev, and ansible-vault for production secrets management. Deploys become a single command line, and that includes when you want to push an environment update.
Since I did not see any entries from Queens (One of the five boroughs of NYC), I would like to add Astoria bookshop
and a new entrant in Kew Gardens - Kew & Willow.

The story of how Kew & Willow came to be is also interesting: https://www.kickstarter.com/projects/1844468864/lets-bring-a...
Personally, I prefer the minority governments. They have to play nice with the other kids, at the risk of being chucked out of power. As a minority, they have to keep at least one other party reasonably content. Harper's minority years were more reasonable than once he got a majority.

The NDP/Green coalition in BC is new, but seems OK so far, and that same minority aspect probably tempers the behaviour of both parties.

I do need to do some homework before the referendum though.
The idea is to have a value-investing style crypto indexing strategy
Firebase + VueJS or NodeJS + VueJS.
How many web apps can you name that don’t rely on any external gems? Packaging that mess is a pain in every scripting language.
wonder why this isn't getting more love?
"with not too much effort"

Right, and my truck runs on dreams and starlight.
Running Windows builds and tests where Wine didn't work but ReactOS did?

This might be motivated by Windows licensing regime. Licensing for Windows VM instances used to be super-painful, so people would try hard to avoid it.

IIRC, to run a Windows VM you were required to acquire Windows Datacenter licenses for every node capable of running that VM (at least that's what we were told). If you have a fleet of hypervisor nodes running Linux workloads, the licensing cost calculated for a single Windows VM was absolutely ridiculous.

I guess things are less insane today and you can just get a license for the guest OS, no matter whether it's running virtualized or bare metal?
What was the fallout from Fukushima?
Imagine taking a dog whistle and sticking it in your ass in a datacenter, after eating Mexican meals for dinner last evening.
Thanks for the validation, I think so too :)
Really? What's the life expectancy of someone living without doctors or modern medicine? For reference, 17th-century English life expectancy was only about 35 years.
Pyramid - https://trypyramid.com/ - lightweight like flask but with that little extra that makes life easier (authentication, sqlalchemy integration). Not as heavy/opinionated as django. In fact, would argue, not opinionated at all.. just the right balance.
Your code is nothing but Magic . I have spent time trying to wrap my head around it. I am almost there but I don't understand .map(<&str>::into) . Monoid implements String
You’re right, it gets compile to native code
There's no question that Facebook only uses RN for part of the main Facebook app. They've been open about the fact that Newsfeed on Android uses Litho rather than React Native: https://github.com/facebook/litho

Ironically, this is because they weren't happy with the performance of native Android components, and that's what React Native uses under the hood.
Microsoft could be on the verge of buying GitHub
Now all we need is a professional gimbal for the gameboy... RED better watch out!
> "Atari’s Arcade Pong PCB contained 66 IC’s. Gates and flip flops of every kind, a pair of 555 timer IC’s and a few transistors. It was simply hard wired TTL logic and predates microprocessor and software controlled video games."

Source: http://www.pong-story.com/LAWN_TENNIS.pdf
When a College Takes on American Poverty
I don’t think it’s really about the availability of talent but rather about the business end.

Video games are projects and comparable to movies. You need different talent to perform different tasks at different times. Once that talent delivers, you probably won’t need them again.

Unless you’re an established studio, that’s capable of rotating staff from project to project, then there is really no feasible way of keeping staff around that is no longer necessary.

COBOL programmers on the other hand aren’t workin projects where they become unnecessary, because the systems they work on are forever.

Basically you can say, that nobody is working on Rail Toad Tycoon today, but there are COBOL programmers who are still maintaining main frame software that was build before Rail Road Tycoon even released.

I’m not sure how you’d run video gaming differently though.
Pseudorandom numbers and white noise generation
You are mixing unfairness among theoretically equal actors (regular businesses vs Amazon) and disparities that are supported by societal values. Progressive taxation is a moral imperative to correct excessive disparity; marriage allowances promote fertility and societal stability; and so and so forth.

You are free to make the argument that targeted tax breaks can be worth the cost to the rest of society, but you cannot brush off the entirety of tax laws as morally unjust when the exact opposite is true.
Probably marketing, that’s the one thing that bugs me about Flutter and React Native. They’re not as big as the hype would have you believe
> Hindsight makes it easy to say that people should have known it was too dangerous to live there.

About 20 years ago the lab tech in my lab announced that he had just purchased a house in leilani estates. I warned him, do not hold on to that property for more than 10 or 15 years, because it is in the path of the volcano.
If its a basic app with CRUD features, I use WordPress. Else PHP (LAMP stack) and JavaScript (MEAN stack) are great options.
Maintenance, everybody wants to work on greenfield but there is a ton of maintenance work out there.
The criterion might reasonably be (a) acronyms that are terms of art in (b) an article for publication.

Thus acronyms that should be known to everyone within a field would be expanded on first use. This seems redundant but it's not actually a huge burden.
> automagically pthread_joining

What do you mean by this, exactly? You mean leaving it to RAII instead of doing it explicitly?
I feel like before you need distributed training, you need distributed hyperparameter tuning, so I'm disappointed I don't see anything about that here.
Asian Americans Are the Least Likely in the US to Be Promoted to Management
I use Rust and my own templates
That is amazing. I love it.
What are the best resources to learn Ruby/Rails these days?
Oh man, do I love this question.

For the stack, Ruby on Rails with React.

But my secret sauce is the DevOps:

+ GitLab

+ GitLab CI

+ Heroku

+ Git + Git tags

I also add some magic npm scripts to take care of semver tagging. And with my build:

+ All pushes are tested

+ All changes to master are tested and deployed to staging

+ All semver tagged commits are tested and deployed to production

+ Also, all database migrations happen automatically.

I documented my entire process by building and deploying a sample app here: https://www.toptal.com/devops/effective-ci-cd-deployment-pip...
I followed this a bit at the beginning. What isn't so obvious is that this is actually a super faithful reverse engineering that was then modernized. For example, here's a random old commit: https://github.com/OpenDUNE/OpenDUNE/commit/c6ff4733a78c3e74...
Adversarial Attacks on Face Detectors Using NN Based Constrained Optimization [pdf]
That tweet was a month ago. This change could have been more recent than that.
> Although Mr. Dabney was overshadowed within the video game industry by Mr. Bushnell’s charm and business savvy, his legacy is now being revisited.

> “He was the guy that could actually make it work,” said Dustin Hansen, a game developer and the author of a book on video game history called “Game On!” “Where the circuit hits the board, he’s the guy.”

Dabney sounds like Woz to Bushnell's Steve Jobs. As much as I liked reading about Jobs, during his life and after, I never got through his posthumous biography. But I think I finished "iWoz" the day after I bought it.
My gut tells me this is a result of the automobile effectively increasing the size of a city and therefore the amount of land. It is possible we could see something similar aided by self driving cars. Or better tech for building tall cost effeciently.
Snack King Takes Bite Out of Biased Politics
It's so not fast to develop with though. I used to use it exclusively for years just cos that's what I knew. Switching to Rails now because Rails blows it out the water for speed of development. I still have a lot of love for Spring Boot just because of the power/flexibility and how incredible it is as a framework and marvel of engineering. But starting a spring boot app vs. starting a rails app is night and day in terms of how far along you already are with a Rails app especially if you use something like https://bullettrain.co
Neural net ‘privacy filter’ that disrupts facial recognition systems
> autoimmune reactions on societal levels (ie. humanity seen as an organism attacking itself)

Tiger salamanders, when facing overpopulation in crowded communities, will have a few larva spontaneously develop larger frames, bigger jaws and hyperaggressive, cannibalistic demeanors. The "cannibal morphs" will attempt to devour those in the community most distantly related first, which clears some room and confers a selective advantage on its closest kin.

https://academic.oup.com/beheco/article/5/2/225/212146

Probably risky to read too much into that. We aren't tiger salamanders, after all, and they don't, far as I can tell, debate and refine their own ethics in any meaningful way.

Still, it's terrifying to consider that tribalism and even genocide might have an evolutionary tailwind.

I'm not an evolutionary fatalist... but it would suggest we have a lot of work to do.
For the most part the purpose of getting patents is to protect yourself from litigation from other companies. So when they try to sue you go back to them and say, "We might be infringing on this, but we believe you are infringing on our patents X, Y, and Z. How about we call it even and license the patents to each other?"

The other benefit is that having a large patent portfolio shows that your company has value to potential buyers.
This is a super niche use case, but maybe this:

For DRM, you may be interested in using a cipher that is both easy to implement (though the spec makes this surprisingly confusing because they can't keep their orders of stuff straight), relatively fast (because you might be running it through a VM) and has no known constants that could be used to identify it quickly.
Why not C11 instead of C99? It brings even new better safety
Cisco says 90% of internet traffic goes through Erlang-controlled nodes
Well, he probably means source code management. However...if it's a SaaS you could have the marketing website hosted on github pages for free using Jekyll and that even incorporates a blog into your solution too! Then of course host the app on a subdomain using Heroku. So github can come into it that way if you think about it. Not a bad option at all!
MeteorJS (Node) + React for https://eddtor.com/editor, really quick (1 month from idea to launch), more recently going for Go full stack (server side + template/html package for front-end). After staying on the bleeding edge of Javascript ecosystem for about three years, I missed the simplicity of a reliable server-side language + the battle tested JQuery (I know, right?!) plug-ins.
"Twitter scale" wasn't so much a Ruby/Rails problem as it was an RDBMS (write-many + read-many = road to fail) and writing their own in-house message queue problem. Starling performed worse than just about everything else out there (and their Scala replacement Kestrel isn't much better).

One really insipid blog post and thousands of mindless followers later and the damage to Rails has been done.

That's not to say Rails doesn't/didn't have other issues -- it did. It's just telling that Twitter is the first example people reach for instead of anything else.
It's the same for JavaScript.. without safety nets (browser sandbox), it is just a massive problem to security.

Looking at the latest security issues, with JavaScript hackers found a faster way to break in: examples, like crypto mining in JS delivered to websites and so on
Does Clojurescript support stuff like hot code reloading? And does Clojure have any good framework for an actor system implementation?

Because I've been interesting to get an excuse and try Clojure out and what you're saying is really interesting.
It’s not run like the movie industry yet. But, gamedev managers have been trying to push it that way for well over a decade for exactly the reason you mentioned: It’s really hard to keep a large team busy enough to pay their own salaries all the time. Many people’s jobs are focused on early or late in the process (ex: concept art vs testers). Pipelining multiple games is the obvious solution, but keeping everything lined up is much, much easier said than done in such a chaotic industry.

However, the conversion to Hollywood-style waves of contractors hasn’t happened in games largely because the workers aren’t as interchangeable as they are in movies. Game pipelines have been very custom and quirky. It takes a long time to ramp up and get effective at a particular studio. That makes hiring and releasing a whole team for a single project very inefficient.

Or, at least it has been that way. All this is a big reason why Unity and Unreal Engine have become so popular. By becoming standardized pipelines, they “make hiring much easier” because new hires can show up already familiar with the engine. Give it another decade and the Hollywoodization of gamedev may yet happen.
Web2py (Python framework) includes an Ubuntu (and other) setup scripts plus a Fabric fab file for one command deploys that works pretty well. Web2py comes with a bootstrap welcome app that gives you user mgmt, authentication, admin and DB access with about a click.
HN formatting is messing this up. It should have two asterisks between each "//"
> If you don't enforce a patent you lose it.

Is this a European thing? I've heard of this for trademarks in the US, but never for patents.
React, Express, Postgress, Nginx all in Docker containers managed with Docker Machine on a Digital Ocean box. It may not be the most simple/quick solution, but with some copy/pasting I can get something up rather quick and it's super flexible. Need OCR? Add a Tesseract container. Need a fileserver? Etc.
I like flask and I also like to use boilerplate or skeleton projects. These are projects that have a fair amount of infrastructure set up (testing, views, user accounts, even admin stuff). There are a lot of them set up on github with varying degrees of added features. I’ve begun to maintain my own for the sake of saving time.

The only challenge is setting up the appropriate infrastructure for deployment. Fabric works well for that.
Hehe, I remember tinkering with 2 files in the root (config.sys and autoexec.bat?) for hours and hours trying to free enough memory for the Soundblaster drivers to run!
Android One is the future of Android.
What dithering technique did the Game Boy use?
I think the parent meant publish the repo on GitHub as you are unlikely to accidently nuke the code like you would if you were experimenting on Heroku.
I'm so confused.
For people starting out, yes you can and should absolutely avoid things like Vivado if possible

This must be the weekly "Give beginners terrible advice" thread.
Building games and being over worked can’t possibly be worse than a soul sucking 40 hours as an equally underpaid enterprise dev. I’d rather be over worked but making something interesting rather than sitting in meetings all day barely writing any code and going home with no mental energy left and nothing to show for it.
Nothing has changed. Multiple people have directly rebutted him on the twitter thread. This was FUD plain and simple.
The title is misleading and the video is a bit obtuse, but the project is really fun. Basically, he’s driving a physical NES through it’s cartridge slot using a custom rigged hardware+software package based on a Raspberry Pi.
He probably hasn't used it for a couple of years. Vivado was pretty awful when it was first introduced, but they've made a ton of progress.

It's fine now, or at least as 'fine' as FPGA tools ever get. Much better than ISE ever was. In any case, there is currently no alternative if you're looking at using a Xilinx part that is supported only by Vivado and not ISE.
@Vjeux has denied this....

Also Facebook Marketplace is built with RN
Germany doesn't have access to FB/Instagram/LinkedIn?
Sophie Alpert, engineering manager of React at Facebook, has publicly responded to the report to deny it:

https://twitter.com/sophiebits/status/1003090742296735744

"This is not true."

"Blood Donations, Crisis Response, Privacy Shortcuts, Access Your Information, Wellness Checks are recent projects in the main app mentioned in F8 keynote that use RN. (The whole Oculus Go mobile app as well.) More to come. RN hasn’t been used yet in News Feed but that may change."

"I’m not remembering any [teams] that moved away (but there may be some; dozens of teams have used RN so it’s hard to track them all). But you’ll find diehard native devs who dislike RN at any medium or large co, including Facebook."
Can you expand on your logic here? Is this because Python ORMs have gotten too bloated?
Yes, but who picks the training data?
Hah, I recalled correctly:
http://www.cubic.org/docs/configuring.htm

That link really brings back some memories!
S. Hawking also commented something to the effect that he'd be surprised if humans lasted another hundred years, let alone a thousand.

Also : the notion of "the tape getting erased" mentioned above reminds me strongly of William Burroughs' idea that ideas, memories, and other cultural / personal info-artifacts are dependent on [paraphrasing here] their being written to memetic tapes. which are liable to erasure, editing, degradation etc etc as social and psychological processes work.
Yes it's misleading. However, the point is that before now these giveaways weren't calculated. In many cases, this has lead to governments giving away more in tax benefits than they receive. The classic example are sorts stadiums. For example take a look at the Atlanta Braves new stadium, which cost Cobb County 400 million https://www.google.com/amp/s/reason.com/blog/2017/04/15/atla...
While that example is extreme, I'd guess that many of these deals aren't with doing if you do the financial modeling out.
Have a look at http://loopback.io
Express with scaffolding and connectors to memory, MongoDb, MySql, MsSql and other.
VueJS has a few carousel libraries. Most are pretty good, although I also assume that the one you mentioned is ~5 years older (therefore more mature). Typically the issue is usually picking one that works with your CSS framework or learning for the first time how to wrap a vanillajs library in a Vue component definition. Bootstrap 4 and Bulma have great libraries that implement their features (e.g. tabs, drop-down menus, navs, etc.).