standalone.sh ignores profile.d

If i am installing keycloak using your role, systemd unit isn't starting.
<Apr 11 15:15:42  systemd: Started The WildFly Application Server.
Apr 11 15:15:47  systemd: Reloading.
Apr 11 15:15:48  systemd: Started The WildFly Application Server.
Apr 11 15:15:48  launch.sh: =========================================================================
Apr 11 15:15:48  launch.sh: JBoss Bootstrap Environment
Apr 11 15:15:48  launch.sh: JBOSS_HOME: /opt/wildfly
Apr 11 15:15:48  launch.sh: JAVA: java
Apr 11 15:15:48  launch.sh: JAVA_OPTS:  -server -Xms64m -Xmx512m -XX:MetaspaceSize=96M -XX:MaxMetaspaceSize=256m -Djava.net.preferIPv4Stack=true -Djboss.modules.system.pkgs=org.jboss.byteman -Djava.awt.headless=true
Apr 11 15:15:48  launch.sh: =========================================================================
Apr 11 15:15:48  launch.sh: /opt/wildfly/bin/standalone.sh: line 330: java: command not found>
java and jre added to default environment:

<[root@ ~]# ls -la /etc/profile.d/ | grep orac
-rw-r--r--  1 root root   71 Apr 11 18:10 java-oracle.sh
-rw-r--r--  1 root root   32 Apr 11 18:10 oracle-jre.sh>
When i added to /etc/wildfly/wildfly.conf JAVA_HOME, installation was completed
<# The configuration you want to run
WILDFLY_CONFIG=standalone.xml
JAVA_HOME=/usr/local/java
The mode you want to run
WILDFLY_MODE=standalone
The address to bind to
WILDFLY_BIND=<IP_ADDRESS>>

This role's purpose is simply to install the necessary software. My strategy is usually to create a separate role for configuring the installation. If ur curious for an example, take a look at my zookeeper-cluster and/or kafka-broker roles. These are both java based and use the /usr/local/java/oracle-jre.env file to introduce JAVA_HOME into the systemd unit's environment. I just haven't gotten that far with keycloak.


plugin/preset files are not allowed to export objects only functions

this is happening on a brand new project what am i doing wrong im new to native

babel-preset-react-native-stage-0's code:
decorator-support.js
module.exports = {
  presets: [require('babel-preset-react-native')],
  plugins: [
    require('babel-plugin-transform-decorators-legacy').default,
    require('babel-plugin-transform-do-expressions'),
    require('babel-plugin-transform-function-bind'),
    require('babel-plugin-transform-class-constructor-call'),
    require('babel-plugin-transform-export-extensions'),
    require('babel-plugin-syntax-trailing-function-commas'),
    require('babel-plugin-transform-exponentiation-operator'),
  ]
}

Babel handbook document - making your own preset
module.exports = {
  presets: [
    require("babel-preset-es2015"),
    require("babel-preset-react")
  ],
  plugins: [
    require("babel-plugin-transform-flow-strip-types")
  ]
};

It IS the same, I'm confused why it won't build.

I'm guessing the latest version of babel-preset-react-native-stage-0 is doing something that its not supposed to.

I've downgraded to "react-native": "0.55.0" and it worked.

ah so its the latest version of rn or did they upgrade their version of babel preset and broke it?

thanks for letting me know

@skevy WIll you update this preset to babel 7?

I have the same issue, I think is probably related to Babe Issue 6808

Unless your React Native project uses experimental Javascript*, you can resolve this problem by installing babel-preset-react-native@5 and replacing "babel-preset-react-native-stage-0/decorator-support" with "babel-preset-react-native" in the project's .babelrc file.

Any solution for experimental Javascript?

@lorenc-tomasz Adding the plugins you need directly to your .babelrc file ought to work, as long as they're Babel 7 compatible. See the list of transformation plugins in Babel 7.

Some solution right now?

@fagerbua 's solution worked for me!!


Update Endpoint

The current endpoint is listed as endpoint:password@endpoint.  It should be username:password@endpoint.

@bdebakker : Thanks for your contribution to the Azure documentation! The author, @AndrewHoh, has been notified to review your proposed change.

Emailing @andrewhoh about this PR.

#sign-off


Update setup.py for new linux path

This commit adds the new location of the SR dev kit on linux to the installation process.

works for me - thanks!


Integrate AI-Driven Features for Enhanced Module Imports and Error Handling

In this Pull Request, I've introduced several AI-driven features to enhance the existing Python import script. These updates aim to improve the script's usability, error handling, and overall functionality. Below are the key enhancements:

Automatic Module Recommendation:

Integrated an AI-driven feature that suggests alternative Python packages if the required module is not found. This functionality leverages a recommendation system to provide contextually relevant alternatives based on the missing module. For example, if a module like numpy is missing, the script might suggest alternatives such as scipy or pandas.

Dynamic Error Handling:

Enhanced the script with AI-driven error handling that offers actionable suggestions when an import fails. Instead of simply raising an error, the script now provides recommendations, such as checking the file path or ensuring that the module contains no syntax errors. This dynamic approach helps users quickly identify and resolve common issues.

Enhanced Logging and Feedback:

Introduced AI-powered logging that not only records errors and warnings but also provides insights and suggestions for improving code quality. The AI analyzes the context of the error and offers tailored feedback, making the script more informative and user-friendly.

Summary:
These AI-driven enhancements make the script more robust and intelligent, guiding users through common challenges with import operations and providing valuable recommendations and insights. This commit significantly improves the script's ability to handle errors gracefully and offer useful alternatives, ultimately enhancing the user experience.

Goals:

resolves #ISSUE-NUMBER

...

...

...

...

[x] check and update documentation. See guide and ask the team.

In this pull request, I've integrated AI-driven features to enhance the module import process and error handling within the script. The key improvements include:

Automatic Module Recommendation: The script now intelligently suggests alternative Python packages when a required module is missing, helping users quickly identify suitable replacements.

Dynamic Error Handling: Added AI-driven suggestions for resolving common import errors, providing actionable feedback that guides users towards potential solutions.

Enhanced Logging and Feedback: Improved logging capabilities with AI-powered insights, offering detailed feedback and recommendations for optimizing code quality.

These updates aim to make the script more user-friendly, robust, and capable of handling common challenges with greater efficiency.


This would be more useful as an actual CMake script that can be included in a project.

I'd be happy to oblige but I primarily intended this to just provide an output folder of the headers that can be placed where you desire them. Do you have an idea for where you'd want the headers to go on all your development platforms? I work on GNU/Linux, Win10, and OSX so I have slightly different practices for using Vulkan on each.

I usually incorporate external projects into my own like so:
ExternalProject_Add(
    ${EXTERNAL_NAME}
    URL https://github.com/glfw/glfw/archive/3.2.zip
    URL_MD5 6028bc8cb169376ac1dad3ab3bd216cf
    CMAKE_ARGS ${PLATFORM_CMAKE_ARGS} -DCMAKE_INSTALL_PREFIX:PATH=<INSTALL_DIR>  -DGLFW_BUILD_EXAMPLES=OFF -DGLFW_BUILD_TESTS=OFF -DGLFW_BUILD_DOCS=OFF
    LOG_DOWNLOAD 1
)

So, assuming you make a CMakeLists.txt file that executes the git fetches and includes a set of install commands, I can use the CMAKE_INSTALL_PREFIX as above to cause the header to be generated and then put into a known location in my current project's build directory.
I would also suggest making the Vulkan spec version targetable, either by allowing the user to specify a commit ID or by allowing the user to specify that the generation should use an already existing copy of the spec that's on the local system

I've expanded the script into a bit more powerful shell utility for fetching the development headers of specific commits from the Vulkan-Docs at Khronos. In the future I plan on allowing users to fetch by VK_HEADER_VERSION numbers or by VK_API_VERIONs. However, I want to make the final use for it agnostic to build systems, if you'd like to create a cmake script for using this I'd love to see it, but this project using cmake is only because vkcpp uses cmake to build its executable.


pull request for e2e test at 01/21/2017 09:45:12

:white_check_mark: Validation status: passed
For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


react-hyperscript vs. r-dom

Is this project still being maintained? Should I be using r-dom instead?
https://github.com/uber/r-dom

They have different interfaces so it sort of depends on your personal preference :)


bump

re-render to activate Windows.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

