HNHacker News
TopNewBestAskShowJobs

dyu-

76 karma · joined October 11, 2016

github.com/dyu gitlab.com/dyu V1mgq6dfHe
submissionscomments
dyu-··on Turso SQLite Offline Sync Public Beta
They are open-core. The offline-write feature (libsql::Builder::new_synced_database) basically does not work with the bare `sqld` server on their `libsql` github repository.

In fairness though their `libsql::Builder::new_remote_replica` works with the bare `sqld`

dyu-··on Ask HN: What does it feel like to master playing an instrument by ear?
For me it was gradual build up. Also I forgot to mention that I never put that much time into learning music theory. I was too busy with programming (that's why we're here right? haha)
dyu-··on Ask HN: What does it feel like to master playing an instrument by ear?
exactly my thoughts.
dyu-··on Ask HN: What does it feel like to master playing an instrument by ear?
It took me around 10yrs to be able to identify the notes immediately just by listening. I didn't really had to study it to learn ... it just came naturally for me. It correlates easily to the music theory that you know, which is the main foundation that you need to get acquainted with.

I play a lot of instruments but bass is my main instrument.

dyu-··on My favorite things that are coming with Julia 1.0
Great ffi perf too! From the benchmark over at github.com/dyu/ffi-overhead, julia is on par with luajit.
dyu-··on Comparing the C FFI overhead in various programming languages
Tup is a gem. I use both tup and gn+ninja.

Tup is just a generic build system that can apply to any input whereas gn is focused only on c/c++.

dyu-··on Comparing the C FFI overhead in various programming languages
Good question. Hopefully the google folks have plans to improve their dart FFI. I mean, if Mike Pall can do it ... :-)
dyu-··on Comparing the C FFI overhead in various programming languages
yay I made front page (finally?).
dyu-··on [dead]
Hey hn folks. I purchased a mini pc from lazada with N4200 as processor. The seller basically sent me a downgraded version (N3450) and quickly changed the description in their store after taking my order. Obviously I returned the item with the reason stated. But they declined.

Here's the important part.

If lazada stored the history of the updates (description/etc), it would be pretty easy to catch the fraudsters who are basically doing bait-n-switch.

dyu-··on Hazelcast 3.8.3
> that actually have safe, strong consistency

Based on what data? Even hazelcast had that same claim before they got exposed?

I've only seen 2 systems that did rigorous in-house fault-tolerant testing (foundationdb and cockroachdb) and later when "jepsen-verified", they actually backed their claim or had few modifications to uphold their claim.

dyu-··on Show HN: CSS Gardener – For just $59 I will fix your CSS code within 24 hours
I would use it. I'll keep this in mind when the time comes. Btw, What css framework do you prefer working on these days?
dyu-··on Ask HN: What's the worst Oracle can do to OpenJDK?
Cool. They already have PL/SQL though, so I'm wondering what's their motivation to adding a full jvm inside their process.
dyu-··on Ask HN: What's the worst Oracle can do to OpenJDK?
> in fact the Oracle DB has the JVM integrated into it as a component

So java stored procedures inside oracle?

dyu-··on Bad UX: How Booking.com deceives clients
```No this is ridiculously far from the truth.```

Easy to say for someone who haven't experienced their deception first hand.

GP is correct. That is part of their scheme to extract more revenue.

dyu-··on Bad UX: How Booking.com deceives clients
It is deception at it's finest. My siblings experienced this first hand and I told them, no more booking.com, ever.

Also, the cancellation was 1 month away from actual booking but they do not care. They just want to decieve (scam?) you and get your money.

Luckily, the bank sided with us. The dispute is a sure process as long as they value you as a customer.

dyu-··on Bad UX: How Booking.com deceives clients
``` booking.com: 'talk to the hotel for a refund' hotel: 'talk to booking.com for a refund' ```

Yea I experienced this last March. Charegbacks are not easy for regular consumers. Their customer service are trained to never give refunds (based on first-hand experience).

You'd have to be a valued client of your bank to have a successful dispute. And it is the only way I believe.

Both parties (booking.com and hotel) simply won't budge.

dyu-··on gRPC in Production
For the non-pingpong benchmark [1], c++ (300k rps) looks to be around 2x faster than java (150k rps), while the latter is around 2x faster than go (75k rps).

It looks like go's non-compacting/non-generational gc is at play here. Even csharp is faster than go on that benchmark.

The one you posted has no deserialization overhead since its just ping/pong.

[1] https://performance-dot-grpc-testing.appspot.com/explore?das...

edit: fix typo

dyu-··on Show HN: Eul – a lightweight desktop client for Skype, Slack, Gmail, and more
Hopefully you'll make your gui mini-framework opensource.

Though I would think it would be similar to something like https://github.com/ocornut/imgui

dyu-··on Alibaba Cloud
That cheap $30/year server turns to $200+ per year after the 1st. Go for vultr at $2.5/month. It has been good thus far.
dyu-··on Alibaba Cloud
Err. No free 1 year plan. Its just a website builder's plan that is free.
dyu-··on Alibaba Cloud
Note that they need your credit card info even with their free 1 year plan.
dyu-··on Alibaba Cloud
Was in the same boat. Their popup looks like they already sent it after registration. But you need to manually hit the "Send" button on the popup to trigger it.
dyu-··on Pinboard Acquires Delicious
Just open source it. Set it free!
dyu-··on Pinboard Acquires Delicious
Yea I just read from the comments and updated my comment. It wasn't broken in the first half of last year (I was able to export)
dyu-··on Pinboard Acquires Delicious
> I've used Delicious for 12 years, with 10,000+ bookmarks in it

I've used it for 7.5 years with 22k+ bookmarks.

I stopped using it last year because of the downtimes as well.

> I was frustrated that the Delicious export went away

Too much load on their servers.

Instead of transferring, I simply made a simple bookmarker with similar functionality (allows importing) that I could self-host.

See https://github.com/dyu/bookmarks/ if interested.

Edited: export comment

dyu-··on Pinboard Acquires Delicious
If anyone wants to export their bookmarks and self-host, try [1]. It has the ability to import from both delicious and chrome.

I've used delicious since 2008 (~22k bookmarks) and stopped using it last year when it was sold to Delicious Media (it was becoming unreliable/unstable).

1. https://github.com/dyu/bookmarks/

Disclosure: I started the project

Edited: added timeline

dyu-··on Show HN: A self-hosted comment engine powered by leveldb, for static blogs
Cool. Anyway the one I posted above was a typo. I meant to post the github.io link instead of gitlab
dyu-··on Show HN: A self-hosted comment engine powered by leveldb, for static blogs
The same exact static page is now available in http://dyu.gitlab.io/comments/

Thanks for the heads up about gitlab's static hosting

dyu-··on Show HN: A self-hosted comment engine powered by leveldb, for static blogs
I do agree that there are more robust ways to have comments on your static blog, like disqus (if you don't mind the tracking) or maybe github issues.
dyu-··on Show HN: A self-hosted comment engine powered by leveldb, for static blogs
I came across github.com/adtac/commento last week on Show HN and thought I'd port that impl using leveldb instead of sqlite3.

The impl is in github.com/dyu/comments for anyone interested.

Page 1 of 2Next →