Readit News logoReadit News
delosrogers commented on A student’s desire to get out of a exam led to a compression algorithm   quantamagazine.org/how-lo... · Posted by u/the-mitr
hackcasual · 3 years ago
Huffman trees are really cool and a neat little example program to put together.
delosrogers · 3 years ago
Agreed, I had a lot of fun putting a toy one together, even if my compression format was worse in every way than a real format and my implementation quite inefficient
delosrogers commented on Difficult situation on campus: traffic jam of food delivery robots   twitter.com/seanhecht/sta... · Posted by u/danso
tvorog · 4 years ago
Anybody knows who make these robots and what model is it? Can i buy this robot?
delosrogers · 4 years ago
They’re from a company called Starship but I’m not sure who actually makes them
delosrogers commented on Snap is Scheme disguised as Scratch [pdf]   people.eecs.berkeley.edu/... · Posted by u/juliangamble
delosrogers · 4 years ago
I first learned to program with Snap! and I really enjoyed learning recursion and other basic techniques with it.
delosrogers commented on Autocorrect errors in Excel still creating genomics headache   nature.com/articles/d4158... · Posted by u/tchalla
delosrogers · 4 years ago
This exact problem burned me when I started doing transcriptomics, one of the things I found that helps mitigate the problem is to always keep both the gene symbol and a ID like an Ensemble or Entrez ID for every data point because those don’t get mangled by Excel
delosrogers commented on Autocorrect errors in Excel still creating genomics headache   nature.com/articles/d4158... · Posted by u/tchalla
OptionX · 4 years ago
Can anyone with first hand experience on this tell shed some light on why stick with Excel versus using python, R or what have you to treat the data?
delosrogers · 4 years ago
From my experience Python/R can be great when you have large scale analysis to do but if you have a task that requires more manual fiddling with the data then it’s much nicer to use Excel.
delosrogers commented on Pandas API on Apache Spark – Part 1: Introduction   blog.madhukaraphatak.com/... · Posted by u/kristianp
delosrogers · 4 years ago
I wonder how this compares to Dask. It also uses the pandas API and is distributed but is built on top of pandas instead of spark
delosrogers commented on Malicious PyPI packages stealing credit cards and injecting code   jfrog.com/blog/malicious-... · Posted by u/hpb42
HALtheWise · 4 years ago
It seems to me like one low hanging fruit to make a lot of these kinds of exploits significantly more difficult is protection at a language level about which libraries are allowed to make outgoing HTTP requests or access the file system. It would be great if I could mark in my requirements.txt that a specific dependency should not be allowed to access the file system or network, and have that transitively apply to everything it calls or eval()'s. Of course, it would still be possible to make malware that exfiltrates data through other channels, but it would be a lot harder.

I am not aware of any languages or ecosystems that do this, so maybe there's some reason this won't work that I'm not thinking of.

delosrogers · 4 years ago
If I’m not mistaken I think that some languages with managed effects allow you to do this through types. For example, in Elm HTTP requests have the type of Cmd Msg and the only way to actually have the IO get executed is to pass that Cmd Msg to the runtime through the update function. This means you can easily get visibility, enforced by the type system, into what your dependencies do and restrict dependencies from making http requests or doing other effects.

u/delosrogers

KarmaCake day8February 25, 2021View Original