Better HN
topnewbestaskshowjobs
Log inSign up

nadinengland

34 karma · joined Apr 19, 2012 (14y ago) · 32 submissions

Submissions

comment 2w ago · link · parent

What aspect of it isn’t accessible? Would love to know.

comment 11mo ago · link · parent

ah, much appreciated!

comment 11mo ago · link · parent

I love that this is part of the syntax.

I typically use closures to do this in other languages, but the syntax is always so cumbersome. You get the "dog balls" that Douglas Crockford always called them:

``` const config = (() => { const raw_data = ...

  ...

  return compiled;
})()'

const result = config.whatever;

// carry on

return result; ```

Really wish block were expressions in more languages.

comment 3y ago · link · parent

I keep coming back to it and can't get better than 8 on lvl 6. Would love to know how you've done it!

comment 4y ago · link · parent

When I cook I usually have a portion I prefer. I always try my living hardest to let my wife pick which portion I have as to make it fair.

comment 4y ago · link · parent

Yeah, at previous jobs there has been a db.devopsdomain.com (etc) which acted like a bastion into the network from which you could connect with DB credentials to the actual databases.

It's convenient I will say that. I've tried not to replicate this exactly and instead have adminer running on a server on the network but only listening to localhost connections. To get access to it you can then SSH tunnel the ports locally:

> # Route 8082 on your machine to localhost:8080 on the server: > ssh -N -L 8082:localhost:8080 db.devopsdomain.com

comment 4y ago · link · parent

To make it maximise the area in your current mac Space (i.e. not go "full screen" in a new Space) you can go: Mac Menu -> Window -> Zoom. I just usually double click the App's window bar and it stretches the same way.

comment 4y ago · link · parent

Ecco Par[IT]le in italiano: https://pietroppeter.github.io/wordle-it/

9.

DigitalOcean Spaces down for over 36 hours in AMS3 region(status.digitalocean.com ↗)

2 points · by nadinengland · 5y ago · discuss

comment 12y ago · link · parent

Another nice introduction is the Go Playground's Tour (http://tour.golang.org/#1).

comment 12y ago · link · parent

Balance (286)

  ^(<(<(<(<(<(<<>>)*>)*>)*>)*>)*>)*$
If we had named captures:

  ^(((?<P><)|(?<-P>>))*(?(P)(?!)))$

comment 12y ago · link · parent

Closure allows you to capture references to variables, not objects.

The function may reference the variable `card` but by the time the first one is triggered the for-loop had already decremented the variable to 0.

comment 13y ago · link · parent

If you were making small changes to see what worked in different browsers, rather than editing the CSS or SASS, it may be more beneficial to use the browser's Web Tool to do it live!

comment 13y ago · link · parent

At first I thought HN had broken, the domain really caught me of guard.

comment 13y ago · link · parent

No worries, happy to help. There are quite a few more noticeable ones throughout the file, if you rock Sublime Text, you can enable spelling checking through View -> Spell Check. On OS X at least F6 is the sort cut to toggle it.

comment 13y ago · link · parent

Is that a typo on the README, _twiter_, or is that the name of the gem? I never want to open issues or submit pull requests for things like that in case the author is a dick about it.

comment 13y ago · link · parent

I noticed that too. It also only highlights variables from other scope once per function which is a tad odd but for experimental you can't complain!

comment 13y ago · link · parent

After I got back from my last visit to the states I kept handing my card to the staff when I was paying. They usually looked funny at me and put it in the machine rather awkwardly.

comment 13y ago · link · parent

I don't believe he/she did as for my ISP blocked port 80 and 443 making me resort to port 25 to send emails~

comment 13y ago · link · parent

I may have misunderstood this but I think this saying that a single IP (or endpoint) is receive this bandwidth. So there is this much going through the peer network AND regular internet use.

comment 13y ago · link · parent

The functional unit tests made me laugh: https://github.com/Herzult/SimplePHPEasyPlus/blob/master/tes...

comment 13y ago · link · parent

I'm getting the weird flashes on Chrome (25.0.1364.99) OS X 8.2 :/

comment 13y ago · link · parent

At first I though it was .mail (http://dotmailapp.com/) materialising, but this looks interesting. Got in the queue with ~350,000 ahead of me, great.

comment 13y ago · link · parent

Reading this reminded me I can `brew install gtypist` rather than piss about with make. Thank you.

comment 14y ago · link · parent

Cool, it's different from other shells out there. I am still waiting on TermKit to become 1.0. https://github.com/unconed/TermKit#readme

comment 14y ago · link · parent

I wasn't aware of this, although it does make sense.

Going of the list: http://en.wikipedia.org/wiki/List_of_Internet_top-level_doma... it doesn't appear like you have much choice.

comment 14y ago · link · parent

The major country that you operate in: .co.uk, .us, .it, etc.

comment 14y ago · link · parent

I wrote a large paragraph on now I do my passwords then realised how silly it is to tell the world :D

comment 14y ago · link · parent

I cant find the exact link to what I'm thinking of (I'll pop back if I do) but there are tools that package ruby scripts up with the runtime into one executable, especially on windows. There was one that could produce executables for many platforms, in the meantime take a look at https://www.ruby-toolbox.com/categories/packaging_to_executa...

comment 14y ago · link · parent

+1, if your job is number crunching, stay the hell away from JavaScript as it will bite you in the ass. http://stackoverflow.com/questions/307179/what-is-javascript...
12