[Tech Week] RAC + Spectrum + Tailwind examples

Contains docs and more examples for how to create custom Spectrum components using RAC and Tailwind.
Can be previewed here: https://codesandbox.io/p/sandbox/silly-zhukovsky-m4s422?file=%2Fsrc%2FApp.js%3A1%2C1
✅ Pull Request Checklist:

[ ] Included link to corresponding React Spectrum GitHub Issue.
[ ] Added/updated unit tests and storybook for this change (for new code or code which already has tests).
[ ] Filled out test instructions.
[ ] Updated documentation (if it already exists for this component).
[ ] Looked at the Accessibility Practices for this feature - Aria Practices

📝 Test Instructions:

🧢 Your Project:

i still can't use arrow keys to navigate the star rating in the link in the description

@snowystinger Can you try refreshing? It seems to be working for me. Let me know if it still doesn't work and I can investigate.


Spotify Integration Issues with Monstercat Visualizer

[IMPORTANT: Please remove or replace everything between two square brackets ( [ ] ) before posting your issue.]
Description
I am new to this so apologies if I'm repeating anything. I installed WebNowPlaying and got the "Spotify is spiced up!" through powershell, so I didn't think it was an issue on that end. I've re-installed Spotify(as an exe) a couple of times, as well as uninstalled monstercat visualizer/WebNowPlaying/spicetify to see if that would solve anything.
I saw a number of fetch errors in the error log and was unable to figure out where the issue was from there.
I would appreciate any guidance that you have in relation to this issue. Thanks :D
Versions

Rainmeter Version: 4.3
OS Version: Windows 10 Pro
Skin Version: 2.1
Spotify Version: 2.1.5

Additional notes/images
Error log attached.
[If you have any additional infos you can give us, please write them down]

Closing this issue, please create an issue on the spicetify-cli repo for further help on spicetify.


Develop

I prepared programs to generate figures for the SISC paper.
JMMmeasurements.c contains JMM1,2,3, with the Dijkstra template.
All new data are in the Data folder  in sjs (I haven't renamed it yet, sorry).
In order to  reproduce the data, the figures, and the input for latex tables, you need to do three runs and one matlab run:
(1) gcc -Wall mesh.c HeapSort.c JMMupdates.c linear_algebra.c slowness_and_uexact.c Newton.c JMMmeasurements.c -lm -O3
This creates all JMM data for all 5 test problems in one shot. (Only Dijkstra template is used.)
(2) gcc -Wall slowness_and_uexact.c linear_algebra.c olim8mp0.c -lm -O3
This makes to olim8mp0 data.
(3) gcc -Wall slowness_and_uexact.c FMM.c -lm -O3
This makes the FMM data (4 pt nearest neighborhood, right-hand rule).
(4) Run JMMstatsplots.m. It saves all figures as eps files in the directory Figures. It also prints on the screen an input for latex tables.

Just a heads up, I merged this pull request manually.
I also deleted the Data, OldData, and Figures directories. It's better to not include these, because it's hard to track the provenance of these files. It's better to have the user run the code and generate all this data themselves.
I'm going to merge these changes into sampotter/jmm-sisc-figures and continue working there.

👍
On Fri, Jul 24, 2020 at 1:14 PM sfp<EMAIL_ADDRESS>wrote:

Just a heads up, I merged this pull request manually.
I also deleted the Data, OldData, and Figures directories. It's better to
not include these, because it's hard to track the provenance of these
files. It's better to have the user run the code and generate all this data
themselves.
I'm going to merge these changes into sampotter/jmm-sisc-figures
https://github.com/sampotter/jmm/tree/jmm-sisc-figures and continue
working there.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/sampotter/jmm/pull/14#issuecomment-663642171, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AL5N5ITEXGGPBSXIE5MZXTTR5G6NTANCNFSM4O7DAWYQ
.


[terra-table] Screen Reader is not reading the table header name.

Bug Report
Description
Screen Reader is not reading the table header name. On tabbing to navigate through the table while using screen reader, it skips reading the table header name.
Expected Behavior
Screen reader should read the table name also.
Possible Solution

Environment

Component Name and Version:
Browser Name and Version:
Node/npm Version: [e.g. Node 8/npm 5]
Webpack Version:
Operating System and version (desktop or mobile):

@ Mentions

@saket2403 Can you provide more detail, perhaps a screenshot or code example from the dev-site to point towards which text element should be being read by the screenreader?

@saket2403 Can you provide more detail, perhaps a screenshot or code example from the dev-site to point towards which text element should be being read by the screenreader?

I have updated the issue to be a spike on adding caption element as discussed with dave.


Integrate ng-bootstrap

As requested, creating a separate ticket to track getting ng-bootstrap implemented in the seed project.

Curious to swing @d3viant0ne in here. Josh, you are working on a Material Design integration correct?
I've been trying to make a decision as to whether to integrate MD or Bootstrap into master.
Whichever one did not go to master, I was thinking of having a branch with the other or if someone wanted to keep up with a forked integration into the other. Thinking aloud here.

MD is nicer for Android similarities and I want to shout out to @NathanWalker great job man :)
I think I use your card view plugin

@dskaggs - https://github.com/DeviantJS
I'll be done with an integration example/guide for Material2 shortly & ng2-bootstrap by the end of the day.
Given the advanced seed is based off the original, you should have a clean map to adding the same to the advanced seed.

@d3viant0ne Many thanks. I'm traveling at the moment but will definitely take a look early next week.

@x4080 Thanks, hopefully the card view plugin is working alright for ya'. There's still some things to fix with it I believe.
@d3viant0ne Thank you for all your efforts on the parent seed!

@dskaggs - For reference, ng2-bootstrap isn't in very good shape as a package. More than a few console errors, broken references / components. I'll keep the example repo up to day as they release new packages, hopefully it stabilizes.
I'm going to take a crack at using vanilla bootstrap4 to see if I can get better results.

I would vote for support of ng2-material. So  when the official angular2-mateirial is released the application will not look very much different.

+1 for ng2-material integration into seed project. This is an awesome project guys!! Thanks a lot :)

ng2-material will eventually be deprecated in favor of angular2-material which means adding it now, just means we have to rip it out later.
The answer here is to simply let the visual component frameworks mature and then run simple guides / example branches on how to integrate them into the advanced seed. Adding one just means that someone else has to rip it out in order to user his or her preferred framework.

closing this in favor of this: https://github.com/NathanWalker/angular2-seed-advanced/issues/37


Adding separate loggers to file-systems to prover and verifier

This PR tries to make logger logs to separate log-files for prover and verifier. Our current logger system has a processor and transport layer. The processor layer describes how to process the log message and transport layer describes how to display it. The logger system associate an id to each pairs of processor and transport, although we didn't use the id before. My change is to a new parameter id to every log function, so that we can specify the destination of logs.
I also redirected the stdout&stderr of prover and verifier to logs.
Future works:

A better way to add logs to subsystems is passing the original logger to subsystems. This require us create a bin-io instance for loggers.

without https://github.com/o1-labs/snarky/pull/232 there's no double-wrapping to be worried about

With this latest change, do the verifier and prover leave logs when the daemon is run?

Since the daemon is logging everything, is there anything in the output from the verifier and prover that makes it easy to grep only those messages? Suppose I want to see only verifier log messages, can we put something in the log for easy grep'ping?


Support Ruby 👍🏻 88598-31218 "Call Girls in Dehradun

"Call "Girls in Dehradun<PHONE_NUMBER> Best price "Call "Girls number in Dehradun and the thing is that price is also moderate per hour ant they come to your house place no matter how far you are she come instantly to your LocaTion so enjoy
"Call "Girls in Dehradun<PHONE_NUMBER> Best price "Call "Girls number in Dehradun and the thing is that price is also moderate per hour ant they come to your house place no matter how far you are she come instantly to your LocaTion so enjoy the best service tou ever have tey only genuine person who really wants

Best "Call "Girls in Dehradun<PHONE_NUMBER>

Nice service


PR to fix a number of small issues

This should fix the following issues so far:

https://github.com/ESMValGroup/ESMValTool/issues/851
https://github.com/ESMValGroup/ESMValTool/issues/819
does not solve #810 but I put the memory equations in the documentation (btw #810 can not be solved immediately, it will be a long and rocky road that will go through a town called Dask)

NOTE to devs: please commit to this PR if the issue is SMALL and can be solved by no more than 3-4 +/-

Issue #819 is mostly a missing documentation issue, so in order to close it, some documentation will need to be written.

I think the time slicing checks may be a bit too strict and lead to unnecessary errors. How about just raising the exception if no data at all was available in the file?

I think the time slicing checks may be a bit too strict and lead to unnecessary errors. How about just raising the exception if no data at all was available in the file?

what sort of cases do you have in mind? This check is pretty loose as it is anyway

the thing I'm trying to check for is if there is actual data in the file but it's shifted by a lot wrt time slice as it was the case @mattiarighi experienced a few days ago

the thing I'm trying to check for is if there is actual data in the file but it's shifted by a lot wrt time slice as it was the case @mattiarighi experienced a few days ago

That was a pretty unlikely case, so if this is too much work you can just forget about it.

what sort of cases do you have in mind? This check is pretty loose as it is anyway

I've had another look and I think you're right, but the logic is horribly complicated. Why not use a simple check instead, I think it checks the same thing.

but the logic is horribly complicated

I love you too @bouweandela :heart:
what would you propose :grin:

Just check if any data is left after extracting, if there's nothing left you know that there was nothing within the specified time range: https://github.com/ESMValGroup/ESMValTool/issues/851#issuecomment-462832732

@bouweandela proves out that the only way to assign an axis to an (unCMORized) cube coord is to bloody guess it and assign the positive attribute to up - setattr or or simply assigning it when constructing the coord won't do (I spent 1h trying to figure this out!) - just when I was saying iris is quite friendly:
+        self.cube.coord('coord').attributes['positive'] = 'up'
+        iris.util.guess_coord_axis(self.cube.coord('coord'))

have a look at the changes pls; this is defo more general and open than before

have a look at the changes pls; this is defo more general and open than before

This looks more user friendly. Maybe @ledm can test if it solves his issue #819?

partially addresses #869 pending OK from @ledm and if the ok comes then I'll write a unit test for it and will fully address that issue; and that's it - no more changes here - :checkered_flag:

@ledm you have a nice lovely preprocessor function called _align_time_axes() that works well and has a strong unit test now - to solve #869 :grin: I'd be very grateful if you could test and see if it suites the needs; also note that I didn't yet give it a user-friendly name in preprocessor/init coz I left that for you to call it whatevs, also the unit test imports the raw func name so when you baptize it change that too pls

ok hustle up peeps, it'd be nice if we tested&approved&closed this to close the associated issues :grin:

The more changes we make to _time_area.py, _area_pp.py and _volume_pp.py, the harder it will be to merge #875 & #876. (That PR renames these files.)
Issue #847 & PR #875 are tested and ready to go right now. If they get merged in first, then this PR will need to be re-worked and re--tested. This is why I hesitate to run any tests for this PR now as I'll have to repeat them again later.

OK let's wait for #875

Hmmm... this one is still waiting for #875...

#875 has been merged; can ppl have a look at this one pls? @ledm @bouweandela @mattiarighi @jvegasbsc :beer:

I agree with Mattia. This is a time aligner not a regridder, this assumes
the number of time points is the same for all the cubes involved. Time
regridding on cubes with different calendars means we need to extrapolate
data for missing days (like no leap or 360 day calendars) and that could
lead to large biases if the analysis is done on small time intervals
Dr Valeriu Predoi.