Looks like we both did essentially the same thing simultaneously (see #51), only difference is I also created a new release to get the latest updates of the source code.

Looks like we both did essentially the same thing simultaneously (see #51), only difference is I also created a new release to get the latest updates of the source code.

Your PR is great but it looks like the new tag does not include enough information for the version. Do you know if the M_PI was fixed? If not we may need to upstream my patch here.

I did not fix M_PI

@emthompson-usgs good news are that the patch works and this builds on Windows. I have a few experiments I want to run before upstreaming them.
The bad news is that our workaround in openquake did not work here :-(
I'll remove the bad openquake packages and rebuild with a proper patch to the manifest file.

Wow, that's great that the C code looks to be compiling. Amazing!

Hi! This is the friendly automated conda-forge-linting service.
I wanted to let you know that I linted all conda-recipes in your PR (recipe) and found some lint.
Here's what I've got...
For recipe:

Failed to even lint the recipe, probably because of a conda-smithy bug :cry:. This likely indicates a problem in your meta.yaml, though. To get a traceback to help figure out what's going on, install conda-smithy and run conda smithy recipe-lint . from the recipe directory.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

@ocefpaf I meant to say that we are now able to build the upstream package in Windows on PRs with Azure CI. I thought it would make sense to merge that update with the changes you made here. Also, there was a typo in my commit above (I meant "lint" not "link").

The problem is pretty clearly with how I configured setuptools-scm for reporting the code version, but I'm not seeing where the problem is, and I'm not able to reproduce the error locally.

Hi! This is the friendly automated conda-forge-linting service.
I wanted to let you know that I linted all conda-recipes in your PR (recipe) and found some lint.
Here's what I've got...
For recipe:

requirements: host: pip=18.0 must contain a space between the name and the pin, i.e. pip =18.0

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

Building locally with pip install -e only worked if I pinned pip to 18.0 when creating the conda virtual environment. I can't explain why. The different version of pip is the only significant difference I can find between the package versions in the conda builds and what I have in the venv that successfully built this locally so I thought it was worth a try. But my attempt at pinning doesn't seem to be taking because the logs show that conda is still using pip 20.3.3.

Building locally with pip install -e only worked if I pinned pip to 18.0 when creating the conda virtual environment. I can't explain why. The different version of pip is the only significant difference I can find between the package versions in the conda builds and what I have in the venv that successfully built this locally so I thought it was worth a try. But my attempt at pinning doesn't seem to be taking because the logs show that conda is still using pip 20.3.3.

Let me take a look upstream, something is amiss here since modern pip should be OK with setuptools_scm.

Hi! This is the friendly automated conda-forge-linting service.
I wanted to let you know that I linted all conda-recipes in your PR (recipe) and found some lint.
Here's what I've got...
For recipe:

Failed to even lint the recipe, probably because of a conda-smithy bug :cry:. This likely indicates a problem in your meta.yaml, though. To get a traceback to help figure out what's going on, install conda-smithy and run conda smithy recipe-lint . from the recipe directory.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

@emthompson-usgs let's work on the new version now! It took a while and some tweaks to openquake.engine but this is passing!

Okay, amazing! I'll go re-open the PR for the the most recent version.

I believe that I applied the patch in this PR upstream so future versions won't need it.


[S2GRAPH-130]: Edge.propsWithTs data type should be changed into mutable to support setter interface exist in tp3.

Change data type of Edge.propsWithTs to java.util.Map.
Make Vertex/Edge/Graph to implement Tinkerpop3 structure interface.

Note that this PR based on #99 PR.

When you add a field, you should not forget to modify the function such as 'equals', 'hashcode', etc.
It would be nice if a test for this would be added.
I'm a little sorry to lose the advantage of the 'case class' provided by scala, but I think there is more to be gained when you support 'tinkerpop' as a native.
+1

Why not remove all the code lines that were commented out?
Will the removed tests be replaced in the future? Some of them seem to be rather critical test cases (EdgeTest, IndexEdgeTest, etc.)

@daewon actually adding equals, hashCode, toString for Edge/Vertex/S2Property/S2VertexProperty class reside on different PR #101.
@HyunsungJo I will remove commented out codes. About EdgeTest, IndexEdgeTest, I think #101 has necessary code for them(just the methods @daewon  mentioned above).
Sorry for splitting up same logical commit into different PR(I found out this while I was working on #101 ^^;;). Maybe I will fix up removed test cases(EdgeTest, IndexEdgeTest, etc) on #101.


feat: move SSO to Enterprise plan

Description
Moving SSO to Enterprise plan
PR fixes following issue(s)
Fixes #https://github.com/appsmithorg/cloud-services/issues/1427
Media

Type of change

Please delete options that are not relevant.

New feature (non-breaking change which adds functionality)
This change requires a documentation update

Testing

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Also list any relevant details for your test configuration.
Delete anything that is not relevant

[x] Manual
[ ] JUnit
[ ] Jest
[ ] Cypress

Test Plan

Add Testsmith test cases links that relate to this PR

Issues raised during DP testing

Link issues raised during DP testing for better visiblity and tracking (copy link from comments dropped on this PR)

Checklist:
Dev activity

[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] PR is being merged under a feature flag

QA activity:

[ ] Speedbreak features have been covered
[ ] Test plan covers all impacted features and areas of interest
[ ] Test plan has been peer reviewed by project stakeholders and other QA members
[ ] Manually tested functionality on DP
[ ] We had an implementation alignment call with stakeholders post QA Round 2
[ ] Cypress test cases have been added and approved by SDET/manual QA
[ ] Added Test Plan Approved label after Cypress tests were reviewed
[ ] Added Test Plan Approved label after JUnit tests were reviewed

/ok-to-test


⚠ Processors has degraded performance

In 2fb483a, Processors ($STATUS_URL) experienced degraded performance:

HTTP code: 200
Response time: 89 ms

Resolved: Processors performance has improved in dd936e7.


Update to RC6

Hi, thanks for contributing!
This project is maintained in my spare time, so in order to help me address your issue as quickly as
possible, please provide as much of the following information as you can.
-- Michael
=======
Angular 2 version:  2.0.0-RC6
ng2-pagination version: latest
Description of issue:  No compatible with RC6
Steps to reproduce: Just run a RC6 Application
Expected result:
Actual result:
Demo: (if possible, edit this Plunker demo and paste the link to your fork)
Any relevant code:
Need to create Module

Hi,
Yes, I am hoping to get this done this week. It is dependent on the main app I built this for also migrating to rc.6.

Just published 0.4.0 - go and update! :+1:


[NSE-1171] Support merge parquet schema and read missing schema

What changes were proposed in this pull request?
This pr is trying to support Parquet Schema merge in ArrowFileFormat.infer_schema and support dealing with missing column or filter in Parquet reading.
How was this patch tested?
unit tests.

cc @zhouyuan @PHILO-HE

@jackylee-ch could you please also add a small Scala unit test for this feature?

@jackylee-ch could you please also add a small Scala unit test for this feature?

Sure


Automate database upgrades

I think moving forwards automated database upgrades should be come a thing.
This will streamline the process of upgrading servers and reduce the manual work required when new features are implemented.
@DanrwAU and @davidmckenzie - Thoughts?

Agreed, Something i started trying to figure out back when i did the pushover per-alias stuff but couldn;t make any progress with my limited js and sql experience 😭

Solved in #113


Add Nginx Prometheus exporter

Adds a Nginx Prometheus exporter to govuk-rails-apps helm chart
as a trial to see if it can replace the Rails Prometheus exporter.
Ref:

nginx log prometheus exported

We definitely can't replace the Rails exporter (it serves a different purpose) but it'd certainly be cool to have nginx metrics!

Oh, it works by tailing the logs, right? That's not so great :(

Yeah, probably envoy/forking out for nginx plus. I will close this.

Thanks for trying this out anyway!


Refactor QueriesBySource

This PR makes the following changes:

Makes QueriesBySource a private API to RelationalQueryModelVisitor
Makes Queries an IEnumerable<SelectExpression> instead of ICollection<SelectExpression>
Renames AddQuery to MapQuery to better align with what the method is doing

This is, again, a set of changes I am splitting out from #7543. The idea is that as the query model is being visited, each query source gets mapped to a SelectExpression so that during binding (either within SqlTranslatingExpressionVisitor or MemberAccessBindingExpressionVisitor or etc.) there will be optimal opportunity to find or add the appropriate projection expressions.
As you can see this change already has benefits outside of the context of #7543 in that it has optimized some types of N+1 queries that would otherwise pull much more data on each of the +1 queries.

Hi @tuespetre, I'm your friendly neighborhood .NET Foundation Pull Request Bot (You can call me DNFBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!
The agreement was validated by .NET Foundation and real humans are currently evaluating your PR.
TTYL, DNFBOT;

Poaching this @maumar

The changed test SQL is an improvement here, those tests should be using parameter injection but instead they are not because of bug here
https://github.com/aspnet/EntityFramework/blob/dev/src/Microsoft.EntityFrameworkCore.Relational/Query/RelationalQueryModelVisitor.cs#L1633
Instead of trying to find SelectExpression by asking QueriesBySource, it should use TryGetQuery method which utilizes HandlesQuerySource method on SelectExpression.
Ideally, a querymodelvisitor (qmv) should store only SelectExpression(s), which are required to be run to generate results of query model being visited. There can be more than one SelectExpression stored it they are being stitched together. That is the reason when we lift the join clause into main select expression we remove the entry for join clause in QueriesBySource. If a query source is being lifted then there should be no need to store it in QueriesBySource, instead SelectExpression.HandlesQuerySource method should tell if particular qs is part of SelectExpression.
This change brought test SQL changes because of existing bug. Instead the underlying bug should be fixed. Leaving that aside, this does not add any value rather increases the metadata size.

instead SelectExpression.HandlesQuerySource method should tell if particular qs is part of SelectExpression

WOW! 😱 Big 'duh' moment for me, now I am seeing all of the places where a query source is not being mapped to an added join expression or subquery select expression, and how I was using these changes to compensate for that.

:up::date:

Merged via 2a8a3b5bd5fd39337038dd952acadee93eefa3f2
Thank you for contribution.


Unable to access the site with SSL

Hi, I installed letsencrypt with the script, it seems like everything is normal, it doesn't give any error, creates a new binding and everything, but when I try to browse the page with https it just doesn't connect. what can I do to fix this?

Your server firewall is probably blocking port 443 (https).
From PowerShell on another computer try:
Test-NetConnection -Port 443 -ComputerName yourdomain.com

If you get 'TcpTestSucceeded : False' then that likely confirms your firewall if blocking. If it returns 'True' then it's an IIS configuration problem.

Hi, same issue here.
Installation looks normal (no errors), if I go to IIS manager and edit the site bindings, I can see the certificate properly assigned; but when browsing the https is not connecting.
From doing Test-NetConnection -Port 443 -ComputerName yourdomain.com I got:
TcpTestSucceeded : True
What do you mean by IIS configuration problem ?
Thanks.

Try using an external service to validate connectivity, e.g. https://www.ssllabs.com/


Remove CGo for Windows

I have started an implementation of this library using the SDL2.dll on Windows directly, thus removing the necessity for a C-compiler.
What I have done so far is: I went through the veandco docs, copied the API with comments from there. This resulted in more or less the same docs for my version.
So far there are still some TODOs left in my code, mainly concerning callbacks and some questions I have regarding 32 bit and 64 bit DLLs (note that this port allows us to use 64 bit DLLs on Windows where right now, for the veandco version, we get a compiler error stating that 64 bit support is not yet here).
There is still work to do but I wanted to start the discussion on this early, that is why I am creating this issue.
Here is a list of things that I am working on/thinking about right now.
I want to make my port API compatible with the original to be able to eventually create a pull request and merge it as an alternative way to use the library on Windows. This means that future updates would need to consider the DLL-port besides the CGo version of the code. This should however be no problem as the porting follows the same pattern always.
The other libraries (gfx, img, etc.) should be ported as well eventually.
I have yet to test all of my code, right now I have run some of my apps with it and they work but they only use a small bit of the API. I will add my tests to the repo to be run as automatic as possible. Any effort put into this will also be useful for the veandco repo, even if you would not merge my changes for any reason.
Right now my code loads SDL2.dll using syscall.NewLazyDLL on init time. I am thinking about adding a function like LoadDLL(file string) where you can specify your DLL path and name. Still, the default should be that you do not need to call this function and it will load SDL2.dll by default. This means it must reside either next to your .exe or in the Windows system folders.
Thinking about the future of this, I would suggest making it an option for the developer to chose between the CGo and the DLL version of this library on Windows. I am not quite sure what the right way to do this is, however. Put it in a subpackage github.com/veandco/go-sdl2/sdl/dll/sdl? This would require users to change their package import paths. Another way is to have a build tag dll, toggling between the versions. This would probably be nicer to use.
The reason is did this is because I have gone through the hassle of installing MinGW and Cygwin in the past and it is a terrible user experience. On Linux, using CGo is easy, no problem whatsoever, just a few apt installs and you have your SDL2 libraries and everything. On Windows, I like my Go code to work without a C-compiler, I have been creating a couple of libraries that do this. GCCs on Windows are a horror to set up, especially for newcomers just learning to program, and the Visual Studio compiler is not supported by Go. Also, installing that is an undertaking of its own as well. C-compilers on Windows... that's why I love using Go.
I hope we can make this work. I love the fact that you can now use the static option to create a dependency-free executable, that was a great step. Improving the usability, easy of development and easy of deployment are very high on my priority list. Great job on this SDL2 Go port, I love contributing to it. Looking forward to your comments.

I have referenced a couple of other Windows related issues to this one to get a conversation started with people who have had problems with this in the past.

Hi @gonutz, that sounds like a really nice alternative that would make this package so much more usable! I can see that even on Linux and other platforms that it can be beneficial. For example, we could statically cross-compile the binary, copy it into another machine, and let it load the libraries at run time.

Being able to compile without cgo would definitely make me gonutz! what are the downsides of loading libraries in runtime versus dynamic linking? is there any performance hit?
Instead of starting a whole different project to eventually try to merge in this, wouldn't it be easier to start directly from this one, look for every file with import "C" and mark it with // build !dll and try to make everything work from there (by having separate replacement files with // build dll that would expose same API but using loaded functions?
I would definitely embrace that work as well, supporting OSX/Linux

I have not evaluated this but I think there are no performance disadvantages. Using CGo is probably the same overhead as calling into a DLL but that is just a feeling. Maybe someone could do a comparison. Then again it does not really matter, the function call overhead is not important in reality. How much time is a couple of nanoseconds to invoke a function versus blitting a bitmap? Nothing really.
Actually I have the API complete, all that is missing now are tests. There are about five to ten TODOs left where I am not sure whether the DLL version really works correctly. One such thing I am grinding my teeth on right now is that a joystick has a GUID which is a struct of 16 bytes. This is the only thing that is passed by value in SDL2 while being larger than 32/64 bit. Besides this most of the things should work already.
Anyway, what you described is basically what I did, only instead of mirroring the file structure of this repo I use one file for everything. This is more of a personal preference, I like to find my stuff faster.
I think a library without CGo is not really that important on Linux since every Linux I have ever used comes with gcc. I have no experience with Mac, never had one, but someone else might be able to pull something similar off for OSX.

Yes I mentioned performance as it was the only thing that came to mind, not that it was important. I was really wondering about other cons of runtime loading, as I don’t know any (besides compile-time validations that can be covered with unit tests I guess).
Not really sure I understand your last statement. Most Linux distros come with gcc, that’s true (except for minimal ones, common in docker images, alpine doesn’t even use glibc), OSX also. But is that your point to remove cgo dependency for windows? That it doesn’t have gcc pre-installed? Because it certainly doesn’t have go toolchain either :) and nowadays installing gcc in windows is as trivial as in Linux..
So my point for removing cgo is basically cross compilation. Go brought a world of improvements for current days: easier threading, faster/lighter Async routines and also, out of the box, ability to build static and packed binaries and cross compile to any os/arch with the same toolchain.
That doesn’t happen in C. You need a different toolchain for every arch. If you use other libs and link to them (either dynamically or statically) you need to build them as well with all those toolchains.
Removing cgo dependency (and the need to even have the libraries installed in the build machine) is awesome for that, we go back to only requiring one toolchain: the mighty go one.
So yes, there is a good advantage for Linux and OSX, regardless of having gcc pre-installed :)

Just to add, you can load DLL like that only in Windows, via syscall. In Linux, that is the job of C lib (usually glibc),  even plugins just use libdl and cgo.

Crap, good to know @gen2brain cheers. So multiple toolchains still would be required, just not building all dependent libraries with them (as the only requirement would be libdl which is part of any of these toolchains I suppose).

You are of course right, it would be great to remove CGo on every platform. Cross-compilation is a great feature, it is really said that it is seemingly impossible to remove it in Linux. Still the main reason I even started doing everything with DLLs on Windows was in fact that I found C compilers annoying to set up. I sometimes teach students programming and I use my little prototying game library for it. In the beginning when I created it it used CGo which at the time was fine for me because I had MinGW installed on my machine. The problem was when students wanted to install it on their own laptops, to be able to keep programming at home. Settings up MinGW was a catastrophy when I last did it two years ago, I don't know if it has changed since then. I remember a thousand questions during the setup about stuff that a beginner has no idea of how to answer. Then came a Windows version of the Synaptic package manager. You had to know your way around it to even be able to select the right things to install. After everything you of course had to add both the msys and mingw bin directories to your path. Arcane is what I would call the process.
Eventually, after writing a huge instruction in my repo, I decided to just implement a Windows version of the library that uses DLLs directly, I now have a win api, Direct3D9 and DirectSound8 wrapper. Now I just tell people to download and install Go and we go from there. They finally removed GOPATH so usability is now at its highest it has ever been. Sorry for the long rant :-)
The way I would probably go when building e.g. a Ludum Dare game in 48 hours is to use Linux, compile the Linux binary with CGo and have a script to cross compile the Windows version from there. This way it works, cross compiling from Windows to Linux requires MinGW or Cygwin so a pure Go Linux library would be awesome.

I was highlighting the cross-compiling and ignoring the tricky parts of mingw in Windows because I am fighting with the cross-compiling to ARM (RPi), sorry.
But I do get your point, Go (as anything higher-level than C, such as python as well) is easier to setup in Windows than GCC... Specially if it's GCC+CGo... Even though Travis-CI supports windows machine, I ended up using Linux one with cross-compilation to produce the windows executable, it just works...
I guess you should start your programming classes with Installing VirtualBox and using this Linux VM pre-configured for CGo and cross-compilation to Windows :)

