Better HN
topnewbestaskshowjobs
Log inSign up

Jhsto

2,856 karma · joined Nov 20, 2012 (14y ago) · 663 submissions

For NixOS stuff reach me at juuso@ponkila.com For research, GPGPU, and APL stuff juuso.haavisto@cs.ox.ac.uk is more appropriate

juuso.dev

Submissions

comment 3w ago · link · parent

Doesn't apply for USDT and USDC which can freeze funds with a court order.

And like the DAO hack on Ethereum showed, if most people who run blockchain software decide that something never happened, they can revert transactions that way.

comment 4w ago · link · parent

Suppose the server only boots signed images created by itself, which the PXE server happens to serve. You cannot just switch or mess with the menu. But if you can exploit the boot chain before any Secure Boot components run, then you might find your way in.

comment 4w ago · link · parent

After Brexit the tuition even for Europeans increased from 10K£ pounds a year to 40K£. A thousand pounds will not change much. It does of course change the kind of people they can admit from abroad, but it seems that the UK has a lot of demand. When I did an Erasmus MSc funded by the EU, I was the only European in the whole cohort. Many peers explicitly told me that they applied to get a chance to stay in Europe after they graduated. Most did.

comment 1mo ago · link · parent

Some of my friends insist on watching movies only in 4K, but once I secrectly played a proper 1080p BluRay copy and they would not believe it was 1080p.

Not much to do with the OP other than that it's been a long time since even the "tech-savy" have watched anything on disc. I guess 95% or more live with whatever potato bitrate they get from streaming services.

comment 1mo ago · link · parent

Remember that there are alternative playback clients which use Plex's backend. Infuse is one, but I think VLC also works. Both have Apple TV apps.

comment 2mo ago · link · parent

Anecdotally, this does work -- whenever I have had a break from nicotine pouches, I have done with cigarettes. The big difference is that with cigarettes you have to excuse yourself to go outside. It's much easier to break the habit this way. Though that might be in part how with nicotine pouches the act is different as well. Note that the nicotine content does go down this way -- I would say that the specific brand of cigarettes I roll are around 8mg in "Zyn" equivalent, which are usually sold in varying strengths from 3 to 12mg. Snus is a similar product sold usually at 8 to 24mg, though specific brands at 48mg exist.

The real challenge is that the difference between one cigarette a day and zero is huge, at least for me. Once you are at one cigarette a day, and e.g. commit to it being after a workday, you start waiting for the end of workday. It's easy to start feeling that the day does not begin until that moment. Real withdrawal starts at around day 3 and takes roughly 21 days for me.

I think smoking cessation products like patches and gum is not really helping either. It's still nicotine. I have wanted to try Varenicline, but it requires a doctor's prescription and (seemingly) "strong enough" dependence. I have hated the idea of paying 100 euros for a doctor's appointment to maybe get a prescription that costs me another 100 euros.

I plan to quit nicotine for good next month, when I submit a dissertation. After roughly 7 years of using snus and nicotine pouches, I have noticed that my gums are retracting, and when I eat food, a lot of it gets stuck at my lower teeth, and there are gaps between my teeth. I would not be surprised if I need braces, and in part wish that would solve the problem -- the gum retraction itself is irrecoverable. I have been waiting for a doctor's appointment to have my teeth checked out for about 6 months now. I can't help but think that in the process of doing my dissertation, I have trashed my health, at least to an extent, and now I'm just waiting to get an assessment how badly. Moving on, I think that whatever I'm about to do next, it should be something that I feel like needs no nicotine for motivation.

comment 2mo ago · link · parent

You most likely have this enabled and unless you run some ancient board. This UEFI mod is for motherboards from circa 2018. For workstation machines that would be 1st and 2nd generation Threadripper. So, if your CPU's model name starts with 3 or higher (and you have an AMD workstation), you likely have this already enabled by default.

comment 2mo ago · link · parent