In esmvaltool/preprocessor/_time.py
https://github.com/ESMValGroup/ESMValTool/pull/867#discussion_r263715785
:

   # fix units; leave calendars

   # this is not normally needed unless working

   # outside the CMOR standards

   cube.coord('time').convert_units(

       cf_units.Unit('days since 1950-1-1 00:00:00',

                     calendar=cube.coord('time').units.calendar))

   # fix calendars

   cube.coord('time').units = \

       cf_units.Unit(cube.coord('time').units.origin,

                     calendar='gregorian')

   # standardize time points

   time_c = [cell.point for cell in cube.coord('time').cells()]

   cube.coord('time').cells = [

       datetime.datetime(t.year, t.month, 15, 0, 0, 0) for t in time_c

As we discussed in another PR, I am a bit skeptical towards temporal
regridding.
For monthly mean data that's easy, since the number of timesteps is always
the same (12 per year).
But for higher time frequency it is calendar-dependent and we need to make
assumptions on how to set a common time coordinate for all datasets when
calendars are differing.
I also think that a non-standard calendar (like 360) is not suitable for
temporally colocating model and observations on a daily or hourly basis,
but just monthly.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/ESMValGroup/ESMValTool/pull/867#discussion_r263715785,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AbpCo202rt9gxOgVe0I-Q7nnEnZZXnzWks5vUi4qgaJpZM4bBJ3S
.

@bouweandela man, addressed your comments, cheers, brother! Note that I actually removed the hourly case for time alignment - that one is quite tricky and needs more attention, monthly and daily have their own tests and should work fine :ok_hand:

@ledm @bouweandela are we happies with this?

@bouweandela man all a-ok now?

Will test it once approved.

arite B-man, let's wrap this up shall we :beer:  @bouweandela

Will test in a few minutes...


GPL-303	As an SSR making a submission, I would like to only see the library types in the drop down that will pass validation when I make the submission to trap input erros early and avoid frustration

How the library type is validated on upload of the bulk submission template:
What Request Types are linked to the Submission Template? (request_type_ids in submission_parameters on submission_templates table)
For each Request Type, is there a ‘Request Type Validator’ record where request_option is ‘library_type’ and valid_options is ‘RequestType::Validator::LibraryTypeValidator’ ?
If so, is the Library Type you selected in the list of Library Types are associated with those Request Types (through library_types_request_types table) ? (if fails this, fails validation)
Example of this not working:
Go to http://uat.sequencescape.psd.sanger.ac.uk/uat_actions/generateplates and generate an example plate (doesn’t matter what type)
Go to http://uat.sequencescape.psd.sanger.ac.uk/bulk_submissions/new
Paste plate barcode into ‘Labware barcodes (and wells)’ box
Fill out as in following screenshot (important field is Library type):
00> See image 303_image1.png

Click Generate Template
Open downloaded csv file and fill in study column as ‘UAT Study’, project column as ‘UAT Project’ and submission name and asset group column as something unique (same for all rows)
Save as csv and upload to the bulk submission page:
00> See image 303_image2.png
/74741141-2d5cac00-5254-11ea-940e-1037b461fb33.png)
![303_image002](https://user-images.githubusercontent.com/7222395
Should get the following error:
00> See image 303_image2.png

This is supposed to be the case already. The problem may be related to the HiSeqX sequencing requests, which further restrict acceptable library types over and above those of the library creation.


unable to infer non nullable type in case of generics

In these cases we should be able to infer that the type cannot be null, however the current implementation raises a compile error:
class A<T> {
  final T value;

  A(this.value);
}

void main() {
  int? n = 3;
  int n2 = n == null ? 3 : n + 2; // as intended

  if (n != null) {
    int n2 = n; // as intended
  }

  A<int?> a = A(3);
  int b = a.value == null ? 3 : a.value + 2; // error: Operator '+' cannot be called on 'int?' because it is potentially null

  if (a.value != null) {
    int b = a.value; // error: A value of type 'int?' can't be assigned to a variable of type 'int'.
  }
}

This is working as intended. You expect a.value to be promoted by the test a.value == null, but this would not be sound. That is so because value is an instance member of of a, and it could be overridden by a getter whose value differs each time you call it. (So it wouldn't be sound to assume that a.value is non-null just because it was non-null the previous time you called it).

// --- Library 'a.dart'.

final class A1 {
  final int value;
  A1(this.value);
}

base class A2 extends A1 {
  A2(super.value);
}

// --- Library 'b.dart'.
import 'a.dart';

var _sillyCounter = 0;

base class B extends A2 {
  B(): super(0);
  int get value => ++_sillyCounter;
}

// --- Library 'main.dart'.

void main() {
  A1 a = B();
  print('The value is ${a.value}, then ${a.value}');
}

Just like promotion, superinterface relationships also have special privileges in the same library (in this case: a subclass of a final class, in the same library, can be base, and this means that we can create a subclass in a different library).


practiceLobbyKick

My code
Dota2.practiceLobbyKick(123456789);

123456789 - my steamid. Im in lobby.

Result of kick

Whats can be wrong?

Maybe problem in handler?

hello, guys.
pls check this hanlder.
Dota2.Dota2Client.prototype.practiceLobbyKick = function(account_id, callback) {
    callback = callback || null;
    var _self = this;
    if (!this._gcReady) {
        if (this.debug) util.log("GC not ready, please listen for the 'ready' event.");
        return null;
    }

    account_id = account_id || "";

    if (this.debug) util.log("Sending match CMsgPracticeLobbyKick request");
    var payload = new Dota2.schema.CMsgPracticeLobbyKick({
        "account_id": account_id
    });
    this._protoBufHeader.msg = Dota2.schema.EDOTAGCMsg.k_EMsgGCPracticeLobbyKickFromTeam;
    this._gc.send(
        this._protoBufHeader,
        payload.toBuffer(),
        function(header, body) {
            onPracticeLobbyResponse.call(_self, body, callback);
        }
    );
};

And pls set bug label. I neednt help with function. I need help with fix handler.

You're using the wrong k_EMsg, you should be using k_EMsgGCPracticeLobbyKick for CMsgPracticeLobbyKick and k_EMsgGCPracticeLobbyKickFromTeam for CMsgPracticeLobbyKickFromTeam I think

Like that?
/ callback to onPracticeLobbyResponse
Dota2.Dota2Client.prototype.practiceLobbyKick = function(account_id, callback) {
    callback = callback || null;
    var _self = this;
    if (!this._gcReady) {
        if (this.debug) util.log("GC not ready, please listen for the 'ready' event.");
        return null;
    }

    account_id = account_id || "";

    if (this.debug) util.log("Sending match CMsgPracticeLobbyKick request");
    var payload = new Dota2.schema.k_EMsgGCPracticeLobbyKickFromTeam ({
        "account_id": account_id
    });
    this._protoBufHeader.msg = Dota2.schema.EDOTAGCMsg.k_EMsgGCPracticeLobbyKickFromTeam;
    this._gc.send(
        this._protoBufHeader,
        payload.toBuffer(),
        function(header, body) {
            onPracticeLobbyResponse.call(_self, body, callback);
        }
    );
};

And in PracticeLobbyKick im using default function from dev branch

This seems to be ok as far as I can see. Are you using the correct account id? I'll try to do some tests over the weekend, see if I can find anything.

Yes. Iam using correct acc id

I've done some tests myself with both functions and I'm getting the same results. Think this can be tagged as bug.

RIP

Premature RIP-ification by me, I messad up the accountID. Passing in Dota2.ToAccountID(steamID) as argument to practiceLobbyKick seems to do the trick to kick you from lobby. Gonna see if the same holds for the other function :$

What about kicking other accounts. I believe that is where @oleghalin came unstuck.

Jup, definetly premature RIP-ification. I tested by having the lobby owner kick someone from the lobby and from the team.
My sincerest apologies dear mods. Everything is working as intended. As penitence I'll make a PR for the practiceLobbyKickFromTeam function.

What?) I didnt understand anything xD

@Crazy-Duck noice.
@oleghalin you made an error somewhere (no shared code to look at). Just wait till the PR before you try again.

  else if(message == 'kick')
  {
	 Dota2.practiceLobbyKick(76561198107070247);
	 steamFriends.sendMessage(source, 'Игрок кикнут', steam.EChatEntryType.ChatMsg);
  }

I made a new PR @jimmydorry, should be ok.
@oleghalin try this:
...
    Dota2.practiceLobbyKick(Dota2.ToAccountID(76561198107070247));
...

just make sure that the account doing the kicking is the owner of the lobby

Re-download the dev branch @oleghalin
https://github.com/RJacksonm1/node-dota2/pull/188

This seems to me to be more of a problem with how you initialize and use the library...

Its after update from dev branch. Before it all was ok

How do you initialize the bot? Do you create a new instance of Dota2Client? Like
var Dota2 = require("dota2");
var bot = new dota2.Dota2Client(steamClient, true, false);

    Dota2 = new dota2.Dota2Client(steamClient, true);

You'll have to debug your code, I'm afraid there's not much we can do to solve this. There is something wrong in the way you're naming variables and initializing the bot. The fact that your error message shows a path Dota2Client.Dota2.Dota2Client.createPracticeLobby points in that direction

Its after update from dev branch. Before it all was ok

Im just reload old dev branch. I think jimmy mistook in code of hanlders. Check it

There is nothing wrong with the current dev branch, it works fine as it should. In the new update of the dev branch we've reworked all functions to use Dota2Client.prototype.sendToGC to send the messages to the GC, instead of calling this._gc.send in every function. Because your code doesn't seem to find this.sendToGC' it seems like you're calling createPracticeLobby` from an erroneous context, one which is NOT a Dota2Client object.

I reload my old dev branch and everthing is ok.

Ill write lobby hanlder and send it to this github

If you just pastebinned the entire file you wrote, there would be a chance we could see what you did.

I understand it. Ill try today paste it.

http://pastebin.com/Zgb6ASvc
This is my lobbies.js with AbadnonCurrentGame, practiceLobbyKick and practiceLobbyKickFromTeam.
Everthing works good.

you misunderstood, we need the code which actually uses these functions

...
Dota2.practiceLobbyKick(Dota2.ToAccountID('76561198107070247'));
...
this one

yes, that's a part, we need to see the entire code, including the pieces where you create Dota2 etc.

Master branch test.js

hmm, @jimmydorry I might need some help on this one. As far as I can see in test.js the functions are all called from within the "ready" handler. Could it be that when Dota2.createPracticeLobby(...) is invoked from inside this handler, the event is passed as the context instead of the Dota2Client object on which the function is called?

I think you know more than me.
Were you testing using the latest library version (i.e. The callback changes)?
If so, why not just paste it here so we have something to check against?
I don't see any obvious race conditions in the test code, but it's 2:20am here.

You may want more debug messages too.
https://github.com/RJacksonm1/node-dota2/blob/dev/index.js#L35

See #192 . The test.js example now works. I tested creation of a lobby starting from a clean node js installation using the dev branch and the example and the lobby got created as it should.

IMHO, one possible solvation for it is convert your steam id to string (It is possible, if you're using numbers type as is)


Increase libcryptsetup-rs to 0.10.0

Closing this, as there will be a 0.11.0 libcryptsetup-rs release soon.


Unref timer for timeouts if flow, collector and queue

In #90  @aqrln proposed to call unref on timers. I closed that PR because we have different implementation (using prototypes instead of closures and  optimized for performance). But proposal is still actual for all async abstractions including flow, collector and queue. So @aqrln why do you think we need to detach timer from eventloop? Maybe it's better if timeout will hold process working until a bunch of async calls will return or timed out?

@tshemsedinov IIRC, in that specific cases unref() was necessary to avoid keeping Node running longer than necessary if an operation had successfully completed before timeout.

@aqrln I see, but:

unref() is not supported in browsers, we want to use metasynct in browser too, we need something like if (typeof(timer) === 'object') timer.unref(); in this case;
usually process for asynchronous I/O will be servers and clients or other long-term processes so termination is an edge case for such software and we can just call something like flow.cancel() or collector.cancel() before exit;
single reason to use unref() is performance optimization. Do you know how it can affect performance?

That's a fair point.
I don't see how can it be feasible to call cancel for all of the intermediate flow and collector objects that could be created virtually anywhere across the codebase upon exit.
No, it shouldn't affect performance at all.

@aqrln
2. For servers and clients we need no cancel method because processes are long-term. But we need quick exit for "tools", where we use flow and collector for I/O chains and sometimes want to exit immediately before I/O chains finished. Even in "tools" it is a rare need. Maybe we need an examples and cases here.
3. Here they tells that it may affect: https://nodejs.org/dist/latest-v8.x/docs/api/timers.html#timers_timeout_unref

The implication is that timeouts in flow and collector should not be set to anything longer than several seconds. I guess it might be okay if we document it, and note the reasons behind this restriction. Otherwise, as a user of the library, I would consider such a behavior to be a bug.

Thanks, I didn't know about that. Although, looking at the code: at the time when that note was written, calling unref() used to create a new TimerWrap (https://github.com/nodejs/node/blob/bdd1a740cb5029860a2eef20d8e9814f378d99c4/lib/timers.js#L257) unconditionally unless the timer had already been unrefed, but currently Timeout.prototype.unref() tries to reuse existing TimerWrap handles when possible (https://github.com/nodejs/node/blob/0d22858d67f5f8f7959a55ceca23adafe12827d5/lib/timers.js#L607). I don't possess enough knowledge about timers internal machinery to make any conclusions from that confidently though.


LSP dont pick up document changes with keybindings like ['j', 'j']

Bug:
Hello,
I use the Vintage plugin and I have this keybinding for exiting insert mode:
{
    "keys": ["j", "j"], "command": "exit_insert_mode",
    "context":
    [
        { "key": "setting.command_mode", "operand": false },
        { "key": "setting.is_widget", "operand": false }
    ]
},

Here is the problem, when I type ['j','j'] lsp reports that there is an error cannot find name 'j', but should't report nothing.
Here is the log and what I think is happening:
LSP:  --> textDocument/didOpen
LSP: <--  textDocument/publishDiagnostics
LSP:  --> textDocument/didChange // first time pressed j, document is changed, because j is added to the document
LSP:  --> textDocument/completion  // got autocomplete suggestion, pressed j again, j is removed from document, because ['j','j'] is a keybinding. I think that this should  trigger textDocument/didChange, but it doesn't.
LSP: <--  textDocument/publishDiagnostics // I get the diagnostic `cannot find name 'j'`,

I had no idea Vintage-registered keypresses actually hit the document.
I think the diagnostics are hard to avoid as we do a sync didChange for completions on that first 'j'.
Only using completions manually or on trigger chars would probably help.
But does the diagnostic disappear once the Vintage has executed and the 'j' is removed from the buffer?

['j','j'], it is not included in the default Vintage key bindings. I added it and it is just an alias for pressing esc to exit from insert mode to normal mode.

But does the diagnostic disappear once the Vintage has executed and the 'j' is removed from the buffer?

No, the diagnostic won't disappear until I make a change to the document again.
Like for example, I type something new.
Or like I showed in the gif above, If you noticed at the end, I pressed x and u.
x deleted a character beneath the cursor, and u to undo that. This causes LSP to refresh diagnostics.
I could just use esc and don't have this issue, but I like pressing j j and it is a just a little annoying seeing diagnostics when the document is fine.
It is like LSP didn't pick up when j was removed.
This issue is not that important, I just wanted to know if there is a easy way to fix this. If not, than I will use esc :)

Only using completions manually or on trigger chars would probably help.

I set "complete_all_chars" to false. It does the trick. but then I lost some autocompletion suggestions. So I set it back to true.
I partially solved my problem by setting "auto_complete_delay" in the default settings, from 50 to 200. It still happens sometimes, but it is definitely more rare when I increased the delay.


Continuous Fuzzing Integration with Fuzzit

This commit introduce continuous fuzzing workflow with
the following additions:

on every new code pushed to master the fuzzers are built and
sent to Fuzzit servers where they are continuously run and alert
the relevant people if a new bug is found.
on every pull-request a quick regression test is run using
the corpus which is generated on Fuzzit. This will fail the CI
and prevent new or old bugs from being merged.

(as a side note fuzzit is free for oss)

Hi Team,
This commit is ready for review and passes the CI.
Not sure who needs to review but CCing  @sunshowers who worked on the fuzzers.

hi @sunshowers no worries at all. hope you feel better by now.
so regarding how fuzzit works it contains two steps:

fuzzing - this will upload new fuzz targets to fuzzit every time new code is pushed to master and fuzzit will run them indefinitely until they find a crash or until new version is uploaded i.e new code is pushed.
regression - every PR will run the built fuzzers through all the corpus and test-cases generated on step 1 by downloading the corpus from Fuzzit. This is why you saw fuzzing was not performed but only executed the target code on a fixed set of inputs

Regarding the corpus, sure I can upload this to fuzzit as a seed corpus.
Will do regarding the independent job.
Thanks!

@sunshowers Also I think there is one more important issue to decide.
Currently fuzzit is doing two things

fuzzing the master continuously and keeping the fuzzer on fuzzit up to date with master
regression on PRs as well as forked PRs

for step 2 to work on OSS project the corpus should be public as secrets are either not available or if you do enable then it is the same as a public secret hence public corpus. The corpus doesn't contain crashes that are not fixed and for most project it's not an issue leaking the corpus and getting the upside of regression testing. This project is heavily security related so Just wanted to know what the policy on that.
If the policy is not to leak the corpus then I advice on doing only fuzzing of the master branch (or other relevant).
Also on the same note just making sure it's not a vulnerability and you aware of this but anyone can print this variable (I don't know what it gives access to but I guess not something important right?)
https://github.com/libra/libra/blob/master/.circleci/config.yml#L47

Yeah those are really good questions and we've been talking about this over the last couple of days as well! Let me get back to you. Thanks again :)

Cool, let me know and I'll adjust the PR accordingly:)
Also one more comment even if we decide not to do regression inline in the PR (because we don't want to leak the corpus) the regression will run anyway once the code is merged into master (in addition to fuzzing) so the only downside is that you will spot the bug after the merge and not before the merge. and because master is not a release version then It's not a big problem.

Hey @yevgenypats, is it possible to only not share the results of the fuzzing runs publicly and to a Libra security email first?

@mimoo Yes, sure. This is the most basic option.

how do we set this up? Should it be part of this PR?

@mimoo Yes I'll set it up and fix the PR so it will be green. in the mean-time can you register at https://app.fuzzit.dev so I can add you to the libra organisation and you can take over?

@mimoo Done. once you sign up let me know and I'll add you to the libra account. before merging you need to go here https://app.fuzzit.dev/orgs/libra/settings and copy the key to CircleCI environment variable as FUZZIT_API_KEY

signed up with this github acccount!

@mimoo I'm doing some more tests to check that it's working but I'm getting some weird behavior the fuzzer starts running and I'm getting this error maybe you have an idea why this might happen?:
2019/09/08 07:22:28 Running fuzzing with: ./fuzzer -print_final_stats=1 -exact_artifact_path=./artifact -error_exitcode=76 -max_total_time=3600 corpus seed
WARNING: The binary has too many instrumented PCs.
         You may want to reduce the size of the binary
         for more efficient fuzzing and precise coverage data
2019/09/08 07:22:28 process finished with error = signal: illegal instruction

maybe the environment is different. I can use you docker image but it's currently protected by the AWS keys.

yeah that's probably the consensus fuzzer which is crap, you can remove it from the list until it works better.

@mimoo sure!:) I'll try that and and update.

it's still happens the strange thing is that when I try to run the binary in the CI just for the sake of the test it doesn't happen this is why I thought this might relate to the environment somehow maybe some .so is missing or is the wrong version unlike in the docker that the Circle is using.

@mimoo I did a few more tests and I suspect this is because the environment. Fuzzit can use any docker to run the fuzzers.  can you make this one public<PHONE_NUMBER>86.dkr.ecr.us-west-2.amazonaws.com/github_circleci:latest (it's not really private anyway:))

@mimoo @sunshowers  I investigated further and looks like the illegal instruction is happening with the following backtrace:
0x000055eb73c3412b in rocksdb::AdvancedColumnFamilyOptions::AdvancedColumnFamilyOptions (this=0x55eb83f6bf60 <rocksdb::OptionsHelper::dummy_cf_options>)
   at /usr/local/cargo/git/checkouts/rust-rocksdb-82ef6e5337b3fbe6/ea24c53/librocksdb_sys/rocksdb/options/options.cc:39
39    /usr/local/cargo/git/checkouts/rust-rocksdb-82ef6e5337b3fbe6/ea24c53/librocksdb_sys/rocksdb/options/options.cc: No such file or directory.

x 0x000055eb73c3412b
0x55eb73c3412b <rocksdb::AdvancedColumnFamilyOptions::AdvancedColumnFamilyOptions()+81>:    0x487df162
x/g 0x000055eb73c3412b
0x55eb73c3412b <rocksdb::AdvancedColumnFamilyOptions::AdvancedColumnFamilyOptions()+81>:    0xfbc5c0ef487df162

looks like this happens because the rustc compiler in circle using some flashy x86 instructions are not support on all machines (for example on fuzzit and on my local machine).
Do you know a good solution to this? or how to stop rustc using this flashy non-cross platform instructions that are supported only on new skylake?
ccing @catenacyber who helped investigate
Thanks:)

@mimoo I've investigated further and I suspect (not sure) that this is the following open issue:
https://github.com/rust-rocksdb/rust-rocksdb/issues/327
I'm not sure how to solve this (I tried the solution suggested in the issue) or weather we need to update rust-rockdb version in Cargo.tml or something else. Do you have any idea?

:umbrella: The latest upstream changes (presumably 486ac3546a1f511f22d407c45b23082a22fb8048) made this pull request unmergeable. Please resolve the merge conflicts.


Hydration style mismatch

Vue version
3.4.18
Link to minimal reproduction
https://play.vuejs.org/#__SSR__eNqNUk1vEzEQ/SuWL01QdzchHNCSVgVUCTgAAo572diTxK2/ZM/uBkX574y9JKQBVdzG897Mm3mePX/rfdl3wGu+jCIojywCdv62scp4F5DtWYA1O7B1cIZdEfWqscLZiGxQErfsJuGT+Ww2beyyGntQNT0QjNctAr0YW0rV52AMmdBtjDcNp1bYKguh4SziTw2U862Uym5q9nLmdw2//QBaOza4oOWyOvY5RsvqTIeeuQmLwnmQlClPAmyfyoTTLtRs2CqENymxasXjJrjOyuI3FkBmJO9XM9FqMemLlbJyklNT9oLN/W5KpEPeOSmSFL/mSLp2rTblQ3SWPM2SaUnjlYbwxaMi6xpej8MkrKXdhk85h6GD62NebEE8/iP/EMmSmoKvASKEHhp+wrANG8ARvv/+GXYUn0DjZKeJ/Qz4DaLTXZpxpL0jV2jsM16e9mO+DPqhH/F+h2Djcak0aGIeMr/hdC3vn1n9z7iLcpHryFFycby8wrT+wscReNqENMZht4g+1lUlpKUyCVr1obSAlfWmuiNaFTqLykAhnblblK/K+Wu6oYjn+RKiKVbBDWQtdTnbPDXIfocigJUQki//p3tR9kT7AvtL/2TL4RcknD4S
Steps to reproduce
You get this error when you use a v-bind inside the style tag and at the same time assign a value to the style attribute to a nested element, if is the main element that has the attribute this error won't occur.
SSR should be enabled.
What is expected?
This error should not occur like when it is the main element that has the style attribute
What is actually happening?
You get this error when any element that is not the main element has the style attribute
System Info
No response
Any additional comments?
No response

This is a regression caused by #10250


Snap deployment issues

Creating this issue to keep track of Linux Snap issues. Snap deployment is available here but additional work is needed to be able to announce as GA.

jlab CLI is not available with snap. It might be possible to support using electron-builder snap hooks.

When the app is updated, installer seems to copy the bundled environment installation but not the additional envs installed. This process needs to be better understood.
a.   Making a copy of the bundled env installation is not enough. conda environment is not relocatable by copy paste.
b. It is not clear if the additional envs installed with previous version will be kept indefinitely.

below is the list of environments after updating from build 5 to 8. jlab_server at the bottom of the list got auto created after upgrade. even though it appears to work, it is not reliable as conda env is not relocatable.

cc. @dmitry-lyfar

adding CLI support with this PR https://github.com/jupyterlab/jupyterlab-desktop/pull/800

fixing Python environment install locations with this PR https://github.com/jupyterlab/jupyterlab-desktop/pull/801

both issues are fixed now and Snap is publicly available.


Explicit association joins are not rendered into the respective "table reference"

When we write a query like the following:
CriteriaBuilder<Document> crit = cbf.create(em, Document.class)
    .select("d")
    .from(Document.class, "d")
    .from(Person.class, "p")
    .leftJoin("d.people", "person")

We currently render it as the following HQL:
SELECT d
FROM Document d, Person p
LEFT JOIN d.people person

which is wrong, because the join is now part of the second group i.e. what SQL calls "table reference". A table reference can not refer to other table references, unless lateral is used, so one way around this would be to avoid rendering table references at all and instead render joins, but I'm not sure what the effect on DBMS optimizers would be, so if we do this, there should be a configuration property to restore the old behavior.
To workaround the problem, one just has to move the explicit join up i.e. before starting a new table reference like this:
CriteriaBuilder<Document> crit = cbf.create(em, Document.class)
    .select("d")
    .from(Document.class, "d")
    .leftJoin("d.people", "person")
    .from(Person.class, "p")

I understand that this might not always be possible and we can do better. We need some kind of knowledge about "table references" in our join model to handle this. When we need to render a table reference due to a join dependency, we could render it as cross join to make the aliases on the LHS available. In case of a join dependency across "table references", it's necessary to render table references as cross joins anyway, so this should be fine.

How would
CriteriaBuilder<Document> crit = cbf.create(em, Document.class)
    .select("d")
    .from(Document.class, "d")
    .leftJoin("d.people", "person")
    .from(Person.class, "p")

be rendered then? Would it convert the table reference to an inner join?
Personally I wouldn't be surprised if both builders returned the same - problematic - JPA and SQL, because to me it seems to make quite some sense that all from clauses are processed first.

That would render as:
SELECT d
FROM Document d
LEFT JOIN d.people person, Person p

Internally, we respect the order of explicit joins/from items the user gives us which is why this is an issue right now. Unfortunately, JPA does not have a cross join, so re-interpreting the "table reference" as cross join by doing a a join b on 1=1 is the best we can do.

Woah, never knew that was valid syntax 😄  No wonder it was overlooked.


[Hotfix] Sanction email language fixes

Purpose
There is a mistake in the pending retraction email. Also the language in the pending registration email stood to be improved.
Changes
Update retraction and pending registration emails
Resolves
https://trello.com/c/CzphRlmk/94-retraction-email-has-incorrect-language

Pass finished.


minor: coverage is printed in action log

this is just an inconvenience as our coverage is over 50,000 lines log becomes very hard to scroll.
happens even with actions debug disabled.
  Skipping Lottie due to target name filter...
51253
  ::endgroup::
51254
##[debug]Enhanced Annotations not enabled on the server. The 'title', 'end_line', and 'end_column' fields are unsupported.
51255
Error: Conversion failures:
51256
Error: The process '/usr/bin/xcrun' failed with exit code 1
51257
##[debug]Node Action run completed with exit code 1
51258
##[debug]Finishing: Run sersoft-gmbh/swift-coverage-action@v2

would it be possible just to save it into a file?

I think it shouldn't print it when you don't run in debug mode. GitHub actions prints stdout and stderr in non-silent command executions. We're setting silent to true if the action isn't in debug mode. See this line

not happening any more on main:
Run sersoft-gmbh/swift-coverage-action@main
2
  with:
3
    search-paths: /tmp/ci-derived-data
4
    target-name-filter: ^Testable$
5
    output: ./.swiftcov
6
    format: txt
7
    ignore-conversion-failures: false
8
    fail-on-empty-output: false
9
Validating input
10
Setting up paths
11
Finding coverage files
15
  Found 1 profiling data file(s)...
16
Converting files
18
  Skipping AppSpecs due to target name filter...
19
  Skipping CombineReachability due to target name filter...
20
  Skipping CoreMLWrapper due to target name filter...
21
  Skipping ForcePlateSimulator due to target name filter...
22
  Skipping SimulatorCore due to target name filter...
23
  Skipping SimulatorSpecs due to target name filter...
24
  Skipping Legible due to target name filter...
25
  Skipping Nimble due to target name filter...
26
  Skipping Quick due to target name filter...
27
  Skipping SnapshotTesting due to target name filter...
28
  Skipping JWTDecode due to target name filter...
29
  Skipping Legible due to target name filter...
30
  Skipping Nimble due to target name filter...
31
  Skipping Pluralize_swift due to target name filter...
32
  Skipping Pods_AppSpecs due to target name filter...
33
  Skipping Pods_CloudUpload due to target name filter...
34
  Skipping Pods_ForcePlateService due to target name filter...
35
  Skipping Pods_Simulator due to target name filter...
36
  Skipping Pods_SimulatorSpecs due to target name filter...
37
  Skipping Pods_SpartaScan due to target name filter...
38
  Skipping Pods_SpartaScan_UITests due to target name filter...
39
  Skipping Pods_UnitSpecs due to target name filter...
40
  Skipping Quick due to target name filter...
41
  Skipping Reachability due to target name filter...
42
  Skipping SDWebImage due to target name filter...
43
  Skipping SDWebImageSwiftUI due to target name filter...
44
  Skipping SimulatorCore due to target name filter...
45
  Skipping SimulatorSpecs due to target name filter...
46
  Skipping SnapshotTesting due to target name filter...
47
  Skipping Sparta Scan due to target name filter...
48
  Skipping CombineReachability due to target name filter...
49
  Skipping CoreMLWrapper due to target name filter...
50
  Skipping Lottie due to target name filter...
51
  Skipping Pluralize_swift due to target name filter...
52
  Skipping Reachability due to target name filter...
53
  Skipping SDWebImage due to target name filter...
54
  Skipping SDWebImageSwiftUI due to target name filter...
55
  Skipping Swinject due to target name filter...
56
  Skipping SwinjectAutoregistration due to target name filter...
57
  Skipping Yams due to target name filter...
58
  Skipping AppSpecs due to target name filter...
59
  Skipping JWTDecode due to target name filter...
60
  Skipping Legible due to target name filter...
61
  Skipping Nimble due to target name filter...
62
  Skipping Quick due to target name filter...
63
  Skipping SnapshotTesting due to target name filter...
64
  Skipping ForcePlateSimulator due to target name filter...
65
  Skipping SimulatorCore due to target name filter...
66
  Skipping SimulatorSpecs due to target name filter...
67
  Skipping Legible due to target name filter...
68
  Skipping Nimble due to target name filter...
69
  Skipping Quick due to target name filter...
70
  Skipping SnapshotTesting due to target name filter...
71
  Skipping Swifter due to target name filter...
72
  Skipping Swinject due to target name filter...
73
  Skipping SwinjectAutoregistration due to target name filter...
74
  Skipping UITests-Runner due to target name filter...
75
  Skipping XCTAutomationSupport due to target name filter...
76
  Skipping XCTest due to target name filter...
77
  Skipping UITests due to target name filter...
78
  Skipping CombineReachability due to target name filter...
79
  Skipping CoreMLWrapper due to target name filter...
80
  Skipping Lottie due to target name filter...
81
  Skipping Pluralize_swift due to target name filter...
82
  Skipping Reachability due to target name filter...
83
  Skipping SDWebImage due to target name filter...
84
  Skipping SDWebImageSwiftUI due to target name filter...
85
  Skipping Swifter due to target name filter...
86
  Skipping Swinject due to target name filter...
87
  Skipping SwinjectAutoregistration due to target name filter...
88
  Skipping Yams due to target name filter...
89
  Skipping UITests due to target name filter...
90
  Skipping UnitSpecs due to target name filter...
91
  Skipping Legible due to target name filter...
92
  Skipping Nimble due to target name filter...
93
  Skipping Quick due to target name filter...
94
  Skipping Yams due to target name filter...
95
  Skipping Lottie due to target name filter...
96
  Processed 7 file(s)...
97

by the way better output of action showing what skipped!
it would be nice if
Found 1 profiling data file(s)...
would print the found path
and  Processed 7 file(s)... would show list of files processed


Using Pangeo ml-notebook with Singularity

I am trying to use the ml-notebook container with singularity on an SLURM cluster. The command I am using for starting Jupyter Notebook is:
singularity exec --nv --cleanenv --bind /home/$USER:/run/user tensorflow.sif jupyter notebook --notebook-dir=/home/$USER --no-browser --ip=<IP_ADDRESS>
This command is in a SLURM script, on submitting which with the sbatch command, the job fails with the following error:
[I 15:35:55.208 NotebookApp] [nb_conda_kernels] enabled, 0 kernels found
Traceback (most recent call last):
  File "/srv/conda/envs/notebook/lib/python3.10/site-packages/traitlets/traitlets.py", line 656, in get
    value = obj._trait_values[self.name]
KeyError: 'runtime_dir'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/srv/conda/envs/notebook/bin/jupyter-notebook", line 10, in <module>
    sys.exit(main())
  File "/srv/conda/envs/notebook/lib/python3.10/site-packages/jupyter_core/application.py", line 277, in launch_instance
    return super().launch_instance(argv=argv, **kwargs)
  File "/srv/conda/envs/notebook/lib/python3.10/site-packages/traitlets/config/application.py", line 1040, in launch_instance
    app.initialize(argv)
  File "/srv/conda/envs/notebook/lib/python3.10/site-packages/traitlets/config/application.py", line 113, in inner
    return method(app, *args, **kwargs)
  File "/srv/conda/envs/notebook/lib/python3.10/site-packages/notebook/notebookapp.py", line 2147, in initialize
    self.init_configurables()
  File "/srv/conda/envs/notebook/lib/python3.10/site-packages/notebook/notebookapp.py", line 1649, in init_configurables
    connection_dir=self.runtime_dir,
  File "/srv/conda/envs/notebook/lib/python3.10/site-packages/traitlets/traitlets.py", line 703, in __get__
    return self.get(obj, cls)
  File "/srv/conda/envs/notebook/lib/python3.10/site-packages/traitlets/traitlets.py", line 659, in get
    default = obj.trait_defaults(self.name)
  File "/srv/conda/envs/notebook/lib/python3.10/site-packages/traitlets/traitlets.py", line 1872, in trait_defaults
    return self._get_trait_default_generator(names[0])(self)
  File "/srv/conda/envs/notebook/lib/python3.10/site-packages/jupyter_core/application.py", line 107, in _runtime_dir_default
    ensure_dir_exists(rd, mode=0o700)
  File "/srv/conda/envs/notebook/lib/python3.10/site-packages/jupyter_core/utils/__init__.py", line 25, in ensure_dir_exists
    os.makedirs(path, mode=mode)
  File "/srv/conda/envs/notebook/lib/python3.10/os.py", line 215, in makedirs
    makedirs(head, exist_ok=exist_ok)
  File "/srv/conda/envs/notebook/lib/python3.10/os.py", line 215, in makedirs
    makedirs(head, exist_ok=exist_ok)
  File "/srv/conda/envs/notebook/lib/python3.10/os.py", line 215, in makedirs
    makedirs(head, exist_ok=exist_ok)
  File "/srv/conda/envs/notebook/lib/python3.10/os.py", line 225, in makedirs
    mkdir(name, mode)
PermissionError: [Errno 13] Permission denied: '/home/jovyan/.local'

I am new to both SLURM and Singularity. Could you please suggest a solution?

I know that @Marioherreroglez got this image working on Singularity. Mario could do you have any advice?

Sure! @singhakr, I am not able to reproduce your error but here is my SLURM script so it can serve you as guidance.
#!/bin/sh
#
#SBATCH --account=abernathey     # The account name for the job.
#SBATCH --job-name=jupyter       # The job name.
#SBATCH --gres=gpu:1             # Request 1 gpu (Up to 2 gpus per GPU node)
#SBATCH --partition=ocp_gpu
#SBATCH --constraint=v100s
#SBATCH -c 32                    # The number of cpu cores to use.
#SBATCH --time=0-04:00           # The time the job will take to run in D-HH:MM
#SBATCH --output=/burg/home/$USER/jupyter.log # Important to retrieve the port where the notebook is running, if not included a slurm file with the job-id will be outputted.

module load singularity

cat /etc/hosts
singularity exec --nv --cleanenv --bind /burg/home/$USER:/run/user tensorflow.sif jupyter notebook --notebook-dir=/burg/home/$USER --no-browser --ip=<IP_ADDRESS>

Please tell me if the error persists. Maybe sending your SLURM script would be useful for me to have a better understanding of the problem.

@Marioherreroglez - would you be willing to make a PR to add a section about singularity to the Readme.md in this repo?

It seems I was doing binding in the wrong way. With changed binding ($PWD/notebooks:/home/jovyan), the notebook seems to run, but I am now not able to forward ports as it always gives an error.

@Marioherreroglez - would you be willing to make a PR to add a section about singularity to the Readme.md in this repo?

I decided to create a separate markdown file that is referenced in the Readme.md, so it does not get too long. Here is the PR.
@singhakr, in this guide I also explain how to forward ports. Hope it solves your problem, if not feel free to add code and error messages.

Yes, this guide will be very helpful. I am doing it in almost the same way, including port forwarding, but I currently have access to only a Windows system, on which I am using an Ubuntu VM WSL. The error may be due to some invalid characters, as the command looks completely correct.

Sometimes I get this error when I try to run the notebook with singularity:


Hello, I would like to do generalization experiments on MPI-INF-3DHP, can you provide the relevant code? I would also like to know how Params and FLOPs are calculated?

Sorry. You can use the MPI-INF-3DHP code in https://github.com/paTRICK-swk/P-STMO.


add update feature in v1beta1/assets

Is your feature request related to a problem? Please describe.
Currently we have upsert functionality in assets api wherein it searches for an asset based on urn, type and service. In case it is not found, it inserts a new row. I think we can add one more function which only updates and returns error if matching asset is not found.  We have use cases where we are creating an asset from a different service and wish to update it with certain fields from a different service. Currently while updating it is also adding assets which were not present earlier which is creating a problem.
Describe the solution you'd like
We can either add a new function for update or add a flag in the upsert function which checks whether to insert in case the asset is not found.

Would suggest performing a lookup for the asset using the URN first. Make the update call only if the asset is found.

If I understand correctly, in case of upsert we do 1 lookup already before updating, if I add another look up outside, we would be performing 2 lookups for 1 update.

Lets say we add a POST endpoint that only creates a new entry if it isn't already present. In that case, also you would need 2 API calls in case the asset exists. Changing the behaviour of PUT endpoint based on a flag would not be preferred.

Currently we already have an API which only creates a new entry if it isn't already present. -  Upsert
How about we add a new PUT API for update which will only update and not create a new entry.
Now, the user should be clear if they want the create behaviour or not and call update or upsert accordingly. This way there would be only 1 lookup.

Yes, but what you are describing is a POST endpoint - Create a resource if it doesn't already exist. Doing the suggested change will muddle up rest conventions. With the suggested approach of GET followed by PUT, one additional lookup should not be a concern.


Controls display incorrectly when bundling CSS, JS, SVG separately

I'm following the instructions at Add Script and Stylesheet, with version 3.2.3 (as a jQuery plugin).
While the SVG file does load, the controls are displayed incorrectly:

Everything works fine when I put the SVG and CSS in the same folder. What am I missing? Thanks!

Can you send me the URL where you are experiencing issues, please?

I don't have a public URL to share, but I put together a minimal replication here: kardeiz/me-issue-2133. (The video is just the first streamable MP4 I could find from the Internet Archive.)

Gotcha. Good catch. You need to add this:
background-position: 0 -39px;

to your .mejs__overlay-button CSS rule. I'll update this on the documentation right now. Thanks

Added to documentation. Thanks for reporting this.

Thanks for identifying the issue! However, in testing this, it looks like you also need to redefine all of the mejs__* > button rules that define a background-position. From a quick scan, it looks like those are:
.mejs__play > button {
    background-position: 0 0;
}

.mejs__pause > button {
    background-position: -20px 0;
}

.mejs__replay > button {
    background-position: -280px 0;
}

.mejs__fullscreen-button > button {
    background-position: -80px 0;
}

.mejs__unfullscreen > button {
    background-position: -100px 0;
}

.mejs__mute > button {
    background-position: -60px 0;
}

.mejs__unmute > button {
    background-position: -40px 0;
}

.mejs__captions-button > button {
    background-position: -140px 0;
}

.mejs__chapters-button > button {
    background-position: -302px 0;
}

Just check the documentation update. You won't need to this whole thing. Just do what it says now and you should be fine

Whoops, sorry, didn't see that! Works great.

Glad to know it worked for you


[FR]: Support Meta-bind views

Issue validation

[X] I checked the issue to prevent duplicate
[X] My issue concern doesn't concern the Mkdocs template

Is your feature related to a problem ?
I am increasingly using the meta-bind plugin to view fields in markdown files. It would be wonderful if there was at least some support for this plugin. Here are the docs: https://mprojectscode.github.io/obsidian-meta-bind-plugin-docs/
Right now the github publication just publishes the raw code.
What solution do you want to see ?
I would like to see the data meta-bind pulls from the front matter in the main rendered file rather than the original meta-bind code.
Describe the alternative you've considered
No response
OS
MacOS
Anything else?
Meta-bind repo: https://github.com/mProjectsCode/obsidian-meta-bind-plugin
Meta-bind docs: https://mprojectscode.github.io/obsidian-meta-bind-plugin-docs/
Plugin version
6.10.3
Obsidian version & debug log
SYSTEM INFO:
	Obsidian version: v1.4.16
	Installer version: v1.4.13
	Operating system: Darwin Kernel Version 23.1.0: Mon Oct  9 21:28:45 PDT 2023; root:xnu-10002.41.9~6/RELEASE_ARM64_T6020 23.1.0
	Login status: not logged in
	Insider build toggle: off
	Live preview: off
	Legacy editor: off
	Base theme: adapt to system
	Community theme: Typomagical v1.9.1
	Snippets enabled: 14
	Restricted mode: off
	Plugins installed: 51
	Plugins enabled: 41
		1: Admonition v10.1.1
		2: Advanced Tables v0.19.1
		3: Auto Note Mover v1.2.0
		4: Better Word Count v0.10.0
		5: Buttons v0.4.19
		6: Dataview v0.5.64
		7: Dice Roller v10.4.0
		8: Excalidraw v1.9.28
		9: Excel to Markdown Table v0.4.0
		10: Export Image plugin v1.0.3
		11: Fantasy Statblocks v3.16.0
		12: Github Publisher v6.10.3
		13: Folder notes v1.6.11
		14: Icon Shortcodes v0.9.7
		15: JS Engine v0.0.5
		16: Meta Bind Plugin v0.7.2
		17: Initiative Tracker v12.4.2
		18: Webpage HTML Export v1.7.3
		19: Various Complements v9.1.0
		20: Text Mapper v1.0.0
		21: Text Format v2.2.8
		22: Settings Search v1.3.10
		23: Table Extended v1.6.1
		24: Quick Switcher++ v3.3.8
		25: Pandoc Plugin v0.4.1
		26: Obsidian Enhancing Export v1.9.2
		27: Obsidian42 - BRAT v0.7.1
		28: Obsidian Leaflet v6.0.0
		29: JSON/CSV Importer v0.31.2
		30: Tag Wrangler v0.6.1
		31: Link with alias v1.0.7
		32: Note Auto Creator v10
		33: Iconize v2.7.3
		34: Style Settings v1.0.7
		35: Hover Editor v0.11.15
		36: Hover External Link Plugin v1.0.0
		37: Custom Frames v2.4.6
		38: CSS Editor v0.5.0
		39: Text Generator v0.5.13
		40: Image Toolkit v1.4.0
		41: Linter v1.20.1

RECOMMENDATIONS:
	Custom theme and snippets: for cosmetic issues, please first try updating your theme and disabling your snippets. If still not fixed, please try to make the issue happen in the Sandbox Vault or disable community theme and snippets.
	Community plugins: for bugs, please first try updating all your plugins to latest. If still not fixed, please try to make the issue happen in the Sandbox Vault or disable community plugins.

Don't think it's possible, as I don't have any api to introduce it. Moreover, I don't use it and don't want to do a lot of circonvolution to get the API of metabind to work.

After some check, maybe you could use this ?
I'm not sure if it works with mkdocs, to be honest.


If a movie contains a swf sound, getMovie stalls.

Wasn't sure if I should've brought back that old issues about sound or not, but since it seems to be a bit different, I'm making it a new issue.
//VIDEOS
http://goanimate-wrapper.eu-4.evennode.com/player?movieId=m-205
http://goanimate-wrapper.eu-4.evennode.com/player?movieId=m-177
These videos aren't playing (presumably) because there are swf sounds.

For each new build of GoAnimate Wrapper, all older videos get deleted.  I'm closing this issue because that would only count as a sound error if http://goanimate-wrapper.eu-4.evennode.com/movies/m-205 returns a 404 error.


purple.json is not being created

Hi ,
I have removed and downloaded the script via ScriptDude again.
However, there is no default JSON file "purple.json" is not created by default, can I download a template somewhere?
thx

After first login access the JSON file has been created, issue solved.

After first login access the JSON file has been created, issue solved.


Module federation requesting remote component from wrong origin

Describe the bug
Using Module Federation plugin for nextjs.
We have 2 applications. (host and calc) When we try access the calc (http://localhost:3001/calc) on browser, using a remote component from host (http://localhost:3000/v2/). The browser is requesting the source from wrong origin.

It should be http://localhost:3000/v2/_next/static/chunks/__federation_expose_Hello.js
There is some issue with module-federation when nextjs 'basePath' is populated.
check out the 'nextjs.config.js' of (calc http://localhost:3001)
const { NextFederationPlugin } = require('@module-federation/nextjs-mf');
const path = require('path');

module.exports = {
  basePath: '/calc',
  webpack(config, options) {
    if (!options.isServer) {
      config.plugins.push(
        new NextFederationPlugin({
          name: 'calc',
          filename: 'static/chunks/remoteEntry.js',
          remotes: {
            host: `host@http://localhost:3000/v2/_next/static/chunks/remoteEntry.js`,
          },
          exposes: {},
          shared: {},
        }),
      );
    }

    return config;
  },
};

