HNHacker News
TopNewBestAskShowJobs

kamac

229 karma · joined March 15, 2015

submissionscomments
kamac··on Show HN: RemoteFriendly – A remote job board inspired by HN
The salary ranges are very misleading, unfortunately. For example, posthog will only pay 120k gbp for a senior full stack in London, while they’ll pay 220k usd for the same role in Seattle. Ramp also doesn’t pay 200k+ for roles based in EU.
kamac··on How Dwarf Fortress is built
The point in the article was to prefer composition over inheritance, which is sort of like using OOP “the right way”. It didn’t discourage OOP as a whole, nor do I think it should - making a game without objects would be a nightmare.
kamac··on Ask HN: Coping with cancer in the family
Absolutely. What I had in mind was that if you choose not to pursue treatment, make it a conscious decision and be aware of the consequences.
kamac··on Ask HN: Coping with cancer in the family
Whatever you do, don’t stop treatment. Follow the doctor’s advice, but at the same time use critical thinking, and seek a second opinion (from a doctor, not alternative medicine) when in doubt.

As for coping from her side - be understanding, encouraging and accepting. If she loses hair, or gets bad skin - don’t make it a big deal.

kamac··on Docker as an Integrated Development Environment (2019)
To add maybe one more point to this - it’s so much easier to run parts of the pipeline for devs who aren’t familiar with the environment. It can also serve as a documentation for what’s required to develop.
kamac··on Docker as an Integrated Development Environment (2019)
Won’t setting up a k8s cluster require writing resource definitions? I imagine you’d need to write a statefulset. How’s that better than writing a docker-compose? I’m not sure how vscode does it, but it allows you to publish ports in real time as well.
kamac··on Docker as an Integrated Development Environment (2019)
I agree, the title of the article is a bit misleading. In general, you’d still need an IDE installed on the host machine, which can then connect to a runtime on the container. With VS Code and remote containers, it’s quite easy.

Alternatively, maybe it’d be possible to have the container expose an IDE over http (possibly vscode through the browser?).

kamac··on Docker as an Integrated Development Environment (2019)
Yep, I use it. There are two tricks to mitigate this:

1. Using a :delegated or :cached flag when using a bind mount can speed it up a bit

2. For folders that need a lot of RW, but don’t need to be shared with the host (think node_modules or sbt cache), I bind a docker volume managed by docker-compose. This makes it extremely fast. Here's an example: https://gist.github.com/kamac/3fbb0548339655d37f3d786de19ae6...

kamac··on Effect of exercise training for five years on all cause mortality
The takeaway from this, if you're lazy like me:

> In line with this, observational studies suggest that exercise has a statistically significant preventive effect on premature all cause mortality with active individuals showing up to a 72% lower risk of premature mortality from all causes compared with inactive individuals

kamac··on Luau: Augmenting Lua’s Syntax with Types
True, there’s some pain involved for the developers. The migration could happen over time, like unity3d did by deprecating scripting with boo.
kamac··on Luau: Augmenting Lua’s Syntax with Types
Why would they create their own obscure solution? I imagine LUA is very easy to run sandboxed, but I can’t shake the feeling roblox would be better off integrating scripting with JS. It would come with powerful typing via typescript, a great tooling (along with a type checker), and a lot of resources available online.
kamac··on Ask HN: What does your ML pipeline look like?
> By downloading something at startup, you're breaking that contract implicitly.

Nitpicking here, but if you can ensure that certain version is downloaded, then the contract isn't violated.

kamac··on Go 1.12 Release Candidate 1 is released
Here's the list of changes: https://tip.golang.org/doc/go1.12
kamac··on How Space and Time Could Be a Quantum Error-Correcting Code
I think anything can be portrayed to the popular audience. Other comments here explaining the terms used in the article suggest that this is possible. The only problem is that some fine information would most likely be lost with a simplified explanation.
kamac··on How Space and Time Could Be a Quantum Error-Correcting Code
Wow that was a tough read for a layman like me.

> [...] after the renowned physicist Juan Maldacena discovered that the bendy space-time fabric in its interior is “holographically dual” to a quantum theory of particles living on the lower-dimensional, gravity-free boundary.

What does "holographically dual" mean?

