Beta
×

Welcome to the Slashdot Beta site -- learn more here. Use the link in the footer or click here to return to the Classic version of Slashdot.

Thank you!

Before you choose to head back to the Classic look of the site, we'd appreciate it if you share your thoughts on the Beta; your feedback is what drives our ongoing development.

Beta is different and we value you taking the time to try it out. Please take a look at the changes we've made in Beta and  learn more about it. Thanks for reading, and for making the site better!

Comments

top

Brian Aker On the Future of Databases

ZerothOfTheLaw Re:Leaky abstractions (175 comments)

Well, thats because python, to save memory and processing time with lists, passes by reference, not by copy. The way to do what you want is this: >>> a=[[5]] >>> b=[a[0][:]] >>> a[0][0]=3 >>> b [[5]] However, if you are going to be passing around lists, and want copies to modify, then do this: b=a[:] to do a one-level copy of the list's contents. Any lists in the list, as above, will also be passed by reference, not copy. If you do have nested lists, then take a look at the copy module.

more than 6 years ago

Submissions

top

Google to crack down on domain tasting

ZerothOfTheLaw ZerothOfTheLaw writes  |  more than 6 years ago

ZerothOfTheLaw writes "It appears that Google is going to eliminate Adsense for Domains for all domains younger than five days old. From the post:

The Good news is that the Quantity of advertising will be spread among fewer domains now and so those domain owners that actually own real full domains should receive more money if bid prices start to rise as a result of this. However some advocates of Domain Tasting say that perhaps no one will be able to serve the niche for some ads and no one will make money on the unserved ads."

Journals

ZerothOfTheLaw has no journal entries.

Slashdot Login

Need an Account?

Forgot your password?

Submission Text Formatting Tips

We support a small subset of HTML, namely these tags:

  • b
  • i
  • p
  • br
  • a
  • ol
  • ul
  • li
  • dl
  • dt
  • dd
  • em
  • strong
  • tt
  • blockquote
  • div
  • quote
  • ecode

"ecode" can be used for code snippets, for example:

<ecode>    while(1) { do_something(); } </ecode>