HNHacker News
TopNewBestAskShowJobs

lewisinc

179 karma · joined September 18, 2017

[ my public key: https://keybase.io/davidarmstrong; my proof: https://keybase.io/davidarmstrong/sigs/E3_YWF_7hWuIEadT12XuhdPxtFPJZFTjoFbQv56-tpI ]
submissionscomments
lewisinc··on Microsoft: 70 percent of all security bugs are memory safety issues
It depends how it gets prioritized by the companies that own and contribute to these codebases - both open and private source. Right now there's not much incentive financially to migrate away from any of the existing code, so more often than not it will not happen.

One reason why we're seeing stuff like the [FirecrackerVM](https://firecracker-microvm.github.io) or [AzureIoTEdge](https://github.com/Azure/iotedge) is that the companies behind them know they will attract privacy-/security-minded customers they might not otherwise have.

There's other reasons as well, but this is just what stands out to me first.

lewisinc··on Direct Democracy in Switzerland
Point number one: agreed, Western Imperialism.

However (ignoring the ad hominem), I don't agree with your second point that a more education citizen will not necessarily make better decisions than less educated ones. Obviously everyone will make decisions that benefit themselves, but only with Education can someone understand the ramifications of their decisions in a broader context. Many political situations have little-to-no effect on an individual in the short-term, so making a decision (since it's not based on personal gain) must be based on something else. I would argue that something would be an individual's understanding of the impact on society in general - an understanding that a "good education" is supposed to cultivate.

lewisinc··on The Bare Minimum You Should Do to Protect Your Family's Data
https://xkcd.com/936/
lewisinc··on You Suck at Code Review
Curious how you guys feel about the article.

It takes a pretty strong stance, but - for those of us working on teams - it's easy to get caught up in a Code Review and come out with a sour experience.

Have any of you stopped advocating for Code Reviews because of a negative experience?

lewisinc··on The Case Against Quantum Computing
Shame on this article. We should be researching everything within moral limits. Everything. Research all of it so hard that there's no long any debate about whether this point or that has any standing because it's so well understood that we can just fucking move on. Regardless of the topic, if we aren't sure if it's of value - we learn as much as we can until we can allow ourselves as a species to move on. That's the only way to prove any point in the realm of curiosity that satisfies me. Articles that argue the validity of investgating an unknown for any reason other than "it would cause significant harm" don't hold any weight and should be disregarded as either being based in fear, self interest, or simple ignorance.
lewisinc··on Apple Used to Be an Inventor. Now It’s Mainly a Landlord
> It feels like Apple hate is becoming a meme.

Hasn't it always been, though? This probably comes off as conspiracy-theoretic, but I feel like there's a real financial incentive to keep their stock prices as in-flux as possible to allow for proper buy-in/cash-out gains.

lewisinc··on Algebra and the Lambda Calculus (1993)
Cool, just pointing it out because it seemed typographically out of place.
lewisinc··on Algebra and the Lambda Calculus (1993)
Looks great, but did you mean to use `@` as a symbol?
lewisinc··on WebAssembly’s post-MVP future
There's a learning curve, sure. I don't know if it qualifies as "hard" though - once you've figured it out it doesn't exactly get _more_ complicated.

Well, unless you add Kubernetes on top of that... then yeah, it gets... complicated.

lewisinc··on An Amateur Rap Crew Stole Surveillance Tech that Tracks Almost Every American
I don't think anyone fits that description.
lewisinc··on The First Rule of Microsoft Excel: Don’t Tell Anyone You’re Good at It
You mean we had access to Basic in Excel for all this time? I'm really behind the curve!
lewisinc··on The relative performance of C and Rust
C++ inheritance doesn't map well to Rust's trait system for one. I think this is an ongoing issue within the `bindgen` community, but I don't know much beyond that. Suffice to say, some concepts in C++ do not map well to Rust and so FFI can be hairy in some instances.

On instance of this becoming a complication would be in the GTK+ world with the Rust bindings to GObject. There's some really good articles about their adventures in that realm you could find.

