HN user

davidkhess

421 karma
Posts21
Comments69
View on HN
alignpay.com 5y ago

AlignPay

davidkhess
2pts0
www.skiff.org 5y ago

Skiff – keep your private documents private

davidkhess
3pts0
www.rightforge.com 5y ago

Right Forge

davidkhess
17pts19
developer.apple.com 6y ago

Sign in with Apple JavaScript

davidkhess
2pts1
developer.apple.com 6y ago

Sign In with Apple JS

davidkhess
1pts1
register.apple.com 7y ago

Indoor Mapping Data Format

davidkhess
3pts1
www.scribd.com 7y ago

The Good Censor

davidkhess
10pts1
www.itwire.com 9y ago

Drupal member sent out after BDSM lifestyle revealed

davidkhess
2pts0
www.ibtimes.co.uk 9y ago

Report claims Magic Leap used fake tech demos and is years behind schedule

davidkhess
30pts8
medium.com 9y ago

Scammed By A Silicon Valley Startup

davidkhess
1311pts558
techcrunch.com 10y ago

Craig Wright will publish “extraordinary proof” that he is Satoshi

davidkhess
2pts0
www.tech-spelunking.com 10y ago

Part 1 – The Security Elephant in the Room

davidkhess
1pts1
www.drawattention.co 11y ago

DrawAttention

davidkhess
5pts0
www.zvents.com 11y ago

Zvents.com and Zvents Media Network Sunsetting October 31st, 2014

davidkhess
1pts0
www.tech-spelunking.com 11y ago

The Password Manifesto

davidkhess
2pts0
www.tech-spelunking.com 11y ago

The Password Is Dead, Long Live the Password

davidkhess
1pts0
arxiv.org 12y ago

Speculative Staging for Interpreter Optimization

davidkhess
1pts1
techcrunch.com 12y ago

Google Will Start Blocking Most Netscape Plug-In API Plug-Ins In January 2014

davidkhess
2pts2
www.kickstarter.com 13y ago

MyIDkey: Passwords at the tip of your finger

davidkhess
1pts0
tech-spelunking.com 13y ago

iPhone Battery Drain, dataaccessd, and Calendar.sqlitedb, oh my

davidkhess
4pts2
www.lightreading.com 14y ago

Metcalfe to Unveil 'New Ethernet'

davidkhess
17pts3

I think this is really great news and am glad to see FIDO move forward as I think it greatly increases account security.

One aspect of FIDO that could still be troublesome is account recovery in case of inadvertent loss of passkey. OOB recovery with SMS or email is considered too weak and the main recommended alternatives are to maintain multiple authenticators (i.e. multiple copies of your passkeys), re-run onboarding processes for new users or just abandon the account.

It's going to be interesting to see how those alternatives play out in real world situations.

Gunicorn 5 years ago

