GHC Core to PLC plugin: Error: Unsupported feature: Type constructor: GHC.Prim.ByteArray#`

Commit ce863b9c0b874c64bd11ac7b7ad1ff63bee20024 on j-mueller/1200-future
Log on hydra: https://hydra.iohk.io/build/1246342/nixlog/1
To reproduce run cabal new-test plutus-use-cases
The only place where I can imagine the ByteArray coming from is the TokenName and CurrencySymbol types but they are just wrappers around Builtins.ByteString

Yikes, I haven't seen that before. I suspect -fno-strictness will solve it.

The debug context makes it clearer:
GHC Core to PLC plugin: Error: Unsupported feature: Type constructor: GHC.Prim.ByteArray#
Context: Compiling type: GHC.Prim.ByteArray#
Context: Compiling data constructor type: GHC.Integer.Type.BN#
Context: Compiling type: GHC.Integer.Type.BigNat
Context: Compiling data constructor type: GHC.Natural.NatJ#
Context: Compiling type: GHC.Natural.Natural
Context: Compiling data constructor type: Language.PlutusCore.Lexer.Type.Version
Context: Compiling type: Language.PlutusCore.Lexer.Type.Version a
Context: Compiling data constructor type: Language.PlutusCore.Type.Program
Context: Compiling type: Language.PlutusCore.Type.Program
                           Language.PlutusCore.Name.TyName Language.PlutusCore.Name.Name ()
Context: Compiling type: Ledger.Scripts.Script
Context: Compiling type: Ledger.Scripts.ValidatorScript
Context: Compiling type: Language.PlutusTx.Coordination.Contracts.Future.FutureOwners
                         -> Ledger.Scripts.ValidatorScript
Context: Compiling type: Language.PlutusTx.Coordination.Contracts.Future.Future
                         -> Language.PlutusTx.Coordination.Contracts.Future.FutureOwners
                         -> Ledger.Scripts.ValidatorScript
Context: Compiling definition of: Language.PlutusTx.Coordination.Contracts.Future.validatorScript
Context: Compiling expr: Language.PlutusTx.Coordination.Contracts.Future.validatorScript
Context: Compiling expr: Language.PlutusTx.Coordination.Contracts.Future.validatorScript
                           Spec.Future.contract
Context: Compiling expr: Language.PlutusTx.Coordination.Contracts.Future.validatorScript
                           Spec.Future.contract Spec.Future.owners
Context: Compiling expr at "main:Spec.Future:(39,47)-(39,105)"

You're trying to compile a function that produces a ValidatorScript - you probably don't want to do that!

Ah yes, thanks. I was wondering why there wasn't much output from the contract file but the error actually occurred in Spec.Future.


Set current principal if available

@davidfowl  @Tratcher Is there a reason we shouldn't do this? The backing of the Thread.CurrentPrincipal is an async local so it should be handled fine and allow code written against that to just work. It also may be worth considering just adding it into ASP.NET Core itself.

@blowdart

I think this is fine from a compat perspective but not from a "do by default in ASP.NET Core" perspective:

We've moved away from encouraging people using Thread.CurrentPrincipal. If we were going to do something like this, it would model IHttpContextAccessor.
I've recently come to realize that having anything tied to the HttpContext on an async local is badness. There's no way to control the lifetime and how this thing flows. That can lead to concurrent access when it isn't supported.
Performance, the more async locals the worse the performance. We try to avoid having more by default (we already have 2 by default).

Yea, thread.currentprincipal is to be avoided as much as possible, it messes up badly with async as David says, it never worked well with impersonation (not that we're encouraging impersonation either), and 1st and 3rd party libraries made so many bad assumptions we pushed the AAD folks away from it.
I'm not sure we would even want this from a compat POV given its tendency to go wrong.

@blowdart @davidfowl Thanks for the comments
I've updated this PR to do the following:

Add metadata to be used to enable per-endpoint setting the Thread.CurrentPrincipal (which will then surface through ClaimsPrincipal.Current as well)
A warning will be logged if this is set - it is currently a Warning, but that may end up being too noisy. Not sure if there's a better way, though
Check if the logical single thread mode is enabled for the request. If not, it will log a warning that that should be enabled
Add metadata to be used to enable per-endpoint logical single-threaded behavior using ConcurrentExclusiveSchedulerPair

I did also try overwriting the ClaimsPrincipal.Selector function to log warnings if it is accessed and to use HttpContextAccessor directly, but ended up removing it as the other warnings will probably be sufficient.
This is all opt-in and hopefully will help users understand it's not best practice but enable them to more easily migrate old code.

We shouldn’t have a wanting that logs per request, let’s get rid of it. Put something in the doc comments.


Set repository canonical refs

We set the HEAD and eg. refs/heads/master refs when updating repositories, which allows users to easily clone with git.
For now, HEAD is chosen based on a unanimity quorum of delegates. This can be made more sophisticated in the future.
We've also had to ignore some refs during verification, since these have cropped in for eg. due to the staging copy clone and the changes included here.
Signed-off-by: Alexis Sellier<EMAIL_ADDRESS>

Ah, so right now the canonical refs of a peer are ignored/discarded, and each peer re-computes their own. You're saying there could be an efficiency gain in verifying existing refs without having to recompute them from scratch?

Ah, so right now the canonical refs of a peer are ignored/discarded, and each peer re-computes their own. You're saying there could be an efficiency gain in verifying existing refs without having to recompute them from scratch?

Ya, exactly. Something along the lines of the signed refs approach but with a combination of delegate signatures.
Another thought just occurred too. Should we detect forks as well?

Another thought just occurred too. Should we detect forks as well?

How would you do that? Divergence at the tips is expected..

How would you do that? Divergence at the tips is expected..

Mmmm right. So there's always a merge base I suppose?

How would you do that? Divergence at the tips is expected..

Mmmm right. So there's always a merge base I suppose?

Yeah, unless the first commit is not even shared, but then it's not even a fork, it's just the wrong project :D

How would you do that? Divergence at the tips is expected..

Mmmm right. So there's always a merge base I suppose?

Yeah, unless the first commit is not even shared, but then it's not even a fork, it's just the wrong project :D

Right :sweat_smile: I guess it might be interesting to be able to tell how far ahead or behind you are from the latest. But that can be in another area of the UX anyway :)


Support for Multiple Currencies and Currency Symbols

I hope you're doing well. I've created a pull request that adds support for multiple currencies and their corresponding currency symbols. This enhancement resolves the issue of returning None when accessing a price currency which is not $.
Here's a summary of the changes:
Added a list, CURRENCY_SYMBOLS_LIST, to the flight.py file, which contains various currency symbols.
Added price_currency property from the Flight class.
Updated the _classify_arg method in the Flight class to extract the currency symbol directly from the argument.
Modified the data frame creation in the Flight.get_dataframe method of the scrape.py file to use a dynamic price column name, "Price (CURRENCY_SYMBOL)".
These changes make the library more robust and user-friendly, as it now supports different currencies and provides accurate currency symbols.
Please review the pull request at your convenience. I'm open to any feedback or suggestions for improvement.
Thank you for your time and consideration.

Hello, thank you for taking the time to make this pull request, I really appreciate it. The issue of dealing with different currencies is one that I've been trying to tackle for some time, especially because it's not particularly easy to observe.
You're definitely on the right track with including a list of currency symbols and checking the args for them, however, the ones listed in your commit are not completely accurate to what Google Flights shows in its query. For example, Google Flights does not show a Turkish Lira as ₺ but rather TRY, a Kazakh Tenge isn't show as ₸ but rather KZT, and Ether Ξ just isn't supported.
There don't appear to be any query parameters that satisfy currency or location. The only way that I've discovered to easily change these things is either a VPN (not feasible for the package) or a button that loads at the bottom of the page conveniently labeled Currency which yields a menu of all the represented notes.
For the moment, I've earmarked this problem to be solved by creating a Selenium procedure to click this Currency button and either always select USD or select a currency that the user requests. The latter takes much more time to develop as each of the provided currencies need to be tested thoroughly for the clicking and scraping aspect. The former is easier, but still takes some time to develop and test.
This problem is important, however, not top priority on my list of to-do's as I've chosen to prioritize making the scraping procedure more robust to simple queries, cleaning up the caching procedures, and updating documentation to the most recent updates in v1.2.0. I will get to this at some point, however, if you'd rather not wait you're welcome to take a crack at it and update this PR.


Add comments about non-locking behavior of on_subscribe function

I figured out that on_subscribe lets you call .lock(), unlike on_write. Since they are inconsistent with each other it would be nice to state that in the documentation.

Currently, characteristic is not locked, but future changes may make it locked.
I have added self parameter to the callback function, so please use it.

Should the on_subscribe function having comments saying that you shouldn't call lock because the behavior might change in the future?

Should the on_subscribe function having comments saying that you shouldn't call lock because the behavior might change in the future?

Please make that change.

Thanks.


chore: maintenance work

Changes

Dropped support for node version <16
Migrated from yarn to pnpm
Migrated tsdx to tsup
Introduced changeset
Introduced new GitHub actions flow
Introduced Docker file

TODO

[ ]  Fix error on commit

/Users/okkevandereijk/Library/pnpm/store/v3/tmp/dlx-21823:
 ERR_PNPM_FETCH_404  GET https://registry.npmjs.org/--no-install: Not Found - 404

[ ] Fix tests:  client.test.js and client.auth.test.js
[ ] Fix pipeline doesn't run on PR/commit
[ ] Secrets for deploying automatically should be added

Closed, too long outstanding and package isn't longer intensively used


[#6] Implemented createcommand

Createcommand
Implemented the "createcommand" command which enables creating either a basecommand or projectcommand template from the command line. It can be used in the root folder or inside a projects/ plugin folder to generate commands inside them. Createcommand requires a name for the new command and accepts the optional arguments --type, --projectname and --target.
Additional Changes:

Relevant templates now also generate the "management>commands" folders.
Renamed FileReshaper to TemplateEngine
Wrote tests for createcommand
Wrote docs for createcommand

Do not forget to add yourself here as well: https://github.com/socon-dev/socon/blob/master/AUTHORS

Hi @JRbemt. If you are interested I can add you as a contributor of the project ? This way you can review pr and so on.. ?
What do you think ?

Yea, I would love that. I am still getting to know the project in my spare time, but I am interested

I added you as contributor of the project :)
Can you check latest comment I made in some files in the "files changed" section ? Then I think we should be good to integrate the feature in the repos !!

I can't seem to find any new comments except the three I have previsouly resolved? Am I missing something?

Can you see "pending" in the comment obove ? Some comment about double quote...

No weirdly enough not!? But I changed the use of double quotes to be more consistent with the rest of the project, if that's what the comment was about?

Think it should be good like this, only thing I am still wondering is when running tests through the subprocess (#run_socon_admin()) the settings are never configured. Do you know why that is?

@JRbemt ,
You have to add the following for the settings to be taken into account.
    @pytest.fixture(autouse=True)
    def setup(self, test_dir):
        self.write_settings("settings.py", test_dir)

I added one or two comments on typo in the tutorial_1. Can you as the same length of "-" and "=" than the title. I see some bigger or shorter that some title. ? Then I believe that we can merge your pull request. You have done an amazing work. Thanks a lot I really appreciate it.

Thank you :).


Github Command

My comment from PR #31
We can use Github API or Github.jl. I think it would be nice to remove source command and replace it with github command (I forgot that it exists). The good thing about using Github API or Github.jl is you can even do the following:

Retrieve issues from github repos (and of course ours)
Retrieve github profile (well for fun lol)
Retrieve pull requests
The following screenshots are taken from my other server that I am in to see how it can work and look like:

