News for hackers. Stuff that matters.

cromantin

Re:Apple introduces the new 14‑inch MacBook Pro with M6 on Wednesday October 28, 2026 @02:27AM (#50269884)
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
Re:Lua Is So Underrated on Thursday December 26, 2024 @10:56PM (#42519818)
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.

Re:Ask HN: What are you working on (September 2024)? on Monday September 30, 2024 @07:38AM (#41696016)
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.

Re:Why don’t we do email verification in reverse? on Sunday August 21, 2022 @05:59AM (#32538738)
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

Re:PostgreSQL 11.3 and 10.8 on Thursday May 09, 2019 @11:55AM (#19869360)
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.
Re:Node.js Logging Made Right on Tuesday March 05, 2019 @08:56AM (#19310493)
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"
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.

Wow! 18% is a lot. You are good.
Is there burn rate for any of them?
Re:Migrate Jest to TypeScript on Wednesday January 16, 2019 @02:00AM (#18918818)
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.

Re:PostgreSQL HA cluster failure: a post-mortem on Wednesday December 06, 2017 @03:21PM (#15864600)
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.
No local hosting on mac. On mac is either ms cloud or sharepoint, unfortunately.
Re:Se­cu­rity Keys on Friday August 18, 2017 @07:32AM (#15045240)
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.

Re:Se­cu­rity Keys on Friday August 18, 2017 @05:32AM (#15044762)
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>

Re:Se­cu­rity Keys on Friday August 18, 2017 @05:30AM (#15044750)
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.

Re:Se­cu­rity Keys on Friday August 18, 2017 @04:56AM (#15044600)
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.

Re:EC2 Price Reduction (C4, M4, and T2 Instances) on Tuesday November 15, 2016 @06:54AM (#12957301)
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)
Re:Learn Docker by building a Microservice on Wednesday June 01, 2016 @09:29AM (#11814153)
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.

Re:Learn Docker by building a Microservice on Wednesday June 01, 2016 @08:04AM (#11813678)
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.

Re:Learn Docker by building a Microservice on Wednesday June 01, 2016 @07:00AM (#11813433)
I highly recommend looking at rancher. It's great in every way.
Re:Project Rider – A C# IDE on Wednesday January 13, 2016 @06:57AM (#10893676)
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

Re:Support for 100MB APKs on Google Play on Tuesday September 29, 2015 @08:48AM (#10295827)
You can't download it over cellular network
Re:Firefox 39.0 released on Friday July 03, 2015 @10:16AM (#9825700)
If i ever go to hell i know what my punishment will be - implement unicode
Re:Amazon Echo Released on Tuesday June 23, 2015 @11:05AM (#9765084)
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.
Re:Anyone here that can't load the new iTunes Connect? on Friday September 05, 2014 @02:20AM (#8272563)
Yup. Spinning wheel of doom.