HNHacker News
TopNewBestAskShowJobs

robmccoll

1,411 karma · joined June 5, 2014

www.robmccoll.com

[ my public key: https://keybase.io/robmccoll; my proof: https://keybase.io/robmccoll/sigs/rFoGh_YBcy3PiVvcUp7vfPqM_pDQqXXNuHrkyeB756I ]

submissionscomments
robmccoll··on The Word Made Lifeless. Are we becoming stochastic parrots?
You are a state machine. You have finite internal state that roughly adheres to a particular structure, you take in input, and as a function of internal state and input, you produce output and a new state. Sufficiently large models are a rough approximation. We are perhaps different stochastic parrots than the models we create, but likely stochastic parrots none the less.
robmccoll··on That Secret Service SIM farm story is bogus
Fair. That does seem to be happening unfortunately.
robmccoll··on That Secret Service SIM farm story is bogus
I agree with you. I get tired of people complaining about "cancel culture" and the reactions of private individuals and groups to the opinions and actions of other private individuals and groups. People have the right to say what they want and to do what they want up to the limits of causing harm to others. They can shout their inflammatory opinions from the roof tops. They can boycott and petition to try to convince private groups from giving platform to opinions or people they don't like. All of that is protected speech.

This current executive branch is weighing in and using its influence to try to control speech. It's not "you'll get disappeared by secret police for what you told your coworker in confidence" levels of control, but that it's happening at all is alarming. I worry that they have no problem trampling on the first amendment and that it seems like no part of the government is going to restrict them from it.

robmccoll··on Cap'n Web: a new RPC system for browsers and web servers
Because they each result in round-trips and individual queries to the database rather than a more efficient single round-trip with a join. Note: I don't know the details of GraphQL, but I'm assuming it does the smarter thing.

In this paradigm, the places where you are calling map() could probably be replaced with explicit getComments() or getCommentsWithAuthors() or two methods that do just one query each.

robmccoll··on Why haven't local-first apps become popular?
I wonder about the categories of apps for which offline first with potentially infinitely delayed sync provides a better experience and how large those really are.

It seems like most of those are apps where I'm creating or working on something by myself and then sharing it later. The online part is almost the nice-to-have. A lot of other apps are either near-real-time-to-real-time communication where I want sending to succeed or fail pretty much immediately and queueing a message for hours and delivering it later only creates confusion. Or the app is mostly for consuming and interacting with content from elsewhere (be that an endless stream of content a la most "social media", news, video, etc. or be it content like banking apps and things) and I really mostly care about the latest information if the information is really that important at all. The cases in those apps where I interact, I also want immediate confirmation of success or failure because it's really important or not important at all.

What are the cases where offline-first is really essential? Maybe things that update, but referencing older material can be really useful or important (which does get back to messaging and email in particular, but other than something that's designed to be async like email, queueing actions when offline is still just nice-to-have in the best cases).

Otherwise the utility of CRDTs, OT, et al. is mostly collaborative editing tools that still need to be mostly online for the best experience.

robmccoll··on Sj.h: A tiny little JSON parsing library in ~150 lines of C99
Could just change the input len to an int instead of size_t. Not technically the correct type, but it would make it clear to the user that the input can't be greater than 2^31 in length.
robmccoll··on WASM 3.0 Completed
What do you mean by the Java direction? It's a virtual machine with GC support, so I guess in that regard it's similar to the JVM, CLR, BEAM, et al. If anything, those VMs show performance improvement and better GC over time and a strong track record of giving legacy software longevity. The place where things seem to fall apart over the long term is when you get to the GUI, which is arguably a problem with all software.
robmccoll··on WASM 3.0 Completed
Non-GCed languages will continue to manage memory themselves. Previously, GCed languages that wanted to run on WASM had to have an implementation of their runtime including GC compiled to WASM. The idea or hope here is that those languages can use the built-in GC instead and slim down the amount of WASM that needs to be delivered to run the application to only include a minimal runtime. The current scenario is closer to if a web app or node app built with JavaScript had to ship a significant portion of V8 with it to function.
robmccoll··on Java 25 officially released
I think a lot of it is the people using it and certain parts of the culture. There are a lot of Enterprise TM programmers that seem to believe as many layers of abstraction and as much verbosity as possible with little tiny methods that do practically nothing leads to better solutions. It is totally possible to write concise and pragmatic code with Java. One thing that will be a thorn in your side though is null handling. The traditional approaches increase line count and branching. The newer(ish) Optional-based null handling is quite verbose but in width.
robmccoll··on Left to Right Programming
I'd argue it's because the web is the dominant platform for many applications and no other languages can offer a first class experience. if WASM had direct access to the DOM and web APIs and maybe a little more runtime support to lessen the bloat, I'd use something else.
robmccoll··on Python performance myths and fairy tales
Python as a language will likely never have a "fast" implementation and still be Python. It is way too dynamic to be predictable from the code alone or even an execution stream in a way that allows you to simplify the actual code that will be executed at runtime either through AOC or JIT. The language is itself is also quite large in terms of syntax and built-in capability at this point which makes new feature-conplete implementations that don't make major trade offs quite challenging. Given how capable LLMs are at translating code, it seems like the perfect time to build a language with similar syntax, but better scoped behavior, stricter rules around typing, and tooling to make porting code and libraries automated and relatively painless. What would existing candidates be and why won't they work as a replacement?
robmccoll··on So you want to parse a PDF?
Yeah I was a little surprised that this didn't go beyond the simplest xref table and get into streams and compression. Things don't seem that bad until you realize the object you want is inside a stream that's using a weird riff on PNG compression and its offset is in an xref stream that's flate compressed that's a later addition to the document so you need to start with a plain one at the end of the file and then consider which versions of which objects are where. Then there's that you can find documentation on 1.7 pretty easily, but up until 2 years ago, 2.0 doc was pay-walled.
robmccoll··on Show HN: EnrichMCP – A Python ORM for Agents
Disclaimer: I don't know the details of how this works.

Time-to-solution and quality would be my guess. In my experience, adding high level important details about the way information is organized to the beginning of the context and then explaining the tools to further explore schema or access data produces much more consistent results rather than each inference having to query the system and build its own world view before trying to figure out how to answer your query and then doing it.

It's a bit like giving you a book or giving you that book without the table of contents and no index, but you you can do basic text search over the whole thing.

robmccoll··on Magistral — the first reasoning model by Mistral AI
What are we doing when we think?
robmccoll··on A bit more on Twitter/X's new encrypted messaging
If I can look at the code, decide I trust the implementations of the primitives being used, how they're being used, how identity is established, and how initial key exchange works, I don't need to know what's running on the server. That's sort of the point of end to end encryption.
robmccoll··on Google restricts Android sideloading
False dichotomy. They're both perfectly capable of doing things that are potentially detrimental to consumers but good for bottom line.
robmccoll··on Getting forked by Microsoft
Generally, you would want to do one of:

a) Keep any code that you've pulled in from another project in its own directory structure with a license file indicating where it came from and its licensing terms.

b) If you intend to modify the code or integrate it more tightly with your own, copy the notice into each source file that was taken and perhaps put a pre-amble along the lines of "Portions of this file were copied from XXX under the MIT license as follows:". Ideally you would make a commit with the file in its initial state as copied, and then if you ever need to determine what came from where and how it was licensed, it shouldn't be too difficult.

