Better HN
topnewbestaskshowjobs
Log inSign up

ComputerGuru

32,405 karma · joined Jan 3, 2008 (18y ago) · 8,297 submissions

mqudsi on most sites.
Submissions

comment 8y ago · link · parent

Or the media.

comment 8y ago · link · parent

American here, and I agree. But growing up, it was always indices.

Isn’t OED British? They recently took their dictionary behind a paywall (!!), but they recommend “indexes” while it appears accepted that it is the Americanized spelling nonetheless.

Ref https://en.m.wiktionary.org/wiki/indexes

comment 8y ago · link · parent

I’m sorry, I don’t understand. S3 storage is cheap, bandwidth is expensive. CF is free storage for in-cache items, refreshed from the S3 backend when expired, serving that bandwidth. You can’t lose money as compared to a pure S3 setup.

comment 8y ago · link · parent

AMD lost to intel a long time ago, for purely technical reasons. They had the upper hand circa 2002 or so, before intel trashed that line of development and launched the core duo platform.

comment 8y ago · link · parent

CloudFront is cheaper than S3. S3 is for storage, CloudFront is for distribution.

comment 8y ago · link · parent

zstd is incredible, but just in case the thought hasn't occurred to someone here that may benefit from it: if you're in control of the send and the receive, type-specific compression is hard to beat.

For example, if you know you're dealing with text, you can use snappy, if you know you're dealing with images, webp, videos x264 (or x265 if you only care about decode speed and encoded size), etc and then fall back to zstd only when you don't have a specific compressor for the chosen file type.

comment 8y ago · link · parent

It's very nice, I just wanted to wish you the best in this venture. It's functional, well-priced, addresses a need, doesn't claim to be more than it really is, and is pulled off very nicely.

Suggestion for more layouts.

comment 8y ago · link · parent

I have always felt it, but presumed it was "cross talk" in the optical nerves being interpreted as "movement" in the outer ear.

You might be able to experience it yourself. Just move your eyes all the way (ALL the way) to the right or left and hold them there for a second, you might hear/feel a high-pitched sensation almost like a slight tickle right where your eardrum is.

comment 8y ago · link · parent

I imagine there is an HMAC or similar that can be verified?

comment 8y ago · link · parent

Just for the record, there's another policy that says you should mind your tone when speaking to others and have some modicum of respect instead of going off like someone came at you guns blazing.

There's no reason for such an appalling level of emotional response on a forum such as this where intellectual discourse is king.

comment 8y ago · link · parent

> Hopefully an HN admin will come and fix it soon. [..] It's been fixed.

No, I fixed it myself because despite what you might believe, the intent was never to mislead and I maintain that it didn't. :)

> Because they didn't fire on it? And had no intention of doing so. You make it sound like the actually intended to shoot it down.

They absolutely did intend to shoot it down when they thought that Arafat was on it. They didn't when they learned he wasn't. At any rate, you know that's not what I was comparing, this is just what you've chosen to interpret my superlative as being in reference to.

Did you even read the article, though? There was never a belief that he was alone on that jet. And there were many occasions where Israel signed off on assassination plots that would have lead to the death of even Israeli citizens just to kill Arafat. There were even plots to blow up a stadium then time car bombs to go off outside the stadium as the people were fleeing.

These weren't aborted or called off except by the reluctance of brave individuals in the Israeli defense ministry and air force that deliberately mislead their superiors and put off pulling the trigger or confirming the identification so as to avoid the civilian collateral damage.

comment 8y ago · link · parent

Clearly I've touched a nerve here :)

> Once Mossad recognized that was the case, the operation was called off; it's not like they fired and missed.

I said the title should be "aborted at last minute" not "failed" - how can that possibly be misconstrued as implying they still tried?

> It was NOT a jet, it was a DHC-5[0]... and the article says that right in the first sentence. Saying "passenger jet" invokes a far greater scope of potential tragedy.

The NYTimes notification on my phone says "commercial jet." And as far as greater scope of potential tragedy... instead of a civilian jet with Arafat and his cronies, it was instead a civilian jet with Arafat's brother and 30 wounded Palestinian children and flight staff. How on earth is that less of a potential tragedy!?

comment 8y ago · link · parent

The sheer number of vulnerabilities that this patch fixes?

comment 8y ago · link · parent

The title may imply that they downed a commercial jet but failed to assassinate Arafat - which is definitely not the case - but I couldn't fit "Israeli officials reveal 1982 plan to execute Arafat by downing a commercial passenger jet aborted at the last minute."

This is also the same title that NYTimes uses to link to this article.

comment 8y ago · link · parent

Technology starts off slow and then, as the base of knowledge upon which one can build expands, it snowballs into daily breakthroughs and progress before plateauing and repeating.

In other words: different industries. Apples and oranges. Do you really think only programmers have creativity and innovation?

comment 8y ago · link · parent

Censorship is an authoritarian tool. It used to be carried out by the might of the sword and now it's enforced by the full weight of the law, hence the "legal censorship" as you put it.

comment 8y ago · link · parent

Article is down. Cached version: http://webcache.googleusercontent.com/search?q=cache:https:/...

comment 8y ago · link · parent

