HNHacker News
TopNewBestAskShowJobs

thought_alarm

5,145 karma · joined April 6, 2010

submissionscomments
thought_alarm··on iMac Pro Appears to Include A10 Fusion Chip for Always-On ‘Hey Siri’
Every iOS app already runs natively on Intel. Adding an ARM co-processor to the Mac doesn't change that situation.
thought_alarm··on If macOS High Sierra shows your password instead of the password hint
How did Disk Utility.app go from being one of the great built-in OS X utilities to the embarrassing amateurish shit show that it is today?

Perhaps the same people responsible for the file system engineering are also responsible for developing this user-facing application. They might excel at low level system engineering, but they are utterly unqualified to develop a high level GUI application.

Spend 5 minutes with the app and you'll find a half dozen bugs and amateurish mistakes. It's baffling, and it's been a problem for two years now.

thought_alarm··on Darwin-xnu: The Darwin Kernel
Tabs instead of spaces. Tsk, tsk.

https://i.imgur.com/VE7kEeC.png

"debo" must have been an intern.

thought_alarm··on Exploiting the Wi-Fi Stack on Apple Devices
Nobody is forcing you to do anything you don't want to do.
thought_alarm··on Amazon announces new Fire TV with 4K and HDR
The banner ads are now in 4K/HDR.
thought_alarm··on MacOS High Sierra
Hasn't that always been the case?

Years ago I moved all of my important passwords to a secondary keychain that remains locked for precisely this reason.

thought_alarm··on I recommend against using biometric identification
This is actually an excellent article on why you should never trust any software produced by Samsung.

Beyond that, it's pathetic click-bait.

thought_alarm··on Hacker News News Feed for the Mac Touch Bar
Are you able to use the arrow keys? From what I've heard, most people have a problem with them.

I think I could get used the keyboard overall, but the arrow keys (with full-height left/right keys) were a complete no-go. There's so little space between each key I found it impossible to position my hand over the arrows properly.

I was completely ready to buy a new MBP but those arrow keys put an immediate end to that thought.

thought_alarm··on Pascal at Apple
I'm reminded of a really great interview with Bill Atkinson where he describes (among many other things) how he initially brought Pascal to Apple and the Apple II.

https://youtu.be/6tUWoy1tJkE?t=45m

The Pascal bits are from 45:00 to about 50:00.

    ...

    My manager at the time said, no, we don't want to do this [Pascal],
    people are happy with what they got.  I overrode him and went to
    Jobs, and Jobs said "Well, I'm not convinced. I think our users are
    happy with BASIC and assembly language.  But you seem passionate
    about it.  I'll give you one week to prove me otherwise."  
    
    I was on an airplane within two hours down to UC San Diego and I
    started porting right away.

    ...
    
    The other thing that happened then is I had to plug in the disk
    routines, and their system was pretty big and that little 13-sector
    floppy disk didn't have a lot of capacity.  Well, Woz had just come up
    with a different way of encoding the data on the disk so that we could
    get more data for the same disk size, and we needed the 16-sector disk
    routines.  And so Woz came down, and I was there... I had never bothered
    to get a motel because I slept on the bench when I wasn't working.  This
    is in the computer science lab at UC San Diego.  I was busy, I didn't
    have time to go sleep. 

    But Woz came down, and I got to interact with him and it was really fun
    because he was working on installing these 16-sector disk driver
    routines, and he'd go 'type type type type type' -- and he didn't type
    in assembly language and have it assembled.  No, he'd type in 6502
    machine code.  Hex. -- He'd type in hex, and then, you know, watching
    him type and he'd go 'type type type' -- pause -- 'type type type type',
    and when he finished I asked him what was the pause?  And he said
    "forward branch, seven instructions, I had to compute the offset before
    I continued".  So, he didn't back-patch the offset, he actually looked
    at what he was going to be typing, knew how many bytes it would take...
    he was brilliant.
thought_alarm··on Radiohead album hides an app that only runs on an '80s computer
https://groups.google.com/d/msg/net.micro.mac/1CVsNTbXA6g/tS...

    From: t-jacobs@utah-cs.UUCP (Tony Jacobs)
    Newsgroups: net.micro.mac
    Subject: MultiMac MULTITASKING!
    Date: Thu, 21-Nov-85 12:12:47 EST

    ...

    It doesn't work with some programs (like MacPaint)
    and some apps need to be the first app loaded to work 
    (like MacDraw.)  When you run multiple sound apps the 
    first one run is the one that works, the rest will 
    run but you don't hear a them.

    ...
thought_alarm··on Dissecting objc_msgSend on ARM64
You have that option in performance-critical situations. The ObjC runtime does allow you to lookup a method's underlying function pointer ahead of time in order to bypass obj_msgSend.

The compiler can't do that automatically because the any method and any class can be replaced at any time. Key-value observing is a common feature that replaces method implementations on the fly at runtime.

thought_alarm··on “Which word begins with “y” and looks like an axe in this picture?”
And now, back to my thesis.
thought_alarm··on The top iPhone apps are taking up a lot more space
Actually, use of large value types in Swift can cause significant binary bloat.

https://news.ycombinator.com/item?id=14207752

thought_alarm··on Ending support for Android Market on Android 2.1 and lower
Since 2012 and iOS 6, the App Store will offer to install the most-recent compatible version of an app.

You can buy the most-recent version of app on your computer using iTunes (or a newer iOS device), and then download the last compatible version to your iOS 6 device.

