#development
1 messages · Page 141 of 1
You can get sunburnt in the winter
so even with an umbrella u can get burn
why dont pools put a cover ontop of the pool then
oxygen, people like breathing
Because people like the sun
...
One message removed from a suspended account.
There are such things as indoor pools you know
One message removed from a suspended account.
It gets very stuffy in indoor pools
One message removed from a suspended account.
Plus it’s expensive
Your average neighborhood pool isn’t going to have the budget to make an entire enclosure for a pool
One message removed from a suspended account.
whys it expensive
It absolutely does, you do great back-end! 
theres a place near my house with an indoor pool
One message removed from a suspended account.
Vulkan is like 15x harder than OpenGL 
also indoor pools have that chlorine smell
One message removed from a suspended account.
One message removed from a suspended account.
precisely
do u have a pool in your backyard
But it’s a lot better for advanced 3D renderers
Yeah
I gotta learn this stuff
One message removed from a suspended account.
Once I learn linear algebra in college I’ll be a lot more inclined to do 3D stuff
is this florida
random tuft of grass
I’m doing it in my first semester of uni so hopefully I’ll get it down quickly
if i had the skills i would make the os feel like you are playing a game
i should buy a little kitty pool to swim in
One message removed from a suspended account.
One message removed from a suspended account.
how do u know it's florida:
what is miami-dade country
One message removed from a suspended account.
oh
One message removed from a suspended account.
how illegal would it be to theoretically scam doordash
Theft I would assume?
hm
Also that’s just fucked up, the people who work for doordash need tips
woah i don't scam
One message removed from a suspended account.
in theory
One message removed from a suspended account.
i was wondering bc i see it on tiktok
One message removed from a suspended account.
One message removed from a suspended account.
Like people saying they never got their food?
idk people are mean
One message removed from a suspended account.
i did that yesterday
One message removed from a suspended account.
Cus that ultimately hurts the driver
and got my food and money back
They get a contract violation
damn
Not sure of the particular number
i'm not following them
i would never scam anyone
has anyone played breakpoint
i wonder if it's good
One message removed from a suspended account.
One message removed from a suspended account.
One message removed from a suspended account.
bro it’s a joke
🗿
ofc i play games
but i don’t often tbf
because everything is boring nowadays
That would be nice
tuff
I'm gonna get this guy to exactly pinpoint your location using only the grass, trees, and cloud formation
https://youtube.com/shorts/iOCR73U8t6E

