#💻┃Dev's Forum

1 messages · Page 5 of 1

hasty mica
#

yee

#

bros gonna get bombarded with recmdtions

vapid elm
#

Hmm

#

I'd rather buy Apple Magic Keyboard lol

#

I don't like mechanical keyboards

hasty mica
hasty mica
#

u never used tactile did u?

vapid elm
#

Nope

visual geode
#

@vapid elmcant go wrong with fantech, they have excelent mic quality, people say my cardiod mic and that headphone mic sound pretty similar after discord krisp processing.. so ig a win

mine was fantech octange hg23 or smth
i have completely gave up on overears, got myself a in ear, and yea ggs

cloud badge
#

proof or it didn't happen

visual geode
cloud badge
#

vs gemini pro (not ultra which is next level stuff)
it mentioned modern c++ "contains()" syntax. also which to choose

visual geode
# cloud badge gpt4

however asking for recent syntax such as using contains() will give you what you are looking
i mean try asking for a more complicated thing

i saw gemini's implementations were dumb, non working or impractical
and then stoped using it

cloud badge
#

never knew c++ even had contains() syntax to begin with. a monstrous language. just learned it from gemini.

cloud badge
#

gpt 4 missed one important line cairo_surface_destroy(new_surface). and what is ... // your existing cairo surface

visual geode
visual geode
hasty mica
#

maybe they do 🤔

visual geode
#

@cloud badge see how dumb google gemini is?

#

i asked a simple question

#

and it wrote a whole ass paragraph with no useful info in it

#

thats why i hate this shit

#

meanwhile that is gpt-4's answer


Here's a high-level overview of how you can create a Neovim plugin using JavaScript:

1. **Set up Node.js and npm**: Ensure that Node.js and npm are installed on your system. You can check this by running `node -v` and `npm -v` in your terminal. If they're not installed, you can download and install them from the official Node.js website.

2. **Install Neovim client for Node.js**: You'll need the `neovim` npm package to interact with Neovim from your JavaScript code. You can install it by running `npm install --save neovim` in your terminal.

3. **Create your plugin file**: Create a new JavaScript file for your plugin. In this file, you'll use the `neovim` package to create a plugin class. Each method in this class can be called from Neovim.

4. **Register your plugin with Neovim**: You'll need to tell Neovim where to find your plugin. You can do this by adding the path to your plugin file to the `rplugin/node` directory in your Neovim configuration directory. The exact path will depend on your system and Neovim configuration.

5. **Update remote plugins**: After adding a new remote plugin, you'll need to run the `:UpdateRemotePlugins` command in Neovim. This will register your new plugin and its methods with Neovim.

Here's a basic example of what a Neovim plugin in JavaScript might look like:

