Better HN
topnewbestaskshowjobs
Log inSign up

mjkpl

68 karma · joined Nov 3, 2016 (10y ago) · 19 submissions

twitter: @mjkonarski
Submissions

comment 5y ago · link · parent

From the article, the fragment about the SF2 sidemount rebreather:

> There are only a few of these computer-controlled devices in the world.

From quick googling I found out that this type of rebreather is "certainly the most popular Sidemount rebreather in the world." [1]. It is relatively inexpensive also (7k EUR). Why are there only a few of them in the world then? Is he talking about some special, modified type of it?

[1] https://www.divestock.com/scuba-force-sf2-sidemount-rebreath...

2.

Payment card reader made from recycled ocean plastics(independent.ie ↗)

1 points · by mjkpl · 7y ago · discuss

3.

Thomas Cook Flying Programme(caa.co.uk ↗)

2 points · by mjkpl · 7y ago · discuss

4.

Almost every single day I TLDR(github.com ↗)

1 points · by mjkpl · 7y ago · discuss

5.

Spotify vs. OllyDbg (2009)(web.archive.org ↗)

2 points · by mjkpl · 7y ago · discuss

comment 7y ago · link · parent

Out of curiosity - from a legal perspective, is it fine to publish outcome of reverse engineering? I'm always sceptical before doing so myself.

7.

How to Land a 'Completely Uncontrollable' Passenger Jet(wired.com ↗)

3 points · by mjkpl · 8y ago · discuss

8.

Git aliases I can't live without(mjk.space ↗)

2 points · by mjkpl · 8y ago · discuss

9.

Git aliases I can't live without(mjk.space ↗)

4 points · by mjkpl · 8y ago · discuss

10.

I got infected with malware and appreciated by its author(mjk.space ↗)

1 points · by mjkpl · 8y ago · discuss

11.

I got infected with malware and appreciated by its author(mjk.space ↗)

3 points · by mjkpl · 8y ago · discuss

12.

We made a multiplayer browser game in Go for fun (2017)(medium.com ↗)

4 points · by mjkpl · 8y ago · discuss

13.

Advanced SQL – Common Table Expressions Easy Explained(mjk.space ↗)

4 points · by mjkpl · 8y ago · discuss

14.

Advanced SQL – window functions(mjk.space ↗)

5 points · by mjkpl · 9y ago · discuss

comment 9y ago · link · parent

Yes, you're right. I was somehow convinced that this is possible. Which is BTW not a good idea anyway (or at least I really don't like similar concept in Ruby - monkey patching).

Do you know why Go authors decided to put method definitions outside types definitions? Technically I don't see anything to stop the syntax from supporting the otherwise.

comment 9y ago · link · parent

Hi, author here. Thanks for your opinion.

> 1. On a daily basis I work in a 200k LOC Ruby project and to me from that perspective lack of static typing is a minefield ;)

> 2. Since I have finally learned how to do proper composition (~a year ago) I haven't use the inheritance even once. Of course, you may say that my project is special, but I can't help feeling that inheritance is often overused.

> 3. Yes, I've also come across opinions that Go's channels are too low level to be used in a large commercial project. But still, as a concept I find them interesting.

> 4. True. But, you can have one goroutine that'll just "guard" that resource and communicate with it from many places using one shared channel.

> 5. TBH I've seen more flame wars about the "space vs tab" thing ;) As I mentioned in the article I don't think that's the best error handling pattern ever invented, but I just like the concept of treating errors as regular return values. IMO it's good to have it at the back of your head, regardless of the language you use.

17.

Things about programming I learned with Go(mjk.space ↗)

143 points · by mjkpl · 9y ago · 153 comments

18.

How to avoid inheritance in Ruby?(mjk.space ↗)

1 points · by mjkpl · 9y ago · discuss

19.

We made a multiplayer browser game for fun to learn Go(blog.u2i.com ↗)

9 points · by mjkpl · 9y ago · discuss