HN user

virtualwhys

3,411 karma

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.

Posts129
Comments953
View on HN
www.cs.cmu.edu 1y ago

MVCC – the part of PostgreSQL we hate the most (2023)

virtualwhys
382pts137
www.youtube.com 1y ago

Valhalla – Where Are We? By Brian Goetz

virtualwhys
2pts0
finance.yahoo.com 1y ago

A Chatbot Is Now Cleared to Give Buy, Sell Investment Advice

virtualwhys
2pts0
www.youtube.com 1y ago

Valhalla – Where Are We? [video]

virtualwhys
2pts0
www.technologyreview.com 1y ago

Google DeepMind's AI systems can now solve complex math problems

virtualwhys
7pts1
www.bloomberg.com 2y ago

Xi Calls on 'Patriots' to Step Up Taiwan Anti-Independence Fight

virtualwhys
3pts0
www.bloomberg.com 2y ago

Walmart, Target Push for New Shoplifting Crackdown in California

virtualwhys
2pts0
www.bloomberg.com 2y ago

Investors Have Sky-High Hopes for AI. Can the Tech Deliver?

virtualwhys
11pts3
www.bloomberg.com 2y ago

Reddit Revenue Rises 20% Ahead of IPO, but It Isn't Profitable Yet

virtualwhys
5pts1
www.bloomberg.com 2y ago

How Would China Take over Taiwan? One of These 5 Strategies

virtualwhys
9pts1
www.bloomberg.com 3y ago

Supreme Court Throws Out Biden’s Student-Loan Relief Plan

virtualwhys
9pts0
www.bloomberg.com 3y ago

Y Combinator’s Latest Batch Is 35% AI Startups

virtualwhys
48pts20
www.bloomberg.com 3y ago

Coinbase Says AI Represents ‘Important Opportunity’ for Crypto

virtualwhys
8pts2
finance.yahoo.com 3y ago

AI Is Becoming the Stock Market’s Answer to Everything

virtualwhys
3pts0
finance.yahoo.com 3y ago

Wall Street increasingly doubts Fed can meet 2% inflation target

virtualwhys
3pts0
www.bloomberg.com 3y ago

Airbnb Tumbles the Most Ever After Giving Muted Travel Outlook

virtualwhys
1pts0
finance.yahoo.com 3y ago

Half of America’s banks are already insolvent

virtualwhys
69pts79
finance.yahoo.com 3y ago

US Banks Are Finally Being Forced to Raise Rates on Deposits

virtualwhys
6pts0
www.bloomberg.com 3y ago

Gemini and Genesis Sued by SEC over Crypto ‘Earn’ Program

virtualwhys
3pts0
www.bloomberg.com 3y ago

FTX Latest: Binance CEO Plans Recovery Fund, Laments Bad Actors

virtualwhys
1pts2
www.wsj.com 3y ago

Airbnb to Make Cleaning Fees Clearer on Searches After Customer Complaints

virtualwhys
1pts0
www.bloomberg.com 3y ago

Richest Silicon Valley Suburb Says Build Anywhere but Here

virtualwhys
25pts22
www.ncbi.nlm.nih.gov 3y ago

Anauralia: The Silent Mind and Its Association with Aphantasia

virtualwhys
4pts0
www.usnews.com 4y ago

House Passes Bill to Decriminalize Marijuana

virtualwhys
41pts9
finance.yahoo.com 4y ago

Teen Suspected by Cyber Researchers of Being Lapsus$ Mastermind

virtualwhys
4pts0
www.bloomberg.com 4y ago

Putin’s State Media News Is Interrupted: ‘They’re Lying to You’

virtualwhys
223pts67
www.bloomberg.com 4y ago

Stablecoin Tether Disregards Ukraine’s Plea to Halt Russian Use

virtualwhys
5pts0
hbr.org 4y ago

Research: Restricting Airbnb Rentals Reduces Development

virtualwhys
2pts0
www.bloomberg.com 4y ago

