HNHacker News
TopNewBestAskShowJobs

komuW

915 karma · joined August 15, 2017

Just another random human being.

https://www.komu.engineer

work: https://dushed.com email: komuw05 @ google's mail thingy .com

submissionscomments
komuW··on Not a Wheelchair [video]
there's a Kenyan guy[1] who makes electric wheeelchairs out of recycle laptop batteries.

and it has some nice off-road capabilities.

I can't find his website but he appears to be active on instagram[2]

1. https://www.bbc.com/news/av/world-africa-49528426/kenyan-inn...

2. https://www.instagram.com/linccelltechnology/

komuW··on The Go runtime scheduler's way of dealing with system calls
> Unfortunately our current go build model hasn't followed solaris/macos approach yet of calling libc stubs, and uses the inappropriate "embed system calls directly" method,

Go, as of version 1.12,uses libSystem in Darwin to make syscalls.

1. https://golang.org/doc/go1.12#darwin

komuW··on Tesla Cybertruck
The Citroen Karin[1] concept car has come to life.

1. http://www.citroenet.org.uk/prototypes/karin/karin.html

komuW··on Ask HN: How did you acquire your first 100 users?
knapsack[1] and knapsack_pro[2] are both under MIT license and seem to have the same code. How do you keep companies/people from using the pro without paying?

1. https://github.com/ArturT/knapsack

2. https://github.com/KnapsackPro/knapsack_pro-ruby

komuW··on What Is Zig's Comptime?
quite clever and pretty powerful, you can even use it to come up with generic constraints/concepts/contracts in userland without language support. Something along the lines of:

    // A generic Max function that only works for Float & Ints
    fn Max(comptime T: type, a: T, b: T) T {
        switch (@typeInfo(T)) {
            .Float => {}, // all floats are ok
            .Int => {}, // all ints are ok
            else => {
                @compileError("Max not allowed for type: " ++ @typeName(T));
            },
        }

        return if (a > b) a else b;
    }
komuW··on Show HN: Dragonboat – a high performance multi-group Raft library
looks really great
komuW··on Grafana Loki – Like Prometheus, but for logs
I believe you can.

I asked myself that question over the past few months and ended up building a proto-type logging pipeline using Postgres/TimescaleDB.

I wrote about it in a blogpost; https://www.komu.engineer/blogs/timescaledb/timescaledb-for-...

komuW··on Ask HN: What are some of the best technical talks you've heard?
1. Why Do Keynote Speakers Keep Suggesting That Improving Security Is Possible? - James Mickens https://www.youtube.com/watch?v=ajGX7odA87k

2. James Mickens on JavaScript - James Mickens https://www.youtube.com/watch?v=D5xh0ZIEUOE

3. Creating containers From Scratch - Liz Rice https://www.youtube.com/watch?v=8fi7uSYlOdc

4. 2013 Isaac Asimov Memorial Debate: The Existence of Nothing - Panelists: J. Richard Gott, Jim Holt, Lawrence Krauss, Charles Seife, Eve Silverstein. Moderator: Neil deGrasse Tyson https://www.youtube.com/watch?v=1OLz6uUuMp8

5. 2016 Isaac Asimov Memorial Debate: Is the Universe a Simulation? - Panelists: David Chalmers, Zohreh Davoudi, James Gates, Lisa Randall, Max Tegmark Moderator: Neil deGrasse Tyson https://www.youtube.com/watch?v=wgSZA3NPpBs

6. Zig: A programming language designed for robustness, optimality, and clarity – Andrew Kelley https://www.youtube.com/watch?v=Z4oYSByyRak

7. Concurrency Is Not Parallelism - Rob Pike https://www.youtube.com/watch?v=cN_DpYBzKso

komuW··on Go 1.11 got me to stop ignoring Go
> Even better, it lets you very easily drop into those dependencies and add minor changes or debugging lines if you need to. This can be incredibly useful if you're trying to understand how one of them works or think that that you might have found a bug and trying to verify or patch it.

You should totally check out Roger Peppe's gohack[1] It enables you to do the same in a Go modules world

https://github.com/rogpeppe/gohack

komuW··on Flutter Release Preview 2
This has also been my experience thus far.

The devs in the dart[1] and flutter[2] gitter chatrooms are even faster at responding to questions, in my experience.

1. https://gitter.im/dart-lang/home

2. https://gitter.im/flutter/flutter

