HNHacker News
TopNewBestAskShowJobs

Shog9

999 karma · joined July 16, 2012

Developer Advocate at EDB
submissionscomments
Shog9··on Gimp 2.9.2 Released
And assuming you have dynamic keyboard shortcuts turned on (and why wouldn't you? Best thing ever.) this is about as painless as it gets.
Shog9··on Amazon Echo and integration with IoT devices
It talks to you. One might say of a person that they have a mellifluous voice; one could literally say the same of this device.

It has an appealing set of features, and a seemingly-promising future. One might metaphorically say that the device "sounds sweet".

Thus, the title is a play on words.

Or the author meant to write superfluous.

Shog9··on How do Promises Work?
If you have promises OR you have coroutines, your life is good. Either way, you don't have to choose between writing fragile sequential code and writing error-prone synchronization logic.

If you don't have either, then you'll probably end up re-implementing one or the other eventually anyway.

Shog9··on Stack Overflow and the Zeitgeist of Computer Programming
It's probably difficult to convey the scope of Stack Overflow's development in the span of a talk; I strongly encourage you to read the blogs of past and current developers, as they often go into far more detail about the concerns involved and the extreme care taken. The architecture itself is interesting, but IMHO it pales in comparison to the process that created it.
Shog9··on How do Promises Work?
Apples and oranges. You're describing a platform where it's considered acceptable for programs to block on IO and jump through hoops in rare cases where that's absolutely not ok. A set of assumptions that maybe still made sense 30 years ago, and also a leaky abstraction, but one we've become accustom to working around.

If you want that in JavaScript, you can have it; promises were created on the assumption that asynchronous logic is desirable as a matter of course.

Shog9··on Stack Overflow and the Zeitgeist of Computer Programming
Quality means many things... When it comes to the experience of the people using the site, performance - how long it takes the requested page to display - is critical; the vast majority of Stack Overflow's page requests are someone requesting a page that they urgently need to read.

That doesn't preclude other aspects of quality of course. But it does influence how they're approached. A heavily abstracted system that hurts performance is unacceptable, but there are other ways to achieve the same ends.

You might find this article interesting... http://samsaffron.com/archive/2011/03/30/How+I+learned+to+st...

Shog9··on How do Promises Work?
Sounds like a leaky abstraction. Easier to get started with maybe, but woe betide the legion of programmers who make assumptions based on the appearance of synchronous execution only to be left stranded when those assumptions don't hold.

Asynchronous execution isn't an unfortunate design choice to be papered over; better to make it as easy as possible to learn and work with.

Shog9··on Stack Overflow and the Zeitgeist of Computer Programming
You'd probably enjoy reading Spolsky's announcement for the Stack Overflow project from back in '08: http://www.joelonsoftware.com/items/2008/04/16.html

> But here's the concept:

> Programmers seem to have stopped reading books. [...]

The goal from day 1 has been to foster a community that would be empowered to create something of lasting value. That doesn't preclude hand-holding... But it doesn't demand it either; whether or not that happens is up to the folks who make up the site, the folks asking and the folks answering.

In the 7+ years since that was written, many thousands of people have donated their time and knowledge to help their peers, both in the immediate sense of writing an answer to address a specific question, and in the sense of leaving artifacts for future readers with the same question.

But of course there's room for improvement. And if you're willing to step up, you can be a part of that improvement. Go find someone who lacks knowledge and gently guide them; encourage your friends to do likewise. The platform is there, empowering you to create the environment you wish to see... If you aren't doing it, that's on you.

Shog9··on LivingSocial Offers a Cautionary Tale to Today’s Unicorns
Everyone enjoys seeing someone else get their comeuppance (which may or may not be the word you were looking for). Is that something to be proud of? Certainly not, but neither should it be particularly shocking.

If you wanna wage a campaign against this, then you might as well start with the term "unicorn", which is itself subtly mocking; after all, unicorns aren't rare: they are non-existent. The root term implies the same thing that bothers you about the derived -corpse: these valuations are irrational, and a reckoning will be had.

Shog9··on The Internet Is a Series of Lead Tubes
The lead pipes are highways. Not "information highways"; literal, people-bearing transportation systems. For a relatively short period in human history, it has been easily possible for just about anyone with a small amount of wealth to leave the place of their birth, to escape those pesky social problems that always crop up in groups, and to do so without a great deal of risk.

...And now the 'net is making the world small again and an awful lot of folks are realizing that they don't like being part of their society any more than their ancestors did. We got our scarlet letters and our witch hunts and our untouchables and our religious wars and it's all ruining our ability to laugh at the ancients because more and more we look at ourselves and see the same failings.

Shog9··on At 100, ‘Mr. Freeway’ looks back at his concrete creations
The bit you overlooked was Freedom.

Freedom to live and work in one small area, or to do otherwise. Freedom to go where you want, when you want.

Is there a cost to that? Hell yeah. But for an awful lot of people, it's worth it.

Too many time to count, I've met someone whose car was their only significant possession, the only thing of any real value they owned outright. They'd lost or sold everything else, but the car they wouldn't part with - it wasn't just transportation, but their home, and for a few dollars in gas it was heat and a lifeline to those who could help in an emergency. I guess in NYC, they'd have been sleeping on the subway somewhere... But instead, they had freedom.

Shog9··on We need less powerful languages
Seems like an argument in favor of domain-specific languages: identify the domain, and create something just powerful enough to suffice.

Indeed, most of the arguments made are the same that were used as justifications for DSLs a while back:

> The problem with this kind of freedom is that every bit of power you insist on have when writing in the language corresponds to power you must give up at other points of the process — when ‘consuming’ what you have written.

A good DSL lets you create, for example, business rules that are easy to maintain (for those familiar with the business) but don't prevent me from swapping out the implementation that drives them for something better on down the line.

Shog9··on Gmail, We Need to Talk
It's an opinion piece from a guy who... apparently... wants to put image carousels into emails and is upset that GMail doesn't let him, and yet dares to intrude upon his beautiful iOS.

Hopefully no one exposes him to the ocean of old Outlook clients with crufty Word-based HTML renderers out there; he might die of a heart attack. Mentioning Pine/Alpine would be cruel as well.

Shog9··on Twitter Sees 6% Increase in “Like” Activity After First Week of Hearts
Yeah, possibly. I saw an awful lot of favoriting immediately after the introduction seemingly meant as sort of a commentary on the change itself - explicitly favoriting to show support for favoriting. But either way, interesting to see if the trend continues.
Shog9··on Twitter Sees 6% Increase in “Like” Activity After First Week of Hearts
A week in, could easily be attributed to the Hawthorne effect; [0] if the trend continues after a month or longer, might be worth talking about.

[0] https://en.wikipedia.org/wiki/Hawthorne_effect

Shog9··on Write like you talk
Certainly makes it more conversational. If I had a nickle for every time I've heard someone mutter "damn hg"...
Shog9··on Women view professional advancement equally attainable, but less desirable [pdf]
Fold to the right length, pin, remove, sew?

Google found: http://www.themodestman.com/how-to-hem-dress-pants/ which says pretty much this but makes it sound complicated somehow.

Might be a problem if you can't reach your feet, I guess.

Shog9··on Volkswagen’s Diesel Fraud Makes Critic of Secret Code a Prophet
If you want an apples-to-apples comparison, why not look at the actual physical devices that Google is selling? To the extent that Google and VW are "competing for the same workforce", the folks writing code for the Nest, OnHub, or heck even Android are the ones you want to be thinking about anyway...

...And more importantly, the implications for the folks buying and installing these products are a hell of a lot closer to those pertaining to VW's ECUs.

If you're gonna argue for a level playing field, it probably helps to start with teams that are playing the same game, or at least one that's reasonably similar. Right now, you're arguing that Google's bobsled team would unfairly compete with VW's baseball players, ignoring that Google fields a cricket team as well...

Shog9··on Stack Exchange Is Now Stack Overflow
So... 6 years ago when it was just Stack Overflow the site? https://blog.stackoverflow.com/2009/05/welcome-new-community...
Shog9··on StackOverflow modding itself out of existence
This is one of my pet peeves as well; an awful lot of questions should be closed, but with a few exceptions it really doesn't do much good to close them years after the fact - that should be reserved for questions that time has proven are actually causing harm (attracting spam / misinformation / flame-wars) not everything that someone once thought was problematic but has been doing fine for many months anyway.

Over the past year or so, we've altered the mechanics of close voting to encourage fast closure and discourage gradual accumulation of votes. If you're interested in the details, see: http://meta.stackexchange.com/questions/250223/age-close-vot...

Shog9··on Stack Exchange Engineering: How We Built Our Blog
You realize this is the Stack Overflow blog, right? The site that hosts millions of posts written in Markdown every day? The one that's been sending templated emails written in Markdown for years?

Separation of presentation and content, man. Learn it.

You're right about Disqus though. Fortunately, there's Meta SO for real discussion.

Shog9··on Thinking Forth (1984)
This was one of the first programming books I read as a kid, after Brodie's "Starting Forth" and a bunch of not very memorable books about BASIC.

It remains the standard to which I hold all programming books I read. The author's enthusiasm and patient but never patronizing style drew me in, and the book's recognition that language and methodology are not inseparable changed how I viewed programming; the observation that design and implementation a dance rather than a handshake changed how I looked at software.

A classic worth reading even if you never intend to use Forth.

Shog9··on Why big-city barbecue is suddenly better than ever
There's something to this... Good BBQ tends to be very time- and labor-intensive. Once a place gets popular enough, something has to give - city joints can't so easily just build another pit and drop a few more picnic tables out in the parking lot. So whether the price goes up or standards slide, some of the fans will go looking for a new source.

Do this a few times and you maybe start to get wise to the idea that raving about your new hangout isn't very smart if you want to continue going there on a regular basis.

Shog9··on Microsoft Launches Visual Studio Code, a Free Cross-Platform Code Editor
And this is why it's web stack: there are no better alternatives.

For decades of trying, this is the best we've managed to do for cross-platform UIs. It ain't great, but it soundly beats the alternatives.

Shog9··on Stackoverflow: do you really still believe in private offices?
If you could find real developers via Streetview, they wouldn't be very private offices, now would they...
Shog9··on I won't be using Angular for my next project
That only works if the framework actually does work as a complete platform, though - that is, if you can get away with forgetting (or never learning) the underlying platform once. To go back to Angular, it would mean forgetting all about the non-Angular-friendly parts of the DOM, events, etc. and never needing to use them again.

I haven't written any assembly in many years now, but for a good while it was still pretty important to maintain that knowledge - you never knew when you'd need to use it for a routine here or there that was just too slow or cumbersome in C. And still, long, long after that, debugging C required at least some assembly knowledge if you wanted to get home in time for supper.

And this is where I see folks getting into the weeds with stuff like Angular: if you completely forget (or never learn) the underlying platform, it's entirely too easy to get stuck when it comes to debugging or even performance issues: you know it shouldn't take 3 seconds to render the page, but if you can't look under the abstraction then you're hosed.

So eventually, you're stuck learning the whole stack anyway. And now it's not a sunk cost: you have to forget what lies beneath every time you sit down...

Shog9··on I won't be using Angular for my next project
IME, this tends to be a problem with frameworks in general: the goal, after all, is essentially to create a new platform on which to build, but that implicitly invalidates a whole lot of knowledge your potential users have of the underlying platform.

In other words, you're asking folks to not just learn something new, but also forget something they've perhaps invested a great deal of time and energy into already.

Sometimes, that tradeoff is worthwhile. But it's never free.

Shog9··on StackOverflow Considered Harmful?
Short answer: most users can do exactly that.

There's an automated process that confirms the request via email and starts a timer that, if not cancelled, removes the account. For accounts with a non-trivial number of posts we hold them for manual confirmation just to prevent unfortunate accidents (there's no undo - more on that next) but all it involves is an affirmative response from an email associated with the account.

