HN user

dmytton

2,934 karma

- Writing https://console.dev

- Researching sustainable computing in the Department of Engineering Science, University of Oxford - publications at https://davidmytton.blog/publications/

david@console.dev / https://davidmytton.blog

Posts161
Comments101
View on HN
blog.arcjet.com 1y ago

Lessons from running WebAssembly in production with Go and Wazero

dmytton
2pts0
blog.arcjet.com 1y ago

WebAssembly on the Server: Compiling Rust to WASM

dmytton
1pts0
blog.arcjet.com 2y ago

Redacting sensitive data from logs with Go's log/slog

dmytton
2pts0
blog.system76.com 4y ago

Pop_OS 21.10 has landed

dmytton
40pts27
console.dev 4y ago

Sourcegraph CTO on building a search index for 1M public repos

dmytton
2pts0
zach.bloomqu.ist 5y ago

Reliable, Deliverable, Self-Hosted Email

dmytton
3pts0
console.dev 5y ago

7 years to build a database and get into YC – QuestDB

dmytton
3pts0
console.dev 5y ago

How will the internet work on Mars?

dmytton
1pts0
puri.sm 5y ago

Manufacturing the Librem 5 USA Phone in the US

dmytton
305pts142
console.dev 5y ago

Deepnote (YC S19) CTO interview – using K8s for real-time Jupyter collaboration

dmytton
12pts1
code.visualstudio.com 5y ago

RemoteHub in VS Code – work on repos without cloning

dmytton
3pts1
twitter.com 5y ago

The rsync.net Warrant Canary is now 15 years old

dmytton
57pts13
console.dev 5y ago

KeyDB CEO Interview: Getting into YC with a Fork of Redis

dmytton
140pts73
www.cloudcarbonfootprint.org 5y ago

CLI for calculating cloud (Azure, AWS, GCP) carbon footprint

dmytton
2pts1
console.dev 5y ago

Interview with CEO of rsync.net: “no firewalls and no routers”

dmytton
654pts334
blog.elementary.io 5y ago

Look and Feel Changes Coming to Elementary OS 6

dmytton
5pts0
americanaffairsjournal.org 5y ago

Carrie Lam’s Problem–and Ours: China’s State-Backed Digital Currency

dmytton
2pts0
blogs.gnome.org 5y ago

Gnome Shell UX Changes: The Research

dmytton
3pts0
blog.elementary.io 5y ago

Hardware Improvements Coming to Elementary OS

dmytton
2pts0
medium.com 5y ago

Optimising Serverless for BBC Online

dmytton
3pts0
blog.console.dev 5y ago

Porting a serverless chatbot from Python to Rust

dmytton
4pts0
www.lowtechmagazine.com 5y ago

How and why I stopped buying new laptops

dmytton
3pts0
medium.com 5y ago

Evaluating the carbon footprint of a software platform hosted in the cloud

dmytton
2pts0
ambrevar.xyz 5y ago

Guix: A most advanced operating system (2019)

dmytton
1pts0
spacetelescopelive.org 5y ago

What is Hubble looking at now and for what reason?

dmytton
2pts0
om.co 5y ago

On (not) leaving San Francisco

dmytton
2pts0
www.nature.com 6y ago

Hiding greenhouse gas emissions in the cloud

dmytton
1pts0
davidmytton.blog 7y ago

What are the common causes of cloud outages?

dmytton
4pts0
blog.stackpath.com 7y ago

Per-CPU packet captures with rxtxcpu

dmytton
1pts0
blog.serverdensity.com 9y ago

How to do code reviews

dmytton
3pts0

The blog post mentions "P99 of ~1s of producer-to-consumer latency". What about just producer latency i.e. message successfully received into the queue ready to be picked up? S3 writes seem be in the low 100s of ms so I assume that's part of the quoted end-to-end latency.

We've been featuring 3 devtools companies that are hiring for technical roles in the weekly https://console.dev/ newsletter since the start of this year. It's been seeing some very good click -> application rates.

We're now in the process of building out profiles on the website and are working with the companies to add interesting details about things like dev processes, tools used, tech stack, how planning works, how on-call works, etc.

Bit different from what SO does/did with our devtools focus. Our inspiration is the Joel Test, if anyone remembers that! https://www.joelonsoftware.com/2000/08/09/the-joel-test-12-s...

