HNHacker News
TopNewBestAskShowJobs

virtualwhys

3,415 karma · joined January 3, 2013

N.S. Cutler (https://github.com/godenji)

Backend Scala developer since 2012. Enjoy relational databases combined with FQLs in the vein of Slick, Quill, Esqueleto, LINQ to SQL, etc.

Also work with Scala.js, and Angular + TypeScript on the frontend.

submissionscomments
virtualwhys··on Boxed – Things I learned after lying in an MRI machine for 30 hours
I've had an MRI twice, once for my wrist and another time for my shoulder.

The wrist experience was fine, I actually sat down with my hand inside of the extremely loud contraption.

The shoulder experience was a different matter entirely. I was in Vietnam during the pandemic, and injured my shoulder during a table tennis training session.

At the hospital they do the standard blood pressure/pulse routine, which went fine until the machine started beeping red, at which point the nurse arranged an emergency visit with a cardiologist as my standing heart rate was under 40 BPM.

I felt fine but the cardiologist said I had something called bradycardia, and was at risk of a massive coronary if I didn't take medication to speed up my heart rate.

I was understandably worried about my heart, but wanted to get my shoulder looked at, so into this long, thin spaceship-like tube I went...

and pretty much instantly freaked out :)

I pressed the panic button; a tech came in and said, "close your eyes before entering". That made all the difference, MRI went fine after that (well, despite how absurdly loud it is in there).

As for my heart, I've probably had this condition my whole life.

virtualwhys··on Show HN: Rust GUI Library via Flutter
Off the top of my head:

1) Types on the left

2) Statement, not expression, based

3) No privacy modifiers (aka, underscores everywhere)

4) required semicolons

5) no language support for json (de)serialization, or, json boilerplate everywhere (yikes)

I've tried to get into Flutter 3x now, and each time Dart has defeated me.

Flutter is quite good though, so take the good with the bad, I just can't stomach Dart (yet).

virtualwhys··on Just Be Rich (2021)
You're right, it's actually 0% with any amount invested, $100,000 or $1,000,000,000,000,000, doesn't matter, provided you don't sell more than roughly $40k, or, god forbid, generate additional income through, say, work.

That flat tax rate certainly scales nicely the wealthier you happen to be, paying a max of 20% if you hold for more than a year and decide to cash in on this now several year massive run up in the markets.

virtualwhys··on Just Be Rich (2021)
Define wealth.

I wouldn't confine wealth to just the billionaire class; I'd say wealth is anyone with 5 million+ USD in liquid assets (specifically, that sum of money in stocks, bonds and cash).

The poorest of the poor in the United States (that have to pay tax), make around $12K per year, and pay more in tax, percentage-wise, for their work than an individual doing absolutely nothing but passively investing in the market does (10% long-term capital gains).

There's zero political will to change this because, surprise, every senator, and most members of congress, would be shooting themselves in the foot if legislation to increase captial gains tax were passed.

There's too much focus on billionaries -- the United States population as a whole consists of many, many individuals with absurd amounts of wealth that pay next to nothing for doing nothing.

At any rate, it is what it is, the American corporate wealth machine benefits, largely, the already wealthy.

virtualwhys··on The Promise of 5-MeO-DMT
To say that 5-MeO is a short duration psychedelic doesn't convey what's actually happening -- basically, you go from your normal waking state to likely the most profound experience of your life, and then, if you felt so inclined, back to work...all within 10-20 minutes.

That's precisely what I didn't like about it, the rapid shift back to everyday consciousness. At least with other psychedelics you can spend an entire day in the woods, feeling the entire ebb and flow of the experience, and perhaps learn something in that process.

With 5-MeO it's just instant God realm, and then, hmmm, what's for breakfast? Strange substance :)

Finally, it's not for the feint of heart; until you try it you have no idea what you're getting into -- there is no preparation for the rocketship that is 5-MeO.

virtualwhys··on Embed Crystal code directly in Ruby
> but you can't have both speed and type inference. Pick one.

With OCaml you can pick two :)

virtualwhys··on A Parabel (1973)
Presumably true mathematicians operate exclusively in the realm of theory and can't understand (the point of) practical implementations, which programmers tend to enjoy when the solution is elegant.
virtualwhys··on What Monks Know about Focus
> However as an ordained Buddhist monk...

Then perhaps you meant to say you've taken the precepts, as ordaining and a layperson taking the precepts are obviously entirely different levels of commitment.

virtualwhys··on A Vanishing World: On Europe's Disappearing Peasantry
Tony Gatlif films, pretty much all of them.

Totally different but also amazing, the Three Colors Trilogy, and the polish tv series, Decalogue (on Criterion I believe)

virtualwhys··on Freenginx: Core Nginx developer announces fork
"Postginx" has a nice ring to it, could be an alcoholic beverage, a name of a generation, or even a web server.
virtualwhys··on Harvard Faces New Threat of State Tax on $51B Endowment
To be fair, for the Avon Hill area her place is pretty pedestrian, and like many in that neighborhood they've been sitting on their property for years -- the tax windfall for the state won't come until those property owners sell en masse, which is unlikely, it's one of the nicest areas in Cambridge.
virtualwhys··on Show HN: Restaurants in Peace – leave a remembrance for a closed restaurant
Aux Derniers Humaines in Montreal, what a fabulous place that was, best omelettes on earth.
virtualwhys··on Pixel 8 Pro
My 5a's camera routinely crashes the phone and reboots when attempting to take a photo in bright light conditions (e.g. in broad daylight) -- it's infuriating, google says the phone is out of warranty so apparently I'm SOL.