What the Heck Is a ‘Reverse Repo Note’ and What Happened to All of Tether’s?

virtualwhys
3pts2
www.bloomberg.com 4y ago

Tether Fined $41M for Lying About Reserves

virtualwhys
376pts251

Not sure why but I especially enjoyed, "I've got to get my ass together", it's almost like a koan.

Serialization support has been coming for years, I lost patience.

Otherwise, yes, some support for expressions, some support for immutability, no support for optional semi-colons, no privacy modifiers so "_" littered everywhere.

I just found it to be an exceedingly ugly language when I used it a couple of years ago. Yes, some more pleasant modern functionality has been bolted on since then, but it's unfortunate that Dart was chosen as the backing language for Flutter, which is an awesome mobile framework.

Big turnoff with Dart is the lack of json (de) serialization -- kind of shocking to have to resort to source code generation libraries in a modern language.

Also, statement based instead of expression based, and not immutable by default are kind of a drag; not the end of the world but a bit unpleasant, IMO.

Looking at a Thinkpad 16" P1 Gen 8 with 2X 1TB SSD, 64GB RAM, QHD+ screen, centered keyboard like MBP (i.e. no numpad), integrated Intel GPU, lightweight (4 lbs) for a little under $2.5K USD.

Closest I've found to an MBP 16" replacement.

Have been running Dell Precision laptops for many years on Linux, not sure about Lenovo build quality and battery life, but hoping it will be decent enough.

Would run Asahi if it supported M4 but looks it's a long ways away...

It would be odd, but that name does ring a bell, Charlie Gordon is the central character in the ever poignant, Flowers for Algernon.

Maybe Bellard identifies with the genius, but fears the loss of it.

My father had bladder cancer, which was caught relatively early as the cancer had not yet spread beyond the bladder wall.

The doctor performed a rather uncomfortable surgery (the pathway for a man is not pleasant) and then injected the TB virus into his bladder, which is apparently an effective treatment for this type of cancer.

It's been 20 years now, no recurrence. Think he was treated at Dana Farber in Boston.

Having gone through what was likely a life saving treatment he has become, ironically, anti-western medicine -- don't blame him, having a surgical implement shoved up main street doesn't sound like a walk in the park :)

Fedora 42 Beta 1 year ago

Until now I'd only heard of Framework laptops, but am blown away by the build-your-own process -- incredible, spec the machine just as you want it.

Going to dive into the details now, thanks...

Fedora 42 Beta 1 year ago

Was just in an Apple Store yesterday mulling over whether or not to switch back to macOS after 15 years on Linux PCs.

Both MacBook Pros and Airs are nice machines, but macOS, for me, it's a huge step back.

Unfortunately the Asahi project is underfunded (likely one of the reasons the project founder/lead jumped ship recently), and as a result M4 support is likely a year+ away.

Oh wells, let's see what Dell and Lenovo have on offer this spring/summer. Should be able to get a pretty decent PC laptop for less than the $4k+ an MBP 16" with 2TB/64GB will cost.

Same boat, @6 year old Dell Precision 5540 here and am looking to upgrade.

Dell's latest offerings aren't particulaly inspiring, especially wrt pricing (absurdly expensive for what you get). Seems that PC laptop manufacturers have taken a page out of Apple's playbook and charge through the nose for memory and SSD upgrades.

To put in context, I paid $1,100 USD for this machine in October, 2019, and around another $200 for 2 X 512GB SSD and 32 GB RAM. So, $1,300 all-in. These days you're looking at least double the price.

And if you're going to blow $3K on a laptop, might as well go with a MBP; at least there you're getting high end hardware. Giving up Linux after 15 years is a bitter pill, hopefully Asahi Linux will come out with M3/M4 support in the next year -- in the meantime I'll migrate my current machine to a Fedora VM on the Mac.

Migrated a Scala 2.8(!) era codebase to Scala 3.

As OP explains, macros and abstract type projections tend to be the biggest pain points in complex applications; otherwise, with Scala Rewrite tool it's pretty straightforward.

