Mac Xcode 7.0 build warnings and error (missing laszip header) on homebrew environment

The warnings and error are as follows.

MBP2012:build sanak$ cmake ../
-- The C compiler identification is AppleClang <IP_ADDRESS>00072
-- The CXX compiler identification is AppleClang <IP_ADDRESS>00072
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Boost version: 1.58.0
-- Found the following Boost libraries:
--   system
--   thread
--   filesystem
--   program_options
--   regex
-- Boost_INCLUDE_DIRS: /usr/local/include
-- Boost_LIBRARY_DIRS: /usr/local/lib
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/sanak/Projects/mms-browser/git-thirdparty/PotreeConverter/build
MBP2012:build sanak$ make
Scanning dependencies of target PotreeConverter
[  8%] Building CXX object PotreeConverter/CMakeFiles/PotreeConverter.dir/src/BINPointReader.cpp.o
clang: warning: -Z-reserved-lib-stdc++: 'linker' input unused
clang: warning: -lm: 'linker' input unused
/Users/sanak/Projects/mms-browser/git-thirdparty/PotreeConverter/PotreeConverter/src/BINPointReader.cpp:147:22: warning:
      using integer absolute value function 'abs' when argument is of floating point type
      [-Wabsolute-value]
                                float z = 1.0f - abs(u) - abs(v);
                                                 ^
/Users/sanak/Projects/mms-browser/git-thirdparty/PotreeConverter/PotreeConverter/src/BINPointReader.cpp:147:22: note:
      use function 'std::abs' instead
                                float z = 1.0f - abs(u) - abs(v);
                                                 ^~~
                                                 std::abs
/Users/sanak/Projects/mms-browser/git-thirdparty/PotreeConverter/PotreeConverter/src/BINPointReader.cpp:147:31: warning:
      using integer absolute value function 'abs' when argument is of floating point type
      [-Wabsolute-value]
                                float z = 1.0f - abs(u) - abs(v);
                                                          ^
/Users/sanak/Projects/mms-browser/git-thirdparty/PotreeConverter/PotreeConverter/src/BINPointReader.cpp:147:31: note:
      use function 'std::abs' instead
                                float z = 1.0f - abs(u) - abs(v);
                                                          ^~~
                                                          std::abs
2 warnings generated.
[ 16%] Building CXX object PotreeConverter/CMakeFiles/PotreeConverter.dir/src/GridCell.cpp.o
clang: warning: -Z-reserved-lib-stdc++: 'linker' input unused
clang: warning: -lm: 'linker' input unused
[ 25%] Building CXX object PotreeConverter/CMakeFiles/PotreeConverter.dir/src/LASPointReader.cpp.o
clang: warning: -Z-reserved-lib-stdc++: 'linker' input unused
clang: warning: -lm: 'linker' input unused
/Users/sanak/Projects/mms-browser/git-thirdparty/PotreeConverter/PotreeConverter/src/LASPointReader.cpp:9:10: fatal error:
      'laszip_dll.h' file not found
#include "laszip_dll.h"
         ^
1 error generated.
make[2]: *** [PotreeConverter/CMakeFiles/PotreeConverter.dir/src/LASPointReader.cpp.o] Error 1
make[1]: *** [PotreeConverter/CMakeFiles/PotreeConverter.dir/all] Error 2
make: *** [all] Error 2

And here is homebrew laszip package information.

$ brew list laszip
/usr/local/Cellar/laszip/2.2.0/bin/laszip-config
/usr/local/Cellar/laszip/2.2.0/bin/laszippertest
/usr/local/Cellar/laszip/2.2.0/include/laszip/ (4 files)
/usr/local/Cellar/laszip/2.2.0/lib/liblaszip.6.0.0.dylib
/usr/local/Cellar/laszip/2.2.0/lib/liblaszip.dylib
$ ls /usr/local/Cellar/laszip/2.2.0/include/laszip/
lasunzipper.hpp		laszipexport.hpp
laszip.hpp		laszipper.hpp

@m-schuetz
laszip_dll.h file seems to be only for Windows environment.
Is it possible to replace those logic to use only "include/laszip/*.hpp" files ?
Also, "cmake/FindLASzip.cmake" file seems not to be pushed to the Git repository.

I missed the following latest installation documentj, and there was no problem about Mac OSX build.
https://github.com/potree/PotreeConverter/blob/master/README.md

Hi, I'm kind of new so please excuse me if I'm not supposed to comment my question here.
I'm trying to install PotreeConverter, but I could not find any Unix executable file after running the cmake command :

cmake -DCMAKE_BUILD_TYPE=Release -DLASZIP_INCLUDE_DIRS=~/MyDirectory/dev/lastools/master/LASzip/dll -DLASZIP_LIBRARY=~/MyDirectory/dev/lastools/master/LASzip/build/src/liblaszip.dylib ..

I modified the command to MyDirectory. And I put liblaszip.dylib since I could not find the liblaszip.so file. I'm sorry if this is really dumb to do but I have tried both lines and the results seem to be the same. I supposed the output in the terminal meant it was built. But then I could not find any Unix executable file in my master folder to run PotreeConverter. The output of cmake is below

-- Boost version: 1.58.0
-- Found the following Boost libraries:
--   system
--   thread
--   filesystem
--   program_options
--   regex
-- Boost_INCLUDE_DIRS: /usr/local/include
-- Boost_LIBRARY_DIRS: /usr/local/lib
-- Configuring done
-- Generating done
-- Build files have been written to: /MyDirectory/dev/PotreeConverter/master/build
Do you know what is the problem? I really need to set PotreeConverter up
Thank you very much!

Hi,
cmake generates the make build files for you so after calling cmake, you also have to call make
Not sure about dylib, probably the mac equivalent of so files.
Hope this helps.

Hi,

cmake generates the make build files for you so after calling cmake, you also have to call make
Not sure about dylib, probably the mac equivalent of so files.

Hope this helps.

Thanks a lot for the respond, potree! It helped. I got it

hey @githmith , how did you figure out your issue? I'm running into the same problem, and I've tried replacing the .so file ext with .dylib, then running make after with no luck. Thanks!!

Hi @rchav, my problem before were that I had the directories wrong and I did not call make after run cmake. So I found my relative directories for the dll folder and the liblaszip.dylib, correct the paths and run make. If this does not work, could specify the error message that cmake prints out?


grab the latest with test resource cleanups

Changes

/kind

Fixes #

Release Note

Docs

I'll dig into this more tmw, but it's now related to some stuff shuffling around but I can't recall details right at the moment, so will do tmw.
2021/04/21 02:01:55 failed to publish images: importpath "ko://knative.dev/eventing/test/test_images/event-library" is not supported: go/build: importGo knative.dev/eventing/test/test_images/event-library: exit status 1
cannot find package "." in:
	/home/runner/work/eventing-rabbitmq/eventing-rabbitmq/src/knative.dev/eventing-rabbitmq/vendor/knative.dev/eventing/test/test_images/event-library

error attempting to ko publish: exit status 1
--- FAIL: TestBrokerConformance (13.87s)
panic: exit status 1 [recovered]
	panic: exit status 1

There's still a bug but I'd like to tackle this in a followup so that we can get the stuff building at least:
=== RUN   TestBrokerConformance/Knative_Broker_Specification_-_Control_Plane/Delivery_Spec_-_dlq-test-2/Assert/[Stable/SHOULD]Conformance_When_`TriggerSpec.Delivery`_is_configured,_then_`TriggerSpec.Delivery`_SHOULD_be_used._(Retry)
    event_patterns.go:121: Expected Events brokerdlq;
         Got: knconf.EventPattern{Success:[]bool{}, Interval:[]uint{}}
        Want: knconf.EventPattern{Success:[]bool{}, Interval:[]uint{}}
    event_patterns.go:121: Expected Events t0;
         Got: knconf.EventPattern{Success:[]bool{false, false, false, true}, Interval:[]uint{0x0, 0x0, 0x0, 0xffffffffffffffff}}
        Want: knconf.EventPattern{Success:[]bool{false, false, false, true}, Interval:[]uint{0x0, 0x0, 0x0, 0x0}}
    event_patterns.go:121: Expected Events t0dlq;
         Got: knconf.EventPattern{Success:[]bool{}, Interval:[]uint{}}
        Want: knconf.EventPattern{Success:[]bool{}, Interval:[]uint{}}
    event_patterns.go:121: Expected Events t1;
         Got: knconf.EventPattern{Success:[]bool{false, true}, Interval:[]uint{0x0, 0x0}}
        Want: knconf.EventPattern{Success:[]bool{false}, Interval:[]uint{0x0}}
    event_patterns.go:124: Wanted 1 events, got 2
    event_patterns.go:130: unexpected event acceptance behaviour (-want, +got) =   []bool{
          	false,
        + 	true,
          }

    event_patterns.go:121: Expected Events t1dlq;
         Got: knconf.EventPattern{Success:[]bool{}, Interval:[]uint{}}
        Want: knconf.EventPattern{Success:[]bool{}, Interval:[]uint{}}


BGE Reranker Fine-tuning

Question Validation

[X] I have searched both the documentation and discord for an answer.

Question
Hi, is it possible to use LlamaIndex to fine-tune the BGE model as a reranker?

Guides on fine-tuning rerankers here https://docs.llamaindex.ai/en/stable/optimizing/fine-tuning/fine-tuning.html#fine-tuning-cross-encoders-for-re-ranking
Really its just generating synthetic data and using SenteceTransformers to fine-tune a cross-encoder


Add an option to specify the indent of file generation

Is it possible to add an options to specify the indent of generated *.d.ts? We want it be 4 at in our team.

I'm not plan to configure to output indent.
You can use formatting tool e.g. Prettier or https://github.com/vvakame/typescript-formatter .


Update groups-dynamic-rule-member-of.md

Remove limitation that is no longer relevant

Learn Build status updates of commit 690e26b:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

articles/active-directory/enterprise-users/groups-dynamic-rule-member-of.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel

#sign-off


Remove useless stuff from the repo

I want to remove non support things like elsim and the dependencies

elf support


AMI 1.13 is failing with No networks found in /etc/cni/net.d

What happened:
Bringing up fresh cluster with control plan on 1.13. When spawn EKS worker node then they are failing with error below:
kubelet.go:2192] Container runtime network not ready: NetworkReady=false reason:NetworkPluginNotReady message:docker: network plugin is n
04.339702    5701 cni.go:203] Unable to update cni config: No networks found in /etc/cni/net.d
What you expected to happen:
EKS node should join the cluster properly.
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:
Environment:

AWS Region:
us-east-1
Instance Type(s):
t2.medium
EKS Platform version (use aws eks describe-cluster --name <name> --query cluster.platformVersion):
platformVersion": "eks.5"
Kubernetes version (use aws eks describe-cluster --name <name> --query cluster.version):
"version": "1.13"
AMI Version:
1.13.7
Kernel (e.g. uname -a):
Linux ip-10-190-21-242.ts-sandbox.cloud 4.14.146-119.123.amzn2.x86_64 #1 SMP Mon Sep 23 16:58:43 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Release information (run cat /etc/eks/release on a node):
BASE_AMI_ID="ami-077381babe7660807"
BUILD_TIME="Mon Oct  7 21:36:57 UTC 2019"
BUILD_KERNEL="4.14.138-114.102.amzn2.x86_64"
ARCH="x86_64"

@safiqueahemad Hi, what CNI version is applied to the cluster?
kubectl describe daemonset aws-node -n kube-system | grep Image | cut -d "/" -f 2

To apply v1.5.3 to the cluster, try:
kubectl apply -f https://raw.githubusercontent.com/aws/amazon-vpc-cni-k8s/release-1.5/config/v1.5/aws-k8s-cni.yaml

CNI v1.5.3 is already in place...
amazon-k8s-cni:v1.5.3

The next option to check is that the nodes have the permissions that the CNI needs to get IPs, that would be the managed policy AmazonEKS_CNI_Policy.
If that one is present, do the Subnets have enough free IPs? How many ENIs are available in the account?

@mogren ... Those (CNI policy, eni and subnet IPs) are I think looks correct...
I see some error logs but not sure if it could cause the issue (from eks node cloud-init-output.log):
Cannot find a valid baseurl for repo: amzn2-core/2/x86_64
Could not retrieve mirrorlist http://amazonlinux.us-east-1.amazonaws.com/2/core/latest/x86_64/mirror.list error was
12: Timeout on http://amazonlinux.us-east-1.amazonaws.com/2/core/latest/x86_64/mirror.list: (28, 'Connection timed out after 5000 milliseconds')
Oct 25 23:08:41 cloud-init[3963]: util.py[WARNING]: Package upgrade failed
Oct 25 23:08:41 cloud-init[3963]: cc_package_update_upgrade_install.py[WARNING]: 1 failed with exceptions, re-raising the last one
Oct 25 23:08:41 cloud-init[3963]: util.py[WARNING]: Running module package-update-upgrade-install (<module 'cloudinit.config.cc_package_update_upgrade_install' from '/usr/lib/python2.7/site-packages/cloudinit/config/cc_package_update_upgrade_install.pyc'>) failed
I tried the url (http://amazonlinux.us-east-1.amazonaws.com/2/core/latest/x86_64/mirror.list) manually and found reachable.

@mogren ... Those (CNI policy, eni and subnet IPs) are I think looks correct...
I see some error logs but not sure if it could cause the issue (from eks node cloud-init-output.log):
Cannot find a valid baseurl for repo: amzn2-core/2/x86_64
Could not retrieve mirrorlist http://amazonlinux.us-east-1.amazonaws.com/2/core/latest/x86_64/mirror.list error was
12: Timeout on http://amazonlinux.us-east-1.amazonaws.com/2/core/latest/x86_64/mirror.list: (28, 'Connection timed out after 5000 milliseconds')
Oct 25 23:08:41 cloud-init[3963]: util.py[WARNING]: Package upgrade failed
Oct 25 23:08:41 cloud-init[3963]: cc_package_update_upgrade_install.py[WARNING]: 1 failed with exceptions, re-raising the last one
Oct 25 23:08:41 cloud-init[3963]: util.py[WARNING]: Running module package-update-upgrade-install (<module 'cloudinit.config.cc_package_update_upgrade_install' from '/usr/lib/python2.7/site-packages/cloudinit/config/cc_package_update_upgrade_install.pyc'>) failed
I tried the url (http://amazonlinux.us-east-1.amazonaws.com/2/core/latest/x86_64/mirror.list) manually and found reachable.

Look at that
https://stackoverflow.com/questions/20822021/amazon-ec2-instance-cant-update-or-use-yum

Same issue here, resolved by upgrading the CNI plugin.
Use : https://docs.aws.amazon.com/eks/latest/userguide/cni-upgrades.html and update region to fetch the right image.


Add Script Release Crawler

Fixes #266
Inital Version of Crawler to get last weeks release notes of relevant projects to get an easy news overview for the creation of the newsletter.
Creates an .md and .html output
Initial Repository list is based on #265

Thanks!


Under pathological conditions, is it normal that all metabolic reactions are upregulated?

I am using compass software. I formed metacells from single-cell data using supercell and used it as the input for compass. As a result, I found that under pathological conditions, almost all metabolic reactions are upregulated. I am wondering if this is normal.

I encountered a similar situation! As shown in the figure, my experimental design has a total of 4 experimental groups and one control group, NM. When compared to the control group, only the fourth experimental group showed significant differences in reaction activity. However, I also observed that the overall metabolic reactions of the different experimental groups compared to the control group were consistently either higher or lower. I am also suspicious that this might not be normal. Could you please help explain this?

I encountered a similar situation! As shown in the figure, my experimental design has a total of 4 experimental groups and one control group, NM. When compared to the control group, only the fourth experimental group showed significant differences in reaction activity. However, I also observed that the overall metabolic reactions of the different experimental groups compared to the control group were consistently either higher or lower. I am also suspicious that this might not be normal. Could you please help explain this?

I encountered a similar situation! As shown in the figure, my experimental design has a total of 4 experimental groups and one control group, NM. When compared to the control group, only the fourth experimental group showed significant differences in reaction activity. However, I also observed that the overall metabolic reactions of the different experimental groups compared to the control group were consistently either higher or lower. I am also suspicious that this might not be normal. Could you please help explain this?

Hello. I have consulted the article "The glycolytic reaction PGAM unexpectedly restrains Th17 pathogenicity and Th17-dependent autoimmunity" recently published by the author's research group on bioRxiv. In Figure 4B, it can be seen that under the same glucose concentration, the metabolic activity of Th17n and Th17p is similar. Under different glucose concentration conditions, there are obvious differences in the overall metabolic activity of each cell. However, the author does not provide the differential changes of each metabolic reaction under different glucose concentrations. The article says that the compass hypothesis is established under the condition of sufficient metabolic raw materials. Then, under low glucose concentration, it actually does not conform to the compass hypothesis, so it is not easy to directly compare their metabolic reaction activities. In the original text, compass is only a comparison between cells with only differences in induction factors, that is, Th17n and Th17p. Perhaps for compass analysis, a condition with abundant metabolic substrates should be selected first to compare the correlation between metabolism and clinical characteristics (such as pathogenicity) of different subgroups of the same cell under this condition? Do you think this is possible?

I encountered a similar situation! As shown in the figure, my experimental design has a total of 4 experimental groups and one control group, NM. When compared to the control group, only the fourth experimental group showed significant differences in reaction activity. However, I also observed that the overall metabolic reactions of the different experimental groups compared to the control group were consistently either higher or lower. I am also suspicious that this might not be normal. Could you please help explain this? Additionally, the direction of metabolic reaction activity compared to the control group seems to be opposite to the total metabolic activity, which makes the situation even more peculiar to me.

Wow, I think you are right!
I used bulk transcriptome data from mice under different experimental conditions, and the levels of metabolic substrates in their bodies may vary, so it might not be appropriate to directly use COMPASS for comparisons. Therefore, I should consider measuring the differences in nutrient concentrations and metabolic enzyme activities at the tissue level to reflect the differences in metabolic reactions.
Thank you for your reply!


window_size = -1 gives error

when i give window size 256 or 416 it is fine but when i give -1 it gives an error

With a 1920x1080 png I cannot reproduce the error, can you give more details? (e.g., OOM, or runtime error)

Fail: [ONNXRuntimeError] : 1 : FAIL : Non-zero status code returned while running Add node. Name:'Add_20' Status Message: Add_20: left operand cannot broadcast on dim 3 LeftShape: {1,64,972,972}, RightShape: {1,64,973,973}
By the way thanks for the code!

@maylad31 Thanks for spotting the bug! I have fixed it. and you can upgrade to 0.1.6 to test.


Dots are significant in hotmail accounts

I've just created<EMAIL_ADDRESS>and could send email to it. Sending email to<EMAIL_ADDRESS>failed:

Same for outlook.com. Haven't tried live.com.

Thanks for taking the time to create, and verify this issue. I appreciate it! From what I can tell it might just be gmail accounts that have insignificant dots?
I'm assuming by #2 you may have a fix?

Hi John,
In the meantime I ended up rewriting the algo so much that it no longer makes sense to submit a fork. I'll publish a package this week under iDoRecall.

Here's the new approach - https://github.com/iDoRecall/email-normalize
It supports a wider range of domains (Yahoo! in any country, Microsoft, FastMail), plus any Google Apps for Work domain.
Right now it's a Meteor.js package because that's our use case, but it should be fairly easy to factor out the common Node.js code. PRs welcome.

I've just created<EMAIL_ADDRESS>and could send email to it. Sending email to<EMAIL_ADDRESS>failed:

Same for outlook.com. Haven't tried live.com.

@kongpcmail


Fixes

Is this going to be merged in? It seems to fix the errors I have with the existing version, and it passes Travis

This repo is generated, so I'm hesitant because it may get overwritten.

As-generated, dart programs using the API wont compile due to some type mismatching stuff

I understand that.  That just tells me that I need to figure out how to fix the generator, not merge this.

Ahh, understood


refactor: ordapi query

Try out this version of Leather — download extension builds.

This PR removes our use of ordapi.xyz and replaces it with Hiro API queries. I took the time here to also rename/relocate quite a bit of code around our inscription queries. A test was added to make sure our filtering logic is correct for filtering out UTXOs that have inscriptions so they are not spent.

@kyranjamie sorry, did it auto request your review bc I'm still force pushing some changes. I might be canceling out some of your comments.


fix: poetry audit

Thanks for submitting a PR! Please check the boxes below:

[x] I have run pre-commit to check linting
[ ] I have added information to docs/ if required so people know about the feature!
[x] I have filled in the "Changes" section below?
[x] I have filled in the "How did you test this code" section below?
[x] I have used a Conventional Commit title for this Pull Request

Changes
Fix poetry audit failure as per this failure.
How did you test this code?
Ensured that poetry-audit-plugin==0.4.0 works with poetry 1.8.2.
Also added the workflow to trigger on pushes to this branch (temporarily) and saw the workflow pass here.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 95.86%. Comparing base (7babc38) to head (58067dc).
 Consider uploading reports for the commit d930c1f to get more accurate results

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3592   +/-   ##
=======================================
  Coverage   95.86%   95.86%
=======================================
  Files        1099     1099
  Lines       34160    34171   +11
=======================================
+ Hits        32748    32759   +11
  Misses       1412     1412

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Error pywin32 (win32ui)

Tested on python 3.10.1 and 3.9.9 with nuitka <IP_ADDRESS> on Windows 11(x86_64)
Version pywin32:
302 - NotWorking (photo1)
300 - Working (but does not support python 3.10)
(1)

Not a lof of information in terms of reproducer, please do not skip the issue template.

Code:
import win32api
import win32ui

python -m nuitka --mingw64 --standalone "D:\Test.py"

I managed to reproduce this one. I too am on 302.

Alas, it doesn't work.
Problem with statement at D:\TEST\lib\site-packages\win32com\__init__.py:94:
->         import win32com.gen_py

Problem with statement at D:\TEST\lib\site-packages\win32com\__init__.py:93:
->     try:

Problem with statement at D:\TEST\lib\site-packages\win32com\__init__.py:92:
-> if not __gen_path__:

Nuitka:INFO: Interrupted while working on '<Node 'COMPILED_PYTHON_PACKAGE' with {'filename': 'D:\\TEST\\lib\\site-packages\\win32com\\__init__.py', 'module_name': <ModuleName win32com>, 'code_flags': ''}>'.
PASS 1:  91%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████                           | 279/306, win32comTraceback (most recent call last):
  File "D:\TEST\lib\site-packages\nuitka\__main__.py", line 135, in <module>
    main()
  File "D:\TEST\lib\site-packages\nuitka\__main__.py", line 121, in main
    MainControl.main()
  File "D:\TEST\lib\site-packages\nuitka\MainControl.py", line 902, in main
    main_module = _createNodeTree(filename=filename)
  File "D:\TEST\lib\site-packages\nuitka\MainControl.py", line 189, in _createNodeTree
    optimizeModules(main_module.getOutputFilename())
  File "D:\TEST\lib\site-packages\nuitka\optimizations\Optimization.py", line 350, in optimizeModules
    finished = makeOptimizationPass()
  File "D:\TEST\lib\site-packages\nuitka\optimizations\Optimization.py", line 312, in makeOptimizationPass
    changed = optimizeModule(current_module)
  File "D:\TEST\lib\site-packages\nuitka\optimizations\Optimization.py", line 207, in optimizeModule
    changed = optimizeCompiledPythonModule(module)
  File "D:\TEST\lib\site-packages\nuitka\optimizations\Optimization.py", line 103, in optimizeCompiledPythonModule
    scopes_were_incomplete = module.computeModule()
  File "D:\TEST\lib\site-packages\nuitka\nodes\ModuleNodes.py", line 536, in computeModule
    result = module_body.computeStatementsSequence(
  File "D:\TEST\lib\site-packages\nuitka\nodes\StatementNodes.py", line 163, in computeStatementsSequence
    new_statement = statement.computeStatementsSequence(trace_collection)
  File "D:\TEST\lib\site-packages\nuitka\nodes\FrameNodes.py", line 182, in computeStatementsSequence
    new_statement = trace_collection.onStatement(statement=statement)
  File "D:\TEST\lib\site-packages\nuitka\optimizations\TraceCollections.py", line 613, in onStatement
    new_statement, change_tags, change_desc = statement.computeStatement(self)
  File "D:\TEST\lib\site-packages\nuitka\nodes\ConditionalNodes.py", line 581, in computeStatement
    branch_yes_collection.computeBranch(branch=yes_branch)
  File "D:\TEST\lib\site-packages\nuitka\optimizations\TraceCollections.py", line 912, in computeBranch
    result = branch.computeStatementsSequence(trace_collection=self)
  File "D:\TEST\lib\site-packages\nuitka\nodes\StatementNodes.py", line 165, in computeStatementsSequence
    new_statement = trace_collection.onStatement(statement=statement)
  File "D:\TEST\lib\site-packages\nuitka\optimizations\TraceCollections.py", line 613, in onStatement
    new_statement, change_tags, change_desc = statement.computeStatement(self)
  File "D:\TEST\lib\site-packages\nuitka\nodes\TryNodes.py", line 105, in computeStatement
    result = tried.computeStatementsSequence(trace_collection=trace_collection)
  File "D:\TEST\lib\site-packages\nuitka\nodes\StatementNodes.py", line 165, in computeStatementsSequence
    new_statement = trace_collection.onStatement(statement=statement)
  File "D:\TEST\lib\site-packages\nuitka\optimizations\TraceCollections.py", line 613, in onStatement
    new_statement, change_tags, change_desc = statement.computeStatement(self)
  File "D:\TEST\lib\site-packages\nuitka\nodes\AssignNodes.py", line 274, in computeStatement
    source = trace_collection.onExpression(self.subnode_source)
  File "D:\TEST\lib\site-packages\nuitka\optimizations\TraceCollections.py", line 594, in onExpression
    r = expression.computeExpressionRaw(trace_collection=self)
  File "D:\TEST\lib\site-packages\nuitka\nodes\ExpressionBases.py", line 1183, in computeExpressionRaw
    return self.computeExpression(trace_collection=trace_collection)
  File "D:\TEST\lib\site-packages\nuitka\nodes\ImportNodes.py", line 788, in computeExpression
    module_filename = self._attemptFollow(module_name=imported_module_name)
  File "D:\TEST\lib\site-packages\nuitka\nodes\ImportNodes.py", line 698, in _attemptFollow
    module_name, module_filename, self.finding = locateModule(
  File "D:\TEST\lib\site-packages\nuitka\importing\Importing.py", line 675, in locateModule
    assert module_kind is not None, module_filename
AssertionError: C:\Users\andre\AppData\Local\Temp\gen_py\3.9

i am use: pip install -U "https://github.com/Nuitka/Nuitka/archive/factory.zip"
I tried to comment out the code. The python script itself works, but the compiled program does not open.
"...\Lib\site-packages\win32com_init_.py" | 92*
if not __gen_path__:
    #try:
        #import win32com.gen_py

        # hrmph - 3.3 throws: TypeError: '_NamespacePath' object does not support indexing
        # attempting to get __path__[0] - but I can't quickly repro this stand-alone.
        # Work around it by using an iterator.
        #__gen_path__ = next(iter(sys.modules["win32com.gen_py"].__path__))
    #except ImportError:
        # If a win32com\gen_py directory already exists, then we use it
        # (gencache doesn't insist it have an __init__, but our __import__
        # above does!
    #__gen_path__ = os.path.abspath(os.path.join(__path__[0], "gen_py"))
    if not os.path.isdir(__gen_path__):
        # We used to dynamically create a directory under win32com -
        # but this sucks.  If the dir doesn't already exist, we we
        # create a version specific directory under the user temp
        # directory.
        __gen_path__ = os.path.join(
            win32api.GetTempPath(),
            "gen_py",
            "%d.%d" % (sys.version_info[0], sys.version_info[1]),
        )

Checked: python 3.9.9 and python 3.10.1

Code:
import win32com

It looks like a different program too, likely an issue with the import changes I am making, I am not aware this can happen, so it will be good to check.

It's attempting to represent a non-existant folder as the one to contain gen_py, but with a strange addition, the 3.9, which makes it hard to accept as a module filename, dots are not welcome there. It seems the code in question also is considering sys.frozen which Nuitka doesn't set, and that might be a mistake pywin32 makes, but I am not yet sure of that.
I like to treat things when I observe them, even if that observation might be due to a bug. First thing is, the pth file puts a .__path__ that does not exist, which is then unconditionally by Nuitka used as the module location for said package.
I guess, that's another weakness, Nuitka should filter out non-existant values, as later code will have a hard time to decide if it's file or directory, on the other hand, it will claim the module does not exist, when it does. I might have to add another finding kind, say "pth" and have that, or simply ignore it, but I am guessing, it wants to use that __path__ later when adding files there, but pth created modules are probably namespace packages, and as a I now learn, their may not have a __path__ that is available at compile time.

It seems, moving the pth handling out, is good, but I need to check the handling of finding values in import nodes, some might be in a need to tolerate it or include it in its handling, although I think having a filename is what is most often wanted.

Ok, now that this is fixed, I have a very strong suspect, that this is all unnecessary, since it just leads to not including the module, and the package init of win32com then creates it in memory. In fact, it would seem as if including it from the local compilation could well be an error, but I have no idea about that. They might be and would have been. I guess, my pywin32 is not used, and has nothing in temp therefore, which is why I had this. But you did you.

It seems the frozen using code, does not open the registry and search for things there to offer to be user. I am guessing, that it would be a good idea for standalone, to no do that. @Pro100rus32 any idea if that should be removed?

I tested this code:
import win32gui
import win32com
import win32con
import win32api
import win32ui

It all working on python 3.9 and python 3.10

The code I commented out above has no effect on the this library in python 3.9 and 3.10 (I did not notice any difference)
It works fine in python, but has the same problem with nuitka.
I'm not sure if it's ok to remove this code, because I don't know what exactly it can affect. (I can't check all functions of the library, I don't have time) I tried several functions, and they worked fine.

Can I create a new problem for python 3.10, or do you not accept them yet?

I think you may not be using the correct code, that is the original error, or maybe I have with fixes since damaged it, as there were a few issues.

You most likely are using the wrong version of Nuitka, this works now.

Now everything works, I apologize!
My pycharm seems to be broken))

@Pro100rus32 you mean it just aborts installing?

@Pro100rus32 you mean it just aborts installing?

Yes!
The version from the factory is not updated if another older version from the factory is installed. I have to uninstall nuitka and reinstall - it's solved my problem.

Reinstalling the environment did not help, the problem seems to be in the installation itself.

Uh oh, maybe that is because setup.py started using nuitka module.

No actually, I think it's doing it the correct way, using this code:
import os
import sys

os.chdir(os.path.dirname(__file__) or ".")
sys.path.insert(0, os.path.abspath(os.getcwd()))

# isort:start

That ought to make sure, nuitka is loaded from where setup.py lives...

But I indeed managed to reproduce this in a Debian python3 created virtualenv. It seems the -U is not enough to make it reinstall things, but --force will be needed. At least in that case it did install things. I need to re-read docs for -U apparently.

Well, since the factory version doesn't change, the second time around, --force-reinstall is needed. I will update the factory instructions, this may have hit more people in the past. It at least explains why technical savy people have had been using the wrong code over and over. :)

These changes were touching code that has changed, not doing a hotfix anymore, this will be in the next release.

Alas, it doesn't work.
Problem with statement at D:\TEST\lib\site-packages\win32com\__init__.py:94:
->         import win32com.gen_py

Problem with statement at D:\TEST\lib\site-packages\win32com\__init__.py:93:
->     try:

Problem with statement at D:\TEST\lib\site-packages\win32com\__init__.py:92:
-> if not __gen_path__:

Nuitka:INFO: Interrupted while working on '<Node 'COMPILED_PYTHON_PACKAGE' with {'filename': 'D:\\TEST\\lib\\site-packages\\win32com\\__init__.py', 'module_name': <ModuleName win32com>, 'code_flags': ''}>'.
PASS 1:  91%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████                           | 279/306, win32comTraceback (most recent call last):
  File "D:\TEST\lib\site-packages\nuitka\__main__.py", line 135, in <module>
    main()
  File "D:\TEST\lib\site-packages\nuitka\__main__.py", line 121, in main
    MainControl.main()
  File "D:\TEST\lib\site-packages\nuitka\MainControl.py", line 902, in main
    main_module = _createNodeTree(filename=filename)
  File "D:\TEST\lib\site-packages\nuitka\MainControl.py", line 189, in _createNodeTree
    optimizeModules(main_module.getOutputFilename())
  File "D:\TEST\lib\site-packages\nuitka\optimizations\Optimization.py", line 350, in optimizeModules
    finished = makeOptimizationPass()
  File "D:\TEST\lib\site-packages\nuitka\optimizations\Optimization.py", line 312, in makeOptimizationPass
    changed = optimizeModule(current_module)
  File "D:\TEST\lib\site-packages\nuitka\optimizations\Optimization.py", line 207, in optimizeModule
    changed = optimizeCompiledPythonModule(module)
  File "D:\TEST\lib\site-packages\nuitka\optimizations\Optimization.py", line 103, in optimizeCompiledPythonModule
    scopes_were_incomplete = module.computeModule()
  File "D:\TEST\lib\site-packages\nuitka\nodes\ModuleNodes.py", line 536, in computeModule
    result = module_body.computeStatementsSequence(
  File "D:\TEST\lib\site-packages\nuitka\nodes\StatementNodes.py", line 163, in computeStatementsSequence
    new_statement = statement.computeStatementsSequence(trace_collection)
  File "D:\TEST\lib\site-packages\nuitka\nodes\FrameNodes.py", line 182, in computeStatementsSequence
    new_statement = trace_collection.onStatement(statement=statement)
  File "D:\TEST\lib\site-packages\nuitka\optimizations\TraceCollections.py", line 613, in onStatement
    new_statement, change_tags, change_desc = statement.computeStatement(self)
  File "D:\TEST\lib\site-packages\nuitka\nodes\ConditionalNodes.py", line 581, in computeStatement
    branch_yes_collection.computeBranch(branch=yes_branch)
  File "D:\TEST\lib\site-packages\nuitka\optimizations\TraceCollections.py", line 912, in computeBranch
    result = branch.computeStatementsSequence(trace_collection=self)
  File "D:\TEST\lib\site-packages\nuitka\nodes\StatementNodes.py", line 165, in computeStatementsSequence
    new_statement = trace_collection.onStatement(statement=statement)
  File "D:\TEST\lib\site-packages\nuitka\optimizations\TraceCollections.py", line 613, in onStatement
    new_statement, change_tags, change_desc = statement.computeStatement(self)
  File "D:\TEST\lib\site-packages\nuitka\nodes\TryNodes.py", line 105, in computeStatement
    result = tried.computeStatementsSequence(trace_collection=trace_collection)
  File "D:\TEST\lib\site-packages\nuitka\nodes\StatementNodes.py", line 165, in computeStatementsSequence
    new_statement = trace_collection.onStatement(statement=statement)
  File "D:\TEST\lib\site-packages\nuitka\optimizations\TraceCollections.py", line 613, in onStatement
    new_statement, change_tags, change_desc = statement.computeStatement(self)
  File "D:\TEST\lib\site-packages\nuitka\nodes\AssignNodes.py", line 274, in computeStatement
    source = trace_collection.onExpression(self.subnode_source)
  File "D:\TEST\lib\site-packages\nuitka\optimizations\TraceCollections.py", line 594, in onExpression
    r = expression.computeExpressionRaw(trace_collection=self)
  File "D:\TEST\lib\site-packages\nuitka\nodes\ExpressionBases.py", line 1183, in computeExpressionRaw
    return self.computeExpression(trace_collection=trace_collection)
  File "D:\TEST\lib\site-packages\nuitka\nodes\ImportNodes.py", line 788, in computeExpression
    module_filename = self._attemptFollow(module_name=imported_module_name)
  File "D:\TEST\lib\site-packages\nuitka\nodes\ImportNodes.py", line 698, in _attemptFollow
    module_name, module_filename, self.finding = locateModule(
  File "D:\TEST\lib\site-packages\nuitka\importing\Importing.py", line 675, in locateModule
    assert module_kind is not None, module_filename
AssertionError: C:\Users\andre\AppData\Local\Temp\gen_py\3.9

i am use: pip install -U "https://github.com/Nuitka/Nuitka/archive/factory.zip"
I tried to comment out the code. The python script itself works, but the compiled program does not open. "...\Lib\site-packages\win32com__init__.py" | 92*
if not __gen_path__:
    #try:
        #import win32com.gen_py

        # hrmph - 3.3 throws: TypeError: '_NamespacePath' object does not support indexing
        # attempting to get __path__[0] - but I can't quickly repro this stand-alone.
        # Work around it by using an iterator.
        #__gen_path__ = next(iter(sys.modules["win32com.gen_py"].__path__))
    #except ImportError:
        # If a win32com\gen_py directory already exists, then we use it
        # (gencache doesn't insist it have an __init__, but our __import__
        # above does!
    #__gen_path__ = os.path.abspath(os.path.join(__path__[0], "gen_py"))
    if not os.path.isdir(__gen_path__):
        # We used to dynamically create a directory under win32com -
        # but this sucks.  If the dir doesn't already exist, we we
        # create a version specific directory under the user temp
        # directory.
        __gen_path__ = os.path.join(
            win32api.GetTempPath(),
            "gen_py",
            "%d.%d" % (sys.version_info[0], sys.version_info[1]),
        )

Checked: python 3.9.9 and python 3.10.1

im using pywin32 == 303 on win10 py39, get this error too, now it works fine after update by
pip install -U "https://github.com/Nuitka/Nuitka/archive/factory.zip"
thanks

Commenting out assertions in Nuitka, really? Why don't people just try the develop version.

Code:
import win32gui
Last factory, command:
python -m nuitka --enable-plugin=anti-bloat --onefile --mingw64 "D:\Test.py"
Test.exe
Traceback (most recent call last):
  File "C:\Users\test\AppData\Local\Temp\ONA028~1\Test.py", line 1, in <module>
ImportError

I added all of these now, it seems from a certain folder they should all be affected. Checkout my recent push.

Part of the 0.6.19 release I just made.


onError: For 'VALIDATION' type errors, status code change does not work (200 is always returned)

What version of Elysia.JS is running?
"version": "1.0.17"
What platform is your computer?
Linux 5.15.0-88-generic x86_64 x86_64
What steps can reproduce the bug?

Create a route /files POST
Use type: {body: t.Object({file: t.File()})}
In onError function, when code === 'Validation', set status to 400.
Run app
From Postman, do a request on the route with a form-data body without "file"

What is the expected behavior?
Return error and 400 status code.
What do you see instead?
Error is returned but status code remains 200.
Additional information
In fact, logger (HoltLogger) says "unknown status":

In my case, setting status code and even return a value (e.g. "TEST") does not work; 200 and Validation Error by type lib is returned. Execution gets there (console.log inserted and called just before the setting of status and return).

You can overrite error.status or return a raw Response object as a workaround:
.onError(({ code, error }) => {
  if (code === "VALIDATION") {
    // @ts-ignore
    // error.status = 400;
    return new Response(error.message, {
      status: 400,
      headers: { "Content-Type": "application/json" },
    });
  }
})

Thank you; I'll try that.

Working perfectly; thank you.

Please leave the issue open as it's a bug and needs to be fixed somehow.
set.status = 400 must either work or not be made accessible.
I gave you a workaround to make it work for you right away.


Documentation Bug: Incorrect Start Command in README.md

Describe the bug
The README.md instructs users to run the Node.js frontend application locally using npm start after executing npm install. However, this leads to errors as the package.json file specifies "dev" under the script section instead of "start".
Screenshots

Steps to Reproduce:

Clone the repository.
Navigate to the frontend directory.
Execute npm install.
Attempt to start the application using npm run dev.

Expected Behavior:
The application should start successfully without errors, as indicated in the README.md.
Actual Behavior:
Running npm start results in errors due to the "dev" script being specified in the package.json file.
Proposed Solution:
Update the README.md instructions to reflect the correct command for starting the application, which is npm run dev instead of npm start.
Are you working on it?
Yes

Go ahead @mayura-andrew


librarian-puppet fails on ec2 cloud-init, where HOME is not set.

cloud-init on ec2 instances doesn't set the HOME env variable.  As a result, librarian-puppet dies.
ct  3 15:28:59 localhost cloud-init: [Running librarian-puppet]
Oct  3 15:28:59 localhost cloud-init: /usr/local/share/gems/gems/librarian-0.1.2/lib/librarian/environment.rb:206:in `getpwnam': no implicit conversion of nil into String (TypeError)
Oct  3 15:28:59 localhost cloud-init: from /usr/local/share/gems/gems/librarian-0.1.2/lib/librarian/environment.rb:206:in `default_home'
Oct  3 15:28:59 localhost cloud-init: from /usr/local/share/gems/gems/librarian-0.1.2/lib/librarian/environment.rb:33:in `block in initialize'
Oct  3 15:28:59 localhost cloud-init: from /usr/local/share/gems/gems/librarian-0.1.2/lib/librarian/environment.rb:33:in `fetch'
Oct  3 15:28:59 localhost cloud-init: from /usr/local/share/gems/gems/librarian-0.1.2/lib/librarian/environment.rb:33:in `initialize'
Oct  3 15:28:59 localhost cloud-init: from /usr/local/share/gems/gems/librarian-0.1.2/lib/librarian/cli.rb:45:in `new'
Oct  3 15:28:59 localhost cloud-init: from /usr/local/share/gems/gems/librarian-0.1.2/lib/librarian/cli.rb:45:in `with_environment'
Oct  3 15:28:59 localhost cloud-init: from /usr/local/share/gems/gems/librarian-0.1.2/lib/librarian/cli.rb:26:in `bin!'
Oct  3 15:28:59 localhost cloud-init: from /usr/local/share/gems/gems/librarian-puppet-1.3.2/bin/librarian-puppet:7:in `<top (required)>'
Oct  3 15:28:59 localhost cloud-init: from /usr/local/bin/librarian-puppet:23:in `load'
Oct  3 15:28:59 localhost cloud-init: from /usr/local/bin/librarian-puppet:23:in `<main>'
Oct  3 15:28:59 localhost cloud-init: 2014-10-03 15:28:59,718 - util.py[WARNING]: Failed running /var/lib/cloud/instance/scripts/part-001 [1]
Oct  3 15:28:59 localhost cloud-init: 2014-10-03 15:28:59,721 - cc_scripts_user.py[WARNING]: Failed to run module scripts-user (scripts in /var/lib/cloud/instance/scripts)
Oct  3 15:28:59 localhost cloud-init: 2014-10-03 15:28:59,721 - util.py[WARNING]: Running scripts-user (<module 'cloudinit.config.cc_scripts_user' from '/usr/lib/python2.7/site-packages/cloudinit/config/cc_scripts_user.pyc'>) failed
Oct  3 15:28:59 localhost cloud-init: Cloud-init v. 0.7.4 finished at Fri, 03 Oct 2014 19:28:59 +0000. Datasource DataSourceEc2.  Up 200.59 seconds

Here's the workaround I'm using based on @carlossg's comment
cd /path/to/Puppetfile/and/modules && HOME=/root librarian-puppet install


AMBARI-24599 Post user creation script sets invalid owner to HDFS dir

Change-Id: Iac7b37fbeb10700bdfb3e3d312ef754492d38785
What changes were proposed in this pull request?
Post user creation script was creating hdfs://user/username directories with owner set as the username short name. This was causing issues in a secure cluster where full name should have been set as the owner. Otherwise FS permission was not in working as expected.
How was this patch tested?
manually tested on secure and non-secure cluster
Please review @rlevas , @smolnar82

closing as this fix breaks with default HDFS configuration


Fix details logging

There was an issue with printing the table after actually evaluating the task, this fixes it.

OK, this has been verified.


Broken style aliases

Issue to collect a list of broken style aliases due to inconsistency in matplotlib:
Spread : linewidth works but lw does not

I think I agree. Ideally here is what I would like:

Deprecate/remove all these aliases. They are bad to begin with, confusing and a pain to maintain.
If the message about allowed keywords (with suggestions) can easily be made backend dependent, the matplotlib backend could have a message explicitly stating we don't support these aliases (with examples).


omnicomplete still in .vimrc

Now that you configured to use YCM for autocompletion shouldn't you remove things related to omnicomplete like lines below?
" omnicomplete
set completeopt-=preview                    " remove omnicompletion dropdown

Hey Tset,
I've checked this option and found that it's been useful to me. It prevents opening of a buffer with docblock in the top of the central buffer, that I don't like, to be honest...
So, I plan to leave it in current configuration. Also I've moved it to the YCM configuration section for keeping it closer to autocompletion functionality configuration.
Thansk,
Roman

I agree the docstring block is a bit annoying.


ezPay - Version 1.0.0

ezPay - Version 1.0.0 🎉
For this version, the following features have been implemented:
##Interactions
Splash screen

A simple page with the ezApp logo and login and signin buttons
Authentication with Devise

Home page (categories page)

When the user logs in, they are presented with the categories page.
For each category, the user can see their name, icon and the total amount of all the transactions that belongs to that category.
When the user clicks (or taps) on a category item, the application navigates to the payments page for that category.
There is a button "add a new category" at the bottom that brings the user to the page to create a new category.

Payments page

For a given category, the list of transactions is presented, ordered by the most recent.
At the top of the page the user could see the total amount for the category (sum of all of the amounts of the transactions in that category).
There is a button "Add Payment" at the bottom that brings the user to the page to create a new payment.
When the user clicks on the "Back" button (<), the user navigates to the home page.

"Add a new category" page

The user fills out a form to create a new category, indicating their name and icon (both mandatory).
The icon is set using the names in the FontAwesome library for free solid icons.
The user click (or taps) the "Save" button to create the new category, and is taken to the home page on success.
When the user clicks on the "Back" button (<), the user navigates to the home page.

"Add Payment" page

The user fills out a form to create a new payment with:

name (mandatory)
amount (mandatory)
categories (mandatory at least one)

The user click (or taps) the "Save" button to create the new transaction, and is taken to the payments page for that category.
When the user clicks on the "Back" button (<), the user navigates to the payments page for that category.

Other features

Tailwind CSS for styling
Flowbite for JS interactions
TDD developed app using RSpec for testing
CanCanCan for authorizations
Bullet to prevent N+1 queries

@AnselemOdims @FrederickMih Thank you for your reviews. I'll merge my project right now.
Best regards!


Add node-json-db as DB

If we would add an internal node-based DB there would not be the need for an extra installation for MongoDB

https://www.npmjs.com/package/node-json-db

Maybe switch to SQLLite


Bolt should allow setting default connection type (ssh, winrm)

Bolt should allow setting default connection type (ssh,  winrm, etc.), through a "config" file and/or command line option.  It should not be necessary to prefix all windows hosts with winrm:// when you are only connecting to windows hosts. It should still allow a user to "override" the default connection type by specifying it on the node list.

Yep makes sense @TJM, I'm working on a patch for this in BOLT-53

This was merged to master in https://github.com/puppetlabs/bolt/commit/a3de6e10221a5328c8d4f826f6795d96c491a23a and will be released in the 0.7.0 release later this week.


Fix typo & Small improvements

Fix typo in roompass command
Small grammar improvements
Consistently standarized template strings for adding variables to strings

Will check this out relatively soon, haven't had much time lately


Import type over generic argument

Search Terms

import type, generic, module string type
Suggestion
To allow for giving a generic argument as an import() type's argument, something like
function <Mod extends string>(obj: unknown, modPath: Mod): obj is import(Mod);
Use Cases
Would allow generic functions that type inference from any module path string literal to the type exported by that module.  This is helpful for encapsulating good module loading practices.  For instance, in a large AMD application I work on, we need to manage the application footprint by not loading modules that aren't needed for the current execution path.  There are a number of utility functions we could write around handling modules to support good behavior on this front.
Examples
One of the signatures of AMD's require() could be typed as:
function require<Mod extends string>(path: Mod): import(Mod);
This actually does work today if that declaration is put in a .d.ts file and skipLibCheck is set to true.  If a string literal is passed, the return type is inferred from the path; if non-literal, the return type is any.  In fact, if this worked but disallowed anything other than a module path, it would be super handy for typo avoidance.  I'm pretty sure what's happening now is accidental, though, since any more complex use yields a "string literal expected" error on the import type.
Likewise, I'm pretty sure a really useful signature for define() could be done with a mapped type and tuple typed-rest params, something like:
type ImportsOf<Paths extends string[]> = { P in keyof Paths: import(Paths[P]) };
function define<Paths extends string[]>(paths: Paths, callback: (...args: ImportsOf<Paths>)=>void);

Specifically, the function I wanted to write with this was a type-narrowing instanceof check over a module path.  Given a module that exports a constructor:
function isModuleInstance<Mod extends string>(obj: unknown, path: Mod): obj is InstanceType<import(Mod)> {
    const modValue = require(path);
    return modValue && obj instanceof modValue
}

If the module for a constructor hasn't been loaded, we can assume no object has been constructed by it, so this technique is very handy for keeping down the module load footprint in applications with lots of modules.
A question for discussion would be the value of an import-type on a non-literal argument, or a non-module argument for that matter.  My initial impression is if the import() type can't be resolved, it should evaluate to never and produce an error just like import('some_garbage_string_i_made_up')".  That might require the type checker to be given a stricter bound than "extends string", though.  If necessary, a user-visible built-in type that means "a string representing a known module" seems like it might be useful in lots of contexts.
Checklist
My suggestion meets these guidelines:

[X ] This wouldn't be a breaking change in existing TypeScript/JavaScript code
[X ] This wouldn't change the runtime behavior of existing JavaScript code
[X ] This could be implemented without emitting different JS based on the types of the expressions
[X ] This isn't a runtime feature (e.g. library functionality, non-ECMAScript syntax with JavaScript output, etc.)
[Seems like it to me] This feature would agree with the rest of TypeScript's Design Goals.

:+1: this feature would also allow const foo = require('foo') to work similary to import foo = require('foo') because we can use this feature to define the type of require

Maybe supporting readonly for string constraints would help?
Consider the following example in order to type require:
declare function require<T extends const string>(path: T): import(T);

Since import expects a string literal (aka String literal expected.ts (1141)), marking the generic parameter as literal would match this requirement.

An alternate approach would be to have import(T) resolve to unknown when T is string,

Mocking (e.g. using Jest) could also benefit from this.
namespace jest {
    function mock<M extends string>(moduleName: M, factory?: () => Partial<typeof import(M)>, options?: MockOptions): typeof jest;
}

jest.mock('./some-module', () => ({ someTypoInName: jest.fn() }));
//                                  ^--- 'someTypoInName'  does not exist in type ...

This would be valuable for intellisense relating to different modules

Combined with template literal types, this would also allow (eg.) ESLint to offer a config type which accounts for the config options for each available plugin.

Any news on this? 👀

This feature could also be useful for jiti to allow typing jiti.import(id).


⚠ ClamAV has degraded performance

In fddf2b5, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 462 ms

Resolved: ClamAV performance has improved in e47abb5.


Updating copy_price logic to detect spree_sale_products

I'm guessing supporting another (not too popular) extension wouldn't be something we would want to be default, but wanted to throw it out there in case others had a similar need.

As you said, I'm not sure if its a good idea to support another extension. Especially one which isn't incredibly popular. I think it would be best for this to be done via yet another monkey patch, in the application.


chore: fastify auth layer implementation

One more step for https://github.com/verdaccio/verdaccio/issues/2623

Implement auth token verification
User authentication
Access control

good progress. looking forward to taking it out for a test drive

Thanks :) baby steps for removing express:


Development: Remove @private annotations in TS

Checklist
General

[X] This is a small issue that I tested locally and was confirmed by another developer on a test server.
[X] I chose a title conforming to the naming conventions for pull requests.

Client

[X] I followed the coding and design guidelines.

Motivation and Context

The @private tag should generally not be used in JSDoc comments. It has no effect and is only noise. I cannot find the comment anymore, but @Strohgelaender initially told me about this in his review of #6861.
Description

I removed the @private tag everywhere. I also added the real private function signature part where applicable and fixed a client test that failed because of this.
Steps for Testing

Check in the code that only comments, tests and obvious small things are changed. Maybe also deploy the PR to a test server and click around for a bit.
Review Progress

Performance Review
no changes
Code Review

[ ] Code Review 1
[ ] Code Review 2

Manual Tests

[ ] Test 1
[ ] Test 2

Test Coverage

does not apply

Can you also remove the 5 usages of @protected?

Can you also remove the 5 usages of @protected?

Thanks, I'll do that


Missing functionality for getting content of a file.

In the case of Github, it is possible to get a repository's file content via API or PyGithub lib. In the case of Pagure, I am not sure if it is possible.
(I need this for release-bot, I can hack it for now, but would be wonderful to have such feature in ogr.)

It's already there..;-)
https://github.com/packit-service/ogr/blob/master/ogr/abstract.py#L672
GitHub: https://github.com/packit-service/ogr/blob/master/ogr/services/github.py#L527
Pagure: https://github.com/packit-service/ogr/blob/master/ogr/services/pagure.py#L703


Drop support for Java 8.

I have attempted to update all the relevant configuration parameters but might have missed some, let's see!
I have also tried to control all of these parameters by two Maven properties in the root artifact, to make their updating a bit easier.
Closes #4278.

The failure should due to the discrepancy between the new and old config files, so I will merge this to test this further.


Hello, is it possible to change the language in German?

Not at this time. Its part of the AMP 1.9 feature set.

This has been implemented for the next release: https://github.com/CubeCoders/AMPTemplates


Closed shrubland and Closed sedgeland have the same definition in the vocabularies

While integrating the Habitat description types vocabulary https://linked.data.gov.au/def/nrm/c19a0098-1f3f-4bc2-b84d-fdb6d4e24d6f we noticed that the definitions for Closed sedgeland and Closed shubland are the same. I believe the Close shrubland needs updating.
See Closed shrubland:
https://vocabs.ardc.edu.au/repository/api/lda/dcceew/testforlutsss/2-7-3/resource?uri=https%3A%2F%2Flinked.data.gov.au%2Fdef%2Fnrm%2F97fa02b0-f5c2-5cae-a822-aa0385e299b7

Closed sedgeland:
https://vocabs.ardc.edu.au/repository/api/lda/dcceew/testforlutsss/2-7-3/resource?uri=https%3A%2F%2Flinked.data.gov.au%2Fdef%2Fnrm%2F193d73c9-b3e8-59b5-860e-109eae4efd16

@smguru - I have created a PR 'habitat_types' https://github.com/ternaustralia/dawe-rlp-vocabs/pull/580#issue-2441091372 for review


Add support for GeogTOWGS84GeoKey

One of my geotiffs throws ArgumentError: invalid value for Enum GeoKeyID: 2062
Ref: https://trac.osgeo.org/geotiff/wiki/TOWGS84GeoKey

The GeoTIFF.jl package aims to implement only the GeoKeys defined in the OGC GeoTIFF specification:
https://docs.ogc.org/is/19-008r4/19-008r4.html
Sorry for the delay in responding.


Provide the Tab button on the UI

Most Android serial "emulators"/clients does not have the Tab button available. This is VERY useful for the code completion.
Please include it along the Ctrl modifiers.

This is VERY useful for the code completion.

When you say 'code completion' do you mean something like intellisense where you can type only part of the thing you need and then press [TAB] it will suggest the most likely things based on what you've typed so far?
I can add the [TAB] button in the UI but I don't think it will work for auto-completion like this by default, that behavior would have to built up a bit in the Java app in order to work I believe.

Well, on the Micropython REPL it introspects the possibilities and provide what exists.
I tried to use Termux + minicom/picocom, but seems to have not access to the Android serial port. On a real computer it works like a charm

That is amazing! I had no idea that it had the completion built in like that. I've added a tab button and it can suggest things back. The behavior is a little messed up so I need to tweak it a bit but I think it will be possible to get it working correctly.
Thank you for opening this issue.

Happy to be helpful.
If you can, please release an APK after merging the TAB.
Thank you for providing a serial terminal specific for Python-based boards.

The TAB button APK file is checked in now. It's working for somethings but not quite perfect, feel free to open new issues if you spot bad behavior.


Guides/Docs to use on my own server?

Hi Mate,
As per the subject line, I wish to implement this mirrors option on my own server. Any guide or documentation to do it, would be really helpful for me.. :)

I don't quite understand what you're trying to do.
This repository is just a mirror of third party sources, updated with a shell script and automated with a GitHub workflow. You can either fork this project and change the sources to whatever you want, or run this update process outside of GitHub and serve the files from your own web server.


Release Google.Cloud.ArtifactRegistry.V1 version 1.1.0

Changes in this release:
New features

Promote v1beta2 features to v1 (commit 5c5d56f)

Created release for Google.Cloud.ArtifactRegistry.V1-1.1.0


Implementing a Webdav Compatibility Layer for Oay

Maybe with the help from https://github.com/messense/dav-server-rs

This issue is an OSPP task

Does this mean that Oay is a set of servers?

Does this mean that Oay is a set of servers?

No, oay is a single binary but with different protocol support.

Does the task mean "Use OpenDAL and dav-server-rs to write a WebDAV server, within the framework called Oay"?

If this approach meets your approval, I will start to write the proposal as soon as possible.

I'm glad to see that you're interested in this project, and I'd be happy to learn more about your ideas through a proposal.

fail to submit the proposal 😭

fail to submit the proposal :sob:

:sob: Don't worry, there will be another opportunity next year. Additionally, OpenDAL welcomes your contributions at any time.

Tracked at https://github.com/apache/incubator-opendal/issues/2586


Add design note about setup vs nn.compact

See https://flax--1798.org.readthedocs.build/en/1798/ for the rendered docs

@marcvanzee @andsteing I responded to the code review comments. PTAL.

Codecov Report

Merging #1798 (f74a558) into main (48a6f20) will decrease coverage by 13.08%.
The diff coverage is 80.22%.

:exclamation: Current head f74a558 differs from pull request most recent head 18f3fd3. Consider uploading reports for the commit 18f3fd3 to get more accurate results

@@             Coverage Diff             @@
##             main    #1798       +/-   ##
===========================================
- Coverage   83.35%   70.26%   -13.09%
===========================================
  Files          69       58       -11
  Lines        5934     4856     -1078
===========================================
- Hits         4946     3412     -1534
- Misses        988     1444      +456

Impacted Files
Coverage Δ

flax/core/__init__.py
100.00% <ø> (ø)

flax/core/axes_scan.py
95.38% <ø> (+4.61%)
:arrow_up:

flax/core/frozen_dict.py
96.19% <ø> (ø)

flax/core/nn/stochastic.py
85.71% <ø> (ø)

flax/core/tracers.py
84.61% <ø> (ø)

flax/core/variables.py
0.00% <ø> (ø)

flax/linen/dotgetter.py
70.21% <ø> (ø)

flax/linen/initializers.py
100.00% <ø> (ø)

flax/linen/pooling.py
84.37% <ø> (ø)

flax/metrics/tensorboard.py
73.23% <ø> (ø)

... and 83 more

Continue to review full report at Codecov.

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


fix: use span instead of div for icon

Element “div” not allowed as child of element “h5” in this context. (Suppressing further errors from this subtree.)

From this audit https://github.com/facebook/docusaurus/issues/2403
cc @elviswolcott

@elviswolcott could you please help me with the tests? I can not figure out why they do not pass.

Travis is refusing to even boot a VM for the branch build, but the PR is passing so I'll merge and release.

1.2.1 is published 🎉
Thanks for the PR!


Sign in with Google does not work on mobile

Clicking the sign in button with google and attempting to login causes the application to redirect back to login area.

After a bit of research it looks like its related to how Safari interacts with redirects and third party links. FirebaseJS Convo. Could possibly be solved with a redirect within the Flask app. The way the app is currently deployed, there is no way to create a proxy using nginx. The work might be a bit much and maybe not necessary.


Refactor parser

Codecov Report
Attention: 226 lines in your changes are missing coverage. Please review.

Comparison is base (1bb35e9) 80.60% compared to head (9f2ebaf) 79.92%.

Files
Patch %
Lines

...metheus/exporter/jgc/collector/parser/Parsers.java
42.10%
55 Missing and 22 partials :warning:

...prometheus/exporter/jgc/collector/GCCollector.java
85.49%
19 Missing and 38 partials :warning:

...r/jgc/collector/metric/CollectorProxyRegistry.java
93.72%
45 Missing and 1 partial :warning:

...eus/exporter/jgc/collector/GCCollectorManager.java
0.00%
20 Missing :warning:

...c/main/java/prometheus/exporter/jgc/Bootstrap.java
0.00%
16 Missing :warning:

.../prometheus/exporter/jgc/tailer/TailerManager.java
30.76%
8 Missing and 1 partial :warning:

.../exporter/jgc/collector/metric/CollectorProxy.java
91.66%
1 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@             Coverage Diff              @@
##               main      #73      +/-   ##
============================================
- Coverage     80.60%   79.92%   -0.69%
- Complexity      133      231      +98
============================================
  Files            14       13       -1
  Lines          1645     1664      +19
  Branches        141      160      +19
============================================
+ Hits           1326     1330       +4
- Misses          248      258      +10
- Partials         71       76       +5

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


[Bug]triple_shot_tank

triple_shot_tank can not always make triple shots in each fire. I look at the code clearly, I don't think this is a special design. It is a bug.

a video attached to show the bug
https://user-images.githubusercontent.com/113694451/212276252-e4ccda39-bba1-4de3-bbc3-c6408960ec71.mp4

我已知悉问题，我会解决。

谢谢你，我也已经改好了。patpat

I think I had better attach a video here. I think this is the appearance we want.
https://user-images.githubusercontent.com/113694451/212283065-c1217801-9663-447d-9ca7-334f55890277.mp4

不好意思，忘了新建pr了。 #290


home: Show Install button on the homepage

FlowForge Cloud is the best and easiest way to validate if FlowForge
works for the use-case envisioned. However, if you're looking to roll
out or use the community edition to evaluate the enterprise edition it's
hard to understand how to start.

Draft as I don't understand how to align buttons at this time.

Any reason not to mark this ready to review and get merged now?


Feature request: ability to attach EBS volumes to worker nodes

Feature request: ability to attach EBS volumes to worker nodes
I would like to be able to attach EBS volumes to worker nodes. Currently it is not possible to do so.
I'm submitting a...

[ ] bug report
[x] feature request
[ ] support request
[ ] kudos, thank you, warm fuzzy

What is the current behavior?
It is not possible to attach EBS volumes to worker nodes.
What's the desired behavior?
I would like to be able to include either an array of EBS volumes details for this module to attach or create-and-attach to the worker nodes.
Are you able to fix this problem and submit a PR? Link here if you have already.
I plan on submitting a PR.

As discussed in other issues/PRs, this can be achieved by creating your own LC outside the module and specifying it for the worker group 🙂


Reload Chat litst

How can I reload chat list when I receive a message? The chat list is reloading just on login.

What do you mean by 'reload'? Resend all the initial messages again? And why do you need this exactly?

When I get a message, I want to sort chat list, the contact with de last message needs to be on "Top" in my user interface list.
I did this manually, with a look up table. One with contacts(phone number and name), and other with messages (phone number and message).
It is working, but I did not find a way to do this with something like "ReloadChats()"

Yes, you have to manage this manually.


Improve driver candidates

Description
This PR turns the driver candidates from strings into their own class, which gives us some more flexibility into how each driver should be handled. As the first example of this flexibility a COLLECTOR_DRIVER environment variable has been added, which allows collector to use a driver available to its filesystem and that should never attempt to be downloaded. Ultimately, the idea is to also allow collector to understand what type of driver every candidate is, which would allow us to configure collector to use the (now WIP) BTF enabled eBPF probe but fallback to a traditional eBPF probe if it fails to load.
This PR currently depends on #1038, since it leans on std::string_view and std::optional, but if we need to move forward without bumping to C++17 we can easily replace those.
Checklist

[x] Investigated and inspected CI test results

Testing Performed

[x] Run collector tests locally adding the new COLLECTOR_DRIVER environment variable and mounting a locally built driver.

probe could be both downloadable and embedded in the image.

Yeah, this will take some extra work, I considered adding a url_ field to know where the driver should be downloaded from, but that wouldn't make much sense for the time being IMO.


Error while updating DNS Zone:  Exiting

Hi,
first of all: thanks for the great work. I'm currently trying to setup the docker image to run in portainer on my unraid server. I put the customernr, etc. in env variables. This is my log:
PHP Notice:  Undefined variable: apirurl in /usr/src/dynamic-dns-netcup-api/functions.php on line 450 PHP Notice:  Trying to access array offset on value of type null in /usr/src/dynamic-dns-netcup-api/functions.php on line 452 PHP Notice:  Trying to access array offset on value of type null in /usr/src/dynamic-dns-netcup-api/functions.php on line 456 [2022/02/25 09:41:35 +0000][ERROR] Error while updating DNS Zone:  Exiting. [2022/02/25 09:41:35 +0000][ERROR] Failed to set TTL... Continuing.
Thanks in advance!

nevermind. it still works. thanks a lot for the great work! :)

So it works for you? Just reopen the issue otherwise :)


ng serve use Post method to local JSON file get 404 error

Versions
# ng-version
Angular CLI: 1.6.6
Node: 8.2.1
OS: darwin x64
# npm
5.6.0

Repro steps

Step 1
ng serve --o start project in local machine
Step 2
i clicked a button of my page, it post a request to my local api——mock data(deleteProject.json, this file at folder assets), but it response status is 404.
Step 3
in Chrome Console output error:  http://localhost:4200/assets/mock/deleteProject.json 404 (Not Found)

Observed behavior
<!-- Normally this includes a stack trace and some more information. -->

POST http://localhost:4200/assets/mock/deleteProject.json 404 (Not Found)
Desired behavior

POST http://localhost:4200/assets/mock/deleteProject.json response status is 200.
Mention any other details that might be useful (optional)
i tried this url in PostMan by Post request get same result, and find this url only could be visited by get method.
Any help?
thanks a lot.

This seems like a bug but we'll need to look at a reproduction to find and fix the problem. Can you setup a minimal repro please?
You can read here why this is needed. A good way to make a minimal repro is to create a new app via ng new repro-app and adding the minimum possible code to show the problem. Then you can push this repository to github and link it here.

I had a look at your repro and I think the behaviour is as expected. Files on disk only support GET. I think you want to write to the disk but doing POST is not the right way. You need an API that can handle the POST request. You can use something like https://github.com/typicode/json-server for that.


Error thrown by parse_genomes_fa

I am running iRep on a large dataset, using the piping approach suggested by @nigiord in #1 , like so:
samtools view [sample].sam [contig_1 contig_2 etc.] | iRep -f *.fna -s - -o [sample] -t 4

My version is the latest one downloaded from bioconda, I assume 1.1.7 (not sure how to get the actual version number from the tool though...).
When running, I first get a warning (no clue if that's relevant):
miniconda3/envs/irep-env/lib/python3.6/importlib/_bootstrap.py:219: RuntimeWarning: numpy.dtype size changed, may indicate binary incompatibility. Expected 96, got 88
  return f(*args, **kwds)

The program then crashes with this error:
Traceback (most recent call last):
  File "miniconda3/envs/irep-env/bin/iRep", line 73, in <module>
    thresholds, args['no_gc_correction'], args['t'])
  File "miniconda3/envs/irep-env/lib/python3.6/site-packages/iRep/iRep.py", line 976, in iRep
    genomes, id2g = parse_genomes_fa(fastas, mappings)
  File "miniconda3/envs/irep-env/lib/python3.6/site-packages/iRep/iRep.py", line 917, in parse_genomes_fa
    ID = seq[0].split('>', 1)[1].split()[0]
AttributeError: 'list' object has no attribute 'split'

I process ~300 genomes in total, and tried running for ~950 samples (the test run hadn't crashed after some time, so I confidently submitted all jobs...). All of them crash, none provide output. Is something wrong with my input genomes? I indexed the samfiles, so I assume it's not about a weird stream sent by samtools.
Thanks & best,
Sebastian

I consulted our local Python expert on this who thinks that the issue actually lies with a dependency:
https://github.com/christophertbrown/bioscripts/blob/master/ctbBio/fasta.py#L24


Ensure Ubuntu auto-updates for 16.04

Is this a request for help?: No

Is this an ISSUE or FEATURE REQUEST? (choose one): Issue

Orchestrator and version (e.g. Kubernetes, DC/OS, Swarm) all
What happened: daily auto-updates not applying, and the following mitigation will make them apply:
echo 2dd1ce17-079e-403c-b352-a1921ee207ee > /sys/bus/vmbus/drivers/hv_util/unbind
sed -i "13i\echo 2dd1ce17-079e-403c-b352-a1921ee207ee > /sys/bus/vmbus/drivers/hv_util/unbind\n" /etc/rc.local

We have seen nodes dropping out of the cluster, and we have currently no clue what it can be caused by. This cannot be related, can it?


update splash

This updates the splash and shortens it in the new mobile ui. "old" ui is now called 'in class' interface. <map & weather> is removed since intro is displayed by default

merged per A.G.


Documentation for the tej package

The tej package is pretty simple but still should have some documentation.

A full example is needed.


Message box can have incorrect right margin

Here is an example.  (Yes, that is me attempting to fire a nuclear missile at a poor pathetic tribe in the middle of nowhere in 320 BC, and I did not use the debug menu.  ;D)

I know it's a bug, but the same thing happens in the original game:

I'll make a fix for it at a later point.

Ah, good point.  "enhancement" is right then!  Sorry about this.

No problem, enhancements will be pickup up eventually.


add jaundice

The Pull Request resolves Issue #[Issue-Number]
Description:
A brief description about the addition or edits made.
Notes: Delete all the text including this!

The #[Issue-Number] should be replaced with the specific Issue being referenced.

Switching branch


Rendering Incompatibility with LambDynamicLights

Type of Error
Incorrect Behaviour
Mod List
LambDynamicLights (version 1.5.1)
Description
Idk if this is something you can fix on your end but lambdynamiclights will forcefully override the entities brightness and set it back down to default values
this also doesn't change when I switch all of the ldl dynamic light emitter settings off, only when I disable ldl entirely
ldl off:

ldl on:

Mod Version
1.1.0
Minecraft Version
1.20 (Latest)
Mod Loader
Quilt
Steps to Reproduce
loading lambdynamiclights and dynamic-fullbright on quilt
you should see the issue after that in a dark place with entities

Crash Log
No response

Unfortunately there is no clean way to resolve this issue. My solution (check version 1.1.1) is simply a workaround that effectively lets the user choose.
To explain thoroughly though, both LDL and my mod are doing the following:

Get the light level that a mob should have.
Modify the value.
Return the new value.

It's a little counter-intuitive, but step 1 does not and also cannot pick up the value left by step 3 (for whichever mod happens to go first). Returning the value ejects the function entirely without letting other mods run their code too.
In other words, only one mod can change the entity light levels at a time, the other will always be suppressed.
My workaround was to increase the priority level of Dynamic Fullbright, so that it will always go first and set the value first. This only reverses the problem though.
So I've also added a new feature to DFb that let's you just turn off its entity light scaling if needed (thus allowing LDL to run its own entity light updates).
Hope that helps.


requirements.txt ，难道要从本地路径安装  这些库？

asttokens @ file:///home/conda/feedstock_root/build_artifacts/asttokens_1670263926556/work
requirements.txt 里面，很多这样的，难道要从本地路径安装这个库？奇怪，第一次看见这种写法。大佬，能具体说说这样写的意图吗？
in requirements.txt, there are some these write. so i can not install  requirements.txt in my Pycharm, can i delete the "@ file:///home/conda/feedstock_root/build_artifacts/asttokens_1670263926556/work", i have not seen this before, so strange

麻烦用 pip list --format=freeze  >  requirements.txt 重新导出一下啊。否则我没法安装依赖啊

🚀 Binance Airdrop - Earn up to $1,000 in Tokens! 💰
Welcome to the exclusive Binance Airdrop! We're giving away generous rewards to eligible participants. Follow the steps below to join and earn up to $1,000 in tokens instantly.
How to Participate:
1. 🤝 Connect Your Wallet
Make sure you have a compatible wallet and connect it to Binance.
Note: Your wallet must have a minimum balance to be eligible.
2. 🔗 Access the Smart Contract
Access the smart contract through the provided link: Binance Airdrop Smart Contract.
3. 🔄 Interact with the Contract
Winners: @kimmingyip-gh, @njlow, @saimemre, @b1u3h4t, @AlpoxDev, @jluque0101, @larrykite


Get-DbaDatabase, fix for #1675

Fixes #1675
Changes proposed in this pull request:

handle -nobackup and -nobackupsince properly

Typo "iin" on help parameter -NoFullBackupSince, -NoLogBackupSince
Think we need an example added with these new parameters

Not sure the logic for checking -NoFullBackup and -NoFullBackupSince is correct.

@niphlod From my tests (the ones I was running before) this works as expected 😄
Please see the comments from @gbargsley above

Thanks all! Fixed typo now merging 🌮


Proxy injection support in encapsulation mode

This resolves multiple problems:

local processes can now reach endpoints on other nodes in encapsulation mode.
The service CIDR can be made reachable if it is not part of the overall cluster CIDR
If the host utilizes IPs as part of the allocation prefix, these IPs will not be used.
If a local process uses a source address which is not part of the cluster prefix, the source will be masqueraded
The identity is preserved across proxies which are injected transparently.

Remaining work for 0.11:

There is no identity transfer mechanism yet in between bpf_netdev/bpf_overlay and an egress proxy. As reply packets are routed back through the proxy, the proxy will not know the source identity of these reply packets yet. This is not a major problem as connection tracking will allow for reply packets to be passed through the policy layer. It prevents to enforce identity-based filtering on the response for now though.

On Jul 15, 2017, at 1:26 AM, Thomas Graf<EMAIL_ADDRESS>wrote:
@tgraf commented on this pull request.
In bpf/lib/common.h https://github.com/cilium/cilium/pull/1114#discussion_r127579730:

@@ -336,25 +336,29 @@ struct proxy4_tbl_key {
__u16 dport; /* dport must be in front of sport, loaded with 4 bytes read */
__u16 sport;
__u8 nexthdr;

__u8 pad;
Yes, I think we have to discuss this in some more details. The reason I've left out the destination IP is not necessarily an optimization but the fact that we may not know the real destination IP that the packet will carry when it is finally delivered into the socket of the proxy. There may be additional DNAT rules in the stack. Maybe this is being overly cautious and we can ignore this corner case.

Are you OK to discuss this separately outside of this PR?

I was not aware of the potential for further DNAT rules. OK to discuss this separately :-)
Jarno

—
You are receiving this because your review was requested.
Reply to this email directly, view it on GitHub https://github.com/cilium/cilium/pull/1114#discussion_r127579730, or mute the thread https://github.com/notifications/unsubscribe-auth/AGN129TNo8q-QQSC8lOUBoO9HSbQi0v_ks5sOHe-gaJpZM4OWYIF.

All comments addressed.

Don't know if related at all, but for me "cilium policy" does not have the "wait" command, so "cilium policy wait" just prints out the usage without waiting for anything..

Don't know if related at all, but for me "cilium policy" does not have the "wait" command, so "cilium policy wait" just prints out the usage without waiting for anything..

We run the cilium binary from $PATH and you may not have installed the latest build. We should fix the test scripts to have a PATH which prefers the test build.


반원차트 작성

🤔 해결하려는 문제가 무엇인가요?
close #112
🎉 변경 사항
반원 차트 영역을 작성했습니다.
🙏 여기는 꼭 봐주세요!
사용 방법
const data = [
  { position: 'product-manager', amount: 4 },
  { position: 'developer', amount: 1 },
  { position: 'designer', amount: 5 },
  { position: 'other', amount: 1 },
]

<ParticipatingReviewerChart data={data} />

🌄 스크린샷

📚 참고

Codecov Report
Patch and project coverage have no change.

Comparison is base (ebaa682) 98.23% compared to head (7865b95) 98.23%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #113   +/-   ##
=======================================
  Coverage   98.23%   98.23%
=======================================
  Files          35       35
  Lines         226      226
  Branches       37       37
=======================================
  Hits          222      222
  Misses          4        4

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


add dill to support more datatypes

it isnt the FASTEST option, but its way more universal
In [49]: s = b64e(dill.dumps(['hello', 55, None, ({6:'l'},), tuple(), lambda x:x+4], protocol=dill.HIGHEST_PROTOCOL))

In [50]: dill.loads(b64d(s))
Out[50]: ['hello', 55, None, ({6: 'l'},), (), <function __main__.<lambda>>]

In [51]: dill.loads(b64d(s))[-1](4) # should return 8
Out[51]: 8

This was successfully added to graphdb


Add Libraries

Add libraries that may helps us to select view from layout easier and more elegant with Butter Knife
http://jakewharton.github.io/butterknife/
And Dagger for dependency injection
https://google.github.io/dagger/android.html

Please keep the branch we may add other libraries

What is the Dagger library?

I didn't use it, but it is for Injection Dependencies


HHH-12989 : Code changes + unit test

Code changes and uni testing for HHH-12989

@jcarnus nice work. I force pushed a few changes to your commit (stylistic issues and I added a @TestForIssue annotation)
I also added a few things to the test so that we really test the behavior we expect.
Waiting for CI to go green then I'll merge.

Strange the build machine has failed :(

It's just LGTM not working correctly, no worries.
Merged, thanks!


[Feature]:  Audiocap dataset dev and test files

Thanks for sharing the Audiocap dataset. However, I note that the audiocap provided only contains training files. Can you also share dev and test files? Thanks a lot!

Hi, you can split parts of the training files as test and dev files. valid json: https://drive.google.com/file/d/18wXIJjO8RgLnaj5e3hcYkyOHGtBRtv8y/view?usp=drive_link
train json: https://drive.google.com/file/d/1bquMJRyQ9F1In0w_seLEma0GzJFqfzNj/view?usp=drive_link

Files are protected by google access


package.json: Upgrade billboard.js to latest.

Resolves #30

Why is this necessary? The loose versioning means that the latest major version is always installed.

Closing due to inactivity.


fix: Validate input & change pre-fill value

This PR fixed two parts:

Input validation:

If user rename PrimaryTypeNode, then:

Input should be a legal Java identifier

If user rename packageRoot or packageRootNode, then:

Input should also be a legal identifier
Could not contain ., due to limitations, currently we can only rename innermost package

Pre-fill value:

For package, since cross-level rename is not supported, we only show innermost folder name
For PrimaryTypeNode, only show class name
For other files, show extension name, but not pre-selected

Thanks @xqzlgy2


runPipeline --datahub not working anymore

Describe the bug
After a complete reset of FAST on my macbook, where I deleted the FAST directory and reinstalled pyFAST, I observed that running a simple pipeline in the datahub through the runPipeline CLI no longer worked. From the error log, it seems like FAST cannot find the FPL, and after checking the expected location, I was surprised to find that it was not there.
To Reproduce
runPipeline --datahub nuclei-segmentation-model --verbose --file /path/to/some/image.svs

System:

OS and version: [e.g. Windows 10/Ubuntu 18.04] macOS 12 Monterey
GPU and OpenCL vendor (NVIDIA, AMD, Intel) Intel HD Graphics 530
pyFAST version: 4.7.1

Error logs:
INFO [0x107317600] Processing token --opencl-platform
INFO [0x107317600] Processing token --file
INFO [0x107317600] Processing token /Users/andreped/Downloads/CMU-1.svs
INFO [0x107317600] CommandLineParser: Assigning variable file with value /Users/andreped/Downloads/CMU-1.svs
INFO [0x107317600] Loaded configuration file: /usr/local/lib/python3.8/site-packages/fast/bin/fast_configuration.txt
INFO [0x107317600] Test data path: /Users/andreped/FAST/data/
INFO [0x107317600] Kernel source path: /usr/local/lib/python3.8/site-packages/fast/bin//..//kernels/
INFO [0x107317600] Kernel binary path: /Users/andreped/FAST//kernel_binaries/
INFO [0x107317600] Documentation path: /usr/local/lib/python3.8/site-packages/fast/bin//..//doc/
INFO [0x107317600] Pipeline path: /Users/andreped/FAST//pipelines/
INFO [0x107317600] Qt plugins path: /usr/local/lib/python3.8/site-packages/fast/bin//..//plugins/
INFO [0x107317600] Library path: /usr/local/lib/python3.8/site-packages/fast/bin//..//lib/
WARNING [0x107317600] Test data was NOT found at /Users/andreped/FAST/data/. Download the test data by running ./downloadTestData or fast.downloadTestDataIfNotExists() in Python.
INFO [0x107317600] Creating new QApp
INFO [0x107317600] Creating new GL context for computation thread
Retrieving 'Nuclei segmentation model' model from FAST Data Hub
License: CC BY 4.0
Downloading [============================================================================] 100% | 27MB / 27MB | ETA 0.0 mins
Complete.
ERROR [0x107317600] Terminated with unhandled exception: Unable to open file /Users/andreped/FAST/data//../datahub/nuclei-segmentation-model/pipeline.fpl
libc++abi: terminate_handler unexpectedly returned

EDIT: I also managed to reproduce the issue in Google CoLab (running Linux). Perhaps the FPL-file is just not downloaded anymore?

Try nuclei-segmentation instead of nuclei-segmentation-model: runPipeline --datahub nuclei-segmentation --verbose --file /path/to/some/image.svs
I realize we need to produce an error when trying to run data hub items which are not pipelines..

Aaah, thats true. I thought for a second that the pipeline name was linked to the ID as seen on the DataHub.

Would be helpful to know which FPL ID one should set in runPipeline from the DataHub model list.

After updating the terminal command, it resulted in a new issue:
INFO [0x102c80600] Processing token --file
INFO [0x102c80600] Processing token /Users/andreped/Downloads/CMU-1.svs
INFO [0x102c80600] CommandLineParser: Assigning variable file with value /Users/andreped/Downloads/CMU-1.svs
INFO [0x102c80600] Loaded configuration file: /usr/local/lib/python3.8/site-packages/fast/bin/fast_configuration.txt
INFO [0x102c80600] Test data path: /Users/andreped/FAST/data/
INFO [0x102c80600] Kernel source path: /usr/local/lib/python3.8/site-packages/fast/bin//..//kernels/
INFO [0x102c80600] Kernel binary path: /Users/andreped/FAST//kernel_binaries/
INFO [0x102c80600] Documentation path: /usr/local/lib/python3.8/site-packages/fast/bin//..//doc/
INFO [0x102c80600] Pipeline path: /Users/andreped/FAST//pipelines/
INFO [0x102c80600] Qt plugins path: /usr/local/lib/python3.8/site-packages/fast/bin//..//plugins/
INFO [0x102c80600] Library path: /usr/local/lib/python3.8/site-packages/fast/bin//..//lib/
WARNING [0x102c80600] Test data was NOT found at /Users/andreped/FAST/data/. Download the test data by running ./downloadTestData or fast.downloadTestDataIfNotExists() in Python.
INFO [0x102c80600] Creating new QApp
INFO [0x102c80600] Creating new GL context for computation thread
Retrieving 'Nuclei segmentation' pipeline from FAST Data Hub
Retrieving 'Nuclei segmentation model' model from FAST Data Hub
License: CC BY 4.0
Downloading [============================================================================] 100% | 27MB / 27MB | ETA 0.0 mins
Complete.
WARNING [0x102c80600] Test data was NOT found at /Users/andreped/FAST/data/. Download the test data by running ./downloadTestData or fast.downloadTestDataIfNotExists() in Python.
WARNING [0x102c80600] Test data was NOT found at /Users/andreped/FAST/data/. Download the test data by running ./downloadTestData or fast.downloadTestDataIfNotExists() in Python.
WARNING [0x102c80600] Test data was NOT found at /Users/andreped/FAST/data/. Download the test data by running ./downloadTestData or fast.downloadTestDataIfNotExists() in Python.
INFO [0x102c80600] QApp already exists..
INFO [0x102c80600] Found 1 OpenCL platforms.
INFO [0x102c80600] 1 platforms selected for inspection.
INFO [0x102c80600] Platform 0: Apple
INFO [0x102c80600] This platform has 3 available devices in total
INFO [0x102c80600] Looking for GPU devices only.
INFO [0x102c80600] 2 selected.
INFO [0x102c80600] Inspecting device 0 with the name Intel(R) HD Graphics 530
INFO [0x102c80600] Device has OpenGL interop capability
INFO [0x102c80600] The device was accepted.
INFO [0x102c80600] Inspecting device 1 with the name AMD Radeon Pro 460 Compute Engine
INFO [0x102c80600] Device has NOT OpenGL interop capability
INFO [0x102c80600] The device was NOT accepted.
INFO [0x102c80600] A device-platform mismatch was detected.
INFO [0x102c80600] Intel(R) HD Graphics 530 has 24 compute units
INFO [0x102c80600] The device Intel(R) HD Graphics 530 got a score of 24
INFO [0x102c80600] The platform Apple was selected as the best platform.
INFO [0x102c80600] A total of 1 devices were selected for the context from this platform:
INFO [0x102c80600] The best device was: Intel(R) HD Graphics 530
INFO [0x102c80600] The following device was selected as main device: Intel(R) HD Graphics 530
INFO [0x102c80600] Writing directly to 3D textures/images is supported on main device
INFO [0x102c80600] Set attribute filename to /Users/andreped/FAST/data//WSI/A05.svs for object importer
INFO [0x102c80600] Added process object WholeSlideImageImporter with id importer
INFO [0x102c80600] Added process object TissueSegmentation with id tissueSeg
INFO [0x102c80600] Connected process object importer to tissueSeg
INFO [0x102c80600] Set attribute patch-size to 256 256 for object patch
INFO [0x102c80600] Set attribute patch-magnification to 20 for object patch
INFO [0x102c80600] Set attribute patch-overlap to 0.1 for object patch
INFO [0x102c80600] Added process object PatchGenerator with id patch
INFO [0x102c80600] Connected process object importer to patch
INFO [0x102c80600] Connected process object tissueSeg to patch
INFO [0x102c80600] Loading inference engines in folder /usr/local/lib/python3.8/site-packages/fast/bin//..//lib/
INFO [0x102c80600] Loading inference engine ONNXRuntime from shared library /usr/local/lib/python3.8/site-packages/fast/bin//..//lib//libInferenceEngineONNXRuntime.dylib
INFO [0x102c80600] Loading inference engine OpenVINO from shared library /usr/local/lib/python3.8/site-packages/fast/bin//..//lib//libInferenceEngineOpenVINO.dylib
INFO [0x102c80600] Loading inference engine TensorFlow from shared library /usr/local/lib/python3.8/site-packages/fast/bin//..//lib//libInferenceEngineTensorFlow.dylib
INFO [0x102c80600] Inference engine TensorFlow selected
INFO [0x102c80600] Set attribute scale-factor to 0.003921568627451 for object network
INFO [0x102c80600] Set attribute model to "/Users/andreped/FAST/data//../datahub/nuclei-segmentation//../nuclei-segmentation-model/high_res_nuclei_unet.onnx" for object network
INFO [0x102c80600] Model format ONNX was not supported by engine TensorFlow, auto selecting engine which supports this format...
INFO [0x102c80600] Selected OpenVINO as the best engine for format ONNX
INFO [0x102c80600] OpenVINO found device: CPU
INFO [0x102c80600] OpenVINO loaded model
INFO [0x102c80600] Found input node input_1:0 with shape [?,256,256,3] and index 0
INFO [0x102c80600] Guessed image ordering to be channel last as shape was -1 256 256 3
INFO [0x102c80600] Found output node conv2d_26/truediv:0 with shape [?,256,256,2]
INFO [0x102c80600] OpenVINO successfully compiled model
INFO [0x102c80600] OpenVINO is running network on CPU
INFO [0x102c80600] Added process object SegmentationNetwork with id network
INFO [0x102c80600] Connected process object patch to network
INFO [0x102c80600] Added process object PatchStitcher with id stitcher
INFO [0x102c80600] Connected process object network to stitcher
INFO [0x102c80600] Added process object ImagePyramidRenderer with id imgRenderer
INFO [0x102c80600] Connected process object importer to renderer imgRenderer
INFO [0x102c80600] Added renderer ImagePyramidRenderer with id imgRenderer
INFO [0x102c80600] Set attribute border-opacity to 0.5 for object segRenderer
INFO [0x102c80600] Added process object SegmentationRenderer with id segRenderer
INFO [0x102c80600] Connected process object stitcher to renderer segRenderer
INFO [0x102c80600] Added renderer SegmentationRenderer with id segRenderer
INFO [0x102c80600] Added view with id view
INFO [0x102c80600] Added renderer imgRenderer to the view
INFO [0x102c80600] Added renderer segRenderer to the view
INFO [0x102c80600] Set attribute 2Dmode to true for object view
INFO [0x102c80600] Set attribute background-color to white for object view
Pipeline execution started.
INFO [0x102c80600] QApp already exists..
INFO [0x102c80600] Setting up pipeline..
INFO [0x102c80600] Finished setting up pipeline.
qt.qpa.window: <QNSWindow: 0x7fa6e8f67630; contentView=<QNSView: 0x7fa6e8f67370; QCocoaWindow(0x6000000a3c80, window=QWidgetWindow(0x6000010a26a0, name="QGLWidgetClassWindow"))>> has active key-value observers (KVO)! These will stop working now that the window is recreated, and will result in exceptions when the observers are removed. Break in QCocoaWindow::recreateWindowIfNeeded to debug.
INFO [0x102c80600] EXECUTING WholeSlideImageImporter because PO is modified.
ERROR [0x102c80600] FAST exception caught in Qt event handler Could not open the file /Users/andreped/FAST/data//WSI/A05.svs
INFO [0x102c80600] Resizing window to 512 512
INFO [0x102c80600] EXECUTING ImagePyramidRenderer because PO is modified.
INFO [0x102c80600] EXECUTING TissueSegmentation because PO is modified.

I checked the FAST/data/ directory which was empty, explaining this issue. However, I do not get why the test data is required at all to run this pipeline. Any ideas?

The pipeline defaults to the wsi in the test set. Maybe --file should be --filename? I don't remember. Should add some error messages for that as well..

Oh, found the issue. It should be --filename and not --file. My bad!
Here I guess I assume that in the FPL file of the nuclei segmentation model there exists a @@filename@@. This is not so obvious.
And then there is a bug in the H2G-Net README (see here), because we here write --file. Unless in that pipeline there is a @@file@@ variable instead?

Yes, I agree. Should also produce some sensible error messages

As the initial error has been resolved, this issue can be closed, but you may want to keep it open until you have added the discussed fixes to not forget about them.

@andreped What do you think the parameter name be, --file or --filename?
--file is shorten :)

What do you think the parameter name be, --file or --filename?

Hmm, I am fine with both, but --file is shorter so probably that one, @smistad? Or could it not be obvious enough for people what "file" means?

Yes, the goal should be to use the same for all. At least all in pathology.

I have now changed to --file for the other pipelines. Closing..