HNHacker News
TopNewBestAskShowJobs

matthewaveryusa

2,534 karma · joined May 29, 2014

If you're reading this take a moment to figure out what life choices made you sink so low. Ha, just joking -- be easy on yourself and others.

feel free to contact me on any @matthewaveryusa.com

submissionscomments
matthewaveryusa··on Making an SSH client the hard way
I mean if you want to go back, this is the original post from the horse’s mouth:

https://lists.zx2c4.com/pipermail/wireguard/2021-January/006...

matthewaveryusa··on Making an SSH client the hard way
A step-up prompt or notification wouldn't be a bad idea to approve ssh connections before they are established -- This is the same issue with ssh agents. I think there's an ACL setting in tailscale where you check ssh connections with a re-auth. it's time-based with a minimum of 1 minute though.
matthewaveryusa··on Elasticsearch SQL
And when those more complex concepts do come up and are too difficult to teach (or you want to lower the barrier of entry), you can always create a view that reduces the complexity back down to a select from.
matthewaveryusa··on Identity management for WireGuard
The way it works on phones is these apps operate as full VPN due to how network permissions for apps are handled. When you turn on tailscale, tailscale will pass through traffic it doesn’t need to touch. that’s also why you can’t have two vpn apps running at the same time.
matthewaveryusa··on EasyList is in trouble and so are many ad blockers
That's 2 trillion requests a month, or 780,000 requests/second. That would be just a little shy of 1% of all of akamai's rps traffic. mind-boggling
matthewaveryusa··on Identity management for WireGuard
I've been using tailscale for a couple years. wrt ios every couple of weeks all traffic on my phone stops and I need to open the tailscale app and toggle the active switch for traffic to start flowing again. I don't have that problem with my other devices.
matthewaveryusa··on Identity management for WireGuard
I think that goes against the tenant of wireguard working well while roaming. In general the concept of an identifying ip (outside of wireguard) will only lead to problems: devices can have multiple ips, and also share ips in the case of NAT/CGNAT. In my experience it's never been worth the trouble (again excluding wireguard)
matthewaveryusa··on Identity management for WireGuard
wrt the IP not being enforced, do you mean different endpoints can require different IPs, or a client can connect to an endpoint with a different IP configured and it's all good? Last time I tested, if you set one IP per user in your wireguard config, that user must connect with that IP.
matthewaveryusa··on Intel and the $1.5T chip industry meltdown
>Europe has stated they want to wean themselves off of fossil fuel within a decade or so.

And to think that in the 80s Regan tried (but opposed by business) to impose sanctions on europe because of the USSR gas pipelines. What a circus. Europe got hooked on USSR gas in less than 20 years, and has been planning to wean off for 10.

Europe after WW2 relied on the US to defend against Russian aggression, and not even 30 years later, in a master class of cleverness played both sides by buying, and then becoming dependent, on Russian gas, only for the Russians to become aggressive again.

Where the cleverness falls apart is that cheap Russian gas was on bought time, and now all the europeans have to show for it is massive debt, expensive social programs, a lack-luster military and closed nuclear plants. Good job...

matthewaveryusa··on Obsidian 1.0 – Personal knowledge base app
If I use obsidian to take personal work notes, do I need a commercial license? Right now I use a giant append-only markdown file but I'm curious about the linking.
matthewaveryusa··on $570M worth of Binance’s BNB token stolen
Changpeng "there's also a few more votes regarding how the hacked funds should be handled will be voted by the community"

Oh I see how this works now

matthewaveryusa··on Does Company ‘X’ have an Azure Active Directory Tenant?
azure AD presence does not imply they use msft sso as their sso.

sso integration when interacting with a fortune 500 will be a minuscule aspect of the arrangement should you get there. an f500 does not simply decide to use your product and do an sso integration et voila. they want a compliance regiment, a custom crafted legal arrangement, risk assessment, probably an onprem discussion, if you’re small enough a straight out purchase discussion. months if not years of negotiation. basically the sso button is the least of your concerns.

matthewaveryusa··on Turns out half the internet has a Single-Point-of-Failure called Cloudflare (2020)
They do, but not the way you think. They partner with CDNs and large service providers to cache content in their datacenters for them, saving on peering/infra cost , enhancing UX and padding their bottom line. Most of the time they even pay for it. They’re also smart enough not to expand in businesses that aren’t their domain of expertise and/or may come with legal hurdles.
matthewaveryusa··on Poll: Contractors, what is your hourly rate
I’ve interacted with probably close to 50 contractors of various trades for my house. They all insist on physically coming to give an estimate and a good chunk end up completely ghosting you. Most of them could have done an estimate over zoom -- definitely an interesting bunch of folks.

I found thumbtack to be pretty good for small jobs.

