2,613 karma · joined Nov 15, 2013 (13y ago) · 775 submissions
comment 7y ago · link · parent
To my eyes, the letter "A" in English (Latin), Greek, and Russian (Cyrillic) looks identical. Why does it need three separate code points? Maybe it gets tricky when the relationship between uppercase and lowercase diverges. In fact, that does appear to be one of the arguments in this technical note:
comment 7y ago · link · parent
My three favorite C++ books are C++ Common Knowledge, Modern Effective C++, and Effective C++. Two of those predate C++11, but most of the advice is still applicable.
As for introductory texts, I guess there's: Accelerated C++, C++ Primer, Discovering Modern C++, A Tour of C++, and of course C++ Crash Course (the book under discussion).
I wouldn't get too hung up on "modern" C++. The vast majority of C++ programmers learned the old stuff (the vast majority of which is still valid), then caught up on the new stuff with Effective Modern C++, blog posts, etc. Just as it's useful to know C before you learn C++, it's useful to know old C++ before you learn modern C++.
comment 7y ago · link · parent
Maybe it's because I've spent so much time in dynamically typed languages, but I see var/auto as absolutely essential to making static typing palatable. I'm a big fan of static typing, but I would be much less so if I had to do it without inference/deduction.
comment 7y ago · link · parent
comment 7y ago · link · parent
I think the table is misleadingly presented as comprehensive ("the set of container images"). If you follow the "RHEL 8 How To" link at the bottom of the page, you'll find a larger table that indeed includes python-36. It doesn't seem to be usable out of the box, but I was able to pull it with Docker:
$ docker pull registry.access.redhat.com/ubi8/python-36
Now I need to read up on S2I and podman.Edit: not sure what I did wrong the first time, but it does work fine in Docker:
$ docker run --rm -it registry.access.redhat.com/ubi8/python-36 python
Python 3.6.8 (default, Apr 3 2019, 17:26:03)
[GCC 8.2.1 20180905 (Red Hat 8.2.1-3)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>>comment 7y ago · link · parent
https://developers.redhat.com/blog/2019/05/07/what-no-python...
This is an instance of what they're calling application streams, as explained in another post:
https://developers.redhat.com/blog/2018/11/15/rhel8-introduc...
comment 7y ago · link · parent
With an MIT founder, we hire a lot of MIT grads. After that, I didn't think it mattered much, but then I was involved in hiring a summer intern. HR gave me a couple hundred resumes, almost all from elite schools: MIT, Harvard, CMU, Brown, Yale, etc. I ended up picking someone from Yale, who was fantastic, but I can't help but thinking that the apparent school filter kept me from seeing a lot of great candidates.
comment 7y ago · link · parent
If your input contains "traffic", you don't necessarily want NFC to insert the "ffi" ligature and turn it into "tra\ufb03c". The ligature is generally a poor choice in a monospaced font, for example.
Similarly, if you've gone to the trouble to insert the ligature, you don't necessarily want NFD to strip it out. However, with NFKC or NFKD, a search for "traffic" will find the string.
comment 7y ago · link · parent
One other consideration for a music collection from CDs is getting a good rip in the first place. I've had some horrible rips in iTunes, even with error correction enabled. I have much more confidence using a tool like XLD that supports AccurateRip, which probably doesn't work with a lossy format.
If you want to transcode after the rip, fine, but you may as well hang on to the FLAC.
comment 7y ago · link · parent
comment 7y ago · link · parent
I get that open source business models are hard, especially in an increasingly commoditized space like databases. Still, it rubs me the wrong way when a business wants the goodwill of open source, then tries its hardest to bend the rules in its favor.
comment 7y ago · link · parent
From a Washington Post article on this study: "LastPass had me speak with its top technical executive -- but it also got [lead researcher] Bednarek banned on Bugcrowd, the site for researchers to report flaws, because he disclosed the bug to me."
https://www.washingtonpost.com/technology/2019/02/19/passwor...
More from CyberScoop:
https://www.cyberscoop.com/bugcrowd-adrian-bednarek-lastpass...
comment 7y ago · link · parent
https://www.washingtonpost.com/technology/2019/02/19/passwor...
More from CyberScoop:
https://www.cyberscoop.com/bugcrowd-adrian-bednarek-lastpass...
comment 7y ago · link · parent
comment 8y ago · link · parent
I hadn't fully appreciated prior to this post that .NET Core has things that aren't in .NET Framework, let alone .NET Standard. I thought it was a portable subset (a core, if you will) of the full .NET languages and APIs. I don't know whether that makes me more interested in Core, but I'm certainly less inclined to target any other flavor.
comment 8y ago · link · parent
As a home user, I just might get this instead of building another hackintosh, but my guess is that it will be less interesting priced with a usable configuration. If the memory and storage is user upgradable, on the other hand ...
Edit: if I max out a Mac Pro's memory and storage, it comes to US$4,800. A comparable Mac Mini is US$3,300, and I can spend $800 to double the storage to 2TB. I definitely see us getting these at work.
For home use, I like that I can upgrade the memory, but Apple is predictably marking up the storage big time.
comment 8y ago · link · parent
var averagePosition;
if (count > 0) {
averagePosition = {
x: positionSum.x / count,
y: positionSum.y / count
};
} else {
return {x: 0, y:0};
}comment 8y ago · link · parent
My biggest problem is actually connecting mail, calendar, and contacts to Google. Whereas it works out of the box on my Macs, I have not been able to get them working in Windows 10. I've fiddled with 2-Step Verification and Allow less secure apps. I can get mail working over IMAP by enabling 2-Step Verification and using an application-specific password, but I've had no luck with calendar or contacts.
I presume I would have the same problem with Microsoft hardware.
comment 8y ago · link · parent
https://github.com/tensorflow/tensorflow/issues/20517
Somewhat off topic: I'm rediscovering the dance required to set up a new Windows 10 laptop with Python, CUDA, and TensorFlow. If I understand correctly, pyenv does not work on Windows. Is there something similar?
Also, if I installed TensorFlow in WSL, it wouldn't be able to use the GPU, would it?
comment 8y ago · link · parent
For me, however, it's much more about comfort than typing speed or accuracy. Two of the touted advantages of Dvorak are: reduced finger travel, by putting frequent letters on the home row; and frequent alternation, by putting all the vowels on one side.
I'm intrigued by the effort grids used in designing BEAKL. I agree intuitively with the idea that the pinkies are much weaker, so perhaps a home block does make more sense than a home row.