Mock data is always a pain… so I made a tool to automate it
https://www.reddit.com/r/programming/comments/1n0kt0b/mock_data_is_always_a_pain_so_i_made_a_tool_to/
<!-- SC_OFF -->Every project I start, I waste hours hand-crafting seed data or JSON mocks.
So I built Mockilo — a schema-aware mock data generator. You point it to your Prisma schema, run one command, and boom: realistic data with relations filled in.
I’m curious — how do you handle mock data in your projects today? Repo here if anyone wants to poke around: [github.com/mockilo/mocktail-cli](#) <!-- SC_ON --> submitted by /u/Latter_Mechanic1690 (https://www.reddit.com/user/Latter_Mechanic1690)
[link] (http://github.com/mockilo/mocktail-cli) [comments] (https://www.reddit.com/r/programming/comments/1n0kt0b/mock_data_is_always_a_pain_so_i_made_a_tool_to/)
https://www.reddit.com/r/programming/comments/1n0kt0b/mock_data_is_always_a_pain_so_i_made_a_tool_to/
<!-- SC_OFF -->Every project I start, I waste hours hand-crafting seed data or JSON mocks.
So I built Mockilo — a schema-aware mock data generator. You point it to your Prisma schema, run one command, and boom: realistic data with relations filled in.
I’m curious — how do you handle mock data in your projects today? Repo here if anyone wants to poke around: [github.com/mockilo/mocktail-cli](#) <!-- SC_ON --> submitted by /u/Latter_Mechanic1690 (https://www.reddit.com/user/Latter_Mechanic1690)
[link] (http://github.com/mockilo/mocktail-cli) [comments] (https://www.reddit.com/r/programming/comments/1n0kt0b/mock_data_is_always_a_pain_so_i_made_a_tool_to/)
Explanation of the Linux-kernel memory consistency model
https://www.reddit.com/r/programming/comments/1n0qmie/explanation_of_the_linuxkernel_memory_consistency/
submitted by /u/ketralnis (https://www.reddit.com/user/ketralnis)
[link] (https://raw.githubusercontent.com/torvalds/linux/refs/heads/master/tools/memory-model/Documentation/explanation.txt) [comments] (https://www.reddit.com/r/programming/comments/1n0qmie/explanation_of_the_linuxkernel_memory_consistency/)
https://www.reddit.com/r/programming/comments/1n0qmie/explanation_of_the_linuxkernel_memory_consistency/
submitted by /u/ketralnis (https://www.reddit.com/user/ketralnis)
[link] (https://raw.githubusercontent.com/torvalds/linux/refs/heads/master/tools/memory-model/Documentation/explanation.txt) [comments] (https://www.reddit.com/r/programming/comments/1n0qmie/explanation_of_the_linuxkernel_memory_consistency/)
Compositional Datalog on SQL: Relational Algebra of the Environment
https://www.reddit.com/r/programming/comments/1n0qp1h/compositional_datalog_on_sql_relational_algebra/
submitted by /u/ketralnis (https://www.reddit.com/user/ketralnis)
[link] (https://www.philipzucker.com/compose_datalog/) [comments] (https://www.reddit.com/r/programming/comments/1n0qp1h/compositional_datalog_on_sql_relational_algebra/)
https://www.reddit.com/r/programming/comments/1n0qp1h/compositional_datalog_on_sql_relational_algebra/
submitted by /u/ketralnis (https://www.reddit.com/user/ketralnis)
[link] (https://www.philipzucker.com/compose_datalog/) [comments] (https://www.reddit.com/r/programming/comments/1n0qp1h/compositional_datalog_on_sql_relational_algebra/)
Understand the Temporary Allocator; Understand arenas
https://www.reddit.com/r/programming/comments/1n0qp9y/understand_the_temporary_allocator_understand/
submitted by /u/ketralnis (https://www.reddit.com/user/ketralnis)
[link] (https://zylinski.se/posts/temporary-allocator-your-first-arena/) [comments] (https://www.reddit.com/r/programming/comments/1n0qp9y/understand_the_temporary_allocator_understand/)
https://www.reddit.com/r/programming/comments/1n0qp9y/understand_the_temporary_allocator_understand/
submitted by /u/ketralnis (https://www.reddit.com/user/ketralnis)
[link] (https://zylinski.se/posts/temporary-allocator-your-first-arena/) [comments] (https://www.reddit.com/r/programming/comments/1n0qp9y/understand_the_temporary_allocator_understand/)
Put a ring on it: a lock-free MPMC ring buffer
https://www.reddit.com/r/programming/comments/1n0qq31/put_a_ring_on_it_a_lockfree_mpmc_ring_buffer/
submitted by /u/ketralnis (https://www.reddit.com/user/ketralnis)
[link] (https://h4x0r.org/ring/) [comments] (https://www.reddit.com/r/programming/comments/1n0qq31/put_a_ring_on_it_a_lockfree_mpmc_ring_buffer/)
https://www.reddit.com/r/programming/comments/1n0qq31/put_a_ring_on_it_a_lockfree_mpmc_ring_buffer/
submitted by /u/ketralnis (https://www.reddit.com/user/ketralnis)
[link] (https://h4x0r.org/ring/) [comments] (https://www.reddit.com/r/programming/comments/1n0qq31/put_a_ring_on_it_a_lockfree_mpmc_ring_buffer/)
Emulating aarch64 in software using JIT compilation and Rust
https://www.reddit.com/r/programming/comments/1n0qrq7/emulating_aarch64_in_software_using_jit/
submitted by /u/ketralnis (https://www.reddit.com/user/ketralnis)
[link] (https://pitsidianak.is/blog/posts/2025-08-25_emulating_aarch64_in_software_using_JIT_compilation.html) [comments] (https://www.reddit.com/r/programming/comments/1n0qrq7/emulating_aarch64_in_software_using_jit/)
https://www.reddit.com/r/programming/comments/1n0qrq7/emulating_aarch64_in_software_using_jit/
submitted by /u/ketralnis (https://www.reddit.com/user/ketralnis)
[link] (https://pitsidianak.is/blog/posts/2025-08-25_emulating_aarch64_in_software_using_JIT_compilation.html) [comments] (https://www.reddit.com/r/programming/comments/1n0qrq7/emulating_aarch64_in_software_using_jit/)
A Qt Model for all C++ Ranges
https://www.reddit.com/r/programming/comments/1n0qrrq/a_qt_model_for_all_c_ranges/
submitted by /u/ketralnis (https://www.reddit.com/user/ketralnis)
[link] (https://www.qt.io/blog/a-model-for-all-ranges) [comments] (https://www.reddit.com/r/programming/comments/1n0qrrq/a_qt_model_for_all_c_ranges/)
https://www.reddit.com/r/programming/comments/1n0qrrq/a_qt_model_for_all_c_ranges/
submitted by /u/ketralnis (https://www.reddit.com/user/ketralnis)
[link] (https://www.qt.io/blog/a-model-for-all-ranges) [comments] (https://www.reddit.com/r/programming/comments/1n0qrrq/a_qt_model_for_all_c_ranges/)
Hands on Capture Checking in Scala
https://www.reddit.com/r/programming/comments/1n0qrt9/hands_on_capture_checking_in_scala/
submitted by /u/ketralnis (https://www.reddit.com/user/ketralnis)
[link] (https://nrinaudo.github.io/articles/capture_checking.html) [comments] (https://www.reddit.com/r/programming/comments/1n0qrt9/hands_on_capture_checking_in_scala/)
https://www.reddit.com/r/programming/comments/1n0qrt9/hands_on_capture_checking_in_scala/
submitted by /u/ketralnis (https://www.reddit.com/user/ketralnis)
[link] (https://nrinaudo.github.io/articles/capture_checking.html) [comments] (https://www.reddit.com/r/programming/comments/1n0qrt9/hands_on_capture_checking_in_scala/)
Structural vs. Mathematical “Under”
https://www.reddit.com/r/programming/comments/1n0qs8p/structural_vs_mathematical_under/
submitted by /u/ketralnis (https://www.reddit.com/user/ketralnis)
[link] (https://www.dyalog.com/blog/2023/01/structural-vs-mathematical-under/) [comments] (https://www.reddit.com/r/programming/comments/1n0qs8p/structural_vs_mathematical_under/)
https://www.reddit.com/r/programming/comments/1n0qs8p/structural_vs_mathematical_under/
submitted by /u/ketralnis (https://www.reddit.com/user/ketralnis)
[link] (https://www.dyalog.com/blog/2023/01/structural-vs-mathematical-under/) [comments] (https://www.reddit.com/r/programming/comments/1n0qs8p/structural_vs_mathematical_under/)
Object-oriented design patterns in C and kernel development
https://www.reddit.com/r/programming/comments/1n0qtsu/objectoriented_design_patterns_in_c_and_kernel/
submitted by /u/ketralnis (https://www.reddit.com/user/ketralnis)
[link] (https://oshub.org/projects/retros-32/posts/object-oriented-design-patterns-in-osdev) [comments] (https://www.reddit.com/r/programming/comments/1n0qtsu/objectoriented_design_patterns_in_c_and_kernel/)
https://www.reddit.com/r/programming/comments/1n0qtsu/objectoriented_design_patterns_in_c_and_kernel/
submitted by /u/ketralnis (https://www.reddit.com/user/ketralnis)
[link] (https://oshub.org/projects/retros-32/posts/object-oriented-design-patterns-in-osdev) [comments] (https://www.reddit.com/r/programming/comments/1n0qtsu/objectoriented_design_patterns_in_c_and_kernel/)
Model-based Testing Distributed Systems with P Language
https://www.reddit.com/r/programming/comments/1n0qv43/modelbased_testing_distributed_systems_with_p/
submitted by /u/ketralnis (https://www.reddit.com/user/ketralnis)
[link] (https://www.mydistributed.systems/2021/06/p-language.html) [comments] (https://www.reddit.com/r/programming/comments/1n0qv43/modelbased_testing_distributed_systems_with_p/)
https://www.reddit.com/r/programming/comments/1n0qv43/modelbased_testing_distributed_systems_with_p/
submitted by /u/ketralnis (https://www.reddit.com/user/ketralnis)
[link] (https://www.mydistributed.systems/2021/06/p-language.html) [comments] (https://www.reddit.com/r/programming/comments/1n0qv43/modelbased_testing_distributed_systems_with_p/)
postMessaged and Compromised
https://www.reddit.com/r/programming/comments/1n0qvfd/postmessaged_and_compromised/
submitted by /u/ketralnis (https://www.reddit.com/user/ketralnis)
[link] (https://msrc.microsoft.com/blog/2025/08/postmessaged-and-compromised/) [comments] (https://www.reddit.com/r/programming/comments/1n0qvfd/postmessaged_and_compromised/)
https://www.reddit.com/r/programming/comments/1n0qvfd/postmessaged_and_compromised/
submitted by /u/ketralnis (https://www.reddit.com/user/ketralnis)
[link] (https://msrc.microsoft.com/blog/2025/08/postmessaged-and-compromised/) [comments] (https://www.reddit.com/r/programming/comments/1n0qvfd/postmessaged_and_compromised/)
Commit hash pinning in GitHub Actions: secure, but at a cost
https://www.reddit.com/r/programming/comments/1n0qxai/commit_hash_pinning_in_github_actions_secure_but/
submitted by /u/ReditusReditai (https://www.reddit.com/user/ReditusReditai)
[link] (https://developerwithacat.com/blog/202508/github-actions-commit-hash-pinning-tradeoffs/) [comments] (https://www.reddit.com/r/programming/comments/1n0qxai/commit_hash_pinning_in_github_actions_secure_but/)
https://www.reddit.com/r/programming/comments/1n0qxai/commit_hash_pinning_in_github_actions_secure_but/
submitted by /u/ReditusReditai (https://www.reddit.com/user/ReditusReditai)
[link] (https://developerwithacat.com/blog/202508/github-actions-commit-hash-pinning-tradeoffs/) [comments] (https://www.reddit.com/r/programming/comments/1n0qxai/commit_hash_pinning_in_github_actions_secure_but/)
The Anatomy of Node: I'm re-building a JavaScript runtime from scratch and blogging about it
https://www.reddit.com/r/programming/comments/1n0rfo1/the_anatomy_of_node_im_rebuilding_a_javanoscript/
submitted by /u/chesus_chrust (https://www.reddit.com/user/chesus_chrust)
[link] (https://ravestar.dev/blog/anatomy-of-node-part-1/) [comments] (https://www.reddit.com/r/programming/comments/1n0rfo1/the_anatomy_of_node_im_rebuilding_a_javanoscript/)
https://www.reddit.com/r/programming/comments/1n0rfo1/the_anatomy_of_node_im_rebuilding_a_javanoscript/
submitted by /u/chesus_chrust (https://www.reddit.com/user/chesus_chrust)
[link] (https://ravestar.dev/blog/anatomy-of-node-part-1/) [comments] (https://www.reddit.com/r/programming/comments/1n0rfo1/the_anatomy_of_node_im_rebuilding_a_javanoscript/)
Many hate on Object-Oriented Programming. But some junior programmers seem to mostly echo what they've heard experienced programmers say. In this blog post I try to give a "less extreme" perspective, and encourage people to think for themselves.
https://www.reddit.com/r/programming/comments/1n11tps/many_hate_on_objectoriented_programming_but_some/
submitted by /u/KarlZylinski (https://www.reddit.com/user/KarlZylinski)
[link] (https://zylinski.se/posts/know-why-you-dont-like-oop/) [comments] (https://www.reddit.com/r/programming/comments/1n11tps/many_hate_on_objectoriented_programming_but_some/)
https://www.reddit.com/r/programming/comments/1n11tps/many_hate_on_objectoriented_programming_but_some/
submitted by /u/KarlZylinski (https://www.reddit.com/user/KarlZylinski)
[link] (https://zylinski.se/posts/know-why-you-dont-like-oop/) [comments] (https://www.reddit.com/r/programming/comments/1n11tps/many_hate_on_objectoriented_programming_but_some/)
Why I'm declining your AI generated MR
https://www.reddit.com/r/programming/comments/1n12fdr/why_im_declining_your_ai_generated_mr/
submitted by /u/Zulban (https://www.reddit.com/user/Zulban)
[link] (https://blog.stuartspence.ca/2025-08-declining-ai-slop-mr.html) [comments] (https://www.reddit.com/r/programming/comments/1n12fdr/why_im_declining_your_ai_generated_mr/)
https://www.reddit.com/r/programming/comments/1n12fdr/why_im_declining_your_ai_generated_mr/
submitted by /u/Zulban (https://www.reddit.com/user/Zulban)
[link] (https://blog.stuartspence.ca/2025-08-declining-ai-slop-mr.html) [comments] (https://www.reddit.com/r/programming/comments/1n12fdr/why_im_declining_your_ai_generated_mr/)
New algorithm outperforms Dijkstra after 40 years!
https://www.reddit.com/r/programming/comments/1n13gpp/new_algorithm_outperforms_dijkstra_after_40_years/
<!-- SC_OFF -->EDIT: link to the article https://arxiv.org/abs/2504.17033 For 40+ years, the shortest-path problem (think Google Maps, routing, networks) was dominated by Dijkstra-style algorithms, always hitting the sorting bottleneck. A research team at Tsinghua University just published a breakthrough:
They built a new shortest-path algorithm that avoids sorting altogether, breaking a theoretical barrier thought impossible since the 1980s. Key ideas: - Work in layers instead of strict ordering
- Pick representative pivots (clusters) instead of sorting every node
- Use a few Bellman–Ford–style relaxations to propagate distances
- Runs in O(m log2/3 n) — faster than any sorting-based method It just won Best Paper @ STOC (one of the top CS theory conferences).
Link to article: 36Kr coverage (https://eu.36kr.com/en/p/3419098143837833) What do you think:
- Will this change how we teach algorithms? - Or is it more of a “theory-only” milestone for now? <!-- SC_ON --> submitted by /u/Ambitious-Page-5737 (https://www.reddit.com/user/Ambitious-Page-5737)
[link] (https://arxiv.org/abs/2307.04139) [comments] (https://www.reddit.com/r/programming/comments/1n13gpp/new_algorithm_outperforms_dijkstra_after_40_years/)
https://www.reddit.com/r/programming/comments/1n13gpp/new_algorithm_outperforms_dijkstra_after_40_years/
<!-- SC_OFF -->EDIT: link to the article https://arxiv.org/abs/2504.17033 For 40+ years, the shortest-path problem (think Google Maps, routing, networks) was dominated by Dijkstra-style algorithms, always hitting the sorting bottleneck. A research team at Tsinghua University just published a breakthrough:
They built a new shortest-path algorithm that avoids sorting altogether, breaking a theoretical barrier thought impossible since the 1980s. Key ideas: - Work in layers instead of strict ordering
- Pick representative pivots (clusters) instead of sorting every node
- Use a few Bellman–Ford–style relaxations to propagate distances
- Runs in O(m log2/3 n) — faster than any sorting-based method It just won Best Paper @ STOC (one of the top CS theory conferences).
Link to article: 36Kr coverage (https://eu.36kr.com/en/p/3419098143837833) What do you think:
- Will this change how we teach algorithms? - Or is it more of a “theory-only” milestone for now? <!-- SC_ON --> submitted by /u/Ambitious-Page-5737 (https://www.reddit.com/user/Ambitious-Page-5737)
[link] (https://arxiv.org/abs/2307.04139) [comments] (https://www.reddit.com/r/programming/comments/1n13gpp/new_algorithm_outperforms_dijkstra_after_40_years/)
API Design 101: From Basics to Best Practices
https://www.reddit.com/r/programming/comments/1n14rzg/api_design_101_from_basics_to_best_practices/
submitted by /u/javinpaul (https://www.reddit.com/user/javinpaul)
[link] (https://javarevisited.substack.com/p/why-90-of-apis-fail-and-how-to-design) [comments] (https://www.reddit.com/r/programming/comments/1n14rzg/api_design_101_from_basics_to_best_practices/)
https://www.reddit.com/r/programming/comments/1n14rzg/api_design_101_from_basics_to_best_practices/
submitted by /u/javinpaul (https://www.reddit.com/user/javinpaul)
[link] (https://javarevisited.substack.com/p/why-90-of-apis-fail-and-how-to-design) [comments] (https://www.reddit.com/r/programming/comments/1n14rzg/api_design_101_from_basics_to_best_practices/)
nx Build System Compromised in Supply Chain Attack
https://www.reddit.com/r/programming/comments/1n17fsz/nx_build_system_compromised_in_supply_chain_attack/
<!-- SC_OFF -->nx Build System compromised in supply chain attack. Targeting developers by exfiltrating credentials and system information. Report: https://github.com/nrwl/nx/issues/32522 <!-- SC_ON --> submitted by /u/N1ghtCod3r (https://www.reddit.com/user/N1ghtCod3r)
[link] (https://github.com/nrwl/nx/issues/32522) [comments] (https://www.reddit.com/r/programming/comments/1n17fsz/nx_build_system_compromised_in_supply_chain_attack/)
https://www.reddit.com/r/programming/comments/1n17fsz/nx_build_system_compromised_in_supply_chain_attack/
<!-- SC_OFF -->nx Build System compromised in supply chain attack. Targeting developers by exfiltrating credentials and system information. Report: https://github.com/nrwl/nx/issues/32522 <!-- SC_ON --> submitted by /u/N1ghtCod3r (https://www.reddit.com/user/N1ghtCod3r)
[link] (https://github.com/nrwl/nx/issues/32522) [comments] (https://www.reddit.com/r/programming/comments/1n17fsz/nx_build_system_compromised_in_supply_chain_attack/)
MCP servers can’t be the future, can they?
https://www.reddit.com/r/programming/comments/1n17vn1/mcp_servers_cant_be_the_future_can_they/
<!-- SC_OFF -->From what I understand, an MCP server is just like a really badly slopped together RPC protocol that gets LLMs to interact with other systems. So…we are just going to run dozens or hundreds of MCP servers locally for our LLMs to access all the tools? This can’t be what AI hypers believe the future is going to be, is it? We are going to burn GPU cycles instead of just making a database call with psql? This can’t be the way… <!-- SC_ON --> submitted by /u/kabooozie (https://www.reddit.com/user/kabooozie)
[link] (https://modelcontextprotocol.io/docs/getting-started/intro) [comments] (https://www.reddit.com/r/programming/comments/1n17vn1/mcp_servers_cant_be_the_future_can_they/)
https://www.reddit.com/r/programming/comments/1n17vn1/mcp_servers_cant_be_the_future_can_they/
<!-- SC_OFF -->From what I understand, an MCP server is just like a really badly slopped together RPC protocol that gets LLMs to interact with other systems. So…we are just going to run dozens or hundreds of MCP servers locally for our LLMs to access all the tools? This can’t be what AI hypers believe the future is going to be, is it? We are going to burn GPU cycles instead of just making a database call with psql? This can’t be the way… <!-- SC_ON --> submitted by /u/kabooozie (https://www.reddit.com/user/kabooozie)
[link] (https://modelcontextprotocol.io/docs/getting-started/intro) [comments] (https://www.reddit.com/r/programming/comments/1n17vn1/mcp_servers_cant_be_the_future_can_they/)
TypeScript Cookbook • Stefan Baumgartner & Peter Kröner [Podcast]
https://www.reddit.com/r/programming/comments/1n19f0p/typenoscript_cookbook_stefan_baumgartner_peter/
submitted by /u/goto-con (https://www.reddit.com/user/goto-con)
[link] (https://www.buzzsprout.com/1714721/17665067) [comments] (https://www.reddit.com/r/programming/comments/1n19f0p/typenoscript_cookbook_stefan_baumgartner_peter/)
https://www.reddit.com/r/programming/comments/1n19f0p/typenoscript_cookbook_stefan_baumgartner_peter/
submitted by /u/goto-con (https://www.reddit.com/user/goto-con)
[link] (https://www.buzzsprout.com/1714721/17665067) [comments] (https://www.reddit.com/r/programming/comments/1n19f0p/typenoscript_cookbook_stefan_baumgartner_peter/)