Skip to content

Instantly share code, notes, and snippets.

View oscaromsn's full-sized avatar
🎯
Focusing

Oscar Neto oscaromsn

🎯
Focusing
View GitHub Profile
@VictorTaelin
VictorTaelin / dps_sup_nodes.md
Last active April 20, 2025 14:33
Accelerating Discrete Program Search with SUP Nodes

Fast Discrete Program Search 2

I am investigating how to use Bend (a parallel language) to accelerate Symbolic AI; in special, Discrete Program Search. Basically, think of it as an alternative to LLMs, GPTs, NNs, that is also capable of generating code, but by entirely different means. This kind of approach was never scaled with mass compute before - it wasn't possible! - but Bend changes this. So, my idea was to do it, and see where it goes.

Now, while I was implementing some candidate algorithms on Bend, I realized that, rather than mass parallelism, I could use an entirely different mechanism to speed things up: SUP Nodes. Basically, it is a feature that Bend inherited from its underlying model ("Interaction Combinators") that, in simple terms, allows us to combine multiple functions into a single superposed one, and apply them all to an argument "at the same time". In short, it allows us to call N functions at a fraction of the expected cost. Or, in simple terms: why parallelize when we can share?

A

@digitalsignalperson
digitalsignalperson / tabs.css
Created January 23, 2024 09:18
obsidian tabs in multiple rows
/* --------------compact tabs--------------------*/
.workspace .mod-root .workspace-tab-header {
width: unset;
max-width: var(--tab-width);
border: 1px solid var(--color-base-50);
}
/*.workspace-tab-header-inner {
width: unset;
}*/
@badarotti
badarotti / Configuring the Web Clipper MarkDownload for a seamless workflow with Obsidian
Last active August 4, 2024 08:02
Configuring the Web Clipper MarkDownload for a seamless workflow with Obsidian
---
tags:
- software/obsidian
- software/markdownload
- what/post
- status/wip
- what/my_setup
---
> [!Notes]
@k3v1ntang
k3v1ntang / print.css
Last active June 18, 2024 02:59 — forked from ScottKillen/print.css
Obsidian - PDF Stylesheet
@media print {
/* set your preferred fonts here. */
:root {
--body-font-family: "Newsreader Text", TimesNewRoman, "Times New Roman", Times, Baskerville, Georgia, serif;
--header-font-family: "Century Gothic", CenturyGothic, AppleGothic, sans-serif;
--code-font-family: MonoLisa, Menlo, SFMono-Regular, Consolas, "Roboto Mono", monospace;
}
Overall, the listed strategies are helpful for learning and retaining new information.
However, some improvements can be made for clarity and effectiveness.
- Leverage the Pareto Principle for learning
Improved Prompt: "Identify the 20% of [topic or skill] that will yield 80% of the desired results and provide a step-by-step learning plan to master it."
- Utilize the Feynman Technique for deeper understanding
Improved Prompt: "Explain [topic or skill] in the simplest terms possible, as if teaching it to a complete beginner. Identify gaps in my understanding and recommend resources to fill them."
- Optimize learning through interleaving
@ScottKillen
ScottKillen / print.css
Last active February 20, 2025 18:59
PDF export stylesheet for obsidian
/* Obsidian snippet to style output of pdf exports
*/
@media print {
/* set your preferred fonts here.
*/
:root {
--body-font-family: "Newsreader Text", TimesNewRoman, "Times New Roman", Times, Baskerville, Georgia, serif;
@fidel-perez
fidel-perez / speedreading.js
Last active March 27, 2025 03:22
Speed reading for Obsidian!
const carriageReturnIndicator = "⏭️"; //WARNING: There is a regexp replace that uses this literal value.
const spaceReplacerChar = " "; // ◽
const pluginClassName = "speedReadingPlugin";
function updateReadTimeEstimate(phrases, speedWPM) {
var readTimeEstimateEl = document.getElementById("readTimeEstimate");
readTimeEstimateEl.innerText =
"Expected time to read the whole document at current speed: " +
((phrases.length * 60000) / speedWPM / 1000 / 60).toFixed(1) +
"min.";