\`\`\`javascript
const { NeovimPlugin, Function } = require('neovim');

class MyPlugin extends NeovimPlugin {
  myMethod(args) {
    // Your code here...
  }
}

module.exports = MyPlugin;
\`\`\`

In this example, `myMethod` is a method that can be called from Neovim. You can replace `myMethod` with your own methods, and use Puppeteer within those methods to interact with web pages.

Please note that while you can write a Neovim plugin in JavaScript, Lua is more commonly used for Neovim plugins, and you might find better community support and resources for Lua. However, if you need to use Puppeteer, JavaScript would be the way to go.
#

i added the \ before the backticks

#

☠️

#

to make it appear right

visual geode
cloud badge
visual geode
#

and,, it hasnt yet bugged me like that

#

google didnt answer shit, it happened to me so much, i gave up on gemini

visual geode
#

it is not secure tho, anyone can put malitious bits in coderun.json in ~/ or /
soooo yea working on a do you trust this coderun.json thing in experimental branch

cloud badge
visual geode
cloud badge
#

asking gemini "neovim lua plugin get output of a node script containing puppeter code"

visual geode
#

mine only blabbers all day about bulshit

#

i think the keyword was code, that made it switch modes internally or smth

cloud badge
#

ah... r8

indigo plank
#

i have revolt but noones i know uses it

feral nebulaBOT
#

@visual geode is AFK:
AFK - <t:1708843905:R>

indigo plank
#

use guilded its better

cloud badge
#

a different solution to print usage

#

vs what people normally do

cloud badge
#

first time trying out leetcode

cloud badge
#

satisfaction

visual geode
#

how do i transition to chad git user

hasty mica
hasty mica
cloud badge
hasty mica
#

u prbly are familiar with the switchy ones

#

but tactile one's god the sound and the feeling

#

oof-

dapper gale
#

we are all going to die

cloud badge
#

how?

visual geode
indigo plank
hasty mica
#

We're gonna die 😔

cloud badge
#

...

visual geode
#

pylyzer is here

i suppose slightly better than using pyright/pylance

#

it has been here for a long time, i just found it today

lean warren
#

they basically reverse-engineered all the publicly available APIs of several models

#

for the most part you don't even have to be authenticated

#

tho it's not very stable and well tested... but works

visual geode
cloud badge
#

they reverse engineered every free api.

#

impressive

vapid elm
#

I hope they dont get taken down

visual geode
#

only 5 consecutive messages allowed

#

without authentication

#

20 allowed with account

hasty mica
#

They prbly would

hasty mica
#

Pretty sure there is a plugin for nvim

visual geode
#

ase ase

#

copilot chat ase aine

hasty mica
#

Just a snap of the id card and boom worked for me

visual geode
vapid elm
#
Google Developer Groups

Hybrid Event - Google I/O Extended is the community-led counterpart to Google I/O, our annual Google-led conference where the world hears about Google’s latest developer solutions, products, and technology.

This year, GDG Sonargaon is organizing Google I/O Extended 2024 GDG Sonargaon.
Stay tuned for the event agenda!

If you are interested in b...

#

One more chance

visual geode
#

lazygit supremacy

hasty mica
vapid elm
hasty mica
#

done @vapid elm

#

google better not troll this time

vapid elm
visual geode
#

Lol

#

Cpp is now unsafe for minors

#

@cloud badge good thing you aren't minor 💀

visual geode
hasty mica
visual geode
#

google rolling out "adblock detected" to various accounts

hasty mica
#

pera kisher

#

aro 420 ta acc to asei

visual geode
#

google provoked a war by announcing project nimbus(supporting israel) that they cannot win

#

fok gcloud

visual geode
hasty mica
#

aws far better

visual geode
hasty mica
#

🤷‍♂️

#

aws is more preferred by me

visual geode
#

i suggest using smaller independent cloud providers for your own needs than aws,gcloud, azure, ibm cloud, oracle cloud

i mean use their free stuff, but dont let them make a profit

#

all of them supported israel either directly like gcloud and ibm, or indirectly via volentarily donating to israel

hasty mica
#

@red shore

#

post ur issue here

visual geode
#

copilot chat in neovim pretty tight

hasty mica
#

@queen blade pls use this channel

queen blade
vapid elm
#

I learned a new language!

visual geode
lean warren
mighty oakBOT
#
fkf
Transcription requested by ! catfish (halal) 🇵🇸🍉

एहा हाइप ट्रेंट कबजन नमबो, एडर रफा कया आसिर रहबाई

visual geode
#

Aita kon bhasha

#

Devin entered the chat

indigo plank
#

terminator

dapper gale
#

ur computar has viraz

lean warren
vapid elm
#

@lean warren lmao look what i've made

#

Does it feel familiar?

#

Especially to the java developers

lean warren
#

I'm trynna get into typescript these days, it's fun!

lean warren
lean warren
vapid elm
#

But for TypeScript/JavaScript

#

Gradle supports Groovy/Kotlin DSL

#

In this case, this build tool supports TypeScript DSL kek

lean warren
#

what's the library you're using for CLI btw

#

looks neat

vapid elm
#

I use chalk v4 for the CLI colors

#

Although I can just write a few functions that does it

lean warren
#
GitHub

Rich is a Python library for rich text and beautiful formatting in the terminal. - Textualize/rich

GitHub

The lean application framework for Python. Build sophisticated user interfaces with a simple Python API. Run your apps in the terminal and a web browser. - Textualize/textual

vapid elm
#

Check out OClif

#

It can package your CLI into a full-featured cross-platform installable application

#

So like windows installer for windows, deb/rpm for linux

visual geode
#

neovim for the w, man gotta fix bugs in my own plugins, been too lazy to fix them, but neovide's smoothness is .... perfection

vapid elm
#

I love this feature of WebStorm

#

Although I can manually run eslint, using this saves a bit time

queen blade
#

Hey guys,

We are looking for experienced frontend/backend/full-stack developers. Can provide attractive salary. If anyone is interested, DM me with your CV and a few words about yourself.

Some preliminary info:

  • We are a startup
  • We are looking for people experienced in HTML + Tailwind combo (no frameworks used here; very high demand), React (separately; also high demand)
  • Rust developers (bonus points if you are familiar with Rocket or Actix-Web)
  • We have no requirements for years of professional experience, but we want to see you show skill
  • We can pay weekly (every Saturday), starting from April
  • Based in Bulgaria
  • B2 level or higher in English required

Bonus points for front-end: If you know how to make designs yourself, parallax effects and 3D. These will all be appreciated.

#

Experience with responsive design is a MUST

vapid elm
#

huh

lean warren
cloud badge
visual geode
#

bro what💀

neovim nightly seems less buggy than neovim stable
the issue was snippet didnt show up half the time for some reason, but it showed up all the time i tried in neovim 0.10💀💀

#

spoken too soon💀

big snippet name still causes trouble

#

(only emmet snippets)

vapid elm
#

guys do you think im overcomplicating stuff

dapper gale
#

damn

vapid elm
dapper gale
#

classes in js feels weird to me

vapid elm
#

I personally think classes are fine in TypeScript, frameworks like NestJS heavily rely on usage of classes

vapid elm
#

build_src directory in a non-gradle project KEKW

hasty mica
#

That's blasphemy

#

😭

vapid elm
#

build.blaze.ts

vapid elm
#

I love typescript optional methods

hollow bear
#

@visual geode prefer some llms for unique outputs

vapid elm
vapid elm
#

How cruel the dad is for not letting his son use Java

hasty mica
vapid elm
#

I turned JavaScript into Java

#

LMAOOOOOOOOOOO copilot KEKW

hollow bear
vapid elm
#

VSCode the best heh

cloud badge
#

1 hour wasted

vapid elm
dapper gale
lean warren
lean warren
cloud badge
#

post deserves downvotes. ranting is fine, illogical skill issue rant not

cloud badge
#

r/woosh

vapid elm
#

☠️

dapper gale
#

@hasty mica

Can I get dev role

hasty mica
#

Can't give it away

#

There are better candidates on the line as well

vapid elm
cloud badge
#

looking at old abandoned project

dapper gale
hasty mica
#

be active I suppose

dapper gale
#

if on github then eh, im not active there

hasty mica
dapper gale
#

im level 39 waaa

#

i need that role

#

:(

hasty mica
dapper gale
#

as a sort of dev

dapper gale
hasty mica
#

gitlab?

dapper gale
#

nope, i dont use those developer sites as i work on projects privately for private stuff

#

i had made mc plugins before

#

none of them are on github because i dont really like using it

#

lol

dapper gale
hasty mica
#

it's not on my hands lol

dapper gale
#

how much

#

oh

#

😭

hasty mica
#

if it were @vapid elm and @lean warren onk agei paito

dapper gale
hasty mica
#

the panel

dapper gale
#

oops

visual geode
#

witcher 3 and cyberpunk 2077 source code leaked

#

:3

lean warren
# visual geode witcher 3 and cyberpunk 2077 source code leaked

lol the source codes were leaked in June 2021, but they weren't accessible because the archives were password protected. but, now it seems that someone has actually brute-forced their way into the files and got their hands on the password, leaking it on fking 4chan 😭

#

and it's only witcher 3 for now btw

#

cyberpunk is still protected

visual geode
#

yeah right right

#

lol

vapid elm
hasty mica
#

Holy shit

#

Games are getting open source ya'll <3

visual geode
#

encrypted source was distributed

#

800gb total

hasty mica
#

No way

#

10k$ bit too much isn't it?

visual geode
#

i am staking nootropics btw

1gram of lions mane
1.21 gram of bacopi moneri
120mg ginko biloba
600mg panax gensing

will let you guyz know after 4 weeks if it made any difference

lean warren
#

modders will go insane!

lean warren
lean warren
vapid elm
#

but its real

visual geode
#

proprietary blend is probably for the best

vapid elm
hollow bear
#

@visual geode

visual geode
#

Dk man

hollow bear
#

worked

visual geode
vapid elm
lean warren
vapid elm
#

Nah

#

They aren't a maintainer

#

If they were, you'd see a green checkmark

lean warren
#

ohh I see!

#

hey @vapid elm aren't you using Ubuntu right now?

vapid elm
#

Yes! But I'm on phone rn

#

I need to upgrade to 24.04

#

LTS

lean warren
#

they've released their new LTS version, do you plan to upgrade your system?

lean warren
vapid elm
#

Yes

#

But I will wait for some time

lean warren
#

it comes with a lot of improvements

lean warren
vapid elm
#

I've heard it has some compatibility issues with electron apps

#

E.g. vscode segfaults

vapid elm
#

I do see a bug report regarding that and canonical said it'll be fixed

lean warren
#

I'll boot it up in a vm in sometime and see wassup

vapid elm
vapid elm
#

But if you install on an actual machine it will work fine

vapid elm
#

Etc

lean warren
lean warren
hasty mica
#

use arch

#

Nix best for us devs if u ask me

vapid elm
#

I use ubuntu btw

visual geode
hasty mica
#

Tht brown thing tho

visual geode
#

ubuntu's shit passes on to everyone
:3

vapid elm
dapper gale
#

everywhere i go i see linoox

hasty mica
#

It's everywhere

#

Flabbergastable

cloud badge
visual geode
#

this vscode plugin overpowered, no need to ms account sync, you can use this to export the full vscode config and share with people katsute.settings-repository

cloud badge
#

git bare repo diao shombob.

visual geode
visual geode
lean warren
#

Hey guys, how much does Tabnine compare with GitHub Copilot?
There seems to be an exploit allowing unlimited access to Tabnine's PRO subscription, and they haven't patched it yet evildor

vapid elm
#

Copilot seems a little bit better

#

Not too much, just a little

#

Other than that they're usually identical

cloud badge
cloud badge
visual geode
#

it is for the vscode users

#

💀

visual geode
dapper gale
#

u secretly use vscode

#

and i knew it

visual geode
# dapper gale u secretly use vscode

ok i may be low key considering using it, i set all of my neovim bindings such as easy tab switch, fuzzy finder, lazygit and shit in here

how does vscode get better lsp???
dont get it, isnt the js lsp foss?

#

this js is making me gay

dapper gale
lean warren
#

dunno exactly how it'll play out

#

but looks interesting

#

I like this feature of Tabnine, you can choose the model that works best with your project

lean warren
#

In case anyone wants to try it out...

Tabnine provides a 90-day free trial. all you have to do is create a fresh account using a service like this one, then go to this site and fill in the details like this:

BIN - 536350000720xxxx
EXPIRATION MONTH - January
EXPIRATION YEAR - 2025

Then hit "Generate" and use one of the generated cards for the trial, you can follow these same steps over and over again for as many accounts as you want, I've even caught people selling these accounts wtf

dapper gale
#

how they not losing money

#

AI costs moni 💸

lean warren
#

they're giving this trial to counter copilot's student pack, so they know what they're doing ig

dapper gale
lean warren
cloud badge
visual geode
#

it does all this for you

#

fk this shit, why is neovim 0.10 taking so long to become stablepokerfacepokerfacepokerface
i am tired of using beta one and getting glitchs, all cuz i love inlay hints

cloud badge
lean warren
#

we're doomed lmao

hasty mica
#

Shit 😭

#

Ai taking our jobs are real 😭

cloud badge
#

gemini 1.5 released

dapper gale
hasty mica
#

We're fked hehe

cloud badge
#

beche asi

#

confirm korte ashlam

visual geode
#

i tried using a package hapi--ness
i am getting the sadness, why no worky
💀

dapper gale
#

update your kernel

hollow bear
#

the example code gave the timezone of usa which is "US/Eastern" but i cant figure it out what it would be for bd, i've tried BD, BST but i didnt work

import datetime as dt
from pytz import timezone
from skyfield import almanac
from skyfield.api import N, W, wgs84, load

# Figure out local midnight.
zone = timezone('US/Eastern')
now = zone.localize(dt.datetime.now())
midnight = now.replace(hour=0, minute=0, second=0, microsecond=0)
next_midnight = midnight + dt.timedelta(days=1)
#

halp

#

xhatgpt died

visual geode
#

!!!!!!!!!!!!

#

obviously asia/dhaka

#

Asia/Dhaka

hollow bear
#

ok it worked now

visual geode
#

@cloud badge yo, you used hono websockets?

dapper gale
#

wait

#

not hono

#

hono desnt have that yet

#

it has streams

#

it cool

#

use express for websockets

#

pretty good experience

cloud badge
visual geode
dapper gale
#

maybe recently added

#

nope still not available in node

visual geode
#

so L

#

use bun

#

free performance

dapper gale
#

i prefer stable and simple stuff

#

bun stable hole use kora jabe

#

right now weird bugs er dike jaoyar iccha nai

#

Everything and everyone uses node rn

#

stability comes first before performance

#

also node can be deployed everywhere bun is limited

#

it should get adopted by big companies first

cloud badge
visual geode
#

where can you run node but not bun

cloud badge
cloud badge
visual geode
dapper gale
dapper gale
#

check kori ni onekdin

cloud badge
dapper gale
#

oh shit

cloud badge
#

real

dapper gale
#

have to check it out when i have my laptop back

hasty mica
visual geode
#

bun is cool and shi
but why doesnt winter.js compile 💀
i get a type error, it is supposed to be even faster than bun

visual geode
#

that should install winterjs for the current user

#

straight forward, but i get compilation error, bad src code

#

no fix

dapper gale
#

sorry man i live in a cave rn

#

no pc

hasty mica
vapid elm
#

Yall remember the build tool (gradle clone) I was building? I finished it finally!

#

It's stable now

#

This is how the build scripts look in BlazeBuild

hasty mica
#

Sheesh

visual geode
# cloud badge eije hono + bun websocket example code. tara ws client gula array te joma rakse ...
import { Hono } from 'hono';
import { createBunWebSocket } from 'hono/bun';

import type { WSContext, WSEvents, WSMessageReceive } from "hono/ws";
const { upgradeWebSocket, websocket } = createBunWebSocket();
const app = new Hono();

type Message = {
  room: string;
  user: string;
  text: string;
  timestamp: string;
};

const chatClients: { [room: string]: { clients: WSContext[], messages: Message[] } } = {};

app.get(
  '/ws',
  upgradeWebSocket((c) => {
    let room: string;
    let clients: WSContext[] = [];
    let messages: Message[] = [];

    return {
      onOpen(event, ws) {
        room = c.req.query('room');
        if (!room) {
          ws.close();
          return;
        }

        if (!chatClients[room]) {
          chatClients[room] = { clients: [], messages: [] };
        }
        ({ clients, messages } = chatClients[room]);

        clients.push(ws);
      },
      onMessage(event) {
        const msg: Message = JSON.parse(${event.data});
        msg.timestamp = new Date().toISOString();

        messages.push(msg);

        clients.forEach(client => {
          client.send(JSON.stringify(msg));
        });
      },
      onClose(event, ws) {
        const index = clients.indexOf(ws);
        if (index !== -1) {
          clients.splice(index, 1);
        }
      },
    };
  })
);

app.get('/api/messages/:room', (c) => {
  const room = c.req.param('room');
  const messages = chatClients[room]?.messages || [];
  return c.json(messages);
});

Bun.serve({
  fetch: app.fetch,
  port: 3001,
  websocket,
});
#

on the onClose, ws isnt the same as the one in the array

#

it cant just splice one out 💀

#

royally fked, hono is unusable if i cant pop a disconnected ws

visual geode
#

i have a less than ideal solution, hopefully hono fix's this

cloud badge
cloud badge
hasty mica
#

Wayback machine magic guys?

visual geode
# cloud badge etar jonno ekta jekono "id"(randomUUID node e built-in) set korte paro. array po...

the less than ideal solution was to just

import { Hono } from 'hono';
import { createBunWebSocket } from 'hono/bun';
import { WSContext } from 'hono/dist/types/helper/websocket';

const { upgradeWebSocket, websocket } = createBunWebSocket();

const app = new Hono();
const webSocketClients: WSContext[] = [];

app.get('/', upgradeWebSocket(() => {
  let _ws: WSContext;
  
  return {
    onOpen(_, ws: WSContext) {
      _ws = ws;
      webSocketClients.push(ws);
    },
    onMessage(event) {
      webSocketClients.forEach(webSocketClient => { // broadcast
        if (webSocketClient === _ws) { return; } // possible to check, if current `webSocketClient` is sender
        webSocketClient.send(`${event.data}`);
      });
    },
    onClose() {
      const disconnectedWebSocketClientIndex = webSocketClients.indexOf(_ws);
      if (disconnectedWebSocketClientIndex === -1) { return; }
      
      webSocketClients.splice(disconnectedWebSocketClientIndex, 1);
    }
  };
}));

Bun.serve({
  fetch: app.fetch,
  websocket
});
#

just storing ws as _ws for the websocket

#

............

#

gay aah design

visual geode
hasty mica
#

Not all but some

visual geode
#

hm

cloud badge
#

after many frustration eventually switched from c++ to rust

visual geode
#

using go for backend would make more sence 💀

cloud badge
visual geode
#

check this out, you will know how it works, and how it is setup

#

i mean, rialistically, you will use a neovim config distro, and add your own config on top

#

you get all the bichs inlay hints now

hasty mica
#

Stop making ppls ide hop 😭

#

Respect comfort

cloud badge
visual geode
#

also cant make a whole config from scratch, use a distro
such as lazyvim(not to be confused with the plugin manager lazy.nvim), and add your own configs on top

#

for a whole project, it isnt that much more either 💀

cloud badge
cloud badge
visual geode
#

💀

#

buy more rm

#

ram if needed*

#

the keybinds feel good

cloud badge
#

main selling point

visual geode
#

the keybinds are

#

vscode-vim thing dont give you full 100% vim spec binds, also configuring the traditional vim binds is gay exp in there
and it do be over writing vscode's own binds 💀

#

i legit be doing every single thing without touching mouse

visual geode
#

8196 member demn

cloud badge
visual geode
#

why turn off your pc when suspend exists, how did i never know it existed

#

🤡

#

i have been just suspending for a week now

hasty mica
#

electric bills Stonks

#

balance UnStonks

vapid elm
#

I added a graph task to blazebuild

cloud badge
#

hmm

visual geode
#

valkey not working in bunjs

#

we will never have a rial redis at this rate

#

L, i made my own in ram persistent db

#

💀

visual geode
#

i hope it is fast

cloud badge
visual geode
#

it stores in ram, and shit, also writes to json for persistence, loads up the json in the next run, a coroutine prunes data that has not been accessed for 7 days(or more, if needed)

#

probably should use bson, have multiple chunks(so it writes to bson faster)

cloud badge
#

oh. ami babsilam const db = {}

vapid elm
visual geode
visual geode
#

redis dond work in bun

visual geode
#

and would you look at that, i dont get it.... why isnt it working in bunjs, i made a adapter for js
works in node
but i get ConnectionRefused in bun

#

wtf

#

same module

#

same shit

#

is it like a security thing, bun dont let you request to localhost

#

or smth

#

ok my bad, localhost doesnt exist in bun, i had to use 127.0.0.1

visual geode
vapid elm
cloud badge
#

ai generated?

vapid elm
#

Yes

cloud badge
#

impressive. how far ai have come.

vapid elm
#

Yep, and I loved this song

#

It's the programmers' anthem

#

🗣️

visual geode
#

zed is so ass

#

isnt this colaboration just git, except you get independent lsp and less error prone cuz your changes arent directly conflicting with someone, until you merge
💀

vapid elm
#

Rate the design, this is an API docs site

dapper pike
#

or maybe 8 somewhere around 8-9

vapid elm
#

Great then

cloud badge
cloud badge
vapid elm
#

its completely community driven

cloud badge
cloud badge
visual geode
cloud badge
cloud badge
visual geode
cloud badge
visual geode
# cloud badge source?

Oh it is not, idk I see a lot of depricated lsp in neovim lsp menu, thought it was too

cloud badge
#

hmm matro migrate korlam. prettier theke biome

#

shomosha hoilo global config use kora jai na. mone hocche prettier reinstall korte hobe

visual geode
#

neovim feels so juiced up

#

with the advanced binds

vapid elm
#

I designed a reusable and customizable dialog component

#

How does it look?

cloud badge
#

bhalo professional design mac os hishabe

#

personally i prefer google m3 design where buttons are horizontal to avoid misclick with thumb.

#

another thing to consider is keyboard focus trapping and navigation specially "closing with escape" extremely useful.

#

and handling outside click hide for mobile

vapid elm
#

Yeah I did handle keyboard navigation and mobile accessibility

cloud badge
#

oh toile balo

#

amio ekta dialog component banaisilam based on vue 3

#

2 bochor ager jinish

#

fullscreen mode

vapid elm
cloud badge
vapid elm
cloud badge
visual geode
#

it is free for any kind of use right?

vapid elm
#

No

cloud badge
#

🤣

#

and who's using on projects. it's downloaded on my pc's local "/usr/share/fonts" folder. downloading is allowed right?

#

the google sans you see in the screenshots actually auto inherited by chrome from systems fonts folder. i mean it's only visible on my side.

#

i'm using this for projects

vapid elm
#

wouldn't want to get sued for nothing

cloud badge
#

hmmmmmmm

visual geode
#

soo whats the future for flutter?
google fired flutter devs?

@cloud badge @vapid elm

#

whats the future for app dev in general
💀

vapid elm
#

google just being google

#

no future

hasty mica
#

The future is google

#

🗿

dapper gale
#

no innovation in kolbalish

#

kolbalish is the future

cloud badge
#

capacitorjs, pwa is the future

visual geode
visual geode
hasty mica
#

kolbalish os

#

damn

dapper gale
#

new framework

hasty mica
#

Gol alu new project?!?!?!?!?

#

Hobe naki? @dapper gale

dapper gale
#

kolbalish.js - adds junk to your project so it ranks low on lighhthouse

hasty mica
#

Shit I forgot abt the design

#

Banaite hobe

#

Concept ideas abt the logo would be handy @dapper gale, thakle de

dapper gale
#

completing story portesi

hasty mica
dapper gale
#

brain blank

dapper gale
hasty mica
hasty mica
dapper gale
hasty mica
dapper gale
#

jodi rup kotha dhoray dey exact na hole mark gone

dapper gale
#

jessore board er je obosta

hasty mica
cloud badge
dapper pike
#

hehehe

#

using zsh like theme in powershell Evilpepe

clear cliff
#

@hasty mica blud did you guys ever have any custom self hosted bots?

clear cliff
hasty mica
#

Might do something later in the future

clear cliff
hasty mica
#

Discord ruined it and as a result discord.py isn't much maintained

clear cliff
#

I learnt docker

#

mongo db

hasty mica
#

Damn

clear cliff
#

node.js

#

just for discord bots

#

then

#

discord changed everything

#

fck em

hasty mica
hasty mica
#

Slash commands dia shuru korse

#

Prefix were so better

clear cliff
hasty mica
#

Slash command is just cluttering

clear cliff
#

then the app thing

#

like they want devs to read and research their lame arse documentation for months

#

only to change it again after a few months

#

this cycle continues

hasty mica
#

Avg discord behaviour

#

I left bot development that's why honestly

clear cliff
#

I mean I don't have that much motivation for something I do just for fun/time pass

hasty mica
clear cliff
#

@hasty mica you're in uni?

clear cliff
hasty mica
#

Ki jani uwu

clear cliff
#

shit I used to feel like a god

#

I can create

hasty mica
clear cliff
#

😭

clear cliff
#

issoke

hasty mica
#

Frnds ra bolto mama nuke bot banai de mama ei server hack kore de 😭

hasty mica
#

I got paid quite some times for making bots for servers

clear cliff
#

sadly am not even in the tech field

#

so I can't dedicate myself

hasty mica
#

Tht's a pity

#

Sheesh

dapper gale
#

oh-my-posh

dapper pike
visual geode
#

dont even try

#

so L

dapper gale
#

its great for powershell

#

if you use windows its kinda the only option

dapper gale
#

you can also use it in cmd (command prompt) if you use clink

visual geode
#

L

dapper gale
#

opinions

dapper pike
visual geode
#

@dapper galehow was your exam?

dapper gale
visual geode
#

fail korba toh right?
make us proud

dapper gale
#

paragraph dise "Historical place you recently visited"

#

wrote Taj Mahal for some reason

visual geode
#

💀

hasty mica
visual geode
#

this is my code editor(neovide) 1 year ago, my config has received some updates, and i have familiarized myself with more complex binds and some other plugins, too lazy to re-record

you probably cant have the same in windwos

dapper gale
cloud badge
#

pc my life and career

dapper gale
visual geode
dapper gale
hasty mica
#

All the sperms got attacked by uv rays from monitor

dapper gale
#

What if there is no sperm

#

What then?

#

attohotta?

hasty mica
#

911

cloud badge
dapper gale
#

that went dark real fast

hasty mica
#

😭

visual geode
#

@vapid elm what does ai moderation do in sudobot? How does it work?

#

This needs to be in faq

#

I thought about making ai mod, but it seems too impractical for now

vapid elm
#

which seems to be dead now

#

Discord's AutoMod is also supposed to do AI moderation, that's why we're no longer focusing on that

vapid elm
#

If you have an active discord server, you can make a bot that listens to messages, and when a moderator flags a message as offensive or something, the bot will record it, and later you can use these data to train your model

#

As time goes, you will have a more accurate model

vapid elm
cloud badge
vapid elm
#

My new EndeavourOS setup

dapper gale
visual geode
#

💀

cloud badge
dapper gale
#

eta try korso keo

#

like warp but opensource

cloud badge
#

electron...

dapper gale
#

amar pc te ekhono green circuit board er RAM lagano hehe

#

DDR3

#

super optimized ultrafast gaming ram

#

with ECC

hasty mica
#

Does anyone know any open source cloud gaming platform?

#

Or a framework i can use to play from my cloud computer to my local system?

dapper gale
#

you need a cloud compute with gpu though

#

that expenSIVE

hasty mica
hasty mica
dapper gale
dapper gale
#

Here link

hasty mica
#

Ogay

hasty mica
#

Amre just bolse setup kore dite, bodle ami khelte parbo for free

dapper gale
#

Dayum

#

rich friends

hasty mica
#

(Free)

dapper gale
#

Dunno

#

anydesk?

#

Not ideal for gaming…

visual geode
#

vnc is your closest bet

visual geode
#

Huru mia

Pm2 is so gay

#

Can't run shit that doesn't use node
On paper it can
In practice it cant

#

Gay 3000

#

I am going to attempt to make one in rust when I am free

A universal plug and play runner like pm2
That has some integrations with pipeline as well, cuz heck yea

visual geode
#

That is for non node stuff

dapper gale
#

dont use pm2

#

for non node stuff

#

docker should be fine

#

Make a dockerfile

visual geode
#

Blud saved me a lotta time
I was going to use firejail to isolate process generate firejail profile and whatnot 💀
Docker better idea

dapper pike
#

Hey guys need some advice

visual geode
dapper pike
#

I wanna learn C# and .NET but i want to know if its worth it in the Bangladeshi job market? I alr have learned python django flask etc and i want to increase my skills ig

#

Currently all the job postings i see are just web dev

#

Nothing else ;-;

clear cliff
#

@dapper pike listen learning a Syntex isn't that hard or challenging you can say it's the tip of the iceberg, the whole fckin thing lies beneath of it. I'd suggest you to learn how to code stuffs using python and django, it'd trigger your knowledge, lkke how to think as a coder/programmer and solve problems, you can start learning from yt, then take attempt to make projects/scripts on your own, see what problems you're facing n then work on em, the whole self learning process is trial n error

dapper pike
#

hm ami actively project banaitesi

visual geode
#

@ashen kestrel I think you will be interested in this channel

visual geode
#

Guys radicle is looking intresting 💀

Nice idea
But like, you can exploit it for free storage if there isn't any limit or anything

visual geode
#

GitHub but decentralized

clear cliff
#

they're using

#

git

#

as their scapegoat

visual geode
#

Wdym

clear cliff
visual geode
#

Wdym
It is not
It wraps around git

clear cliff
#

nvm thought they're using git storage

#

😓

visual geode
#

That's all

clear cliff
#

mhm

visual geode
#

GitHub doesn't give unlimited storage as well
1gb per repository

clear cliff
#

mb

visual geode
clear cliff
#

yeah discord full gay

cloud badge
cloud badge
#

added light mode in my vscode extension

visual geode
#

You don't need a extention for bun support

#

And why will such a extention have white or dark mode

It isn't a theme extention

cloud badge
#

🤣

cloud badge
cloud badge
cloud badge
cloud badge
visual geode
#

sadly no nixos stable config, gotta use docker container

cloud badge
#

right

visual geode
#

@clear idol it seems you would be interested in this forum post

visual geode
#

Bhai dang, both my hardisk now show as pre failure

#

I had one 1tb die couple months back, data curruption

#

4tb costs 12k
🤡

hasty mica
#

Just switch to a ssd 🤡 🤓

visual geode
#

I already got 2 nvme

#

3, 1 in drawer, but I only got slot for 2 💀

hasty mica
hasty mica
visual geode
#

btw if it helps anyone not waste time getting throttled
you can use cookies from browser to boost yt-dlp speed, atleast you wont be trottled

hollow bear
#

@visual geode does rimusic support scrobbling?

#

also can i download musics locally from it just like spotify

visual geode
hollow bear
visual geode
#

rimusic doesnt even need account,

#

you dont sign in

#

your preferences are stored locally, your taste can be shared or backed up

hollow bear
#

okay so theres app for phone

#

how am i supposed to use in pc

#

eda ki

visual geode
visual geode
hollow bear
clear idol
#

Damn got banned from WhatsApp . Didn't even know it was possible

visual geode
#

if you are under the age of 18, please dont exchange self naughty material or abuse material with the app,,,,,,,,,,,,,,,,,,,,,,,,,,,
they say it is "encrypted" it is not
thats like putting a show lock, every party has key to the encryption

clear idol
visual geode
#

whatsapp is trash anyways

clear idol
#

They first said that i didn't have the sim on my phone thats why they were blocking access to the device

visual geode
#

oh

#

you actually dont have a sim?

clear idol
#

Not in the same phone

#

Then there was a field for review and to report the issue so in the text field i just gave the middle_finger emoji repeatedly probably that's why

visual geode
#

lol

#

my uber acc got suspended
idk what happened lol, they say your rider acc was suspended

bruh? when was i a rider
tf did i even do

#

figured someone hacked my acc somehow, i suppose easy password or smth

clear idol
#

But now that i have changed the number everything is working fine (for now) i also have the chat history just isn't no longer in the groups ( i used the new number before for the same account)

visual geode
#

but dang, how do you get suspended off uber

clear idol
visual geode
#

i was talking about me

#

lol

clear idol
#

Scizo?

clear idol
#

Dam

visual geode
#

read from there

clear idol
#

Damn how does uber handle transactions? Did you lose money?

#

Ow shit reading skill issue my bad

visual geode
#

#1057190325497638933 message

visual geode
#

rust-rpxy seems intresting, it can handle 1.5x the amount of traffic as nginx

#

config file is in /etc/rust-rpxy/config.toml

#

here is build spec

Name:           rust-rpxy
Version:        0.9.0
Release:        1%{?dist}
Summary:        A reverse proxy server written in Rust
License:        MIT
URL:            https://github.com/junkurihara/rust-rpxy
Source0:        %{name}.service
BuildRequires:  cargo git
Requires:       systemd

%description
rust-rpxy is a reverse proxy server written in Rust with support for QUIC and HTTP/3 using the quinn library.

%prep
rm -rf %{_builddir}/%{name}-%{version}
mkdir -p %{_builddir}/%{name}-%{version}
cd %{_builddir}/%{name}-%{version}
git clone %{url} .
git checkout tags/%{version}
git submodule update --init --recursive

%build
cd %{_builddir}/%{name}-%{version}
cargo build --release

%install
install -Dm0755 %{_builddir}/%{name}-%{version}/target/release/rpxy %{buildroot}%{_bindir}/rpxy
install -d %{buildroot}%{_sysconfdir}/%{name}
if [ -f %{_builddir}/%{name}-%{version}/config.toml ]; then
    install -m0644 %{_builddir}/%{name}-%{version}/config.toml %{buildroot}%{_sysconfdir}/%{name}/config.toml
else
    echo "# Minimal configuration for rust-rpxy" > %{buildroot}%{_sysconfdir}/%{name}/config.toml
    echo "# Please update this file with your specific configuration" >> %{buildroot}%{_sysconfdir}/%{name}/config.toml
fi
install -Dm0644 %{SOURCE0} %{buildroot}%{_unitdir}/%{name}.service

%files
%{_bindir}/rpxy
%{_sysconfdir}/%{name}/config.toml
%{_unitdir}/%{name}.service

%post
%systemd_post %{name}.service

%preun
%systemd_preun %{name}.service

%postun
%systemd_postun_with_restart %{name}.service

%changelog
* Wed Apr 19 2023 Your Name <[email protected]> - 0.9.0-1
- Initial package
#

here is the service

[Unit]
Description=Rust Reverse Proxy Server
After=network.target

[Service]
ExecStart=/usr/bin/rpxy --config /etc/rust-rpxy/config.toml
Restart=on-failure

[Install]
WantedBy=multi-user.target
dapper gale
visual geode
#

wait no, i cant find the benchmarks, i see people saying it is 1.5x faster than nginx in benchmakrs, but cant find source

#

ok lemme benchmark myself
💀

visual geode
#

@dapper galebhai test koiro
💀
here is src code

use std::fs::OpenOptions;
use std::io::Write;
use std::sync::atomic::{AtomicUsize, Ordering};
use std::sync::Arc;
use std::time::{Duration, Instant};
use tokio;
use reqwest;
use futures::future::join_all;

#[tokio::main]
async fn main() -> Result<(), Box<dyn std::error::Error>> {
    let url = "SERVER URL";
    let duration = Duration::from_secs(120); // 2 minutes benchmark
    let client = reqwest::Client::new();

    println!("Starting benchmark for {} seconds on {}...", duration.as_secs(), url);

    let start_time = Instant::now();
    let successful_requests = Arc::new(AtomicUsize::new(0));
    let failed_requests = Arc::new(AtomicUsize::new(0));

    let mut handles = vec![];
    for _ in 0..100 {
        let client = client.clone();
        let url = url.to_string();
        let successful_requests = Arc::clone(&successful_requests);
        let failed_requests = Arc::clone(&failed_requests);
        let handle = tokio::spawn(async move {
            while Instant::now() - start_time < duration {
                match client.get(&url).send().await {
                    Ok(resp) => {
                        if resp.status().is_success() {
                            successful_requests.fetch_add(1, Ordering::Relaxed);
                        } else {
                            failed_requests.fetch_add(1, Ordering::Relaxed);
                        }
                    }
                    Err(_) => {
                        failed_requests.fetch_add(1, Ordering::Relaxed);
                    }
                }
            }
        });
        handles.push(handle);
    }

    join_all(handles).await;

    let total_duration = start_time.elapsed();
    let total_successful = successful_requests.load(Ordering::Relaxed);
    let total_failed = failed_requests.load(Ordering::Relaxed);
    let total_requests = total_successful + total_failed;
    let successful_per_second = total_successful as f64 / total_duration.as_secs_f64();

    let results = format!(
        "Intense Benchmark Results for {}:\n\
        Total Duration: {:.2} seconds\n\
        Total Requests: {}\n\
        Successful Requests: {}\n\
        Failed Requests: {}\n\
        Successful Requests per Second: {:.2}\n",
        url,
        total_duration.as_secs_f64(),
        total_requests,
        total_successful,
        total_failed,
        successful_per_second
    );

    println!("{}", results);

    let mut file = OpenOptions::new()
        .create(true)
        .append(true)
        .open("benchmark_results.txt")?;

    writeln!(file, "{}", results)?;

    Ok(())
}
#
[package]
name = "reverseproxy-speed"
version = "0.1.0"
edition = "2021"

[dependencies]
tokio = { version = "1.0", features = ["full"] }
reqwest = "0.11"
futures = "0.3"
dapper gale
#

on phone rn KIKOILI

#

can i compile rust in iSH?

visual geode
#

tf is that

#

ew

dapper gale
#

bruh

visual geode
#

ugly aah config lang

dapper gale
#

it has the most simple config ever

#

far better than nginx

visual geode
dapper gale
#

but nginx is better for web

#

haproxy is great for tcp stuff

#

load balancing etc

visual geode
#

and also i used nginx in nixos

#

it was far simplified

#

💀

dapper gale
#

💀

visual geode
#
# Minimal configuration for rust-rpxy
# Please update this file with your specific configuration
listen_port = 80
listen_port_tls = 443

[experimental.acme]
email = "email"
registry_path = "./acme_registry"

[apps.blurskye]
server_name = "domain"
tls = { https_redirection = true, acme = true }
reverse_proxy = [{ upstream = [{ location = "localhost:2400" }] }]

[apps.mail]
server_name = "domain2"
tls = { https_redirection = true, acme = true }
reverse_proxy = [{ upstream = [{ location = "localhost:80" }] }]

[apps.default]
server_name = "-"
reverse_proxy = [{ upstream = [{ location = "localhost:2000" }] }]

[experimental.h3]
alt_svc_max_age = 3600

[experimental.cache]
cache_dir = "/etc/rust-rpxy/cache/"
max_cache_entry = 1000
max_cache_each_size = 65535
max_cache_each_size_on_memory = 4096
#

also it supports quic or smth
http/3

you need to compile with some additional arguments for that

dapper gale
#

but in toml

proud ridge
#

Bro hii i know u

visual geode
proud ridge
#

Ohh

#

Ok

visual geode
#

💀

proud ridge
#

ig i saw u in another server

dapper gale
final briar
#

mahfuz0001

clear idol
#

I'm not skilled enough to deserve dev roll hehe

hasty mica
#

Kisher dev?

#

Tmr cheye valo candidates dev pai nai 🗿

#

Amr hat e control thkle ditam, shobar age rakin ar sab re ditam

final briar
#

lol

lone hawk
#

Hi all! I've recently created People's Banner for Bangladesh, (heavily inspired by the Support Palestine Banner). This includes badges you can use in GitHub, banners you can add to your GitHub READMEs and profiles, as well as a React component with a banner to show solidarity with the Bangladeshi students.

Let me know if you have any feedback, or requests for variation in text, color, or styles, will try my best to accommodate!

visual geode
dapper gale
#

everyone was busy in general

#

💀

visual geode
#

well it became irrelevent

#

now

#

: )

lone hawk
#

Yeah I'm glad it became irrelevant!

cloud badge
dapper gale
vapid elm
#

If you use TypeScript, it supports Kotlin-like override modifier, which you can add to class members to ensure you're actually overriding something

#

But apparently a lot devs just refuse to use it or aren't aware

#

Today, I tried to fix a simple bug for 2 hours non stop

#

Segmentation fault

#

I'm writing a custom libc for some specialized use cases

#

And the memory allocator was almost done

#

But a stupid buffer overflow occurred

last hawk
#

bro is cooking 💀

dapper gale
#

@visual geode do you know how i could change the login screen, want something like this

cloud badge
#

nai

vapid elm
#

👍

#

Made an apache server clone

clear cliff
#

someone once said

#

docker raises another problem

#

the program