HNHacker News
TopNewBestAskShowJobs

sargstuff

854 karma · joined November 1, 2021

submissionscomments
sargstuff··on Using hand gestures and voice commands to control a 3D data visualization
4d sudoku!

?? side list of selectable group colors

?? verbal "set operators" (intersection, difference, union,symetric difference) based on verbally selected item tag names vs. "hand pick" color group/group items to perform set operation.

"blinking" objects/object connectors involved in set operation. Results forming new "color group" of copy of originals vs. moving originals into group per set result. ??

Associate color/group with "gravity well" spot.

sargstuff··on Sqawk: A fusion of SQL and Awk: Applying SQL to text-based data files
sqawk "oberts" extension adding julia and R would faciliate a "something to sqawk about" demo.
sargstuff··on Ask HN: Decided I no longer want to be a SWE – what next?
Always look at voluneer / non-profit groups related to something interested in while trying to figurue out what's next. aka build social contacts / gain insite into other areas to pursue.
sargstuff··on Sqawk: A fusion of SQL and Awk: Applying SQL to text-based data files
(IMHO) perhaps ide box as an intermediate step. aka sqwak box with support for ascii animations.[0] Then, can present a "sqwak like an egyptian" demo. Perhaps extened support for converting data to floppy[1] / modem[2] sounds.

[0] : https://github.com/octobanana/asciimation

[1] :a) https://www.youtube.com/watch?v=D2iswCnV9ec

  b)  https://www.youtube.com/watch?v=kCCXRerqaJI
[2] : https://www.youtube.com/watch?v=k992RwXBbrY
sargstuff··on Which languages, require the programmer to EXPLICITLY manage "environments"?
Historically, the lower the level of coding, the more the programming is expected to manage the environment(s). But somewhat dependent upon standards & how programming language abstractions/constructs permit interaction with different logic planes/levels. aka OS, user gui, user shell, hardware, etc.

Lisp and C focus on different logic planes (historically, os/hw for C vs. os/user for Lisp) & different categorical approaches to programming (linear vs. non-linear).

Human doing envObs management on own doesn't make for 'standard' approaches needed by a compiler to do optimizations.

Check out turing machine[1] for the 'extreme' example of 'endless memory' & what binary file formats 'hide' from the user.

----------------------------------------

Messing around with typical unix shell (ksh, sh), one can impliment the equivalent of what C & Lisp language level provide natively, but gets really unwieldy fast relative to using Lisp/C).

Traditional unix shells pass around "flattened" list/object data bound to variable(s) where scope is defined by how script was envoked. aka discard variable changes on exit or overwrite values of existing values.[0]

For shell script concurrency, one can dump to file, call script, load data from file, and overwrite file with new values before returning to 'caller' in order to make sure things aren't over written by multiple envoked shell scripts. Within shell script file, when calling a function, need to define scope. Not defining scope when 'program' get's large (~5000) lines of code, makes figuring out where in program value is being used/changed, difficult.

----------------------------------------------------

[0] : https://www.baeldung.com/linux/sourcing-vs-executing-shell-s...

[1] : https://www.geeksforgeeks.org/turing-machine-in-toc/

sargstuff··on Ask HN: Where do you find/post blog articles?
Try variation of "infinite money theorem"[0][1] with something other than Shakespeare, one or more search engines and/or plenty of time. Perhaps, initially just trimming general category stuff, till list gets down to reasonable/managable size and/or diverge to different topic(s) of note/interest?

Replace 'monkey' in theorem with smart glasses[2][3] to pull things from one's daily surroundings to feed the 'infinate monkey theorem" machine.

-----------------------------------------------------

[0] : https://codepen.io/justinchan/full/krOLzV

[1] : https://hum11c.omeka.fas.harvard.edu/exhibits/show/open-read...

[2] : https://www.instructables.com/EDITH-How-Did-I-Build-a-Powerf...

[3] : smart glass manager :https://github.com/AugmentOS-Community/SmartGlassesManager/w...

