HNHacker News
TopNewBestAskShowJobs

mightyham

485 karma · joined December 7, 2021

submissionscomments
mightyham··on China sanctions US drone maker Skydio
You would have to be naive to think that a house bill banning consumer drones is about "supporting the base". The prevalence of Chinese goods in the US is not a popular or even very partisan issue. The actions being taken against DJI has everything to do with the United States' strategic economic and military objectives.
mightyham··on China sanctions US drone maker Skydio
I'll also add that earlier this year, the US put a number of Chinese consumer technology companies, including DJI, on a public blacklist that designates them as "Chinese military companies". This is a clear use of the United States' diplomatic power to hurt and discredit Chinese tech businesses. Whether the US should be doing that is another issue. At the end of the day these sorts events are a common biproduct of large power politics, but the point is that China's actions are not unwarranted.
mightyham··on China sanctions US drone maker Skydio
Last month the U.S. House of Representatives voted to "bar new drones from Chinese drone manufacturer DJI from operating in the United States"[1], and even more recently there has been reports that customs is, using some arguably phony justifications, holding up imports of DJI drones[2].

While you are right that the US has not fully passed and officially enforced a country-wide DJI ban, saying that the US is "just" banning DJI usage by the dept of defense, ignores a number of developments suggesting that the US is in the process of a more expansive ban.

[1] https://www.reuters.com/world/us/us-house-votes-bar-new-dron... [2] https://www.reuters.com/world/us/us-customs-halting-some-dro...

mightyham··on Jank development update – Moving to LLVM IR
That makes sense that the potential for performance improvements is greater, I'm just a bit skeptical it can actually "consistently beat clojure" in anything except for micro-benchmarks. It's mentioned in that article that jank uses a pretty basic GC while the JVM/Graal contains multiple state-of-the-art GCs tailored to different use cases. It's been shown many times that the JVM or Graal's JIT compiler have better peak performance over a long duration than compiled programs. This simply comes down to the fact that there are a host of specialized optimization strategies only possible when compilation can happen during runtime.
mightyham··on Jank development update – Moving to LLVM IR
I'm curious what advantages Jank has over GraalVM, since Graal also supports interop with llvm languages.
mightyham··on Show HN: Graphite, a Blender-inspired 2D procedural design Rust app
Those are both 3D CAD programs though, and almost all CAD software supports 2D parametric sketching. I mostly just find strange though that such a ubiquitous feature in CAD, which allows for fast creation and manipulation of 2D shapes, is missing from every vector graphics tool I've used.
mightyham··on Show HN: Graphite, a Blender-inspired 2D procedural design Rust app
Awesome! If I ever find the time, I will definitely look into contributing.
mightyham··on Show HN: Graphite, a Blender-inspired 2D procedural design Rust app
Congrats on releasing such a complex tool, that's a big achievement.

Someday, I'd like to try my hand at making my own vector graphics tool that contains a constraint solver. I am just an amateur when it comes to graphic design, but I often find Inkscape incredibly difficult to use. Certain shapes take bizarre combinations of commands to create and once a design is finished it can be hard to make adjustments. I find it much easier to make 2D designs as a fusion 360 sketches because constraining a bunch of lines and curves then playing with measurements is significantly more intuitive and interactive. Also maybe a tool like this already exists and I'm just not aware of it.

mightyham··on Christopher Columbus may have been Spanish and Jewish, documentary says
First off, it is factually correct to say 1) Columbus' expeditions connected (for better or worse) groups of people that never had had contact before and 2) the Native Americans specifically killed by disease (which was roughly 80 to 90% of the population) was an inevitable result of travel and trade with the Americas.

You can use whatever moralizing language or comparisons to modern day conflicts you want to analyze these events because that's not what I took issue with. As I stated before, my problem with your comment was that you wrongly tried to label a descriptive statement about history as "culturally insensitive".

mightyham··on Christopher Columbus may have been Spanish and Jewish, documentary says
GP quite literally acknowledged the injustices that happened in the sentence before the one you quoted.

