Better HN
topnewbestaskshowjobs
Log inSign up

CraftThatBlock

1,719 karma · joined Apr 23, 2014 (12y ago) · 349 submissions

https://github.com/Cretezy

https://cretezy.com

Work @ Lyft, all opinions my own

Submissions

comment 6y ago · link · parent

This is how APUs (which is what the PS4/PS5/Xbox) use memory, the RAM is shared between the graphics and compute units. This can be an advantage since memory is quickly shared between the two (for example loading textures, etc).

This is also useful in computers since adding more RAM also adds more VRAM

comment 6y ago · link · parent

Docker on macOS runs inside a Linux VM, so yes it's functionally identical. The performance issues arise from FS mostly due to macOS (see post at top of front-page earlier)

comment 6y ago · link · parent

What would be the benefits vs hitting your API directly? (Having a "normal" API server)

comment 6y ago · link · parent

Seems like most companies have one of these, including Google (Firebase Hosting + Functions). It seems like a common platform, however I always have trouble imagining what is the use case, especially in scalability (Function/Lambda is fine for small projects, but feels like it's not widely scalable and still has a lot or limitations)

comment 6y ago · link · parent

I don't need a habit, I have a password manager.

comment 6y ago · link · parent

The main problem is Spotify isn't a podcast app. I don't listen to music like I do podcast, and I don't want my queue there because music would mix in, and it can easily reset.

Also, most "real" podcast app have better playback options. I want to be able to see chapters, and skip silence, but forcing to use Spotify for an open format is bad for everyone. Podcasts are great because they are open, and give you choices in playback apps.

comment 6y ago · link · parent

I know my PIN yet it asks me everytime I open the app. It's extremely annoying. I wouldn't mind once a month, but it seems like it's 1 a week (which doesn't seem true, I feel like it's more every 2-3 days for me).

I just wish there was an option to ask less frequently.

158.

Flutter JSON parsing: What is the fastest?(cretezy.com ↗)

1 points · by CraftThatBlock · 6y ago · discuss

comment 6y ago · link · parent

Feels a bit too blue. Maybe replacing the background with a darker and grayer color would make it easier to the eyes

comment 6y ago · link · parent

This is incorrect. It starts loading on mouse down, but still acts on mouse up.

comment 6y ago · link · parent

https://xi-editor.io/docs.html

comment 6y ago · link · parent

Ah true, although like you said Hire was more a tangent product to G Suite, so not exactly Cloud related, but still business-facing. Thanks for reminding me

comment 6y ago · link · parent

Has Google EOL any Cloud products? I don't remember any being shutdown recently at least. Since these are money-making products (unlike maybe other good customer-facing products), there's a lot less reasons to shut things down IMO

comment 6y ago · link · parent

Same for IntelliJ-based editor! It's incredibly useful to store the .http files inside git repos, an have it tracked alongside with code. It's similar to Postman or Insomnia, but tracked (and synced), and built-in

165.

Show HN: dSock v0.3.0 (Channels) – Distributed WebSocket broker(github.com ↗)

4 points · by CraftThatBlock · 6y ago · discuss

comment 6y ago · link · parent

Ctrl+F "Ubuntu" - No results.

Seems to be using parts of code from Ubuntu, but that doesn't mean it is Ubuntu.

comment 6y ago · link · parent

This is like saying a game runs at 0.1fps because it took a couple seconds to load at the start.

This is initial load time. Printing likely account for <1% of the actual time, the rest being initializing the program

comment 6y ago · link · parent

Can you provide a source? I could find any references looking at the source. Also, that's not an Ubuntu version

comment 6y ago · link · parent

Lots of bashing in this thread, but to clarify a bit:

The Dart VM is roughly based on V8's internals. Running dart alone would be similar to running node, which needs to initialize the VM, parse the code, and run it. This is obviously slower than a pre-compiled binary.

dart2native brings it half-way to native, by doing parsing and initialization, and saving a memory snapshot right before executing the main function. This greatly reduce startup time (and is the same technique that makes Flutter apps start fast), but still not as fast as a binary, since it is loading the snapshots and doing some initialization.

This is usually fast enough, because once the initialization is ran, the following code will run fast. This is a constant initialization loading time, and doesn't represent anything.

Saying 22ms doesn't mean anything, and feels like a misinformed statement.

Dart overall is a pleasant language, and it is somewhat unique that it provides multiple ways to run. You can run with dart, dart2native, dart2js, and I believe there's one for ARM (for Flutter). This allows you to choose the best for your target platform

170.

Flutter Super State: Simple State Management for Flutter(medium.com ↗)

2 points · by CraftThatBlock · 6y ago · discuss

171.

dSock v0.2.0 – Distributed WebSocket broker(github.com ↗)

2 points · by CraftThatBlock · 6y ago · discuss

comment 6y ago · link · parent

Thank you, very interesting! I use IntelliJ mostly, and this is something I wish was available on that platform

173.

Dart 2.8(medium.com ↗)

6 points · by CraftThatBlock · 6y ago · discuss

comment 6y ago · link · parent

I hope they allow to run the VMs on local hardware. I would love to use my desktop resources (more than they are offering, which is still generous) for this feature.

I think Chromebooks are going to be a great use for this. Lightweight client but full editor and environment, with no hassle.

175.

GitHub CodeQL(github.com ↗)

35 points · by CraftThatBlock · 6y ago · 2 comments

176.

GitHub Codespaces(github.com ↗)

1769 points · by CraftThatBlock · 6y ago · 601 comments

177.

Show HN: dSock – Distributed WebSocket broker(github.com ↗)

2 points · by CraftThatBlock · 6y ago · discuss

178.

Show HN: CloudExec – Create and run JavaScript in the cloud, automate your life(cloudexec.cretezy.com ↗)

1 points · by CraftThatBlock · 6y ago · discuss

179.

Routex v1.0.0: Modern Node Router(dev.to ↗)

3 points · by CraftThatBlock · 6y ago · discuss

1
567
12