Hacker Newsnew | past | comments | ask | show | jobs | submit | abelcha's commentslogin

this is what you are looking for i believe (web archive format) https://en.wikipedia.org/wiki/WARC_(file_format)?oldformat=t...


Browsers don't have native support for opening WARC. It doesn't solve the safety problem either: you can still construct a WARC that phones home, AFAIK.

It's a great format for the problem it solves, but if browsers supported offline-only files the container format wouldn't (and shouldn't) need to be that complicated.


well maybe people dont want to suffer for 20 years


duckDB is what sql should be in 2024

https://duckdbsnippets.com/


The very first example on that page is vulnerable to injection.


Which one?


  #!/bin/bash 
  function csv_to_parquet() {     
      file_path="$1"     
      duckdb -c "COPY (SELECT * FROM read_csv_auto('$file_path')) TO '${file_path%.*}.parquet' (FORMAT PARQUET);" }


Eh, in the context of the site and other snippets that seems pedantic.

Could it be run on untrusted user input? Sure. Does it actually pose a threat? It's improbable.


Thats what the ai would say


Im really impressed how snappy it is, i played with it localy a bit cause you never know how the screencast was made etc; I can confirm this looks just as good as the video, well done


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: