Posts made by jaming
-
RE: Discourse SQL 1 minute query...
select count(1) from post_timings;
Disclaimer: I am not as familiar of postgres as I am with other databases.
This is going to force a full table scan which will be IO bound.
You need to get the query to use an index by introducing a where clause. If you can, then you can count index nodes which will be considerably faster.EDIT: After doing some research, it appears I am not correct:
PostgreSQL will still need to read the resulting rows to verify that they exist; other database systems may only need to reference the index in this situation.
Taken from: http://wiki.postgresql.org/wiki/Slow_Counting
-
RE: Discourse: White Page Of Death
I think IE just must put up its own error message because middle-clicking down the topic lists produces about a 1/3 chance of getting IE's HTTP 500 page for me.
-
RE: Discourse: White Page Of Death
That would explain the discournsistencies! Behavior is dependent on the chimp handling your request.
-
RE: Discourse: White Page Of Death
What browser and OS are you on? I am using IE11 on Win7, and I have only had it happen a handful of times. Is there a specific repo I have not noticed?
-
RE: Emails not being delivered for new user account
I think this is happening to me too as well as someone over at meta.d
https://meta.discourse.org/t/activation-emails-not-coming-through/20657 -
RE: 7Zip WTF
I'd rather have THAT than a half finished unzip in the destination folder.
Especially, when you are replacing the files in the destination folder.
-
RE: The minor rants thread.
True, but Google (at least for me) doesn't return anything official looking on the first few pages. (...unless I missed it.)
-
RE: The minor rants thread.
I would be scared we worked for the same place if you had said 4 years, but the column that gets updated by a buggy package here has only been wrong for that long.
-
RE: The minor rants thread.
Literally no official website has one single mention of it
Your bing-fu is lacking:
-
RE: PM from a Flag cannot be edited after it has been replied to
I would say that fits well.
-
RE: PM from a Flag cannot be edited after it has been replied to
On a different note, I can see said category and read topics in it but I can't reply to them
Furthermore, as a regular/leader/bishop of discourse, you can change the title/move the topic, but not post.
-
RE: WTF is up with the Favicon?
WTF just happened? I have changed that sentence before submitting, but it submitted the old version anyway.
I have had that happen as well, but it was during one of the times the server was being flaky.
-
RE: Moar downtime? who was playing with bots again?
I wonder if there is a cyclical job that runs at this time, or if it is just a USA lunch break usage spike?
-
RE: Attendance Badges
I guess naming things is hard because the badge name and description don't align. "50% Attendance" != "Have been to (and logged into) the forums for 50 consecutive days." I understand there is an unspoken "of the last 100 days" because that is the Discourse Way™, but to me having 50% attendance means I have been here half of the days since I joined.
In my case, I have not been a member for 100 days so the percentage is off. Perhaps, only users who have been members for over 100 days should be considered. However, since you already gave me my badges, you better not take them away! I already printed, framed and hung them!
-
RE: Interesting first webpage ideas
When I was in school, I created a webpage for my family. It consisted of a home site with links to each family member's page. Each family members page had a picture and bio as well as recent news regarding them.
-
RE: Discourse DMZ
Ah, of course, I must have missed that in their TOS where questioning the dictator got you a 999 day suspension.
-
RE: Programming Confessions Thread
I am a Java developer, and I work with Oracle databases.
-
RE: Discourse DMZ
Next serious security bug I find? It goes public.
What I want to know is why the ones that were found and fixed are not public already? And were they back ported to V1?
you're not being very specific about how or where.
Clearly, it's an extremely complex prioritization algorithm. Many developers that approach it can't get a handle on it and walk away due to its high level of overall complexity. In a way it is good since only serious developers can even attempt to understand it...
-
RE: Two design flaws for the price of one!
Clicking your avatar made my Firefox hang. Congratulations.
And my IE11 tab; although, the recover tab button made it relatively painless.
-
RE: Discourse ctrl+f search, even more useless than normal search
Please... They have a tiny 16.3 likes per user while we have 300.9 likes per user.
EDIT: in fact, look at the likes per post ratio. This whole forum should be a super hot heatmap™.
-
RE: Comcast not-at-all an abusive monopoly with not-at-all deceptive business practices!!!
When I order my current service from them, they pulled the tier I was ordering, and I ended up with a slower (cheaper) tier despite it not being what I put in my cart or purchased.
-
RE: [en.topic_count_all] Click to show.
certain this is another race-condition induced bug, where that a shared global variable somewhere is getting trashed by a different ajax loading while the first was in the middle of processing
Yeah, if only I could get away with that where I work.
- Build multi-threaded application without thread safety.
- Demand consistent repos from users.
- ??????
- Profit!
-
RE: What are the best practices here?
It really depends on your usage which I am not sure I totally understand, but it sounds like you might be looking for something like https://wiki.jenkins-ci.org/display/JENKINS/Config+File+Provider+Plugin
However, if you intend for your project to be a dependency of other projects it might be best to have each project that includes your framework provide the config file on the classpath. That has the advantage of allowing you to do maven builds outside of Jenkins. IMO, I would go with this approach.
-
RE: What are the best practices here?
Using surefire, you can specify command line arguments by adding an
<argLine>
tag in your<configuration>
tag. This would let you have the config params in the pom. Would that solve your problem? -
RE: What are the best practices here?
Are you developing a plugin for Jenkins?
-
RE: 🗣 Things Our Customers Have Said About Discourse Thread
I briefly considered that, but it is a lot easier to use mailinator.
-
RE: 🗣 Things Our Customers Have Said About Discourse Thread
The real question: were you surprised by it?
Don't hold it against me, but yes.If you flagged anything over there and it was related to any person from TDWTF, your account will be deleted if it's new, and 100% ignored if it's not.
I don't recall when I made it, but it was several days before, but, yeah, I figured it was seen as trolling.
-
RE: 🗣 Things Our Customers Have Said About Discourse Thread
I created an account (@oss) on meta.d to track topics and like some of @Downey's post on the version check sending additional data. I happened to be on meta.d when Jeff made that post so I flagged it as inappropriate. My account was deleted. Now in fairness, I did use mailinator for the email address since I did not want to give out my personal email, so perhaps they assumed it was a spam account? Either way I was highly disappointed by the lack of professionalism.
-
RE: The ASUS Taichi, with bonus Windows 8.1 WTF
Does your NIC driver have any sort of application prioritization feature? I had an issue with a NIC driver that tried to prioritize packets from certain applications. It worked in Win7, but caused BSODs in Win8 and 8.1. Turning off that feature solved my problem.
-
RE: Dismiss Unread resets topic tracking on affected topics
I'm going to partially guess, though, it's a WONTFIX BYDESIGN, even though the button doesn't indicate that it will get rid of your tracking otherwise, as there's no tooltip or prompt the first time.
Yep:
https://meta.discourse.org/t/rename-dismiss-unread-to-stop-tracking-topics/18524