What boundary are we talking about here?

> The bendy fabric of space-time in the interior of the universe is a projection that emerges from entangled quantum particles living on its outer boundary

What is the "interior" of the universe? What is the "outer boundary"?

kamac··on Six Degrees of YC Separation
> Hiring people that have a track record of taking projects from inception to delivery and who actively seek out projects to own is critical

Doesn't that regard the first few early hires (who'd take some form of senior/management positions later on)? For me a person who delivers projects means somebody who's very involved in the process; somebody that calls significant decisions about the product.

Should all hires be like that? Isn't being able to execute the tasks you're assigned enough?

kamac··on Javascript: call functions without using parentheses
facebook's relay uses it to find and compile graphql queries

https://facebook.github.io/relay/docs/en/query-renderer.html

kamac··on OpenAI Five
Would be interesting to see if when one agent declines to help another several times, the other one would decide against helping him when he calls. The logical explanation would then be that the agent would come to value his life more than his comrade's (because he is helping, and his comrade has refused several times). The human explanation would be that he refuses to help out of spite. It could even lead to those two agents "hating" the other, though it would be more like cold calculation.
kamac··on From Java to Go, and Back Again (2016)
In the latest Unity version (2018) you have access to C# 6 (stable) and .NET 4.6.
kamac··on Flask 1.0 Released
I'm sorry, it's been a long day and I apparently can't read anymore.
kamac··on Flask 1.0 Released
This reference to buildasaasappwithflask.com deserves a disclaimer (I assume you're the author - the initials match)
kamac··on Show HN: Slate-md-editor – A markdown editor that allows live editing
I kind of can relate, as my last project was finished just after the "Run SQL on CSV and TSV" submission popped up, and my project was the same thing but for XML. So have a star (:

Also, I like the way your dashboard looks like (judging by the screenshot on your website).

kamac··on Show HN: Slate-md-editor – A markdown editor that allows live editing
But raw editing with live preview gives me the same feedback, doesn't it?
kamac··on Show HN: Slate-md-editor – A markdown editor that allows live editing
It's working as I'd expect it to, which is good. The only problem I have with it is how it slows down when there's much markdown.

For casual editing though, I still prefer working with a raw markdown file with a live preview. Simply because I feel like I have full control over styling. I can remove bold from text without removing the text itself.

kamac··on Show HN: Run SQL statements on XML
Actually no, it was just a coincidence that it was here on HN a few days before I decided to share AskXML. My project was inspired by lack of tools to query stackexchange's data dumps effectively. :)
kamac··on Show HN: Guilded – build and organize online gaming teams
I've seen it before and I think it looks slick. I have one suggestion or maybe observation. Finding a team currently requires to manually apply by browsing through the list. Whenever I see a team with one member inside (and that's how many teams look loke), I don't feel like applying, because there's got to be something off about it, right? So I don't apply. And then, there's this thing where I would have to apply to several teams at once, which makes me kind of uncomfortable.

Do you have any plans for automating this process? Tinder for team finding, maybe? (:

kamac··on TextQL: Execute SQL Against CSV or TSV
Thanks! About fitting into memory; the way the library currently works should technically work even on very big files, as the XML is iteratively converted into a SQL database. You can choose whether you want that database to be in a file or in memory. The only thing that could break right now is synchronizing back to XML after having made changes with UPDATE or INSERT statements, because I'm not paging results.
kamac··on TextQL: Execute SQL Against CSV or TSV
Ha. Shameless plug, but just about a week ago I started to work on a somewhat analogous thing. Executing SQL on XML [1]. I came up with this idea after trying to use stackoverflow data dump and finding out it was stored as XML. I wanted to run queries with LIKE operator on it.

[1]: https://github.com/kamac/AskXML

kamac··on Show HN: HN Domain Leaderboard
I'm interested in this as well. Since only top 106 are tagged, it's possible it was done by hand?

edit: nevermind, it's only showing categories for top 106 domains, but if you set the period to 1 year, you can tell that there are more tagged domains. And it's not always 106 domains.

kamac··on Show HN: Launched my first app where people hum songs for others to guess
This already exists [1], although I'm not sure how accurate it is.

[1]: https://www.midomi.com/

Page 1 of 3Next →