Better HN
topnewbestaskshowjobs
Log inSign up

sannysanoff

103 karma · joined Oct 3, 2011 (15y ago) · 62 submissions

a2e40d
Submissions

comment 6mo ago · link · parent

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?

comment 6mo ago · link · parent

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.

3.

LLM Can Be a Supercompiler

1 points · by sannysanoff · 8mo ago · discuss

comment 11mo ago · link · parent

Fluent in shell, but cultural context is more difficult, especially with pipers, had to do guess work.

comment 1y ago · link · parent

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

comment 1y ago · link · parent

I still use aider, because often I know better what to do.

comment 1y ago · link · parent

shameless plug: https://sannysanoff.github.io/whiteboard/

not only for mac users.

comment 1y ago · link · parent

when you do LLM-assisted coding in Kotlin, it burns 2-3 times less tokens than Java!

PROFIT!

comment 1y ago · link · parent

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.

comment 1y ago · link · parent

people don't even get it :-]

comment 1y ago · link · parent

Selfware.

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

Gonna be lots of posts of selfware like that soon.

comment 1y ago · link · parent

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.

13.

Open Desk View(sannysanoff.github.io ↗)

2 points · by sannysanoff · 1y ago · 1 comment

comment 1y ago · link · parent

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.

comment 1y ago · link · parent

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.

comment 1y ago · link · parent

it's known idiom, it means: optimal algorithm is found; like in "tic tac toe is solved problem".

comment 1y ago · link · parent

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)

comment 1y ago · link · parent

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.

comment 1y ago · link · parent

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.

comment 1y ago · link · parent

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.

comment 2y ago · link · parent

what are examples of local LLMs that accept images, that are mentioned in the README?

comment 2y ago · link · parent

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.

comment 2y ago · link · parent

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).

comment 2y ago · link · parent

often, chatgpt translates better.

comment 2y ago · link · parent

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.

comment 2y ago · link · parent

so what is the state of mozilla?

comment 3y ago · link · parent

been there. If you block something, they downgrade to something even worse, each bloody time.

comment 3y ago · link · parent

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.
123