Disabling the Windows Welcome screen after sign-in

Hi @DavidWeiss2! I'm trying to make another project, and was hoping you could help me out or point me in the right direction. I'm trying to fully disable the welcome screen when Windows boots and a user is automatically signed in. The intent is to "consolize" Windows as much as possible and have it boot straight to a game UI like Steam Big Picture.
Do you know how I could completely disable it, put a black photo on top of all the welcome UI elements so the screen appears black?

Hi @DavidWeiss2! I'm trying to make another project, and was hoping you could help me out or point me in the right direction. I'm trying to fully disable the welcome screen when Windows boots and a user is automatically signed in. The intent is to "consolize" Windows as much as possible and have it boot straight to a game UI like Steam Big Picture.
Do you know how I could completely disable it, put a black photo on top of all the welcome UI elements so the screen appears black?

https://learn.microsoft.com/en-us/windows/configuration/kiosk-single-app
https://answers.microsoft.com/en-us/windows/forum/all/how-on-earth-do-we-remove-the-welcomelocksplash/10dc7352-9afb-4976-84b8-2b499cef7416

Hi @DavidWeiss2! I'm trying to make another project, and was hoping you could help me out or point me in the right direction. I'm trying to fully disable the welcome screen when Windows boots and a user is automatically signed in. The intent is to "consolize" Windows as much as possible and have it boot straight to a game UI like Steam Big Picture.
Do you know how I could completely disable it, put a black photo on top of all the welcome UI elements so the screen appears black?

https://learn.microsoft.com/en-us/windows/configuration/kiosk-single-app
https://answers.microsoft.com/en-us/windows/forum/all/how-on-earth-do-we-remove-the-welcomelocksplash/10dc7352-9afb-4976-84b8-2b499cef7416

Unfortunately neither of those are applicable. I'm referring to this screen that appears when the user is automatically logged on. So not the sign in screen which appears directly after the the windows logo, but the UI with the spinning wheel, username of the user being signed in and their profile photo.
The Windows kiosk single app would prevent the usage of the desktop after Steam or Playnite has launched, which would defeat the purpose. The Windows "Custom Logon" feature does exactly what I want, and I can confirm it does work on Windows 10.
However, Custom Logon does not work on 11 from my testing. I've tried it on 11 Pro, 11 Pro Education, and 11 Workstation. I'm trying to replicate that functionality, either by disabling the Welcome screen entirely, finding a way to display a black image over all of the welcome screen UI elements, or re-enabling the Custom Logon feature to function on Windows 11.
Can one of your credential provider examples be used to solve this?

@DavidWeiss2?

@DavidWeiss2?
I will look that up and update the repo. Thanks for the update

Thanks! Hope you can find something, I would greatly appreciate it!


if-then-else not cut transparent or some other problem?

Now I was currious whether if-then-else is cut transparent,
and can reach a cleanup handler. I got a discrepancy:
/* Trealla Prolog 2.11.2 */
?- catch((call_cleanup(between(1,5,N), throw(error)), (between(1,5,M) -> !)), E, true).
   N = 1, M = N
;

/* SWI-Prolog 9.1.5 */
?- catch((call_cleanup(between(1,5,N), throw(error)), (between(1,5,M) -> !)), E, true).
E = error.

The cut does what it's supposed to do. Problem is the top-level sees the
call_cleanup registered handler and is too dumb, it thinks it's a normal
choice-point so gives the prompt. I'll look into it.
On Sat, Feb 25, 2023 at 12:12 PM Jean-Luc-Picard-2021 <
@.***> wrote:

Now I was currious whether if-then-else is cut transparent,
and can reach call_cleanup/2. I got a discrepancy:
/* Trealla Prolog */
?- catch((call_cleanup(between(1,5,N), throw(error)), (between(1,5,M) -> !)), E, true).
N = 1, M = N
;
/* SWI-Prolog */
?- catch((call_cleanup(between(1,5,N), throw(error)), (between(1,5,M) -> !)), E, true).
E = error.
—
Reply to this email directly, view it on GitHub
https://github.com/trealla-prolog/trealla/issues/130, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AFNKSEXZ3P5LYABR7T75TUDWZFS7BANCNFSM6AAAAAAVHRLSS4
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

When I press semicolon I see the throw:
Trealla Prolog (c) Infradig 2020-2023, v2.11.3
?- catch((call_cleanup(between(1,5,N), throw(error)), (between(1,5,M) -> !)), E, true).
   N = 1, M = N
;  E = error.

That is strange, since the handler should have been removed by the cut.
So when the query succeeds there should be any choice points around,
including any cleanup handlers. The should have already fired by the cut.
Just like here, no more choice points:
?- between(1,5,N), (between(1,5,M)->!).
   N = 1, M = N.

Seems to work now:
?- catch((call_cleanup(between(1,5,N), throw(error)), (between(1,5,M) -> !)), E, true).
   E = error.


UI output not rendering on Chrome

The UI is not showing even for the default code on creating a new pad for Flutter.
Details:
Chrome: Version 79.0.3945.117 (Official Build) (64-bit)
OS: Windows 10
console error: flutter:1 A cookie associated with a cross-site resource at http://doubleclick.net/ was set without the SameSite attribute. A future release of Chrome will only deliver cookies with cross-site requests if they are set with SameSite=None and Secure. You can review cookies in developer tools under Application>Storage>Cookies and see more details at https://www.chromestatus.com/feature/5088147346030592 and https://www.chromestatus.com/feature/5633521622188032.

Thanks for providing your OS/browser version information. That's always a huge help.
When you say the UI isn't rendering, do you mean the Flutter UI that should appear when Flutter code is run?
If so, are you using any plugins that might interfere with the loading/display of iframes? Some ad blockers, for example, add restrictions to iframes.

I disabled the adblocker of my anti-virus and also other extensions but the result is the same. The UI output should be "Hello World" for the default code, but nothing is coming on screen.

Hrmm. I haven't been able to replicate the issue you're seeing on my end, though I haven't tried with a Windows machine yet (they're a little hard to come by in the office). Normally I would expect some kind of warning/error to appear in the console or onscreen. The warning about cookies is from Google Analytics, though. It's expected and shouldn't affect DartPad's actual performance.
I'll try to find a windows machine in the next couple days to see if I can verify the behavior you're seeing. In the meantime, the only thing I can suggest is (assuming you haven't done it already) to clear your browser cache and do a full hard reload of the page to see if any caching issues are screwing things up.

@neil-dev @RedBrogdon I had the same problem, then I tried Dartpad in Opera and it worked fine, and I checked the DartPad source code in Chrome and noticed that I was getting 33 errors, all of them related to CORS policy (cors policy no 'access-control-allow-origin'). So I installed this Chrome extension and it worked!

The above solution works but I guess depending on a third-party application shouldn't be considered as a solution.

Yeah but the problem is related with Chrome having problems with CORS policy so...

I think this is out of date, feel free to leave a comment if you're still running into this.

hi, @johnpryan, I encouter this cors policy issue right now


How to restore shape of words after Automatic Spelling Correction?

It returns lowercased text after corrections.
Tried two configs: Brill Moore top 4 + lm, and Damerau Levenshtein 1 + lm.

Hi
You could add a component that remembers casing after tokenization and another one that restores it or extends candidates list with it before a language model.
We never had a need for it nor data to check if it will work better or worse, so we didn't do it ourselves yet.


reshape does't thrown exception when incorrect shape is given

In this examples I can reshape score to any shape, exception is not thrown, mmul somehow corrupts ndarray
import org.nd4j.linalg.api.ndarray.INDArray
import org.nd4j.linalg.factory.Nd4j
val a: INDArray = Nd4j.linspace(1, 4, 4).reshape(2,2)
val b: INDArray = Nd4j.linspace(1, 4, 4).reshape(2,2)
val score = a.mmul(b)
val reshaped1 = score.reshape(2,100)
val reshaped2 = score.reshape(2,1)

Thanks for highlighting this issue. Validation + test added.


Typescript Language service not finding symbolic linked (junction) npm module

TypeScript Version:  2.8.1
OS Version: macOS 10.13.3
vscode: 1.22.1

Search Terms:  npm link
Code

A symbolic link (NTFS junction) to a library package in node_modules breaks code's intellisense ability to find the module, even though building from the command line works fine. This makes node dev a pain when developing a lib and consuming package and don't want to go through the publish / install loop

{
    "compilerOptions": {
        "module": "commonjs",
        "moduleResolution": "node",
        "sourceMap": true,
        "declaration": true,
        "rootDir": "src",
        "outDir": "lib",
        "target": "es2015",
        "lib": [
            "dom",
            "es2016"
        ],
        "noImplicitAny": false
    },
  "include": [
    "src/**/*"
  ]
}

Create and compile another package consumer with a file that references the lib with an import {foo} from 'lib'

Copy the lib into the consumer's node_modules - as if it had been `npm install'ed

Look at the import line in code - all intellisense is good. lib is found

Delete node_modules\lib

Either manually link by adding a junction or use npm link ..\lib lib is navigable in the code file browser (on left)

Look at the import line in code - 'lib' has red squiggle and hover displays '[ts] Cannot find module 'lib'.'

I can supply all files if required, but the lib is just a single file with a single export and consuming code references it. basic stuff.
Expected behavior:
ts-server can find npm link module
Actual behavior:
ts-server can not find npm link module
Playground Link:
Related Issues: https://github.com/Microsoft/vscode/issues/25312

@RyanCavanaugh

@linmodev can you share the tsserver and ti log with the issue.

In VS Code: "typescript.tsserver.log": "verbose"
If possible can you also use typescript@next. (using nightly build in vscode)
Restart vscode and reproduce the issue
In VS Code, run the TypeScript: Open TS Server log command, Opened folder will have two files showing the type installer and tsserver log.

The log file is too long. I save it in my github gist.
https://gist.github.com/linmodev/fbae4b4ed09d194c72e11164b6e300de
https://gist.github.com/linmodev/0425b2bd67b2e9c178b0cc70043937eb

@sheetalkamat  I update my ts version. The problem still exsit .

@linmodev Thank you for the logs. I took a look at it and were able to tell much from the logs.
From your log it looks like you are not using typescript@next ( log link)
Also you do not have tsconfig.json and that means it will use inferred project with following options:
{"module":"commonjs","target":"es2016","jsx":"preserve","allowJs":true,"allowSyntheticDefaultImports":true,"allowNonTsExtensions":true}

Do you have tsconfig.json somewhere? Since you opened folder in vscode at /Users/xukunlong/Desktop/study-project/projectA thats the location tsconfig.json would be looked up till.
I couldnt tell much from the logs whats going on. Can you please add tsconfig.json in that folder and add traceResolution: true in your compiler options and get the log. That should indicate what are the location looked up and if and how the module resolution went wrong. Also please share the repro code and steps you took to create the folder structure. (It could be os dependent and hence asking for the log apart from the repro code and exact steps)

@sheetalkamat
Only a demo project of this, so I forget add the tsconfig file. It has no effect or response when add this file.

The picture of above of  show the structure.
I upgraded ts according to your requirements and added tsconfig.
The below is new log.
https://gist.github.com/linmodev/9c18d5c2e6225c4d4f21af1c5f483056
https://gist.github.com/linmodev/df91ead87b517f39044176df9f9b8539

@mjbvz I looked at the tsserver log and it seems like there are two open requests for the same file? (first open, second open) That breaks the asserts we have. Can you see what went wrong and why there are two open requests for same file /Users/xukunlong/Desktop/study-project/projectA/example/index.ts

@mjbvz I dont have repro but only the tsserver log shared by @linmodev

@linmodev Can you please use vscode insiders build that @mjbvz suggested and see if the issue persists. If it does please provide tsserver and ti log as earlier for further investigation.
Thank you.

@sheetalkamat The problem still exists. Is uploading logs too inefficient? I uploaded the file structure directly to this repository. Is that okay?
https://github.com/linmodev/reproduce.git

@linmodev The repo doesnt contain the node_modules folder or how you have setup the structure in node_modules. Can you please share that portion of steps as well.
Also please use latest nightly drop from typescript and see if the issue repros in vscode insiders and with typescript nightly drop.
You can also upload logs using

With "typescript.tsserver.log": "verbose" enabled
Restart vscode insiders
Reproduce the problem
Run code-insiders --upload-logs on the command line and follow instructions
Share the log file ID

The first step is to execute npm install and npm link in the current root directory.
The second step, execute npm install and npm link projecta  in the example directory
ID:1300198809

ts-modules-test is a demo create by @Xceno.

same issue. but I dont wanna use typescript@next. Wait you body to fix it

@varHarrie  Thank you for your reminder, your example is also run by me here, but I seem to find the key to the problem from the difference between you and my example. My project structure is nested, but yours is parallel. @sheetalkamat  The problem seems to be here.

@linmodev The issue isnt about the module being in sibling or subdirectory. The issue is package.json containing main field that references anything but "index" where yours has "src/index.ts"


Way to set port when using alt.data_transformers.enable('data_server')

e.g. alt.data_transformers.enable('data_server', port=12345).
I'm trying to use the data_server when sshing into my compute machine, and using 'data_server_proxied' isn't working, perhaps related https://github.com/altair-viz/altair_data_server/issues/8 since I'm in a subdirectory.
I can pull the port out by looking at print(chart.to_json()) and then ssh in again and forwarding that port, but since the port seems to be pretty random, that's less than ideal.
Any advice?

No, there's not any way to set the port currently, but that would be a useful enhancement.

As of version 0.4, controlling the port will be possible using:
alt.data_transformers.enable('data_server', port=1234)

thanks!


A kml is not imported

bikelanes.zip

The kml won't import (or take ages) because it has more than 1k layers. We can't do much better, right @Kartones ?

mmm  each layer gets converted to a table right? Ask @iriberri and @javisantana  but I'd say something between [25,100] layers, maybe [25,50]...


'NoneType' object has no attribute 'encode'

Hi, there.
I ran infer with the command
infer --  xcodebuild -workspace <my product>.xcworkspace -scheme <my scheme> -sdk iphonesimulator -configuration Debug build
and received this error
The following build commands failed:
	CompileC /Users/mrubin/Library/Developer/Xcode/DerivedData/<my product>-bgiahkwtwuuwnqatrhfacebgivun/Build/Intermediates/Pods.build/Debug-iphonesimulator/Snappy.build/Objects-normal/i386/snappy-sinksource.o Snappy/snappy-sinksource.cc normal i386 c++ com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)
