Prev 16 / 28 Next
@[email protected] to be fair, that is pretty unexpected behavior, since there's no obvious way to see input history. this makes the user think that the calculator is dumb (like the dumb physical ones), which act as if you pressed = before each operation. i would totally expect the result to be 200 with the current ui.
@[email protected] how is it? it only leaks ip, its not like you can do much with it
god i love capitalism MTS (a large mobile service provider here in ru) decided it was not enough for them to be just an msp and decided to become a fucking ecosystem. and bought a bunch of useless startups. and put them all into a single fucking subscription. the only actually useful service under their subscription was urent (kicksharing). which was until recently also available as its own subscription. a few times cheaper than the MTS PREMIUM one, too. yet this year they decided they didnt have enough sales on their stupid premium and fucking merged it. and migrated all existing paying customers. and of course the only notification was a push that i probably missed. and of course they've already written off money for it. and of course they ignored me in support for a few hours before refunding. "*compare the benefits*" bitch im not using any of those apps, there is no benefit for me, shut up. btw fun fact: that stupid subscription also includes an internet plan. except it fucking overrides my unlimited plan. yes i am willing to pay twice as much for infinitely less internet, thank you very much
holy fuck why is it so hard to do nothing
ts 5.2 made a breaking change titled "`module` and `moduleResolution` Must Match Under Recent Node.js settings" which broke basically my entire script for cross-building the library for commonjs and esm it was enough to put `--module commonjs` in tsc args, and it would *just work* :neocat_cry: now to build for cjs i likely have to: - set `"type": "commonjs"` in package.json - run tsc - revert package.json ...except it won't really work like that because i have a monorepo. so i'll have to set type=commonjs in every package.json thanks typescript, very cool might as well just ditch tsc and use rollup instead :neocat_googly_woozy:
its insane how the only way to disable hdr on ios is to use low power mode (which also caps refresh rate at 60hz) :haggard: im tired of getting flashbanged every time i use sns
or... make yet another silly little ast transformation at build time :troll: i have to do those anyways, because deno/jsr don't support importing .ts files as .js, yet this is the intended way for node.js, so uhh :neocat_googly_woozy:
oh fuck me deno also hardcodes this setting as false, but here it's "wontfix, working as intended" noticed this while trying to set up jsr publishing i guess i *will* have to rewrite half of my fucking codebase :neocat_googly_woozy:
thanks bun for doing optimizations that really matter ๐Ÿš€๐Ÿ’ช
>4.3. Data Scraping >You agree not to use your TPA to collect, store, aggregate or process data beyond what is essential for the operation of your services. **Always prohibited uses include any form of data collection aimed at creating large datasets, machine learning models and AI products, such as scraping public group or channel contents.** >Without limiting the foregoing, you are free to use data submitted directly and voluntarily to your TPA by users, provided that you clearly inform them of the data's intended use and they give their individual, explicit, active and revocable consent. [new telegram tos](https://telegram.org/tos/bot-developers) are absolutely based
mojo is such a techbro-pilled language what the fuck is this :neocat_woozy:
ts devs will go to great lengths to not write js by hand :neocat_googly:
@[email protected] i highly doubt it would be possible to effectively moderate npm or alike the way its done in linux distros, simply because of its enormous size probably the best way to at least try to mitigate this is to have a "quarantine" for a set period of time, but this would likely only work for corporate environments npm also has [this](https://docs.npmjs.com/generating-provenance-statements), idk if theres similar on other langs' registries
now, was this chinese govt or us govt disguised as chinese govt :troll: also yeah, yet another proof that foss is not inherently more secure than non-foss :neocat_woozy:
for some reason i get really annoyed when artists or content creators heavily promote their stuff on sns like, im not saying they shouldn't be doing that *at all*, i get that they need a way to reach their audience, but like.. 5-10 posts about the same fucking release?? wtf bro and then you go on their profile and its like 45% posts about "hey check out this new release, buy merch here" 45% posts about "hey im gonna drop a new release soon" and 10% random shitposts i hate this trend of everyone trying to shove something up my arse and artificially creating hype out of nothing tho i cant really blame artists either, they're just trying to survive, thats their only source of income... they are just trying to outplay the stupid algo so they get recommended but somehow this behavior makes me want to stop following them at all i cant help but think "if you have to go to such lengths to promote your stuff, then its probably not that good actually"...
tbh i would complain towards bun much less if they didn't market their stuff as "production ready" and "blazing-fast node drop-in replacement" while in fact its like.. neither?? lol
i love spending hours to debug something only for it to turn out to be a bug in *whatever im using underneath* :neocat_woozy:
what the fuck is wrong with bun lmao it just refuses to buffer >128kb in a tcp socket as a result, code similar to this fucking breaks in pieces and only the first ~128k ever gets sent ```js for (let i = 0; i < 3; i++) { const data = crypto.randomBytes(131240) socket.write(data) } ``` as a workaround i can.. uhh.. `setTimeout()` :troll:
bun doesn't support returning functions from macros which is like ??? :neocat_woozy: probably the most useful and popular use-case of macros is to codegen and then return a `new Function` to eval it. parcel supports it btw (also these are not exactly macros, more like comp-time evaluation, but we can emulate code-emitting macros with `eval()`/`new Function` in parcel so uhh better than nothing)
CW: lewd, wtf
is it called cock after the ๐Ÿ” because it carries eggs, or is the ๐Ÿ” called after cock because it lays eggs chicken vs egg problem more like cock vs balls problem
@[email protected] im not too sure if such crawlers follow redirects
how tf did i sleep through 8 alarms and not remember turning any of them off
CW: typescript yapping
im still not sure how should i make mp4 boxes typings i want the library user to be able to "build" a custom version that would only include the boxes they need, allowing both for tree-shakeability and extensibility. and i want the typings to reflect that - that this parser function can read e.g. an `ftyp`+fields, an `elst`+fields, or anything else (returning raw bytes) which is by itself fairly trivial, but problems arise when we want to add support for boxes with children (e.g. `moov`) the initial idea was to have something like this ```ts [BoxParser<'ftyp', FtypBox>, BoxParser<'elst', ElstBox>, BoxParser<'moov'>] ``` mapped to smth like this ```ts (Mp4Box<'ftyp'> & FtypBox) | (Mp4Box<'elst'> & ElstBox) | Mp4Box<'moov'> ``` but we also want moov to have children, so we want to do smth like ```ts (Mp4Box<'ftyp'> & FtypBox) | (Mp4Box<'elst'> & ElstBox) | Mp4Box< 'moov', (Mp4Box<'ftyp'> & FtypBox) | (Mp4Box<'elst'> & ElstBox) | Mp4Box<'moov'> > ``` but now if there happens to be a moov inside a moov everything breaks... and im not sure if its even possible making these truly recursive (and how slow would it be, and if its even valid per spec anywhere), yet i dont want to enforce ordering in the "builder" either... thats not even to say that i also want to have `.parent`, though i *can* tolerate it being not fully sound... ~~yes i know im overengineering, its not fun otherwise~~
ehh, seems to be pretty much the opposite **upd**: though with smaller number of iterations it's indeed faster ๐Ÿคจ probably because of overflows and stuff the more you know
@[email protected] js is actually stupid fast, which i often forget and keep doing useless micro optimizations there's exactly one thing where js sucks - number crunching (mainly bc all numbers are doubles). which is imo totally fixed with wasm. also yeah fun fact, from my experience pure c often results in faster and smaller wasm code than rust :neocat_think_woozy:
i wish i could do something except stupid computers :neocat_cry:
@[email protected] attempts to cut costs in any way possible ๐Ÿคทโ€โ™€๏ธ tbh id say it would be much better if they offered ton or something instead - people would definitely build custom mobile farms for profit
can spotify maybe stop publishing trans artists' deadnames? what the fuck is wrong with them :haggard:
i love patching dependencies when they are some internal tools that were abandoned a long time ago and werent updated for the newer apis
this also makes existing pattern matching libraries not work because there's no way to narrow the type further than `string` :/ guess ill just make my own
how does typescript *still* has no way to negate types :neocat_cry: how tf am i supposed to do a catch-all in a discriminated union
(this is a followers-only post, please log in to see it)
@[email protected] oh fuck im 20 soon :neocat_googly_shocked:
actually now that ive posted a much smaller and simpler than usual typescript package to npm, i think im starting to understand the premise behind jsr :D i spent too much time on setting up build step and stuff... a lot being like 15 minutes, but whatever, it sucks when you have to do this every single time i was almost tempted to just put it in my main project's monorepo since i already have build and release flow... another issue i had is that simplifying stuff this much may lead to a lot of fucking garbage packages, but since they are *all* scoped id say its much more manageable and maybe in fact better than npm ๐Ÿค” it still sucks that it doesn't with with node/bun without crutches though, yeah. i am not planning to switch to deno (yet?)
i have ~4 hours left until work and i will hate myself when i wake up (thx adhd), but poc cenc/widevine decryptor is done, yay ^^ the last major part left is to port pywidevine to js, which is likely the easiest one
tbh older porter music was better
@[email protected] i searched across multiple search engines and didn't find anything. and yep its not there either. drms suck :<
i wish all paywalled standards a very pleasant go fuck yourself
i expected it would be much harder to dump l3 keys, holy shit. there are publicly available one-click frida scripts for that :blobcatheadache: it literally took me longer to set up the device itself (i didn't have a rooted android lying around)
ok there is a good part to bun. it is, in fact, *very* fast. `bun --watch` is totally usable. obv one of the main reasons is that there's no typecheck step. which would be there if i used the traditional nodemon + ts-node setup. `tsc` is slow as hell :neocat_cry: but tbh since ide and precommit/ci typechecks stuff anyway, i'd say it's not really that important anyway
(this is a followers-only post, please log in to see it)
and like. `bun:sqlite` is one of your fucking selling points you advertise on your homepage. clearly this must be something you are proud of. yet somehow even with the small surface api it has it doesn't do what its supposed to. bleh
Prev 16 / 28 Next

this is a misskey-tombstone instance loaded up with data from a now defunct misskey instance