158 karma · joined Oct 20, 2014 (12y ago) · 41 submissions
comment 5y ago · link · parent
comment 5y ago · link · parent
Here's "corrupted" UTF-8 characters expressed as bits. In this example you can see clearly what's happening. The top byte is correct and the second one is corrupted.
01100111 # g
01101111 # o
01110000 # p
01111000 # x
01101100 # l
01100100 # d
01100101 # e
01101101 # m
1. https://i.imgur.com/qIMnTTe.png3.
Bay Area AT&T Fiber Customers suffering bit flipping for two weeks(twitter.com ↗)
50 points · by stephen-mw · 5y ago · 6 comments
comment 8y ago · link · parent
Also, just in time for this research to get off the ground:
>If it all works out, the effect could be to make small groups of engineers capable of feats that would take 100 engineers to achieve today.
https://spectrum.ieee.org/tech-talk/computing/hardware/darpa...
comment 8y ago · link · parent
I built an auto-install script that anyone here is welcome to use or reference[1]. If you know what you're doing, just change the GPIO pin to your PPS input and fire away.
Unlike the author I used Chrony instead of NTP. It's lighter-weight and much easier to configure with a PPS/GPS reference clock.
The GPS chip I used was an ATGM336H, which can be had for less than $8 on ebay. I'm able to lock consistently 11 satellites from my desk[2]
Keep in mind the Pi has no hw RTC. If you're doing this for fun spend a few more bucks and buy an rtc chip from ebay so you don't drift considerably between being powered off.
1. https://github.com/stephen-mw/raspberrypi/blob/master/roles/...
2. https://www.ebay.com/sch/i.html?_from=R40&_nkw=ATGM336H&_sac...
7.
Gdoc SSH Manager. Managed SSH Access via Google Sheets(github.com ↗)
4 points · by stephen-mw · 9y ago · discuss
comment 9y ago · link · parent
https://github.com/stephen-mw/gdoc_ssh_manager/blob/test/REA...
comment 9y ago · link · parent
comment 10y ago · link · parent
I should be able to take Yelp's dumb-init and add it easily to any linux container I want -- including things such as Alpine[1]
[0] https://github.com/phusion/baseimage-docker/blob/master/imag... [1] https://github.com/gliderlabs/docker-alpine
comment 11y ago · link · parent
I'm having a hard time believing there wasn't a translation of the word "suicide" until 1600s. Wasn't suicide all over classical mythology? Wasn't it well known that Cato committed suicide rather than submit to Caesar? How did they describe such things?
comment 11y ago · link · parent
> 2.25 Apps that display Apps other than your own for purchase or promotion in a manner similar to or confusing with the App Store will be rejected
[0] https://developer.apple.com/app-store/review/guidelines/
comment 11y ago · link · parent
Those are the kinds of experiences money can never buy you again. No sports car later in life will ever bring you that kind of fulfillment.
comment 11y ago · link · parent
1. Disable password authentication altogether
2. Create and use keypairs
3. Add an "AllowUsers foo" line to /etc/ssh/sshd_config so that only your user is allowed to SSH
4. Install sshguard or fail2ban and set the ban limit to a week
There are other things you can do, but I find this to be the lowest hanging fruit for the best security.
comment 11y ago · link · parent
The fact that they can create a phone/device with "inferior" tech and sell it at blockbuster margins proves to me that most people aren't interested in specs, but rather the whole experience and ecosystem. This is something Apple understands well and invests heavily in experience.
[0] http://www.cnbc.com/2015/02/09/dominant-apple-takes-90-of-sm...
comment 11y ago · link · parent
The problem here is that this group of workers is clearly being hired only because they provide a steep discount to local talent. This has nothing to do with skill, and in fact usually the engineers who take these positions are low-skilled. Think about it, who else would take a steep pay cut, work unreasonable hours, and take on a supervisor who threatens deportation on them?
For every H1B we hire in this category we make it harder to bring and keep a skilled worker. They don't fit the mould of disposable and cheap labor, so they don't get sponsorship. They refuse to take a pay cut just because they're a foreigner, and rightly so.
comment 11y ago · link · parent
A container is the only sane way to package a python service, but that's not _nearly_ as convenient as a statically compiled binary.
comment 11y ago · link · parent
Personally I just prefer python and boto for most of my AWS tools, but times where I've switched to go is to take advantage of static compiling and concurrency:
1. Listing all of my AWS instances in all accounts in all regions (lots of api calls!) 2. Downloading/uploading large files via multipart API 3. Various server-side configurations
comment 11y ago · link · parent
I remember thinking how absurd it was, but we were all bored so what the heck!
comment 11y ago · link · parent
Per-host pricing schemes punish large installations and engineers who've created services that run on small, horizontally scaling instances.
In the end most of us end up with some wacky combination of different services.
comment 11y ago · link · parent
I wouldn't waste a single cycles migrating to another cloud providing to save a little money. In the end it simply won't be worth the time and you'll miss running on AWS's mature platform.
Instead, I would focus on getting your app working perfectly within linux containers. Use some existing tools such as swarm, CoreOS, or Tutum[0]. Once you have your app properly containerized, you'll be able to quickly move between clouds or even utilize multiple clouds (provided you have the time or experience to maintain the network).
The only way you'll save significant money is if you're willing to put up the resources to run your own prem, and I would strongly discourage you from doing that.
comment 11y ago · link · parent
That being said, I think Canonical has good vision and will execute. LXD combines the best from old and new school.