HNHacker News
TopNewBestAskShowJobs

mbmjertan

67 karma · joined April 29, 2021

studying maths @ pmfzg, web @ infobip; prev. web @ infinum
submissionscomments
mbmjertan··on Acrobat is intrusive, slow and non-customizable
Acrobat Reader is one of the more poorly engineered programs I’ve used. And it recently asked me to sign in an account and give Adobe money to open a PDF??

Unfortunately I need to sign PDFs often (using an image of my physical signature or a digital certificate), and I haven’t used that didn’t suck more than Adobe in this. I haven’t tried Okular for this and Evince seemingly didn’t support this - but Preview (although an extremely great document reader in most regards) didn’t let me select an image of my signature, but asked me to either sign on the trackpad with my finger (how do you make that not look like you had nerve damage?) or show a picture of my signature to the webcam of my Mac so it would do extraction on it (which didn’t work at all after 20 minutes of attempting, but also why can’t I just select a photo??). Finally I figured out pdfjs in Firefox recently shipped image-based signing (still waiting on certs)

Of course, I could have edited the PDF in a better editor (GIMP even!), but.. why is such seemingly simple and common PDF work a horror show?

mbmjertan··on The AIpocalypse is here for web sites as search referrals plunge
I can’t find the measurement methodology for Brightedge’s whitepaper, which concerns me because the margin for error seems huge, but Cloudflare’s numbers do make sense.

Both are however in line with my personal experience and observations regarding how people around me are using the web now.

I find myself using web crawling in LLMs a lot more, and search a lot less. My reasoning follows, and I think most people would agree.

- When I’m looking for some relatively obscure information which I’m not sure where to find or which would require hours of research for me to find, I use ChatGPT (usually o3 with deep research) and refer to citations for more information regarding a topic. This saves me hours of investigating, which I usually don’t have for something that’s just a curiosity. A friend also used deep research to find papers highly relevant to a topic he was working on for his med PhD in minutes, claiming that just searching through PubMed to find such papers would take him days - and probably less successfully.

- When I’m looking for something specific in regards to a topic I’m relatively familiar with, I use search (usually Kagi, unless at work where it is banned!) to quickly find reference material.

- LLMs (and engines like Kagi) let you skip through the SEO spam you’d usually skip through when using Google, as well as letting you search more easily (due to better natural language understanding than classical query engines). The quality of search results had been diminishing for years (geeks4geeks ranks higher than SO on Google), so it’s not surprising people turn to tools which produce better results. It’s like being shocked that people are driding cars instead of riding donkeys.

A particular example is that I looked up a DTC that my car was throwing. I googled it first, and got a results page consisting of forums that said nothing, paywalled generated sites that also didn’t provide any info, scammy Scribd clones hosting diagnostic manuals for the wrong car model and ad-ridden garbage sites that just claimed “oh it could be anything, just take it to a mechanic”. ChatGPT gave me an exact (and correct) answer in seconds.

This is an expected result of what we have done to the web, and it should surprise nobody. I’m only sad that genuine, small online communities are dying in favour of walled gardens, but that’s an entirely separate discussion.

mbmjertan··on We moved from AWS to Hetzner, saved 90%, kept ISO 27001 with Ansible
Still, it’s highly location-dependent, and mileage varies drastically between countries.

I’m an SWE with a background in maths and CS in Croatia, and my annual comp is less than what you claim here. Not drastically, but comparing my comp to the rest of the EU it’s disappointing, although I am very well paid compared to my fellow citizens. My SRE/devops friends are in a similar situation.

I am always surprised to see such a lack of understanding of economic differences between countries. Looking through Indeed, a McDonald’s manager in the US makes noticeably more than anyone in software in southeast Europe.

mbmjertan··on What have we forgotten?
I am not surprised. A lot of people conflate GDPR with the well-intentioned but misdirected cookie directive.

