Better HN
topnewbestaskshowjobs
Log inSign up

RotsiserMho

97 karma · joined Jan 26, 2013 (13y ago) · 64 submissions

Submissions

comment 5y ago · link · parent

I wonder if they do bin them though, just not for iPhones or iPads. Perhaps today's A13/A14s that have small defects are tomorrow's Apple TV or HomePod CPUs.

comment 6y ago · link · parent

I've had good luck with VMware Fusion.

comment 7y ago · link · parent

I drive a 2013 FRS (older US version of the 86) and I'll experience weird dropouts all day like once every couple of months. Otherwise it works flawlessly. Very strange. You might try using it now and again and see if the problem "just goes away". Very frustrating though. I did not opt for the touchscreen however. I think my head unit is made by Pioneer.

comment 7y ago · link · parent

There's a fascinating write-up by John Carmack in there about porting the original Wolfenstein 3D to the iPhone. Crazy to think that was over 10 years ago.

https://github.com/videogamepreservation/wolf3dios/blob/mast...

comment 8y ago · link · parent

Terminator does as well.

comment 8y ago · link · parent

I would. Both because it's more idiomatic and because it's inevitable more functions will be added.

comment 8y ago · link · parent

You might be interested in Boost.Outcome (v2) or the proposed std::expected.

comment 8y ago · link · parent

It's called the C++ REST SDK (https://github.com/Microsoft/cpprestsdk) now and is fairly active. I've used it client-side and I've really enjoyed it.

comment 9y ago · link · parent

Thanks for taking the time to type this up. Having just written a class similar to Span in C++ I was curious as to how this would be accomplished in C#.

comment 9y ago · link · parent

I'd say for strings it's entirely domain dependent. Many problem domain's won't ever use `std::variant` but may require that all strings live in ROM, so for those domains the default behavior makes perfect sense. If you want to compare C++ to modern languages, I get it, it's obtuse, but C++ is also used in instances where other languages can't be and so has to at least support doing things that may be unintuitive in other domains. That being said it would be nice if we could deprecate things with wholly better replacements like raw pointers, raw arrays, etc.

comment 9y ago · link · parent

I've been pretty happy with Qt Creator. It's faster than CLion anyway.

comment 9y ago · link · parent

Anything that hasn't been updated to take into account C++11 is going to do more of a disservice than be of help.

comment 9y ago · link · parent

That's his reference book. It's not designed for systematic learning. It's designed as a reference, as in "cut-and-paste stuff". You want one of his other books, meant to take you from zero to literate in not just C++11 but programming in general: https://www.amazon.com/Programming-Principles-Practice-Using...

comment 10y ago · link · parent

This. So much. Declaring intent (what) is much more useful than declaring the mechanics (how). I don't typically care about the "how", just the "what". And the more readable that is, the better.

comment 10y ago · link · parent

Swift?

comment 10y ago · link · parent

I haven't tried either but I've been meaning to take a look at https://github.com/Amanieu/asyncplusplus.

comment 10y ago · link · parent

I'm pretty sure the mobile CPUs support at least 64GB of DDR3. So the memory subsystem would be desktop class but they could use the same mobile CPUs. Seems to me that might have been an option if they didn't also shrink the battery.

comment 10y ago · link · parent

I think the lack of any news on other products accounts for at least 50% of the backlash. As Apple's product line stands the only products looking forward to a USB/TB3 future are laptops. Evaluated in this vacuum, the new MacBook Pro doesn't deliver. If they had showed us new iMacs and and updated Mac Pro there would be more options and more insight into what Apple's vision of that future looks like.

comment 10y ago · link · parent

I develop in C++ and have been happy with a combination of Qt Creator and XCode.

comment 10y ago · link · parent

How does one do this for XCode builds? Especially with the sad state of the Mac Mini.

comment 10y ago · link · parent

That's essentially what the blog post he drafted said: https://kapeli.com/apple_draft

comment 10y ago · link · parent

Probably consistency with C#.

comment 10y ago · link · parent

+1 for documenting intent.

comment 10y ago · link · parent

That's quite the blanket statement. Refactoring is just as much of a problem in statically typechecked languages. I write unit tests for a large C++ codebase and find them incredibly valuable when refactoring. Typically each class has a responsibility. The unit tests verify they are carrying out that responsibility correctly. Acceptance tests validate behavior across multiple units (the hard stuff). I fail to see how unit testing in languages like C++ wastes time. We spend far less time finding and fixing bugs than when we didn't have them.

comment 10y ago · link · parent

I don't think it's a given that breaking it down introduces complexity. I've found that creating a sub-function for the sole purpose of just giving it a name does wonders for making it easier to understand the code. Names describe intent and are easier to remember than lines of code by themselves.

comment 10y ago · link · parent

Which shell are you using? With fish I find that it's history is somewhat context sensitive based on the present directory. Because of this I've found myself less frustrated when working with the history across multiple tabs.

comment 10y ago · link · parent

You might check out the latest version of iTerm2. I think it supports saving sessions (including tmux?) over a reboot.

comment 10y ago · link · parent

I think the latest version of iTerm2 (3+) supports this actually.

comment 10y ago · link · parent

I work for a medium-large sized engineering company based out of the midwest. I was not asked to sign such a document.

comment 10y ago · link · parent

Have you ever used OS X? Application state can be preserved and restored across reboots. Most apps do this automatically. Actually I haven't encountered one that doesn't.
123