Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
kmike84
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
12 ms
·
91.
▲
by
kmike84
11y ago
Another name for it is DAFSA ( https://en.wikipedia.org/wiki/Deterministic_acyclic_finite_s... ).
92.
▲
by
kmike84
11y ago
It looks like a job for an event loop (tornado/twisted/asyncio), not for a thread pool.
93.
▲
by
kmike84
11y ago
You can store a Trie or a DAFSA in a single chunk of memory and still have blazingly fast lookups - see double-array tries. The disadvantage is that inserting/removing values is more costly, but DAFSA doesn't support it anyways.
94.
▲
by
kmike84
11y ago
DAFSA is much smaller and faster, but you can't insert new items in DAFSA once it is created, and you can't attach arbitrary values to keys.
95.
▲
by
kmike84
11y ago
There is another good DAWG/DAFSA implementation - check https://code.google.com/p/dawgdic/ . In README of https://github.com/chalup/dawggenerator it is said it takes 55s to encode http:&
96.
▲
by
kmike84
11y ago
Nice! Any plans for fancier parsing algorithms (GLL? see e.g. http://www.cs.uwm.edu/~dspiewak/papers/generalized-parser-co... )
97.
▲
by
kmike84
11y ago
https://github.com/Suor/funcy is also nice
98.
▲
by
kmike84
11y ago
It is sometimes hard to justify a dependency - many of toolz/fn.py/funcy functions are not hard to write manually. The great thing about toolz is its https://github.com/pytoolz/cytoolz counterpart which provi
99.
▲
by
kmike84
12y ago
If you have a public repository anywhere (e.g. you've forked a project on github) then you can add a specific git commit to the requirements instead of pypi version. See https://pip.pypa.io/en/latest/reference
100.
▲
by
kmike84
12y ago
Looks good! Have you tried to evaluate your splitter on some other data, on this "typically used corpora"? The evaluation quality looks too optimistic - 98% / 100% quality means you made your code to work on your examples, bu
101.
▲
by
kmike84
12y ago
Actually it is from 2012 :)
102.
▲
by
kmike84
12y ago
https://glyph.twistedmatrix.com/2014/02/unyielding.html is a good read - there are reasons why explicit sync-async "coloring" (i.e. await/yield) is better than green threads/coroutines which au
103.
▲
by
kmike84
12y ago
In modern PSD files a lot of information is stored in "descriptors"; they are all parsed in an uniform way. Some of the information (like font data) is in undocumented "Raw Data" descriptors though. The official PSD spec
104.
▲
by
kmike84
12y ago
A cynical view on this could be the following: Numenta sells licenses, cortical.io sells api requests, they benefit from more developers using their tools. Commercial companies which fund deep learning research (like Microsoft and Google )
105.
▲
by
kmike84
12y ago
Sure they can, see e.g. http://nlp.stanford.edu/pubs/SocherChenManningNg_NIPS2013.pd... or http://arxiv.org/pdf/1301.3618v2.pdf . Check the first paper - when working on this problem researchers fr
106.
▲
by
kmike84
12y ago
It is not clear that these methods work better than "traditional" deep learning methods; in fact, they haven't produced any good results yet, and most experts think the hype around CLA is not because of its technical properti
107.
▲
by
kmike84
12y ago
It doesn't look like Automately is open source, but their API looks nice (based on examples from http://blog.automate.ly/ ).
108.
▲
by
kmike84
12y ago
I was under impression PhantomJS 2.x is rather active, but of course Splash contributions are welcome, that'd be great! Splash Web UI is quite similar to PhantomJS Pad UI - by default it shows a CodeMirror text editor (with a simple au
109.
▲
by
kmike84
12y ago
A shameless plug: https://github.com/scrapinghub/splash is an open source tool similar to Phantom JS, and it has an interactive web editor built-in. The concurrency model in Splash scripts is not the same as in Phantom
110.
▲
by
kmike84
12y ago
I agree that sample sizes are small, and there is no proper analysis done - the difference can be only from a chance. But the article states the difference is statistically significant and then draws a wrong conclusion from it (not accurate
111.
▲
by
kmike84
12y ago
The article does state that the difference is statistically significant: "Curiously, the musician group seemed to select the 16-bit dithered Vivaldi as the "better" sounding version (p-value 0.047)."
112.
▲
by
kmike84
12y ago
I think the conclusion ("there was no evidence that 24-bit audio could be appreciably differentiated from the same music dithered down to 16-bits") is not correct. EDIT: I'm not sure if the conclusion is correct or not, but t
113.
▲
by
kmike84
12y ago
> If you want to install a branch instead of master in a repo, you can do Pkg.checkout("name_of_package", branch="a_branch"). This kind of package management is much better than what is currently available for Python
114.
▲
by
kmike84
12y ago
An article was unexpectingly political: it is about a tournament with all players from top-10 except for those who are Russians, an article starts with bashing Russians and ends with bashing Russians? It even manages to mention Putin severa
115.
▲
by
kmike84
12y ago
Npm is impressive, but pypi is also growing nicely - currently it has 48k+ packages (the article is from Dec 2013)
116.
▲
by
kmike84
12y ago
> The example I'm thinking of is when I was trying to create a pipeline that would output a skeleton configuration file when you passed one switch and would process and serialize the data parsed when you passed another. It was possi
117.
▲
by
kmike84
12y ago
Hey, A good feedback, thanks! > XPath selectors just plain suck. Scrapy supports CSS selectors. > The item pipeline is way too straitjacketed. You have to do all sorts of fucking around with settings in order to make the sequence of e
118.
▲
by
kmike84
12y ago
I haven't read a book, only read a whitepaper and followed news around Numenta. Another difference is that deep learning works in practice to acheive state of the arts results, beat benchmarks and drive huge production systems, while C
119.
▲
by
kmike84
12y ago
Thanks! It was a pain. Especially if you've moved from Bitbucket where "stable" links to line numbers are default.
120.
▲
by
kmike84
12y ago
> The default encoding in Python 3 is utf-8, instead of the insane ascii default in Python 2. It is only a default encoding for Python source code. Library and builtin functions can still use another defaults. For example, builtin "
More ›