HNHacker News
TopNewBestAskShowJobs

mvolfik

796 karma · joined December 13, 2020

https://mvolfik.github.io

[ my public key: https://keybase.io/mvolfik; my proof: https://keybase.io/mvolfik/sigs/VJT0Utkifb_Y2h3hM7OYj50eT4rBTTmCAGhVg_1q7uw ]

submissionscomments
mvolfik··on Slow software for a burning world
Hm, what does this say about the site in general? I understand that you disagree with the moderation guideline choices, but how does this "figure out" the whole site in your mind?
mvolfik··on o3 frequently fabricates actions it never took
I really wish this blew up more. I really don't think OpenAI (or any business, for that matter) should get away with releasing a technology with built-in behavior to deceive users using blatant lies, in order to look capable. Unfortunately, I'm afraid 98 % of people won't know and accept this as a step forward, which, for me, it is absolutely not.
mvolfik··on We got hit by an alarmingly well-prepared phish spammer
Not GP either, but this. To name a specific provider, I use improvmx.com. They have a generous free tier, I eventually switched to some low paid tier. Not affiliated, happy user.
mvolfik··on Boardgame.io: an engine for creating turn-based games using JavaScript
10 months ago, there was also Boardzilla (https://www.boardzilla.io/) posted here: https://news.ycombinator.com/item?id=39180953 . Curious to see how these two compare
mvolfik··on Ask HN: What's Prolog like in 2024?
If you are interested in small fun stuff, SWI-Prolog has network libraries. Just recently, I implemented a network gomoku (5-in-a-row) game in it for my school project: https://gitlab.mff.cuni.cz/volfmat1/prolog-network-gomoku. Turns out you can also write quite imperative-style code with it :D
mvolfik··on Scammed by the top result for 'Bitcoin wallet' in Apple App Store
I was replying to the claim that Google is good at protecting from scams.

Also, it's not in my "preferred videos", they are paid ads, and they appear to many people, maybe it wasn't so clear from my comment

mvolfik··on Scammed by the top result for 'Bitcoin wallet' in Apple App Store
> Google protects you from fraud and scam better than anyone

I have to disagree. Czech Youtube is currently full of scam ads with photos (and sometimes even bad deepfakes) of Czech president and other public figures, supposedly endorsing some investment product that yields you like 50% profit. I keep reporting these, and I know some people who do too, but ~80% of those reports get handled as "we determined no violation of our rules".

mvolfik··on On being listed as an artist whose work was used to train Midjourney
I think a good reason to be more worried about A is outlined in this sibling thread: https://news.ycombinator.com/item?id=39017576 - humans have limited capacity, AI models are able to produce content at unmatched speed and quantity
mvolfik··on Doing laundry on campus without a phone
I don't understand why this is being downvoted, from my casual observations I think pretty much the same. Every day when I step out of my social bubble of people daily working in/with IT, I get reminded that so many things that I consider obvious are a puzzle to the common folk
mvolfik··on Rust devs push back as Serde project ships precompiled binaries
I'm quite ambivalent on this issue overall, but let me just point out:

build.rs absolutely is a glaring security hole in the sense you say, but compared to that, this is much worse. You can verify the build.rs code that you download (at least in theory, and some people in banks or distro packages probably actually do), but binaries are orders of magnitude more difficult to inspect, and with the current Rust build system pretty much irreproducible.

mvolfik··on Ask HN: What boosted your confidence as a new programmer?
nand2tetris often comes up on HN. I like to link to a similar, fully in-browser game which I think achieves the same: https://www.nandgame.com/ (no affiliation, I just really liked it)
mvolfik··on Ask HN: Any hardware startups here?
I was briefly interviewing with hardwario.com, a small Czech startup focused on industrial IoT built on open-source technologies. They are starting a new Rust project, and they seem to be doing pretty good!
mvolfik··on How to spend money on your friends without it looking like bribery
This was a thought provoking short post without much advice on how to approach this. I'm dealing with this personally quite a bit now - just starting my college, but alongside I already have a (compared to my peers) well-paid SWE job. I would love to go traveling this summer and take some of my closest friends with me, but just offering to pay for majority of the expenses felt... weird? Just as described in the article. Also, with traveling you can't really apply the point about owning/renting - one doesn't simply own a train.
mvolfik··on “sync,corrected by elderman” issue in ML translation datasets spread on internet
I can't find the true origin of this, but (unless I'm missing some old internet joke) it seems like some language models have some corrupt training data frequently including a string like "== sync, corrected by elderman ==". Now searching for this phrase yields a ton of random results occurring in places where you would expect automatically translated spam. Some interesting mentions I found:

- it historically appeared in autotranslated game chats in Arena of Valor game https://www.reddit.com/r/arenaofvalor/comments/btykru/commen... - mention on GitHub repo of a translation model https://github.com/Helsinki-NLP/Opus-MT/issues/62

I'm curious to see if anyone else has interesting encounters with this

mvolfik··on Poste.io – Complete Mail Server
I'm a happy user of ImprovMX.com - used it for free for a long time, now paying some 30$/year. Delivery is pretty much instantaneous, and I had only very few mails not being delivered (and there was a legitimate issue on the sender side, so ImprovMX was rejecting it).

But I'm not really satisfied with the sending side of things - my plan doesn't include the feature, and sending via Gmail is enough most of the time, but setting up each alias manually in Gmail is quite annoying.

mvolfik··on Rust's Ugly Syntax
I don't think that's true - .collect[Vec[u8]]() - here you might be accessing property collect and taking the value at index denoted by the item of Vec at position denoted by the variable u8. And at the end calling the resulting thing? (That's not actually valid in rust afaik, you'd have to wrap it in parentheses like this `(...collect[])()`)
mvolfik··on Rust concepts I wish I learned earlier
I don't think the comments mean to say the list is useless. It's a nice overview and I learned a few things as well. However, having written non-trivial amount of code in Rust, it really struck me at how many places there are various factual errors (however small they are). And yes, Rust is a complex lang, but if you mix terms like this without noticing the differences, I'm afraid that will make it easier.

To add an example of my own:

    fn do_the_meow(meower: Meower)
seems like you want to take (consume, own) an object implementing Meower, which is correctly explained not possible like this. A suggested solution,

    fn do_the_meow(meower: &dyn Meower)
is very different - it is now correct with regards to a trait access, however, now you're just taking a reference. Correct replacement would be Box<dyn Meower>. And the final solutions,

    fn do_the_meow<M: Meower>(meower: M)
    fn do_the_meow(meower: &impl Meower)
the first one is correct and equivalent to the original intent - it takes (owns) the value. However, the second variant (which is, again, as correctly stated, the best solution), is different again - it takes a reference (`&`) to `impl Meower`.

Coming back to my point - it is important to separate the difference between the ampersand and the impl/dyn part. To suggest an improvement, one could first write all variants of this function taking a reference (`&Meower`, `&dyn Meower`, `&M` and `&impl Meower`), and later introduce the difference between where one can use sized/unsized types, and that Box<dyn Meower> is owned equivalent of &dyn Meower, and why one can't have owned `dyn Meower` just lying around.

mvolfik··on Wizards of the Coast Trying to Retroactively Cancel OGL 1.0a
Is it too difficult to open a link in an anonymous window, if being logged in is the only concern?
mvolfik··on Protohackers: Server Programming Challenge
I'm not sure if ngrok would work - my understanding was that they only offer public domain names, which point to (a limited amount of) their IP addresses, and which client to route to is distinguished by HTTP Host header (eventually SNI). Which wouldn't be usable in this case, since you're dealing with raw TCP
mvolfik··on Show HN: Crawlee – Web scraping and browser automation library for Node.js
Thank you! And exactly as you say, using the same language as the websites gives us some advantages - we have HTTP-only (no client-side JS) crawlers based on the Cheerio library, which mimics jQuery API, and if you later find out that you need to use a full headless browser with Puppeteer, you can just call the utility function injectJquery, and there's very little you have to modify to keep your script working
mvolfik··on Mailgun Is Down
See https://status.mailgun.com/ - major outage on all services

Now let's pray they have other notifications than via email

mvolfik··on Algorithmic stablecoins are provably impossible without continuous funding
Sorry for hijacking this thread, but can somebody explain like I'm five, what's the point of algorithmic stablecoins?

My understanding of the term 'stablecoin' means that it is a crypto 'proxy' to some fiat currency, typically US dollar, just to avoid the actual conversion between crypto and fiat (because of taxes etc). So why isn't there just a DumbCoin(tm) that simply is 1-to-1 backed by the dollars? You give me a dollar, I mint you a coin. Somebody sends the coin back, I return them the dollar.

mvolfik··on Ask HN: Can you share websites that are pushing the utility of browsers forward?
For me as a student tinkering with whatever comes to hands (employment wasn't one of such things yet haha), I was pleased that it was very simple to make a web app work fully offline after initial load (including images and everything). You just go to the URL in your browser, without internet connection, and it loads. Not sure if the users are ready for this though
mvolfik··on A clean start for the web (2020)
I wouldn't say that it increases developer time. From my (sure, limited) experience of building both with Flask (Django-like, Python BE framework) and Svelte, the difference between developer time is negligable, if not in favor of building on the client - the component frameworks bring much more to the table, like scoped CSS, often better editor support for dynamic values in the HTML templates etc.
mvolfik··on A guide to getting started with embedded systems
https://nandgame.com/ is also great

edit: oh, and there's new levels. there goes my afternoon...

mvolfik··on Windmill.dev
What I couldn't find in the docs is the following: is it only restricted to an entry-form > some script runs > notifies via service (slack?), or is it also possible to do something like airplane workbooks: a form, then a Python script runs an SQL query, then another form pre-populated with some data from the query, and then another script?
mvolfik··on Bugs that the Rust compiler catches for you
Vectors really don't make linked lists irrelevant - if you want to be able to quickly pop from the middle, no Vec magic will currently help you
mvolfik··on LastPass users warned their master passwords are compromised
I did not get any email about login attempt, but deleted my old Lastpass account as a precaution anyways, and also received this error. No confirmation of deletion via email. However, I'm not able to log in anymore, and attempts to get master pwd hint via email don't work either, so I believe it's more or less deleted.
mvolfik··on Ask HN: Who is hiring? (December 2021)
Why are you advertising this as a Junior when the description in the link says Senior?
mvolfik··on Pablo is a small, open-source JavaScript library for SVG
What deergomoo says, and also performance - Svelte isn't really a framework, it prefers to call itself a compiler. Each component compiles into something that has no virtual-DOM overhead - what the compiler does is that it tracks which fragment depends on which value, and then at runtime when a value is updated, only the needed fragments are updated.

What I also like about it is what a .Svelte file looks like. Since it's a compiler from the very beginning, it didn't need to start as .js and only than add .jsx for a little less verbosity. Svelte file is basically a HTML file with <style> and <script> tags. Variables from javascript can be referenced in HTML simply with {var}, and there are constructs for if/else, loops and few other special things. Easier to see than describe, go to https://svelte.dev/tutorial/

Page 1 of 5Next →