Hacker News new | past | comments | ask | show | jobs | submit | cromantin's comments login

The best way to use Lia is using Typescript - https://typescripttolua.github.io/

We have huge Lia codebase for game client and game server shared code all written in typescript. Our developers only see lua if something does not work and it’s not often.


Because there’s finally an image generation that can do people with hands, I’m returning to my project for a day in life screensaver. Me and my wife will add notes to the calendar with what happened today. I will pull maybe some images from my photo library and ask llm to describe them. Then I will feed this into flux and create an image. And then I will put the image into Apple photo library to show on my Apple TV.

I tried this manually and it was a blast with my kids. They’ll love it.


We’re (fx.gl) using it in all our games to create a connection between game account and email. It works great. User click on mail to link. Send email with uniq token. Sever receives email and connection is created.

Some caveats:

1. not everyone has email set up on phone. We provide instructions to send email by hand.

2. We emphasize for user to choose correct email if they using work and personal email. No good solution here if user connect game account to work email. Only letter to support


We've been doing replication for 3+ years with zolando patroni. It works great. We run pg in docker and patroni too. First it was patroni with consul and right now its patroni with kubernes store (it store leader in endpoint). Highly recommend. There are other popular tools for this, it just a preference.


Yes. This is correct way to do logging. Pass an object with request, user, logger and other attributes around as you process it. This is basically "session"


This is the exact problem I solved with CabinJS; making this simple on both client and server. I've tried nearly every logging service and they continually get one thing or the other wrong (even after my attempts to fix them).

https://cabinjs.com


Hapi.js does this natively.


No, it does not do it to best standards and simplicity. Hapi itself is also incredibly convoluted and bloated.


Citadel does this only for internal certa. It does not provision lets encrypt (at least didn’t several months ago)


Thou idea is cool it product in itself. As you need a k8s person you would need istio person. It has lots of interconnected components, it own configuration primitives (lots of them) and if any of them misconfugured or wonky (looking at you mixer) you will have to spend days debugging it (mixer produce 10k of unreadable logs a second).

It’s great if you know it’s codebase. Not for general case.


The complexity of our world today in the software space is truly astounding. Agreed you would need an istio person, but that can be the same person who is the k8s person. If you have a company with large enough scale to be contemplating istio and service meshes in general; then if Istio makes your life easier in terms of dev ops in general, it might actually be worth it.


Is there burn rate for any of them?


We (Baremetrics) operate basically breakeven. Spending 2019 growing profit + cash in the bank.


A burn rate assumes a negative number. At ConvertKit we operate with about 18% profit margins.


Wow! 18% is a lot. You are good.


That data would be interesting, but it's not something I found while compiling this list.


I moved our projects to ts in early 2013. Back then there where no strict null checks (imo main feature of any modern language) and typesystem was in infancy, but still it was totally worth it - our team could reason about code and nothing broke at runtime.

Now ts come long way. If your start any js project - start in on ts. And by god - enable full strict mode.


Patrons is great. Running dockerised Postgres with consul backend for years without a hitch. Haproxy as lb. What that? A replica need reboot. Just reboot. Primary? Just failover to replica and reboot. Undesired reboots recovers in under 10 seconds. During which just primary is not available but replicas are.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: