Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
trezor
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
51 ms
·
451.
▲
by
trezor
17y ago
You missed my point entirely. Text in memory should be unicode and not encoded, as nothing else would really make sense. In that case bytes() refers to the size of string when rendered in a specific encoding. You are not getting the "
452.
▲
by
trezor
17y ago
I guess you should reread my comment. I'm fully aware of that you can get chars with chars(), but that's not what I'm pointing out. If you are going to have a function for the size a "rendered" unicode string and there are 200+ ways to rend
453.
▲
by
trezor
17y ago
Thanks for the reference. I quickly skimmed it, and as far as I can tell the only thing it offers compared to a traditional switch/case statement, is the evaluation of expressions, as opposed to just accepting constants. I can see the ratio
454.
▲
by
trezor
17y ago
This actually shows a useful IRC channel for once. Some nitpicks about the Perl 6 features mentioned though: <jnthn> bytes($string) # how many bytes This would ofcourse be 100% dependent on what kind of character-encoding
455.
▲
by
trezor
17y ago
I can see some people here claiming this is old (it is) and that it's a repost (it is), but I'll still vote this up, because especially now with people yelling "scaling! scaling!" all over the place, I can't imagine a more fitting time for
456.
▲
by
trezor
17y ago
I did reread the article, but not knowing Maryland and not knowing the US tax system I can't say how much of a increase this really was. All the article says is " raising the top marginal income-tax rate to 6.25%". It says nothing about wh
457.
▲
by
trezor
17y ago
I know I didn't grow up in the US, but horrible, horrible socialist Europe. As a result of this I'm obviously retarded and I can't possibly imagine paying a tax as measly low as 10% no matter what income I would have. How on earth would y
458.
▲
by
trezor
17y ago
Seconding this. Besides CPUs & RAM constantly getting faster, since when was handling in-memory data fast in any way impressive?
459.
▲
by
trezor
17y ago
Personally the following quote was the one which made me laugh the most: "The PHP developers have failed, well, because they're PHP developers. Microsoft has failed because they're acting as that unscrupulous dealer who provides PHP to peo
460.
▲
by
trezor
17y ago
I know this isn't very Ruby or rails specific, but if you are doing big changes to your db on big datasets and you don't use transactions, you deserve whatever comes your way. Realize you've fucked up? A quick ROLLBACK TRANSACTION and you
461.
▲
by
trezor
17y ago
While I agree with your point, I have to admit I know absolutely noone who reads techcrunch or are even aware of its existence. Only reason I even know about it is that people here keep on yammering about it constantly. I think you might ha
462.
▲
by
trezor
17y ago
1) the good fact that it is "fair". I guess this is why Google maps got a "go" despite using undocumented APIs the regular developers of the AppStore are not allowed to use? It's not a as level playing field as you think.
463.
▲
by
trezor
17y ago
If they decide to sue _users_ of Mono programs, they pretty much can Now you are pretty much talking bullshit. If this is actually somehow allowed in the US, that is a failure in the US justice system and for the remaining 95% of the worl
464.
▲
by
trezor
17y ago
Since Apple has the only mobile platform where you can only get applications from one source (them), this is really simple. For instance on my Windows mobile phone, using MSIE mobile (which sucks) I can go to opera.com, download a cab-file,
465.
▲
by
trezor
17y ago
Because, just like Mac users, Linux* users and users everywhere which has a full rich user-interface, not a minimal mobile interface, they like to be able to get applications from any source, not just one central location. While the Apple A
466.
▲
by
trezor
17y ago
I'm pretty sure Microsoft themselves having contributed to mono projects would invalidate any such lawsuit. Also, Microsoft submitted the whole common language infrastructure (CLI), the core of .NET, to ECMA as an open standard. So, unlike
467.
▲
by
trezor
17y ago
You obviously have no idea what you are talking about and if anyone is doing FUD, it would be you. The .NET compilers costs absolutely nothing and are part of the free (as in beer) .NET SDKs you can download whenever you feel like. As for
468.
▲
by
trezor
17y ago
I honestly don't see the point of this particular script, apart from giving twitter-spammers stats on what is good bait and what is not. But I guess it goes to show that there is a Ruby twitter-API out there and provides a quick how-to code
469.
▲
by
trezor
17y ago
See this is the thing: Ruby was just getting too fast so he needed some way to slow his code down so that he could go back to focusing on "scaling" again.
470.
▲
by
trezor
17y ago
Lots of market-speak, but it does show that Microsoft is changing from the rigid, closed organization it used to be.
471.
▲
by
trezor
17y ago
Is this also true when the query would involve a full table scan or clustered index scan anyway? Maybe I'm missing something crucial, but that doesn't seem to make much sense for me from a data-access perspective.
472.
▲
by
trezor
17y ago
Given how Axum looks very much like C# with added keywords and constructs, and how most of the functional aspects of F# either got into or is getting into C#, my guess would be C# is getting some neat concurrency-addons in upcoming revision
473.
▲
by
trezor
17y ago
Not to sound negative or anything, but are we going to have a story anytime a popular service like gmail, MSN, twitter or whatever goes down? Also, aren't you guys supposed to work at this hour? ;)
474.
▲
by
trezor
17y ago
In my orginal post I used a LEFT JOIN from content_to_tags to content. ... Using NOT EXISTS was just over two times faster, and I would assume that as the tables get populated with more records the difference exponential. If using sub-sel
475.
▲
by
trezor
17y ago
Thanks for the reply and the explanation. As far as I can see, that makes the Android about as open as Windows Mobile (with the exception of building it) and really nothing to get overly excited about. But really, I'm the kind of guy who r
476.
▲
by
trezor
17y ago
I thought the idea of the Android phone platform was that it was supposed to be open and hackable? If you need to root/jailbreak it anyhow, what makes it better than an iPhone?
477.
▲
by
trezor
17y ago
Not that it matters much, but this is definitely not an Apple innovation, and I don't see a reason to let them automatically get credit for everything. If you are first going to name none-web-based things which has done this already, get it
478.
▲
by
trezor
18y ago
Why didn't Time blacklist the "devoters" by their IPs (or respective small subnets) ? After it was obvious they were being gamed, they did just that. For IPv4. Then someone discovered there were no blacklisting going on for IPv6 requests
479.
▲
by
trezor
18y ago
Seeing yet another "X+ URL shorterning services" I felt like making a script to automatically daisychain every single one of them, then daisychain that around another three or four times. Basically just to make a statement about how inheren
480.
▲
by
trezor
18y ago
Can someone with knowledge of the underlying OS mechanisms answer this for me: What is the deal with file access on Windows? The Windows locking defaults when opening file-handles actually includes locking and has done so for such a long
More ›