Better HN
topnewbestaskshowjobs
Log inSign up

BadInformatics

342 karma · joined Jun 21, 2020 (6y ago) · 175 submissions

Submissions

151.

Lies we tell ourselves about developer infrastructure(youtube.com ↗)

1 points · by BadInformatics · 6y ago · discuss

comment 6y ago · link · parent

I've played 4v4 ranked on DE with friends without any (WINE-specific) crashes. This was about 6 months ago, so it's likely things are even more stable now.

comment 6y ago · link · parent

It's funny you mention ICML. After attending a smaller conference that used Gather.Town extensively for their poster session, I strongly believe ICML 2020 made the wrong decision in not trying it (outside of the sparsely populated social area/games room they had).

More specifically:

1. First off, the other conference took advantage of Gather.Town's full functionality! This included not only proper poster displays, but also sponsor screens with video embeds, virtual booths with actual humans milling about and an easy-to-navigate floorplan reminiscent of a real poster hall (numbers and all). At ICML, most of us were juggling multiple Zoom links and often forgot to or neglected viewing certain presentations because it took much effort to keep up.

2. In the same vein, ICML's poster session had none of the discoverability or ease of browsing of a physical poster gallery. You couldn't just walk past a poster, notice a crowd asking questions and pop by to listen in for a bit. The somewhat non-deterministic sorting/filtering functionality on the talks list page didn't help either. I saw a number of presenters awkwardly asking idle attendees if they had any questions, as well as folks waiting for a no-show presenter that had probably logged on for 10 minutes, seen an empty room and left the call. Gather.Town mitigates these phenomena by replicating some of the physical signals/affordances of a physical space with actual interested people around and thus makes the whole business of interacting around a poster feel more natural.

3. Post-conference, I saw many comments on Reddit and elsewhere from presenters frustrated by the lack of audience interaction and apparent appreciation/meaningful discussion for their work. It's crazy that some posters at a top-tier conference like ICML didn't get a single visitor. I think that's indicative of how poor the UX (discoverability, spatial cues, ease of browsing, etc.) was for that poster session. A platform like Gather.Town doesn't solve all of those issues, but man does it help.

comment 6y ago · link · parent

Doesn't look like OP is affliated with Deepnote? Moreso since last week's post was by the founder themselves.

comment 6y ago · link · parent

