Better HN
topnewbestaskshowjobs
Log inSign up

std_throwaway

1,687 karma · joined Feb 7, 2015 (11y ago) · 449 submissions

Submissions

comment 10y ago · link · parent

Misinformation is any information that does not follow the official guidelines laid out by the ministry of truth.

comment 10y ago · link · parent

Neither is any of the other manufacturers and yet, there is a public outcry if a notebook runs only the latest version of Windows.

The real question is if Apple missed providing drivers or if it is deliberate.

comment 10y ago · link · parent

Could someone enlighten me what the problem is with automated documentation systems?

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

Yet, we all know what happens to companies who lose their developers. It just takes a few years to materialize.

comment 10y ago · link · parent

It's still possible to release the thick "real MBP" with the old ports, big battery and up to 32/64 GB RAM.

comment 10y ago · link · parent

I'm not surprised by these numbers. I believe they targeted their market pretty well and hit that 90% of customers who would usually buy a MacBook or a MacBook Air and now pay a premium for the Pro.

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

Meetings also serve the purpose of team building. Just seeing everybody casually in a room for a few minutes lowers the barriers of communication.

comment 10y ago · link · parent

You are right but if you are in a meeting where only 5 minutes are relevant for you, you can either spend the rest sleeping or at least doing some work.

Yes, the problem is one of poor management where the system starts working against itself.

comment 10y ago · link · parent

After reading the presentation, I'm imagining the presenter has an obnoxious loudmouth voice and totally misses the point.

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

While Americans ponder about how rail is and can not be the solutions, the Chinese build train connections between megacities competing with aeroplanes in ground speed.

comment 10y ago · link · parent

This guy sounds like someone who feels the new MBP satisfies his needs well. Good for him.

There are other people with differing needs. Really. No need to put them down with straw-man rhetoric.

comment 10y ago · link · parent

Apple should have called these new MBPs Macbook without the Pro. Instead introduce the FatBookPro with the size, battery and all the ports of the last generation MBPs but add 2-4 USB-C ports.

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

Compared to the older models I'm effectively getting less at a higher price point.

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

Is this just a guess or did you investigate?

comment 10y ago · link · parent

I'd be happy if they'd kept the Magsafe and two USB3 ports and the SD-Card reader. Add 2-4 USB-C ports on top of that and I'd be happy.

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

> Some people seem to think that the MacBook is only for developers and Apple is obliged to listen to only their feedback. News flash: world doesn't revolve around hacker news.

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

> I have not seen a display or beamer that will accept DisplayPort input. Does such a thing even exist?

Highend displays with display port definitively exist. I'm not sure about beamers, though.

comment 10y ago · link · parent

I think it depends on the use case. In embedded systems bits consume energy and therefore increase cost. The battery of a satellite is much more expensive than a Chinese coal power plant.

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

But you start with a constant cost of 8 bits.

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

Zero terminated strings make a lot of sense when programming 8 bit microcontrollers:

1) No protection exists there.

2) Abstraction costs too much.

3) Store it in Flash.

4) Be happy your characters may even use the 8th bit.

comment 10y ago · link · parent

Then why are they investigating foreign products?

comment 10y ago · link · parent

At first it seemed strange that a Node.js-replacement needs a full IP stack including DHCP.

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

Usually yes. There is even a little PCB between the mainboard and the chip to get enough area for the thousands of pins.

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

People are already carrying their personal mobile surveillance devices everywhere they go.

comment 11y ago · link · parent

Bank money is also just a sequence of ones and zeroes when it is stored on the computers.

"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

Your example shows that simple statistical tests aren't always that simple. Especially when talking about small effects.

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

Ebay works like this (and to a much lesser extent Amazon). Yet we still go to ebay to discover products and many people buy them on site.

comment 11y ago · link · parent

I'm wondering how this relates to LLVM or JAVA bytecode.

comment 11y ago · link · parent

In that case you don't want to sleep. You want to wait until a condition (new data) or a timeout (100ms) occurs.

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.

1
1112131415