8,487 karma · joined Feb 1, 2017 (9y ago) · 2,549 submissions
comment 6y ago · link · parent
Car driving fatality is fairly bounded. 124 ppm/year in USA.
Coronavirus 19 has the possibility to mutate and keep waving over the world, killing an unbounded number of people, which is downright terrifying. The best-case estimate of fatality is 5000 ppm and >50% of Americans getting it, that's 20x more deadly than cars.
comment 6y ago · link · parent
comment 6y ago · link · parent
comment 6y ago · link · parent
+1. All of these "compact" languages (I'd even extend it to Perl to some extent, the way some write it), are seriously lacking in the ergonomics department. Sure, J Leet Hacker might have no problem parsing pages of the stuff. What about the coworker with dyslexia, ADHD, vision problem, etc?
Even if you aren't, what are the real gains? It seems resistant to tabcomplete, git diffs are probably near-inscrutable, grepping for snippets is probably an exercise in judicious application of backslashes... it's cute, but I don't see where this holier-than-thou is coming from (not that ANY language justifies that attitude)
Edit: oops, touched a nerve, I see. I'll add to the above the 7 +/-2 rule [0]. Sure, lets say even you COULD write a program in 1/100th or 1/1000th of the lines in k. I don't WANT a source code that looks like that. Way too much information density.
I'll give them this: perhaps the criticism is that ALGOLikes are too sparse, could stand to be denser, and k is the manifestation of the far other end of the spectrum.
- https://en.m.wikipedia.org/wiki/The_Magical_Number_Seven,_Pl...
comment 6y ago · link · parent
Much of this efficiency has already occured in terms of routing optimization.
comment 6y ago · link · parent
Obviously, a plywood vent isn't hygenic. But R&D isn't a zero to one jump, you gotta start somewhere. Often it's that first spark of "wait this is something that needn't be only the domain of hospital gear companies" to inspire others to work on the problem.
Sure, a vent alone is probably not gonna improve your chance of living without the right care, but if there was a set of condensed instructions and WHO essential meds, yeah, maybe you have a shot.
This is also more about developing countries / rolling pandemics / CME-Carrington event than cov19 alone. Tell me, when was the last time you saw a panic in a trace/log to the effect of, "This should never occur." ? No one wants to be in the situation to need backups. This is part of a backup plan.
The defeatism in this thread already makes me want to go and improve the design. For one, you can get pneumatic valves which take the place of 2 or maybe even 3 of the valves on the machine.
comment 6y ago · link · parent
Also it's always amused me how dog noises are onomonopoeitized in GA English as "bark" or "woof", when dogs lack lips to make a labial plosive, and their tongues can't really form proper postalveolar approximants or velar stops. I think it has to do with how we hear the third formant.
I guess I'd transcribe it like...
/ɚa◌˞'/
It's almost like "rorch" but more glottal less velar.
https://en.m.wikipedia.org/wiki/Voiced_alveolar_and_postalve...
comment 6y ago · link · parent
You could (almost) easily replace every symbol with a single unicode rune from an abugida like katakana/hiragana (you'd need to pull from several langs as japanese famously lacks distinction between La-li-lu-le-lo and Ra-ri-ru-re-ro (らりるれろ) but there's no reason why you couldn't encode one-rune-per-phoneme.
comment 6y ago · link · parent
Pity, as it has on paper a lot of great concepts and features. Maybe it'll be mature enough someday, though my money is on something better from the ground up coming along.
Honestly, most of the portability advantage is moot nowadays. Chunk s3-like storage, smb, and ability to copy files from ext to ntfs (at least on nix) means that sharing your data across platforms isn't the struggle it used to be. Windows is rapidly becoming/already is a second class citizen in science-data heavy workflows.
I ended up going with a NAS and just file system primitives for my computer vision image workflow, works great.
https://stackoverflow.com/questions/35837243/hdf5-possible-d...
comment 6y ago · link · parent
comment 6y ago · link · parent
I have been having a bit of a rough month, one of those obdectively good on the outside view but subjectively on the inside full of self-doubt and existential angst.
This just yanked me out of that headspace, for a few moments at least.
Thank you :)
comment 6y ago · link · parent
I think multi-interpreting is the way to go, but that still would require a framework for ensuring safe memory access.
Speaking of Go, I always thought it would be neat to write a python implementation in Go, but leverage Go's GC, and implement the 'go' keyword/function for easy parallelism. But you still have the problem of scoping and memory safety. Or similar idea but with Rust. Something tells me that isn't a trivial undertaking, especially if you want all the libraries, which is 75% the point of python.
comment 6y ago · link · parent
Haldol, Thorazine, and Depakote are older but still widely used, even for disorders like bipolar. Even atypical antipsychotics are still life-changing, personality altering, potentially diabetes-inducing heavy handed tools. You yourself admit the side effects are horrible. It's far from FUD. Be glad your family member is getting appropriate treatment.
comment 6y ago · link · parent
Also, highway lane splits are very dangerous in general. It's a concrete spear with 70mph cars whizzing right towards it. Around here, they just use barrels of material, sand I believe. Somebody crashes into one, they clean the wreck, and lug out some more sand barrels. Easy and quick.
comment 6y ago · link · parent
Easy in Pandas.
Dataframes are not tables; tables are not dataframes. It's nearly as apples-to-bananas as comparing Python lists to C arrays.
comment 6y ago · link · parent
Do you want something fast using for loops and other primitives? Don't use python!
Do you want something with great stats and easy graphing but little else? Use R or similar.
Do you want all the benefits of python but want to compile the hot path? Use bindings/cython/any of the numerous inline voodoo python tools.
> The matrix product should also be rightly available without need to "import" anything
Why? Even the python stdlib requires imports. The bare language needs keywords and primitives, that's it. Any matrix operation code that loads without import is more overhead.
It sounds like you want a DSL * . Use matlab/octave/R/SPSS. But don't be shocked when you wanna wrap a gui/webpage/api around your code and it's painful.
* DSL in the loosest sense, a specialized, less general language
comment 6y ago · link · parent
https://www.sigmaaldrich.com/chemistry/solvents/learning-cen...
comment 6y ago · link · parent
That may be well and good for you, but not everyone's brain works like that. My brain is more GPU than CPU: I don't deal well with holding lots of disparate pieces of information in working memory, but I can quickly look at a problem and see many solutions as routes of data through black boxes, and determine what pipes need to plumb to where.
Why should I waste time and neural cycles on code "living" (e.g. interpreting state) in my head, when I have a perfectly good "head" for it right in front of me? Types? Linter? Formatting? That's wasted focus that could be going towards cybernetics, architecture, API ergonomics, and performance.
Before IDEs, I had a tight loop of write code, run it in repl, squash bugs, repeat. Productivity skyrocketed once I started using Spyder/codeblocks, then once again in Pycharm/Clion, and then once again when I started using type hints in python. I just started using TabNine and it's like finally I feel like my code can keep up with my brain.
Www.tabnine.com
comment 6y ago · link · parent
There is nowhere in the docker-noob's workflow where the huge distinction between a docker container instance and a super light VM actually matters.
Source: I knew nearly nothing about docker a year ago. And now I'm one of my company's go-to people for docker questions. The pain is still fresh in my mind and I see noob-pain every day :)