I wish I could copy and paste this on every low-effort/high-level "X tips for ML in production" article (for context, TFA's site was spamming Reddit and HN a while back). Most corporate decision makers don't know where to start when it comes to creating ML teams, so all this 12-factor stuff (PEP8 and SOLID, seriously?) isn't going to matter one wit if the necessary cultural and organizational changes aren't put in place first.

comment 6y ago · link · parent

This phenomenon is both depressing and heartening. If anything, I feel like the general CS community needs more "gotcha" moments (feat. Schmidhuber-like characters) that can bring previously-buried prior art to the surface again. That said, maybe it's a matter of wilful ignorance. I wonder e.g. how many folks looking to create new languages have browsed through HOPL...

comment 6y ago · link · parent

I have yet to see a "good" EHR. The top dollar solutions are at best usability nightmares[1] and since every major vendor is based out of the US, they all optimize for billing/CYA over reducing clinician workload or increasing the standard of care.

Do healthcare organizations cheap out on critical software components or modifications? Absolutely, all the time. Do they also spend exorbitant amounts on these bad-for-everyone-but-administrator systems? Also yes. I agree with the point many folks have made about targeting the right audience: just consulting the C-suite is a surefire way to create software end users will hate.

[1] https://news.ycombinator.com/item?id=18735023

comment 6y ago · link · parent

There are a few efforts working in this space. As you can imagine, all of them are experimental:

- Dex: https://github.com/google-research/dex-lang/ - Hasktorch: https://github.com/hasktorch/hasktorch - This initiative from the Python Typing-sig: https://docs.google.com/document/d/1oaG0V2ZE5BRDjd9N-Tr1N0IK...

comment 6y ago · link · parent

> although no one has done it yet

This may be generally true (though the benchmarks I've seen show Knet.jl and sometimes Flux.jl on par with TF/PyTorch with a single machine + single GPU), but there are definitely domains where it is categorically not. The most prominent one is neural *DEs, where the SciML [1] ecosystem has SOTA performance. You can really see Python/C++-based frameworks struggle here because they have slow "glue code" and don't (one could argue can't effectively) optimize for latency. That's not a problem for most CV models and transformers, but really stunts research into more dynamic approaches.

[1] https://sciml.ai/

comment 6y ago · link · parent

I encountered this once in an internship in Switzerland (didn't have to write any, thankfully). Quite the esoteric little platform indeed!

comment 6y ago · link · parent

As someone who uses TF/PyTorch/JAX and numba for their day-to-day DL work, I've been watching Julia's post-hype developments in this area intently. Julia has probably the most vibrant ML ecosystem of all the non-Python languages (remind me when someone has implemented a transformers library for Arraymancer [1]), and absolutely smokes Python in certain niches (e.g. neural ODEs and more under the SciML [2] umbrella, I'd argue Python is "lagging hard" there). Numba can work for speeding up simple operations, but is rife with limitations that prevent optimizing more idiomatic Python code and is an absolute pain to debug. Likewise, trying to decipher or even catch errors from deep in the C++ bowels of most modern DL frameworks is an exercise of frustration.

Python may still be the best language for non-cutting edge deep learning, but we ought to consider whether we've overfit our algorithms to the limitations of the current system [3].

[1] https://github.com/mratsim/Arraymancer [2] https://sciml.ai/ [3] https://news.ycombinator.com/item?id=20301619

162.

Ideology(destroyallsoftware.com ↗)

1 points · by BadInformatics · 6y ago · discuss

comment 6y ago · link · parent

Of course, but the flip side is that same confluence of attributes has also exacerbated issues of reproducibility. Just as science and the methods/mediums by which we conduct/disseminate it have changed, so too should the standard of what is considered acceptable to reproduce. This is especially relevant given how much broader the societal and policy implications have become.

More concretely, it is 100% fair (and I might argue necessary) to demand more of our institutions and work to improve their failures. I'm sure many researchers have encountered publications of the form "we applied <proprietary model (TM)> (not explained) to <proprietary data> (partially explained) after <two sentence description of preprocessing> and obtained SOTA results!" in a reputable venue. Sure, this might be even less reproducible 200 years ago than now, but the authors would also be less likely to be competing with you for limited funding! Debating about the traditional definition of reproducibility has its place, but we should also be doing as much as possible to give reviewers and replicators a leg up. This is often flies in the face of many incentives the research community faces, but shifting blame to institutions by default (not saying you're doing this, but I've seen many who do) is taking the easy road out and does little to help the imbalanced ratio of discussion:progress.

comment 6y ago · link · parent

I don't think that removes the need to provide enough detail to replicate the original environment though. We write one-off scripts with no expectation that they will see outside usage, whereas research publications are meant for just that! The bar isn't terribly high either: for ML, a requirements.txt + OS version + CUDA version would go a long way, no need to learn docker just for this.

comment 6y ago · link · parent

Conversely though, it is often impossible to obtain the original code to replay and identify differences once that step is reached without some sort of strong incentive or mandate for researchers to publish it. When the only copy is lost in the now-inaccessible home folder of some former grad student's old lab machine, there is a strong disincentive to try replicating at all because one has little to consult on whether/how close the replicated methods are to the original ones.

comment 6y ago · link · parent

(non-TF) Keras has notoriously bad multi-GPU support though (and was generally not well optimized. Case in point, the latest version just re-exports/forwards to tf.keras).

Looking at something like https://lambdalabs.com/deep-learning/gpu-benchmarks or https://github.com/tensorpack/benchmarks/tree/master/other-w..., multi-gpu scaling on 2080tis seems pretty darn close to linear. Plus, there are benefits to having more than one accelerator handy on a local workstation. For one, it's much easier to have multiple experiments running simultaneously or to run parallel training (e.g. hyperparameter search or RL episodes). Given that only the uber-expensive enterprise cards have proper virtualization/time sharing, trying this workflow on a Titan RTX will most likely be suboptimal unless you always run models that can make use of most of the memory and compute (no RNNs, no Neural ODEs, etc.)

comment 6y ago · link · parent

AMD does have ROCm/HIP, hipDNN and hipBLAS (which mirror their counterparts), but these and the rest of their modern GPGPU stack suffer from a lack of polish, ineffective evangelism and subpar documentation. It's difficult to justify using them unless you work at somewhere like ORNL where folks are building new infrastructure using exclusively AMD GPUs.

comment 6y ago · link · parent

There have been a few discussions on what Vulkan needs to be competitive for GPGPU programming. https://news.ycombinator.com/item?id=22880502 comes to mind. I would also note that multi-gpu distributed synchronization (especially across nodes) is a big part of enterprise CUDA usage and doesn't seem to be well-supported in Vulkan.

comment 6y ago · link · parent

They do, but (as described elsewhere in this thread), the level of polish isn't quite up to that of the CUDA stack. Add onto that the relatively abysmal developer evangelism from AMD and it's not surprising that adoption is so low...

comment 6y ago · link · parent

> CUDA is much nicer to use than OpenCL

I think this is also part of the problem. AMD has a nearly function-for-function compatible GPGPU stack with CUDA in ROCm/HIP that fixes many of the pitfalls in OpenCL, and even provides automated translation tools for CUDA developers switching over.

However, this stack is so poorly documented and marketed that the mass majority of developers still associate AMD == OpenCL. Add onto that the lack of Windows, MacOS and Navi GPU support, and you've removed a ton of opportunities/incentives for folks to experiment with the platform.

171.

Disk space and LTO improvements in Rustc and Cargo(blog.rust-lang.org ↗)

4 points · by BadInformatics · 6y ago · 1 comment

comment 6y ago · link · parent

`uploadImage`, `createWithArray` and `createWithList` also read suspiciously like RPC endpoint names. Not that one should depend on such URLs having meaning in a REST system, but this is arguably more egregious than the SocialSite API (http://web.archive.org/web/20090123123719/http://wikis.glass...) that Roy Fielding was tearing into in the blog post linked upthread.

comment 6y ago · link · parent

You can see attempts to formalize this "HATEOAS-less REST" in frameworks like the Richardson Maturity Model [1].

One less-discussed area where REST has taken hold is in indexing/SEO (i.e. the Semantic Web's success stories). JSON-LD and other RDF microformats/representations are pervasive, while crawlers are much closer to the platonic ideal of a generic client consuming the uniform interface than most web API clients.

[1] https://martinfowler.com/articles/richardsonMaturityModel.ht...

comment 6y ago · link · parent

As a counterpoint, Windows explorer still doesn't support tabs. I would also give the newest version of Ubuntu a try--NVIDIA driver support is much improved, and IMO the installation/upgrade workflow is nicer than Win 10 now (built-in driver management vs the trainwreck that is GeForce Experience).

RE 4., have you tried using something like Lutris (https://lutris.net/games/magic-the-gathering-arena/) or Proton (via Steam)? These two have essentially obsoleted all of the crazy wine wrappers and whatnot - many games are now plug-and-play :)

comment 6y ago · link · parent

Was prepared for an introduction to some novel never-before-seen method near the end, but this was a nice and well-structured summary regardless! Wanted to tack on a couple of questions/thoughts:

1. Is the author familiar with all of the recent work around neural differential equations? Latent (Neural) ODEs[1] and Neural Controlled Differential Equations[2] are already able to match or exceed the performance of GRU-D when working with certain sparse and irregularly-sampled time series.

2. More of a nitpick, but most of the models covered as working with EHR data are using clinical data instead of raw physiological signals. For example, measurements from a high-frequency physiological waveform such as an ECG are usually synthesized into something like a per-minute heart rate in a medical record. Most research working with physiological signals directly is using either traditional signal processing approaches or some form of CNN (this includes 1-D resnets and wavenet-like architectures). RNNs do pop up occasionally when dealing with dramatically downsampled signals, but seem to suffer pretty badly from catastrophic forgetting and other issues when run on longer, higher-frequency data.

[1] http://papers.nips.cc/paper/8773-latent-ordinary-differentia... [2] https://arxiv.org/abs/2005.08926

123456