« first day (4364 days earlier)      last day (567 days later) » 

4:24 AM
how do i earn a tag badge, randomly on a monday night, with no recent posts on that tag or recent received upvotes or undownvotes
 
4:45 AM
@KevinB maybe somebody edited the tag to a question you answered and it pushed you over the threshold
 
who's goign around editing in jquery events tags
 
The jquery events fairy
 
brian timpsett
because jquery events is such a better tag than javascript events
 
Well it has jQuery, so it must be better, duh
 
5:16 AM
@MileMijatović assuming this is in git i think its merge
 
@stickynotememo 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.
 
 
2 hours later…
7:28 AM
7 years old, someone is clearly focused on tagging
 
8:28 AM
Trying to figure the best way to auto restart a NPM script if any matches in a glob pattern of files change
 
8:40 AM
Hello, guys.
 
@MilanDev 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.
 
ok
 
fwiw - he's a chat bot if you did not notice it
@SuperUberDuper use npm-watch or something
I use gulp myself but it's not a "current" thing anymore :P
 
9:30 AM
@KarelG "current" changes too much...
 
10:02 AM
in this docker file, why  slash on diff sides  dist/ /app ?


FROM socialengine/nginx-spa

COPY dist/ /app
RUN chmod -R 777 /app
 
all files in dist directory is copied over to app directory (in the same tree)
 
Hello
I have an issue with type of event with React props
in parent component I have

const showInfo = () => setShowInfoText(true)
const closeInfo = () => setShowInfoText(false)
showInfo works properly
  <div
    className="flex flex-row items-center justify-center md:justify-start -mt-10 2xl:mt-0 cursor-pointer"
    onClick={showInfo}
  >
but in parent component I have this child
            <TotalAndAccountAccordion

              showInfo={showInfoText}
              closeInfo={closeInfo}
            />
Type '() => void' is not assignable to type 'boolean | undefined'.ts(2322)
on closeInfo
in TotalAndAccountAccordion , I have

showInfo?: boolean
closeInfo?: boolean
probably this is the problem, but how to fix this ?
 
@KarelG but why not /dist instead?
 
In TotalAndAccountAccordion I have button to close accordion
<CrossIcon className="cursor-pointer self-end" onClick={closeInfo} />
Type 'boolean | undefined' is not assignable to type 'MouseEventHandler<SVGSVGElement> | undefined'.
  Type 'boolean' is not assignable to type 'MouseEventHandler<SVGSVGElement>'.
 
@SuperUberDuper /dist should mean "the directory called dist at the root of the file system". Not sure exactly about Docker, but I'd expect dist/ to be local (so, depends where this runs). Also, dist vs dist/ might also have difference - copying the directory with contents or just contents, perhaps. Again, not sure about Docker specifically but that's what I'd expect
 
10:17 AM
ok many thanks
 
 
2 hours later…
11:51 AM
@SuperUberDuper it (/dist) grabs the folder with name "dist" and (case dist/) not the children of "dist" folder. End result at /dist is that you see /app/dist versus (at dist/) /app/XXX + /app/YYY where XXX and YYY are children of "dist" folder
 
ah cool thanks
 
12:41 PM
@Purushottam.Prasad Please don't post unformatted code - use the up arrow to edit your post, then hit Ctrl + K to format the code in that post. 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
@Purushottam.Prasad 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 message moved to Trash can
 
 
1 hour later…
2:10 PM
posted on September 27, 2022 by Erhu Akpobaro

Hi, everyone! We've just released Chrome 106 (106.0.5249.65) for Android: it'll become available on Google Play over the next few days. This release includes stability and performance improvements. You can see a full list of the changes in the Git log. If you find a new issue, please let us know by filing a bug. Android releases contain the same security fixes as their correspond

posted on September 27, 2022 by Ben Mason

Hi everyone! We've just released Chrome Dev 107 (107.0.5304.15) for Android. It's now available on Google Play. You can see a partial list of the changes in the Git log. For details on new features, check out the Chromium blog, and for details on web platform updates, check here. If you find a new issue, please let us know by filing a bug. Krishna Govind Google Chrome

 
2:41 PM
Hi I had a question about adding Array to a Object?
 MeetingPollingQuestion = new Object();
 MeetingPollingQuestion.MeetingPollingId = $("#hfMeetingPollingId").val();
 MeetingPollingQuestion.MeetingPollingQuestionType = "LongAnswerText";
 MeetingPollingQuestion.SequenceOrder = 2;

 MeetingPollingParts = new Array();
 MeetingPollingParts.Type = "Question";

 MeetingPollingQuestion.MeetingPollingParts.push(MeetingPollingParts);
 
And the question is?
 