sargstuff··on Show HN: Creating 3D shapes with hand gestures (open source demo / code)
Ah, what about equivalent of treesitter/object grammar,~api[1] to group/relate/associate object(s). aka spatial versions of fold/roll-up. Perhaps also as way to interface visuals with other actions/devices[2].

Because it's y-combinator, perhaps emacs "note card(s)" for links related to object/group of objects further details.

--------

[1] : https://tree-sitter.github.io/tree-sitter/

[2] : https://www.bigmotive.com/blog/minority-report-g-speak-ais-a...

sargstuff··on I love 2025 because I can vibecode. What a time to be alive
Sounds like treble without a base line. aka walking into something.
sargstuff··on Ask HN: Lobste.rs Invite?
http://lobste.rs does describe apporaches to getting an invite. The site is a lot more topic focused than HN.

Writing something of interest (web link) to the lobste.rs community is a good way to approach an invite request. ( see lobste.rs topic on chat section ).

sargstuff··on Ask HN: Is CS research mostly discovery while novel game dev mostly invention?
Stepping back a bit, looking at how Humanities Architecture (HA), Construction Science (ConS), and Engineering (EGR) works as bnf rules of lisp[1]. HA defines/enforces s_expressions. EGR provides/validates the atomic_symbol(s). ConS evaluates the HA directives using EGR atomic_symbol(s).

Less confusing visually if use Autolisp / Autocad framework.

---

CS ~ ConS; HA ~ Game Developer; EGR ~ CS/Game Developer depending at what hareward/software level working at.

-------------------------------------------------------------

[1] : BNF rules of LISP : https://cui.unige.ch/isi/bnf/LISP/BNFlisp.html

sargstuff··on Ask HN: Is CS research mostly discovery while novel game dev mostly invention?
Using information provided:

CS commonly involves discovering/developing corresponding enumerations / associations needed to support/to focus on given science field/area. Depending on how 'novel' support is required for given field/area; may have to 'invent' necessary protocols/language/etc. based on required enumerations/associations 'discovered'/needed for a given science field/area. Very helpful if students also look at non-CS areas would want to use CS classes for. aka genomics, web back-end development, AI, etc.

Novel game dev[3] "invention" as in (?) software engineering'(?). Implication of novel taken as 'on own'/free lancing. Game developer more full process/multi-hat development / broader set of process(es) within given field than CS. Still have to 'discover' what 'sells'/'client(s) interested in buying'. (vs. directed discovery bounded by science area/field) . aka ID Software's inventive development approach[0] vs. discovering 'novel ways of using' doom game engine[1][2].

----------

[0] : https://charlesboury.fr/articles/id-software-principles.html

[1] : psdoom : https://psdoom.sourceforge.net/

[2] : doompdf : https://github.com/ading2210/doompdf

[3] : https://howtomarketagame.com/2023/09/28/the-missing-middle-i...

sargstuff··on Click: Python CLI Package
From project intro page description (5/21/25):

   "Click is a Python package for creating beautiful command line interfaces in a 

    composable way with as little code as necessary. It’s the “Command Line Interface 

    Creation Kit”. It’s highly configurable but comes with sensible defaults out of the box.

    It aims to make the process of writing command line tools quick and fun while also 

    preventing any frustration caused by the inability to implement an intended CLI API.
 
   Click in three points:

      arbitrary nesting of commands

      automatic help page generation

      supports lazy loading of subcommands at runtime "
sargstuff··on [dead]
Mechanical take on Bi + A / normal to plane lists.

Backround on generating 'type' / combinatorial mechanical material: https://journals.aps.org/prl/abstract/10.1103/PhysRevLett.12...

lambda-C : http://users.cs.northwestern.edu/~jesse/course/type-systems-...

----

Just need circular 'Tinian Codex'[1] ring(s) around box for different character productions per ring(s) positon(s). Suggested as a text example of chirality[2] / using hypercube to store/display indexed information.[3]