One message removed from a suspended account.
because they’re fake
i need to use a custom renderer
i plan to use sth like iced in conjuction with wgpu
copilot is pretty nice sometimes. i hope this works
You must be the person who asked Rainbolt the thing in this video
https://youtube.com/shorts/b6XWgEnc3Cs
I mean they’re obviously fake
One message removed from a suspended account.
you must be gullible
One message removed from a suspended account.
One message removed from a suspended account.
what if as an easter egg, i make the kernel panic screen look like a horror being
One message removed from a suspended account.
geopositioning
the easter egg will be disabled by default
unless your machine crashes in halloween
i have some inspiration i can take
from ddlc
a less spooky version is honkai impact
One message removed from a suspended account.
what do you think looks better for an api request parameters?
date: { // chose one
timestamp?: number,
jdut?: number,
jdet?: number,
utcdate?: { date: number[], apparent: boolean, julian: boolean },
localdate?: { date: number[], apparent: boolean, julian: boolean }
}
or
date: {
type: "timestamp" | "jdut" | "jdet" | "utcdate" | "localdate",
value: "number" | { date: number[], apparent: boolean, julian: boolean }
}
One message removed from a suspended account.
not impressed with the output
second
you can use the inverse calculation too
like calculating an inverse of a color
i like 1st one, provides all data you need
but that might be excessive in terms of data
oh wait
like, those are all the possible values, the user will only send one of those
One message removed from a suspended account.
ye for example the user can send date: { timestamp: 123123 } or date: { utcdate: { ... } } for example
function getContrastingColor(backgroundColor) {
// Convert the hexadecimal color to RGB
const hexToRgb = (hex) => {
const shorthandRegex = /^#?([a-f\d])([a-f\d])([a-f\d])$/i;
const fullHex = hex.replace(shorthandRegex, (m, r, g, b) => r + r + g + g + b + b);
const result = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(fullHex);
return result
? {
r: parseInt(result[1], 16),
g: parseInt(result[2], 16),
b: parseInt(result[3], 16)
}
: null;
};
// Calculate the contrast ratio
const calculateContrastRatio = (rgb1, rgb2) => {
const l1 = calculateRelativeLuminance(rgb1.r, rgb1.g, rgb1.b);
const l2 = calculateRelativeLuminance(rgb2.r, rgb2.g, rgb2.b);
return l1 > l2 ? (l1 + 0.05) / (l2 + 0.05) : (l2 + 0.05) / (l1 + 0.05);
};
// Calculate the relative luminance
const calculateRelativeLuminance = (r, g, b) => {
const sRGB = (c) => {
const v = c / 255;
return v <= 0.03928 ? v / 12.92 : Math.pow((v + 0.055) / 1.055, 2.4);
};
return 0.2126 * sRGB(r) + 0.7152 * sRGB(g) + 0.0722 * sRGB(b);
};
// Determine the contrasting color
const contrastWhite = calculateContrastRatio(hexToRgb(backgroundColor), {
r: 255,
g: 255,
b: 255
});
const contrastBlack = calculateContrastRatio(hexToRgb(backgroundColor), {
r: 0,
g: 0,
b: 0
});
return contrastWhite >= contrastBlack ? '#ffffff' : '#000000';
}
One message removed from a suspended account.
what
One message removed from a suspended account.
second one. less optional junk
those are eye cone sensibility values
fr
as luminance is based on human eye
so you use chatgpt 💀
💀
is the inverse of 0x808080 the same thing?
oh yeah haven't thought about that
i think i need to get r, g, and b and then move it as far away from the original number as possible
actually i would convert the color to HSL then take the bound that is the furthest from the color's lightness value
yeah
there's no need to calculate distance to white and to black
if dist to white is 30%, then to black it's 70%
hsl seems to do things.
will Math.PI
give me all the digits of pi
no
bru
but it'll give enough
all upto limits of f64
how can i get them all
you can't
fr?
pi is an irrational number
wym
it means it never ends
should I do my built-in openapi 3 documentation like this?
server.path('/', (path) => path
.http('GET', '/wait', (http) => http
.document((docs) => docs
.queries((queries) => queries
.key('duration', (key) => key
.description('The Duration in Seconds for waiting')
.required()
)
)
)
.onRequest(async(ctr) => {
if (!ctr.queries.has('duration'))) return ctr.status((s) => s.BAD_REQUEST).print('Missing the Duration query...')
await new Promise((r) => setTimeout(r, Number(ctr.queries.get('duration')) * 1000))
return ctr.print(`waited ${ctr.queries.get('duration')} seconds`)
})
)
)```
nor repeats patterns
oh
what in the actual fuck?
yeah so you can take the lightness value and do things like
(l > 50 ? 0 : 100)
use it in conjunction with color inversion if you want some color variety
ohh, that would be all i really need
The Math.max() static method returns the largest of the numbers given as input parameters, or -Infinity if there are no parameters.
it can be the same color with different lightness
you don't say
use color inversion, then change the lightness value
I meant why is it taking the biggest out of the three
you can also play around with saturation
in rust i think maximum was f128
I'd really use luminance if u want the actual contrast between colors
there is also f256 and above but that takes alot of storage and computing power at scale
is luminance the technical word for lightness or is that something else? do i need to install unreal engine 5.1?
oh, max is 64 bit float
luminance (or luma) is the brightness of a color according to human perception
here's the formula for calculating it out of an integer field
whats the best way to queue requests
put them in a queue?
(and easiest)
provide a context
if ur using an array it's simpler, but calculating colors with the rgb field is much faster
magic numbers
is there a different forumla for different animals? like nocturnal ones
put them all in an array and after a periodic time, send em
replace these values according to their color cones' info
or keep something up to check for rate limits
it's a percentage
hm
for red, green and blue
that's cool
is there an npm package that does that
colors are crazy
you can just code it
wikipedia likely has biological info abt their eyes
Yeah, though there are libraries that allow you to go beyond f64
the difference about using lightness vs luma is that the former doesn't take into account the eye
me?
also do note I have this line, but it's not required
sounds complex
it's simply for multiplying the output with the alpha channel
since no matter how bright a color is, if it's invisible then it has no luminance
@civic scroll whhy
i need it to do a max of 3 requests / second and 60 requests / minute
r u sure there's no package that does this
ai is going to use this info against us
if the user is consistently exceeding the rate limit, they will fill up your queue and starve your resources the same way
then how can i resolve it
ratelimits are handled by blocking requests until the time interval passes
the lower/earlier the blockage, the better
you can just implement it yourself
fun fact, this is the reason nightvision goggles are green
despite infrared being colorless
depends on the service you are requesting to
but i still want to fulfill the requests
thats not a good idea
if it fails due to ratelimit, wait until it passes
well
green allows the eye (human) to perceive more details than any other color
the user has to wait and retry if they hit a rate limit
delay the send
i want queue to prevent the ratelimit
every single api out there does it like that
in general
it's up to your timing, and priority economy
wait you're the client or the server here?
that's called a bucket
idk
your question before suggested you wanted to implement rate limits in a server you own
it's a discord bot
so you are the client
then its not your rate limit
you want to avoid hitting the discord rate limits
is that correct?
then what
what api
do you own this api?
no
ok
you're the one requesting, not serving requests
yea
so yeah, time to ration and send your requests periodically
then yes, a queue will work
save some spaces for urgent requests as well, if you have contingency cases
you'll need to read the docs to find out their ratelimits btw
do you know an npm package that will do it
yes ik
3 requests / second
60 requests / minute
you don't need a lib for that, just make a list and store tasks on it
then pop next, wait a second, pop next, wait, pop, wait, pop
track the ratelimit based on the 60/m instead of the 3/s
as that's the lower limit
infraRED is red. QED
doesn't matter how fast they request
you're only pop-executing once per sec
the queue will accumulate, but it doesn't matter
they are appended into a queue, not being sent immediately
you can make it more intricate by calculating the remaining requests for that minute, to have a faster throughput
you can send in bursts
but the pop-execute with fixed interval is enough for now
so only 1 request per second
60/m means 1 per second yeah
hm theres a lot of logic to this tho
ffs you can't avoid doing logic
thats why i prefer a package
try to make something on your own at least once
😐
also, check if whatever api ur using is behind cloudflare
if it is, getting too many 4xx errors will get u banned for a while
how
cloudflare bans ips with too many failed attempts
check for response's header
that ban isn't permanent, but it's long
for wha
cloudflare's signature - if it's behind cloudflare
dont see that
those Cf headers
i dont see
then it isn't using cloudflare
it's up to the provider and the service itself
?
what exactly is the api for?
web scraping
a website
since it doesnt have an api
is it still about kick?
what
*kick
oh no
i made my own package to use their api
kick has an api but it's private and cloudflare will block u if u try
this website doesn't have one at all
anyway I don't see why exactly you'd use a third-party api to scrap
because
it's like an api for the website
because they don't have one
and they get the data by scraping the website
are u sure whatever site ur trying to scrap doesn't have an api?
because, like, if it has dynamic data it has to be retrieving data from somewhere
I mean, ssr exists
well, yes
here
i'll send the website
ahhhhh it's mal
yea
there's anilist
could be a good time learning it
it's easier than trying to scrap mal
they even have a playground for testing their graphql
nice thing is with graphql you can request only what you want
yep
do i need an api key for it
yes ofc, just like every decent api
go on see their docs
jikan api is good
and it doesn't need an api key
1 req/s tho
60 per min is literally 1 per sec
the 3/s doesn't matter if ur worried about queueing
since when 3 * 60 = 60?
You're still hitting ratelimits
no
As jikan scrapes myanimelist
so
that's only when you own the database yourself
they likely added the ratelimits because MAL is limiting them
So you're still getting ratelimited at some point
yeah because theres a fuck ton of people using the public jikan api
Ok
if i selfhost it'll only be me
Ok
not exactly
no people do 60 requests per min
jikan likely caches the data they scrapped
1m people doesn't mean 1m scraps
I should selfhost discord ngl so I can get my bot ratelimited and not care ngl
you are missing something: you need to also host your own anime database
the same database that MAL uses
The public jikan API also Caches requests
why does such a popular website not have an api
so yeah, many people requesting but only a few scraps
makes no sense
Ok
they choose not to
but there is anilist
like kuu said
true
graphql ain't even hard
but anilist has horrible docs
horrible? u kidding
why fear it? malicious intents?
@rustic nova can i ask design-related questions here?
what malicious intents would i have with anime data
Sure
being reckless with requests maybe
which could cause a token revoke

Or not following their terms on the api
Requests
being able to get only the data you want
why is anilist trying to be unique
again, ease of use and saves bandwidth
Ok
they aren't, graphql is fairly standard in huge datasets
countless api implement graphql
again, bandwidth is valuable
and every kilobyte saved is worth it
btw sayu, what do u think of my card decoration designs?
i don't understand the docs
did it for my card quality system, wanted ur input on it
Swag

graphql is weird af tho
the syntax
i just implement its principles in json
dont feel like going full graphql syntax
the syntax is basically reverse json
i'd say it looks fine
it feels 2014 and MMORPG to me
not really my style since i'm more on flat designs
battleless is the GOAT
fr?
what am i doing wrong here
Yes
"Yes"
usage would be like this for example
red on purple
sorta?
the colors are clashing though
both the subject and the stars are garnering for attention
I mean, yeah, there's one color for each rarity
the design is fine but you may need to change to color
make the badge based on the border's color instead
for the stars...

why do i feel like 4-edged stars would fit more
I think that's possible, as I'm able to snapshot the image's palette to get the main color
then I can simply hue rotate it
I'll make a version with 4-point to see how it ends up later
make em glow instead of metalic
hm?
yep, then u compare against eachother to see which is the most distant
or just consider if luma > 0.5 then it has more contrast with black
what am i doing wrong
#f1c40f this gold color is getting a white bg
i think the comparison is backwards
I camt install pip install discord-py-slash-command
On replit
Why
Or how to solve
It says it is not read
I used shell
weren't u using discord.js
Console log it, maybe it's getting very close to 0.5 but not quite
why are you switching up languages, have u even used python before?
Need to what everyone saying diff things
what
First one is gold?
Yes but replit isn't letting me install
pip install discord-py-slash-command
ignore silver. the text should be black, but the color isn't applying for some reason
That discird_slash isn't installed etc but when I use pip install discord-py-slash-command
It doesn't install
How can I be in node when iam using python huh
Wdym?
If it doesn't apply apply it yourself.
~Lalushi

@lyric mountain @rustic nova what do you think?
when this is 0 toString(16) just returns 0
so i need to add a condition for anything less than 16 right?
probably
Quite nice I think, first drive info looks better than the other 2
it can be toggled
toString(16) means ur converting to hex
0 in hex is 0
What u want is to pad it
yeah but some people may prefer no drive path
Those people are crazy
#0 -> #15 isn't valid css right?
It isn't cuz it's expecting at least 3 numbers
well i guess 15 would work, but not be what is expected
lmao, no
so that's the issue
#123 is the same as #112233
at least #000 -> #fff
wym no
Use padLeft(6) for adding missing zeroes
bump for the 4th time
Ur not supposed to put variables there
With graphql u make a fixed schema of what data you want
where do i put them
And then send the variables as a field
u don't, for testing simply hardcode in the schema
then when u move to your code u use variables
quotes on ANIME I think
error still
https://github.com/OtagamerZ/ShiroJBot/blob/master/src/main/resources/anilist.graphql well, according to my own schema it was supposed to work like that
try query($id: 1)
error
ah, wait, remove () from query
since ur passing no params
it says "$ expected", so it was expecting a variable
press ctrl space
the docs are somewhere in the playground anyway, else I'd not be able to build my schema
current episode + 1
what
if u need the name, there's likely a property for that
if u only need the name use current episode + 1
what
i don't understand
ok i figured it out however
it only returns 1 result
oh nvm
i did it
w smart battleless
btw is there anyway i can get events of the releases
or do i need to do polling
imagine you're the one making the server
adding graphql to your api is...annoying
yes when I say "implement" I mean hosting it
for you it'll be just a regular json
but with the fields u asked for
can't i just store the airings once then just check my database to check if one has released yet
like once per day
that way i don't need to make lots of api requests
^
it gives u a timestamp
what does that mean
either of those fields
intelliscence whatever it's called
there is a graphql plugin yes
but you need to download their schema for it to work
it's also in their site, but I dont remember where
idk, read the plugin
bru
for java I simply put that in the resources folder
you need to see the instructions for whatever plugin ur gonna use
recommend me one
Name: GraphQL
Id: mquandalle.graphql
Description: Syntax highlighting for GraphQL queries and schemas
Version: 0.1.2
Publisher: Maxime Quandalle
VS Marketplace Link: https://marketplace.visualstudio.com/items?itemName=mquandalle.graphql
is this good
try it
maybe, just read the comments or see the rating
tho I doubt they'd allow it to exist on the marketplace if it was
why are none made by a verified user
is there like a
url for episodes
that i can link to
u wont find an url for watching the episo, but u can compose an anilist url for it
all anime and episodes have an id
yes this is what i'm asking
whats the url
for episodes
i can't find it on anilist website
r u sure episodes have a url
access any anime on anilist
replace whatever looks like an id on the url
but
i want to link to an episode
hm i see
i can get the external links of the anime, so i'll just filter it out by common streaming services
go to any anime, click on episode, copy url
no
it doesn’t exist
there’s no list of episodes
so idk what the point of the episode id is
there is tho
but they all link to cruchyroll
still, u can scrap this part if u want the urls
where
fun fact, i had a project that did similar type of scrapping, just for manga not for anime
i was gonna make a manga manager for desktop
its name was Waifu
blocked
definitely
bruh
shelved for 5 years lmao
Una pregunta
she is not realshe is not realshe is not realshe is not realshe is not realshe is not realshe is not realshe is not realshe is not realshe is not realshe is not realshe is not realshe is not real
:^)
what is this made in
nwjs
nwjs?
puedes peguntar pero tene que ser en inglés, se quieres hablar español escribes en #general-int
nwjs
idk what that ios
same shit as electron, but slightly different
yes
but its not full js of course, they use different stuff for the rendering part
for example electron and nwjs bundle a copy of the chromium browser to serve as the user interface
so you code your app with html+css and js for funcionality
there are other runtimes that use different renderers
no idea, never used graphql
wow
btw you dont need to do query: query and variables: variables
thats what the guide says on the anilist website
const something = 1;
const obj = {
something
}
``` this is a shortcut for `something: something`
if you dont define a key, js will create a key for you with the same name as the variable name
ye
ok
looks good
that fetch looks sus tho
I hope it's some custom fetch that you had
that's probably ai generated code
bro wym
ai generated
I wrote this myself
@pale vessel
why you pinging me leave me alone