Mabe github.com/rainycape/dl is what you need for a dynamic loading on linux:
https://github.com/golang/go/issues/30162#issuecomment-462346856

@lkppo Hey, thanks for the hint. I took a look at github.com/rainycape/dl and it uses CGo internally. This is what we want to avoid ideally. The point of this port is to remove CGo from the process because on Windows, installing a C-compiler is a pain. On Linux I do not see a problem with using CGo, most Linux Distros come with GCC. Of course we could also build something using C.dlopen and the .so file directly but in the case of Linux that will not save the developer much trouble.

Hi gonutz,
My point was you could cross-compile and provide this thin wrapper for linux as binary and change only your main function to use it on linux.
This could avoid two ways of writing the binding. Since I did not do this before, did I say something silly?

Oh, I see. Do you mean cross-compiling from Windows to Linux or vice versa?
Removing CGo from the Windows thing will allow you to cross-compile from Linux to Windows easily.
Cross-compiling from Windows to Linux would still require you to have a GCC installed on Windows, since as I said the library you suggested uses CGo for dlopen as well. If we could however get CGo out of the way and use dlopen from pure Go, similar things might be possible for the Linux version. In that case the cross-compilation from Windows to Linux could be made easy as well.

Yes it's what I mean. Using Linux the first time for compiling a dl package for Linux. Adapt the binding to use the native windows loader or dl loader for Linux. After that use the dl binary package to cross-compile for Linux from windows, or compile on Linux. When we have a binary package of dl. Would it be possible to do that?

I am not really sure what you mean by "binary package of dl". As I said, we would have to be able to call dlopen without CGo, see Go issue #18296.

Just tested https://github.com/gonutz/go-sdl2 and this worked great!
Keep up the great work!

@5k3105 Thank you very much, there are some issues left, however. I have not worked on this fork for some time now and the status I left it in was testing if everything works. Unfortunately the SDL 2 API is pretty large and I cannot really test everything (e.g. some game controller functionality) which is why I have not yet created a pull request for the main repo.


[PrunedLiveness] Addressed boundary TODO.

With guaranteed phis, we'll be able to encounter cases where the last users are BranchInsts which use but don't consume a value.  But even without them, we can still test the API.

@swift-ci please test

@swift-ci please test

@swift-ci please test

@swift-ci please test macOS platform

@swift-ci please test macOS platform

@swift-ci please smoke test

@swift-ci please test macOS platform

@swift-ci please test linux platform

@swift-ci please smoke test and merge


python3Packages.crypto-commons: init at unstable-2019-11-08

Motivation for this change
Make the awesome p4-team/crypto-commons available for CTF players using NixOS!
Things done

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

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

[ ] Tested 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)
[x] Fits CONTRIBUTING.md.

Opened an issue in the upstream repo to know under which license this Python package is available.

Ah, I think you are right: this package does not have to be in nixpkgs.
I had never heard of NUR, I am giving it a go now :)

thank you for understanding :)


make command prefix character(s) configurable

It might be good to allow other characters to mark commands. For example, we thought that for a particular setting, marking comands with # instead of / would be more intuitive for people.
(More concretely, in Nazia's setting that would be
A belongs to category 1, because it is green. #answer
instead of
\answer A belongs to category 1, because it is green.   Which shows that here maybe the parsing also needs to be different, as the syntax is not "command argument(s)", but rather that the command follwos the "arguments".)
Solution could be to make the set of  "command indicator characters" a configurable option?

On second thought, maybe one could go the Twitter route here and make this a thing between users (or in this case, users and bots) and leave the server out of it?
The presence of a certain hash tag in a message is something that the bot can test for without being explicitly triggered by the command mechanism.  The bot is being triggered by the normal "message" event in any case.  Commands have the additional property that only the bots that have registered them see them, but here don't need this requirement.
So maybe we want to make a conceptual distinction between commands and tags, and let the server only handle the former? @nattari , what do you think?

Actually this should be solved via plugins. Let's take the send-message.js plugin:
if (text.match("^/")) {
    // parameter: [string]
    submit_command(text.substr(1).split(' '));
    // user: dict, timestamp: int, text: string, private: bool
    display_message(current_user, current_timestamp, text.substr(1), true);
} else if (text.match("^image:")) {
    // image: string, width: int, height: int
    submit_image(text.substr(6), 300, 300);
    // user: dict, timestamp: int, image: string, width: int, height: int, private: bool
    display_image(current_user, current_timestamp, text.substr(6), 300, 300, false);
} else {
    // text: string
    submit_text(text);
    // user: dict, timestamp: int, text: string, private: bool
    display_message(current_user, current_timestamp, text, false);
}

If we replace "^/" in the first line with "^#" we will get this desired behavior

Ah, of course. It is already "configurable" in a sense, or rather, it is already even more general. That was fast! :-)

It's rather possible to implement hashtags this way. Something like text.includes("#"); and then use the rest of the string as "command".

On second thought, maybe one could go the Twitter route here and make this a thing between users (or in this case, users and bots) and leave the server out of it?
The presence of a certain hash tag in a message is something that the bot can test for without being explicitly triggered by the command mechanism. The bot is being triggered by the normal "message" event in any case. Commands have the additional property that only the bots that have registered them see them, but here don't need this requirement.
So maybe we want to make a conceptual distinction between commands and tags, and let the server only handle the former? @nattari , what do you think?

Yes, I also think commands should be handled by the server and tags by the bots who need this particular feature.
As this is already configurable, we can easily make tags as commads based on how players react to this in my set-up.


Crash when click start acquisition

Describe the bug
Hello, GUI Crash with error message
To Reproduce
Click to start acquisition
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots

Desktop (please complete the following information):
Windows 10
Smartphone (please complete the following information):

Device: [e.g. GALAXY S7]
OS: [ANDROID]
Browser [Chrome]

@Eddi-z @PLICHET Hi, I have just pushed the fix into the master. I would appreciate if you could tell me the outcome. Thanks, Kazunari.


Update docs.oceanprotocol.com wrt ocean.py's brownie -> web3.py

This is a pass-through issue to docs#1259 "Update ocean.py docs wrt brownie -> web3.py". I created this issue so that we can track it within S3 without having to track all of docs repo.

Closed via https://github.com/oceanprotocol/docs/pull/1286


update. please

Package

[ ] lucide
[ ] lucide-angular
[X] lucide-flutter
[ ] lucide-preact
[ ] lucide-react
[ ] lucide-react-native
[ ] lucide-solid
[ ] lucide-svelte
[ ] lucide-vue
[ ] lucide-vue-next
[ ] Figma plugin
[ ] source/main
[ ] other/not relevant

Version
0.257
Browser

[ ] Chrome/Chromium
[ ] Firefox
[ ] Safari
[ ] Edge
[ ] iOS Safari
[ ] Opera
[ ] Other/not relevant

Operating system

[ ] Windows
[ ] Linux
[ ] macOS
[X] Other/not relevant

Description

Steps to reproduce

Checklist

[X] I have searched if someone has submitted a similar issue before and there weren't any. (Please make sure to also search closed issues, as this issue might already have been resolved.)

I'm sorry to say that we've abandoned the Flutter package as there was no one to maintain it: #1593 😔


Pin gradio_client version

Context: https://github.com/gradio-app/gradio/issues/7364#issuecomment-1936465678

Thanks @abidlabs


Some links for blocking structs refers to the non-blocking versions

On https://docs.rs/reqwest/0.10.0-alpha.1/reqwest/blocking/index.html, some links to data structures point to the non-blocking variants.  For example, under the "Making a GET request" section, the links to get, Response, and Client point to their non-blocking variants.
I built the docs locally to see what the issue might be and after running cargo doc --features blocking, the generated docs seem to contain the right links.  So I am not sure what the issue might be.

I think you may be looking at an older version of the docs.
You can go to the latest version by clicking on the ⚠ icon on the top menu of the docs.rs docs.

Thanks for the reply!  You are right, things look fine in the latest version of the doc.  I suppose I got to an older version through Google.  Closing.


Doc "Building Extension Modules" doesn't have the attributes of class setuptools.Extension.

Summary
Doc "Building Extension Modules" doesn't have the attributes of class setuptools.Extension.
https://setuptools.pypa.io/en/latest/userguide/ext_modules.html
OS / Environment
No response
Additional Information
None.
Code of Conduct

[X] I agree to follow the PSF Code of Conduct

The attributes are not exposed via public API at this stage.
The docs mention the constructor parameters.


[ACR] Address apiview feedback for GA

Address the feedback from this apiview: https://apiview.dev/Assemblies/Review/e77720207ba7448e84cb77859392731d?diffRevisionId=3e2025a817b74f259e1a4774481c43e3&diffOnly=False&revisionId=a1c6f64d093b4deaad65d5f5e343119f&doc=False

API change check
APIView has identified API level changes in this PR and created following API reviews.
azure-containerregistry


double precision processing support

Currently DPF asserts that all incoming and outgoing samples are 32 bit floats.
However it's also pretty safe to assume that just about every modern host is gonna be running at 64 bit, so I'm wondering how doable it would be for DPF to either offer a templated process function or some kind of "accept 64 bit" compiler flag.

32bit audio already has near infinitely low noise floor.
Besides, I don't think there is any DAW that even supports 64bit audio buffers.
I think you might be confusing 64bit CPU architecture with sensible audio word lengths.

Besides, I don't think there is any DAW that even supports 64bit audio buffers.

most of them do actually. it is actually rare nowadays to have a daw without 64bit/double buffer support.
but in any case, such feature is not wanted in DPF that targets the making of simpler / easier plugins.
same reason as for why there is no multi midi port support.
so I am closing the ticket as not wanted

Yeah that's totally fair! Thanks for the reply!


[Bug]/[Question] Windows node fail to start - svclb stuck in pending - 401 error when pulling SVCLB image

Describe scenario
I tried a fresh AKS Edge install - SingleNode, then added the windows node as per the instructions here
I then tried to add a windows deployement and I found it is stuck in ContainerCreating.
with further debugging I found that although the node is "Ready" the svclb in kube-system is also stuck in ImagePullBackErr status due to the following error
Failed to pull image "aksiotdevacr.azurecr.io/rancher/klipper-lb:v0.3.5": rpc error: code = Unknown desc = failed to pull and unpack image "aksiotdevacr.azurecr.io/rancher/klipper-lb:v0.3.5": failed to resolve reference "aksiotdevacr.azurecr.io/rancher/klipper-lb:v0.3.5": failed to authorize: failed to fetch anonymous token: unexpected status: 401 Unauthorized
I have no ARC subscriptions and the licensing I am thinking to use (if this POC proves relevant) is volume licensing since the installations of our product will be in air-gap environments without internet connectivity.
Question
Is the windows Node feature of AKS Edge relevant without ARC subscription?

Hi @nadavsinai-philips,
Thanks for reaching out. Please share instructions on how to repro this issue.

Are you using K3s or K8s?
SingleMachine or ScalableCluster?
ServiceIPRange size?
Are you using our Win sample deployment yaml?

K3S - SingleMachine - ServiceIPRange = 10

K3S - SingleMachine - ServiceIPRange = 0

Thanks,
Francisco

hi @fcabrera23 , thanks for your reply.
I recreated the cluster with the ServiceIpRangeSize set to 10.
The cluster is created but again I could not run windows workload
the problem is now
FailedCreatePodSandBox  35s   kubelet            Failed to create pod sandbox: rpc error: code = Unknown desc = failed to setup network for sandbox "8fd3f4ea4b02a5d429e34cf1bf8210ae1b6a8643e5477cc2211b3b2aeb454ca9": plugin type="flannel" failed (add): failed to delegate add: error while adding HostComputeEndpoint: failed to create the new HostComputeEndpoint: hcnCreateEndpoint failed in Win32: The object already exists. (0x1392) {"Success":false,"Error":"The object already exists. ","ErrorCode":2147947410}```

Hi @nadavsinai-philips,
Did you wait ~10-20 minutes? It will give an error but then will retry and download the container (which takes some time) and schedule it correctly. Could you please confirm?

Thanks! indeed, if I wait long enough the cluster recovers and manages to create the svclb for the windows node
perhaps a change in docs needs to reflect the time it can take


fix: don't wrap URLs

Adds function and associated tests to reconnect URLs that are broken into parts when docstrings are wrapped.
Closes #75

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 0.0%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
0

Relevant Lines:
0

💛  - Coveralls


[Bug] Neko not compatible with Android 5.1.1

Device information

Tachiyomi version: -
Android phone & version: Samsung Galaxy S6, Android 5.1.1

Steps to reproduce

Downloading newest APK
Trying to install the APK
Seeing that it won't install because it won't support Android 5.1.1
be sad

Expected behavior
It should install (like older versions did)
Actual behavior
Error Parsing Package when install (=android 5.1.1 not supported by the APK)
Other details
Please compile the apk in a way so older Android Users can still use Neko. It worked fine in older versions of Neko and it would be a shame if Users wouldn't be able to use Neko just because you choose in Android Studio a to high api level for the apk. you don't need to support that old versions, but atleast let them install it and use it.

There is no plans to support Android 6 and lower. Analytics show there are around 20 users who are on Android 6 or lower out of 7k installs.  It's not worth the extra effort to keep the support

"you don't need to support that old versions, but atleast let them install it and use it."
I feel like you have a large misunderstanding on how app development works. It's not just a matter of choosing a number and clicking "compile".

Also the Samsung Galaxy S6 got Android 7...

"you don't need to support that old versions, but atleast let them install it and use it."
I feel like you have a large misunderstanding on how app development works. It's not just a matter of choosing a number and clicking "compile".

i do know how app developement works. i did develope app's in eclipse & a while ago also on android studio. i even have my own app in the appstore. so please don't try to tell me i wouldn't know how app developement works.
if you create a app, you choose for which api level the apk should be compiled. if you choose a minimum api level that is higher than as an example 5.1.1, android versions with 5.1.1 and below are not able to install that apk. if you choose a lower api level as an minimum requirement than 5.1.1, you will be able to install the apk on android devices who do have 5.1.1 (and lower depending on which api level you choose).
Tachiyomi (which Neko is based on) works fine in the newest version on my device, so it is possible to do. If the developer ofcourse chooses to make it easy for himself by using new functions who aren't included / available in previous android versions, the apps will not work on older versions. but that is something that you can bypass by using functions who are available in older android versions or by program code who catch this problems by using alternative functions instead of functions included in newer android versions. If you use as an Example FunctionA but this function is only available in newer Android versions, you can check in your programcode if the app is running on an older version of android and then using FunctionB who does practically the same as FunctionA, but a little different.
short - it's possible to do.Tachiyomi is the best example for this. and you can't tell me that the other functions included in Neko are all require functions who aren't available in older android versions.

Also the Samsung Galaxy S6 got Android 7...

yeah, if you want me to lose my root access, all app settings and years of configuration i did on my phone by upgrading to a newer version of android.. but i'm not gonna reinstall my whole operation system with all the tweaks and root configurations i created just to be able to use an single app. there is currently no working root for my device with android 7 that is working without bugs and issues. so i wouldn't even be able to upgrade to android 7. i tried that a few years ago. ended in bootloops, crashes and other glitching.

Tachiyomi (which Neko is based on) works fine in the newest version on my device, so it is possible to do.

Neko is based on TachiyomiJ2K, not Tachiyomi. They diverged quite a while ago, and it's difficult to make lot of the J2K stuff work properly in older versions (mostly UI related things AFAIK).

short - it's possible to do.Tachiyomi is the best example for this.

I'm well aware, I maintain the core Tachiyomi app. The only reason I haven't had to bump up the minSdkVersion yet is because we don't try to do anything fancier like J2K/Neko. In the end, it comes down to the cost benefit. Is it worth struggling to support a few dozen users instead of adding more features for the other thousands? Probably not, especially when the project isn't a source of income.

yeah, if you want me to lose my root access, all app settings and years of configuration i did on my phone by upgrading to a newer version of android.

That sucks, I guess. Unfortunately you're in a slowly sinking boat. Even looking at these distribution stats, Android 5.x users only account for 9.2% of total overall Android users (that the data accounts for). Even this famous Twitter account that many use as a bar recommends setting the minimum at Android 6.

As you said it's possible. I don't want to. I don't want be limited with the API by supporting versions of Android that are hardly used.   You are welcome to fork and make an Android 5 compatible version

Neko is based on TachiyomiJ2K, not Tachiyomi. They diverged quite a while ago, and it's difficult to make lot of the J2K stuff work properly in older versions (mostly UI related things AFAIK).

didn't knew that, thanks for explaining me that. i did saw https://tachiyomi.org/forks/ & since Neko is listed as a fork, i expected it to be using the main Tachiyomi source, not TachiyomiJ2K.

I'm well aware, I maintain the core Tachiyomi app. The only reason I haven't had to bump up the minSdkVersion yet is because we don't try to do anything fancier like J2K/Neko.

does this mean that Tachiyomi will (atleast for a "short" future) keep the minSdkVersion the same like currently? it would suck if it would stop working on my device since except Tachiyomi the only good manga reader is MiMangaNu.. but it's not having many sources so it's not really comfortable.

In the end, it comes down to the cost benefit. Is it worth struggling to support a few dozen users instead of adding more features for the other thousands? Probably not, especially when the project isn't a source of income.

If Tachiyomi or Neko would be available in the Playstore (which google wouldn't allow i guess) or elsewhere, i'm sure a ton of people would pay for it - i would.
i understand that it is a lot of work to maintain a project and you need to focus on the important stuff and pay the most attention to the users who use the project the most.. but still.. it sucks a little.

That sucks, I guess. Unfortunately you're in a slowly sinking boat.

i know. but without a job and without any sort of income, with an extrem old smartphone.. i can't afford a new smartphone with a newer android. and since i use my current device for a lot of important things that need a specific setup (lucid dreaming research.. miband sleep tracking & developement of apps for it etc.), i can't just change that easy.
guess i just have to say "okay, sucks." and try to find a different option. my current idea is to maybe create my own extension for Tachiyomi which sync's the reading of chapters on mangadex. the current extension for mangadex doesn't seem to support that (or it's buggy currently). that's the main reason why i wanted to use Neko (syncing of chapters i have read on mangadex).
anyway.. thanks to both of you. i wish you a nice day / night & greetings from germany.

Neither the extension or Neko sync what you read on Dex to app. I plan to eventually add that to Neko but it's not high priority.

Neither the extension or Neko sync what you read on Dex to app. I plan to eventually add that to Neko but it's not high priority.

i tried Neko 1.7.2(51) and did login inside the app into MangaDex. If i then open an manga in the app and read a chapter, and then open Mangadex on my computer.. it synced which chapter i have read. If i open a Manga i have never read in the app, then read 2 chapters, and then open the chapter overview on my computer in the browser, it shows me that i have read this 2 chapters. so it DOES sync. i tried that multiple times with different mangas.

does this mean that Tachiyomi will (atleast for a "short" future) keep the minSdkVersion the same like currently?

Yes, there's no active plans to move away from it. We only dropped Android 4.x because of technical limitations.

If Tachiyomi or Neko would be available in the Playstore (which google wouldn't allow i guess) or elsewhere, i'm sure a ton of people would pay for it - i would.

In the spirit of the original creator, we won't be charging for it. People are free to donate to him though: https://ko-fi.com/inorichi

i know. but without a job and without any sort of income, with an extrem old smartphone.. i can't afford a new smartphone with a newer android.

It might be worth checking out some cheap Chinese phones. They're generally fairly decent for the price.

Neither the extension or Neko sync what you read on Dex to app. I plan to eventually add that to Neko but it's not high priority.

i tried Neko 1.7.2(51) and did login inside the app into MangaDex. If i then open an manga in the app and read a chapter, and then open Mangadex on my computer.. it synced which chapter i have read. If i open a Manga i have never read in the app, then read 2 chapters, and then open the chapter overview on my computer in the browser, it shows me that i have read this 2 chapters. so it DOES sync. i tried that multiple times with different mangas. i didn't tried if the other way around works, but that wouldn't be a problem / issue for me.

Ok so this was removed in Neko it was an unintentional side effect of the Dex API.  I don't remember if I changed it for the tachiyomi extension or not


Batch endpoint deployment error code: NoRegisteredProviderFound

Hi,
I am trying to deploy my model with batch endpoint and receiving the below errors.
This error is from the deployment.
"code": "DeploymentFailed",
"message": "At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/DeployOperations for usage details.",
"details": [
{
"code": "DeploymentFailed",
"message": "At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/DeployOperations for usage details."
}
]
}
Another for the endpoint, updateEndpointWithTraffic-testing-batch-endpoint | Overview Looks like the above error is encountered because of the endpoint update.
{
"code": "DeploymentFailed",
"message": "At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/DeployOperations for usage details.",
"details": [
{
"code": "NoRegisteredProviderFound",
"message": "No registered resource provider found for location 'eastus2' and API version '2022-03-01-preview' for type 'workspaces/batchEndpoints'. The supported api-versions are '2020-09-01-preview, 2021-03-01-preview, 2021-10-01, 2022-02-01-preview, 2022-05-01'. The supported locations are 'northcentralus, canadacentral, centralindia, uksouth, westus, centralus, eastasia, japaneast, japanwest, westus3, jioindiawest, germanywestcentral, switzerlandnorth, uaenorth, eastus, northeurope, koreacentral, brazilsouth, francecentral, australiaeast, eastus2, westus2, westcentralus, southeastasia, westeurope, southcentralus'."
}
]
}
Any help would be appreciated. Thanks

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

ID: 38b795c5-8576-e784-08de-55193d7e9fc5
Version Independent ID: 8dbca2f7-9734-21df-6650-6d37730c62e7
Content: How to use batch endpoints in studio - Azure Machine Learning
Content Source: articles/machine-learning/how-to-use-batch-endpoints-studio.md
Service: machine-learning
Sub-service: mlops
GitHub Login: @shivanissambare
Microsoft Alias: ssambare

@kenichi-segawa What is the actual document you are referring to?

Since we didn't receive any response, we will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.
Please also do visit Microsoft Q&A the home for technical questions and answers at Microsoft.

Hello all, sorry for the delayed action on this issue, we are routing this to the SME for further action!

If you can share what you wanted to achieve and what steps you have taken to get this error, it helps us understand the issue. The second one was a known issue and it has been fixed a while ago. Please let us know if the issue persists. If the issue is not about the documentation but about a specific error you are facing, we generally recommend creating a support ticket so that we can continue investigation and suggestion.

#please-close


Unsloth error unable to push to hub

[/usr/local/lib/python3.10/dist-packages/unsloth/save.py](https://localhost:8080/#) in save_to_gguf(model_type, model_dtype, is_sentencepiece, model_directory, quantization_method, first_conversion, _run_installer)
    982             quantize_location = "llama.cpp/llama-quantize"
    983         else:
--> 984             raise RuntimeError(
    985                 "Unsloth: The file 'llama.cpp/llama-quantize' or 'llama.cpp/quantize' does not exist.\n"\
    986                 "But we expect this file to exist! Maybe the llama.cpp developers changed the name?"

RuntimeError: Unsloth: The file 'llama.cpp/llama-quantize' or 'llama.cpp/quantize' does not exist.
But we expect this file to exist! Maybe the llama.cpp developers changed the name?

Got this error when using model.push_to_hub_gguf in Unsloth ?

Would it be possible to try manually saving to GGUF via https://github.com/unslothai/unsloth/wiki#manually-saving-to-gguf


Bug: getUser function not returning a username property

Prerequisites

[X] I have searched the repository’s issues and Kinde community to ensure my issue isn’t a duplicate
[X] I have checked the latest version of the library to replicate my issue
[X] I have read the contributing guidelines
[X] I agree to the terms within the code of conduct

Describe the issue
I'm attempting to retrieve the username property for users that have usernames set. However, the getUser method from the getKindeServerSession function only returns an object with the following properties:
{

  "family_name": "family name",

  "given_name": "given name",

  "picture": "picture_url",

  "email": "email",

  "id": "idString",

  "properties": {

    "city": undefined,

    "industry": undefined,

    "job_title": undefined,

    "middle_name": undefined,

    "postcode": undefined,

    "salutation": undefined,

    "state_region": undefined,

    "street_address": undefined,

    "street_address_2": undefined

  }

}

The username property is missing from the response despite the fact that users do have usernames set.
Steps to Reproduce

Import the getKindeServerSession function from @kinde-oss/kinde-auth-nextjs/server.

Call the getUser method.

Observe the response object.

import { getKindeServerSession } from "@kinde-oss/kinde-auth-nextjs/server";

export default async function Home() {

  const { getUser } = getKindeServerSession();

  const user = await getUser();

  console.log(user);

  return (

{JSON.stringify(user, null, 2)}

  );

}

Expected Behavior
The response object from the getUser method should include the username property if it is set for the user.
Actual Behavior
The getUser method returns an object without the username property, even for users who have usernames set.
Verification
I have contacted support and verified that users do indeed have the username property set. This was confirmed by using the Kinde Management API to retrieve user objects, which included the username property.
Environment
Package Version: @kinde-oss/kinde-auth-nextjs "^2.2.13"
Node.js Version: v21.1.0
Library URL
https://github.com/kinde-oss/kinde-auth-nextjs
Library version
"2.2.13"
Operating system(s)
macOS
Operating system version(s)
macOS Sonoma 14.4.1
Further environment details
No response
Reproducible test case URL
No response
Additional information
No response

Hey @noelalfaro thanks for raising this - I'll put in a fix to add the username to the User object.
In the meantime you can get around this by doing
  const { getIdToken } = getKindeServerSession();
  const idToken = await getIdToken();
  console.log(idToken.preferred_username)

Trying out that workaround right now and the KindeIdToken type does not have a preferred_usernameproperty but when I console log the entire idToken object returned from await getIdToken()the property does exist.

Hey @noelalfaro we've added the username property to the KindeUser object now
type KindeUser = {
  id: string;
  email: string | null;
  given_name: string | null;
  family_name: string | null;
  picture: string | null;
  username?: string | null;
  phone_number?: string | null;
  properties?: {
    usr_city?: string;
    usr_industry?: string;
    usr_job_title?: string;
    usr_middle_name?: string;
    usr_postcode?: string;
    usr_salutation?: string;
    usr_state_region?: string;
    usr_street_address?: string;
    usr_street_address_2?: string;
  };
};


Fixes narrowing conversion

NOTE: I had to disable the TLS tests because I shotdown the server I was running on my domain occase.de. Once this ticket is merged I will open a new one to fix that and reenable the tests.

@strelez77 This should fix your problem. Do you want to try it before I merge?

@mzimbres Thanks for the quick response! The error is fixed by this commit.


Add *Reader classes to CesiumGltfReader and Cesium3DTilesReader.

This builds on #710 so merge that first.
These generated classes allow individual classes in CesiumGltf and Cesium3DTiles to be read from JSON (either a buffer or a rapidjson::Value). Almost all of the changes are to generated code.

Merging now. Thanks @kring !


Ditherered transparency example - enable dorth write when dithering is on

this makes sure the skybox does not overwrite it

dorth = depth


IRGen: fix a problem with 24-bit enum payloads in statically initialized global variables

IRGen crashed in case an enum, which has a 24 bit payload (e.g. three UInt8), is used as a payload of another enum, e.g. Optional, in a statically initialized global variable.
rdar://112823823

@swift-ci test


lite2 package for linux Python 3.12

The packages for Python 3.12 need to be created

Or is the sourcecode available? I need to run on Python 3.12 and could help create these .whl if someone can point me to the sourcecode.


Update kernel picker titles

Codecov Report

Merging #12156 (0d411f3) into main (47cc95a) will increase coverage by 0%.
The diff coverage is 100%.

@@          Coverage Diff           @@
##            main   #12156   +/-   ##
======================================
  Coverage     70%      70%
======================================
  Files        500      500
  Lines      31567    31579   +12
  Branches    4929     4930    +1
======================================
+ Hits       22215    22275   +60
+ Misses      7475     7419   -56
- Partials    1877     1885    +8

Impacted Files
Coverage Δ

...ollers/kernelSource/quickPickKernelItemProvider.ts
88% <100%> (+<1%)
:arrow_up:

src/platform/common/utils/localize.ts
76% <100%> (+<1%)
:arrow_up:

...c/platform/common/process/pythonDaemonPool.node.ts
77% <0%> (-3%)
:arrow_down:

...kernels/jupyter/launcher/jupyterConnection.node.ts
82% <0%> (-1%)
:arrow_down:

src/notebooks/debugger/debuggerVariables.ts
69% <0%> (+<1%)
:arrow_up:

...c/kernels/execution/cellExecutionMessageHandler.ts
80% <0%> (+1%)
:arrow_up:

src/platform/common/process/condaService.node.ts
69% <0%> (+1%)
:arrow_up:

...tive-window/debugger/jupyter/kernelDebugAdapter.ts
62% <0%> (+1%)
:arrow_up:

.../notebooks/debugger/debugLocationTrackerFactory.ts
100% <0%> (+3%)
:arrow_up:

src/kernels/common/chainingExecuteRequester.ts
94% <0%> (+11%)
:arrow_up:

... and 1 more


m.initialize has a bug setting the subsize if the array input is array of data views

Describe the bug
m.initialize has a bug setting the subsize if the array input is array of data views
To Reproduce
data = [new DataView(new ArrayBuffer(10))];
plot.overlay_array(data);//throw "subsize must be provided with type 2000 files";

Expected behavior
The code allows arrays of Dataviews to be set and attempts to get the length for the subsize using data[0].length. However, dataviews it should be data[0].byteLength
Additional context
Fix should be
else if (Array.isArray(data) && (Array.isArray(data[0]) || ArrayBuffer.isView(data[0]))) {
            //If this is a 2-D array automatically set subsize
            hcb.type = 2000;
            hcb.subsize = ArrayBuffer.isView(data[0]) ? data[0].byteLength: data[0].length;
            hcb.size = data.length;
        }

Also this needs to be corrected in bluefile.js when it flattens the 2d array
https://github.com/LGSInnovations/sigplot/blob/39e66f415a018563dcd0cf778df50253c3817be7/js/bluefile.js#L577

@desean1625 can you go ahead and submit a PR with these fixes?


L-BFGS implementation

[x] basic algorithm
[x] reusable line search module
[x] support for pytrees
[x] tricks of the trade

This PR is now ready for review. I finished implementing L-BFGS with native support for pytrees. Currently, it uses a simple backtracking line search. I'll add the zoom line search from JAX core in another PR.

🎉 thanks @mblondel ! It's great to see this landed in jaxopt


ember-cli-sass broken on ember-engines 0.5.0

To reproduce, all you have to do is install both ember-cli-sass and ember-engines and do ember s. I put together a repo that you can just pull to see the problem. It complains there is no addon.scss, but you should be able to use app/styles and not have to have addon.scss.
https://github.com/rwwagner90/engine-sass-test
Possibly related to #376
Stack trace:
The Broccoli Plugin: [SassCompiler] failed with:
Error: File not found: /addon.scss
in any of the following include paths:
  /Users/wagner5/engine-sass-test/tmp/sass_compiler-input_base_path-PwQhZA67.tmp
    at Object.findFileSync (/Users/wagner5/engine-sass-test/node_modules/include-path-searcher/index.js:12:9)
    at SassCompiler.build (/Users/wagner5/engine-sass-test/node_modules/broccoli-sass-source-maps/index.js:63:31)
    at /Users/wagner5/engine-sass-test/node_modules/broccoli-sass-source-maps/node_modules/broccoli-caching-writer/index.js:149:21
    at tryCatch (/Users/wagner5/engine-sass-test/node_modules/rsvp/dist/rsvp.js:539:12)
    at invokeCallback (/Users/wagner5/engine-sass-test/node_modules/rsvp/dist/rsvp.js:554:13)
    at publish (/Users/wagner5/engine-sass-test/node_modules/rsvp/dist/rsvp.js:522:7)
    at flush (/Users/wagner5/engine-sass-test/node_modules/rsvp/dist/rsvp.js:2414:5)
    at _combinedTickCallback (internal/process/next_tick.js:67:7)
    at process._tickCallback (internal/process/next_tick.js:98:9)

The broccoli plugin was instantiated at:
    at SassCompiler.Plugin (/Users/wagner5/engine-sass-test/node_modules/broccoli-plugin/index.js:7:31)
    at SassCompiler.CachingWriter [as constructor] (/Users/wagner5/engine-sass-test/node_modules/broccoli-sass-source-maps/node_modules/broccoli-caching-writer/index.js:18:10)
    at new SassCompiler (/Users/wagner5/engine-sass-test/node_modules/broccoli-sass-source-maps/index.js:20:17)
    at /Users/wagner5/engine-sass-test/node_modules/ember-cli-sass/index.js:38:12
    at Array.map (native)
    at SASSPlugin.toTree (/Users/wagner5/engine-sass-test/node_modules/ember-cli-sass/index.js:35:34)
    at /Users/wagner5/engine-sass-test/node_modules/ember-cli-preprocess-registry/preprocessors.js:180:26
    at Array.forEach (native)
    at processPlugins (/Users/wagner5/engine-sass-test/node_modules/ember-cli-preprocess-registry/preprocessors.js:178:11)
    at module.exports.preprocessCss (/Users/wagner5/engine-sass-test/node_modules/ember-cli-preprocess-registry/preprocessors.js:148:10)

As suggested by @rwjblue, we moved our styles to addon/styles/addon.scss instead, and everything works great. It was apparently a bug that it worked with them in the app directory.
Thanks @rwjblue! As always the 🍺 count owed increases 😄

can we confirm what is causing this or how to debug it further? I've moved all of our in-repo engines styles from app/styles to addon/styles and still getting the error illustrated above. On engines 0.5.0, ember-cli 2.12.1
Logs
I renamed my engine to in-repo-engine
  broccoli-funnel:Funnel build, { in: '1ms', linkedRoots: true, inputPath: './tmp/funnel-input_base_path-To5pJ5fX.tmp', destPath: './tmp/funnel-output_path-AsnZwxRq.tmp/modules' } +2ms
  broccoli-funnel:Funnel: Addon#treeForStyles (ember-basic-dropdown) build, { in: '1ms', linkedRoots: true, inputPath: './tmp/funnel-input_base_path-6Ncvpd7V.tmp', destPath: './tmp/funnel-output_path-vbW6X2FM.tmp/app/styles' } +3ms
  broccoli-funnel:Funnel: Addon#treeForStyles (ember-power-select) build, { in: '1ms', linkedRoots: true, inputPath: './tmp/funnel-input_base_path-SDRQFoTJ.tmp', destPath: './tmp/funnel-output_path-b1lxgXV7.tmp/app/styles' } +1ms
  broccoli-funnel:Funnel: Addon#treeForStyles (ember-modal-dialog) build, { in: '1ms', linkedRoots: true, inputPath: './tmp/funnel-input_base_path-c3peOGEA.tmp', destPath: './tmp/funnel-output_path-8QsG4OTv.tmp/app/styles' } +1ms
  broccoli-funnel:Funnel: Addon#treeForStyles (ember-power-calendar) build, { in: '1ms', linkedRoots: true, inputPath: './tmp/funnel-input_base_path-oQK6NzGc.tmp', destPath: './tmp/funnel-output_path-fZth9s4K.tmp/app/styles' } +1ms
  broccoli-funnel:Funnel: Funnel: relocate app/styles for (in-repo-engine) build, { in: '0ms', linkedRoots: true, inputPath: './tmp/funnel-input_base_path-tmDXENyM.tmp/app/styles', destPath: './tmp/funnel-output_path-4hQi9GJu.tmp' } +1ms
  broccoli-sane-watcher [BroccoliMergeTrees#7831 -> WatchedDir#7847 -> ./lib/in-repo-engine/addon/styles#7848] addWatchDir: ./lib/in-repo-engine/addon/styles +0ms
  broccoli-caching-writer:SassCompiler walking undefined +20ms
  broccoli-caching-writer:SassCompiler { stats: 0, files: 12, inputPaths: [ './tmp/sass_compiler-input_base_path-Pc7jqXAA.tmp' ] } +1ms
  broccoli-caching-writer:SassCompiler derive cacheKey in 1ms +0ms
  broccoli-caching-writer:SassCompiler purge output in 2ms +2ms
  broccoli-caching-writer:SassCompiler rebuilding cache in 1ms +1ms
  broccoli-sane-watcher [BroccoliMergeTrees#7692 -> BroccoliMergeTrees#7829 -> SassCompiler#7830] triggerError [Error: The Broccoli Plugin: [SassCompiler] failed with:] +3ms
  ember-cli:watcher [BroccoliMergeTrees#7692 -> BroccoliMergeTrees#7829 -> SassCompiler#7830] didError [Error: The Broccoli Plugin: [SassCompiler] failed with:] +1ms
The Broccoli Plugin: [SassCompiler] failed with:
Error: File not found: /addon.scss
in any of the following include paths:
  ./tmp/sass_compiler-input_base_path-Pc7jqXAA.tmp
  at Object.findFileSync (./node_modules/include-path-searcher/index.js:12:9)
  at SassCompiler.build (./node_modules/broccoli-sass-source-maps/index.js:63:31)
  at ./node_modules/broccoli-caching-writer/index.js:149:21
  at tryCatch (./node_modules/rsvp/dist/rsvp.js:539:12)
  at invokeCallback (./node_modules/rsvp/dist/rsvp.js:554:13)
  at publish (./node_modules/rsvp/dist/rsvp.js:522:7)
  at flush (./node_modules/rsvp/dist/rsvp.js:2414:5)
  at nextTickCallbackWith0Args (node.js:436:9)
  at process._tickCallback (node.js:365:13)

The broccoli plugin was instantiated at:
  at SassCompiler.Plugin (./node_modules/broccoli-plugin/index.js:7:31)
  at SassCompiler.CachingWriter [as constructor] (./node_modules/broccoli-caching-writer/index.js:18:10)
  at new SassCompiler (./node_modules/broccoli-sass-source-maps/index.js:20:17)
  at ./node_modules/ember-cli-sass/index.js:38:12
  at Array.map (native)
  at SASSPlugin.toTree (./node_modules/ember-cli-sass/index.js:35:34)
  at ./node_modules/ember-cli-preprocess-registry/preprocessors.js:180:26
  at Array.forEach (native)
  at processPlugins (./node_modules/ember-cli-preprocess-registry/preprocessors.js:178:11)
  at module.exports.preprocessCss (./node_modules/ember-cli-preprocess-registry/preprocessors.js:148:10)
  at Class.compileStyles (./node_modules/ember-cli/lib/models/addon.js:788:33)
  at Class.treeForAddon (./node_modules/ember-engines/lib/engine-addon.js:393:42)
  at Class._treeFor (./node_modules/ember-cli/lib/models/addon.js:517:33)
  at Class.treeFor (./node_modules/ember-engines/lib/engine-addon.js:737:23)
  at ./node_modules/ember-cli/lib/broccoli/ember-app.js:525:20
  at Array.map (native)
  at EmberApp._notifyAddonIncluded.EmberApp.addonTreesFor.type [as addonTreesFor] (./node_modules/ember-cli/lib/broccoli/ember-app.js:523:30)
  at EmberApp._addonTree (./node_modules/ember-cli/lib/broccoli/ember-app.js:921:36)
  at EmberApp._notifyAddonIncluded.EmberApp.addonTreesFor.EmberApp.addonLintTree.EmberApp._podTemplatePatterns.EmberApp._processedVendorTree (./node_modules/ember-cli/lib/broccoli/ember-app.js:959:20)
  at EmberApp._notifyAddonIncluded.EmberApp.addonTreesFor.EmberApp.addonLintTree.EmberApp._podTemplatePatterns.EmberApp._processedExternalTree (./node_modules/ember-cli/lib/broccoli/ember-app.js:990:21)
  at EmberApp._notifyAddonIncluded.EmberApp.addonTreesFor.EmberApp.addonLintTree.EmberApp._podTemplatePatterns.EmberApp.appAndDependencies (./node_modules/ember-cli/lib/broccoli/ember-app.js:1099:23)
  at EmberApp._notifyAddonIncluded.EmberApp.addonTreesFor.EmberApp.addonLintTree.EmberApp._podTemplatePatterns.EmberApp.javascript (./node_modules/ember-cli/lib/broccoli/ember-app.js:1231:28)
  at EmberApp._notifyAddonIncluded.EmberApp.addonTreesFor.EmberApp.addonLintTree.EmberApp._podTemplatePatterns.EmberApp.javascript.EmberApp.styles.EmberApp.otherAssets.EmberApp._import.EmberApp.toArray (./node_modules/ember-cli/lib/broccoli/ember-app.js:1668:10)
  at EmberApp._notifyAddonIncluded.EmberApp.addonTreesFor.EmberApp.addonLintTree.EmberApp._podTemplatePatterns.EmberApp.javascript.EmberApp.styles.EmberApp.otherAssets.EmberApp._import.EmberApp.toTree (./node_modules/ember-cli/lib/broccoli/ember-app.js:1690:30)
  at module.exports (./ember-cli-build.js:65:14)
  at Builder.setupBroccoliBuilder (./node_modules/ember-cli/lib/models/builder.js:54:19)
  at new Builder (./node_modules/ember-cli/lib/models/builder.js:33:10)
  at ServeTask.run (./node_modules/ember-cli/lib/tasks/serve.js:15:19)
  at ./node_modules/ember-cli/lib/commands/serve.js:78:29
  at tryCatch (./node_modules/rsvp/dist/rsvp.js:539:12)
  at invokeCallback (./node_modules/rsvp/dist/rsvp.js:554:13)
  at ./node_modules/rsvp/dist/rsvp.js:629:16
  at flush (./node_modules/rsvp/dist/rsvp.js:2414:5)
  at nextTickCallbackWith0Args (node.js:436:9)
  at process._tickCallback (node.js:365:13)

for posterity, I worked through this with @bbonnet by investigating some addons (most notably ember-modal-dialog and lots of head scratching.
Auto Resolution:

You should have "ember-cli-sass": "*" in your engine's package.json. It expects an addon/styles/ folder and in this folder addon/styles/addon.scss will automatically be merged to your app tree (before your main repo's app.scss gets evaluated).

Manual Resolution:

You can have app/styles/bar.scss and app/styles/foo/bar.scss if you want to manually import your styles into your app.scss, but you should not have "ember-cli-sass": "*" in your package.json. This enables you to define variables in your app.scss that you leverage in your addons as well conditionally let your consuming apps decide how to consume those styles.

// in app.scss
@import "foo"
@import "foo/bar"


More filter options for starred images

I search for a webbased image gallery where I'm able to sort/select/rate images within an album.
Following use case is imaginable: There are images from an event - some are pretty nice some aren't. I want be able to star (maybe more than a binary star system) my images. I want to show all 5/5 starred images to a friend.
Would this be feasible? Fits this requirement to this project?

Hey @wenzul, thanks for the idea. This issue sounds similar: https://github.com/electerious/Lychee/issues/310 Please feel free to add your use-case to the issue.

Also related to your problem: https://github.com/electerious/Lychee/issues/401


ShadowrunAnarchy: Corrected bug in number of physical and stun boxes

Page 64 of the Anarchy rulebook:
Divide Strength by two, round up, add eight. (Same with Willpower for Stun).
Previous was using Math.floor (round down), corrected to use Math.ceil (round up)
Changes / Comments
Per Issue: https://github.com/Roll20/roll20-character-sheets/issues/4485
Corrected CM calculations.

I included this in my update to 1.7, PR 4487. I cleaned up a lot of the sheet workers. :)

Greetings,
I'm going to close this pull request. This was fixed along with the refactor thanks to the issue report. :)

Cassie


Need UX for admin to create alerts

 Issue by chriskacerguis
Monday Jan 26, 2015 at 19:52 GMT
Originally opened as https://github.com/projectjellyfish/ux/issues/118

We need a UX for an admin to be able to create alerts (or announcements).  Put this under the admin tab.

[x] List Admin created alerts
[x] Delete Admin created alerts
[x] Edit an Admin created alert
[x] Create a new Admin alert

 Comment by sonejah21
Tuesday Mar 17, 2015 at 18:50 GMT

The UX game plan:

 Comment by gnklausner
Monday Mar 23, 2015 at 16:08 GMT

-Added flashes
-Removed delete button from update from
-Fixed bug with clicking edit/delete after clicking undo
TODO:
-Add help text for field validation in creation/update form

 Comment by gnklausner
Friday Mar 20, 2015 at 23:02 GMT

Added the ability to undo the deletion of an alert while the user is still on the page.
Adjusted the "Actions" column to be more user friendly.
Serious thanks to @sonejah21 for figuring out how to style the deleted row!
Table before deletion

Table after deletion

Remaining Tasks:
-Add flashes for creation of alert, update of alert, and undo of delete
-Remove delete button from the update form
-Add help text for field validation in creation/update form

 Comment by sonejah21
Monday Mar 23, 2015 at 20:00 GMT

Changes per Chris K's quick review.
On Main Alerts screen:

[x]  Actions "[icon] edit" and "[icon] delete" should move back to the right side of the screen (like the other screens). We can address changing this design long term, but for now we want to maintain consistency.
[x] Remove time from "Start Date" and "End Date" columns.
[ ]  Create two new columns: "Start Time" and "End Time".  The times can be formatted as such: "12:00AM CST" or "3:39PM CST". Main changes are removing the seconds and adding the time zone.
[x]  The Status column will contain color-coded icons instead of text when showing up in this list. The Status column will be on the far left side. The icon should be centered in the column. It should contain a tooltip/hover that states the text version of the status. See ticket #283.

On ADD Alerts & EDIT Alerts screens:

[x]  Remove "Unknown" status and "Pending" status. These are system statuses and cannot be selected.
[x] Add the appropriate Status icon to each selection in the dropdown list. it will look like this: "[warning icon] WARNING", or be similar to the styling of the edit and delete (with icon + word).
[x]  Should say "Back to Alerts" instead of "Back to Admin Alerts".
[ ]  Add form fields for "Start Time" and "End Time". It should be hours and minutes, with a time zone option.
[x]  Make "Message" field in ADD ALERT a textarea, not an input field.

 Comment by gnklausner
Monday Mar 23, 2015 at 21:42 GMT

For the Actions "edit" and "delete", can I create a new ticket and adjust it for project questions to be consistent with our page? I believe that is the only place that shows up. LoE: ~20min
The time-zones will have to be thought out a bit more. I know we can create a mapping of "Some-Time-Zone-String" -> UTC Timezone Offset, but how we want to accomplish doesn't appear obvious to me. (For reference: http://stackoverflow.com/questions/952466/where-can-i-find-a-list-of-timezones-in-tabular-format ). Moment.js seems like it may be useful for this.

It appears you cannot go from timezone offset to a string representation of a timezone, as the mapping is one to many. Newer browsers make the abbreviation available, but this is not guaranteed to be implemented or in a standardized format (IE uses "EDT" while Mozilla uses "(EDT)"). Options:

There is a library for guessing the timezone, but it is not guaranteed to be correct 100% of the time: jsTimeZoneDetect.
Wing it by parsing Date.toLocaleString
Use the offset instead of an abbrevation (e.g. "UTC -240")
A statement that says "All times are in local time"
Ultimately, the best option may be to have a setting for a user to choose a timezone from a list of strings, which will set something like:

user.timezone.name (America/New_York)
user.timezone.abbr (EST)
user.timezone.utcOffset (-240)

For more, see this stackOverflow

Okay, then just show the offset.

@chriskacerguis , @sonejah21 : :+1: || :-1: ?

:+1:


A mistake in the documentation: 'Tutorial  Simple LSTM'

the 'lstm' layer in 'SimpleEncoder' should set 'batch_first' True ,right?

Which file are you talking about?

I think you're right, will submit a fix

Fixed in<PHONE_NUMBER>63e24b611f1ba8d5d47a3edc00e2e5


Update zingmp3.py

Update for work with playlist, it same album but different url
Ex:
http://mp3.zing.vn/playlist/Duong-Hong-Loan-apollobee/IWCAACCB.html
http://mp3.zing.vn/album/Duong-Hong-Loan-apollobee/IWCAACCB.html

Cherry-picked in 97ae4d166c43b7e5068a7563bc5fbce385d86c2b, thanks.


Adding ./setup.sh to automate development setup.

Adding ./setup.sh which automates the setup described in https://docs.dendron.so/notes/64f0e2d5-2c83-43df-9144-40f2c68935aa/
Tested in bash and zsh.
To use it, run ./setup.sh in the root of Dendron mono repo.

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


parse url without username

local url = require("url")
local conn = url.parse("redis://:foobar@mgt-redis-addr")
ngx.say(conn.password)

will get nil

Curl does not handle this case either:
curl -v<EMAIL_ADDRESS>
But I'll see what I can do as it makes sense in the redis use case where there is just a password.

@virusdefender thanks for reporting! Pushed 0.3.3 with the fix to both luarocks and opm.


Translation check

php app/console ojs:translate tr Analytics,Api,Journal,Manager,Site,User,Workflow --only-missing

We moved all translation files under app/Resources. From now this command will list all keys as Missing.


check if canUseFDOM for server side render - any easy way to get it to render?

Can't use this library if doing server side render. This fix will at least return the page to the browser for client-side render.

What would be the fix for this:
Launching Flow server for /home/travis/build/sstur/draft-js-import-html
Spawned flow server (child pid=2924)
Logs will go to /tmp/flow/zShomezStraviszSbuildzSssturzSdraft-js-import-html.log
src/parseHTML.js:21
 21:   return docBody;
              ^^^^^^^ string. This type is incompatible with
 10: export default function parseHTML(html: string): Element {
                                                      ^^^^^^^ Element

Is it simply to replace "Element" with "String" ?


Added WebHook examples for first workflow tests

When you do your first test of a WebHook it will use an example JSON payload that we have added.

Also fixed some of the GitHub webhook schemas as the examples were failing validation


Can't install with cloud drive mounted

I'm using a program called Disk-O to access my cloud files through file explorer. The cloud is mounted to the letter O:
When I got an update message for ViGEmBus and tried installing it, I get the 'Invalid Drive O' error

Just for clarity, I'm not trying to install ViGEm to drive O, I'm using the default install path - 'C:\Program Files\Nefarius Software Solutions\ViGEm Bus Driver'. When I turn Disk-O off, the install goes the intended way, and there are no problems with the program itself after turning Disk-O back on.
Here are the logs:
install.log
setupapi.dev.log

its a msiexec bug, same things happens with rclone mounts

What @Masamune3210 said, out of my power to fix, sorry.


[Event Request] Codeunit 5972 - Service Info-Pane Management - Function CalcNoOfSkilledResources- Event OnBeforeCalcNoOfSkilledResources

Hey,
we would like a event OnBeforeCalcNoOfSkilledResources in Codeunit 5972 - Service Info-Pane Management on function CalcNoOfSkilledResources.
Codeunit 5972 - Service Info-Pane Management - Function CalcNoOfSkilledResources:
[External] CalcNoOfSkilledResources(VAR ServItemLine : Record "Service Item Line") : Integer
//+++NEW
OnBeforeCalcNoOfSkilledResources(ServItemLine, IsHandled);
IF IsHandled THEN
  EXIT(0);
//---NEW
IF ServItem.GET(ServItemLine."Service Item No.") THEN BEGIN
  Res.RESET;
  IF Res.FIND('-') THEN
    REPEAT
      IF ServOrderAllocMgt.ResourceQualified(Res."No.",ResourceSkillType::"Service Item",ServItem."No.") THEN
        NoOfSkilledResources += 1;
    UNTIL Res.NEXT = 0;
  EXIT(NoOfSkilledResources);
END;

Publisher definition:
LOCAL [IntegrationEvent] OnBeforeCalcNoOfSkilledResources(VAR ServItemLine : Record "Service Item Line";VAR IsHandled : Boolean)

Thanks in addition.
Best regards

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability.


@conda-forge-admin, please add user @xhochy

@conda-forge-admin, please add user @xhochy

Hi! This is the friendly automated conda-forge-webservice.
I just wanted to let you know that I added user @xhochy in conda-forge/flask-swagger-ui-feedstock#7.


Update table icons

In part addresses web-eda issue #487
Related to but does not depend on EbrcWebsiteCommon PR #70
This PR makes the following changes:

Replaces My Analyses table icon with custom ebrc icon
Replaces download current subset icon with custom ebrc icon.

See below.

One problem I ran into was using these icons in the mui button. The table icon for My Analyses isn't centered vertically. This is more obvious when looking at where the icon should lie:

I investigated the bug for a bit but could not find any solution that worked. Another clue then surfaced - none of the icons are actually centered vertically within the mui button. I think the table one just is the most obvious.

Any ideas on this? All the solutions I found either didn't work or seemed far too complicated for what I imagine would be a simple fix?

I wonder if the icon should be centered vertically in the svg? Not sure if that's a possibility.

I see now that you did that in https://github.com/VEuPathDB/EbrcWebsiteCommon/pull/70. I played with this briefly and haven't been able to find a solution. I'll try a little bit more.

I played with the --descent argument to https://github.com/Workshape/icon-font-generator/, and the results look promising:
default (current):

--descent 8:

This will likely impact other icons, so it might be good to test with a microbiome dev site, as well.

Ahh interesting I will try it! Alternatively I can move the table up slightly in the svg and see how that works as well. I'm concerned about this latter strategy when the icon gets scaled but on the other hand it would only affect the table icon

Actually I wonder if it's not the icons/icon generation but has to do with placing that one specifically in the mui button start icon? Observe that on the cards where it's just an icon (not part of an mui component) the alignment with the text is great:

So I might try something like this. More soon!

:exploding_head: nice find!

@dmfalke what do you think of the new solution? Feels overkill for the simple task but works pretty well!

I'm happy with it!

Great! I'll go merge the related ebrcwebsitecommon PR and then will do the usual upgrading web-common here when ready?

I'll go ahead and merge this and then when addressing issue #450 will upgrade web-common if necessary.


Trie implementation

Consolidate tokenize.mwe.MWETokenizer.add_mwe and sem.logic.StringTrie into util.Trie.

I'm currently working on ensuring the util.Trie I've adapted from sem.logic.StringTrie maintains compatability with both sem.logic.LogicParser.parse and tokenize.mwe.MWETokenizer.add_mwe.

+1

@mrecachinas – our CI Server reports test failures that involve the new Trie object:
AttributeError: 'Trie' object has no attribute 'iteritems'

Would you be able to track down the problem and submit a new PR please?

Very odd. I'll check it out.

In Python 3, iteritems was removed because items have optimized what iteritems had done and now return memoryviews (iterators that do much more).
There are a few different ways to fix this that will ensure 2 and 3 compatibility:

Add an iteritems method to Trie that simply return self.items().

Downside: Performance hit in Python2 because we're no longer using an iterator; we're now building a full list of tuples unpacked from the dict or defaultdict (base class of Trie).

Change the Python3 unit test to call items()

Downside: Disconnect in the API?

What are your thoughts?

Any status on this? @stevenbird

This is coming a little bit out of left field, but would it be worth considering using @kmike's Trie Implementation for its speed? Or is it a problem to have such an external dependency?

This is a good question. I'd be curious about it too. cc @stevenbird @kmike

+1 for @kmike's Trie dependency.

Sorry for the delay. I've adopted the second suggestion of @mrecachinas above, given that iter* methods from Python 2 are the default behaviour in Python 3.
I think if someone wants the added efficiency that @kmike's implementation offers, surely they can use it directly? I don't think it needs to be bundled in NLTK.

FTR: datrie has pathological cases: building of a trie can dramatically slow down (see https://github.com/kmike/datrie/issues/12#issuecomment-28498683). For a trie which can be updated efficiently https://github.com/kmike/hat-trie is better. For static data structures (the ones you build once) https://github.com/kmike/DAWG or https://github.com/kmike/marisa-trie provide much better memory usage.

@kmike thanks a lot for that. There was talk of using Tries when refactoring the NgramModel, this will help us make an informed decision about it :)


Capacitor plugins not detected

If I want to add capacitor plugins to my ionic project (both official and community), they are not picked up if they are installed to the root directory of the nx workspace. If I install them to an app's directory (i.e. /apps/my-app), as you would do in a normal ionic project, it works perfectly fine and the plugins are detected. This may be working exactly as intended but it would be nice to install plugins to the workspace so multiple apps can use the same plugins without having to keep installing them in each individual app.

Closed as found the solution to this in the docs:
https://nxtend.dev/docs/capacitor/getting-started/#adding-capacitor-plugins


Not All Shared DBs Showing in Worksheet View

Describe the bug
If you have 2 shares from 1 dataset table to an environment - 1 for Environment Team IAM Role and 1 for Consumption Role:
When trying to query a shared Database using Data All Worksheets only 1 Shared Database appears in the drop down for Worksheet Databases. This shared database name could be the one shared with the consumption role and NOT the one shared to the user team.
User will then receive Insufficient Lake Formation permissions when trying to query using Worksheets since it is the incorrect database name with respect to the shared database name for the user team (not the consumption role)
How to Reproduce
*P.S. Please do not attach files as it's considered a security risk. Add code snippets directly in the message body as much as possible.*

Expected behavior
All shared database names to the consumer environment should be listed in the Worksheets View Database drop down
Your project
No response
Screenshots
No response
OS
N/A
Python version
N/A
AWS data.all version
v1.4.3
Additional context
No response

Resolved


Backend: No proper Database setup guide

Need of adding a full detailed setup guide for setting up the mysql database in one's own local set.
Make changes directly to the Readme file or a new .md file which we can link in our main readme file for setting up database for this project.
Solver has to be aware that .env file is ignored as it contains sensitive data like db passwords and provide the guide accordingly

Hey @dhananjaypai08  I would like to work on this

Go ahead

Have added the setup of the config file
are the DB steps enough or are images needed?
will also add a note regarding why .env files are being used.


fix part qr lable

in ref to this issue: https://github.com/inventree/InvenTree/issues/8251
Closes https://github.com/inventree/InvenTree/issues/8251

@skydiablo thanks for the fix  :)

Aren't other pages also affected by this now?
And isn't that introducing an xss, because we cannot trust the output of the barcode generator, since this can be influenced by how the barcode plugin is configured, or doesn't this matter since only admins can configure the barcode plugin?

Aren't other pages also affected by this now?

@wolflu05 you are correct, I misread the intent of the fix here and thought it was applied generically to all pages.
@skydiablo would you be able to submit another PR which addresses all instances of this? Perhaps even roll it into a custom template tag and make it generic.

And isn't that introducing an xss, because we cannot trust the output of the barcode generator, since this can be influenced by how the barcode plugin is configured, or doesn't this matter since only admins can configure the barcode plugin?

As the data is encoded into a string, we just need to escape any ' characters, to ensure it does not run as javascript, right?

hey, i would realy like to do a generic fix, but my python skills are equal zero ;) i think the problem is easy to addresse:

find all occurrences that could be possible
build a generic qr-code widget

define output to 'safe' but escape ''' characters

right?

@skydiablo please refer to this PR - https://github.com/inventree/InvenTree/pull/8286
This has basically implemented what you suggested above, and runs the barcode data through bleach to ensure that it is "safe" to render into the templates


Test filtering is broken (Filterable interface, used by IDEs to run tests selectively)

The reason seems to be an unclear contract of Filterable - adding a filter should remove tests immediately from the suite's Description before it is returned to the IDE.
https://issues.apache.org/jira/browse/LUCENE-7937

I think I managed to fix it. Works for me on IntelliJ and Eclipse now.


Safe Math package to prevent under/overflows

https://github.com/iotaledger/iota.go/pull/450

Implemented in iotaledger/hive.go#526 and used in iotaledger/iota.go#450.