I've been using Deepnote to do some energy modelling for an academic paper I'm writing, and it's been great. The UI is much nicer than any other Jupyter editor I've used, and the integration with GitHub works well. Just started collaborating with some other researchers on another project so the real-time editing is coming in handy. So much better than using Excel.

I also interviewed their CTO, Jan Matas, as part of my developer interview services about how it's all built around k8s behind the scenes: https://console.dev/interviews/deepnote-jan-matas/

[dead] 5 years ago

I've been using Plausible on https://console.dev for 2 weeks now and will be paying once the trial ends. The UI is very straightforward and it makes it easy to see the key stats: visitors, popular pages, referrers, and goal tracking. We really don't need anything else and Plausible's reasonable, privacy-first approach to how they implement tracking[1] fits our philosophy. Google Analytics supports Google's mass tracking and I like the fact I have the option to run Plausible myself if I want.

Since our site is deployed on Cloudflare Workers, I had tried Cloudflare's Privacy Analytics but the dashboard data retention of just 1 week is insufficient. And unless you use their beacon, the network stats seem completely inaccurate.

[1] https://plausible.io/data-policy

I'm in the process of starting https://console.dev - a free weekly email digest of the best tools and new beta releases for developers.

I really enjoy trying new tools (APIs, products, SaaS, opensource, CLIs, libraries, etc) but it's difficult to keep up to date. You have to continually check Twitter, HN, Reddit, and loads of other forums and blogs. Console aims to pick out the best few each week and say we'll what is good/not so good about each one. No payment for inclusion.

Another open source tool that does something similar is https://k6.io/ which I have been using recently. Tests are written in JS and you can define thresholds such as % errors, P95 and P99 response time for specific request components e.g. blocking, receiving, waiting, etc. There is also a SaaS product connected to it for doing tests from locations around the world.

Moving large numbers of files - like the 50k of Google Photos the author mentions - can be done using https://rclone.org. Set up Google Photos as a source and then use the copy command to move it to a different location[1]. There are a lot of different commands which work with many different cloud storage systems e.g. sync everything one way locally to a backup, mount a FUSE filesystem, do two-way sync, etc.

[1] https://rclone.org/commands/rclone_copy/

Traceroute is fine for casual analysis but it is inaccurate and/or incomplete for anything serious because it misses routers that use load balancing on packet headers. For research purposes, it's better to use Paris Traceroute: https://paris-traceroute.net

Why should you use Paris traceroute?

Because traceroute fails in the presence of routers that employ load balancing on packet header fields. The failures lead to the discovery of inaccurate and incomplete paths, that may mislead operators during problem diagnosis and result in erroneous internet maps. Paris traceroute, by controling packet header contents, obtains a more precise picture of the actual routes that packets follow.

I moved my notes out of Apple Notes and into Markdown inside text files last year due to the bugs I encountered. This means I can sync them with whatever product I like (currently OneDrive) and open them on any system (currently macOS) with any app that can parse Markdown (currently iA Writer). It also means whenever any new app comes along, I can play around.

Usually what I want is something that loads very quickly and has a minimal UI that allows me to focus on writing, but also allows me to search all files quickly. iA Writer ticks all those boxes, and also has support for simple #hashtags so I can organise the notes.

Where things become more difficult is if the app adds a lot of custom functionality that is either specific to that app or adds lots of custom metadata to the files. Then you start to lose some of the above benefits, particularly cross-platform.

I looked at Obsidian but found the UI to be heavy and slow, and lots of extra functionality I wasn't interested in. I've tried a lot of apps[1] but always come back to iA Writer.

[1] https://davidmytton.blog/the-best-note-taking-apps-for-mac-m...

Note-taking seems to be a hot topic lately. I used Apple Notes for a long time because it was very lightweight and minimalist, but recent releases of macOS have been very buggy, so I decided to review all the options. I wrote this up at https://davidmytton.blog/the-best-note-taking-apps-for-mac-m... which has become one of the most trafficked post on my blog in the last few months!

The key for me is a) plain text files I can manage myself i.e. no database or mandatory custom sync; b) markdown.

Apps will come and go. You might decide to switch platforms and maybe a new editor will come along sometime. This means you want a format that can be opened by anything (plain text) but with lightweight markup that the editor can parse to make it look nice, but you can also parse with your eyes and get a reasonable sense of the document structure (markdown).

