Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
rjh29
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
84 ms
·
1561.
▲
by
rjh29
15y ago
Depends if porting code from one procedural language to another is an "intellectual exercise" (it usually isn't). Compare with the x86 emulator written in JS that we saw a few months back. That said, viewing a git repo in a web browser by q
1562.
▲
by
rjh29
15y ago
And we're using shillings because...?
1563.
▲
by
rjh29
15y ago
I thought this was funny: http://appsterdam.rs/events Starts: Wednesday 06/29/2011 - 19:00 Ends: Wednesday 06/29/2011 - 19:00 US-dates coupled with "Americans can visit for three months without a visa. Pack up the family for a summer vaca
1564.
▲
by
rjh29
15y ago
I've heard good things about MCollective for distributed package updates: http://www.puppetlabs.com/mcollective
1565.
▲
by
rjh29
15y ago
I don't see how providing a passphrase is an admission of anything. You're not stating a fact, you're just providing the passphrase, which could be anything (true or false).
1566.
▲
by
rjh29
15y ago
Me too, but that's probably because of all those regular expressions like 'aa* b*' I had to read at uni :)
1567.
▲
by
rjh29
15y ago
I'm sorry, but in the world of awesomely-licensed Qt and other cross-platform toolkits, why would you go out of your way to build a native app on Mac libraries and only release it for a single platform? I can understand that OS X probably h
1568.
▲
by
rjh29
15y ago
> Why would anyone enter a loop and expect the iteration variable to have a value defined outside the loop? Thus us the takeaway point, I think. The loop would work perfectly fine if $bar was lexically scoped to the foreach, but it isn'
1569.
▲
by
rjh29
15y ago
I meant it's an exception because it does not throw a warning, even though you are treating a string as a number. (This is contrary to $foo = $foo + 1). The DWIM string auto-increment doesn't even kick in unless the variable matches /^[a-z]
1570.
▲
by
rjh29
15y ago
Perl recognises that it is a bad practice. perl -we ' print "true\n" if "12" == "12php"' Argument "12php" isn't numeric in numeric eq (==) at -e line 1. true perl -w -e 'my $foo = "12php"; $foo = $foo + 1; print $foo, "\n";' Ar
1571.
▲
by
rjh29
15y ago
That's a horrible hack indeed :) Perl 6 does have 'gradual typing' though. You can define a variant: my $foo; or a typed variable: my Int $foo; or a subtype with arbitrary restrictions subset OneToTen of Int where { 1 <
1572.
▲
by
rjh29
15y ago
Is it really? My company runs over the holidays and our problem is actually finding people who can work during that time. Surely lots of tech companies have to keep running over Christmas?
1573.
▲
by
rjh29
15y ago
You mentioned storing diffs against every previous version. In principle, couldn't you, when a new package is pushed to the repository: 1. Diff against the previous version and store the diff. 2. Delete the previous version. You could upgra