HNHacker News
TopNewBestAskShowJobs

virtualwhys

3,419 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 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.

virtualwhys··on Poll: What's the best laptop for Linux these days?
Always Dell Precision, although I'd love it if there were non-Intel CPU options (or if Intel got their act together and produced a rival for Apple's latest and greatest chips).
virtualwhys··on Show HN: Programming Google Flutter with Clojure
Off the top of my head, no access modifiers (so private variables, for example, are prefixed with `_`, by convention, not enforced by the compiler), no pattern matching (and obviously no exhaustive matching), no record types, no sum types, no json (de)serialization (requires 3rd party libary code gen, wow), mutability everywhere, everything is a statement (i.e. no implicit `return`, AKA everything is an expression), required semi-colons (which they'd like to get rid of but can't due to questionable design decisions made long ago -- for the gory details see here[1]).

If you like Java 8 and earlier you'll probably feel at home with Dart.

Obviously I'm biased, but I find Dart to be one of the most unpleasant languages I've had the misfortune of being exposed to; this despite Flutter and its instantaneous hot code reloading being quite amazing -- a bizarre mix of promise and despair.

[1] https://github.com/dart-lang/language/blob/master/resources/...

virtualwhys··on ‘Some things never leave you’: Poverty’s indelible marks
Phenomenal, visceral lived experience -- great piece, well worth the read
virtualwhys··on My dad's resume and skills from 1980
`upsert`, not sure how having someone implement `contains` is going to help solve your IRL problem optimally, but I guess the interview process is more about testing cognitive strength vs. practical experience.
virtualwhys··on We Are Changing the License for Akka
Agreed, was just pointing out that the grant escape hatch exists. More projects in the ecosystem may follow suit, or not -- we'll find out soon enough.
virtualwhys··on We Are Changing the License for Akka
Not entirely true, Play framework for example will continue to depend on Akka without restrictions placed on its users -- mentioned in the blog post, see "usage grant".
virtualwhys··on Flowers for Algernon (1965) [pdf]
Odd, was just having lunch with a friend and asked if he'd ever read this book -- low and behold, here it is on HN.

This is the short story version, but I've read the book several times. It's not Tolstoy level literature, but I find myself drawn into this beautiful story of life, death, and compassion again and again.

virtualwhys··on The Grug Brained Developer
Good stuff, reminds me of PLT Hulk [0], although obviously Grug isn't a fan of powerful type systems.

[0] https://twitter.com/plt_hulk

virtualwhys··on For natural theologians, proving God was beside the point
> If it's infinite, how did it all start?

Ha, good one! Certainly would be quite wonderful if, despite death, there is neither a beginning nor end to it.

I can't imagine life being finite, is that even possible given what we're in?

virtualwhys··on Airbnb’s design to live and work anywhere
That's a bargain, $2k for 5 weeks in Baja Sur?

I've been near Todos Santos since January and the prices on Airbnb are, frankly, ludicrous for monthly rentals.

But then again that's the new normal, sky high rents everywhere.

Hopefully the infection hasn't spread to India, Thailand, Vietnam, etc.

virtualwhys··on Regolith Linux
Have been using i3 for maybe 10 years now; it's at the very core of my daily computing experience.

Regolith running application search looks useful -- nice project.

virtualwhys··on Alright, amigo, let's build some affordable housing
> $40-60k for an electrician to wire the house.

Think I'm in the wrong profession, what on earth does a Californian electrician make per year? At that rate I'd guess 500K+

virtualwhys··on Popular Tibetan singer Tsewang Norbu dies of self-immolation protest
Nit: you were likely in McLeod Ganj, Dharamshala is the city in the valley below (where few foreigners stay), and not terribly convenient to travel to/from if you were living in the city.

That, or you were up in Dharamkat and hiked down into town/temple area where there are needless to say many Tibetan monks from the diaspora -- amazing part of India.

Free Tibet

virtualwhys··on The hardest program I've ever written (2015)
> The Dart formatter sounds really advanced, and reflects potential complexity of the language.

You got that right -- check out this epic GitHub thread on optional semi-colons [1], and the author's own comment on the subject in an HN thread [2]

[1] https://github.com/dart-lang/language/issues/69

[2] https://news.ycombinator.com/item?id=22706645

virtualwhys··on Building a web app with no framework
Your entire argument is predicated on building an SPA; if you don't need an SPA then you de facto do not need a frontend framework (which is what the OP is implicitly saying, do as much as possible server-side).

Now, saying that, there is something to be said for separating UI from the backend. Yes, it adds ( a great deal of) complexity compared to server-side applications, but the reactive programming model is quite powerful, and useful even if you could build the application entirely on the server.