thought_alarm··on Yuji Oshimoto: Best viewed with Netscape Navigator 4+ or Explorer 4+
Ditto

http://i.imgur.com/UJFM9vA.png

I was hoping to see some awesome <layer> tag action, but it wasn't to be.

thought_alarm··on Chicago's About to Get a Lot Less Orange
Many neighbourhoods did not convert to sodium lights until the 70s and 80s.

For the better part of the 20th century we used mercury-vapor street lights, which bathed the streets in soft blue light. The complete lack of red wavelengths in these lights would make a red car look black, and made humans look like vampires.

The animals and the humans will be just fine.

thought_alarm··on The 640 K Barrier
Great read.

Are there technical reasons why Microsoft didn't release a Protected Mode version of MS-DOS in the 80s, or was it just a case of trying to push users and developers to OS/2 and Windows?

It seems like such a no-brainer, especially since MS-DOS provided so few services to applications anyway. You have MS-DOS 8 and MS-DOS 16, and you let the user choose which version to boot into, or you automatically kick over to MS-DOS 16 when a Protected Mode app is launched. It seems a lot saner than forcing users to muck around in config.sys.

That people were forced to deal with the memory limitations of the 8088 PC well into the 90s is just bananas.

thought_alarm··on Google offers at least $880M to LG display for OLED investment
Curvy OLED displays are neat, but it ultimately doesn't mean anything,

It's crazy that Google isn't investing that money in software. Unless it's a hedge.

thought_alarm··on Swift 3.1 Released
The key is the `rethrows` keyword, which allows the compiler to conditionally enforce error handling based on the signature of the given closure.

The equivalent Go code would then (presumably) be these two methods:

    func drop(seq []T, while func(T) (bool)) ([]T)
    func dropWithError(seq []T, while func(T) (bool, error)) ([]T, error)
If you pass in a closure that throws (i.e., can return an error) then the compiler will require try/catch error handling at the `drop()` method call site.

If you pass in a closure that does not throw then compiler will assume that `drop()` does not throw.

thought_alarm··on German traffic light stays red for 28 years (2015)
I get why that road is signalled. It intersects right in the middle of another signalled intersection.

But in my neck of the woods we'd probably show a green right arrow when intersecting traffic from the left is stopped at a red light.

thought_alarm··on Open-sourcing Chrome on iOS

    > by controlling the stagnation of web browser tech, they can force
    > developers to implement apps with their high-lock-in native app
    > frameworks
Ah, web-developer logic. Always good for a laugh.

Yes, if Google were allowed to distribute their fork of the WebKit engine on iOS then everyone would stop writing iOS apps. Just like no one writes Android apps.

thought_alarm··on How Do I Declare a Function Pointer in C?
19 years as a C/C++/ObjC developer, and this never occurred to me.

And it works with C Blocks!

    typedef int IntegerProcessor(int);

    int executeTheFunctionPointer(IntegerProcessor* function)
    {
        return function(23);
    }

    int executeTheBlock(IntegerProcessor^ block)
    {
        return block(32);
    }

    int doubler(int a)
    {
        return a * 2;
    }

    int main(int argc, const char * argv[])
    {
        IntegerProcessor* myFunctionPtr = &doubler;

        int a = executeTheFunctionPointer(myFunctionPtr);
        printf("%d\n", a); // 46

        IntegerProcessor^ myBlock = ^(int b) {
            return a * b;
        };

        a = executeTheBlock(myBlock);
        printf("%d\n", a); // 1472

        return 0;
    }
My mind is completely blown.
thought_alarm··on Trump expresses doubts about security of all computers
America has become ridiculous.

The headline is absurd. The article is absurd. Everything about this is absurd.

thought_alarm··on Newest MacBook Pro is the first MacBook not recommended by Consumer Reports
How do you deal with the arrow keys?

I like the feel of the keyboard, but I found absolutely no way to orient my fingers over the arrow keys. There is no way tell whether I'm hitting the up arrow or the right shift.

As someone who works with text, it's a deal breaker for me.

thought_alarm··on Microsoft Solitaire Collection
113 MB of PowerVR textures and fonts (a number of fonts are included twice in an embedded framework).

48 MB of code and frameworks (including 10 MB for Swift).

http://imgur.com/a/MezGl

thought_alarm··on Pixel Security
Yes.

4+ year old iMac with dead video card. I took it to the local authorized Apple dealer, who wanted $50 to diagnose the problem.

Dealer called back and said Apple agreed to replace the video card for free and cover the $50 dealer diagnosis fee.

thought_alarm··on [dead]
Dial in to The Fiddlers Grove BBS for updates.
thought_alarm··on US carriers halt Samsung Note 7 sales and replacements
Mobile devices have been using custom-desgned batteries for the last 20+ years.

In this case, the battery manufacturer couldn't meet these particular design constraints.

thought_alarm··on Karabiner – Easy Keyboard Remapping for OS X
I've been using Karabiner for years to map the volume and media keys to a 1987 vintage Apple Extended Keyboard.

Incidentally, remapping Caps Lock to Control on that keyboard required a soldering iron and a pair of side cutters. But it works.

thought_alarm··on Restoring YC's Xerox Alto day 8: it boots
Really neat. I can't wait to see the video!

The pictures of screen look unusual, as if every second scan line is missing. Is the Alto outputting an interlaced video signal? That would be very interesting and unexpected.

← PreviousPage 8 of 28Next →