how about using/wrapping that as tooling: https://github.com/cli/cli

@rapus95 may i ask how it works?

Currently a work in progress in #67


Clang / libc++ build error: implicit instantiation of undefined template 'std::char_traits<unsigned char>'

OS: Gentoo Linux amd64 musl libc (LLVM/Clang profile)
$ clang --version
clang version 19.1.0+libcxx
Target: x86_64-pc-linux-musl
Thread model: posix
InstalledDir: /usr/lib/llvm/19/bin
Configuration file: /etc/clang/x86_64-pc-linux-musl-clang.cfg

Steps to reproduce:
git clone https://github.com/zxing-cpp/zxing-cpp.git
cmake -S zxing-cpp -B zxing-cpp.release -DCMAKE_BUILD_TYPE=Release
cmake --build zxing-cpp.release -j8 --config Release

Build fails with the following output:
[ 26%] Building CXX object core/CMakeFiles/ZXing.dir/src/ReadBarcode.cpp.o
[ 27%] Building CXX object core/CMakeFiles/ZXing.dir/src/Utf.cpp.o
[ 28%] Building CXX object core/CMakeFiles/ZXing.dir/src/BitArray.cpp.o
[ 29%] Building CXX object core/CMakeFiles/ZXing.dir/src/GenericGF.cpp.o
In file included from <built-in>:3:
In file included from /home/user/git/zxing-cpp.release/core/CMakeFiles/ZXing.dir/cmake_pch.hxx:5:
In file included from /home/user/git/zxing-cpp/core/src/Barcode.h:10:
In file included from /home/user/git/zxing-cpp/core/src/BarcodeFormat.h:9:
In file included from /home/user/git/zxing-cpp/core/src/Flags.h:8:
In file included from /home/user/git/zxing-cpp/core/src/BitHacks.h:12:
In file included from /usr/include/c++/v1/vector:324:
In file included from /usr/include/c++/v1/__format/formatter_bool.h:16:
In file included from /usr/include/c++/v1/__format/concepts.h:16:
In file included from /usr/include/c++/v1/__format/format_parse_context.h:16:
/usr/include/c++/v1/string_view:301:42: error: implicit instantiation of undefined template 'std::char_traits<unsigned char>'
  301 |   static_assert(is_same<_CharT, typename traits_type::char_type>::value,
      |                                          ^
/home/user/git/zxing-cpp/core/src/Utf.cpp:72:42: note: in instantiation of template class 'std::basic_string_view<unsigned char>' requested here
   72 | static size_t Utf8CountCodePoints(utf8_t utf8)
      |                                          ^
/usr/include/c++/v1/__fwd/string.h:23:29: note: template is declared here
   23 | struct _LIBCPP_TEMPLATE_VIS char_traits;
      |                             ^
1 error generated.
gmake[2]: *** [core/CMakeFiles/ZXing.dir/build.make:243: core/CMakeFiles/ZXing.dir/src/Utf.cpp.o] Error 1
gmake[2]: *** Waiting for unfinished jobs....
gmake[1]: *** [CMakeFiles/Makefile2:130: core/CMakeFiles/ZXing.dir/all] Error 2
gmake: *** [Makefile:146: all] Error 2

Closing the issue because it works with the cmake flag -DCMAKE_CXX_STANDARD=20
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -71,7 +71,7 @@ if(NOT ZXING_DEPENDENCIES IN_LIST ZXING_DEPENDENCIES_LIST)
 endif()

 if (NOT DEFINED CMAKE_CXX_STANDARD)
-    set (CMAKE_CXX_STANDARD 17)
+    set (CMAKE_CXX_STANDARD 20)
 endif()
 if (NOT DEFINED CMAKE_CXX_EXTENSIONS)
     set (CMAKE_CXX_EXTENSIONS OFF)

Having a local workaround doesn't mean you should close the bug.


undefined reference to `bootloader_flash_update_size' (IDFGH-5995)

undefined reference to `bootloader_flash_update_size'
ESP32-S3 was missing bootloader_flash_update_size

Thanks for your contribution.


Provide a mechanism for TranslatedTypeReference types to resolve references across library bounds

When testing Biohazrd with the DirectX API, I decided to split the API surface across various C# assemblies (IE: DXGI, D3D12, etc.)
I implemented this by splitting the TranslatedLibrary into multiple libraries. This worked pretty well, but I've had some pains around references which span the library boundaries. I have a transformation which looks for translated type references which will span library boundaries once the split is finished and rewrites them to (my self-implemented) ManuallyImplementedTypeReference. This unsurprisingly does not play nice with declarations which override how they are referenced.
The situation is workable, but I'm not sure if it would work nice in a more complex setting.

Add proper support to the output generation to split the library as it is written.
Add some mechanism for libraries (or things which resolve type references) to know about sibling libraries.
Provide a type reference which has a library reference which can resolve across boundaries. (This may be the simplest, but could be error-prone to use.)

This came up again with type references in metadata which broke due to the splitting breaking their references. (Related: https://github.com/InfectedLibraries/Biohazrd/issues/151)

This came up again with type references in metadata which broke due to the splitting breaking their references. (Related: https://github.com/InfectedLibraries/Biohazrd/issues/151)


Query on Documentation

I am new to elasticsearch but need to add this plugin to ElasticSearch.
Q1. Can I clone latest from master and will it work for ElasticSearch 2.3.1 version or should I get latest from 2.x branch?
Q2. When I did maven clean build, it generated elasticsearch-analysis-pinyin-5.2.2.jar file in target, but I do not see pinyin4j-2.5.0.jar in lib as pointed in this article - https://my.oschina.net/xiaohui249/blog/214505 (I do not know chinese so do not understand the full blog).
Can we please update Readme.md file to reflect these please?
Thanks and regards,
Ashish

Hey, to your questions?
1.it works on 2.x branch
2.it doesn't matter, this blog is kindly out of date, this project changed from pinyin4j to nlp-tools under the hood.

Thanks much for prompt response. So for ElasticSearch 2.3.1, I should take latest of 2.x branch is what I understand.
I did that and maven build generated the file by name which has 5.2.2 in its filename - elasticsearch-analysis-pinyin-5.2.2.jar in target folder. I hope this will work for ElasticSearch2.3.1. It would have been great if the filename generated was elasticsearch-analysis-pinyin-2.x.jar
I also see a file named nlp-lang-1.7.jar in lib folder.
What all files should I copy to plugin\pinyin folder on my Elastic Search server?
Thanks,
Ashish

can you check out the release folder?

also check out this if you prefer:
https://github.com/medcl/elasticsearch-analysis-pinyin/releases/tag/v1.8.4

Sure, I will try extracting zip file contents to ES_HOME plugins\pinyin folder and will restart Elastic Search. Will report back once that works. Thanks for quick responses.

I unzipped 1.8.4 and copied to plugins\pinyin folder. On stop and start Elastic Search (we have it on a Windows 64 bit machine), the Elastic Search windows service fails and error message is Incorrect Function.
java.lang.IllegalArgumentException: Plugin [analysis-pinyin] is incompatible with Elasticsearch [2.3.1]. Was designed for version [2.4.3]
at org.elasticsearch.plugins.PluginInfo.readFromProperties(PluginInfo.java:118)
at org.elasticsearch.plugins.PluginsService.getPluginBundles(PluginsService.java:378)
at org.elasticsearch.plugins.PluginsService.(PluginsService.java:128)
at org.elasticsearch.node.Node.(Node.java:158)
at org.elasticsearch.node.Node.(Node.java:140)
at org.elasticsearch.node.NodeBuilder.build(NodeBuilder.java:143)
at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:178)
at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:270)
at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:35)

please try to use the correct version。


export stores for more flexibility

In some cases, we need to reset internal state of progeny plugin.
In current version it imposible.
I was ispired by gulp-cached and export internal stores outside.
Now users of this plugin can clear state whenever he wants. Perhap you may think that this broke incapsulation, yes, i think same. So may be a better way is add method like .reset(), but current solution is much easier and much clearier for the users because they understand what exactly they do.
This is my case (simplified):
gulp.task('templates', () => {
const sources = gulp
    .src(paths.src + 'js/views/**/*.jade')
    .pipe(cache('jade-templates'))
    .pipe(progeny({rootPath: globalConfig.paths.projectDir}))
    .pipe(filter(['**/*.jade', '!**/_*.jade']))

return es.merge(_.map(config.langs, (lang) => {
    const strings = i18nCatalog.get(lang);
    const locals = _.extend({}, i18nFuncs(strings));

    return sources
      .pipe(clone())
      .pipe(jade(locals));
      .pipe(gulp.dest(paths.dest + 'j/templates'))
  }));
})

gulp.task('templates-watch', ['templates'], () => {
  const watcher = gulp.watch(paths.src + 'js/views/**/*.jade', ['templates']);
})

gulp.task('translations-watch', ['translations'], () => {
  const watcher = gulp.watch(paths.translates + '*.po', ['templates']);

  watcher.on('change', () => {
    cache.caches['jade-templates'] = {};
    progeny.processedFileNames = {};
  });
});

Yeah, this is simplified :)
We have i18n system builded with gulp. For each language we generate own version of template.
When templates changed in watch mode (templates-watch task) all things do as usual, gulp-cached throw only changed file, progeny add dependecy, all is OK.
But when changed .po file (translations catalog) we have to rebuild all templates. So template sources actually didn't changed  that's why i flush gulp-cache. Therefore ALL templates passed to progeny, but progeny thinks that is not first pass, and for all templates add all dependencies, and it becames a mess.

So if i do
 progeny.processedFileNames = {};

In my translations-watch task, all will be work fine.
In other words this case can be figured as: when locals (template variables) changed we have to reload all templates, even if source code is not changed.

Why not adding a reset method that clear both processedFileNames and depCache? As you pointed out a reset method feels more encapsulated. If I understand correctly, passing all files down to progeny will rebuild the whole depCache so resetting processedFileNames implies resetting depCache as well.
Though current approach is fine. Would you please add a test for this pull request? I'm glad to merge your contribution if test is added.
Thank you

Unfortunately test fails onmy pc because of Windows. One of first tests is fail because slashes in paths is diffrent.

Can you test it on cygwin or bash on windows10
I'll fix portability problem shortly. Can you wait it till tomorrow?

Yes, it can wait till mondayas well

I have updated some tests. Can you try it again?

ping @thekip


packer dosen't perform windows installation after changing the iso

changed the windows 10 iso of the packer repository https://github.com/clong/DetectionLab to an older version : en_windows_10_pro_10240_x64_dvd and the windows installation hangs at the first step of choosing the language. All of this because i need a 2015 release of windows 10 in packer or vagrant
Here is my packer.json