?? Add color ?? : https://phys.org/news/2023-07-3d-biodegradable-color-changin...

[1] https://starwars.fandom.com/wiki/Tinian_Codex

[2] https://en.wikipedia.org/wiki/Chirality

[3] https://news.ycombinator.com/item?id=44008621

sargstuff··on The lack of a good command line way to sort IPv6 addresses
IPv6 addresses are typically written in canonical text representation recommended by RFC 5952[0].

1) Regular expression / seamingly lost art of sprintf formatting are some methods to normalize 001:db8::2:1 to something usable for sorting aka 2001:db8:0000:0000:0000:0000:0002:0001. Perhaps restoring to rfc 5952 format when printing sorted results.

2) Modify hex to 'sortable utf-16 characters', modify back post sort[1]

3) avoid utf-8 / utf-16 issues, use relevant python libraries to handle ipv4/ipv6[2][3],[4]: ip2n < file | sort -n | n2ip

----------------------------

[0] : https://datatracker.ietf.org/doc/html/rfc5952

[1] : https://stackoverflow.com/questions/5797369/unix-sort-utilit...

[2] : https://stackoverflow.com/questions/75522231/how-to-sort-ipv...

[3] : https://www.geeksforgeeks.org/convert-ip-address-to-integer-...

[4] : https://ipfind.com/blog/how-to-convert-ip-address-to-integer...

sargstuff··on GitHub turns on code security billing but you can't turn it off
Fork & migrate to "less code secure" account?
sargstuff··on Ask HN: How can I load test PostgreSQL but avoid changing actual data?
pgbench[2] / pgreplay-go[0] / python locust[1]

very old school approach:

Misuse sql VIEW[3][4] to generate a temporary parallel table setup. Testing database separate from production database would be 'better', IMHO.

-----

[0] pgreplay-go : https://github.com/gocardless/pgreplay-go

[1] python locust : https://miguel-codes.medium.com/unconventional-load-testing-...

[2] pgbench load testing :

   a) https://medium.com/@c.ucanefe/pgbench-load-test-166bdfb5c75a

   b) https://neon.tech/blog/autoscaling-in-action-postgres-load-testing-with-pgbench

   c) https://hackernoon.com/how-to-create-and-load-test-data-in-postgresql-i41e353m
----------------------------

[3] : a) https://hashrocket.com/blog/posts/materialized-view-strategi...

      b) https://tech.jonathangardner.net/wiki/PostgreSQL/Materialized_Views

      c) https://stackoverflow.com/questions/77603705/what-is-the-use-of-materialized-view-in-postgresql
[4] : https://en.wikipedia.org/wiki/View_(SQL)
sargstuff··on Ask HN: How are you cleaning and transforming data before imports/uploads?
From doing historical data restorations (pre-json), using documented industry/standard structures & protocols, normalized data formats/layouts helps out quite a bit.

Note: awk/shell scripts, ~80's because relatively portable across platforms (mac,pc,dec,ibm (ignoring ebcdic), etc.)

sargstuff··on Ask HN: How are you cleaning and transforming data before imports/uploads?
Ah, modern tech (standards/protocols,python/odbc/LLM/etc) takes the fun out of restoring unknown data/data format from archived sources. aka mylar tape - regular expressions, awk, shell scripts,perl, hand-rolled statistical inference, trial and error to figure out what bit patterns/chunks generate most appropriate data.

Much better to filter/normalize data when entered or soon after completion of batch data entry when 'is this ok?' can be answered by those using data (vs. few decades later & no documentation/knowledge of intened purpose of data)

sargstuff··on Ask HN: Web scraping in production?
hint: silk spider webs & fabric threads.

Guess 3d printing should have been clarified as linear, fused deposition. Melted plastic line gets scraped along plate/material.

The 3d printed web reference, in this instance, being the in-fill pattern. [0]

Robotic metal pinching / incremental sheet forming might be bit more clearer example. [1]

-----

