HNHacker News
TopNewBestAskShowJobs

jviotti

394 karma · joined November 5, 2014

https://www.jviotti.com
submissionscomments
jviotti··on Learn Modern C++
From my own experience, it seems a lot and overwhelming at first, but it quickly becomes natural the more you use it, just like with any other language. Plus like others said, you don't need to use every single feature out there.
jviotti··on Understanding Objective-C by transpiling it to C++
Do you have a reference for this? Would love to include it in the post
jviotti··on Understanding Objective-C by transpiling it to C++
Author here. We do a LOT of Objective-C++ at Postman (https://www.postman.com), as our upcoming desktop framework is primarily C++.
jviotti··on Debugging the C++ standard library on macOS (2022)
Author here. Thanks for sharing! I have small collection of other Apple-related deep-dive articles that you might find interesting too, like:

- https://www.jviotti.com/2021/07/23/a-deep-dive-on-macos-univ...

- https://www.jviotti.com/2022/02/21/emitting-signposts-to-ins...

- https://www.jviotti.com/2022/11/28/launching-macos-applicati...

- https://www.jviotti.com/2022/02/24/attaching-lldb-to-product...

jviotti··on Cap'n Proto 1.0
If you are interested in learning more about binary serialization (for Cap'n Proto and others), I wrote two free-to-read papers extensively looking at the scene from a space-efficiency point of view that people here might be interested in:

- https://arxiv.org/abs/2201.02089

- https://arxiv.org/abs/2201.03051

Not something that aims to compete with Cap'n Proto (different use cases), but I've been also working on a binary serialization format that is pure JSON-compatible with a focus on space-efficiency: https://www.jsonbinpack.org.

Benchmarks here: https://arxiv.org/abs/2211.12799

jviotti··on Ask HN: Could you share your personal blog here?
Here is mine: https://www.jviotti.com. Random programming articles, some math ones, links to my research, etc.
jviotti··on Argentina raises interest rate to 97% as it struggles to tackle inflation
Very true. I'm Argentinean but have been living abroad for a very long time. Early on my career, I did freelance work, and indeed got paid in Bitcoins.
jviotti··on Ask HN: Do you use JSON Schema? Help us shape its future stability guarantees
I'm working on JSON BinPack (https://www.jsonbinpack.org) for precisely these use cases. It is a WIP, but hopefully will be ready soon.
jviotti··on Ventura Issues
One of mine: sometimes (50% of the times?) turning on my MacBook Pro for the first time leads to the Dock using very high CPU and making switching between desktops abnormally slow. The fix is to force-kill the Dock app, and make it restart again by itself.
jviotti··on I am done. I give up
It is not defeat and you did not fail. Running a business is incredibly hard, and I think the entire HN audience would applaud you for even trying and give you our support.
jviotti··on Ask HN: Learn C in 2023?
True. The author might enjoy studying something like OpenBSD (https://github.com/openbsd/src)
jviotti··on Ask HN: Learn C in 2023?
The language is only part of it. In my opinion, you would learn even more about C by consuming well-known libraries written in C and trying to do something useful with it and complementing that with some books, etc rather than just learning the syntax and semantics of C.

There are tons of useful/fun things you could do with C. Write some desktop apps with GTK, a web server with Mongoose (https://mongoose.ws), etc.

jviotti··on Ask HN: Programs that saved you 100 hours? (2022 edition)
Vim, and it probably saved me way more than 100 hours. I use for coding (C++/JavaScript), for writing academic publications (dissertation/papers) and for writing e-mail (through mutt).

I've used it so much that it is second nature at this point, and moving to any other editor without my ever growing set of macros, etc would significantly impact my productivity.

jviotti··on Ask HN: Is it still possible to live in a terminal?
I'm a very terminal heavy Engineering Manager and Technical Lead at a ~600 employees tech startup.

Slack is a tricky one and there are no decent terminal clients available, but I do a LOT of e-mail on mutt as my main client and could not be happier and write all my code in vim. I don't think you can "live" on the terminal, but you can still realistically use it to power a significant part of your work.

I second the need for a good Slack terminal client, or at least a service to proxy Slack to IRC or something like that. The Slack app is super slow.

jviotti··on Avoiding homework with code and getting caught
Congrats Alistair and Scott! This is an amazing story that made me remember my high-school days. As the authors, I was into programming from an early age, and high school definitely took the second place :) My grades ended up REALLY suffering when I got my first full-time role at a startup while I was 17 years old (parents approved) and on my last school year. Fast-forward many years and I don't regret a thing. I attended University of Oxford (despite my bad grades!) and I'm doing very well doing what I love.

Wish you both a very, very bright future!

jviotti··on Ask HN: How useful are code comments and documentation to you and your team?
While not strictly code comments, we heavily encourage very thoughtful commit messages. We manage a complex large project, and being able to read back and really understand the motivations behind subtle changes through commit messages has saved the day many times.
jviotti··on Ask HN: As a creator which creation of yours are you most proud of?
I recently published a tool to automatically upgrade JSON Schema definitions across versions of the specification: https://alterschema.sourcemeta.com.

It is a nice little utility that didn't take much effort to build yet seems to provide real value and receives quite some visits every day.

jviotti··on Show HN: Open API and GraphQL Fuzzing via GitHub Actions
Let me know once this is ready, so we can give it a shot inside Postman :)
jviotti··on What's the most portable way to include binary blobs in an executable?
The full example is sadly closed-source for now. That said, we are closely collaborating with the maintainer of PKG as part as the Node.js SEA initiative, and we hope to be kickstarting an experiment on refactoring PKG to use Postject pretty soon.
jviotti··on What's the most portable way to include binary blobs in an executable?
My team is working on this problem in the context of creating Node.js single-executable applications. While the naive approach of just appending data at the end of the binary works, it is not friendly with code-signature in macOS and Windows given that signing operates on PE and Mach-O sections.

We have recently open-sourced a small tool called Postject (https://github.com/postmanlabs/postject), which is able to inject arbitrary data as proper ELF/Mach-O/PE sections for all major operating systems (with AIX support coming). The tool also provides C/C++ cross-platform headers for easily traversing the final binary and introspect whether the segment is present or not.

The tool is based on the LIEF (https://github.com/lief-project/LIEF) project.

At Postman, we are making use of this on our custom Node.js single-executable applications and soon on our custom Electron.js builds too.

jviotti··on Ask HN: What do you do with your learning?
For some of the topics I really cared about, I wrote notes on my website. See the "Notes" section at the front page of https://www.jviotti.com.

For example, here are some notes on Automata Theory: https://www.jviotti.com/notes/automata-theory and CSP: https://www.jviotti.com/notes/csp.

I don't expect anybody to look at them though. The process of creating them gave me all the reward I was looking for at that point.

jviotti··on Show HN: Open API and GraphQL Fuzzing via GitHub Actions
Hi Dimitry, nice to see you around here! :)

This is really cool. How about a CircleCI orb too? Postman has plenty of micro-services with OpenAPI definitions that could really use this. My bet is that a lot of mature companies doing spec-first API development will be using more commercial CI providers than GitHub Pages.

jviotti··on Ask HN: Share your side project and your motivation
I'm building https://www.jsonbinpack.org, a novel schema-driven and schema-less binary serialization format with a strong focus on space-efficiency.

JSON BinPack comes from my research at University of Oxford trying to solve the problem of expensive cellular network data transfer in the context of the Internet of Things. The results are pretty good based on the benchmark research I published: https://benchmark.sourcemeta.com.

The idea is that if you build an IoT product that is deployed to remote locations (the middle of the sea, a remote farm, etc) and sends data back to central servers over cellular networks, then JSON BinPack would allow you to potentially save a lot of money.

I published a JS-based proof-of-concept and I'm now working on a production-ready C++ implementation.

Dissertation link: https://www.jviotti.com/assets/dissertation.pdf

jviotti··on Ask HN: Why should I trust password managers?
You don't need to trust them. I use "pass" (https://www.passwordstore.org), a simple CLI password manager that operates using a GPG key you control (which I have on a Yubikey). Then, you can upload the GPG-encrypted password store wherever your want in order to sync-up your passwords.
jviotti··on U.S. companies are hiring Latin America’s tech talent
Exactly. The key is being a great engineer, and there are great engineers everywhere. I guess my point is that at least anecdotally, average engineers in Latin America are notably beyond average engineers in Europe and North America.
jviotti··on U.S. companies are hiring Latin America’s tech talent
I think this article underestimates the difficulty of finding great talent in Latin America as a remote company. Everybody in Latin America wants to work remotely at foreign companies, yet few actually do in practice.

I was born and raised in Argentina, but studied and worked abroad (UK) and never was in the Latin American market. As an Engineering Lead at a London-based startup, I interviewed tons of software engineers who were applying remotely from all over South America and Central America. However, we didn't hire more than a bunch of Latin American engineers compared to dozens of Europeans and North Americans. The skill gap was pretty noticeable.

I've observed similar things with friends/family in South America which are into engineering. They find it very hard to be qualified enough to get offers from remote companies/startups.

jviotti··on U.S. surgeons transplant pig heart into human patient
> “If this works, there will be an endless supply of these organs for patients who are suffering,” said Dr. Muhammad Mohiuddin, scientific director of the Maryland university’s animal-to-human transplant program.

Which means we now think we have the right to kill as many pigs we want not only the eat them but to extract their organs to make humans live.

Is this really that different from just killing a random healthy human being to save other humans who need a transplant? We somehow think we are superior than any other animal in earth and have the right to do whatever.

jviotti··on Ask HN: Is it unprofessional to leave a new job where everything is a mess?
I'd argue its more unprofessional to lend your Senior-level software experience and expertise to a dysfunctional org that does not want to make an attempt to hear you out and improve things than to leave after 6 months.
jviotti··on FreeBSD Now Allows Hugs
I'm curious of what was the original reasoning behind banning virtual hugs in the first place. It sounds too specific to have been done arbitrarily. I wonder if a specific incident somewhat related to hugs happened on an old thread that caused the whole thing to get banned.
jviotti··on Launch YC S21: Meet the Batch, Thread #7
This looks interesting and as a non-native English speaker, I'd be open to pay for it if it fulfills it promises.

However, the fact that it is a mobile app only is quite annoying. Why can't I just use this on my laptop? Some of us are actually phone-less :)

← PreviousPage 3 of 4Next →