HNHacker News
TopNewBestAskShowJobs

Escapado

903 karma · joined April 10, 2018

contact: kevin@intelligrade.de if you are a teacher or know one, check out my start up www.intelligrade.de
submissionscomments
Escapado··on Scientists are working on "everything vaccines"
I would say you are both right in that if you have two competing variables (on-time for the defence vs calorie consumption), when the main causes of death before procreating were infectious disease and malnutrition before modern times, I would expect some equilibrium to be reached and we have not had that much time to evolve since caloric scarcity in the western world was a solved problem for large swaths of the population.

If in the future we could trade a few hundred extra calories per day for a great immune system (without auto-immune side effects) we would have found a nice cheat code!

Escapado··on Show HN: LemonSlice – Upgrade your voice agents to real-time video
This was interesting. Had a 5 minute chat with the outsider from the dishonored series. Just a one sentence prompt and its phrasing was at least 60% there, but less cold and nicer in a sense than the video game counterpart. Still an interesting experiment. But I also know that maybe 12-24 months down the line, once this is available in real time on device there will be an ungodly amount of smut coming from this.
Escapado··on High-Level Is the Goal
My clients are. I do web dev for a living and I use these frameworks day in and day out. It’s not even that I dislike the dev ex on most of them and I’ve seen a lot of good code and bad code and I don’t even wanna blame anyone in particular for the situation we are in. I think my comment was more of a dig at the world we live in than anything else.
Escapado··on High-Level Is the Goal
I hate the state of affairs. That said my guess is what we „gained“ is tons of telemetry, tracking and the likes, engineers not needing to think about performance to get a feature out, which absolutely lowers the bar to entry, high level abstractions and ux and visual bells and whistles of varying importance and quality (infinite scrolling, streaming updates, image blend modes, blur effects, scroll timeline animations etc). People creating Pokémon had to think about every bit in their texture atlas and carefully manage the hardware memory manually. Web devs now try not to forget to clean up event listeners in a useEffect that triggers on mouse move to generate data for an interaction heatmap for the marketing department while 25mb of 3rd party scripts make sure every data broker and their mother is well informed about your digital whereabouts.
Escapado··on San Francisco to offer free childcare to people making up to $230k
So it is just the right wing neoliberal playbook then. Protect the rich and put everyone else against each other so we don’t focus on them. I want this to stop.
Escapado··on San Francisco to offer free childcare to people making up to $230k
First off, the following is not meant to combative but I think this confuses me. If there was no cliff there was nothing to do administratively on that front, no new checking at all. We already have progressive tax systems in many countries. Adding 1% at the top end can’t be that difficult. My health insurance (in Germany) raises prices every year and most people don’t have a choice there either. Property taxes increase all the time. If we had a wealth tax and a higher (at the top) progressive capital gains tax it seems to me that the pitch would be politically even simpler: there are 5% that will pay a little more percentage wise from now on while retaining vast amounts of wealth and 95% that will pay less or much less. Genuinely I have heard that we can’t raise taxes on rich people because they will evade them but it also sounds like a lie repeated so often that we just take it as the truth. Didn’t a lot of countries or US states have higher marginal tax rates without seeing mass exodus of millionaires? Can’t lawmakers focus on plugging the loopholes rich people use? I mean our government is currently trying to go out of its way to make sure that unemployment benefits are only paid out to people who „really deserve them“ by tightening the rules around that and the political debates I see put incredible amounts of emphasis on „fairness“ and that we „have to do something about those who just profit off the system without contributing“ when it’s about that topic. The fervour is clearly not applied symmetrically.
Escapado··on San Francisco to offer free childcare to people making up to $230k
To me it appears as though the success of the right wing politics everywhere is that they made socioeconomically disadvantaged people identify other socioeconomically disadvantaged people and the middle-class as the cause of their suffering while somehow becoming sympathetic to the uber rich in hopes to one day belong. And to me it’s clear that if we taxed wealth and high incomes fairly and removed the loopholes to level the playing field we would not even need these discussions to begin with because we simply had a well financed social society and the rich would still be rich, but maybe not so obscenely so.
Escapado··on San Francisco to offer free childcare to people making up to $230k
I am also confused by cliffs. Maybe someone more knowledgeable than me could explain why you would ever want them for something like this instead of just having higher progressive tax rates for well off people to make up for it. Naively I would think that that’s significantly easier from and administrative point of view too.
Escapado··on Four Million U.S. Children Had No Health Insurance in 2024
Genuine question: How does it happen that a heart surgery costs 100k? 2 surgeons (200$/h) + 6 nurses(100$/h) for 10 hours would be 10k. Where do the other 100k come from? Is it the equipment cost? Consumables? After care? Or are the margins just ridiculous?
Escapado··on I misused LLMs to diagnose myself and ended up bedridden for a week
Interesting story. I want to agree with the general advice not to use it for that - especially if that is how you use it. And I want to preface this with: Don’t take this as advice, I just want to share my experience here. I tend to do it anyway and had fairly large success so far but I use the LLM differently if I have a health issue that bothers me. First I open Gemini, Claude and ChatGPT in their latest, highest thinking budget installment. Then I tell them about my symptoms I give a fairly detailed description of my person and my medical history. I prompt them specifically to ask detailed questions like a physician would and ask them to ask me to perform tests to rule out or zoom in on different hypothesis about what is might have. After going back and forth, if they all agree on a similar thing or a set of similar things I usually take this as a good sign I might be on the right track and check if I should talk to a professional or not (edging on the side of caution). If they can’t agree I would usually try to get an appointment to see a professional and try to get sooner rather than later if anything potentially dangerous popped up during the back and forth or if I feel sufficiently bad.

