HackerTrans
TopNewTrendsCommentsPastAskShowJobs

adamzochowski

no profile record

comments

adamzochowski
·4 miesiące temu·discuss
Makes perfect sense .

NaN is a special type indicating one can't reason about it normal way.

It is an unknown or value that can't be represented.

When comparing, think of it like comparing two bags of unknown amount of apples.

One bag has NaN count of apples

Other bag has NaN count of apples

Do the two bags have equal number of apples?

I wish all languages used nulls the way SQL does.
adamzochowski
·5 miesięcy temu·discuss
Not a referral issue. Doing ctrl-click or middle-click or open-in-a-new-tab all are broken too.

Most likely it is just a typical broken spa.

Most web apps, are shut for the websites. They ignore and badly processes the url because things like linking to content, ctrl-click, bookmarks, sharing with friends are afterthought and not on forefront of developers mind.
adamzochowski
·w zeszłym roku·discuss
This depends on the join type.

    select ...
    from table1 
        left join mytable2 on ... 
    where ..
If you move contents of where clause to the join/on clause, you will change meaning of the query.

If someone has a complex query or complex performance, they could do either subselects

    select ...
    from ( select ... from table1 where ... ) as table1_filtered
        inner join mytable2 on ... 

or CTEs

    with table1_filtered as ( select ... from table1 where ... ) 
    select ...
    from table1_filtered
        inner join mytable2 on ...
adamzochowski
·13 lat temu·discuss
A friend just moved to a house number 1 on the street. Left of him is the typical number 3. To the right, someone added duplex, which provides two units: 1A and 1B.
adamzochowski
·15 lat temu·discuss
> hungarian is not related to finnish

"" The Uralic languages ( /jʊˈrælɨk/) (sometimes referred to as Uralian languages) constitute a language family of some three dozen languages spoken by approximately 25 million people. The healthiest Uralic languages in terms of the number of native speakers are Hungarian, Finnish, Estonian, Mari and Udmurt. ""

http://en.wikipedia.org/wiki/Uralic_languages
adamzochowski
·16 lat temu·discuss
But you can run different languages inside a browser.

Activestate had Perl running inside browser: http://docs.activestate.com/activeperl/5.8/Components/Window...

  <script language="PerlScript">
    $window->document->write('Hello world!');
  </script>

Also you can run VBScript. I have seen code that avoid javascript confirm() and tries to check first if it can use VBScripts msgbox function, just so it can provide 'yes'/'no' buttons. Aka:

  function confirmVB (text)
    confirmVB = msgbox ( Text , VBYesNo )
  end function
and then javascript

  function confirmYesNo(txtText)
  {
    if (window.vbSupported)
    {
  	return confirmVB(txtText);
    } else  {
  	return confirm(txtText + " (ok = yes, cancel = no)"   );
    }
  }
Cheers