Hacker Newsnew | past | comments | ask | show | jobs | submit | wdobbels's commentslogin

If their argument is that their codebase is basically unreadable, then I see why they're scared someone might find some bugs here and there.


I'd get an expert witness in there to testify basically that.

I also don't think you should code anything mission critical like this in Matlab. It's a decent language for prototyping, not for production.


The numerics in Matlab are far better than pretty much any developer can produce in production. This is why Matlab is used in production - it's vastly more reliable than people rebuilding the things it is good at by hand for bespoke solutions.


"I could whip this up in JavaScript in about NaN or [object Object] hours over a weekend!"


True. But I believe this is a case where correctness and clarity are the paramount concerns.

There should be a public reference implantation of these methods if they are going to be used in court.


Seems like mathematical clarity is what Matlab is good at, at least compared to e.g. python and C.


Most industry Matlab I've seen is similar to numpy code, heavily vectorized to make it work fast, somewhat inscrutable for everything that's not linear algebra, and a lot of assumptions about perfect floating point precision. Couple that with a unit-testing unfriendly culture and you have a code disaster. Especially on 170k lines.


Most industry C/C++/Java/Python/XXX code I have seen in production is a numerical disaster. I've been working in all these codebases for decades.

There's nothing you just wrote that is any better in any other language, except that Matlab provides a huge suite of state of the art numeric routines that almost no everyday developer could come close to making as solid.

Writing a nicely illustrated manual on brain surgery with nice fonts and proper grammar based on 11th century medicine is of little use for doing actual brain surgery.

Writing clean code based on bad numerics is also of little use for producing good results. Especially if you then have to defend that codebase in court.

Bad developers will make bad decisions in any language. At least using solid numerics underlying the code provides a huge benefit to building the entire codebase instead of on crap numerics. Every nice clean codebase I have been part of has still had crap numerics. Good numerics is nearly completely orthogonal to clean code, and it's a highly technical skill set that almost no developer has even an inkling of how to do well, no matter how pretty their formatting and documentation. I have never in 30+ years of working on highly technical teams worked with someone who really gets the nuances and details of how to do solid numerical code. I routinely get codebases and developers that do the absolute worst things numerically. I have only really good people in conferences on such topics, or online from similar filtering. These people are extremely rare in software development, to the point I don't think I've ever met on on an actual project (and the numerics when needed have always fallen to me, and I've often been selected for technical projects because such people are terribly hard to find when needed).


> I'd get an expert witness in there to testify basically that.

Sounds really expensive.


Not necessarily. I'd happily do it for a reasonable hourly rate + transportation. It would end up costing not more than a few thousand dollars, which is very reasonable given our legal system.

Hell, if it seemed outrageous enough I'd probably do it for transportation costs alone.

I'm sure I'm not the only one with this outlook.


It might not be as much as you think. I know professionals who’ve been paid a few hundred dollars to be an expert witness more than once, but usually in medicine. It’s easy money for someone if a lawyer often does certain cases that require an expert witness.


Laughs in autocoded control systems


I mean, GME has value because it is shorted so much. The goal of WSB is to go for a short squeeze (when the short positions have to be closed to avoid going bankrupt, the stock price goes up). In that regard I'd consider bitcoin to have less "value", as its price is mostly based on hype, and it doesn't really have any practical uses.


Things that annoy me on mac: - there's no volume mixer (each app having an individual volume slider) - no window snapping (before I bought BetterTouchTool, which includes window snapping, I had windows everywhere and it was just a mess) - column view in Finder is nice, it would be really useful to pick a new "root" folder for the viewer, or to move one directory up from the "root"

Things that annoy me on windows: - No tabs in explorer. Imagine having a web browser that didn't have tabs, that's how bad this is. - No preview in explorer. Mac has this awesome feature where you press space and it gives a quick overview of most files (not only images but also pdfs, .docx, ...). - No column view. Column view makes it much easier to navigate across directories, and back and forth between subdirectories of a root directory.


