Better HN
topnewbestaskshowjobs
Log inSign up

TXV

282 karma · joined Apr 30, 2014 (12y ago) · 89 submissions

Full stack engineer working mainly with Go and Typescript.
Submissions

1.

Writing a fast cache service with millions of entries in Go(allegro.tech ↗)

2 points · by TXV · 6y ago · discuss

2.

Ask HN: Can you recommend a GraphQL server library for Go?

1 points · by TXV · 6y ago · discuss

3.

Tokei 12: a fast and accurate code analysis CLI tool and library in Rust(github.com ↗)

1 points · by TXV · 6y ago · discuss

comment 6y ago · link · parent

If you were never exposed to functional programming before, learning Haskell will give you a whole new perspective on how you write code, and I bet it will make you a better programmer just because of that.

With that said, in Europe I ever came across exactly zero job ads that require Haskell, and exactly one in Singapore. In North America / Bay Area it might be more common though.

5.

Lexical-sort, a Rust crate for sorting strings properly (and quickly)(github.com ↗)

2 points · by TXV · 6y ago · discuss

comment 6y ago · link · parent

Typetalk.

It also has a free tier up to 10 users, that retains the most recent 10k messages.

7.

Ask HN: Have you migrated from Go to Rust?

1 points · by TXV · 6y ago · 2 comments

8.

Ask HN: More about HN's mission: curiosity vs. indignation

2 points · by TXV · 6y ago · discuss

comment 6y ago · link · parent

It seems the only jobs listed here are from Bytedance

10.

China Has Two Paths to Global Domination(foreignpolicy.com ↗)

3 points · by TXV · 6y ago · discuss

11.

“Friends”: North Korean Novel Published in the US(nytimes.com ↗)

1 points · by _tjxd · 6y ago · 1 comment

12.

Batching vs. Latency, and Jobqueue Models(alberton.info ↗)

2 points · by TXV · 6y ago · discuss

13.

Coronavirus: Why Dutch [intelligent] lockdown may be a high-risk strategy(bbc.com ↗)

3 points · by TXV · 6y ago · discuss

comment 6y ago · link · parent

I write a lot of documentation. I do it not because others ask, but because I genuinely believe it is going to be helpful to someone at some point, and anticipate this need. So when Bobby from marketing asks about a feature, or Kate the junior dev can’t wrap her head about some algorithm, hey, I got them covered!

So I think this mindset is the first thing you need in order to get going. It will inspire you to write more and better.

Secondly, my practical advice is the following: divide your doc in sections. Plan them out beforehand by writing just titles and subtitles. See how they fit together, if their sequence makes sense. Rearrange them until they convey a clear story. Usually you might want to have three macro-sections: 1. Introduction - what is the document about, who is it indended for, and why it was developed. This helps set expectations right off the bat. You can also describe the big-picture goals of the system/feature. What is it used for. What are the main use cases. 2. System/Feature Overview: here you can describe the big-boxes architecture, the main components (apps, servers, middleware, db, whatever), what they do, and how they work together. Describe communication protocols and standards followed. Describe functionalities the system provides. You can follow up on the use cases you mentioned in part 1 and show how the system delivers them. 3. Technical Details/Implementation Choices: depending on the audience of your doc, you might want to document non-obvious design choices. This is also where might want to describe expected inputs and outputs. If it’s an API, describe the routes, accepted methods, paylods. Provide actual examples, as many as you can. Describe the data model.

Then as you follow this trace, you might find out you wrote a lot about a certain topic. Depending on the level of detail you want to achieve, break it down in smaller sub-sections, or move parts over to section 3.

As for the writing style, you might want a prose with short sentences and easy language. Make sure to explain stuff thoroughly and not take anything for granted. Everything that looks damn obvious today, won’t be 6 months from now.

Sorry if this looks like a stream-of-consciousness. It sort of is. I hope you can find some of it useful.

comment 6y ago · link · parent

Personally, I would still choose gin. Gin seems to be more straight to the point. To name one, compare goyave router.Route("PUT|PATCH", ...) with gin router.PUT() or router.PATCH(). Also I'm not a fan of adding a lot of functionality and opinionated behavior into web frameworks. e.g. configuration files that need to be in a specific place in my workdir, "automatic 404 when a database record is not found", etc.