{
"builders":
{
"type": "virtualbox-iso",
"communicator": "winrm",
"disk_size": 61440,
"guest_os_type": "Windows10_64",
"headless": true,
"iso_checksum": "ECAE7684BC1E6F6A4B44B9116E9AC596",
"iso_checksum_type": "md5",
"iso_url": "iso/en_windows_10_pro_10240_x64_dvd.iso",
"winrm_username": "vagrant",
"winrm_password": "vagrant",
"winrm_timeout": "6h",
"winrm_insecure": true,
"hard_drive_interface": "sata",
"iso_interface": "sata",
"guest_additions_mode": "upload",
"guest_additions_path": "c:/Windows/Temp/windows.iso",
"vboxmanage": [
[
"modifyvm",
"{{.Name}}",
"--memory",
"3048"
],
[
"modifyvm",
"{{.Name}}",
"--cpus",
"3"
],
[
"modifyvm",
"{{.Name}}",
"--vram",
"32"
]
]
}
],
"provisioners": [
{
"type": "powershell",
"scripts": [
"install-guest-tools.ps1",
"enable-rdp.ps1",
"disable-hibernate.ps1",
"disable-autologin.ps1",
"enable-uac.ps1",
"no-expiration.ps1"
]},
{
"type": "windows-restart",
"restart_command": "powershell "& {(Get-WmiObject win32_operatingsystem).LastBootUpTime > C:\ProgramData\lastboot.txt; Restart-Computer -force}"",
"restart_check_command": "powershell -command "& {if ((get-content C:\ProgramData\lastboot.txt) -eq (Get-WmiObject win32_operatingsystem).LastBootUpTime) {Write-Output 'Sleeping for 600 seconds to wait for reboot'; start-sleep 600} else {Write-Output 'Reboot complete'}}""
}
],
"post-processors": [
{
"type": "vagrant",
"keep_input_artifact": false,
"output": "{{.Provider}}_windows-10.box",
"vagrantfile_template": "vagrantfile.template"
}
]
}

and Autounattend.xml :

vagrant-win10
Microsoft
Pacific Standard Time

true

0
1

OnError
false

true
Vagrant Administrator
Vagrant Inc.

1
Primary
true

true
false
NTFS

C
1
1

0
true

OnError

en-US
en-US
en-US
en-US

dgBhAGcAcgBhAG4AdABQAGEAcwBzAHcAbwByAGQA
false

Vagrant User
vagrant
Administrators
vagrant

dgBhAGcAcgBhAG4AdABQAGEAcwBzAHcAbwByAGQA
false

true
vagrant

1

powershell -NoLogo -ExecutionPolicy RemoteSigned -File a:\update-windows.ps1
Update Windows, and when finished, run configure-winrm.ps1 to turn WinRM on so this party can get started
1

false

Hey @AymanRbati, for somewhat obvious reasons I can't support old ISOs. Presumably there's something incompatible in your Autounattend for that build of Windows 10. I'm going to close this as you're effectively running a custom build of DetectionLab and I don't quite have the free time to provide support for that.


%Time can only get seconds, is there any way I can get millisecond?

%Date(2006-01-02 15:04:05.000) use golang date format


Request for AWS EventBridge resources

It would be great to have support for AWS EventBridge resources.
Thanks!

When this issue is closed via a merged PR, we had better mark the corresponding resources as completed (remove them from the issue with a comment listing these resources) in https://github.com/upbound/provider-aws/issues/63:
aws_cloudwatch_event_api_destination
aws_cloudwatch_event_archive
aws_cloudwatch_event_bus
aws_cloudwatch_event_bus_policy
aws_cloudwatch_event_connection
aws_cloudwatch_event_permission
aws_cloudwatch_event_rule
aws_cloudwatch_event_target


Training data for Cross-Encoder model

Hi,
It is mentioned in the paper that:

We train our cross-encoder model based on the top 100 retrieved results from our bi-encoder model on Wikipedia data. For the training of the cross-encoder model, we further down-sample our training data to obtain a training set of 1M examples.

Can you please provide this training data for cross-encoder?
Thanks.

@shzamanirad: The training data for crossencoder is output by eval_biencoder.py script. For every datapoint in train/test/valid split, the eval script basically outputs top 64 retrieved candidates and calculates recall at various positions (recall@1, @10, @64, etc.).
The top 64 retrieved candidates are further used by the corssencoder as train/test/valid data.


[question] weapon both int and byte at the same time?

Is it a bug that here weapon is an int:
https://github.com/DaemonEngine/Daemon/blob/393e1829d5acffc0f0fde14c87fd8dd9e7141445/src/engine/qcommon/q_shared.h#L1829
but here it's a byte:
https://github.com/DaemonEngine/Daemon/blob/393e1829d5acffc0f0fde14c87fd8dd9e7141445/src/engine/qcommon/q_shared.h#L1921
and it seems to be copied with an 8 length here:
https://github.com/DaemonEngine/Daemon/blob/393e1829d5acffc0f0fde14c87fd8dd9e7141445/src/engine/qcommon/msg.cpp#L768
and here:
https://github.com/DaemonEngine/Daemon/blob/393e1829d5acffc0f0fde14c87fd8dd9e7141445/src/engine/qcommon/msg.cpp#L727
or do I miss something?

It's meant to contain a weapon_t, which only has 0 through 24 as valid values.

So, why not making it a byte everywhere?

There are some places that treat all playerState_t and entityState_t fields as 4 bytes (cast to int). It's sort of enforced for entityState_t but not playerState_t as there are private non-networked fields.
usercmd_t doesn't have this restriction so it can use byte.
https://github.com/DaemonEngine/Daemon/blob/0e001477c5c05249348efc8a612310c2bec63393/src/engine/qcommon/msg.cpp#L940-L944
https://github.com/DaemonEngine/Daemon/blob/0e001477c5c05249348efc8a612310c2bec63393/src/engine/qcommon/msg.cpp#L1493-L1498


Preview issue on arm64 system

@tjacquin @vidma @dbainbridge @agnunez @ckuethe
Hi!
I am using Ubuntu Mate 20.04.2 LTS (Focal Fossa) 64-bit installed on Raspberry PI 4B, 8GB model.
By extending Makefile with the below section I was able to compile and install allsky:
ifeq ($(platform), aarch64)
	OPENCV = $(shell pkg-config --cflags opencv4) $(shell pkg-config --libs opencv4)
	CC = g++
	AR= ar
	CFLAGS += -march=native -mtune=generic
	DEFS += -DOPENCV_C_HEADERS
	ZWOSDK = -Llib/armv8 -I./include
endif

However when I tried to run it via commandline in "preview" mode, I got following error:
laheller@laheller-desktop:~/Downloads/allsky$ ./allsky.sh preview

Making sure allsky.sh is not already running...
can't get debug descriptor: Resource temporarily unavailable
Trying to automatically choose between ZWO and RPI camera
ZWO camera found. Choosing ZWO
Settings check done
CAMERA: ZWO
CAMERA_SETTINGS: /home/laheller/Downloads/allsky/settings_ZWO.json
Starting allsky camera...

 ******************************************
 *** Allsky Camera Software v0.7 | 2020 ***
 ******************************************

Capture images of the sky with a Raspberry Pi and an ASI Camera

Add -h or -help for available options

Author: Thomas Jacquin -<EMAIL_ADDRESS>
Contributors:
-Knut Olav Klo
-Daniel Johnsen
-Yang and Sam from ZWO
-Robert Wagner
-Michael J. Kidd -<EMAIL_ADDRESS>-Chris Kuethe

Listing Attached Cameras:
- 0 ZWO ASI120MC-S

ZWO ASI120MC-S Information:
- Resolution:1280x960
- Pixel Size: 3.8μm
- Supported Bin: 1 2
- Color Camera: bayer pattern:GR
- SDK version 1, 19, 0, 0
- Initialise Camera OK
- Sensor temperature:29.000000

Capture Settings:
 Image Type: ASI_IMG_RGB24
 Resolution: 1280x960
 Quality: 95
 Exposure: 200ms
 Max Exposure: 20000ms
 Auto Exposure: 1
 Gain: 50
 Max Gain: 200
 Cooler Enabled: 0
 Target Temperature: 0C
 Auto Gain: 0
 Brightness: 50
 Gamma: 50
 WB Red: 53
 WB Blue: 90
 Binning: 1
 Delay: 10ms
 Daytime Delay: 5000ms
 USB Speed: 40
 Text Overlay: Hello
 Text Extra Filename:
 Text Extra Filename Age: 0
 Text Line Height 30px
 Text Position: 15px left, 30px top
 Font Name:  0
 Font Color: 255 , 255, 255
 Small Font Color: 0 , 0, 255
 Font Line Type: 16
 Font Size: 7.0
 Font Line: 1
 Outline Font : 0
 Flip Image: 0
 Filename: images/image.jpg
 Latitude: 48.06N
 Longitude: 17.36E
 Sun Elevation: -6
 Preview: 1
 Time: 0
 Darkframe: 0
 Show Details: 1
 Debug Level: 0

Starting daytime capture
Saving auto exposed images every 5000 ms

Press Ctrl+C to stop

terminate called after throwing an instance of 'cv::Exception'
  what():  OpenCV(4.2.0) ../modules/core/src/array.cpp:2492: error: (-206:Bad flag (parameter or structure field)) Unrecognized or unsupported array type in function 'cvGetMat'

./allsky.sh: line 86: 10495 Aborted                 (core dumped) $ALLSKY_HOME/capture $ARGUMENTS

Not sure, whether this is a serious issue but just to be sure I am reporting it.
BR,
Ladislav

Well, you compiled it right, but run my allsky camera headless and just use the web UI.

@EricClaeys
Update: Tried it using my RPI connected directly to display via HDMI cable.
The result is the same, command ./allsky.sh preview gives an error.
From the error message I don't think that the problem is with the remote desktop because it clearly says that it's an OpenCV4 issue.

This is likely due to PR #507 ...

NOTE: I had quite a bit of issue getting the Display() function to compile, but finally got something workable -- although, I've not tested the Display capability. I would love for someone to test the Display code prior to merge. Otherwise, the rest of the code compiles fine on both Raspberry Pi OS based on Debian Buster with OpenCV 3.2.0, as well as Debian Bullseye with OpenCV 4.5.1.

Sounds like there are some changes needed to the Display() function..

@laheller, you should set Locale in the WebUI, near the bottom of the page.  It's used by more than just darkCapture.sh.


Feat: Adding header in home page

Describe the feature
I want to work on the header section like Flipkart  please assign me this under gssoc level 3
Add ScreenShots

Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'24 contributor
[X] I want to work on this issue

Describe the feature
I want to work on the header section like Flipkart please assign me this under gssoc level 3
Add ScreenShots

### Record
* [x]  I agree to follow this project's Code of Conduct
* [x]  I'm a GSSOC'24 contributor
* [x]  I want to work on this issue

Go ahead

I want to work on the header section like Flipkart please assign me this under gssoc level 1
Record
I agree to follow this project's Code of Conduct
I'm a GSSOC'24 contributor
I want to work on this issue

@arghadipmanna101  I want to work on the header section please assign me this under gssoc level 1
RECORD:
I agree to follow this project's Code of Conduct
I'm a GSSOC'24 contributor
I want to work on this issue

@arghadipmanna101
I want to work on the header section please assign me this under gssoc'2024
I agree to follow this project's Code of Conduct
I'm a GSSOC'24 contributor
I want to work on this issue

I want to work on the header section. Please assign this to me.

@arghadipmanna101 I'm interested to resolve this issue. Kindly assign me this under GSSoC'24.


Naming - ScreenShotObserver.java and ScreenshotData.java