bro u called my code ai generated
how why where when what
wym?
guys
can u get the command and input used from the message object of the response to a slash command
i added my bot to top.gg before joining this server, and i cant find my bot page
anyone know why?
One message removed from a suspended account.
even the person who added the bot cant see it?
One message removed from a suspended account.
how tho?
i added and closed the tab a while ago and i cant get to the bot page now
One message removed from a suspended account.
im logged in tho
One message removed from a suspended account.
One message removed from a suspended account.
One message removed from a suspended account.
k i will try, thanks
bump
any1 know of any free VPS for hosting typescript discord bot
no
no one is giving out a free vps
Pylex Nodes is free
but it doesnt work for TypeScript
If you were getting a VPS you would be able to host a bot written in any language
What I mean is, it tries to run the TypeScript bot but is failing as it's doing node index.js to try to run it when it should do npm run build.
can’t you just compile it to JavaScript
I already tried running the JavaScript version. It didn't work.
why not
I don't remember why, but it didn't work. lol
@hushed robin one of the staff members said he'll/she'll change up the start command for me lolll
thank God!
What no
Someone help pls
maybe it's outdated
Idk
Sounds like copying the code didn't work out hm
Do you guys know any host that accepts crypto?
i need a vps
i am gonna do shenanigans
lol
galaxygate does
oh really?
yes
great
hey guys
does anyone have a good formula for amount of xp required to level
because i have this
(currentLevel+1)^2 * 10 + 5.
but it is way to low
i was thinking about a 150 multiplier
i think it depends on the amount of exp you will give
they only let you pay with bitcoin and litecoin which i would hardly call anonymous might as well pay by card and make it easier
@civic scroll my attempt at something flatter
I use level = sqrt(xp / 100)
Why go long short long? I assumed they’re rarities?
kinda, but separate from the actual rarities
Gotcha
there, fixed lengths
now it's a matter of matching colors to the character's card border
ngl reminds me of
I'll need to make one color for each ribbon then
but first I need to make new borders to match the flat design
One message removed from a suspended account.
I do
One message removed from a suspended account.
One message removed from a suspended account.
maybe its secret code
XNHPJA75
One message removed from a suspended account.
One message removed from a suspended account.
did he delete the message?
ray did, no idea why tho

