HNHacker News
TopNewBestAskShowJobs

keehun

2,918 karma · joined October 31, 2013

Cybersecurity, Networking / OS & Kernel Musician & Teacher.
submissionscomments
keehun··on Little Snitch and the deprecation of kernel extensions
That's not necessarily true. The article mentions this. While ObDev still doesn't have all the APIs necessary to implement all the features of Little Snitch using NetworkExtensions, they are working on it with Apple and feature-parity is not expected to be an issue for the 10.16 release.
keehun··on Mise en Place Writing
You remind me this could be a decent idea for a short blog post.

In brief though, let's say you're implementing network filtering (inspired by today's LittleSnitch post).

Before writing any code, I would:

- Figure out what actual business case there is behind it and what the management/customer/etc is actually looking for. Maybe feature XYZ isn't the right long/short-term solution for what they want. People give Steve Jobs a lot of flack for "you're holding it wrong", but he was right in the sense that the customer doesn't always know what they want/need, let alone know what's even possible.

- Once the feature is what is required, figure out what's the right fit for the feature within the current architecture with short/medium/long-term goals in view. Maybe it's actually better to hack something in quickly and commit to revisit in 1 week than spend a month doing it right and lose users.

- Then figure out if the APIs actually exist. Some APIs you need simply don't exist. For example, in order to filter network traffic on MacOS, you needed to write a kernel extension until macOS Catalina. If your architecture/business doesn't have room for kernel extensions, then those APIs are out of reach. (Maybe Apple didn't bless your request to code sign kexts. Maybe you have no-one on your team with kernel experience. Maybe your customers are non-admin users on their Macs that can't load kexts.) During this phase, I might write some quick & dirty PoC code later in the process to exercise all the necessary APIs and make sure those actually do what they promise to do within my constraints.

Once you have the business requirements, stakeholders aligned, and PoC that exercises all the APIs which demonstrate your feature's needs, writing the actual code is a breeze. Especially once you get pretty good at this, transforming the PoC code into one that stands the test of time in your product gets easier and easier.

You may ask "wait, writing the PoC code is exactly what you claimed you didn't do!". You've got a point, except in this case, whenever I write PoC code, I write it as a standalone "proving grounds" program. I don't start writing code within the product's architecture. I would estimate in my PoC code, there's less than 3% that is outside of exercising the necessary APIs.

keehun··on Little Snitch and the deprecation of kernel extensions
Agreed. Remember ancarda, it's always about the threat modeling. Every scenario has different business/user needs, and therefore, different tradeoffs that can/will be made. Sometimes, it does make sense to trade performance for security. (N.B. not always, or actually, probably not most of the time.)
keehun··on Mise en Place Writing
This is a fantastic article. I often have a similar process when writing code. The ideation (architecture, user input, etc) and research (ensuring the existence of all necessary APIs, etc) are separate phases for me. Once the ideation and research are mostly complete, the writing of the code is usually a breeze, and I end up with having to refactor/rearchitect a lot less than if I start by writing code.
keehun··on Ask HN: Best way to increase typing speed?
One of the things that helped me the most was moving to the Dvorak keyboard. Dvorak lets me type at a higher speed, with less mistakes, and most important of all: with no hand cramping.

As for public/other computers that I don't get to configure: I found that I never really lost any speed on Qwerty. Whether that's the norm or I got lucky, I am not sure. Also, I find Dvorak to be available on most systems where the user can configure their input settings. Windows, Mac, and most Linux has Dvorak support built-in that are as easy to add as if you were adding another locale's keyboard layout.

keehun··on 1-on-1 meeting questions
This has been changed, and it's a much simpler, less ridiculous list now: https://github.com/VGraupera/1on1-questions/commit/b90e94f6b...
keehun··on Ask HN: How do you manage your financials?
I want to support LunchMoney.app. I've been using them for a few months, and Jen (the creator) has been really easy to reach for questions. It's the only online budgeting/finance web app that I've not felt was a chore, and I've tried almost all of the main ones like Mint and YNAB. LunchMoney "just works" and works really well. I highly recommend it.
keehun··on Ask HN: How do you manage your financials?
Do you do any sort of financial planning for retirement? What you've got going for yourselves seems like it's working for you, but curious to know hat would happen if the "tech salary" were to stop.
keehun··on Autocomplete as an Interface (2015)
The one major issue with autocomplete is that—like with anything else in life—if you become too dependent on it, you will be crippled if (for whatever reason) the IDE or the autocomplete feature fails for any percentage of the time.

I speak from personal experience as this happens regularly in Xcode for large iOS projects. Xcode is notorious for its fragile indexing system. Symbols are often not correctly picked up, and autocomplete is notoriously unreliable when the projects get large. This happened often enough that it actually trained me to become much more comfortable writing code for long periods of time without relying on autocomplete at all.

If autocomplete/IDE indexing system lags behind or is unavailable for even 0.5% of the time, that translates to real time where the developer is waiting for the autocomplete list to appear.

With Python, Ruby, and other languages, one has a plethora of IDEs/editors/environments to choose from. However for Objective-C or Swift, the environment is severely limited. AppCode does exist, and it does have a much better indexer and autocomplete, but it is very different than Xcode and most iOS developers will not be able/willing to move to AppCode. And that's even before considering their licensing costs.

With most helpful aids, I would say that autocomplete is a gift and useful day-to-day, but to make it a central dependency during the development phase seems to be a mistake.

keehun··on Did HAL Commit Murder?
Is there a touring show/orchestra for that? How do/did you find information on it?
keehun··on Facebook launches Portal TV, a $149 video chat set-top box
What none of the privacy-related prose defense by Facebook addresses is the abundant value of the metadata that Facebook will be able to harvest. Check out what leaking even just the metadata can tell about you.[0]

[0]: https://www.youtube.com/watch?v=bM0PmwOlifE

keehun··on Facebook launches Portal TV, a $149 video chat set-top box
Seems like a consumer-friendly version of Zoom or Google Meet (if the quality is as good as those solutions). I remember how difficult it was for the office administrator to set up our Zoom hardware. Perhaps this is a much friendlier version?
keehun··on Facebook launches Portal TV, a $149 video chat set-top box
As someone in the same boat as you, it does seem like Portal webpage is directly acknowledging this sentiment and addressing them[0].

Whether or not this page can be trusted, we'll have to see what people find out (I sure ain't going to pay for it to do that myself).