[0] : in-fill pattern : https://jlc3dp.com/blog/choosing-the-right-infill-structure-...

[1] : https://www.youtube.com/watch?v=Jc16Ob-yoDs

sargstuff··on Ask HN: Web scraping in production?
IMHO, "untyped" format/delimited file yes. Directly placing/'compiling' in appropriate topological construct/environment works wonders. aka environment of database, spreadsheet, "reports" with information beyond raw data, etc
sargstuff··on Ask HN: Web scraping in production?
excel web scraping[0] (vs. using python[1] and/or odbc/delimited files)

A few 2025 use cases [2],[3]:

   Use publically available database information (construction, taxes, sales, traffic report, proposed building/zone changes, etc) to find out what's going on withing an area aka. zip code, housing area, 'vacation spot', etc
----

   creative take on topic:

      modern looming / static 'threaded' approach : https://news.ycombinator.com/item?id=43977384

      Structurally reprogrammable magnetic maetamaterials hold promise for biomedicine, soft robotics. ("web" support formed via scraping material in relevant patterns) : https://techxplore.com/news/2025-05-reprogrammable-magnetic-metamaterials-biomedicine-soft.html

      3d printed smart-fabrics : https://techxplore.com/news/2025-05-d-smart-fabrics-flexibility-ability.html

----

[0] : excel scraping : https://www.youtube.com/watch?app=desktop&v=6coVzIt93vk

[1] : python scraping : https://www.youtube.com/watch?v=Oo8-nEuDBkk

[2] : https://dataforest.ai/blog/top-web-scraping-use-cases

[3] : https://www.parsehub.com/blog/web-scraping-examples/

sargstuff··on I built a native Windows Todo app in pure C (278 KB, no frameworks)
Was going to point out would have to be an embedded program that can be booted into without need of an OS; but then program would still rely on various external api/abi interfaces aka bios, drivers & protocols (usb, scsi, pci, ansi, etc). Given today's hardware, think there's not really a realizstic thing as a realistic reall world 'pure C' program -- way to much knowledge / effort even if exclude NDA's. VM environment for 'hardware' as software still has abi interface, so not 'pure' C at source code level.
sargstuff··on I built a native Windows Todo app in pure C (278 KB, no frameworks)
Ah isn't the user32:<windows api functions> a framework not related to 'pure' C?
sargstuff··on I learned Snobol and then wrote a toy Forth
?? 2 or 4 horse open sleigh project ??
sargstuff··on Ask HN: Maintaining code quality with widespread AI coding tools?
?? code quality ?? more management quality. AI provides ability to spot possibility of 'issues'/conflicts sooner.

Really need to be adhering to set of defined specifications (functional / non-functional / domain specific), (work,project, etc). (and/or looking at what level(s) the specifications still relevant, post definition of specifications -- historically via different management levels). Note: doesn't necssarily mean riedgid specs first, code next, document.

Sigificant coding is "DFA" per setting/defining pre/post environment : repository check-in/out can be setup to do specification checking/diffing for auto-documentation, 'language/project features requirements, aka use, do not use, only use when, never use' can be done/filtered via . Above certain 'size', 're-inventions' would be an AI statisticall inference thing per amount of information.

Non-DFA aka "context sensitive" stuff : AI would only make sense if way to compare specifications with 'intentions'. aka generate confidence in how much newer coder has been on-boarded relative to coding attempts & project/work specifications. Perhaps also give work place management insite into how relevent things are (vs. "worker is the issue"). aka non-adherance to 'spec' because spec doesn't cover issue(s). Time to review spec. Still need human(s) in loop to figure out the relevant tangibles/intangibles. AI can certainly help identify ambiguities in specifications & how specifications are implimented/used. aka code debt & code drift

sargstuff··on How do you print a 3D photo? Gaussian Splats in resin [video]
?? 3d snap shot of Meh (multi 2.71828 huygens[-2][-1]).

