HN user

msvan

5,051 karma

martin@martinsvanberg.com

Posts172
Comments266
View on HN
autoliner.app 5mo ago

Show HN: Autoliner – write a bot to control a virtual airline

msvan
4pts1
autoliner.app 5mo ago

Show HN: Autoliner – write a bot to control a virtual airline

msvan
5pts0
ajfarkas.dev 1y ago

Hyperspeedcube

msvan
1pts0
github.com 2y ago

Graphite: 2D Raster and Vector Editor

msvan
22pts4
jerryyin.info 2y ago

Half-Edge Data Structures (2019)

msvan
69pts8
utcc.utoronto.ca 5y ago

My current views on Rust (the programming language) (2015)

msvan
3pts2
news.ycombinator.com 5y ago

Ask HN: What are your experiences with code ownership?

msvan
2pts0
www.carrothers.com 6y ago

Letters to a Young Poet (1903)

msvan
54pts12
news.ycombinator.com 6y ago

Ask HN: What features would your ideal programming language have?

msvan
11pts16
news.ycombinator.com 6y ago

Ask HN: Why does Europe not have any big tech companies?

msvan
9pts17
supchina.com 6y ago

Talking to my mother about Hong Kong

msvan
2pts0
news.ycombinator.com 6y ago

Ask HN: What shiny new tech would you want to try?

msvan
1pts0
news.ycombinator.com 7y ago

Ask HN: What is the business model for desktop software in 2019?

msvan
1pts4
news.ycombinator.com 7y ago

Ask HN: What Happened to HARC?

msvan
1pts0
www.youtube.com 7y ago

Scaling the REPL Experience [video]

msvan
1pts0
www.thechinastory.org 7y ago

Interpreting the “Xi Jinping Era”

msvan
2pts0
en.wikipedia.org 7y ago

Kessler Syndrome

msvan
63pts62
github.com 7y ago

Linear Types in GHC

msvan
1pts0
plus.maths.org 7y ago

Uncoiling the spiral: Maths and hallucinations

msvan
54pts3
www.newyorker.com 7y ago

China's Butler Boom (2015)

msvan
7pts0
wiki.c2.com 7y ago

Quantum Bogo Sort

msvan
1pts0
engineering.itpro.tv 7y ago

Haskell in production: A GHC upgrade success story

msvan
2pts0
www.bunniestudios.com 7y ago

The $12 “Gongkai” Phone (2013)

msvan
131pts43
nakamotoinstitute.org 8y ago

Micropayments and Mental Transaction Costs (1999) [pdf]

msvan
1pts0
www.ft.com 8y ago

Silicon Valley would be wise to follow China’s lead

msvan
3pts0
getconcertmaster.com 8y ago

Concertmaster – Classical music front-end for Spotify

msvan
90pts54
www.cs.virginia.edu 8y ago

Douglas Hofstadter – Person Paper on Purity in Language

msvan
2pts0
www.nber.org 8y ago

The Race Between Education and Technology [pdf]

msvan
1pts0
davidbau.com 9y ago

Conformal Map Viewer

msvan
1pts0
www.theatlantic.com 9y ago

Is Google Making Us Stupid? (2008)

msvan
3pts0

One thing that would be genuinely useful would be the ability to integrate Claude with the Metal debugger somehow, to get automated analysis of GPU profiling. The .gputrace format is proprietary and cannot be easily analyzed, and it seems that the new "agentic coding" integration in Xcode also does nothing to expose this data to LLMs. Oh well.

I kind of see myself from ten years ago in this blog post! I also obsessively studied Mandarin Chinese in my late teens for the sheer fun of it, before doing a math undergrad. I even wrote comments on Hacker News about it a decade ago: https://news.ycombinator.com/item?id=7622940.

At the time I had seemingly limitless motivation for grinding away on flashcards and other learning materials. My progress was strong and I passed the HSK6 after a year and a half or so of studying, which at the time was the highest level of certification offered. I think they changed the system since and added more levels beyond 6. You can do amazing things if you're dedicated!

Today my Chinese is absolutely unusable, and my views on China have soured to the extent that I don't really want to revive my old skills. My takeaway is that learning one of these languages, the CJK languages, Arabic, or similarly weird languages, is just too much effort and I don't think it's worth it. I clearly had a lot of excess energy at the time that I could've directed towards something better. Knowing Chinese is about as useful as juggling and you might as well get really good at juggling if you're bored. It'll save you a few thousand hours.

As a current Nix user, what I would really like is a statically typed language to define builds. Recreating Nix without addressing that feels like a missed opportunity.

