HNHacker News
TopNewBestAskShowJobs

arijo

309 karma · joined June 6, 2009

My name is Alexandre Gomes, I'm a freelance software developer.

X: @arijo GitHub: https://github.com/arijo Substack: feelingbuggy.com LinkedIn: https://www.linkedin.com/in/alexandrerijo Facebook: https://www.facebook.com/alexandre.o.gomes

submissionscomments
arijo··on Developers should embrace creative coding again
I was expecting something more grandiose but your explanation is good enough.
arijo··on Developers should embrace creative coding again
In my experience most businesses come from the assumption that there are creative roles(e.g UI/UX) and engineering roles.

Engineering is there to implement the creative vision - not a creative endeavour in itself.

They are aware that creativity takes time - but that engineering resources need to be efficiently allocated and optimised.

arijo··on Developers should embrace creative coding again
I fail to understand what new idea is the author trying to convey.

Can someone please help me figure out what I'm missing?

arijo··on Ask HN: A friend has brain cancer: any bio hacks that worked?
Check this video: https://m.youtube.com/watch?v=5FqS0Y82reI&pp=ygUPdGhvbWFzIHN...

Search for other Thomas Seyfried videos on YouTube - he defends a metabolic approach to cancer treatment.

He writes the forward to “Keto for Cancer” - https://a.co/d/8NxMOXJ

arijo··on 1-1s Are for the Weak
Great comment btw.
arijo··on Why Is the American Diet So Deadly?
The complement to the set that is eating shit.
arijo··on Why is the American diet so deadly?
Lot’s of people are chosing an healthy diet:

https://www.feelingbuggy.com/p/how-the-ketogenic-diet-helped...

arijo··on 1-1s Are for the Weak
1-1s should be exception, not the rule.

Have the balls to share your opinion with the team in public.

They will do everything for you.

arijo··on GLP-1 for Everything
I argue that medicine still does not have enough accumulated knowledge about the complexity of the human body to be playing God with a single pill.
arijo··on GLP-1 for Everything
Assuming you're going to fix a extremely complex system like the human body by just taking a pill is what some people call the bias of Illusion of Control.

https://en.wikipedia.org/wiki/Illusion_of_control

arijo··on GLP-1 for Everything
Alzheimer's is now being referred as type 3 diabetes for a reason.

Human metabolism is sensitive to the type of food you eat.

Check https://www.metabolicmind.org/ as a starting point and follow the rabbit hole to understand the link between what you eat and mental and metabolic illness.

Also, GLP-1 also eliminates muscle - your heart is a muscle.

arijo··on What happens when people with acute psychosis meet the voices in their heads?
I don't question the good faith of the researcher but i think we should prioritise what works - and there is a growing volume of evidence that metabolic therapies work.

I take back the bullshit qualification though - it was a mistake on my part.

arijo··on What happens when people with acute psychosis meet the voices in their heads?
I've been diagnosed with schizoaffective disorder when I was in my early twenties.

I've had several full blown psychotic episodes and been hospitalised several times.

Fortunately there was one medication - Amisulpride - that kept me stable enough to be able to have a professional career, though not without a lot of struggling and sacrifice.

I know what psychosis is and honestly, this avatar therapy feels a bit like bullshit to me.

When in psychosis, you are not listening to your voices - you are your voices and they can command you to do things you do not want to do. You are not in control of you consciousness.

There is hope though. A revolution in mental illnessis going on - check the metabolic mind site for more info - https://metabolicmind.org

I talk about my experience in my blog - https://www.feelingbuggy.com/p/finding-hope-after-decades-of...

Many other people have substantially improved because of metabolic therapy and there are dozens of random control trials going on with very promising early results.

There are ever more cases of successful treatment via metabolic therapy

Under the risk of being unpopular, it's my responsibility to let people know about this treatment option and bring hope to those who suffer from this terrible illness.

arijo··on Fundamentals of Radiance Cascades
Thanks for taking the time to provide more details on how resonance cascades work.
arijo··on Fundamentals of Radiance Cascades
Thanks for the analysis and the insights - I guess I'll have to parse all of this a bite at a time :)
arijo··on Fundamentals of Radiance Cascades
So I've been reading

https://graphicscodex.com/app/app.html

and

https://mini.gmshaders.com/p/radiance-cascades

so I could have a basic grasp of classical rendering theory.

I made some assumptions:

1. There's an isometric top-down virtual camera just above the player

2. The Radiance Cascades stack on top of each other, incresing probe density as they get closer to the objects and players

I suspect part of the increased algorithm efficiency results from:

1. The downsampling of radiance measuring at some of the levels

2. At higher probe density levels, ray tracing to collect radiance measurements involves less computation than classic long path ray tracing

But I'm still confused about what exactly in the "virtual 3D world" is being downsampled and what the penumbra theory has to do with all thus.

I've gained a huge respect for game developers though - this is not eady stuff to grasp.

arijo··on Fundamentals of Radiance Cascades
I'm trying to understand the basic idea of Radiance Cascades (I don't know much about game development and ray tracing).