One message removed from a suspended account.
does that automatically mean they had evil intentions?
tons of people dont speak very good english and dont know how to express themselves correctly we shouldnt delete their messages just because we dont understand them lol
what happened
Hm? What's the error?
One message removed from a suspended account.
One message removed from a suspended account.
i didnt say it was you, but you did defend the removal, so i explained why i disagreed
anyway lets move on
my error is "a lack of voltrex"
does anyone have any good suggestions for S3 storage 
Cloudflare R2 costs a lot for 1tb
using IDrive E2 atm but looking at their reviews lots of people report data loss
I use S3 storage from a small company called Amazon.
amazon costs a lot
i'm looking at S3 compatable storag
Wasabi looks good but idk if I can be bothered to contact and ask for public bucket access lmfao
I'm having a good experience with IDrive but their reputation for data loss is putting me off
i proxy the file through Nginx anyways and cache there
might move to Varnish
What's the cost per gb per month for those services?
Wasabi is $5.99/tb/month
IDrive is $10/tb/year for first year then $40/tb/year
(or $0.004/gb/month / $4/tb/month)
Cloudflare R2 iirc is like $14/tb/month
might look at bunny.net, it's primarily video serving so that would help
$0.015 / GB-month for R2
yeah so $15/tb/month
I know a host that offers 1tb raid 1 hdd vpsses for 7€
i'd rather one which is managed like S3
because if I do something wrong and remove all the files thats on me 
I mean I can install minio for you
this is S3 pricing
this is your current cost per gb
0.005849609375
just use s3
ezpz
talk to a sales rep and see if they can lower the price some more
how about 3tb lifetime for 450 eur
Next-Generation cloud storage with Icedrive. Get started right away with a massive 10GB free space.
company's lifetime or your lifetime?
lmao
thats not S3 though
what happens if the company shutdowns
do they send you the storage
idk
build your own server and rent space at a server colocation place