I use both and really miss the spacebar Quicklook on Windows, I found this 3rd party app that adds it https://github.com/QL-Win/QuickLook and works better than I expected.


I'm hoping they finally bring native tabs to their file explorer. It's annoying to have to open multiple windows if you want to browse multiple directories. In addition, I'm hoping for a "column view" like mac has.


It's had native tabs for a while now?


File Explorer does not have tabs, like a browser has. You might be thinking of the Ribbon UI?


As discussed in the article, the point is to quickly set up vim on fresh linux installations (e.g. virtual machines). For the vim on your own pc, you would likely use the full version, in addition to whatever extra config you prefer.


Indeed, pip has no dependency resolver as of now, although it is being actively worked on [1], and they did secure some funding [2].

[1] https://github.com/pypa/pip/issues/988

[2] https://pyfound.blogspot.com/2019/11/seeking-developers-for-...


We should rename North-America to North-West-America and South-America to South-East-America.


The people I know who use waze a lot (30+ min drive to work every day) have the notify icon (bottom right) clearly burned into their OLED phone screens.


It's not even mentioned in the abstract.


I'm probably missing something obvious but... Should white skin not reflect sunlight more, and dark skin absorb it more? I agree that northerners have more need to absorb sunrays and hence make more vitamin D, so shouldn't they be black?


> Should white skin not reflect sunlight more, and dark skin absorb it more?

"White" and "dark" refer to the skin's effects on visible light. Visible light is different wavelengths from UV light; vitamin D production in the skin depends on UV light. "Dark" skin blocks UV light more than "white" skin does.


Yeah, it's confusing.

I think this is how it works: The melanin is not transparent, so it stops the light from penetrating beyond the very surface, and so a smaller volume of skin cells get access to sunlight.

To go a little deeper: Sunlight does two major things in our skin. It creates vitamin D, and destroys folate. Both are essential, so the various skin colors we have reflect the balance evolution has struck in various environments.


Nope. Dark skin is an adaptation to exposure to lots of UV rays: https://en.wikipedia.org/wiki/Melanin#Evolutionary_origins

Incidentally you can test this yourself: if you go out in the summer you will tan i.e. your skin will darken. This is adaptation to lower the risk of sunburn and skin cancer.


Vitamin D synthesis happens underneath the skin, and requires UV B radiation. The dark skin is an adaptation to avoid UV damage from the normal UV levels you get at the less extreme latitudes by filtering out most of it.


Evolution makes adaptations to what it already has, unlike a sentient designer who might create an optimal design then look for ways to implement it.

If you could design a human from scratch, it might be most efficient to give northerners a D synthesizing pigment that's opaque in the necessary wavelength, resulting in the situation you describe.

Instead we have protective pigments near the surface, synthesizing structures underneath, and a need to balance D synthesis against UV damage.


It's not obvious; this confused me for a long time. The skin we call "white" is fairly transparent to UV, and the skin we call "black" is much less so. Skin is a mixture of transparency and reflectivity at different wavelengths and different depths below the surface. As such it's extraordinarily difficult to model it so it looks right, as any CGI engineer will tell you.


Melanin is deposited in the epidermis, vitamin D conversion happens deeper, in the blood vessels of the dermis.


The dark (or not so dark) layer is quite superficial, not far from surface. But the vit D production happens deeper in. For sun rays to get there, that layer must be light-colored.

Sure, some photons do get reflected, but the benefit is from those photons that get deeper into the skin.


Melanin in dark skin doesn't absorb as much UV radiation. It makes sense for people who live under the sun with relatively little protection to be dark skinned but it wouldn't make sense for people who are rarely exposed to the sun to be resistant to it.


IIRC from high school biology, the melanin in the upper skin layer absorbs the sunlight thus preventing it from going any deeper into the skin.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: