2,559 karma · joined Dec 16, 2010 (15y ago) · 507 submissions
301.
Grandmaster level in StarCraft II using multi-agent reinforcement learning [pdf](storage.googleapis.com ↗)
6 points · by programd · 7y ago · discuss
302.
ML paper – Why does deep and cheap learning work so well?(arxiv.org ↗)
4 points · by programd · 7y ago · discuss
comment 7y ago · link · parent
https://www.securityevaluators.com/whitepaper/sohopelessly-b...
That paper needs wider exposure, though sadly it didn’t get much traction here when I submitted it.
304.
Packet Chasing: Spying on Network Packets over a Cache Side-Channel(arxiv.org ↗)
2 points · by programd · 7y ago · discuss
305.
Security Vulnerabilities in Network Accessible Services(securityevaluators.com ↗)
1 points · by programd · 7y ago · discuss
307.
DeepPrivacy – A Generative Adversarial Network for Face Anonymization(arxiv.org ↗)
1 points · by programd · 7y ago · 1 comment
comment 7y ago · link · parent
For production I would want to run this in Docker in some sort of a portable fashion.
Looking at the documentation it seems that you have to manually enter the password when you start up step-ca. That's not really going to work for automated setups. You need to be able to inject secrets from environment variables, or these days, Kubernetes secrets.
There's also the issue of backing up your CA secrets, e.g. if your step-ca process dies and you want to restart it somewhere else. That may be out of scope for step-ca though and handled through some other process, which is fine.
Might be good to add some documentation on how to set this up in a high availability fashion so it is not a single point of failure.
I do like the relative simplicity of this compared to all the other CA solutions out there. Good luck and thanks for the work.
comment 7y ago · link · parent
Sure it is. In most Enterprise outfits its even policy. Ask yourself why that is.
I don't mean to be flippant about it, your point is actually quite reasonable. If you are a solo developer, or a small company, then don't worry about it. Github will be up, Google proxy will have your back, your Net connection will work. Once per year when all the stars align just wrong your builds might get delayed but it isn't worth worrying about it.
However in certain industries if the delay during some incident is costing you more then a few digits per minute, even once per year, management starts to notice. Long term support contracts are also a thing, e.g. ensuring that your code still has the artifacts to build on Red Hat 5 or some such. If you think about it that's nothing but outsourcing vendoring to a third party for large amounts of money.
comment 7y ago · link · parent
Don't assume that your SaaS runs on the same network as your build machines. In most cases this is not the case - or at least it shouldn't be. Your SaaS might be broken in some way, you're trying to create a build to fix it on your secure corp network and your connectivity to the Net disappears. And it's 3 AM in San Francisco and everyone who can fix it is asleep, and meanwhile your European customers are not happy.
Let's be clear. You can mitigate the effect of all these problems one way or another. But the mitigations are easier if you have less moving parts and less dependencies on systems you don't control.
Lets face it, ultimately it all comes down to limiting your business risk at least cost (because money). One simple way to do that is if your build environment travels with your code down the years.
comment 7y ago · link · parent
I rather think it should be the other way around. By default your build environment should gather all required artifacts locally, and only if you want to depend on external services should you have to create non-default options.
I would have been slightly happier of vendoring was the default happy path, and module proxies were an alternative.
I wonder if Google folks are subconsciously influenced by the idea that all this infrastructure will exist forever and never decay because they have access to seemingly infalible and highly available Google services. The gradual decay of Perl CPAN (which I've always loved BTW) and the reliability/security issues with the Node ecosystem are instructive counterexamples.
I have to say that I'm not dogmatic about this, there are good cases to be made for certain features which go with module proxies. But ultimately if you've got a long running business you now have to do more work to make sure your code will still compile in 5 years - e.g. create and maintain a module proxy service in perpetuity. This as opposed to just archiving a bunch of files organized as a git repo.
Anyway, my experience says vendor all the things. You'll be glad you did.
comment 7y ago · link · parent
I appreciate the fact that Google is investing in infrastructure to make the Go ecosystem robust, I really do.
Having said that I encourage everyone to do a simple experiment.
Check out your code into some random directory. Copy the directory to a USB drive and walk it over to an air gapped machine (no wi-fi, no ethernet, clean dev environment installed). Copy the directory to the box, make some small code change and try to build your binary.
If your build fails you're doing it wrong.
In real life one of the following will happen[1]:
- Your network connection to the Internet will be down
- Your network connection to the corporate network will be down
- The services you depend on (Github, Google proxy, Docker hub) will be down
- The services you depend on will throttle you
- The services you depend on will serve you wrong or corrupt data
- The services you depend on will be offline for maintenance
- The certificates on the service you depend on were not renewed in time
- The account you use on services you depend on will be inexplicably suspended
Murphy's law being what it is, some or all of the above will happen when your SaaS is on fire, your customers are screaming, and you're trying to roll out a fix. Meanwhile your company is losing approximately your personal lifetime earnings in revenue every half an hour.
Vendor. Everything. Always.
(and have backups, lots of backups)
[1] Based on highly educational career experience
314.
Bell’s Theorem for Temporal Order(nature.com ↗)
3 points · by programd · 7y ago · discuss
315.
OpenGPT-2: We Replicated GPT-2 Because You Can Too(medium.com ↗)
201 points · by programd · 7y ago · 98 comments
comment 7y ago · link · parent
SuiteCRM is a very polished open source CRM package you can host yourself with a ton of features and plugin modules. Might be what you're looking for.
There are also a bunch of online solutions you can search for. CRM is not your core business, so my advice would be to just outsource it to some online outfit, make sure you can migrate off it when you grow, and get on with your business.
comment 7y ago · link · parent
One of the things the MySQL developers did originally was to ship the code with three examples of the my.cnf config file for small, medium and large memory systems. I wish there was something like that for docker container density and OS tuning parameters.
I think what we need is basically a matrix of OS settings which will max out your docker density for N CPUs and M gigs of memory. There are also probably settings for network configs which depend on your link capacity also.
I can dream of a day when you can spin up an Ubuntu Docker-flavor server which optimizes itself to give the highest density of containers given the hardware (or VM) it's running on.
comment 7y ago · link · parent
Perhaps that’s another good thread for HN - games as a repository of history. Or maybe the gamification of history education.
I’ll stop hijacking Alcibiades‘ thread now...
320.
Windows 10 vs. Ubuntu 18.04 LTS Performance on AMD Ryzen 9 3900X(phoronix.com ↗)
30 points · by programd · 7y ago · 3 comments
comment 7y ago · link · parent
https://arxiv.org/abs/1905.08329
The video is a great example of how to present complex volumetric data, and probably of interest to the data scientists on HN.
322.
Cosmography of the Local Void: 3D depiction of galactic density data(player.vimeo.com ↗)
1 points · by programd · 7y ago · 1 comment
comment 7y ago · link · parent
Most of the discussion here is about TOTP, which at this point is like arguing about the beautiful plumage of the dead parrot. TOTP for professional 2FA is a walking corpse, pushing up the daisies, wouldn't squawk if you put 10K volts through it [1]. If you're a company seeking to secure your infrastructure all your employees and contractors should be using U2F hardware keys to access your network. Period, end of discussion. Same for admin access to any external SaaS dependencies - and you should be loudly complaining if your SaaS does not yet support hardware keys.
And if you're a startup and even a solo developer, start looking at supporting WebAuth so you're not caught with your pants down later, especially if you want to sell to other businesses.
Business to consumer TOTP is a more complicated issue. The future is clearly hardware keys, tied to devices like phones, but the support is not yet all there. So you're going to have to support TOTP for a while yet, since it's better then bare passwords. But you should be making plans to move to hardware U2F ASAP, and the earlier you do it the easier the transition will be later when you will have to mandate it for all your users for liability and CYA reasons.
The looming shadow over all this is account recovery, which is not a solved problem in Business to Consumer space (IT/HR can sort you out to get back on your corp network if you lose your keys). There are too many implementations and all of them have flaws. There's little consensus on how to do it and all of the recovery methods can be misused or abused. If you lose your house keys you go to a locksmith who's usually bonded (in the US) and generally not a crook. Who do you go to if you lose all you hardware keys?
And of course there's a cost to users to having multiple hardware keys, which at $25 a pop will not fly with consumers. These things need to be basically free (your phone) or comparable to the cost of your house keys (for backups) for mass consumer uptake.
Bottom line, U2F hardware keys are the future of authentication. Learn to love and support them.
comment 7y ago · link · parent
"We live on a placid island of ignorance in the midst of black seas of infinity, and it was not meant that we should voyage far. The sciences, each straining in its own direction, have hitherto harmed us little; but some day the piecing together of dissociated knowledge will open up such terrifying vistas of reality, and of our frightful position therein, that we shall either go mad from the revelation or flee from the deadly light into the peace and safety of a new dark age." - H.P. Lovecraft "The Call of Cthulhu"
comment 7y ago · link · parent
In any event check out "The Mathematics of Quantum Mechanics" by Martin Laforest [1]. Free PDF online, totally readable and easy to follow with typical High School math background.
[1] https://uwaterloo.ca/institute-for-quantum-computing/sites/c...
comment 7y ago · link · parent
Mind you, you'll pay $15K for it, but if you're in that business you can well afford it even if you're not a top tier Hollywood production shop.
Given that your storage array costs that much, the fully loaded Mac Pro price (somewhere in the $20K range?) is not that outrageous. The people who use Red cameras and G-Tech storage arrays are the Mac Pro demographic Apple is going for here.
Disclaimer: I used to work with G-Tech but no longer there.
327.
Deploying Two-Factor Authentication to Millions of Users(youtube.com ↗)
1 points · by programd · 7y ago · discuss
comment 7y ago · link · parent
My rule of thumb is that if I want serious reliability I make sure my data winds up on three different pieces of hardware and includes CRC codes. So, basically ZFS or some cloud/cluster equivalent like S3.
On the other hand, for day to day work on your dev machine, the drives are so crazy reliable that you just don't worry about it. Which, of course, can bite you if you translate your day to day experience to production at scale. Everything breaks at scale.
[1] https://www.postgresql.org/docs/devel/wal-reliability.html
comment 7y ago · link · parent
[1] https://medium.com/@michael_87395/benchmarking-istio-linkerd...
[2] https://medium.com/@ihcsim/linkerd-2-0-and-istio-performance...