HackerTrans
TopNewTrendsCommentsPastAskShowJobs

wooosh

no profile record

Submissions

Picol, a Tcl interpreter in 550 lines of C code

oldblog.antirez.com
111 points·by wooosh·4 yıl önce·13 comments

High Speed Hashing for Integers and Strings (2015)

arxiv.org
2 points·by wooosh·4 yıl önce·0 comments

Morphing Match Chain

fastcompression.blogspot.com
1 points·by wooosh·4 yıl önce·0 comments

Lz_xor

richg42.blogspot.com
156 points·by wooosh·4 yıl önce·13 comments

[untitled]

1 points·by wooosh·4 yıl önce·0 comments

Computing Adler32 Checksums at 41 GB/s

wooo.sh
98 points·by wooosh·4 yıl önce·27 comments

Fastest CRC32 for x86

github.com
12 points·by wooosh·4 yıl önce·1 comments

Computing Adler32 Checksums at 41 GB/s

wooo.sh
2 points·by wooosh·4 yıl önce·3 comments

Faster Inverse Burrows Wheeler Transform

cbloomrants.blogspot.com
4 points·by wooosh·4 yıl önce·0 comments

3D Software Rendering Technology of 1998's Thief: The Dark Project (2011)

nothings.org
126 points·by wooosh·4 yıl önce·36 comments

Beyond Markdown

wooo.sh
1 points·by wooosh·4 yıl önce·1 comments

Good Idea Bad Implementation Crosstalk (2020)

flak.tedunangst.com
2 points·by wooosh·4 yıl önce·0 comments

Scrolling with Pleasure (2017)

pavelfatin.com
20 points·by wooosh·4 yıl önce·0 comments

A whirlwind introduction to dataflow graphs (2018)

fgiesen.wordpress.com
4 points·by wooosh·4 yıl önce·0 comments

UiCA – The Uops.info Code Analyzer

uica.uops.info
2 points·by wooosh·4 yıl önce·0 comments

Derivation of Fractional Datatypes

wooo.sh
2 points·by wooosh·4 yıl önce·0 comments

comments

wooosh
·2 yıl önce·discuss
Probably not the most practical attack, but it is very possible to MITM the connection between the keyboard itself and the motherboard.
wooosh
·4 yıl önce·discuss
A similar project is rr[0], which is freely available. Like you said, I find that reversible debuggers are a huge improvement over regular debuggers because of the ability to record an execution and then effectively bisect the trace for issues.

[0]: https://rr-project.org/
wooosh
·4 yıl önce·discuss
Intel has an implementation of this technique here as well:

https://github.com/intel/hyperscan
wooosh
·4 yıl önce·discuss
Yes, this is on a single 8GB 2667MHz DIMM in a laptop.

edit: For dual channel RAM, I would suspect the throughput depends on how the kernel decides to map physical memory to virtual addresses.
wooosh
·4 yıl önce·discuss
> I doubt my current garage band could afford the OP just this moment, but I sure wish we could!

Well, I intend to finish high school at a minimum before pursuing employment :)
wooosh
·4 yıl önce·discuss
This was actually considered, and other libraries do ignore checksums, or at least have options to:

https://github.com/richgel999/fpng/issues/9
wooosh
·4 yıl önce·discuss
Unfortunately I haven’t had the time to do a proper benchmark, and the fpng test executable only decodes/encodes a single image which produces very noisy/inconclusive results. However, I’m under the impression that it doesn’t make a large difference in terms of overall time.

fpnge (which I wasn’t aware of until now) appears to already be using a very similar (identical?) algorithm, so I suspect the relative performance of fpng and fpnge would not be significantly impacted by this change.
wooosh
·4 yıl önce·discuss
Not sure if any of these would result in meaningful performance gains, but a few ideas I had:

* An avx96/avx128 version, which requires more care than avx32/avx64 because you will overflow a 16 bit signed number if you simply extend the coefficient vectors from 0..32 to 0..96/128 (e.g. 255*96 + 254*96 > 32767), but looking at it now, I realize you shouldn't actually need more than one 0..32 coefficient vector.

* The chunk length could be longer because there are 8 separate 32 bit counters in each vector, which can be summed into a uint64_t instead of a uint32_t when computing the modulo.

