Better HN
topnewbestaskshowjobs
Log inSign up

CarefreeCrayon

74 karma · joined Aug 9, 2016 (10y ago) · 18 submissions

Submissions

1.

Running a Language Model on a $35 FPGA(nishtahir.com ↗)

1 points · by CarefreeCrayon · 3w ago · discuss

2.

Generating balanced cubes for Magic: The Gathering(nishtahir.com ↗)

1 points · by CarefreeCrayon · 1mo ago · discuss

3.

Just because it's work shaped doesn't make it productive(nishtahir.com ↗)

5 points · by CarefreeCrayon · 8mo ago · 1 comment

4.

Turns out GPT-5 can count but GPT-5-chat can't(bsky.app ↗)

2 points · by CarefreeCrayon · 1y ago · 1 comment

5.

Ghost Engineers and Proof or a Lack Thereof(nishtahir.com ↗)

20 points · by CarefreeCrayon · 1y ago · 5 comments

6.

What Is a Staff Engineer?(nishtahir.com ↗)

147 points · by CarefreeCrayon · 2y ago · 114 comments

7.

RAG is not just text(nishtahir.com ↗)

2 points · by CarefreeCrayon · 2y ago · discuss

8.

Model Collapse Is an Information Degredation Problem(nishtahir.com ↗)

2 points · by CarefreeCrayon · 2y ago · discuss

9.

I looked through attacks in my access logs – Part 2(nishtahir.com ↗)

4 points · by CarefreeCrayon · 2y ago · discuss

comment 2y ago · link · parent

One concern that I have is that copilot is inherently additive in nature. It is unable to suggest that blocks of code be deleted which creates a bias that adding more code is always the solution and a lot of code that shouldn't be written ends up in the codebase.

I believe this is a problem works against less experienced engineers because more senior engineers are better at recognizing that problem. In my experience the most senior engineers respond to that by just turning the tool off.

comment 2y ago · link · parent

I found this interesting and have been profiling to understand why the increase in performance was so significant. It looks to me that the main culprit was Protobufs + Garbage collection. Serializing to protos performs a lot of allocations. Using just the Float32View skips all that.

``` I/scudo ( 641): Stats: SizeClassAllocator64: 572M mapped (0M rss) in 11986660 allocations; remains 257629 I/scudo ( 641): 00 ( 64): mapped: 1024K popped: 506106 pushed: 491660 inuse: 14446 total: 15044 rss: 0K releases: 0 last released: 0K region: 0x7ceae87000 (0x7ceae86000) I/scudo ( 641): 01 ( 32): mapped: 1024K popped: 92137 pushed: 73047 inuse: 19090 total: 26708 rss: 0K releases: 0 last released: 0K region: 0x7cfae8c000 (0x7cfae86000) ```

I think this is because during the proto encoding/decoding stage the protobuf lib ended up creating a bunch of objects to support the process

``` "Class","Library","Total Instances","Total Size","Total Dart Heap Size","Total External Size","New Space Instances","New Space Size","New Space Dart Heap Size","New Space External Size","Old Space Instances","Old Space Size","Old Space Dart Heap Size","Old Space External Size" _FieldSet,package:protobuf/protobuf.dart,100010,4800480,4800480,0,0,0,0,0,100010,4800480,4800480,0 PbList,package:protobuf/protobuf.dart,108536,3473152,3473152,0,0,0,0,0,108536,3473152,3473152,0 Embedding,package:edge_db_benchmarks/models/embedding.dart,108535,3473120,3473120,0,0,0,0,0,108535,3473120,3473120,0 EmbeddingProto,package:edge_db_benchmarks/models/embedding.pb.dart,100010,1600160,1600160,0,0,0,0,0,100010,1600160,1600160,0 ```

What's missing here is that these have to be copied over to the database isolate as well.

12.

I looked through attacks in my access logs. Here's what I found(nishtahir.com ↗)

9 points · by CarefreeCrayon · 2y ago · 4 comments

13.

It's 2023. Your API should have a schema(nishtahir.com ↗)

4 points · by CarefreeCrayon · 3y ago · discuss

14.

Interview fraud is on the rise. Is your process setup to handle the threat?(social.nishtahir.com ↗)

1 points · by CarefreeCrayon · 3y ago · discuss

15.

On AI-Assisted Software Development(nishtahir.com ↗)

4 points · by CarefreeCrayon · 3y ago · discuss

16.

Show HN: Hyperion for Android – A Debug App Inspection Tool(github.com ↗)

13 points · by CarefreeCrayon · 8y ago · discuss