Switching from macOS to Linux was quite painful because the security was so seamless on Mac. But I also realized I had no idea how my passwords are stored and under what guarantees. Learning and getting the hardware tokens to do it properly on Linux was a PITA. But reading this post made me feel a pinch better.

9.

CUDA Rust: Two Tracks for Writing GPU Kernels(developer.nvidia.com ↗)

5 points · by Jhsto · 2mo ago · discuss

comment 2mo ago · link · parent

It indeed does, this is a very good point I haven't thought about in the reverse direction.

11.

South Korea exports surpass full-year record, hit $709.4B YTD(reuters.com ↗)

3 points · by Jhsto · 2mo ago · discuss

comment 2mo ago · link · parent

My anecdotal experience is that while LLMs are quite good at closing theorems given an LSP to inspect the proof-tree, they suffer from similar kind of problems with proofs as they do with bigger codebases in any language -- finding reusable parts that can be built into libraries (that's lemmas in Lean 4 sense). However, Buzzard has many times said that he wouldn't care how big the proof is and how ugly it would be, as long as there would be a proof.

comment 3mo ago · link · parent

SPIR-V states its an int, float, vector n (where n <= 4) or a matrix (2..4 cols of vector n).

It does not necessarily mean the hardware can do 4x4x64 floating point operations in a single subgroup operation, but at least the programming model supports framing it that way.

14.

MSI Pro B850-P WiFi Dasharo v0.9.0 Released(blog.3mdeb.com ↗)

2 points · by Jhsto · 3mo ago · discuss

comment 3mo ago · link · parent

I've been writing a language around recursion schemes! Insofar it's just a library for Lean, but I wish to one day release it as an array programming language. I'm submitting a thesis in ~3 months, after which I'll be open-sourcing it.

comment 4mo ago · link · parent

As a meta-comment on the topic, something I have noticed is that there still exists confusion what it means to use theorem provers for projects -- the other day I read a tweet from Paradigm, a crypto-VC now seemingly AI-pilled. Some LP of theirs had made a Lean 4 formalization of the Ethereum's virtual machine. The tweet said this would have cost like $150k in API tokens ("would have", as in, I guess they get theirs for free), and took a week of inference time for an LLM to produce. I somehow got distracted to actually take a look at the code, which I found rather light on theorems. Nor did the project make use of Batteries or Mathlib which are arguably the one of the strongest motivation for me personally to use Lean4. That is, I generally rather rely on someone else getting the category theory and algebraic structures right, which then leaves me the proof obligation to show the correspondence with whatever toy I'm working on. Here I'm fine to use LLMs for proof search, very similar to how would I use a SMT solver. But what I have found is that the language models have to be really coerced into using these libraries, because otherwise the models much rather overfit and overclaim a solution with a 3 minute inference task rather than attempt to fulfill the proof obligations over 3 hours. And I feel nauseated when I need to convince the LLM (I use Claude) that filling the proof obligation is for "academic exercise" or because I'm coerced into doing so, because otherwise it will come up with reasons of its own why it does not want to do it. Now, this happens under the mental model in which I'm interested in finding equivalences with prior work. Many LLM generated Lean code reads more as if someone was interested whether X can be turned into a Lean 4 program, which is mostly yes, and that in general is a positive thing. But, if you are not interested in refinement types and theorems, why not just choose Haskell? The point is, I strongly sense that unless you have good questions to ask, then that's very evident in these languages. And, this is something the LLM won't help you -- if you don't impose a proof obligation for it, it certainly will not try to go the extra mile to conjure one for you.

comment 4mo ago · link · parent

Another good tutorial: https://hoj-senna.github.io/ashen-aetna/

I used that to create my own Vulkan compute loader https://github.com/rivi-lang/rivi-loader

comment 4mo ago · link · parent

Anecdote, but I recall my friend saying he worked on freelancing assets to some train game and showed me some pictures of the said game. Unless there are more of these in existence, I think it was this.

19.

GeForce Trading Cards: Series 1 Celebrates the Generations of GeForce(nvidia.com ↗)

1 points · by Jhsto · 4mo ago · discuss

comment 4mo ago · link · parent

I have this weird thing about a birthday -- for some reason, I was assigned a different birth date in NHS records in the UK compared to the one I have in my native Finland. I want to believe it has something to do with electronic systems transacting with different countries' systems (I noticed this difference soon after I exchanged my driver license) -- and I would have indeed born on a different day if it'd been the UK. But, I would assume this to be such a well-known issue with people who migrate, that it must just been just a typo. Doesn't stop me from believing though.

comment 4mo ago · link · parent

Kiitos! My level is graduate, but part of the challenge with category theory is that some of the terms are quite unsuggestive. I feel that after seeing enough examples, I can start making more sense what some concept would be in Finnish, which helps me remember what was what and what it might relate to.

Edit: Also realized you're in Oulu, feel free to email me if you'd be up to meeting in-person to discuss these further!

comment 4mo ago · link · parent

Thanks for the links! The first book seems very good (I already own the latter).

comment 4mo ago · link · parent

I think I dug my own grave by not being explicit that I thought S3 as a protocol and not the AWS product. :)

