HNHacker News
TopNewBestAskShowJobs

timClicks

2,364 karma · joined December 30, 2011

https://tim.mcnamara.nz

Author of Rust in Action http://manning.com/books/rust-in-action. Feel free to mail me at tim@mcnamara.nz.

submissionscomments
timClicks··on Calendar Queues: A Fast O(1) Priority Queue Implementation (1988)
Thank you very much for taking the time to comment. One of the motivations for mine was to spur someone else who is much more knowledgeable to provide their thoughts. Thank you.
timClicks··on Calendar Queues: A Fast O(1) Priority Queue Implementation (1988)
Strictly speaking, you ended up using your compiler's priority queue. The standard defines the interface and invariants, but the implementer has discretion about the implementation. There are also several knobs you can turn to tweak the performance characteristics. std::priority_queue is a container adapter that can be applied to many of the standard containers. https://en.cppreference.com/w/cpp/container/priority_queue
timClicks··on Many small queries are efficient in SQLite
> Databases that are built into the application by default are the future. Our computers are definitely big enough.

Knowing this, I wonder if there will be another wave of object databases at some point.

timClicks··on The gigantic and unregulated power plants in the cloud
Does anyone know of an inverter manufacturer that doesn't require this? Ideally, one that offers micro inverters for each panel.
timClicks··on Alexa is in millions of households and Amazon is losing billions
That's not capitalism, that's culture. In the USA, it's very common to return products because of a change of mind and/or complain. That isn't universal.
timClicks··on Import and Export Markdown in Google Docs
To add a code block, type @ and scroll down to "Code Block <>". It's still very limited, with syntax highlighting limited to C/C++, Java, JavaSript, Python.
timClicks··on Are Ultra-Processed Foods All That Unhealthy?
> A lot, and I mean a LOT, of nutrition research is done by vegans and sponsored by vegans. It's a cult.

That conclusion is unsupported by the evidence that you're offering. It could also be explained by vegans simply wanting more research on nutrition.

timClicks··on It's OK to feed wild birds – here are some tips for doing it the right way
Flightless birds don't live in suburban and urban environments. There are predators there and they're all locally extinct.
timClicks··on Equinox.space
The dial-up modem sound was gold.
timClicks··on Amazon grows to over 750k robots, replacing 100k humans
That was the prediction at the start of the 20th century as thinkers considered the consequences of increased automation and therefore productivity.
timClicks··on Tiny bitfield based text renderer (2022)
Scripts are products of their processes. For example, musical notation looks the way it does because it was created when people used quill and ink to create the notation. Scripts that we use for writing have their origins in hand-writing and printed wood/lead.

So it's also possible to flip this around. What script could be designed with its basis being a 3x3 grid? That would allow you to create forms which are maximally distinct from each other, without needing to conform to a script like Latin characters.

timClicks··on Kākāpō – A web bundler for Nix strings with context
The vowels are different. So, although they look the same, the words wouldn't sound the same.
timClicks··on Kākāpō – A web bundler for Nix strings with context
Known is the emoji world as party parrot. The bird's name is Sirocco. https://www.doc.govt.nz/sirocco
timClicks··on Asciinema 3.0 will be rewritten in Rust
I didn't realize that AppEngine supported Rust. Are you compiling to wasm and then using their JavaScript runtime?
timClicks··on PRQL as a DuckDB Extension
This style of formatting makes more sense when queries become larger. It's also quite good when you want to have readable diffs to review when queries change.
timClicks··on Zig Software Foundation 2024 Financial Report and Fundraiser
Hi Andrew, as per https://rust-lang.zulipchat.com/#narrow/stream/335408-founda...

    To answer your question, the "Membership & Admin" slide covers:

    - General admin (software, bank fees, meeting rooms etcetera)
    - Legal and professional fees
    - Marketing services & tooling
    - Events (travel and sponsorship, primarily the latter)
    - Salaries, benefits, payroll taxes, & payroll service provider fees.
    - Membership and donor acquisition
timClicks··on Zig Software Foundation 2024 Financial Report and Fundraiser
I'll ask in Zulip if a more detailed breakdown is available. Inferring by exclusion from the other categories, it's likely the cost of the staff, such as payroll, travel and related expenses.
timClicks··on Zig Software Foundation 2024 Financial Report and Fundraiser
That's a silly thing to get upset about. It was a draft proposal written by volunteers outside the Foundation.
timClicks··on The curse of the goitre in Switzerland
It's fascinating how determined people are with their positions, even in the face of overwhelming evidence that their position causes harm. We see similar arguments today against folate fortification of bread and fluoridation of water.
timClicks··on Show HN: New visual language for teaching kids to code
Hey Charlie, love this. I would rename 'call' to 'make', or perhaps 'do', but this concept likes really neat.

Will give this a whirl with my girls, who are a little bit younger than your target market, and will flick you through any useful feedback.

timClicks··on The Rust Foundation to Develop Training and Certification Program
Creating a revenue stream that's not dependent on member subscriptions is definitely a motivating factor. The Community Grants Program suffered this year because members were far less willing to donate funds towards it.

I'm not sure that I agree with the notion that the foundation is attempting to influence anything. The influence flows the other way. It acts in support of the project.

Employers, particularly large employers, are asking for "official" certifications. The only org that can realistically offer this is the foundation itself. There are gaps in the labor market. Companies complain that there are too few developers, and developers complain that there are too few jobs. The program is in no means a complete solution to the problem, but it does bias the situation in a positive direction.

timClicks··on The Rust Foundation to Develop Training and Certification Program
Hey HN, I'm the Tim McNamara mentioned in this post. Let me know if you have any questions!
timClicks··on Exploring GPTs: ChatGPT in a trench coat?
It's possible to just ask the GPT for its prompt. Here is someone interrogating my one, and it provides an honest answer: https://twitter.com/bhanuvrat/status/1724624281189970354.
timClicks··on YouTube blocks Russell Brand from making money through its platform
Pre-roll and post-roll ads are part of the revenue share agreement, as well as things like the static ads off to the side.
timClicks··on YouTube blocks Russell Brand from making money through its platform
I believe this is true when you are a partner and you opt out of ads for a video. But if you're not a partner yet, then YT will serve ads that you don't receive any income for.
timClicks··on A Primer on Logic Programming
Introductions to Prolog seem to suffer the "draw the rest of the fucking owl" problem. There's a huge gap from the introductory examples to building real projects.

What I would love to see more of is how to embed a prolog interpreter into a wider program, using the source program's data as the database, then prolog (or perhaps datalog) as an advanced query engine or rules engine.

timClicks··on Stable Linux mainline builds for Ubuntu
I didn't realize that Canonical had lost Stéphane. Huge loss for them. Am incredibly excited what comes from his period of self-employment.
timClicks··on Rust: The wrong people are resigning
> Also apparently emotionally intelligent and making the right moves here.

One thing I really appreciate about Amos is that he spent a long time reflecting on the kind of person that he would like to be. If you look at his content from over 5 years ago, when he created his own programming language seemingly out of spite, you can see how much he has grown. It's very impressive and I wish him every success.

timClicks··on Improving Rust compile times to enable adoption of memory safety
Hey Steve, I was referring to the official Rust Survey in the podcast interview. I'll track down a specific link, but the stat comes from one of the PDFs rather than the analysis blog posts. I'm having difficulty finding it currently.
timClicks··on Shortsightedness has become an epidemic
> Journalists are completely illiterate these days.

Was this intentional? You just made the same error.

← PreviousPage 2 of 25Next →