But sure, if you want to get a server up and running from scratch very quickly for a POC or a simple API-over-a-database app, this lib might be a good starting point.

16.

It Pays to Be Rich During a Pandemic(theatlantic.com ↗)

15 points · by TXV · 6y ago · 2 comments

17.

Why I’d Rather Be in Italy for the Coronavirus Pandemic(theintercept.com ↗)

9 points · by TXV · 6y ago · 1 comment

18.

Show HN: Yet another Go mock code generator(github.com ↗)

2 points · by TXV · 6y ago · discuss

comment 6y ago · link · parent

Much of these hiring practices are just a self-perpetuating narrative. Just spreading the news that interviews at your company are hard is a way to discourage unqualified candidates. And candidates that don't want to put up with your (perceived) bullshit. Either way, the choice of playing the game is entirely on us.

20.

America’s Most Powerful Medical-Debt Collector(theatlantic.com ↗)

2 points · by TXV · 6y ago · discuss

comment 7y ago · link · parent

what stops these people from downloading mine or anyone's resume off LinkedIn and use that for their purposes? they wouldn't even need to bother contacting me first

22.

Ask HN: How to effectively deal with recruiters?

28 points · by TXV · 7y ago · 24 comments

comment 7y ago · link · parent

As the first stage of the interview, we give a take-home test with no constraints. We just ask them to put together some code that works with one of our public APIs.

I think this is decently respectful of the candidate's time, while giving us the opportunity to review some actual code written by them. And yet, most of them don't even bother... Well, I get that you are busy, but I don't feel comfortable investing time in an on-site interview without seeing any code first.

Disclaimer: If they provide a link to their github with some solid projects or OSS contributions, we skip the take-home altogether.

comment 7y ago · link · parent

> Conferences don't exist to convey information

I don't entirely agree with this. Many speakers talk about their experience with some technology or problem. If it's not presented as a sales pitch - which sometimes might happen -, it is definitely valuable to hear about real-world use cases. And then you even get to ask them questions at the end. It is an opportunity to share info and practices that you can hardly get in the same way from a non-interactive blog article or a forum thread.

> When people attend conferences, they're doing it to be seen

This might be true, and as you say, it's all business. I don't think this is necessarily bad (I'm not saying that you think so). Conferences are useful to meet people in person and expand your network, which is also very valuable. Maybe some do this as a deliberate calculation, some others are genuinely interested in socializing. That's all very fine. And ultimately if speaking at a conference has chances to improve my resume, why would I not go for it? It's all business, right?

> If you're at a talk that's truly unbearable, just tune out or walk out if it's that bad.

This is good advice. Overall I would say conferences are a decent tool for staying in touch with the community. Not all of them are bad, and not all speakers have inflated egos.

25.

Ask HN: Go modules and semantic import versioning

2 points · by TXV · 7y ago · 1 comment

comment 7y ago · link · parent

Me and my team have been using Backlog for quite a while now and it's truly refreshing https://nulab.com/products/backlog/

27.

An Exercise Program for the Fat Web(blog.codinghorror.com ↗)

1 points · by TXV · 7y ago · discuss

comment 7y ago · link · parent

> I don’t see what the big deal is TBH

The main issue is that Italy is part of the EU, and also one of its major economies. The argument about unfairness is absolutely not a joke. In fact, it’s the main point. Doing business in China as a foreign-owned company in many sectors of the economy is, simply put, a huge challenge, when not outright impossible. This is mainly due to opaque or protectionist regulations. State-backed competitors also make the market harder to penetrate since they will always win price wars. Then add lack of concern for intellectual property.

Chinese companies don’t have these problems in Europe. Not even close. They enjoy all the advantages of a (basically) free market, whereas the opposite is not true. This is where the “unfairness” is.

The EU has been trying to find some leverage against China to balance the scale for some time now, albeit our efforts have been mild. That’s because the EU doesn’t have a common foreign affairs strategy and individual member states are always more concerned with their internal politics to actually go figure out one.

So China can just come here, pick a country that can be easily enticed by the promise of bilateral cooperation and handsome investments, and all of a sudden the EU now has a member who will start voting against anti-China policies.

Without a unified will, the EU member countries don’t have the contractual power to demand and obtain anything from China. We will be an easy game for them.

123