1,687 karma · joined Feb 7, 2015 (11y ago) · 449 submissions
comment 10y ago · link · parent
Have they stopped to "just work" in creating an overview of all global variables, functions, classes and their inheritance?
I found it very convenient to just drop a few documentation strings at the function/class definition for looking it up later in the autogenerated documentation. Of course you can overcomplicate these things and waste time. But in my opinion autogenerated documentation is better than no documentation at all.
comment 10y ago · link · parent
Only maybe 50% of actual professionals were left without a proper option which may account for maybe 5% of their sales or even less.
comment 10y ago · link · parent
He goes on and on to put down C++ and the four book authors as if he holds a personal grudge against both. He makes it seem as if C++ programs were written by code monkeys pasting examples from books in order to make it work while other programming languages are god's word. It does not occur to me why he thinks that in C++ there should be a general solution for an iterator over any kind of collection^1. Yet C++ allows to implement data structures on the lowest level and only the programmer may know how to iterate over a certain multiply linked structure (if possible at all). The Perl counterexample looks like a straw-man to me.
I agree with you, the core of the talk comes after the talk and is not presented properly.
1: For standard collections in C++ there are iterators predefined and you can iterate over the collection easily.
comment 10y ago · link · parent
Then make an option for up to 64GB of RAM and customers would only complain about the price - but pay it because it's the best you can get.
comment 10y ago · link · parent
The Magsafe is missing - it saved me quite a few times and is very convenient.
Work with a DSLR (SD-Card) and USB-Sticks now requires adapters.
Yes, Apple is moving forward and these incompatibilities are others peoples fault who live in the past and didn't yet move on to an all-Apple ecosystem. But the sad truth is that - while I don't dislike MacOS - I don't need it. I can live with Windows or Linux just as well. I might just go back again.
comment 10y ago · link · parent
Using a USB-C adapter for Video output seems acceptable to me since VGA ain't coming back and there are quite a range of replacement connectors which are all semi-incompatible to each other. An adapter for wired Ethernet is also acceptable since you're connecting to other wires anyways. Not optimal but acceptable.
Not acceptable, though, is having to carry an adapter to connect a common USB-Stick or SD-Card. These things won't go away in the next 4 years.
comment 10y ago · link · parent
The problem is not that Apple makes hardware for non-developers (for which it may actually be a great fit and value).
The problem is that Apple stopped making hardware for developers. A group of users which were quite happy with the previous offerings of Apple. There even was a time when the MacBooks were the best value a developer could get for reasonable money. Quite a few key users will make the switch to Windows&Linux based Laptops because Apple does not deliver anymore (not even at a high price point).
comment 10y ago · link · parent
Yes, "size_t" should be just about right for everybody except the guys who _need_ to program in C/C++ and Assembler due to the hard requirements of their systems. Not very many people but very important systems.
comment 10y ago · link · parent
For 255 characters you lose 9.4 bits which is bigger than the cost of an 8 bit size field.
For 65535 characters you lose 378 bits which is much bigger than the cost of a 16 bit size field.
On the other hand you have only one string type for arbitrarily sized strings and most strings are short.
What would really be needed to be more space efficient for short and long strings is a size field with a variable length encoding. E.g. 1 byte for string lengths up to 64, 2 bytes for string lengths up to 8k, etc.
comment 10y ago · link · parent
As far as I understood this, they are building a whole operating system to be run in a VM like QEMU which then acts like a Node.js-instance - except that it's programmed in C++ and linked as one whole exeutable which also is a complete OS.
I wonder how this compares to Docker or Sandstorm where the existing kernel API is used in a virtualized container instead of emulating a whole machine.
comment 11y ago · link · parent
But this is not the case if they stack the flash chips with the controller chips. Then only a few external pins are needed for communication and power. But the flash chips actually need the silicon area for all those tiny flash cells.
comment 11y ago · link · parent
"Stealing" happens when the ownership of the money gets transferred to a third party without consent of the lawful owner.
This is what happens when bitcoins get stolen. They get transferred to somebody else and the global blockchain takes note of this. Yes you still have "your bits" but they are now worthless because nobody will accept them anymore.
comment 11y ago · link · parent
What you really want are confidence intervals which show what would be a significant change. You can calculate that from your A-data and from your B-data. If they overlap you probably aren't quite there yet.
Comparing A/A vs. B or A/A/...A/A vs. B/B/...B/B is a poor man's approach to visualize the distribution of the mean values.
Things get further complicated when doing a lot of tests. If you do hundreds of A/B-Tests and a handful show a weakly significant result that may actually be a statistical fluke. The likelyhood that a wrong seemingly significant result is present when doing hundreds of tests can actually be pretty high. You should rerun these tests with fresh data and check for consistency, which in itself is some kind of A/A/B/B-test.
comment 11y ago · link · parent
The reasoning is that you don't know how much data will arrive in the next 100ms and if you sleep either a buffer could overrun or something else could block. Therefore you need to flush the buffer either when enough data has accumulated or if a timeout has occured.