Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
36erhefg
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
31.
▲
by
36erhefg
11y ago
Just recently 550 miles were broken with a Tesla S, driving at an average speed of 21 mph. https://www.reddit.com/r/teslamotors/comments/3lc8hu/tesla_m... My observation, based on the driver's comme
32.
▲
by
36erhefg
11y ago
I'm surprised a plain floppy disk is considered secure because it is in an envelope. Even though that envelope requires an id to pick up, I see that similar as a message in plaintext that has a header: private - please don't read
33.
▲
by
36erhefg
11y ago
That is functionally a horrible design. Imagine a couple hundred solar systems. It is very likely that one will have exactly 8 planets with their 3rd planet being their home planet. And even if such a system doesn't exist, this map doe
34.
▲
by
36erhefg
11y ago
Well, most people share more with Google (search text) that with their closest friends. And most of them are just fine with that. Until of course they are in the spotlight. Since that almost never happens, we have this privacy apathy goin
35.
▲
by
36erhefg
11y ago
Are you suggesting those people will literally forget they are living in the real world? I don't see this happening, since they will have to occasionally take the headset off to work, eat, use toilet. What they will do is ignore the st
36.
▲
by
36erhefg
11y ago
That state is caused by addiction, that, and not VR, is the problem in the picture. The enabler can be whatever: hard drugs, nicotine, coffee, TV, VR, video games,...
37.
▲
by
36erhefg
11y ago
You are taking a strawman position. Take a look at the bigger picture, my other comment, and reevaluate.
38.
▲
by
36erhefg
11y ago
Improve your searching capabilities. https://programmers.stackexchange.com/questions/245602/why-c... ( https://stackoverflow.com/questions/7454990/why-cant-we-pass... ) And partially thi
39.
▲
by
36erhefg
11y ago
Your answer is merely a simple online search away.
40.
▲
by
36erhefg
11y ago
Op is talking about time-spans longer than we've had the internet. Don't flatter yourself by thinking you can predict the future. ( Ironically, neither Firefox nor Opera opened a .epub file out-of-the-box. So much for compatibilit
41.
▲
by
36erhefg
11y ago
You make an excellent point. With the prevalence of DRM and ownership, someday you might not be able to read your book, either due to old unsupported device or a format, or even the company going bankrupt. Even if neither of this happens, a
42.
▲
by
36erhefg
11y ago
In any case, there are significant differences at runtime as well. Look at the link I posted at your other comment.
43.
▲
by
36erhefg
11y ago
a is a label, or an alias of a memory address. It is not a pointer. ( Your third example has a mistake, the correct increment is: a+2, because pointer arithmetic increments in object size not byte size ) Read this: http://eli.theg
44.
▲
by
36erhefg
11y ago
There are whole separate chapters describing arrays and pointers in the C Standard. This is by definition a strict difference. You should read those chapters and please stop spreading this beginners misconception of C.
45.
▲
by
36erhefg
11y ago
Because a is a pointer and not an array. That is by design. When you pass an array to this function you are not copying the entire array, C is pass by value, therefore you must pass a pointer. In fact a behaving like an array would be lying
46.
▲
by
36erhefg
11y ago
Array is not a pointer. Your description of indexing is not correct, neither is the phrase "array pointer" you invented. The machine code produced will calculate the offset differently for a pointer and an array.
47.
▲
by
36erhefg
11y ago
You can omit the OO in C++ and achieve a similar code size. If that is a reasonable metric in the first place, is a question the article doesn't address.