HNHacker News
TopNewBestAskShowJobs

cbondurant

399 karma · joined October 26, 2021

submissionscomments
cbondurant··on Open source and self hostable/private file converter
This is definitely going in my bookmarks.

Though I think as long as video conversion requires uploading to a jobserver, you're probably better off just invoking ffmpeg directly. Would suffer a lot from upload and download times on files that large. Though I wouldn't be surprised if problems like that become minimal if/when the video conversions can also run pure out of WASM as well.

cbondurant··on Jupyter Notebooks as E2E Tests
The main place that I find notebooks useful is for when I want to hack away at some decently sized dataset and poke around at its details.

A lot of transformations can be very time consuming to run, and the ability to cache(for lack of a better word) the computation without having to write to disk, or utilize the python repl (which is very obnoxious to use for anything that extends past a single line of code) really speeds the process up.

An example would be: pull a large json from a server. Then break out a new code block to do all of your different manipulations on that json. Lets you prototype around with the object you pulled from the server without having to worry about, among other things - Dealing with how slow reading it from server is - writing it to disk and then reading it from disk to deal with how slow that is - the latency of parsing the file on each run of your script - the list goes on.

These arn't things that you want to worry about when your current questions are "what does the structure of this look like" and "what are some of the basic statistical properties of this data". Notebooks are like the python repl with the benefits of having a proper multi-line text input.

I've never even heard of people using notebooks for report generation, and honestly I'd agree that sounds like a complete nightmare.

cbondurant··on Show HN: Alzheimer's Buddy: Use Flashing Light and Sound at 40Hz
I feel like it would be more ethically responsible for this site to put the warning it has at the top of the screen instead of the bottom. For no other reason than to be as clear as possible that this is an unproven but plausible treatment strategy.
cbondurant··on Higher vehicle hoods significantly increase pedestrian deaths, study finds
the current pavement princess trends have left me doubting that any more regulation of any kind will happen in the US.
cbondurant··on Ask HN: What to do with text from old, unarchived, online forums?
I do wonder about the relative cost of paper to digital storage mediums of the time. It could be that would have something to do with it.

Take for example the fact that (testing with a 150kb block of lorem ipsum text) you could easily squeeze the text capacity of a 3.5mm floppy into around 20 pages of physical text. 10 sheets of double-side printed paper and some ink might well have been cheaper than the floppy it would be intended to replace.

Unfortunately I was unable to find any good resources on the cost-per-page of printing back in the day. So I can't really put hard numbers to this. Printing is incredibly cheap now (for text at least, printing photos uses so much ink) and I can't imagine it was all that more expensive back when most work people did still relied on printing off documents and hand signing them. (physical bill printing, checks, physical contract signing, etc.)

Of course this is all speculation on my part, I was too young to care about money and how much things cost back when the my household had floppy disks and printed things off regularly. If someone has a better memory of the time I would really be interested to hear from someone who did pay attention to those things.

cbondurant··on What is a zero refractive index material?
The first application that comes to mind for me, and of course I am not a quantum physicist so its entirely possible that my conceptions here are misguided, would be with creating even more perfectly coherent beams of laser light for use in the high precision environments of quantum laser experiments.

Possibly either at more affordable rates or to allow for an extremely temporally coherent wavefront in other shapes besides just the beam that is most commonly used? I could easily believe that there are potential experiments that are just waiting for the right technology to be viable.

cbondurant··on Toxic comments are associated with reduced volunteer activity on Wikipedia
I had to ctrl+f to navigate enough to find it but they mention that their method for identifying toxic comments is under the methods and materials section. Its just some kind of trained ML model. In that section they link to a page (Id share it directly but it clearly has some annoying "heres your temporary access key" query parameters that would probably cause the link to break super fast) that gives examples of how it ranks different kinds of comments, and I think that list of examples is enough to trust that it does at least well enough at classifying to draw at least light conclusions from.
cbondurant··on Still Love Telnet
To second the discussion everyone has about utilizing netcat instead I also want to point out that there is a tool on pretty much every linux machine ever that can perform netcat for SSL: `openssl s_client`. Ive used it on multiple occasions for toying with the HTTPS protocol and all of the features that only enable themselves when using a secure connection. It does just what netcat does, but initiates a secure SSL tunnel first.
← PreviousPage 3 of 3