HNHacker News
TopNewBestAskShowJobs

thelittlenag

337 karma · joined September 2, 2016

Engineer.
submissionscomments
thelittlenag··on PRQL – A proposal for a better SQL
I worked on a language at one of the big banks that looked very similar. The goal was to have a better-than-SQL language on top of Spark and I think we succeeded at that very well. Unfortunately, politics killed the language and platform.
thelittlenag··on Ben Stiller’s New Series Is a Sci-Fi Take on Office Space
I find that I'm digging the late 70's / early 80's aesthetic for the show. It lends a good bit of "other-worldliness" to the trailer.
thelittlenag··on The Insane Innovation of TI Calculator Hobbyists
This takes me back. In high school I actually modded my TI-89 (circa 2001) with a lower Ohm resistor. The clock ran on a simple RC circuit, so you could "overclock" it by soldering in a new resister. Got a pretty impressive bump as I recall. And then when it became common enough games started to support a turbo mode!
thelittlenag··on FBI says seized fortune was criminals’ loot—owners say: Where’s the proof?
Yes. Its "our" justice system. The liabilities and costs go along with the benefits.
thelittlenag··on Let's write a compiler, part 1: Introduction, selecting a language, and planning
I agree. Compiling to C as your target just feels like a let down. I guess if you have to compromise on the hard parts why not target something like WASM or JVM bytecode? At least then you learn two interesting things.
thelittlenag··on I've got a broken combine harvester – manufacturer won't give me software key
I grew up on a farm in north central Montana. EVERY farmer, even the bigger wealthier ones, all ran at least some equipment that was 30+ years old. We were a mid-sized operation and ran equipment that was at best between 10 and 40 years old as our primary equipment.

A classmate of mine, who now farms their family farm, still runs a large 4WD tractor that must be 50+ years old at this point. They have newer equipment, but the old stuff still gets used.

thelittlenag··on Netherlands must ban cryptocurrencies immediately: CPB head
Schelling point is another name for this.
thelittlenag··on Microsoft Space Simulator (1994)
I had this "game" growing up! As I recall, since I guess it has been 25 years, wow, only the preset autopilot stuff was something I could do. I recall trying to fly from Earth to Mars, or something, and getting very frustrated. I was too young to know that rockets just don't work like video games depict.
thelittlenag··on Vitamin D: The truth about an alleged Covid ‘cover-up’
It has been several years, but I think I was prescribed 5000 IU daily. As I recall I didn't have any troubling purchasing a bottle immediately at the store so it wasn't an uncommon dosage.
thelittlenag··on Bitemporal History
I ran across this notion for the first time when I started a job in finance a few years back and as an interview question they asked me about it. I hadn't heard of the notion and so afterwards tried to find some good resources online to read up about it.

What I found was not great. So glad to see this idea getting a good write up.

thelittlenag··on Vitamin D: The truth about an alleged Covid ‘cover-up’
Can confirm. Doctor recommended that I start taking Vitamin D daily after a physical a few years back. On their advice, I purchased a bottle at the doctor's recommend dosage level and started taking pills daily.

Within a week I stopped because I could already feel pain in my kidneys. Having had a kidney stone before, and having had to pass one (thankfully small) one, I immediately stopped taking the Vitamin D since that the only lifestyle change I had made. Things subsided after that.

Should I need to take Vitamin D in the future I will be starting at a VERY SMALL dose and slowly working up. Kidney stones suck.