Is the key idea the fact that light intensity and shadowing require more resolution near the light source and lower resolution far from it?

So you have higher probe density nearby the light source and then relax it as distance increases minimising the number of radiance collection points?

Also using interpolation eliminates a lot of the calculations.

Does this make any sense? I'm sure there's a lot more detail, but I was looking for a bird's eye understanding that I can keep in the back of my mind.

arijo··on Deep dive: the instability of op-amps
This is only true for LTI (linear time-invariant systems).

Nonlinear systems responses to a sine signal are in general not just a change in phase and amplitude.

It works if the perturbation stays small and within a linearised version of the dynamics.

arijo··on Predicting Weight Loss with Machine Learning
Thanks for providing this study material.
arijo··on Quantized Llama models with increased speed and a reduced memory footprint
Another way to understand dithering is by smearing the frequency spectrum of the original image preventing extreme frequency values to distort the image after quantization - this can be done by applying kernel filters on the original image.

Which I think is what is happening with SpinQuant as well - a smoothing of the frequency spectrum of the model weights, confirmed by the smearing of the singular values of the weight matrices.

arijo··on Quantized Llama models with increased speed and a reduced memory footprint
Seems really intriguing could you help me grok how this random perturbations of the points of the hypersphere surface are related to smearing the model weights?
arijo··on Quantized Llama models with increased speed and a reduced memory footprint
I find the geometrical intuition of rotating a vector in high dimensional space to minimize its largest values (vector basis projections) beautiful.

I'm no expert and I'm sure this has been tried by many people already - but would it be possible to reduce the computational effort instead by using SVD decomposition, spreading the singular values and then reapplying the original singular values and recomposing the matrix using the quantized versions of the SVD matrices?

arijo··on New Architecture is here
Thanks for the clarification. Dumb question:

How does the renderer ensure consistency in case o multiple immutable tree references?

arijo··on New Architecture is here
Guys, help me understand these changes:

Can I comprehend this as a new Virtual Native UI immutable tree running in native space?

And react native mounts and updates basically synchronally updating this immutable tree and reconciliation being done in native space, dynamically updating the app layout?

arijo··on Show HN: Agent.exe, a cross-platform app to let 3.5 Sonnet control your machine
I think you can use nut-js desktop automation tool to send commands straight to the target window

```

import { mouse, Window, Point, Region } from '@nut-tree-fork/nut-js';

async function clickLinkInWindow(windowTitle: string, linkCoordinates: { x: number, y: number }) {

try {

    // Find window by title (using regex)
    const windows = await Window.getWindows(new RegExp(windowTitle));
    if (windows.length === 0) {
      throw new Error(`No window found matching title: ${windowTitle}`);
    }
    const targetWindow = windows[0];

    // Get window position and dimensions
    const windowRegion = await targetWindow.getRegion();
    console.log('Window region:', windowRegion);

    // Focus the window
    await targetWindow.focus();

    // Calculate absolute coordinates relative to window position
    const clickPoint = new Point(
      windowRegion.left + linkCoordinates.x,
      windowRegion.top + linkCoordinates.y
    );

    // Move mouse to target and click
    await mouse.setPosition(clickPoint);
    await mouse.leftClick();

    return true;
  } catch (error) {
    console.error('Error clicking link:', error);
    throw error;
  }
}

```

arijo··on Show HN: Agent.exe, a cross-platform app to let 3.5 Sonnet control your machine
We could maybe chose the target window as the screenshot capture source instead of the full screen to prevent it to be hidden buy the Agent:

``` const getScreenshot = async (windowTitle: string) => { const { width, height } = getScreenDimensions(); const aiDimensions = getAiScaledScreenDimensions();

  const sources = await desktopCapturer.getSources({
    types: ['window'],
    thumbnailSize: { width, height },
  });

  const targetWindow = sources.find(source => source.name === windowTitle);

  if (targetWindow) {
    const screenshot = targetWindow.thumbnail;
    // Resize the screenshot to AI dimensions
    const resizedScreenshot = screenshot.resize(aiDimensions);
    // Convert the resized screenshot to a base64-encoded PNG
    const base64Image = resizedScreenshot.toPNG().toString('base64');
    return base64Image;
  }
  throw new Error(`Window with title "${windowTitle}" not found`);
}; ```
arijo··on Predicting Weight Loss with Machine Learning
Thanks for the explanation: is there some book, blog, video, papers, or some other resoures where I can explore more on this subject?
arijo··on Mind Wandering: More than a Bad Habit (2018) [pdf]
I'm not sure why you keep using the term fanatics in what should be a civil cpnversation - it makes me think that either you have an agenda you're trying to hide your simply put you're an extremely rude person.
arijo··on Mind Wandering: More than a Bad Habit (2018) [pdf]
You can find good information here - https://metabolicmind.org
arijo··on Mind Wandering: More than a Bad Habit (2018) [pdf]
Please read the book. The genetics are accounted for as are all other biopsychosocial factors that correlate with a lot of metabolic and mental illnesses.
← PreviousPage 2 of 8Next →