In the README.md, the example code uses ScreenShotData, but the class is named ScreenshotData
I could suggest you ton only correct the README, but maybe there is something to do here, on the choosen names for your classes ? In other terms, choosing between Screenshot and ScreenShot, and naming the two related classes with that.
[...]
public void onScreenShotTaken(ScreenShotData data) {
[...]

Oh, and I'm not sure but it looks like a ; is missing at the end of that part
	Listener listener = new Listener() {
		public void onScreenShotTaken(ScreenShotData data) {
			textView.setText(data.getFileName());
			imageView.setImageURI(URI.parse(data.getPath());
		}
	}


JSON parsing error reported

Actions before raising this issue

[X] I searched the existing issues and did not find anything similar.
[X] I read/searched the docs

Steps to Reproduce
I have already started cvat using Python management. py runserver locally, and then I have also started the cvat ui front-end. When logging in, I ensure that the JSON parsing is incorrect and I cannot find the problem
Expected Behavior
I have already started cvat using Python management. py runserver locally, and then I have also started the cvat ui front-end. When logging in, I ensure that the JSON parsing is incorrect and I cannot find the problem
Possible Solution
I have already started cvat using Python management. py runserver locally, and then I have also started the cvat ui front-end. When logging in, I ensure that the JSON parsing is incorrect and I cannot find the problem
Context
I have already started cvat using Python management. py runserver locally, and then I have also started the cvat ui front-end. When logging in, I ensure that the JSON parsing is incorrect and I cannot find the problem
Environment
I have already started cvat using Python management. py runserver locally, and then I have also started the cvat ui front-end. When logging in, I ensure that the JSON parsing is incorrect and I cannot find the problem

I started it locally using Python management. py runserver, and Redis, pg, and clickhouse are services that access the online Docker environment. After starting it, I reported a JSON parsing error using localhost: 8080/api/users

Please, fill the issue template properly, your environment and steps to reproduce if you believe it is a bug. Provide us all the logs and screenshots according to the template.
Try to follow step by step installation guide: https://opencv.github.io/cvat/docs/administration/basics/installation/.
You can also try online version for free: https://app.cvat.ai

Please, fill the issue template properly, your environment and steps to reproduce if you believe it is a bug. Provide us all the logs and screenshots according to the template.
Try to follow step by step installation guide: https://opencv.github.io/cvat/docs/administration/basics/installation/.
You can also try online version for free: https://app.cvat.ai

I have resolved the issue with the configuration file. Thank you


eCAL wheels on master currently not functional

Problem Description
The eCAL Python wheels build by CI are currently not functional.
The pyproject.toml file needs to be adapted to reflect the current project structure.
How to reproduce
Download and intstall wheels build by the CI.
eCAL is not usable with these wheels.
How did you get eCAL?
Custom Build / Built from source
Environment
current master
eCAL System Information
No response

Solved with https://github.com/eclipse-ecal/ecal/pull/1741


Move self_shl & self_shr to their respective callable version

added tests for assigning shifts

Iota test is correct. It shows a real problem in the system. Don't put asserts

The decision we took for now is to remove assert from shifts. We can advance on that, finish the callable transition and suppport for type translation and think about how EVE shoudl sue assert in the mean time.
@DenisYaroshevskiy are you OK with that ?


MalmoPython constantly unable to find DLLs on Windows 10 x64

Python 2.7.12 started off printing the error "ImportError: DLL load failed: The specified module could not be found." due to CodeSynthesis not having been installed to the Path. That was fixed by manually installing the C:\Program Files (x86)\CodeSynthesis XSD 4.0\bin folder to the Path.
Running the Python code after installing the CodeSynthesis bin folder to the Path now results in Python printing the "ImportError: DLL load failed: %1 is not a valid Win32 application." even when running 64-bit Python.

I am experiencing this issue as well.

I've encountered a similar situation, running the native C++ examples returned DLL missing errors which were fixed by adding CodeSynthesis to my user's PATH and restarting the command prompt.
Try copying over the 64-bit xerces-c_3_1_vc120.dll from C:\Program Files (x86)\CodeSynthesis XSD 4.0\bin64 to the current directory and see if it runs.

I have solved the problem. Thanks to extremeheat hinting about the bin64 folder. What fixed the problem was simply adding C:\Program Files (x86)\CodeSynthesis XSD 4.0\bin64 to the path.

Ah, in the gitter chat I advised @DimensionsGaming to add C:\program files (x86)\codesynthesis xsd 4.0\bin to the PATH. But testing it on my system I can now see that this is wrong, and it does need to be bin64, as suggested above. This makes sense. Please try that, @DimensionsGaming and let us know!

It's worked, but now I'm getting FFMPEG not available.

@DimensionsGaming Well I feel we're making progress! (Thanks @extremeheat!)
Does ffmpeg at a command prompt work? I'm assuming you've installed as per here.

ffmpeg was missing from the path. I've installed it to the path and now everything's running perfectly.

@DimensionsGaming Awesome! Glad we could get you going eventually.

actually i have the same problem, all paths are there, still..

@Liquidmasl Have you tried the fix I posted above?

@Liquidmasl Would you mind uploading a screenshot of this window so I can see more clearly what you have in your path (Control Panel > System and Security > System > Advanced System Settings > Environment Variables... > Path under System Variables)

?

@DimensionsGaming  that window doesnt exist on my machine Oo
I have to add to the path by pasting the new path behind all the old path entries with a semicolon in between..

@Liquidmasl It should do. Are you on Windows 10? If you are, right-click on the start menu and select Control Panel from the context menu that opens up.

yeah i am, and i found it and manipulated the path multiple times.. it just looks quite different!
I got you a screenshot from every "stage"
the far right window is the window where i can add to the path or edit it..
everything in one line, cant really screenshot that..
But I can copy it!
C:\Program Files (x86)\CodeSynthesis XSD 4.0\bin64\; C:\ProgramData\Oracle\Java\javapath;C:\Program Files (x86)\Intel\iCLS Client\; C:\Program Files\Intel\iCLS Client\; C:\Windows\system32; C:\Windows; C:\Windows\System32\Wbem; C:\Windows\System32\WindowsPowerShell\v1.0\; C:\Program Files\Intel\Intel(R) Management Engine Components\DAL; C:\Program Files\Intel\Intel(R) Management Engine Components\IPT; C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL; C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT; C:\Program Files (x86)\CineForm\Tools; D:\Program Files (x86)\GoPro\GoPro Studio\GoPro\Tools; D:\SiudiDriver\XHardwareLibrary; C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common; C:\Program Files (x86)\QuickTime\QTSystem\; %SystemRoot%\system32; %SystemRoot%; %SystemRoot%\System32\Wbem; %SYSTEMROOT%\System32\WindowsPowerShell\v1.0\; C:\Program Files (x86)\Skype\Phone\; C:\Program Files\OpenVPN\bin; C:\ffmpeg\bin; C:\Program Files\Java\jdk1.8.0_91\bin\; C:\Python27\

@Liquidmasl Good. Now click on edit once you're on path under "Systemvariablen".

@Liquidmasl Alright. I'm not sure what the problem is. Let me just ping Tim because he'll be able to help you more. CC @timhutton Would you mind taking over from here.

@Liquidmasl  I am having the same issue even with "C:\Program Files (x86)\CodeSynthesis XSD 4.0\bin64;" in my path. Did you managed to solve it?

Hi all. I've added the CodeSynthesis directory to my path, as long as all other dependencies (Python27/ffmpeg/etc). I am still having problems getting the DLL to be found.
Traceback (most recent call last):   File ".\run_mission.py", line 22, in <module>     import MalmoPython ImportError: DLL load failed: The specified module could not be found.
Using Python2.7 on Windows 10.
If anyone can help, please let me know!

I am able to use Malmo-0.34.0-Windows-64bit_withBoost_Python2.7 without issues 👍

CodeSynthesis no longer required for Linking.

C:\Malmo\Python_Examples>python tutorial_1.py
Traceback (most recent call last):
File "tutorial_1.py", line 24, in
import MalmoPython
ImportError: DLL load failed: Не найден указанный модуль.


define phpunit as requirement

This way composer can decide what version of this package has to be installed.

that should not go into master but in a specific branch for version 4.2.x


Example for uploading dataurl type

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
Need an example for uploading dataurl to azure file share with python. In the current article, it uses existing file, not data url
https://docs.microsoft.com/en-us/python/api/overview/azure/storage-file-share-readme?view=azure-python#uploading-a-file
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

Label prediction was below confidence level 0.6 for Model:ServiceLabels: 'Data Lake Storage Gen2:0.22771856,Docs:0.21537232,Subscription:0.10174035'

Thanks for reporting @DavidPaf - just to clarify the specifics of the sample you are looking for, are you looking to create the file client pointing to the upload uri?
For example:
client = ShareFileClient.from_file_url(file_uri_to_upload_to)
with open("./SampleSource.txt", "rb") as source_file:
    client.upload_file(source_file)

Or are you looking for a sample that demonstrates uploading from a different source, e.g. copying source data from a URL?
Adding @jalauzon-msft and @vincenttran-msft for visibility.

Label prediction was below confidence level 0.6 for Model:ServiceLabels: 'Docs:0.4618508,Data Lake Storage Gen2:0.22391312,Storage:0.05912905'

Hi @DavidPaf David, to add to what Anna mentioned, perhaps you are looking for the way to copy a file from the Storage URL? If that's the case, you'll want to look into start_copy_from_url. You can also check out our sample for that.
If you could provide some more information about what you are looking for, we can try and help further. Thanks.

Hello @jalauzon-msft  and @annatisch ,
I am finding a way to upload image file using based64 format. I used to use firebase storage to upload image but now I changed my cloud storage to Microsoft Azure, therefore I would love to migrate my code from using Firebase to Azure Fileshare.
Here is the example from Google Firebase: https://firebase.google.com/docs/storage/web/upload-files#upload_from_a_string
They show how to upload from a string:
// Data URL string
const message4 = 'data:text/plain;base64,5b6p5Y+344GX44G+44GX44Gf77yB44GK44KB44Gn44Go44GG77yB';
uploadString(storageRef, message4, 'data_url').then((snapshot) => {
console.log('Uploaded a data_url string!');
});
Hope it is clear now.
Thank you

Thanks for the follow-up @DavidPaf David, that cleared things up. I wasn't very familiar with the Data URL format.
The SDK doesn't currently support the Data URL format natively as it's mostly a web format used to encode data, like images, in strings. Currently the best approach would be to convert the data URL to its parts on the client side and upload that information with upload_file. It seems you've already done that but here's a sample I've worked up for completeness:
import base64
from azure.storage.fileshare import ContentSettings, ShareFileClient

def parse_data_url(data_url: str) -> tuple[str, bytes]:
    # Trim off data:
    data_url = data_url[5:]

    # Split metadata and data
    metadata, data = data_url.split(',')
    metadata = metadata.split(';')

    content_type = metadata[0]
    is_base64 = "base64" in metadata

    if is_base64:
        data = data.encode('utf-8')
        data = base64.b64decode(data)
    else:
        data = data.encode('utf-8')

    return content_type, data

content_type, data = parse_data_url(sample_url)

file_client = ShareFileClient.from_file_url("<file-url>", credential=ACCOUNT_KEY)
content_settings = ContentSettings(content_type=content_type)
file_client.upload_file(data, content_settings=content_settings)

The sample is fairly naive and may not handle all scenarios but should handle your sample.
I'm not sure if adding native support for Data URLs to the SDK itself is something we'd be interested in given the web nature of the data type. @annatisch, what do you think about adding support for Data URLs?

Hi @DavidPaf David, apologies but after some internal discussions around this, we've decided that we aren't going to add native support for the Data URL type at this time given that it does not seem to be a very common type that we get requests for. Hopefully the sample I provided above and/or the code you have already put in place is enough to meet your needs.
I'm going to close this Issue but if more folks chime in here looking for this feature, we may reconsider in the future. Thanks!


PBKD: Supply the password as a ReadOnlySpan as well.

Hello !
First, many thanks for bringing that .NET bindings using Span<T> API, which makes cryptography with managed languages more secure!
This PR is about giving the possibility to the developers to supply the password to the PBKD algorithm using a ReadOnlySpan<byte> buffer and not only a string, as the latter is persisted in the Strings Pool. This does not involve in huge modifications, as the library is already relying on ReadOnlySpan<byte> underneath.
I have written two additional unit tests that verify that an exception is correctly raised when supplying an empty buffer.
Don't hesitate to tell me if something is not good state for being merged to the project.
ZenLulz

Thanks a lot for your contribution!
The password == null checks should probably go into the string password overloads, since a span cannot be null. Hashing a zero-length password is fine, just hashing a null reference isn't.
If you want to make this addition, then for consistency overloads should probably also be added for all the other methods that take a password (in PasswordBasedEncryptionScheme and PasswordBasedMacScheme). And the first DeriveBytes overload in PasswordBasedKeyDerivationAlgorithm seems to be missing its span variant.
Overall, this adds quite a lot of overloads. I'm wondering if this are too many...

There's also the new Utf8String type in the upcoming .NET Core 3.0 that could deserve an overload.

Possible solution:
+public readonly ref struct Password
+{
+    public Password(string str)
+    public Password(Utf8String str)
+    public static Password FromBytes(ReadOnlySpan<byte> bytes)
+}

 public abstract class PasswordBasedKeyDerivationAlgorithm : Algorithm
 {
-    public byte[] DeriveBytes(string password, ReadOnlySpan<byte> salt, ...)
-    public void DeriveBytes(string password, ReadOnlySpan<byte> salt, ...)
-    public Key DeriveKey(string password, ReadOnlySpan<byte> salt, ...)
+    public byte[] DeriveBytes(Password password, ReadOnlySpan<byte> salt, ...)
+    public void DeriveBytes(Password password, ReadOnlySpan<byte> salt, ...)
+    public Key DeriveKey(Password password, ReadOnlySpan<byte> salt, ...)
 }

The type(s) supported for the password parameter clearly need more thinking in general. I'm closing this PR for now.


Bulkinsert with one to one relationship

I'm trying to use bulkinsert in .NET Core 2.1 with one to one relationships. I have 2 Database Entities
public partial class Entity1
{
    public int ID { get; set; }
    public virtual Entity2 Entity2Obj { get; set; }
}

public partial class Entity2
{
    public int ID { get; set; }
    public int Entity1_ID{ get; set; }
    public virtual Entity1 Entity1Obj { get; set; }
}

The navigation properties are automatically created during Scaffold-DbContext (database first)
entity.HasOne(d => d.Entity1 )
    .WithOne(p => p.Entity2)
    .HasForeignKey<Entity2>(d => d.Entity1_ID)
    .OnDelete(DeleteBehavior.ClientSetNull)
    .HasConstraintName("FK_Entity1_Entity2");

Then I insert a list of Entity1 Items
 _context.BulkInsert(Entity1ItemsList);
This only works and inserts Entity1 objects in my database. The associated Entity2 items are not inserted. Is there a way to achieve that? When I insert the entities with the default context.savechanges() all navigation properties are saved successfully.

There is no BulkSaveChanges at the moment, so you need to call BulkInsert for each table.


Make more data sources available

table
query
sql-statement
recordset (ado and dao)
demo (?)

Use a new subclass "DataSource" to encapsulate properties and methods related to the data source

Released with version 1.23.17


installation error throw npm

Im trying to install node-sass mounting over the docker container .
I get the below error

Can any one help me out regarding the issue.
Thanks,
Rekha

Read through thege troubleshooting guide. If you still have issues open a
new issue and FOLLOW THE TEMPLATE
On Wed., 31 Oct. 2018, 6:24 pm Rekhajikki<EMAIL_ADDRESS>wrote:

Im trying to install node-sass mounting over the docker container .
I get the below error
[image: image]
https://user-images.githubusercontent.com/19817281/47772200-eae42880-dd0b-11e8-9a68-e6006750f26b.png
Can any one help me out regarding the issue.
Thanks,
Rekha
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/sass/node-sass/issues/2529, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAjZWHq7gEaGyZ81bzwuajgg56zT5XNDks5uqVAXgaJpZM4YDfdS
.


Getting error while Publishing the packages

I have a problem when I want to install caliper cli
I follow these steps:
npm install
npm repoclean
npm run bootstrap
cd ./packages/caliper-tests-integration
npm run start_verdaccio
Everything goes fine so far but when I run npm run publish_packages I get the following error
npm ERR!
code EPUBLISHCONFLICT
npm ERR!
publish fail Cannot publish over existing version.
npm ERR!
publish fail Update the 'version' field in package.json and try again.
npm
ERR! publish fail
.
.
.
Aborting, could not publish package caliper-core to local npm server
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>publish_packages: ./scripts/publish-packages.sh
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>publish_packages script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
I tried npm run cleanup but still the same error. I am trying on fresh system no previous version of caliper is installed on this one.
Here is my system info:
OS- Ubuntu 18.04 LTS
NPM version 6.4.1
Node version 8.16.1
node-gyp version 5.0.3
docker version 18.09.7
docker-compose version 1.24.0

I am getting the same error. It looks like it might be happening because caliper-core version 0.1.0 was published to npm yesterday: https://www.npmjs.com/package/caliper-core.

Will this affect installation process ? I am new to caliper was also facing this issue. What would be the new installation steps for caliper now?

I have the same problem too! A few days ago,I success,but recently i met this problem

I got the same error.

All, I could manage to publish locally and install caliper after updating "version:0.1.0" to "version:0.1.1" in all package.json. I updated the version and followed the steps in the document for installing caliper. It worked for me.

All, I could manage to publish locally and install caliper after updating "version:0.1.0" to "version:0.1.1" in all package.json. I updated the version and followed the steps in the document for installing caliper. It worked for me.

Yeah, i use the same aproach to deal with it.

Although the package hasn't been published by caliper guys, you can install the package -->  npm install -g caliper-cli. I tried and it works fine.

@sara-rouhani @zsgilber @maheshshastri @TopJohn @duoduolr
Unfortunately, someone published these "unofficial" Caliper packages. We're working on this. But the naming won't cause problems for the official packages since they'll be published under the Hyperledger organization, which requires proper authentication & authorization. So the official packages will be named @hyperledger/caliper-...

@sara-rouhani @zsgilber @maheshshastri @TopJohn @duoduolr
Unfortunately, someone published these "unofficial" Caliper packages. We're working on this. But the naming won't cause problems for the official packages since they'll be published under the Hyperledger organization, which requires proper authentication & authorization. So the official packages will be named @hyperledger/caliper-...

when will it finish? why the npm server's package affect the local npm server? can you explain it ,thanks.

@TopJohn

Finalizing the NPM package and Docker image publishing will be one of the agenda items of this week's Caliper call.
I guess (really just guessing here) Verdaccio first looks in the NPM registry for a package, and if not found, it'll look in the local registry. I don't know whether this is configurable or not.

@aklenik
Unfortunately I had to reinstall caliper and now I facing following issue for chalk
lerna WARN EHOIST_PKG_VERSION "caliper-cli" package depends on<EMAIL_ADDRESS>which differs from the hoisted<EMAIL_ADDRESS>Even if I ignore and try to install by following instructions to install caliper , I am getting following error
ERR! 404 Not Found<EMAIL_ADDRESS>When I looked at the logs same error appeared for yargs
1013 http fetch GET 404 http://localhost:4873/chalk 89ms
1014 http fetch GET 404 http://localhost:4873/yargs 89ms
1015 silly fetchPackageMetaData error for<EMAIL_ADDRESS>404 Not Found<EMAIL_ADDRESS>1016 silly fetchPackageMetaData error for<EMAIL_ADDRESS>404 Not Found<EMAIL_ADDRESS>1017 http fetch GET 304 http://localhost:4873/caliper-core 155ms (from cache)
I tried to reinstall by cloning into a new project but I am stuck on this now.
Any help is appreciated thanks in advance.

@TopJohn

Finalizing the NPM package and Docker image publishing will be one of the agenda items of this week's Caliper call.
I guess (really just guessing here) Verdaccio first looks in the NPM registry for a package, and if not found, it'll look in the local registry. I don't know whether this is configurable or not.

I saw the code, you are right.

All, I could manage to publish locally and install caliper after updating "version:0.1.0" to "version:0.1.1" in all package.json. I updated the version and followed the steps in the document for installing caliper. It worked for me.

i met the same error , but how to update the caliper version

@yuyan110nan change the version attributes in the package.json files in the package directories.

Caliper is officially published, with detailed docs on install and development. So I'm closing this issue.


Support shell different from /bin/bash

i.e. by adding #!/path/to/interpreter to script

be nice if there was powershell support for vagrant since vagrant can now - vagrant powershell


.throwOnError() doesn

Bug report
Describe the bug
According to https://github.com/supabase/supabase-js/issues/92 .throwOnError() should work as if I were typing something like:
	const { data: queryResult, error: queryError } = await supabase
		.from("cohorts")
		.select("id")
		.single();

	if (queryError) {
		throw queryError;
	}
	const thisHasTypeId = queryResult; // This is of type { id: number } NOT NULL!!

In the above case thisHasTypeId is of type {id:number}, but if I try to use .throwOnError():
	const { data: queryResult, error: queryError } = await supabase
		.from("cohorts")
		.select("id")
		.single()
		.throwOnError();

	const thisHasTypeNullToo = queryResult; // This is of type { id: number } | null, WHY NULL??

But here thisHasTypeNullToo has null too! so I would have to do type check as well
Expected behavior
It would be nice if the returned data didn't include the null type when using .throwOnError().

I will move it to supabase/postgres-js pardon


No 'mousemove' event fired when pan or zoom with keyboard

Hi
When the map is paned or zoomed using the keyboard, the mouse position on the map is changed, but no mousemove-event is fired
Kind Regards
Niesl Holt

Well, technically your mouse didn't move...
We just pass on the browser mousemove event, and add some extra data to it
https://github.com/Leaflet/Leaflet/blob/master/src/map/Map.js#L934-L935
https://github.com/Leaflet/Leaflet/blob/master/src/map/Map.js#L1036-L1042
Potentially we could fire movemove events when the map moves, but we'd need to check that the mouse was on the map and all sorts of dodgyness. Probably better for a plugin if this is required for you.
What is your use case? Could you just listen to mapmove/zoom events?

I think it is a question of perspective :-)
The mouse don’t move on the screen or on the map-element, but the coordinate for the mouse is changed when the map is panned using the keyboard
My current use case is simple to display the coordinates of the cursor on the map.
The moveend, zoomend events only provides Event not MouseEvent
It isn’t implemented in JS either - If the position of an element is changed while the mouse is over it, no mousemove event is fired
I have fixed it for now by turning the coordinate display off on zoomstart movestart events and turning it back on at zoomend moveend
I will look into it at some point to see if an easy method can be implemented

This can also worked around by storing the mouse position (in pixels relative to the map container) on every mousemove event, then calling map.containerPointToLatLng() with that on 'zoomend moveend'.
You can even do that automatically by extending the behaviour of the keyboard map handler.
Either way, I see no (good) reason why we should fire a mousemove event whenever the map is moved - that would create more problems than it would solve (e.g. stealing focus from elsewhere)

Hi
I created my own extension to solve the problem for me:
https://github.com/FCOO/leaflet-mouseposition


Genericss added

Hi All,
I've added generics with joins. Please take a look.

Guys, AppVeyor CI show error on OracleLegacyLimitTest. This error comes to me with my last get.

Hi guys!
I'm not sure that is good idea to make another ORM over the sqlkata. It may be seems simple task, but in fact this is very hard work to make really good fully working ORM with all needed operations.
Talking about the commit exactly, I think that is bad solution about join
       public void InnerJoinTest()         {             var q = new Query<Entity>().Join<JoinEntity>((x, y) => x.Id == y.EntityId);        ...             var expected = $"SELECT * FROM [Entity] \nINNER JOIN [JoinEntity] ON [Id] = [EntityId]";        ...         }
In real word we use primary key name is table name + id, not only id, so, expected should be
  var expected = $"SELECT * FROM [Entity] \nINNER JOIN [JoinEntity] ON [Entity].[EntityId] =  [JoinEntity].[EntityId]";
i.e. with full table name or alias and column name.
The same touches where, order. having and other - when you join tables, you have to use full qualified column name.
In Order expression it is not enough to say only column names, i need a direction. Does is work .OrderBy(new {x.Column}).OrderByDesc(new {x.Column2})  properly? In LINQ i use OrderBy and ThenBy methods.
What about As statement for column names? MySQL and Postgree is case sensitive, table and column names usually in lower case, and you have to make all names lower, but the Dapper, I suppose, expects the columns in the same case, as you provide in expression.
Another warning - no caching, It is long operation to parse expression every time, productivity will very low to use it in production.
I think it is better to use something like NHibernate or EntityFramework when you want to work with strong typed domain drive solution.

Hi for7raid,
Tablename+id notation will be available with my next commit. I realized that notation is necessity but I am busy at my work.
Of course you can use ORM tool but I just try to create sql texts with strongly types. This was just idea it doesn't have to be.

@senkadir thanks for your feedback, currently there is no plan to release this, we are just experimenting, and the idea is promising but I think it's not complete yet.
Yes SqlKata is not made to replace ORMs, and will not be like this.


Fix coverage reporting:

Overview
"report" goal bound to post-integration-test phase overwrote
the previous report from unit tests bound to "prepare-package"
phase. It happened because both execution of the same goal
used the same output directory.

Definition of Done

[x] There are no TODOs left in the code
[x] Changelog is updated if needed (in case of notable or breaking changes)
[ ] The continuous integration build passes

Pull Request Test Coverage Report for Build 1474

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+3.6%) to 84.317%

