New version of patrick.net is live!
forgot password / register

reset password

register

patrick.net

 

#misc


#housing #investing #politics #random more»
778,981 comments by 11,534 users, 2 online now: Booger, mell
new post
« prev   misc   next »

1
0

New version of patrick.net is live!

By Patrick following x   2017 Aug 20, 5:50pm 3,131 views   113 comments   watch   quote     share  


You should not notice all that much, maybe a few things will be slightly different, or broken!

Please tell me about broken things: p@patrick.net

Even better, if you know how to fix the broken things, send me a pull request! The source code is all at https://github.com/killelea/node.patrick.net

« First    « Previous     Comments 74 - 113 of 113     Last »

74 Patrick   ignore (0)   2017 Sep 1, 9:38am   ↑ like (1)   ↓ dislike (0)     quote        

Patrick says
You can ignore people by clicking their icon or username and then click "ignore" on their page.


Also, if you ignore someone, you will not see the blinky new comments icon for a post if the ignored user is the most recent commenter in the post:

https://github.com/killelea/node.patrick.net/commit/ed61536b67790bed308c62d4b23613c5239a4484
75 HEY YOU   ignore (7)   2017 Sep 1, 10:00am   ↑ like (0)   ↓ dislike (0)     quote        

We know you don't care about patrick.net.
HEY YOU & TenPoundBass haven't been permanently banned.
I know some of you are smiling.

I can laugh harder at myself than many others can.
76 Dan8267   ignore (3)   2017 Sep 1, 10:10am   ↑ like (0)   ↓ dislike (2)     quote        

@Patrick, you got rid of ban. Tolls being ignored can still comment on the author's thread. Ignore is a worthless function. We need ban.
77 Patrick   ignore (0)   2017 Sep 2, 9:29am   ↑ like (0)   ↓ dislike (0)     quote        

Shit, there was a bug stopping some people from posting comments. I think I fixed it, but please let me know right away if such a thing happens to you. Write p@patrick.net
78 Dan8267   ignore (3)   2017 Sep 2, 3:46pm   ↑ like (1)   ↓ dislike (0)     quote        

Patrick says
Shit, there was a bug stopping some people from posting comments.


Bug or feature?
79 PeopleUnited   ignore (2)   2017 Sep 3, 7:07pm   ↑ like (2)   ↓ dislike (0)     quote        

Dan8267 says
@Patrick, you got rid of ban. Tolls being ignored can still comment on the author's thread. Ignore is a worthless function. We need ban.


I disagree, it is so much better to just hit ignore and remove all the noise from the excess posters (spammers). A reasonable adult is capable of ignoring trolls. Patnet doesn't need to cater to the safe space crowd.
80 BlueSardine   ignore (1)   2017 Sep 3, 9:24pm   ↑ like (0)   ↓ dislike (0)     quote        

He switched to Arm and Hammer back when the russkies rigged the elections...

PeopleUnited says
Dan8267 says
@Patrick, you got rid of ban.
81 Dan8267   ignore (3)   2017 Sep 3, 9:53pm   ↑ like (0)   ↓ dislike (1)     quote        

PeopleUnited says
Dan8267 says
@Patrick, you got rid of ban. Tolls being ignored can still comment on the author's thread. Ignore is a worthless function. We need ban.


I disagree, it is so much better to just hit ignore and remove all the noise from the excess posters (spammers).


Ignore and ban are not mutually exclusive.

@Patrick, bring back ban.
82 Bellingham Bill   ignore (5)   2017 Sep 4, 5:51pm   ↑ like (0)   ↓ dislike (0)     quote        

marcus says
Some of us prefer not to see a few people's posts.


Speak for yourself!
83 PeopleUnited   ignore (2)   2017 Sep 4, 6:41pm   ↑ like (2)   ↓ dislike (0)     quote        

ban
noun: official forbiddance
synonyms: boycott censorship embargo injunction prohibition refusal restriction interdiction limitation proscription stoppage suppression taboo a thou-shalt-not don't

I love the fact that on Patnet the above are used very sparingly and the snowflakes can't hide in a safe zone but rather must be held accountable by the other users for what they say by allowing anyone to respond in a civil manner like people do in a civilized world. The ban was always a bad idea and the ultimate form of incivility. Ignore is the epitome of civility on the other hand, allowing the children and the immature throw their tantrums and allowing us the civil people of Patnet to not respond to their idiocy or stoop to their level. This isn't a court room or a church service. It is a website for the exchange of ideas free from censorship. It is one of the last hold outs in an age of increasing censorship, intolerance and opposition of true free thinkers. Thank you for bringing back ignore and retiring the ban.

