HNHacker News
TopNewBestAskShowJobs

mkaszkowiak

44 karma · joined June 2, 2021

A software developer ready to implement your next idea :)

My website and blog: https://kaszkowiak.org/en/ Contact me at: maciej@kaszkowiak.org

submissionscomments
mkaszkowiak··on Show HN: We post-trained a model that pen tests instead of refusing
What was your approach to benchmarking an adversarial agent?

This is an open problem that I came across (in a different domain), as the search space can be really wide. It's hard to measure results for non-trivial tasks.

Would be really interested if you can share your eval approach :)

mkaszkowiak··on Keep Android Open
Google is killing Android. Along with the side-loading changes, I'm losing the desire to keep using it, as it's no longer an open OS.

What's the point of those changes? Does Google want to maintain its revenue from Play Store? Feels like a bad long-term decision, especially when Apple is releasing excellent phones.

mkaszkowiak··on Show HN: Improving search ranking with chess Elo scores
Happy to see competition in rerankers! Good luck with your product.

My questions: what languages do your models currently support? Did you perform multilingual benchmarks? Couldn't find an answer on the website

mkaszkowiak··on Vector databases are the wrong abstraction
Easier to handle edge-cases - real examples:

- What if certain rows in a table don't need to be embedded?

- What if we use a single API key for embedding database rows and user queries and it hits a rate limit - how to prioritize user queries?

- What if some rows should be vectorized using a different model, depending on an external configuration?

mkaszkowiak··on Vector databases are the wrong abstraction
I agree with the author - introducing a vector database often isn't worth the extra complexity.

Personally, I can vouch for ParadeDB: https://www.paradedb.com/

It adds extra extensions to PostgreSQL which enable vector indexing, full text search and BM25. Works great and developers are helpful!

The major difference is that you must generate the embeddings by yourself, but I consider it an upside - to each their own :)

mkaszkowiak··on How good can you be at Codenames without knowing any words?
I've also thought about creating a Codenames bot: what if we could use semantic similarity to batch words together? Surely, this can be done using a prebuilt embedding model and clustering!

After some failed experiments - it performed worse than I thought it will - I've googled the subject, and... it turns out there's a whole paper about ML and codenames :)

https://arxiv.org/abs/2105.05885 (Playing Codenames with Language Graphs and Word Embeddings) - fun to read

mkaszkowiak··on Ask HN: What are you using to parse PDFs for RAG?
Glad to hear that :) Thanks for developing Marker!
mkaszkowiak··on Ask HN: What are you using to parse PDFs for RAG?
Thanks for answering! In my case, I don't directly use RAG; but rather post-process documents via LLMs to extract a set of specific answers. That's also why I've asked about deduplication - asking LLM to provide an answer from 2 different data sources (invalid unstructured table text & valid structured table contents) quickly ramps up errors.
mkaszkowiak··on Ask HN: What are you using to parse PDFs for RAG?
How do you combine the outputs? Wouldn't there be data duplication between unstructured text and tables?
mkaszkowiak··on Ask HN: What are you using to parse PDFs for RAG?
Did you encounter hidden costs when using Azure Document Intelligence? I processed some PDFs using the paid tier, but the resulting costs were way higher than expected, despite using a prebuilt layout model for only structured extraction. Have no clue what could cause it, no extra details on the billing page. Not sure if the price is misleading, or if it's a skill issue on my part :)
mkaszkowiak··on Ask HN: What are you using to parse PDFs for RAG?
For my use case, overall Marker seems to work pretty well - but it has issues with tables. Merged cells, misplaced headers, and so forth. I'm currently extracting Polish PDFs that are //not// scanned

When compared to Azure Document Intelligence, Marker is really cheap when self-hosted (assuming you fall under the license requirements), but it does not produce high quality data. YMMV.

mkaszkowiak··on Most of Europe is glowing pink under the aurora
This aurora was really powerful! I could see it with a naked eye from a town in central Poland, despite cloudy weather and light pollution. Feels great to finally see it in person
mkaszkowiak··on A drone that calculates coordinates using a camera and Google Maps
Surprised by the amount of negative comments. Kudos to the team! This is very impressive to accomplish in 24h with a 3-man team.
mkaszkowiak··on Ask HN: How many of you are self employed?
Thanks for the links! I'll read them :)
mkaszkowiak··on Ask HN: How many of you are self employed?
I still don't see how developing high quality software is related to one's personal viewpoint on taxes.
mkaszkowiak··on Ask HN: How many of you are self employed?
I agree that it's problematic, however:

> welfare/health care system is bad, taxes are not used well