matthewaveryusa··on History of Yard Lumber Size Standards (1964) [pdf]
I thought the radii was a feature because right angles are more difficult to slip into place and tend to splinter more. You're probably right that it's a cost-saving measure though.
matthewaveryusa··on CZ5B (Chinese rocket) Reentry Prediction
a plausibly deniable payload purpose
matthewaveryusa··on Shamelessness as a strategy (2019)
very neat thanks, I’ll need to check the originals out.
matthewaveryusa··on Shamelessness as a strategy (2019)
I think Peter Thiel is masterful at this. It reminds me of my favorite poem by Rumi:

  Out beyond ideas of wrongdoing and rightdoing,
  there is a field. I’ll meet you there.
  
  When the soul lies down in that grass,
  the world is too full to talk about.
  Ideas, language, even the phrase ‘each other’
  doesn’t make any sense.
I always thought that surrendering to the notion of categorizing right and wrong led to stoicism, but this article got me thinking: in order to be effective at shamelessness, deep inside you need to be a stoic of that shame -- without that you're just a poor player strutting and fretting.
matthewaveryusa··on If OpenSSL were a GUI
This is where the builder pattern works really well. rclone is a good example of a cli that uses a builder for config, and turbotax for guis.
matthewaveryusa··on I don't care about HSTS for localhost
It’s solving a very real problem for enterprises. They want to run local agents that serve up content with a cert chained to an installed trusted corp ca. In general localhost is a pain to reason about security-wise —- the best approach is to simply kill it (despite my personal nostalgic love for it.) Use a proxy instead and forget it exists — enterprise is now the owner of that domain.
matthewaveryusa··on A 3400-year-old city emerges from the Tigris River
Apart from sites devastated by a natural disaster like Pompei, why are there so many artifacts left behind/discovered at so many archaeological locations?
matthewaveryusa··on SQLite 3 Fiddle
I think so. I attribute it to dqlite, rqlite and litestream that are making sqlite viable server side. It's always been viable server-side in tandem with a paxos/raft changestream (etcd streaming the changelog to an sqlite database.) but with the new projects providing out-of-the-box replication solutions it's even more-so viable.

It brings me so much joy to see sqlite get the love it deserves -- it's by far the best library I've ever used.

matthewaveryusa··on How This Ends
Genuinely curious : Russia’s GDP is < 10% that of the US or China. What’s up with this fascination with Russia (economically speaking — the humanitarian tragedy they are creating is a different topic)? The only question is if they align with the west or with china —-they’ve already lost as a super power, and their best strategic choice is to become a prized and expensive proxy between the west and china. The thing is, china and the west _trade_, so the calculus for russia is losing on all fronts. they can inflict a decade worth of pain to europe energetically, and then what?
matthewaveryusa··on Google open sourced PSP (hardware cryptographic offload)
Is the ICV the same thing as the authtag? (rhetorical question, I looked at the code: yes it is) I've never seen the authtag/mac for aes-gcm referred to as ICV -- any context on why it's used here? is it a more general term cryptographers use, or is it the new way (or old way) to refer to authtags ?

wrt IV reuse the protocol doc says the NICs use a picosecond timestamp counter -- do NICs really have picosecond resolution clocks, or is it nanoseconds + monotonically increasing counter within the nanosecond?

matthewaveryusa··on Ask HN: Have you used SQLite as a primary database?
None really, but we have a fairly simple design where all the shared databases we attach are read-only (think big static lookup tables that a separate process takes care of updating.) I would probably avoid having databases attach contextually -- seems complicated and error-prone.
matthewaveryusa··on Ask HN: Have you used SQLite as a primary database?
I’ve worked on several projects with sqlite, both read and write heavy, all with high concurrency, with databases in the few hundred MB with 400k server clients, and 100 bare-metal servers running at capacity. The sqlite part of our system is never the problem. In our case sqlite has been an alternative to custom files on disk or replacing a spaghetti of hashmaps in memory. we also replaced a single postgresql instance with all customers into many sqlites per customer. Performance and reliability is why I always reach for it first. At this point I’m a zealot and would argue your first ‘data structure’ of choice should be an sqlite database :)
matthewaveryusa··on Lenovo Forums stores plaintext password as a cookie
yeah -- updated.
matthewaveryusa··on Lenovo Forums stores plaintext password as a cookie
This is equivalent to basic HTTP authentication. If used over TLS it's safe-ish: The real issues arise from servers logging HTTP requests/headers and whatnot in plaintext. The two benefits of using a session over the raw password are that:

1) sessions are typically scoped in time, and

2) if the session is revealed, it can't be used for credential stuffing (using the same credentials on a different website to see if the password was used there too.)

Having said that I'm not being an apologist: The design should be better

matthewaveryusa··on A 4-year-old can run errands alone and not just on reality TV
FYI check your local law before attempting this. A few states in the US have legal minimums for allowing your kids to roam/be alone and they vary, but many do not!
matthewaveryusa··on Detailed Assemblies for an Airtight Small Home
I understand that the construction materials were chosen to be healthier, but wouldn’t it be even better to have a ‘loose’ house with those same materials?
← PreviousPage 7 of 19Next →