[vanilla JS] templateUrl not working with short path

When reporting a bug, please be sure to include the following:

[x] A descriptive title
[x] An isolated way to reproduce the behavior (example: GitHub repository with code isolated to the issue that anyone can clone to observe the problem)
[x] What version of angular-meteor you're using, and the platform(s) you're running it on
[x] What packages or other dependencies you're using
[x] The behavior you expect to see, and the actual behavior

bug?
A working demo is available on atao60/meteor-angular-ionic. This demo is based on Angular Meteor bare. All the code (but the tests) is in plain JS, even the annotations (Component, NgModule,...)
As soon as a path such as:
templateUrl: 'client/imports/app/app.html'

is replaced by:
templateUrl: 'app.html'

the associated part of the view isn't correctly displayed.
Is this the expected behavior with vanilla JS w/o "@" annotations, ie full pathes required?
Should it be possible to keep the same behavior than with TS and "@" annotations, ie short pathes accepted?
dev config
$ uname -srvmpio
Linux 4.13.0-37-generic #42~16.04.1-Ubuntu SMP Wed Mar 7 16:03:28 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

$ cat package.json
{
  "private": true,
  "scripts": {
    "start": "meteor run",
    "test": "TEST_BROWSER_DRIVER=phantomjs meteor test --driver-package=ardatan:mocha",
    "test:ci": "TEST_BROWSER_DRIVER=phantomjs meteor test --driver-package=ardatan:mocha --once",
    "postinstall": "npm run styles:install",
    "prestyles:install": "mkdirp ./client/stylesheets",
    "styles:install": "npm run ionic-styles:install",
    "ionic-styles:install": "cpy node_modules/ionic-angular/css/ionic.css client/stylesheets"
  },
  "dependencies": {
    "@angular/common": "^5.2.9",
    "@angular/compiler": "^5.2.9",
    "@angular/core": "^5.2.9",
    "@angular/forms": "^5.2.9",
    "@angular/platform-browser": "^5.2.9",
    "@angular/platform-browser-dynamic": "^5.2.9",
    "@angular/router": "^5.2.9",
    "@babel/runtime": "^7.0.0-beta.42",
    "@ionic-native/core": "^4.6.0",
    "core-js": "^2.5.3",
    "ionic-angular": "^3.9.2",
    "meteor-node-stubs": "~0.3.3",
    "meteor-rxjs": "^0.4.10",
    "rxjs": "^5.5.7",
    "zone.js": "^0.8.20"
  },
  "devDependencies": {
    "@angular/compiler-cli": "^5.2.9",
    "@types/chai": "^4.1.2",
    "@types/meteor": "^1.4.13",
    "@types/mocha": "^2.2.48",
    "@types/sinon": "^4.3.0",
    "chai": "^4.1.2",
    "cpy-cli": "^1.0.1",
    "mkdirp": "^0.5.1",
    "phantomjs-prebuilt": "^2.1.16",
    "sinon": "^4.4.6",
    "typescript": "^2.7.2"
  }
}

$ cat .meteor/release
<EMAIL_ADDRESS>
$ cat .meteor/packages
# Meteor packages used by this project, one per line.
# Check this file (and the other files in this directory) into your repository.
#
# 'meteor add' and 'meteor remove' will edit this file for you,
# but you can also edit it by hand.

<EMAIL_ADDRESS>           # Packages every Meteor app needs to have
<EMAIL_ADDRESS>     # Packages for a great mobile UX
<EMAIL_ADDRESS>                 # The database Meteor supports right now
<EMAIL_ADDRESS>          # Reactive variable for tracker
<EMAIL_ADDRESS>               # Meteor's client-side reactive programming library

<EMAIL_ADDRESS>              # ECMAScript 5 compatibility for older browsers
<EMAIL_ADDRESS>            # Enable ECMAScript2015+ syntax in app code
<EMAIL_ADDRESS>          # Server-side component of the `meteor shell` command

angular-compilers

$ cat .meteor/versions
<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>

UPDATE
After a very long time, error messages are displayed on the browser console:
ERROR
InternalError: too much recursion
Stack trace:
[object Object]
AppComponent.ngfactory.js:22:24
View_AppComponent_0
ng:///AppModule/AppComponent.ngfactory.js:22:24
proxyClass
http://localhost:3000/packages/modules.js:100440:20
core.umd.js/</DebugContext_</DebugContext_.prototype.logError
http://localhost:3000/packages/modules.js:80662:11
core.umd.js/</ErrorHandler</ErrorHandler.prototype.handleError
http://localhost:3000/packages/modules.js:67175:9
core.umd.js/</ApplicationRef</ApplicationRef.prototype.tick/<
http://localhost:3000/packages/modules.js:71580:63
zone.js/</Zone$1</ZoneDelegate</ZoneDelegate.prototype.invoke
http://localhost:3000/packages/modules.js:55841:17
zone.js/</Zone$1</Zone</Zone.prototype.run
http://localhost:3000/packages/modules.js:55591:24
core.umd.js/</NgZone</NgZone.prototype.runOutsideAngular
http://localhost:3000/packages/modules.js:70363:54
core.umd.js/</ApplicationRef</ApplicationRef.prototype.tick
http://localhost:3000/packages/modules.js:71580:13
core.umd.js/</ApplicationRef</ApplicationRef.prototype._loadComponent
http://localhost:3000/packages/modules.js:71639:9
core.umd.js/</ApplicationRef</ApplicationRef.prototype.bootstrap
http://localhost:3000/packages/modules.js:71527:9
core.umd.js/</PlatformRef</PlatformRef.prototype._moduleDoBootstrap/<
http://localhost:3000/packages/modules.js:71247:74
core.umd.js/</PlatformRef</PlatformRef.prototype._moduleDoBootstrap
http://localhost:3000/packages/modules.js:71247:13
core.umd.js/</PlatformRef</PlatformRef.prototype.bootstrapModuleFactory/</</<
http://localhost:3000/packages/modules.js:71168:21
zone.js/</Zone$1</ZoneDelegate</ZoneDelegate.prototype.invoke
http://localhost:3000/packages/modules.js:55841:17
onInvoke
http://localhost:3000/packages/modules.js:70415:24
zone.js/</Zone$1</ZoneDelegate</ZoneDelegate.prototype.invoke
http://localhost:3000/packages/modules.js:55840:17
zone.js/</Zone$1</Zone</Zone.prototype.run
http://localhost:3000/packages/modules.js:55591:24
scheduleResolveOrReject/<
http://localhost:3000/packages/modules.js:56311:52
zone.js/</Zone$1</ZoneDelegate</ZoneDelegate.prototype.invokeTask
http://localhost:3000/packages/modules.js:55874:17
onInvokeTask
http://localhost:3000/packages/modules.js:70406:24
zone.js/</Zone$1</ZoneDelegate</ZoneDelegate.prototype.invokeTask
http://localhost:3000/packages/modules.js:55873:17
zone.js/</Zone$1</Zone</Zone.prototype.runTask
http://localhost:3000/packages/modules.js:55641:28
drainMicroTaskQueue
http://localhost:3000/packages/modules.js:56048:25
zone.js/</Zone$1</ZoneTask</ZoneTask.invokeTask
http://localhost:3000/packages/modules.js:55953:21
invokeTask
http://localhost:3000/packages/modules.js:56970:9
globalZoneAwareCallback
http://localhost:3000/packages/modules.js:56996:17
ERROR CONTEXT
Object { view: {…}, nodeIndex: 18, nodeDef: {…}, elDef: {…}, elView: {…} }
AppComponent.ngfactory.js:22:24
Angular is running in the development mode. Call enableProdMode() to enable the production mode.
modules.js:69353:9

ERROR CONTEXT Object { view: {…}, nodeIndex: 18, nodeDef: {…}, elDef: {…}, elView: {…} } AppComponent.ngfactory.js:22:24
	View_AppComponent_0 ng:///AppModule/AppComponent.ngfactory.js:22:24
	proxyClass http://localhost:3000/packages/modules.js:100440:20
	core.umd.js/</DebugContext_</DebugContext_.prototype.logError http://localhost:3000/packages/modules.js:80662:11
	core.umd.js/</ErrorHandler</ErrorHandler.prototype.handleError http://localhost:3000/packages/modules.js:67180:13
	core.umd.js/</ApplicationRef</ApplicationRef.prototype.tick/< http://localhost:3000/packages/modules.js:71580:63
	zone.js/</Zone$1</ZoneDelegate</ZoneDelegate.prototype.invoke http://localhost:3000/packages/modules.js:55841:17
	zone.js/</Zone$1</Zone</Zone.prototype.run http://localhost:3000/packages/modules.js:55591:24
	core.umd.js/</NgZone</NgZone.prototype.runOutsideAngular http://localhost:3000/packages/modules.js:70363:54
	core.umd.js/</ApplicationRef</ApplicationRef.prototype.tick http://localhost:3000/packages/modules.js:71580:13
	core.umd.js/</ApplicationRef</ApplicationRef.prototype._loadComponent http://localhost:3000/packages/modules.js:71639:9
	core.umd.js/</ApplicationRef</ApplicationRef.prototype.bootstrap http://localhost:3000/packages/modules.js:71527:9
	core.umd.js/</PlatformRef</PlatformRef.prototype._moduleDoBootstrap/< http://localhost:3000/packages/modules.js:71247:74
	core.umd.js/</PlatformRef</PlatformRef.prototype._moduleDoBootstrap http://localhost:3000/packages/modules.js:71247:13
	core.umd.js/</PlatformRef</PlatformRef.prototype.bootstrapModuleFactory/</</< http://localhost:3000/packages/modules.js:71168:21
	zone.js/</Zone$1</ZoneDelegate</ZoneDelegate.prototype.invoke http://localhost:3000/packages/modules.js:55841:17
	onInvoke http://localhost:3000/packages/modules.js:70415:24
	zone.js/</Zone$1</ZoneDelegate</ZoneDelegate.prototype.invoke http://localhost:3000/packages/modules.js:55840:17
	zone.js/</Zone$1</Zone</Zone.prototype.run http://localhost:3000/packages/modules.js:55591:24
	scheduleResolveOrReject/< http://localhost:3000/packages/modules.js:56311:52
	zone.js/</Zone$1</ZoneDelegate</ZoneDelegate.prototype.invokeTask http://localhost:3000/packages/modules.js:55874:17
	onInvokeTask http://localhost:3000/packages/modules.js:70406:24
	zone.js/</Zone$1</ZoneDelegate</ZoneDelegate.prototype.invokeTask http://localhost:3000/packages/modules.js:55873:17
	zone.js/</Zone$1</Zone</Zone.prototype.runTask http://localhost:3000/packages/modules.js:55641:28
	drainMicroTaskQueue http://localhost:3000/packages/modules.js:56048:25
	zone.js/</Zone$1</ZoneTask</ZoneTask.invokeTask http://localhost:3000/packages/modules.js:55953:21
	invokeTask http://localhost:3000/packages/modules.js:56970:9
	globalZoneAwareCallback http://localhost:3000/packages/modules.js:56996:17

This is not expected behaviour, because angular compilers only processes TypeScript files, but HTML and SCSS compilers can work in same way, so you can use same syntax with the modification that is done by TypeScript compiler in angular-compilers.
Could you try to add vanillajs version of the code below;
@Component({
moduleId: module.id,
...
})