Why Async Rust? 3 years ago

I think the final remark about a hypothetical language, Rust-like but without all the low-level requirements, is important here. There is essentially no widely-adopted programming language out that feels like a modern ML with a good tooling situation. Until that happens, Rust will continue to awkwardly serve the audience of such a language while never truly being what they want it to be.

Lots of negativity in here. I for one am excited about the prospect of an editor that is as responsive as I remember Sublime being back in the day, with the feature set I've come to expect from VS Code. An editor like this simply does not exist today, and betting on the Rust ecosystem is entirely the right choice for building something like this in 2023.

You'd think there would be an arbitrage opportunity in paying more $$$ for London talent. Still surprises me that this hasn't happened after all these years of huge differences.

From the slog Github repo:

You might consider using tracing instead. It's been a while since slog was created and it served Rust community well all this time. It remains a stable, featureful and battle-tested library, used in many important projects.

In last few years, another ecosystem for Rust was created with similar features and a very good support for debugging async code and already larger dev team and community.

Please check tracing and see if it is more suitable for your use-case. It seems that it is already a go-to logging/tracing solution for Rust.

Reasons you might want to stick with slog anyway:

async support doesn't benefit you

you consider mature, stable code & API a plus

it has some features that tracing is missing

great performance (I have NOT done any comparison, but slog's performance is very good).

I've used both of the suggested methods under "Current standards for scaling out databases" so I see where this is coming from. But I peeked at the AWS reference architecture, and it places a Consul and ReadySet deployment in my environment for me to run and maintain. I feel like any sales pitch for this really needs to convince me that having these things in my environments is going to be worth the hassle in terms of milliseconds and dollars, as opposed to just using RDS read replicas and paying a bit more. Then again, I can see this being an obvious choice if you're growing very quickly or have tight latency requirements.

With that said, it looks like cool tech and I read Jon's Rust for Rustaceans which serves as a stamp of quality for this even if I haven't tried it yet!

A lot of new technology eventually becomes boring technology, and this is because of adoption in companies exactly in the way the author is discouraging. When the new becomes boring, everyone gets to reap the benefits of the new tech.

The world of software rests on the hard work of others, whether it's open source maintainers spending their free time making libraries for peanuts, or it's people going through the pain of productionizing a new technology. Being in the boring technology club is in a sense also being in the freeloader club, never contributing back to the state of the art.

It's a good article. It makes us aware of the drive many have to use the new thing, and the negative consequences of following this drive blindly. But I'm also happy that people do it.

Over the years I have learned and dipped my toes in many programming languages, and I'd need some kind of reason to look into yet another language. What are Raku's main contributions to the programming language design space that I probably haven't seen elsewhere?

It seems like there's a ton of interest in Bevy! You must be spending a lot of time discussing things, reviewing PRs, doing outreach and community building like here. Is there any time left for the hard feature work? Are there any core members apart from you?

(Don't burn out!)

Languages like Haskell and Go already have multicore GCs. How does OCaml's multicore GC compare? Is the work taking a long time because it is doing something brand new in the design space, or is it simply hard to integrate it with a mature language that was designed to be single core?

I think it's just not gonna fly in many organizations. You need the people who are going to be working with it and maintaining it to buy into it, and you also need to convince whoever is in charge of technology choices that it's a good idea. If you are the latter yourself, then that's half the problem solved.

It's probably easier to join an organization that is already positive towards it.

I look at go and I see an admission of defeat in programming language design. The central idea of go is that the way to have a language that is productive in the large is to impair it as much as possible. Unfortunately this idea seems to have been wildly successful.

Unbearable news 7 years ago

The problem is that revenue from paying subscribers is not enough. For most newspapers, ads are needed to run a profitable digital business. Ads cannot be removed for paying subscribers, since paying subscribers are precisely who advertisers want to target. And if you want to display ads on the internet, you have to track people just like your competitors Google and Facebook do.

If news companies believe their core purpose is the dissemination of valuable information, it would make a lot of sense for them to provide a text-only static version of their website.

I think most serious news companies think they have an important democratic mission. But at the end of the day, the economics have to make sense in order for quality journalism to exist in the first place.

So Apple made a decent MacBook Pro again. Good. But they still haven't made things right for the lemon they sold me. My keyboard is still not working, even after I handed it in for repair twice. Now I'm expected to shell out a few more grand just to have a working f key, and Apple is not even willing to acknowledge that they for years sold faulty products to gullible idiots like me.

Would it really hurt their octibajillion dollar valuation too much to just make things right for the customers who got shafted by their broken keyboard design?