HNHacker News
TopNewBestAskShowJobs

coolsunglasses

2,483 karma · joined March 7, 2013

github.com/bitemyapp/

keybase.io/bitemyapp

submissionscomments
coolsunglasses··on A mansion hidden directly under the Bay Bridge
I've never had to do any of that. AirBNB is way cheaper for my family of 6 (3 adults, 3 kids)
coolsunglasses··on A mansion hidden directly under the Bay Bridge
From the article
coolsunglasses··on Bikes, not self driving cars, are the technological gateway to urban progress
Bro it gets freakin' cold in the winter in Austin, TX and we're further south than Tunis, Tunisia; San Diego, CA; Alexandria, Egypt; Casablanca, Morocco; Tucson, AZ; Basra, Iraq and Osaka, JP. How much further south would you like us to go? Should we conquer Mexico just so we can ride bikes in December?

What risks should my very pregnant-for-the-last-three-years wife take? What if we lose a child or for that matter _her_ because she slipped on the ice? How is she going to get groceries for our family of five-soon-six from the grocery store that is miles away from our house?

You people don't live where the rest of us live. You're callously indifferent to the pain caused by policy designed to inflict economic damage on the middle class. POSIWID. You hope you can condense the economic violence into the other-world you would prefer to live in.

I'm from Ohio where I rode a motorcycle in the dark for my second shifts at the warehouse through the entire winter and I still wouldn't wish bicycling _by necessity_ in the winter here on my worst enemy. Good way to cull the elderly if that's what you're going for. We can't all be healthy 20-something males though.

coolsunglasses··on Tesla Virtual Power Plant
What batteries did you get?
coolsunglasses··on Cinema’s greatest scene: ‘Casablanca’ and ‘La Marseillaise’ (2015)
bsaul agrees with me so you agree with me
coolsunglasses··on Cinema’s greatest scene: ‘Casablanca’ and ‘La Marseillaise’ (2015)
La Marseillaise was written in 1792 by Claude Joseph Rouget de Lisle and the "impure blood" clearly refers to the enemies of France. Take a look at the lyrics immediately following the controversial section.

Here's a translation from Wikipedia:

"Let an impure blood

Water our furrows!

What does this horde of slaves

Of traitors and conspiring kings want?

For whom have these vile chains

These irons, been long prepared? (repeated)

Frenchmen, for us, ah! What outrage

What furious action it must arouse!

It is for us they dare plan

A return to the old slavery!

What! Foreign cohorts!

Would make the law in our homes!

What! These mercenary phalanxes

…(later)

Frenchmen, as magnanimous warriors,

Bear or hold back your blows!

Spare those sorry victims,

For regretfully arming against us (repeated)"

Okay so Frenchmen are magnaminous, valorous warriors. The enemy are the slaves of tyrants. And we're meant to believe the impure blood in a song written by a French revolutionary era freemason refers to the third estate? Seems unlikely to me.

coolsunglasses··on The case for bad coffee (2015)
Which moka pot is this? I'm not aware of any that go above 3 bar and that is very far from being espresso unfortunately.
coolsunglasses··on NES Game Genie Technical Notes (2001)
I once came up with a game genie code for a game in 15 minutes. My then-girlfriend (high school) called me up on the phone and wanted help because there weren't any game genie codes that did what she wanted.

The answer these days is emulation & memory search. Memory search gets used for hacking native PC games these days too although it's a lot harder when anti-cheat is involved.

You give it a query like "show me values that decreased since we started observing" and you repeat the process to winnow it down to a memory location or set of locations. You then try fixing the memory location to a value and see what the game does.

Incidentally, in Link to the Past, the heart containers are denominated in units of 4, which can throw you off. Going from 4 hearts to 3 means the value goes from 16 to 12. If you went down to 3.5 hearts it'd be 14.

coolsunglasses··on SQLite or PostgreSQL? It's Complicated
How convenient then that he's comparing PostgreSQL and SQLite then!
coolsunglasses··on Lessons learned from running Apache Airflow at scale
I was until a week or two ago part of a team that build datasets with extensive dependencies (thus, complicated DAGs)

v1 of the system built before I joined was Step Functions and the like. It gets hairy just as you say.