lewisinc··on Ex-Google Employee Urges Lawmakers to Take on Company
I think one thing that's important here is that China has a lot of pull on these companies. It's possible for China to look at Google, Apple, or whatever and just say "oh, too bad you don't want to do X. I guess we're going to have to do Y to your business model." It really should be the role of the government in this sort of instance to step in remove the incentive for China to enact punitive measure against that company by just making it impossible legally for that company to even be immoral in that specific way. How difficult is it to codify a law that says "it is illegal for a company based in the US to perform surveillance operations on behalf of a foreign government agency against its own people"?
lewisinc··on Chemists discover how blue light speeds blindness
I remember having serious issues when I was younger with this. It's still sort of a a problem, but I've learned to cope. I'd also be interested if you documented your setup :).
lewisinc··on Ask HN: Favorite note-taking software?
Another useful tool I've been using for note-taking is `mdbook` which I think accomplishes the same thing - organizing markdown files into a book of sorts. Just thought I would throw the name out here in case anyone is looking for alternatives to research.
lewisinc··on Asmttpd: Web server for Linux written in amd64 assembly (2017)
It's harder to accidentally commit a running process's environment to version control ;)
lewisinc··on Ask HN: Best programming language or theory to learn before learning Rust?
Rust doesn't have linear types? You'll have to elaborate on that because Jim Blandy at least would say you are wrong.
lewisinc··on Web Assembly and Go: A look to the future
That's true and definitely the fastest route to take - but if you were to tell me I was going to take over maintenance of a JQuery project at this point, I would be visibly upset. After working in an environment where two-way databinding is "free" and some measure of type-safety is available, it's hard to go back. I just have more drive to work on projects where I don't need to manually wire up every onChange event under the sun and coordinate data-flow through some observer. Not if I can help it.
lewisinc··on Announcing Rust 1.27
I feel like a warning for one edition and error on the next would make it straightforward as to how much time is left to update the code.
lewisinc··on Ok-Cancel versus Cancel-Ok
It depends how you architect. Generally yes. Check out the Elm architecture (and Redux by extension) to see situations where undo is essentially free.
lewisinc··on Things I Regret About Node.js [video]
Can I use F# with it? Because I would love to learn me some F# some day.
lewisinc··on XNU kernel heap overflow due to bad bounds checking in MPTCP
I'm not super familiar with C++, however Rust has an advantage over this example as it avoids iterator invalidation at compile time by assigning the iterator a lifetime.
lewisinc··on State of Washington sues Facebook and Google over failure to disclose spending
Mmm, this is Washington State, not DC
lewisinc··on Deprecation of OpenGL and OpenCL
Well, at least in the Rust ecosystem there is https://github.com/gfx-rs/gfx which provides backends for Vulcan, Direct X 12, Metal and OpenGL. I'm not sure it's super relevant outside of the Rust ecosystem right now, but it's worth spreading the word around of such solutions.
lewisinc··on Stripe is building a Ruby typechecker
Matz has talked about it as an opt-in. I think his opinion is to not force people to adopt it if they won't enjoy it or their productivity will be hampered by it.
lewisinc··on MacOS 10.14 Wishlist
It is really good, but there should always be alternatives. Right now I use iTerm, but both Terminal.app and Alacritty are viable alternatives I want to see improve.
lewisinc··on Atari Launches Linux Gaming Box Starting at $199
I'm happy with that. There are a ton of classic games that need a consumer audience to ensure companies are invested in preserving them and porting them to future/modern systems.
lewisinc··on Actix: a small, pragmatic, and fast Rust web framework
Funny, I'm learning Scala for work after teaching myself Rust. It's definitely made the whole process a lot more straightforward thanks to the commonalities between them.
lewisinc··on Actix: a small, pragmatic, and fast Rust web framework
Could you link to your blog, please? I'd like to read about that when you do end up writing about the experience.
lewisinc··on Actix: a small, pragmatic, and fast Rust web framework
I feel like Let It Crash and Fail Fast make a lot of sense in a dynamically typed language where, if you were to go ahead and code defensively and try to make assumptions about where your program could possible fail, you'll end up with a bunch of redundant error code and will probably have written error handling for places where the program might not have ever crashed. Rust's Result type makes sections where an error can occur pretty explicit, so I'm not sure it makes sense to follow the same methodology. I'm interested to hear what other people think.
← PreviousPage 2 of 3Next →