A lot of people blame the EU for “forcing cookie banners onto the web”, while the GDPR solely demands that you ask for consent before storing data that’s outside of your core functional needs to operate the app/website.

The UX of those dialogs is largely a dark pattern because the law did not demand implementation details, yet people blame GDPR because businesses designed them to be a nightmare to use. Yet people applaud for App Tracking Transparency dialogs.

It’s ironic how the GDPR is painted as a villain.

mbmjertan··on Ask HN: What are you working on (August 2024)?
> can point me to where to find more about this

Sorry, I’m not too familiar with English-language literature on algorithm design. I just remember this from my uni course on it :)

I believe we used Introduction to Algorithms by Cormen et al. as the basis, so it should be covered in depth there - but I’m not too sure.

> that is rather an extreme example. i do not see the how it affects the validity of the solution in most cases.

This is a fair point, but also a distinguishing factor between a heuristic and exact approach to algorithm solutions to problems. Algorithmic solutions usually have theorem proof-level rigor for exactness. Also, I just used the easiest counterexample to come up with :)

mbmjertan··on Ask HN: What are you working on (August 2024)?
This reminds me heavily of Perusall, which we used for a course in university. Take a look at it for “inspiration” - it might be interesting :)
mbmjertan··on Ask HN: What are you working on (August 2024)?
Your solution is not an exact solution to the knapsack problem, but a (relatively well known) greedy heuristic approach towards the problem. It is a good approach towards a solution, but the knapsack problem isn’t as trivial as it seems.

For a counterexample, imagine you have a ton of items that have a weight of 10^-20 and value of 1, and a single item that has the weight of whatever is the capacity of the knapsack (so it’s only thing that fits if it’s inserted to the knapsack) and the value of +infinity.

All items have their cost ≈ 0, so whether you fit all of the “light but valueless” items or the single “heavy but extremely valuable” item depends on how you sort when costs are equal.

An improved heuristic would take the value into account more than just having it as a factor, but it’s not easy to design.

I would recommend finding an open course on algorithm design and analysis and going through the lessons while trying to extrapolate approaches to problems instead of just solutions to them.

mbmjertan··on Show HN: I built a tool to expand your network (that introverts will love)
I’m currently in the middle of my month-long stay in a new and unfamiliar city - and it’s been a challenge to meet new people, especially given how unapproachable we’ve all become in the past few years. Just last night, I was wishing for something like this to exist / looking to build something like it. Seems even more interesting given it’s not local, but a location-focused, less professionally oriented service would also be cool.

Kudos for building this! I’ve just signed up and seems amazing. Hope it delivers upon that expectation.

mbmjertan··on Hurl, the Exceptional Language
This is what IntelliJ does for Java. A problem is reported whenever you have a function that throws exceptions and isn’t caught in a caller anywhere in the project, and you can jump to implementation or calls easily.

However, exceptions that a function can throw are part of the function signature in Java unless they extend RuntimeException (and in that case your program won’t compile if you throw an exception without adding it to the signature). While the circumstances in Java make it much easier for IDEs to report uncaught exceptions, it’s a solvable problem for non-runtime exceptions using static analysis.

On the other hand, returning standardised Ok/Err-wrapped values seems like a simpler approach, both in terms of tooling support and developer convenience.

mbmjertan··on Safe Browsing Troubles
Yes, this is my personal website, and a post regarding that happening without seemingly any reason. Hence the title, "Safe Browsing Troubles".

I should've added more context in the description, probably.

mbmjertan··on Safe Browsing Troubles
Previous HN discussions claim this was an early concern: https://news.ycombinator.com/item?id=25805294

I do not see what has changed since, apart from Google having a larger budget for fines.

