phiresky

Results 402 comments of phiresky

This was a result of the readme of the spec text being wrong / outdated. I've fixed it in swc here: https://github.com/swc-project/swc/issues/8525 and the spec text has also been fixed,...

We tried some hacks but in the end we migrated to normal react context with `const StoreContext = createContext(); `. And then in remaining class based components ``` static contextType...

Just as a note, multiple versions (for different windows versions) of the driver for [this device](https://www.amazon.de/Videokonverter-Nachbearbeitung-MPEG-2-Videocodierung-Snapshot-Funktion-PAL-Video-Capture/dp/B01MZ6DKAC/ref=sr_1_3?ie=UTF8&qid=1492777310&sr=8-3&keywords=csl+grabber) which identifies as 1c88:1001 are here: https://ftp.csl-computer.com/pub/drivers/videograbber/302591-USB_Video_Grabber/ Extract tool doesn't work for any of...

Sure. I used SVP 4.1.0.114 via the [AUR package](https://aur.archlinux.org/packages/svp). I used the "highest quality setting" with artifacts masking on low and optimized for Animation. I don't know what these settings...

Say I have imported `from`, `myTable`, `db` from somewhere and write a function like this: ```ts async function getSomething() { return await db.exec(from(myTable).select(myTable.$all)); } async function doSomething(myTableInstance: typeof myTable.$rowInstance) {...

yeah. Might be good to investigate what exactly the differences are in PG between `ROW(1,2,3)`, `values(1,2,3)` etc.

It might be needed to create a temporary type. Example: instead of ```sql select * from (values (100190, true), (100125, true)) as foo(id, exists) ``` do this ```sql create type...

another example: query ```typescript const existingMeals = await db.exec( sql.from(chkTable) .innerJoin(menu.meal) .on({ _mensa: chkTable._mensa, _line: chkTable._line, _date: chkTable._date.cast(tDate), // TODOHEDIET _mealIndex: chkTable._mealindex//.cast(sql.tInteger) }) .select(menu.meal.$all) ``` generated sql: ``` sql SELECT...

An interesting alternative for inserting / updating an unbounded amount of values in general is ```ts await pool.query("insert into test (param1, param2) values (unnest($1::int[]), unnest($2::text[]))", [[1, 2], ["foo", "bar"]]); ```...

They are also empty so it shouldn't even work on windows