HN user

hamaluik

1,376 karma

Software developer in Canada. MSc in Biomechanical Engineering, but now following a lifelong passion for programming. Contact and blog at https://hamaluik.ca

Posts3
Comments150
View on HN
The Core of Rust 11 months ago

This feels like a fairly uncharitable take. The author conveniently left out all of the things needed to understand that JavaScript version, including async/await, promises, modules, string interpolation, lambda syntax, not to mention the runtime that is running this, etc.

You also don’t have to start with a program that invokes 20 concepts at once, every one of those rust concepts can have its own hello world, introducing one concept at a time. Frankly several of them are just fundamental CS concepts.

I released two apps built in dart on flutter. I loved it at the time, but I ran into this issue headlong with both of them. Release v1.0, move on to other things, come back in a year with a new computer to fix a minor bug and I can’t even compile the original release anymore, and had to spend forever rejiggering everything to get it back to the state it was when I left it. I really loved dart, and even flutter, building in it was a breeze. But the churn made the js ecosystem look slow.

So Much Blood 1 year ago

Plasma can be used outside of prophylactics as well, I don't think this is accounted for in the article (human plasma is used in cosmetics for example).

A lot of plasma is also separated out of whole-blood donations and manufactured into all sorts of things. I don't know all of the end-user financial ramifications of this, but hospitals absolutely do pay (sometimes quite a pretty penny depending on rarity of antigens and antibodies) for RBCs and platelets (and plasma) from suppliers like the American Red Cross.

Purely anecdotally, I have heard stories of some donors being compensated extremely handsomely for their regular donations because of the rarity of their blood attributes - even being flown across the country and wined and dined to obtain their blood on top of thousands of dollars per donation.

The book includes privates charities and governments, but looks at TB through many more lenses than just those. There is a reason it’s a whole book and not just a comment on an Internet forum. I just finished the book and highly recommend the read, if only to learn about something that I suspect most of us (myself at least, certainly), is known only as _history_, not the raging health crisis that is continues to be.

It took me a bit to warm up to them, but now I find myself relying on them to more quickly spot errors, so yes it ends up faster. Somewhat counterintuitively, I find the ligature characters easier to process at a glance and see if there's a problem or not (I suspect its something along the lines of my brain looks at "<=" as two separate characters, one after the other, and has to process each in serial then combine them into the concept of "less than or equal to", whereas the ≤ is a single character that goes straight to the "less than or equal to" concept in the same way its easier to remember the number "six hundred ninety-three" than "six, nine, three". I also find it way easier to spot the "≡" vs the "===" in JS land, which surprised me but here I am.

I wouldn't say its harder to go back, but it does make me do a double take. Overall I would say the effect is quite minor and I'm just fine without the ligatures, but given the option I would enable / prefer them.

I don’t get wrist pain, but that’s probably because I find it so uncomfortable I always take my watch off whenever my hands approach a keyboard. I haven’t really experienced carpal tunnel myself yet, but literally every single person I’m physically related to gets it by their 40s so maybe it’s related to that somehow?

I fall exactly here.. I used Android for a long time, until I got tired of my phone becoming non-functional after just a year or two. Switched to iPhones, and now they’re lasting 4+ years. I miss the flexibility of Android and iOS is full of bugs and design-based papercuts, yet it still manages to beat Android in just about all the areas that truly matter to me.

I can get onboard with most of this.. until the end. COVID deaths don’t just mean everyone losing 15 days of life. To me it meant multiple family members dying. It means my respiratory system has been absolutely wrecked, hopefully not forever but for at least several months now. It means my infant son is gasping for breath on my lap as I write this and there’s nothing we can do for him. Statistics in white towers are so decoupled from humanity they are worse than useless; these selfish attitudes cause real harm.

I did the same thing a couple years ago [0]. It's not the most elegant and my blog is miniscule, but it was a fun project and also born out of frustration with the existing site generators. I structured it as the source sitting next to the site contents, so from a fresh computer (with Rust installed), it's as straightforward as `cargo build`.

