Linux often used to define GNU/Linux. When people mention about "Linux", they were talking about "GNU/Linux" most of the time.
But, Linux ( I mean the kernel ) isn't GNU. It doesn't require any GNU tools such as GCC to be built.
The problem is, Linux itself is a GNU covered, it released under GNU/GPL, and it should be a GNU software.
So yeah~ GNU/Linux ( that often used as the distro ) is GNU, but Linux itself isn't GNU, it's GNU software. Quite complicated! heh~
September 19th, 2009
Fu4ny
hatewar1989: u r not the one
hatewar1989 : :'>
Fu4ny: if you're not the one
Fu4ny: then why does my hand fit yours this way?
hatewar1989: :">
hatewar1989: I never know what the future ll bring
Fu4ny: But I know you are here with me now
hatewar1989: but I know you're here with me now
Fu4ny: :">
Trích đoạn "Chat ngày thứ 7", những phần khủng khiếp hơn thì ko thể post lên được :">
September 7th, 2009
Fu4ny
1 bài viết nho nhỏ trong stackoverflow, đơn giản chỉ là 1 cái challenge nho nhỏ để thi xem ai viết ngắn gọn và tối ưu nhất bài toán: nhập vào 1 dãy phép tính kiểu string và trả lại kết quả.
Ờ thì mọi chuyện vẫn bình thường như thế ( bài toán dễ ẹc
), nếu ko có bài viết này 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
| static string Calc(string exp)
{
WebRequest request = WebRequest.Create("http://google.com/search?q=" +
HttpUtility.UrlDecode(exp));
using (WebResponse response = request.GetResponse())
using (Stream dataStream = response.GetResponseStream())
using (StreamReader reader = new StreamReader(dataStream))
{
string r = reader.ReadToEnd();
int start = r.IndexOf(" = ") + 3;
int end = r.IndexOf("< ", start);
return r.Substring(start, end - start);
}
} |
Mặc dù hơi tricky, nhưng mà just take a look
Comments