@ardatan

I think there is a wrong path in a source file, because when there is one, it sends index.html as default for 404. After that, this causes recursion by bootstrapping app again and again ( we couldn't find a proper way to handle this ).
So you need to check the path of html and scss files.

I checked all of the 5 pathes of html and scss files existing in the code of atao60/meteor-angular-ionic: there are all fine.
AFAIU, no needs to search for a wrong path. Even if it seems Angular doesn't promote anymore the usage of 'moduleId', it's well documented, see e.g. Component-Relative Paths in Angular which among others states:

We might expect that ./header.component.html is a path relative to the header.component.ts file and that component-relative paths should work, right?
Instead, we get another 404 - Not found - Exception.

that is exactly the observed behavior.
As I'm happy with the moduleId workaround, do we need to keep the present issue open?

Angular CLI was firstly designed to use with SystemJS. SystemJS loads modules by their path properly, but Angular couldn't have recognized those path in order to load template and style files by their path via XHR like SystemJS. To solve this, moduleId has been used a while. However, this property is still available and not deprecated.
After Angular CLI switched to Webpack, Webpack loaders started to replace templateUrl and styleUrls syntax with CommonJS's require or ES2015's import syntax, and that method is tricky.
All these are from Angular CLI strategy, but we are not using Angular CLI. We don't have to use Angular CLI's way to compile TS or JS files. We are using moduleId instead of making Meteor's bundler(which was really slow because of that) busy by dealing with asset files like Webpack.
I cannot see any official promotion level of Angular in the unofficial post you added your comment.
That's why, html-compiler and scss-compiler in development are independent from typescript-compiler to make them asyncronized and faster. html-compiler and scss-compiler adds html and scss files for Angular to be accessed via XHR, but here is the known issue; if Angular couldn't find them, it gets bootstrap/home page by Meteor's default page fallback(this is my thought about the reason of infinite loop).
Finally, we haven't designed the compiler to work with plain-JS. We need to work on this to give support for plain JS.


[Draft] Add efc_address to Contact in MJX

Thanks for this - I ended up doing a version of this in a4df912018d32ea56eeaf6baa946785d59b859bf, so I'm going to close this PR.  But it's in!


⚠ GitLab Server has degraded performance

In c3c6522, GitLab Server (https://gitlab01.its-telekom.eu) experienced degraded performance:

HTTP code: 200
Response time: 15873 ms

Resolved: GitLab Server performance has improved in ebb99d2.


Q: Is there looping video recording?

Is there an easy recipients to enable loop recording? I.e set a video time of 60 seconds and picamera will continually create new files named n.h264 for every minute (or thereabouts with key frames) just like dash cams do? And the possibility of deleting the oldest when either you reach a certain sequence number or it detects that space is low on whatever drive is being used?
Sorry if this is in the docs - I couldn't see it and I had a look through the advanced recipes.
Cheers for any help!
Nick

record_sequence is the basis of what you want but requires some additional programming from you. There's some basic examples in this recipe but I'm sure I did some more advanced ones somewhere (not in the docs ... some forum or something)... Just can't seem to find them at the moment...

Ah, found them: check out the end of this answer on the RPi stackex.

ahem, if you are recording a live loop, then I HIGHLY recommend a ram disk if you are using actual files for the buffer.
Your SD card will thank you later.

If you just need a circular buffer, PiCameraCircularIO is what you're looking for, which is indeed RAM based. However, I get the impression this is about long term buffering of recorded data (several days worth if deletion is only to occur when low on space), in which case RAM is going to be far too limited in capacity (in the Pi3's 1Gb of RAM, with decent compression levels, one can store several minutes worth of video at 24fps, but that's about it).

in essence, yes. I'm hoping to use picamera as the basis for a dash cam project. The script will start recording at a sequence number (either based on date or the last sequence number) and will record to pre-defined chunks of time (commonly 5 minutes, but 1 minute to two minutes is also common). When space is low on whatever medium is being used to save the file, the oldest is deleted, and it continues perpetually (well, until it's switched off or recording stops etc). I'm hoping to write directly to the medium and not use a ton of ram.
I know raspivid has the ability by way of the segment, wrap and start command line options (https://www.raspberrypi.org/documentation/raspbian/applications/camera.md). Is there anything like this expected in picamera? I know its quite specific but if you dont ask and all that jazz!
Thanks for the comments so far - It's definitely something i'm going to have a play around with and see what I can figure out.
As a side note - is there any official forums where questions like this can be asked instead of clogging up the bug tracker?
Thanks agian!
Nick

I know raspivid has the ability by way of the segment, wrap and start command line options (https://www.raspberrypi.org/documentation/raspbian/applications/camera.md). Is there anything like this expected in picamera? I know its quite specific but if you dont ask and all that jazz!

Nothing that specific, because that's not very useful in a library (making a library's function too specific tends to make it hard / impossible to implement things that don't fall neatly into that specification). Far more useful to provide a generic mechanism. In this case, to provide a mechanism which automatically handles rolling recordings over from one output to another, taking care to ensure that recordings always start with the appropriate headers: that's exactly what record_sequence does.
At that point all you need to code is the criteria indicating when to roll over to the next recording (which occurs when you permit the loop to iterate) - which can be anything you could imagine (and code): time based, space based, reaction to a button, a sensor, receiving a particular network packet, etc. etc.

As a side note - is there any official forums where questions like this can be asked instead of clogging up the bug tracker?

There's the Raspberry Pi camera board - unfortunately I don't have enough spare time to respond on there as I used to, as well as the Pi Stack Exchange. Still, I've no objection at all to people asking questions here. It's a bit limited as forum interfaces go (hardly surprising given it's not exactly its intended purpose), but it's still public and searchable which means any answers can still be of use to anyone else googling for them.

Closing old issues; I think this one's been answered adequately but do feel free to re-open if you've got any further queries regarding it!


google drive upload using chunking

Following the large file upload example with a DriveFile yields:

Argument 2 passed to Google_Http_MediaFileUpload::__construct() must implement interface Psr\Http\Message\RequestInterface, instance of Google_Service_Drive_DriveFile given

Code:
$folder = $this->getFolder();
    $file = $this->getFile();
    $filename = $file->name;

    $fileMetadata = new Google_Service_Drive_DriveFile();
    $fileMetadata->setName($filename);
    $fileMetadata->setMimeType($file->mime());
    $fileMetadata->setParents([$folder]);

    $chunkSizeBytes = $this->options['chunkSize'];

    $client = $this->getClient();
    $client->setDefer(true);
    $request = $this->service->files->create($fileMetadata);

    $media = new Google_Http_MediaFileUpload(
            $client, $request, $file->mime(), null, true, $chunkSizeBytes // error $request
    );
    $media->setFileSize($file->size());

    $status = false;
    $handle = fopen($file->pwd(), "rb");
    while (!$status && !feof($handle)) {
        $chunk = fread($handle, $chunkSizeBytes);
        $status = $media->nextChunk($chunk);
    }

    $result = false;
    if ($status != false) {
        $result = $status;
    }

    fclose($handle);
    $client->setDefer(false);

What was the fix for this? Experiencing the same error

I am also experiencing this error... Is there any solution for this?

Encontraste solucion Daniel?


Support FB56-THM12HM1.4

Has support for:
model: 'FB56-THM12HM1.4',
description: 'Smart Temperature and Humidity Detector'

@Koenkk hey mate, pretty new to this, could you give me a heads up with what i have stuffed up here?
Cheers,
Cam


command to run the test

Hello,
I did go through the documentation for Spectron but did not find a command to run the tests.
Could someone post it here.
Thanks!

Spectron isn't a test runner.  You have to use a runner like mocha and use Spectron in your tests.
See the examples for Ava and mocha


Allow user to be associated with an enrolled school

Edit a user, it looks like it only shows enrolled schools. As part of setup, it would be useful to associate them with a school that is not yet enrolled.

Not a problem to change, but I thought this would avoid assigning to a school that isn't participating yet - the user won't be able to do anything until the school is enrolled (the show school page now goes to the Enrol page), so I thought enrolling the school then assigning the user would be the normal procedure.

@ldodds User can be now be assigned to a school that hasn't enrolled. Redirect of the school page to enrol does not now occur if the user can manage the school.


refactor(cross_attention_control): remove outer CrossAttentionControl class

I was working on attention control in #1384, started making a few changes to improve the typing and make it easier to work with. Then the whitespace changes touched so many lines it seemed worth separating out these refactoring operations to this PR so they don't get mixed up with other functional changes.
It would be helpful to merge this to development before continuing work on attention control in #1384
The github diff isn't good at showing these together since they changed whitespace on so many lines. It may be easier to review by looking at the individual commits, and/or toggling the "hide whitespace differences" option in the view.

my inner C# programmer was really showing with these eh

@keturn merged, thanks for the PR


Change order of "Next steps" in create-anywidget

Reasoning in #475

Thanks for the contribution! The error is coming from some tests i have to make sure the exact output of the cli stays the same. You can update the snapshots with pnpm vitest and u to update the snapshot. Otherwise i can take care of it later :)

Hm, I thought the error's coming from some linting line length rule applied on the changeset.
Anyway, I also realized, that it probably makes sense to have it:

cd
npm install
git stuff
npm run dev
"To close..."

While what I committed gives:

cd
npm install
npm run dev
"To close..."
git stuff

and npm run dev hijacks your shells so you don't even get to do your commit.

Hm, I thought the error's coming from some linting line length rule applied on the changeset.

Ah ya, you are right. Just need to run pnpm format.

Anyway, I also realized, that it probably makes sense to have it

Yah, I like this option, running npm run dev last (after optional git stuff).

@dvdkouril I took a stab at your suggested changes. Look ok?

Yes! So sorry I let this one rot. I was thinking whether there's a way to write it without repeating the if loop.
But this looks good to me.


Remove text decoration from navigation menu

Summary
The current navigation bar lacks proper styling.
The UI design for this component is still a work in progress so we only need to get rid of the underline rules on those links. Adding a hover effect would be a nice extra touch.
Relevant links

Figma Design

Current loo

Desired look

Can you share a loom recording of how you are dealing with the dependencies, I am getting errors as soon as I clone.
Even when I have run the command
yarn install


upgrade dependencies listed by dependabot

Addresses potential security vulnerabilities listed by dependabot by upgrading jest and yargs.

 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.Michael Namoff seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


Pooled

Adds pooled classification.
Also extends MaximumBreaks to handle cases where insufficient unique differences occur.
TODO

[ ] Tests

Addressing #51

really small typo in cell 4 of the notebook (stray parentheses) but this looks great.
to extend this in the future, instead of "proper" pooling, it could be nice to include an option to define one of the columns that's used to create the breaks, then the other columns are assigned to those breaks

Something like a "pinned" argument that defines which column to define the breaks on, and then other columns are classified to these bins?

yeah thats exactly what i was thinking. For if you want to see the 1990-2010 time series, but expressed in the 2010 quantiles for each period

yeah thats exactly what i was thinking. For if you want to see the 1990-2010 time series, but expressed in the 2010 quantiles for each period

Could do that with the current PR implementation with something like:
res = mc.Pooled(Y, classifier='UserDefined', bins=mc.Quantiles(Y[:,-1]).bins)


[Setup] Add a password strength hint

In the setup screen. I don't think a real validation is necessary, but at least the red/yellow/green lights.

Well, you'll need to explain why a pwd is not passing the test. I think validation should be enforced given how powerful the super-user account is.

The Users module already has some rules to apply. This user will have to comply with those at least, and this can be displayed.
1- should we define a stronger/custom policy for the super user
2- should we be able to provide a custom policy
3- can it impact negatively the dev and trial experience

yes, except maybe if IsLocal: don't want to make things too hard for dev boxes.
always difficult to do in setup. In principle, yes.
Well, yes :), see 1.

I think for now we are good then. The super user account needs to apply the default settings which are

6 letters min
one non-alphanumeric at least
one uppercase at least
one digit at least

Which is a little bit harder than O1 so it's not really an issue for devs, but at the same time enforces some good rules.
I am not sure being loose on IsLocal is a good thing though, most production sites are first created locally, and it's easy to forget about this account.
So the next thing to do is to add a description with the requirements for this password (before it fails validation) and bonus to add a color indicator of the strength of the password.

I will try to integrate a Password strength indicator like this one on the setup screen :
http://rivalex.github.io/BootstrapStrength.js/

Will there be a way to define the pasword policy?
Will an admin UI allow to specify this parameters?
Ex: Minimum length, Number of non alphanumeric, uppercase and digit characters required.
The ASP.NET Identity PasswordValidator would be initialized with these options.
The Password strength indicator would be parameterized with these options.

A popover could also indicate what are the requirements for the password.

Let's start with the options as site settings. And a notification to
restart the tenant/site for these to be taken into account. Then we can see
at adding 2FA and password recovery.
On Nov 26, 2016 10:57 AM, "Antoine Griffard"<EMAIL_ADDRESS>wrote:

A popover could also indicate what are the requirements for the password.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/OrchardCMS/Orchard2/issues/225#issuecomment-263079729,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABHJ7XWRBTNTTKMflnLzvW0MenaZnSXcks5rCIEQgaJpZM4JqWgQ
.


Use Source IP for hash function input - help needed

Hi, I want TCP load balancer for RabbitMQ upstreams. I want that the service always connect to only one of rabbits over time, so i want to user source ip for hashing.
I couldn't find anything for this, is this even possible currently?

IIRC this is not supported today but I think it wouldn't be very hard to add a hashing policy for this.

Is there any plan for the issue? I also want to use source ip for hashing for tcp upstreams.
Becasue nginx support the feature:
upstream backend {
    hash $remote_addr;
    server <IP_ADDRESS>:12001;
    server <IP_ADDRESS>:12002;
}


Vagrant: Add warning in docs about starting Windows VM with too little memory

This is a problem I came across when setting up a new laptop. I don't think we should reduce the memory of the Windows Vagrantfile, otherwise it can significantly increase the time taken to execute VPC.sh on it- but a warning should probably be put in to the docs, in case the user doesn't have enough available memory and is wondering why their VM is going to the aborted state straight away.

If it's possible to detect that situation (e.g. from a log file, or even just "testing windows and host has <=8Gb RAM) then perhaps we can improve the message further.

I do quite like that idea. It can be put into the checkVars function in vagrantPlaybookCheck.sh . However, in terms of warning people if they're just using the Vagrantfile, not the script, I don't think there's any way to warn them except in our docs - I tried using config.vm.post_up_message ( https://www.vagrantup.com/docs/vagrantfile/machine_settings#config-vm-post_up_message ), however that doesn't print a message if vagrant up fails :/

I know you both have approved beforehand, but I didn't want to add a commit after approval and then merge right away

Since it's just that extra comment that's not a problem - we can merge :-)

Cool, thanks :-)