and  'nextjs.config.js' of (host http://localhost:3000)
const NextFederationPlugin = require('@module-federation/nextjs-mf');

module.exports = {
  basePath: '/v2',
  webpack(config, options) {
    if (!options.isServer) {
      config.plugins.push(
        new NextFederationPlugin({
          name: 'host',
          filename: 'static/chunks/remoteEntry.js',
          remotes: {
            calc: `calc@http://localhost:3001/_next/static/chunks/remoteEntry.js`,
          },
          exposes: {
            './Hello': './src/components/hello/index.tsx',
          },
          shared: {},
        }),
      );
    }

    return config;
  },
};

I tried to set an 'output.publicPath' in webpack but it didn't work
 return {
   ...config,
   output: {
       publicPath: 'http://localhost:3000/v2/_next/'
   }
 };

Reproduction
https://github.com/leolima/bug-mf/
Used Package Manager
yarn
System Info
System:
    OS: Linux 6.8 Ubuntu 22.04.2 LTS 22.04.2 LTS (Jammy Jellyfish)
    CPU: (8) x64 11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz
    Memory: 6.78 GB / 15.36 GB
    Container: Yes
    Shell: 5.1.16 - /bin/bash
  Binaries:
    Node: 18.18.2 - ~/.nvm/versions/node/v18.18.2/bin/node
    Yarn: 1.22.21 - ~/.nvm/versions/node/v18.18.2/bin/yarn
    npm: 9.8.1 - ~/.nvm/versions/node/v18.18.2/bin/npm
    pnpm: 9.12.0 - ~/.nvm/versions/node/v18.18.2/bin/pnpm
  Browsers:
    Chrome: 127.0.6533.72
    Chromium: 129.0.6668.58

Validations

[X] Read the docs.
[X] Read the common issues list.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Make sure this is a Module federation issue and not a framework-specific issue.
[X] The provided reproduction is a minimal reproducible example of the bug.

publicPath: auto
or use https://module-federation.io/configure/getpublicpath.html

@ScriptedAlchemy
I tried with 'getPublicPath' and webpack's 'output.publicPath'.
But both failed.
https://github.com/leolima/bug-mf/commit/d52485ed87d48b942ba4ca5a98a45f51522d3476
and
https://github.com/leolima/bug-mf/commit/7f911796651e97449fe2fd366a138e692ae81f60

Does it work if you don't set basepath on both apps.

@ScriptedAlchemy Yes, it works perfectly.
But it is a very specific scenario where I need to deploy to this subpath.
And nextjs adjusts the url of the assets beautifully with the basePath. all requests from the subpath are delivered correctly.

Base path is not supported

@ScriptedAlchemy but can it be considered in the next versions?

publicPath: auto
or use https://module-federation.io/configure/getpublicpath.html

when does the federation runtime support the getpublicpath configuration option?

Public path is supported now

Public path is supported now

There is no relevant instructions in https://module-federation.io/guide/basic/runtime.html

You can't do get public path at runtime. It's a compile time option since it changes how the bundler runtime works.

https://module-federation.io/configure/index.html


fix: run_tests script

Signed-off-by: Daniel Bluhm<EMAIL_ADDRESS>Not sure what happened (perhaps related to Ubuntu 18.04 EOL?) but run_tests stopped working all of a sudden. This switches image base to python:3.6.13.

@Luis-GA @burdettadam I think this is related to the issues you were experiencing with testing recently

Codecov Report

Merging #1132 (4420ccc) into main (2f6c88d) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main    #1132   +/-   ##
=======================================
  Coverage   98.84%   98.84%
=======================================
  Files         428      428
  Lines       24151    24151
=======================================
  Hits        23871    23871
  Misses        280      280


The content of the page has changed, but the URL address has not changed

Version
react-router-dom: 5.0.1
Test Case
https://codesandbox.io/s/loving-wing-rs6wh
Steps to reproduce
Click on the new window in codesandbox to open the page, and then click on the switch route in the new page. The URL address has not changed,Resume to normal after refreshing. It works well on the PC. The mobile side has this problem.

Expected Behavior
The URL address should change
Actual Behavior
URL address unchanged

Currently, only XIAOMI browsers have this problem.


Upgrade Prism version to 2.x/Latest. Fixes #755

Fixes #755
Checklist

[x] I have made a material change to the repo (functionality, testing, spelling, grammar)
[x] I have read the [Contribution Guide] and my PR follows them.
[x] I updated my branch with the master branch.
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] I have added necessary documentation about the functionality in the appropriate .md file
[ ] I have added in line documentation to the code I modified