mbmjertan··on Reddit is OpenAI’s moat
Oh, that's a typo I didn't catch. Sorry for the confusion, I'm not a native English speaker so words slip once in a while.
mbmjertan··on Chat2DB: SQL client and reporting tool which integrates ChatGPT capabilities
Sad to hear that. It looked very promising (and an interesting concept, hence the sum ission) from the repo, but I haven't tried it out. Will check out the DBeaver plugin.
mbmjertan··on Reddit doubles down on criticism of 3rd party apps
> I think a deadline forces people, us included, to negotiate that.

They didn't seem willing to do so, though. Multiple devs have commented on the lack of communication from Reddit, and they didn't seem to budge when discussing with Apollo/Selig.

> It was never designed to support third-party apps

First-party apps didn't exist until they bought out Alien Blue, a third party client?

These statements seem like pretty obvious lies to anyone who's used Reddit for long enough. It makes me sad to see how their management dissolved into this, whatever this is. Sure, they've never been great, but these truly are new lows.

(I have deleted my 13-year-old account because of this, although I believe it won't impact metrics enough to have an effect. I just don't want to use a community-building site that doesn't care about its community.)

mbmjertan··on Reddit is OpenAI’s moat
Given that sama is a board member of Reddit Inc, and that this is happening after GPT-4 was trained on Reddit data, I wouldn't jump to conclude they're upset at OpenAI.

SO had publicly available, no-auth-required data dumps. This makes it difficult for them to know who is using their data. However, this surely isn't the case for Reddit who offered only API endpoints for this content, and I'm guessing you couldn't use .json to get the whole site (rate limits, etc). I wouldn't be inclined to believe that Reddit would miss a new major API user.

This is purely speculation disregarding Hanlon's razor, but I'm thinking that the API pricing comes down to killing two birds with one stone.

* Sama got to train his LLM on Reddit and some best-of-the-internet content there such as r/bodyweightfitness, informed discussions on niche topics etc for free. The catch-up players face prohibitive pricing.

* Third-party apps get killed, bringing the UX to Reddit's control. I think this is more important to Reddit than ad revenue, as they could've simply built an SDK for probably less than this PR nightmare will cost us.

* Their new development platform, however, hints at the Reddit app supporting serving "redditor-made apps" which "can be seamlessly reused between communities".

The description (and the idea to have apps in your app) weirdly reminds me of WeChat apps, and given that Tencent is a major shareholder in Reddit, I would consider the possibility that apps are something they're pushing. That idea has no chance of success without the UX being completely in Reddit's hands, even then it's questionable how it would work on Reddit.

Spez couldn't actually be that detached from Reddit?

mbmjertan··on Ted Kaczynski has died
It's difficult to reply to this without implying I'm defending Kaczynski or advocating for violence. I'm not - and I wouldn't like to be misconstrued here, as I'm replying about violence in general.

I would say that violence should never be the preferred solution, but that at times it's the only solution that has any chance of success. This is not to say that it's a "good" approach, or something you should enjoy doing. However, if you (or your people) don't have any other way to facilitate changes that are non-negotiable for you (such as your fundamental right to live being threatened), should you turn the other cheek? Is resorting to civil violence unacceptable in such situations?

We've had examples of civil violence bringing drastic changes when people's lives are being threatened by governments, hunger or societal structures. Notably, the French Revolution. Is it unacceptable for people to kill their king if they don't have anything to eat, and the queen tells them to eat cake if they can't eat bread? Depends on your moral stance. Would the issues that the revolution focused on change if people weren't violent? Highly doubt it.

Of course, I am not equating the French Revolution to the Unabomber: it's drastically different to kill innocent civilians with mailed bombs because of "principles" than it is to behead your king because you don't have anything to eat. Violence is the only reasonable choice in some (albeit rare) situations. The acceptability of it very much depends at what's at stake.

mbmjertan··on Show HN: I built an AI language teacher to get you speaking
Unfortunately speech recognition is very poor for Bosnian, and that seems to be the case here as well. I am not sure how usable it is for the described use case is, but given that it didn't understand 3/3 of my sentences at all, I wouldn't hold my breath yet.