My error is "Sayuri is missing flag physical_presence"
when is discord releasing the Premium App Subscriptions alpha?
https://support.discord.com/hc/en-us/articles/9359445233303-Premium-App-Subscriptions-FAQ
bruh
probably when it rolls out in every country
why not usa first??

that's not fair
they won't know
why does it error if I make it null?
but
cannot compare a number and null
how can i make it not count that part?
don't include it
but
that won't be possible
bc i will have parameter on my bots command
and if not filled it will be null
js never makes things null
js didn't
only the dev can do that
discord.js did
or dont use null and use undefined instead. undefined will be dropped from the json like you expect
and want
it sends null
how tho
not undefined
but also what happens if the backend is not js

so yeah for the parts you can control, null declares the intention clearer
it recieves a json object without the undefined values like you want
💀
so you do let counter = null; over let counter;?
is this you ben
it always have a value other than null if i assign it
eg
const [formData, setFormData] = useState<Nullable<FormData>>(null);
could argue FormData | null looks nicer
but yeah it's my personal pref
what's the last part do? (null) is that invoking something of defining defaults?
for something like useState (react), you need to initialise a state with a value
so null is agreed upon as empty value of known type
${filters}
what
generate the graphql request dynamically
hm
sounds like it'll be a lot of code
you sound like you won't go beyond 1000 lines in a single codebase
if (somefilter) filters += ", somefilter: 123"
heyo
battleless should make a bootloader
what do you think about the details & preview sidebar
oh wait
there
one is in compact mode
you can also use variables
const query = `
query($someVar: String) {
Media(someFilter: $someVar) {
...
}
}
`;
const variables = {
someVar: null // could be a string or null
};
// body for the API request
const body = JSON.stringify({ query, variables });
the background symbols are a bit distracting
should i decrease opacity
maybe, the contrast between the text and them is a bit too low
always initialize with something other than null. like an empty object or empty string etc
yeah the thing is typescript won't allow me to
so this will work still if the variable is null?
so for best bet ima use null
I tried with string for the search filter and it worked
gotta avoid the language magic for default values
you can try with other filters and variable types
null if empty and value of T otherwise
what about now?
and yes, read the comment in the code
now?




