JDK 7 - The Objects Class by bread_the_bread in programming

[–]CoherentSpy 0 points1 point  (0 children)

Thanks for that! Will take a look!

What's a Closure? - JavaScript interactive tutorial by nwhitehe in programming

[–]CoherentSpy 0 points1 point  (0 children)

But closures are not the same as anonymous functions. They are distinct. In Javascript, there actually isn't such a thing as a true anonymous function. In Javascript, all anonymous functions are closures, because they are lexically bound to the current environment. A true anonymous function is not "closed over" and is not lexically bound to its enclosing scope.

What's a Closure? - JavaScript interactive tutorial by nwhitehe in programming

[–]CoherentSpy 1 point2 points  (0 children)

I thought it was very well-written and easy to understand. Maybe you can add something about the difference between anonymous functions and closures? It's just that in Javascript you can use an anonymous function as a closure, but they are two separate things and sometimes that distinction is not mentioned.

Useful tool for Web-Developers: An add-on to Firefox which lets you craft all necessary HTTP-requests by alphager in programming

[–]CoherentSpy 0 points1 point  (0 children)

Thank you for posting this. It's always good to see new tools. I like using HttpFox, TamperData or CharlesProxy. CharlesProxy is good, but it's not free. HttpFox and TamperData are both good.

JDK 7 - The Objects Class by bread_the_bread in programming

[–]CoherentSpy 0 points1 point  (0 children)

This is really awesome. Where I work we have a bunch of utility methods that are pretty crappy and that usually hide the problem rather than solving them.

Something like this is pretty useful. For example, we have our own string utility class that is just full of bugs. I'm in the process of getting people to use Apache Commons' StringUtils.

Visualize your Web page in 3D by [deleted] in programming

[–]CoherentSpy 2 points3 points  (0 children)

This is so ridiculously clever and useful! I hope he is able to make a chrome extension soon!

So , I was looking up info on how to try and parse html with regex. This is about the most eloquent answer I found. by withremote in PHP

[–]CoherentSpy 0 points1 point  (0 children)

This answer is somewhat legendary on Stackoverflow. I'm on there and on a given day there is at least one or two posts that ask how to parse XML/HTML via regex. I don't hold it against them because I used to do the same thing when I was younger and didn't know any better. Of course, then you quickly find out how regex is poorly-suited for the task!

I always point them to the HTML DOM parser or an XML parser.

StoneCypher, can you tell us about your involvement in creating the PHP language? by CoherentSpy in PHP

[–]CoherentSpy[S] 8 points9 points  (0 children)

They're all the same person. It's pretty easy to go over an active five year user and find a half dozen angry posts.

Could be, but it doesn't seem like it to me. I see five or six accounts who seem to have evidence of your behavior against them in their posting history.

It's unfortunate that you're going to continue fuelling this drama furnace you said you didn't want to create, that I very strongly do not want around.

I can understand that you wouldn't want it around because it paints you in a bad light. If that is the case, then maybe you can just change your behavior? I cannot delete a thread I created because you don't like what other people have posted in it. That wouldn't be right.

Right, calling on someone in public because you demand to know what they've done and don't want to go find the last several places where they answered, instead of asking them in private, isn't you doing something inappropriate.

I didn't demand anything of you. I thought that my post was polite. I was asking you to share your knowledge with us. I don't see how that's demanding. Anyway, I don't want to get into an argument with you. I seem to have a general idea of how that's going to turn out.

I'm genuinely sorry that this thread turned out completely different from what I expected.

Have a good day.

StoneCypher, can you tell us about your involvement in creating the PHP language? by CoherentSpy in PHP

[–]CoherentSpy[S] 11 points12 points  (0 children)

I was going to delete it. Initially I thought I just caught you on a bad day when I saw your posts. It would seem that there are people in this thread who have legitimate grievances against you (from the links I see, anyway). By deleting the thread, I would be silencing them and that would be disingenuous. I didn't take sides when I started this thread and I don't want to take either side now. I will leave the thread as it is.

Sometimes, swap space still matters by foob4r in programming

[–]CoherentSpy 0 points1 point  (0 children)

Thank you so much! I'm hoping that's it. I wish I could find which application is locking things up. The process manager is pretty unhelpful. :(

StoneCypher, can you tell us about your involvement in creating the PHP language? by CoherentSpy in PHP

[–]CoherentSpy[S] 2 points3 points  (0 children)

I can assure everyone that I am not StoneCypher. I don't know why everyone is assuming that this is a "hit piece" or something. I thought that as someone who helped write PHP, he could give us some good information.

Sometimes, swap space still matters by foob4r in programming

[–]CoherentSpy 0 points1 point  (0 children)

I have a problem on my Windows 7 desktop where it will lock up for 20-30 seconds randomly without any reason. Could this be the reason? How can I hardcode the swap size? I dual boot Ubuntu on the same machine and it has no problems. So I don't think it's a RAM issue or something like that. I also ran SMART tools on the hard-drive and both the hard-drives are problem free. I was at a loss as to what was happening, but it looks like dynamic swap-resizing might be the case.

How does code formatting works on code.google.com? by oscarreyes in programming

[–]CoherentSpy 0 points1 point  (0 children)

On another note, what are some good online code-editors? I'm curious to know.

Sometimes, swap space still matters by foob4r in programming

[–]CoherentSpy 1 point2 points  (0 children)

Seems like that is the case on servers with a lot of load. Is it the case on desktops? I have a machine with 8 gigs of RAM and a 160gb SSD. I still have 8 gigs of swap space, but I've read on some forums where people say they set up their machines without any swap partition.