Better HN
topnewbestaskshowjobs
Log inSign up

berfarah

131 karma · joined Aug 16, 2011 (15y ago) · 31 submissions

Submissions

comment 8y ago · link · parent

(author here)

Good question! Because this is on a hot code path, we were allocating new values faster than the garbage collector was able to remove them. Over extended periods of time, the server would trend toward running out of memory.

comment 8y ago · link · parent

I did for a while. Around version 58 it started performing better again. Then something in v60 caused a bunch of CPU spikes again, so I'm using Developer Edition, which is on v61 and doesn't have that issue.

I would say 99% of the time, Firefox is great for me. There are occasional sites that I open in Chrome - either because of video choppiness or JS going out of control on a page.

However, I would love it if it were less of a gamble when upgrading versions.

comment 8y ago · link · parent

Do you mind expanding on what you mean? When I look at the instructions here, they seem pretty concise.

`export` -> exports the thing

`default` -> if you require from this module, this is the default

`class` -> class definition

`extends` -> speaks for itself

`Controller` class it's extending.

You could maybe rework it so you don't export it on the same line:

```

class Foo extends Controller {}

export default Foo

```

The parallel I see here to Java is the object orientation - which is a fair criticism. There are probably ways to execute on this using other mechanisms other than inheritance. But then, sub-classing to me still feels better than assigning the prototype via direct assignment.

comment 8y ago · link · parent

Ruby has one of the better communities among programming languages - disproportionate to its popularity. I wish more languages had that quality of discourse.

comment 9y ago · link · parent

I think my comment wasn't super clear. What I meant is shift-tab in terminal emulation, which wasn't registering correctly.

comment 9y ago · link · parent

I should have been more clear. Shift tab wasn't registering correctly in terminal emulation.

comment 9y ago · link · parent

My favorite thing in this release is that shift+tab works in the terminal now.

comment 9y ago · link · parent

Flow is specifically mentioned in the linked release as getting rid of it...

comment 10y ago · link · parent

I think the way they see it is:

Voice is basically deprecated

Hangouts is enterprise

Allo and Duo compete with Whatsapp/iMessage and Facetime/Skype respectively

comment 10y ago · link · parent

Don't you have

  React.PropTypes.shape({
    foo: React.PropTypes.string,
    bar: React.PropTypes.shape({
      fieldNum: React.PropTypes.number
    })
  })
? I'm not saying it isn't verbose, but I'm pretty sure that as of a few months ago, this existed in React natively.

comment 10y ago · link · parent

I don't know how you would handle all the banking websites that simply break or log you out if you accidentally go back a page.

comment 10y ago · link · parent

I feel like your comment is misleading. People who are military trained have guns - but no ammunition. Ammunition is harder to come by. People are psychologically evaluated before they join the military.

And the union thing - Switzerland is part of the economic area, officially, and observes a lot of treaties/agreements in exchange for the benefits they get. This is a point of contention in Swiss politics as some feel like Switzerland gets pushed around a lot.

comment 10y ago · link · parent

:) Fantastic, that's the setting!

comment 10y ago · link · parent

Hmm, I just installed vim-7.4.1868, so maybe they removed it again? The closest thing I have is `termguicolors`, which I believe was there before.

comment 10y ago · link · parent

I would love to get more information on this. I'm not seeing `:set guicolors` as a valid option.

comment 10y ago · link · parent

Hanami has really good code quality: it's really easy to understand from a newcomer's perspective and is full of examples: https://github.com/hanami

comment 10y ago · link · parent

I'm unreasonably excited about `do` `dop`'s order being changed. I didn't realize that's what had happened in an earlier release, and writing blocks in Ruby has just been ever so slightly annoying.

comment 10y ago · link · parent

I have ADHD PI and I definitely struggle with this. The worst is when I skip to a random word and completely forget what I was doing in the first place.

comment 10y ago · link · parent

If you're the author: Typo here (I assume): > At they time they had 10 employees

I found the Raleway text really hard to read, personally changed it. It might just be how it looks on Mac or Mac retina, but it was very light.

I think there's a middle ground in there somewhere

comment 11y ago · link · parent

Please no :(

comment 11y ago · link · parent

Dashlane is phenomenal for sharing passwords and excellent for auditing them.

comment 11y ago · link · parent

This might be a dumb question: What happens if you find a bug in the language? Let's say something that you had written in C was being misinterpreted, and now the go compiler still uses that byte-code to compile new versions of the compiler.

Or is that something that isn't really possible?

comment 11y ago · link · parent

Awesome, looking forward to their docker image with this. Using their images has made my projects a lot easier to bootstrap.

comment 11y ago · link · parent

Care to list some? I'm always interested in seeing what's out there

comment 12y ago · link · parent

No doubt, was just funny in this context.

comment 12y ago · link · parent

I like the irony of using a conventional email message to request beta access to the next generation of email too.

comment 15y ago · link · parent

Let's just be fair here for a second: I was paying for maybe a 16th of what you would get on Mediatemple for half the price.

But I'm taking people's advice - I will now look into paying over $10-15 per month - I don't want to risk something like this again.

comment 15y ago · link · parent

Thanks, I'm looking into that.

comment 15y ago · link · parent

Let me be clear (customer here) I told him to go fuck himself AFTER he cancelled not only my account, but that of my friend's. And he did this on a few tweets, based on our Twitter handles - had we been using pseudonyms, that could have been a whole different can of worms.

Yes, I got really riled up. Yes, I'm not free from blame. It's kind of ridiculous to delete someone's account based on a personal dispute with no prior notice.

12