Robi makes stuff
2.69K subscribers
4.19K photos
280 videos
46 files
1.39K links
I don't really know what im doing, but sometimes i make stuff.
This is basically the saved messages of my life.

https://t.me/boost/Robi_makes_stuff

Season 2 Episode 4

My portfolio : https://robi.work
@rb_wk
Download Telegram
fuck it im taking the schizo pill
😁1👀1
With that said ... I've noticed my increased use of short form video , mainly Instagram , although its a nice platform to be exposed to new content , ... its also filled with junk, brain rot , filler. so until I'm smart enough to create an ai that curates, ill be bidding farewell to it.
1
Okay so like , code challenge ( me , chat gpt and a friend of mine are taking a while to do it so might as well ask for help )

you have an long array of arrays like this
[ 
...
[
{ category: 'All', nesting: 0, _id: '64d1ea2d65b85166bbdab23f' },
{
category: 'Electrical',
nesting: 1,
_id: '64d1ea2d65b85166bbdab240'
},
{
category: 'Indoor Plug & Outlet',
nesting: 2,
_id: '64d1ea2d65b85166bbdab241'
},
{
category: 'Smart Plugs',
nesting: 3,
_id: '64d1ea2d65b85166bbdab242'
}
],
[
{ category: 'All', nesting: 0, _id: '64d1ea2e65b85166bbdab30c' },
{ category: 'Lighting', nesting: 1, _id: '64d1ea2e65b85166bbdab30d' },
{
category: 'Lighting Source',
nesting: 2,
_id: '64d1ea2e65b85166bbdab30e'
},
{
category: 'Light Bulbs',
nesting: 3,
_id: '64d1ea2e65b85166bbdab30f'
}
]
...
]

how do you make a tree structure like the pic ? did it in py but cant seem to do it in js

value is count of the duplicates
🤣1
i have a lot of problems that only AI and robotics could solve.
🤣1
its all wrong again, all so fucking wrong. all so God damn wrong. Compromised , like a math question where you don't know if you carried that one 10 lines ago. imperfect , unsure , irrational

javascript types
ayy it worked, as scuffed as it is ....
Robi makes stuff
ayy it worked, as scuffed as it is ....
all this for a dropdown menu. take DS & Algo seriously , it comes up in sneaky places.
😺
Please open Telegram to view this post
VIEW IN TELEGRAM
🥰1
i hate existing in a human body , I shoulda been slime fr fr.
😁4👍2
https://www.youtube.com/@rogueskyee

This channel is my best source of playlists to jam to. ( too bad she sorta stopped uploading )
Do you guys think that emotional states can be predicted / forecasted with enough data collection and processing ? cus like people do that for ad targeting minamin , why not also apply it toward us, as in productivity minamin , find out when your lows will be happening and work better ?