SPONSORED BY Lantern Cloud π―ββοΈ
Vector database on top of Postgres for AI
π My code after the refactoring
Vector database on top of Postgres for AI
Please open Telegram to view this post
VIEW IN TELEGRAM
π€£17β€3π3
SPONSORED BY Lantern Cloud π―ββοΈ
Vector database on top of Postgres for AI
β CHALLENGE
Vector database on top of Postgres for AI
const target = {
secret: "hidden",
reveal: "nothing"
};
const handler = {
get: function(obj, prop, receiver) {
if (prop === "secret") {
return "revealed";
}
return Reflect.get(...arguments);
}
};
const proxy = new Proxy(target, handler);
with (proxy) {
console.log(secret);
console.log(reveal);
}
Please open Telegram to view this post
VIEW IN TELEGRAM
β€2
What is the output?
Anonymous Quiz
30%
hidden nothing
49%
revealed nothing
14%
hidden revealed
7%
revealed revealed
π₯8π€5π4β€2
SPONSORED BY Lantern Cloud π―ββοΈ
Vector database on top of Postgres for AI
π βοΈ vs π₯Ά
Vector database on top of Postgres for AI
Please open Telegram to view this post
VIEW IN TELEGRAM
π€£46π9β€6π€2π€©1
CHALLENGE
function* evenNumbers() {
let num = 0;
while (true) {
yield num;
num += 2;
}
}
const gen = evenNumbers();
const evens = Array.from({ length: 4 }, () => gen.next().value).map(n => n + 1);
console.log(evens);
π2
What is the otuput?
Anonymous Quiz
33%
[1, 3, 5, 7]
36%
[2, 4, 6, 8]
22%
[0, 2, 4, 6]
9%
[1, 2, 3, 4]
π€£12π8π€©5π₯3
SPONSORED BY Lantern Cloud π―ββοΈ
Vector database on top of Postgres for AI
This is a treasure!
βοΈ Do you have any (old or new) Javascript book laying around? We want to see some pictures.
Share with us
Vector database on top of Postgres for AI
This is a treasure!
Share with us
Please open Telegram to view this post
VIEW IN TELEGRAM
π13β€4π₯2
Please open Telegram to view this post
VIEW IN TELEGRAM
π11π€5π₯3β€1
This media is not supported in your browser
VIEW IN TELEGRAM
SPONSORED BY Lantern Cloud π―ββοΈ
Vector database on top of Postgres for AI
π Projects on roadmap.sh
Projects are a fantastic way to validate your learning and solidify your knowledge. We're thrilled to introduce projects across all of our 50+ roadmaps!
We're starting with the backend roadmap, which now features 18 project ideas of varying difficulty levels. We'll gradually add projects to all our roadmaps making our roadmaps even more powerful.
Kamran Ahmed
Vector database on top of Postgres for AI
Projects are a fantastic way to validate your learning and solidify your knowledge. We're thrilled to introduce projects across all of our 50+ roadmaps!
We're starting with the backend roadmap, which now features 18 project ideas of varying difficulty levels. We'll gradually add projects to all our roadmaps making our roadmaps even more powerful.
Kamran Ahmed
Please open Telegram to view this post
VIEW IN TELEGRAM
β€10π2π€©1
What is the output?
Anonymous Quiz
18%
["ID0", "ID1", "ID2"]
26%
["1", "2", "3"]
49%
["ID1", "ID2", "ID3"]
7%
["ID1", "ID2", "ID2"]
π8π€6π₯4β€1
SPONSORED BY Lantern Cloud π―ββοΈ
Vector database on top of Postgres for AI
π» What we got wrong about HTTP imports
Ryan Dahl
Vector database on top of Postgres for AI
Ryan Dahl
Please open Telegram to view this post
VIEW IN TELEGRAM
β€3π3π₯1
SPONSORED BY Lantern Cloud π―ββοΈ
Vector database on top of Postgres for AI
β CHALLENGE
Vector database on top of Postgres for AI
function* fibGenerator() {
let a = 0, b = 1;
while (true) {
let next = a + b;
a = b;
b = next;
yield next;
}
}
const gen = fibGenerator();
const fibArray = Array.from({ length: 5 }, () => gen.next().value);
console.log(fibArray);
Please open Telegram to view this post
VIEW IN TELEGRAM
β€4π€©1
What is the output?
Anonymous Quiz
11%
Error
32%
[0, 1, 1, 2, 3]
27%
[1, 1, 2, 3, 5]
30%
[1, 2, 3, 5, 8]
π₯7π6
SPONSORED BY Lantern Cloud π―ββοΈ
Vector database on top of Postgres for AI
π€ JS-PyTorch: A PyTorch-Like Library for JavaScript
Recently renamed from JS-Torch, this brings some of the magic from Pythonβs popular PyTorch library to JavaScript for training and testing neural networks in particular. We linked to it earlier this year, but it has added GPU support thanks to GPU.js.
Eduardo Leao
Vector database on top of Postgres for AI
Recently renamed from JS-Torch, this brings some of the magic from Pythonβs popular PyTorch library to JavaScript for training and testing neural networks in particular. We linked to it earlier this year, but it has added GPU support thanks to GPU.js.
Eduardo Leao
Please open Telegram to view this post
VIEW IN TELEGRAM
β€6π3π₯2
CHALLENGE
function* alternatingGenerator() {
yield 1;
yield 2;
yield 3;
}
const gen = alternatingGenerator();
const result = [gen.next().value, gen.next().value, gen.next().value].reduce((acc, curr) => acc + curr, 0);
console.log(result);
π1
π7β€6π₯4π€©2
Or, as they put it: βElectrify Node.js with the power of Rust.β Neon makes it relatively easy to write code in the popular, high speed systems language and run it from Node, much like any other native extension.
Neon Contributors
Please open Telegram to view this post
VIEW IN TELEGRAM
π7π₯4β€2
CHALLENGE
function* reverseGenerator(arr) {
for (let i = arr.length - 1; i >= 0; i--) {
yield arr[i];
}
}
const result = [...reverseGenerator([1, 2, 3, 4, 5])].join('');
console.log(result);
π3π€1
π16β€5π₯4