I liken it to this, suppose the KKK had a rally and the media didn't cover it. Hardly anyone would notice and therefore there would be no disturbance. Just let the racists have their puny rally and then be on their way. Suppose black lives matter had a march and the media didn't cover it it. Hardly anyone would notice and therefore there would be no disturbance. Just let the racists have their puny rally and then be on their way. Ignorance is bliss in these cases. There is NO NEED TO BAN people or comments just because you disagree with them, even if they are vile and hateful comments. Just ignore them. Or shun them with a strongly worded civil comment if you must virtue signal, but banning is not the answer. Tolerance is.
84 Dan8267   ignore (3)   2017 Sep 4, 10:04pm   ↑ like (1)   ↓ dislike (0)     quote        

Hashtags don't work.

#example
85 Patrick   ignore (0)   2017 Sep 5, 10:05am   ↑ like (0)   ↓ dislike (0)     quote        

Dan8267 says
Hashtags don't work.

#example


Thanks, will fix today.
86 Dan8267   ignore (3)   2017 Sep 5, 11:23am   ↑ like (1)   ↓ dislike (0)     quote        

Unignore does not work for user "null". Possible SQL injection vulnerability. Normally, I'd take advantage of something like this, but I'm too busy.
87 Dan8267   ignore (3)   2017 Sep 7, 7:12pm   ↑ like (1)   ↓ dislike (1)     quote        

What's up with
please edit this and post just one video at a time, thanks


Multiple videos per post makes sense. Why prevent that? How are multiple posts better?
88 Patrick   ignore (0)   2017 Sep 7, 7:18pm   ↑ like (0)   ↓ dislike (0)     quote        

It was just simpler to implement. I suppose I should allow several, but not, say, a dozen.
89 Patrick   ignore (0)   2017 Sep 9, 10:14am   ↑ like (0)   ↓ dislike (0)     quote        

Patrick says
Dan8267 says
Hashtags don't work.

#example


Thanks, will fix today.


OK, hashtags are fixed, with the requirement that the hashtag be the first thing on a line. When first on a line #housing will get transformed into a live link to the topic housing.

A hashtag added to a post will classify that post as within that topic. If there is no hashtag, the post will go into 'misc' until the author adds a tag.

Topic links (prev, index, and next) will be at the top of each post. So you can easily flip to the previous or next post within a single topic.
90 Booger   ignore (0)   2017 Sep 9, 10:36am   ↑ like (0)   ↓ dislike (0)     quote        

Site is still mostly not working on my phone. Android using Chrome or Dolphin.
91 Patrick   ignore (0)   2017 Sep 9, 12:27pm   ↑ like (1)   ↓ dislike (0)     quote        

Booger says
Site is still mostly not working on my phone. Android using Chrome or Dolphin.


Crap, what happens? Do you see nothing, or does the submit button for comments fail to work, or what?

BTW, I have fixed * for making things bold and underscores for making things italic and two (yes, two) double quotes around text to make it show up as a
blockquote
93 Dan8267   ignore (3)   2017 Sep 9, 1:56pm   ↑ like (1)   ↓ dislike (1)     quote        

So one hashtag per line then.
94 Booger   ignore (0)   2017 Sep 9, 2:14pm   ↑ like (1)   ↓ dislike (0)     quote        

Patrick says
Crap, what happens? Do you see nothing, or does the submit button for comments fail to work, or what?


Usually the page just doesn't load, and I see nothing. On some occasions, the first page loads, but nothing else works.
95 Patrick   ignore (0)   2017 Sep 9, 4:53pm   ↑ like (0)   ↓ dislike (0)     quote        

Dan8267 says
So one hashtag per line then.


Only tags which start a new link will be linkified, and in a post (as opposed to a comment), the first one will set the post topic.

I tried to do more, but the regexp processing is kinda nasty because the hashmark could be part of a url, say. So it was simplest for now just to match a hashtag at the beginning of a line: https://github.com/killelea/node.patrick.net/blob/master/node/patrick_net.js#L302
Also, here are the currently acceptable html tags in a comment or post:

https://github.com/killelea/node.patrick.net/blob/master/node/patricknet.js#L340
96 Patrick   ignore (0)   2017 Sep 9, 4:55pm   ↑ like (0)   ↓ dislike (0)     quote        

Booger says
Patrick says
Crap, what happens? Do you see nothing, or does the submit button for comments fail to work, or what?


Usually the page just doesn't load, and I see nothing. On some occasions, the first page loads, but nothing else works.


Damn. Usually?

I have an old Android phone with Firefox and it works OK there. Are you on wifi or the phone data plan when this happens, or both?
97 Dan8267   ignore (3)   2017 Sep 9, 5:55pm   ↑ like (0)   ↓ dislike (1)     quote        

Patrick says
I tried to do more, but the regexp processing is kinda nasty because the hashmark could be part of a url,


Wouldn't that be solved simply by requiring whitespace, newline, or start of string to be before the hashtag?
98 Patrick   ignore (0)   2017 Sep 9, 5:58pm   ↑ like (0)   ↓ dislike (0)     quote        

