Better HN
topnewbestaskshowjobs
Log inSign up

breadchris

332 karma · joined Apr 6, 2020 (6y ago) · 164 submissions

I think about things here: https://breadchris.com

I am building this: https://github.com/justshare-io/justshare

Submissions

comment 1y ago · link · parent

porting yjs to go

comment 1y ago · link · parent

omg this is beautiful, great job!

comment 1y ago · link · parent

not answering the op's question, but an alternative approach to multi-service development. I have been fixated the idea of a single process that runs all my code until an optimization is desperately needed. imo adding N number of processes to development slows down iteration by N^2. instead of reliably having one place to check for an error it could be any of the services, and having all team members have the context on where classes of problems could be is challenging. there may be a compelling reason a multi-service architecture is needed (different languages, legacy code) but i personally heavily weight development iteration in my decision making. slowing down experiments to test hypotheses is the death of productivity and morale in a codebase.

comment 1y ago · link · parent

I love this a lot. I have spent a great deal of time considering digital document writing. The hybrid of document and canvas is a must and is commonly found in PKMs now (obsidian, logseq, affine). Collaboration features are also a must imo, but not often found due to it being difficult to implement and scale.

Looking forward to tracking this project! Is there a community one could join to get updates?

comment 1y ago · link · parent

this is like the opposite of clojure right? lol amazing

comment 1y ago · link · parent

pairing this with yaegi [1] would be interesting. You could having a REPL open doing os operations and when you get the data looking like you want, you select which lines to save to a file.

[1] https://github.com/traefik/yaegi

37.

Syntax Doesnt Matter(breadchris.com ↗)

3 points · by breadchris · 1y ago · discuss

comment 1y ago · link · parent

how often would you fly to Nepal? How long was the flight?

comment 2y ago · link · parent

Clojure hosted on Go is something that I really hope gets more attention. Clojure being built on top of Java is a fine decision, but I would love to use clojure to compose the ever growing library of stable packages that exist in the Go ecosystem.

other related packages: https://joker-lang.org/ https://github.com/nooga/let-go

40.

Coding as a Lifestyle(breadchris.com ↗)

2 points · by breadchris · 2y ago · discuss

comment 2y ago · link · parent

this post is great, my mental flowchart is similar to this. Content like this reminds me of this post https://sive.rs/plaintext

comment 2y ago · link · parent

I am building a web framework in Go that has all of the nice advancements in development experience that React has. Having spent a significant amount of time writing js, I get frustrated when things break and my developer momentum comes to a grinding halt. For everything that Go is, it is not a language that breaks because time has passed. Building this project is my long term bet that with the right tooling, Go can become a competitive language for writing full stack websites.

https://github.com/breadchris/share

comment 2y ago · link · parent

as an engineer, Drawing Ideas: a hand-generated approach for better design has changed my life. My girlfriend is an artist but I never tried drawing until this book caught my eye on the shelf of a book store. I love having some basic sketching skills to help make my thoughts come to life. When I write blog posts, I try to throw in a sketch or two now.

http://www.drawingideasbook.com/book.html https://breadchris.com/blog/the-figma-plugin-system/

comment 2y ago · link · parent

I would take a look at this demo [1]. Pay close attention to what is being interpreted vs bound as a symbol to compiled code. The `yaegi extract` command will not work on exported generics atm.

If you want to collab more, shoot me an email: chris@breadchris.com

[1] https://github.com/DCjanus/yaegi_demo

comment 2y ago · link · parent

I love this! I have been working on something similar recently [1] and it is exciting to think about the possibility of building full stack components for the web that are not going to break in the foreseeable future. Even if I need to swap languages/frameworks go is easy to parse and transpile!

I dream of a library like ours to take on the likes of React, and to get there the devex needs to have some key features. Most notably, imo, is live reload. You could use air, but I find it still to be too slow to recompile the entire app. I have had some success so far with yaegi to interpret the go at runtime [2]. It isn't perfect, but the full language spec is implemented.

My personal goal is to build the Go equivalent of rails/django. Live reloading is needed in addition to plugins that provide web app primitives (auth, storage, logging, metrics, etc). Additionally, I think the network effect of React is a powerful value driver, so some easy way to include React in an app is also important. Thankfully evanw has made this trivial with esbuild [3]

[1] https://github.com/breadchris/share/blob/master/html2/html.g... [2] https://github.com/traefik/yaegi [3] https://github.com/breadchris/share/blob/master/graph/build....

comment 2y ago · link · parent

I think of code vs types analogous to the function vs form argument in design. If a website needs to be shipped ASAP, I should prioritize types less. If hundreds of engineers rely on some code, I care about types.

Language also influences how important types are, regardless of function. Haskell is strict, LISP is less so. Python, being closer to LISP in syntax, but surfacing powerful C (closer to Haskell) primitives has proven valuing function over form can be empowering.

Premature modeling of a domain in verbose types (ex. struct vs any) can slow down rapid iteration in comprehending what is valuable from data or how users may actually use code. Someone might need not just one, but infinite cat pictures in their file upload, but the code _and the types_ treat this as a single value. Another example is using JSONB columns in their RDS initially and normalizing fields into columns when needed. A more flexible type system saves time in early iteration cycles.

47.

Building a Plugin System for the Web(breadchris.com ↗)

1 points · by breadchris · 2y ago · discuss

48.

Error Checking Is Hard(breadchris.com ↗)

1 points · by breadchris · 2y ago · discuss

49.

You have invented time travel(breadchris.com ↗)

1 points · by breadchris · 2y ago · discuss

comment 2y ago · link · parent

ClickHouse is awesome, but as the post shows, some code is involved in getting the data there.

I have been working on Scratchdata [1], which makes it easy to try out a column database to optimize aggregation queries (avg, sum, max). We have helped people [2] take their Postgres with 1 billion rows of information (1.5 TB) and significantly reduce their real-time data analysis query time. Because their data was stored more efficiently, they saved on their storage bill.

You can send data as a curl request and it will get batch-processed and flattened into ClickHouse:

curl -X POST "http://app.scratchdata.com/api/data/insert/your_table?api_ke..." --data '{"user": "alice", "event": "click"}'

The founder, Jay, is super nice and just wants to help people save time and money. If you give us a ring, he or I will personally help you [3].

[1] https://www.scratchdb.com/ [2] https://www.scratchdb.com/blog/embeddables/ [3] https://q29ksuefpvm.typeform.com/to/baKR3j0p?typeform-source...

51.

My favorite button on the internet(breadchris.com ↗)

9 points · by breadchris · 2y ago · 6 comments

52.

8529 people have contributed to scikit-learn(breadchris.com ↗)

2 points · by breadchris · 2y ago · discuss

53.

ML Pipeline as a Juicy Target(breadchris.com ↗)

1 points · by breadchris · 2y ago · discuss

54.

Static vs. Dynamic Types(breadchris.com ↗)

1 points · by breadchris · 2y ago · discuss

55.

Failing Miserably to Scale Kubes(breadchris.com ↗)

3 points · by breadchris · 2y ago · discuss

comment 2y ago · link · parent

love it. It also makes me sad there arent more technical blogs. I have been building an offline-first writing/publishing platform built on top of hugo. https://justshare.io

57.

Go run vs. compile time dependency injection(breadchris.com ↗)

4 points · by breadchris · 2y ago · discuss

58.

Finding Focus(breadchris.com ↗)

1 points · by breadchris · 2y ago · discuss

comment 2y ago · link · parent

hadnt heard of this, thanks for sharing!
123456