Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ajanuary
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
70 ms
·
691.
▲
by
ajanuary
14y ago
Because you're concatenating literals, the compiler will translate it into string a = "abcd" ;) Strings are outwardly immutable, so concatenating any two strings will create an entirely new String object, along with the memory allocation ne
692.
▲
by
ajanuary
14y ago
It also doesn't do any warm-up (run the code a few times untimed) which puts the JITer at a disadvantage.
693.
▲
by
ajanuary
14y ago
It looks like the RealBASIC version was written first and then translated straight into C#. In reality, you'd not create the encoding each time, and either use a StringBuilder to build up the string, or just use Encoding.GetString. C# on my
694.
▲
by
ajanuary
14y ago
Off topic, but almost every link in that article seems to link the wrong part of the sentence. Is it just a linking style I'm not familiar with?
695.
▲
by
ajanuary
14y ago
Is /@/ really going to catch significantly less invalid emails than whatever other almost but not quite validation you can apply? What's more common, someone accidentally typing "foo:ar@gmail.com" or "foonar@gmail.com"? Both would bounce an
696.
▲
by
ajanuary
14y ago
In most markets the ice cream in an ice cream ad has to be ice cream. The ice cream in non-ice cream ads, on the other hand, can be anything.
697.
▲
by
ajanuary
14y ago
Virtual slots definitely do not have to simulate the same reel size as their physical counterpart. I've only worked in online gambling, but almost ever slot game I saw had larger reelsets. Some don't even simulate physical reels, but instea
698.
▲
by
ajanuary
14y ago
"I've never installed: Other" That's a looong list.
699.
▲
by
ajanuary
14y ago
If it's coming with the new iphone surely it will have a mic/remote? That's what I use on the current headphones to tell left/right, it's a lot easier than looking for markings, engraved or otherwise.
700.
▲
by
ajanuary
14y ago
Friends and family != users. You can cater to the variety of platforms your users want to use whilst at the same time having useful and meaningful conversations with friends and family about what the best browser is for them. You don't anno
701.
▲
by
ajanuary
14y ago
Yeah, it's the three lines button. I find it kinda jarring not having any visual indication from the button that it's going to be sliding. Would be interesting to experiment with making it look more like a tab you can use to pull the conten
702.
▲
by
ajanuary
14y ago
iirc, for certain sellers you can cancel your order within a certain grace period. The 1-click could have an "undo" option to more easily revert if you didn't mean to click it. But then they'd probably lose money from the people who impulsi
703.
▲
by
ajanuary
14y ago
"Methods can also have the property of "idempotence" in that ... the side-effects of N > 0 identical requests is the same as for a single request." [1] The HTTP spec clearly talks in terms of the effect of sequences of repeated operatio
704.
▲
by
ajanuary
14y ago
I don't know much about unskewing, but presumably the dotted lines mean you know how each dot should be placed relative to each other dot. With plain lines you'd have to do some guesswork based on how wavey the line is etc.
705.
▲
by
ajanuary
14y ago
8/1/2012 suffers from the dd/mm vs mm/dd problem.
706.
▲
by
ajanuary
14y ago
The problem is display:fixed. http://stackoverflow.com/questions/4889601/css-position-fixe... has a good overview of why it happens.
707.
▲
by
ajanuary
14y ago
It also breaks when zooming in ios, so if it's the same problem and you're on OS X you might be able to fix it in the simulator?
708.
▲
by
ajanuary
14y ago
I dunno, if you ask the mythical non technical person they're probably more likely to say they'll trust a religious site over a blog. I think it's a frequent misconception that most malware is something people put on their own websites just
709.
▲
by
ajanuary
14y ago
> For iOS readers, you can scroll the code box using two fingers. You've been able to do it with a single finger for a little while, which makes it a lot easier.
710.
▲
The Assange Case: Common Misconceptions
(amiobjective.blogspot.co.uk)
11 points
by
ajanuary
14y ago
|
5 comments
711.
▲
by
ajanuary
14y ago
It's not a scale. Red isn't worse than orange, they just mean different things. Orange is issued to notice of an immediate threat to life. If anything, orange is more severe. http://amiobjective.blogspot.co.uk/2012/07/assange-case-comm...
712.
▲
by
ajanuary
14y ago
My understanding is they don't just want to question him, they're at the stage they want to charge him. You can't really do that over video conference. [edited to change 'prosecute' to 'charge']
713.
▲
by
ajanuary
14y ago
> I wonder if this is coming because they can't keep up with the write load. Wouldn't an easier solution for that be to tighten the rate limiting for posting? > The only other reason I can fathom why they would doing this is they ev
714.
▲
by
ajanuary
14y ago
It's not that they don't want users to engage with the service, it's that they want as much control over that interaction as they can possibly get away with. Cynically, the more garauntess they can give to the other three quadrants, the mor
715.
▲
by
ajanuary
14y ago
His argument is that there is a reason behind the dynamic vs static divide that reaches out wider than that.
716.
▲
by
ajanuary
14y ago
"C is a typed language, there's no getting around it. It is in fact, a manifestly typed language, the types aren't optional. The fact that you can freely cast your way out of any situation doesn't really make it a dynamic language, anymore
717.
▲
by
ajanuary
14y ago
I'd say being told "this is a community that cares about non-English speaking people" isn't completely useless to most people.
718.
▲
by
ajanuary
14y ago
How does any of those advantages apply only to dotfiles and not just plain files?
719.
▲
by
ajanuary
14y ago
There's always the argument that the register process leaks the same data. But having it appear in a dropdown makes it easier to incidentally see someone you might know.
720.
▲
by
ajanuary
14y ago
The same code in composable and reusable units would have demonstrated just as much.
More ›