v2 I built and designed with the lead data engineer, we called it Coriaria originally. We're hoping/planning to open source it eventually, although it's a little wrapped around our company's internal needs & systems.

It chooses neither "config" strictly speaking nor "code" for the DAG, instead the primary representation/state is all in the PostgreSQL database which tracks the dataset dependencies and how each dataset is built. It's a DAG in PostgreSQL as well.

To make dataset creation and management easier, I also wrote a custom Terraform provider for Coriaria. This made migrating datasets into the new system dramatically faster. The provider is really nice, supports `terraform import` and all that. Currently we have it setup so that there are separate roles/accounts that can modify an existing dataset, but reading state only requires authentication, not authorization. This enables one team to depend on another team's dataset as an upstream data source for their datasets without granting permission to modify it or create a potentially stale copy of the dataset. Terraform's internal DAG representation of the resource dependencies is leveraged because "parent_datasets" references the upstream datasets directly, including the ones we don't build.

We're able to depend on datasets we don't build ourselves because the system has support for Glue catalog backends to track and register partition availability.

Currently, it builds most of the datasets using AWS Athena & S3, however this is abstracted over a single step function. There's no DAG of step functions, it's just a convenient wrapper for the Athena query execution.

The system also explicitly understands dataset builds and validations as separate steps. The dashboard makes it easy to trace the DAG and see which datasets are blocking a dataset build.

We're adding more integrations to it soon so that other ways of kicking off dataset builds and validations are available.

If people are interested in this I can begin lobbying for open sourcing the system. My colleague wanted to open source it as well.

All else fails, I'll rebuild it from scratch because I don't like the existing solutions for managing datasets. We've been calling it a data-flow orchestration system or ETL orchestration system, not sure what would be most meaningful to people.

I think the main caveat to this system is that I'm not sure how much use it'd be for streaming data pipelines, but it could manage the discretization of streaming into validated partitions wherever streamed data is sunk into. Our operating assumptions are that you want validated datasets to drive business decisions, not raw event data streamed in from Kafka. Making sure the right data is located in each daily (or hourly) partition is part of that validation.

coolsunglasses··on Solar-powered desalination device wins MIT $100K competition
I tried reading the wiki article and couldn't find an answer. Could someone explain to me what "environmental uses" is?
coolsunglasses··on AMD doubles the number of CPU cores it offers to Chromebooks
https://www.cpu-monkey.com/en/compare_cpu-intel_celeron_n402...

The N4020 is the model of Celeron used in the 2021 Dell Chromebook. I'm seeing N3060, 2955U, etc.

The Pentium Silver N5000, which isn't badged as a Celeron, is still much slower on multi-threaded and single-threaded perf: https://www.cpu-monkey.com/en/compare_cpu-intel_pentium_silv...

The entire Snapdragon 865 package cost manufacturers $150-$160. The Pentium Silver N5000 retails for $90-100. The 860 would presumably be even cheaper than the 865.

coolsunglasses··on I earned $160k in passive income from writing non-fiction books
My experience writing a 1,200 page technical book was similar to xrd's. It was worth it in the end but I'm not doing it again either. Jerry Seinfeld's "Don't break the chain" is good. I did take days off though (on average, 1 a week). I found this book very helpful even though the genre of book was radically different: https://www.amazon.com/2k-10k-Writing-Faster-Better-ebook/dp...
coolsunglasses··on Android loses 8% of its global OS market share in five years
My iPhone 13 Pro Max has 120 hz, so that feature is available. I don't mind that it was Android only for a bit, very little on that platform can actually render a non-static UI at that rate.
coolsunglasses··on Jepsen: Radix DLT 1.0-Beta.35.1
mm is mille mille, meaning a thousand thousand. 1,000 * 1,000 is 1 million. 1mm to mean 1 million is common outside of the United States.
coolsunglasses··on Daddy isn’t coming back
Living for others even when you know the end is coming and you'd otherwise prefer to end it is true love. You are setting an example of courage for your family that they will remember.

I will remember too. God bless you.

coolsunglasses··on Electric vehicles could fully recharge in 5 minutes with new cable design
If you're trying to get moving before your kids wake up, yes. A lot of children will sleep while the car is in motion but wake when it's stopped.

This might sound trivial but when you've spent 50 hours over the course of two weeks in the car with kids I assure you it is not.

