Friday, 30 September 2022

Thursday, 29 September 2022

New top story on Hacker News: Ask HN: Has the Apple Silicon excessive disk read/write issue been fixed?
Ask HN: Has the Apple Silicon excessive disk read/write issue been fixed?
30 by cool_hw | 11 comments on Hacker News.
This was a discussion when M1 macbooks were launched, and Apple supposedly addressed it in an OS update (macOS 11.4). But I'm seeing really high read/write numbers. I'm aware that SSD lifespans are long and TBW spec is pretty generous. Still, compared to my linux machines, this seems extraordinarily high. On my newish M1 MBA, with the latest updates, with barely any use, 98%+ sleep, I'm seeing about 3 to 5 GB reads per day and 2 to 4 GB writes per day. Latest report from smartctl. ---------------------------------------------------- === START OF SMART DATA SECTION === SMART overall-health self-assessment test result: PASSED SMART/Health Information (NVMe Log 0x02) Critical Warning: 0x00 Temperature: 27 Celsius Available Spare: 100% Available Spare Threshold: 99% Percentage Used: 0% Data Units Read: 716,195 [366 GB] Data Units Written: 616,232 [315 GB] Host Read Commands: 9,108,273 Host Write Commands: 6,947,397 Controller Busy Time: 0 Power Cycles: 95 Power On Hours: 5 Unsafe Shutdowns: 11 Media and Data Integrity Errors: 0 Error Information Log Entries: 0 ---------------------------------------------------- M1 Air 16GB 1TB. Is this normal?

Wednesday, 28 September 2022

New top story on Hacker News: Ask HN: What's Happening at Cloudflare?
Ask HN: What's Happening at Cloudflare?
37 by disadvantage | 12 comments on Hacker News.
I seem to be bombarded by multiple Cloudflare posts on Hackernews lately. Is there something else I should know? Is this 'innovation month' at Cloudflare or something? All these were posted in the last few weeks! ↪ https://ift.tt/3uv6E0a https://ift.tt/dxjOtal https://ift.tt/qhgBlsp https://ift.tt/5al9T6B https://ift.tt/pCe23bi https://ift.tt/CbI13v2 https://ift.tt/5UPOsxo https://ift.tt/SnHqfWO

Tuesday, 27 September 2022

Monday, 26 September 2022

Sunday, 25 September 2022

Saturday, 24 September 2022

New top story on Hacker News: Ask HN: Books on designing disk-optimized data structures?
Ask HN: Books on designing disk-optimized data structures?
6 by memset | 4 comments on Hacker News.
Are there canonical books, resources, or readings for how to design data structures that will be primarily read and written to a disk rather than memory? Most of what I learned in school about big-O assumes that, for example, random access is O(1). However, random disk reads are really slow due to spacial locality. People who write databases obviously have solutions to this problem - for example, DuckDB is based on a number of papers that have come out over the years on this topic. If I wanted to design, ie, a tree structure which was intended to be read/written from a disk, are there general principles or patterns the have been developed to take advantage of locality of reference, minimize random reads, or decrease the overhead of writes, that I could familiarize myself with? What is the CLRS for disk?

Friday, 23 September 2022

New top story on Hacker News: Ask HN: I love to be alone. But this loneliness is killing me
Ask HN: I love to be alone. But this loneliness is killing me
51 by endofreach | 37 comments on Hacker News.
It‘s not a phase. I am turning 30 soon. I have had this feeling ever since i can remember. I know, often times i am subconsciously aligning my actions to end up alone. Sometimes it seems like i do that to create something like a melancholic void, that i must feel, because otherwise, i would feel empty… I can‘t summarize it better right now. I have learned the portuguese word „saudade“. That feeling, i believe i know. It seems somehow related, to what I am trying to describe. I truly can not handle it anymore… How do you deal with it? Also I have recently read about „intellectual loneliness“ on here, which i resonated deeply with. It is not what i am describing, but rather a part of it. But the totality is too much for me. I don‘t even know what to expect from posting here. I just have nowhere else to turn to…

Thursday, 22 September 2022

New top story on Hacker News: Show HN: Open Prompts – dataset of 10M Stable Diffusion generations
Show HN: Open Prompts – dataset of 10M Stable Diffusion generations
19 by vipermu | 7 comments on Hacker News.
Open Prompts is the dataset used to build krea.ai. The data comes from the Stability AI Discord and includes around 10M images from 2M prompts. You can use it for creating semantic search engines of prompts, training LLMs, fine-tuning image-to-text models like BLIP, or extracting insights from the data—like the most common combinations of modifiers.

Wednesday, 21 September 2022

Tuesday, 20 September 2022

New top story on Hacker News: Show HN: TaskTXT, plain text task-timing notepad
Show HN: TaskTXT, plain text task-timing notepad
11 by trafnar | 7 comments on Hacker News.
I built TaskTXT.com based on my experience timing my tasks. I found that committing to a task before I start helps with my focus, and guessing how long it will take, then timing it prevents me from wanting to give in to distractions because I'm "on the clock". Video Overview: https://www.youtube.com/watch?v=HOYO0c_D6w0 There's also a Mac app which you can download here: https://ift.tt/xNzeMus Video overview of the Mac app: https://www.youtube.com/watch?v=qMs-V5v5gZY But I didn't want the tool to be distracting, so its based on plain text. That means the UI is very familiar and you can use it for generic notes in any structure you like. When you work in TaskTXT you are working directly on its data format, I made a video about this concept here: https://www.youtube.com/watch?v=kZdBgVZn5NI I think this tool is uniquely suited for programmers, so I'd be interested to hear any feedback about the product, or its viability as a business.

Monday, 19 September 2022

Sunday, 18 September 2022

Saturday, 17 September 2022

Friday, 16 September 2022

Thursday, 15 September 2022

Wednesday, 14 September 2022

Tuesday, 13 September 2022

Monday, 12 September 2022

Saturday, 10 September 2022

Friday, 9 September 2022

Thursday, 8 September 2022

Wednesday, 7 September 2022

Tuesday, 6 September 2022

New top story on Hacker News: Show HN: VoxelChain – An Experimental Voxel Engine
Show HN: VoxelChain – An Experimental Voxel Engine
8 by x1m4 | 0 comments on Hacker News.
VoxelChain is an experimental tool to create voxel worlds in the browser. The lighting is fully ray traced in real-time and there is powerful cellular-automata based programming system, which allows to create complex digital circuits and model the behaviour of voxels (behaviour such as falling sand or water). Technology wise, I'm using WebGL2 for the rendering and the simulation is coded in C89 and gets compiled to WebAssembly (with multi-threading) using Clang. The simulation is basically a custom cellular automaton and is fully parallelized. Once WebGPU is released, I'm planning to run the simulation on the GPU, instead of the CPU, which will give a massive speed up. I've been working on this project full-time for over a year now, and finally came to the point of realising a public version of it to play with. There is already some really cool stuff that the community has built, and it's super fun to see how everything evolves! Let me know what you think and feel free to ask any questions :>

Monday, 5 September 2022

Sunday, 4 September 2022

Saturday, 3 September 2022

Friday, 2 September 2022

Thursday, 1 September 2022