Now, I live in Germany where in the last 20 years our healthcare system has fallen victim to neoliberal capitalism and since I am publicly insured by choice I often have to wait for weeks to see a specialist so more often than not LLMs have helped me stay calm and help myself as best as I can. However I still view the output less as a the output or a medical professional and try to stay skeptic along the way. I feel like the augment my guesswork and judgement, but not replace it.

Escapado··on An opinionated critique of Duolingo
I keep hearing this but sometimes I am not 100% sure if they are _much_ better so asking honestly: Is there any reputable quantitative analysis of this in the context of language learning?

For example: I have spent the last two years in japan (I am in my 30s) and just got back to my home country. Went to a language school in the mornings there, immersed myself in the language a little but did not go all out on studying at home except for some Anki and the homework we got. I would spend 1 or 2 evenings per week talking to japanese people in my apartment building for practice. I just took the N2 exam before I left and just failed by 1 point, without any extra studying specifically for it. I could have conversations with people in my apartment complex, make phone calls to get stuff done and get the gist of most news I heard if they were not hyper-specific and I can read easy novels. If I open the NHK news website I am still lost on a bunch of stuff and have to look up a lot. But again, that was 2 years and I was neither particularly good nor bad compared to the other fellow students and I did not go all out full immersion - lots of my interactions were still with foreigners in the afternoon. Anyway, I for sure know more kanji than a 2nd grade elementary school student. I also can say more than a two year old kid. I know of course children learn to navigate a language without explicit study in their first years of life but the point still stands. If time spent studying was equal, how much of a difference remains?

Escapado··on New Huawei 96GB GPU
Naive question: Are the current (from what I have heard not very effective) export restrictions of HPC GPUs to china truly productive in the long run if the goal is to retain an edge? As in, to me it seems that it just fuels an expansion of domestic capabilities and in the car and solar sector my impression is that china had already proven that it can absolutely perform on par or even better in many different metrics compared to western countries, given time and pressure. So while these chips are not on par with current or even last gen GPUs, I would not be surprised if china would catch up and even have a much higher incentive to do so, now that other countries try to control their access to key technologies.

I am not saying whether retaining an edge is good or bad or that I have a different answer if one thought it was good. Just curious what you guys think.

