HNHacker News
TopNewBestAskShowJobs

CraftThatBlock

1,568 karma · joined April 23, 2014

https://github.com/Cretezy

https://cretezy.com

Work @ Lyft, all opinions my own

submissionscomments
CraftThatBlock··on Building React and Vue Support for Tailwind UI
A big issue I see with this is that having custom classes (the whole extensibility point), at least in TypeScript (without re-declaring them).
CraftThatBlock··on Initial M1 support merged into Linux SoC tree
I think the original statement that it was "unlikely" was correct, the effort put into this project has been incredibly impressive.

As another poster has said, there's still a long ways to go for support.

CraftThatBlock··on Starship SN11 Launch Attempt Ends in Rapid Unscheduled Disassembly
RUD was <1km, likely around 100-250m (speculation) from the flash in stream. Debris probably at most a 1km radius around, and this is land they bought and will clean up (obviously).
CraftThatBlock··on U.S. senators reintroduce bill to make daylight saving time permanent
I agree, but branding for bills is an important part. For example, "The Patriot Act" sounds better than "Spying on Citizens Act"
CraftThatBlock··on WebAssembly
You can still block those blobs, as they too are loaded by URL.
CraftThatBlock··on Launch.io – Simple, Fast, Time Traveling React State Management
I don't see this as a large tradeoff. Taking from your example and modifying to follow good practices:

    const launch = initializeLaunch(/* ... */);
    
    const App = () => {
      // ...
    
      return (
        <LaunchProvider launch={launch}>
          <div>...</div>
        </LaunchProvider>
      );
    };
CraftThatBlock··on Launch.io – Simple, Fast, Time Traveling React State Management
A global initializeLaunch is a deal breaker.

Services should be passed a provider (similar to Redux). Having state stored globally can cause many issues:

- Testing is harder, as the state can be shared

- Having sub-stores is impossible

- Having parallel stores is impossible

CraftThatBlock··on AMD vs. Intel vs. Nvidia: How Users Are Switching
The 4950X doesn't exist, do you mean 3950X?

I'm definitely very excited for RDNA 3. I think AMD's GPU momentum is just starting, similar to the 1000s series.