The longer answer is... This is one of those very early design decisions that, in hindsight, was probably sub-optimal. Ideally, account deletion would amount to nothing more than flipping a bit on a database record, at least in the short term - if someone regretted their decision a day later, no harm done; just flip it back. But things are not ideal, and deleting an account actually purges rather a lot of information that can't easily be restored - so given that a non-trivial number of users do change their minds (especially those with a long history of activity that will be lost), it's worth everyone's time to make double-sure before hitting the big red button.

We've slowly been improving the process over the past few years, but it's still no where near ideal from anyone's perspective. I could go into more detail, but... Can sum it up with, "We're now only wasting ridiculous amounts of time on this instead of utterly insane amounts of time".

Shog9··on StackOverflow Considered Harmful?
Protip: if you really want prompt action taken, just write what you need in the email and leave it at that. The folks doing support for stuff like this handle hundreds of emails a day, and every time we need to wait for a reply from someone before proceeding that's gonna slow everything down.

Blog posts are always fun, and certainly brighten up what is otherwise a dreadfully boring task, but... not really the best way to get action if that's all you're after.

Shog9··on StackOverflow Considered Harmful?
Interestingly, this "textbook for modern programmers" usage was one of the explicit goals for the site:

> Programmers seem to have stopped reading books. The market for books on programming topics is miniscule compared to the number of working programmers.

--http://www.joelonsoftware.com/items/2008/04/16.html

← PreviousPage 7 of 10Next →