Better HN
topnewbestaskshowjobs
Log inSign up

j_kao

408 karma · joined Sep 8, 2011 (15y ago) · 54 submissions

Submissions

comment 2mo ago · link · parent

Would be curious if this ends up incentivizing more littering.

comment 1y ago · link · parent

FYI the mooncake team was acquired by Databricks so it's basically vendors trying to compete on features now :)

comment 1y ago · link · parent

1 - I think if we were sticking with the JVM, I do wonder if Lucene would be the right choice in that case

2 - It's a great tool with a lot of tuneability and support!

3 - We've been using it for K8s logs and OTEL (with Jaeger). Seems good so far, though I do wonder how the future of this will play out with the $DDOG acquisition.

comment 1y ago · link · parent

These are great projects, we use DuckDB to inspect our data lake and for quick munging.

We will have some more blog posts in the future describing different parts of the system in more detail. We were worried too much density in a single post would make it hard to read.

comment 1y ago · link · parent

It's a bit difficult at the moment, given we have a lot of proprietary data at the moment and a lot of the logic follows it. I'm hoping we can get it to a state where it can be indexed and serving OSM data but that is going to take some time.

That being said, we are currently working on getting our Google S2 Rust bindings open-sourced. This is a geo-hashing library that makes it very easy to write a reverse geocoder, even from a point-in-polygon or polygon-intersection perspective.

comment 1y ago · link · parent

Author here! We were really motivated to turn a "distributed system" problem into a "monolithic system" from an operations perspective and felt this was achievable with current hardware, which is why we went with in-process, embedded storage systems like RocksDB and Tantivy.

Memory-mapping lets us get pretty far, even with global coverage. We are always able to add more RAM, especially since we're running in the cloud.

Backfills and data updates are also trivial and can be performed in an "immutable" way without having to reason about what's currently in ES/Mongo, we just re-index everything with the same binary in a separate node and ship the final assets to S3.

7.

How we replaced Elasticsearch and MongoDB with Rust and RocksDB(radar.com ↗)

273 points · by j_kao · 1y ago · 100 comments

comment 2y ago · link · parent

Companies like Netflix with bigger market caps are still on AWS.

I can imagine the productivity of spinning up elastic cloud resources vs fixed data center resourcing being more important, especially considering how frequently a company like Figma ships new features.

comment 2y ago · link · parent

Those are people who would probably steal software, anyways, so for most businesses I think worrying about those folks would be a waste of time

comment 2y ago · link · parent

A bit of an aside, I'm a big fan of how Mike Perham managed to start a business around Sidekiq. I think it really gives us Hacker News folks that there's hope starting a viable bootstrapped business around open-source infrastructure.

comment 3y ago · link · parent

Perhaps if the fee was more expensive for a single person, but economical for >2 people then the math works out.

comment 3y ago · link · parent

To be fair, there are a number of job openings where you can "Apply with LinkedIn", so it's structured data end-to-end.

comment 3y ago · link · parent

One area which an external monitor (or high resolution) helps a lot with is UI or frontend programming. It's a huge pain to play with the chrome or Firefox debugger and have to jump between windows to get feedback.

When it comes to backend or non-UI work, a laptop is just fine.

comment 3y ago · link · parent

Testing in production will trend upwards among companies because everybody's workload is shifting towards the cloud and/or making use of external SaaS services. There are a number of cloud services that are not open source that can't be run locally, or run at the same scale as production.

It is not a good use of time to mock everything, because you have no control of external systems. The only reason I'd see it being important is if these external systems are tightly coupled to complex local logic that should be tested locally. However, there are a number of strategies to deal with such "tight coupling" in such cases.

15.

CircleCI security alert: Rotate any secrets stored in CircleCI(circleci.com ↗)

304 points · by j_kao · 3y ago · 84 comments

comment 3y ago · link · parent

I wonder if the ageing population combined with weakening currency are big factors here.

comment 3y ago · link · parent

