Better HN
topnewbestaskshowjobs
Log inSign up

sciurus

16,460 karma · joined Jan 19, 2011 (15y ago) · 3,459 submissions

I'm a principal engineer at Docusign based in Atlanta, GA. My personal website is https://www.polibyte.com
Submissions

1081.

Hadolint: A dockerfile linter(github.com ↗)

2 points · by sciurus · 8y ago · discuss

comment 8y ago · link · parent

> with my cell phone today is that the default assumption today is that my location is private, or at least under my control

Is that assumption accurate? Cell providers are already tracking your location and providing the data to resellers.

https://krebsonsecurity.com/2018/05/tracking-firm-locationsm...

comment 8y ago · link · parent

Oops, that was supposed to say "makes it near impossible", but I'm outside the window where I can edit it.

comment 8y ago · link · parent

"as in the ability to create diff objects and branch and rearrange them arbitrarily in a pretty simple way, and have multiple people working on these branches at the same time and keeping in sync with each other"

I can't truly speak for them, but I suspect these are both (reworking the history of code while its in review, and multiple people working on a branch) things that the Phabricator authors would say are bad practices that your tools should discourage. The arguments that come to my mind are

1) Reworking history during review makes it near for your reviewers to understand what is changing. That should be reserved until its time to merge your code, at which point all the revisions along the way should be squashed.

2) Shared development on a branch means the scope of the change is large, and the branch is probably long-lived too. Both of these are arguably bad; I don't have time to argue why, but chapter 13 of Continuous Delivery lays it out well.

comment 8y ago · link · parent

The problem I run into when reviewing PRs on Github is that many people rebase or otherwise mutate their history locally to address review comments, then force push to the branch being reviewed. Once they've done that, you've lost the original commits and can't see how the new ones differ.

https://github.com/isaacs/github/issues/997

comment 8y ago · link · parent

My experience with Phabricator is with the code review system (Differential), rules system (Herald), CLI (Arcanist), and API (Conduit). I can't speak to other functionality like repo hosting or task management.

I joined Eventbrite shortly after they moved from Review Board to Phabricator for code review about 4 years ago. It took me a little while to adjust, but once I did I found it to be superior to what Github provided. The CLI provides a nice way to standardize on a workflow company-wide. The UI for composing a review has a few quirks but a lot of functionality, and the patch-based aspect makes it easy to track the evolution of a diff. Herald is very powerful for making sure the right people review a diff. Conduit provided what we need to integrate with Jenkins for CI.

Github has gotten better since then, but I'd still lean toward Phabricator as the better tool for code review, especially for larger projects.

I eventually partially inherited running Phabricator at Eventbrite, and found it overall to be straightforward to configure and troubleshoot. We were only running a single node and using git for repositories, though. Now I'm at Mozilla, and we recently switched from Review Board to Phabricator for Firefox code review. Some of my teammates run the service, and I know that running a multinode setup with mercurial as the repo format has proven challenging.

comment 8y ago · link · parent

It could be what they intended. It's a good way to be sure they only provide free services to projects that would never be paying customers. If an organization can pay someone to work on an open-source project, they could also pay Gitlab to provide services to that project.

comment 8y ago · link · parent

I'd also recommend Unix Power Tools. There's definitely some outdated content, but I learned a lot about shell usage and text manipulation from it.

http://shop.oreilly.com/product/9780596003302.do

comment 8y ago · link · parent

Yes, pre-sorting is necessary for comm to work. I didn't mention that because it's necessary for the commands in the post to work too.

comment 8y ago · link · parent

This is a neat hack! For two input files, the intersection and relative complement can be done more straightforwardly with comm.

https://en.wikipedia.org/wiki/Comm

  # show only items in both a and b
  comm -1 -2 a_list b_list

  # show only items unique to a
  comm -2 -3 a_list b_list

  # show only items unique to b
  comm -1 -3 a_list b_list

comment 8y ago · link · parent

I hadn't head of hyper-blame before. It's part of chromium's depot_tools.

> git hyper-blame is like git blame but it can ignore or "look through" a given set of commits, to find the real culprit.

https://commondatastorage.googleapis.com/chrome-infra-docs/f...

1092.