Escapado··on High-Fidelity Simultaneous Speech-to-Speech Translation
I have to second this. I study Japanese myself and the entire way the Japanese communicate is reflected so deeply in the language. There is so so much nuance to pretty much every sentence they speak and there are certain grammar points that carry more meaning in three syllables than what can be expressed in English or German in a full sentence. And ok turn this way of communicating shapes their culture too I believe. If I were to translate a German conversation into Japanese, even if I did so idiomatically it would most likely come off as a rude exchange, because of all the unapologetic directness in the source language.
Escapado··on Munich from a Hamburger's perspective
Now compared to Berlin I think Hamburg is still pretty conservative and I am not in a position to make apt comparisons to cities in the US but I do have to disagree with the statement that Hamburg is more conservative.

I was born and raised in Hamburg and lived there or in adjacent parts most of my life. I also visited Munich quite a few times due to a long distance relationship and I would disagree that Hamburg is more conservative. tThe people in Munich vote for conservative parties at a greater rate than the people in Hamburg and Munich never felt even remotely as multi-cultural as Hamburg. I distinctly remember walking around München for the first time and being surprised by people’s reactions to seeing a black guy walking down the street. Some people would literally stop walking and stare. Almost no Middle Eastern people either in comparison. There is also a pretty strong divide between the north being much less religious. And one might argue that the people who are Christians are more often Protestant in the north which is arguably more progressive than the catholics in the south. If you look at Hamburg during may 1st, consider the Rote Flora building and the Schanzenviertel I think it’s quite clear that Hamburg has a pretty firmly established left-wing community. Granted if you go to Blankenese or the Neue Hafencity (areas for and of the wealthy) and talk to the people living there you might get a different picture. Anyways talking in averages I am not convinced your statement holds true today.

I think there is sort of a cultural rivalry where people from the north don’t want to get confused with the people from the south of Germany and vice versa. We make fun of their way they butcher the language and their festivities and traditional attire, and how they talk too much, and they make fun of us for being tight lipped humorless pricks.

Escapado··on Don't force your kids to do math
N=1 datapoint here. I studied physics in university and before I started I was not aware that physics is basically just math where the results sometimes relate to reality. The pure math courses I took were the most difficult and in the beginning I loathed them, because it felt so unattainable to get any intuition, let alone real proper comprehension for all the concepts they threw at us. For a long time I felt like I was just hanging on by threads and especially if I compared myself to those who had some innate interest in math or generally some really good intuition on the abstract concepts (or even prior knowledge) it was really demotivating. But I also felt like I had no choice but to continue and as time went on the I grew fond of it. And the feeling of being overwhelmed changed - that is to say I still was completely lost every time a new topic was breached and I could not understand even half of the proofs in class - but I did not feel so defeated about it. And I grew to like the feeling of actually completing the work sheets they gave us every week. The process of solving them was often excruciating but if you did the sense of accomplishment is real. I think for most people higher math is really difficult and that is part of why it is interesting. Another aspect I had to accept over time is that even though you can state a mathematical fact or conjecture in just a hand full of symbols or a plain sentence it does not mean that truly understand it, its implications or how you got there can be understood the same way that other prose can be. Sometimes you have to stare at, contemplate and scribble around one equation for days until you understand whats up.

If there was any advice I would give, then it's probably similar advice on how to stop procrastinating on anything that is difficult. Establish a routine first - find a spot that you will only use for studying this (like a spot in a library), start small, divide and conquer, accept that you will not understand most things easily, reward yourself for the small wins along the way, find an accountability partner or someone to study with if that's your thing, make a regular schedule with regular times where this is what you do - consistency is key, even if its just for 5 minutes, stack it onto other habits, see yourself as a scholar of math - it is what you do, lean into the discomfort, as enduring that is a valuable skill in itself.

Escapado··on ArkType: Ergonomic TS validator 100x faster than Zod
Yup, maintained an e-commerce site where the products were coming from a third party api and the products often had 200+ properties and we often needed certain combinations of them to be present to display them. We created schemas for all of them and also had to transform the data quite a bit and used union types extensively, so when displaying a product list with hundreds of these products, Zod would take some time(400+ ms) for parsing through that. Valibot took about 50ms. And the editor performance was also noticeably worse with Zod, taking up to three seconds for code completion suggestions to pop up or type inference to complete - but truth be told valibot was not significantly better here at the time.

