« first day (3411 days earlier)      last day (1541 days later) » 

4:16 AM
Hey I am having a issue in vue.js once please see this question and help me please anyone
https://stackoverflow.com/questions/60255648/how-to-uniquely-create-components-in-vue-js
 
4:30 AM
hmm what do you guys recommend to "store static data": ie translation dictionary used in a spa?
Use a database or just files and server those directly?
 
Based on requirement
 
5:03 AM
 
Anyone interested in declarative GUIs? github.com/samsquire/additive-guis
 
5:21 AM
@paul23 "Translation dictionary" is ill defined. It can mean a word dictionary, a type of translation software, or some entity mapping data structure in a software.
 
Well in our case: a word "phrase" dictionary.
 
Can you describe better? Like a simple google translate?
 
Basically for the UI to show the correct phrase when selecting a language.
 
Doesn't sound like it will be expanding beyond its purpose much, in which case I'd pick files.
 
Well, adding/removing phrases is a req (as in the interface itself might still change quite a bit). There won't be extra functionality though.
 
5:29 AM
Yeah. If you split the data by language, I think most computers will handle reading and writing a few hundred phases in the blink of an eye. Or a few thousands for a reasonably modern computer, assuming non-async read-write.
 
 
1 hour later…
6:52 AM
Hi All
im trying to create a generic repository layer in my nodejs application which will communicate with the database
like i have
usercontroller
userrepository
baserepository

userrepository will extend base repository.
but the generic functions like findOne, findMany, update
will be in base repository
can anyone provide with some url for such a appriac
 
7:26 AM
*approach
 
@SamSam stop trying to extend. Write a wrapper class
This would have long since already been done and you'd be onto greener pastures
I've seen you mention this problem a couple weeks ago
 
8:08 AM
hi guys
there is a web application where they are adding the javascript in run time... which means having them in a script and adding them in DOM while the page loads.
I wanted to do some debug on these files loaded in run time
but could't do that from browser
even if I set a break point it's causing an issue
which means not stopping by the breakpoint
 
add debugger;
 
8:28 AM
-3
Q: Marking plate, Control unique Cell in row/col

mikoto dreadlet me clarify it, i have 7 rows, 7 cols, each containing random numbers, i want one of these cells to be empty, and replaced with symbol, so 7x7 giving me 14 cells, 13 cells random generated numbers, and 1 cell to be empty, and given unique symbol, now when i have that, i want to click on any of...

 
heh see a line up ben :D
 
I know :P
 
9:22 AM
Wait, do you only need 3 CVs now?
 
pilot project went good. Probably released recently.
or is still running
 
9:46 AM
hi guys o/

i got a question , I've a bootstrap 4 table with 2 buttons next to each row ( each of which has been created dynamically by javascript )

what i'm trying to do is to add a function to the two buttons of every row to edit or delete the row but i don't know what is the best way to select the row using bootstrap or javascript or reference to the row inside the function ?
 
it depends of how you are adding the button, how the row gets named (identifiers?) ect
there are multiple approaches. The best one is really dependent of your design
 
