HNHacker News
TopNewBestAskShowJobs

sannysanoff

103 karma · joined October 3, 2011

a2e40d
submissionscomments
sannysanoff··on MacBook Neo Deep Dive: Benchmarks, Wafer Economics, and the 8GB Gamble
IDE written in Java indexing 10K files, compiling + running spring boot apps that take 30 seconds to start on the M4, or C++ compilation, or rust compilation.. Or maybe you were sarcastic?
sannysanoff··on Boriel BASIC
Most important thing of basic was not language or compiler.

It's that you could LIST. Then move cursor up and edit and press enter. (Not found in ZX, but still ok).

Next, you could list, and draw CIRCLE over the program listing. It was live, like smalltalk, but simpler.

Reproducing language variants without immersion described above is not full story.

sannysanoff··on Twelve Days of Shell
Fluent in shell, but cultural context is more difficult, especially with pipers, had to do guess work.
sannysanoff··on Don't Force Your LLM to Write Terse [Q/Kdb] Code: An Information Theory Argument
while both versions are O(N^2), your version is slower because comparison operation, which affects execution speed. This is suboptimal.

  q)x:1000
  q)\t:1000 sum (til x)=/:(til x)
  889
  q)\t:1000 sum (til x)=/:(til x)
  871
  q)\t:1000 sum (2#x)#1,x#0
  602
  q)\t:1000 sum (2#x)#1,x#0
  599
upd: in ngn/k, situation is opposite ;-o
sannysanoff··on Claude Code 2.0
I still use aider, because often I know better what to do.
sannysanoff··on The MacBook has a sensor that knows the exact angle of the screen hinge
shameless plug: https://sannysanoff.github.io/whiteboard/

not only for mac users.

sannysanoff··on Detekt – A static code analyzer for Kotlin
when you do LLM-assisted coding in Kotlin, it burns 2-3 times less tokens than Java!

PROFIT!

sannysanoff··on Qwen3-Coder: Agentic coding in the world
You should automate this, like i did. You're an engineer, no? Work around the digital bureaucracy.

- Running build pipelines: make cli tool to initiate them, monitor them and notify you on completion/error (audio). Allows to chain multiple things. Run in background terminal.

- Learning about changed process and people via zoom calls, teams chat and emails: pass logs of chats and emails to LLM with particular focus. Demand zoom calls transcripts published for that purposes (we use meet)

- Raising incident tickets for issues outside of my control: automate this with agent: allow it to access as much as needed, and guide it with short guidance - all doable via claude code + custom MCP

- Submitting forms, attending reviews and chasing approvals - best thing to automate. They want forms? They will have forms. Chasing approvals - fire and forget + queue management, same.

- Reaching out to people for dependencies, following up: LLM as personal assistant is classic job. Code this away.

- Finding and reading up some obscure and conflicting internal wiki page, which is likely to be outdated: index all data and put it into RAG, let agent dig deeper.

Most of the time you spend is on scheduling micro-tasks, switching between them and maintaining unspoken queue of checking various saas frontends. Formalize micro-task management, automate endpoints, and delegate it to your own selfware (ad-hoc tools chain you vibe coded for yourself only, tailored for particular working environment).

I do this all (almost) to automate away non-coding tasks. Life is fun again.

Hope this helps.

sannysanoff··on Yt-transcriber – Give a YouTube URL and get a transcription
people don't even get it :-]
sannysanoff··on Yt-transcriber – Give a YouTube URL and get a transcription
Selfware.

https://old.reddit.com/r/ChatGPTCoding/comments/1lusr07/self...

Gonna be lots of posts of selfware like that soon.

sannysanoff··on Open Desk View
Got a new Mac, found the Desk View app (pre-installed).

Enjoyed it.

Before, I felt mute during Zoom meetings. Now I can explain things with paper and pen. Mouse drawing was never my thing.

My friends couldn’t do the same—it’s a native app for newer Macs only. They all use different OSes or older hardware.

Spent half a day vibe coding a public version. Enjoy. Free as in beer.

Make sure to enable webcam permissions on the page.

Explanation:

=============

This tool displays a live, perspective-corrected view of your camera pointed at a sheet of paper—like a whiteboard for your meetings. Next, you share that browser tab to your colleagues.

Limitations:

===========

1. On Windows, stop using the camera in your meeting app (e.g., Zoom) to allow browser access. Not needed on Mac; possibly not needed on Linux.

2. You must tilt your laptop lid down ~45° during setup and use.

3. TODO: Allow setting up paper corners falling outside of the camera view.

Usage:

==========

• You can share the browser tab in your meeting.

• If Windows+Zoom => stop camera in zoom

• Ensure webcam feed is visible on this app/page.

• Tilt the lid, aim the camera at your paper.

(One-time setup for your paper type)

• With the lid tilted, press spacebar to hold a snapshot.

• Return the lid to upright position.

• Adjust the trapezoid corners to fit your paper.

• Press spacebar again to release the video.

• Tilt the lid again and place your paper within the trapezoid.

(End setup)

• With the lid tilted, press Enter to enter presentation mode.

sannysanoff··on Smalltalk-78 Xerox NoteTaker in-browser emulator
I was always amazed that the smalltalk environment looks like a complete computer control - a paradise for a programmer and a hacker, and a creator. It's surprising that it didn't take off. Probably too much openness reflects the internal openness of the smalltalk creator to the world, but the outside world, unfortunately, did not reciprocate. Especially if we pay attention to Apple's success with completely closed devices, suitable only for content consumption.
sannysanoff··on AlphaEvolve: A Gemini-powered coding agent for designing advanced algorithms
Prophets are always beaten by average citizens, because prophecy is always unpleasant. It can't be otherwise. At the same time, you can't tell right away whether a person is really a prophet, because it becomes known much later. That's probably why beating them (the simplest solution) turns out to be the most observed.
sannysanoff··on AlphaEvolve: A Gemini-powered coding agent for designing advanced algorithms
it's known idiom, it means: optimal algorithm is found; like in "tic tac toe is solved problem".
sannysanoff··on Instant SQL for results as you type in DuckDB UI
My intention is good. I advise right way. It's not an offense. (I have my job to do. They may consider doing what I say, it will be then their job to do)
sannysanoff··on Instant SQL for results as you type in DuckDB UI
Please finally add q language with proper integration to your tables so that our precious q-SQL is available there. Stop reinventing the wheel, let's at least catch up to the previous generation (in terms of convenience). Make the final step.
sannysanoff··on An election forecast that’s 50-50 is not “giving up”
That is indeed the case. Perhaps I should have clarified that my comments are directed at the current political system of the United States. The purpose of my message was to highlight that there is a certain opposing force at play, one that is shifting the working system – specifically, the US electoral system – towards a range of diminished effectiveness. Essentially, the rules are being manipulated in such a way that while they may technically function, the fundamental objectives are still being undermined. These objectives, as outlined in the US Constitution, are to ensure domestic tranquility and promote the general welfare. It is necessary to address this systemic vulnerability, as this issue is becoming increasingly relevant in many places.
sannysanoff··on An election forecast that’s 50-50 is not “giving up”
It seems to be a matter of indifference to many that a persistent societal division of fifty-fifty is symptomatic of a profound societal schism. This is because such a division, in any configuration, maximizes the number of those who are discontented. As it is written, "A house divided against itself cannot stand." To my mind, this matter is of far greater significance than any secondary, tangible processes that may be occurring in consequence.

Furthermore, the mechanisms that ensure the mathematical expectation of electoral outcomes to hover around a fifty-fifty split — a phenomenon observable in many nations — are fundamentally economic in nature. Both factions commit resources to the electoral contest to secure a mere one percent advantage, as such is the foundational principle of democracy: a majority of fifty-one percent prevails.

Thus, economic factors — for an electoral campaign is, in essence, a contest of capital—having, in effect, subverted the very system of democratic elections, inevitably lead to the decay of nations that religiously adhere to the mathematics of a single percentage point as the sole criterion of legitimacy. In optimizing for democratic representation, social stability and equilibrium have been forfeited.

It is akin to the psychological paradox: "I am correct, and all acknowledge it, yet why do I not experience contentment?" It is because one has optimized for correctness — or in the context of elections, for fairness and representativeness — rather than for overall well-being. Such is the predicament inherent in the pursuit of a mere fifty-one percent majority.

sannysanoff··on Show HN: LLM-aided OCR – Correcting Tesseract OCR errors with LLMs
what are examples of local LLMs that accept images, that are mentioned in the README?
sannysanoff··on David Frankel is a man on a mission against robocalls
I envision the app on the phone that implements AI secretary and answers unknown phone numbers on my behalf, and calms down calling party with various measures, with sort of captcha of various degree of offense. This will hold them off until they find a workaround.
sannysanoff··on 3D + 2D: Testing out my cross-platform WASM graphics engine
Is there any example project utilizing one of the available WASM runtimes that could load, instantiate and run WASM module on android in near native speed, not interpreted (not web browsers)?

Recently I investigated few WASM runtimes and honestly could not manage achieving this task. Only suggestion I got from people is load bunch of packages using termux package manager and operate in shell environment on Android to compile and run example projects.

I would appreciate link to some project that results in APK which (as part of its work) calls WASM function in non-interpeted mode on android (arm/x86).

sannysanoff··on Thanks FedEx, this is why we keep getting phished
often, chatgpt translates better.
sannysanoff··on In 2024, please switch to Firefox
cause: Edge browser is started when Windows boots up, it sits there started but invisible, first window open is fast. It adds up to your windows start time and memory consumption.

solution: start firefox during windows startup, too.

https://support.mozilla.org/gl/questions/1085268

however to start it invisible and behave like Edge, it may take additional tweaks. of course, it costs extra startup time and memory. Also, you can switch off Edge boot-time startup, if you want.

sannysanoff··on State of Mozilla
so what is the state of mozilla?
sannysanoff··on NewPipe – Lightweight YouTube experience for Android
been there. If you block something, they downgrade to something even worse, each bloody time.
sannysanoff··on The Decline of Usability (2020)
It happened to me to be part of a project where design was made by a young female friend of mine. After reviewing it (lots of gray semitones, including dark gray text on black, and subtle difference between active and not active elements), I asked her "but..... why?". She honestly answered that she perfectly differentiates one from another. Later I learned that grown men have drastically different color perception than younger women.
sannysanoff··on Parrots learn to make video calls to chat with other parrots: study
now get some footage of their communications, and let's finally put that to some unsupervised learning algorithm so it distills some patterns in their audio/visual communication and then builds parrot2vec. Then you perform clusterisation analysis, and obtain some characteristic patterns. At least we'll have the vocabulary size with some precision. The vocabulary of bored domestic animal, therefore reduced to some degree..
sannysanoff··on C++ Asynchronous Framework
Seems like same principles used in https://github.com/yyzybb537/libgo

Using libgo for 3 year, still cool. Most important: you add it, add some convenience methods on top of it, and forget about it.

sannysanoff··on The fall of Reddit: Why it’s quickly declining into chaos
stopped using reddit after they introduced new design. My browser struggles scrolling it smoothly (in most compressed mode). Too complex DOM they put there. Lack of programming skills.
sannysanoff··on Full key extraction of Nvidia TSEC
how long before they will introduce special bad sectors on floppy disks, - sorry, wrong epoch, - special half-faulty components required for proper execution in chips to disable chip simulation/reverse engineering.
Page 1 of 2Next →