Unless gravity of situation is to much, then (S)urreal[0].(a)nimated.(T)uring[1] (t)ests / (a)nimated (C)omplex-number (T)uring (t)ests might be the way to go. aka Don't have to worry about bricking things[2] because of limited data and need to apply a t-test[3]. May need metaheuristics to analyze.

To much 9.81 might result in visual wrinkles[4] and IRL mov obscuator[5]

---------

[-2]: Huygen's theory of light & wavefronts : https://www.youtube.com/watch?v=FpTFU4Yh7gQ

[-1]: What is sound? : https://www.youtube.com/watch?v=IhzZAoSYDLE

[0] : https://en.wikipedia.org/wiki/Surreal_number#

[1] : physical turing test... : https://news.ycombinator.com/item?id=43938386

[2] : Brickognize .... : https://www.mdpi.com/1424-8220/23/4/1898

[3] : https://www.jmp.com/en/statistics-knowledge-portal/t-test

[4] : Nanoscale wrinkles ... vibrant color patterns : https://news.ycombinator.com/item?id=43953099

[5] : https://github.com/xoreaxeaxeax/movfuscator

sargstuff··on How do you print a 3D photo? Gaussian Splats in resin [video]
Bad link. ?? Was video link suppose to be -> https://www.youtube.com/watch?v=uxgzOpmmEbI

-------

Alternate type of technique for Gauss field convergance of attack, decay, sustain, release (ADSR) in layered Lewis Carrol Quadron space? (simplified to static/frozen version of sonic levitation)

sargstuff··on LegoGPT: Generating Physically Stable and Buildable Lego
?? 'type'-less / block structured language/design ??
sargstuff··on Ask HN: Why aren't most non-programmers interested in vibe coding?
Aspects of coding not the primary focus for non-programers. aka unless need/require 'new' coding method(s), 'old'/know/paid-for stuff works just as well. Similar concept to, can not find someone in 'coding' field that's offering service, so "non-coder" comes up with something to fit situation. aka unix, George Lucas' Industrial Light and Magic, python, matlab, etc.

For areas 'not focused exclusvely/around coding', takes a bit more time for things (experience, rules, resources, training, how 'new' fits in) to move into main stream. Libral Arts coding perspective : https://medium.com/@markguzdial/learning-to-program-matters-...

'time' tech example (concept: why can't AI cameras serve as traditional punch clock) : https://tcpsoftware.com/blog/time-clocks/

Historical -> requirement to take a class in formal logic as part of undergraduate degree (vs. more degree specific formal logic)

sargstuff··on Ask HN: What book should my CS1 students read?
Most of theses have free online versions available:

The New Turing Omnibus, 66 Excursions in Computer Science[1]

Code Complete [2]

Debugging The 9 Indispensable Rules of Finding Even the Most Elusive Software and Hardware Problems [3]

The Pattern on the Stone [4]

The Tinkertoy Computer and Other Machinations ... [8]

-----

#5, #6 & #7 approach from different directions and "meet in middle":

   Code: The Hidden Language of Computer Hardware and Software [5]

   Nand2Tetris[6]

   The Little Schemer and Understanding Computation [7] 
--------

?? Links to 'editor'/ide cheetsheets ??

--------

[1] : https://www.amazon.com/New-Turing-Omnibus-Sixty-Six-Excursio...

[2] : https://en.wikipedia.org/wiki/Code_Complete

[3] : https://www.amazon.com/Debugging-Indispensable-Software-Hard...

[4] : https://en.wikipedia.org/wiki/The_Pattern_on_the_Stone

[5] : https://www.amazon.com/Code-Language-Computer-Hardware-Softw...

[6] : https://www.nand2tetris.org/

[7] : https://vpb.smallyu.net/%5BType%5D%20books/The%20Little%20Sc...

[8] : https://www.amazon.com/Tinkertoy-Computer-Other-Machinations...

----

When semester of programming projects isn't enough / couldn't wait for the programming langauge of choice : https://exercism.org/

← PreviousPage 4 of 34Next →