Then it's all about search. There's no point making notes if you can't find them. This is where something more than Markdown - that allows you to link notes - is handy. It's what is appearing more and more in the likes of Roam, Obsidian, etc.

I ultimately chose iA Writer on macOS because it is lightweight and really nicely designed, plus has good native support for Markdown. I sync using OneDrive but you can use anything because they're all individual files. iA Writer is also native, and I find most Electron apps to be slow and/or buggy. There are exceptions e.g. VS Code, but I prefer native where possible.

It's great to see new services that help consumers make choices about the products they buy. However, without details of the methodology being used to determine the carbon footprint, there is no way to gauge the accuracy of the service. These types of analysis are often quite inaccurate.

The Bloomberg article is paywalled. Their press release at https://enfuce.com/enfuce-launched-new-sustainability-servic... says:

My Carbon Action is based on a validated calculation method called Life Cycle Assessment (LCA), which has been developed together with D-mat, a Finnish consultancy experienced in lifestyle carbon and material footprint calculations. The calculation takes into account the environmental impacts of a product’s entire lifecycle from raw-material extraction, manufacturing and transport to use and disposal.

This is good but it doesn't actually say what the "validated" LCA is.

Consumer supply chains are notoriously complex. You need details of every element of the supply chain for every product to be able to properly calculate the LCA. This is why we get things like the assumption that local produce always has lower carbon emissions, which isn't always true[1], or switching from plastic bags to organic cotton totes, which are worse on many environmental measures[2].

This is a very complex area[3] and Enfuce need to release their methodology to demonstrate that their data is accurate. Lack of transparency of data is a major problem with sustainability claims of all kinds, something I wrote about this week at https://davidmytton.blog/sustainability-doesnt-work-without-...

[1] https://doi.org/10.1111/j.1467-7679.2009.00445.x

[2] https://www2.mst.dk/Udgiv/publications/2018/02/978-87-93614-...

[3] https://link.springer.com/article/10.1007/s10806-015-9591-6

Due to the bugs in Apple Notes on macOS 10.15 and iOS 13, I just spent some time evaluating as many note taking apps for Mac as possible. I ended up picking https://ia.net/writer

Typora was interesting but it was very buggy, and doesn't handle tags which are important for notes.

My main criteria were an open file format, ideally editing plain text files on disk using Markdown as the formatting. This ruled out apps like OneNote, InkDrop, Standard Notes and others.

If you don't mind about having a proprietary database so long as the data can be exported to Markdown, https://bear.app is my favourite so long as you're on an Apple device.

I will also be interested in https://nvultra.com/ once it comes out of private beta.

I published my full writeup today at https://davidmytton.blog/the-best-note-taking-apps-for-mac-m...

I'd like to suggest my company blog: https://blog.serverdensity.com

As an example, our frontend engineering team just wrote up a series of posts about implementing graphing in React, migrating from Redux:

- https://blog.serverdensity.com/time-series-charts-react-redu...

- https://blog.serverdensity.com/building-a-color-engine-for-g...

- https://blog.serverdensity.com/lessons-learned-implementing-...

And I wrote about recent backend changes to our time series storage: https://blog.serverdensity.com/time-series-data-opentsdb-big...

If you want to hand off all the hard stuff about monitoring and get some easy to use, core functionality (graphing, alerts, dashboards) then my company https://www.serverdensity.com has been going 7+ years now.

For highly sophisticated environments then https://www.datadog.com is a very advanced product.

Both are based off my original agent: https://github.com/serverdensity/sd-agent (DataDog forked it in 2010 and we forked them back last year).

We're also behind http://www.humanops.com trying to build monitoring that also helps you run on-call and ops teams generally in a way that considers fatigue, stress and the realities of the humans running IT systems! E.g. https://blog.serverdensity.com/introducing-alert-costs/ and https://opzzz.sh

Yes then it would be down to their consumers to split them out. However, the graphs Spotify show from Google's monitoring do not support this and they show the actual volume of messages as quoted in the article.

That doesn't match the graphs Spotify post in their blog post. If the batch gets split out into individual operations then Google still prices for each message and each message gets delivered to the consumer. If it's just a single message that'd show up as a single message as far as Google is concerned, which is not what the Spotify test is showing.

I could only write about pub/sub in this article because that's the only service we have a full enough set of numbers for. I hope Spotify will be releasing more stats in their future blog posts about the other GCP services they'll be using.