HNHacker News
TopNewBestAskShowJobs

tomtom1337

272 karma · joined February 5, 2022

submissionscomments
tomtom1337··on Selection rather than prediction
Any suggestions for «orchestrating» this type of experiment?

And how does one compare the results in a way that is easy to parse? 7 models producing 1 PR each is one way, but it doesn’t feel very easy to compare such.

tomtom1337··on Show HN: Ferrite – Markdown editor in Rust with native Mermaid diagram rendering
You need something "more" on the website before you ask people to create an account. "Team workspace that stays fast" isn’t clear enough for me, at least. What is a workspace? What does the interface look like? Is it in the browser? Is it an app?

People will go "what is this?", "huh, I’m not gonna make a user for this, can’t tell what it is". Those are my 2 cents.

tomtom1337··on Pokémon Team Optimization
Haha, I started reading this, got interrupted, came back and got confused by the graph. Then came to the comments, saw your comment, reloaded the post and voila!

Thank you for a lovely post!

tomtom1337··on Steve wants us to make the Macintosh boot faster
They mean «this kind of demand/leadership» no longer exists. Not the particular feature of the wake up time.
tomtom1337··on The Connectivity Standards Alliance Announces Zigbee 4.0 and Suzi
Oooh, thank you for sharing! New product lineup looks interesting, but I echo other concerns here about it thread maybe eventually requiring internet.
tomtom1337··on The Connectivity Standards Alliance Announces Zigbee 4.0 and Suzi
Are the ikea zigbee devices going to stop being sold? Massive shame if so, they are extremely reliable and easy to use.
tomtom1337··on Show HN: Parqeye – A CLI tool to visualize and inspect Parquet files
Super quick feedback - opening that link on my phone shows me two options next to each other, seemingly with the same name / description (followed by …) and same pricetag. I had to turn my phone sideways to see that there is a windows and a Mac version.

I think you can afford the extra characters to show the whole page in portrait mode. (iPhone 16 pro Safari)

https://imgur.com/a/aTxO3sp

