forgot password register

reset password

register

patrick.net

 

#misc


#housing #investing #politics #random more»
764,234 comments by 11,146 registered users, 8 online now: Dan8267, deepcgi, georgeliberte, Goran_K, iwog, joeyjojojunior, mell, socal2

new post
« prev   misc   next »

New version of patrick.net is live!

By Patrick following x   2017 Aug 20, 5:50pm 1,957 views   104 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 65 - 104 of 104     Last »

65 HEY YOU   2017 Aug 23, 9:06am   ↑ like (0)   ↑ dislike (0)     quote        
patrick.net is live!
Patnetters are brain dead!
66 Patrick   2017 Aug 23, 9:22am   ↑ like (1)   ↑ dislike (1)     quote        

Ugh, too many things still wrong, so reverting to php site again.

67 WookieMan   2017 Aug 23, 9:26am   ↑ like (1)   ↑ dislike (1)     quote        

Damn. Just got burned on the switch back. 3 paragraphs on electric vehicles that I'll never get back on that AAA post. By the timing of your comment I probably missed it by 2 minutes. No biggie, but it was probably the best writing I've ever done.

68 WookieMan   2017 Aug 23, 7:39pm   ↑ like (0)   ↑ dislike (0)     quote        

This is far fetched I imagine. But is there anyway to display an icon for a post that is actively being commented on? More specifically, a user is typing in a response to a post or comment. Kind of similar to the iphone or other messenger services where you can tell the other person is typing. And maybe a gauge or something to show the response if multiple people are typing responses? Maybe show the number of people typing comments or a speedometer type gauge that goes up as more people are typing? This would be cool in a forum atmosphere like this, probably more effective with a bigger active user base, but I'm guessing it's far fetched as I mentioned.

Obviously a lot of comments on a post show activity. It would just be cool if in real time it showed who was in the act of responding. Could be dumb, but just checking to see if this chunk of shit I was throwing would stick to the wall.

69 Patrick   2017 Aug 23, 7:48pm   ↑ like (0)   ↑ dislike (0)     quote        

WookieMan says

But is there anyway to display an icon for a post that is actively being commented on? More specifically, a user is typing in a response to a post or comment. Kind of similar to the iphone or other messenger services where you can tell the other person is typing. And maybe a gauge or something to show the response if multiple people are typing responses?

That's actually a brilliant idea, and not all that hard with my newfound javascript skills!

I'll try to do it. But first, I'm bringing ignore back. Almost done with that.

Sorry about the loss of text, but I don't see how it happened. Why should you have lost anything due to the switch? The sites work almost the same. Back button didn't recover it?

70 WookieMan   2017 Aug 23, 7:58pm   ↑ like (0)   ↑ dislike (0)     quote        

Patrick says

Dan, sorry about the loss, but I don't see how it happened. Why should you have lost anything due to the switch? The sites work almost the same.

I could be wrong, but I think you thought my comment about about the lost comment was Dan (jesus, I've reread this 8 times and I don't know how to word it better). I was typing in a long response in the AAA post from earlier today, that I believe I started on the node version. When I clicked to finalize the post there was some error message about no thread or comment and all my text disappeared. I then came here and saw you said you where switching back because of bugs. So I assume my comment box was on the node version when I started typing and prior to finalizing you switched it back to the php version. I'm guessing I clicked post (or whatever it is) after you switched back to php and that's why the error message came up. No biggie, I ultimately got my wisdom out there in that thread.

71 Patrick   2017 Aug 27, 11:37am   ↑ like (0)   ↑ dislike (0)     quote        
OK, we are back on the node version of the site again.

Fixed every bug I knew about. No doubt there are more. Please comment here about them, or email me at p@patrick.net

Thanks.
72 Patrick   2017 Aug 27, 12:09pm   ↑ like (0)   ↑ dislike (0)     quote        
HEY YOU says

I keep checking. No ignore,yet?



Ah, that's done now.

You can ignore people by clicking their icon or username and then click "ignore" on their page.
73 Patrick   2017 Aug 27, 2:30pm   ↑ like (0)   ↑ dislike (0)     quote        
I moved the #random link to the header, so you can easily click it over and over to get random posts from the past.
74 Patrick   2017 Sep 1, 9:38am   ↑ like (1)   ↑ dislike (1)     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   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   2017 Sep 1, 10:10am   ↑ like (0)   ↑ dislike (0)     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   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   2017 Sep 2, 3:46pm   ↑ like (1)   ↑ dislike (1)     quote        
Patrick says
Shit, there was a bug stopping some people from posting comments.


Bug or feature?
79 PeopleUnited   2017 Sep 3, 7:07pm   ↑ like (2)   ↑ dislike (2)     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   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   2017 Sep 3, 9:53pm   ↑ like (0)   ↑ dislike (0)     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   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   2017 Sep 4, 6:41pm   ↑ like (2)   ↑ dislike (2)     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   2017 Sep 4, 10:04pm   ↑ like (1)   ↑ dislike (1)     quote        
Hashtags don't work.

#example
85 Patrick   2017 Sep 5, 10:05am   ↑ like (0)   ↑ dislike (0)     quote        
Dan8267 says
Hashtags don't work.

#example


Thanks, will fix today.
86 Dan8267   2017 Sep 5, 11:23am   ↑ like (1)   ↑ dislike (1)     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   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   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   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   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   2017 Sep 9, 12:27pm   ↑ like (1)   ↑ dislike (1)     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
92 Dan8267   2017 Sep 9, 1:55pm   ↑ like (0)   ↑ dislike (0)     quote        
#first #second #third
#secondLine
93 Dan8267   2017 Sep 9, 1:56pm   ↑ like (1)   ↑ dislike (1)     quote        
So one hashtag per line then.
94 Booger   2017 Sep 9, 2:14pm   ↑ like (1)   ↑ dislike (1)     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   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   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   2017 Sep 9, 5:55pm   ↑ like (0)   ↑ dislike (0)     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   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   2017 Sep 9, 6:09pm   ↑ like (0)   ↑ dislike (0)     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   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   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   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   2017 Sep 20, 8:07pm   ↑ like (1)   ↑ dislike (1)     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   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.

« First    « Previous     Comments 65 - 104 of 104     Last »

users   about   suggestions   source code   contact  
topics   best comments   comment jail  
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