Short description of what this PR does:

Switches 2 mkdir calls to one mkdir -p call (this is a minor refactor) in travis.yml
Changes the prism:install npm script to use Prism 2.x. This might need to be updated again if prism changes the location of their install.sh
Changes the prism npm script to work with Prism 2.x. The --list switch is no longer supported apparently
Changes test/prism.sh to use the latest version everytime. This was commented out earlier for some reason?

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Closing as this was fixed by https://github.com/sendgrid/sendgrid-nodejs/pull/1112


Event update should handle recurring events

Currently when you update a recurring event it remove the recurringId value. It needs to preserve this.

 Event update should handle recurring events #681


AUI-1930 Change functionality of add cols

Just started reviewing :) :octocat: Sent from GH.

Closing since https://github.com/mairatma/alloy-ui/pull/241 was sent with the update.


Uncaught TypeError: Stream is undefined/Cannot read property 'prototype' of undefined

⚠ IMPORTANT ⚠ Please check the following list before proceeding. If you ignore this issue template, your issue will be directly closed.

[x] Read the docs.
[x] Use Vite >=2.0. (1.x is no longer supported)
[x] If the issue is related to 1.x -> 2.0 upgrade, read the Migration Guide first.

Describe the bug
Hey, I’m currently working on a project using the rss-parser library and getting an error when calling a new parser class (see reproduction link, here exactly) The error I am getting is Uncaught TypeError: Stream is undefined or Uncaught TypeError: Cannot read property 'prototype' of undefined depending on the browser. I think it might be linked to #1547, but maybe it is also something completely different. Thanks for taking a look.
Reproduction
https://github.com/vincentdoerig/vite-prototype-bug
System Info