Is that the correct way to do it
so it there a better way
 
i mean
MeetingPollingQuestion.MeetingPollingParts doesn't exist
you can't push to it
Why does your MeetingRollingParts array have a property?
 
        public int MeetingPollingPartsId { get; set; }
        public string Type { get; set; }
        public int MeetingPollingQuestionId { get; set; }
        public List<MeetingPollingPartsValues> MeetingPollingPartsValues { get; set; }
that is the model
  public int MeetingPollingQuestionId { get; set; }
        public string MeetingPollingQuestionType { get; set; }
        public int MeetingPollingId { get; set; }
        public int SequenceOrder { get; set; }
        public List<MeetingPollingParts> MeetingPollingParts { get; set; }
 
The model of the Question object Or the PollingPart?
 
2:53 PM
right, but
arrays shouldn't have properties
surely whatever is describing your thing isn't describing an array with a property
 
@KevinB Correct. The thing with a Type property also has a MeetingPollingPartsId property. Which means it probably should be MeetingPollingQuestion, rather than MeetingPollingParts
Wait, I misread
It has a MeetingPollingPartsId, so it's not an array
 
i don't recognize the language behind the model
 
C#
 
that'd explain why, :p
 
It's...well, exactly what you'd expect it to be. { get; set; } just means that the property has a getter and a setter. You can make it read-only if you remove set; for example.
MeetingPollingQuestion = {};
MeetingPollingQuestion.MeetingPollingId = $("#hfMeetingPollingId").val();
MeetingPollingQuestion.MeetingPollingQuestionType = "LongAnswerText";
MeetingPollingQuestion.SequenceOrder = 2;
MeetingPollingQuestion.MeetingPollingParts = [];

MeetingPollingPart = {};
MeetingPollingPart.Type = "Question";
MeetingPollingPart.MeetingPollingPartsId = 123; //whatever is appropriate
MeetingPollingPart.MeetingPollingPartsValues = [];

MeetingPollingQuestion.MeetingPollingParts.push(MeetingPollingPart);
You probavly need this.
I replaced new Object() with {} and new Array() with []
 
3:07 PM
thanks
 
is there no C# room?
 
there is a c# room I was thinking this is a JavaScript question
 
 
2 hours later…
5:01 PM
@KarelG do you normally run

RUN chmod -R 777 /app

when running a docker layer? eg with:

FROM socialengine/nginx-spa

COPY dist/ /app
RUN chmod -R 777 /app
@KarelG
 
posted on September 27, 2022 by Ben Mason

Hi everyone! We've just released Chrome Stable 106 (106.0.5249.60) for iOS; it'll become available on App Store in the next few hours. This release includes stability and performance improvements. You can see a full list of the changes in the Git log. If you find a new issue, please let us know by filing a bug. Harry Souders Google Chrome

posted on September 27, 2022 by Erhu Akpobaro

Hi everyone! We've just released Chrome Beta 107 (107.0.5304.7) for iOS; it'll become available on App Store in the next few days. You can see a partial list of the changes in the Git log. If you find a new issue, please let us know by filing a bug. Erhu Akpobaro Google Chrome

posted on September 27, 2022 by Ben Mason

Hi everyone! We've just released Chrome Beta 107 (107.0.5304.7) for iOS; it'll become available on App Store in the next few days. You can see a partial list of the changes in the Git log. If you find a new issue, please let us know by filing a bug. Erhu Eakpobaro Google Chrome

 
Why would you need 777? Surely 755 should be quite enough.
 
we followed a tutorial example
 
I mean, I guess you can give full access and then rely on the container not having anything that shouldn't be modifying the data. But I'm not quite sure it's needed, either.
 
755 is read and exe for the users group?
 
5:07 PM
rwx for owner r-x for group and others
 
5:54 PM
Can I ask a TypeScript question here? I'm struggling to sort out some type annotations in this code. (I added the error messages as comments.) I can sort of understand the 2nd error, and it's easily solved with SETTINGS[setting] as unknown as Setting<T>. But I don't understand the first error at all, so I'm wondering if I'm doing something wrong
 
6:10 PM
posted on September 27, 2022 by Prudhvikumar Bommana

 The Chrome team is delighted to announce the promotion of Chrome 106 to the stable channel for Windows, Mac and Linux. This will roll out over the coming days/weeks. Chrome 106.0.5249.61 ( Mac/linux) and 106.0.5249.61/62( Windows)  contains a number of fixes and improvements -- a list of changes is available in the log. Watch out for upcoming Chrome an

 
 
3 hours later…
9:14 PM
!!skyrim or subnautica
 
subnautica
 

« first day (4364 days earlier)      last day (567 days later) »