Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
niutech
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
25 ms
·
481.
▲
by
niutech
3y ago
You can make PDF client-side by html2canvas or webkit.js ( https://github.com/trevorlinton/webkit.js )
482.
▲
by
niutech
3y ago
You can run Commodore VIC or IBM PC wigh CP/M, MS-DOS, Windows 3.0, Linux ELKS on ESP32 using FabGL.
483.
▲
by
niutech
3y ago
Is there an online version?
484.
▲
by
niutech
3y ago
In the link I posted there is a GUI way of importing CSV files by using the open source SQLiteStudio: https://sqlitestudio.pl . Your TextQuery also looks nice, although it's a pity it isn't open source.
485.
▲
by
niutech
3y ago
You can just import your CSV file to SQLite without any limits, e.g.: sqlite3 :memory: -cmd '.import -csv file.csv table'\ 'SELECT col, COUNT(*), AVG(total) FROM table GROUP BY col' More: https://
486.
▲
by
niutech
3y ago
You can have a global stylesheet and @import it inside Shadow DOM or use ::part() from outside of it.
487.
▲
by
niutech
3y ago
You can hide the previous slot contents with CSS: https://jsbin.com/rinevokiwi/edit?html,output
488.
▲
by
niutech
3y ago
How does it compare with https://github.com/litehtml/litehtml ?
489.
▲
by
niutech
3y ago
Nice! But how to deal with i18n?
490.
▲
by
niutech
3y ago
I also remember Dojo, Dijit and DojoX. It was a powerful web framework. https://dojotoolkit.org
491.
▲
by
niutech
3y ago
This technique of out-of-order streaming using DSD was shown for the first time by lamplightdev on Jun 28, 2022: https://twitter.com/wcbytes/status/1541546418539732997 Demo: https://enamel.pages.dev
492.
▲
by
niutech
3y ago
Yes, use Sailfish OS or Ubuntu Touch instead!
493.
▲
by
niutech
3y ago
https://web.dev/learn/pwa https://learn.microsoft.com/en-us/training/paths/create-pwas...
494.
▲
by
niutech
3y ago
Better try Sailfish OS, which also runs Android apps, or Ubuntu Touch with Anbox.
495.
▲
by
niutech
3y ago
This is BS. All iOS apps are sandboxed. PWA works in Android, Ubuntu Touch, even worked in Firefox OS (OWA). And Apple cannot work it out?
496.
▲
by
niutech
3y ago
I've proposed a workaround for bringing back PWA support to iOS: https://news.ycombinator.com/item?id=39454792
497.
▲
by
niutech
3y ago
Not all browsers support `Sec-Fetch-Dest: iframe`, URL param works everywhere.
498.
▲
by
niutech
3y ago
Figma uses WASM, so its total size is much bigger: https://www.figma.com/blog/figma-faster/
499.
▲
by
niutech
3y ago
What do you mean? Publii allows to configure URLs: https://getpublii.com/blog/publiis-beta-seo-friendly-urls-st...
500.
▲
by
niutech
3y ago
Also try Tina CMS or ProcessWire.
501.
▲
by
niutech
3y ago
Tina CMS is not only for React websites. It runs well with SSGs such as Hugo, Astro, Gatsby, Jekyll, Remix, 11ty: https://tina.io/docs/frameworks/other/
502.
▲
by
niutech
3y ago
You can easily add no-js fallback by setting base target in JS instead of HTML. Then append e.g. `?fullpage` to HTML <a> elements and remove this query param with JS. With no JS, links will open in the same window with `?fullpage` que
503.
▲
by
niutech
3y ago
You can make it work with forms by using onsubmit and e.target.action
504.
▲
by
niutech
3y ago
Have a look at Petite Vue by Evan You.
505.
▲
by
niutech
3y ago
There is https://github.com/justinfagnani/html-include-element as a web component.
506.
▲
by
niutech
3y ago
There is a new request header: `Sec-Fetch-Dest: iframe`
507.
▲
by
niutech
3y ago
There is a new request header: `Sec-Fetch-Dest: iframe`
508.
▲
by
niutech
3y ago
If you write `document.querySelector(contentWindow.location.hash||null)?.outerHTML=contentDocument.body.innerHTML`, you'll make it even shorter.
509.
▲
by
niutech
3y ago
jQuery has easily done it for years: $(selector).load(url)
510.
▲
by
niutech
3y ago
I am proposing a workaround for restoring PWA support in third-party web browsers on iOS - to append some well-known query param or hash to the PWA URL by convention (like ?__pwa__ or #__pwa__ or similar) and detect PWA using it, then hide
More ›