vite version: 2.0.0-beta.52
Operating System: macOS 11.1
Node version: v14.1.0
Package manager (npm/yarn/pnpm) and version: npm v6.14.8

Logs (Optional if provided reproduction)

Run vite or vite build with the --debug flag.
Provide the error log here.

That's expected, rss-parser is a library that uses Node built-ins without browser-specific fallbacks. It only worked in webpack 4 because webpack 4 auto-shims Node built-ins. This is not going to work in webpack 5 or vite unless you install Node built-in shims yourself (maybe it can work if you npm install --save stream)

That's expected, rss-parser is a library that uses Node built-ins without browser-specific fallbacks. It only worked in webpack 4 because webpack 4 auto-shims Node built-ins. This is not going to work in webpack 5 or vite unless you install Node built-in shims yourself (maybe it can work if you npm install --save stream)

Got it, thanks for the quick reply!

Got it, thanks for the quick reply!


Embedding map on webpage

Hello,
For an event page I want to embed the map in a website I have. The share option only provides a link to a full view of the map. Is it possible to embed the map so that it can be placed on a website where more content is available?

Hi,
No, geojson.io doesn't provide the option to embed a map - but you can follow an example with Leaflet or Mapbox or others to embed one using JavaScript.


Update README.md

Add a link to the Helium instructions for setting up CubeCell and PlatformIO

