frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Show HN: Bash Screensavers

https://github.com/attogram/bash-screensavers
177•attogram•9h ago•59 comments

Show HN: ISS in Real Time – 25 Years Aboard the International Space Station

https://issinrealtime.org
111•bfeist•1d ago•13 comments

Show HN: Dexto – Connect your AI Agents with real-world tools and data

https://github.com/truffle-ai/dexto
14•shaunaks•4h ago•1 comments

Show HN: Apache Fory Rust – 10-20x faster serialization than JSON/Protobuf

https://fory.apache.org/blog/2025/10/29/fory_rust_versatile_serialization_framework/
48•chaokunyang•2h ago•18 comments

Show HN: Butter – A Behavior Cache for LLMs

https://www.butter.dev/
2•edunteman•1h ago•0 comments

Show HN: Tamagotchi P1 for FPGAs

https://github.com/agg23/fpga-tamagotchi
2•agg23•1h ago•0 comments

Show HN: OpenAI Apps Handbook

https://github.com/hemanth/OpenAI-Apps-Handbook
2•init0•1h ago•0 comments

Show HN: Rewriting Scratch 3.0 from scratch in Lua (browser-free native runtime)

https://github.com/fox2d-engine/ScratchLove
2•sixddc•3h ago•0 comments

Show HN: I made semantic search engine for engineering blogs and conferences

https://devblogs.sh/
9•iillexial•3h ago•0 comments

Show HN: JSON Query

https://jsonquerylang.org/
143•wofo•1d ago•68 comments

Show HN: VS Code extension to run/debug Go table tests

https://github.com/sergiobonfiglio/go-testing-plus
2•drakyoko•3h ago•0 comments

Show HN: Thymis.io Device management – images pre-loaded with your applications

https://thymis.io/
2•elikoga•3h ago•0 comments

Show HN: Linux CLI game, quiz, cheatsheet and map from my mind mapping app

https://mindmapsonline.com/linux_commands_quiz
5•max002•4h ago•0 comments

Show HN: Pipelex – declarative language for repeatable AI workflows (MIT)

https://github.com/Pipelex/pipelex
20•lchoquel•4h ago•4 comments

Show HN: Ordered – A sorted collection library for Zig

19•habedi0•15h ago•6 comments

Show HN: Erdos – open-source, AI data science IDE

https://www.lotas.ai/erdos
81•jorgeoguerra•1d ago•32 comments

Show HN: Dlog – Journaling and AI coach that learns what drives wellbeing (Mac)

https://dlog.pro/
43•dr-j•1d ago•32 comments

Show HN: Ball X Pit – Physics Roguelite with 42 Ball Evolutions

https://ballxpit.net/
3•aishu001•7h ago•0 comments

Show HN: Write Go code in JavaScript files

https://www.npmjs.com/package/vite-plugin-use-golang
151•yar-kravtsov•1d ago•45 comments

Show HN: Web extension to remove social metrics on web

https://trashpandaextension.com/
3•chiefofgxbxl•5h ago•0 comments

Show HN: MyraOS – My 32-bit operating system in C and ASM (Hack Club project)

https://github.com/dvir-biton/MyraOS
241•dvirbt•1d ago•54 comments

Show HN: Git Auto Commit (GAC) – LLM-powered Git commit command line tool

https://github.com/cellwebb/gac
50•merge-conflict•1d ago•32 comments

Show HN: I was tired of people dmming me just "hi", so I made this - NoGreeting

https://nogreeting.kuber.studio
8•kuberwastaken•11h ago•5 comments

Show HN: C# analyzer for error handling patterns in your including call graph

https://github.com/wieslawsoltes/ThrowsAnalyzer
2•wiso•8h ago•0 comments

Show HN: Helium Browser for Android with extensions support, based on Vanadium

https://github.com/jqssun/android-helium-browser
62•jqssun•1d ago•29 comments

Show HN: Shadcn/UI theme editor – Design and share Shadcn themes

https://shadcnthemer.com
132•miketromba•3d ago•40 comments

Show HN:Interactive RISC-V CPU Visualizer (Sequential and Pipelined)

https://mostlykiguess.github.io/RISC-V-Processor-Implementation/
2•mostlyk•14h ago•0 comments

Show HN: LLM Rescuer – Fixing the billion dollar mistake in Ruby

https://github.com/barodeur/llm_rescuer
95•barodeur•4d ago•14 comments

Show HN: Diagram as code tool with draggable customizations

https://github.com/RohanAdwankar/oxdraw
255•RohanAdwankar•3d ago•59 comments

Show HN: nblm - Rust CLI/Python SDK for NotebookLM Enterprise automation

https://github.com/K-dash/nblm-rs
10•K-dash•1d ago•0 comments
Open in hackernews

Show HN: Ordered – A sorted collection library for Zig

19•habedi0•15h ago
I made an early version of a sorted collection library for Zig. Sorted collections are data structures that maintain the data in sorted order. Examples of these data structures are `java.util.TreeMap` in Java and `std::map` in C++. These data structures are mainly used for fast lookups (point search) and fast range searches.

The library is available on GitHub: https://github.com/CogitatorTech/ordered

Comments

masklinn•13h ago
… why are you calling it ordered when it’s sorted rather than, well, ordered?
habedi0•13h ago
I picked that name (`ordered`, as in `put into and kept in an arrangement`) when I started the project a few months ago and decided to keep it.
LandR•11h ago
Whats the difference between ordered and sorted ?
Galanwe•11h ago
I was confused as well. According to the internet, "ordered" is a material property of a container, it does not depend on the actual values inserted, but rather the insertion sequencing. (e.g. a queue or a stack is ordered, a set is unordered). "sorted" refers to the actual values in the container.

So a list is ordered, but can be sorted or not. A set is unordered but sorted. I guess a priority queue is ordered and sorted.

cb321•10h ago
Being truly unordered like a set is not something you can do in a physical computer program unlike a mathematical abstraction. Anything stored is "ordered" in some way, either explicitly by virtual (or physical) memory addresses or implicitly by some kind of storage map equation (like a bitmap/bitvector or N-D C/Fortran array). It just might not be a useful ordering. (I.e., you may have to loop and compare.)

One might qualify such as "system-ordered", or in the Python insert-ordered dict, qualify with "insertion-ordered", though hash tables in general are sort of a melange of hash-ordering. The same container may also support efficient iteration in multiple orders (e.g., trees often support key order as well as another order, like VM/node pool slot number order).

So, in this context (where things are obviously elements of a computer program), it isn't obvious that hair-splitting over ordered vs. sorted in their purest senses is very helpful when what is really missing is qualification.

Of course, like in many things, people tend to name computer program elements after their abstractions. This is where confusion often comes from (and not just in computing!) .. borrowing the names without all the properties (or maybe with more properties, as in this case, though that is all probably a bit iffy with the frailty of how you enumerate/decompose properties).

EDIT: In a similar way, in a realized computer, almost any "set" representation can also be a "map". You just add satellite data. Even a bit-vector can have a "parallel vector" with satellite data you access after the bits (which could even be pointful in terms of cache access). This can cause similar confusions to the "ordered" vs. "sorted" stuff.

4b11b4•4h ago
order is a general concept which builds on top of the concept of equality. If they are not equal, then what are they? We can manually define an order for a type to determine which is lesser or greater. once you have this rule (the order), then you can sort

effectively you could think of them the same, or that sorting is an application of using the order rules for a given type