Better HN
topnewbestaskshowjobs
Log inSign up

FBISurveillance

1,247 karma · joined Sep 25, 2017 (9y ago) · 291 submissions

Important: If you are looking at this profile because you thought something I posted was wrong, dismissive, disrespectful, douchebaggish, what have you, I would really like to hear from you so that I could understand how you got that impression. I won't get mad, I won't "retaliate" I just want to hear what you have to say. It is important to me to communicate clearly and if something I said struck you that way then I failed and I would like to correct it. (Borrowed from another profile)

email: hnfriends31415 at gmail

Submissions

comment 9mo ago · link · parent

Note: no power adapter included.

comment 10mo ago · link · parent

Terrible take. Would you be up for paying for groceries based on "value" you get?

3.

Ruby 4.0.0(ruby-lang.org ↗)

758 points · by FBISurveillance · 11mo ago · 191 comments

comment 11mo ago · link · parent

Say what you will about Hungary but I think it came up with some great incentives for future parents: income tax cuts. If you have 4 kids you don't pay income tax for life.

comment 1y ago · link · parent

Another option is to use `SecureRandom.uuid_v7` like this:

    # app/models/application_record.rb
    class ApplicationRecord < ActiveRecord::Base
      include PrimaryKeyGenerator
    end

    # app/models/concerns/primary_key_generator.rb
    module PrimaryKeyGenerator
      extend ActiveSupport::Concern

      included do
        after_initialize :generate_id
      end

      def generate_id
        return if self.class.attribute_types["id"].type != :uuid
        return if id.present?

        self.id ||= SecureRandom.uuid_v7
      end
    end

This also gives you the advantage of having your PK known before record persisted (maybe it's just me but I like my UUID PKs generated in app instead of db)

6.

Next.js 16(nextjs.org ↗)

28 points · by FBISurveillance · 1y ago · 10 comments

7.

Ruby on Rails 8.1 Released(github.com ↗)

6 points · by FBISurveillance · 1y ago · discuss

comment 1y ago · link · parent

We scaled to ~1100 bare metal servers with them and it worked perfectly.

comment 1y ago · link · parent

I have 5000+ git repos locally that I grep through regularly and I have to admit my hopes for ASIF being faster were busted. It is faster than sparsebundle, but nowhere near native, unfortunately.

comment 1y ago · link · parent

Great stuff. So 2x$135 and I'll finally get my t-shirts folded for me in the laundry room.

11.

Bun 1.2 Released(bun.sh ↗)

4 points · by FBISurveillance · 1y ago · discuss

comment 1y ago · link · parent

It looks to me like a stretch to call it an Internet Standard since there's no RFC. Out of curiosity: why not use `/.well-known` namespace for this?

comment 1y ago · link · parent

I love Rails and spent a good chunk of my career using it - and I'd recommend it more if only the frontend story wasn't that bumpy over the years with all the variations of asset pipelines.

I wish the TypeScript/React integration was easier. Say what you will but there's no way you can achieve interactivity and convenience of React (et al) UIs with Turbo/Hotwire in a meaningful time.

comment 1y ago · link · parent

Since when contributing back to the community is considered a bad faith move?

comment 1y ago · link · parent

I think they meant that chatgpt.com itself is powered by remix now, not the marketing website

comment 1y ago · link · parent

I wonder why they decided to make the move, so curious.

comment 2y ago · link · parent

I also suggest checking out WXT (https://wxt.dev/) as an alternative (it's also faster using Vite and supports more frameworks).

18.

Ruby on Rails 7.2 Released(github.com ↗)

73 points · by FBISurveillance · 2y ago · 10 comments

comment 2y ago · link · parent

Adding to that, also suggest having a self-hosted Immich on a home server.

comment 2y ago · link · parent

I suggest you to check your extensions. Local LLMs, language server bugs, maybe even a compromised extension that mines crypto?

comment 2y ago · link · parent

Probably a bird strike or something and they returned? This should have been a JFK-LHR flight IIRC.

comment 2y ago · link · parent

At least 4k, getting old for staring at low-dpi screens all day.

23.

AuthKit: Open-Source Auth UI by WorkOS(authkit.com ↗)

40 points · by FBISurveillance · 3y ago · 1 comment

comment 3y ago · link · parent

This. I'm giving feedback, it's because I care about the person and this community. It could be considered mean by some but I genuinely do my best to deliver it in good faith. I also understand that "my best" could be not good enough though!

comment 3y ago · link · parent

Me personally (sample size 1) - not really, but my social network usage is non-existing. I only have X where I follow tech folk and that's it. Not a user of FB/Instagram/etc.

comment 3y ago · link · parent

Maybe I'm an outlier, but I'd just create a new account.

These days, every time I have to pay for something online I ask myself: is it worth 5.5% per year guaranteed no-risk that i'm losing out if I'd buy bonds instead?

I know it's offtopic, but I did a review last month and stripped down number of subscriptions:

* Replaced Dropbox with GDrive that I already pay for as part of my personal Google Workspace subscription (email on my domain).

* After recent Apple One price hike I couldn't justify it canceled and got _exactly what I need_ (just 200GB iCloud and Music), 3x cost reduction.

* Started transferring my soon-expiring domains from Gandi to Porkbun (I was too lazy before).

And so on, there were some more and I trimmed my online spend down significantly.

Out of curiosity, anyone else is doing this sort of optimization? During ZIRP I never cared much.

comment 3y ago · link · parent

Reminds me of healthcare.gov.

By the way, we've seen it years ago:

* https://news.ycombinator.com/item?id=27048048

* https://www.nextgov.com/artificial-intelligence/2019/03/whit...

Still coming soon? Kudos to OP for submitting this as a reminder.

comment 3y ago · link · parent

They print money at -111M loss per quarter; I wouldn't say they are succeeding at that either, technically speaking!

Edit: when time comes rolling their debt at a higher interest rate (post-ZIRP) I expect them to trim down their workforce and start costcutting. They currently have 6k+ employees.

12345
10