Những trò chơi truyền hình đã đến lúc hốt bạc

Đang xem bộ phim PHÍA ĐÔNG VƯỜN ĐỊA ĐÀNG thì cái quảng cáo nhảy vào họng:
“trò chơi tương tác trực tuyến đấu giá ngược với các sản phẩm HOT HOT HOT , soạn tin XXX YYY gửi 67xx trong đó x là mã trương trình còn Y là số tiền bạn trả , VD bạn trả 10 ngàn soạn XXX 10 gửi …”

Thật vớ vẩn – nếu các bạn tinh ý thì sẽ thấy : Mỗi lần gửi mất 15 ngàn , phép tính chỉ cho phép làm tròn số , Bạn chỉ có từ 01 đến 99 ngàn, chỉ cần vài chục người nhắn tin là sẽ bao phủ toàn bộ số 01 đến 99 vì các anh chị ham hố còn nã vài tin nhắn với hi vọng sẽ được quà . hehe ! làm gì có ! làm gì có số độc nhất trong cái dải số ngắn ngủi đó …

Tác hại của việc đi xem bói

Thực sự ra là tôi vừa tranh cãi với một nhỏ trong công ty . Vì khách hàng đã xem bói ngày thành lập công ty nên đã xảy ra khó khăn cho việc tư vấn . Haixxx ! Bản thân mình còn không tin nói gì tin mấy ông già nói chảm để lấy tiền thiên hạ !

Nguyên Nhân:

Chẳng biết ! nhưng xã hội ngày càng thiếu tự tin thì phải ! hoặc dân giàu sợ chết hơn dân nghèo thì phải ! Giàu sang sinh lễ nghĩa mà.

Riêng tôi ! tôi đặt niềm tin vào cái nào đó thôi! còn phần lớn là do tôi quyết định chứ không thể để mấy ông xem bói phán sét được . Xem bói ra ma ! thế nên kiêng xem bói cũng là một cách làm cho cái tinh thần của mình trở nên thanh thản.

Dịch vụ thành lập công ty của Bravo

Có lẽ có đến hàng ngàn công ty tư vấn luật trên khắp đất nước nhưng nếu bạn đã có lần tiếp xúc với công ty luật Bravo bạn mới có thể cảm nhận được môi trường làm việc của công ty cho đến phong cách làm việc cho đến cả nhân viên, tất cả đều tốt.

Ưu thế từ một đội ngũ nhân viên tư vấn trẻ và nhiệt tình

Công ty được thành lập từ năm 2010 , trải qua hai năm thử thách Bravo đã khẳng định được mình trong các công ty luật, đặc biệt là thế mạnh về nguồn nhân lực rất trẻ, Hầu như mới chỉ ra trường . Chính đội ngũ trẻ và năng động đã giúp công ty luật Bravo dẫn đầu dịch vụ tư vấn

Ưu thế của một SẾP nhiệt tình

Giám đốc là một người thuộc thế hệ trẻ nên rất chăm chút cho nhân viên, Cả công ty luôn luôn vui vẻ , tần suất lao động và kết quả luôn luôn cao

Thách thức

trong thời đại bùng nổ thông tin , Một công ty muốn tồn tại cần rất nhiều tâm huyết và … cạnh tranh là một điều tất yếu của cuộc sống . Đã có hàng trăm ngàn công ty tư vấn khác ra đời trước đó , đã có nền tảng thì việc một công ty còn non trẻ cạnh tranh là hơi khó khăn , Nhưng với đội ngũ trẻ chắc chắn trong một tương lai không xa Bravo sẽ vượt qua các đối thủ. Chúng ta cùng chờ xem.

Chúng tôi luôn tạo ra giá trị tốt nhất – dịch vụ tốt nhất cho khách hàng

Xem thành lập công ty

Phát hiện thú vị

Một trong những thứ thú vị nhất ngày hôm nay đó là :
Sau khi kiểm tra các blog mình làm từ hai năm trước đột ngột các blog lên PR = 1 ! oạch  ! vui quá đi ! không hiểu google nữa ! những nỗ lực được trả giá bằng sự im lặng còn sự im lặng được trả giá bằng thành quả !

Vui ! vui !

Update wordpress lỗi – show ra trang trắng ?

Đang update thì báo lỗi ! bấm nút back quay lại thì thôi rồi ! trắng te luôn , nếu bạn nào gặp lỗi tương tự mình chỉ cho :

Cách duy nhất:
1.log vào FTP
2. Tải bản đầy đủ mới nhất
3.Ném hết chúng vào core và cho phép ghi đè
4. Xong ! đánh vào address …/wp-admin/upgrade.php cho chạy phần còn lại
5. XONG ! hết lỗi, nếu bạn còn lỗi làm tiếp như sau:

a. Rename folder plugin.
b. log vào admin và ftp,
c. quẳng từng cái vào folder plugin , refresh trang admin đến khi nào bị lỗi, dừng lại plugin đó và xóa nó đi !
d. Nếu vẫn bị : call me !

Null vs Empty (Zero Length) stringNull vs Empty (Zero Length) string

Not many end users understand the difference between an empty string of zero length (”) vs Null. We have seen that at times, the end users put in an empty string in a field and there are no checks in the system to prevent them from being able to get that data into the database.  An empty string of zero length is not the same as a Null value in SQL Server. A string of zero length is still a string with no characters – a Null on the other hand can mean more than just denoting an absence of data.  Maybe the data is not applicable or the data is missing or it is just not present yet.  A classic analogy given in this case is that of a blank CD with nothing on it vs no CD.  A lot of debate is there about the usefulness of Null and the design patterns but that is not what we want to cover here today.  We will provide some links in the Resources section which cover that topic as well.  What we want to mention in this post today are the differences between a Null value vs a zero length string and how the behavior is also different between different RDBMS.  We will cover this for a couple of different data types besides the string data type.
We have blogged about the side effects of using a zero length string for an integer  data type column before – here.  Today, we saw a similar issue at a client site – this time with a datetime data type column.  Here is an example (using SQL Server here):
declare @table table (col1 datetime)
insert into @table values ('');
select * from @table
———————–
1900-01-01 00:00:00.000
The empty string gets converted to the default datetime value of 1900-01-01 00:00:00.000 as shown above.  Not really what the end user was expecting.  And why do we get that particular date?  Because datetime is internally stored as two integers (hence the 8 bytes per datetime value) – the first integer stores the number for computing dates before or after the base date of 1900-01-01 and the second integer has the number of clock ticks post midnight with each tick being 1/300th of a second.
So, what could be some other issues that this can result into besides silently corrupting the data?
a) Your SQL code that would otherwise expect to work like the IS NULL or IS NOT NULL checks won’t work anymore,
b) In case you were doing this for a number column, the aggregate functions like AVG() which otherwise would be ignoring the Null value will now count the record,
c) The SQL code which uses functions like ISNULL(), COALESCE() etc. will not function as expected since these fields will not have a Null value.
d) The sorts won’t work as expected since Null and the empty string (and the subsequent default value that actually gets inserted) are not the same thing.
e) If you have this column as part of the foreign key, you will get an error at the time of the insert itself since instead of a Null value, the code will try to insert another default value in and it will violate the FK constraint.
f) Any concatenation operations or MAX(), MIN() functions can lead to un-desired results.
As always, there is no substitute for good design and good code.  A good design can put checks in place both at the application level (validations – either at the client side or application layer) as well as the DB level (check constraint) to prevent such scenarios from happening.
Do note that if you enter in an empty string of more than zero length, in SQL Server, the result would be the same.  ANSI_PADDING does effect the storage but the comparison rules remain the same.  You can read more on that in one of our previous blog posts here.
And if we were to use a varchar or a char column, the behavior is the same with the difference of course being that it is string of length 1 in the case of a CHAR data-type column.
declare @table table (col1 char(1), col2 varchar(1))
insert into @table values ('', '');
select col1, datalength(col1) char_str_length, col2, datalength(col2) varchar_str_length from @table where col1 = ''
col1 char_str_length col2 varchar_str_length
---- --------------- ---- ------------------
     1                    0
Also, if you are a developer who has worked in both SQL Server and Oracle, then you would know that the behavior in Oracle is a bit different.  It treats Null and an empty string of zero length, the same way.  And it treats an empty string of more than a zero length different than a Null value.  This is different than the ANSI (and SQL Server behavior).  So, in Oracle:
a) A zero length variable length string (varchar2 data type) is treated as a NULL.
b) A string of more than zero length is not treated as a NULL.
c) A zero length fixed length string (char data type) is not treated as a NULL since CHAR data types are blank padded strings.
Here is an example:
SQL> select 1 as col1,length('') LEN  from dual where '' is null
col1        LEN
———- ———-
1 NULL
SQL> select 1 as col1,length('') LEN  from dual where to_char('') is null
col1        LEN
———- ———-
1 NULL
This shows that an empty string is treated as a null in Oracle and the default data type of an empty string is varchar2 since if it were char, then automatically its length would have been one as stated above.
It is always better to check for such issues and in order to follow the same guidelines across RDBMS, check for empty strings via client side logic or application layer logic or check constraints at the DB level and ensure that you are going to put in NULL if that is what your design intention was rather than having such side effects of the empty string.