thelittlenag··on From First Principles: Why Scala?
Lightbend is planning to end support and development of Slick? This is the first I've heard of this. Can you point me towards what they've said?
thelittlenag··on From First Principles: Why Scala?
The two major SQL libraries in the Scala ecosystem these days are Doobie (https://tpolecat.github.io/doobie/) and Slick (https://scala-slick.org/).

With Doobie you manually write your queries, and then map the results into the objects in your domain model. Nothing is generated for you. OTOH, nothing is hidden and you are free to write queries as optimized and specialized as you need. The real selling point of Doobie is a typesafe API for manipulating and combining queries, and fragments of queries, into larger wholes. This works very well when your application interfaces with a database it doesn't own.

With Slick you get access to a DSL that lets you layout how your tables look. From there Slick offers an api that let's you treat SQL tables as-if they are basically mutable collections, with Slick handling all the SQL generation itself. You also get DDL, so that you can automate db creation and upgrades. This work very well when your application owns and controls the database it is connecting to.

Both of these have diverged from that traditional ORM model. Slick bills itself as FRM, or Functional Relational Mapping. And Doobie is embedded queries on steroids.

thelittlenag··on How Akka Cluster Works: Actors Living in a Cluster
Take a look at ZIO Actors (https://zio.github.io/zio-actors/).
thelittlenag··on Ask HN: Employees who exersised stock options: how did it go?
I exercised 3700 options at 28c shortly before the company let around 25% of staff go. Found out just a few days ago that the company is being acquired with shares at $1.20. Pretty good for what I thought was going to be worthless.
thelittlenag··on AWS forked my project and launched it as its own service
> Obama administration had put in place all the necessary infrastructure for a surveillance state

I do not think that is accurate. The Obama administration sustained the growth from the previous administration. I do wish they had curtailed this growth, but c'est la vie.

thelittlenag··on Want people to do the right thing? Save them the guilt trip
Are you contending that virtue signalling isn't real, or that what is claimed to be virtue signaling isn't and so the phrase becomes a kind of slur?

My opinion is that virtue signalling is real, and, further, that "signalling" doesn't just have an effect on other people, it can change our own disposition.

The use of the phrase "virtue signalling" is sometimes applied in reverse, describing someone that is insufferably smug and exudes a sense of unearned moral superiority and ascribing those traits to their desire to signal their piety to others. Oddly, I find that a kindness as it means these undesirable traits have an external cause and can therefore be corrected.

thelittlenag··on Notes from a Flat Earth Conference
The allure of secret knowledge...
thelittlenag··on 27-inch iMac gets a major update
I think they mean that you are now able to load/use that many more plugins than you could before?
thelittlenag··on 27-inch iMac gets a major update
Shipping with 8GB memory by default just seems absurd.

Also, having only 2 Thunderbolt 3 ports seems a little light as well. I would hope to have had 4 ports at least.

thelittlenag··on Reflections on Being a Female Founder
I wish I had more up votes to give.
thelittlenag··on Control theory for fun and profit
At work we have a problem in a different domain that I had planned to use an approach like this on. The extra resources that folks have linked to or provided are quite helpful. Thank you!
thelittlenag··on In Secretly Recorded Phone Calls, Officers Say Innocent People Were Framed
That it doesn't already work this way, or something similar to this, I find bizarre.
thelittlenag··on Don’t Confuse a Bug’s Priority with Its Severity
I've preferred Urgency and Impact as my terminology, rather than Priority and Severity, respectively. But yes, I've been frustrated that these concepts are often combined when they shouldn't be.
thelittlenag··on Mint: A programming language for writing single page applications
This looks like a DSL on top of React.
thelittlenag··on Ask HN: Who wants to be hired? (February 2020)
Location: Dallas, TX

Remote: Yes

Willing to relocate: No.

Technologies: Scala, Akka, http4s, cats, PostgreSQL, React, AWS

Résumé/CV: https://drive.google.com/file/d/1OJ4-OaUQCMx1W5_t3bVzg-bwrgf...

Email: _@markkegel.com

I'm looking for remote, or Dallas local, projects that are interesting and leverage Scala. Most recently I was part of a Dallas-based startup where I wrote and supported our entire tech stack. I enjoy working on hard problems and writing resilient and reliable software.

thelittlenag··on Strongly Typed Events
> I think this doesn't guarantee bug-free event code at all.

Please don't misinterpret me. The goal is to have fewer issues, not zero issues.

> Additionally versioning is needless if you have strongly typed events that get checked at compile time. Any time you need to add an abstract feature to the event architecture, the compiler would tell you what other part of the app broke as a result.

I disagree. Most type systems, especially those describing data, are really only good for checking syntactic consistency and not very good at semantic consistency. That is, it can tell if field changes from an Int to a String, but not if the content of a String field changes it's semantic, i.e. from a user id to an email address.

Lack of ability to validate content pervades wire-appropriate encodings.

thelittlenag··on Strongly Typed Events
From what I understand session types capture the valid state transitions, and messages for each, that define the hyper-state of the two parties communicating. This means that they are only capable of describing session-oriented protocols. But a protocol can, in theory, involve more than two parties, and not involve any kind of logical or persistent notion of a session. It's just that sessions are really, really common.

That doesn't mean that session types aren't worthwhile, only that they attack the problem of safely representing one particular next-higher-level abstraction.

Session types also predicated somewhat on formal guarantees being something worthwhile. As an academic exercise I'm in favor, but in terms of having practical, working tools that I can use today that useful but lack formal guarantees, well I'd rather have good tools today rather than perfect tools never.

And that's my lament. I've yet to see good tools for building protocols.

thelittlenag··on The eleven nations of the United States and their cultures
If you want a great explanation then I recommend reading this book review: https://slatestarcodex.com/2016/04/27/book-review-albions-se...

The short story is that they valued the unlimited freedom for a single individual more than the general freedom of all individuals. In a sense, it's the finding and feeding utility monsters on the theory that that will maximize utility for society.

thelittlenag··on Strongly Typed Events
Thinking about events to me is a sign that you are probably concerned with the wrong level of abstraction. Instead, you should be thinking about building protocols, of which events may be part. To me at least, a protocol combines notions of both the means of communication, as well as the semantics of that communication.

In this context of this article, I would prefer to version a protocol. That version subsumes the particular schema of the events used for that version of the protocol. If your protocol is well-designed then many of the assumptions of semantic versioning can be applied and relied on, so that parts of your system can speak an older version compatibly with a parts that speak a slightly newer version.

I really wish there was more support in the major ecosystems for creating protocols and a less obsessive focus on message encodings. Oh well.

← PreviousPage 3 of 4Next →