I think it's more inertia than anything else that more Scala 2 companies don't migrate.

Unpopular opinion, but setting a Scala 2 sunset time would spur companies into action :)

As it stands Akka (previously Lightbend, previously TypeSafe) is the maintainer of Scala 2, and derives part of its revenue from Scala 2 support contracts so there's even less incentive to migrate when there's no EOL date as Python 2 (eventually) had.

$4 and change here for locally sourced eggs in San Diego, CA, at an organic food store no less.

Meanwhile, $9+ at commercial supermarket for bottom of the barrel factory produced eggs -- strange times...

Composable SQL 1 year ago

See Esqueleto in Haskell, Slick and Quill in Scala, probably LINQ or some variant on .NET in C#/F#.

All support building up arbitrarily complex queries based on statically typed query fragments.

String fragment "composition" is like banging rocks together.

Uncut Currency 2 years ago

Looking at the images and the price of eggs I can't help but think...

expensive toilet paper

Counterpoint, running Dell R430 rack server for nearly ten years -- in that time a single SSD in raid 10, 8 disk array, has failed.

Maybe I got lucky?

Similarly, my last three laptops have all been Dell Precision -- only issue until I switched to Intel integrated gpu was Nvidia on Linux (black screens, laptop attempting liftoff due to gpu heating issues) causing periodic grief.

Also, for the author, Dell Precision provides advanced BIOS options out of the box, something that their consumer line of laptops probably doesn't offer.

8 years and still going on a Dell R430 rack server (8X SSD in RAID 10, 2X Xeon CPU, ...)

One of the drives failed last year, but used one of the hot spares on standby to put out the fire as it were.

Amazing longevity, perhaps I've just gotten lucky while avoiding obscene 24/7 cloud instance costs. It will die at some point, much like the HN server storing these very words.

I used to rent a studio on Parc Lafontaine in Montreal for around $400 USD/month.

Beautiful space, clear view of Mont Royal, right off the park, ideal location (IMO) in the plateau.

Granted, this was around 15 years ago -- I shudder to think what the now-likely Airbnb units in that building go for these days, probably $400/night.

What planet are you on? Paycheck to paycheck means there's (nearly) nothing left at the end of every month.

Clearly you're not in that situation, and likely have never been anywhere near it with that privileged view of the world.

Many people in the States are living on the edge; i.e. paycheck to paycheck, not, "oh, well, I'll just dip into my equities if the need arises".

Pretty sure only M1/M2 supported, so none Apple's new offerings will fly...yet.

Shame, I'd love to use Linux on Apple's latest and greatest MacBooks, but will stay with tried and true Dell Precision series until the year of the Linux Apple laptop becomes a reality.

Left:

Write, eat, brush teeth, scissors, chop vegetables, etc. Basically fine motor skills on the left.

Right:

Throw a baseball, shoot a basketball, play tennis, etc. Power movements on the right.

Could always do some sports lefty, like switch hit in baseball, kick a football (soccer) past half field, or play pool, those kinds of things, but right side has always been stronger.

The only sport where I am much better lefty than righty is table tennis -- probably because to play at higher levels you need fine motor skills, not just brute force.

Exactly, ambidextrous people are freaks of nature, like a professional baseball player who can pitch with either hand from inning to inning, and even then there will be a stronger side -- in other words, it is unlikely that a human being could be equally dominant across both hands.

One area where a 4-way stop sign intersection is somewhat superior to a roundabout is the notion of taking turns -- in the States it seems like busy roundabouts are an opportunity for one stream of traffic to just plow through, completely ignoring everyone else who also has something better to do than sit around waiting for others to be courteous :)

Boston TTC is a great club despite its small size and low-ish ceilings.

Some very high level players there (lots of Asian students from MIT, Harvard, etc. who, having grown up playing, absolutely rip :))

Westchester club is a much better facility if you're in the NYC area.

I'm in San Diego now, I pay $50/year at my club, lol, $50/hour, ridiculous.

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.

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).

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.

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.

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.