Totals

Change from base Build 1464:
3.6%

Covered Lines:
2699

Relevant Lines:
3201

💛  - Coveralls

+3.6% with a single line :-)


Ensure using OCP's python general style preferences

See https://ocp-software-handbook.readthedocs.io/en/latest/python/style_guide.html, specially Naming and String formatting

#213 does string formatting.
Re: naming, I think just fixing the snakeCase and mixed case variables (e.g. containing OCP, FI) will be enough.


Crash on ObservableCollection.Clear()

Hi Torben,
Just upgraded to 1.1.0 - FANTASTIC work :) :+1: One bug I've found so far is this crash when I try to clean a collection:
2015-12-10 09:50:32.706 MyApp.iOS[18325:1185660] Warning: Unhandled exception: System.InvalidCastException: Specified cast is not valid.
  at TK.CustomMap.iOSUnified.TKCustomMapRenderer.OnCollectionChanged (System.Object sender, System.Collections.Specialized.NotifyCollectionChangedEventArgs e) [0x00130] in <filename unknown>:0
  at System.Collections.ObjectModel.ObservableCollection`1[T].OnCollectionChanged (System.Collections.Specialized.NotifyCollectionChangedEventArgs e) [0x00012] in /Users/builder/data/lanes/2377/73229919/source/mono/external/referencesource/System/compmod/system/collections/objectmodel/observablecollection.cs:286
  at System.Collections.ObjectModel.ObservableCollection`1[T].OnCollectionReset () [0x00000] in /Users/builder/data/lanes/2377/73229919/source/mono/external/referencesource/System/compmod/system/collections/objectmodel/observablecollection.cs:373
  at System.Collections.ObjectModel.ObservableCollection`1[T].ClearItems () [0x00022] in /Users/builder/data/lanes/2377/73229919/source/mono/external/referencesource/System/compmod/system/collections/objectmodel/observablecollection.cs:187
  at System.Collections.ObjectModel.Collection`1[T].Clear () [0x00017] in /Users/builder/data/lanes/2377/73229919/source/mono/external/referencesource/mscorlib/system/collections/objectmodel/collection.cs:87
  at MyApp.RootViewModel.UpdateVenueAndPins (System.Collections.Generic.List`1 venues) [0x0001d] in /Users/kolchy/Projects/MyApp/MyApp/ViewModels/RootViewModel.cs:76
  at MyApp.RootViewModel.FindVenuesInBounds (Xamarin.Forms.Maps.MapSpan region) [0x001cd] in /Users/kolchy/Projects/MyApp/MyApp/ViewModels/RootViewModel.cs:251
  at MyApp.MapView.CalculateBoundingCoordinates (Xamarin.Forms.Maps.MapSpan region) [0x00008] in /Users/kolchy/Projects/MyApp/MyApp/Views/MapView.cs:55
  at MyApp.MapView+<Init>c__async0+<Init>c__AnonStorey7+<Init>c__async8.MoveNext () [0x00033] in /Users/kolchy/Projects/MyApp/MyApp/Views/MapView.cs:133

The code from my viewmodel is:
if (Pins != null)
 Pins.Clear ();

Cheers,
Kolchy

Had a quick look, and it could be trying to cast my custom pin to a TKCustomMapPin? I override the default TKCustomMapPin like so:
namespace MyApp
{
	public class CustomPin : TK.CustomMap.TKCustomMapPin
	{
		public Venue Venue { get; set; }
	}
}

as I need access to the venue ppl click on?
Cheers,
Kolchy

One more observation, I found this worked :)
if (Pins != null) {
	var pins = Pins.ToList();
	foreach (var p in pins) {
		Pins.Remove (p);
	}
}

I just checked and it seems to work for me, at least on Android. I extended the sample in the development branch, you may want to have a look.

Same issue here, It happens on real IOS device not simulator.

private ObservableCollection<TKCustomMapPin> _mapPins = new ObservableCollection<TKCustomMapPin>();

        public ObservableCollection<TKCustomMapPin> MapPins
        {
            get { return _mapPins; }
            set
            {
                _mapPins = value;
                OnPropertyChanged(MapPinsPropertyName);
            }
        }

Invoke bellow code on somewhere
MapPin.Clear()

Throw an exception(Specified cast is not valid) when i test on ios device, but android device works fine.
Change MapPin.Clear() to following code:
foreach (var p in MapPin.ToList()) {
        MapPin.Remove (p);
    }

Throw an exception(Object not set to an instance of an object) when i test on android device, but ios device works fine.

Thank you for reporting. I will check and probably come up with a hotfix if possible.

Hi TK,
I made some changes and resolved this issue,
Change:
else if (e.Action == NotifyCollectionChangedAction.Reset)
            {
                foreach (TKCustomMapAnnotation annotation in this.Map.Annotations)
                {
                    annotation.CustomPin.PropertyChanged -= OnPinPropertyChanged;
                }
                this._firstUpdate = true;
                this.UpdatePins();
            }

To:
else if (e.Action == NotifyCollectionChangedAction.Reset)
            {
                foreach (TKCustomMapAnnotation annotation in this.Map.Annotations.OfType<TKCustomMapAnnotation>())
                {
                    annotation.CustomPin.PropertyChanged -= OnPinPropertyChanged;
                }
                this._firstUpdate = true;
                this.UpdatePins();
            }

I am not sure that it is correctly changes.
Please take a look, I hope this can help you.

Hey,
thanks for taking care of the issue. :+1 That is indeed the problem as it tries to cast annotations(like the current user position) to my internal annotation class, which obviously crashes. A major mistake on my part. I already pointed out the problem for Android as well. I will create a hotfix the next days.
Feel free to create a pull request for this and I will add you as contributor.

I have created a new pull request and thanks for supporting.

Fixed in 1.2.1


(AO) Import Layer Stackup XML

Description of the feature
HFSS3D Layout GUI can import Layer Stackup XML.
It has material definition and layer construction.
Pintopinsetup command can support limited import Layer Stackup XML.
It could not support Thermal material and Frequency depended Dielectric material definition.
User want to import Layer Stackup XML without GUI.
Steps for implementing the feature
No response
Useful links and references
No response

It is related TFS#1006882:(AO) Seting Layer Stackup is not correct by pintopinsetup.exe

@svandenb-dev @ring630 Is this possible with PyEBD right?

@Samuelopez-ansys it is supported by PyEDB. @aohta2021, could you provide an example xml file I can test?

I have confirmed PyEDB can support it.
This issue is closed.


OSX Segfault when exporting with defaults

Godot version
3.4
System information
macOS 11.3 (20E217) ARM-64 and Mac OS X 10.12.6 (16G29) x86_64 GLES3
Issue description
When starting the Exported Game on a Mac it crashes with a segfault: The details on both Architectures are a bit different but the Segfault occurs on the same memory section: KERN_INVALID_ADDRESS at 0x0000000000000010
ARM-64:
Process:               Anitya Demo [2437]
Path:                  /Applications/Anitya Demo.app/Contents/MacOS/Anitya Demo
Identifier:            app.anitya
Version:               0.1 (0.1.0)
Code Type:             ARM-64 (Native)
Parent Process:        ??? [1]
Responsible:           Anitya Demo [2437]
User ID:               501

Date/Time:             2022-01-19 01:37:58.782 +0700
OS Version:            macOS 11.3 (20E217)
Report Version:        12
Anonymous UUID:        AF81FC7A-B222-7301-1A19-E40AC4861FEB

Sleep/Wake UUID:       B032FB61-C4FA-4F10-8345-F42D80163BB4

Time Awake Since Boot: 14000 seconds

System Integrity Protection: enabled

Crashed Thread:        0  Dispatch queue: com.apple.main-thread

Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
Exception Codes:       KERN_INVALID_ADDRESS at 0x0000000000000010
Exception Note:        EXC_CORPSE_NOTIFY

Termination Signal:    Segmentation fault: 11
Termination Reason:    Namespace SIGNAL, Code 0xb
Terminating Process:   exc handler [2437]

VM Regions Near 0x10:
-->
    __TEXT                      104b8c000-106aac000    [ 31.1M] r-x/r-x SM=COW  /Applications/Anitya Demo.app/Contents/MacOS/Anitya Demo

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   app.anitya                    	0x00000001061785d4 0x104b8c000 + 22988244
1   app.anitya                    	0x0000000104d704b8 0x104b8c000 + 1983672
2   app.anitya                    	0x00000001060b4870 0x104b8c000 + 22186096
3   app.anitya                    	0x0000000104d76718 0x104b8c000 + 2008856
4   app.anitya                    	0x00000001060a8e50 0x104b8c000 + 22138448

Thread 1:
0   libsystem_pthread.dylib       	0x00000001911d1d28 start_wqthread + 0

Thread 2:
0   libsystem_pthread.dylib       	0x00000001911d1d28 start_wqthread + 0

Thread 3:
0   libsystem_pthread.dylib       	0x00000001911d1d28 start_wqthread + 0

Thread 4:
0   libsystem_pthread.dylib       	0x00000001911d1d28 start_wqthread + 0

Thread 5:
0   libsystem_kernel.dylib        	0x00000001911a05c8 __psynch_cvwait + 8
1   libsystem_pthread.dylib       	0x00000001911d7508 _pthread_cond_wait + 1248
2   libc++.1.dylib                	0x0000000191131efc std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 28
3   app.anitya                    	0x00000001062cff20 _IP_ResolverPrivate::_thread_function(void*) + 132
4   libsystem_pthread.dylib       	0x00000001911d1d3c thread_start + 8

Thread 6:
0   libsystem_pthread.dylib       	0x00000001911d1d28 start_wqthread + 0

Thread 7:
0   libsystem_kernel.dylib        	0x00000001911a05c8 __psynch_cvwait + 8
1   libsystem_pthread.dylib       	0x00000001911d7508 _pthread_cond_wait + 1248
2   libc++.1.dylib                	0x0000000191131efc std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 28
3   app.anitya                    	0x0000000105edbd68 0x104b8c000 + 20249960
4   libsystem_pthread.dylib       	0x00000001911d1d3c thread_start + 8

Thread 8:: AMCP Logging Spool
0   libsystem_kernel.dylib        	0x000000019119ce90 semaphore_wait_trap + 8
1   com.apple.audio.caulk         	0x0000000198f47934 caulk::mach::semaphore::wait_or_error() + 28
2   com.apple.audio.caulk         	0x0000000198f316e0 caulk::semaphore::timed_wait(double) + 168
3   com.apple.audio.caulk         	0x0000000198f315cc caulk::concurrent::details::worker_thread::run() + 44
4   com.apple.audio.caulk         	0x0000000198f3130c void* caulk::thread_proxy<std::__1::tuple<caulk::thread::attributes, void (caulk::concurrent::details::worker_thread::*)(), std::__1::tuple<caulk::concurrent::details::worker_thread*> > >(void*) + 96
5   libsystem_pthread.dylib       	0x00000001911d6fd4 _pthread_start + 320
6   libsystem_pthread.dylib       	0x00000001911d1d3c thread_start + 8

Thread 9:
0   libsystem_kernel.dylib        	0x000000019119cea8 semaphore_timedwait_trap + 8
1   libdispatch.dylib             	0x0000000191028474 _dispatch_sema4_timedwait + 64
2   libdispatch.dylib             	0x0000000191028a84 _dispatch_semaphore_wait_slow + 76
3   libdispatch.dylib             	0x0000000191039430 _dispatch_worker_thread + 304
4   libsystem_pthread.dylib       	0x00000001911d6fd4 _pthread_start + 320
5   libsystem_pthread.dylib       	0x00000001911d1d3c thread_start + 8

Thread 10:: com.apple.audio.IOThread.client
0   libsystem_kernel.dylib        	0x000000019119ce54 mach_msg_trap + 8
1   libsystem_kernel.dylib        	0x000000019119d204 mach_msg + 76
2   com.apple.audio.CoreAudio     	0x0000000192c9a918 HALB_MachPort::SendSimpleMessageWithSimpleReply(unsigned int, unsigned int, int, int&, bool, unsigned int) + 104
3   com.apple.audio.CoreAudio     	0x0000000192b5bed0 invocation function for block in HALC_ProxyIOContext::HALC_ProxyIOContext(unsigned int, unsigned int) + 2928
4   com.apple.audio.CoreAudio     	0x0000000192cd5b04 HALB_IOThread::Entry(void*) + 88
5   libsystem_pthread.dylib       	0x00000001911d6fd4 _pthread_start + 320
6   libsystem_pthread.dylib       	0x00000001911d1d3c thread_start + 8

Thread 11:
0   libsystem_kernel.dylib        	0x000000019119cea8 semaphore_timedwait_trap + 8
1   libdispatch.dylib             	0x0000000191028474 _dispatch_sema4_timedwait + 64
2   libdispatch.dylib             	0x0000000191028a84 _dispatch_semaphore_wait_slow + 76
3   libdispatch.dylib             	0x0000000191039430 _dispatch_worker_thread + 304
4   libsystem_pthread.dylib       	0x00000001911d6fd4 _pthread_start + 320
5   libsystem_pthread.dylib       	0x00000001911d1d3c thread_start + 8

Thread 12:: com.apple.NSEventThread
0   libsystem_kernel.dylib        	0x000000019119ce54 mach_msg_trap + 8
1   libsystem_kernel.dylib        	0x000000019119d204 mach_msg + 76
2   com.apple.CoreFoundation      	0x00000001912d5e9c __CFRunLoopServiceMachPort + 372
3   com.apple.CoreFoundation      	0x00000001912d4368 __CFRunLoopRun + 1212
4   com.apple.CoreFoundation      	0x00000001912d3734 CFRunLoopRunSpecific + 600
5   com.apple.AppKit              	0x0000000193c3a3e8 _NSEventThread + 196
6   libsystem_pthread.dylib       	0x00000001911d6fd4 _pthread_start + 320
7   libsystem_pthread.dylib       	0x00000001911d1d3c thread_start + 8

Thread 0 crashed with ARM Thread State (64-bit):
    x0: 0x0000000126eabae8   x1: 0x0000600002f220f0   x2: 0x000000016b2714e0   x3: 0x0000000000000002
    x4: 0x000000016b2714b0   x5: 0x000000016b271608   x6: 0x0000000191197220   x7: 0x000000000000003e
    x8: 0x00006000020b9290   x9: 0x0000000000000010  x10: 0x0000000000000018  x11: 0x0000000000000000
   x12: 0x0000000126eabae8  x13: 0x000000016b2714e0  x14: 0x0000000000000000  x15: 0x00000000000000a0
   x16: 0x0000000191196b24  x17: 0x0000000190ffa9fc  x18: 0x0000000139833940  x19: 0x000000016b2714b0
   x20: 0x000000016b271608  x21: 0x0000000000000002  x22: 0x0000000126eabae8  x23: 0x0000600002f220f0
   x24: 0x000000010682cfda  x25: 0x0000000000000002  x26: 0x0000000000000004  x27: 0x000000016b271450
   x28: 0x000000010679ac3e   fp: 0x000000016b2717c0   lr: 0x0000000104d704b8
    sp: 0x000000016b2713b0   pc: 0x00000001061785d4 cpsr: 0x80000000
   far: 0x0000000000000010  esr: 0x92000006

Details Intel:
Process:               Anitya Demo [1036]
Path:                  /Applications/Anitya Demo.app/Contents/MacOS/Anitya Demo
Identifier:            app.anitya
Version:               0.1 (0.1.0)
Code Type:             X86-64 (Native)
Parent Process:        ??? [1]
Responsible:           Anitya Demo [1036]
User ID:               501

Date/Time:             2022-01-19 01:49:24.817 +0700
OS Version:            Mac OS X 10.12.6 (16G29)
Report Version:        12
Anonymous UUID:        E53E6597-AD09-726C-0EB7-35D5D4C05719

Sleep/Wake UUID:       D28F97AB-EAC6-4BA0-800B-F4BF83CDD2B9

Time Awake Since Boot: 20000 seconds
Time Since Wake:       7900 seconds

System Integrity Protection: enabled

Crashed Thread:        0  Dispatch queue: com.apple.main-thread

Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
Exception Codes:       KERN_INVALID_ADDRESS at 0x0000000000000010
Exception Note:        EXC_CORPSE_NOTIFY

Termination Signal:    Segmentation fault: 11
Termination Reason:    Namespace SIGNAL, Code 0xb
Terminating Process:   exc handler [0]

VM Regions Near 0x10:
-->
    __TEXT<PHONE_NUMBER>1e5000-0000000102250000 [ 32.4M] r-x/r-x SM=COW  /Applications/Anitya Demo.app/Contents/MacOS/Anitya Demo

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   app.anitya                    	0x0000000101a415b0 0x1001e5000 + 25544112
1   app.anitya                    	0x00000001003e546f 0x1001e5000 + 2098287

Thread 1:
0   libsystem_kernel.dylib        	0x00007fffcade944e __workq_kernreturn + 10
1   libsystem_pthread.dylib       	0x00007fffcaed3621 _pthread_wqthread + 1426
2   libsystem_pthread.dylib       	0x00007fffcaed307d start_wqthread + 13

Thread 2:
0   libsystem_kernel.dylib        	0x00007fffcade944e __workq_kernreturn + 10
1   libsystem_pthread.dylib       	0x00007fffcaed348e _pthread_wqthread + 1023
2   libsystem_pthread.dylib       	0x00007fffcaed307d start_wqthread + 13

Thread 3:
0   libsystem_kernel.dylib        	0x00007fffcade944e __workq_kernreturn + 10
1   libsystem_pthread.dylib       	0x00007fffcaed3621 _pthread_wqthread + 1426
2   libsystem_pthread.dylib       	0x00007fffcaed307d start_wqthread + 13

Thread 4:
0   libsystem_kernel.dylib        	0x00007fffcade944e __workq_kernreturn + 10
1   libsystem_pthread.dylib       	0x00007fffcaed3621 _pthread_wqthread + 1426
2   libsystem_pthread.dylib       	0x00007fffcaed307d start_wqthread + 13

Thread 5:
0   libsystem_kernel.dylib        	0x00007fffcade8bf2 __psynch_cvwait + 10
1   libsystem_pthread.dylib       	0x00007fffcaed47fa _pthread_cond_wait + 712
2   libc++.1.dylib                	0x00007fffc98514cd std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 47
3   app.anitya                    	0x0000000101bb873b _IP_ResolverPrivate::_thread_function(void*) + 155
4   libsystem_pthread.dylib       	0x00007fffcaed3887 _pthread_start + 286
5   libsystem_pthread.dylib       	0x00007fffcaed308d thread_start + 13

Thread 6:
0   libsystem_kernel.dylib        	0x00007fffcade8bf2 __psynch_cvwait + 10
1   libsystem_pthread.dylib       	0x00007fffcaed47fa _pthread_cond_wait + 712
2   libc++.1.dylib                	0x00007fffc98514cd std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 47
3   app.anitya                    	0x000000010176674b 0x1001e5000 + 22550347
4   ???                           	0x00007000046b2001 0 +<PHONE_NUMBER>40321

Thread 7:
0   libsystem_kernel.dylib        	0x00007fffcade139e semaphore_timedwait_trap + 10
1   libdispatch.dylib             	0x00007fffcac9cb09 _os_semaphore_timedwait + 72
2   libdispatch.dylib             	0x00007fffcac8d864 _dispatch_semaphore_wait_slow + 58
3   libdispatch.dylib             	0x00007fffcac88290 _dispatch_worker_thread + 275
4   libsystem_pthread.dylib       	0x00007fffcaed393b _pthread_body + 180
5   libsystem_pthread.dylib       	0x00007fffcaed3887 _pthread_start + 286
6   libsystem_pthread.dylib       	0x00007fffcaed308d thread_start + 13

Thread 8:: com.apple.audio.IOThread.client
0   libsystem_kernel.dylib        	0x00007fffcade134a mach_msg_trap + 10
1   libsystem_kernel.dylib        	0x00007fffcade0797 mach_msg + 55
2   com.apple.audio.CoreAudio     	0x00007fffb50a4935 HALB_MachPort::SendMessageWithReply(unsigned int, unsigned int, unsigned int, unsigned int, mach_msg_header_t*, bool, unsigned int) + 127
3   com.apple.audio.CoreAudio     	0x00007fffb50a48a6 HALB_MachPort::SendSimpleMessageWithSimpleReply(unsigned int, unsigned int, int, int&, bool, unsigned int) + 42
4   com.apple.audio.CoreAudio     	0x00007fffb50a18d0 HALC_ProxyIOContext::IOWorkLoop() + 1196
5   com.apple.audio.CoreAudio     	0x00007fffb50a1264 HALC_ProxyIOContext::IOThreadEntry(void*) + 128
6   com.apple.audio.CoreAudio     	0x00007fffb50a0fa3 HALB_IOThread::Entry(void*) + 75
7   libsystem_pthread.dylib       	0x00007fffcaed393b _pthread_body + 180
8   libsystem_pthread.dylib       	0x00007fffcaed3887 _pthread_start + 286
9   libsystem_pthread.dylib       	0x00007fffcaed308d thread_start + 13

Thread 9:: com.apple.NSEventThread
0   libsystem_kernel.dylib        	0x00007fffcade134a mach_msg_trap + 10
1   libsystem_kernel.dylib        	0x00007fffcade0797 mach_msg + 55
2   com.apple.CoreFoundation      	0x00007fffb553b434 __CFRunLoopServiceMachPort + 212
3   com.apple.CoreFoundation      	0x00007fffb553a8c1 __CFRunLoopRun + 1361
4   com.apple.CoreFoundation      	0x00007fffb553a114 CFRunLoopRunSpecific + 420
5   com.apple.AppKit              	0x00007fffb3180f02 _NSEventThread + 205
6   libsystem_pthread.dylib       	0x00007fffcaed393b _pthread_body + 180
7   libsystem_pthread.dylib       	0x00007fffcaed3887 _pthread_start + 286
8   libsystem_pthread.dylib       	0x00007fffcaed308d thread_start + 13

Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0x000060000064b6a0  rbx: 0x0000000000000010  rcx: 0x00007fff5fa187e0  rdx: 0x0000608000437250
  rdi: 0x00007fa73de634e8  rsi: 0x00007fa73df002d0  rbp: 0x00007fff5fa18a90  rsp: 0x00007fff5fa186a0
   r8: 0x00007fff5fa187b0   r9: 0x00007fff5fa18838  r10: 0x000060800046d6c0  r11: 0x0000000000012068
  r12: 0x00007fa73de634e8  r13: 0x0000000000000002  r14: 0x00007fff5fa187b0  r15: 0x00007fff5fa18838
  rip: 0x0000000101a415b0  rfl: 0x0000000000010202  cr2: 0x0000000000000010

Logical CPU:     0
Error Code:      0x00000004
Trap Number:     14

Steps to reproduce
Export on a linux Host with the following settings:
[preset.2]

name="OSX"
platform="Mac OSX"
runnable=true
custom_features=""
export_filter="all_resources"
include_filter=""
exclude_filter=""
export_path="export/osx/Anitya Demo.zip"
script_export_mode=1
script_encryption_key=""

[preset.2.options]

custom_template/debug=""
custom_template/release=""
application/name="Anitya Demo"
application/info="Anitya Demo"
application/icon="res://icon.png"
application/identifier="app.anitya"
application/signature=""
application/app_category="Games"
application/short_version="0.1"
application/version="0.1.0"
application/copyright="2022"
display/high_res=false
privacy/camera_usage_description=""
privacy/microphone_usage_description=""
texture_format/s3tc=true
texture_format/etc=false
texture_format/etc2=false

Minimal reproduction project
So far this happens only with out project. I managed before to export a MAC version but I am lost why this Project crashes with a segfault. I would need to check for access to debug things as this is comercial.

Can you reproduce this if you export to a path that does not contain any spaces ("Anitya" instead of "Anitya Demo")?

If you're able to compile Godot from source (see instructions), you may be able to get a more informative backtrace for "Thread 0" where Godot itself is crashing. The official templates don't include debug symbols so we don't have the details, but a custom build would include them (unless you run strip on the binary, which reduces size by removing debug information).

It was unfortunately not spaces, a second project with spaces worked perfectly. We found some timeouts that where tiny and try to work with that. As we are Logging users in to the Multiplayer before we show an UI we think it is a bug in our code that shows like an engine bug rather than simply closing.
We are investigating atm and will report back. I hope we manage to reproduce.


Change schema columns to follow naming convention

Closes #153
Changes:

Change subdomians to record
Change certificates to be singular
Change privkey to privateKey
Fix challange typo in Certificate model

Huh. Local type check doesn't produce the same error, and the project runs with the seeded database.

Huh. Local type check doesn't produce the same error, and the project runs with the seeded database.

Probably we need to generate the prisma client/types before we run typecheck.  cc @shawnyu5:
https://github.com/DevelopingSpace/starchart/blob/main/.github/workflows/ci.yaml#L258-L293

Probably we need to generate the prisma client/types before we run typecheck. cc @shawnyu5:

Tested with a seeded db. Type check run now passes
https://github.com/DevelopingSpace/starchart/actions/runs/4170194203/jobs/7218918845

I reran the newer CI, and now it has no error.


Latest build fails to install

I was looking for the latest version which supports Cargo build. So I downloaded the 154 build (VS2015) But it fails to install with the error:

The file is not a valid VSIX package

Visual Studio 2017 (Community) The plugin installs ok. But no Rust project template under "New Project" category

AppVeyor build is missing templates currently: https://github.com/PistonDevelopers/VisualRust/issues/283
There are other issues which may be causing (un)install failures of the msbuild side of things: https://github.com/PistonDevelopers/VisualRust/issues/301
It might be worth checking %APPDATA%\Microsoft\VisualStudio\15.0\ActivityLog.xml to see if there's some other reason the installation failed as well.

Although, the vsix is the plugin, so it sounds like it installed at least that portion.  https://github.com/PistonDevelopers/VisualRust/pull/286 should fix the bugs I linked, although we still need to get it merged.  An unofficial/preview build https://ci.appveyor.com/project/MaulingMonkey/visualrust/build/8 fixes the missing templates and many other issues, although it doesn't contain the #301 fixes from that branch (git lfs quota issues :()


[VERBOSE-2:ui_dart_state.cc(209)] Unhandled Exception: NoSuchMethodError: Class 'CPListTemplate' has no instance getter 'templates'.

When having a CPListTemplate as "rootTemplate", methods such as "self.setDetailText" cause this error:
[VERBOSE-2:ui_dart_state.cc(209)] Unhandled Exception: NoSuchMethodError: Class 'CPListTemplate' has no instance getter 'templates'.

Repository:
https://github.com/danielmessi13/carplay_test

Hey @danielmessi13, thank you for reporting this bug. It's the first one 🎉 and I really appreciate it!
It will be fixed in the next minor version update. If you or anyone is interested in and wants to fix and contribute ASAP, send me an email or a pull request. I'll let you know when it's released.

Hey @danielmessi13, thank you for reporting this bug. It's the first one 🎉 and I really appreciate it!
It will be fixed in the next minor version update. I'll let you know when it's released. If you or anyone is interested in and wants to fix and contribute ASAP, send me an email or a pull request.

Hey @danielmessi13, the issue has been solved and version 1.0.1 is published in pub.dev, see here. Keep going!


Correct python_version in pep508checker.py

The issue
Fix https://github.com/pypa/pipenv/issues/4602
The fix
This includes all characters up to the second "." (instead of just the first 3 characters),
which should correct version-handling for Python 3.10.
The checklist

[x] Associated issue
[x] A news fragment in the news/ directory to describe this fix with the extension .bugfix, .feature, .behavior, .doc. .vendor. or .trivial (this will appear in the release changelog). Use semantic line breaks and name the file after the issue number or the PR #.

Thanks for the fix

Thanks for the fix


Add support for the App Engine Admin API

We have an Admin API (service management) for App Engine here:
https://cloud.google.com/appengine/docs/admin-api/reference/rest/
It's a pretty basic CRUD / REST style API, but it would be great to have wrappers that make it easier to use.

Closing this out for now. If we want to support a new API, we should go through the internal request process.


v0.27.0 baseUrl -> url function issue

Describe the bug
All links on the web page have been changed to http
Steps To Reproduce
Steps to reproduce the behavior:

Clone release branch (or download release archive 0.27.0)
Server on nginx(https) -> docker(http) proxy
when access to home page, all links changed to http
browser warning https site but load http resource

Expected behavior
all resource load fine
Screenshots
Your Configuration (please complete the following information):

Exact BookStack Version (Found in settings): 0.27.0
443 - nginx -> 80 nginx+php-fpm docker

Additional context
Previously, the way to get url was to call baseUrl. In this distribution, it is changed to url function. It seems to be related to this.
.env content
APP_URL=https://wiki.seq.kr

Hi @neoty,
Did you manage to resolve this one? Your site seems to be using the https links as expected right now.

@ssddanbrown
Yes I solved
But that's temporary.
`
cd /var/www/html/vendor/laravel/framework/src/Illuminate/Foundation
vi helpers.php
line 934
before -> return app(UrlGenerator::class)->to($path, $parameters, $secure);
after -> return app(UrlGenerator::class)->to($path, $parameters, true);
and it works.
`

@neoty Thanks for the details and thanks for originally reporting.
I've pretty sure I've managed to find the cause of this and have updated BookStack with a fix and test to cover:
7a4425473b61007f6eee51a3f794f5908cd2ccd8
I've just deployed v0.27.2 to include this. Would you be able to revert your change, update & let me know if this release solves the issue for you?

@ssddanbrown
I applied to v0.27.2 and the issue seems to be resolved on my site.
Thank you for your hard work.

Awesome, Thanks for checking! Will therefore close this.


DigitalSampleState is always None

This is my main issue at this time. Samples are coming in from my router and End Devices. However, the DigitalSampleState is always None. I can send commands to my router to control output pins ( It's a Flood Light) and the light turns on and off. It also has a motion detector when the Motion detector is triggered the Controller gets a Sample. However the DigitalSampleState is None. Because I have a new S2C XBee installed in the Flood Light I wanted to make sure it worked in my active network. So, I moved the Router from my test network to my active network ( where it came from originally ) by changing it's PAN ID and API Mode from 1 to 2. It works fine. The GBee Library on the Netduino picks up Pin State and reports motion. I moved it back to my test network, and Downloaded the source code to your BinarySerializer Library, so I could step through it with the Debugger and try to figure out why the DigitalSampleState wasn't getting decoded.
WOW ! What an elegant piece of software! Way beyond my skill level. I bet you graduated top of your class from MIT.
Anyway I attempted to keep up with what it was doing. However, at the part where it checks the DigitalSampleState, I could not figure out why it was deciding that there was None.
I'm stumped. Any help would be greatly appreciated.

Thanks, much appreciated!  I'm going to try to work on this tonight.
On Sun, Apr 24, 2016 at 3:12 PM -0700, "PaulNoto"<EMAIL_ADDRESS>wrote:
This is my main issue at this time. Samples are coming in from my router and End Devices. However, the DigitalSampleState is always None. I can send commands to my router to control output pins ( It's a Flood Light) and the light turns on and off. It also has a motion detector when the Motion detector is triggered the Controller gets a Sample. However the DigitalSampleState is None. Because I have a new S2C XBee installed in the Flood Light I wanted to make sure it worked in my active network. So, I moved the Router from my test network to my active network ( where it came from originally ) by changing it's PAN ID and API Mode from 1 to 2. It works fine. The GBee Library on the Netduino picks up Pin State and reports motion. I moved it back to my test network, and Downloaded the source code to your BinarySerializer Library, so I could step through it with the Debugger and try to figure out why the DigitalSampleState wasn't getting decoded.
WOW ! What an elegant piece of software! Way beyond my skill level. I bet you graduated top of your class from MIT.
Anyway I attempted to keep up with what it was doing. However, at the part where it checks the DigitalSampleState, I could not figure out why it was deciding that there was None.
I'm stumped. Any help would be greatly appreciated.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub

Yeah, this was a pretty serious bug (in the serializer, actually).  Unfortunately now my sample frames aren't processing at all so still working on that...

Many thanks for the great feedback.  Let me know how the new version works out for you.


Add calldata

Related to https://github.com/imapp-pl/gas-cost-estimator/issues/105
Just the same junk calldata (128KB) as we'll use with geth (WIP).

Hopefully I understand it correctly, msg.input_data is calldata for vm. Maybe the size could be a parameter from the command line?

Yes.
For now let's keep it minimal and the size is fixed. When we need to change the size, we'll make it a parameter. For now, I'm not planning that.