Saying the Columbus' expedition brought humanity together is a descriptive statement because it did in fact permanently connect groups of humans who had lived separately for thousands of years.

Also if you think it's culturally insensitive to describe the effects of European colonization (positive and negative), then I think you'll find it hard to discuss almost any historical events because cruelty has existed everywhere. This isn't whataboutism btw, my point is that sensitivity should not be a primary concern in a rational discussion about history because history is harsh subject.

mightyham··on Proposal: JavaScript Structs
I'm not sure what setup you have, but debugging TS code is pretty trivial. I use vite for all my projects at work and when running the dev server there is seamless integrations with the debugging dev panel in Chrome or Firefox.
mightyham··on Zod: TypeScript-first schema validation with static type inference
I'm currently using valibot and the author's associated modular form library in a production app and can vouch that it's been very pleasant to work with.
mightyham··on Show HN: Brisa Framework – Unifying server and client using the Web Platform
I haven't actually worked with Tauri, but shouldn't every web framework be Tauri compatible out of the box?
mightyham··on Decoding the Language of Othering by Russia-Ukraine War Bloggers
Very cool research topic, doing language analytics on telegram channels is a pretty interesting case study for modern war propaganda.

That being said, I think the theoretical framework presented here is flawed. Many political scholars would say that the definition of politics is the process of defining ingroups and outgroups. Fundamental to understanding political group dynamics is analyzing power, which a major component is the capacity for violence. This research provides a "Model of Othering" which, when properly understood, is really just synonym for political rhetoric. There are a lot of subtle moral presuppositions being made throughout this research that doesn't seem appropriate for a serious scholarly analysis.

This might also be getting a bit too far off topic, but it also strikes me as fairly tone def to be publishing research comparing Russian war rhetoric to Nazi Germany when politicians from both of America's own political parties are currently calling Iran a "terrorist country".

mightyham··on Ryujinx (Nintendo Switch emulator) has been removed from GitHub
You don't seem to understand what I'm saying because obviously it's technically feasible for Nintendo to port their games. The fact that they own the hardware platform their games are run on though, fundamentally changes Nintendo's approach to designing games. And considering how successful the buissness is, clearly people like what Nintendo is making. It has nothing to do with incompetence and everything to do with the fact that they have found a niche in the gaming market, which means they can't and shouldn't try using the same business strategies as a normal game studio.
mightyham··on Ryujinx (Nintendo Switch emulator) has been removed from GitHub
Nintendo's primary competitive advantage in the gaming space is it's expertise in hardware and tight integration of self-published games. Nintendo would have to fundamentally change it's business model and alter the design of their games (and consequently the unique appeal of them) in order to fit your demand.

You are right about Apple though, simply allowing people to install their OS on other hardware for personal use would not impact their market strategy in any significant way.

mightyham··on Show HN: Fast and Exact Algorithm for Image Merging
What are the practical applications for this tool? Typically stitching images for something like panoramas requires significantly more advanced image processing algorithms because the pixels do not perfectly overlap.
mightyham··on Show HN: I Wrote a Book on Java
Kotlin has a lot of really nice language features and it's Java interop is a big sell, but after digging into the details I'm pretty pessimistic about it's long term success for a few reasons.

They seem to be attempting to move away from the JVM, preferring it's own multiplatform native compilation which is significantly less battle tested and, last I checked, still suffers from serious performance issues. This is a shame too because Oracle has put a lot into the development of GraalVM, which is a great solution for native compilation of JVM languages, but Kotlin still wants to tread it's own path for some reason. It creates a weird fracture in the ecosystem where some libraries only support either multiplatform or the JVM, and I'm pretty sure Java can't even be used in multiplatform projects.

Another big issue is that idiomatic Java code can often feel clumsy to use from Kotlin: for instance Kotlin function types don't map nicely to functional interfaces and the syntax for AutoClosable/try-with-resource statements is awkward. I can only see this getting worse in the future, as Java continues to develop new features and standard library APIs that are designed FOR JAVA. An example of this already happening is Java's in preview structured concurrency API. It makes heavy use of try-with-resource and offers duplicate but not necessarily compatible functionality to Kotlin's own coroutine API.

