HNHacker News
TopNewBestAskShowJobs

mr_mitm

4,583 karma · joined June 25, 2019

https://vllmr.org
submissionscomments
mr_mitm··on Your 'App' Could Have Been a Webpage (so I fixed it for you)
> You can send notifications with PWAs with Web Push API + Service Worker, same as a regular page.

While the app is awake, sure.

I'd like notifications to work even if the OS backgrounded the app, and even without a network connection, like I'd expect a reminder to work.

> https://github.com/GoogleChrome/developer.chrome.com//blob/m...

Looks like this is what I need and it doesn't exist. So the short answer is "no". Thanks for the link!

mr_mitm··on Your 'App' Could Have Been a Webpage (so I fixed it for you)
I'm currently attempting to write a calendar app for personal use, and I wanted to go the route of a self-host PWA. Notifications are a good point. How can I create notifications as a reminder before an event? Alerts are part of the icalendar standard ("VALARM"), so these are clearly notifications that are wanted by the user. Is that even possible for a PWA?
mr_mitm··on You're Not a Better Engineer Because You Type Git Commands by Hand
Just put your last sentence in your AGENTS.md then
mr_mitm··on AI content is everywhere on social media, especially LinkedIn
I think we're going to have to take this ... offline
mr_mitm··on Show HN: Microsoft releases Flint, a visualization language for AI agents
I've been using slidev recently. How does this compare?
mr_mitm··on Astrophysicists Puzzle over Webb’s New Universe
Why do you say "probably"? We can measure and quantify the inhomogeneities very precisely, and they're tiny. This isn't a matter of opinion or intuition.
mr_mitm··on Immich 3.0
In a recovery scenario, you don't have the password or whatever you used to encrypt the key.

And again: the whole point E2EE is that you don't have to trust the provider. Open source in general doesn't help you here because you don't know what software or which version of the code the provider is running. Your only chance is to run open source client software, review it to ensure E2EE has been implement properly, then you don't need to trust the provider.

Either the provider knows the secret, then they can help you in a recovery scenario, but then they also can read your data. Or they don't know the secret, in which case they cannot help you in a recovery scenario.

mr_mitm··on Android Developer Verification: Threat masquerading as protection
There are plenty of banks in Germany which offer over-the-counter services, if you prefer to do banking as if it's 1999. Most of the time, when people say it's impossible to live without a smartphone, it's actually only impossible to enjoy the conveniences of the internet without a smartphone (at least in Germany). Besides these rentable scooters, I can't think of anything that actually requires a smartphone. Sure, you'll miss out on a lot of conveniences, but I remember a time where that was the norm, so it's not like it's unreasonable.
mr_mitm··on Bring back crappy forums
It does offer TLS. The certificate just doesn't contain `www.catb.org` in its SAN. (But dozens of other host names.)
mr_mitm··on ZCode – Harness for GLM-5.2
You can use Claude Code with a self hosted model no problem. I don't believe you can switch during a session though.
mr_mitm··on Qwen 3.6 27B is the sweet spot for local development
Obviously the rig is not a macbook but indeed a server rack. I'm just saying that we're using this model for local development.
mr_mitm··on Qwen 3.6 27B is the sweet spot for local development
Think commercial. My company invested in a local rig since privacy is important to our customers and sometimes I want to use these models on private data.
mr_mitm··on Extreme Heat conference cancelled due to extreme heat warning
It's not just cost. Many people in Germany claim they get sick or experience neck pain the instant they stand under an AC. I cannot relate at all and I'm very puzzled, but at the same time I don't want to deny their experience.
mr_mitm··on You already have a Git server
> That is it. No Docker. No CI pipeline. No serverless function. No YAML file with 47 indents. Just SSH and git — two tools you already have.

Sigh.

mr_mitm··on Midjourney Medical
After an injury, you may want to get an MRI to help you recover and determine best course of action. If an MRI cost a million dollars, or a single MRI scan took an entire day (which means every machine within driving distance will be booked years in advance or will be reserved for only the most critical cases), you won't benefit from an MRI image.

"Megabytes per second per dollar" may not be the optimal way to phrase this, but cost and efficiency are a real concern.

mr_mitm··on Wolfram Language and Mathematica version 15
I'd like to push back on that comparison. At least unlike Weinstein, Wolfram produced a genuinely impressive and useful piece of software, which empowers scientists and students worldwide. While his physics work is a little questionable and not too interesting, he doesn't seem to care too much what other people think. He'd never latch on to some podcast bro to give his ideas a wider reach. All Weinstein does is drop big names left and right and whine about how Big String Theory has taken over modern physics and suppresses free thinkers.
mr_mitm··on Typst 0.15.0
Most, if not all of these are just syntactic sugar. You can simply write `#heading()` instead. Although I'm not sure if there is an equivalent in math mode.
mr_mitm··on Typst 0.15.0
Have you tried showing Claude your output, or simply telling it to look at the PNG output? Together with some design or frontend skill you should get reasonable results.
mr_mitm··on Typst 0.15.0
You can pass a JSON structure to a Typst document and render it however you like. No need for a templating engine or anything like that.

Pandoc probably uses latex under the hood, and Typst is order of magnitudes faster. Also, much better error messages.

Typst is vastly superior for usage in automation or when developing document classes.

If that's not your use case, don't bother.

mr_mitm··on Tectonic: A modernized, complete, self-contained TeX/LaTeX engine
Thanks for your insight, much appreciated!

However, regarding this:

> Much like operator overloading in other languages, catcode changes in TeX can indeed be misused and are sometimes confusing, but they're also a pretty useful solution to problems that would otherwise be tricky to solve.