Hello Mr. Hiller, thanks to your video and the additional information, I have now implemented this hack and my IKEA sensor is now running successfully in my weather station.
I would now like to integrate a sensor for the wind speed. I already have an anemometer, but I don't have the technology to couple it to helium using a CubeCell Board. Do you maybe have a sketch and decoder I can use? I'd appreciate some help as I'm still a beginner and not a programmer.
Thank you Ulli


Improve Navigation Bar Design and Dark Mode Compatibility

Improve Navigation Bar Design and Dark Mode Compatibility
The current design of the navigation bar lacks a professional touch and could be enhanced to improve the overall user experience. Specifically, when switching to dark mode, the logo appears in a different color compared to the navigation bar, which results in an inconsistent and unpolished look.
This issue affects both the aesthetics and usability of the site, as it distracts users from the core functionality. A cohesive and visually appealing design is crucial for making the interface look professional and engaging.

Describe the solution you'd like.
I would like to take the opportunity to improve the design of the navigation bar by:

Ensuring that the logo and navigation bar colors are consistent across all modes (light and dark).
Enhancing the navigation bar layout to achieve a more modern and professional appearance.
Optimizing the design for better user experience and responsiveness across different devices

I believe these changes will significantly enhance the look and feel of the website. Please assign this issue to me so I can start working on it.
Checklist

[X] I have checked the Existing Issues
[X] I have read the Contributing Guidelines
[X] I want to work on this issue. (optional)

I have seen many navbar issues, and i have mentioned it before for contributors to not create issues regarding navbar and there should be no more navbar issues, so i have closed this issue, if you have any queries, you can join discord server for further updates and communication.
we are not looking for navbar updates for now, as it was done and changes many times before.
So I am closing this issue.
please understand.


Install failing on Buster and Ubuntu - related to nsd?

power-mailinabox stopped working (seemed to be a DNS issue) after a recent update of system software. Reinstallation on both Debian Buster and Ubuntu 20.04 fail. Text of the latter's error is below. After throwing this error, anything requiring online access -- wget, apt update, etc. -- all fail, even following reboot.
My guess: Something changed with a bind/nsd update.

FAILED: apt-get -y -o Dpkg::Options::=--force-confdef -o Dpkg::Options::=--force-confnew install ldnsutils openssh-client
Reading package lists...
Building dependency tree...
Reading state information...
openssh-client is already the newest version (1:8.2p1-4ubuntu0.2).
The following NEW packages will be installed:
ldnsutils libldns2
0 upgraded, 2 newly installed, 0 to remove and 5 not upgraded.
Need to get 278 kB of archives.
After this operation, 1,142 kB of additional disk space will be used.

Hi! What do you see when running these commands?
sudo service bind9 status
sudo journalctl -xe | grep bind9

Also, what's the content of /etc/default/bind9 (relevant for Debian) and /etc/default/named? (relevant for Ubuntu)