coolsunglasses··on My letter to Medicaid, appealing my child's Medicaid denial
There are not many countries with free-at-point-of-service healthcare. In most cases it's heavily subsidized but still costs money (Japan) or they have a heavily regulated private + public insurance regime (Germany).

China's a good example of de jure vs. de facto differences between what is purportedly offered as opposed to what is actually accessible to Chinese citizens.

coolsunglasses··on Hacker deleted all of NewsBlur’s Mongo data and is now holding the data hostage
I think I can imagine why you would need a combination of PostgreSQL, Elasticsearch, and Redis, but what problem does MongoDB solve for you?
coolsunglasses··on Patent Trolling’s twin: Copyright trolling
Counter-party risk. 9/10 times you won't get the money back from the girl.

You're right about the case getting tossed in most circumstances but you can suss that out by asking for proof of when they bought the copyright from the girl and checking the effective date.

coolsunglasses··on Nuclear Power at McMurdo Station, Antarctica
It's probably a wry reference to John Carpenter's The Thing.
coolsunglasses··on Making GitHub CI workflow 3x faster
With GitLab CI you can task any machine you want to your builds. I've slaved my workstations to my CI builds because they're ~2-5x faster than the AWS hardware most companies use.
coolsunglasses··on Attention Must Be Paid: The Electoral Lessons of the Working Class
Having "works for a living" in common means a lot less than your entire worldview, what you think the purpose of life and existence is, and what the properly ordered priorities of the State are.

And all of those are drifting faster and further apart.

coolsunglasses··on Don’t pay for 95% (2016)
We use our car almost every day (groceries, errands), it would cost dramatically more and take more time to rent vehicles. These sorts of posts always seem over-fitted to highly walkable areas. And maybe that's the intended audience but they rarely qualify the advice.
coolsunglasses··on Rideshare operations are being suspended in California
Aristotle considered democracy a deviant form of a polity. His views on democracy are more negative and complex than you're making it sound, which leads me to doubt what you're saying about the rest.

To learn more: https://plato.stanford.edu/entries/aristotle-politics/

coolsunglasses··on Building a static serverless website using S3 and CloudFront
Here's my terraform-ization of an S3 + Cloudflare setup for SSGs. I use Zola but that's incidental.

https://gitlab.com/bitemyapp/statically-yours

There's a weird bug with the `tf init` but it can be worked around by running `tf init`, deleting the providers in `.terraform`, then running again. Hashicorp has an open bug for the problem I think.

I could probably clean it up more but this has been okay for a couple sites I run.

coolsunglasses··on Ubuntu 20.04 LTS Adds WireGuard Support
What's the history there?
coolsunglasses··on Haskell and Rust
>The “if it compiles it probably works”-tagline is certainly truthful in my experience, even without unit tests. I can imagine scenarios where you use Rust in a “non-rustic” way where this might not be true, but this goes against the grain of the language and is usually not very enjoyable to do.

Same situation in Haskell with same provisos. It's very profitable for my coworkers and I to use Haskell or Rust even if it's a slapdash prototype. Saves time now and time later.

coolsunglasses··on Haskell and Rust
This is exactly right. We habitually lift `Maybe`/`Option` values into a more explicit and comprehensive `Either`/`Result` type in our programs. It's pretty common to have an error type hierarchy in the program too, so you could find yourself chaining from one `Either e` to another. There are libraries in Haskell and Rust for regularizing/code-gen'ing these patterns.
coolsunglasses··on Ask HN: Who is hiring? (October 2019)
FP Complete ( https://github.com/fpco ) is hiring! We're known primarily for our Haskell and DevOps automation work but we're also using Rust internally.

We're hiring for a senior DevOps and an associate sysadmin role right now. You can see the postings here:

- https://tech.fpcomplete.com/tech/jobs/senior-devops

- https://tech.fpcomplete.com/tech/jobs/associate-sysadmin

We actually use Haskell for our software development work and we maintain Haskell libraries and tools like Stack: https://en.wikipedia.org/wiki/Stack_(Haskell)

Our ops work is automation and we use modern utilities like Terraform to declarative define the infrastructure we deploy and configure.

You don't need to already know Haskell for these roles so please reach out even if you're just Haskell-curious!

← PreviousPage 2 of 31Next →