Ditto. I started out on Twisted back in the day and stayed with it for 6 years all they way up until they introduced deferreds combined with yield/generators (the same technique which is the heart of today's asyncio).

It was great at the time but ultimately tiresome. It introduced framework specific incantations all over the place and any framework using I/O had to be Twisted-aware in order to use it straight-forwardly. The exact same complaints I have today of asycnio.

I went to gevent 10 years ago and have never regretted it. If you have some reasonable knowledge of threading and synchronization then it is a really nice developer experience.

You are jumping to mistaken conclusions based on one review, the motivations of which you don't know.

I think cross-platform apps are commonly misapplied and really only make economic sense with the appropriate assumptions. Once a company has the necessary resources they should go native and go all in on platform conformity.

But for many folks, that's not a feasible place to start from.

I built the initial version of this app for a startup:

https://apps.apple.com/us/app/listeners-on-call/id1498666617...

It has a very good UX designer and I've developed multiple commercial Qt/QML mobile applications previously.

I think the economics make sense with the following assumptions:

* The startup doesn't have the resources to build for two platforms natively (yet).

* The developer(s) can get their hands dirty and "go native" on either platform when needed.

I find Qt/QML for cross-platform mobile applications to be a great solution. It uses the same basic architecture as Flutter – they both do not use native widgets and instead draw the entire UI on a blank graphics canvas. I think that approach preserves the most code between platforms and reduces the kinds of presentation hitches that HTML web view and hybrid native widget approaches can run into.

In relation to the particular problems of technical debt related to third party modules mentioned in this article, QML rides on top of Qt which is a 26 year old C++ cross-platform toolkit with a lot of mature technology in it. I.e. there is a lot more "batteries included".

There are still plenty of times you have to "go native" to integrate something Qt doesn't cover but it apparently isn't as often as with Flutter.

Sublime Text 4 5 years ago

Not sure if it matches your use case or not, but I use sshfs with Sublime Text and it's just as good as local editing.

I would not underestimate the value of experience. And the older you get, the more of it you have a chance to acquire.

I think the mistake most people make is to deliberately slow down as you get older. Never slow down and you'll keep pulling ahead.

Here's an approach I've used before successfully. It's not perfect but it's better than nothing.

1. Create your own root Certificate Authority.

2. Create a script using your favorite language and libraries that will create a new certificate for each device something along the lines of "myiotdevice-AABBCCDD.local". The AABBCCDD needs to be some sort of serialized number that's assigned during manufacturing and won't be repeated between devices.

3. Add to your product support for ZeroConf/mDNS/DNS Service Discovery and advertise an https web server at myiotdevice-AABBCCDD.local.

4. Provide instructions to your users on how to download and install the certificate for your root CA (this only needs to be done once).

5. Print the name "myiotdevice-AABBCCDD.local" on the device and instruct users to type that in to a browser's address bar.

I'm doing this from memory so I may have missed an intricacy here or there (like DNS SD is a weird story on Windows 10) but this approach should basically work well enough.

EDIT - good commentary in replies about the dangers of the CA being compromised. Also, good mention of X.509 Name Constraints and how they can be used to mitigate that danger somewhat. More info here: https://systemoverlord.com/2020/06/14/private-ca-with-x-509-...

Flutter 2 5 years ago

I'm curious, when you refer to Qt, do you mean the QWidget application approach or QML? QML is much more like Flutter (but is indeed somewhat arcane to learn how to work with).

Flutter 2 5 years ago

My perspective is that Flutter is positioned dead on against Qt's QML. I develop mobile and desktop QML applications and this seems to be trying to be very competitive with it.

Qt also has a WebAssembly build for QML apps on the web but in my experience it has suffered from some of the same issues reported here about the Flutter WebAssembly runtime.

Edit: One key difference is Flutter seems to do everything with procedural code. QML is based on a declarative DSL plus Javascript.

I developed a different take on this issue recently. It's not that technology could destroy us - it's that the amount of complexity we are continually building with technology will eventually outstrip the resources and intellect of the human species to manage it.

Another way to put it: what if the Great Filter (https://en.wikipedia.org/wiki/Great_Filter) is really that biological life doesn't have the resources available or the capability to develop the intellect necessary to manage all the technology required for a species to go intergalactic?

What if the root cause is the ever increasing complexity that software is trying to manage? At all levels (legislature, management, bureaucrats, programming languages, developers, testers, users, subjects) we are creating more and more complex situations we ask software and the institutions that produce it to manage for us.

But as the complexity goes up and the number of these complex situations increases, are we reaching a point where we outstrip the amount of money, talent and experience our institutions would need to deliver solutions to successfully manage them?

With our resources and intelligence as a species being capped, it seems at some point this is inevitable.

Recounting my own experience w/ unpkg:

They had an issue where they were responding with 302s redirecting to malicious adware:

https://twitter.com/unpkg/status/852660203275276289

They promised a post-mortem which (to my knowledge) never happened:

https://twitter.com/unpkg/status/852666784792444928

I removed unpkg from my infrastructure and won't be using any of these services again. The minimal gains aren't worth the risk in my estimation.

This is impressive but I think it's interesting that Apple is seemingly jettisoning Auto Layout with the introduction of SwiftUI with Stacks and Alignments.

Having worked with a lot of different layout and alignment systems, Auto Layout seemed to me to be considerable overkill. I found it generally not worth all the brain power needed to understand it and more importantly debug it when it isn't doing what you want.

So, here's what I'm really curious about. Anybody know why they didn't use OAuth 2.0? Some of the bits of this API smell somewhat like OAuth, but this seems simpler and is handled mostly in the frontend (via an iframe I assume) vs. the URL redirect dance of OAuth.

Is this what OAuth should look like in a more front-end centric web day and age?

With a well-written and comprehensive design covering 100% of the scope, I believe any software development project can be safely fixed bid.

The problem is that most of the time, people who do attempt project-oriented work/fixed bids do so without a comprehensive design – and it does indeed tend to end up a disaster.

Was the $4k/wk based on a billed hourly rate?

In general, the economics of working hourly don't tend to work in your favor. On their side, it focuses the client on the rate and the hours and tends to encourage them to micromanage you. On your side, you don't economically benefit from increasing quality and reducing timelines.

It's hard and a lot of people are not good at it, but I recommend trying to do project-oriented work with fixed bids. It's much easier to focus the client on the long-term benefits of higher quality and shorter timelines in a fixed bid situation. And you economically benefit from increasing quality and delivering faster than you bid.

It's a lot easier to compete with offshoring when you set the context this way.

SwiftWebUI 7 years ago

This seems to me to have a serious architectural issue. If I read it right, the app is rendered in the browser but is processing state changes and doing HTML rendering of the state tree on the server side? How is that going to scale?

This is a really neat adaptation of the SwiftUI API to the web but it seems like the guts of it needs to run in the browser to be practical.

Perhaps we'll eventually see the Swift compiler support a WASM target?

[edit] Like Qt is doing? https://doc.qt.io/qt-5/wasm.html