This is an even more effective strategy given the Japanese culture of constantly rebuilding housing [1]. It does beg the question of how sustainable that practice itself weighed against the benefits of solar installation.

[1] https://www.theguardian.com/cities/2017/nov/16/japan-reusabl...

18.

How We Use Terraform with TypeScript at Radar(radar.com ↗)

4 points · by j_kao · 4y ago · discuss

comment 4y ago · link · parent

This is a great release! Now we have a way to share code between our CI and Terraform (we use CDKTF).

Imagine this scenario:

1. You onboard new developers and their on-boarding task is to add their name and public key to a DEVELOPERS.ts constants file

2. git submodule update your CDKTF repo and spin up a new dev box / playground for them to use

3. git submodule update your CI scripts and now your Dagger repo/definitions can deploy to said dev boxes

All with one source of truth (DEVELOPERS.ts), type-safety, and version-control!

Not to mention, if you wrote your server code in TypeScript, there's a lot of options here.

The great part is you can do this in any of the matrices of languages that are shared between these tools.

comment 4y ago · link · parent

I hope my comment didn't come off as an attack and certainly admire what you've accomplished!

So long as the medium of techno allows you to embed your own creative characteristics, then I think that's a great form of expression (as opposed to churning out formulaic techno... though there's really nothing wrong with that, either).

In fact, setting constraints on yourself is a great way to inspire creativity and nuance (e.g. there's a lot you can do with a single note - rhythmically, harmonically, effects, dynamics, etc).

I also agree that after a certain point, genres become too simplistic of a model to describe music. I'm happy that you've put so much thought into this.

comment 4y ago · link · parent

For fans of Dilla's music (you may not know the producer, but I'm sure you'll know some of his songs https://en.wikipedia.org/wiki/J_Dilla_discography), I'd highly recommend the book Dilla Time.

The author goes into a lot of detail about what swing is, its origins in African music (polyrhythms) and the racial tensions that came from these rhythms, and how it eventually made its way into modern music.

comment 4y ago · link · parent

I also wonder if writing music was chore-like due to the genre the author chose, specifically four-on-the-floor techno music that has largely fixed and repetitive structures?

This music is meant to be mixed by DJs, after all, so consistency is really key to a lot of the techno genre. Of course, there are very creative divergences in this genre from artists such as Four Tet and Floating Points.

Would the author still have the same level of output writing songs with lyrics, where you're explaining a life-story or concept?

comment 4y ago · link · parent

I wonder if the 10% is purposely vague so that they can use a random 10 percent of content to A/B test platform engagement (maybe plan upgrades) and ad engagement.

24.

Netflix launches an ad-supported tier(about.netflix.com ↗)

51 points · by j_kao · 4y ago · 80 comments

comment 4y ago · link · parent

That's true, there are definitely ways to make this work if we're confining these to very restricted spaces with active monitoring.

I look forward to a future LA where car ownership is optional. There's a lot of aggressive urban planning that needs to happen and implemented for it to work. Downtown Culver City is a good example.

comment 4y ago · link · parent

To be frank, especially for anyone who hasn't lived in LA, the LAPD doesn't do anything for the public unless it's something involving guns and/or gangs.

It's not unlike how developers mark most bugs as "won't fix".

I've seen active break-ins and robberies in LA, and called the police only to have nothing being done in those situations. While anecdotal, I'm afraid this is a really common experience that has only gotten worse with COVID-flation.

comment 4y ago · link · parent

This will be interesting to see if they can crack LA - drunk and overly aggressive drivers, crack addicts running around the streets, and vandalism.

You can already see this "tragedy of the commons" type of behavior with the unusable public transport system (it's a nightmare to use the trains between Koreatown and DTLA, especially for women) and in the private sector with Lime and Bird scooters.

Very exciting if it works out, but I don't have high hopes.

comment 4y ago · link · parent

Thanks for the reply, I suspected that was the case. Was your payroll done in the US or Canada?
12