I solved it by requiring the hashtag to be the first thing on a line:

let hashtagPattern = /^#(\w+)/gim

How would the regexp look to match whitespace, newline, or start of string?
99 Dan8267   ignore (3)   2017 Sep 9, 6:09pm   ↑ like (0)   ↓ dislike (1)     quote        

/(?<=[\s>]|^)#(\w*[A-Za-z_]+\w*)\b(?!;)

It's a bit longer, but it handles start of string, end of string, start of line, in mid-sentence, and filters out where # is not the start of the word (that's the \b). See this demo.
100 Booger   ignore (0)   2017 Sep 10, 9:16am   ↑ like (0)   ↓ dislike (0)     quote        

Patrick says
I have an old Android phone with Firefox and it works OK there. Are you on wifi or the phone data plan when this happens, or both?


Works on Wi-Fi, not when using mobile data.
101 Patrick   ignore (0)   2017 Sep 10, 10:36am   ↑ like (0)   ↓ dislike (0)     quote        

OK, that's really interesting!

Maybe your mobile provider is blocking patrick.net. I'm on TMobile and that works. Who are you on?
102 Booger   ignore (0)   2017 Sep 11, 2:27pm   ↑ like (0)   ↓ dislike (0)     quote        

Cricket. It's working right now. Difference is that it was trying to go to Patrick.net, so I tried typing in www.Patrick.net and it started working again. I have no fucking idea why this seemingly fixed it.
103 WookieMan   ignore (0)   2017 Sep 20, 8:07pm   ↑ like (1)   ↓ dislike (0)     quote        

Very, very minor thing, but I don't think the comment count on the user profile is accurate. See these screen shots. My comment count has stalled since the switch to node I believe.
104 Patrick   ignore (0)   2017 Sep 20, 9:17pm   ↑ like (0)   ↓ dislike (0)     quote        

WookieMan says
don't think the comment count on the user profile is accurate


You're right. Will fix. Thanks for pointing it out.
105 Patrick   ignore (0)   2017 Sep 25, 8:10pm   ↑ like (0)   ↓ dislike (0)     quote        

Patrick says
WookieMan says
don't think the comment count on the user profile is accurate


You're right. Will fix. Thanks for pointing it out.


OK, comment counts are now updated correctly on user pages.
106 WookieMan   ignore (0)   2017 Sep 25, 8:36pm   ↑ like (0)   ↓ dislike (0)     quote        

For some reason still not working for me. Cleared cache and restarted browser and comment count on user homepage is still the same. Click on the comments link and the pagination or whatever it's called for the comments shows 202 on that page vs. 129 on my user homepage.
107 WookieMan   ignore (0)   2017 Sep 26, 7:40pm   ↑ like (0)   ↓ dislike (0)     quote        

It's only on the users page when they are logged in that it doesn't add up. Again not a big issue at all. I can go to another user and their comment counts are correct. So it's only when you're looking at yourself logged in.
108 Patrick   ignore (0)   2017 Sep 26, 8:11pm   ↑ like (0)   ↓ dislike (0)     quote        

@WookieMan thanks for telling me. Maybe I failed to push the new code to the server!

What if you make one more comment? Does that update the count correctly?
109 WookieMan   ignore (0)   2017 Sep 26, 8:19pm   ↑ like (0)   ↓ dislike (0)     quote        

Let me check.
110 WookieMan   ignore (0)   2017 Sep 26, 8:22pm   ↑ like (1)   ↓ dislike (0)     quote        

Yes, the comment count from users own perspective is correct now. I appreciate your work here. But you've just solved one of the most useless things I've ever requested to be fixed. Kidding aside, thanks.
111 Patrick   ignore (0)   2017 Sep 26, 10:11pm   ↑ like (0)   ↓ dislike (0)     quote        

Happy to help. Tell me more important things to fix too.
112 Patrick   ignore (0)   2017 Oct 3, 7:41pm   ↑ like (0)   ↓ dislike (0)     quote        

Damn, registrations were broken for a week. Fixed now.
113 WookieMan   ignore (0)   2017 Oct 5, 3:18pm   ↑ like (0)   ↓ dislike (0)     quote        

Again, not a huge deal and not sure how I didn't catch it when comments weren't counting correctly, but posts don't seem to be adding up either. See screenshot. 5 on the screen and more below. Only 4 counted in my total.

« First    « Previous     Comments 74 - 113 of 113     Last »


Comment as anon_1c765 or log in at top of page:

users   about   suggestions   source code   contact  
topics   best comments   comment jail   old posts by year  
10 reasons it's a terrible time to buy  
8 groups who lie about the housing market  
37 bogus arguments about housing  
get a free bumper sticker:

top   bottom   home