|
|
Its good to have CP as an app for smartphone devices (android, windows phones, etc) so that we can have easy access to forums directly (like the Lounge, Discussions, Quick answers, etc)
First and the Foremost: FIGHT TO WIN
|
|
|
|
|
Or just keep improving the mobile version of the website.... which has gotten a little better.
|
|
|
|
|
Chris, I just noticed this block:
if (this.fromFile &&
value.length() > 9 &&
"@include ".equals(value.substring(0,9))) {
value = value.substring(9).trim();
File includeFile = new File(value);
if (!includeFile.exists()) {
includeFile = new File(
System.getProperty("user.dir") + "\\data\\" + value);
}
DataReader include = new DataReader(includeFile);
DataSet data = include.read();
include.close();
return new DataItem(key, data);
}
The string "\\data\\" is properly terminated, but your formatter thinks the close quote is escaped. My new article's code looks wonky and I am sad. -> <-
Reality is an illusion caused by a lack of alcohol
|
|
|
|
|
Same for C#:
string s = "\\data\\" + value;
The quick red ProgramFOX jumps right over the Lazy<Dog> .
|
|
|
|
|
It has been this way for a while, and I think the team has tried a number of things with varying degrees of success.
I wonder how Pygments[^] would work.
There is a series of blog posts I found that shows how to compile Pygments into a .NET assembly with IronPython, and then how to create a C# wrapper around it. I will look those up again if Chris is interested.
Bob Dole The internet is a great way to get on the net.
2.0.82.7292 SP6a
|
|
|
|
|
|
It would be better to also show users how to white-list codeproject.com from AD Block Plus, when the ADs are blocked.
Because many users might be using AD block addons to block annoying ADs from other website, and don't know how to disable it for a particular website.
|
|
|
|
|
That's a good idea!
Rutvik Dave wrote: Because many users might be using AD block addons to block annoying ADs from other website, and don't know how to disable it for a particular website.
I uploaded an image which shows how to disable Adblock Plus on codeproject.com
Image: how to disable Adblock Plus on codeproject.com[^]
The quick red ProgramFOX jumps right over the Lazy<Dog> .
|
|
|
|
|
Hi,
fyi: that pop-up is not available on Win 7, using AdBlock Plus 1.3.4, in Chrome Version 27.0.1430.0 dev-m, as I commented on in my previous message ("dark side"), below. Whether that's because this is the frequently updated dev version of Chrome, or whether that's ADBP: I don't know.
It's also possible that using the MVPS Hosts file, which is being discussed here on other threads, may make it impossible, even using the way to "white-list" the CP domain in ADBP, I mention in my previous thread here, to not block CP Ads.
That's a hypothesis I intend to test, soon.
I am sure that, putting our "collective intelligence" to work, we can find a way to still retain the benefits of the MVPS Hosts files disabling the incredible number of sites that use DoubleClick.net to serve ads, while not blocking CP's ads, also served by DoubleClick.
yours, Bill
"Good people can be induced, seduced, and initiated into behaving in evil ways. They can also be led to act in irrational, stupid, antisocial, mindless, and self-destructive, ways when they are immersed in 'total situations' that impact human nature in ways that challenge our sense of the stability and consistency of individual personality, of character, and of morality." Dr. Philip G. Zimbardo, in "The Lucifer Effect" 2008: ISBN-10: 08129744
|
|
|
|
|
Look at the right end of the omnibox.
Bob Dole The internet is a great way to get on the net.
2.0.82.7292 SP6a
|
|
|
|
|
BillWoodruff wrote: Chrome Version 27.0.1430.0
I use FireFox 19.0, and I can see the popup.
The quick red ProgramFOX jumps right over the Lazy<Dog> .
|
|
|
|
|
It's not just ABP - if you have NoScript installed, you need to enable the doubleclick.net domain before the ads will load.
It's a pity the ad script can't be hosted on CodeProject, so that we'd only need to enable one domain.
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
Hi, Richard,
Thanks for bringing "NoScript" to my attention: voted up !
yours, Bill
"Good people can be induced, seduced, and initiated into behaving in evil ways. They can also be led to act in irrational, stupid, antisocial, mindless, and self-destructive, ways when they are immersed in 'total situations' that impact human nature in ways that challenge our sense of the stability and consistency of individual personality, of character, and of morality." Dr. Philip G. Zimbardo, in "The Lucifer Effect" 2008: ISBN-10: 08129744
|
|
|
|
|
Richard Deeming wrote: It's a pity the ad script can't be hosted on CodeProject, so that we'd only need to enable one domain
The script is used for our entire DeveloperMedia network, hence the use of the DeveloperMedia CDN. Pulling from CodeProject.com also slows things down a little.
But yeah, I know...
cheers,
Chris Maunder
The Code Project | Co-founder
Microsoft C++ MVP
|
|
|
|
|
FYI, you can use a CNAME record to use a Code Project subdomain to refer to content hosted on a CDN. Suppose I have an image hosted at ljksdflkjldgjsldfjsdf.rackcdn.com/myimage.png. Rather than refer to that, I can create a CNAME record so that any traffic to images.codeproject.com will be served by that CDN. So when I have an image on the page pointing to images.codeproject.com/myimage.png, it will actually be served up by ljksdflkjldgjsldfjsdf.rackcdn.com/myimage.png. If you want, you can even create images1.codeproject.com, images2.codeproject.com, and so on (that way, the browser can do more downloads in parallel).
This can work for any file as far as I'm aware (e.g., JavaScript). And ad blockers shouldn't be able to block it. I imagine that would also enable users to create a wildcard rule to allow all traffic from *.codeproject.com.
|
|
|
|
|
Hi, You may wish to read the other threads on this forum where the blocking of CP Ads is being discussed by those of who use the MVPS HOSTS file, and, also, the use of that HOSTS file along with ADBlock Plus.
yours, Bill
"Good people can be induced, seduced, and initiated into behaving in evil ways. They can also be led to act in irrational, stupid, antisocial, mindless, and self-destructive, ways when they are immersed in 'total situations' that impact human nature in ways that challenge our sense of the stability and consistency of individual personality, of character, and of morality." Dr. Philip G. Zimbardo, in "The Lucifer Effect" 2008: ISBN-10: 08129744
|
|
|
|
|
|
Hi,
~ I:
My "action item" based on the information discussed here is to write a message on the AdBlockPlus whatever Forum, and ask if all ads appearing on CP, no matter if they originate from doubleclick.net, or wherever, can be enabled, by "white-listing" the CP domain in the ADBP user-interface white-list facility.
... edit ...
okay, message posted on AdBlock Plus Forum at [^]. Message title: "Unblocking a site whose ads are served by double-click.net
by BWoo » Wed Mar 06, 2013 8:48 am"
...
While this is written in the context of another thread here, where we are discussing how to enable CP ads that are served by doubleclick.net, while still using the MVPS Hosts file, I think this information is relevant enough to CP, as a site, to warrant a new thread on this forum, and part of what I will discuss here is directly related to CP and AdBlock Plus.
~ II: "the dark side" of ADBP ?
"MEDIA MAFIOSOS: IS ADBLOCK PLUS SHAKING DOWN WEBSITES FOR CASH TO LET ADS THROUGH?"
By Molly McHugh — February 21, 2013" [^]
The above article suggests that there may a not-so-public-service side to ADBP. Of course, that's one article on one site, and I, personally, do not have the time, or inclination, to wade deeply into the issues raised by the article, see if the article is credible by examining other reports, look at the possible rebuttals by ADBP, etc.
The fact that Reddit has been "white-listed" on ADBP (confirmed by other articles on the web): meaning: its ads "get-through" if you have enabled ADBP's "non-intrusive advertising initiative:" is interesting, in light of what is discussed in the article.
To opt-out of that "initiative:" "Click Adblock Plus preferences and uncheck 'Allow non-intrusive advertising'."
~ III: more specifically related to CP:
Today, I examined the contents of the two "Lists" that I subscribe to using AdBlock Plus in Chrome (I'm using the dev version of Chrome), EasyList, and EasyPrivacy.
These two lists are "put forward" by AdBlock Plus as the first visible choices: you can click a link to see other available lists.
To my surprise, there is one specific entry in the "EasyList" List for CodeProject: which is in a text file accessible at: [^]. The entry for CodeProject is in a section set off by:
!---------------------------Third-party advertisers---------------------------!
And reads:
||codeproject.com^*/adm/
I don't know really know what this entry does, or how that may, or may not, relates to the fact that CP ads are served by doubleclick.net. Nor, do I have any intent spending my time learning the internal syntax of AdBlock Plus files. fyi: both the two "lists" I subscribe to with AdBlock Plus have lots of entries that block stuff from doubleclick.net, just as the MVPS Hosts file has numerous entries.
yrs, Bill
"Good people can be induced, seduced, and initiated into behaving in evil ways. They can also be led to act in irrational, stupid, antisocial, mindless, and self-destructive, ways when they are immersed in 'total situations' that impact human nature in ways that challenge our sense of the stability and consistency of individual personality, of character, and of morality." Dr. Philip G. Zimbardo, in "The Lucifer Effect" 2008: ISBN-10: 08129744
modified 6-Mar-13 2:53am.
|
|
|
|
|
A very detailed analysis Bill. Ad blocking is something I've never really bothered with, so this is all double dutch to me. I'll continue letting CP show me ads.
|
|
|
|
|
Hi Pete,
My guess is that if you installed the MVPS Hosts file [^], you'd appreciate the great reduction in "static" as you browsed sites on the webs; you would notice it. The February 25 update of the MVPS Hosts file contains, I estimate, over 15000 entries to block.
The MVPS' project is a non-profit public service, and I heartily support the effort made to keep it updated.
But, of course, I have no "agenda" that anyone else should be using it !
Because of my widely varied interests in literature, archaeology/evolution of iconography of "sacred" and "animist" art in South-East Asia, ancient trade routes between "east" and "west," and, also because I visit some sites specific to Thailand and Thai cultural studies, and haunt all kinds of psychology and science related sites, and geek sites, and so forth ... well ...
... perhaps because of the variety of my surfing, the MVPS Hosts file may be more useful, for me, than for someone whose surfing is in a "narrower topical range" ? Just a thought: wouldn't want to elevate that into a "hypothesis"
yours, Bill
"Good people can be induced, seduced, and initiated into behaving in evil ways. They can also be led to act in irrational, stupid, antisocial, mindless, and self-destructive, ways when they are immersed in 'total situations' that impact human nature in ways that challenge our sense of the stability and consistency of individual personality, of character, and of morality." Dr. Philip G. Zimbardo, in "The Lucifer Effect" 2008: ISBN-10: 08129744
|
|
|
|
|
You're right. My surfing is very tightly aimed. I typically only visit half a dozen sites a week. As for ads, they tend to occupy that conscious blind spot - I mentally filter them out based on years and years of conditioning. I'm not saying that I would recommend this strategy for anyone else; it's just what works for me.
|
|
|
|
|
The Point is not to blocks add but to prevent google and others from gathering information about my surfing. Yes I disbled blocking for CP, because this board and it's sources is important for me, but I don't like google to know if I like teas and coffee and black trousers.
So I block every information from other sides not only the ads.
------------------------------
Author of Primary ROleplaying SysTem
How do I take my coffee? Black as midnight on a moonless night.
War doesn't determine who's right. War determines who's left.
|
|
|
|
|
Given that my surfing is pretty much confined to Code Project, Amazon, Intel, BBC, Daily Telegraph, nufcblog.org and The Daily Mash, it's not as though they are going to be too bad.
|
|
|
|
|
No, of course not. And not everyone must be so overcautious. At home I have a dozen tools installed to protect me from any tracking. It's like a quirk.
------------------------------
Author of Primary ROleplaying SysTem
How do I take my coffee? Black as midnight on a moonless night.
War doesn't determine who's right. War determines who's left.
|
|
|
|
|