CraftThatBlock··on A network analysis on cloud gaming: Stadia, GeForce Now and PSNow
Estimates I could find put it around 30-170Mbps, but the top end (speedtest.net average) of Canada is >150Mbps, which isn't actually common (living in/near large city). Average likely around 30-60 Mbps from experience.
CraftThatBlock··on Become a Git Stash Pro
This is a great point - I'll likely make a follow up post regarding this. I've never seen the autoStash option (it's not even on the git-stash man pages/documentation), and definitely very useful.

Edit: I've added a section on autostashing and on the -p flag.

CraftThatBlock··on Gitlab is moving to a three-tier product subscription model
This is a great move forward, but compared to GitHub, this is still very high.

Free -> 9$/m -> 49$/m seems like a much more reasonable pricing. I'm sure more users would pay if fhe price is better.

CraftThatBlock··on Loon’s final flight
Cue https://killedbygoogle.com comments...
CraftThatBlock··on Mute Your Microphone While Typing with Hushboard
NVIDIA Broadcast is only available on Windows (but free and works very well if you have a RTX card). Use it if available!

If using Discord, Krisp is built-in. On Windows/Mac, you can also install Krisp standalone.

On Linux, I would recommend NoiseTorch or other similar software.

CraftThatBlock··on Mute Your Microphone While Typing with Hushboard
For me, I think having an option to start when I login would be great (similar to NVIDIA Broadcast on Windows).

This would solve my biggest issue that when turning on and switching my input to it, other programs sometimes need to be restarted to pick up the microphone change.

Otherwise, keep up the great work!

CraftThatBlock··on Microsoft hurts sales of indie developers with “not commonly downloaded” error
Most malware is likely more popular than the majority of apps this affects.

- Malware can be signed - Popularity != trustworthiness - Software "trustworthiness" shouldn't be depended on. Strong sandboxing avoids malware

CraftThatBlock··on Uber’s Real-Time Push Platform
An open-source project (from myself) doing the same with WebSockets: https://github.com/Cretezy/dSock
CraftThatBlock··on Show HN: Entropy Based Password Validation
Long fully-random passwords in a password manager is what I recommend to friends and family. Using 32 alpha-numeric is what I use by default, with exceptions when other requirements are needed (symbols, etc). This ensures compatibility with pretty much everything.

62^32 = = 2.27e57

I always say: "If you can remember your password, someone can guess it"

CraftThatBlock··on Deno 1.6 supports compiling TypeScript to a single executable
Not really (at least yet, I think). This simply bundles the Deno binary and the script (I think the pre-compiled, as in TypeScript -> JavaScript, then possibly as pre-compiled AST). This is why the output binary size is the original Deno binary + the script size (roughly).

So it's functionally equivalent to running using deno test.js

CraftThatBlock··on Google Poly is shutting down
June 30, 2020 is in the past? Did they mean 2021?
CraftThatBlock··on Apple Silicon M1: Black Magic Fuckery
It's very easy to perform very well on a specific benchmark when there's dedicated hardware for this.

I'm not saying this isn't good, it's great for people editing, but this isn't a general indicator of performance (which is reportedly good!)

CraftThatBlock··on The Origin of the “MIT License”
I've stayed clear of WTFPL because it's not an approved license (https://opensource.org/licenses/alphabetical), even though it does fit it's requirements.

Using a more established license also usually comes with more corporate knowledge.

CraftThatBlock··on The Origin of the “MIT License”
When I release open-source software, I usually release it under MIT. I don't think my projects are as essential as a kernel where the GPL would shine, and I also don't want to hinder companies from using my software.

BSD is fairly similar to MIT, but I feel like the clauses cause confusion. Ideally, I think 2 or 3 clause BSD are the right choices (4 is fine too, but I prefer it less).

What other licenses are their to choose from? What would be the advantages of licensing under different terms?

I've also been curious if a CLA is a good idea or not, I've implemented it to one of my projects (using a GitHub bot) and it hasn't been a problem, but I'm still unsure about the implications of licensing this way.

I'm also unsure about if Apache would be a good fit.

CraftThatBlock··on The Tech Stack of a One-Man SaaS
Yes! You can find my email on my profile
CraftThatBlock··on The Tech Stack of a One-Man SaaS
Agree. The databases we're my biggest costs on GCP, and DO offers more for less.

Cloud Run, as you said, is pretty great. In my other start-up, we're using Cloud Run and Cloud SQL, and again, Cloud SQL is the biggest cost (~95-99% of the bill)

CraftThatBlock··on The Tech Stack of a One-Man SaaS
I had no issues so far, everything has been fairly smooth. Setup was very easy too (was my first cluster setup), and pricing is very good.
CraftThatBlock··on The Tech Stack of a One-Man SaaS
SaaS business single founder here, moved from a mix of GCP's Cloud Run, Cloud SQL, and Compute Engine to DO's managed Postgres and Kubernetes, and it has had the follow effects:

- Much cheaper, reducing bill from >100$/month to ~40$. Important for early stage startups - More performance, easier scaling. Found that my application was much better suited to run in K8S, but this is definitely specific to my use-case - Consolidation of resources. Except Postgres/Redis, everything is in my cluster, simplifying management and maintenance

For my business, this was a great move, but as others have said, I wouldn't recommend it to everyone. K8S is a great and powerful tool, but also is very complex.

CraftThatBlock··on SLS vs. Starship
You're right, I was using incorrect numbers. An Atlas V's sticker price is 110M~160M, so about 2-3x cheaper
CraftThatBlock··on SLS vs. Starship
Starship launch price should only be a couple millions (see the article).

<100M is _technically_ right, but very far off. Since Starship will be fully reusable, it's upfront building investment (the ~100M price-tag you are referring to), spread over the lifetime of the vehicle, plus staff/maintenance/fuel for launches.

Falcon 9 was already a +10x reduction (~~1.5B per launch -> ~70M, likely cheaper for reused boosters), and Starship will be another +10x cheaper than F9. This means Starship will be >100x cheaper than competitors (excluding small-sat rockets like the Electron)

CraftThatBlock··on Introducing the next generation of Mac
You are likely looking at the Intel models
CraftThatBlock··on Introducing the next generation of Mac
I don't think they included Intel's new Xe or AMD's APU in those 2x for iGPUs.
← PreviousPage 3 of 10Next →