I'm sorry, but I've never seen overloading of such fundamental characters like the comment character or escape character anywhere. Or at least if you use these characters inside a string, it's pretty clear that the string context is special. In LaTeX I have no way of knowing which catcodes a macro has modified without essentially parsing the entire thing, which breaks syntax highlighters and language servers (something that increases quality of life in other languages substantially), because the compile times are prohibitive. The decision to let users redefine %, \ and literally every character seems like a really, really bad idea to me.

Other languages and syntaxes seem to do just fine, so I'm not sure what you mean by tricky to solve.

> most of these are due to the fact that LaTeX is 40-year-old software built on a 50-year-old engine, and has remained backwards-compatible with documents throughout that entire time

I realize that, and I appreciate what LaTeX (and by extension TeX) has done. It's a giant in sciences and the software world, of absolutely critical importance, but still. We learned a lot of lessons about writing software in the last 50 years, and Typst is applying these from the ground up. Unfortunately I don't have a lot of confidence that LaTeX can be modernized.

mr_mitm··on Tectonic: A modernized, complete, self-contained TeX/LaTeX engine
Using LaTeX is mostly fine, except for the endless compile times, useless error messages, lack of unicode, etc. like the GP said.

I'm maintaining an internally used LaTeX document class and the development experience is even worse. TeX has no concept of such avant-garde ideas like lists, dictionaries, or namespaces. Things break all the time, and sometimes only when you load three specific packages in a specific order because they all patch each other's routines. I still haven't completely groked the idea of fragile commands and expanding macros. Characters can change meaning depending on context, even the `comment` character (%) or the `escape` character (\), (and I believe even the curly braces) for example when used inside `\path{}` or `\url{}` [1]. It makes a difference whether you comment out line endings or not. The LaTeX3 syntax looks like a bad joke. I mean, look at it:

\ExplSyntaxOn \tl_set:Nn \l_tmpa_tl {A} \group_begin: \tl_set:Nn \l_tmpa_tl {B} \par value~inside~group:~\tl_use:N \l_tmpa_tl \group_end: \par value~outside~group:~\tl_use:N \l_tmpa_tl

\tl_set:Nn \l_tmpb_tl {A} \group_begin: \tl_gset:Nn \l_tmpb_tl {B} \par value~inside~group:~\tl_use:N \l_tmpb_tl \group_end: \par value~outside~group:~\tl_use:N \l_tmpb_tl \ExplSyntaxOff

????

Let's just let it retire and focus our efforts on Typst and pushing publishers to accept Typst.

[1] Just look at all these poor souls trying to achieve something as exotic as putting a URL with a percent sign inside a footnote: https://tex.stackexchange.com/questions/12230/getting-percen...

mr_mitm··on Twenty One Zero-Days in FFmpeg
My understanding is that ffmpeg is probably incredibly close to the metal, with tons of assembler mixed in. I imagine doing the same in Rust would include lots of `unsafe` blocks and a similar amount of assembly, so it wouldn't change much in terms of security. Or am I wrong?
mr_mitm··on Euro-Office: First version of the open-source web office is here
Why are we still focusing on docx so much? Is anybody printing these at all? If not, I have to assume people are putting information in a big free text field, arranging the text like they sit at a type writer, and then other people have to extract the information from the same free text field. There has got to be a better solution for whatever people are trying to achieve with documents.
mr_mitm··on Microsoft's open source tools were hacked to steal passwords of AI developers
I've been playing around with declarative container configurations: https://github.com/AdrianVollmer/ContainerConductor (It's not ready, don't use it!)

It will always introduce friction, though.

Modern software development is simply too fast to be reviewed properly.

mr_mitm··on Anti-social: It's fads, not friends, which now dominate social media feeds
This comes up often, particularly on Reddit, and I don't think we're doing us any favors by counting it as social media. It has a few substantial differences to Facebook, Instagram, TikTok, Twitter, et al:

- The focus isn't on connecting. It has a "friends" feature (I believe?), but the social graph is extremely weak.

- You are not expected to use your real name. On the contrary, it comes off as weird unless you're a celebrity.

- There is no algorithm maximizing engagement, or at least not a hyper personalized algorithm that analyzes your scrolling speed and every sensor under the sun feeding into a machine learning system designed by professional psychologists to keep you hooked.

- Individuality isn't as encouraged. The user name is small, and there are no avatars, or at least used to be (I don't use the new interface very much). The focus is on the content instead.

I suppose you can find a definition of "social media" that includes Reddit, and surely the differences are fluid, especially since we can recognize some efforts by Reddit to become more like the real social media sites, but I vote for putting it in a different category for the sake of discussion.

mr_mitm··on Entanglement Builds Space-Time. Now "Magic" Gives It Gravity
You contribute to the stress-energy tensor by having mass or energy. That directly influences spacetime curvature. The Einstein field equations tell you how precisely.

If that answer doesn't satisfy you, I'm afraid that's all we can say. It reminds me of Feynman's answer on how magnets work: https://www.youtube.com/watch?v=MO0r930Sn_8

mr_mitm··on Entanglement Builds Space-Time. Now "Magic" Gives It Gravity
Same way you bend space. In GR, time is just another dimension of a slightly different flavor.
mr_mitm··on Ohbin – uv wrapper for installing tools from GitHub
AFAIK uv installs python packages only. This fetches and runs binaries from Github.
mr_mitm··on Entanglement Builds Space-Time. Now "Magic" Gives It Gravity
Ghosts are also a thing in quantum field theory
mr_mitm··on The newest Instagram “exploit” is the goofiest I've seen
It's a hard problem. How do you prove you own an account if you lost all proof of ownership? Especially so if an account was never tied to your real name, in which case you could at least rely on government ids.
← PreviousPage 5 of 34Next →