News for hackers. Stuff that matters.

berfarah

Re:Iterative Optimization on Hot Paths in Go Apps on Friday October 05, 2018 @04:23PM (#18151419)
(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.

Re:Bye, Chrome: Why I’m switching to Firefox on Wednesday May 30, 2018 @03:25PM (#17190863)
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.

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.

Re:Reducing Memory Usage in Ruby on Wednesday January 24, 2018 @12:15AM (#16220512)
Ruby has one of the better communities among programming languages - disproportionate to its popularity. I wish more languages had that quality of discourse.
Re:Neovim v0.2.1 released on Thursday November 09, 2017 @03:12AM (#15660720)
I think my comment wasn't super clear. What I meant is shift-tab in terminal emulation, which wasn't registering correctly.
Re:Neovim v0.2.1 released on Thursday November 09, 2017 @03:11AM (#15660719)
I should have been more clear. Shift tab wasn't registering correctly in terminal emulation.
Re:Neovim v0.2.1 released on Wednesday November 08, 2017 @04:25AM (#15650855)
My favorite thing in this release is that shift+tab works in the terminal now.
Re:Relicensing React, Jest, Flow, and Immutable.js on Friday September 22, 2017 @07:32PM (#15316891)
Flow is specifically mentioned in the linked release as getting rid of it...
Re:Say hello to Google Allo: a smarter messaging app on Wednesday September 21, 2016 @01:49AM (#12545723)
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

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.
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.
Re:Member of The European Union on Monday June 20, 2016 @11:51AM (#11938796)
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.

Re:iTerm2 version 3 beta released on Wednesday June 01, 2016 @10:02PM (#11819852)
:) Fantastic, that's the setting!
Re:iTerm2 version 3 beta released on Wednesday June 01, 2016 @10:00PM (#11819848)
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.
Re:iTerm2 version 3 beta released on Wednesday June 01, 2016 @02:06PM (#11816730)
I would love to get more information on this. I'm not seeing `:set guicolors` as a valid option.
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
Re:Atom text editor 1.7.0 released on Thursday April 14, 2016 @10:43AM (#11497102)
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.
Re:Dsxyliea on Friday March 04, 2016 @12:09AM (#11222143)
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.
Re:How to get hired at a startup when you don't know anyone on Wednesday February 17, 2016 @03:28PM (#11121039)
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

Re:LogMeIn acquires Lastpass on Friday October 09, 2015 @10:40PM (#10364249)
Please no :(
Re:LogMeIn acquires Lastpass on Friday October 09, 2015 @10:54AM (#10360394)
Dashlane is phenomenal for sharing passwords and excellent for auditing them.
Re:Go 1.5 is released on Wednesday August 19, 2015 @06:26PM (#10088978)
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?

Re:Phusion Passenger 5.0.1 “Raptor” Released on Wednesday March 04, 2015 @12:58PM (#9146039)
Awesome, looking forward to their docker image with this. Using their images has made my projects a lot easier to bootstrap.
Re:Replace CoffeeScript with ES6 on Friday January 30, 2015 @12:32AM (#8970587)
Care to list some? I'm always interested in seeing what's out there
Re:Google Inbox on Thursday October 23, 2014 @04:12PM (#8500482)
No doubt, was just funny in this context.
Re:Google Inbox on Wednesday October 22, 2014 @06:12PM (#8495531)
I like the irony of using a conventional email message to request beta access to the next generation of email too.
Re:Stay away from This* (thiswebhost.com) on Tuesday August 16, 2011 @01:46PM (#2892153)
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.

Re:Stay away from This* (thiswebhost.com) on Tuesday August 16, 2011 @11:10AM (#2891431)
Thanks, I'm looking into that.
Re:Stay away from This* (thiswebhost.com) on Tuesday August 16, 2011 @11:01AM (#2891404)
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.

Re:Stay away from This* (thiswebhost.com) on Tuesday August 16, 2011 @04:32AM (#2890365)
Hey - the customer in question here. I'll admit, it was really stupid, definitely a mistake - I was really angry. My friend had just told me my site was down, and I got an email saying my account had been terminated, and then to top it off, a tweet saying "good luck finding your next hosting provider".

The "go fuck yourself" was a kneejerk reaction to a guy clearly enjoying his powertrip.

Older »