Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ajanuary
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
78 ms
·
751.
▲
by
ajanuary
14y ago
I believe it's only if you're logged in.
752.
▲
by
ajanuary
14y ago
Favouring dash over underscore to break words in variable names doesn't preclude using underscores in variables names ever. A sometimes used _ is okay. Its_using_it_almost_all_the_time_that_the_author_is_questioning.
753.
▲
by
ajanuary
14y ago
if (getcwd(cwd, sizeof(cwd)) != NULL) ; else perror("getcwd() error"); Is that common? What's the advantages over the below? if (... == NULL) { perror(...); }
754.
▲
by
ajanuary
14y ago
If I sign in with twitter, why do I need to pick a password?
755.
▲
by
ajanuary
14y ago
I think their point was that Ctrl+Z is more intuitive than Ctrl+Shift+T, though I don't necessarily agree with that.
756.
▲
by
ajanuary
14y ago
'if's returning a value is from expression oriented languages, not just functional. Functional languages are by necessity expression oriented because it makes no sense to have a statement in a functional language. However, not all expressio
757.
▲
by
ajanuary
15y ago
You can set up an alternative number, and can also print out a bunch of one-time use codes. One of these methods should be enough to log in and change the settings.
758.
▲
by
ajanuary
15y ago
Isn't passing messages to boolean an OO concept, not a functional one? Haskell98 defines if-then-else as a syntactic construct.
759.
▲
by
ajanuary
15y ago
According to Kickstarter [1] the success rate was 43% in 2010 and 46% in 2011. Wikipedia [2] suggests the success rate so far in 2012 is 44%, but the source is no longer available. I don't know if that's just the success rate of crossing th
760.
▲
by
ajanuary
15y ago
Those things are pretty consistent in iOS too, if you follow the pretty well laid out conventions. Settings are in the settings app, search is at the top of a list etc. I guess the difference is with hardware buttons the app has little abil
761.
▲
by
ajanuary
15y ago
"Twitter has sold billions of archived tweets believed to have vanished forever. A privacy row has erupted as hundreds of companies queue up to purchase users’ personal information from the new database." Is there actually any information i
762.
▲
by
ajanuary
15y ago
One of the big things I like about CSS resets is it forces me to think about every design decision rather than just going with the 'sensible' browser defaults. I guess with discipline I can train myself to always think about things like the
763.
▲
by
ajanuary
15y ago
While I guess it's needed to show off the features, the sample at the top of the page seems far too slow to bring in new characters. I don't want to have to sit around for 5 seconds before I can start reading. It's also very difficult to co
764.
▲
by
ajanuary
15y ago
Mongo most definitely has negative connotations in British English, though not as much as Mong afaik
765.
▲
by
ajanuary
15y ago
Wouldn't that conflict with "New Incognito Window"?
766.
▲
by
ajanuary
15y ago
There are lots of people for who name and gender are hot topics. And with the "Like" buttons you /are/ forced to share your browsing history (no, being able to circumnavigate it by blocking it doesn't count)
767.
▲
by
ajanuary
15y ago
I know a few people who haven't been invited - or have found out too late - about events because they were organised on Facebook and they're not on it. Those same people are regularly out of the loop in conversations their friends have on F
768.
▲
by
ajanuary
15y ago
In this context PowerPoint is used as a description for a style of presentations (e.g. lots of bullet points) I think most people realise it would be the same if that style was done using Keynote or transparencies. But yeah, it's a shame Po
769.
▲
by
ajanuary
15y ago
If it's anything like Twitter, it will appear in your stream out-of-sync with when it was posted, so it's guaranteed to appear near the top of your stream whether you're viewing it days after.
770.
▲
by
ajanuary
15y ago
Sather, Icon, BASIC
771.
▲
by
ajanuary
15y ago
Its imperative nature is unrelated to TC. Non TC languages can be sufficiently complex as to make analysis difficult. I don't see any of the risks of js as linked to TC in any meaningful way beyond a very hand-wavey "TC tends to lead to com
772.
▲
by
ajanuary
15y ago
The Google+ app could register it's own url scheme, and then the Google+ website can UA-sniff for iOS and redirect to the special url scheme.
773.
▲
by
ajanuary
15y ago
It has nothing to do with turing completeness. More complexity leading to bigger surface area for potential attacks, yes. GPU and file access, yes. But nothing to do with turing completeness. Here's a non turing complete language I wouldn't
774.
▲
by
ajanuary
15y ago
I would be interested in your reasoning why G,B and B,G can (rightly) be considered distinct, and B,B and B,B can (rightly) be considered the same enumeration and thus one discounted, but BT,BT and BT,BT ( ) should still be considered disti
775.
▲
by
ajanuary
15y ago
No, they are correct in saying that GB and BG are distinct, even with no other information. It is not order that is important, but considering each child as a distinct entity. The 50% chance of being a boy and 50% chance of being a girl app
776.
▲
by
ajanuary
15y ago
The removal of duplication and the distinguishing between GB and BG are two completely different things. If you're not meant to remove the duplicates, then why doesn't your enumeration of two gendered children run: BB, BG, GB, GG, BB, GB,
777.
▲
by
ajanuary
15y ago
Looking at your simple example of genders using the same process the article uses to enumerate the combination of gender and days: Assuming Child 1 is a Boy: Child 2 can be: Boy, Girl Assuming Child 1 is a Girl: Child 2 can be: Boy, Girl As
778.
▲
by
ajanuary
15y ago
When considering the case that the older son was the one born on a Tuesday, that gives 14/28 possibilities. One of those 14 is the case that both were born on Tuesday. When considering the case that the younger son was the one born on a Tue
779.
▲
by
ajanuary
15y ago
Using age as the ordering is not important. What matters is that when enumerating possibilities you count the probability of the first and then the second, and the second and then the first. If manlier child = boy <==> one+ child =
780.
▲
by
ajanuary
15y ago
My background is with LINQ, which means I find it more natural to group it as: st {for s in state} {for st in states[(s,letter)]} But I agree, reading it as English your grouping makes more sense.
More ›