Also build times... They have gotten better but they are still much worse that any plain Java project and Java build times are already not great.

mightyham··on A good day to trie-hard: saving compute 1% at a time
The hash does not need to be computed on the whole string. I pointed this out in my other comment but just as a example: a hash function could be as simple as xoring the first 16 and last 16 bits of the string then indexing a 2^16 array. That means hashing is two pointer offsets and an xor (no modulo required). If there are 100 strings that need to be removed, then ~99% of rejections will be a very fast O(1).

And in the case of a match, a fast hash + memcmp will be way faster than a trie traversal. In fact, according to the trie-hard github readme, std::HashMap is already much faster than their trie implementation when searching for a match.

mightyham··on A good day to trie-hard: saving compute 1% at a time
The point I'm making is that a specially optimized hashing function would probably blow away any trie traversal. When you know the data being hashed before hand it is possible to make custom hash functions that are as simple as a few bitwise operations on the first, middle and last character of the string (just an example).
mightyham··on A good day to trie-hard: saving compute 1% at a time
I'm not very well versed in data structure optimization, but I was surprised they dismissed hash tables so quickly, especially when the table they are searching through is static. I find it somewhat hard to believe that a specially optimized hash table would not be faster than their trie implementation.
mightyham··on COSMIC Alpha Released
Maybe take another look at frameworks, they are by far some of the best laptops out there for computer people imo. Other than that, steer clear of system76. I've only bought one laptop from them a few years ago, but the build quality was astoundingly bad and after a year of use the battery couldn't last more than a couple hours.
mightyham··on Gazette: Cloud-native millisecond-latency streaming
I don't know anything about the internals of io_uring and am genuinely curious how it works. Saying it "directly works asynchronously" doesn't mean anything though. When circular buffer requests are processed what thread is processing the request, how is that thread managed, and how does it manage blocking/unblocking when communicating with the storage device?
mightyham··on Launch HN: Airhart Aeronautics (YC S22) – A modern personal airplane
Classic false equivalence. Mature airplane engine technology based on alternative energy really doesn't exsit at the moment, while the same cannot be said for residential energy.

The existence of the a fossil fuel based car market provided an impetus for electric car and battery technology to develop. Similarly, practical alternative energy flight will likely develop faster if there is a market for small, innovative aircrafts.

mightyham··on Launch HN: Airhart Aeronautics (YC S22) – A modern personal airplane
Innovation doesn't come from nowhere, and demand for air travel is not going away. So if there is a small, personal, innovative platform that makes it easier to test new propulsion technology at scale (in contrast to large commercial airliners that are less innovative), it seems entirely possible that could help with aircraft pollution in the long run
mightyham··on Belenios: Verifiable online voting system
Or universal suffrage is fundamentally flawed. If people can't understand mildly complex voting systems then why should they be contributing to making political decisions that are significantly more complex.
mightyham··on Fuzzify: A tiny library for fuzzy search
There are tons of js fuzzy search libraries with basically the same functionality. Is there any reason I should use this over others?
mightyham··on Evolving the ASF Brand
Then state the obvious for me please because I don't think it is. I don't see how, in a multi-ethnic nation, making the neutral use of a name (in the case the use is actually positive) exclusionary to specific ethnicities is progress. It seems like a regression in our culture that we are having tribal quibbles over immaterial usage of language.
mightyham··on Evolving the ASF Brand
Native Americans have the agency/self-determination to portray themselves however they want regardless of the name of ASF.

You seem to be arguing that Native Americans should have an exclusive right in determining how they are portrayed which is not only the opposite of progress, but is also treats them as a monolithic group, which is ignorant of sheer amount of diversity among Native Americans.

mightyham··on Evolving the ASF Brand
Since you say this is progress, do you mind elaborating on what exactly this is progress toward? Even if the ASF fully changed their name tomorrow, what actual positive impact is that going to have on Native Americans?
← PreviousPage 6 of 9Next →