With Asahi Linux I'm now considering going back to all-Apple hardware after 12 years away.

virtualwhys··on PRQL: Pipelined Relational Query Language
What is the generated SQL of that expression?

This is indeed a sticky problem, one that usually requires a subselect or other workaround to address the non-determinism of group by + order by; i.e. one cannot simply "select * from employees group by role order by join_date limit 1" and be guaranteed to get the expected ordering.

virtualwhys··on Things I wish I’d known before fulltime RVing (2017)
> Passenger seat is converted into a desk.

Got any pics of your rig?

virtualwhys··on Widely used chemical strongly linked to Parkinson’s disease
Likewise, hernia operation as a small child.

I remember feeling like a peanut butter and jelly sandwich being folded in half, and then the lights went out.

Hopefully one-off cases don't significantly affect the chances of getting a serious neurological disorder later in life -- it seems we'll find out in the coming years...

virtualwhys··on The businessman and the fisherman (1963)
In a similar spirit there's Tolstoy's classic short story, "How Much Land Does a Man Need?" [1]

I'd start just before chapter V if you want to get right into it -- the ending is truly delicious, and quite inline with OP's story, enjoy.

[1] http://www.online-literature.com/tolstoy/2738/

virtualwhys··on A mansion hidden directly under the Bay Bridge
Been there, not even sure how it's legal to charge a (usually quite substantial) cleaning fee while having the guest do 1/2 the work.
virtualwhys··on A mansion hidden directly under the Bay Bridge
FTA, $500 per day to rent an historic mansion overlooking the bay (i.e. before the bridge obstruction)

I have a family wedding to attend back east this autumn and we're looking at around that (before "service fees" and taxes) to sleep 5 out in the sticks of New Hampshire -- short-term housing has truly gotten out of hand, basically everywhere.

virtualwhys··on Angular v16
30+ second incremental build times? How big is your app?

Presumably you haven't implemented lazy loaded routes?

virtualwhys··on The Effects of Noise on Health (2022)
Perhaps a similar study could be done in, say, India.

I'm not sure if it's due to their being used to loud/disturbing noise , or if Indians in general have some kind of ongoing inner Zen, but the amount of noise that the general population seems to completely ignore (e.g. a vehicle loudly and continuously honking right behind you as you walk) is really quite impressive.

I remember eating dinner at a restaurant in Rishikesh one night in a quiet remote-ish area. There were some workers about to unload a truck, and just in front of them on the restaurant grounds was a multi-generational Indian family all together enjoying their meal. I saw two of the workers casually hurl this big piece of sheet metal onto a metal trailer, resulting in a massive clash of ear piercing noise that the family somehow just ignored, not a head turn of annoyance (as would be typical in the west), just continue the conversation without skipping a beat -- amazing.

virtualwhys··on End-of-Life Dreams
"I leave you, my dream"

These were apparently Ossho's parting words.

Hopefully if one has time to die (i.e. not suddenly) then such truths as in the article emerge before the end comes.

virtualwhys··on End-of-Life Dreams
> Cover me in a blanket of sunshine

That's a truly wonderful, life affirming expression in the face of mortality.

virtualwhys··on A Map of Places in the US with the Same Name
The top Cambridge listed is Cambridge, KY, which is bizarre.

I'd have expected Cambridge, MA, or Cambridge, UK, far and away the most well known towns of this name in the world, but they're far down the list.

Algorithm could use some fine tuning :)

virtualwhys··on In 2017, developers competed for who could create worst volume control interface
> Over 400 replies and no way to conveniently filter, sort, or search. Not worth it.

HN has similar issues, although here it's minimalism by design.

virtualwhys··on TypeScript 5.0
> it's one of those features that outside of Rust you only really find in ML-family languages

Or in Scala, technically not an ML, but is as close as you'll get in a nominally typed language.

    enum RGB:
      case Red, Green, Blue

    def log(x: RGB) = x match
      case Red => print("red")
      case Green => print("green")
      // error, not exhaustive
Obviously Scala can do a lot more, including GADTs, which Rust will never have until HKTs are supported.

Ton of powerful languages to choose from these days, good times...

virtualwhys··on Apartment rents fall as new supply hits market
I neglected the /s, oh well, I'm in complete agreement with you :)
virtualwhys··on Apartment rents fall as new supply hits market
Airbnb nicely fills the modern day boarding house market, although it's slightly more expensive than the equivalent 18th century room for rent.
virtualwhys··on The Python Paradox (2004)
> So a language that makes source code ugly is maddening to an exacting programmer, as clay full of lumps would be to a sculptor.

I am completely repulsed by Dart, but people seem to actually not be bothered by the hideous syntax. Must be wearing Flutter colored glasses...

virtualwhys··on The i3-gaps project has been merged with i3
I guess it's been 12 years on i3, time flies :)

Thanks to the maintainers -- a stripped down Linux distro + i3 is an incredibly powerful combination.

← PreviousPage 2 of 32Next →