HNHacker News
TopNewBestAskShowJobs

waz0wski

314 karma · joined September 24, 2014

Time, is an illusion. Lunchtime, doubly so.
submissionscomments
waz0wski··on Element raises $30M to boost Matrix
You could use matterbridge[1] to connect & bridge the various new networks including matrix back to a client of your choice - in my case the same znc+irssi I've been using for a long time[2]

[1] https://github.com/42wim/matterbridge/

[2] https://xkcd.com/1782/

waz0wski··on Hackers break into thousands of security cameras, exposing Tesla, jail, hospital
Here's one project based on RPi & HomeKit integration - https://github.com/brutella/hkcam
waz0wski··on Hackers break into thousands of security cameras, exposing Tesla, jail, hospital
Verkada set the bar awfully low:

> The hackers gained access to Verkada through a “Super Admin” account, allowing them to peer into the cameras of all of its customers. They found the user name and password of the account publicly exposed on the internet

Don't put your personal stuff directly on the internet, use separate admin accounts with 2FA, gg, you're doing better than Verkada - comically valued at $1.6B

waz0wski··on Firefox 81.0
Works great in combination with multi-account + temporary containers extensions.

Grants the ability to regex match on domains & url paths for sites that do auth redirects or to isolate corporate & personal accounts on the same domain (github, google etc) - MAC should have this functionality built in, and there are several open issues requesting it.

Containerise does have builtin limited temporary container functionality, but I found the separate extension to have more useful configuration options for how temp containers are handled

waz0wski··on Material Shell – A modern desktop interface for GNOME
If you're on OSX, try using https://contexts.co for your switcher, and https://www.alfredapp.com for your launcher

Contexts gives additional 'switching' options on different hotkeys, fuzzy window searching+selection, history-based selection, and no mouse interaction required (but it is supported)

I dedicate spaces to tasks, eg communications, monitoring, and 3-4 development task spaces with tools/docs/terminals

I have Contexts setup as follows:

    cmd-tab: cycle thru all visible windows of all apps on current space
    opt-tab: cycle thru all windows of all apps on all spaces (include hidden/minimized)


    cmd-~: cycle thru all windows of focused app on current space (include hidden/minimized)
    opt-~: cycle all windows of focused app on all spaces (include hidden/minimized)


    cmd-space: activate Alfred
    opt-space: search/activate of all running apps on all spaces

Alfred then allows you to add effectively anything you can script/applescript for additional workflows and a complete, keyboard-driven navigation/switching experience, and total deprecation of the slow 10.7+ mission control gui

