Quantcast
Channel: User Robert C. Holland - Stack Overflow
Browsing all 35 articles
Browse latest View live

Comment by Robert C. Holland on How to SELECT post entries to which latest...

No error, just wrong results, the results looks like it gets sorted by post id 1 to max

View Article



Comment by Robert C. Holland on Vue.js component data variable undefined in...

Thanks, I'll accept it as answer after the minimum time limit. My application hangs after fixing this line, clearly for some other problem, is there anything obvious that you notice from what I posted...

View Article

Comment by Robert C. Holland on How to center element containing left floated...

@dhanushkac yes

View Article

Comment by Robert C. Holland on What is the idiomatic way to run a Node.js...

npm start, you create a start script

View Article

Comment by Robert C. Holland on Nesteted/recursive compoenent error,...

to render nested comment replies

View Article


Comment by Robert C. Holland on Nuxt.js dynamic component error "Either...

If I'm understanding your comment, the dynamic component needs a name, I added it in the question, does not resolve the error. The linked example does not seem to have a name.

View Article

Comment by Robert C. Holland on Nuxt async fetch() doesn't make server side...

Thanks, so I should be using <NuxtLink> and show the 404 message behind <div v-else-if="!$fetchState.pending">404</div>. But I don't understand how then should I be handling reloads...

View Article

Comment by Robert C. Holland on Copy value from one column into another...

I need to be able to insert with copy in some cases and not others, generated column does not seem to allow that.

View Article


Comment by Robert C. Holland on Nuxt get #hashtag part of the URL

Thanks but how do I access the full URL from a Nuxt page to do this?

View Article


Comment by Robert C. Holland on Connecting Node.js to Redis within docker...

If I do ports: - 6379:6379 and go to localhost:6379 in my browser, the docker log shows redis getting scared irbredis | 1:M 26 Nov 2023 20:27:02.422 # Possible SECURITY ATTACK detected. It looks like...

View Article

How to initiate, increment and set expiration in the same Redis command?

INCR mykey initiates to 0 and increments the value to 1. How would I set expiration time to the mykey in the same command like it can be done with SETEX ?

View Article

How to render threaded comment with Vue.js? [duplicate]

I have an array of comments like these:[ { id: 1, in_response_to: null, content: 'abc' }, { id: 2, in_response_to: 1, content: 'def' }, { id: 3, in_response_to: 1, content: 'ghi' }, { id: 4,...

View Article

How to SELECT post entries to which latest comment were created with SQL?

I have tables post and comment that has foreign key(post_id) to post. I want to get 100 "bump ordered" post entries. The post entry to which latest comment entry was created comes first. My first...

View Article


How to style text node with Vue.js?

<div id='app'>{{ userContent }}</div>In userContent, if a line starts with - I want to style only that line red. I can modify userContent data in js with the class for those lines and use...

View Article

Vue.js component data variable undefined in method

I have something like this as a component:Vue.component('mycomp', { props : ['c'], data : function() { return { var1 : true, var2 : [] } }, template : `<div v-html='func1(c.id)'></div>`,...

View Article


How to SELECT data from a postgreSQL INDEX?

If I created an index with following command: CREATE INDEX ixname ON tbname (id);Where ixname is the name of index, tbname is the table name for which the index is being created and id is the column...

View Article

Docker won't startup

If I try to start docker server like so:systemctl start dockerI get:Job for docker.service failed because the control process exited with error code.See "systemctl status docker.service" and...

View Article


Answer by Robert C. Holland for Docker won't startup

This seems to have been a Solus linux specific issue due to an update. I fixed it by running sudo rm -rf /var/lib/docker/overlay as suggested here (the issue is tracked here).

View Article

Answer by Robert C. Holland for Error: Can't set headers after they are sent...

You have two response.send..., you can only send data once. Either make sure only one runs with some conditional or add return before all response.send... so if any of them runs, the program will...

View Article

Docker mapped port is not accessible outside [duplicate]

I'm running:sudo docker run -d -p 9001:9001 --rm --name <cname> <img>then I go to my browser at localhost:9001, no connection.If I run:sudo docker run -d --network=host --rm --name...

View Article
Browsing all 35 articles
Browse latest View live




Latest Images