HNHacker News
TopNewBestAskShowJobs

petrzjunior

17 karma · joined June 1, 2022

submissionscomments
petrzjunior··on StreetComplete: Fixing OpenStreetMap, one tiny quest at a time
Adding to that: StreetComplete specifically creates only quests for information which must be checked in the terrain like opening hours, surfaces, traffic light sounds. Anything surveyable from maps and other sources should be edited using the web editors. OpenStreetMap iD is probably the easiest to learn.
petrzjunior··on How I fell in love with Erlang
I think the question is whether sort should return a new, sorted array or whether it should sort the array in place. In functional languages it is the former, in imperative the latter.
petrzjunior··on Introducing tmux-rs
It is rewritten to a different language and many people find Rust easier to read, it has better type hint support for IDE etc. Also, you do not lose all the safety, there are still many rules enforced, such as safe linking, no undefined functions. Unsafe Rust means that all parts of code which do illegal pointer magic are explicitly marked with an "unsafe" keyword. You can now go one by one and fix them.
petrzjunior··on Asynchronous Programming in C#
If the async methods return quickly, then yes, there is some overhead. But the point of asynchonous methods is that they can perform slow operations while yielding the calling thread back to the thread pool. For example Alpha might be reading a gigabyte file, Beta is sending it over the network and Gamma waiting for a timer tomorrow. Async/await is a syntactic sugar to run this in a pleasant way.
petrzjunior··on Postgres Language Server
JetBrains's IntelliJ and friends do that with language plugins. They detect the language according to keywords and patterns and are able to do highlighting and intellisense for multiple languages in a single file. I have not tried this with LSP though, because LSP support landed just in the last version.
petrzjunior··on Training open-source LLMs on ChatGPT output is a really bad idea.
I think that the article misses the point. Many people are using ChatGPT for creation of relatively small but high quality datasets, because it is very easy. Stanford created an amazing dataset for their Alpaca for just $500. If you are building a competitive model (such as Meta Llama), then you of course don't use ChatGPT-generated data, because you have the money to download the whole internet.
petrzjunior··on SaaS tools that get things done for tech startups
I'm a daily user of Papertrail. It's starting to grow too expensive for our team ($100/16 GB). Still I haven't found an alternative with instant text search and infinite scroll. The ability to quickly scroll through the logs has proven to be crucial to debugging critical problems. I'm having a hard time filtering through JSON logs in Grafana/Elastic search/cloud-native log engine.
petrzjunior··on Ask HN: Who is hiring? (June 2022)
NFCtron | Junior Frontend/Backend/iOS/Android Engineer | Prague, Czechia | Part-time ONSITE | Czech language required

NFCtron is a well estabilished fintech startup. We develop NFC cashless payment system, analytic platform and a ticket portal for festivals and long-term events. Currently participating in 300+ events in Czechia and slowly expanding abroad.

https://www.nfctron.com

Looking for: - Junior Frontend Engineer (React, Next.js, TSX, TailwindCSS): admin console, real-time sales dashboard, ticket portal

- Junior Backend Engineer (Node.js, Nest.js, TS, REST, PostgreSQL): REST API, SQL analytics, real-time data ingestion from POS devices, automated financing

- iOS/Android Engineer (SwiftUI, Combine, Flutter, Kotlin): POS app, NFC smartcards, end-customer app

Experience is welcome, but we are looking for young people looking for opportunity to grow. We built the technology stack from ground up and are now looking for a helping hand in our journey to the stars! https://www.nfctron.com/cs/kariera