I also use Totalspaces (https://totalspaces.binaryage.com/) to give a 'grid view' spaces overview & manage app-space pinning, Stay (https://cordlessdog.com/stay/) to manage static window placement & sizing, and Sizeup (https://www.irradiatedsoftware.com/sizeup/) for dynamic window movement

waz0wski··on Ask HN: Is your company sticking to on-premise servers? Why?
a problem with these 'easy' kubernetes deployments, quickstart guides etc is that they have people churning out insecure and nowhere near production-grade clusters that are often using $cloud-provider managed k8s control plane and cloud-specific features & integrations for storage, load-balancing, databases, and more which prevent easy replication of the environment to another cloud provider, let alone a home/lab environment - and it's just as difficult to port a non-cloud k8s setup over to a cloud provider, no matter how many sidecars are tacked on.

this problem extends even further down, because the cloud infrastructure substrate that k8s runs on needs to be configured too, and even when using a tool that supports multiple cloud providers, such as terraform, you end up with lots of cloud-specific code

waz0wski··on Western Digital admits 2TB-6TB WD Red NAS drives use shingled magnetic recording
one way to check, seen on another forum, is to see if the drive reports supporting the TRIM function via smartctl/camcontrol - if it does it's one of these 'DMSMR' style drives
waz0wski··on Deploys at Slack
Spinnaker does this - https://www.spinnaker.io/concepts/
waz0wski··on Self-hosted, super simple photo stream
peertube attempts to address this pain and supports the activitypub fediverse

https://github.com/Chocobozzz/PeerTube

waz0wski··on Sanoid – Replication and Backups with ZFS
sanoid works great, used it for quite some time and the creator is actively involved in the zfs community

in the spirit of link sharing for other tools, I've been moving many of my personal infrastructure & tools to golang-based apps, and I started using this for zfs replication

https://github.com/zrepl/zrepl

No issues thus far in about 6mo of usage for local-and-remote snapshots

waz0wski··on Sanoid – Replication and Backups with ZFS
out of all the various zfs snapshot tools, this is one of the better ones, and the creator is also an active community member on various tech forums
waz0wski··on How Retroactive makes Aperture, iPhoto, and iTunes work again on macOS Catalina (2019)
beardedspice might help with your media key issue

https://github.com/beardedspice/beardedspice

or maybe you can force the key assignment with karabiner-elements

https://github.com/tekezo/Karabiner-Elements

waz0wski··on Show HN: Regex Cheatsheet
if you're on osx, the app Patterns is really good for testing regex, and also has quick references for a variety of regex 'engines' and also has decent matching explanations

https://krillapps.com/patterns/

waz0wski··on FreeBSD is an amazing operating system
freebsd has 'containers' called jails, first released in ~2000, pre-empting solaris zones by four years, openvz by 5 years, lxc by 8 years, and docker by 10+ years.

jails were/are common in the webhosting and gaming industries, and nowdays they can be managed with infrastructure-as-code tools like ansible or puppet. when backed by zfs, they can be made to behave very similarly to docker containers.

with the demise of docker the company and the fractured ecosystem of competing container runtimes, specifications, kernel compatibility issues, and management tools, jails are worth testing out. iocage is one way to start managing them.

waz0wski··on Cortex: Deploy machine learning models in production
there's also a prometheus storage backend called Cortex

https://github.com/cortexproject/cortex

waz0wski··on How to make Linux run fast again on Intel CPUs
Intel hardware has SGX, the concept of a secure enclave for sensitive data ... which is also vulnerable to the same class of speculative execution exploits on hardware generations prior to Cascade Lake

Specifically it was a trio of vulnerabilities colloquially known as 'Foreshadow / L1TF': CVE-2018-3615, CVE-2018-3620, and CVE-2018-3646,

https://en.wikipedia.org/wiki/Foreshadow_(security_vulnerabi...

waz0wski··on Centralised DoH is bad for privacy
lets also not forget cloudbleed, wherein they leaked sensitive data for 6 months

> In total, between 22 September 2016 and 18 February 2017 we now estimate based on our logs the bug was triggered 1,242,071 times.

https://blog.cloudflare.com/quantifying-the-impact-of-cloudb...

https://news.ycombinator.com/item?id=13766339

waz0wski··on Three recent papers uncover the extent of tracking on TVs
Some vendors (Samsung) 'smart' TVs will attempt to utilize nearby open wifi networks [1]

Would not be surprising to see Comcast/TW/Charter/$ISP would strike a deal with TV vendors to provide a wifi network on the ISP-provided routers just for the TVs or other 'smart' devices [2]

Start watching out for cellular connectivity in TVs as yet-another-phone-home-vector too [3]

[1] https://www.reddit.com/r/security/comments/bpjky4/worried_ab...

[2] https://www.xfinity.com/support/articles/about-xfinity-wifi-...

[3] https://venturebeat.com/2019/05/01/huawei-reportedly-plans-f...

waz0wski··on SNES Cartridges and Enhancement Chips
the owner of this repo also has some good blog posts about this topic, including an overview of some of the custom chips and their impact on the emulator they also maintain (bsnes)

https://byuu.net/cartridges/boards

waz0wski··on I've been building a Markdown note-taking app for 3 years
Quiver recently added one as well, works decently and actually fetches images to store locally unlike Evernote web clipper

Some javascript-heavy segmented pages don't clip correctly, but firing up the browsers reader-mode usually clears all the js crap and allows page content to be cleanly clipped

http://happenapps.com/#quiver

waz0wski··on SerenityOS – a graphical Unix-like OS for x86, with 90s aesthetics
If you have not seen it, check out the BeOS-inspired Haiku

https://www.haiku-os.org/

waz0wski··on Mozilla is giving up on their IRC server
this is what IRC ... does. The xmpp standard and ecosystem of clients/servers has also provided this for a decade plus.

If something 'modern' is required, Matrix protocol and its ecosystem is a contender. Also look into the world of ActivityPub federated applications, which cover everything from replacing Twitter to blogging.

My personal setup is to use bitlbee or libpurple to connect to every major chat network that exists today, bridged to my irc client via znc. This provides a consistent presence, status, and ui across desktop/mobile, push notifications, filtering, and behavior under my control, all with chat client that doesn't take up 1GB+ of memory with phone-home telemetry and useless emoji

waz0wski··on Study: Two Monitors or One Ultrawide
If you'd like to do away with touchpad gestures for an even faster workflow on osx, try using https://contexts.co for your switcher, and https://www.alfredapp.com for your launcher

contexts gives additional 'switching' options on different hotkeys, window searching+selection, and no mouse interaction required (but it is supported)

I have Contexts setup as follows:

    cmd-tab: cycle thru all visible windows of all apps on this desktop

    opt-tab: cycle thru all apps on all desktops


    cmd-~: cycle thru all windows of focused app on this desktop (include hidden/minimized)

    opt-~: cycle all windows of focused app on all desktops (include hidden/minimized)


    cmd-space: activate Alfred

    opt-space: search/activate of all running apps on all desktops
This workflow allows for complete, keyboard-driven navigation/switching, and total deprecation of the slow 10.7+ mission control gui (you can restore the older & faster exposè style window view with the app TotalSpaces)
waz0wski··on Rebuilding My Personal Infrastructure With Alpine Linux and Docker
iocage is a decent cli utility for managing jails, automating some common operations, and associated zfs bits for storage

https://github.com/iocage/iocage

https://dan.langille.org/2015/03/07/getting-started-with-ioc...

waz0wski··on Talos – A modern Linux distribution for Kubernetes
Please, not another Slack walled-garden for discussion. Slack is both inaccessible and unsearchable, as well as a privacy concern.

Suggest to use already available open source discussion networks such as freenode and open software with accessible medium such as mailing lists powered by mailman and its archives.

If you insist on using a javascript-tainted webui for community discussions, use open forum software such as discourse ensuring it's properly searchable and archived by major search engines.

waz0wski··on PostgreSQL used fsync incorrectly for 20 years
i/o errors are an ongoing issue for AWS M5 and C5 instance types with their cloudy nvme devices, they have a tendency to randomly disappear or have extended timeouts

https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1788035

unfortunately the upstream patches being backported don't provide any real write guarantee

waz0wski··on FaceTime bug lets you hear audio of person you are calling before they pick up
Modified clients are definitely possible - review the recent Project Zero research into webRTC vulnerabilities, which included a look at FaceTime and discovered several exploitable bugs

https://googleprojectzero.blogspot.com/2018/12/adventures-in...

waz0wski··on Road to OCIv2 Images: What's Wrong with Tar?
ZFS supports both compression and de-duplication on send streams, the behavior on the receiving side depends on the configuration of the pool+dataset where the data is being received.

There used to be some differences in features/behavior depending on the ZFS version in use (Solaris vs FreeBSD vs ZFSoL/OpenZFS) but I believe as of 2018 all ZFS implementations have these features for send streams

waz0wski··on Burnout, stress lead more companies to try a four-day work week
That's ... not remotely devops

What you're describing is a legacy, traditional, (and terrible!) 'ops will fix it' mentality that often permeates larger companies where dev teams 'throw stuff over the wall' to another team for production deployments, outage triage, etc

A company with a devops culture deeply involves both developers and operations oriented folks from the start of a project to ensure best practices, reliability, and observability are being baked in from the start, that deployments are automated, and usually developers are more directly responsible for and involved in the operations of their software rather than having dedicated 'ops' teams doing 'firefighting'

Read some of the content put out by Gene Kim or Martin Fowler for a much more in depth look at devops culture and the benefits it can bring a company.

waz0wski··on How we’ve scaled Dropbox (2012) [video]
They've posted about this on their tech blog:

https://blogs.dropbox.com/tech/2016/03/magic-pocket-infrastr...

https://blogs.dropbox.com/tech/2018/06/extending-magic-pocke...

← PreviousPage 3 of 4Next →