zipfle's comments

zipfle | 8 years ago | on: The large parts of America left behind by today's economy

I think the policies you cite as bad ideas do in fact enjoy broad support in the areas that enact them. "Hearts and minds" campaigns led by outsiders are notoriously difficult and prone to failure. Can you suggest a way to start the conversation about these policies in a way that you think is likely to succeed?

zipfle | 8 years ago | on: Roman Britain in Black and White

She didn't leave it out.

"I think Prof Taleb did get annoyed when I said that I had read his ‘pop risk’ book, not the others. But I was actually trying to make clear that I had some knowledge of his work, though not a lot."

zipfle | 8 years ago | on: Berkeley’s Attack on Housing

We could try to regulate away the good fortune of the people who bought the house, or we could try to convince the tech industry that they actually don't all need to be colocated, alleviating competition for resources in that area. What I've observed about human nature suggests that neither would be very popular.

zipfle | 8 years ago | on: Understanding Node.js Event-Driven Architecture

I know I'm in the minority about this, but I still prefer callbacks. In one common case, you're only doing one or two async things in a given area of the code, and in that case the async primitive you choose doesn't really matter. In another common case, you're doing a lot of async things that depend on each other's outcomes. In that case, I find that it's easier to build a reusable pattern for handling the specific type of async interaction you have using callback-based functions, whereas with promises and async/await, you tend to try to write straight line code that can't be reused and hides the asynchrony in a way that makes it difficult to debug.

zipfle | 9 years ago | on: Tracking Down a Python Memory Leak

I think that the author is defining memory leaks as permanently out of scope but not deallocated memory. In that sense I don't know of anything in vanilla Python, or Java, that would qualify as a memory leak. In the more intuitive sense of a memory leak being any failure to make objects available to garbage collection, (such as by retaining references to them in an unexpected place) leading to unchecked increases in a program's memory footprint, memory leaks are possible in either language.

zipfle | 9 years ago | on: Trying to Solve the L.E.D. Quandary

For the reference of people commenting here, the definition of quandary is "a state of perplexity or uncertainty over what to do in a difficult situation"

I imagine that if you are Sylvania, or if you are thinking about making large investments in LED manufacturing capacity, then yes, this is a quandary.

zipfle | 9 years ago | on: Requests for Startups Refreshed

Make blue apron for food pantries. One summer I volunteered on a kind of food pantry truck; twice a week, we'd load up this box truck with whatever the local supermarkets had donated-- pallets of turnips about to expire, pallets of bread, cucumbers, whatever--and we'd drive to some designated areas, set the food out on tables, and people would line up to collect a share of it. We had to limit based on availability; maybe two loaves of bread, three cucumbers, as many turnips as you want.

The donations we got were usually either past their best or unpopular or both. When food expires, there's a period when it's still fine to eat, but it's best not to leave it too long.

So if you're a single parent working two jobs, and you get home at 7:30 to make dinner and you have a turnip you need to use tonight before it goes bad, what do you do?

Wouldn't it be great if someone with great logistics skill and insight into the stocks of all the area food banks could scrape allrecipes, find the most efficient use of the stock as ingredients, and maybe move some things around so that the people waiting for the trucks could get meal kits with online instructions, rather than just bags of turnips?

Just a thought.

Edit: The cool part of this might end up being the supplier side. I imagine that a supermarket has to work much harder to donate to a food pantry than to just throw out stuff. How could you make it easier for them to donate what was really needed? Could you have finders who go around to stores, enter the stuff to be thrown out into your system, decide what it would be worth it to take, take it, and keep track of yearly donations for the retailer for tax purposes? Could you cut their waste disposal costs and save them taxes and build goodwill?

The bigger idea here is that just because the consumers of your service aren't very focused on new technology doesn't mean that technology can't drive and enable your business model. There are probably many kinds of businesses that provide services to the underprivileged that would benefit from technology in the back office even if technology isn't their product.

zipfle | 10 years ago | on: The Reductive Seduction of Other People’s Problems

A bit ot, but I've found that you can tell a good engineer by whether, when you tell them about the design of something, their first response is a question or a suggestion or criticism. With good engineers it's almost always a question.

zipfle | 10 years ago | on: What Elm and Haskell are teaching mainstream JS [video]

JavaScript's scoping is much friendlier for creating closures than Python's:

    def why_is_scoping_hard():
        n = 4
        def print_n():
            print n
        def modify_n(new_value):
            n = new_value
            print n
        return [print_n, modify_n]

    >>> print_n, modify_n = why_is_scoping_hard()
    >>> print_n()
    4
    >>> modify_n(7)
    7
    >>> print_n()
    4
When you assign to a variable it is automatically created in the local scope, shadowing a variable with the same name from an outer scope. If you don't assign to it, you get the value from the outer scope. If you try to print it, but then assign to it later, the print call raises an error.

zipfle | 10 years ago | on: Markdeep

I wonder if it would be acceptable to link to the license ( possibly also hosted on your site) instead.

zipfle | 10 years ago | on: Forcing suspects to reveal phone passwords is unconstitutional, court says

The guy quoted at the end seems to think it's the passcode itself that would be incriminating, rather than the contents of the phone. Weird. I've seen a theory that compelling someone to disclose a password can be incriminating because it is the same as asking them to admit that they stored the data in the first place, and obviously there's a case to be made that compelling disclosure of the data on the phone could be self incriminating, but the idea that the password would be something like yesiinsidertraded4 is new to me.

Edit: I missed the part where he's a former federal prosecutor. Mystery solved.

zipfle | 11 years ago | on: Google Contributor

It seems kind of convenient that the replacement for ads on the web is just a different thing that requires google to track everyone all the time.
page 1