HackerTrans
TopNewTrendsCommentsPastAskShowJobs

kiwidrew

no profile record

comments

kiwidrew
·2 jaar geleden·discuss
The game engines for C&C and Red Alert are full of Dune II references; as just one example, the factions (GDI/Nod or Allies/Soviets) are still called "houses" in the internal configuration files of C&C/RA.

C&C is pretty much what you get when you want to produce a sequel to Dune II but can't (or don't want to) license the Dune I.P. again so everything has to be re-skinned...
kiwidrew
·2 jaar geleden·discuss
There's also the 'reticulate' package for R, which allows you to import Python libraries and exchange objects between the two languages. It includes a proper Python engine for knitr (with matplotlib support), letting you use both R and Python code blocks in the same R Markdown document.

https://cran.r-project.org/web//packages//reticulate/index.h...
kiwidrew
·2 jaar geleden·discuss
excellent! I'm tired of search engines that optimize for natural language queries because the inevitable trade-off is that they become useless at keyword/exact queries.
kiwidrew
·3 jaar geleden·discuss
The 8088 has a four-byte instruction queue, and at times when the data bus would otherwise be idle the bus interface unit will prefetch the next instruction byte. So fetch and decode/execute are already overlapped.

What really slows down the 8088 is that each 8-bit transfer on the data bus requires four clock cycles. That means simply fetching the two-byte instruction requires eight clocks! Instruction fetch is so slow on the 8088 that it's virtually impossible to achieve the published instruction timing.
kiwidrew
·3 jaar geleden·discuss
> it's missing many many culturally specific things like accents and other diacritics

fun fact: some of the symbols included in ASCII were intended to be used as (non-spacing) diacritical marks, specifically the tilde/caret/backquote characters...

[too lazy to dig up a proper source at the moment but the Wikipedia ASCII article covers some of this]
kiwidrew
·3 jaar geleden·discuss
When implementing the decoding in silicon, each bit you want to compare requires one or more transistors; but no transistors are required for the "don't care" bits.
kiwidrew
·3 jaar geleden·discuss
What are your thoughts on handling the authenticated portions of the API? For example, retrieving the list of subreddits a user is currently subscribed to? Or posting a comment / checking the user's inbox?
kiwidrew
·3 jaar geleden·discuss
Shame that the shell script is so concise compared to the "G-expression" mess that's meant to replace it.
kiwidrew
·3 jaar geleden·discuss
Are there any alternative (open source) implementations of the _server_ side of the Reddit API? Then you could just point Teddit, Aurora, etc. at the alternative server. The only required work would be implementing the database backend which seems... feasible.
kiwidrew
·3 jaar geleden·discuss
This is fascinating, I really did not think it was possible to implement even a tiny subset of C in just 512 bytes of x86 code. Using atoi() as a generic hash function is a brilliantly awful hack!
kiwidrew
·3 jaar geleden·discuss
I miss the days when NZ was truly innovative. RealMe was very promising when first introduced.

Of course it was never going to be adopted en masse by the private sector since part of the "get approval to use RealMe on your website" was "get Parliament to pass an Order in Council adding you to the authorized users schedule".