sudo service bind9 status
(Results anonymized to EXAMPLE.COM)
sudo: unable to resolve host mailhub.newwtg.com: Temporary failure in name resolution
● named.service - BIND Domain Name Server
Loaded: loaded (/lib/systemd/system/named.service; enabled; vendor preset: enabled)
Active: active (running) since Sat 2021-08-07 15:51:50 PDT; 1h 23min ago
Docs: man:named(8)
Main PID: 721 (named)
Tasks: 14 (limit: 2278)
Memory: 42.2M
CGroup: /system.slice/named.service
└─721 /usr/sbin/named -f -u bind -4
Aug 07 17:15:02 mailhub.newwtg.com named[721]: validating 2.ubuntu.pool.ntp.org/A: bad cache hit (o>
Aug 07 17:15:02 mailhub.newwtg.com named[721]: broken trust chain resolving '2.ubuntu.pool.ntp.org/>
Aug 07 17:15:02 mailhub.newwtg.com named[721]: connection refused resolving '.org.DOMAIN.com/A/IN'>
Aug 07 17:15:02 mailhub.newwtg.com named[721]: connection refused resolving '2.ubuntu.pool.ntp.org.>
Aug 07 17:15:02 mailhub.newwtg.com named[721]: connection refused resolving '2.ubuntu.pool.ntp.org.>
Aug 07 17:15:07 mailhub.newwtg.com named[721]: connection refused resolving 'mailhub.EXAMPLE.com/A/I>
Aug 07 17:15:07 mailhub.newwtg.com named[721]: connection refused resolving 'mailhub.EXAMPLE.com/AAA>
Aug 07 17:15:07 mailhub.newwtg.com named[721]: connection refused resolving '.com.EXAMPLE.com/A/IN'>
Aug 07 17:15:07 mailhub.newwtg.com named[721]: connection refused resolving 'mailhub.EXAMPLE.com.new>
Aug 07 17:15:07 mailhub.newwtg.com named[721]: connection refused resolving 'mailhub.EXAMPLE.com.new
sudo journalctl -xe | grep bind9
sudo: unable to resolve host mailhub.EXAMPLE.com: Temporary failure in name resolution
Aug 07 17:14:07 mailhub.EXAMPLE.com sudo[3578]:     greg : TTY=pts/0 ; PWD=/home/greg ; USER=root ; COMMAND=/usr/sbin/service bind9 status
Aug 07 17:15:07 mailhub.EXAMPLE.com sudo[3616]:     greg : TTY=pts/0 ; PWD=/home/greg ; USER=root ; COMMAND=/usr/sbin/service bind9 status
Contents of /etc/default/named

run resolvconf?
RESOLVCONF=no
startup options for the server
#OPTIONS="-u bind"
OPTIONS="-u bind -4"

Alright, it is nsd then. bind9 looks fine, but nsd failing shouldn't have caused this :thinking:
I messed with the nsd configuration in the last updates so it's possible it messed up your NSD install.
Could you please give me the output of the following:
sudo service nsd status
journalctl -xe | grep nsd
ip a

and the contents of /etc/nsd/nsd.conf?

ip a and nsd.conf may expose public ip addresses - feel free to redact those, but make sure that if you're redacting, for example, <IP_ADDRESS>, that you're replacing that with something unique (like Public IP 1 or something like that)

sudo service nsd status
Unit nsd.service could not be found.
journalctl -xe | grep nsd
Aug 07 17:46:59 mailhub.EXAMPLE.com sudo[4311]:     greg : TTY=pts/0 ; PWD=/home/greg ; USER=root ; COMMAND=/usr/sbin/service nsd status
Aug 07 17:47:14 mailhub.EXAMPLE.com sudo[4319]:     greg : TTY=pts/0 ; PWD=/home/greg ; USER=root ; COMMAND=/usr/sbin/service nsd start
Aug 07 17:47:44 mailhub.EXAMPLE.com sudo[4339]:     greg : TTY=pts/0 ; PWD=/home/greg ; USER=root ; COMMAND=/usr/bin/apt install nsd
Aug 07 17:48:29 mailhub.EXAMPLE.com sudo[4392]:     greg : TTY=pts/0 ; PWD=/home/greg ; USER=root ; COMMAND=/usr/sbin/service nsd status
ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet <IP_ADDRESS>/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: ens18: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
link/ether 8a:ce:50:84:76:64 brd ff:ff:ff:ff:ff:ff
inet (SUBNET MASK) brd (BROADCAST IP) scope global ens18
valid_lft forever preferred_lft forever
inet6 2607:ff28:c005:2b:88ce:50ff:fe84:7664/64 scope global dynamic mngtmpaddr noprefixroute
valid_lft 2591493sec preferred_lft 604293sec
inet6 fe80::88ce:50ff:fe84:7664/64 scope link
valid_lft forever preferred_lft forever
and the contents of /etc/nsd/nsd.conf
There is no nsd directory nor nsd.conf -- I think we're onto something. :)

Yeah, for sure - is this a brand new install by any chance?

Yep -- the cascade:

Web interface for Buster-based power MIAB stopped working after an apt-get upgrade
Reboot did nothing, so tried to run the install script again, thinking maybe the upgrade hosed some conf files. No luck.
Clean ISO reinstall of Buster, apt update and apt upgrade... and the script died during install, throwing an error.
Ditto for a clean reinstall of Ubuntu 20.04, attempted with both an older ISO as well as one just downloaded from Canonical.

Makes me wonder if an update to NSD is what's broken.

I don't think so - else I would have easily noticed by now :\

I'm not sure how is your network laid up but ideally the contents of /etc/resolv.conf should be:
nameserver <IP_ADDRESS>

which is essentially bind9.
In case writing to that file doesn't work, as a temporary workaround, you can choose one public dns of your liking - for example <IP_ADDRESS> from cloudflare or <IP_ADDRESS> from google:
# /etc/resolv.conf - sets resolver to cloudlfare public nameservers
nameserver <IP_ADDRESS>

No luck -- setting resolv.conf to <IP_ADDRESS> and running the install script gets me to the same break I initially reported.
If this seems more like a singular case of user error, let me know -- I don't want to waste your time playing tech support for a one-off case.

ACK. Keep me posted in case you find anything interesting

I had the same problem. I am trying to install on a virtual machine running on a home network behind a nat. I took a look at the nds.conf file. It listed the local ip address for my machine as well as the public ip address. I commented out the public ip address then ran the setup/start.sh script again. The install then successfully continued. It is at the point of installing SpamAssassin. So hopefully it will continue without any problems.

We have continued this issue in DM's - turns out the fault was on both nsd and bind.
For nsd, I have a fix ready that will be incorporated in the next version. For bind, it was DNSSEC-related and required some specific configuration changes and some service restarts.


Make makeNewBlock() nothrow

What does this enhancement for?

It enables marking other functions nothrow which use this function. While testing I got an error that makeNewBlock was not nothrow, but realized it can be nothrow.

Rebased on v0.x.x to fix the CI


Update to latest Nugets and .NET 8

Motivation
This project should be updated to .NET 8 and the latest nugets.
There are breaking changes that this project does not address such as this: https://github.com/kontent-ai/delivery-sdk-net/pull/390
Proposed solution
Update solution to .NET 8 and latest nugets.

Hello Xantari, thank you for your submission.
while this boilerplate is indeed outdated, we're yet to discuss the future of .NET samples. both an update to the existing ones and a creation of new set of samples are an option at the moment.
I'll make sure to update you as we progress with the decision, though I'm not able to provide any estimates yet. thank you for your patience.

Sounds good, yeah maybe a new sample is better, with a link on the "old" boiler plate that says for a newer version go here or something. That way folks who are still using the old stuff can reference the old boiler plate.

+1 this idea

+1 this idea


Open Chatroom automatically

Dear Team,
i'm a big fan of your application. We are builiding an queuing-system around your App.
Is there a possibility to change the App in the way that it opens chatrooms with a browser request.
For example if there is the request: https://peercalls.com/call/123
And the channel isn't already existing, it should be opened automaticly by the app.
Could you give me a hind how to make it? That would be great.
Thank you very much!
Regards,
John

you can add a little code to the react app (front end) and call will execute automatically.
What I've done is that I make a random nickname, assign it as nickname, set it inside the store, and after 5 seconds, I call this.handleSubmit() function which makes the call.
the code is (inside src/client/components/Media.tsx):
const randomNick = Math.random().toString(36).substring(2, 15) + Math.random().toString(36).substring(2, 15);     this.setState({ nickname:  randomNick })     setTimeout(()=>{       this.handleSubmit()     }, 5000)
Also I've remove (and is a hack since I don't know typescript very well) argument of handle submit, so handlesubmit accepts no argument.
and the last thing is to comment  event.preventDefault() line because you didn't pass event anymore.
That's a hack which makes my program work. I hope this helps you too.


Nuxt 0.1.0 issues with d.ts files

Getting this error after upgrading to 0.1.0
ERROR  RollupError<EMAIL_ADDRESS>(2:8): Expected ';', '}' or <eof> (Note that you need plugins to import files that are not JavaScript)

import { PrismaClient } from "@prisma/client";
declare const prismaClientSingleton: () => PrismaClient<import(".prisma/client").Prisma.PrismaClientOptions, never, i...
           ^
declare const prisma: PrismaClient<import(".prisma/client").Prisma.PrismaClientOptions, never<EMAIL_ADDRESS>export type CustomPrismaClient = ReturnType<typeof prismaClientSingleton>;

Thanks for reporting @husayt! I'll look into it!

Hi @husayt, I appreciate your patience and apologize for the long wait.
I’ve picked this up again and wanted to clarify: when exactly does this issue occur? Also, which package manager are you using?

@ankur-arch I can jump in here since I have the same issue. I scaffolded a nuxt project using the latest versions a few days ago, see below my deps (removed nuxt-prisma in the meantime but also used 0.1.0)
I'm using pnpm and this occurs when I run pnpm run dev
 "dependencies": {
    "@nuxt/eslint": "^0.7.1",
    "@nuxt/eslint-config": "^0.7.1",
    "@nuxtjs/i18n": "^9.1.0",
    "@nuxtjs/seo": "^2.0.0-rc.23",
    "@nuxtjs/tailwindcss": "^6.12.2",
    "@pinia/nuxt": "^0.7.0",
    "@vueuse/core": "^11.3.0",
    "@vueuse/nuxt": "^11.3.0",
    "i18n": "^0.15.1",
    "nuxt": "^3.14.1592",
    "vue": "latest",
    "vue-router": "latest"
  },

Thanks so much for your input on this issue 🙏,
@husayt, I’ve addressed some of your feedback in this comment — I appreciate your patience as I continue working through this.
Thanks @ul8! I’ll review this later this week and share any updates or findings.

In my case, the error comes when using sidebase/nuxt-auth and prisma/nuxt in the modules. But if im commented out the sidebase/nuxt-auth plugin, there is no error.

Same issue. Using Nuxt/ui also breaks now with prisma

Same Issue. Both side/nuxt-auth and  atinux/nuxt-auth-utils will cause this problem. Just add these modules to the project and npm run dev.

For me it was now fixed by simply installing the prisma and @prisma/client packages, and creating a prismaClient instance manually.

I couldn't reproduce the exact error, but this resolves the issue and allows the project to run. It seems npm is failing to properly install and set up Prisma, leading to a preview failure with this error. Following the advice in the documentation helped resolve it.

