Better HN
topnewbestaskshowjobs
Log inSign up

Yomguithereal

493 karma · joined Jan 30, 2014 (12y ago) · 28 submissions

https://github.com/Yomguithereal
Submissions

comment 5mo ago · link · parent

I would not call this ASCII art per se. Some of the used characters are not ASCII. How about Unicode art?

2.

Data Visualization from the Comfort of Your Terminal(github.com ↗)

9 points · by Yomguithereal · 5mo ago · discuss

comment 9mo ago · link · parent

> ‘Safely’. An attacker who has control over a row in that file can easily embed data that satisfies the statistical checks, thus injecting data.

This is clearly not the sort of thing you should expose to anyone, it is an optimization technique. The same way you would not use a fast but DOSable hash function for your hashmap.

4.

New technique to easily partition CSV files for parallel processing(github.com ↗)

12 points · by Yomguithereal · 9mo ago · 6 comments

comment 9mo ago · link · parent

TL;DR: Seeker struct from simd-csv Rust crate knows how to perform approximate random access in a CSV file [1]

The `xan` command line tool is therefore able to use it to perform single-pass map-reduce parallelization over CSV files and also binary search within sorted CSV data! [2]

[1]: https://docs.rs/simd-csv/latest/simd_csv/struct.Seeker.html [2]: https://github.com/medialab/xan/

comment 1y ago · link · parent

There is a section here with a table describing the kind of boost you might observe vs. rust-csv used by xsv: https://docs.rs/simd-csv/latest/simd_csv/#regarding-performa...

7.

The SIMD-CSV crate chose not to use simdjson tricks to parse CSV with SIMD(docs.rs ↗)

13 points · by Yomguithereal · 1y ago · 3 comments

8.

Fast and Specialized Rust CSV Readers Using SIMD Instructions(github.com ↗)

2 points · by Yomguithereal · 1y ago · discuss

9.

XAN: A Modern CSV-Centric Data Manipulation Toolkit for the Terminal(github.com ↗)

146 points · by Yomguithereal · 1y ago · 28 comments

comment 1y ago · link · parent

the reversing bytes part is encoding agnostic. you just feed the reversed bytes to the csv parser then re-reverse both the yielded rows and the cells bytes and get the original order of the bytes themselves.

comment 1y ago · link · parent

xan is a maintained fork of xsv

comment 1y ago · link · parent

xan is a maintained fork of xsv

comment 1y ago · link · parent

A good way to parallelize CSV processing is to split datasets into multiple files, kinda like manual sharding. xan has a parallel command able to perform a wide variety of map-reduce tasks on splitted files.

https://github.com/medialab/xan

comment 1y ago · link · parent

I would add xan to this list: https://github.com/medialab/xan

But of course, I am partial ;)

15.

A love letter to the CSV format(github.com ↗)

708 points · by Yomguithereal · 1y ago · 689 comments

16.

Xan, the CSV Magician(github.com ↗)

9 points · by Yomguithereal · 1y ago · discuss

17.

Show HN: A collection of phonetic algorithms written in JavaScript with live examples(yomguithereal.github.io ↗)

5 points · by Yomguithereal · 10y ago · discuss

comment 11y ago · link · parent

An equivalent for Titanium: https://github.com/yuchi/react-titanium

comment 11y ago · link · parent

no more

comment 11y ago · link · parent

I think you are right. It's time we give a proper name to these unidirectional data flow architectures and fly away from the Flux naming.

comment 11y ago · link · parent

Hello DougBTX. Could you post an issue on the repository describing what you would need for this library to work nicely with TypeScript so we can see whether things can be improved?

comment 12y ago · link · parent

This is an interesting point. I created an issue on the github repository concerning this matter. Maybe you'd like to comment on it about your use case so we can improve the tool?

comment 12y ago · link · parent

This would indeed be nice and this is precisely what we intend to code next.

comment 12y ago · link · parent

Backend and frontend scraping just don't attend the same needs. Running backend monsters to scrape small to medium amount of data only once is such a drag when frontend scraping can take less than half an hour to perform the same task. Plus you can see the results of your code live while browsing the DOM comfortably. Finally, nobody prevents you from using artoo backend when you execute javascript.

comment 12y ago · link · parent

jquery is injected carefully by artoo so it does not break anything on the host page. However, CSP override is not default on artoo and you have to install the chrome extension to perform this. But this extension has solely to be activated when scraping and only developers should use them while knowing its effects.

26.

The Law Factory: explore 300 french bills with Gitlab and dataviz(lafabriquedelaloi.fr ↗)

31 points · by Yomguithereal · 12y ago · 4 comments

27.

Sigma.js, a JavaScript library dedicated to graph drawing(sigmajs.org ↗)

170 points · by Yomguithereal · 12y ago · 36 comments