Skip to content

Instantly share code, notes, and snippets.

View Witiko's full-sized avatar

Vít Starý Novotný Witiko

  • Brno, Czech Republic
View GitHub Profile
We can't make this file beautiful and searchable because it's too large.
25.758832931518555 -12.827503204345703 2.0738046169281006
-13.7992525100708 4.20018196105957 17.279329299926758
-10.49587631225586 1.2940646409988403 -12.707731246948242
3.8611440658569336 -15.003565788269043 -16.053197860717773
-8.76230525970459 -4.271994113922119 9.464016914367676
13.71536922454834 -0.8401200771331787 18.73625946044922
-10.988614082336426 -1.2058801651000977 1.7590161561965942
-18.275808334350586 -19.137815475463867 -2.1024789810180664
7.625443458557129 -10.325056076049805 3.7469522953033447
18.870302200317383 9.250248908996582 5.36542272567749
We can make this file beautiful and searchable if this error is corrected: No commas found in this CSV file in line 0.
comp.sys.mac.hardware
talk.politics.guns
talk.religion.misc
rec.sport.baseball
comp.sys.ibm.pc.hardware
comp.os.ms-windows.misc
talk.politics.misc
talk.politics.mideast
comp.sys.mac.hardware
sci.electronics
{
"embeddings": [
{
"tensorName": "The soft VSM with regularized word embeddings on the BBCSPORT dataset",
"tensorShape": [
737,
3
],
"tensorPath": "https://gist.githubusercontent.com/Witiko/c2fff1238207bb1e3ad7e48865d8ec3a/raw/bf3b0a954189f556dac07476650ddd6ef1d01d89/docsim-sparse_scm-bbcsport-1-True-True-True-100--1.0-2-vectors.csv",
"metadataPath": "https://gist.githubusercontent.com/Witiko/faed3553a6eeed93edc9f592924620b7/raw/c21c12dc88807d32e5a79dae3644ca7f0c429b77/docsim-dense_scm-bbcsport-1-True-True-True-100--1.0-2-metadata.csv"
We can make this file beautiful and searchable if this error is corrected: No commas found in this CSV file in line 0.
-6.042105197906494 0.056784726679325104 1.9964343309402466
-1.623029112815857 4.63659143447876 6.253110408782959
1.66807222366333 3.268333911895752 -2.813706398010254
1.075560450553894 2.8373401165008545 4.059364318847656
2.2727134227752686 -3.114814281463623 -8.626872062683105
-11.0668306350708 1.0132794380187988 7.732623100280762
-3.431757926940918 -16.058778762817383 1.516681432723999
6.394355773925781 -12.617380142211914 3.0361790657043457
5.27213716506958 1.37405264377594 -14.297883033752441
-6.678133487701416 6.447080612182617 1.683692455291748
{
"embeddings": [
{
"tensorName": "The soft VSM with non-regularized word embeddings on the BBCSPORT dataset",
"tensorShape": [
737,
3
],
"tensorPath": "https://gist.githubusercontent.com/Witiko/faed3553a6eeed93edc9f592924620b7/raw/c21c12dc88807d32e5a79dae3644ca7f0c429b77/docsim-dense_scm-bbcsport-1-True-True-True-100--1.0-2-vectors.csv",
"metadataPath": "https://gist.githubusercontent.com/Witiko/faed3553a6eeed93edc9f592924620b7/raw/c21c12dc88807d32e5a79dae3644ca7f0c429b77/docsim-dense_scm-bbcsport-1-True-True-True-100--1.0-2-metadata.csv"
We can make this file beautiful and searchable if this error is corrected: No commas found in this CSV file in line 0.
Football
Football
Rugby
Football
Cricket
Football
Tennis
Tennis
Cricket
Football
#include <unistd.h> /* STDIN_FILENO */
#include <locale.h> /* LC_ALL, setlocale() */
#include <langinfo.h> /* nl_langinfo(), CODESET */
#include <wchar.h> /* wchar_t, putwchar() */
#include <iconv.h> /* iconv_t, iconv_open(), iconv(), iconv_close() */
#include <stdlib.h> /* malloc(), EXIT_SUCCESS */
int main(void) {
setlocale(LC_ALL, ""); // We initialize the locale
iconv_t converter = iconv_open("WCHAR_T", nl_langinfo(CODESET)); // We initialize a converter
@Witiko
Witiko / Stored.js
Last active December 22, 2015 10:59
A library that allows the storing of user data on any browser which supports either localStorage, globalStorage cookies or user data. The script makes use of the EasyCookie.js, EasyUserData.js and Comp.js libraries.
/*
Stored! - A standalone localStorage emulation library
Copyright (C) 2011 Vít Novotný
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
@Witiko
Witiko / EasyCookie.js
Created September 6, 2013 11:05
A cookie interfacing library
/*
EasyCookie library
A lightweight solution for basic cookies handing
Copyright (C) 2010 Vít Novotný
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
@Witiko
Witiko / EasyUserData.js
Created September 6, 2013 11:05
User data (IE-only data storage technique) interfacing library
/*
EasyUserData library
A lightweight solution for basic userData handing
Copyright (C) 2010 Vít Novotný
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.