Traceback (most recent call last):
  File "/usr/local/bin/infer", line 178, in <module>
    main()
  File "/usr/local/bin/infer", line 142, in main
    capture_exitcode = imported_module.gen_instance(args, cmd).capture()
  File "/usr/local/Cellar/infer/0.8.0/libexec/infer/lib/python/inferlib/capture/xcodebuild.py", line 78, in capture
    utils.stdout(exc.output)
  File "/usr/local/Cellar/infer/0.8.0/libexec/infer/lib/python/inferlib/utils.py", line 298, in stdout
    print(encode(s, errors=errors))
  File "/usr/local/Cellar/infer/0.8.0/libexec/infer/lib/python/inferlib/utils.py", line 294, in encode
    return u.encode(encoding=config.LOCALE, errors=errors)
AttributeError: 'NoneType' object has no attribute 'encode'

My toplevel.log is
[INFO] Running command /usr/local/bin/infer --reactive -- xcodebuild -workspace <product name>.xcworkspace -scheme <my scheme> -sdk iphonesimulator -configuration Debug build
[INFO] Path to infer script /usr/local/bin/infer (/usr/local/Cellar/infer/0.8.0/libexec/infer/lib/python/infer)
[INFO] Infer version v0.8.0
Copyright 2009 - present Facebook. All Rights Reserved.

[INFO] Platform: Darwin-15.4.0-x86_64-i386-64bit
[INFO] PATH=/usr/local/bin/git:/Users/mark/bin:/usr/local/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin/mongodb/mongodb-osx-x86_64-2.0.6/bin:/Applications/apache-ant-1.9.4/bin:/Users/mrubin/Development/Android/sdk/tools:/Users/mrubin/Development/Android/sdk/platform-tools:/Users/mrubin/Development/Android/android-ndk-r10e:/Users/mrubin/.nvm/v0.10.21/bin:/usr/local/bin/git:/Users/mark/bin:/usr/local/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin/mongodb/mongodb-osx-x86_64-2.0.6/bin:/Applications/apache-ant-1.9.4/bin:/Users/mrubin/Development/Android/sdk/tools:/Users/mrubin/Development/Android/sdk/platform-tools:/Users/mrubin/Development/Android/android-ndk-r10e:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/mrubin/Development/apache-maven-3.2.3/bin:/Users/mrubin/Development/infer-osx-v0.2.0/infer/infer/bin:/Users/mrubin/Development/apache-maven-3.2.3/bin:/Users/mrubin/Development/infer-osx-v0.2.0/infer/infer/bin
[INFO] SHELL=/bin/sh
[INFO] PWD=/Users/mrubin/source/beamit-ios/app
[INFO] Xcode version:
Xcode 7.3
Build version 7D175

[INFO] clang version:
Apple LLVM version 7.3.0 (clang-703.0.29)
Target: x86_64-apple-darwin15.4.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin

Thanks for any help!

hi @mbrubin56, the python error is bad, thanks for reporting. It's hiding the real issue, which in your case is that building failed.
Does the command xcodebuild -workspace <my product>.xcworkspace -scheme <my scheme> -sdk iphonesimulator -configuration Debug build succeed?

same issues when and infer command in build command,if no add infer command build is succss.
thanks

@dleyanlin, @mbrubin56, to debug further, I need the full output of the infer run. Can you paste it, eg to gist.github.com?

we have this problem too, we have chinese characters in the path and filename, will it break python script?

@foobra can you paste the full output and infer-out/toplevel.log to gist.github.com or similar please?

I also ran into this issue with version 0.8.0 of infer. As another hint:
Try make your build work without infer on the command line first. for our project, the commands were:
xcodebuild  build  -workspace SomeProject.xcworkspace -scheme SomeProject-QA-Staging -configuration Release
infer -- xcodebuild  build  -workspace SomeProject.xcworkspace -scheme SomeProject-QA-Staging -configuration Release

@jvillard
infer-out/toplevel.log
[INFO] Running command /usr/local/bin/infer -- xcodebuild -workspace /Users/hujiachun684/Downloads/PALifeApp-master/PALifeApp.xcworkspace -scheme PALifeApp -configuration Debug -sdk iphonesimulator
[INFO] Path to infer script /usr/local/bin/infer (/usr/local/Cellar/infer/0.8.0/libexec/infer/lib/python/infer)
[INFO] Infer version v0.8.0
Copyright 2009 - present Facebook. All Rights Reserved.
[INFO] Platform: Darwin-15.4.0-x86_64-i386-64bit
[INFO] PATH=/Users/hujiachun684/Downloads/oclint-0.10.2//bin:/Users/hujiachun684/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/hujiachun684/Library/Android/sdk/platform-tools:/Users/hujiachun684/Library/Android/sdk/tools:/Users/hujiachun684/.rvm/bin:/tools:/platform-tools:/bin:/Users/hujiachun684/appium:/usr/local/Cellar/maven/3.3.9/libexec/bin:/Users/hujiachun684/infer/infer/bin:/users/hujiachun684/downloads/infer-osx-v0.8.1/infer/bin
[INFO] SHELL=/bin/bash
[INFO] PWD=/Users/hujiachun684/Downloads/PALifeApp-master
[INFO] Xcode version:
Xcode 7.3
Build version 7D175
[INFO] clang version:
Apple LLVM version 7.3.0 (clang-703.0.29)
Target: x86_64-apple-darwin15.4.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin


making hive warehouse connector compatible with spark 2.4

What changes were proposed in this pull request?
Currently method like executeQuery does not work when running this library with spark 2.4.0 because in spark 2.4.0 some classes have been removed and some classes have been renamed
DataReaderFactory have been renamed to InputPartition
2)DataReader have been renamed to InputPartitionReader
3)SupportsWriteInternalRow have been removed
How was this patch tested?
(Please explain how this patch was tested. E.g. unit tests, integration tests, manual tests)

I did not write the patch, I'm just creating the PR based on #272

I know this is old but: @carloslima did you test this and did this work for you with Spark 2.4?

@lfrancke old, indeed :sweat_smile:
We opted to go a different route so I have no feedback to offer :-)
Please, note that I didn't write this patch. This is all @abh1sh2k work, the only thing I did was open this MR based on their fork that was mentioned in https://github.com/hortonworks-spark/spark-llap/issues/272.
Assuming @abh1sh2k still uses this patch, they may have something to share :-)

Thanks anyway! I assumed as much :)
The reason I was asking is because I tried it and while it compiles it fails with various errors at runtime.


Support for multi white listed urls with regex url match.

