Better HN
topnewbestaskshowjobs
Log inSign up

cromantin

50 karma · joined Sep 5, 2014 (12y ago) · 27 submissions

Submissions

comment 3w ago · link · parent

https://fxgl.github.io/steamac/ my friend and partner made this. For the first time I’ve been playing games on Mac without much trouble. For me best feature is automate of vm in background - finally I can play games and pause them arbitrarily

comment 1y ago · link · parent

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.

comment 2y ago · link · parent

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.

comment 4y ago · link · parent

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

comment 7y ago · link · parent

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.

comment 7y ago · link · parent

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"

comment 7y ago · link · parent

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

comment 7y ago · link · parent

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.

comment 7y ago · link · parent

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

comment 7y ago · link · parent

Is there burn rate for any of them?

comment 7y ago · link · parent

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.

comment 8y ago · link · parent

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.

comment 9y ago · link · parent

No local hosting on mac. On mac is either ms cloud or sharepoint, unfortunately.

comment 9y ago · link · parent

This was like 6 years ago :) If i remember correctly it was https://www.yubico.com/wp-content/uploads/2015/11/Yubico_Whi...

I had a blog post some time ago - https://varamashvili.blogspot.com/2012/09/using-yubikey-with...

I should note that currently i'm thinking to migrate to OTP and use brain-string (password that i remember) for filevault and mac login. I will try using OTP for sudo, maybe keychain, will try to add gpg subkey there and see how it'll go.

comment 9y ago · link · parent

Unfortunately parent is right. What you describe is using generated one time passwords. But there is no way (to my knowledge) to incorporate 2nd string into it.

Ex: right now - myPass<boop the yubikey><long password from yubikey followed by linefeed>

with otp - myPass<boop><hashed and signed one time password that no nothing about myPass>

comment 9y ago · link · parent

Yes, i am. I would've used one-time passwords but there is no way to incorporate brain-string to it.

I've used it way before there were good solutions for mac. And my main concen was to unlock my machine.

I've would've ditched it if only filevault could be unlocked with it :(

I may ditch this in favor of one-time passwords any way - support on mac is pretty good now and filevault will be secured with 9 symbols string.

comment 9y ago · link · parent

I've been using Yubikey as my 2-nd factor password source for years. It's great. I would have even thrown away second factor if yubikey could have unlocked macos FileVault.

What's 2-nd factor password? Well, basically yubikey stores just long text string, and another, shorter string, is stored in my brain. When i login i enter short string, then press yubikey.

To steal my data you don't only need to steal yubikey but also get my part of the password from me.

comment 10y ago · link · parent

There are also these guys - Packet: https://www.packet.net/ They have a lots of what you need from "cloud", bare metal servers and very competitive prices (even comparing to hetzner)

comment 10y ago · link · parent

RancherOS is separate entity from Rancher. It's their attempt at smallest possible OS for running docker. You may use rancher and never use rancher os.

Said that i personally use RancherOS on t2.micro instances without any problems.

comment 10y ago · link · parent

In my anecdotal experience with 10 machines and 40 services, half of machines dedicated and half in amazon - i've tried:

k8s - great but for >>10 machines and you need a devops to watch and configure it + every configuration example on site is broken in one way or another. skydns is working for dns. has it's own overlay network.

nomad - great, but doesn't manage dns or network + i didn't get how to save it to file, only upload to nomad. What if it fails? Where cluster config is stored? May be it should be used with Terraform, but i did't like it. Thou for it's purposes it working good. Has concept of long running tasks and can run VM's

helios - i don't remember exactly why but i didn't like it. Something with configuration management. No network or dns.

maestro-ng - this is as raw as it gets. Basically docker compose. I was using it for a while, but it hit it's limits pretty fast. No network or dns.

rancher - after seeing it in action i fell in love. Beautiful UI (you can even view logs and start shell from web ui, and it works great!). Has DNS, manages your overlay network. Store configuration in mysql (i use amazon's rds with MZ). It has it's own perfectly capable scheduler - Cattle. And it can run k8s and mesos if you want it to. I highly recommend OpenVPN package that will connect you to internal overlay network and you will be able to work with services walled from outside world.

comment 10y ago · link · parent

I highly recommend looking at rancher. It's great in every way.

comment 10y ago · link · parent

Finally. It would be great if Unity3D add official plugin to this IDE. For now Consulo[1] is competent alternative (build by some cool dude using IntelliJ Community Edition).

1: https://github.com/consulo

comment 11y ago · link · parent

You can't download it over cellular network

comment 11y ago · link · parent

If i ever go to hell i know what my punishment will be - implement unicode

comment 11y ago · link · parent

I can't wait for the times when i would ask my wife "where are my sneakers?" and in 10 minutes amazon would send me email for buying brand new sneakers with drone delivery in 5 minutes.

comment 12y ago · link · parent

Yup. Spinning wheel of doom.