komuW··on Serverless: Cold Start War
Some of the problems are easily solvable. I use up[https://github.com/apex/up] which is an open-source serverless framework to solve them.

a. it is possible to have multiple environments[https://up.docs.apex.sh/#configuration.stages]

b. you can run code on your machine[https://up.docs.apex.sh/#commands.start]

c. regarding vendo lockin; alternative serveless providers(apart from aws) are planned [https://github.com/apex/up/issues/4]

d. You're contributing to centralization of wealth and power instead of helping small companies and small open source projects. up is open-source but also has a paid plan[https://up.docs.apex.sh/#guides.subscribing_to_up_pro]

e. It takes the fun out of coding. I'm not sure about that.

komuW··on What else is in Go 1.11?
If you want to disable test caching, you can still do; go test -count 1

if you want to rebuild without cache; go clean -cache && go build

komuW··on Top Mistakes and Learnings from My Startup: Postmortem Samsamia
''The standard academic essay style in the United States is:''

Not everyone is in/from the USA. And not everyone cares about standards from the USA.

Communication can still be effective without following made up standards by one country.

komuW··on ReasonML – React as first intended
This reminds me that all those points would apply to dartlang
komuW··on Ask HN: How are you building cross-platform (mobile and browser) apps?
I'm using flutter [1] which uses the dart programming language. I'm loving the static typing of dart, hot reload of flutter, very good debugging tools. Also the fact that layout/ui and logic are all laid out in code and not in a separate markup lang

1. https://flutter.io

komuW··on Another flaw in Signal desktop app leaks chats in plaintext
Is there a linter that can catch this kind of mistakes?
komuW··on Amazon threatens to suspend Signal's AWS account over censorship circumvention
Cloudflare is against domain fronting https://arstechnica.com/information-technology/2018/04/googl...
komuW··on Fast website link checker in Go
There's mage.

https://github.com/magefile/mage

komuW··on Ask HN: Side project you're working on?
1. Meli, a docker-compose alternative.

2. kshaka, a Go implementation of the CASPaxos consensus protocol.

1. https://github.com/komuw/meli.

2. https://github.com/komuw/kshaka

komuW··on Union Types in Flow and Reason
I wonder how the dart to js compiler would do
komuW··on A Gentle Introduction to Rust
As a Go dev that learned programming via Zed Shaw's learn python the hard way, I have to say this tutorial made me want to learn rust. I've bookmarked for later, once I'm done learning dart/flutter.

Thanks Donovan

komuW··on Cluster and app management services in Docker Cloud are shutting down on May 21
Interesting. Is there a blog post where i can read more about this?
komuW··on Ask HN: How did you start your business?
Allen, thanks for your work.

I used to read indie hackers once every 2weeks. I would go to the site and read the latest 6 or so interviews.

With the new sortable view, i can't sort by recently added. I can sort by recently updated, but that isn't the same thing. Could you add a sort by recently added?

komuW··on Ask HN: What stack you use to build websites?
Hi,

1. Apart from the startup latency i haven't noticed much of a big difference between up/lambda and a live server. And lambda will keep your function warm for AFAIK, 1hr, so if your app has lots of traffic you never experience startup latency.

2. Up is open source, if they close their biz, I'd just continue using their code. I haven't used up pro yet.

3. Up has been around for probably under 1yr so you may not see a lot of testimonials yet. It is made by tj(the same guy who made expressJS, the nodejs web framework among other softwares)

You can direct more questions ; https://up.docs.apex.sh/#links

komuW··on Ask HN: What stack you use to build websites?
Language: Go,

Framework: https://github.com/apex/up

Hosting: AWS lambda

I can't speak highly enough of up, it's amazing for creating serverless(sic) apps without changing the way you structure your app. I also use up for some python apps

komuW··on ACME v2 and Wildcard Certificate Support is Live
Shameless plug, I created sewer[1], which is a letsencrypt client that you can use both as a (minimalistic) python library or as a command line application. And I just added ACME v2 support. Check it out,

1. https://github.com/komuw/sewer

komuW··on Golang Developer
I developed meli[1], which is a docker-compose alternative.

1. https://github.com/komuw/meli

komuW··on Let's Encrypt tls-sni-01 disabled due to credible vulnerability report
Last year I made a letsencrypt client[1] that only supports DNS mode of validation.

It currently only supports cloudflare and AuroraDNS, but it is very easy to use any other DNS provider[2]

1. https://github.com/komuw/sewer

2. https://github.com/komuw/sewer#how-to-use-a-customunsupporte...

komuW··on Ask HN: What did you work on in 2017?
I created meli[1], which is a faster alternative to docker-compose.

I also created sewer[2], which is a letsencrypt client library and command-line application.

In 2018, I want to create a highly available, fault tolerant, strongly consistent and durable messaging broker/queue. yeah, I'm aiming big.

1. https://github.com/komuw/meli

2. https://github.com/komuw/sewer

komuW··on A Raft Implementation for Erlang and Elixir from RabbitMQ
This video by RabbitMQ's lead developers on implementing Raft in RabbitMQ[1] is also good.

1. https://www.youtube.com/watch?v=w-_1Wwymk58

← PreviousPage 2 of 3Next →