Catch up on stories from the past week (and beyond) at the Slashdot story archive

 



Forgot your password?
typodupeerror
Check out the new SourceForge HTML5 internet speed test! No Flash necessary and runs on all devices. ×

Comment Uncaught exception of type NSException (Score 1) 336

Hi Chris,

I just wanted to say that it's really great that libc++abi.dylib: terminating with uncaught exception of type NSException
libsystem_c.dylib`__abort:
        0x18131340c : adrp x8, 149589
        0x181313410 : add x8, x8, #0 ; =0
        0x181313414 : ldr x9, [x8, #8]
        0x181313418 : cbnz x9, 0x181313428 ;
        0x18131341c : adrp x9, 27
        0x181313420 : add x9, x9, #1393 ; =1393
        0x181313424 : str x9, [x8, #8]
        0x181313428 : stp x20, x19, [sp, #-32]!
        0x18131342c : stp x29, x30, [sp, #16]
        0x181313430 : add x29, sp, #16 ; =16
        0x181313434 : sub sp, sp, #32 ; =32
        0x181313438 : add x8, sp, #16 ; =16
        0x18131343c : add x19, x8, #8 ; =8
        0x181313440 : movn w20, #0
        0x181313444 : stp xzr, x20, [sp, #16]
        0x181313448 : orr w0, wzr, #0x6
        0x18131344c : add x1, sp, #16 ; =16
        0x181313450 : movz x2, #0
        0x181313454 : bl 0x1812c254c ; sigaction
        0x181313458 : ldr w8, [sp, #24]
        0x18131345c : and w8, w8, #0xffffffdf
        0x181313460 : str w8, [sp, #24]
        0x181313464 : str w20, [sp, #12]
        0x181313468 : orr w0, wzr, #0x3
        0x18131346c : add x1, sp, #12 ; =12
        0x181313470 : movz x2, #0
        0x181313474 : bl 0x18132880c ; symbol stub for: __printf_arginfo_n
        0x181313478 : orr w0, wzr, #0x1
        0x18131347c : bl 0x181467470 ; __pthread_workqueue_setkill
        0x181313480 : orr w0, wzr, #0x3
        0x181313484 : mov x1, x19
        0x181313488 : movz x2, #0
        0x18131348c : bl 0x18146585c ; pthread_sigmask
        0x181313490 : bl 0x18146a908 ; pthread_self
        0x181313494 : orr w1, wzr, #0x6
        0x181313498 : bl 0x1814673e0 ; pthread_kill
        0x18131349c : movz w0, #0x2710
        0x1813134a0 : bl 0x1812efb3c ; usleep$NOCANCEL
        0x1813134a4 : orr w8, wzr, #0xffffffe7
        0x1813134a8 : str w8, [sp, #24]
        0x1813134ac : orr w0, wzr, #0x3
        0x1813134b0 : mov x1, x19
        0x1813134b4 : movz x2, #0
        0x1813134b8 : bl 0x18132880c ; symbol stub for: __printf_arginfo_n
-> 0x1813134bc : brk #0x1

Comment LINQ (Score 1) 336

Once on a conference, I talked to Casey Liss (co-host of the ATP podcast). He's now an iOS developer, but at the time was still a .NET developer. He explained the basics of LINQ to me. Basically, it's an extension of the language for querying the database. In other languages, including Swift and Objective-C, you'll type your query in quotes. The compiler has no idea what's between the quotes, it's just a string for all it cares.

In C# with LINQ, the compiler offers code completion and type checking for queries and I thought that was great. I know Swift and Objective-C have Core Data, but LINQ is much more integrated. Why doesn't have Swift something like that?

Comment Re:What about Scheme? (Score 1) 141

That's how it got into Apple, but it continued to be promoted by Apple mainly in the interest of developer lock-in.

Or maybe the people developing the tools were the same people who did it at Next, and so it was the expedient thing to do? Apple was nearly broke that the time. They were in no position to "lock in" anyone.
Of course Apple, like any large large business, would prefer that their customers were locked in. But this is not an example nor evidence of it.

Comment Re:Compre to Boston's Big Dig (Score 1) 370

Road projects never improve traffic, because they never consider one until it's too late for it to be useful. The enviro-nuts use this as an example of how roads cause cars, when the truth is that with enough proper transportation, everything, including cars, would move more efficiently. But we are so far out of the middle of the curve that none of the regular rules apply.

Comment Re:Never write a keylogger. (Score 1) 169

It isn't a keylogger? I only ever used it as such, and it made a great one, configured to send every keystroke to a central server in real time, or saving a local log with every keystroke. Used it to catch a person who clocked in for overtime, then went on Yahoo Chat and did things that would have gotten him fired without the outright theft of company time.

Comment Re:I get this... (Score 1) 228

Atlantic City was supposed to have the NYC billionaires fly down in their private aircraft for a weekend of losing millions. The problem was that AC never drew the crowds. And the working class loves blowing all their money in Vegas. Losing money in AC, and you are just another loser in NJ.

Without the middle class, the place never took off. And the billionaires didn't gamble in AC. If you gotta get on a plane, 20 minutes to AC or 4 hours to Vegas, what would you choose?

The people that invested in AC were simply idiot failures. Coney Island 2. Sounds like fun, but loses money (hoping New Yorkers will come out to play with them).

Comment Re:I get this... (Score 1) 228

I paid (well, my company) $250 a night for a shithole in Excalibur next door to the Luxor. The conference was in the Excalibur, so we had to stay there, the conference room is free if enough saps stay in the full-rate lowest-quality rooms. Or something like that. For tomorrow night, the best price I could find for a Luxor suite was $443, marked down from $633. Booking site doesn't let me link the price I'm seeing. I'm not sure how you paid $90 in Luxor and 500 in Rome. I paid much less than that in Rome for a nice place. Looking now, the prices are reversed.

Comment Re: He cheated OTHER players (Score 1) 228

The players get to keep items comped by the casino. Bad call. The casino "comp"ensates you for playing a game that they are favored in. They were cheating. The players broke their obligation.

The Casino comps you to keep you playing, assuming you'll eventually lose. That their assumption was wrong doesn't change the offer of free goods. Next you'll tell me that if I take a "Free test drive" I'm obligated to buy the car, or I stole the test drive, because the dealership assumed I'd like their piece of shit. It was "comp"limentary, not "comp"ensation. https://www.merriam-webster.co...

Comment Re: Fake news != Flawed news (Score 2) 228

No. The odds never changed. The knowledge of the outcome of the hand changed. When the dealer plays by the standard blackjack rules, if all cards were dealt face-up, the odds don't change, but the knowledge of the cards does.

No different than getting casino to use dice you provide that pass the casino's checks for loaded dice but you otherwise know something special about that increase your odds playing craps.

If one learns that blowing on the dice for luck changes the outcome (say the breath causes that side of the die to be stickier), then the player, without touching the dice asks the dealer to let someone, anyone, blow on them, and you note the side that's blown on, and change your bet accordingly, you've not changed the long-term odds of the game, but have increased your knowledge of the next outcome of the roll.

The problem with these laws is that they confuse the short-term odds, the long-term odds, the odds of winning, and the odds of pulling a random card. Card counting is explicitly legal. Using skill to "change the odds" is explicitly legal. These people used a skill to change the odds. They didn't didn't change any element of chance. They didn't stack the deck. They just used x-ray vision to look at the cards, when the house still thought them unknown. The house played the wrong odds with them, but they did nothing that altered the fundamental element of chance. They could have lost money with this trick. Each hand was random. The house had just mis-calculated the odds with these skilled players. That doesn't sound like cheating to me. It sounds like using skill to gain an advantage in a game of chance, much like counting cards in blackjack.

Slashdot Top Deals

The explanation requiring the fewest assumptions is the most likely to be correct. -- William of Occam

Working...