It seems the world has gone full circle and somehow we have ended up back in an authoritarian dystopia, this time one “we” ironically built and enforced ourselves.

comment 8y ago · link · parent

No, it's not. It's a Qualcomm QuickCharge 3.0 capable charger that exceeds all charge requirements and has no problem with other devices.

comment 8y ago · link · parent

Ron Wyden, Al Franken, and Rand Paul are the only consistently good guys on this, imho. I believe Wyden and Paul have worked across the aisle many times. Paul was set to filibuster the PATRIOT act extension until both dems and republicans banded together to vote to block the filibuster, limiting discussion to 30 hours.

comment 8y ago · link · parent

With crap entry-level Android phones, you could just play music or use navigation in the background while you run it off a charger and it'll never go above 2% even while it's plugged in :)

comment 8y ago · link · parent

The old title was "Official Swift forums switch to Discourse," or something along those lines. The current title ("Swift Forums") tells you nothing.

Aside: I detest Discourse. It is an abomination of good ideas mated to horrible UX by developers and designers too caught up in drinking their own koolaid to understand that most people do _not_ live in Discourse and expect the website to act the same way every other website does. Hijacking `ctrl+f` in a webpage should reserve a special spot in hell for the person that decided it was a good idea [0].

[0]: https://meta.discourse.org/t/options-to-disable-hijack-of-cm...

comment 8y ago · link · parent

I'm seeing a lot of interest in pattern matching as users that have discovered it via rust's `match` or similar want to benefit from it in $dayjob language.

C# has seen a similar push to implement pattern matching, down to the use of `_` as discard. The first iteration of this feature in C# 7 is feature light, but it's a good start, and they've promised more to come. The team behind C# has become really good at getting over NIH and embracing new technologies and techniques while somehow preserving backwards compatibility and ergonomics. Anders Hejlsberg doesn't kid around.

Here's an example cribbed from an official MSFT blog [0]:

    public static int Count<T>(this IEnumerable<T> e)
    {
        switch (e)
        {
            case ICollection<T> c: return c.Count;
            case IReadOnlyCollection<T> c: return c.Count;
            // Matches concurrent collections
            case IProducerConsumerCollection<T> pc: return pc.Count;
            // Matches if e is not null
            case IEnumerable<T> _: return e.Count();
            // Default case is handled when e is null
            default: return 0;
        }
    }
A lot of people have lamented this as the death of F#, but I think MSFT is making the right calls here.

EDIT:

Little-known fact: C# actually does have discriminated unions, and has had for a long time (from the start?) in the form of the `Exception` base class. In fact, pattern matching in C# can be "pulled off" (read: hacked together as a proof-of-concept) without the changes from C# 7 by simply using the extended catch syntax:

    class MyType1 : System.Exception
    { /* ... */ }

    class MyType2 : System.Exception
    { /* ... */ }

    void foo()
    {
        throw something ? new MyType1() : new MyType2();
    }

    void bar()
    {
        try
        {
            foo()
        }
        catch (MyType1 mtype)
        {
            //take type-specific action here
        }
        catch (MyType2 mtype)
        {
            //take type-specific action here
        }
        catch (Exception _)
        {
            //the _ was optional, but this is the `default` block
        }
    }


[0]: https://blogs.msdn.microsoft.com/seteplia/2017/10/16/dissect...

comment 8y ago · link · parent

and it doesn't look like it was designed in the late 80s.

comment 8y ago · link · parent

The DaisyDisk website is surprisingly ugly and does not do their app justice.

Here's what the app looks like: http://www.creativeapplications.net/wp-content/uploads/2009/...

Ever since I've ditched macOS I've been waiting to find a similarly designed app for Windows.

EDIT: Just tried Diskitude, but it's unfortunately nothing like DaisyDisk. It doesn't do the same drill-down DD does.

comment 8y ago · link · parent

> It doesn’t help that the designers often do not code and model the experiences in animation software.

I don't think even that is a good enough reason. They simply don't approach the problem the way someone using their app would. It's the developers' problem to turn a difficult design into code, but the real problem is that even when that is done perfectly, the UX still sucks.

Every time we redesigned a major UX component of the dashboard of our (desktop) app, we would grab a random secretary, HR person, accountant, or anyone else we could find and borrow an hour of their time and just watch them try to use it without any prior preconceptions that come as a result of designing/coding the interface yourself.

It's been 10 years since we used that trick and I've moved on from that company, but I still think it's the best approach I've ever come across short of outsourcing some sort of panel testing.

comment 8y ago · link · parent

Tongue-in-cheek/devil's advocate reply: I wouldn't necessarily consider building furniture a very safe team building excercise, it may just have the opposite result ;-)

https://www.huffingtonpost.com/entry/what-goes-through-every...

comment 8y ago · link · parent

I'm not arguing that one way or the other, actually.\* I'm saying that differences in innate creativity, if any, are dwarfed by their expression or lack thereof. i.e. the biggest factor is not what you have but how you use it.

This is from experience teaching people to "think outside the box" to write better code, to create/describe better models of the real world, etc. starting with people that you would swear didn't have a creative bone in their body and watching them improve dramatically.

\* (I know I kind of did argue that, but since you're asking outright, this is what I actually believe.)

1
169170171
277