robmccoll··on Getting Forked by Microsoft
You are mistaken. The license explicitly allows it subject to the terms of the license:

> The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

Microsoft didn't follow these terms. They copied "substantial portions of the Software" and didn't include the notice.

robmccoll··on SpacetimeDB
This sounds like a fundamental disagreement with using ORM. Are you advocating for always writing queries (not excluding the possibility of a query builder) over treating database rows as application-side entities that can have CRUD operations performed on them / persisted?
robmccoll··on The Myst Graph: A New Perspective on Myst
I'd play the 2021 UE remake unless you are specifically a fan of retro gaming / have fond memories of playing games in the 90s. If you are new to the series, it hews close enough to the original that you aren't missing anything on puzzles or story, but its modern graphics and fully explorable world might give you an experience similar to what it was like to play the original closer to release.

Then go play the Riven remake. They simplified a few puzzles maybe a bit too much, but otherwise it's fantastic.

robmccoll··on Deciphering language processing in the human brain through LLM representations
I view this as further evidence that we less different from "stochastic parrots" than we would like to believe.
robmccoll··on The case of the critical section that let multiple threads enter a block of code
Typedeffing away pointers means I don't know when copying or passing something if it's by value or by reference.
robmccoll··on The case of the critical section that let multiple threads enter a block of code
Looking at Microsoft's C code makes my eyes hurt. I don't know if it's the style (bracket placement, no new lines), naming conventions, typedeffing away pointers, or what, but it just doesn't read easily to me.
robmccoll··on Sign in as anyone: Bypassing SAML SSO authentication with parser differentials
Don't use SAML, mostly because it uses XMLDSig. Don't use XMLDSig because it's hard to get usefully right and easy to get dangerously wrong.
robmccoll··on Asahi Linux lead developer Hector Martin resigns from Linux kernel
Zig is at least better impedance matched to C. Procedural and relatively small conceptually. Simple interop. Rust feels closer to C++ than C.
robmccoll··on Trump's Federal Funding Freeze and Mean-Field Game Theory
Progressivism and the idea of being "progressive" or "a progressive" are defined ideologies. Within the political spectrum they have their own meaning. Arguing semantics in this way is not particularly different than saying "I saw a Republican turn left coming out of a doorway, so are they really on the right?"
robmccoll··on I Met Paul Graham Once
> The whole "war on hate" thing was a bad idea; you can't forbid hatred. It predictably didn't work, and it's good that we're turning away from it.

This is a myopic view. You are obviously correct that you cannot legislate that someone think in any particular way or otherwise force someone to change their minds, but the idea that collectively deciding that a viewpoint is not longer tolerated within the broader society and then making efforts to support that at all levels is ineffective and not worthwhile is absurd. Threats, physical violence, and murder have always been illegal, but used to occur with much higher frequency against many minority groups toward which society tolerated hatred and abuse. It's plainly obvious what changed is the idea that it would be brushed under the rug, that others would at worst turn a blind eye to the perpetrator if not support them, that there would be no real consequences whether legal or in social circles - this environment in which people act on impulse rather than thinking twice about what they're doing - went away. We must remember that progress isn't permanent, that civil rights must be maintained and won't protect themselves, and that there's probably someone out there that hates someone each of us loves and cares about for some arbitrary reason and would act on that if only society gave them permission.

robmccoll··on Meteorologists Get Death Threats as Hurricane Conspiracy Theories Thrive
Yes! James Spann was and is an excellent source of meteorological information. I remember him coming to our school and talking to kids about his job and encouraging us to take an interest in science and the world around us. Alabama needs more people like him and fewer people who are likely to encourage conspiratorial thinking for political points at the potential cost of human life.

Also, appreciate the username - great game.

robmccoll··on How Discord stores trillions of messages (2023)
Cassandra is essentially an append-mostly distributed fault-tolerant hash table. If you need specifically that with high write throughput, it's a good choice. I don't understand why people use it as a database. You run into it's limitations immediately and the pain of trying to use it like a database only gets worse with scale.
robmccoll··on SAML: A Technical Primer
Even better: XML signatures, which are very easy to get wrong in both signing and verification.
← PreviousPage 3 of 14Next →