Not all the email templates available in the product is shown for branding under email templates in the Console

Describe the issue:

Example:

Verification mail at the email value update in the profile

Email update notification at the email value update in the profile

How to reproduce:
All the email templates available in the product should come for the customization in the console
Expected behavior:

Environment information (Please complete the following information; remove  any unnecessary fields) :

Product Version: [e.g., IS 5.10.0, IS 5.9.0]
OS: [e.g., Windows, Linux, Mac]
Database: [e.g., MySQL, H2]
Userstore: [e.g., LDAP, JDBC]

Optional Fields
Related issues:

Suggested labels:

Closing the issue as it's fixed in IS 7.0.0-alpha2.
Related issue: https://github.com/wso2/product-is/issues/17250
Related PRs:

https://github.com/wso2/carbon-identity-framework/pull/5072
https://github.com/wso2/identity-apps/pull/4489


vesktop: passthru pnpm dependencies

Description of changes
This should make it a bit more convenient building the pnpm-deps on different platforms, without having to pull in large dependencies of the package.
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.05 Release notes)

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

[x] Fits CONTRIBUTING.md.

See #265659


fix: fix typo in reservations list

Fixes #283 by adding a missing ) in the reservations list.
Note: the text is currently hidden because of the problems described in #242.

Sure, here it is:

I've increased the height of the element in the browser devtools to make the text visible.


Bins are still able to duplicate items.

As you have implemented, Bins are no longer able to stack. However, there is a work around that still allows for duplication but not in the same way as the previous issue #2682.

Mekanism version <IP_ADDRESS>
ETA: Should note that there are even more funky things going on here. If you shift + click, it will duplicate the bins with the stacks in it as well and also will most of the time cause your game to crash.

May I suggest changing bins to have a GUI accessible from the hot bar (like various bags, backpacks, satchels, etc)?

Added a check- bin crafting recipe no longer works when the stack size is greater than one.  I think the crafting interaction is much more efficient than an interface.


[OpenSearch] Pass ids using from_texts and indexname in add_texts and search

Description
This PR makes the following changes to OpenSearch:

Pass optional ids with from_texts
Pass an optional index name with add_texts and search instead of using the same index name that was used during from_texts

Issue
https://github.com/langchain-ai/langchain/issues/10967
Maintainers
@rlancemartin, @eyurtsev, @navneet1v

lgtm, thanks @naveentatikonda!

@baskaryan in which version of langchain this change will be available?


A profanity filter would be helpful.

A profanity filter would help keep the app safe and accessible to all ages in my opinion.

Thanks for the suggestion, I'll try to integrate a profanity filter.

Feature added in v0.80.0


Dynamic Sitemap Generation from External Server not working in production on same machine

🐛 The bug
This is a bit of an odd one, I do have an open discord thread for faster conversing if it would help in the official nuxt discord: https://discord.com/channels/473401852243869706/1268206495007510590/1268206495007510590
In my nuxt.config.ts I have the following, where the URL endpoint returns an array of correctly formatted sitemap objects. I know this because when running the site locally with npm run dev it works great. I know this because in localhost I can see 3615 URL's pulled from the production API.
      sources : [
          'https://api.mcmodels.net/urls'
      ],
        cacheMaxAgeSeconds: 3600,
        xslColumns: [
            { label: 'URL', width: '50%' },
            { label: 'Last Modified', select: 'sitemap:lastmod', width: '25%' },
            { label: 'Priority', select: 'sitemap:priority', width: '12.5%' },
            { label: 'Change Frequency', select: 'sitemap:changefreq', width: '12.5%' },
        ],
    },

Note that since those screenshots I've removed the priority column from the sitemap page just to ensure the production server was building and receiving those changes properly, and it indeed is.
That same code is being ran full SSR on the production site at https://mcmodels.net/sitemap.xml yet it's not pulling any of the dynamic URLs.
And as you can see the sources URL is working well, especially known since it works great in localhost hitting the production backend server at https://api.mcmodels.net/urls
My only suspicion of this bug is that it doesn't like the "External" api being on the same IP?
🛠 To reproduce
https://stackblitz.com/edit/nuxt-starter-thnwmt?file=nuxt.config.ts
🌈 Expected behavior
I can't reproduce in the stackblitz because simply exchanging the sources URL that I have working locally works just fine.
I expect production to match what local looks like, as I'm not sure why it doesn't. All I can think of is that the module doesn't like pulling "external" api data from the same machine since the backend is hosted on the same server?
ℹ Additional context
I have no idea what to produce to help out with what I've done wrong, the fact that it works locally with my backend and in stackblitz has me at a loss.