I agree though, that filling your website with tracking crap is a stupid idea as well.

Escapado··on Osaka bans smoking on all of its streets, vaping included
I am currently living in Tokyo and for the most part smoking is prohibited except for designated smoking areas. And while compared to Germany way less people seem to smoke and mostly follow the rules I see about one or two people during my commute every day who will vape or smoke either while walking or standing on the corner of a non-busy street. So not everyone cares but luckily most people do and I wish it was like this everywhere!
Escapado··on Ross Ulbricht granted a full pardon
Thanks for pointing me to that. One thing that stands out about that argument though is that voting is already discriminatory, right? Permanent residents and minors are not allowed to vote (the latter because we take age as a proxy of competency, no?), despite facing the consequences of elections just as anyone else does. I do understand that a risk for misuse absolutely exists, but at the same time it looks like populism, social media abuse, smear campaigns, science denial and plain old corruption in sheep's clothing are rampant enough that we can agree that many many votes are cast by misled people, who would have made another choice if they really understood what they voted for. I guess it would boil down to the difficult question of which harm is greater.
Escapado··on Ross Ulbricht granted a full pardon
That's an interesting perspective, but I wonder if we can't have both.
Escapado··on Ross Ulbricht granted a full pardon
I see. In a sense we are already doing that. Minors can not vote (and if I am correct the reasoning is that they don't have the competency to cast a proper vote) and even foreign permanent residents can't either, even though the outcome of the elections totally influences their lives. In a sense these not-allowed groups are already totally dependent on the people that are allowed to vote.

I guess my argument boils down to: We already discriminate. My thoughts are that the way we do it is not optimal.

Escapado··on Ross Ulbricht granted a full pardon
Honest question/thought experiment: if we only elected people who are qualified for their job (assume we can measure competence at least in some dimensions like we do for a myriad of other professions before we allow people to work in them) and if the election process was set up in a way where when casting your ballot you have to take a multiple choice quiz which tests for basic knowledge on what you will vote for and the country you’re in (as in “what is the household budget roughly, is this candidate in favour or against x, did the crime rate increase or decrease nominally” take these as rough examples of what I mean), to ensure that the people who vote for something have some clue what they are voting for and the broader context it’s embedded in (we require a license to drive a car, this would be akin to have a having a license to vote) would that remedy the situation a little? The idea would be that informed people would vote for informed people. Could you imagine this being a net benefit or not? I would assume it would make democracies significantly better than they are now. Imagine going to a doctors office to find out your doctor is a Plummer and he was voted into this job and that the people working for him and handling your prescription is a random assortment of people he seems to like.
Escapado··on Japanese workers turn to resignation agencies
Agreed and I would add to the list the ungodly amount of hours they work. I know per hour they might not be as productive (or simply held back by antiquated processes within their companies) but they seem to make up for it in part by working so much overtime.
Escapado··on Artificial Intelligence for Quantum Computing
I have not investigated this as much as I should have but if I remember correctly there were cases where the NN approach was yielding smaller solutions. Would be a great follow up to the thesis.

The way this was turned into an optimization problem was to assume a NN to input an identity matrix and then have a custom layer in there to generate S(2) unitaries (exponential form) for which the phase parameters are then the learned parameters in the NN. Similarly for global XX gates. Then from this the final unitary can be computed and compared against the desired unitary and a loss function can be derived. I remember it was a little fiddly to implement these custom layers in tensorflow since many of the functions didn’t work for imaginary numbers. But yeah in short a circuit structure was assumed (alternating between a global XX and single qubit operations) for which the phases of their generating matrices were the learned parameters of the network. Then multiple topologies (how many steps in the QC) could be validated. I think the coolest result was that NNs consistently outperformed other optimisation strategies to learn those parameters.

Escapado··on Artificial Intelligence for Quantum Computing
I didn’t include this in my thesis but from what I remember looking at hundreds if not thousands of matrices and their QC solutions some symmetries would immediately make it so that way less gates would be needed but it could also be deceptive and completely depended on which gate set you have available. If you take the matrix for the quantum furier transform for example with a gate set of phase gates and a hadamard gate then for the 100% solution you n hadamard gates and n! phase gates for an n qubit circuit even though the matrix is highly symmetrical. If your gate set was Clifford + toffli you would be able to do it with n*log(n). And then depending on how close you wanna approximate it you could get away with even less. But I have not gone into further analysis on which symmetries would have which effect on which gate set and whether it would influence predictivity. But it would be fun to investigate for sure!
Escapado··on Artificial Intelligence for Quantum Computing
University of Hamburg in Germany.
Escapado··on Artificial Intelligence for Quantum Computing
My master thesis was on using machine learning techniques to synthesise quantum circuits. Since any operation on a QC can be represented as a unitary matrix my research topic was that, using ML, given a set of gates, how many and in what arrangement of them you could generate or at least approximate this matrix. Another aspect was, given a unitary matrix, could a neural network predict a number of gates needed to simulate that matrix as a QC and thereby give us a measure of complexity. It was a lot of fun to test different algorithms from genetic algorithms to neural network architectures. Back then NNs were a lot smaller and I trained them mostly on one GPU and since the matrices get exponentially bigger with the amount of qbits in the circuit it was only possible for me to investigate small circuits with less than a dozen qubits but it was still nice to see that in principle this worked quite well.
Escapado··on Zod: TypeScript-first schema validation with static type inference
Not only that, runtime schema validation was also way faster in my last project for larger arrays of complex objects with lots of union types. Went from 400ms to 24ms all else being equal. Since our validation was running on every request for certain reasons this made a huge difference in perceived performance for our users and less load on our servers.
Escapado··on You Don’t Know Jack about Bandwidth
Another part of the reason is that in every company I have ever worked for some SEO dude insists we need to add literally 10 different tracking scripts and insists they need to load first and consume megabytes of data. At my last gig the landing page was 190kb of HTML, CSS and JS from us, 800kb of images and literally 8mb in vendor scripts we were mandated to load as early as possible. Of course we fought it, of course nobody cared.
Escapado··on Celebrating 6 years since Valve announced Steam Play Proton for Linux
This is so cool! I am genuinely happy that through this I barely ever had to boot up windows anymore when I still had my gaming PC. I wish we could have something similar on Mac. I tried GPTK and Whiskey before but a bunch of my steam games that flawlessly worked on Proton won’t even start and if they do there is a fair chance they random crash and have unacceptable performance.
Escapado··on Go is my hammer, and everything is a nail
I have been using typescript as my primary language for years and since I am used to it I actually enjoy it (much more than I enjoyed Java or Python in the past). And depending on what you built I agree, especially for one off scripts or if you plan on hosting just one or two things somewhere. On the other hand I recently saw a video by webdev Cody that got me thinking, where he was comparing a dead simple api server in go and in bun hosted on railway and their memory usage was different by an order of magnitude in favour of go plus you can compile your program down to a few megabytes instead of bundling a ~100megabyte runtime. So if you have a couple dozen of side projects where you host servers/apis that difference can end up in a noticeable operating cost differential. He made a few other points such as throughput, the more complete standard library and tooling such as go fmt and that writing the equivalent server in go wasn’t really all that different from the typescript code. You’re right that rewriting is always an option but for all over the place folks like me the next 3 projects are half done before I even think about optimising my hosting bill. But as I said, strongly depends on what you build.

I guess there are no winners, just tradeoffs.

I wonder if one use case for llms in the future could be feeding a sizeable typescript/python codebase into it and then have it spit out an equivalent in idiomatic rust/zig/c. I am aware that transpilers and assembly script and static Hermes exist but what I mean is more of a result that produces a maintainable rewritten version making use of the idiomatic libraries and coding conventions of the target language.

← PreviousPage 2 of 7Next →