Sample Command to run multi whitelisted urls with regex.
./google_auth_proxy
--redirect-url="http://yourcallbackurl.com/oauth2/callback"
--google-apps-domain="yourdomain.com"
--upstream=http://<IP_ADDRESS>:8080
--cookie-secret="nuts"
--client-id="your client id"
--client-secret="your client secret"
--cookie-expire=0h30m0s
--cookie-https-only=false
--skip-auth-regex="/hello.php","/status.php","/health-check-url/*"

Hi Jehiah,
Sqaushed things to single commit.


Rapid development with webpack-dev-server

#1 Adding webpack-dev-server and adjusting the imports to link to plugin instead of manually copying the distribution file.

Start development server by 'npm run dev-docs'
Open browser at http://localhost:9000

Make changes in source (i.e. app.vue, dialog-window.vue) and see how browser updates without interaction at file-save.
Docs-application imports vue-dialog by referencing the plugin-directory instead of referencing the dist-version. Otherwise changes within plugin/* won't be detected. With that change the need for copy-to-docs doesn't exist, thus also removed. The docs-application will include its merged app.main.js file and vue-dialog.js will be a part of that file.

Great stuff! @hjortzen Thanks a lot


Fixed typo's in the README.md:

Hi @team
I have fixed some typos in the repo README.md file.

What issue are you fixing @iemafzalhassan !

Hey @PSS2134
I fixed type in the readme.md
In section #careerZunction there was a requirement to provide space and also enhanced type in contruting guide section.

Hey @PSS2134
Actually this issue is not defined in the issue section.
Should i create a new issue for this work ?

@iemafzalhassan  resolve conflicts

resolve conflicts


Scrobble server?

Hi,
thank you very much for implementing this! Is it, by any means, possible to reuse your code to implement a scrobble server? If yes, would you do that?
Would be awesome to build a scrobble server so I do not have to rely on last.fm services, for example!
Either way, thanks for developing this and I hope you continue to develop it! :heart:

Why don't you use Libre.fm? I don't see the need for this project to implement a server.. from an outsider's viewpoint, anyway. Or you could make your own server library that implements the required endpoints..?

What I'm asking is not a server implementation, but a way to reuse code from this lib (types, for example) to implement a server.
I'm asking this because I would like to do my own data-mining on scrobbled data - one idea is to implement a scrobble endpoint which is integrated into imag.
I don't want to duplicate work and reimplement all the types - reusing them from this library would be a nice way to dedupe work!

Ah!  I must have misunderstood. I wouldn't necessarily see any particular problem with reusing the code, but I guess its best to get permission first..
It sounds like a good idea. And now I remember where I saw your name before - imag! I'm really looking forward to imag, it sounds great. My use case is for my scrobble.rs that accepts from multiple sources, and sends to multiple targets. Sources could include MPD, MPRIS, and targets could include Last.fm, or Libre.fm. It'd be great to add imag support as a target though.
Good luck with imag!


Full Tweet text not appearing in Tweetdeck

From OldTweetDeck

From Twitter.com
https://twitter.com/Schuldensuehner/status/1703817367061508292

Another example:
https://twitter.com/Gerashchenko_en/status/1703804328358584690

There's no real fixing this because it's about what API is being used. The old API, which is better for us because it essentially ignores the rate limit, doesn't send all of the tweet. If you want all of the tweet on timeline itself, you have to put up with the new API.
However, something did change over the last few updates either on OTD's side or X's, where previously a long-form tweet would display a "show more" on the timeline and now it just awkwardly ends. If this was on Den's side, and it was a choice, I'd love to have the "show more" come back so I know I'm missing something instead of having to guess by the lack of a period. If one of the Japanese accounts I follow does it it's much harder to tell, now. Was thinking of making a request post on this to see which it is and if it can be returned.
Still, choice or not, this is better (for most non-premium users and even a few who are) than having to use the new API, which is likely an eventually given their stated goals to axe the old ones.

Agree. I missed that "Show more" wasn't appearing anymore.

After changing API key, internal API stopped returning "Show more" for some reason. I've added "Expand tweet" button that will fetch full text and add it to tweet

Long tweets which are quoted don't appear in full.
https://twitter.com/KanwalSibal/status/1704198162448056580

Minor issue:
When "Expand Tweet" is clicked if just reveal text of url and not in hypertext format, the text of the tweet is not fully revealed.

Tweet as per Twitter.com:
https://twitter.com/RobinBrooksIIF/status/1704592204251930846

Retweets of longform tweets don't show the "Expand tweet" link.

Appreciate your efforts but the issue still appears.
From OldTweetDeck

Twitter.com
https://twitter.com/Eskom_SA/status/1704931132297326657

Perhaps the black spaces or paragraph spaces are causing this?


Relay attachments to log channel before filters delete message

When filters remove messages with attachments, we are unable to review the deleted attachments for moderation purposes since we do not save them in any way. In the most severe situation, when a filter triggers on messages only containing attachments and no other content, this leads to empty messages being displayed in the deleted messages front-end and not much to go on for moderators.
This PR solves that issue by relaying the messages to a log channel before deleting the messages. In addition, it will send the link to the new, relayed attachment to the deleted messages end point so mass-deleted messages are displayed as-is in the deleted messages front-end.
Combined with python-discord/site#303, this PR closes #549

@ikuyarihS @SebastiaanZ I added the re-post of the attachment. I left the ID of mod-log as a placeholder here in the config file so you can change it when you'll have decided where you want them.

@Akarys42 We've created a new channel to relay attachments to: #attachment-log with the ID<PHONE_NUMBER>06855680.

@ikuyarihS @MarkKoz @SebastiaanZ all requested changes have been adressed


add Buffer::write_bytes

rt

cc @peter-jerry-ye

Pull Request Test Coverage Report for Build 2599
Details

0 of 1 (0.0%)  changed or added relevant line in 1 file are covered.
8 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.09%) to 79.267%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

builtin/buffer.mbt
0
1
0.0%

Files with Coverage Reduction
New Missed Lines
%

builtin/bigint.mbt
8
89.52%

Totals

Change from base Build 2597:
-0.09%

Covered Lines:
3353

Relevant Lines:
4230

💛  - Coveralls


Add Combine folder to source_files in Podspec

Currently if you use Moya via cocoa-pods install, Combine extensions not being visitble to the xcode project, adding Combine folder to source_files should fix it.
I was able to use combine extension on my branch via: provider.requestPublisher()

Warnings

:warning:
The Moya.podspec was updated, but there were no changes in Cartfile, Cartfile.resolved, Package.swift, Package.resolved.
Did you forget to update them?

Messages

:book:
iOS: 	 Executed 293 tests, with 0 failures (0 unexpected) in 14.065 (14.363) seconds

:book:
tvOS: 	 Executed 293 tests, with 0 failures (0 unexpected) in 13.993 (14.200) seconds

:book:
macOS: 	 Executed 282 tests, with 0 failures (0 unexpected) in 13.024 (13.203) seconds

  Generated by :no_entry_sign: Danger Swift against 696e49136e7352d01c4cc6fee16370c63043dea3

Codecov Report

Merging #1930 into development will not change coverage.
The diff coverage is n/a.

@@             Coverage Diff              @@
##           development    #1930   +/-   ##
============================================
  Coverage        89.99%   89.99%
============================================
  Files               29       29
  Lines             1029     1029
============================================
  Hits               926      926
  Misses             103      103

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 0e0ea73...696e491. Read the comment docs.

@vikmeup @leoneparise thanks for the fix guys! Unfortunately due to #1928 we will remove Combine support from version 14, but it’s good that we have a proper version to get back to after we figure it out


⚠ TorrentLeech has degraded performance

In 36d8c7f, TorrentLeech ($TL) experienced degraded performance:

HTTP code: 200
Response time: 3816 ms

Resolved: TorrentLeech performance has improved in 1e6fcbb.


Error The search query is invalid; Check the search query. with multiple repositories in SEARCH_QUERY

Hello folks 👋
First of all, thanks for this great project, I really appreciate it. ❤
For some reason, when I have multiple repositories in the SEARCH_QUERY I always get The search query is invalid; Check the search query. error. If I try with one repository at a time, there's no such problem. What could be the issue? How could I triage it?
Here's a sample SEARCH_QUERY captured from a failed instance:
is:pr created:2024-03-07..2024-03-14 -is:draft author:a1 author:a2 author:a3 author:a4 author:a5  repo:org/repo1 repo:org/repo2 repo:org/repo3 repo:org/repo4 repo:org/repo5

And another captured from a successful instance:
is:pr created:2024-03-07..2024-03-14 -is:draft author:a1 author:a2 author:a3 author:a4 author:a5  repo:org/repo1

Any ideas? I'm using a personal access token with proper access rights. 🗒
Thanks in advance. 🙇♂

One thing to try would be to check that these search queries also fail/succeed the same when entered into the github search ui as when they are used in this tool. that could help us narrow down if the search syntax is an issue with the backend search API or something specific about this tool.

Hello @zkoppert 👋
Thanks for your comment.
I tried using the built search query with the Github UI and strangely it could not search. I mean, there was no error but it didn't make sense, it seems like it isn't able to conduct a search. 😕

When I search with a single repo, the UI is able to show PR results:
repo:org/repo1 is:pr -is:draft

When I add a second repo, the UI shows the message above:
repo:org/repo1  repo:org/repo2 is:pr -is:draft

The message above is indicating that there are no results to show. Maybe it is parsing the search as it has to be in both repos like an "and" function? 🤔
I'm not seeing those same results when I test this on a set of open source repos.... In the below examples the proper search results are returned. Do you see that as well?
Check out repo:github/evergreen is:pr -is:draft at this link
and also repo:github/evergreen repo:github/contributors is:pr -is:draft at this link

Hey @zkoppert 👋
Thanks for checking it out with open source repos. You're right.
I think I found out what causes this strange behavior with private repositories. Although my user has read access to all repositories, for some reason, I need to be part of the GitHub teams that maintain all repositories (or a root GitHub team that contains all other teams) that I want to conduct multiple-repository-search on. 🤷♂
I don't really understand the logic behind this because I would have expected a single repo search to return no results as well.

Yeah that is an odd design. I'll close out this issue in this repo since it's related to core search functionality.


test-build of the tests on master branch

Please run the tests on your fork by using:
5e86f0e (#805)


[enhancement] Use sm.ms instead of weibo&imgur

Because of the reason we all know,

The weibo image storage may leak your username.
The imgur may not be accessible in most of China mainland.

So, Why not try SM.MS?
API Here: https://sm.ms/doc/
TOS Here: https://sm.ms/about/

https://www.v2ex.com/faq
V2EX 支持三个图床，微博、imgur、v2ex


Bug: resolver wrapping breaks trivial resolvers when type is different than expected in the schema

Hello team, found an issue with trivial resolvers and the resolver wrapping to prevent double executions in delegateToComponent situations. I don't fully understand this double execution issue that relevant code tries to prevent to propose a solution, so I thought I'd create an issue first to discuss.
Current behavior
The resolution for a graph breaks when on a root object a field is present but with a different type than expected in the schema. Example:
given a type that has a field name of type String, a root object:
{
    ...
    name: {
        value: "name"
    }
    ...
}

and field resolver:
name(obj) {
    return obj.value
}

These lines will find that there's already the field name present in the root and return that, breaking the resolution because we'd be returning an object for a String type.
Expected behavior
Instead, we'd want the resolution of the type to be passed through to the trivial resolver and the resolution to not break.
Maybe solutions
A naive first approach to a solution would be to do a type check (this field expects a string... is the field already a string? return, else pass through to resolver) but the issue remains: even if the expected type matches the type we find, there could be some transformation applied in a trivial resolver (upper case a string, + 1 a zero-based index, I don't know). So maybe there's a better way for a component to know that it is in a delegateToComponent context or to provide an option to explicitly request a resolver NOT to be executed? (maybe an option to pass a list of "noDoubleExecuteResolvers" to compare against)? thoughts?

this is ultimately addressed by the release of graphql-component v3 - resolver wrapping has been removed


ENH: Add changelog.md and track changes

The changelog is currently within the README: https://github.com/pycompression/xopen/blob/main/README.rst#changes
Do you need a separate page?

Oh, I missed that, was searching for changelog and couldn't find anything. Sorry for that.

I’ve renamed the section to "Changelog". The consequence is that the above link doesn’t work anymore, it’s now https://github.com/pycompression/xopen/blob/main/README.rst#changelog.


SS4 compatibility

Unacceptable! Needs squashy!

Codecov Report

Merging #11 into master will increase coverage by 70.12%.
The diff coverage is 81.48%.

@@              Coverage Diff              @@
##             master      #11       +/-   ##
=============================================
+ Coverage      11.6%   81.73%   +70.12%
- Complexity        0       29       +29
=============================================
  Files           238        5      -233
  Lines         42478      104    -42374
=============================================
- Hits           4929       85     -4844
+ Misses        37549       19    -37530

Impacted Files
Coverage Δ
Complexity Δ

src/pages/StripeSlackPage.php
100% <ø> (ø)
1 <0> (?)

src/controllers/StripeSlackPageController.php
100% <100%> (ø)
3 <3> (?)

src/shortcodes/StripeSlackShortcodeParser.php
100% <100%> (ø)
2 <2> (?)

src/controllers/SlackAuthController.php
70.37% <63.63%> (ø)
5 <3> (?)

src/controllers/SlackStatusController.php
81.66% <81.66%> (ø)
18 <18> (?)

...ork/tests/search/SearchFilterApplyRelationTest.php

...ramework/thirdparty/Zend/Cache/Frontend/Output.php

framework/core/Extension.php

framework/tests/forms/HtmlEditorFieldTest.php

... and 236 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update fd7b57e...81da5fd. Read the comment docs.

Why is CodeClimate taking Framework in to account? :|


Baking 3D navmesh results in an empty navmesh (4.0 beta 10)

Godot version
4.0 beta 10
System information
Ubuntu 20.04
Issue description
I tried to bake a simple planar navmesh (works before baking) to later bake it with static obstacles, but whenever I bake it either in the editor or in the game, either with obstacles or in an empty scene, it visually disappears and agents stop navigating
Steps to reproduce

Create a mesh
Create the navmesh
Bake the navmesh

Minimal reproduction project
N/A

MRP!
Is the planar mesh an obj import? A cube mesh from editor? a CSG converted to mesh? So many variables....

You need to provide more detail what you are doing and what you are using or an MRP.
The baking works just fine in all recent Godot versions so it is probably either your NavigationMesh properties or your chosen source geometry mesh(es) that is causing problems.

MRP!
Is the planar mesh an obj import? A cube mesh from editor? a CSG converted to mesh? So many variables....

My original mesh was a subdivided triangulated quad which was .obj import, but I can't make the editor meshes to work either, I tried changing the size as well (my mesh was 360x360 godot units), but none work. I made a reproduction of the problem in a fresh project, but it was just a cube with its navmesh so I thought it was excessive to include.

I don't understand why you did not add you images from Discord to the git issue to help debug this.

As said on Discord, you need to place navigation mesh source geometry nodes by default below the NavigationRegion3D as children not on top as parent node. The parsing starts at the defined root node which is the NavigationRegion3D by default. If you did not change the NavigationMesh properties there is no way your node setup can work for baking. If for whatever reason you can not add your source geometry as children below the NavigationRegion3D you can change the parsing on the NavigationMesh by switching from root node children to groupname and add the groupname to whatever SceneTree node you want to parse when baking.

I don't understand why you did not add your images from Discord to the git issue to help debug this.

As said on Discord, you need to place navigation mesh source geometry nodes by default below the NavigationRegion3D as children not on top as parent node. The parsing starts at the defined root node which is the NavigationRegion3D by default. If you did not change the NavigationMesh properties there is no way your node setup can work for baking.
If for whatever reason you can not add your source geometry as children below the NavigationRegion3D you can change the parsing on the NavigationMesh by switching from root node children to groupname and add the groupname to whatever SceneTree node you want to parse when baking.

Changing the geometry settings and assigning the group to the plane mesh worked, thank you!


reimplement streaming as a transform stream

Closes #1757
This is how it should have been implemented in the first place, my stream knowledge at the time was just a bit lacking!

@jonsanders101 would you be able to test this on your end?

Going to test in Spectrum!

@kitten good call! had to do a little extra work to forward the errors correctly. Should be good now 👍


refactor: use babel overrides to transpile babel runtime helpers

As recommended in babel/babel#9903.
Get rid of the module-resolver plugin, may fix #3928.
Seems to have fixed #4742 as well.
There may be a small breaking change: as we now use excludes & includes, babel requires filename option to be present (introduced in https://github.com/babel/babel/pull/10181/files). So users who call babel.transformSync directly may encounter an error.
However, as we explicitly stated that this preset is only used for Vue CLI internally, I don't expect too many such use cases there. And the error messages are clear enough.
Considering the benefits that this PR brings, I think it's an acceptable tradeoff.
What kind of change does this PR introduce? (check at least one)

[ ] Bugfix
[ ] Feature
[ ] Code style update
[x] Refactor
[ ] Docs
[ ] Underlying tools
[ ] Other, please describe:

Does this PR introduce a breaking change? (check one)

[ ] Yes
[x] No

Other information:

Should have also fixed #2837

I was migrating to Vue CLI 4 manually and I think this option is not documented here: https://github.com/vuejs/vue-cli/tree/v4.2.3/packages/@vue/babel-preset-app
Am I looking at the right place or is it documented somewhere else?

I think there are no new options introduced in this PR.

I think there are no new options introduced in this PR.

Beeeh, wrong PR. I was supposed to comment here: https://github.com/vuejs/vue-cli/pull/4797
Gonna comment there 😅


⚠ Bofrost.lu has degraded performance

In 16a6158, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 966 ms

Resolved: Bofrost.lu performance has improved in ddbe82f after 20 minutes.


Wheres the .dmg files?

Sorry but i cant figure it out on what files to open on the zip files? I cant find the dmg file to run it, help?

It's written right into the readme file : Downloads

I'm sorry if i may sound stupid, but after reading the readme file theres nothing in it regarding which file to open?
Tried to open every files on the zip but my mac cant seem to find any program to run it

Edit I got it working! Sorry for bothering you! But thank you for making this!


Update compose example to work better with swarm

Describe the proposed changes
Update the Wordpress example file docker-compose.yml to work better with swarm mode enabled, while still behaving correctly without swarm mode.

Remove the links directive. This allows swarm to distribute containers across available nodes. (with the links directive, swarm will be forced to run both containers on the same node.) Note that the depends_on directive is sufficient to ensure correct container start up sequence.
Use a docker volume instead of bind mounting a local directory.
Give docker-compose commands for shutting down the Wordpress app, showing how to preserve or remove the persisted data in the volume.

Verified proposed change works correctly in both a swarm and a non-swarm environment.
Unreleased project version
N/A
Related issue
None
Related issue or PR in another project
None
Please take a look
@shin- For correctness of the proposed changes to docker-compose.yml

Deploy preview processing.
Built with commit 186dfbb3369d19a95d7a5cd3680c98c0379480a1
https://app.netlify.com/sites/docker-docs/deploys/58264655c4d9cc7e488614bf

Thanks @davidwilliamson this is great!


Update list command feature and summary in UG

Closes #58 which was re-opened to combine list all members and list all events commands into 1 single list command

Removed list all members command
Removed list all events command
Added list command to display all members and all events concurrently

LGTM too, will be merging it now before more conflicts appear.


Fix for upstream breaking change in gcloud/storage [phab:D1087]

Created by shahms at 2016-10-03 19:44:57:
Fix for upstream breaking change in gcloud/storage

fromberger accepted this revision at 2016-10-03 20:05:12

shahms closed via commit 4e11f1c53536cc1f8690676478d639392e5fa793 at 2016-10-03 20:10:04


Relax pillow version restriction

Allow build with Pillow 6.x (6.0.0 for now).

Thanks @sunpoet! Merged in 02f3ae56969eb56201fbdc58e1c890351cdaa8b3.


Bind output size during decompression

During decompression, before writing the garbage data, bind the output to match the file plain text size. While this logic usually does nothing and seems unneeded, it matches the Lepton C++ implementation and solves a back-compat case for a JPEG file with trailing restarts that were missing in the original JPG.

Abandoning in a favor of Kristof's alternative solution


Implement OAuth2 PROVIDER

We need to implement an OAuth2 provider, not the consumer we already have for some platforms, with that third party tools like Drone can use the repositories quite easy. This works even for multiple repos at once without the need to provide deploy keys. Here you can see an explanation of Github how they did it: https://github.com/blog/1270-easier-builds-and-deployments-using-git-over-https-and-oauth
The library https://github.com/RangelReale/osin looks pretty promising for providing this functionality, we "just" need some models and a management UI for that :)

With http://openid.net/connect/ identity layer?  does osin support the new standards?

Project is dead, close.


Add PandA HDF writer

Adds in HDF writer for PandA, would not merge yet as relies on a few parts of PandABlocks-ioc that are in flux (@evalott100's working on this, namely a FlushNow record, and I think a few of the PVs like FullFileName, FileName etc will change soon).
Largely duplicates code from the AreaDetector HDF writer, happy to try and move things around so that it could be made more generic.
I've written some additional tests against a real detector running off the PandABlocks-ioc, not included here.
Also, are we happy for the PandA implementation to be outside of the epics subdirectory if it's currently using exclusively epics backend signals?

Have moved scalar datasets onto the PandaHDF so that the capturing PVs can be connected along with the others. If we don't like the use of setattr/getattr we can also do something like this https://github.com/bluesky/ophyd-async/pull/90/commits/7e38e155a30d37a1862bc76e9a1de559a9c55df7, but maybe overloading children() is ugly too.

@jsouter, @coretl, is it OK if we rebase this PR branch on main? It looks like it's out-of-date and not mergeable to main as is. @jwlodek and I are planning to use this branch for our NSLS-II work. Thanks!

Please disregard my request above - we need to address #140 before rebasing...

@mrakitin I'm currently working on an updated version of this, see https://github.com/bluesky/ophyd-async/tree/add_hdf_writer. Created a new branch as this PR is from a forked repo

Closing in favour of https://github.com/bluesky/ophyd-async/pull/141/files


Fix spacing and refactor code

Closing for now until we update tiledb-cloud-js with improved types


Automation providers features changes to support De-explorization of Ansible Tower Explorer

This PR has feature renaming of Automation Providers related features
Updates startpage URL for Ansible Tower explorer to point to the new location in second level menus
Updates OOTB user roles that by default had access to Ansible Tower explorer to have access to all three new sub menus.
Also includes changes to display count of Inventory Groups/Folders in Configured Systems list view as well as name of folder on the details view screen.

for https://github.com/ManageIQ/manageiq-ui-classic/issues/6819
Data Migration PR
UI PR
Cross Repo PR

@Fryguy can you review this pr?


Lambda exit without error when generating large PDF files

In AWS lambda function environment, the printToPDF function cannot finish when large html, e.g. > 200 pages is fetched. The PDF file for the same page can be generated when triggered in local environment (serverless invoke or AWS SAM).
I have contacted AWS support who acknowledged that it attributes to environment issues. However, AWS does not have the responsibilities to investigate the library though. Our investigation is still ongoing.
the chrome-err.log shows
Received signal 7 BUS_ADRERR
...(stack trace)...
Calling _exit(1). Core file will not be generated.

It is confirmed that --disable-dev-shm-usage has been flagged.
Library Version
"serverless": "^1.24.1",
"serverless-plugin-chrome": "1.0.0-53",
"serverless-webpack": "4.0.0",
"chrome-remote-interface": "0.25.3"

Does the Lambda function have enough memory?

Yes, the lambda function has been allocated with the maximum memory (3008MB) and the report shows that the maximum memory usage is less than 1GB

Hi @adieuadieu, Here's an investigation from AWS.
It turned out that chromeheadless attempts to write a big chunk in /tmp folder when attempting to generate a large PDF file. As a result, the lambda execution is terminated since it exhausts the 512MB /tmp disk space.
So far, we have not come up with a better solution besides moving it to a container.


Multi geo and tenant sync settIngs

Clearly call out if SPO tenant sync settings can be different in multi geo ??  Ie allow ODFB Mac sync

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

ID: 18f3a2c9-0399-218d-cf9a-eb0f16fcbbb0
Version Independent ID: da6ada6e-ce41-f772-74b8-144cf540d423
Content: Multi-Geo Capabilities in OneDrive and SharePoint Online in Office 365
Content Source: Enterprise/multi-geo-capabilities-in-onedrive-and-sharepoint-online-in-office-365.md
Service: o365-solutions
GitHub Login: @MikePlumleyMSFT
Microsoft Alias: mikeplum

@bakerm00 Thank you for this feedback
I agree these sync settings should be clerified.
I was able to get this into the backlog for the Enterprise team. The team will get this prioritized into a sprint plan. Thank you for reporting and making the docs better. Much appreciated.
I made a note to request the team to update this when the work is complete.


Change cursor color to white

It would be nice but not a big issue. but it would be nice.

I am adding a property cursorClassName to the Typing component, which will allow you to set styles on the cursor component, does this fit your use case?

This should be fixed in v1.3.0.

Can you paste code how to pass


[ENH] - Add user-friendly button to get back to JHub "home"

Feature description
Its non-intuitive to go: File -> Hub Control Panel to get back to the landing page which has Start/Stop Server and the header for Envrionment Management, User management, Grafana, etc.
As we are adding jhub apps as an optional landing page, we need to a way to make it more intuitive for folks to get back to this "home" page.
Is there a way to add items to the dropdown menus in JLab? So we could add more intuitive names (e.g. Home takes you back to the landing page).
Or would there be a way to add the current JHub header to the JLab interface?
Value and/or benefit
More intuitive interface for end users
Anything else?
No response

Or we have a Home button/icon in the menu bar.

cc: @krassowski since he might know more about JupyterLab customizability.

Is there a way to add items to the File menus in JLab?

Yes, this can be accomplished by dropping a JSON configuration file into a stardardised location (if you want users to be able to modify the menus), or by adding it from an extension (if you believe this is an important item and want to prevent user from accidentally removing it when fiddling with the settings). Happy to help here.

Or would there be a way to add the current JHub header to the JLab interface?

We could create a tiny extension that would do that, possibly styling it more in-line with other Jlab components; there is for example some space in the top bar (next to menu) where some control functions could be easily exposed. A separate header is also an option but it has UX and maintenance tread-offs.

So our bigger issue is that JHub and JLab have two independent menu structures.
Right now I think a link/icon back to 'Home' and another one for 'Environment Management' would be the simplest to do without solving the larger issue.

@marcelovilla

Yes, this can be accomplished by dropping a JSON configuration file into a stardardised location (if you want users to be able to modify the menus), or by adding it from an extension (if you believe this is an important item and want to prevent user from accidentally removing it when fiddling with the settings). Happy to help here.

@krassowski: is the first option referring to https://jupyterlab.readthedocs.io/en/stable/extension/extension_points.html#main-menu?

In principle yes, this is documenting the JSON format I was referring, but rather than defining a new menu you possibly could just change the label of the existing one; or disable the old entry one and add a new one. In that case you could use overrides.json file. For exact format reference I would just open JSON Settings Editor (not the UI form-based settings) and copy-paste from there.

Notes from the Nebari sync:

Add a menu item called "Home" before "File"
Rename "conda-store" to "Environments"/"Environment Management" which should link to the <deployment-url>/conda-store/

I was able to create a new menu item and add an item to go to the control pane using the following JSON:
{
    "menus": [
        {
            "id": "jp-mainmenu-home",
            "disabled": false,
            "label": "Home",
            "rank": 0,
            "items": [
                {
                    "command": "hub:control-panel",
                    "rank": 2
                }
            ]
        }
    ]
}

However, I have two concerns:

It does not seem like we can actually add a command to the menu item itself (Home in the screenshot) but rather only to its subitems (Hub Control Panel). This means that clicking on the Home item won't take the user to the Hub Control Panel; it will open up the menu and let the user click on the subitem to go the Hub Control Panel.
If we wanted to add another Menu Item to go to an arbitrary URL (e.g., conda-store) it does not seem like we can use the overrides.json file as it is expecting a preexisting command.

It does not seem like we can actually add a command to the menu item itself

That would not be a top-level menu itm but a button, right? The menu by definition should open a list of items and having a non-standard addition which behaves differently would go against the good UX practice and accessibility (https://www.w3.org/WAI/tutorials/menus/application-menus/); there is a lot of behaviour baked into the menu, for example when you open one and move mouse to the next one it activates; it would not be clear what should happen then if top-level items were allowed to be standalone buttons, nor .
That said, adding a button to the top bar can be done with a very simple extension; I would however suggest to style it slightly differently from the top-level application menu items. For that matter you could even replace the Jupyter Logo in the top left corner with a home button/icon.

If we wanted to add another Menu Item to go to an arbitrary URL

Yes, I would recommend adding a simple extension implementing the command. You could re-purpose help:open for opening URLs as tabs:
{
    "menus": [
        {
            "id": "jp-mainmenu-home",
            "disabled": false,
            "label": "Home",
            "rank": 0,
            "items": [
                {
                    "command": "help:open",
                    "args": {
                        "url": "https://google.com",
                        "text": "Open Jupyter.org"
                    },
                    "rank": 2
                }
            ]
        }
    ]
}

We could separate text and title argument in core JupyterLab.

https://github.com/nebari-dev/nebari/issues/2181

This seems to suggest that you want to change window.location.href? But you would still want to make an API call to change the default? Thus maybe a custom command is desirable. Sorry I do not have enough context yet.

@krassowski thank you for all your help; it has been really useful. As you might have noticed, I don't have any experience customizing Jupyterlab.
What I'm trying to achieve here is to create two UI elements (initially I thought Menu Items but your button suggestion sounds compelling) for the user to go to two URLs:

Home: in this case is the Hub Control Panel
Conda Store: in this case is `<deployment_url>/conda-store

For element 1, I can already leverage the hub:control-panel command and just specify that in the overrides.json file, just like in my previous example.
For element 2, the URL should be opened in another browser tab not a Jupyterlab tab; so while your suggestion of repurposing help:open works, it is not ideal.
I was trying to implement both UI elements using the overrides.json file because we are already using it in Nebari for other specific configurations and it would be a very straightforward approach (if feasible) to create these two UI elements. However, I am now wondering if at least for element 2, the only way to achieve it is via a Jupyterlab extension.

Or should we do a new menu item with

Nebari

Home
Environment Manager

I just found out that you can pass a newBrowserTab flag as an argument for the help:open command. Thank you @krassowski—that was a very good pointer.
@dharhas and @kcpevey what are your feelings about having two Menu Items with one subitem each that open the Hub Control Panel and conda-store? It would look something like this:

I personally believe that having two new Menu Items with just one subitem each is far from ideal and that a better alternative would be to have them as buttons. However, I think that would mean that we cannot use the overrides.json file for this and we would rather need to create two minimal extensions. I am unsure on how difficult would be to pack them with Nebari and make sure they are correctly installed (as I am assuming we won't create these extensions as exteneral dependencies like for example jupyterlab-conda-store).

Or should we do a new menu item with
* Nebari

  * Home
  * Environment Manager

This is easily achievable and we could add more subitems in the future if we have the need for it. Do you think this would make it more intuitive for users?

Agreed. For now we avoid a custom extension.
Let's make a menu item called "Nebari" and we put several links in there.
Ideally it should be the links we see in Hub/JHub-Apps services except Jupyter and VSCode

Launcher (Goes back to the Hub/Launcher Page)
Environment Management
User Management
Monitoring
Argo Workflows

For some deployments this might include MLFlow and other things. jhub-apps gets this list dynamically I think. @aktech or @jbouder can you clarify where jhub-apps gets its services list from.

Open questions should we put the menu item before File or at the rightmost end of the menu bar.

@dharhas those values are currently provided to the UI by the jhub_apps endpoint. I believe they're provided through a config on the backend.

Open question should we put the menu item before File or at the rightmost end of the menu bar.

For me it would make more sense to have it as the last item (i.e., rightmost) of the Menu but I can be talked into putting it first.

I agree. Putting it before File doesn't feel right :)

@marcelovilla for this release lets hardcode the list I mentioned earlier. We will worry about a dynamic list for the next release.


Proposed values.yaml for a cluster chart + some basic chart setup

The key controversial point is the mode parameter I propose that would define an entirely different initialization behaviour of the cluster.
My proposal is the following modes of operation:

standalone
replica_cluster - https://cloudnative-pg.io/documentation/current/replica_cluster/
recovery - https://cloudnative-pg.io/documentation/current/bootstrap/#bootstrap-from-a-backup-recovery
recovery_external - https://cloudnative-pg.io/documentation/current/bootstrap/#recovery-from-an-object-store
recovery_pg_basebackup - https://cloudnative-pg.io/documentation/current/bootstrap/#bootstrap-from-a-live-cluster-pg_basebackup

I propose we review it and make changes. If we agree on a version of it, we could use it as a starting point for the remainder of the chart.

IMHO we need to differentiate use cases between replica cluster and recovery (full or PITR). I would therefore consider these two main possibilities:

replica cluster (meaning that replica must be enabled):

via recovery object store, with optional streaming async replication
streaming only (using pg_basebackup and streaming replication)

recovery from an object store:

full
PITR (target specification)

Ideally, in the replica cluster we should be able to provide the full topology of the distributed cluster, meaning that the external servers component should be the same on all clusters.
For the replica cluster, I would rather start with the bootstrap from the recovery object store - I honestly do not see practical use cases having a replica cluster without backups configured.
As a result, we can come up with 3 use cases:

standalone
replica cluster (from object store, with streaming - optional)
recovery (full or PITR, based on target specification)

Sounds reasonable?

I just pushed an alternative based on your feedback.
##
# Cluster mode of operation. Available modes:
# * `standalone` - default mode. Creates new or updates an existing CNPG cluster.
# * `replica` - Creates a replica cluster from an existing CNPG cluster. # TODO
# * `recovery` - Same as standalone but creates a cluster from a backup, object store or via pg_basebackup. # TODO
mode: standalone

##
# Recovery settings if the chosen mode is `recovery`.
recovery:
  ##
  # Available recovery methods:
  # * `backup` - Recovers a CNPG cluster from a CNPG backup (PITR supported) Needs to be on the same cluster in the same namespace. # TODO
  # * `object_store` - Recovers a CNPG cluster from a barman object store (PITR supported). # TODO
  # * `pg_basebackup` - Recovers a CNPG cluster viaa streaming replication protocol. Useful if you want to
  #        migrate databases to CloudNativePG, even from outside Kubernetes. # TODO
  method: backup

Closed in favor of #106


Wrong Demo Result

Hi, great work.
I have a simple question with the demo code. When I run the demo.py with my image, the result looks like not fit on image. I just changed crop_bbox parameter from config and I connot find any other parameter for this
Terminal command I used:
python demo/image_demo.py demo/image_910.jpg configs/clrernet/culane/clrernet_culane_dla34_ema.py clrernet_culane_dla34_ema.pth --out-file=result.png
Parameter which I changed:
crop_bbox = [0, 0, 1640, 590]

Also I got different error when I changed img_scale:
/home/docker/.pyenv/versions/3.8.4/lib/python3.8/site-packages/mmcv/__init__.py:20: UserWarning: On January 1, 2023, MMCV will release v2.0.0, in which it will remove components related to the training process and add a data transformation module. In addition, it will rename the package names mmcv to mmcv-lite and mmcv-full to mmcv. See https://github.com/open-mmlab/mmcv/blob/master/docs/en/compatibility.md for more details.
  warnings.warn(
load checkpoint from local path: clrernet_culane_dla34_ema.pth
The model and loaded state dict do not match exactly

missing keys in source state_dict: bbox_head.loss_seg.criterion.weight, bbox_head.seg_decoder.conv.weight, bbox_head.seg_decoder.conv.bias

/home/docker/mmdetection/mmdet/apis/inference.py:51: UserWarning: Class names are not saved in the checkpoint's meta data, use COCO classes by default.
  warnings.warn('Class names are not saved in the checkpoint\'s '
Traceback (most recent call last):
  File "demo/image_demo.py", line 36, in <module>
    main(args)
  File "demo/image_demo.py", line 29, in main
    src, preds = inference_one_image(model, args.img)
  File "/work/libs/api/inference.py", line 53, in inference_one_image
    results = model(return_loss=False, rescale=True, **data)
  File "/home/docker/.pyenv/versions/3.8.4/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1130, in _call_impl
    return forward_call(*input, **kwargs)
  File "/home/docker/.pyenv/versions/3.8.4/lib/python3.8/site-packages/mmcv/runner/fp16_utils.py", line 119, in new_func
    return old_func(*args, **kwargs)
  File "/home/docker/mmdetection/mmdet/models/detectors/base.py", line 174, in forward
    return self.forward_test(img, img_metas, **kwargs)
  File "/work/libs/models/detectors/clrernet.py", line 55, in forward_test
    x = self.extract_feat(img)
  File "/home/docker/mmdetection/mmdet/models/detectors/single_stage.py", line 43, in extract_feat
    x = self.backbone(img)
  File "/home/docker/.pyenv/versions/3.8.4/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1130, in _call_impl
    return forward_call(*input, **kwargs)
  File "/work/libs/models/backbones/dla.py", line 427, in forward
    x = self.model(x)
  File "/home/docker/.pyenv/versions/3.8.4/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1130, in _call_impl
    return forward_call(*input, **kwargs)
  File "/work/libs/models/backbones/dla.py", line 385, in forward
    x = getattr(self, 'level{}'.format(i))(x)
  File "/home/docker/.pyenv/versions/3.8.4/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1130, in _call_impl
    return forward_call(*input, **kwargs)
  File "/work/libs/models/backbones/dla.py", line 265, in forward
    x1 = self.tree1(x, residual)
  File "/home/docker/.pyenv/versions/3.8.4/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1130, in _call_impl
    return forward_call(*input, **kwargs)
  File "/work/libs/models/backbones/dla.py", line 72, in forward
    out += residual
RuntimeError: The size of tensor a (117) must match the size of tensor b (116) at non-singleton dimension 2

Thank you.
Firstly, the following test_cfg parameters and the values of crop_bbox have to coincide.
https://github.com/hirotomusiker/CLRerNet/blob/main/configs/clrernet/base_clrernet.py#L76-L78
Specifically, you can change cut_height=270, to cut_height=0,.
Secondly, please make your width and height of img_scale divisible by 32 to avoid the RuntimeError. This occurs when the tensor 's spatial size changes through convolutions and does not match the size of the tensor that comes through skip connection.

Everything look good now, thanks for clear and fast answer.


Connection Errors when using self-signed SSL cert

Been trying to follow a few guides on modifying the certs for the server (I won't lie, I'm not too keen on certs and the whole setup) such as http://serverfault.com/questions/453959/gitblit-using-cert-for-ssl, but anytime I import a new keypair into the keystore and attempt to connect to the server I get
Attackers might be trying to steal your information from  (for example, passwords, messages, or credit cards). NET::ERR_CERT_INVALID
I have tried importing both p12 and pfx, both to no avail. I have also tried importing a generated cert into the serverTrustStore, thinking maybe it thought things were being spoofed. I want to clarify this cert is not generated through the "authority", but rather a self-published cert within our domain.

Hi Robert, this is normal for a self-published certificate. It is possible to get free certificates from a signed authority which would then avoid this type of message.  You may like to check out https://letsencrypt.org/

This server is remaining 100% internal, and on our network, we have this certificate publication set to be automatically verified. I'm assuming it's a conflict between Gitblit Certificate Authority vs. our network Certificate Authority?

If you are using a signed-cert from your own authority then you don't need the Gitblit CA.
Have you confirmed that the cert presented to the browser is the one signed by your internal CA?
Is your browser configured to trust your internal CA's root certificate?

Yes. If I attempt to use that certificate only I get errors attempting to run Gitblit. What should be done with the certificate in this case then?

I'll assume yes is the answer to the second question.  I'm interested in the error produced by "If I attempt to use that certificate only".  I would guess it has to do with the configured alias.  Maybe you can share the error.

Hmm...I'm having issues replicating the error from before. I hate to be a burden, but can you give me a quick walkthrough of what I should be doing? Should I be generating the keyStore through the authority and then modifying the key-pair in the keystore? If I don't have a KeyStore generated the program appears to automatically generate one for me and use that as the default.

Yes, that is how it behaves - autogeneration of a working self-signed cert.
If you have your own signed cert with the trust chain, collect all those certs (pem, crt, whatever extension) and use KeyStore Explorer to create a new keystore.  Reconfigure Gitblit to use your new keystore and make sure to set the appropriate server.certificateAlias to the appropriate Keystore key name.  By default Gitblit looks for a certificate using the key name "localhost" - if that is not found then Gitblit may throw an exception.  Don't forget to also configure Gitblit with the passwords for your keystore and make the password for the cert match the password for the keystore itself.

Still getting the invalid certificate error. I will just revert to the Gitblit Cert Authority way, I must be naming something wrong or issuing the certs incorrectly.


Github Action change: Publish the correct directory

Hi @RawZ06
I really like this project. Its one of the best looking file trees that are aiming to look like vs code! However its kind of tricky to use since the NPM package you distribute with your GitHub action workflow includes the wrong directory. The NPM package is sadly unusable as it gets generated right now. (Also mentioned in #1 )
In this PR, i made some changes in the main.yml file to fix this. I also made other small improvements:
Changes i made and why i made them:
I used cd dist/ngx-monaco-tree to change into the right directory before publishing
This way the package becomes usable.
before:

after (i renamed the package for me to test it):

I moved the build step after the increment version step
In the current state, you increment the version of the package after you build the dist. This way, the new version is not included in the files that should be published. With this change the package.json file gets incremented before the build and is therefore included in the package.
I sperated the increment version step and the publish step
I did this to make the file more structured and to better separate different processes.
i did general improvements to the file

i added empty lines between the steps
i added names to the steps

Oh. One more thing i forgot to mention. I also added the package-lock.json
NPM recommends developers to always commit this file. You can read more about this here

Thank you for your fix 😍
I merge right now


Build in Android Studio (Gradle multidex)

Preamble:
We have big projects with 150.000+ references. So we use Gradle export https://dl.dropboxusercontent.com/u/1210840/ShareX/2017/01/chrome_2017-01-24_19-52-42.png
And then in gradle conf we enable multidex
        dependencies {
	compile fileTree(dir: 'libs', include: ['*.jar'])

       compile 'com.android.support:multidex:1.0.1' }

   android {
	compileSdkVersion 25
	buildToolsVersion '24.0.3'

	dexOptions {
		javaMaxHeapSize "4g"
	}

	defaultConfig {
		targetSdkVersion 25
		multiDexEnabled true
	}

Problem:
We tried to integrate Firebase into the empty Unity Project. If we use default build system, all works fine.
But if we export and open in Android Studio we have many errors:
Error:(20, 33) No resource found that matches the given name (at 'label' with value '@string/app_name').
Error:Execution failed for task ':firebase-messaging-unity-1.1.1:processDebugResources'.
> com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command 'C:\asdk\build-tools\25.0.0\aapt.exe'' finished with non-zero exit value 1

Its very strange error because https://dl.dropboxusercontent.com/u/1210840/ShareX/2017/01/studio64_2017-01-24_20-05-29.png
To fix this we need copy strings.xml to firebase-messaging-unity-1.1.1
https://dl.dropboxusercontent.com/u/1210840/ShareX/2017/01/studio64_2017-01-24_20-08-14.png
When we have:
Error:Execution failed for task ':processDebugManifest'.
> Manifest merger failed : uses-sdk:minSdkVersion 14 cannot be smaller than version 15 declared in library [FirebaseTest:firebase-common-10.0.1:unspecified] C:\Repos\FirebaseTest\2\FirebaseTest\build\intermediates\exploded-aar\FirebaseTest\firebase-common-10.0.1\unspecified\AndroidManifest.xml
	Suggestion: use tools:overrideLibrary="com.google.firebase" to force usage

If we solve this. When we have:
Error:Execution failed for task ':processDebugResources'.
> Error: more than one library with package name 'com.google.firebase'

"Firebase" module and "firebase-common-10.0.1" module in Androidmanifest have same  package="com.google.firebase"
Tell me how to solve this problem?

The `Error:Execution failed for task ':processDebugResources'.

Error: more than one library with package name 'com.google.firebase'problem looks like a bug on our end.  This is a dummy AndroidManifest.xml to work with Unity's old build system, you can change the package name tocom.google.firebase.unity` to workaround this error.

The Manifest merger failed : uses-sdk:minSdkVersion 14 cannot be smaller than version 15 is very bizzare as we support API level 14 and above (see https://android-developers.googleblog.com/2016/11/google-play-services-and-firebase-for-android-will-support-api-level-14-at-minimum.html) .  I just took a look at a local project and I'm seeing the highest requirement set to <uses-sdk android:minSdkVersion="14" android:targetSdkVersion="22" /> as expected.  Have you taken a look at the merged AndroidManifest.xml to see which component is causing this?
The messaging AAR is located in Assets/Firebase/m2repository/com/google/firebase/firebase-messaging-unity.  Copying just the strings.xml is a very bad idea, things will not work.  You should be able to add Assets/Firebase/m2repository as a maven repo at the top of your Gradle file which would allow it to find firebase-app-unity and firebase-messaging-unity which include the proguard rules required for the plugin, in addition the messaging AAR includes the messaging service implementation.

uses-sdk:minSdkVersion 14 cannot be smaller than version 15 is very bizzare as we support API level 14

This small problem and yes we solve this by rewrite
sdk android:minSdkVersion="14" android:targetSdkVersion="22" />
to android:minSdkVersion=15 because all our projects use this.

Copying just the strings.xml is a very bad idea, things will not work.

Turns out the number of modifications you need to make should be pretty minimal - at least with our sample application - I've lined up fixes internally to hopefully get into our next release.  I tested this out with Unity 5.5.0f3.

Replace firebase-messaging-unity-1.1.1.srcaar with the attached file.  This simply changes a line in the AndroidManifest.xml from <application android:label="@string/app_name"> to <application>.  This works around problems a missing reference to merging this package.
Delete Assets/Plugins/Android/firebase-messaging-unity-1.1.1 which should result in the Play Services Resolver component expanding it with the updated component.
Replace Assets/Plugins/Android/Firebase/AndroidManifest.xml with the attached file.  This changes a line in the AndroidManifest.xml from package="com.google.firebase" to package="com.google.firebase.unity".
Run the Android Resolver (use the Assets --> Play Services Resolver --> Android Resolver --> Resolver Client Jars menu option).
Export the Android Studio project.
(We're working on a better solution for this step) Copy the contents of Assets/Plugins/Android/Firebase/libs/ to your_android_studio_project/src/main/jniLibs

messaging_android_studio_patch.zip


Invert isLeftToRight in CalloutCanvasLayer

Invert isLeftToRight in CalloutCanvasLayer when calculateDisplacementFromBottom == true.

Check if other layers calculates a isLeftToRight and need fix.

This is how picks collide now for wells with displacement calculated from bottom.

Here is an example when isLeftToRight is negated:

Need to implement negation when IntersectionReferenceSystem.options.calculateDisplacementFromBottom == true.
https://github.com/equinor/esv-intersection/blob/5851be8c0316d36e72e803bead3e57f72ca5a778/src/layers/CalloutCanvasLayer.ts#L94.

This solved it for me:
const isLeftToRight = this.options.referenceSystem.options.calculateDisplacementFromBottom ? xBounds[0] < xBounds[1] : xBounds[0] > xBounds[1];

We should check and fix if GeomodelLabelsLayer and other layers has any isLeftToRight check.


Add Anti Aliasing for InvertedResidual Blocks, MobileNetV3

Addresses #599
Continuing the conversation from the issue here.
I've added BlurPool2d as the default aa_layer. Should I change this to AntiAliasDownsampleLayer? I saw your comment here about wanting to merge the two into the latter.

The default configs for the model have no url, but I checked if we could load the pretrained weights from other models, and that's possible with the following snippet:
from timm.models.mobilenetv3 import default_cfgs

pt_arch = 'mobilenetv3_large_100_miil'
default_cfgs['mobilenetv3_large_100_aa'] = default_cfgs[pt_arch]

model = mobilenetv3_large_100_aa(pretrained=True)

As you mentioned, this could come in handy for fine-tuning purposes.

BUT I'd want to see at least one model trained from scratch to better than original accuracy to merge

Speaking from personal experience, the consistency gained when predicting on consecutive video frames is a huge bonus, and worth the runtime penalty (even if there is a marginal accuracy drop). Given that these are separate archs, would you still not want to merge it?

I'll run some experiments on my machine, but need a couple of days to figure out downloading ImageNet. This will be my first time training a model on ImageNet from scratch. Would you recommend the same hparams as in the docs?:
./distributed_train.sh 3 /imagenet/ --model mobilenetv3_large_100 -b 512 --sched step --epochs 600 --decay-epochs 2.4 --decay-rate .973 --opt rmsproptf --opt-eps .001 -j 7 --warmup-lr 1e-6 --weight-decay 1e-5 --drop 0.2 --drop-connect 0.2 --model-ema --model-ema-decay 0.9999 --aa rand-m9-mstd0.5 --remode pixel --reprob 0.2 --amp --lr .064 --lr-noise 0.42 0.9

For reference, I'll be training on 3x 3090s using NGC 20.12
Thanks!

@rwightman After the brief hiccup in #606, I launched a run with the same hparams mentioned in the docs. It's quite interesting to see how EMA accuracy starts beating the unaveraged weights' acc post ~ epoch #75.
I'm at Epoch #82, and top-1 accuracy (EMA) is already at 69.4%. Is this in line with your experience training such models? I'm trying to understand what are reasonable expectations for the accuracy vs. epoch plot to look like, as this is set to run for 600 epochs. Do you start to see convergence at about epoch #300? #500?

@rsomani95 yes, that's fairly normal, EMA will race ahead for the middle part of training, large gains in early part, then it's painfully slow and sometimes goes down for quite awhile before a final uptick. The ema and non-ema results will converge later in training with EMA usually keeping a lead

@rsomani95 reasonable chance you'll see the peak result in the 400-500 epoch timeframe, it can be difficult to judge 'when' though

Got it. That's super interesting.

@rwightman converged to 75.95 top-1 at epoch 515 (EMA).
I've uploaded it to Dropbox here

@rsomani95 I likely caused some merge conflicts w/ refactoring related to adding efficientnetv2 official impl. I can do the fixup/cleanup when it's ready to merge after your next runs.

Noted @rwightman. I haven't been able to launch the next run yet as the system's been occupied with some client project tasks. Given the run takes 4 days, I hesitate to "fire and forget". Is it alright if it takes me another 2-2.5 weeks or so to launch the next run?

@rsomani95 no worries re timing, my stack of todos is ever increasing as well :)

@rwightman I'm unsure what's the right approach towards downsampling the stem. If I understand correctly, the principle when applying blur pooling to a network is to ensure that the shapes of the output feature maps are respected. Typically, all conv2d layers with stride=2 are replaced with stride=1 followed by blur pooling; while this is done in all the Bottleneck / Residual blocks, the stem seems to be handled differently.
In the original mobilenet-v2 implementation by Adobe, they do not apply blur pooling to the stem (which does have stride=2):
from antialiased_cnns import mobilenet_v2 as mobilenet_v2_aa
mobilenet_v2_aa()

MobileNetV2(
  (features): Sequential(
    (0): ConvBNReLU(
      (0): Conv2d(3, 32, kernel_size=(3, 3), stride=(2, 2), padding=(1, 1), bias=False)
      (1): BatchNorm2d(32, eps=1e-05, momentum=0.1, affine=True, track_running_stats=True)
      (2): ReLU6(inplace=True)
    )
    ...

Presumably, this is to prevent a massive slowdown given it's the first conv layer?
In the ResNet examples in this repo too, no blur pooling is applied after the first conv layer with stride=2:
timm.create_model('resnetblur50')

ResNet(
  (conv1): Conv2d(3, 64, kernel_size=(7, 7), stride=(2, 2), padding=(3, 3), bias=False)
  (bn1): BatchNorm2d(64, eps=1e-05, momentum=0.1, affine=True, track_running_stats=True)
  (act1): ReLU(inplace=True)
  (maxpool): Sequential(
    (0): MaxPool2d(kernel_size=3, stride=1, padding=1, dilation=1, ceil_mode=False)
    (1): BlurPool2d(
      (padding): ReflectionPad2d([1, 1, 1, 1])
    )
  )
  ...

Given the above, should the stem for mobilenet-v2 be left untouched?
PS - I'd pre-emptively added an aa layer after the stem which is reflected in the last 1-2 commits; that implementation is incorrect and I'll correct it based on this conversation.

@rsomani95 for the other net archs, the first stride 2 conv is not anti-aliased either..ie for ResNet the first stride=2 is left alone, and only the maxpool is dealt with which is the second reduction in the net. As you say, probably because the accuracy gain vs speed tradeoff isn't there for the 1st reduction.

@rwightman got it, in that case perhaps it makes sense not to add anti aliasing to the mobilenet-v3 stem?
timm.create_model('mobilenetv3_large_100_aa')

MobileNetV3(
  (conv_stem): Conv2d(3, 16, kernel_size=(3, 3), stride=(2, 2), padding=(1, 1), bias=False)
  (bn1): BatchNorm2d(16, eps=1e-05, momentum=0.1, affine=True, track_running_stats=True)
  (act1): HardSwishMe()

  # Add AA to following Conv layers with stride=2
  (blocks): Sequential(
      ...

On main now.


how to map column to a nested class attribute ?

public class Counter
{
    public CounterType Type { get; set; }
}
public class CounterType
{
    public int Id;
}

i have a table counter with column type and i want to map type column to Type.Id, can i do this with fluent mapping ? if not how ?
thanks
EDIT sorry i was not clear , i want to know how to map nested object with fluent mapping

I reckon this should work.
It should generate the sql.
select counterid, typeid from counter
and will map the typeid in the nested class.
If you don't have the empty string then it will prefix the column name with the property name type so you would get the column type_typeid.
For<Counter>()
    .TableName("Counter")
    .PrimaryKey(x => x.CounterId)
    .Columns(x =>
    {
        x.Column(y => y.Type).ComplexMapping("");
    });

For<CounterType>()
    .Columns(x =>
    {
        x.Column(y => y.Id).WithName("typeid");
    });

Let me know.


alert box appeared when logged in should be improved

Instead of permanent alert on the the blog page when logged we use the DISMISING alert.

It comes under the #4 issue. You can solve it there only. There's no need of a new issue @sd8917

okk thanks


Layout issues on Edge browser

Using Windwos 10 Edge browser, admin page layout is incorrect.

This way you can not get to Databases page or create a new database.

@mvadu I dont think this is an error. To create a new database you issue a
create database <name of database>

command in the query box.

Oh.. okay, at work I created my first DB using Curl, and then visited the admin page. At home I visited the admin page first, and got confused. Thanks for that.

Anytime. Glad to hear things are working.


Latest version of Django available in snippet dropdown is Django 3.2

Screen shot of snippets/add/

Yes, good one.
The settings CAB_VERSIONS could do with an update.

I second this @dawnwages

I had a moment so #491


Fix Calc so that quad(a,b,c)[0] works

Right now it gives "< null >", even though d=quad(a,b,c);d[0] works fine.

Similar problem with f().member

The new tests:
quad(1, -1, -1)[0] -> 1.618033988749894848204586834365638
set = {os: {ver: '7.3', major: 7, minor: 3}} -> { os: { ver: "7.3", major: 7, minor: 3 } }
Defining function i = {set.os}
i().ver -> "7.3"


docs: homepage changes

few changes on homepage for SEO as requested by marketing

where is this coming from? are the changes proposed by someone else or are they coming from you? it feels weird to bend the homepage like this just because of SEO (and i have doubts it will have any positive effect, homepage is just one page, and adding the word "python" and "web" all over it won't make things better anyhow). i cant say i like the changes.
also note that we plan to rework the homepage to be shared for both js and python, those changes will likely be overridden anyway.
this should be somehow coordinated, we cant just change catchphrases on homepage because someone doesn't like some SEO report. not to mention some of those changes are going against what was there before. e.g. we already had a long title, it was changed to what we have now because it was too long. now you made it longer than before.

@B4nan its from marketing, check here: https://apify.slack.com/archives/C03NESUMYQN/p1726825030526109?thread_ts=1718803289.053979&cid=C03NESUMYQN


⚠ Faculté génie website (prod) has degraded performance

In 06b97dc, Faculté génie website (prod) (https://www.usherbrooke.ca/genie/) experienced degraded performance:

HTTP code: 200
Response time: 1263 ms

Resolved: Faculté génie website (prod) performance has improved in 4cb52fb.


Data preprocessing?

Hello. Thanks for uploading the code.
But can you also upload how you preprocessed the data?
I would like to reproduce your results from raw data.
Thank you.

same problem here！  大哥能给点回复吗？


not working out of the box (Win10)

npm install -save-dev react-doc-generator
<EMAIL_ADDRESS>E:\capokey
`--<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>deduped
  | `--<EMAIL_ADDRESS>  |   `--<EMAIL_ADDRESS>  `--<EMAIL_ADDRESS>
then:
npm run react-doc-generator src -o DOCUMENTATION.md
npm ERR! missing script: react-doc-generator

npm ERR!      C:\Users\pm\AppData\Roaming\npm-cache\_logs\2017-09-05T10_27_38_117Z-debug.log

+1 Same issue here on Mac OS X.

With -g, it still doesn't work for me on Win10

Yeah the only thing that worked for me is going into the node_module of react-doc-generator itself and running react-doc-generator {src} -o "DOC".md

Had the same issue then I installed the module with -g and it worked as expected

https://github.com/CezaryDanielNowak/react-doc-generator
Please checkout this, works on Windows and has several improvements.

Thanks.
Meanwhile I switched to svelte.


General Refactors for K8s hosting

Is your feature request related to a problem? Please describe.
Thanks for the effort on this app, it does a lot of what I want!
In order to host in Azure Kubernetes Service, the solution needs a few refactors, mainly around logging to conform to https://12factor.net/logs and in particular write to stdout to make pod debugging significantly easier
Would need to add liveness and heath check endpoints for the k8s to manage + a few other bits.  I'm happy to pick this up and will raise a series of small, incremental PRs that reference this issue, if that's OK with you.
There are some additional patterns you could take more advantage of, i.e.

A lot of your classes seem to use static methods extensively. If you used instances and let DI create them, then you could inject other items (such as ILogger),

This would need a gradual unwind as patterns like this tend to propagate out into the codebase.

Quite a lot of duplication - some general extractions and tidy up would reduce code considerably.

try/catch - a global handler could probably do a lot of the work and achieve what you want, which would unwind the repeated try/catches through the layers.

Overall - there's a few approaches that would reduce the amount and complexity of the code, and hopefully make it easier to maintain. If you're not against these, I'll contribute small changes that aim for these goals over time.
Additional context
Add any other context or screenshots about the feature request here.

Hi Dylan,
First off, thank you for the contributions and suggestions! We are definitely open to any contributions to make our tool better, and be a cleaner, more efficient codebase. The recommendations you have made make a lot of sense and I think could really improve the code. We are definitely open to you submitting updates if you think they will be improve the tool and make it a better solution.
For the contributions, we have a defined PR process where all PRs are submitted to the dev branch, then merged into the main after through testing/approval. If possible, can you update your PR to be to the dev branch?  Thank you!

Bryan

I'm going to close this as although it states intent, I'll create more targeted issues that I can raise PRs against + will just reference this for a bit of history, otherwise this issue will hang around for ages.


How to use #1

I really dont know how to use these.
https://gyazo.com/7f9913af0fa391c1ca9f2b47a0f1671c

click the slot you want to modify on the left, then modify it on the right.


ERROR: The install method you used for conda--probably either pip install conda

Hi,
I tried to install Hermione example and got the following error:
Creating conda virtual environment hermione_prj
ERROR: The install method you used for conda--probably either `pip install conda`
or `easy_install conda`--is not compatible with using conda as an application.
If your intention is to install conda as a standalone application, currently
supported install methods include the Anaconda installer and the miniconda
installer.  You can download the miniconda installer from
https://conda.io/miniconda.html.

Do I still need to download miniconda if I'm already installed anaconda?
I don't have any problems installing new conda environments.
The conda environment is  bellow

conda environment
Name                    Version                   Build  Channel
_libgcc_mutex             0.1                 conda_forge    conda-forge
_openmp_mutex             4.5                       0_gnu    conda-forge
ca-certificates           2020.6.20            hecda079_0    conda-forge
certifi                   2020.6.20        py37hc8dfbb8_0    conda-forge
chardet                   3.0.4                    pypi_0    pypi
conda                     4.3.16                   pypi_0    pypi
hermione-ml               0.1.5                    pypi_0    pypi
idna                      2.10                     pypi_0    pypi
ld_impl_linux-64          2.34                 h53a641e_5    conda-forge
libffi                    3.2.1             he1b5a44_1007    conda-forge
libgcc-ng                 9.2.0                h24d8f2e_2    conda-forge
libgomp                   9.2.0                h24d8f2e_2    conda-forge
libstdcxx-ng              9.2.0                hdf63c60_2    conda-forge
ncurses                   6.1               hf484d3e_1002    conda-forge
openssl                   1.1.1g               h516909a_0    conda-forge
pip                       20.1.1                     py_1    conda-forge
pycosat                   0.6.3                    pypi_0    pypi
python                    3.7.6           cpython_h8356626_6    conda-forge
python_abi                3.7                     1_cp37m    conda-forge
readline                  8.0                  hf8c457e_0    conda-forge
requests                  2.24.0                   pypi_0    pypi
ruamel-yaml               0.16.10                  pypi_0    pypi
ruamel-yaml-clib          0.2.0                    pypi_0    pypi
setuptools                49.1.0           py37hc8dfbb8_0    conda-forge
sqlite                    3.32.3               hcee41ef_0    conda-forge
tk                        8.6.10               hed695b0_0    conda-forge
urllib3                   1.25.9                   pypi_0    pypi
wheel                     0.34.2                     py_1    conda-forge
xz                        5.2.5                h516909a_0    conda-forge
zlib                      1.2.11            h516909a_1006    conda-forge

Hello @sephib . Sorry for the late response. Could you provide a reproducible code so we can reproduce the error? Hermione should work fine with Anaconda, no need to install miniconda too.
Thanks.

Hi @neylsoncrepalde - currently I'm not able to reproduce this issue, so i'll close it for now.