tomtom1337··on Ohm Editor
Could you provide a bit more context here? I’m looking at the math example (https://github.com/ohmjs/ohm/blob/main/examples/math/index.h...) and would like to learn a bit more.
tomtom1337··on Lenses in Julia
If you’re young, new to data science and hoping to get a job in it after some time, then I absolutely recommend learning Python instead of Julia.

But if you are just interested in learning a new language and trying it in data science OR are not currently looking to enter the data science job market, then by all means: Julia is great and in many ways superior to Python for data science.

It’s just that «everyone» is doing data science in Python, and if you’re new to DS, then you should also know Python (but by all means learn Julia too!).

tomtom1337··on SedonaDB: A new geospatial DataFrame library written in Rust
Look, this article is absolutely excellent, and answers your questions. Please read the article before commenting this sort of thing.

As someone who has had to use geopandas a lot, having something which is up to an order of magnitude faster is a real dream come true.

tomtom1337··on Polars Cloud and Distributed Polars now available
Ah, of course. Slightly ambiguous English tricked me there. Thank you Ritchie!
tomtom1337··on Polars Cloud and Distributed Polars now available
Out of curiosity, what makes a rust library easier to use? Could you expand on that?
tomtom1337··on Use Your Type System
Why would it be difficult to monitor the slowness? Wouldn’t a million function calls to the from_F_to_K function be very noticeable when profiling?

On your case about swapping between image representations: let’s say you’re doing a FFT to transform between real and reciprocal representations of an image - you probably have to do that transformation in order to do the the work you need doing on reciprocal space. There’s no getting around it. Or am I misunderstanding?

Please don’t take my response as criticism, I’m genuinely interested here, and enjoying the discussion.

tomtom1337··on Use Your Type System
I interpret your question as «given that I am doing many conversions between temperature, because that makes it easier to write correct code, then I worry that my code will be slow because I am doing many conversions».

My response is: these conversions are unlikely to be the slow step in your code, don’t worry about it.

I do agree though, that it would be nice if the compiler could simplify the math to remove the conversions between units. I don’t know of any languages that can do that.

tomtom1337··on Flix – A powerful effect-oriented programming language
Relevant xkcd: https://xkcd.com/2205/
tomtom1337··on Most ints are not floats
You have a typo: In your last sentence you effectively wrote «from int to float» twice in contradicting ways. «To float from int than (…) from int to float».
tomtom1337··on A new PNG spec
Could you expand on this? It sounds a bit preposterous to save a text, as json, inside an image - and then expect it to be immediately usable… as an image?
tomtom1337··on U.S. bombs Iranian nuclear sites
I suggest you wrap the misconceptions in quotation marks to make it clearer what is the misconception and what is not. Took me two passes to realize what was what.
tomtom1337··on Pyrefly vs. Ty: Comparing Python's two new Rust-based type checkers
I echo the other response here. You absolutely should switch to using notebooks in VSCode with their static typenchecker. Language Servers do exactly what you are wanting, with both notebook integration and «live coding».
tomtom1337··on Microsoft Open Sources Copilot
Turn it off?
tomtom1337··on Don't Be Afraid of Types
This resonates strongly! In Python, I often now find myself declaring Pydantic data structures, and then adding classmethods and regular methods on them to facilitate converting between them.

It makes for great APIs (dot-chaining from one type to another), well-defined types (parse, don’t validate) and keeps the code associated with the type.

tomtom1337··on AMD RDNA 4 – AMD Radeon RX 9000 Series Graphics Cards
Which GPU Are you running on? I just got a 4080 SUPER and I’m thinking of trying Linux with it.
tomtom1337··on Uv's killer feature is making ad-hoc environments easy
I use mise with uv for automatic activation of venvs when I cd into a directory containing one (alongside a mise.toml). Do you tackle this in some other manner?
tomtom1337··on Cosmos Keyboard: Scan your hand, build a keyboard
Ive used this several times, I paid for pro. Really like it! Check out the hand recognition, it’s super cool (albeit, not terribly useful).

There’s a very active and helpful community on discord too.

tomtom1337··on Time Dilation Formula / Calculator
I didn’t understand this. What is it about the gamma factor that will cause the cosmic microwave background to evaporate you?
tomtom1337··on Python Concurrency: Threads, Processes, and Asyncio Explained
I would have liked to see the performance of the ash c version, seems like a surprising omission.

I’m also confused about the perf2 performance. For the threads example it starts around 70_000 reqs/sec, while the processes example runs at 3_500 reqs/sec. That’s a 20 times difference that isn’t mentioned in the text.

tomtom1337··on Python Concurrency: Threads, Processes, and Asyncio Explained
Same on iPhone, Safari.
tomtom1337··on Spectral Imaging Made Easy: A Powerful Python Library
If you’re looking to analyse your hyperspectral images (spectrum-images, image-images or n-dimensional- n-dimensional datasets), I can highly recommend hyperspy [1].

One of the brilliant ideas hyperspy incorporates is that we consider datasets to have a navigation dimension and a signal dimension (think, you measure a spectrum at each point on an image), and you can easily transpose between them. This means that you can «move around» on the image and see what the spectrum looks like, or transpose and see what the image looks like as a function of the spectrum.

In particular I think the model building, where you can fit components to your dataset, is really useful.

It works best with the Jedi LSP - pyright doesn’t support the way we added lazy loading / extensions to the base hyperspy package.

[1] https://hyperspy.org/

tomtom1337··on Advent of Code 2024
I enjoyed reading your solutions! I’m surprised how terse they are!
tomtom1337··on The 'Return to Office' Lies
Rather than the snarky response, I’ll answer: closer is likely to be impossibly more expensive for the requirements OP needs (e.g. living area, number of bedrooms or similar).
← PreviousPage 2 of 5Next →