Apple has rejected iOS version of Steam Link app(arstechnica.com ↗)

9 points · by sciurus · 8y ago · discuss

comment 8y ago · link · parent

If, like me, you need context on what an Iridium flare is: https://en.wikipedia.org/wiki/Satellite_flare#Iridium_flares

1094.

Trump eliminates national cyber-coordinator job(arstechnica.com ↗)

2 points · by sciurus · 8y ago · discuss

comment 8y ago · link · parent

I'm pretty sure RHEL 7.0, which was released in 2014, shipped with Python 2.7 as the default.

comment 8y ago · link · parent

Is cPanel itself still widely used?

comment 8y ago · link · parent

So 30% of marketshare belongs to clients built on the browser technologies of HTML and Javascript, the same technologies you claim are "inappropriate" for the new client that we're discussing.

comment 8y ago · link · parent

shlomi-noach linked to https://github.com/github/gh-ost/issues/331 in another comment. That goes into some of the reasons to avoid foreign keys.

At a past job where we had a complex MySQL setup, I set up a slack autoresponse to post "Just say no!" anytime someone mentioned foreign keys. :-)

comment 8y ago · link · parent

That's not a schema migration tool per-se. It's a web interface for managing running a schema migration tool (in their case the venerable pt-osc, but there is an open issue for supporting gh-ost too).

comment 8y ago · link · parent

But we do have people writing some of the most used email clients in the world using HTML and Javascript, so that's hardly a valid criticism in this case.

https://emailclientmarketshare.com/

comment 8y ago · link · parent

Assuming the best platform for an app was even something that you could objectively determine, why would you expect a solo developer to write an app in a platform that isn't the best for them?

comment 8y ago · link · parent

Did you read the link we're discussing? It's in large part about why the slow startup times for Firefox's build scripts are a problem.

> Changing gears, my day job is maintaining Firefox's build system. We use Python heavily in the build system. And again, Python startup overhead is problematic. I don't have numbers offhand, but we invoke likely a few hundred Python processes as part of building Firefox. It should be several thousand. But, we've had to "hack" parts of the build system to "batch" certain build actions in single process invocations in order to avoid Python startup overhead. This undermines the ability of some build tools to formulate a reasonable understanding of the DAG and it causes a bit of pain for build system developers and makes it difficult to achieve "no-op" and fast incremental builds because we're always invoking certain Python processes because we've had to move DAG awareness out of the build backend and into Python. At some point, we'll likely replace Python code with Rust so the build system is more "pure" and easier to maintain and reason about.

comment 8y ago · link · parent

True, but the performance difference can be huge. It's reasonable to illustrate things in a blog post just using EVAL, but you should be using EVALSHA for almost any production workload.

comment 8y ago · link · parent

Similarly, Envoy has redis support that looks promising.

https://www.envoyproxy.io/docs/envoy/v1.6.0/intro/arch_overv...

comment 8y ago · link · parent

It's nice to hear a success story about Redis Cluster. When I worked at Eventbrite we used Redis heavily, both for the usual use cases (caching, ephemeral storage like sessions) as well as at the core of services like reserved seating. We did our own sharding client side as a layer on top of the redis-py library and relied on sentinel to handle failover. After Redis Cluster was released, we had some interest in it, but were were nervous enough about the limitations in its capabilities and the additional complexity of operating it that we never experimented with it.

comment 8y ago · link · parent

This article is about "blowing through" the last available /8, which due to new rules took five and a half years instead of a few months.

comment 8y ago · link · parent

Discussion for the Spectrum product: https://news.ycombinator.com/item?id=16820631

comment 8y ago · link · parent

The site is down, so here's a cached version

http://webcache.googleusercontent.com/search?q=cache%3Ahttp%...

comment 8y ago · link · parent

blog.docker.com runs Wordpress, and the domain points directly at an ELB. Unless they are running some caching layer (behind that ELB but in front of their wordpress processes), they may have to scale out a lot in order to handle traffic spikes, and they may be limited in their ability to do that by DB capacity.

comment 8y ago · link · parent

It's in progress. You can see what has been released already at https://github.com/Pocket

FYI, I work at Mozilla but don't speak for Mozilla.

1
363738
116