And obviously if you do need an SPA (e.g. wrapping WebView for iOS/Android) then you don't have a choice, or if you do you'll be reinventing the wheel, poorly.

virtualwhys··on How I See Numbers
I see nothing; for the most part there is no mind's eye, but there is a mind voice, and that's what performs mathematical operations (and everything else for that matter).
virtualwhys··on Not everyone should meditate
Same.

Are you able to clearly manifest an image of anything in your mind's eye? If not then you might have aphantasia (i.e. "third eye blind").

When I was younger I sat several Vipisana and Zen retreats across multiple traditions. While it changed me in the sense that I became far less impulsive and more grounded, there was never anything mystical about the experiences, just periods of calm and quiet, like the internal world had slowed way down.

But that's unusual, I suspect most who seriously take up meditation do indeed have full blown psychedelic experiences (thus the author's reference to LSD), not long after taking up practice, and certainly within the first week long retreat or two.

virtualwhys··on Namecheap: Russia Service Termination
Additional work?

In the west I think we need to realize that the situation is extremely unfortunate for Russians that are victims of the dictatorship (vs. those that actually believe in the party line), who have no easy way out of the country, and are absolutely screwed ATM.

Obviously worlds better than being under fire in the Ukraine, but I wouldn't throw the average Russian in the "minimal price we all have to pay" bucket.

Comparatively everyone in the west has it real easy (for now at any rate).

virtualwhys··on BeeWare – write Python, run everywhere using native UIs
> work now with Flutter full time and love it.

Do you love Dart though? Flutter's stateful hot code reload is amazing but, man, for me Dart is just completely hideous. Maybe I've gotten spoiled by Typescript and Scala...

virtualwhys··on The Evolution of Smalltalk from Smalltalk-72 to Squeak [video]
> Gilad Bracha is going some exciting and interesting things with this language.

Hopefully not in the same way that Dart turned out to be so "exciting and interesting" :)

virtualwhys··on Ask HN: Where can I live off 1k USD per month?
Chiang Mai, dirt cheap (as little as $100/month rent, wood floors, mountain view). Poor air quality, great local food.

Da Nang, Vietnam. Bit more expensive, $200/month rent on the low end. Friendly people, surprisingly even to Americans. Great air quality, decent enough waves in winter if you surf. Terrible local food, but certain areas cater to foreigners and there the food is excellent ($5 to $15).

Internet is solid in both locations.

virtualwhys··on Counterexamples in Type Systems
Cries in removal of abstract types (e.g. `val x: A#T = ...`).

While Scala 3 filled a soundness hole, it opened a practical crater (and no, path dependent types are not a viable substitute).

Too bad, many nice improvements overall.

virtualwhys··on Scala 3.0
Not sure what Play Framework is doing at the top of the list, will most likely be many months before a Scala 3 supported version is released.

Same for Spark, DB libraries, Akka, etc. Basically everything with large dependency graphs that depend on macros or removed Scala 2 features (e.g. abstract type projections, arghhhh) will take significant time to port over to Scala 3.

What has had Scala 3 support from early on in the release cycle are the FP/Typelevel projects, which are obsessively maintained by the I'll-sleep-when-I'm-dead FP crowd.

virtualwhys··on .NET MAUI: .NET Multi-Platform App UI
Not familiar with .NET, but am intrigued by the Sqlite all-the-things bit -- can you run your LINQ queries client-side? (e.g. for offline capable apps)
virtualwhys··on What Is the Switch-Case Equivalent in Python?
In the proposed case then why not just:

    case x:Bar if x.foo = ... =>

?
virtualwhys··on Java 16
Arguably? I'd say it's rather obvious, but overall they're different languages with different goals.
virtualwhys··on An Object-Oriented Language for the '20s
> Having higher kinded types and type classes like Haskell would be nice though.

Don't have to leave the JVM, already there in Scala. And Kotlin Arrow may get merged into the compiler, so Kotlin may have first class support for these language features one day...

virtualwhys··on I3: Improved Tiling Window Manager
Cold dead hands...i3 has been at the core of my computing experience for 7 or 8 years now.

Once you i3, you iFree -- ha, ha, ha, long live Linux.

virtualwhys··on The database I wish I had
I'd like to make it go away, but as a simple k-> v store it's decent enough. Web SQL provided relational data and aggregation, something that's sorely lacking from IndexedDB (and the libraries that build on top of it, poorly replicating SQL in the browser).

The amount of client side code one has to write to replicate simple SQL group by/sum operations is mind numbingly bad -- not to mention performance hit vs. SQLite's blazing native C performance (and it shipped with the browser to boot, no separate download of some lousy bloated 3rd party JS library).

← PreviousPage 3 of 32Next →