Please add caching.

If the binary hasn't changed since the last read, it would be nice if IdaClu would cache results and not need to parse the file again.

Hi! A prototype feature for result caching has just been aired. Currently, it caches the basic cluster structure, and then augments this skeleton with additional function  metadata. This means it will continue to work even if function labels (prefixes/folders/colors) are changed after saving. Over time, this feature may become more advanced.


Restore-VMSnapshot: Default value for parameter "-Confirm" is wrong

Documentaion says:

Default value: False

But this is not the real behavior
Restore-VMSnapshot -VM $vm -Name "base"
Restore-VMSnapshot -VM $vm -Name "base" -Confirm

Both times the user is asked for confirmation.
The default value for Confirm is "true", the switch is always "on".
You have to disable it explicitly as shown in example 2.
-Confirm:$false

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 89130772-6a19-2510-1ab6-0c80b56d84c0
Version Independent ID: f3128f15-ff5d-df67-d8d2-6e4928e11496
Content: Restore-VMSnapshot (Hyper-V)
Content Source: docset/winserver2019-ps/hyper-v/Restore-VMSnapshot.md
Product: w10
Technology: ****
GitHub Login: @Kateyanne
Microsoft Alias: v-kaunu

@Herr-Sepp Thanks for your feedback. Technically, all switch parameters default to $false.  When you use a switch parameter the value becomes $true. So you must use -Confirm:$false to force it to be false.
But -Confirm is an interesting case. The behavior of -Confirm depends on the value of the $ConfirmPreference variable and the impact rating defined in the cmdlet. If the impact is high enough, you get prompted for confirmation unless you explicitly use -Confirm:$false.
This is not explained well in the documentation.

@Herr-Sepp
The switch parameters are a common source of confusion. Find below relevant discussion from similar issues:
https://github.com/MicrosoftDocs/windows-powershell-docs/issues/1628#issuecomment-581492354
https://github.com/MicrosoftDocs/windows-powershell-docs/issues/1463#issuecomment-541198962
https://github.com/MicrosoftDocs/windows-powershell-docs/issues/1395#issuecomment-546609595
Thanks.


ARROW-9948: [C++] in Decimal128::FromString raise when scale is out of bounds

Thanks @pitrou @kiszk for reviewing! Planning to push an update in the next day or so

Thanks @pitrou @kiszk for reviewing! Planning to push an update in the next day or so

@arw2019 We plan to release 3.0 soon. Would you like to finish this PR?

@arw2019 We plan to release 3.0 soon. Would you like to finish this PR?

@arw2019 We plan to release 3.0 soon. Would you like to finish this PR?