* As you said, aligning the loads and deferring the `_mm256_madd_epi16` outside of the loop. For deferring the madd specifically, using two separate sum2 vectors and splitting the `mad` vector into two by using `_mm256_and_si256(mad, _mm256_set1_epi32(0xFFFF)` and `_mm256_srli(mad, 16)` which should improve upon the 5 cycle latency hit incurred by the madd.

Plus I am sure there are many other opportunities to optimize this I have not thought of :)
wooosh
·4 yıl önce·discuss
Wouldn’t it be more than one person per computer though, seeing as it’s a "home" computer that would likely be shared?
wooosh
·4 yıl önce·discuss
You can debug programs that ran in the past using debuggers like rr[0], which support both recording execution for later debugging, or stepping backward in a running process.

[0]: https://rr-project.org/
wooosh
·4 yıl önce·discuss
#3 really resonates with me, writing about topics that I think I know well enough to share online often reveals gaps in my understanding and new insights.

I used to think that application was the best way to fully understand a topic, but I think writing is equally important and effective.
wooosh
·4 yıl önce·discuss
I use blogging to achieve a few goals of mine:

* Solidify my knowledge in a given topic (the best way to find out how well you really know something is to try to teach it)

* Improve at technical writing

* Create reference material that will be useful for myself (which may be useful to other people)

While it’s certainly nice to see that others visit my sites, it’s not the primary reason that I continue to produce content. However, knowing that it’s public, even if it’s possible that nobody will see it forces me to a higher standard.

I also just happen to enjoy writing about things I am passionate about, after thinking writing wasn’t for me after working on countless overly restrictive school essays.

edit: I also use it in an attempt to create the resources I wish I had when I was researching something for the first time. Many topics I find myself interested in can be hard to approach due to requiring some area of math I am not familiar with, but I feel I can explain in a simpler way compared to the encyclopedic descriptions, lecture notes, etc available online which assume some level of domain knowledge.
wooosh
·4 yıl önce·discuss
I wrote this as an elaboration on an earlier comment:

https://news.ycombinator.com/item?id=30938604
wooosh
·4 yıl önce·discuss
The definition of M is provided in the link attached to their tweet:

https://tsplay.dev/N7OPDN
wooosh
·4 yıl önce·discuss
I think they have the same issues as any other popular science publication, where they are trying to tiptoe between making it palatable for a general (math/science inclined?) audience and people familiar with the field, and end up in an awkward middle ground.

While I'm not a massive fan of their writing, they cover quite a few interesting topics. I generally find clicking straight through to the paper/research they are covering is a much better use of my time.
wooosh
·4 yıl önce·discuss
Probably the most common way people interact with Tcl is through python, ironically. Tcl has a GUI library called Tk, through tkinter, available as part of the python standard library.

Outside of Tk, Tcl pops up in a couple of odd places, usually as part of some testing system (expect(1) and SQLite use it) or build system, though use has fallen off quite a bit since the 1990s.

Placing somewhere between a lisp and shell, it's incredibly effective as a language for gluing things together and creating DSLs, and is fairly easy to embed in a manner similar to Lua.

Definitely not a perfect language, but one that I find extremely comfortable to work in and iterate quickly for certain projects.

Antirez's blog has a pretty concise explanation of Tcl's features and what makes it special:

http://antirez.com/articoli/tclmisunderstood.html
wooosh
·4 yıl önce·discuss
Wow, that's held up really well for being a couple of decades old. I really like the 2 column layout, makes it really easy to skim sections.

The format of your machine learning notes is also nice, I like the loose structure of it.

The colorscheme is also pleasant, nice to see something that isn't the typical light/dark mode, though you may want to change the color of your copyright notice though, it has very low contrast with the background.
wooosh
·4 yıl önce·discuss
Yeah, I feel similarly. I think one of the major issues is that niche forums seem to have disappeared almost entirely, and most people discover new pages through through a couple of fairly large, impersonal, content aggregators, so you see this sort of personal "web 1.0"-esque content much less often, even if they still exist.
wooosh
·4 yıl önce·discuss
The sound effects are a really nice touch.

Also love how the 3D visual has a similar alien feel to the OS/menu UI of 6th generation consoles.
wooosh
·4 yıl önce·discuss
Wow, I would have never thought of using gruvbox outside of my own tools. Looks really clean.