HNHacker News
TopNewBestAskShowJobs

mozey

368 karma · joined April 21, 2014

[ my public key: https://keybase.io/mozey; my proof: https://keybase.io/mozey/sigs/xSF9tMAMKCKz4u2waGjej5krzW2F1NYoUojccHAavIY ]
submissionscomments
mozey··on WhatsApp Help Center – We’re Updating Our Terms of Service and Privacy Policy
Lots of text on what user data is not shared, where is the simple explanation of what is shared?
mozey··on Brave buys a search engine, promises no tracking, no profiling
> payment in BAT

payment in Basic Attention Token... isn't that exactly how the Google, Facebook, Twitter, etc advertising business models work. BAT is basically a reward for watching adds right?

I like the idea of paying my content producers directly better, see for example https://coil.com. Cut out the middleman

mozey··on USPS Selects Oshkosh Defense for Next Generation Delivery Vehicle Fleet
If this was happening in South Africa I would think corruption 100%. I mean, why can't you just take any van and stick some standard issue shelves in the back?
mozey··on Nuklear: A cross-platform GUI library in C
For accessibility, wouldn't it make more sense to ensure your app has a fully functional CLI. If sight is disabled, why try to use the GUI?
mozey··on Researchers rethink life in a cold climate after Antarctic find
Mars... no, obviously that would have to be "red goo"
mozey··on The endless browser wars
Maybe Linux distribution specific builds of Chromium isn't a good idea, instead there should just be Chromium distributions, e.g. https://brave.com?
mozey··on Show HN: Haven – Run a private website to share with only the people you choose
Interesting idea, maybe combine it with some fingerprinting? I.e. the first access on the link binds some attributes, and if they change the link expires. Chances are people who need these links are only using one device.
mozey··on The Culture War: Iain M. Banks’s Billionaire Fans
They treat ideology as the upper class has always done, not as true believers, just a means to an end?
mozey··on Alternative lightweight UI library to modern day frameworks
Alpine has directives like x-if and x-for. For a lightweight templating library I would recommend https://pure-js.com. It's been around for ages. The PureJS directives take some time to get used to, but are quite powerful once you do.
mozey··on Facebook shuts down the Socialist Workers Party in Britain
> "Drivers will be ticketed if our models say so."

Safe driving is more than just obeying road signs. You might follow all the rules exactly as they're written in the book but still be a reckless driver. As you point out feedback is the key.

I've driven a car in countries where the traffic officers place obscure road signs to trick drivers into speeding so they can make a quick buck on a bribe.

Sometimes you might break laws without being aware of them. A model could suggest you do something differently before you cross the line?

mozey··on The Secure Messaging App Conundrum: Signal vs. Telegram [pdf]
> In Telegram, E2E encryption is not on by default in chats (it is on by default in calls), and is only available for one-to-one chats (the so-called Secret Chats) and calls (including video-calls). Groups, independently of their size, are not E2E encrypted.

Correct me if I'm wrong, but isn't WhatsApp E2E encrypted by default for a while now?

> The fact that Telegram does not publish server-side code while Signal does has no impact in the security assessment of these services... Still, from a security standpoint either of them is a better choice than WhatsApp

So if WhatsApp published the client code it would be at least as secure as Telegram, maybe better because it has E2E encryption enabled by default?

mozey··on The Secure Messaging App Conundrum: Signal vs. Telegram [pdf]
> Telegram does not publish server-side code

Given this, why should anyone trust Telegram over WhatsApp?

For the average person I don't see why you should use Telegram instead of WhatsApp if most other people are using the latter.

For journalist or activists, or anyone that might face persecution Signal is the only reasonable option. I guess you could make the argument people falling into that category stand out more unless Signal has lots of users?

And does that imply Signal will eventually have to find ways of monetization other than donations?

mozey··on Serverless SQLite
Might be useful for services that aren't continually used? For example, month or year end processes. Not convinced I would use SQLite for a service like that though, seeing as AWS has serverless RDS
mozey··on Apple's MacBook revival plan: Bring back old features
Miss the matte screen on my 2008 MPB
mozey··on Apple's MacBook revival plan: Bring back old features
I like mapping jk (and kj) to escape. For lefties I imagine df (and fd) would be more convenient. Both sequences are unlikely to appear in any words. They're on the home keys, so least effort to move your hands. https://vim.fandom.com/wiki/Avoid_the_escape_key
mozey··on Alternative lightweight UI library to modern day frameworks
"Alpine.js offers you the reactive and declarative nature of big frameworks like Vue or React at a much lower cost. You get to keep your DOM, and sprinkle in behavior as you see fit... Alpine doesn't use a virtual DOM. This implementation allows Alpine to stay rugged and use the real DOM to work its magic" https://github.com/alpinejs/alpine
mozey··on Facebook to staff: Avoid company-branded clothing for own safety
I'm sure it's not just me, but I loathe branding on clothing. It's frustrating when I'm shopping and every second item has a brand name, logo, or some graphic clearly visible. I think this comes from living in a society where people are judged if they don't wear the correct label.
mozey··on Let's Make the Web Weird Again [audio]
Eventually, but it could live on for a long time. Reminds me of a story in the Dying Earth series, can't quite remember which one. Cugel visits a city where no one knows how the technology works anymore. Some of it still works, other stuff is breaking down, and the populace thinks that's because the magic is fading away. Or maybe I'm confusing different stories. Anyway, something along this line probably.
mozey··on Start with pen and paper
For wire-framing or diagrams I find pen and paper (or a whiteboard) to be the best solution too. Too often most of the effort goes into "properly" using the app, when it should be spent on the concept. Just draw a picture, take a photo and email it or whatever, and done.
mozey··on What ORMs Have Taught Me: Just Learn SQL (2014)
The sqlc lib "generates fully type-safe idiomatic Go code from SQL". It makes sense to generate code from SQL and not the other way around. https://github.com/kyleconroy/sqlc
mozey··on Electric shocks to the tongue can quiet chronic ringing ears
I developed constant tinnitus a couple of years ago, probably from a sequence of causes:

I've had sinus problems since childhood. Some exposure to loud music. An upper back spine injury that affects my neck and chest muscles. With this I sometimes had tinnitus, usually worse in the evenings or after spending many hours in front of a screen.

Then I got knocked on the head twice, the second time left a small dent in my nose, and it damaged the right side of my jaw. After this the tinnitus became more permanent.

Almost worse than the tinnitus is that my ears are always popping, as in many times per day. Just sitting at my desk I'll get the same sensation you get on descent when scuba diving, and I have to pinch my nose and blow on it to equalize. Any else have this symptom?

mozey··on A Requiem for a Dying Operating System (1994)
Read a blog, book or cheatsheet? Once you know the command it's much easier to remember (and explain) than click here, then there, then double click that, etc
mozey··on Apple announces it will switch to its own processors for future Macs
I started using MacBooks when they switched to Intel around 2008. Maybe this is a sign to move on. Currently using a mid 2014 model, I like the slim form factor, but I don't like the absence of an ethernet port. I don't care much for the retina display, my 2008 matte model was better. Been looking at the Lenovo T470. I need something that would be easy to replace quickly anywhere in the world. What should I get?
mozey··on Workman Keyboard Layout (2010)
Instead of using an alternate keyboard layout, I found the alternative finger positioning described here works great for me: https://typingsoft.com/typing.htm The trick is to keep you wrists straight
mozey··on Ask HN: Has anybody shipped a web app at scale with 1 DB per account?
When using a single db I'd highly recommend adding `account_id` to every single table that contains data for multiple accounts. It's much easier to check every query contains `account_id`, as opposed to checking multiple foreign keys etc. Depending on the db you can then also easily export all data for a specific account using filters on the dump tool
mozey··on Coming to Chrome: a new way to use tabs
Or use this strange hack to group tabs: "File > New Window"
mozey··on [dead]
"Docker in a Day" ...not likely. Reminds me of this blog post https://norvig.com/21-days.html

Used to run all my dev stuff (Apache, MySQL, Elastic, etc) in Ubuntu with VMWare. Then downgraded to a laptop with 8GB RAM so decided to look into Docker. I found this repos very helpful https://github.com/phusion/baseimage-docker

I also use some bash scripts to setup local equivalents of the AWS (services I use) in Docker containers https://github.com/mozey/aws-local

So far this setup works really well for me. Tip, using the :cached configuration with mounted volumes makes a huge difference to CPU usage on the host https://docs.docker.com/docker-for-mac/osxfs-caching/

mozey··on Rules of thumb for a 1x developer
"Everyone knows that debugging is twice as hard as writing a program in the first place. So if you're as clever as you can be when you write it, how will you ever debug it?" -Brian Kernighan

Over time I've come to appreciate this sentiment. Banging out clever code super fast isn't that important... Spending some time up front thinking about types and architecture pays off in the long run. Especially for server side code. Far from being annoying, error messages from the compiler make me feel warm and fuzzy inside.

On the other hand, for quickly prototyping user interfaces, some "stream of consciousness" Javascript might just be good enough.

mozey··on What The Economist doesn't tell you
Here's a link to an article from the economist: "We need a post-liberal order now The international, rules-based system is collapsing. Overhauling it means combining national identity with a global ethos, says Yuval Noah Harari, a historian and author" https://www.economist.com/open-future/2018/09/26/we-need-a-p...
mozey··on How to Write Usefully
> Confidence and humility are often seen as opposites, but in this case, as in many others, confidence helps you to be humble. If you know you're an expert on some topic, you can freely admit when you learn something you didn't know, because you can be confident that most other people wouldn't know it either

This is an excellent point. I'd much rather work with (and aspire to be) someone that knows when they don't know, than someone that has all the answers.

← PreviousPage 3 of 5Next →