@pitrou sorry about the delay! Even though there's not a huge amount to do here unfortunately I won't find the time to do this likely until the weekend.
I'll push this over to 4.0 on JIRA so it's not blocking the release (but can be changed back to 3.0 in case I'm able to respond before the RC is cut).

@arw2019 We plan to release 3.0 soon. Would you like to finish this PR?

@pitrou sorry about the delay! Even though there's not a huge amount to do here unfortunately I won't find the time to do this likely until the weekend.
I'll push this over to 4.0 on JIRA so it's not blocking the release (but can be changed back to 3.0 in case I'm able to respond before the RC is cut).

@arw2019 Are you still interested in finishing this?

@arw2019 Are you still interested in finishing this?

@pitrou sorry for the delay. yes - will get to it today or over the weekend

Ping @arw2019 -- is this something you're still planning to work on?

@pitrou sorry about the delay! Closing to clear the queue - if the ticket is still open when I get the chance to look I'll reopen


Revert "The Soundening part 1"

Reverts Goob-Station/Goob-Station#599
I did not realise how loud, spammable, and unfitting these sounds are. Sorry.

Summary by CodeRabbit

New Features

Streamlined audio feedback for various items by removing sound effects for pickup, drop, and landing actions across multiple entities, including clothing, materials, tools, and weapons.

Bug Fixes

Improved consistency in item interactions by eliminating redundant sound definitions.

Chores

Cleaned up YAML configurations by removing obsolete sound emission entries for enhanced maintainability.

@whateverusername0 just making sure you're aware of this revert

damn. and i deleted the branch
@Piras314 if i make them quieter will it be merged again?

@whateverusername0 the sounds need to be different tbh, if there's a settings toggle and they're quieter maybe the current sounds can be okay but preferrably you just make it quieter and have better sounds, the sounds just don't fit in with everything else, especially picking up / placing glass / steel is ridiculous.
also the commits are still on this repo, but I mean even better you can just git revert this commit on your branch to re-add them


Q: Future of this repo

Hi @sbormann,
first of all thanks for this repo.
My question: Is this repo still maintained/under development since a few bugs came up since the last commit last year, PRs are not handled. I am new to iobroker and just trying out a few things like Alias Manager and I really like it. But if there will be no more development I shouldn't rely on it :)

Looks like it is not.

adapter moved to iobroker-community-adapters


Incremental backups always use last full backup as base instead last incremental backup

Hello,
Every time script creates an incremental backup, it use last full backup as base, so you are duplicating a lot of incremental backups.
May be it is not wrong, so my question is:
Are you doing it because you prefer duplicate data, but have last hot incremental ready to restore?
Another solution is create a incremental for last incremental, it will save resources but if you have 23 incremental and number 8 fails, you can not restore after that. If you have small dbs it's ok, but if you have big dbs with intensive IO and create an incremental backup every hour, backup 20,21 and 23 (for example) takes similar time than full backup.
Thanks.
Best Regards.

I think it's a good strategy, that you don't need to use many incremental backups to restore the backup,then it saves hours. But on the other side, it takes more hard disk spaces.

Ok. It's assumable if database is not too big.


fixed #2040 - [closed]

In GitLab by @liyanq528 on Mar 26, 2019, 09:12
Merges issue#2040 -> dev

In GitLab by @wknet123 on Nov 13, 2019, 11:41
The test coverage for backend is %  %  , check  console log

In GitLab by @wknet123 on Nov 13, 2019, 11:41
closed


⚠ Bofrost.at has degraded performance

In e7e3ce2, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 2287 ms

Resolved: Bofrost.at performance has improved in 50f6a9b.


add line numerotation + fix quotes error in html

Add paste line numerotation on bin route -> bin template.
Fix quotes error in html. By example :

<meta charset=utf-8>

Also, quite question about highlight JS, I'll check it on monday. Is multiline code correctly highlighted with all the additional
s ?
Like, does this code is correctly highlted as a multiline python string ?
string = """
Hello
World
"""

Also, quick question about highlight JS, I'll check it on Monday. Is multiline code correctly highlighted with all the additional
s?
Like, does this code is correctly highlted as a multiline python string?
string = """
Hello
World
"""

I tested, and it seems there's no problem.
For your example, I type that in / route :

It redirect me in /2eb3855a route paste code as a good multiline python string :


pass buildargs to build container

OSBS-8134

Signed-off-by: Robert Cerven<EMAIL_ADDRESS>Maintainers will complete the following section:

[x] Commit messages are descriptive enough
[x] "Signed-off-by:" line is present in each commit
[x] Code coverage from testing does not decrease and new code is covered
[x] JSON/YAML configuration changes are updated in the relevant schema
[x] Changes to metadata also update the documentation for the metadata
[x] Pull request includes link to an osbs-docs PR for user documentation updates
[x] New feature can be disabled from a configuration file

Could you please add the new buildargs instance variable to StubInsideBuilder in tests/stubs.py as well?

added to StubInsideBuilder

rn updated: - pass buildargs to build container


rename console script flake8_trio -> flake8-trio

probably smallest PR to date ^^ alas, past me had written tests

failing check is due to unpinned pre-commit version, the error is fixed in #182


Refactoring of Teams batch APIs operation

#minor
Description
This PR refactors the code used to do the httpRequest of the Teams batch operations.
Specific Changes

Added the method GetBatchResponseAsync in TeamsOperations to do a generic HTTP request for the batch operations.

A few more things i've noticed, once fixed, i think we are good to go


Atom Linter

When Linter is enabled, the ctrl+shift+p shortcut no longer brings up the command palette. It doesn't do anything. With Linter disabled, the shortcut works normally.

Closing as dupe of #326 which has more info


Not support Chinese name in command

Command:
PlayerName: 我的世界
'/lp user 我的世界 permission info'
It will show:
'我的世界 is not a valid username/uuid'

Minecraft only supports a-z, A-Z, 0-9, and _. You can set allow-invalid-usernames: true in the config although I wouldn't be surprised if it breaks something.

Ah, Thanks!


Share sys crate with zmq-rust

The might be an opportunity to share the sys crate with https://github.com/erickt/rust-zmq/issues/257. However we would have to make sure to use the master branch and support the draft API.

We are now using https://github.com/jean-airoldie/zeromq-src-rs for our libzmq source.


Function build is not working with AWS ECR

I am trying to follow the steps to build function as steps mentioned in
https://kubeless.io/docs/building-functions/
I created secrets with AWS ECR details and restarted controller pod but it is not building the function and reporting back with error
error msg="Unable to build function: Unable to retrieve registry information: Unable to parse registry URL https://<AWS_ACCOUNT>.dkr.ecr.<AWS_REGION>.amazonaws.com/"

@andresmgot unfortunately i am not good at "go". Is there any work around to get it working with ECR?

Even is there any alternate way to get function managed in image registry?

Unfortunately no, we would need to add support for ECR in the code. I would assume that ECR is a valid OCI registry but we would need to verify that.
My only suggestion is to use a image registry other than ECR.

Ahh that was a key decision for production ready. Can you please let me know if i can have any other way of having a clean production deployment of functions not using image repository?

@andresmgot  can you please suggest me the production deployment practice followed for kubeless applications (as i need to decide on enterprise grade deployments of kubeless functions written)

hi @gemanilkashyap, you can still use an image repository. You can either use the Docker Hub if you have Internet access in your setup or you can deploy your own registry using the opensource OCI registry: https://hub.docker.com/_/registry
Here is an example of how you can even deploy the registry within your cluster (using Minikube but it's probably also possible to do the same with other k8s providers):
https://kubeless.io/docs/building-functions/#optional-start-a-docker-registry

@andresmgot really it matched with what i was trying yesterday to bring up a private repo and using S3 as storage. Do you think it will be a production grade deployment if i go with configuring them for function image build?

Yes even though you add the complexity of having to maintain your own registry.

@andresmgot i gave it a go and got below error while building function any idea?
"Unable to build function: Unable to check is target image exists: Unable to extract auth info: Unable to find the property Bearer realm in Basic realm="Registry Realm""

@andresmgot i am getting a timeout on the url as it is looking for port 80 but my service exposing the registry is running on 5000. Is there a way i can configure?

@andresmgot I am stuck with "Unable to build function: Unable to check is target image exists: Unable to extract auth info: Unable to find the property Bearer realm in Basic realm="Registry Realm"" error

@andresmgot sorting out deployment is taking lot of time, am i in right direction? As i have to prove selection of Kubeless to my team :)

FYI i am getting Basic realm against expected
Www-Authenticate: Basic realm="Registry Realm"

@andresmgot I am using TLS support on top of basic auth as mentioned in docker registry documentation https://docs.docker.com/registry/insecure/. I see now that kubeless is not happy with self signed certificates.

I appreciate for a quick reply on this - Thanks

Can you let us know how you have setup the registry and Kubeapps? If your issue is that your are using a self-signed certificate for your registry, you can disable that check if you set the property `` as explained here:
https://kubeless.io/docs/building-functions/#setup-the-build-process
Apart from that, what other issue are you seeing?

Even i thought function-registry-tls-verify: "false" setting would disable but it didnt. I am creating docker registry thru kubernetes deployment and service (yaml based) as out k8s is running on AWS

I am getting x509: certificate signed by unknown authority"

Again i removed all traces of TLS now and landed again in error below
Unable to extract auth info: Unable to find the property Bearer realm in Basic realm="Registry Realm""

mm, the TLS errors are weird, we would need to investigate it. If you let us know the steps you have followed to reproduce it we may  be able to help.
Regarding the other issue, the code is expecting to find in the auth information a Bearer token instead of Basic credentials. I am not sure why you are finding that issue either. What image registry are you using? Maybe it's configured in some way to use those basic credentials (username and password) instead of a bearer token?

Sure i can help out in any aspect that help to make it better. Considering registry i am using "registry:2" image with basic authentication with HTPASSWD realm created and provided thru within my yaml
- name: REGISTRY_AUTH
value: "htpasswd"
- name: REGISTRY_AUTH_HTPASSWD_REALM
value: "Registry Realm"
- name: REGISTRY_AUTH_HTPASSWD_PATH
value: "/"

@andresmgot i think i removed everything related to authentication and now it is pushing to s3 repo. but is showing error in controller logs [spec.template.spec.initContainers[0].volumeMounts[0].name: Not found: "".
Also please let me know how i can promote a version tagged between environments like DEV -> QA i feel it is not there in documentation

[spec.template.spec.initContainers[0].volumeMounts[0].name: Not found: "".

Where exactly is logging that? what's the context? How did you deploy the function?

Also please let me know how i can promote a version tagged between environments like DEV -> QA

That's something that is currently not supported by default by Kubeless. You will need to look for a external tool like Istio to get that functionality.

I am getting the above error in function controller logs. I deployed the function using CLI command and it is creating a set of folder in S3 but failing with above error. I assume it is not storing the actual image.
Coming to DEV to QA my specific query was that can i control the tagging of images generated and identify them for promoting between envs?

Coming to DEV to QA my specific query was that can i control the tagging of images generated and identify them for promoting between envs?

Not really, the tag of the image will be the checksum of the image. Kubeless relies on that to retrieve the image associated to a function.

How can i pass checksum to function through CLI? Also would be great if you can answer on error that i pasted earlier.

How can i pass checksum to function through CLI?

It's not possible to specify that checksum manually. It's automatically generated based on the content of the function YAML so any change generates a new function image.

Also would be great if you can answer on error that i pasted earlier.

Sorry, it's not clear to me how I can reproduce the errors you are facing. You are using S3 as the storage backend for your image registry. I have never setup that environment so I am not sure if it's not supported or an issue with the configuration. Unfortunately I cannot help you further with that, the only thing I can point you to is the code that is handling that functionality in case you are able to debug it:
https://github.com/kubeless/kubeless/blob/master/pkg/utils/kubelessutil.go#L429

To be very specific with my question taking scenario below
DEV ENV - Create and deploy a function which generate a function image in repository with checksum as tag.
QA ENV - I want to get the function image generated above in QA env for testing
PROD ENV - I want to get the function image passing QA to be promoted to PROD
In normal circumstances i move the image version around the above envs, but here i am not getting a hold on how i can do the same (I mean what identifies a particular version of a function image and how i can use it for promotion)? If it is not supported fully i want to make a decision before i go long way with kubeless. Thanks


[nrf fromlist] soc: nordic: nrf53: SOC_NRF53_CPUNET_ENABLE should not…

… depend on !BT
This causes issues as we still want the net core to be set up on initialisation if CONFIG_BT is enabled in many cases.
The previous changes in
https://github.com/zephyrproject-rtos/zephyr/pull/74304 assumed that because this is also handled in
bt_hci_transport_setup that it shouldn't be done on initialisation too.
Also, I think that
bt_hci_transport_setup should not be even controlling the network core state like it is currently and should be looked at being changed in a future PR.
Upstream PR: https://github.com/zephyrproject-rtos/zephyr/pull/79875

@de-nordic @nordic-krch @carlescufi what is the conclusion for this actual fromtree PR (upstream merged)? It staled for 2 weeks from the last action.


Show Local fails when local city has spaces

In the timezones factory (line 16: name: zoneName.replace(/_/g, ' '),) underscores are stripped, but then in the timezoneSelector directive, timezones are searched using a string that may contain underscores (line 98: var extraTZs = _.where(timezones,{'name':jstz.determine().name() });).

Should be fixed with https://github.com/mishguruorg/angular-timezone-selector/commit/5a73830eadecdb63480f2a2ccc55849634568168


testutil and unit test framework enhancements

I'm continuing to add test coverage, reduce redundant test code and create a set of "fake" ssntp clients and ssntp server under testutil/.  This set of patches tests good in travis and is misspell/golint/gocycle/go-vet clean.

Coverage decreased (-0.2%) to 54.456% when pulling c6ac1a77113465d73e2b964ef2f3f44bdf7c5a23 on tpepper/topic/unittests into 670027d46f14f1deb75167ee686ab0b519c9cb35 on master.

looks good to me.


fix(build) ensure slide generation works with modern dependencies

Use NodeJS 20 LTS
Bump Gulp to 5.x with new pipeline (single file instead tasks)
Fallback to CDN hosted fontawesome
Bump NPM dependencies
Cheery pick minor changes from main repository for slides

Summary by CodeRabbit
Release Notes

New Features

Introduced a new clean target in the Makefile for managing Docker containers and volumes.

Bug Fixes

Updated base image in Dockerfile for improved compatibility.

Documentation

Removed obsolete attributes from content documentation.

Chores

Updated various development dependencies to enhance project functionality and compatibility.
Removed unnecessary Gulp tasks related to media, fonts, and favicon processing.

Thank you so much, let me try it locally. 🤗


thunderbird: fix update script

Motivation for this change
https://github.com/NixOS/nixpkgs/pull/130116 broke hydra eval by calling a non-existing file as updateScript
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

This looks good, I don't have a nixos machine at hand to test though. I would say feel free to merge it as it is a channel blocker.
Thank you for being so quick to respond!

I tested both build and functionality on NixOS


Build failure with wlroots12 (1.17)

Using Debian's libwlroots12_0.17.1-2_amd64.deb and wayfire_0.8.0+git20240110-1_amd64.deb on Debian Unstable, I got a build failure in wf-external-decor.cpp on
if (wlr_surface_is_xwayland_surface(view->get_wlr_surface()))
which is only ever found at one line in this file so presumably comes in from wlroots. I was able to comment out the offending code with

@@ -840,11 +840,11 @@ class external_decoration_plugin : publi
                     if (deco->decoration->first == 0)
                     {
                         auto view = wf::find_view_for_toplevel(toplevel);
-                        if (wlr_surface_is_xwayland_surface(view->get_wlr_surface()))
+                        /*if (wlr_surface_is_xwayland_surface(view->get_wlr_surface()))
                         {
                             // this is needed for xwayland views, dunno why
                             pending.geometry = wf::expand_geometry_by_margins(pending.geometry, pending.margins);
-                        }
+                        }*/
                         deco->decoration->first = 1;
                     }
                     ev->tx->add_object(deco->decoration);

and the build finished and runs. I am playing with this for potential future use in MATE's wayland session.

Yes, the project was built against wayfire 0.8.x as installed by wf-install script.
Without this check on wlroots 1.17, opening a application using xwayland do you get the decoration properly sized ?

No I do not, but I was unable to get the build to finish without commenting that out, so I have to put up with wrong-size xwayland decorations until the an xwayland window has been moved or otherwise forced to re-render once.

I found that comenting out only the check for xwayland and applying
 pending.geometry = wf::expand_geometry_by_margins(pending.geometry, pending.margins);
not only let the build finish and let xwayland borders render properly, it also fixed some border issues with dialogs that rendered wrong-size decorations momentarily


Need REST API to Update an Order

As a user
I need a way to update my order
So that I can make changes to it
Details and Assumptions
•	The base URL would be /orders/{order_id}
Acceptance Criteria
Given the server is available
When I call the URL `PUT /orders/{order_id}
Then it should update an order at the given URI with new information, providing the dull presentation

Hey team! Please add your planning poker estimate with Zenhub @even1111112 @PepperandSummer @un-poco @yjhsieh2022


Please tell me how i can write nvs data to esp32 by esptools? (IDFGH-1136)

Please tell me how i can write nvs data to esp32 by esptools?

@xuhongv Hi, thanks for raising the issue. We advise you could raise such questions on our forum at https://esp32.com. Thanks.


StructRValue should probably use a more specific sort than Type

TODO: https://github.com/runtimeverification/mir-semantics/blob/07273e39e0435e7fbab7609dcd37636d2fb5a229/kmir/k-src/mir-syntax.k#L157
We should also check what the mir AST in rustc uses here.

This issue is closed as it is outdated.
Th current implementtion of Rvalue is close to rustc implementation.
Besides, Type should referring to the type context which is no shown in MIR.


SSRS 2017 - Report Search failure - HTTP 401 (unauthorized)

I've implemented the 2017 custom security extension, and 95% of the functionality is working properly.  The one item that is not working is the search tool in the web portal.  When any user of the system tries to search for reports, a HTTP 401 (unauthorized) error is logged, but with no supporting information.
Has anyone else seen this behavior and what was done to fix it?  Again, it doesn't matter if the user is a Report Browser, Publisher or System Admin.  The HTTP 401 error is logged when the search functionality is used.  In the browser, it is announced an error has occurred, momentarily, before being dropped back to the Forms Authentication login page.

Has anyone encountered something like this in the past?
Any ideas on how to resolve this?

Did you check in the logs in the portal for example "C:\Program Files\Microsoft Power BI Report Server\PBIRS\LogFiles\RSPortal_2019_04_29_14_51_14.log"
I just tried with the sample with the default configuration with the script and it works properly

I did look at the RSPortalxxx.log file.  I can see the successful loading of the top-level folder (I even pulled the URL out of the log to confirm that's what the command is returning.)  I also see the receive event and its 401 status.  I don't see anything else in this log to point to an issue.
In trying to find my search parameter, I even started up SQL Profiler and captured the data around the search.  My search term was not found in the Profiler data, which I would have expected to see in a call to search the thousands of items for reports named with my search term.
I've compared Authorization.cs from the GitHub repo with the Authorization.cs file in my project and they are identical, with the exception of system.debug entries from a previous developer, when I integrated the new and old projects together.


Wmv Files and Chrome

Hello,
Am trying to play wmv files with chrome using the silverlight plug in and it shows a download link ...
Chrome Version :49.0.2

Hello,
Am trying to play wmv files with chrome using the silverlight plug in and it shows a download link ...
Can you please let me know how to run wmv files in chrome using mediaelement
Chrome Version :49.0.2

Do you have silverlight installed?
On Wed, Apr 13, 2016 at 2:54 PM, Ravi-n<EMAIL_ADDRESS>wrote:

Hello,
Am trying to play wmv files with chrome using the silverlight plug in and
it shows a download link ...
Can you please let me know how to run wmv files in chrome using
mediaelement
Chrome Version :49.0.2
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/johndyer/mediaelement/issues/1728#issuecomment-209620887

--
John Dyer - http://j.hn/

Yes Silverlight is installed...

Do you have a URL to test this issue @Ravi-n?

@Ravi-n Closing this issue since no answer has been posted in more than 2 weeks. If you'd like to reopen this, let us know. Thanks!


Custom VNET support for network policy and kubenet customization.

Custom VNET support for network policy and kubenet customization.
Also add an additional check on Service Cidr block size.

/approve
/lgtm


Support tables in TSDoc comments

It is frequently useful to break information down into table form. This feature request is not attempting to prescribe a syntax, but using Markdown syntax as an example, it would be VERY nice to be able to write a comment like the following:
/**
 * Foo
 *
 * @remarks
 *
 * | Foo | Bar | Baz |
 * | --- | --- | --- |
 * | 1 | 2 | 3 |
 */
export interface Foo { }

And have related tooling (VSCode intellisense, API-Extractor, etc.) correctly recognize the syntax and display the contents as a table.
Note that being able to use other TSDoc tags / syntax within the table is also desired. E.g. being able to leverage {@link } tags within the table.
This could be solved via #12, but that issue has been open for 6 years now, so a smaller / scoped feature request seems appropriate.

And have related tooling (VSCode intellisense, API-Extractor, etc.) correctly recognize the syntax and display the contents as a table.

The included example works fine in VSCode IntelliSense already including if there are links within the cells, and is valid markdown, so I think picking that format would make sense.


Allow refType to be defined in @prop (issue #146)

Improving on #148, I restricted the PropOptions.refType to be a union type of strings 'number', 'string', 'Buffer', and 'ObjectID'.
I previously was doing a union type of
mongoose.Schema.Types.Number |
mongoose.Schema.Types.String |
mongoose.Schema.Types.ObjectID |
mongoose.Schema.Types.Buffer

however when mongoose.Schema.Types.Buffer is part of the union type then Typescript seemed to allow any of the mongoose.Schema.Types
Ref has also been modified a bit to cast the correct refType.
A prop example of how it can be used:
  @prop({ ref: Car, refType: 'number' })
  car?: Ref<Car, number>;

Coverage decreased (-2.04%) to 84.971% when pulling 172b8f4cf9bbf657407b6fc1a053a5150291bf59 on mattjennings:prop-ref-types into 7f9f876c729af49f5350b4cee07362265b618852 on szokodiakos:master.

Coverage decreased (-2.04%) to 84.971% when pulling 172b8f4cf9bbf657407b6fc1a053a5150291bf59 on mattjennings:prop-ref-types into 7f9f876c729af49f5350b4cee07362265b618852 on szokodiakos:master.

As an additional note, I was really hoping to figure out a way to just define the refType by doing
  @prop({ ref: Car })
  car?: Ref<Car, number>;

but I'm not familiar enough with reflect-metadata to know what the process might be. I ran into https://github.com/Microsoft/TypeScript/issues/9916 which suggests this might not be possible.

any news?

@mattjennings, when you still work with typegoose / willing todo so, would you resolve the merge conflicts, and try to get news on this?

could someone say to me why someone would do Ref<Car, number> (2 things, not just Ref<Car>)? i dont understand it currently...

Sorry, I haven't used typegoose in over a year (since making the PR), so I'm afraid I'm not familiar enough anymore to address the conflicts.
@hasezoey I think you're right that it meant Ref<Class, Type>, but again, it's been so long I can't really remember.

Hi!
Merged, solved conflicts and added tests here (also added itemsRefType):
https://github.com/mfulop/typegoose
Should I post a separate pull request from that repo?

@mfulop yes, please open a new pr if you have a diffrent repo than here
-> i looked at your repo, please rebase onto master, then i will review your pr

Sure, will do. AFK for a hour or two

I think I did :) please see #369

@mfulop you dont need to mention it, i am subscribed to the whole project :)

I know I am just not sure the rebase went well

this can be closed in favor of #369, because it includes tests and is on a newer master
@Ben305


Install php-cas from release

Master doesn't install
Step 7/14 : COPY --from=stage /apereo/phpCAS/utils/dist/CAS-1.3.4.tgz /
 ---> 37d7abec43dd
Step 8/14 : RUN pear install CAS-1.3.4.tgz  && rm /CAS-1.3.4.tgz
 ---> Running in ebb913a7d516
could not extract the package.xml file from "CAS-1.3.4.tgz"
install failed
ERROR: Service 'php-cas' failed to build: The command '/bin/sh -c pear install CAS-1.3.4.tgz  && rm /CAS-1.3.4.tgz' returned a non-zero code: 1

Added an alternative install which seems to work fine

related #34
Thank you very much! ❤ 🚀


First draft for Installment 1 of Way to Go on OCI

This is the first draft of article 1/5 on Go on OCI.

This PR is replaced


Cleaning non-standard unicode characters

There is a space between "in %" and it does not change to underscore like "in_%" because this is a non-breaking Latin1 (ISO 8859-1) space (xa0).
import pandas as pd
table_GDP = pd.read_html('https://en.wikipedia.org/wiki/Economy_of_the_United_States', match='Nominal GDP')
df  = table_GDP[0]

import janitor
df=df.clean_names(strip_underscores=True, case_type='lower')

df.columns

Index(['year', 'nominal_gdp_in_bil_us_dollar', 'gdp_per_capita_in_us_dollar',
'gdp_growth_real', 'inflation_rate_in_percent',
'unemployment_in_percent', 'budget_balance_in %of_gdp[107]',
'government_debt_held_by_public_in %of_gdp[108]',
'current_account_balance_in %_of_gdp'],
dtype='object')

We need to add normalize class to correct this and similar issues faced by the data coming from non-standard data sources.
from unicodedata import normalize
def clean_normalize_whitespace(x):
    if isinstance(x, str):
        return normalize('NFKC', x).strip()
    else:
        return x

Reference:
https://unicode.org/reports/tr15/#Norm_Forms

Hi @shantanuo! Welcome back, it's great to hear from you again :smile:.
I'm going to triage this issue as being ready for hacking!


Replace ad-hoc std-based NAL with std-embedded-nal

Granted, std-embedded-nal is quite immature yet, but hey it works :-)
(If you like this but feel held back by the git= dependency, I'm happy to upload a 0.0.1, but didn't yet as it might get some vetting in the course of this PR.)

I believe we're not able to publish to crates.io with any git= dependencies as is.

If that's the only issue, that is about to be mitigated.

There's a 0.0.1 on crates.io now; I've updated the PR accordingly, and tests here and in CI went through.


int128_t data is not rendered correctly

Version and Platform (required):

Binary Ninja Version: 3.6.4596-dev
OS: Manjaro
CPU Architecture: x64

Bug Description:
the values of int128_t variables in the data section is not rendered and left blank
Screenshots:
the values as int128_t

after changing it to int64_t

the executable is flareon third challenge.

Closing as duplicate of #4059. But, thanks for the extra test case!


chore(ecosystem): Update page

What changed? Why?
Updates the ecosystem page
Notes to reviewers
N/A
How has it been tested?
Localhost

🟡 Heimdall Review Status

Requirement
Status
More Info

Reviews

🟡
0/1

Denominator calculation

Show calculation

1 if user is bot
0

1 if user is external
0

From .codeflow.yml

1

Additional review requirements

Show calculation

Max
0

0

From CODEOWNERS

0

Global minimum
0

Max

1

1

1 if commit is unverified
0

Sum
1

Review Error for JFrankfurt @ 2024-10-18 18:35:33 UTC
User failed mfa authentication, see go/mfa-help


Some Updates for Engineering

Mehmet wanted some contend to be updates on the website.

@CSNWEB this PR is directly into master; if I accept it will be auto-deployed to the live site, right? we don't want that, we want it on dev so the other Lucas can approve and push it live (I think). Should Lukas do a PR to dev, or will that not autodeploy?

It will autodeploy, so yes the PR should be made on dev
Am 15.12.2016 um 14:44 schrieb Adam Roe <notifications<EMAIL_ADDRESS>@CSNWEBhttps://github.com/CSNWEB this PR is directly into master; if I accept it will be auto-deployed to the live site, right? we don't want that, we want it on dev so the other Lucas can approve and push it live (I think). Should Lukas do a PR to dev, or will that not autodeploy?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/kironuniversity/main-website/pull/32#issuecomment-267330215, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AMIZdpJAoJqvW97rvNECeL0TbFwpOM6vks5rIUQigaJpZM4LIuni.

@lukasreussner could you PR to dev instead of master plz?

Done

@adamjroe The changes aren't live jet. I think you still have to merge them into master.


Added 2 abbreviations

What new changes did you make? Tick all applicable boxes

[x] Added new abbreviation
[ ] Fixed something in the source code
[ ] Added a new feature
[ ] Fixed the docs (README.md, CONTRIBTUING.md, etc)

Describe the new changes you added.
Added "I don't think"(idt) and "I don't think so"(idts)

First PR on github!😊
Please add "hacktoberfest-accepted" tag if possible!
Thank you!

Please recheck the README file of this repo. New slang are now stored as files and no longer in the db.json as before.

okay, thank you for your response i will check :)

Is there any update on this @samipashaa ?

@Njong392 Sorry for this much of late, you can check it now please.


Windows GCC Incorrect Primary Symbols Set (Bug)

Describe the bug
While analyzing a windows binary compiled with gcc, the symbols prefixed with their section followed by $ are set as the primary symbol. This behavior causes virtually all symbols to remain mangled.
Below is an example of the symbols at a function address.
text$_ZN9__gnu_cxx13stdio_filebufIcSt11char_traitsIcEE4fileEv (primary)
__ZN9__gnu_cxx13stdio_filebufIcSt11char_traitsIcEE4fileEv
.text$_ZN9__gnu_cxx13stdio_filebufIcSt11char_traitsIcEE4fileEv

To Reproduce
Steps to reproduce the behavior:

Compile program with mingw64
Open program in ghidra and run analyzer.
See wrong symbol set to primary.

Expected behavior
The symbol without the section name prefix should be set as primary.
Environment (please complete the following information):

OS: Microsoft Windows [Version 10.0.17763.557]
Java Version: 12.0.1
Ghidra Version: 9.0.4

Additional context
Add any other context about the problem here.

After import and before auto-analysis you could try removing all text$ and .text$ labels (and others with such a pattern).  These symbols appear redundant.  A GhidraScript could be easily used to accomplish this task.  Not sure what the fallout may be for external symbols and their associated references.  Do you see similar issues with your external symbols?

I will be able to check if external symbols are affected in an hour or so. The main issue from this is that nothing gets demangled during analysis.
Would there be an issue with the demangler iterating over all the symbols at an address instead of just the primary one to check if one is mangled? It could then set which one is primary after demangling.

After import and before auto-analysis you could try removing all text$ and .text$ labels (and others with such a pattern). These symbols appear redundant. A GhidraScript could be easily used to accomplish this task. Not sure what the fallout may be for external symbols and their associated references. Do you see similar issues with your external symbols?

So the issue doesn't occur for dynamically linked symbols only static ones. Strangely enough the relocation table is empty and program.getRelocationTable().isRelocatable() always returns false even though there clearly are relocations.

Using the primary symbol is how Ghidra avoids demangling multiple mangled symbols at the same location or demangling the same symbol more than once.  The symbol stacking order has been problematic to demangling in the past for the same reasons you have identified.      I will have to allow someone else to speak to what I presume are PE relocation issues.  Are there red bookmarks at the relocation locations?

Using the primary symbol is how Ghidra avoids demangling multiple mangled symbols at the same location or demangling the same symbol more than once. The symbol stacking order has been problematic to demangling in the past for the same reasons you have identified. I will have to allow someone else to speak to what I presume are PE relocation issues. Are there red bookmarks at the relocation locations?

The relocations are valid and function as they are supposed to. Upon double clicking the relocation it opens the dll in ghidra and jumps to the function. Just nothing appears in the relocation table and it's being reported as non-relocatable.
Could the PE loader automatically remove the symbols upon loading since this only occurs with mingw binaries? There are 2 extra unnecessary symbols for every single symbol.


Delete operations should check for existence of target entity before asking for confirmation

[kind/Proposal]
What is the expected outcome?
Delete operations should check the existence of the target entity before asking to confirm the deletion.
Why do you think this is relevant?
Because it is weird for the tool to ask me if I'm sure I want to delete something that doesn't exist… :)

odo delete and odo project delete works correctly, it is just odo app delete
▶ odo delete ff
Component with the name ff does not exist in the current application

▶ odo project delete fff
The project fff does not exist. Please check the list of projects using `odo project list`

▶ odo app delete fff
Are you sure you want to delete the application: fff? [y/N] y
application fff doesn't exist

@metacosm I fix them https://github.com/u5surf/odo/commit/dad10591ef2b637ab29fb8a7e38cb823adb0f9eb

Closing since #897 is merged :smile:


GitHub Repo Name

Hey @nohwnd!
This repository's name is "Assertions", but the README title is "Assert" and the module is called "Assert". Is there a reason why the repo's name can't be changed to "Assert" too?

@Dargmuesli No there is none :) Fixed


cloud: Document how to download disk image

Now that it's being uploaded.

Draft until https://github.com/CentOS/centos-bootc-layered/issues/26 is fixed.


Minimized always-on-top applications are restored when switching desktops

After minimizing an application that is configured to be "always-on-top", and switch desktops, switching back "restores" this application.
It would be helpful if it would stay minimized until it is explicitly restored.

What do you mean by "always-on-top"? Do you mean pinned on all desktop? I can't replicate that behavior.

Not pinned on all desktops, my issue is an app using a window with this attribute: wxSTAY_ON_TOP.  If the app is minimized, switching desktops away, then back to it restores it (instead of leaving it minimized).
An example Python app (needs the wxPython GUI library) exhibiting this behaviour would be:
import wx

app = wx.App(redirect=True)
top = wx.Frame(None, title="Hello World", size=(300,200), style=wx.STAY_ON_TOP|wx.CAPTION|wx.CLOSE_BOX|wx.MINIMIZE_BOX|wx.MAXIMIZE_BOX|wx.SYSTEM_MENU)
top.Show()
app.MainLoop()

This issue isn't a big deal - just more of an annoyance than anything.


Compile xcpLite under WSL

Hello,
I tried to compile the project under WSL, but got the following errors:
Error 1:
/mnt/~/XCPlite/xcpAppl.c: In function ‘vuint8 ApplXcpGetA2LFilename(char**, vuint32*, int)’:
/mnt/~/XCPlite/xcpAppl.c:230:29: error: invalid conversion from ‘vuint8*’ {aka ‘unsigned char*’} to ‘char*’ [-fpermissive]
  230 |         if (p != NULL) *p = (vuint8*)gA2LPathname;
      |                             ^~~~~~~~~~~~~~~~~~~~~
      |                             |
      |                             vuint8* {aka unsigned char*}
/mnt/~/XCPlite/xcpAppl.c:234:29: error: invalid conversion from ‘vuint8*’ {aka ‘unsigned char*’} to ‘char*’ [-fpermissive]
  234 |         if (p != NULL) *p = (vuint8*)gA2LFilename;
      |                             ^~~~~~~~~~~~~~~~~~~~~
      |                             |
      |                             vuint8* {aka unsigned char*}
make[2]: *** [CMakeFiles/xcpLite.dir/build.make:102: CMakeFiles/xcpLite.dir/xcpAppl.c.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:76: CMakeFiles/xcpLite.dir/all] Error 2
make: *** [Makefile:84: all] Error 2

Error2:
In file included from /mnt/~/XCPlite/util.c:12:
/mnt/~/XCPlite/util.h:104:1: error: expected declaration before ‘}’ token
  104 | }
      | ^
make[2]: *** [CMakeFiles/xcpLite.dir/build.make:141: CMakeFiles/xcpLite.dir/util.c.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:76: CMakeFiles/xcpLite.dir/all] Error 2
make: *** [Makefile:84: all] Error 2

For the first Error I would propose the following fix:
if (p != NULL) *p = (char*)gA2LPathname;
if (p != NULL) *p = (char*)gA2LFilename;
For the second Error: (There is a wrong #endif that must be deleted or rather moved to the last of the line f the file):
#ifdef _LINUX

#include <termios.h>

extern int _getch();
extern int _kbhit();

#endif

//#endif // this can be removed

#ifdef __cplusplus
}  /* extern "C" */
#endif

#endif

Thanks
Version 4 has been significantly refactored.
I have added the changes.

...


Unable to exclude on response size

Running gobuster dir with the flag "-fs 9001" would previously result in responses with size 9001 being ignored. However now it results in only accepting status code 9001. I cannot find any new information about how to leave out responses of specific sizes. Has the functionality been removed or is there a new command?

--exclude-length 4561   is the option you are looking for under the dir subcommand. There isn't a short code option for now.
cmdDir.Flags().IntSlice("exclude-length", []int{}, "exclude the following content length (completely ignores the status). Supply multiple times to exclude multiple sizes.")
It worked for me on the most recent update. Please reply back if this resolves the problem.

-fs is the command line parameter in ffuf :) In gobuster it's --exclude-length


[W5.7][T08-1]Leong Shengmin

Why are there two pull requests for Week 5?

The changes made in this branch was for the previous week but I labelled the PR wrongly


Rust test db_struct fails on RHEL-9 platform with GCC toolchain

Output
failures:

---- value::tests::db_struct stdout ----
Error: Query execution failed: Runtime exception: NestedVal::getChildPointer index out of bound.

failures:
    value::tests::db_struct

test result: FAILED. 111 passed; 1 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.55s

error: test failed, to rerun pass `--lib`

CI log:
https://github.com/kuzudb/kuzu/actions/runs/6771138806/job/18400936125
Platform:
The CI uses rockylinux:9 container, but this issue is also reproducible on a CentOS Stream 9 physical server (uw5) with the following toolchain:

GCC 11.4.1 20230605
rustc 1.73.0 (cc66ad468 2023-10-03)

Note that all tests would pass by overriding the compiler to LLVM 16:
CC=clang CXX=clang++ CARGO_BUILD_JOBS=$(nproc) cargo test --release --features arrow -- --test-threads=1

I took a quick look at this. It's not clear why it's failing since the code should only be accessing fields within the range of the result of NestedVal::getChildrenSize. To try and determine if it's an issue with the rust code or a more general one, I added a C++ test which does the same as the failing rust test as there was not otherwise any C++ API test testing passing a struct as a parameter (https://github.com/kuzudb/kuzu/commit/06ee149009bf27e0c25c1aafbcf38458a1112674).
The test works as expected locally (including with ASAN), however the Multiplatform build & test pipeline is failing in the setup stage (yum issue I'm not familiar with) so I can't test this against the same system which causes the rust test to fail at the moment.


melanophages

Melanophages are macrophages which have ingested (endocytosis) melanosomes or melanin. (Weiss et al, 1988; James et al, 1987; Cooper et al, 1986) . This term is used in paper J:160072 and allele Nfkbiz<tm1Mamo>. Where would it go? Under abnormal macrophage morphology [MP:0002446] where osteoclasts Kupffer cells are?
Reported by: jbubier
Original Ticket: obo/mammalian-phenotype-requests/694

MP:0020334


[Performance] Why nuxt lab UI cannot pure css?

Environment

Operating System: Darwin
Node Version:     v20.6.1
Nuxt Version:     3.7.3
CLI Version:      3.8.4
Nitro Version:    2.6.3
Package Manager<EMAIL_ADDRESS>User Config:      devtools, ssr, runtimeConfig, experimental, alias, typescript, ui, css, modules, colorMode, components, postcss, app, image, vueuse, content, nitro, hooks
Runtime Modules:  unplugin-icons/nuxt<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>
Version
latest
Reproduction
view-source:https://ui.nuxt.com
Description
Go to any page using Nuxt UI --> Go to page source --> Find the tag .
The whole tailwindcss generated!
Does anyone know how to pure the CSS, only generate the CSS I use in production?
Thank you for reading the spect, hope the core team can take a look at this 🙏.
Additional context
No response
Logs
No response

Not sure to understand here, the classes generated on https://ui.nuxt.com are actually used. This is done by Tailwind CSS automatically.
If you're referring to the colors, we had to force the safelisting of all colors so you can play with them on components pages: https://ui.nuxt.com/elements/button#style.
Nuxt UI implements smart safelisting so it only generate variant classes based on components usage. For example, if you write <UButton color="red" />, this will only safelist those classes https://github.com/nuxt/ui/blob/dev/src/runtime/ui.config.ts#L217 for the red color. You can read more about this here: https://ui.nuxt.com/getting-started/theming#smart-safelisting

Thank you for the quick response! Here is our website: view-source:https://kungfutech.edu.vn.
You can take a look at the tag <style>tailind-css. Our app just has some basic colors, focusing on black/white/gray and tear-500(primary color). But I don't know why Tailwind generates all of the colors we don't use on our app.
Might this relate to the mechanism prerender - crawling of Nuxtjs 🤔?

Besides the smart safelisting, there are indeed colors generated for the Notification component so you can do useToast().add({ title: '...', color: 'yellow' }) for example as we can't detect that:
  { pattern:
     /bg-(red|orange|amber|yellow|lime|green|emerald|teal|cyan|sky|blue|indigo|violet|purple|fuchsia|pink|rose|primary)-400/,
    variants: [ 'dark' ] },
  { pattern:
     /bg-(red|orange|amber|yellow|lime|green|emerald|teal|cyan|sky|blue|indigo|violet|purple|fuchsia|pink|rose|primary)-500/ },
  { pattern:
     /text-(red|orange|amber|yellow|lime|green|emerald|teal|cyan|sky|blue|indigo|violet|purple|fuchsia|pink|rose|primary)-400/,
    variants: [ 'dark' ] },
  { pattern:
     /text-(red|orange|amber|yellow|lime|green|emerald|teal|cyan|sky|blue|indigo|violet|purple|fuchsia|pink|rose|primary)-500/ }

There are also some classes generated for the red color by default to support validation on form elements.
If you don't want to disable the safelisting for the Notification component, I'd suggest you remove colors you're not using from your tailwind.config.ts: https://tailwindcss.com/docs/customizing-colors#using-the-default-colors

Hi @benjamincanac I'm facing the same issue as @harrytran998. I have only used bg-red-500 still Tailwind is inserting all the CSS. Here is a reproducible Stackblitz. You can build it and then you can view page source to see all the Tailwind styles are inserted into the page. How do we fix this?

The solution given in my previous comments should do the trick. Do you have still have classes for colors that are not part of your config?

@benjamincanac do you mean, I should write the config like this? Since I'm only using red?
const colors = require('tailwindcss/colors');

module.exports = {
  theme: {
    colors: {
      gray: colors.gray,
      green: colors.green,
      red: colors.red,
    },
  },
};

It still did not work.

After inspecting the HTML after building, I'm still seeing all the Tailwind styles.

Would you mind providing a reproduction?

@benjamincanac StackBlitz

Not sure to understand, I only see classes for colors you've selected and the primary of course. There are also classes for the components of Nuxt UI. What do you expect to have?

Can you help me out in configuring the correct Tailwind config please?

There is indeed classes from all the components in the final Tailwind CSS bundle, I've opened #877 to follow up there.

@flashblaze I read through nuxt/ui code and figured out how you can remove unused colors through tailwind.config.ts.
You would be defining the colors for the Tailwind theme. And these have to be in the theme.colors, not in the extend. You can add your own colors in the extend, still.
# tailwind.config.ts
import type { Config } from "tailwindcss"
import defaultColors from "tailwindcss/colors"

export default <Partial<Config>>{
  theme: {
    colors: {
      /* required colors so that nuxt/ui still works and doesn't crash on start */
      current: "currentColor",
      transparent: "transparent",
      black: defaultColors.black,
      white: defaultColors.white,
      gray: defaultColors.gray,
      red: defaultColors.red,

      // optional colors
      blue: defaultColors.blue,
    },
    extend: {
      colors: {
        myColor: '#aabbcc'

After doing this you only have the desired colors in use (in the example red, blue and myColor) and only those colors are prerendered into the CSS. It still prerenders every class name for each listed color (I think nuxt/ui kinda needs to) but at least you don't have the "extra colors" like fuchsia or green taking space.

Will there ever be a solution to this moment? The library is good, but I don't want to pull it by megabyte at all... ????


x/net/http2: export more tunable knobs

There are several default window settings in transport.go:
    // transportDefaultConnFlow is how many connection-level flow control
    // tokens we give the server at start-up, past the default 64k.
    transportDefaultConnFlow = 1 << 30

    // transportDefaultStreamFlow is how many stream-level flow
    // control tokens we announce to the peer, and how many bytes
    // we buffer per stream.
    transportDefaultStreamFlow = 4 << 20

    // transportDefaultStreamMinRefresh is the minimum number of bytes we'll send
    // a stream-level WINDOW_UPDATE for at a time.
    transportDefaultStreamMinRefresh = 4 << 10

NewClientConn method will use these without looking up other places. However, these default values are not suitable for all situations like high-latency high-throughput network.
Can you provide some setters to change these values instead of rewrite the whole thing using Framer or forking and rewriting this repo?

Hey @bradfitz - this would be very handy. As mentioned in #30277, the default settings are too high if you have a low-latency requirement on a proxy that proxies a fast link onto a slow link (i.e. I'm streaming live video over HTTP/2 through a Go proxy to LTE clients).
Current work around is to fork net/http2. Would be great to put these on the http2.Transport. Would you accept PR for this?


Databricks name length

The resource name rules page says the workspace name must be between 3 and 30 characters.  This is not accurate.  It should be between 3 and 64 characters.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 374ec8eb-64d4-3766-5c5e-39137a262ffd
Version Independent ID: 3abeeae9-6854-651a-483c-a1673eea9f9f
Content: Resource naming restrictions - Azure Resource Manager
Content Source: articles/azure-resource-manager/management/resource-name-rules.md
Service: azure-resource-manager
Sub-service: management
GitHub Login: @tfitzmac
Microsoft Alias: tomfitz

@weevil44 - thanks for this feedback. How are you creating a workspace with name of greater than 30 characters?
I am seeing conflicting information. The REST API specification indicates the max length should be 64 characters. However, the portal limits input to 30 characters. I thought there might be a problem with portal validation so I deployed an ARM template with a name of 56 characters but the name was truncated to 30 characters.

@weevil44 - correction on earlier post. Deploying an ARM template with a longer name worked. I passed in the wrong parameter file.
I'll update the doc with the correct limit.

The update will get published later today.
#please-close


Bash BSOD on system with NTFS-formatted Windows TrueCrypt drive

This is a follow-on to #530 ; almost the exact same reproducer but with one key difference.
Reproducer:

Download Windows TrueCrypt 7.1a from grc.com. (Don't use TrueCrypt 7.2; TrueCrypt has been discontinued, that version is only capable of decrypting existing drives.)
Install the application. Open the application.
Create a file-backed encrypted volume. Stick with the default encryption settings.
Format it as NTFS specifically (this does not reproduce with FAT volumes)
Still in the TrueCrypt application, select the volume's file, and Mount it to a drive letter.

Expected:

Drive should appear as a writeable volume in My Computer, mapped to the specified drive letter
Drive letter should show up in /mnt/ within WSL and should be mapped to the same drive as in Windows

Actual:

Drive does appear in My Computer as expected, apparently mapped to the specified drive letter
When I open the "Bash on Ubuntu on Windows" shortcut after mounting the TrueCrypt volume, I get a blue screen with a giant ASCII smiley face and a kernel memory dump, followed by a reboot

Do you happen to have a dump for this that you could share?  I think one of the other devs fixed this recently but I want to double check.  If so could you email a link to<EMAIL_ADDRESS>Include in the subject / message to forward to the WSL team. In the body of the email mention it is for benhill and russalex.

I've forwarded a dump.  I think.  I haven't sent one in before; let me know if it's what you are looking for.

@aseering I've tried to download the file from the link you sent 4 times and each time it's gotten between 50 and 80% complete and then stopped.  I don't think your server likes me.

@aseering I couldn't download it through a browser, so I fired up bash.exe and downloaded it through wget.  HAHA!
When I opened your dump I confirmed this is the same bugcheck I referred to above which was fixed in our dev branch a few days ago.

Good to know; thanks!  I'll try TrueCrypt+NTFS again after the next release to make sure this crash didn't mask another bug.
Also, excellent use of bash+wget :-)
Sorry my server wasn't being friendly.  It's usually solid; I'll check if something's up.

No surprise given the release notes, but this is still present in r14371.

This is fixed in Build 14376, please reopen if you continue to see any bugchecks.  Thanks Adam!

@benhillis -- no problem!  Sorry for the delay; I can confirm that I no longer get a bugcheck when using WSL with a mounted NTFS TrueCrypt volume.


x/tools/gopls: import errors with multi-root workspace and<EMAIL_ADDRESS>

What version of Go, VS Code & VS Code Go extension are you using?
Version Information

Run go version to get version of Go from the VS Code integrated terminal.
go version go1.22.0 darwin/arm64
Run gopls -v version to get version of Gopls from the VS Code integrated terminal.

Build info
----------
golang.org/x/tools/gopls v0.15.1
<EMAIL_ADDRESS>h1:WBLlqa3auWKt/jbezarYT204f7IDtCdOn260vY0q4Vk=
<EMAIL_ADDRESS>h1:9F2/+DoOYIOksmaJFPw1tGFy1eDnIJXg+UHjuD8lTak=
<EMAIL_ADDRESS>h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI=
<EMAIL_ADDRESS>h1:2O2DON6y3XMJiQRAS1UWU+54aec2uopH3x7MAiqGW6Y=
<EMAIL_ADDRESS>h1:SernR4v+D55NyBH2QiEQrlBAnj1ECL6AGrA5+dPaMY8=
<EMAIL_ADDRESS>h1:5BMeUDZ7vkXGfEr1x9B4bRcTH4lpkTkpdh0T/J+qjbQ=
<EMAIL_ADDRESS>h1:vcVnuftN4J4UKLRcgetjzfU9FjjgXUUYUc3JhFplgV4=
<EMAIL_ADDRESS>h1:ScX5w1eTa3QqT8oi6+ziP7dTV1S2+ALU0bI+0zXKWiQ=
<EMAIL_ADDRESS>h1:DAFzI/OUTyNjVKs2nsM593aR8oHWjVh3ftZ7XQFEKXw=
<EMAIL_ADDRESS>h1:KUas02EjQK5LTuIx1OylBQdKKZ9jeugs+HiqO5HormU=
<EMAIL_ADDRESS>h1:oFEHCKeID7to/3autwsWfnuv69j3NsfcXbvJKuIcep8=
<EMAIL_ADDRESS>h1:G3QvahNDmpD+Aek/bNOLrFR2XC6ZAdo62dZu65gmwGo=
<EMAIL_ADDRESS>h1:lyBNOm8Wo71UknhUs4QTFUNNMyxy2JEIaKKo0RWOh+8=
go: go1.22.0

Run code -v or code-insiders -v to get version of VS Code or VS Code Insiders.

Version: 1.87.0 (Universal)
Commit: 019f4d1419fbc8219a181fab7892ebccf7ee29a2
Date: 2024-02-27T23:42:56.944Z (1 day ago)
Electron: 27.3.2
ElectronBuildId: 26836302
Chromium: 118.0.5993.159
Node.js: 18.17.1
V8: <IP_ADDRESS>-electron.0
OS: Darwin arm64 23.2.0

Check your installed extensions to get the version of the VS Code Go extension

Run Ctrl+Shift+P (Cmd+Shift+P on Mac OS) > Go: Locate Configured Go Tools command.

Share the Go related settings you have added/edited
Run Preferences: Open Settings (JSON) command to open your settings.json file.
Share all the settings with the go. or ["go"] or gopls prefixes.
    "go.gopath": "~/go",
    "go.useLanguageServer": true,
    "gopls": {
        "formatting.gofumpt": true,
    },
    "go.languageServerFlags": [
        "serve",
        "-rpc.trace",
        "--debug=localhost:6060"
    ],

Describe the bug
For some days, gopls has started complaining about missing imports. go.mod and go.sum are clean and project compiles.
Extension host shows errors:
2024-02-29 18:21:56.462 [error] [golang.go] provider FAILED
2024-02-29 18:21:56.462 [error] Error: semantictokens are disabled
    at handleResponse (/Users/andig/.vscode/extensions/golang.go-0.41.1/dist/goMain.js:8606:40)
    at handleMessage (/Users/andig/.vscode/extensions/golang.go-0.41.1/dist/goMain.js:8416:11)
    at processMessageQueue (/Users/andig/.vscode/extensions/golang.go-0.41.1/dist/goMain.js:8431:13)
    at Immediate.<anonymous> (/Users/andig/.vscode/extensions/golang.go-0.41.1/dist/goMain.js:8407:11)
    at processImmediate (node:internal/timers:476:21)

Screenshots or recordings
If applicable, add screenshots or recordings to help explain your problem.

Hmm, I think the fix above was actually insufficient. Investigating further...

Hi, this should also be fixed in the next gopls prerelease:
go install<EMAIL_ADDRESS>
@ErwanDL @andig please let me know if this does not fix the bug for you.

Just did and added the offending root. No more errors- LGTM! Much appreciated!

Indeed, looks like it works in v0.15.2-pre.1! Thanks a lot for the quick fix.

I still seem to have this error :/
$ go version
go version go1.22.1 windows/amd64

$ gopls -v version
Build info
----------
golang.org/x/tools/gopls v0.15.3

$ code -v
1.89.1
dc96b837cf6bb4af9cd736aa3af08cf8279f7685
x64

My setup looks like this.
- Root folder
    - .vscode/
    - client/ (React application)
    - server/ (Go application)
  my-application.code-workspace
  .gitignore

If I open my application via the my-application.code-workspace file I get the error pictured below. I don't get any errors if I open /server file directly. This issue has only started happening the last 2-3 months. I've tried several of the solutions posted in this thread including reverting back to older versions. Also done a go mod tidy and "Restart Language Server" in vscode.

I am also still getting this error


Broken link in docs

https://www.typescriptlang.org/docs/handbook/basic-types.html, click Arrays -> "The resource you are looking for has been removed, had its name changed, or is temporarily unavailable."

I don't see a link titled "Arrays" there. Screenshot?

FWIW all of Boolean, Number, String, Array, Tuple, Enum, Any, Void, Null and Undefined, Never, and Object display this error

Hello,
Please see attached.
"Array" header is a link, too. Hope this helps.
Thanks,
Alex.
On Thu, Apr 11, 2019 at 7:16 PM Ryan Cavanaugh<EMAIL_ADDRESS>wrote:

I don't see a link titled "Arrays" there. Screenshot?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Microsoft/TypeScript/issues/30873#issuecomment-482369004,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AE-VWrvlXHmmRk9cX5D5SsXOAzmtmhNqks5vf8JIgaJpZM4cq7_b
.

Not sure if this issue still persists. Because now there are separate anchor (#) links for each header and all the links work. Probably the issue has been resolved lately?
https://www.typescriptlang.org/docs/handbook/basic-types.html

Website has been basically rewritten in the meantime


VS Code caches and suggests Bootstrap classes when i have Semantic UI in the workspace and no Bootstrap file

VSCode Version: 1.32.3
OS Version: Windows 10 1809

Steps to Reproduce:

Click on the thunderbolt icon in the bottom left and let VS Code cache all the CSS classes that are in the workspace
Once cached, try writing some markup and give an HTML element some classes. Only Bootstrap classes would be suggested even when there's no Bootstrap file in my workspace and i have Semantic UI files in my workspace

Does this issue occur when all extensions are disabled?: Yes

It sounds like this is coming from an extension because I'm not sure what thunderbolt icon you're talking about. Please file this issue on the extension that provides this feature.


When I put "\t" in Label text I get  □

Hello,
No matter when I put my text (for Label) - Kivy file or Python:
Adding \n will give me new line as expected
Adding \t is giving me □ (square)
Is this normal?

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Apparently, \n is the only escape character recognized in kivy.
(Try to put anything like \r, it will be displayed as a  □)
But it could be changed probably!
Look inside the kivy package dealing with the text. I think it's kivy.core.text. ( https://github.com/kivy/kivy/tree/master/kivy/core/text )
a python simple expression like:
text = text.replace('\t', '    ') should do the trick.
Now you must find where to put it. In __init__.py maybe? I see a function dealing with \n actually at https://github.com/kivy/kivy/blob/master/kivy/core/text/init.py#L574...
Don't know...

I guess our text providers just ignore these characters and try to render them as a normal font character.
Not sure what the solution is - if these aren't handled in the provider then there's not much we can do about it on a technical level, though we could manually strip them to at least remove the boxes.
I might miss something about text rendering though... @matham: have you come across anything related to this with the text stuff?

I guess we could replace them with a number of spaces, that number could be configurable in the label (a default value of 8 sounds uncontroversial), really, rendering a tab is a matter of making a space in the text.

I can already see it here and experience no such rectangles, so this could be closed. tab_width is also mentioned in the docs.

Hi, from reading the above I can't tell if this issue has been resolved or not.
At the moment I'm having the same problem as @Kozubi, '\t' is printing as a rectangle (missing char.) rather than a TAB space or multiple spaces.
I'd really appreciate it if somebody could enlighten me to a solution.
Thx.

Your best bet is probably to replace the tab with spaces yourself.

Any news on this?


Permission to create SQL pools

In order for a user who is not the administrator of Synapse workspace to be able to create SQL pools, the user need to have 'Contributor' role on the Azure Resource Group as well as the Synapse workspace itself. How about adding a note about that to Step 5 on this doc?

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 1149f92f-5b95-7b27-5525-db4f792d7937
Version Independent ID: 60242818-539c-6e91-7dc8-222ccc383574
Content: How to set up access control for your Synapse workspace - Azure Synapse Analytics
Content Source: articles/synapse-analytics/security/how-to-set-up-access-control.md
Service: synapse-analytics
Sub-service: security
GitHub Login: @billgib
Microsoft Alias: billgib

@hidwatanabe Thank you for your inputs . We will investigate and see how best we can update the document .

@hidwatanabe Thank you for your inputs . We will investigate and see how best we can update the document .

@hidwatanabe This is being assigned to the content author to evaluate and update as appropriate.

@hidwatanabe This is being assigned to the content author to evaluate and update as appropriate.

#reassign:RonyMSFT

#assign:julie MSFT

julie is not a valid GitHub ID, or is not a collaborator on this repo.

Hello @hidwatanabe, thank you for contacting Microsoft. We have updated the document with the following: "To create SQL pools, Apache Spark pools and Integration runtimes, users must have at least Azure Contributor role at the workspace. The contributor role also allows these users to manage the resources, including pausing and scaling. If you are using Azure portal or Synapse Studio to create SQL pools, Apache Spark pools and Integration runtimes, then you need Azure Contributor role at the resource group level. " Thank you for your contribution to Microsoft Docs. I will go ahead with closing this issue. The @notification mechanism continues to work even after an item is closed, in case further communication is needed. We hope to hear from you again.

#please-close


504 bintray.com

The following is no longer a valid locaiton.  Can the documentation be updated to reference the correct?  This returns a 504 when attempting.
https://dl.bintray.com/microsoftazuremobile/SDK

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 6fd4915d-64a9-b703-f139-91338412825a
Version Independent ID: e731d0e6-e063-d209-7faf-82db773e5d30
Content: Send push notifications to Android using Azure Notification Hubs and Firebase SDK version 1.0.0-preview1
Content Source: articles/notification-hubs/android-sdk.md
Service: notification-hubs
GitHub Login: @sethmanheim
Microsoft Alias: sethm

@brenak
Thanks for your feedback! We will investigate and update as appropriate.

As we are moving to a new feedback system, please reopen this issue or contact Microsoft Support if you still want to provide feedback on the documentation. Thank you! #please-close


I have a problem with Share::currentPage()->twitter()->getRawLinks()

htmlspecialchars() expects parameter 1 to be string, array given

{!! Share::currentPage()->facebook() !!}

Have you solved?
How you are using Share::currentPage()->twitter()->getRawLinks() this because it's not giving any error?
Please share your code.