To elaborate a bit further, the S3 layer makes sense once you self-host S3 yourself. This allows clusterization of multiple hosts to offer redundancy in self-hosted setting -- for example, a friend of mine and I run S3 instances and "seed" each others' buckets for photo storage, but also for package manager (Nix). Having this kind of sane object storage just expands in use-cases, like with Matrix, etc., which all then inherit the clusterization hence redundancy for free.

The E2E encryption is also very useful when you are backing up or hosting photo galleries for friends and family -- because you cannot do metadata analysis on encrypted files, they have to do that on their own devices. This makes self-hosting much more "fearless" because I do not have to account for the fact that when/if my nodes are becoming a sauna-stoves for doing inference when someone dumps an album in.

The datasets that I have are terabytes. At some point it's just cheaper (accounting your time as free) to buy a 20tb drives and get yourself a runway for 5 years or more + space to do other stuff.

comment 4mo ago · link · parent

As a programmer interested in category theory, I found this book a rather good balance between the abstract non-sense of CT and what I might actually use in programming. I wonder if anyone else has good books to recommend? I feel that the contents of the book remains a bit hard to appreciate in full unless you have ran into these concepts previously.

comment 4mo ago · link · parent

You can use https://ente.com/ (it's open-source). It also makes the seemingly much better decision of storing photos in S3.

comment 5mo ago · link · parent

I'd presume it's quite common with NixOS. At least I don't have python linked to my environment. It might be different would I use the REPL, but I do not, so for me python is a program (or script) dependency, not something I need to carry around. It's actually quite common for many setup scripts to fail when python is not installed, but not all of them list python as a dependency either.

comment 8mo ago · link · parent

If I'd like to benchmark a new language / compile backend for LLM inference, what would be some good projects to try? If I'd start from tinygpt, what would make sense as the next step?

comment 8mo ago · link · parent

Seems that Jolla C2 can run "close-to" mainline kernel: https://forum.sailfishos.org/t/mainline-linux-kernel-for-the...

comment 9mo ago · link · parent

I was able pull together a Halo 3 LAN party last year, although the "consoles" were Linux PCs and the game was the MCC edition (60fps instead 30). Split-screen was resurrected via mods. I bought some Microsoft gamepad receiver to bring Xbox 360 original controllers under Linux. Some people insisted they get to play on the original gamepad (otherwise it was a mixed bag of PlayStation and newer Xbox/PC controllers). I also realized that Halo 3 itself would have been old enough to drink with us!

comment 10mo ago · link · parent

I got no particular book recommendation, but this book seems more about the numbers than relations -- maybe my PDF search is broken, but both 'type theory' and 'category theory' return 0 results. I would recommend to also look into those if you are interested in mathematics of computer science.
12345
23