There's a widespread lack of trust in the Polish government, which decreased even further during the 2015-2023 period. If the money is being funelled to the ruling politicians' families and friends, why willingly pay high taxes? I believe this is an underlying core issue, which would probably take a new generation to repair.

mkaszkowiak··on Ask HN: How many of you are self employed?
Good questions, no clue. The answer probably lies somewhere between a "badly designed tax system" and "stimulating growth of the IT sector".
mkaszkowiak··on Ask HN: How many of you are self employed?
Similiar laws are in Poland, except they're not really enforced.

It's really rare that the tax office would prove a company exists solely for tax optimization. The risk virtually drops to zero if one freelances after the hours and has legitimate invoices with other companies.

This often causes mismatch between Polish employees who wish to work remotely abroad, and for ex. employeers from the DACH region, where I've heard the laws are strictly enforced. One party claims there is no risk, and the other claims it's too risky :-) (taking other factors aside, such as employee protection, etc.)

mkaszkowiak··on Ask HN: How many of you are self employed?
How is tax optimization related to the quality of developed software?
mkaszkowiak··on Ask HN: How many of you are self employed?
Taxes.

Standard tax rate (on UoP) is 12% up to ~30k USD, the rest is taxed 32%. On top of that, the employer pays a social security fee, its rate rises proportionally to income.

As an one-person business, you have two most popular options:

- 12% flat tax rate on income, with a flat rate social security fee; (1)

- 19% flat tax rate on revenue. The social security fee is dependant on income, but it's less than on UoP. You can write off expenses in this scenario, so the actual tax rate is actually lower. People generally try to write off as much as they can - for example, the tax agency is OK with programmers buying multiple bikes as a means of "transport to clients" ;)

You can also write off VAT in both scenarios, effectively making a lot of major purchases (desks, chairs, phones, etc) way cheaper. There's also a 5% tax rate, called IP Box, but it's tricky and doesn't apply for every scenario, so I'm taking this aside.

With the employer spending 5k EUR per month (21,7k PLN), you're left with:

- 14,6k PLN on UoP

- 18,5k PLN on 12% tax

- 16,7k PLN on 19% tax, out of which you can potentially recover 3,9k PLN

It's easy to see why software developers choose to start a one-person business. It's worth to jump through the hoops to save on taxes.

(1) There are actually 3 levels dependant on income, but it's lower than the UoP fee for basically most software developers

mkaszkowiak··on Ask HN: 9-yo son wants to build a game, I'm lost. What can I do?
I've used and had fun with Game Maker at his age - not sure how it fares with 3D though, there might be better alternatives nowadays :)
mkaszkowiak··on Ask HN: (Over)hyped technologies that delivered
Smartphones immediately come to mind.
mkaszkowiak··on Google is apparently struggling to contain an ongoing spam attack
Meanwhile, my blog got some of its posts de-indexed in the latest Google update, despite trying to write high quality content.
mkaszkowiak··on Privacy is priceless, but Signal is expensive
> A 10Gbps link fully utilized (minus some overheads), translates roughly to 3 Petabytes per month, that's 36 petabytes per year, almost double their advertized amount of bandwidth needed for calls per year.

I understand this is napkin math, but shouldn't we consider that the load isn't evenly distributed? - in which case 50% average utilization seems extremely high

mkaszkowiak··on We’re opening up access to Gov.uk forms
This is good news, but aren't well-phrased questions a strong suit of Gov.uk forms? Other government departments might not be familiar with proper guidelines for form creation. Has this issue been approached? (curious, as I'm not British)
mkaszkowiak··on Giving up the iPad-only travel dream
iPads are often used by students for note taking, they seem to excel in this niche
mkaszkowiak··on Ask HN: Could you share your personal blog here?
https://kaszkowiak.org/en/blog/

Mostly about bike adventures and side projects :)

mkaszkowiak··on The hustle never ends and I'm so over it
An average programmer in Poland earns 18k PLN net monthly, which is around 14k PLN after taxes. This is 5 times the minimal salary - UoP after taxes equals to ~2709 PLN monthly. You can earn 6k even at an internship outside of Warsaw. This allows you to live in really comfortable conditions, no matter what city you're in.

In my opinion, Poland is one of best countries to be a programmer in Europe, due to the possibilities of overseas remote work, low costs of living and very low taxes. As for Germany - well, maybe someone else can chip in

mkaszkowiak··on Reddit appears to be restoring edited/deleted comments
Does this comply with GDPR?
mkaszkowiak··on CS:GO: From Zero to 0-Day
Have you even played CS:GO? Some of the modes aren't available on official servers - kreedz, aim maps, etc.
Page 1 of 2Next →