[0]: https://portal.facebook.com/privacy/

keehun··on Equifax doesn't want consumers to get their $125
I also haven't gotten anything from them, yet!
keehun··on Uber lays off 435 people
Perhaps the next question is, what do 4000 engineers do? Not aimed as a troll-y question: an informed idea of what the breakdown of that many engineers do would be enlightening. For example, there were about 200 iOS engineers the last I heard. Assuming similar levels for Android, that leaves 3,500-3,600 engineers.
keehun··on Mach kernel
It's also mirrored on Github! [1]

[1]: http://github.com/apple/darwin-xnu

keehun··on Camera sales are falling sharply
I'm interested, too!
keehun··on Show HN: A clean and minimalist theme for Jekyll
Good work! Does anyone have any other favorite minimalist themes for Hugo, Jekyll, Wordpress, Ghost, etc (or just HTML/CSS)?
keehun··on Show HN: IAvisa – Explore visa requirements worldwide
Where did you get these phone numbers (for the United States)?

> Police - 999

> Ambulance - 997

> Fire - 998

> Traffic police - 993 Mobile phones - 112 or 911

> Non-emergency ambulance - 1777

> Police hotline - 1800 255 0000

> Traffic police - 6547 0000

None of them seem to be correct, except for 911. In the United States, 911 is the same for police, ambulance, fire, and "traffic police". Also, non-emergency ambulance/police are all varied depending on your current location and are usually administered by the county/city/district that you're in. There is no global number (that I'm aware of) that is the nearest non-emergency police/ambulance line.

keehun··on GitHub is down
Isn't this the idea of multiple origins? You can already set up different origins, including filesystem origins (like Dropbox).
keehun··on Ask HN: What do you do with your Raspberry Pi?
What software do you use for your setup?
keehun··on Chase did a bad thing, so we did a good thing
I read somewhere that Chase will close out your account if you opt out. Is this true?
keehun··on Show HN: Map of Polish Composers
Wow, this is fantastic! Is this open sourced, anywhere?
keehun··on Google transferred ownership of Duck.com to DuckDuckGo
On the Dvorak keyboard, ddg is also super easy to type! (QWERTY keys equivalent: `hhu`)
keehun··on Firefox 64 Released
Are there any notes on what the number means? Release notes does not mention the units or meaning of the number next to the amount of performance hit.
keehun··on Show HN: Dark Reader extension – Dark mode for every website
You can always load your own from source.
keehun··on Satoshi Nakamoto made a post after years of silence?
It's interesting to note that Google Translate (on "Detect Language" set) translates "nour" as "Light" in Arabic.
keehun··on Marriott hack hits 500M Starwood guests
Here's a link to the official Marriott release, FWIW: http://news.marriott.com/2018/11/marriott-announces-starwood...
keehun··on Colorizing and restoring old images with deep learning
>> BEEFY Graphics card. I'd really like to have more memory than the 11 GB in my GeForce 1080TI (11GB). You'll have a tough time with less. The Unet and Critic are ridiculously large but honestly I just kept getting better results the bigger I made them.

Wow!

keehun··on Recaptcha v3: new way to stop bots
I was just pointing out the fact that reCaptcha v2 was only on a few pages by design, and now Google wants us to put it on many pages. It's fundamentally changed its purpose from being a gatekeeper of spam/abuse on forms to a "Citizen Score" reporting "agency". I won't even engage with your troll-like point that I must hate cloud software.
← PreviousPage 3 of 14Next →