As a followup, I found a workaround that works but would still be nice to get this issue fixed. I made my nuxt.config.ts have
        '/api/__sitemap__/urls'
    ],```

    to basically point to internal file, and that file:

    ```export default defineSitemapEventHandler(async () => {
    try {
        const response = await fetch('https://backend.api.url/urls');
        const data = await response.json();

        if (Array.isArray(data)) {
            return data;
        } else {
            console.error('Unexpected data format from backend.api.url/urls');
            return [];
        }
    } catch (error) {
        console.error('Error fetching sitemap data:', error);
        return [];
    }
})```

calls the same endpoint. This seems to work just fine.

I have the same problem. In the development environment it works well, but in production it does not return dynamic urls.
File nuxt.config.ts:
`
export default defineNuxtConfig({
modules: ['@nuxtjs/tailwindcss', '@pinia/nuxt', '@nuxt/image', 'nuxt-gtag', "@nuxtjs/sitemap"],
sitemap: {
exclude: ['/admin/', '/user/', '/auth/**'],
sources: [${apiUrl}product/seo/sitemap]
},`
package.json:
{   "private": true,   "scripts": {     "build": "nuxt build",     "dev": "nuxt dev",     "generate": "nuxt generate",     "preview": "nuxt preview",     "postinstall": "nuxt prepare"   },   "devDependencies": {     "@nuxt/image": "rc",     "@nuxtjs/sitemap": "^6.0.1",     "@nuxtjs/tailwindcss": "^6.8.0",     "@types/crypto-js": "^4.1.1",     "nuxt": "^3.13.1",     "nuxt-gtag": "^0.5.7"   },   "dependencies": {     "@pinia/nuxt": "^0.4.8",     "@popperjs/core": "^2.11.7",     "crypto-js": "^4.1.1",     "h3-formidable": "^0.3.2",     "maska": "^2.1.8",     "pinia": "^2.0.34",     "v-money3": "^3.24.0",     "vee-validate": "^4.8.6",     "vite-svg-loader": "^4.0.0",     "vue": "^3.5.3",     "vue-native-websocket-vue3": "^3.1.7",     "yup": "^1.1.1",     "yup-locale-pt": "^0.0.9"   } }
Localhost:

Production:


Weekly Contributor Meeting | 1pm CT Sunday

I'm going to be starting a weekly DogeHouse room at 1pm CT on Sundays to discuss the state of the project with contributors.

@benawad, can you please record the meetings?

Yup, I know that now! Thanks.
On Tue, Mar 23, 2021 at 12:30 PM Harrison Mayotte @.***>
wrote:

Meetings are recorded. Latest meeting is included in the main post.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/benawad/dogehouse/issues/405#issuecomment-805090819,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AQ6MKIOTJ5WBN2QK5PXZEWLTFDF3LANCNFSM4YFCMJZQ
.

--
Samar Mohan
Two things are infinite: the universe and human stupidity; and I'm not
sure about the universe.                             **     ~Albert
Einstein


Add instruction to install llm-ls via Mason

I think this should live in llm.nvim as it's specific to Neovim

See: https://github.com/huggingface/llm.nvim/pull/46


Error with angular when trying to use with latest version(0.9.3)

AngularJS throws an error when latest files are included:
Error: $injector:undef
Undefined Value
Provider 'HeadroomService' must return a value from $get factory method.

Could you create a fiddle (or pen or bin or whatever) to demonstrate the issue?

+1
I simply added it above the tab bar: https://plnkr.co/edit/b6panE?p=info

Are there any updates on this issue?

Have no idea if this is helpful, or not but I just hacked this up in the last 15 mins. I had problems after minification, but was getting the same error you are seeing. Don't know if this will work for you.
/*!
 * headroom.js v0.9.3 - Give your page some headroom. Hide your header until you need it
 * Copyright (c) 2016 Nick Williams - http://wicky.nillia.ms/headroom.js
 * License: MIT
 */

(function (angular) {

  if(!angular) {
    return;
  }

  function hFactory() {
    return {
        headroom: function() {return window.Headroom;}
    };
  }

  function headroom(HeadroomFactory) {
    return {
      scope: {
        tolerance: '=',
        offset: '=',
        classes: '=',
        scroller: '@'
      },
      link: function ($scope, $element) {
        var head = HeadroomFactory.headroom();
        var options = {};
        var opts = head.options;
        for (var prop in opts) {
          options[prop] = $scope[prop] || opts[prop];
        }
        if ($scope.scroller) {
          options.scroller = document.querySelector($scope.scroller);
        }
        var headroom = new head($element[0], options).init();
        $scope.$on('$destroy', function(){
          headroom.destroy();
        });
      }
    };
  }

  headroom.$inject = ['HeadroomFactory'];

  angular
    .module('headroom', [])
    .directive('headroom', headroom)
    .factory('HeadroomFactory', hFactory);

})(window.angular);

Any updates regarding this issue?

+1

This happens because window.Headroom is undefined. Make sure you've loaded headroom.js

I'm using CommonJS modules (Webpack 2) and I had this same issue. I found that the AMD style module loader was being preferred to CommonJS. Swapping the order of the CommonJS/AMD check fixed the problem for me. You can see that fix in my fork.

@rwoody any idea how this would look in Webpack 1? I seem to be having the same issue but cannot figure it out!

update: fixed it for anyone who may need this code:
 // expose Headroom
 new webpack.ProvidePlugin({
    'window.Headroom': 'headroom.js/dist/headroom.js'
})

Closing in favour of #333, which will look at all angular issues


avr-size reports higher size of hex files generated by ubirch-avr

IF you compare the same program built by ubirch-avr and arduino ide, avr-size reports higher size of hex files generated by ubirch-avr.

That is entirely possible. The compiler and linker flags are probably not the same. Are both compiled with debug?

This is the program:
https://github.com/amitesh-singh/amiduino/blob/master/avr/ami-arduino-cmake/sketches/esp8266-thingspeak-temp-plot-no-lcd/thingspeak.cpp
AVR gcc version: avr-gcc --version
avr-gcc (GCC) 4.8.1
Platform: Ubuntu 15.10
build log with cmake:
http://pastebin.com/zJR8qV1s
build log with arduino ide:
http://pastebin.com/dmVY5Yp1

ah, it is False Alarm: it was my fault to comment the flags for binary.
#set(CMAKE_EXE_LINKER_FLAGS "-Wl,--relax -Wl,--gc-sections -Wl,-u,vfscanf -lscanf_min -Wl,-u,vfprintf -lprintf_min ${EXTRA_LIBS}" CACHE STRING "")
although printf and other libs were eating few kbs. my mistake was to comment out above line.
Now, I added set(CMAKE_EXE_LINKER_FLAGS "-Wl,--relax -Wl,--gc-sections which saves more bytes (better than arduino ide since it does not use -Wl,--relax).

Ok, I asked few people on #avr why Arduino IDE does not use -Wl,--relax, They say, it is not guaranteed to work all the time. I check the results with -Wl,--relax once.

It is usually more of a hint, so it should not be a problem.

btw, thanks for writing this project. I love it. :+1:
I don't like Arduino IDE much.


Fix Xcode generator for 4.3+

Since Xcode 4.3 there is no "/Developer" folder - try using the new location first before falling back on the old one.

Every new Apple computer owner who wants to build software on the command line has two choices how to get their compilers, libraries, and headers:

Download XCode-4.3 then add the Command Line Tools (CLT) from within the gui (3GB + 170 MB)
Download only the Command Line Tools for XCode (170 MB)

There will be many people who opt to go with the small download.  They do not have a working xcodebuild, and their xcode-select will never return a path with an SDKs directory in it.  It often returns errors.  What is the result?  Consider this example that Sharpie posted in another issue:
PROJECT(QtTest)
CMAKE_MINIMUM_REQUIRED(VERSION 2.8)

FIND_PACKAGE(Qt4 COMPONENTS QtUiTools REQUIRED)

when I CMake that, I get a lot of errors.  Here is the output when I get using 2.8.7 and the CLT-4.3 command line tools.  Notice in the 2nd attached file that it sets non-existent path /SDKs/MacOSX10.7.sdk
Thank you for considering the situation where xcode-select returns an error.

Ideally CMake will work with either 1) or 2) or both.

Yes, thanks mike.  I should have been clear it's cosmetic, and I get programs that work.

I've been using SDKROOT=/ brew install weechat for years.

Works for me.
But in the generated project I have to set the base sdk manually to Latest Mac OS X (...).

I think CMAKE_OSX_SYSROOT gets into CXX_FLAGS by design.  If it does, then this derived variable:
CMAKE_OSX_SYSROOT:PATH=/SDKs/MacOSX10.7.sdk

turns into this
-isysroot /SDKs/MacOSX10.7.sdk
which doesn't work with llvm-gcc, and I get sadness:
cd /tmp/homebrew-opencolorio-1.0.4-9KeE/imageworks-OpenColorIO-12fb440/macbuild/src/core && /usr/bin/llvm-g++ -DOpenColorIO_EXPORTS -DUSE_SSE -Os -w -pipe -march=core2 -msse4 -Wall -Wextra -Wshadow -Wconversion -Wcast-qual -Wformat=2 -msse2 -arch x86_64 -isysroot /SDKs/MacOSX10.7.sdk -fPIC -I/tmp/homebrew-opencolorio-1.0.4-9KeE/imageworks-OpenColorIO-12fb440/export -I/tmp/homebrew-opencolorio-1.0.4-9KeE/imageworks-OpenColorIO-12fb440/macbuild/export -I/tmp/homebrew-opencolorio-1.0.4-9KeE/imageworks-OpenColorIO-12fb440/macbuild/ext/dist/include -I/tmp/homebrew-opencolorio-1.0.4-9KeE/imageworks-OpenColorIO-12fb440/ext/oiio/src/include -DTIXML_USE_STL -fPIC -fvisibility-inlines-hidden -fvisibility=hidden -o CMakeFiles/OpenColorIO.dir/AllocationOp.cpp.o -c /tmp/homebrew-opencolorio-1.0.4-9KeE/imageworks-OpenColorIO-12fb440/src/core/AllocationOp.cpp
In file included from /tmp/homebrew-opencolorio-1.0.4-9KeE/imageworks-OpenColorIO-12fb440/src/core/AllocationOp.h:33,
             from /tmp/homebrew-opencolorio-1.0.4-9KeE/imageworks-OpenColorIO-12fb440/src/core/AllocationOp.cpp:29:
/tmp/homebrew-opencolorio-1.0.4-9KeE/imageworks-OpenColorIO-12fb440/export/OpenColorIO/OpenColorIO.h:33:21: error: exception: No such file or directory
/tmp/homebrew-opencolorio-1.0.4-9KeE/imageworks-OpenColorIO-12fb440/export/OpenColorIO/OpenColorIO.h:34:18: error: iosfwd: No such file or directory
/tmp/homebrew-opencolorio-1.0.4-9KeE/imageworks-OpenColorIO-12fb440/export/OpenColorIO/OpenColorIO.h:35:18: error: string: No such file or directory
/tmp/homebrew-opencolorio-1.0.4-9KeE/imageworks-OpenColorIO-12fb440/export/OpenColorIO/OpenColorIO.h:36:19: error: cstddef: No such file or directory

So when @mikemcquaid said that ideally it should just work, I'm wondering if this is my fault?

I wonder if CMake prefers another bug reporting method.  This doesn't seem to have raised any interest but among Homebrew.  That mailing list is busy, though.  I guess I'll ask there if this is user error.

Yeh, you probably need to post on the cmake-developers and their bugtracker. That's how I've got stuff accepted before.

I added a comment to an existing issue centered around Xcode 4.2+ compatibility: http://www.cmake.org/Bug/view.php?id=12621.

@jkp Actually the existing issue is about Xcode 4.3+ compatibility, but was just incorrectly named.

In Modules/Platform/Darwin.cmake, the variable CMAKE_OSX_SYSROOT is set based on lines 104 to 130.
While OSX_DEVELOPER_ROOT has likely been updated from the output of xcode-select (at least, if there's no /Developer directory), they reference the old (pre-Xcode-4.3) path structure:
${OSX_DEVELOPER_ROOT}/SDKs/MacOSX${_CURRENT_OSX_VERSION}.sdk
For me, this resolves to /Applications/Xcode.app/Contents/Developer/SDKs/MacOSX10.7.sdk, which doesn't exist.
Instead, it should be finding /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk (as per the changes you've made to lines 74-76).

Also was just thinking that the test for the xcode-select utility (lines 68-72) should probably come before trying the hard-coded "/Developer" value for OSX_DEVELOPER_ROOT (line 60). Otherwise cmake will always ignore Xcode 4.3 if you have any previous version installed alongside it.
The first test should be to see if xcode-select exists, and whether it offers a useful path, falling back on "/Developer" if it doesn't. And only then should cmake start poking around in OSX_DEVELOPER_ROOT to find the right SDKs dir.
And later on, when setting CMAKE_OSX_SYSROOT, it should probably use the OSX_DEVELOPER_ROOT value instead of ${OSX_DEVELOPER_ROOT}/SDKs.
Even though this is starting to change some default behaviour (not just a basic fix), so is perhaps a bit beyond the scope of your pull request, it strikes me as being important for Xcode 4.3 compatibility.

Suggested patch to go on top of yours to fix the issues I've noticed.
Sorry if this is a bit of an awkward way of providing this, but I don't know enough about github/pulldown requests work to make my own from yours.
diff --git a/Modules/Platform/Darwin.cmake b/Modules/Platform/Darwin.cmake
index a117939..0e17b80 100644
--- a/Modules/Platform/Darwin.cmake
+++ b/Modules/Platform/Darwin.cmake
@@ -58,23 +58,22 @@ ENDIF(NOT DEFINED CMAKE_INSTALL_NAME_TOOL)

 # Set the assumed (Pre 10.5 or Default) location of the developer tools
 SET(OSX_DEVELOPER_ROOT "/Developer")
+# Use the xcode-select tool if it's available (Xcode >= 3.0 installations)
+FIND_PROGRAM(CMAKE_XCODE_SELECT xcode-select)
+IF(CMAKE_XCODE_SELECT)
+  EXECUTE_PROCESS(COMMAND ${CMAKE_XCODE_SELECT} "-print-path"
+    OUTPUT_VARIABLE OSX_DEVELOPER_ROOT
+    OUTPUT_STRIP_TRAILING_WHITESPACE)
+ENDIF(CMAKE_XCODE_SELECT)

 # Find installed SDKs
-FILE(GLOB _CMAKE_OSX_SDKS "${OSX_DEVELOPER_ROOT}/SDKs/*")
-
-# If nothing is found there, then try locating the dev tools based on the xcode-select tool
-# (available in Xcode >= 3.0 installations)
+# Start with pre-Xcode-4.3 default SDKs directory
+SET(_CMAKE_OSX_SDKS_DIR "${OSX_DEVELOPER_ROOT}/SDKs")
+FILE(GLOB _CMAKE_OSX_SDKS "${_CMAKE_OSX_SDKS_DIR}/*")
+# If not present, try 4.3+ SDKs directory
 IF(NOT _CMAKE_OSX_SDKS)
-  FIND_PROGRAM(CMAKE_XCODE_SELECT xcode-select)
-  IF(CMAKE_XCODE_SELECT)
-    EXECUTE_PROCESS(COMMAND ${CMAKE_XCODE_SELECT} "-print-path"
-      OUTPUT_VARIABLE OSX_DEVELOPER_ROOT
-      OUTPUT_STRIP_TRAILING_WHITESPACE)
-    FILE(GLOB _CMAKE_OSX_SDKS "${OSX_DEVELOPER_ROOT}/SDKs/*")
-    IF (NOT _CMAKE_OSX_SDKS)
-      FILE(GLOB _CMAKE_OSX_SDKS "${OSX_DEVELOPER_ROOT}/Platforms/MacOSX.platform/Developer/SDKs/*")
-    ENDIF()
-  ENDIF(CMAKE_XCODE_SELECT)
+  SET(_CMAKE_OSX_SDKS_DIR "${OSX_DEVELOPER_ROOT}/Platforms/MacOSX.platform/Developer/SDKs")
+  FILE(GLOB _CMAKE_OSX_SDKS "${_CMAKE_OSX_SDKS_DIR}/*")
 ENDIF(NOT _CMAKE_OSX_SDKS)

 EXECUTE_PROCESS(COMMAND sw_vers -productVersion
@@ -106,16 +105,16 @@ SET(ENV_SDKROOT "$ENV{SDKROOT}")
 # Set CMAKE_OSX_SYSROOT_DEFAULT based on _CURRENT_OSX_VERSION,
 # accounting for the known specially named SDKs.
 SET(CMAKE_OSX_SYSROOT_DEFAULT
-  "${OSX_DEVELOPER_ROOT}/SDKs/MacOSX${_CURRENT_OSX_VERSION}.sdk")
+  "${_CMAKE_OSX_SDKS_DIR}/MacOSX${_CURRENT_OSX_VERSION}.sdk")

 IF(_CURRENT_OSX_VERSION STREQUAL "10.4")
   SET(CMAKE_OSX_SYSROOT_DEFAULT
-    "${OSX_DEVELOPER_ROOT}/SDKs/MacOSX10.4u.sdk")
+    "${_CMAKE_OSX_SDKS_DIR}/MacOSX10.4u.sdk")
 ENDIF(_CURRENT_OSX_VERSION STREQUAL "10.4")

 IF(_CURRENT_OSX_VERSION STREQUAL "10.3")
   SET(CMAKE_OSX_SYSROOT_DEFAULT
-    "${OSX_DEVELOPER_ROOT}/SDKs/MacOSX10.3.9.sdk")
+    "${_CMAKE_OSX_SDKS_DIR}/MacOSX10.3.9.sdk")
 ENDIF(_CURRENT_OSX_VERSION STREQUAL "10.3")

 # Use environment or default as initial cache value:

@drfrogsplat I applied your patches - thanks.

Since we are preferring the "/Applications" location in the C++ code to look up the version of Xcode, I think we should also prefer the 4.3+ SDK locations first, before falling back to the older SDK locations. Does that seem reasonable to everybody watching here?
Thx,
David C.

Remove the trailing slash on your switch.
Tell is the output of xcodebuild -version
Also paste your entire error in a gist.

@dlrdave Yes, that seems reasonable to me. As I said to @2bits earlier as long as it works with all combinations of Xcode and CLT then that will be fine. Happy to help test.

I'd like to add that I think cmake (and homebrew) should also work with Xcode-4.3 but without Command Line Tools.
On my attempt to tune homebrew towards that goal, please refer to my pull request #10510.
However, I am stuck with cmake at the point where it attempts to detect ZLIB during bootstrap. But I am a little bit lost and could need some help :-(
I looked into FindZLIB.cmake but I am not good at reading cmake makros. Setting the variable ZLIB_ROOT to the SDK path seems not to work for some reason.

FYI... a slightly re-arranged and appended version of this commit has now been merged to the 'next' branch in the upstream CMake repo:
http://public.kitware.com/gitweb?p=cmake.git;a=commitdiff;h=4693cf84927850da0c10aae4308363fdc5890379
In addition to the stuff discussed here, there were also some CPack changes that needed to be made in order to deal with the fact that PackageMaker is not installed by default with Xcode 4.3 anymore, and when you do install it, you can put it anywhere you want.
I typically try to preserve authorship of commits when applying git patches to CMake, but I didn't want to offend the contributors here by presuming who wrote which bits, and I didn't think it was worth the time to email back and forth trying to sort it out. (I needed to get this in very soon so that we can get it into the next release of CMake, coming up shortly.) So I gave a big thank you in the commit message instead. Hope that's acceptable to all of you...
And thank you very much for this patch to start out with. It made fixing the issue much less time consuming than starting from scratch.
Thanks, all!!

For those interested: I've updated the Homebrew formula and bottle to include these patches.


fix: rtl incorrectly named or not propagated

During some previous refactoring rtl was on some places renamed to isRtl or forgotten to propagate, causing it to not work at all - css was ignored.
I've reverted back to rtl notation as it common word already used in styles and in documentation as well.

thanks!

@jquense thanks for quick response, could I ask if there is some release planned


Add the option to balance BYEs in the seeding

Add a function to prevent having BYE against BYE in matches. Maybe make it an argument in the stage creation process.
This function would favor having a team against a BYE in the first round over having it in the following rounds. It would be weird to win against someone and to be directly in semi-final or final because of a propagated BYE.
Here would be the rules of such a method:

The function should ignore BYEs (null values of the seeding) and therefore, always have the same output for the same seeding (without taking BYEs and their position in the seeding into account).

The function should take the target size of the stage as an argument because the output seeding should have the same size as the stage.

Prefer [1, 2, 3, 4, 5, 6, 7, 8, 9, null, 10, null, 11, null, 12, null] to [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, null, null, null, null]

Edges cases

Prefer [1, null, 2, null, 3, null, 4, null, 5, null, 6, null, 7, null, 8, null] to [1, 2, 3, 4, 5, 6, 7, 8, null, null, null, null, null, null, null, null] because the number of participants (8) is equal to the half of the stage size (16), so we still prefer matches against BYE. The second round is a bracket with 8 participants.

Prefer [1, null, 2, null, 3, null, 4, null, 5, null, 6, null, 7, null, null, null,] to [1, 2, 3, 4, 5, 6, 7, null, null, null, null, null, null, null, null, null] because the round 2 acts just as bracket with 8 participants would have handled the case.

For example, this is not good at all since the final is useless:

But this is better:

In either way, the stage should rather have had 8 participants.
But the method should do what we ask to do.

Warning: think about how seed orderings and balancing BYEs would interact...


The ServiceAccount for atlas-operator cannot create Event in the user's namespace.

What did you do to encounter the bug?
Steps to reproduce the behavior:
While creating AtlasDatabaseUser "operator-sandbox/todo-app".
User "system:serviceaccount:atlas-operator:mongodb-atlas-operator" cannot create resource "events" in API group "" in the namespace "operator-sandbox"
2021-11-25T10:21:52.394Z        INFO    controllers.AtlasDatabaseUser   -> Starting AtlasDatabaseUser reconciliation    {"atlasdatabaseuser": "operator-sandbox/todo-app", "spec": {"projectRef":{"name":"hu-sandbox","namespace":""},"databaseName":"admin","roles":[{"roleName":"readWrite","databaseName":"todo-app"}],"scopes":[{"name":"hu-uk-compose-operator","type":"CLUSTER"}],"passwordSecretRef":{"name":"hu-sandbox-todo-app-password"},"username":"todo-app"}, "status": {"conditions":[{"type":"Ready","status":"False","lastTransitionTime":"2021-11-25T10:20:46Z"},{"type":"DatabaseUserReady","status":"False","lastTransitionTime":"2021-11-25T10:20:46Z","reason":"ClustersAppliedDatabaseUsersChanges","message":"0 out of 1 clusters have applied database user changes"}],"observedGeneration":1,"passwordVersion":"7879809"}}
2021-11-25T10:21:52.394Z        DEBUG   controllers.AtlasDatabaseUser   AtlasProject connection Secret is not specified - using the Operator one: atlas-operator/mongodb-atlas-operator-api-key {"atlasdatabaseuser": "operator-sandbox/todo-app"}
2021-11-25T10:21:52.705Z        DEBUG   controllers.AtlasDatabaseUser   HTTP Request (GET) https://cloud.mongodb.com/api/atlas/v1.0/groups/5f1313011621fe3c7268a8b1/clusters/hu-uk-compose-operator [time (ms): 305, status: 200]     {"atlasdatabaseuser": "operator-sandbox/todo-app"}
2021-11-25T10:21:52.900Z        DEBUG   controllers.AtlasDatabaseUser   HTTP Request (GET) https://cloud.mongodb.com/api/atlas/v1.0/groups/5f1313011621fe3c7268a8b1/databaseUsers/admin/todo-app [time (ms): 195, status: 200]        {"atlasdatabaseuser": "operator-sandbox/todo-app"}
2021-11-25T10:21:53.096Z        DEBUG   controllers.AtlasDatabaseUser   HTTP Request (GET) https://cloud.mongodb.com/api/atlas/v1.0/groups/5f1313011621fe3c7268a8b1/clusters [time (ms): 195, status: 200]   {"atlasdatabaseuser": "operator-sandbox/todo-app"}
2021-11-25T10:21:53.296Z        DEBUG   controllers.AtlasDatabaseUser   HTTP Request (GET) https://cloud.mongodb.com/api/atlas/v1.0/groups/5f1313011621fe3c7268a8b1/clusters/hu-uk-compose-operator/status [time (ms): 198, status: 200]      {"atlasdatabaseuser": "operator-sandbox/todo-app"}
2021-11-25T10:21:53.296Z        DEBUG   controllers.AtlasDatabaseUser   1 out of 1 clusters have applied database user changes  {"atlasdatabaseuser": "operator-sandbox/todo-app"}
2021-11-25T10:21:53.523Z        DEBUG   controllers.AtlasDatabaseUser   HTTP Request (GET) https://cloud.mongodb.com/api/atlas/v1.0/groups/5f1313011621fe3c7268a8b1/clusters [time (ms): 226, status: 200]   {"atlasdatabaseuser": "operator-sandbox/todo-app"}
2021-11-25T10:21:53.535Z        DEBUG   controllers.AtlasDatabaseUser   Ensured connection Secret up-to-date    {"atlasdatabaseuser": "operator-sandbox/todo-app", "secretname": "hu-sandbox-hu-uk-compose-operator-todo-app"}
2021-11-25T10:21:53.535Z        INFO    controllers.AtlasDatabaseUser   Status update   {"atlasdatabaseuser": "operator-sandbox/todo-app", "lastCondition": {"type":"Ready","status":"True","lastTransitionTime":null}}
2021-11-25T10:21:53.535Z        DEBUG   controller-runtime.manager.events       Normal  {"object": {"kind":"AtlasDatabaseUser","namespace":"operator-sandbox","name":"todo-app","uid":"d1b55647-16d0-42fd-8b08-4452e85db715","apiVersion":"atlas.mongodb.com/v1","resourceVersion":"7880233"}, "reason": "ConnectionSecretsEnsured", "message": "Connection Secrets were created/updated: hu-sandbox-hu-uk-compose-operator-todo-app"}
2021-11-25T10:21:53.535Z        DEBUG   controller-runtime.manager.events       Normal  {"object": {"kind":"AtlasDatabaseUser","namespace":"operator-sandbox","name":"todo-app","uid":"d1b55647-16d0-42fd-8b08-4452e85db715","apiVersion":"atlas.mongodb.com/v1","resourceVersion":"7880233"}, "reason": "Ready", "message": ""}
E1125 10:21:53.542031       1 event.go:264] Server rejected event '&v1.Event{TypeMeta:v1.TypeMeta{Kind:"", APIVersion:""}, ObjectMeta:v1.ObjectMeta{Name:"todo-app.16bac2e761b5a5c6", GenerateName:"", Namespace:"operator-sandbox", SelfLink:"", UID:"", ResourceVersion:"", Generation:0, CreationTimestamp:v1.Time{Time:time.Time{wall:0x0, ext:0, loc:(*time.Location)(nil)}}, DeletionTimestamp:(*v1.Time)(nil), DeletionGracePeriodSeconds:(*int64)(nil), Labels:map[string]string(nil), Annotations:map[string]string(nil), OwnerReferences:[]v1.OwnerReference(nil), Finalizers:[]string(nil), ClusterName:"", ManagedFields:[]v1.ManagedFieldsEntry(nil)}, InvolvedObject:v1.ObjectReference{Kind:"AtlasDatabaseUser", Namespace:"operator-sandbox", Name:"todo-app", UID:"d1b55647-16d0-42fd-8b08-4452e85db715", APIVersion:"atlas.mongodb.com/v1", ResourceVersion:"7880233", FieldPath:""}, Reason:"ConnectionSecretsEnsured", Message:"Connection Secrets were created/updated: hu-sandbox-hu-uk-compose-operator-todo-app", Source:v1.EventSource{Component:"AtlasDatabaseUser", Host:""}, FirstTimestamp:v1.Time{Time:time.Time{wall:0xc05ff6d05fe55bc6, ext:54773328760176, loc:(*time.Location)(0x22a9380)}}, LastTimestamp:v1.Time{Time:time.Time{wall:0xc05ff6d05fe55bc6, ext:54773328760176, loc:(*time.Location)(0x22a9380)}}, Count:1, Type:"Normal", EventTime:v1.MicroTime{Time:time.Time{wall:0x0, ext:0, loc:(*time.Location)(nil)}}, Series:(*v1.EventSeries)(nil), Action:"", Related:(*v1.ObjectReference)(nil), ReportingController:"", ReportingInstance:""}': 'events is forbidden: User "system:serviceaccount:atlas-operator:mongodb-atlas-operator" cannot create resource "events" in API group "" in the namespace "operator-sandbox"' (will not retry!)
E1125 10:21:53.544811       1 event.go:264] Server rejected event '&v1.Event{TypeMeta:v1.TypeMeta{Kind:"", APIVersion:""}, ObjectMeta:v1.ObjectMeta{Name:"todo-app.16bac2e761b9fb81", GenerateName:"", Namespace:"operator-sandbox", SelfLink:"", UID:"", ResourceVersion:"", Generation:0, CreationTimestamp:v1.Time{Time:time.Time{wall:0x0, ext:0, loc:(*time.Location)(nil)}}, DeletionTimestamp:(*v1.Time)(nil), DeletionGracePeriodSeconds:(*int64)(nil), Labels:map[string]string(nil), Annotations:map[string]string(nil), OwnerReferences:[]v1.OwnerReference(nil), Finalizers:[]string(nil), ClusterName:"", ManagedFields:[]v1.ManagedFieldsEntry(nil)}, InvolvedObject:v1.ObjectReference{Kind:"AtlasDatabaseUser", Namespace:"operator-sandbox", Name:"todo-app", UID:"d1b55647-16d0-42fd-8b08-4452e85db715", APIVersion:"atlas.mongodb.com/v1", ResourceVersion:"7880233", FieldPath:""}, Reason:"Ready", Message:"", Source:v1.EventSource{Component:"AtlasDatabaseUser", Host:""}, FirstTimestamp:v1.Time{Time:time.Time{wall:0xc05ff6d05fe9b181, ext:54773329044317, loc:(*time.Location)(0x22a9380)}}, LastTimestamp:v1.Time{Time:time.Time{wall:0xc05ff6d05fe9b181, ext:54773329044317, loc:(*time.Location)(0x22a9380)}}, Count:1, Type:"Normal", EventTime:v1.MicroTime{Time:time.Time{wall:0x0, ext:0, loc:(*time.Location)(nil)}}, Series:(*v1.EventSeries)(nil), Action:"", Related:(*v1.ObjectReference)(nil), ReportingController:"", ReportingInstance:""}': 'events is forbidden: User "system:serviceaccount:atlas-operator:mongodb-atlas-operator" cannot create resource "events" in API group "" in the namespace "operator-sandbox"' (will not retry!)

What did you expect?
A clear and concise description of what you expected to happen.
Put an event I guess.
What happened instead?
A clear and concise description of what happened instead
nothing
Screenshots
If applicable, add screenshots to help explain your problem.
Operator Information

Operator Version 0.6.1

Kubernetes Cluster Information

Distribution GKE
Version v1.19.14-gke.1900
Image Registry location (quay, or an internal registry) quay.io/denistrofimov/mongodb-atlas-kubernetes:v0.6.1-dt

Additional context
Add any other context about the problem here.
If possible, please include:

kubectl describe output
yaml definitions for your objects
log files for the operator and database pods

hi, @denist-huma
may I ask quay.io/denistrofimov/mongodb-atlas-kubernetes:v0.6.1-dt - was this image built from the master branch? ( = what's the difference between versions with 0.6.1? can we get the commitID it was built on?)
Is this a cluster wide or multinamespaced configuration (was watched_namespace used)? was the configuration from deploy/... directory?
It would really help if you can provide operator deployment yaml configuration, cluster role/service account/binding yaml
what namespaces have atlasproject/cluster/user?
Thank you

hi, @denist-huma may I ask quay.io/denistrofimov/mongodb-atlas-kubernetes:v0.6.1-dt - was this image built from the master branch? ( = what's the difference between versions with 0.6.1? can we get the commitID it was built on?)

You are welcome, @leo-ri
The 1st URL you listed leads to https://quay.io/repository/denistrofimov/mongodb-atlas-kubernetes?tag=v0.6.1-dt&tab=tags
The commit corresponds to the tag of my fork, https://github.com/denist-huma/mongodb-atlas-kubernetes/releases/tag/v0.6.1-dt

Is this a cluster wide or multinamespaced configuration (was watched_namespace used)? was the configuration from deploy/... directory? It would really help if you can provide operator deployment yaml configuration, cluster role/service account/binding yaml what namespaces have atlasproject/cluster/user? Thank you

The cluster-wide, watched_namespace is not used, I have no clue about it, how it can help me?
That was related to the 0.2.2  version of the chart
$ helm list -n atlas-operator
NAME            NAMESPACE       REVISION        UPDATED                                 STATUS          CHART                           APP VERSION
atlas-operator  atlas-operator  6               2021-11-24 15:38:30.300030088 +0300 MSK deployed        mongodb-atlas-operator-0.2.2    0.5.0

$ helm get values -n atlas-operator atlas-operator
USER-SUPPLIED VALUES:
affinity: {}
atlasURI: https://cloud.mongodb.com
disableAtlasClusterReconciler: "true"
fullnameOverride: ""
image:
  pullPolicy: Always
  repository: quay.io/denistrofimov/mongodb-atlas-kubernetes
  tag: v0.6.1-dt
imagePullSecrets:
- name: regcred
mongodb-atlas-operator-crds:
  enabled: true
nameOverride: ""
nodeSelector: {}
podAnnotations: {}
podSecurityContext:
  runAsNonRoot: true
  runAsUser: 2000
resources:
  limits:
    cpu: 500m
    memory: 256Mi
  requests:
    cpu: 100m
    memory: 50Mi
securityContext:
  allowPrivilegeEscalation: false
serviceAccount:
  annotations: {}
  create: true
  name: ""
tolerations: []
watchNamespaces: ""

I searched in the output to help you.
helm get manifest -n atlas-operator atlas-operator > manifest.out.yaml
The problem I expect is in the role mongodb-atlas-operator-leader-election-role.
That is the only one mention "events" resource.
That I took from a live deployment:
# $ kg -o yaml role mongodb-atlas-operator-leader-election-role -n atlas-operator
apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
 annotations:
   meta.helm.sh/release-name: atlas-operator
   meta.helm.sh/release-namespace: atlas-operator
 creationTimestamp: "2021-07-07T16:05:53Z"
 labels:
   app.kubernetes.io/managed-by: Helm
 name: mongodb-atlas-operator-leader-election-role
 namespace: atlas-operator
 resourceVersion: "178576170"
 selfLink: /apis/rbac.authorization.k8s.io/v1/namespaces/atlas-operator/roles/mongodb-atlas-operator-leader-election-role
 uid: 2b9b0b66-a08b-4bbe-a45e-c52168e549e5
rules:
- apiGroups:
 - ""
 - coordination.k8s.io
 resources:
 - configmaps
 - leases
 verbs:
 - get
 - list
 - watch
 - create
 - update
 - patch
 - delete
- apiGroups:
 - ""
 resources:
 - events
 verbs:
 - create
 - patch

The error reason is that role mongodb-atlas-operator-leader-election-role is in the namespace: atlas-operator
But the AtlasDatabaseUser is in the namespace "operator-sandbox" as I said in the first message.

While creating AtlasDatabaseUser "operator-sandbox/todo-app".
User "system:serviceaccount:atlas-operator:mongodb-atlas-operator" cannot create resource "events" in API group "" in the namespace "operator-sandbox"

@denist-huma,
The version in this repo (0.6.0+) does not match the version of the operator chart 0.2.2, repo version requires the use of chart mongodb-atlas-operator-0.2.4 or higher (0.2.5). Reconciliation events were introduced later in operator 0.6.0 version and chart version 0.2.2 does not have the right permissions for the serviceaccount, permissions were added in 0.2.4-0.2.5 atlas-operator chart

@leo-ri hey
thanks for the suggestion.
I switched to my updated fork of the chart now https://github.com/denist-huma/helm-charts/tree/compose-operator-dep.


Get Access Token for one tap response

Is there any way to get the response containing the access_token instead of id_token when using one Tap Login?

nope unfortunately

Can we get refresh_token using id_token?


Warning while running teaching sample

While running folloing sipmle code
from tensorflow import data
dataset = data.Dataset.from_tensor_slices([8, 3, 0, 8, 2, 1])
for elem in dataset:
    print(elem.numpy())
it = iter(dataset)
print(next(it).numpy())
print(dataset.reduce(0, lambda state, value: state + value).numpy())

I have this warning
WARNING:tensorflow:AutoGraph could not transform <function <lambda> at 0x000001B252F02AF0> and \
will run it as-is.
Please report this to the TensorFlow team. When filing the bug, set the verbosity to 10 (on \
Linux, `export AUTOGRAPH_VERBOSITY=10`) and attach the full output.
Cause: Unable to locate the source code of <function <lambda> at 0x000001B252F02AF0>. Note that\
functions defined in certain environments, like the interactive Python shell do not expose\
their source code. If that is the case, you should to define them in a .py source file. If you \
are certain the code is graph-compatible, wrap the call using @tf.autograph.do_not_convert.\
Original error: could not get source code
To silence this warning, decorate the function with @tf.autograph.experimental.do_not_convert

I knaw about https://github.com/tensorflow/tensorflow/issues/38691 issue, but warning repited on new TensorFlow  version
System information
Windows 10 64bit (no GPU machine)
Python 3.8.2
TensorFlow 2.2.0 (standard GPU version)
running on venv environment, in PyCharm Python console

@pilot87,
I was able to run the code without any warnings on TF v2.2. Please find the gist of it here.
Could you please try changing the log level using the below code and let us know if it works.
import os
os.environ['TF_CPP_MIN_LOG_LEVEL'] = '2'
import tensorflow as tf

Thanks!

Sorry for so long offline.
Well this code
import os
os.environ['TF_CPP_MIN_LOG_LEVEL'] = '2'
import tensorflow as tf
from tensorflow import data
dataset = data.Dataset.from_tensor_slices([8, 3, 0, 8, 2, 1])
for elem in dataset:
...     print(elem.numpy())
it = iter(dataset)
print(next(it).numpy())
print(dataset.reduce(0, lambda state, value: state + value).numpy())

still producing this warnings (I omitted standard output because result is wright):
2020-05-30 07:18:55.357802: E tensorflow/stream_executor/cuda/cuda_driver.cc:313] failed call
to cuInit: UNKNOWN ERROR (303)

WARNING:tensorflow:AutoGraph could not transform <function <lambda> at 0x000002ABA9897670> and
 will run it as-is.
Please report this to the TensorFlow team. When filing the bug, set the verbosity to 10 (on
 Linux, export AUTOGRAPH_VERBOSITY=10`) and attach the full output.
Cause: Unable to locate the source code of <function <lambda> at 0x000002ABA9897670>. Note that
functions defined in certain environments, like the interactive Python shell do not expose their
source code. If that is the case, you should to define them in a .py source file. If you are
 certain the code is graph-compatible, wrap the call using @tf.autograph.do_not_convert.
Original error: could not get source code
To silence this warning, decorate the function with @tf.autograph.experimental.do_not_convert```

The warning is due to a known limitation of the Python runtime. See this article.
The known workaround is to write the code like this:
sum_up = lambda state, value: state + value
print(dataset.reduce(0, sum_up).numpy())


REST backend: Add basic and digest auth

The REST backend at the moment has no support for Authentication, add options to set username and password, and do basic and digest auth.

Note for later: https://github.com/abbot/go-http-auth seems to be valid choice instead of implementing everything ourselves.

FYI: This seems to be the server part, this issue is about the backent (=client).

What does digest auth provide over basic auth?

It does not send the password to the server. In case of a compromised server the attackers are unable to learn the client's password.

But digest is rather trivially bruteforced (salted md5), so TLS-SRP is a better alternative.
I'd suggest sticking with Basic for now (since this will usually run on the loopback interface), and implementing TLS-SRP (and HTTPS) if you are serious about the password security requirement - ?

Basic auth was implemented and I don't see the point in adding digest auth, closing.


implemented truncate_by_edge in truncate_graph_polygon

Implementation for #417.
Overview:
If truncate_by_edge, then we need to check the neighbors of nodes in nodes_outside_polygon too.  This is done by checking if all the neighbor nodes are in nodes_outside_polygon. If any neighbor of a node is not in nodes_outside_polygon then that node will not be removed.
Example:
G = ox.graph_from_place('Manhattan Island, New York City, New York, USA', network_type='drive')
print('Number of nodes: ', G.number_of_nodes())
print('Number of edges: ', G.number_of_edges())
ox.plot_graph(G)

G = ox.graph_from_place('Manhattan Island, New York City, New York, USA', network_type='drive', truncate_by_edge=True)
print('Number of nodes: ', G.number_of_nodes())
print('Number of edges: ', G.number_of_edges())
ox.plot_graph(G)

Coverage increased (+0.06%) to 92.812% when pulling f362fa76b5f379131293fbc21c1961a0c1d93e8f on KAI10:truncate_graph_polygon_neighbor_check into 998a764141d89b1adcd5456cc04a31c99a3a705b on gboeing:master.


Update circe-core, circe-literal, ... to 0.14.2

Updates

io.circe:circe-core
io.circe:circe-literal
io.circe:circe-parser

from 0.13.0 to 0.14.2.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "io.circe" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequest = { frequency = "@monthly" },
  dependency = { groupId = "io.circe" }
}]

labels: library-update, early-semver-major, semver-spec-minor, commit-count:1

Superseded by #119.


Display only first line of Python 3.7 version

Python 3.7 version prompt now includes compiler version in the second line. Bash it would print both Python and GCC version as the "py" version.
Before:
py-3.7.0
py-5.4.0 localhost in ~

After:
py-3.7.0 localhost in ~

Thanks!


MB store  mysql 5.7 DB script is missing from pack

Description:
MB store  mysql 5.7 DB script is missing from pack
Suggested Labels:
Suggested Assignees:

**Affected Product Version:2.1.0
OS, DB, other environment details and versions:
Steps to reproduce:
Related Issues:

I’m closing this issue because it has been inactive for more than two years. Please reopen if you still encounter this issue with the latest version.


Bug: abort when call exit command in function

Impact Target

v0.2.0-unstable

Steps
ydsh> function f() { exit 1; }
ydsh> $f()
[abort] /home/skgchxngsxyz-opensuse/workspace/ydsh/src/core/DSObject.cpp:624:invoke(): illegal eval status: 6
中止

Problem
abort
Expected
not abort.  exit normally
Note
due to commit 6fed5a73e5f9d3a1fc582ac69342a6511d24fdf0

also abort assert($false) in function


Feature/login api rest

Login api done. Ready for revision

There is a conflic on this pull request (.gitignore), can you bring master into your branch and resolve the conflict? once that's done I can proceed with the merege.


Handling simple and double quotes in filenames...

Hi,
Is there a way to handle simple and double quotes in filenames, for example :

« Bob's "special" file.txt ».

I ran into this same problem immediately.
I've worked around it by using the %u placeholder, and then URL-decoding the filename in my script.


Return error.response.json() doesn't resolve using fetch

An example code:
app.service('/messages').create({
  text: 'Hello'
}).then(result => {
...
}).catch(error => {
return error.response.json() // Never resolves
}).then(response => {
// Never gets here
...
})

This is using node-fetch or the built-in React Native fetch.

Does
app.service('/messages').create({
  text: 'Hello'
}).then(result => {
...
}).catch(error => {
return error.response.json() // Never resolves
}).catch(console.error.bind(console));

log anything? I'm wondering if error.response.json() throws (I'm not sure what it's supposed to do) or something before.

This is the closest I can get at replicating.
https://github.com/mcchrish/feathers-fetch-error
Sorry, it requires a couple of steps:
npm start

Then test by mocha:
mocha test/client.test.js

It pauses at return error.response.json() then mocha will timeout.

If you return something in a Promise catch, that promise is no longer rejected. In your example (thank you for uploading) something like
app.service('/messages').create({})
      .catch(error => {
        console.log('!!!!', error.message);
        throw error;
      })

Works as expected. If you make sure that you have the latest version of feathers-rest is installed (the one that includes https://github.com/feathersjs/feathers-rest/pull/53) the error will also be converted properly to a Feathers error and there shouldn't be a reason for calling error.response.json().

Oh, so that's what changed.
Using 1.4.* currently, while reverting 1.3.0 makes my code works.
That's why there is no need for error.response.json() anymore, which is pretty neat.
Thanks 👍

Ah sorry, I didn't think it would be a breaking change since the REST error handling (especially for fetch and jQuery) was kind of broken before but obviously it needed to be worked around then. Glad we figured it out and hopefully this fix will make things easier.


fix(datepicker): alternate input formats: update the datepicker

When and after typing an alternate format, the datepicker doesn't update, leading to confusion.
http://plnkr.co/edit/Qbx9hft21S9PAS0pqJ5i?p=preview

This is the wrong approach - parseDate is a $parser for ngModel, one should never be calling $setViewValue there.

This looks a lot better - good work!


Add nil pointer check for parent definition in extractSelectionSet

extractSelectionSet seems to fail if a service is unreachable; which could be caused by missing schema information.

Codecov Report

Merging #139 (0ac001a) into main (70a8e42) will increase coverage by 0.06%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #139      +/-   ##
==========================================
+ Coverage   69.58%   69.64%   +0.06%
==========================================
  Files          24       24
  Lines        2630     2632       +2
==========================================
+ Hits         1830     1833       +3
+ Misses        669      668       -1
  Partials      131      131

Impacted Files
Coverage Δ

plan.go
83.92% <100.00%> (+0.14%)
:arrow_up:

auth.go
87.42% <0.00%> (+0.62%)
:arrow_up:

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 70a8e42...0ac001a. Read the comment docs.


CASSANDRA-19604: BETWEEN

Thanks for sending a pull request! Here are some tips if you're new here:

Ensure you have added or run the appropriate tests for your PR.
Be sure to keep the PR description updated to reflect all changes.
Write your PR title to summarize what this PR proposes.
If possible, provide a concise example to reproduce the issue for a faster review.
Read our contributor guidelines
If you're making a documentation change, see our guide to documentation contribution

Commit messages should follow the following format:
<One sentence description, usually Jira title or CHANGES.txt summary>

<Optional lengthier description (context on patch)>

patch by <Authors>; reviewed by <Reviewers> for CASSANDRA-#####

Co-authored-by: Name1 <email1>
Co-authored-by: Name2 <email2>

The Cassandra Jira

On a quick look, the last few commits make sense, just missing Caleb's suggestion from Slack - https://the-asf.slack.com/archives/C018YGVCHMZ/p1717430564268499
I looked around the CI run, and indeed, the Java test failures are the only suspicious ones; I did not find any tickets.
They may be flaky, MultiNodeSAITest is a mighty fuzz test. I hope the seed with which it failed in CI is available in the logs. Also, we need for i in {1..9}; do sudo ifconfig lo0 alias 127.0.0.$i up; done;  to be able to run it locally. It is similar to the Python tests but undocumented, and I keep forgetting that detail.
I will make a full pass of the whole work when the latest changes land.

@ekaterinadimitrova2 If MultiNodeSAITest isn't something trivial, or the problem reproduces w/ that seed on trunk, definitely let me know...


Destination page for the logo

When I click on the logo, it is displaying this.
I want to return to the home page whenever I click on the logo
I want to work on this issue under JWOC

@ManasaKaza also with this can you navbar position fix. After that only I can assign you

Yeah I will do

@ManasaKaza you are good to go. Share a preview in the form of a screenshot/video of the changes made while making a PR.

@ManasaKaza make sure you complete the assigned issue on time.

Hey @kaal-coder I had to go out of station, so I may not be able to complete the issue on time, it's okay if you assign it to the other mentee

I want to work on this issue under jwoc

@vk20july Assigned

I would like to work on this issue under JWOC

I woul like to work on the issue under JWOC

I would like to work on this under jwoc

@kaal-coder Pls assign this issue to me

is it still open?


Enable the display and FPGA back

This reintroduces the (for now unmodified) startup code into main.

The SPI library is used at various places, for now without a header.
The display driver got inlined into main.c
The FPGA control got inlined into main.c
The power rails have interleaved GPIO changes and wait time according to the display datasheet, but practice revealed that this could be entirely skipped over.
The display module got updated from another branch and adapted to the changes above

This is a bit crude. This is meant to be easy to convert and transform, rather than meant to be merged as-is.

Needs some small changes after rebasing...


login: redirect to the latest landing page

Looks like the old link was tweaked by doc team hence is not quite valid any more, with that, can we just redirect to the new landing page?
//CC: @achandmsft @marstr

[x] The PR has modified HISTORY.rst describing any customer-facing, functional changes. Note that this does not include changes only to help content. (see Modifying change log).

[x] I adhere to the Command Guidelines.

The redirecting is already happening w/o my change. I believe I hit a web page bug once that prevented the page from rendering correctly. Based on that, I am closing this PR and will apply a right fix (if needed) for this.


Add ACTIVEMQ_WEB_USER to groups.properties file in docker

Couldn't get access in web console when use ACTIVEMQ_WEB_USER  environment variable for docker. Console threw "HTTP ERROR 403 !role"

Did you mean to merge it to main branch instead of 1apache:activemq-6.1.x` branch? Why is the fix 6.1.x specific?

Did you mean to merge it to main branch instead of 1apache:activemq-6.1.x` branch? Why is the fix 6.1.x specific?

Hello.
Yes. I meant merge it to main.
As I understand, I need to close this PR and create new one for main branch(this branch was created from apache:activemq-6.1.x). Am I right?

Hello.
Yes. I meant merge it to main.
As I understand, I need to close this PR and create new one for main branch(this branch was created from > apache:activemq-6.1.x). Am I right?

Correct. Thanks!

Couldn't get access in web console when use ACTIVEMQ_WEB_USER environment variable for docker. Console threw "HTTP ERROR 403 !role"

Close this PR.
The new one - https://github.com/apache/activemq/pull/1279

Close this PR.
The new one - https://github.com/apache/activemq/pull/1279


Bug with the mod: Turn it off and on

Describe the bug
Ones a electric device got used the mod throws an error and further actions with this device dosn`t work.
To Reproduce
Steps to reproduce the behavior:

Start a game use an electric device
un use the device and use again
Error occurs

Error Log
https://gist.github.com/GerryWildermuth/0e87552f4e4c1246e39c2459ad40fe2d
Mod List
Version: 1
Name: ThreadedRimworldListe
Mods:

Id: brrainz.harmony_copy_1
Name: Harmony
Id: ludeon.rimworld
Name: Core
Id: majorhoff.rimthreaded_copy
Name: RimThreaded [1.2]
Id: unlimitedhugs.hugslib_copy
Name: HugsLib
Id: fluffy.modmanager_copy
Name: Mod Manager
Id: razor2.3.anotherrimworldmod.autocutblight_copy
Name: Auto-Cut Blight
Id: meltup.beautifuloutdoors_copy
Name: Beautiful Outdoors
Id: falconne.bwm_copy
Name: Better Workbench Management
Id: uuugggg.buildfrominventory_copy
Name: Build From Inventory
Id: dhultgren.changecaravanloadout
Name: Change Caravan Loadout
Id: unlimitedhugs.defensivepositions_copy
Name: Defensive Positions
Id: bob.draggablecornerss_copy
Name: '[1.1]DraggableCorners'
Id: dubwise.dubsmintmenus
Name: Dubs Mint Menus
Id: edb.preparecarefully_copy
Name: EdB Prepare Carefully
Id: uuugggg.everybodygetsone_copy
Name: Everybody Gets One
Id: crlsniper.realisticrooms_copy
Name: Realistic Rooms
Id: frozensnowfox.filthvanisheswithrainandtime_copy
Name: '[FSF] Filth Vanishes With Rain And Time'
Id: roolo.giddyupcore_copy
Name: Giddy-up! Core
Id: roolo.giddyupbattlemounts_copy
Name: Giddy-up! Battle Mounts
Id: roolo.giddyupcaravan_copy
Name: Giddy-up! Caravan
Id: roolo.giddyuprideandroll_copy
Name: Giddy-up! Ride and Roll
Id: mlie.iclearlyhaveenough_copy
Name: I Clearly Have Enough! (Continued)
Id: jaxe.bubbles_copy
Name: Interaction Bubbles
Id: smashphil.loadinginprogress
Name: Loading In Progress
Id: unlimitedhugs.mapreroll_copy
Name: Map Reroll
Id: notfood.mendandrecycle_copy
Name: MendAndRecycle
Id: avilmask.microdesignations_copy
Name: Micro Designations
Id: haplo.miscellaneous.training_copy
Name: Misc. Training
Id: name.krypt.rimworld.moddiff_copy
Name: ModDiff
Id: sdknm2.qualityofbuilding_copy
Name: Quality Of Building
Id: longwater.smartstockpilecreation_copy
Name: Quick Stockpile Creation
Id: automatic.recipeicons_copy
Name: Recipe icons
Id: notfood.researchpal_copy
Name: ResearchPal
Id: rimfridge.kv.rw_copy
Name: '[KV] RimFridge'
Id: jaxe.rimhud_copy
Name: RimHUD
Id: bodlosh.weaponstats_copy
Name: WeaponStats
Id: murmur.walllight_copy
Name: Wall Light
Id: ogliss.toastehs.veinminer_copy
Name: Veinminer R1.1
Id: uuugggg.usebedrolls_copy
Name: Use Bedrolls
Id: ryder.turnitonoff_copy
Name: Turn It On and Off
Id: targhetti.transportdownedpawns_copy
Name: Transport Downed Pawns
Id: carnysenpai.traitraritycolors_copy
Name: Trait Rarity Colors
Id: tradingspot.kv.rw_copy
Name: '[KV] Trading Spot'
Id: uuugggg.stockpileranking_copy
Name: Stockpile Ranking
Id: linkolas.stabilize_copy
Name: Stabilize
Id: mlie.simplymorebridges_copy
Name: Simply More Bridges (Continued)
Id: pinochemicali.skilledstonecutting_copy
Name: Skilled Stonecutting
Id: mlie.simplestockpilepresets_copy
Name: Simple Stockpile Presets (Continued)
Id: erdelf.showmoddesignators_copy
Name: ShowModDesignators
Id: nykot.rpgstyleinventory_copy
Name: Sandy's RPG Style Inventory [1.2]
Id: yrtwof.rimpedia
Name: Rimpedia
Id: oblitus.animalslogic_copy
Name: Animals Logic
Id: neceros.badcanbegood_copy
Name: Bad Can Be Good
Id: voult.betterpawncontrol_copy
Name: Better Pawn Control
Id: crashm.colorcodedmoodbar.11_copy
Name: Colour Coded Mood Bar - V's Lightweight Edit
Id: caesarv6.damageindicators_copy
Name: Damage Indicators [1.2]
Id: jecrell.doorsexpanded
Name: Doors Expanded (Dev)
Id: dubwise.dubsmintminimap_copy
Name: Dubs Mint Minimap
Id: rikiki.fishindustry_copy
Name: FishIndustry
Id: falconne.heatmap_copy
Name: Heat Map
Id: dhultgren.keepbedownership_copy
Name: Keep Bed Ownership
Id: krafs.levelup_copy
Name: Level Up!
Id: fluffy.medicaltab_copy
Name: Medical Tab
Id: zyxabacab.nosympathyforprisoners_copy
Name: No Sympathy for Prisoners
Id: peppsen.pmusic_copy_1
Name: P-Music
Id: pausbrak.rangeddps_copy
Name: Ranged DPS
Id: com.yayo.racequestpawn_copy
Name: Real Faction Guest
Id: mlie.rimquest_copy
Name: RimQuest (Continued)
Id: targhetti.showdrafteesweapon_copy
Name: Show Draftees Weapon
Id: fluffy.worktab_copy
Name: Work Tab
Id: vanillaexpanded.vwe_copy
Name: Vanilla Weapons Expanded
Id: vanillaexpanded.vfeproduction_copy
Name: Vanilla Furniture Expanded - Production
Id: vanillaexpanded.vfepower_copy
Name: Vanilla Furniture Expanded - Power
Id: vanillaexpanded.vfemedical_copy
Name: Vanilla Furniture Expanded - Medical Module
Id: vanillaexpanded.vfefarming_copy
Name: Vanilla Furniture Expanded - Farming
Id: vanillaexpanded.vfecore_copy
Name: Vanilla Furniture Expanded
Id: vanillaexpanded.varme_copy
Name: Vanilla Armour Expanded
Id: gt.sam.tilledsoil_copy
Name: Tilled Soil
Id: dhultgren.smarterconstruction_copy
Name: Smarter Construction
Id: brrainz.rangefinder
Name: Range Finder
Id: mlie.pickupandhaul_copy
Name: Pick Up And Haul (Continued)
Id: sarg.smartspeed_copy
Name: Smart Speed

I also have an issue with this mod, but I don't get that error. I get:
Exception in JobDriver tick for pawn Ironhead driver=JobDriver_DoBill (toilIndex=24) driver.job=(DoBill (Job_786902) A=Thing_ElectricStove534844 B=Thing_RawRice590458 C=(163, 0, 72))
System.Threading.ThreadAbortException
  at System.Collections.Generic.HashSet`1[T].AddIfNotPresent (T value) [0x00064] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
  at System.Collections.Generic.HashSet`1[T].Add (T item) [0x00000] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
  at TurnItOnandOff.TurnItOnandOff.AddBuildingUsed (Verse.Building building) [0x00000] in <3db2d1527d214478a71e9d3af2de1692>:0
  at TurnItOnandOff.Building_WorkTable_UsedThisTick_Patch.UsedThisTick (RimWorld.Building_WorkTable __instance) [0x00000] in <3db2d1527d214478a71e9d3af2de1692>:0
  at (wrapper dynamic-method) RimWorld.Building_WorkTable.RimWorld.Building_WorkTable.UsedThisTick_Patch1(RimWorld.Building_WorkTable)
  at RimWorld.Building_WorkTable_HeatPush.UsedThisTick () [0x00000] in <d72310b4d8f64d25aee502792b58549f>:0
  at Verse.AI.Toils_Recipe+<>c__DisplayClass2_0.<DoRecipeWork>b__1 () [0x0009d] in <d72310b4d8f64d25aee502792b58549f>:0
  at RimThreaded.JobDriver_Patch.DriverTick (Verse.AI.JobDriver __instance) [0x00318] in <46b1a8cab7904d27b8d8cd700a52845b>:0
Verse.Log:Warning(String, Boolean)
Verse.AI.JobUtility:Verse.AI.JobUtility.TryStartErrorRecoverJob_Patch1(Pawn, String, Exception, JobDriver)
RimThreaded.JobDriver_Patch:DriverTick(JobDriver)
Verse.AI.JobDriver:Verse.AI.JobDriver.DriverTick_Patch1(JobDriver)
Verse.AI.Pawn_JobTracker:JobTrackerTick()
Verse.Pawn:Verse.Pawn.Tick_Patch2(Pawn)
RimThreaded.RimThreaded:ExecuteTicks()
RimThreaded.RimThreaded:ProcessTicks()
RimThreaded.<>c:<CreateWorkerThread>b__88_0()
System.Threading.ThreadHelper:ThreadStart_Context(Object)
System.Threading.ExecutionContext:RunInternal(ExecutionContext, ContextCallback, Object, Boolean)
System.Threading.ExecutionContext:Run(ExecutionContext, ContextCallback, Object, Boolean)
System.Threading.ExecutionContext:Run(ExecutionContext, ContextCallback, Object)
System.Threading.ThreadHelper:ThreadStart()

Just causes lag spikes (thread stops responding) almost every time they try to cook.

I also have an issue with this mod, but I don't get that error. I get:
Exception in JobDriver tick for pawn Ironhead driver=JobDriver_DoBill (toilIndex=24) driver.job=(DoBill (Job_786902) A=Thing_ElectricStove534844 B=Thing_RawRice590458 C=(163, 0, 72))
System.Threading.ThreadAbortException
  at System.Collections.Generic.HashSet`1[T].AddIfNotPresent (T value) [0x00064] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
  at System.Collections.Generic.HashSet`1[T].Add (T item) [0x00000] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
  at TurnItOnandOff.TurnItOnandOff.AddBuildingUsed (Verse.Building building) [0x00000] in <3db2d1527d214478a71e9d3af2de1692>:0
  at TurnItOnandOff.Building_WorkTable_UsedThisTick_Patch.UsedThisTick (RimWorld.Building_WorkTable __instance) [0x00000] in <3db2d1527d214478a71e9d3af2de1692>:0
  at (wrapper dynamic-method) RimWorld.Building_WorkTable.RimWorld.Building_WorkTable.UsedThisTick_Patch1(RimWorld.Building_WorkTable)
  at RimWorld.Building_WorkTable_HeatPush.UsedThisTick () [0x00000] in <d72310b4d8f64d25aee502792b58549f>:0
  at Verse.AI.Toils_Recipe+<>c__DisplayClass2_0.<DoRecipeWork>b__1 () [0x0009d] in <d72310b4d8f64d25aee502792b58549f>:0
  at RimThreaded.JobDriver_Patch.DriverTick (Verse.AI.JobDriver __instance) [0x00318] in <46b1a8cab7904d27b8d8cd700a52845b>:0
Verse.Log:Warning(String, Boolean)
Verse.AI.JobUtility:Verse.AI.JobUtility.TryStartErrorRecoverJob_Patch1(Pawn, String, Exception, JobDriver)
RimThreaded.JobDriver_Patch:DriverTick(JobDriver)
Verse.AI.JobDriver:Verse.AI.JobDriver.DriverTick_Patch1(JobDriver)
Verse.AI.Pawn_JobTracker:JobTrackerTick()
Verse.Pawn:Verse.Pawn.Tick_Patch2(Pawn)
RimThreaded.RimThreaded:ExecuteTicks()
RimThreaded.RimThreaded:ProcessTicks()
RimThreaded.<>c:<CreateWorkerThread>b__88_0()
System.Threading.ThreadHelper:ThreadStart_Context(Object)
System.Threading.ExecutionContext:RunInternal(ExecutionContext, ContextCallback, Object, Boolean)
System.Threading.ExecutionContext:Run(ExecutionContext, ContextCallback, Object, Boolean)
System.Threading.ExecutionContext:Run(ExecutionContext, ContextCallback, Object)
System.Threading.ThreadHelper:ThreadStart()

Just causes lag spikes (thread stops responding) almost every time they try to cook.


Initial draft of MongoDB Document API support

This pull request introduces Document API support for MongoDB (see #2215) as additional implementation, without changing DBObject support.
Morphia is entirely based on DBObject. Tests are a bit of a mixture of objects and Documents right now. Happy to dive into a discussion.

Hey guys, any chance we can get some feedback on your plans going forward. The MongoDB Java driver team has indicated that it plans to remove the deprecated DBObject based APIs in some future version and we don't want to end up with the Spring Data Querydsl support ending up broken in a driver release.
I wouldn't mind getting the support for the new APIs introduced in a parallel type hierarchy so that we can move Spring Data over to the new APIs.

I myself am not well-versed in the world of reactive programming, so maybe you, @mp911de can maintain the mongodb subproject once it's in the mainline? I don't know if it's something you are able/willing to do?

We're not talking anything reactive here but the fact that the MongoDB Java driver switched from using DBObject to Document for its synchronous operations a while ago.

This pull request does not contain any reactive bits. However, there's a split between base functionality and the actual class which executes the query to not make assumptions about the execution model within basic query creation functionality.

We're not talking anything reactive here

Oh, sorry. In that case I wouldn't mind migrating to Document exclusively, for Querydsl 5.
Unless you want both DBObject and Document support for now? Or both in Querydsl 4 and 5 respectively?

This pull request does not contain any reactive bits. However, there's a split between base functionality and the actual class which executes the query to not make assumptions about the execution model within basic query creation functionality.

EDIT: saw Mark's comment just now, yes I know about the split, but I'd rather you take a bit of responsibility, so you can get the mongodb submodule (and with assist also core) up to spec for later having reactive queries.
Then I think the process can be a bit more sped up, since I've been really busy lately, as you probably noticed.

@odrotbohm @mp911de Is this PR actually sufficient to port Spring Data over to the new API already? Or is this really still the initial draft?
Our current set of maintainers has little experience or ongoing work with MongoDB, so it is hard for me to review this properly. I am very willing to integrate it though if it helps you forward and helps the overall compatibility with DBObject being deprecated.
That said, what do you think about bumping the dependency versions of the MongoDB driver and/or Morphia (see #2029)? Which version is Spring Data currently targetting?

Let me have a look and potentially rebase the code. MongoDB 4.1 is btw. the most recent version. Spring Data MongoDB 3.1 (to be released in late October) is targeting the MongoDB 4.1 driver.
I will leave a comment with further details once I had a look.

Great, thanks! Lets finally get this out of the way after 2 years 😉

Meh! I've deleted my repository in the meantime and so this PR base got lost. I suggest creating a new PR from https://github.com/mp911de/querydsl/tree/issue/mongodb-document-api and closing this one. We fixed a few issues in Spring Data (we've inlined the Querydsl code) and the new PR would include also the fixes.

Closing in favor of #2689.


HTTP Basic auth?

Hello, do you plan on supporting HTTP Basic authentication?

Hi, you can use requestModifier to modify the request before sending it, where you can add your auth logic. Please see #10 for more.

Superb, thank you very much.


Sourcemaps from concat that go though uglify cause a crash if concatted again.

Hi. I think this issue is somehow related to mozilla/source-map#138 and may possibly be grunt-contrib-uglify's fault, but given sourcemaps from Babel seem to pass muster I'm going to report it here.
Basically, if two files are concatted together, uglified and then concatted again grunt will stop with

Warning: Cannot call method 'substr' of undefined Use --force to continue.

The actual use case I encountered this in is vastly more elaborate, but I was able to narrow it down to a single use case:
    grunt.initConfig
        concat:
            one:
                src: [
                    'a.js'
                    'b.js'
                ]
                dest: 'built.js'
            three:
                src: 'built.js'
                dest: 'package.js'
            options:
                sourceMap: true
                sourceMapStyle: 'embed'
        uglify:
            two:
                src: 'built.js'
                dest: 'built.js'
            options:
                sourceMap: true
                sourceMapIncludeSources: true
                sourceMapIn: (f) => f + '.map'
                sourceMapRoot: ''

I have created a complete example here: https://github.com/Lexicality/grunt-concat-sourcemap-issue

I've discovered another instance of this that I can't seem to replicate outside of my current complex setup - feeding the output of concat back into concat after a ton of prior transformations.
As far as I can tell concat is somehow creating sourcemaps that it cannot consume itself, though apparently other things can.

I experience this in https://github.com/phw/showdown-htmlescape , but without the use of uglify.
What happens is that dist/showdown-htmlescape.js is a file generated by grunt-contrib-concat, together with a corresponding source map file. If I feed this file again to grunt-contrib-concat (in another project using showdown-htmlescape) it fails with the above error message.
Interestingly the file dist/showdown-htmlescape.min.js (which is dist/showdown-htmlescape.js processed by grunt-uglify) will work again with grunt-contrib-concat. So the source map from grunt-contrib-concat cannot be consumed by grunt-contrib-concat itself :(

I have same problem (Warning: Cannot call method 'substr' of undefined) when concatenate any files with one of them:

bootstrap-additions.min.css - v0.3.1 - 2015-05-20
angular-motion.min.css - v0.4.2 - 2015-05-20

I'm having the same problem. Is this happening because the input source map is invalid?


Write a PHP program to convert seconds to minutes

Description
Write a PHP program to convert seconds to minutes
1 minute = 60 seconds
Input  : 300
Output : 5

How to contribute

Save the solution in convert_seconds_to_minutes.php file
Add convert_seconds_to_minutes.php file in convert-seconds-to-minutes folder

!assign


Monkeypatching ActiveRecord code is excessive!

I want to see if we can refactor to do what we need to do without modifying AR in place.

@botandrose That sounds like a good idea. Any monkey patches that we could start with?

Where does it modify AR? I just did a quick skim and nothing does

Yeah 4a282e289470a91323f4fbfc1444ecb2ed0bd3be was a big step forward, here. Moving from monkeypatching AR internals, to wrapping them in a decorator. I think we can close this now.


Updated release compatibility table

Added release 0.3.0 with compatibility for the next Prometheus release, which is expected to be 2.6.0 (but could be 2.5.1). We can't support Prometheus Server 2.5.0 due to a bug in that release.

👍


Use sudo enabled Trusty for HHVM

This provides the current HHVM version (3.15.2 as of this PR) and will track with each release (i.e. will be 3.16 when 3.16 is released.
If testing against HHVM LST versions is desired follow this guide. https://docs.travis-ci.com/user/languages/php#HHVM-versions
Should be able to change to container based Trusty after Q1-17 https://blog.travis-ci.com/2016-11-08-trusty-container-public-beta/

What is your interest in getting HHVM here?

No actual interest in the project. I just saw an issue you had filed with Travis CI and noticed it was testing against the precise hhvm which is crazy out of date. Where I can I help projects testing against the old version start testing against the current version. For me, this improves testing against HHVM on travis and hopefully increases HHVM acceptance rates.

sudo: true builds take significant amount of time

I do agree, that "sudo: true builds take 'a longer' amount of time" compared to the container testing. Current HHVM is only available on Trusty and the Beta container is not yet working well enough to transition to that (Trusty container release projected in Q1-17). It's important to note that the only part being tested with sudo: true in this scenario is HHVM, everything else is still using sudo: false

To be honest, Travis CI is stagnating, they should be moving to 16.04 instead of 2.5 years old 14.04 which has already outdated software.

I somewhat agree. Unfortunately they are not even starting work on 16.04 until Q2-17 since according to travis CI 14.04 was "a rather significant undertaking, going beyond offering Trusty images on EC2"
Hopefully, that means 16.04 will be simpler and faster for them in implement after work starts.
Regardless of whether "14.04 has already outdated software." it still provides a useful testing platform for testing against things like current hhvm.


Catch cannot compare values with CHECK() on x86

It seems strange, but with the newest version of catch I got for a simple comparison of numbers now a false test value.
uint64_t get_value()
{
    return<PHONE_NUMBER>;
}
TEST_CASE("some test", "[test]")
{
    CHECK(get_value() ==<PHONE_NUMBER>); // this will result in an error...
}

It happens only on x86 and with compilers: MinGW, gcc and clang.

You need to use the unsigned suffix:<PHONE_NUMBER>u. Or perhaps even better, #include <stdint.h> and use UINT64_C(3147483640) macro. Otherwise the literal is of type int, which on 32-bit has a maximum value of<PHONE_NUMBER>. It doesn't matter that your function returns uint64_t. The<PHONE_NUMBER> literal loaded into int, overflows and becomes negative, and then when it's converted to uint64_t becomes a totally different value.

with catch 1.2.1 it worked. With 1.5.7 I get now this error.
 CHECK( var.get_value<uint64_t>() ==<PHONE_NUMBER> )
ith expansion:
<PHONE_NUMBER> (0xbb9ac9f8)
 ==
<PHONE_NUMBER> (0xbb9ac9f8)

But adding changing it to:<PHONE_NUMBER>u
 CHECK( var.get_value<uint64_t>() ==<PHONE_NUMBER>u )

it worked for me now...

Found another recent issue #730 showing the same problem; in a more obvious way, IMO, so I'm going to comment more on that one.

I am probably going to close this one, we can talk about how messy the comparison internals are in #730.


fix: add copy css in build module

Prepublish script added with command to copy css in published module.

Thanks a lot!  :)


Allow defining additional Tomcat connectors

Pull Request (PR) description
Add a new, optional class parameter jira::tomcat_additional_connectors
whose value is a well-formed, complex hash as described by the new type
aliases Jira::Tomcat_connectors and Jira::Tomcat_attributes. Each
hash key represents a port number, and the key's value is a hash that
describes the connector's attributes and their values.
Useful for defining additional HTTP ports through which to access Jira.
A typical use case is when Jira and Confluence run behind a reverse
proxy and application links between Jira and Confluence must be set up.
Then it is often better to allow Jira and Confluence to communicate
directly instead of through the reverse proxy, but this requires a
Tomcat connector that is configured for direct access instead of reverse
proxy access (proxyName, proxyPort, etc). Described here:
https://confluence.atlassian.com/kb/how-to-create-an-unproxied-application-link-719095740.html
Contains spec tests, documentation and examples.

Two out of four acceptance tests are failing in Travis but this is unrelated to my changes.

Trying to close and re-open to trigger Travis tests again.

The tests are fine now.

Some test suites are failing now because of lots of bizarre errors like this:
examples/jira_postgres_nginx_ssl_install.pp:35:manifest_whitespace_closing_bracket_before:ERROR:there should be no whitespace or a single newline before a closing bracket

This is definitely not caused by my changes. I assume rubocop became much more strict in the last weeks?

Closing and reopening to trigger Travis, maybe the test failures unrelated to this change are now fixed.

The checks now pass so if the PR could be merged, that'd be great :)

thanks for the work!


tox fails due to python3.6 missing

Describe the issue:
I cannot run tox due to expected older version of Python.
Steps to reproduce (least amount of steps as possible):

Run the following command:

tox

Result:
GLOB sdist-make: /home/oxr463/src/python-packer/setup.py
flake8 create: /home/oxr463/src/python-packer/.tox/flake8
flake8 installdeps: flake8, -rdev-requirements.txt
ERROR: invocation failed (exit code 1), logfile: /home/oxr463/src/python-packer/.tox/flake8/log/flake8-1.log
====================================================== log start ======================================================
ERROR: Could not open requirements file: [Errno 2] No such file or directory: 'dev-requirements.txt'

======================================================= log end =======================================================
ERROR: could not install deps [flake8, -rdev-requirements.txt]; v = InvocationError('/home/oxr463/src/python-packer/.tox/flake8/bin/python -m pip install flake8 -rdev-requirements.txt', 1)
py36 create: /home/oxr463/src/python-packer/.tox/py36
ERROR: InterpreterNotFound: python3.6
_______________________________________________________ summary _______________________________________________________
ERROR:   flake8: could not install deps [flake8, -rdev-requirements.txt]; v = InvocationError('/home/oxr463/src/python-packer/.tox/flake8/bin/python -m pip install flake8 -rdev-requirements.txt', 1)
ERROR:  py36: InterpreterNotFound: python3.6

Other details that may be helpful:
python --version
Python 3.10.5

Environment information

Version: https://github.com/abhi1693/python-packer/commit/a11a3550b240946955c3a60f6db2796102b8dd54

Please raise a PR of you think you could contribute with a fix. I'll be happy to merge it


Failed to establish pod watch when containerRuntimeExecutor is set to k8sapi

Summary
What happened/what you expected to happen?
When running in KIND (Kubernetes in Docker) it does't work, only works on environments with docker enabled kubernetes clusters. This can be reproduced with kind locally - the instructions are below.
Steps to reproduce
First create kind cluster:
kind create cluster --name newcluster

Now install stable argo
kubectl create namespace argo || echo "namespace already created"
kubectl apply -n argo -f https://raw.githubusercontent.com/argoproj/argo/stable/manifests/install.yaml
kubectl rollout status -n argo deployment/argo-server
kubectl rollout status -n argo deployment/workflow-controller

Then configure clusterrole
kubectl create rolebinding default-admin --clusterrole=admin --serviceaccount=default:default

Configure the k8sapi in the configmap
kubectl apply -n argo -f - << END
apiVersion: v1
kind: ConfigMap
metadata:
  name: workflow-controller-configmap
data:
  containerRuntimeExecutor: k8sapi
END

Run argo hello-world
argo submit -n argo --watch https://raw.githubusercontent.com/argoproj/argo-workflows/master/examples/hello-world.yaml

See error
STEP                  TEMPLATE  PODNAME            DURATION  MESSAGE
 hello-world-sbr56  whalesay  hello-world-sbr56  1m        Error (exit code 1): failed to wait for main container to complete: timed out waiting for the condition: failed to establish pod watch: unknown (get pods)

Diagnostics
What Kubernetes provider are you using?

KIND version: kind v0.6.1 go1.13.4 linux/amd64

Kubernetes version:
Client Version: version.Info{Major:"1", Minor:"19", GitVersion:"v1.19.7", GitCommit:"1dd5338295409edcfff11505e7bb246f0d325d15", GitTreeState:"clean", BuildDate:"2021-01-13T13:23:52Z", GoVersion:"go1.15.5", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"16", GitVersion:"v1.16.3", GitCommit:"b3cbbae08ec52a7fc73d334838e18d17e8512749", GitTreeState:"clean", BuildDate:"2019-12-04T07:23:47Z", GoVersion:"go1.12.12", Compiler:"gc", Platform:"linux/amd64"}

What version of Argo Workflows are you running?
Stable - v3.0.3
What executor are you running? Docker/K8SAPI/Kubelet/PNS/Emissary
k8sapi (but also tried with kubelet and pns and same results)
Did this work in a previous version? I.e. is it a regression?
Tested with v2.12.11 and was able to reproduce
Are you pasting thousands of log lines? That's too much information.
The logs in the controller basically just repeat this error ie failed to establish pod watch: unknown (get pods)

Could you try with Argo 3.1.0? The error message would be more intuitive after https://github.com/argoproj/argo-workflows/pull/5372 gets merged.

Also looks like you configured the cluster role for default account in default namespace.

@terrytangyuan thank you for your comment, it seems you are correct - I was able to resolve it by configuring the RBAC correctly, thanks!


predict and visualization

Describe the bug
Hi , I have one question about how to predict a picture when finish the training stage, in other words, how to visualize the segmentation results in your code.
I have written a simple visualization .py  file, but when I load the model , I found that the model did not load successfully.
If it's convenient, I would appreciate it if  you could share your predict code.
We look forward to your answer， thanks
To Reproduce
Dataset: voc-2012
Setting: 19-1
Command used or script used:
Expected behavior
A clear and concise description of what you expected to happen.
Additional context
Add any other context about the problem here.

Hey, thank for youur interest in our work :)
Please look at this issue https://github.com/arthurdouillard/CVPR2021_PLOP/issues/17, I think it is what you're looking for right?

thanks for your answer.
actually,  today I also setting the args.visulization =True and samples_number =10, the visualization results of the val_dataset on the tensorboard are available,
I will try this code（issue https://github.com/arthurdouillard/CVPR2021_PLOP/issues/17） as soon as possible, thanks again!

Hum, it depends on your version of pytorch I think for the mask.
Try casting the mask as boolean (target[~mask.bool()] = 0) or byte (target[~mask.byte()] = 0).
Try this command:
python3 viz.py --dataset voc --task 19-1 --step 1 --ckpt my_model.pth --indexes 0<PHONE_NUMBER> 1245 1277 1330 1355 1425 1447 --name my_name

I think it should work :)


Line wrapping with Japanese

Can anyone tell me if wrapping punctuation to a new line like in the image below is normal in Japanese?

This example is from the demo page (https://sphilee.github.io/jsPDF-CustomFonts-support/) with the only change being the split width set to 125.

It is unnatural on the document software like Microsoft Word etc., but it would be acceptable for almost Japanese native if it is on the non-wording-specialized software.


Write comprehensive architectural documentation

In order to allow users and open source devs to understand deeply the how the podtracer works put together a comprehensive architectural document with diagrams and explanations.

/assign


Background: Green Screen

Hello i really like this project of yours.
I would like to suggest adding a green screen or blue screen as a selectable background, so this way every user could use his/her own background. This is also very helpful with using the flag in livestreams or videos.

Hi there, thank you for the feedback, I'll add it to the wishlist

This feature is now live as of v2.1.0.


Line breaks are lost from the description when retrieving a bookmark

Describe the bug
If a bookmark is created such that it has line breaks in the description, when the bookmark is retrieved by the library, the line breaks are lost.
To Reproduce
Run this code, supplying a valid API token:
from asyncio import run
from aiopinboard import API

TOKEN = "<token here>"

URL = "https://www.example.com/multiple-lines"

async def show_problem():
    await API(TOKEN).bookmark.async_add_bookmark(
        url=URL,
        title=f"Test multiple lines",
        description="\n".join(f"Line {n}" for n in range(10)),
        shared=False,
        toread=True,
        replace=True,
    )
    print((await API(TOKEN).bookmark.async_get_bookmark_by_url(URL)).description)

if __name__ == "__main__":
    run(show_problem())

Expected behavior
It would be expected that the content of the description would match that found on Pinboard itself. With the above code, the bookmark that appears on Pinboard has the line breaks:

but the above script prints this:
Line 0 Line 1 Line 2 Line 3 Line 4 Line 5 Line 6 Line 7 Line 8 Line 9

Looking at what comes down at a low-level, I can see that the data in the XML just uses line breaks; and if I remember correctly (it's been a while since I did anything involving XML) that's a no-no. I don't have this issue in pinboard.el, but there I used the JSON API.
I fear this is an issue that can't be addressed if using the XML API.

Good find, @davep. Would you recommend we wholesale shift to the JSON API under the hood?

I honestly can't remember why I went JSON vs XML (probably 'cos it's just easier to work with in Emacs Lisp), but if I'm reading the situation correctly that might be a good idea; or at least have it as an option (although I guess the idea of the library is to hide that detail).
This sort of feels like a bug in the Pinboard API itself, in respect to XML, so I guess JSON would be the only obvious workaround.

@davep Would it be worth reaching out to the Pinboard owner to see if this is a bug he can fix?

That might be worth a try; although I got the impression some time back that active development work on Pinboard was something that seldom happened these days (also I do wonder if the way the XML layer works is some sort of compatibility thing with the old del.icio.us API).

Got it. Let me explore the JSON API a bit—we may be able to do some under-the-hood surgery pretty easily.

@davep I've tried my darndest to access the V2 (JSON) API, but can't get it to work. This very simple cURL:
curl "https://api.pinboard.in/v2/hello/" -H 'X-Auth-Token: USER:TOKEN'

...returns an HTTP 403.
You mentioned above that your Emacs client uses this API; am I missing something obvious?

It looks like you're trying to use the v2 API there; which I don't think ever made it live? The URL I use is still the v1 API; so something like: https://api.pinboard.in/v1/{end-point-path}?auth_token={user-token}&format=json

At a quick glance, I suspect this should kick things off:
diff --git a/aiopinboard/api.py b/aiopinboard/api.py
index de6b34e..83e1e3b 100644
--- a/aiopinboard/api.py
+++ b/aiopinboard/api.py
@@ -61,6 +61,7 @@ class API:  # pylint: disable=too-few-public-methods
         """
         kwargs.setdefault("params", {})
         kwargs["params"]["auth_token"] = self._api_token
+        kwarks["params"]["format"] = "json"

         if use_running_session := self._session and not self._session.closed:
             session = self._session

@davep I whipped up a PR to migrate to Pinboard's JSON API: https://github.com/bachya/aiopinboard/pull/309
I'd love your testing to ensure it (a) continues to work in your client and (b) fixes the issue you describe here.

Ahh cool! I did take the project off in a slightly different direction in the end anyway; but I can easily give this a run-through. All being well I should get a chance in the next day or so.


Lab automation page issue

This section should be in tabs
https://franklin.moleculardevices.com/service-support/lab-automation-solutions/lab-automation-for-high-throughput-plate-based-assays

Live -
https://franklin.moleculardevices.com/service-support/lab-automation-solutions/lab-automation-for-high-throughput-clone-screening

Live-

This is related to #347.


NGINXHTTPServer Parsers doesn't include information about the log source hostname.

[Is your feature request related to a problem? Please describe.
NGINXHTTPServer Parsers doesn't include information about the log source hostname.
Describe the solution you'd like
Add the log source hostname to the parser for example: extend EventSource = ManagementGroupName
Describe alternatives you've considered
Additional context
https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/NGINX HTTP Server/Parsers/NGINXHTTPServer.txt

Hi @ecIib7L, Thanks for flagging this issue, we will investigate this issue and get back to you with some updates by 26-04-2024. Thanks!

Hey @ecIib7L, Could you please check the below updated parser and let us know it resolve your issue?
Note : The ManagementGroupName is having same hostname as Computer, so you will get the same value for EventSource.
NGINX.txt
Please share the sample data with us if still you are not getting the log source hostname.
Thanks!

Hi @v-sudkharat I saw that the nginx_errorlog_events doesn't have EventSource contigured. Could you please also update this part? I think this will result in errors in the "union....project... EventSource" expression.
Yes this will resolve my issue. I will update this for our directories when this is pushed to the content hub.

@ecIib7L, We have just updated the parser, could you please check it into your available data and let us know if it running correctly?
NGINX.txt
Please share the parser successfully running result screenshot over here or this mail id -<EMAIL_ADDRESS>So, we can procced to update this into content hub. Thanks!

Hi @v-sudkharat Yes, the parser seems working for both access logs and error logs:

@ecIib7L, thanks for the update. we will finalize it and proceed to raise PR. Could you please let us know can we close this issue from GitHub.
Thanks!

@v-sudkharat Sure, you can close this issue. Thanks for your help.

Thanks for confirmation. Closing this issue. If you still need support for this issue, feel free to re-open it any time. Thank you for your co-operation.


Crash on attempt to export

Linux 64-bit executable, crashes silently for all of "export", "export html", and "export native" after flashing screen for save destination.

Does it crash with every cartridge export or only special?
Couldn't reproduce it on my Ubuntu.

I made special build with logstic_with_log.tar.gz
Could you please run it in terminal, reproduce the crash and send me output.
Thanks.

Crashes for every cartridge with the same log output:
TIC: initializing GTK
TIC: creating file save dialog
TIC: running file save dialog
Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.
Gdk-Message: Error reading events from display: Invalid argument
Running Fedora 25.

Just checked, operates normally with no crash on my Ubuntu.

Found the error message in GTK sources https://github.com/GNOME/gtk/blob/master/gdk/wayland/gdkeventsource.c#L93
weird but it uses _exit(1) without other alternatives :(

BTW, how many displays do you have?

Single display.

is it still reproducible?

I've never had it crash doing this. The only time tic has crashed for me is with a large amount of code in the editor then open the function list.

Nope, it seems to have been fixed now.


Unable to add cluster running in Google Container Engine

From @Jacobh2 on March 4, 2017 7:7
I've tried to reinstall the app, cleared the cache and data and I still run into this problem.
When I choose to add a GKE cluster, it asks me to select correct Google account, and then it shows me the cluster and that it is up and running. A green notification shows that it has added the cluster successfully, but when I return to the home screen it shows my cluster as "down" when it most certainly is not.
Selecting the cluster takes me to the page of pods, ns, svc etc but nothing is there.
What am I missing?
Copied from original issue: skippbox/cabin-issues#23

Thanks for reporting the issue.
Are you on iOS or android ?
can you confirm that you can use kubectl to access the cluster from a machine in a different network ?
cc/ @kemcake

From @Jacobh2 on March 6, 2017 14:34
Hi!
I'm using Android. When I started to test the app I was on version 6.?, but now I'm using 7.0.
Yes, I can access the cluster using kubectl on any network.

ok, we will test for 7.0 and figure it out. it could be the version change.
we will try to fix this asap.

Hi I have the same problem.
App version 0.3.1
OS Android 8
Cluster version 1.7.4.
Thanks, love the app, it was working on a previous cluster. I'll test some more versions.

2 more test clusters that are showing as down
NAME      ZONE        MASTER_VERSION  MASTER_IP       MACHINE_TYPE   NODE_VERSION  NUM_NODES  STATUS
testing   us-west1-c  1.7.4           XX.XXX.XXX.XXX  n1-standard-1  1.7.4         1          RUNNING
testing2  us-west1-c  1.6.9           XX.XXX.XX.XXX   n1-standard-1  1.6.9         1          RUNNING`

Ok I think this is an issue with how Android http request handle certificates, will investigate a fix 💪

Same problem. It worked sometime. I think it stopped working after I registered a Gmail address for my account.

Still have the same issue using version 0.3.1 of the app.
Phone model: SM-G950F
Android version: 7.0
Node version: 1.5.6
Also, after adding the cluster via the "Add cluster from Google GKE", and the pressing back to go to start activity the add adds a border around the entire app: https://photos.app.goo.gl/CcP2VMp8PNY1SX9e2

I have the same problem, It used to work fine but suddenly stop working so I am not sure @kemcake comment about how android http request is handle the issue here, since it work fine for weeks.
I have set up the dev environment of Cabin to try to debug it but I can set up a project id to test GKE auth :(

So, update on this, I think I finally found the issue, it comes from react native itself with a breaking commit (https://github.com/facebook/react-native/commit/0a71f48b1349ed09bcb6e76ba9ff8eb388518b15). I'm trying to find a clean solution to override this change (maybe a fork, or using patch-package)

@kemcake fwiw, my cluster api from google seems to be using a selfsigned cert. Doesnt seem to be a good way in android to make react-native ignore it. Not sure if it related.

In cabin on android we override how https request are handled, by adding a manual logic to include authentication certificates (if needed) and allowing every self-signed certificates challenge.
(see https://github.com/bitnami/cabin/blob/99c7f0cc81f501aabd649afcb37fd84e95c753d2/android/app/src/main/java/com/skippbox/cabin/CertificateModule.java)

So this should be fixed with https connection issue on android #72 . Released in 0.4.X


drop kperf automation

/assign @psschwei
Repo is being archived - https://github.com/knative/community/pull/1433

/hold

/hold cancel


[Bug]: Click here button is not working

Contact Details
<EMAIL_ADDRESS>What happened?
Here the click here button is not working.

What browsers are you seeing the problem on?
Chrome, Microsoft Edge
Relevant log output
No response
Are you interested in contributing?

[X] I'd like to work on this issue

Code of Conduct

[X] I have used the search function to check if an issue already exists
[X] I agree to follow this project's Code of Conduct

Which program are you contributing in?
gssoc

@pranshugupta54 can you assign it to me i want to work upon it

That's integrated with formbricks

@holopin-bot @RamakrushnaBiswal bug-hunter

hi @pranshugupta54 thank you for assigning me this issue.
where i redirect after clicking the button.or what i need to to.

It should open a popup using formbricks, check the code implementation for more info

somthing looks like this
1- I add VITE_REACT_APP_FORMBRICKS_API_KEY=your_formbricks_environmentId in .example.env file
2-Navbad.jsx , Hacathonsfilter.jsx and Filter.jsx usages the frombrics
3-update "@formbricks/js": "^2.0.1", this version

can you assign it to me i want to work upon it

@pranshugupta54 kindly check the PR


Integrating Magika into Flask or Django or Sanic API

Hi,
I'm trying to add magika in Django or Sanic API endpoint. I tried reading the file(in-memory, large video, archive file) and pass it as subprocess call or even trying identify_path or identify_paths which often throws file or directory not found Path exists not found. magika -s -m high-confidence some_file.zip
If I switch to normal cmd line version(cmd prompt and powershell 7) everything works as expected. BTW, I'm using Windows 10 22H2 and Python 3.11.8 with Pipenv and magika version 0.5.0
Any hints would be helpful.

Got it to work after using chunked file loading to read 100 bytes at a time from file sizes **<1MB to 500MB **
Adding a small snippet created using Django Ninja making use of UploadFile method in Django docs.
`import os
from magika import Magika
from ninja import File, NinjaAPI
from ninja.files import UploadedFile
from typing_extensions import Any
m = Magika()
api = NinjaAPI()
chunk_size = int(os.getenv("CHUNK_SIZE", 100))
def check_file_type_magika(chunked_file: bytes) -> str:
check_file_type = m.identify_bytes(content=chunked_file)
return f"File Type is {check_file_type.output.ct_label} with Mime Type {check_file_type.output.mime_type}"
@api.post("/upload")
def upload(request, file: UploadedFile = File(...)) -> dict[str, Any]:
data = file
for chunk in data.chunks(chunk_size):
detect_filetype = check_file_type_magika(chunk)
if detect_filetype is not None:
return {"Detected File Type": str(detect_filetype), "Size": len(data)}
return {"Detected File Type": "Unknown", "Size": 0}`


utf8proc: 2.3.0 -> 2.4.0

Motivation for this change
bump
Things done

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

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

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Assured whether relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

Result of nix-review pr 61928 1

30 package were build:

cabal2nix
dep2nix
gitAndTools.gitFull
gitAndTools.gitSVN
gitAndTools.svn-all-fast-export
gitAndTools.svn2git
hydra
julia
julia_07
julia_11
marathon
mesos
muse
nix-prefetch-scripts
nix-prefetch-svn
nix-update-source
perl528Packages.SVNSimple
python27Packages.pysvn
rabbitvcs
rapidsvn
reposurgeon
spark
subversion
subversionClient
subversion_1_10
svnfs
urjtag
utf8proc
vcstool
ydiff