I think the best thing about this approach (writing your own generator) is that it really lets you build your site / content exactly the way you want to. Don't need categories and tags? Don't add them to begin with. Want to add an RSS feed? No problem, just add it. Want to do some fancy image compression and processing in the pipeline? No problem; you're the boss. It sounds simple but it really frees you up to write / generate your site however you want.

0: https://github.com/hamaluik/blog.hamaluik.ca

[dead] 4 years ago

The "Foegen effect", written by Fögen, and:

Author contributions

Conceptualization: Zacharias Fögen.

Data curation: Zacharias Fögen.

Formal analysis: Zacharias Fögen.

Funding acquisition: Zacharias Fögen.

Investigation: Zacharias Fögen.

Methodology: Zacharias Fögen.

Project administration: Zacharias Fögen.

Resources: Zacharias Fögen.

Software: Zacharias Fögen.

Supervision: Zacharias Fögen.

Validation: Zacharias Fögen.

Visualization: Zacharias Fögen.

Writing – original draft: Zacharias Fögen.

Writing – review & editing: Zacharias Fögen.

Does not inspire confidence in the quality of this research.

Is there a service in the same vein as music streaming, but for news outlets? I'd be happy to pay for a subscription somewhere at a reasonable price, but not happy to pay for and manage 150+ individual subscriptions (like what this tool provides). Granted I wouldn't ever actually sign up for most of them, but managing even more than a couple would be rather undesirable. Perhaps something with pay-per-view built in, given how infrequently I come across articles from certain publishers?

How I See Numbers 4 years ago

I don't see things the exact same way as the author, though similar (simplest way I could describe it is things like addition are filling up tanks of liquid of [usually] 10^n size, though a little more amorphous and yet "jelly" than what you would normally think of as liquid? I'm finding it hard to describe).

Exponentials get represented as a third dimension; where basic arthimetic is 1 or 2d depending on the context, exponentials go into a third dimension if that makes sense.

Modulo is the leftovers / splash-out when I pour one number into several smaller containers.

Fractions are simply fractional amounts of a tank of liquid (i.e. 2/3 is simply a measuring cup filled to the 2/3 line type of thing), but I can't ever picture them very accurately for weird fractions. "Improper" fractions are basically the same as modulo.. almost as if they're unstable in my head and automatically "pour" themselves into more tanks that fill as needed until some remainder is left.

I don't have a visualization for roots, which is probably why I'm generally so bad at them.

The representations helped in engineering school for getting a "feeling" about a formula; it was often very easy to notice if an equation I was massaging had gone off the rails. For a pure proof however (not that I did much of that), it was useless.

Doesn’t it though? It is in effect part of a larger parcel of sanctions the west is applying to Russia for their actions, and in that light is only one tiny lever; but if enough levers can be applied then I firmly believe there is hope for change for Russia.

I am frankly shocked and dismayed at the number of people deriding this decision. In a grey world this seems like such a black and white thing. Sure it may inconvenience a few, but on the other hand innocents are being slaughtered. All the weight of these complaints don't even begin to touch the scale when compared to literal children being murdered.

Besides all that, Namecheap is a private company and can do business with whomever they wish.

I unfortunately didn't keep great records at the time (probably because I was so pissed off), but my app [1] has gone through some dependency hell on more than one occasion. I've more or less stepped back from the project but the thing that sticks out to me the most is when I left the project for several months, then tried to re-clone and re-build the app to fix a bug. I ended up having to change at least a few depenencies and even send in an upstream PR to get things working (thankfully accepted quickly) before I could compile because something had somehow changed in those few months. Fixing it took a couple days of effort, which for a toy side-project almost killed it on the spot.

In my experience, Flutter is the worst cross-platform mobile development tool; except for all the others.

[1] Time Cop: https://github.com/hamaluik/timecop

Dang, I'm sorry about that.. any chance you can send me a screenshot / phone details? I unfortunately don't have a good way of debugging this (essentially I think that error implies that you can't reach the server for whatever reason). And looking at the server logs is telling me that I have some more work to do there :(