@KarelG this is how i've created the table
    function generateTable(node, data) {
      let tbody = document.createElement("tbody");
      for (let element of data){
        let row = tbody.insertRow();
        row.setAttribute('class', 'tableRow');


        table.appendChild(tbody);
        for (let key in element) {
          let cell = row.insertCell();
          let text = document.createTextNode(element[key]);
          cell.appendChild(text);
          //table.appendChild(secondMenuIcon);
          row.appendChild(cell);

            }
 
@diamond Please don't post unformatted code - hit Ctrl+K before sending, use up-arrow to edit messages, and see the faq. You have 25 seconds to edit and format your message properly before it will be removed. Please separate code blocks from your actual question. Put your question in 1 message and then your code in a 2nd and format it.
For posting large code blocks, use a paste site like like gist.github.com, hastebin.com, pastie.org or a demo site like jsbin.com
 
is there is any ideal way to reference the row using just bootstrap ?
what is the best method to reference it using js ?
 
10:02 AM
> ...the row gets named (identifiers?)...
if element of data has something unique to identify the row with, use data-... attributes
then assign the same data attribute to your buttons
then it is a simple queryselector by data attributes
 
i saw a built in function using bootstrap only but its in jquery
$('#infoTable').on('click', 'tbody tr', function(event) {
  $(this).addClass('highlight').siblings().removeClass('highlight');
});
could u translate it to javascript for me ?
 
You're using bootstrap, meaning you're probably using jQuery too, no?
 
its built in it but i dont know jquery
that is why i want to write my code purely in vanilla js
 
@diamond this just means "highlight the clicked row and remove highlight from other adjacent rows"
 
@Neil yea i can read that but "this" is an unexpected token in js , not sure if i'm doing it right
 
10:12 AM
const siblings = this.parentElement.querySelectorAll('tbody tr');
Array.prototype.forEach.call(siblings, function (sibling) {
  sibling.classList.remove('highlight');
});
this.classList.add('highlight');
this would be the equivalent I suppose
 
document.querySelector('#infoTable').on('click', 'tbody tr', function(event) {
  var this = document.querySelector(this);
  console.log('this = ',this);
});
 
That's not how that works
!!mdn addEventListener
 
i've tried to simplify it into just logging in the console and yea it didnt work
 
@JamesBot you suck
 
right i got confused xD
Uncaught SyntaxError: Unexpected token 'this'
 
10:14 AM
@diamond "this" is often difficult to determine at times in javascript, but it isn't assigned using a random number generator
in an event where "this" has meaning, it is usually that element, such as click event
 
in bootstrap when i hover on a row it highlight it
 
unless you have reason to think otherwise
 
i figured there is already a function that can determine that row*
 
that's hover, not click
this assigns "highlight" class when clicked
 
That's also done with CSS
 
10:15 AM
right .
that is the tread i was looking into
3
Q: Select single table row from bootstrap table

MichaelI need to be able to select a row in a table by clicking it (and using css class for highlight styling) $("#infoTable tr").click(function() { var selected = $(this).hasClass("highlight"); $("#infoTable tr").removeClass("highlight"); if (!selected) $(this).addClass("highlight");...

but in my case its a dynamic table so i'm not sure how to identify the row in js.
 
@diamond it's "this" always
only because that is what you bound to the click event
had you bound a button, "this" would be the button
 
@BenFortune it listens to ||
 
@Neil this i dont get it , why am i having error , i cant even load the page.
 
!!> 'you sure?'
 
@BenFortune "you sure?" Logged: ``
 
10:19 AM
o.o
 
@diamond var this = document.querySelector(this);
 
|| mdn addEventListener
 
@KarelG @KarelG - Good Idea! I have even written in python... why this idea got up into my mind...my bad...
 
This doesn't make any sense
 
10:19 AM
:D
 
thank you and it's working good
 
don't forget to remove it afterwards lol
 
@Neil that is my translation to
$('#infoTable').on('click', 'tbody tr', function(event) {
  $(this).addClass('highlight').siblings().removeClass('highlight');
});
$(this)
 
"this" is already available when the event handler is called
you just have to use it
 
ohh
 
10:25 AM
@KarelG - yeah... lol
 
10:53 AM
@diamond again, since you are constructing the rows and the buttons with js, use data-attributes to identify these. Then it is only a matter of listening at click events on those buttons
then you simply can do document.querySelector(`table#id tr[data-something="${this.data.something}"]`)
 
@KarelG i found a better solution
 
table#id is optional
@diamond that's good. The main importance is that you have a working functionality
 
let row = tbody.insertRow();
row.setAttribute('onclick','printRow(this)');
but for some reason it can't locate the function "printRow"
i've tried row.setAttribute('onclick','console.log(this)'); and it worked
 
why don't you use addEventListener? .__.
row.addEventListener('click', funcToCall)
function funcToCall() {
  // oh boi row got clicked.
  // this = my row
}
 
that make more sense *
 
10:59 AM
setAttribute might even work, not sure
still, use the intended way
 
*pats Neil*
 
*purrs*
 
lol
sorry i'm like on and off so sometimes i just forget
 
Hi
how to convert base64 byte data in to a downloadable pdf using javascript
 
XY.. why are you not having the backend send that pdf?
 
11:13 AM
@swaroopbabaleshwar did you have considered to google literally that question?
it should give you enough results to start your research with
you're not the first one that has to implement it
1 message moved to friendly bin
(forgot to edit back)
 
11:53 AM
ok i'm sorry this is should be simple but i cant figure out why its behaving like this
    let row = tbody.insertRow();
    row.addEventListener('click',printRow(this)); // it always run ondomload so it returns Null
//I've also tried this

row.setAttribute('onclick', "printRow(this)"); // returns >> printRow is not defined
 
@BenFortune support for the other commands coming soon in a pull request near you
 
@diamond what you pass to addEventListener as second parameter is a function..
 
Morning everyone o/
 
what you're passing now is whatever printRow(this) returns
and, as it would seem printRow isn't defined.. so there's that
 
@Neil i know its a function but it suppose to wait till i click on it
 
11:59 AM
@diamond no, you're not listening
1 min ago, by Neil
@diamond what you pass to addEventListener as second parameter is a function..
 
the function is the first function inside onload*
ohh
 
you're not passing a function, even if printRow is a function
understand the difference :)
 
but i have tried that as well
wait i ill give it a second run
 
also, if you see "printRow is not defined", chances are good that printRow is not defined..
 
    row.addEventListener("click", function(this){
      console.log(this);
    });
//log >> Uncaught SyntaxError: Unexpected token 'this'
 
12:03 PM
row.addEventListener("click", function() {
      console.log(this);
});
Try this
"this" is a keyword and has special meaning. It doesn't like when you name your parameters using keywords
 
yea it worked xD
but also
@Neil yeah but i've tried to past the function before onload , first function after onload , before defining the row , after the row , still didn't see it as defined for some reason

i will try not using (this) as parameter maybe it will work
but if it didnt u have already solved it , thanks alot :D
 
that's incidentally how you would use "this"
nothing gets passed in, it's just there
for a row click event, "this" represents the row being clicked
 
but i still didnt get it
row.setAttribute('onclick', "printRow(this)");
why does this return 'printRow is not defined'
its certainly defined since addEventListener where able to find it
    row.addEventListener("click", function(){
      printRow(this);
    });
//this worked
 
@diamond Please don't post unformatted code - hit Ctrl+K before sending, use up-arrow to edit messages, and see the faq. You have 25 seconds to edit and format your message properly before it will be removed. Please separate code blocks from your actual question. Put your question in 1 message and then your code in a 2nd and format it.
 
@diamond don't use setAttribute
 
12:13 PM
row.setAttribute('onclick', "printRow()");*
cool
 
this is not considered to be good practice
it may not even work with every browser
 
@Neil yea i'll never use it
Thanks a trillion :D
 
no problemo
 
eli
Hi
i've included this scrip https://code.angularjs.org/1.4.8/angular.min.js in my index.html file. But after incuding it destroy some of my css style
 
@diamond lol
 
eli
12:24 PM
all submit button get lost
 
As in the css for the submit button is changed?
 
@diamond you don't comprehend addEventListener. So read its doc
@diamond this is the correct approach
 
eli
12:44 PM
@JBis this part of form get disappeared
But my css file remain the same
 
I'd use the inspect element tools in your browser to figure out what's over riding it
 
eli
Inspect shows that part of html is not in DOM element at all
 
@KarelG I'll definitely read it , thanks for pointing it out for me.
hmm
 
1:01 PM
@diamond that is why you don't use .setAttribute. Especially for interaction events :)
hmm I somehow am loosing track.
 
nah i was gonna ask a different question but i thought maybe google it first
simply is because i have buttons on the last column that edits and deletes the row but now since i have added the event listener to the entire row , when i click on any of the buttons both functions get calls out.
 
:P
 
lol
 
1:18 PM
I kinda expected it.
forgive me
I mentioned before that you could solve it by listening to clicks on the buttons itself
 
1:35 PM
its cool , i actually need both options
i found this
2
Q: Disable on-click event for single column

KrupaCan anyone let me know how to disable on click event for particular column. Scenario : We displayed user details in a table , once click has been made on the table row, popup dialog window will appears with more details(Calling ajax request to retrieve details from database) . But our constraint...

$(function() {
  $('table td').on('click', function() {
    if ($(this).index() == 2) {
      return false; // disable 3rd column
    }
  });
  $('table tr').on('click', function() {
    alert('You click the row');
  });
});\
 
function restrictUpdateGpoLocationListCheckboxes(isGpoTaskActive, isLocationTaskActive, isEnrollmentTaskActive){
	debugger;
	// if(isEnrollmentTaskActive == 'Yes' || isGpoTaskActive == 'Yes'){
	if('Yes' == 'Yes' || 'Yes' == 'Yes'){
		$('.contract-loc-selectall').prop('disabled', true);
		$('.contract-loc input[data-program]').prop('disabled', true);
		$('.contract-loc input[data-program]').each(function(i, v){
			$(this).prop('disabled', true);
			$(this).trigger('change');
		});
		debugger;
	} else {
 
working on translating this into JS
 
@diamond that's not a good approach though..
 
the checkboxes are not getting disabled... what could be the issue.. if i put the same code in console. it;s working good.
please comment
and provide me a third view
 
ideally you would have the <th> header for the column with some data attribute like <th data-disabled="true">
then when a cell is clicked, you check it's th for that attribute and if true, then you ignore the click
 
1:38 PM
ohh that's a good idea
Thanks man
 
like this it is dynamic and it can be removed to make the column work again
 
oh boy
please be aware that SO answers should be used as a reference/indication
 
don't sweat it, i know :)
 
Hey, im having issues killing process with nodejs on linux.
On WSL (Windows) await process.kill(*pid*, 9) works fine but on actual linux it doesn't.

I tried just doing kill -9 pid on terminal and it gave me permission error.
So then i tried running app as sudo node app.js but stopping and killing my process is still not working.

What can i do?
The error message is:
kill(*pid*) : {}

Doesn't really give me much information.
 
1:53 PM
you could try runnning it in root and seeing if that resolves it
if so, it's a permission problem
the program can't do anything the user that launched it can't do
 
Oh yeah i tried that, didnt resolve it
sudo su and then node app.js

and also just sudo node app.js
 
you get the same error even with sudo node app.js?
 
yea
 
well what processes are running with pid in the name?
 
I have engine folder where my python file is and admin folder where node js files are.
In engine i have virtual environment for each exchange"inside of engine folder and then on admin side i do this:
let python3 = __dirname + /../../engine/${exchange}/${exchange}_env/bin/python3.7;
 try {
            let args = [
                __dirname + `/../../engine/${exchange}/` + name,
            ];
i just run the python file with python3.7 thats installed inside of the virtual environment of that specific exchange
And its working fine on windows and even on digital ocean droplet but on linux computer from my friend it just wont work even though it is able to detect the PID that needs to be kiled
 
2:02 PM
@TheGarrus how do you "kill" the process?
 
  /**
     * Stop process
     */
    async stop(name) {
        let ref = this;

        let pids = await ref.find_pids(name);

        for (let p in pids) {
            let pids_children = await ref.find_children_pids(pids[p]);

            console.debug(`pids[p] = ${JSON.stringify(pids[p])}`);
            console.debug(`pids_children = ${JSON.stringify(pids_children)}`);

            for (let pp in pids_children) {
                ref.kill(pids_children[pp]);
            }
        }

        for (let p in pids) {
  /**
     * Kill exact pid
     * @param {*} pid
     */
    async kill(pid) {
        //console.log(`kill(${pid})`);

        try {
            await process.kill(pid, 'SIGTERM');
        } catch(err) {
            //console.log(`kill(${pid}): ${JSON.stringify(err)}`);
        }
        return true;
    }
It actually console logs the Pids that need to be killed but the async kill is not able to kill it
 
oink
 
and instead it just console logs the error message (i commented it out because its not helping)
 
I only expected the second comment. The first one isn't relevant imo :P
 
the error is just
kill(*pid*) : {}
Yeah i guess not
 
2:04 PM
await process.kill(pid, 'SIGTERM'); ---> await process.kill(pid, 'SIGKILL');
or sigstop
 
I had that initially
pid, 9 which is SIGKILL
 
you could just do it in the shell
 
like
child_process.spawn(python3, ....
 
hmm and the sigkill isn't working?
I'm using that and ... it works.
 
yeah it works on my windows fine so maybe i didnt install something properly on the linux
it works even on digital ocean droplet
 
2:09 PM
if he can't launch the command in linux, then he definitely can't inside the program
 
alright well there are no issues with the code
il just have to figure out whats wrong with linux
thanks
 
2:27 PM
a javascript code is working in console and the same code is not working when it is deployed as a js file in server
i am doing checkbox disabling based on AJAX response
 
we need more context for that eh
 
BRB
function restrictUpdateGpoLocationListCheckboxes(result){
	console.log(result);
	debugger;
	// if(result.isEnrollmentTaskActive == 'Yes' || result.isGpoTaskActive == 'Yes'){
	// if('Yes' == 'Yes' || 'Yes' == 'Yes'){
	if(true){
		$('.contract-loc-selectall').prop('disabled', true);
		$('.contract-loc input[data-program]').prop('disabled', true);
		$('.contract-loc input[data-program]').each(function(i, v){
			$(this).prop('disabled', true);
			$(this).trigger('change');
		});
		debugger;
	} else {
$.ajax({
                url: url,
                type: 'get',
                dataType: 'json',
                contentType: "application/json; charset=utf-8",
				headers:({'EnName':enName(), 'z':Z()}),
                success: function(result) {
				if(result.errorCode!="RESOURCE_NOT_FOUND"){

						restrictUpdateGpoLocationListCheckboxes(result);
						debugger;
 
all that debugger x.x
 
2:45 PM
i Don't understand when does i have to use immutable object in angular?
i need to use always to have best perfomance?
hi guys i have a question
 
use immutable object whenever you can
for the same reason you use private accessor to class methods whenever you can
 
hi quick question .

i have a function that indicates the row I've clicked and runs another function onclick ( for the row )

if i wanted to access the cell that has been clicked i should add the onclick function to the each cell or there is a way to find the cell that has been clicked from the row onclick function ?
 
but if you use this, you have the cell that was clicked..
 
how ?
 
"this"
 
2:49 PM
this defines the row
 
this also defines the cell if you put a click event on the td elements
 
yes that is what i'm talking about , i need to add the "Onclick" to the "td" instead of the "tr"
 
thanks @Neil
 
as i can access the cell with "this" and the row with parent.this , right ?
 
this.parentElement, yeah
 
2:52 PM
thanks Neil <3
 
also, if from the cell, you want to know what column you're in: stackoverflow.com/questions/5913927/get-child-node-index
var child = document.getElementById('my_element');
var parent = child.parentNode;
// The equivalent of parent.children.indexOf(child)
var index = Array.prototype.indexOf.call(parent.children, child);
so "child" would be this, in your case
find its relative index in the row, and you can find the nth th element for that cell
 
Neil. it's the second time today I see you using Array.prototype.fx.call.... ._.
 
I literally just copied the highest-voted solution..
drop a comment on the highest voted answer and let them know you disapprove
 
yeah but you could adjust the snippet before posting no?
it's literally there in the comment :P
I probably am missing something 🤨
 
Fwiw, using [] creates an Array instance every time you run that code, which is less efficient for memory and GC vs using Array.prototype. — Scott Miles Aug 29 '14 at 0:50
This comment would seem to encourage the usage of Array.prototype, no?
maybe I'm missing something
what's so bad about this?
 
3:15 PM
@Neil Thank you so much !
 
@diamond no problem :)
 
hey!
 
@AnshVarun Welcome to the JavaScript chat! Please review the room rules. If you have a question, just post it, and if anyone's free and interested they'll help. If you want to report an abusive user or a problem in this room, visit our meta.
 
-1
Q: Old project values occur when working on new react project

Ansh VarunWhen i am creating a new react project, properties of previous projects when i occur such as : project title name on tab (title name of old project appears on tab) Worker registration successful http://localhost:3000/ <- this message appears for new react project where there is no as such servi...

 
@AnshVarun hey
 
3:23 PM
can anyone help with this issue
 
@AnshVarun try reinstalling the project from scratch
seems like you've got something left over from a previous project
 
@Neil i did it, its same, didn't work for me.
 
@AnshVarun then check if you didn't accidentally commit changes from the old project into the new
you know what to look for.. it's got to be something along these lines
 
there are days that I wish that js has a convenient method to walk up in the parent chain
I have form.parentNode.parentNode.parentNode now
-.-
 
Hi all. Visiting from the MVC room
Please drop by sometime. We keep the door open and have lots of snacks and soda for newcomers :)
 
3:35 PM
@KarelG yeah, I agree. some sort of reverse querySelector for going upwards would be nice
 
Thanks, Neil, for visiting :)
Sorry the snacks are all virtual
 
Know that the snacks were virtual!
no treats were issued from my monitor screen, I attest
 
3:50 PM
I can verify what Neil says. Though I invited him to my cube, which has snacks galore
 
@Neil its working fine in incognito tabs.
 
Now wondering if there's a CSS chat.... here it is
This room's where the experts are
 
@Neil thanks! clearing cache worked for me.
 
Ahhh! The request module is shutting down.
 
4:18 PM
finally
 
5:10 PM
I am sad there hasn't been much new SE drama lately
@TaylorS that's probably the worst, most inaccurate description of JS vs PHP I think I have ever read
4
Great job
Especially the part about calling HTML, CSS, and JS "lower level"
 
@ndugger just wait a week or so, it be brewing
 
Nice
Who needs TMZ when we've got Stack Exchange?
Hey benjamin
 
5:50 PM
What do you prefer Kevin? got or fetch?
 
6:15 PM
got milk?
 
no, got tnt?
 
@LittleBowsette Welcome to the JavaScript chat! Please review the room rules. If you have a question, just post it, and if anyone's free and interested they'll help. If you want to report an abusive user or a problem in this room, visit our meta.
 
who wants to review a code XD
 
6:49 PM
I prefer fetch, i've never used axios or any of the other request alternatives
i don't think i've ever directly used request either, aside from while helping someone here or on SO
 
7:17 PM
@ndugger Remember.. Im the slow inexperienced regular visitor of this room :)
 
;-;
no me
 
8:14 PM
> who wants to review a code XD
Oofers thats not gunna happen
 
8:26 PM
We use axios at work, but it annoys me because it doesn't really serve a real purpose anymore. It's just a promise wrapper around XHR. I'd much rather use fetch, especially with streams
 
just use $.ajax
 
8:57 PM
||magic
 
(∩ ͡° ͜ʖ ͡°)⊃━☆゚. * ・ 。 ᵀᴴᴱ ᴳᴬᴹᴱ
 
9:21 PM
$.no
 
 
1 hour later…
10:23 PM
is there any way to get axios to throw something more informative than "Network Error"
i am banging my head against a wall here. for some reason all the API calls work except for the one that I need to work
and it's not even making the request (nothing comes up on the "Requests" tab in Firefox)
just returns with "Network Error"
very frustrating :(
 
err
that doesn't make much sense
if it were a network error, it would have... touched the network, and therefore appeared in the requests tab
are you sure you don't have a filter on the requests tab hiding it?
 
that's part of why i'm so frustrated. :l not only is the message super vague, but it doesn't even make sense
100% sure, yeah
furthermore, i've got a console.log statement w/e a request is made that spits out the headers/options/etc., and that shows up just fine (in the same way that every other one does)
but apparently nothing happens from there? :l
 
can you share the code?
 
10:40 PM
i can't. =/ i've inherited a decently sized react/redux app, wherein making a simple API call requires going through like 3 different protective functions (complete w/ user tokens and all) and a buuuunch of different components
(also. i've decided i hate react. -_- )
the "proteted api call" function that, ultimately, makes the requests looks like:
export default async function request(token, route, options) {
    const headers = await getAuthorizationHeader(token);
    const optionsWithHeaders = Object.assign({}, options, {
        headers,
        url: route,
    });

    if (process.env.NODE_ENV !== 'production') {
        // eslint-disable-next-line
        console.debug(JSON.stringify(optionsWithHeaders));
    }

    return axios(optionsWithHeaders);
}
/**
 * Requests a URL, returning a promise
 *
 * @param  {string} token       The current user's auth token
 * @param  {string} route       The endpoint on the server we want to request
 * @param  {object} [options]   The options we want to pass to "fetch"
 *
 * @return {Promise}           The request promise
 */
 
11:39 PM
fetch is the smallest package i see so i'll use that from now on. Also consistent with front end
@KevinB Just an example of an issue I have with SE that would be solved in my website with linking answers.
3
A: SSH port forwarding not working in macos catalina (10.15)

JBisFrom What's ssh port forwarding and what's the difference between ssh local and remote port forwarding: I have drawn some sketches ssh tunnel starting from local ssh tunnel starting from remote Introduction local: -L Specifies that the given port on the local (client) ...

I earned 3 upvotes + 50 point bounty for simply quoting an answer from a different site.
I wrote one word in that answer "From".
If its on the same site, you can close as dup but that doesn't always make sense. Just because its the same answer doesn't mean its the same question but it seems like it is when its marked as dup.
 

« first day (3411 days earlier)      last day (1541 days later) »