SPONSORED BY Lantern Cloud π―ββοΈ
Vector database on top of Postgres for AI
β CHALLENGE
Vector database on top of Postgres for AI
let count = 0;
const counter = (function() {
count = 0;
return function() {
count += 1;
return count;
};
})();
count = 10;
counter();
console.log(count);
Please open Telegram to view this post
VIEW IN TELEGRAM
π€©6π3π₯2β€1π€1
π9π€©6β€3
SPONSORED BY Lantern Cloud π―ββοΈ
Vector database on top of Postgres for AI
π₯Ήππemoji-picker-element: A Lightweight Emoji Picker
An emoji picking control, packaged as a Web Component. You can also add custom emoji to it. GitHub repo.
Nolan Lawson
Vector database on top of Postgres for AI
π₯Ήππemoji-picker-element: A Lightweight Emoji Picker
An emoji picking control, packaged as a Web Component. You can also add custom emoji to it. GitHub repo.
Nolan Lawson
Please open Telegram to view this post
VIEW IN TELEGRAM
β€3π₯3π2
SPONSORED BY Lantern Cloud π―ββοΈ
Vector database on top of Postgres for AI
β CHALLENGE
Vector database on top of Postgres for AI
const target = {
age: 30
};
const handler = {
get: function(obj, prop) {
return obj[prop]++;
}
};
const proxy = new Proxy(target, handler);
console.log(proxy.age);
console.log(target.age);
console.log(proxy.age);
Please open Telegram to view this post
VIEW IN TELEGRAM
π8π€7π₯4β€3
π€8π7β€5
SPONSORED BY Lantern Cloud π―ββοΈ
Vector database on top of Postgres for AI
π₯Ά A Different Way to Think About TypeScript
βa very expressive way to operate over sets, and using those sets to enforce strict compile time checksβ
Robby Pruzan
Vector database on top of Postgres for AI
βa very expressive way to operate over sets, and using those sets to enforce strict compile time checksβ
Robby Pruzan
Please open Telegram to view this post
VIEW IN TELEGRAM
π5β€3π₯3
SPONSORED BY Lantern Cloud π―ββοΈ
Vector database on top of Postgres for AI
β CHALLENGE
Vector database on top of Postgres for AI
let obj1 = { key: 'value1' };
let obj2 = { key: 'value2' };
const weakMap = new WeakMap();
weakMap.set(obj1, 'data1');
weakMap.set(obj2, 'data2');
obj1 = null;
setTimeout(() => {
console.log(weakMap.has(obj1));
console.log(weakMap.has(obj2));
}, 100);
Please open Telegram to view this post
VIEW IN TELEGRAM
β€5π2π€2π€©1
π₯11π7π€6β€3
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