HNHacker News
TopNewBestAskShowJobs

troybetz

27 karma · joined September 29, 2014

email: gmail
submissionscomments
troybetz··on Startup founders urge U.S. government not to shut off Chinese open weight AI
yes and its faster than new reddit and written in rust too btw

https://safereddit.com/r/datahoarder

Instances:

https://github.com/redlib-org/redlib-instances/blob/main/ins...

troybetz··on More Bounce to the Ounce
Where modern is post 2000 not 2020!

https://idlewords.com/2006/04/argentina_on_two_steaks_a_day....

https://idlewords.com/2014/07/sana_a.htm

troybetz··on You've tried DuckDuckGo and Brave Search, now get serious with SearXNG
You enable which search engines you want, only Bing is on by default.

Turning on Google/DDG etc results in hackingwithswift, avanderlee, developer.apple.com docs and SO at the top.

troybetz··on Show HN: I reverse engineered Apple's video wallpapers
The assets and some? of the scripting for it are in a bundle at:

/System/Library/ExtensionKit/Extensions/WallpaperMacintoshExtension.appex

Can see the time and date being added here I think:

System6ControlPanel.program

    //
    //  System 6 Control Panel
    //  Macintosh 40th Anniversary
    //
    //  Copyright © 2024 Apple. All rights reserved.
    //
    //----------------------------------------------

    start simultaneous
        scale out
        let image = "System6ControlPanel"
        ...
        ...
        add time at 267, 165 name "Geneva12"
        add date at 274, 239 name "Geneva12"
    end simultaneous
troybetz··on Khan Academy's React style guide
Don't quote me on this, but I believe that's exactly the rationale behind the 'stateless functional components' introduced in 0.14.

http://facebook.github.io/react/blog/2015/10/07/react-v0.14....

troybetz··on Mistakes AngularJS Developers Make
I use browserify and the brfs transform [0], but I know a lot of folks don't like mixing up other module systems with angular. Your approach is probably the easiest tbh.

There might be some way to load them into $templateCache on build, but that would kill lazy loading

[0] - https://github.com/substack/brfs

troybetz··on Mistakes AngularJS Developers Make
Grouping files by feature has made navigating and reasoning about a codebase so much easier. I've even found myself grouping stylesheets & test files alongside templates and app code, it really helps enforce the idea of composing smaller apps together.

Google has released a recommended app structure similar to this as well [0], though I haven't actually seen it being used too often in the projects I've come across.

[0] - https://docs.google.com/document/d/1XXMvReO8-Awi1EZXAXS4PzDz...

troybetz··on We Got Accepted into Techstars and Turned Them Down
No, they both came up through the Boulder branch.

http://www.techstars.com/program/locations/boulder/#3