Same Issue. Both [side/nuxt-auth](https://github.com/sidebase/nuxt-auth) and [atinux/nuxt-auth-utils](https://github.com/atinux/nuxt-auth-utils) will cause this problem. Just add these modules to the project and npm run dev.

Thanks, @koalli! I'll try this out and see if I can reproduce the exact error. I'm a bit tied up until tomorrow but will aim to get to this by Friday. Thanks, everyone!

Npm is installing and setting up prisma just fine. In fact you can prove this by deleting the .nuxt folder and doing a build. It will work perfectly. The first time. Build again and it fails. And the article you linked to with a fix doesn't work and is unrelated to this. There's a problem with how rollup is processing prisma and specifically the typescript portion. Something in prisma nuxt is not cooperating with rollup. I've been trying to debug the build step in Nuxt but haven't pinpointed it yet.

Thanks for the insight, @gsxdsm!

The article you linked to with a fix doesn't work and is unrelated to this.

I haven't been able to reproduce the exact error yet, as I haven’t tried @koalli's suggestion. In my case, I encountered the preview error linked here, which is why I mentioned it.

There's a problem with how rollup is processing Prisma, specifically the TypeScript portion. Something in Prisma Nuxt is not cooperating with Rollup. I've been trying to debug the Nuxt build step but haven't pinpointed it yet.

If you have any further insights or updates, I’d greatly appreciate it 🫶 !

@ankur-arch I tested version 0.1.3 and added the nuxi-auth-utils module to my previous project, everything seems fine now, and it no longer throws a RollupError.

Thank you, @koalli for getting back to me and @husayt for reporting the issue.
This PR #68 resolves the problem and has been included in version 0.1.3.


Should fix #112.

⨯ treewalker failed         error=unable to parse: failed to set defaults: found 2 builds with the ID 'chezmoi', please fix your config

same issue as before it seems :/

Oops, sorry about that. I leapt to conclusions too quickly and forgot about the duplicate build id issue.
chezmoi is now fixed in https://github.com/twpayne/chezmoi/pull/277 and godownloader's CI now passes.

awesome!


unistd::pivot_root() is possibly broken

While implementing a fix for #117, I noticed that unistd::pivot_root() is possibly broken.
On 9 Feb, effb423 introduced the NixPath trait, which at first took a closure which has a *const libc::c_char as an argument, and unistd::pivot_root() was changed to use with_nix_path() and its closure's arguments as arguments in the call to sys::syscall::syscall().
Then on 26 Feb, e8a58c8 changed NixPath to take an &OsStr instead of a *const libc::c_char, but unistd::pivot_root() was not updated. So it appears that unistd::pivot_root() is now passing &OsStrs to sys::syscall::syscall(). I imagine this wasn't caught because unistd::pivot_root() doesn't appear to be covered by any unit tests.

Resolved by: 21fb1394a111d19079da90a4d31171b0d6adc27c


Add Technofutur Tic

I propose the addition of the technofuturtic.be domain to allow students of the Technofutur TIC institution to benefit from the free educational licenses offered by JetBrains.
Details :
Institution name: Technofutur TIC
Website : www.technofuturtic.be/
Location : Gosselies, Belgium
Type of institution: Competence center for information and communication technologies.
Please consider this request so that Technofutur TIC students can access JetBrains tools via the educational program.

@kalonjis I have to close this request without merging, because you requested to add a non-existent domain to this repository: Host stag.education not found: 3(NXDOMAIN) Please ensure that you are familiar with this repository rules located at the bottom of this page and submit a new request with the correct information. Thank you for your understanding!


[⚙ Development] API Request Validation

API Request bodies must be validated before passing them to handler functions. Schema of the request should be set and incoming request body should be validated against the schema. A 400 status should be send if validation fails.

https://github.com/go-playground/validator
https://tutorialedge.net/golang/validating-http-json-requests/
https://docs.gofiber.io/guide/validation/

Currently only checking if field exists. Type and other checks to be done in a separate Issue/Task.


Support --extra-config flag

Support --extra-config flag for running minikube.

I would very much love this feature to be merged. My use case would be --insecure-registry flag (https://minikube.sigs.k8s.io/docs/handbook/registry/#enabling-insecure-registries) for a temporary in-cluster registry.

sorry for the late response, merged the other PR that has this


Remove CSP

After internal discussion, we decided to remove CSP directives for now, as it was still causing issues.
We can try to introduce it again when we're more mature, and when there's an actual use case (attack vector) we want to guard against. Right now it's only causing issues when we develop new features.
/cc @lipis @Shriram-Balaji

Eventually we'll have to add them back if we want to call ourselves end to end encrypted :D


chore: changing gcp image for ubuntu 20.04

What problem does this PR solve?:
Failed gcp runs for Ubuntu 20.04
Which issue(s) does this PR fix?:
NCN-104362
Special notes for your reviewer:
Changing the lookup for the gcp image for Ubuntu 20.04
Does this PR introduce a user-facing change?:
Solely for creating a GCP Ubuntu 20.04 image

Build 'googlecompute.kib_image' finished after 12 minutes 42 seconds.
==> Wait completed after 12 minutes 42 seconds
==> Builds finished. The artifacts of successful builds are:
--> googlecompute.kib_image: A disk image was created in the project: konvoy-ubuntu-2004-1-30-5-....


Public Key in UI can't be copy pastesd

The Identifier in the Public Key in build settings added in https://github.com/drone/drone/pull/1383 appears in a second line.
Technically it must be one line to be added to authorized_keys.

I think it just looks like that, i have taken the key with copy and paste and it's not multiline.

i copied it and pasted in a text editor. tested with chromium and firefox.

it looks like one line in the inspector of FF but if you click on the text there, it is also 2 lines

Than the public key must end with a newline :(

closing in preparation for 0.5 which no longer uses or provides keys. Key are not used by 0.4 but were kept for compatibility purposes. All 0.5 plugins are being updated to not rely on the presence of a key.


Windows SDK not found

Hi,
In AgoraPlugin.cpp, there might be an issue in line 18:
LibraryPath = FPaths::Combine(*BaseDir, TEXT("Source/ThirdParty/AgoraPluginLibrary/x64/Release/agora_rtc_sdk.dll"));

Should the path of the sdk should be x86_64, not x64, and the other way around?
The path i have in my local plugins folder is : Plugins\AgoraPlugin\Source\ThirdParty\AgoraPluginLibrary\Win\Release\x86_64
And my windows packaged game log gives me the error: [2023.11.05-15.57.54:217][  0]LogWindows: Failed to load '../../../XXXX/Plugins/AgoraPlugin/Source/ThirdParty/AgoraPluginLibrary/x64/Release/agora_rtc_sdk.dll' (GetLastError=126)

Thanks for pointing it out. This is used for testing and it would be fixed in the coming version.

The path has been fixed in the current release.  Thanks for the feedback!


Fix problems in README

in the examples section for the point see logs of a specific pod, the command is incorrect.
Many typos in the Installing akcess section

Fixed by
https://github.com/viveksinghggits/akcess/commit/accb65b077aa549d0756fd9d0d6117bab394273b


Fix [packagist] badges

Fix #3238

Updated schema to make extra key under dev-master version optional since it often is not included in the API response.
Updated version badge to handle schema changes
Added a couple additional tests

Messages

:book:
:sparkles: Thanks for your contribution to Shields, @calebcartwright!

  Generated by :no_entry_sign: dangerJS against 9b196b655167a8e7278d2a6f8593e601de055ffd

Thanks a lot for this fix!
But it seems still not deployed 😢
@calebcartwright @chris48s @paulmelnikow is something broken in the deployment process?

@kylekatarnls - no, nothing broken, just hasn't been deployed yet. The above comment will be updated once the changes have been deployed.
I don't have an exact timeline, but suspect it will be deployed fairly soon


204 responses have wrong Content-Type

Description
HTTP 204 responses have the wrong Content-Type.
Expected bahaviour
Content-Type is application/json
Actual behaviour
Content-Type is text/html; charset=utf-8
Steps to reproduce

Create a DELETE endpoint
Send a request to it and check the response headers

Additional info:
Output of the commands:

python --version
pip show connexion | grep "^Version\:"

$ pip show connexion | grep "^Version\:"
Version: 1.0.129
$ python --version
Python 2.7.9

Interestingly it is now sending "application/json"


Fix/more disapear

I used this library in my production code and found issues when user put in expandable label :
very long text which bigger or equal line.widht
empty lines in collapsed line position
All this  issues caused disapearing More link or MoreLink was untouchable.
Please see pullRequest hope it will be usefull.

![simulator screen shot mar 2 2017 3 35 59 pm]
(https://cloud.githubusercontent.com/assets/8415310/23509892/0c66eec4-ff60-11e6-858b-b37a710be9eb.png)

Cheers.

Thank you! A new version is released.


HHH-13285 : ClassCastException: org.dom4j.DocumentFactory cannot be cast to org.dom4j.DocumentFactory after dom4j update (5.3)

https://hibernate.atlassian.net/browse/HHH-13285 (5.3)

Merged.


Replace offline download icon in status bar

We currently use the entire Mapbox logo with text, we should probably only use the icon here.

fixed in #421


GitHub Discovery for non-organizations

Feature Suggestion
I'm using Backstage only for my personal projects and therefore don't have a GitHub Organization. While experimenting with the GitHub Discovery feature I noticed that it can only discover repositories within organization accounts because of the use of the organization GraphQL endpoint in the catalog-backend. It would be nice if you could also discover repositories of non-organizationss.
  organization(login: $org) {
    name
    repositories(first: 100, after: $cursor) {
      nodes {
        name
        url
        isArchived
      }
      pageInfo {
        hasNextPage
        endCursor
      }
    }
  }

Possible Implementation
Since there is a similar endpoint available for normal accounts, it's maybe not hard to add this feature.
user(login: "simonknittel") {
  repositories(first: 100) {
    nodes {
      name
      url
      isArchived
    }
    pageInfo {
      hasNextPage
      endCursor
    }
  }
}

Oh I was under the impression that the personal ones were also returned by the current query. Did you double check that it didn't have anything to do with permissions?
We'd of course welcome a contribution. Is this something you'd like to look into?

@freben I've created a (draft) Pull Request: https://github.com/backstage/backstage/pull/5547 Since I'm not sure if that's the best way to solve this, maybe you could take a look before I go ahead and add changeset+tests.


(v2) Koa hangs on errors

Using this example from the README (modified with the new keyword for Koa 2), my server logs an error when I hit http://localhost:3000, but it does not respond and the request times out.
'use strict'

var Koa = require('koa')
var logger = require('koa-pino-logger')

var app = new Koa()
app.silent = true //disable console.errors
app.use(logger())

app.use(function * () {
  this.body = 'hello world'
  throw Error('bang!')
})

app.listen(3000)

Hi @tnunamak thanks for reporting. Just to be sure, this behavior is happening with the module installed like so:
npm install koa-pino-logger@2

So you're using the v2 logger for v2 koa?
Secondly, can you confirm that the behavior is different if you remove the logger middleware?

Yep, I just confirmed the following from my shell history. And the server definitely responds with an internal error successfully, without the middleware.
npm install koa@next
npm install koa-pino-logger@2 --save

@tnunamak if you are using Koa v2 then why is your handler a generator function?  Is that because the example code from koa-pino-logger is written that way?
I would expect (and I write my) Koa v2 handlerse using async functions and the body is attached to ctx.res or ctx (shorthand), i.e. the handler should be written as:
app.use(async function (ctx, next) {
  ctx.body = 'hello world';
  throw Error('bang!');
});

@eudaimos are you saying it doesn't hang for you when written with async func?
in that case, will happily take PR for readme

I experienced this too. Should be fixed by #7

fixed in #7