"Select build environment" doesn't detect LLVM/Clang for Windows

Brief Issue Summary
On Windows with "Clang for Windows" installed (see: http://releases.llvm.org/download.html#5.0.1).
Using CMake Tools extension in VSCode the status bar lets you select build environment.
The popup properly detects the MSVC environments but doesn't detect the "Clang for Windows" environment.
The LLVM environment path exists in the PATH environment variable.
Expected:
If an LLVM environment is installed I expect CMake Tools to properly detect it and display it as an option for build environments.
Apparent Behavior:
LLVM environment on Windows is not detected.

@xgalaxy could you give use the cmaketool log file. This would help us to isolate the problem.

@xgalaxy Maybe also provide which CMake Tools version you are using.

CMake Tools version: 0.10.4
Note: I'm seeing something different today than I was yesterday. The only thing I can think of is I restarted my computer. Today, I'm unable to use any of the environments, including MSVC when its selected as the environment (Note: LLVM still doesn't show up in the build environment selection).
Here is the log:
Loading CMake Tools from d:\Roamers\.vscode\.cmaketools.json
Detected available environment "Visual Studio Community 2017 - x86
Detected available environment "Visual Studio Community 2017 - amd64
Started new CMake Server instance with PID 5904
[vscode] Configuring using the "Ninja" CMake generator

[cmake-server] loading initial cache file d:\roamers\build\CMakeTools\InitializeCache.cmake

-- The C compiler identification is Clang 5.0.1
-- CMake Error at C:/Program Files/CMake/share/cmake-3.10/Modules/CMakeDetermineCompilerId.cmake:771 (message):
  The Clang compiler tool

    "C:/Program Files/LLVM/bin/clang.exe"

  targets the MSVC ABI but has a GNU-like command-line interface.  This is
  not supported.  Use 'clang-cl' instead, e.g.  by setting 'CC=clang-cl' in
  the environment.  Furthermore, use the MSVC command-line environment.
Call Stack (most recent call first):
  C:/Program Files/CMake/share/cmake-3.10/Modules/CMakeDetermineCCompiler.cmake:113 (CMAKE_DIAGNOSE_UNSUPPORTED_CLANG)
  CMakeLists.txt:2 (project)

-- CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
-- Configuring incomplete, errors occurred!
See also "d:/roamers/build/CMakeFiles/CMakeOutput.log".
[vscode] Configure failed: [cmake-server] Configuration failed

A couple of notes and thoughts about that log:

If I'm selecting the build environment of 'MSVC - x86 or MSVC - x64' I still get that clang error - which doesn't make sense. If I'm selecting that I want to use MSVC then why is it complaining about clang?

Even if I don't select a build environment I get that same error.

In my opinion, I'd expect to see LLVM listed in the build environment dropdown and that is what would enable usage of clang.

Lastly, this may not be a CMake Tools problem, but I don't understand why I can't use clang instead of clang-cl. My understanding is that clang-cl is a command line adapter to mimick the MSVC command line and that the regular clang command works fine under Windows. And I can verify this by opening up a command line and using both clang and clang-cl.

Here is the output of CMakeOutput.log
The system is: Windows - 10.0.16299 - AMD64
Compiling the C compiler identification source file "CMakeCCompilerId.c" succeeded.
Compiler: C:/Program Files/LLVM/bin/clang.exe
Build flags:
Id flags:

The output was:
0

Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "a.exe"

The C compiler identification is Clang, found in "d:/roamers/build/CMakeFiles/3.10.2/CompilerIdC/a.exe"

This is a bug proper, since CMake Tools should see the clang executable on the $PATH. I have LLVM for Windows installed (version 6.0.0) and it shows up as a kit. I'm perplexed. Could you increase the log level (using settings.json) and rescan for kits? There's some heavy logging around kit scanning in debug mode.

This is relevant I think:
https://gitlab.kitware.com/cmake/cmake/issues/16439

I'm somewhat confused. Does CMake Tools detect Clang as a kit? Is this just a failure when trying to configure using it?

I've laid out all the problems in the post above. I have both LLVM installed and MSVC and I can't use either using CMake Tools.

Same here with us targeting windows with clang-cl.

I have a hypothesis. Can you try to manually create a compile kit using the path to clang-cl for C and CXX, then try configuring with that?
If my hypothesis is correct, it will be as simple as scanning for clang-cl separately from Clang

Can you also run the kit scan with debug logging and paste the result here?

sure, today I will update you. Thank you for the fast answer!

Manually setting the compile kit does help on the platform(Win10) that I am using at the moment. However here, I have Visual Studio Professional (2012, 2017)[vswhere is not installed] installed among with Clang 5. CMake Tools does report the installed kits correctly. Will try to provide you the debug log later with the other setup.[Win10, vswhere and vs build tools 2017 installed, Clang 6]

Now trying on Windows 10 with Visual Studio Build Tools 2017 installed, with Clang 6.0.0 and in some cases it is not loading the env variables with vcvarsall.bat. Scenario is I set it correctly for a project and then opening another project with the same toolchain causes linking error for the last step which shows that it is not loading the env vars correctly for the second project. Log.txt provided :)
log.txt

Okay I think I have found the problem. First I TL;DR-d the kits session in the readme which was a bad idea, turned out I was naming my custom kit same as an auto-generated one. Second I have set wrong values for my custom kit. In case someone would do the same as us, I provide my custom kit for using clang-cl on windows with a Ninja generator.

Our cmake-kits.json custom part is this:
cmake-tool.txt

And our Toolchain.cmake is this to compile with clang:
Toolchain.txt

Thank you @vector-of-bool for this extension, we love it!

It looks to me that there should be a kit that sets both the VS environment AND the compilers to clang-cl.

Sorry to take so long on this. I wanted to get the 1.0.0 release out almost three weeks ago, but some hardware failures prevented me from doing work on this ext. I'm hoping to finish up 1.0.0 by the end of the week.


XRDP does not accept security_layer=negotiate

XRDP prints a warning message if I change the security_layer parameter to negotiate like suggested in #207. After switching back to rdp XRDP work fine again.
I don't find negotiate in the current master branch. hybrid is mentioned instead. Maybe this is just an documentation error.
It would be great if you could adapt the file xrdp.ini as well as the manpage of xrdp.ini accordingly.
Logged warning message:
XRDP[31727]: Warning: Your configured security layer is undefined, xrdp will negotiate client compatible

Installed version (built with X11RDP-RH-Matic):

xrdp-0.9.0.gitf422461+master-1.el7.x86_64
xorg-x11-drv-rdp-0.9.0.gitf422461+master-1.el7.x86_64

Thanks,
Carsten

This issue is fixed in devel branch.
בתאריך יום ג׳, 31 במאי 2016 ב-14:53 מאת Carsten Grohmann <
<EMAIL_ADDRESS>
XRDP prints a warning message if I change the security_layer parameter to
negotiate like suggested in #207
https://github.com/neutrinolabs/xrdp/issues/207. After switching back
to rdp XRDP work fine again.
I don't find negotiate in the current master branch. hybrid is mentioned
instead. Maybe this is just an documentation error.
It would be great if you could adapt the file xrdp.ini as well as the
manpage of xrdp.ini accordingly.
Logged warning message:
XRDP[31727]: Warning: Your configured security layer is undefined, xrdp will negotiate client compatible
Installed version (built with X11RDP-RH-Matic):

xrdp-0.9.0.gitf422461+master-1.el7.x86_64
xorg-x11-drv-rdp-0.9.0.gitf422461+master-1.el7.x86_64

Thanks,
Carsten
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/neutrinolabs/xrdp/issues/380, or mute the thread
https://github.com/notifications/unsubscribe/ADTH1A8vO04DN1PeqTqWovDl1rRqSuUVks5qHCElgaJpZM4Iqc3U
.


device tracker fritz not working in docker container on rpi2

Feature requests should go in the forum: https://community.home-assistant.io/c/feature-requests
Home Assistant release (hass --version):
docker container homeassistant/rpi2-home-assistant
0.18.2 (i ran an update inside the container)
Python release (python3 --version):
Python 3.4.4
Component/platform:
.components.device_tracker.fritz
Description of problem:
16-04-21 11:32:41 INFO (MainThread) [homeassistant.loader] Loaded device_tracker.fritz from homeassistant.components.device_tracker.fritz
16-04-21 11:32:42 INFO (MainThread) [homeassistant.components.device_tracker.fritz] Successfully connected to FRITZ!Box Fon WLAN 7360 SL (UI)
16-04-21 11:32:42 INFO (MainThread) [homeassistant.components.device_tracker.fritz] Scanning
16-04-21 11:32:42 ERROR (MainThread) [homeassistant.components.device_tracker] Error setting up platform fritz
Traceback (most recent call last):
  File "/usr/src/app/homeassistant/components/device_tracker/__init__.py", line 119, in setup_platform
    scanner = platform.get_scanner(hass, {DOMAIN: p_config})
  File "/usr/src/app/homeassistant/components/device_tracker/fritz.py", line 32, in get_scanner
    scanner = FritzBoxScanner(config[DOMAIN])
  File "/usr/src/app/homeassistant/components/device_tracker/fritz.py", line 75, in __init__
    self._update_info()
  File "/usr/src/app/homeassistant/util/__init__.py", line 289, in wrapper
    result = method(*args, **kwargs)
  File "/usr/src/app/homeassistant/components/device_tracker/fritz.py", line 103, in _update_info
    self.last_results = self.fritz_box.get_hosts_info()
  File "/config/deps/fritzconnection/fritzhosts.py", line 57, in get_hosts_info
    while index < self.host_numbers:
  File "/config/deps/fritzconnection/fritzhosts.py", line 39, in host_numbers
    result = self.action('GetHostNumberOfEntries')
  File "/config/deps/fritzconnection/fritzhosts.py", line 31, in action
    return self.fc.call_action(SERVICE, actionname, **kwargs)
  File "/config/deps/fritzconnection/fritzconnection.py", line 361, in call_action
    action = self.services[service_name].actions[action_name]
KeyError: 'Hosts'

@deisi do you have any idea?

Yep could you show me you config? I think by now you must add a username and a password. So you config should look like:
device_tracker:
  - platform: fritz
    host: <IP_ADDRESS>
    username: admin
    password: yourpw

just set username to admin it should work.

device_tracker:
  - platform: nmap_tracker
    hosts: <IP_ADDRESS>/24
    track_new_devices: yes
    consider_home: 180
    interval_seconds: 12
  - platform: fritz
    host: <IP_ADDRESS>
    username: "YOUR_ADMIN_USERNAME"
    password: "YOUR_ADMIN_PASSWORD"

indeed seems to solve the issue


Bug/3785

Related issues
#3785
closes #
Short description and why it's useful
Fixed product sorting. If user came to category page first time, product were sorted by latest:desc. When he wanted to change filter for e.g price:desc and then come back to previous filter it was only latest.
I've unified that to latest:desc
Which environment this relates to
Check your case. In case of any doubts please read about Release Cycle

[ ] Test version (https://test.storefrontcloud.io) - this is a new feature or improvement for Vue Storefront. I've created branch from develop branch and want to merge it back to develop
[ ] RC version (https://next.storefrontcloud.io) - this is a stabilisation fix for Release Candidate of Vue Storefront. I've created branch from release branch and want to merge it back to release
[x] Stable version (https://demo.storefrontcloud.io) - this is an important fix for current stable version. I've created branch from hotfix or master branch and want to merge it back to hotfix

Upgrade Notes and Changelog

[x] No upgrade steps required (100% backward compatibility and no breaking changes)

[ ] I've updated the Upgrade notes and Changelog on how to port existing VS sites with this new feature

[x] I read and followed contribution rules

please also apply these changes to the 1.11


Error when using the protox library

Hi,
I have noticed that when you open a source file that uses the protox library and then put the cursor on a symbol to get the documentation hover the hover breaks for the entire project and only shows the string "Loading..."
I have checked the developer tools console and when hovering the first time over a symbol the following text is logged at info level:
[Extension Host] [vscode-elixir] ElixirSense client connection closed

[Extension Host] [ElixirSense]
11:46:12.915 [error] Task #PID<0.164.0> started from #PID<0.161.0> terminating
** (stop) exited in: GenServer.call(Mix.ProjectStack, {:get, #Function<5.37947099/1 in Mix.ProjectStack.peek/0>}, 30000)
    ** (EXIT) no process: the process is not alive or there's no process currently associated with the given name, possibly because its application isn't started
    (elixir) lib/gen_server.ex:766: GenServer.call/3
    lib/mix/project.ex:190: Mix.Project.config/0
    lib/mix/project.ex:400: Mix.Project.build_path/0
    (protox) lib/protox/protoc.ex:20: Protox.Protoc.do_run/2
    (protox) expanding macro: Protox.__using__/1
    (data_viewer) /home/bellemo/.vscode/extensions/mjmcloug.vscode-elixir-1.0.0/elixir_sense/lib/elixir_sense/core/ast.ex: ProtoParser.extract_use_info/2
Function: #Function<1.117824386/0 in ElixirSense.Server.TCPServer.start_connection_handler/2>
    Args: []

After that every time I hover the cursor over a symbol, even in another file, the hover is broken and the following text is logged at info level:
[Extension Host] [vscode-elixir] Error: This socket has been ended by the other party
The only way to make it work again is to close VSCode and restart it.
Thanks for the extension BTW, it's very useful!

Hey,
thanks for reporting the issue. This might be an upstream error in elixir_sense. @msaraiva any thoughts?

@Rosetjau: Did you try compiling the project (using mix compile)? Try restarting vscode after doing so.
If this doesnt work, if would be glad if you could provide a small sample project reproducing the issue

Hi,
unfortunately compiling the project and restarting vscode does not fix the problem. As soon as you restart vscode, open a file that uses protox and hover over a symbol the extension breaks.
I have created a small sample project for you: https://github.com/Rosetjau/vscode_elixir_protobuffer
Thanks a lot!

Ops, I accidentally closed the issue. Reopened now.

Thanks, i can reproduce this now. Seems like a pretty hard crash in elixir_sense.
Did you try to add protoc to your $PATH? According to the docs it should only be requried for compilation of the lib but maybe something that elixir_sense does requires it? If you haven't i will try later.

@fr1zle any updates here? Also getting this crash...


Allow coord grammar to be specified for the color syntax

Some non CSS level 4 color spaces need coordinate grammars that go beyond what is currently allowed for the color() syntax.
For example the luv color space requires [-1, 1] to be specified for its u and v coordinates. Other color spaces such as hsluv, hpluv, okhsl, okhsv have coordinates that are angles.

Good, point, in CSS Color 4 the parameters of the color() function, after the initial color space identifier, are
[ <number> | <percentage> | none ]{3}
so specifying polar spaces inside color() is an unresolved problem.

Good, point, in CSS Color 4 the parameters of the color() function, after the initial color space identifier, are
[  |  | none ]{3}
so specifying polar spaces inside color() is an unresolved problem.

Not something to resolve in this PR, but I think this should be fixed in the spec. We should allow <angle> | <number> | <percentage> and IACVT if needed (or define how each type resolves to the other two)

Hi there, apologies again for the delay, apparently I had seen this PR before, but it somehow completely fell off my radar.
I'm …not quite sure what this is doing. Abstracting that block of code to a separate function seems like a useful refactor, but beyond that I'm not quite sure what new use cases it's enabling. A coord grammar can already be specified for color(), by explicitly adding it as a format, and a range can already be specified in a coord grammar (e.g. <number>[1, -1]). Pretty sure I'm just not getting it, so if you could explain it a bit more, that would be useful! Sorry for the trouble @lloydk, especially after you've already waited so long!!

Hi there, apologies again for the delay, apparently I had seen this PR before, but it somehow completely fell off my radar.
I'm …not quite sure what this is doing. Abstracting that block of code to a separate function seems like a useful refactor, but beyond that I'm not quite sure what new use cases it's enabling. A coord grammar can already be specified for color(), by explicitly adding it as a format, and a range can already be specified in a coord grammar (e.g. <number>[1, -1]). Pretty sure I'm just not getting it, so if you could explain it a bit more, that would be useful! Sorry for the trouble @lloydk, especially after you've already waited so long!!

Maybe I'm missing something but if you look at the current code the logic for handling the coord grammar is only executed for color space specific functions (oklab, oklch, lab, etc.).

I think you might have missed the fact that the extracted code is now called in two places instead of one place in the original code.
You can currently specify a coord grammar for the color function but it isn't used and that's what this PR fixes.

One thing — I did not check if the code that was moved to the function was the same, did you make any changes there?

One thing — I did not check if the code that was moved to the function was the same, did you make any changes there?

I didn't make any changes to the code in the extracted function

K, merged, thanks!


[RestClient] Ignore non-form-data payloads

Rest-Client doesn't support JSON natively, so to pass a JSON payload, you have to set the content-type header and encode the payload as a string. This fixes the request proxy so that it checks that the content type is indeed form data before assuming it can use the payload in the signature.

@pboling the build failures don't seem to be from my code...

Looks like a rubocop related linting failure, and an issue with the Danger API config.  Would you be able to run rubocop and fix warnings?

@shalvah thanks!  I have some work to do on the test suite it seems.

Right...I forgot to run the tests; thought it was an equivalent fix. Fixed them now.


Refactor mnist

@mohitreddy1996 let me know when this has settled and I can fix up the how-tos so the PR passes all checks

Closing this in favor a different PR.
We want to keep the MNIST example as simple as possible. Therefore I will revert few changes to single host training.


bug in datetime parsing

Hello,
As i use the parsing module for datetime conversion, in the function 'date_from_relative_week_year' the ordinal value that is being passed into the function is not being used.
For example if the text input was next 3 weeks... the output is being of only one week. i believe this is because ordinal is not being used here. I tried to fix it my myself i adding the ordinal value to the relative date, but i am unsuccessful in doing so.
Any help on this issue is appreciated.

Hi @pavanAlluri, I have inspected the code and I can confirm that there is
an issue with this function. I will make a pull request with corrections as
soon as I can. In the mean time it is possible that another contributor may
propose a solution.

Thank you for looking into this @gunthercox

Hi @gunthercox and @pavanAlluri, I am new here and I would like to help in this issue. Can you explain me with more details about the expected result when the input is something like "next 3 weeks" ? Can you show a example, please ? I saw a comment inside the function that says  "If there is an ordinal (next 3 weeks) => return a start and end range", how is the output format of this start and end range ?


Font page content

Hi all,
I have setup a basic site using Nikola having a front page that will introduce out project and break down like top tabbed navigation to different graphs.
What should we put in the first page? A short, compelling description of the project with the info graphic perhaps? I tried finding suitable content from paper but picking up short sections from it wasn't conveying proper picture.
Or perhaps start right away with one of the graphs (doesn't appear attractive to me)
@hargup @notconfusing

@vivekiitkgp Is this going to be the same as the lead capture page? We shouldn't have graphs of any sort there. Will come up with some text for a brief introduction. Then there can be a navigation to the various visualizations neatly placed side by side with the introduction.

@Masssly I think so. yes. A general one line introduction about graphs can also find its place in the text.

Can someone paste the link to it here?
Also, if we've already purchased or have a nice domain name for this project, can we set up the current work in a test subdomain? Like test.wigi.org... and then make wigi.org itself a "coming soon" page where the main call-to-action is a submission field for people to enter their email to hear news about the WIGI project as it's being developed and opportunities to help us out with it (aka be sent surveys / new design / early access).
My boyfriend would like to write a blog post about how industry researchers can use our dataset(s) to find interesting insights (using his company's program here: https://databricks.com/blog). And I don't have a good place for him to link to (Github and Wiki Meta are not very public-friendly unfortunately.)

Hi fsoong,
I don't think we have a dedicated domain name as such for the project. In
all likelihood, we are hosting wigi website under https://wigi.wmflabs.org
(or similar) address (see #12). I have some static content ready which I
shall try to host on the server today.
Vivek Rai
https://vivekiitkgp.github.io
On Wed, Jun 10, 2015 at 2:43 AM, fsoong<EMAIL_ADDRESS>wrote:

Can someone paste the link to it here?
Also, if we've already purchased or have a nice domain name for this
project, can we set up the current work in a test subdomain? Like
test.wigi.org... and then make wigi.org itself a "coming soon" page where
the main call-to-action is a submission field for people to enter their
email to hear news about the WIGI project as it's being developed and
opportunities to help us out with it (aka be sent surveys / new design /
early access).
My boyfriend would like to write a blog post about how industry
researchers can use our dataset(s) to find interesting insights (using his
company's program here: https://databricks.com/blog). And I don't have a
good place for him to link to (Github and Wiki Meta are not very
public-friendly unfortunately.)
—
Reply to this email directly or view it on GitHub
https://github.com/notconfusing/WIGI/issues/24#issuecomment-110505952.

@fsoong @notconfusing
Checkout some preliminary stuff here - http://tools-static.wmflabs.org/wigi/output/
I'm still experimenting with web server on tools service.

@vivekiitkgp for front page text, at the moment you can copy the first four paragraphs from our grant. For an iamge
And you're right we should use wmflabs. However it's 404ing now for me.

@vivekiitkgp might have been 404'ing because i moved off halva, now i switched to the new server which its running off. Plese move everything over to wigi.eqiad.wmflabs, a more powerful 8-core 16gigram server.
Successfully added wigi entry for IP address <IP_ADDRESS>.
Successfully created new proxy wigi.wmflabs.org for backend wigi.wikidumpparse.eqiad.wmflabs:80.

These are the todos there:

Front Page

Expand width of content to match Header width.
An image from Infographic.
Text from Grants page.
A link to grants page.
Later maybe: Splash image.
Later maybe: Black and white photograph of one or a few historical women. (High Quality).
Big Button with Icon to Download the Data

add a single large static image or a carousel of images


Support for email addresses

Hi! Let's Encrypt engineer here. I filed an issue over at https://github.com/http-rs/tide-acme/issues/2 requesting that tide-acme show how to include an email address in the example code. @joshtriplett pointed out that email addresses are actually not supported by rustls-acme. Could I ask you to add support for providing an email address? Our experience with ACME clients has been that people don't go out of their way to configure an email address if it's not in the default, but if it is in the default, they're usually happy to provide it.
Providing the email address has a lot of advantages. The main one is that the user can get expiration emails, but also when clients are buggy and spam the service, we really make an effort to connect the user with the client developer so the bugs can be fixed. That starts with an email to the user. Also, we occasionally make breaking changes to our API and need to email our users about it.
If the example email domain is, e.g. example.com, Boulder will reject it until the user provides a different email address.

Thanks for filling this issue. I'll need to think about the api for a few days.

@FlorianUekermann Long-term, I'd suggest a builder-style API that creates an opaque RustlsAcmeConfig object, so that you can add future configuration options in a backwards-compatible way.

I added a with_contact constructor to ResolvesServerCertUsingAcme for now, which allows at least the runtime independent API to use a contact. The resolver fields are private, so this does not preclude switching to a RustlsAcmeConfig embedded in the resolver later.
Let's encrypt doesn't seem to update account info, so I'm hashing the contacts to derive a new file name for the cached account key file name. Cached certificates are not affected by this. I'm not sure yet if I should add the kid, account config or public key to their hash, so I skipped it for now.
I would like to publish 0.2 with a revised API soonish, which should encapsulates all config in RustlsAcmeConfig and replaces the simple API with a runtime independent one (the spawn fn becomes an argument). That makes it trivial to add a convenience module or run_x method for each runtime (or none, using threads). Until then specifying contact won't be available in the simple API.
Anyway, 0.1.6 is released and should unblock @joshtriplett for now.

Let's encrypt doesn't seem to update account info

Subscribers can update their own account info (particularly contacts) via the ACME API. The Let's Encrypt servers don't generally modify contacts unilaterally, but we may do this from time to time, for instance for invalid email addresses or upon a GDPR request.

I'm hashing the contacts to derive a new file name for the cached account key file name. Cached certificates are not affected by this. I'm not sure yet if I should add the kid, account config or public key to their hash, so I skipped it for now.

I think the kid (aka account URL) is the best thing to key off for storing account info locally.
Thanks for making this update!

Closing, because the API change I was keeping this open for will likely have to wait until December. The original issue is solved anyway, just not as nicely as it could be.


return an error if confounds are missing

because the confounds list in fmriprep changes across versions, it could be that a strategy requires confounds that are absent in the file.
This should raise an error.

fixed.


[Proposal] Removing the workaround for Firefox 61-62

As the title say, i propose to remove the workaround for Firefox 61-62, as those versions shouldn't be used by anyone anyway.
So let me know what you're thought on this, i can add a pull request to remove the workaround. ^^

Let's remove it now.
And I plan to release a new minor version after removing this.
Because it's been a while since last release.

Let's remove it now. And I plan to release a new minor version after removing this. Because it's been a while since last release.

Alright i'll do a commit today ^^


Add pread syscall and tests

First two commits are part of https://github.com/input-output-hk/ouroboros-network/pull/1160
Addresses https://github.com/input-output-hk/ouroboros-network/issues/1140
pread syscall is thread safe, so in a future pr, we will allow concurrent calls with read/write locks.
However in windows read_File always changes the file offset, so write locks will be needed for windows even for pread.

Do you plan on merging #1160 first or not?

Do you plan on merging #1160 first or not?

Probably not since it's outdated.

Do you plan on merging #1160 first or not?

Probably not since it's outdated.

Alright, but don't forget about: https://github.com/input-output-hk/ouroboros-network/pull/1160#issuecomment-547317515

Do you plan on merging #1160 first or not?

Probably not since it's outdated.

Alright, but don't forget about: #1160 (comment)

Right, I'll try to erase it. I need to install stack on my windows at some point.
Btw I messed up something while rebasing, let me fix it before merge

bors r+

Yes cabal builds fine.


compile_commands.json left in root of project

Would it be possible to drop it under _build somewhere?

Yea, what is this?

Looks like @tuncer added it.
I guess I can make it so it is something someone can turn on instead of just completely removing it... no reason to be on by default for sure.

It's needed for clang-tidy, clang-check, and more to work.
https://clang.llvm.org/docs/JSONCompilationDatabase.html
https://clang.llvm.org/docs/HowToSetupToolingForLLVM.html
Instead of making it opt-in, we could make it opt-out, but the best solution is to start the file with a JSON comment describing what it's for and why it's in this place. I wish CC/CXX tooling had more predictable paths, but there's no conventional path for clang-* to search for this file. This doesn't require sources to be built by clang, so it cannot assume clang built and created, say, _build/compile_commands.json.

It should definitely stay opt-in. It isn't needed and is confusing.

Looks like there's no way to add comments in JSON files.

Correct. JSON is a horrible format to use for files like this.
And it could be the default and require an opt-out if it was only created in the case that clang is used.

It also works if you build with gcc and, to be clear, gcc doesn't know anything about clang. The primary need is for things like include paths and such to be known when trying to process C/C++.

Ah, ok, if it isn't specific to a compiler then it can remain as a global opt-in.

I wouldn't change the default now, since it's not a new change in a recent release.

We already did and published 1.6.0, it was a mistake to make it the default in the first place and my fault for not catching it earlier.
Was this brought up as something to add in an issue in rebar2 or something? Meaning it is being used by someone we could reach out to?

Limiting writing of compile_commands.json to the case of CC=clang could make sense, but it's not that simple to check. cc/c++ can be clang when it's the default host CC.
Hypothetically, say you ran clang-tidy and the compile_commands.json for some reason (unusual commands) tripped up clang-tidy. How likely is this, and would it warrant complicating port_compiler to conditionalize this on CC=clang/CXX=clang++? Remember that CC=cc and CXX=c++ by default and this does use gcc or clang depending on the environment. You'd have to try parsing the version string to be certain.

It was added to rebar2 and port_compiler to support newer clang tools. I don't remember whether it was based on a user request or me noticing that clang-* stopped working. If it's generally considered to be a nuisance, feel free to make it opt-in. That would require appropriate communication for users to learn of the opt-in rebar.config flag.

Maybe instead of opt-in it actually is a good idea to detect clang and use that as the condition. However, it's easy to find online discussions about using gcc and compile_commands.json, so my previous comments regarding over-complicating the check outweigh such a flag-free condition. Do you agree?

I agree, leaving it as opt-in.

FYI, CMake also supports this.

Since I forward-ported rebar2's port_compiler to blt/port_compiler, they're synced. If you think the behavior should stay synchronized in both copies of the plugin, feel free to push the diff there (including rebar.config.sample) as well.

So I don't know what the clang-* tools are but I found clang-tidy and it appears to support a --config command line option, is there any reason which we can't just try to get clang-tidy --config _build/compile_commands.json to work?  It might require changing the paths in the file, but the docs @tuncer pointed to seem to have the concept of a build directory versus a source directory.

@djnym, I didn't catch it at first, but apparently port_compiler v2.6.0 already was released and turned the feature into an opt-in flag, so we've been discussing an issue that has been fixed. That change removes the confusion which sparked this ticket. But most importantly requiring users to pass --config in addition to enable the new flag, coupled with implementation questions to resolve like, say, the stability of the new location and figuring out the new paths in the JSON term are enough reasons to not bother with that, if you ask me. I don't think we would gain anything by attempting that, and it's basically the same situation as with ct_log_dir or cover_export_enabled. Therefore, unless you disagree, I think this ticket has been resolved in v2.6.0 already. @tsloughter?

I see, it looks like it's actually tagged 1.6.0, and does seem to make it opt-in, so this is fine with me.

Sorry, I meant 1.6.0 but wrote 2.6.0.


Guidance needed for "+ Synapse Credential User on the WorkspaceSystemIdentity credential"

Feedback from cx.  Link to guidance on configuring "+ Synapse Credential User on the WorkspaceSystemIdentity credential" is needed here.

Debug a pipeline using the default Integration runtime
Synapse User + Synapse Credential User on the WorkspaceSystemIdentity credential
read,credentials/useSecret

Create a trigger, including trigger now (requires permission to execute the pipeline)
Synapse User + Synapse Credential User on the WorkspaceSystemIdentity
read, credentials/useSecret/action

Execute/run a pipeline
Synapse User + Synapse Credential User on the WorkspaceSystemIdentity
read, credentials/useSecret/action

Copy data using the Copy Data tool
Synapse User + Synapse Credential User on the Workspace System Identity
read, credentials/useSecret/action

Ingest data (using a schedule)
Synapse Author + Synapse Credential User on the Workspace System Identity
read, credentials/useSecret/action

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

ID: cee8bd88-9e50-8192-60c0-70d40e36ca75
Version Independent ID: a75ec158-91e6-fbd9-006d-3cbd6a404561
Content: Understand the roles required to perform common tasks in Azure Synapse - Azure Synapse Analytics
Content Source: articles/synapse-analytics/security/synapse-workspace-understand-what-role-you-need.md
Service: synapse-analytics
Sub-service: security
GitHub Login: @meenalsri
Microsoft Alias: mesrivas

This guidance is already available in How-to's: https://docs.microsoft.com/en-us/azure/synapse-analytics/security/how-to-manage-synapse-rbac-role-assignments.
@MonikaReddy-MSFT please close this issue.

#please-close


Unable to access response on android for Azure

Description
I am trying to convert a react application in to mobile app using Capacitor and I am using Capaticor-oauth-2 for authentication for azure and google.
Everything was working fine untill i changed my project name. So, i have to restart the whole thing again from the scratch. Followed documentation exactly the same and its working fine in web and IOS.
When i try to work on android, i m not getting the response to the promise resolved function. When i keep console log in the resolve function, they are getting executed but cant console the response.
Here is my code
  const onOAuthBtnClick = () => {
    OAuth2Client.authenticate(authType === "microsoft" ? microsoftOAuthOptions : googleOAuthOptions).then(response => {
//can console only 'accessTokens' name but not anything to response.
      console.log('accessTokens', typeof(response))

      let accessToken = response.authorization_response || response.access_token_response;

      localStorage.setItem('accessToken', accessToken.access_token || accessToken['/access_token']);
      dispatch && dispatch(loginActions.IsUserLoggedIn(true));

    }).catch(reason => {
      console.log('errorr',reason);
      console.error('OAuth rejected', reason);
    });
  }

Capacitor version:
"@capacitor/android": "^3.2.2",
"@capacitor/cli": "^3.2.2",
"@capacitor/core": "^3.2.2",

Your Plugin Configuration
"@byteowls/capacitor-oauth2": "^3.0.1",

  const microsoftOAuthOptions = {
    appId: 'xxxx',
    authorizationBaseUrl: 'https://login.microsoftonline.com/common/oauth2/v2.0/authorize',
    accessTokenEndpoint: '',
    scope: 'openid',
    responseType: 'token',
    logsEnabled:true,
    web: {
      redirectUrl: 'http://localhost:3000'
    },
    android: {
      pkceEnabled: true,
      responseType: 'code',
      redirectUrl: 'xxxxx://oauth/auth',
      accessTokenEndpoint: 'https://login.microsoftonline.com/common/oauth2/v2.0/token',
      // handleResultOnNewIntent: true,
      // handleResultOnActivityResult: true,
    },
    ios: {
      pkceEnabled: true,
      responseType: 'code',
      redirectUrl: 'xxxxxx://oauth/auth',
      accessTokenEndpoint: 'https://login.microsoftonline.com/common/oauth2/v2.0/token',
    }
  }

Followed the documentation as it is and changed AndroidManifest.xml, String.xml, build.gradle.
       //AndroidManifest.xml
       <intent-filter>
            <action android:name="android.intent.action.VIEW" />
            <category android:name="android.intent.category.DEFAULT" />
            <category android:name="android.intent.category.BROWSABLE" />
            <data android:scheme="@string/custom_url_scheme" android:host="com.evonsyspeoplehcm.app"/>
         </intent-filter>

      //build.gradle
        android.defaultConfig.manifestPlaceholders = [
          // change to the 'custom_url_scheme' value in your strings.xml. They need to be the same. e.g.
          "appAuthRedirectScheme": "com.evonsyspeoplehcm.app"
        ]

      //string.xml69
        <resources>
            <string name="app_name">evonsyspeoplehcm</string>
            <string name="title_activity_main">evonsyspeoplehcm</string>
            <string name="package_name">com.evonsyspeoplehcm.app</string>
            <string name="custom_url_scheme">com.evonsyspeoplehcm.app</string>
        </resources>

Noticed : 2021-09-14 19:31:08.443 14894-14894/com.evonsyspeoplehcm.app D/Capacitor: Unable to find a Capacitor plugin to handle requestCode, trying Cordova plugins 112923280 in the log.
Can this be the issue?

@moberwasserlechner  , sir your help would be grateful. Thanks

I created a new project and did the whole setup again. working in Ios, but not in android. The auth success function is being called but its not carrying any response. pls help. my setup is pretty much the same as above.

I need to add permission for accessing storage. was able to access response after storing. Thanks


Luminance in dark env

Hi there,
My server folks have been fighting with the gamma setting, specifically the Luminance in dark env's. I am here at one of the computers and the setting changes nothing when inside their house, in fact last night one was complaining they couldn't see in the cave and their setting was at 60, but it was so very dark.
I have tried with the set luminance outdoors to false and true and still no change. Is there something we are doing wrong?

Hi,
I think I should have left an explanation on the mod page. This setting may be confusing.
There is an object called EnvMan. It controls current ingame environment of your character. It contains distinct settings for night and day. And it have the setting called m_alwaysDark that takes values true/false.
That setting set to true in environments like Rain, SwampRain, Thunderstorm, Ashrain and so on. Basiaclly it means the generated lights should be dimmed while this environment is active. That setting is also on in all dungeon environments.
So my setting "Luminance in dark environments" means that the lights of the environment will be corrected by set factor when the active environment have m_alwaysDark on. It doesn't cross with "Luminance at night" but only control daylight gamma in this environments.
Some examples
Daytime. Outdoors. Weather is Clear. No luminance setting can be applied.
Daytime. Outdoors. Weather is Rain. "Luminance in dark environments" is applied.
Daytime. Indoors. Weather is Crypt. If "Set luminance only outdoors" is on - nothing applied. If "Set luminance only outdoors" is off - "Luminance in dark environments" is applied.
Nighttime. Outdoors. Weather is Clear. "Luminance at night" applied.
Nighttime. Outdoors. Weather is SwampRain. "Luminance at night" applied.
Nighttime. Outdoors. Weather is SunkenCrypt. If "Set luminance only outdoors" is on - nothing applied. If "Set luminance only outdoors" is off - "Luminance in dark environments" is applied.
While I wrote this I have come to mind that we just need distinct setting for indoors.
Also indoors doesn't mean "in the house" or "under roof". It's only count instanced locations like caves, crypts and so on.

@FPSTordah Pls check new 1.0.1 version. Now settings are more straightforward without confusing.

I can not do more specific settings than now.


Bump hspec upper bound

Not sure if you want to release a <IP_ADDRESS> or just do it via a Hackage revision.

Thanks!  I'll do a hackage revision.


feat(genesis): use different sender address for l1 genesis deployments

#95  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @jakim929 and the rest of your teammates on  Graphite


Config includes

This PR removes some #includes from config.hpp

Failing on Boost 1.54.0 http://hermione.cct.lsu.edu/builders/hpx_intel_13_boost_1_54_debian_x86_64_debug/builds/690/steps/build_core_errors/logs/stdio and Intel http://hermione.cct.lsu.edu/builders/hpx_intel_14_boost_1_55_debian_x86_64_debug/builds/591/steps/build_core_errors/logs/stdio


bug: Turbofish syntax mandatory in tuple return types

Bug Report
Cairo version:
c081f05aa67e538e7a51607b1c0ebb47f73dd9f1

Current behavior:
The turbofish syntax Array:: is mandatory when specifying the types inside a returned tuple

Expected behavior:
We should be able to specify -> (Array<T>)

Steps to reproduce:
use array::ArrayTrait;
fn main() {
    let arr1 = ArrayTrait::<u128>::new();

    let (arr2, len) = calculate_length(arr1);
}

fn calculate_length(arr: Array<u128>) -> (Array<u128>, usize) {
    let length = arr.len(); // len() returns the length of a String

    (arr, length)
}

Related code:

Other information:
This works correctly

fn calculate_length(arr: Array<u128>) -> Array<u128> {
    let length = arr.len(); // len() returns the length of a String

    arr
}

We are aware of this. This is a nice first issue if anyone wants to try and contribute.
This will require the parser to be aware it is parsing a type context even when parsing tuples within it.


Avoid flash of unstyled content (FOUC)

Is there any recommended way to avoid this issue while using OWL?
Thanks.

Hello!
I'm not entirely sure what this issue is about. Please read our bug reports guide if it's a bug, and read the contributing guide for how to create pull requests.


[BUG]  * version not correctly handled

Describe the bug
Over in https://github.com/conda-forge/quart-cors-feedstock/pull/14/files update-grayskull put in an update which added - typing_extensions * when - typing-extensions already existed, resulting in duplicate entries for typing-extensions:

Expected behavior
typing_extensions * would be normalised to typing_extensions and therefore no update would be made to the existing dependencies (despite the * being in upstream - it should be recognised as equivalent)
https://github.com/pgjones/quart-cors/blob/0.7.0/pyproject.toml#L62
Additional context
It's a poetry dependency specification - maybe that's relevant?

indeed, that is a problem, gonna put in my backlog, thanks for reporting it! :)

That should be fixed with #503


Updating column type array :(

Version: marquine/php-etl v1.2.0
Module: Loading
Loading TABLE with column data into array
Exemple:
Query select fone[1] from contact
Return log:
malformed array literal: "1" at character 35
Array value must start with "{" or dimension information.
STATEMENT:  update contact set fone = '(82)9999-9999'  where id = '1'
The column fone should be: fone[1]

Hi @Claonilton  if you want, we forked the library here and we fixed some issues and added some features. The changelog is available here. Our objective is to keep this great library alive. If you find any bug or want to contribute to keep the package alive, do not hesitate!


Fail to run TF.JS

I was trying to deploy this sample
package.json:
{
    "name": "tfjs-node-toxicity-server",
    "version": "0.0.1",
    "description": "A server that exposes a Toxicity detection model",
    "scripts": {
        "start": "node index.js"
    },
    "dependencies": {
        "@tensorflow/tfjs-node": "^2.7.0",
        "@tensorflow-models/toxicity": "^1.2.2",
        "express": "^4.17.1"
    }
}

index.js
const tf = require('@tensorflow/tfjs-node');
const toxicity = require('@tensorflow-models/toxicity');
const express = require('express');

const threshold = 0.9;
const port = process.env.PORT || 8080;

async function runServer() {
  const model = await toxicity.load(threshold);
  const app = express();

  app.use(express.json());

  app.post('/prediction', (req, res) => {
    model.classify([req.body.sentence]).then((predictions) => {
      // Send the response to the user
      res.json({
        predictions,
      });
    });
  });

  app.listen(port, () => {
    console.log(`Listening on port ${port}`);
  });
}

runServer();

But when deployed to Cloud Run, I see this error at startup:
"Error: The Node.js native addon module (tfjs_binding.node) can not be found at path<EMAIL_ADDRESS>This is not an error I get when I use this Dockerfile insteaf of GCP Buildpacks:

FROM node:15

WORKDIR /usr/src/app

COPY package*.json ./

RUN npm install

COPY . ./

CMD [ "node", "index.js" ]

This could be related to the node and napi version of GCP buildpacks. can you provide the default node and napi versions?

It looks like the issue is that tensorflow requires Python to be available at compile time, but we don't include it with our builder image. For some reason npm does not emit any warnings, even in verbose mode. Interestingly, for Node.js 10, for which prebuilt binaries are not available, the logs contain a failure message from node-gyp about missing Python installation, but the install command exits with 0. When I remove python.* from the node:15 image and run docker build, the built image exhibits the same behavior.
After extending the builder image with Python following the instructions, the application builds and runs as expected.

someone created this docker file that seems to work:
FROM node:14-slim
WORKDIR /usr/src/app

RUN apt-get update -qqy && apt-get install -qqy \
        curl \
        gcc \
        python3-setuptools \
        python3-dev \
        python3-pip \
        apt-transport-https \
        lsb-release \
        openssh-client \
        git \
        gnupg && \
        rm -rf /var/lib/apt/lists/*
COPY package*.json ./
RUN npm install --only=production
COPY . ./
CMD [ "node", "index.js" ]

I copied that dockerfile from tf.js's own repo that's used to build tf.js itself. It's probably an overkill. I see tf.js has a fallback logic when python doesn't exist, but it 404s. See #96 logs.

Over chat, we found it acceptable to add python to the builder image (not the runtime image), which would solve this issue, right?

Yes, it seems to be working without Python in the final image.
To test this, I made a new stage in the Dockerfile above and copied over the app directory with the populated node_modules after "npm install" to a clean image:
@@ -16,4 +16,8 @@ RUN apt-get update -qqy && apt-get install -qqy \
 COPY package*.json ./
 RUN npm install --only=production
 COPY . ./
+
+FROM node:14-slim
+COPY --from=0 /usr/src/app /usr/src/app
+WORKDIR /usr/src/app
 CMD [ "node", "index.js" ]

It reduces container image from 1.05GB to 637MB.


feat(validation): Prototyping input validation with @constraint

Goal
Literally as I was looking at graphql-constraint-directive and remembering why I couldn't test it out before, the maintainer merged a fix for it to work with apollo v4. Is it fate?
Note: I contributed a small typescript fix to the library which has been merged but not yet released -- that's what those TODOs are about. I'll also need to do a little more finangling to get this to build in the studio, but it works locally.
I think this is a nice way to go. It's self-documenting and testable. The only thing that we have to consider is that it can't be applied on the arguments, so we'll have to add input types for all the bulk mutations. This would technically be a change to the contract but I don't think it would be problematic. I think the only other viable alternative would be putting it directly in the resolver/model code, as writing our own plugin would be an unnecessary maintenance burden when graphql-constraint-directive already exists.
e.g. instead of
tagRename(input: [TagRenameInput!]!, timestamp: ISOString!): TagWriteMutationPayload!

we'd need something like
input BulkTagRenameInput {
  inputs: [TagRenameInput!]! @constraint(minItems: 1, maxItems: 30)
  timestamp: ISOString!
}

tagRename(input: BulkTagRenameInput): TagWriteMutationPayload!

INFRA-549

Implemented in #717


Multiples ingress support

Describe the bug
Hello, I'm trying to create multiple ingress features to serve various services
Ingress Examples:
NAME         HOSTS                    ADDRESS   PORTS   AGE
flask-app1   flask-app1.exemple.com             80      60m
flask-app2   flask-app2.example.com             80      54m
flask-app4   flask-app4.example.com             80      53m
My Ingress controller it's configured:
https://github.com/Azure/application-gateway-kubernetes-ingress/blob/master/docs/install-existing.md
In the Application Gateways interface, only one RULES ASSOCIATED is enable and  all the traffic always falls into that which is associated, should not all the ingress be associated?

@cristhianbicca can you please share your ingress resource and ingress controller pod logs ?

@cristhianbicca  were you able to resolve the issue ?

@cristhianbicca AGIC does support multiple ingress definitions and multiple host names.  Closing issue since we have not heard from you. Please reopen if you are still unable to configure multiple ingress resources.


Dropdown broken from 0.11.2 onwards

I'm using mean.js stack and when I bump the bower packages to latest, the dropdowns fail to display on click. I worked back through the angular-bootstrap versions until it worked - 0.11.2 is the last time it worked (at least in my build).

This is because 0.12.0 has breaking changes, always check the changelog when you want to upgrade.

Thanks for reminder, still finding my feet.


Free $100 Google Play Gift Card Codes 2024 - How to get Google Play Gift Cards for FREE!

Acknowledgement

[X] I acknowledge that issues using this template may be closed without further explanation at the maintainer's discretion.

Comment
Google Play Redeem Code Free 2024 Today Generator No Survey No Human Verification You Can Achieve Amazing Rewards By Trying Out The Many Offers Within This App To Receive Rewards...
🔴👉 👉CLICK HERE TO FREE GENERATOR
🔴👉 👉CLICK HERE TO FREE GENERATOR
Free Google Play Codes Generator No Human Verification Are You Ready To Get Free Google Play Gift Cards With The Google Play Code Generator You Can Get Free Google Play Gift Card Codes To Use On Your Favorite Android Apps And Games Whether You Re Looking For Google Play Gift Card Giveaways Google Play Money Generators Or Google Play Card Generators With
Free Play Store Redeem Code Generator No Survey No Human Verification Anyway Guys These Are Codes That Can Only Be Redeemed Once Some Codes Only Work For Some Specific Apps So You Have To Check All The Codes Whether Are Working Or Not We Add Updated Redeem Codes As Soon As We Get A New Google Play Redeem Code Free 2024 Today
Hey there! It sounds like you're interested in Google Play gift card generators. You might be looking for a way to get some free Google Play gift codes without human verification, right? Well, you're in luck because I've got some cool info to share with you!First off, let's talk about Google Play gift cards. They're awesome because they let you buy all sorts of cool stuff like apps, games, movies, music, and more from the Google Play Store. But wouldn't it be even cooler if you could get those gift cards for free? That's where a Google Play gift card generator comes in!
Now, you might have come across some generators that claim to give you free Google Play gift codes without any human verification. It's important to be cautious with these because some of them might not be legit. But if you find a reliable and trustworthy generator, it can be a great way to score some freebies for your favorite apps and games.
So, what about the Google Play gift card generator 2024? That sounds like something from the future, doesn't it? Well, who knows what cool advancements might be in store for gift card generators in the future! It's always exciting to think about what's coming next.
When it comes to using a gift card generator, it's important to always prioritize safety and security. Make sure to choose a generator that doesn't require any sketchy human verification steps or personal information. You want to enjoy your free gift cards without any hassle or risks.
In conclusion, Google Play gift card generators can be a fun way to score some freebies for your favorite digital goodies. Just remember to stay safe and only use trustworthy generators. And who knows, maybe in 2024, we'll be seeing some even more advanced and exciting developments in the world of gift card generators!

lmao what


Creative common licence step not loading

When enabling  in item-submission.xml configuration, CC licence segment does not appear on submission form.
If a DEBUG level I can see that CC Licence step got prepared :
[DEBUG] 2021-10-11 19:08:42.833 [https-openssl-apr-8443-exec-3] SubmissionConfigReader - Submission process config has 2 steps listed. [DEBUG] 2021-10-11 19:08:42.833 [https-openssl-apr-8443-exec-3] SubmissionConfigReader - Loading submission process config named 'Publication' [DEBUG] 2021-10-11 19:08:42.833 [https-openssl-apr-8443-exec-3] SubmissionConfigReader - Submission process config 'Publication' not in cache. Reloading from scratch. [DEBUG] 2021-10-11 19:08:42.833 [https-openssl-apr-8443-exec-3] SubmissionConfig - Added step 'org.dspace.app.rest.submit.step.CollectionStep' as step #0 of submission process Publicat                 ion [DEBUG] 2021-10-11 19:08:42.833 [https-openssl-apr-8443-exec-3] SubmissionConfig - Added step 'org.dspace.app.rest.submit.step.DescribeStep' as step #1 of submission process Publicatio                 n [DEBUG] 2021-10-11 19:08:42.833 [https-openssl-apr-8443-exec-3] SubmissionConfig - Added step 'org.dspace.app.rest.submit.step.DescribeStep' as step #2 of submission process Publicatio                 n [DEBUG] 2021-10-11 19:08:42.833 [https-openssl-apr-8443-exec-3] SubmissionConfig - Added step 'org.dspace.app.rest.submit.step.UploadStep' as step #3 of submission process Publication [DEBUG] 2021-10-11 19:08:42.833 [https-openssl-apr-8443-exec-3] SubmissionConfig - Added step 'org.dspace.app.rest.submit.step.CCLicenseStep' as step #4 of submission process Publicati                 on [DEBUG] 2021-10-11 19:08:42.833 [https-openssl-apr-8443-exec-3] SubmissionConfig - Added step 'org.dspace.app.rest.submit.step.LicenseStep' as step #5 of submission process Publication [DEBUG] 2021-10-11 19:08:42.833 [https-openssl-apr-8443-exec-3] SubmissionConfigReader - Submission process config has 6 steps listed.
Bit later code prints out an Exception related to CC Licence :
[ERROR] 2021-10-11 19:34:34.756 [https-openssl-apr-8443-exec-9] AInprogressItemConverter - An error occurred during the unmarshal of the data for the section cclicense - reported error: null java.lang.NullPointerException: null 	at org.dspace.app.rest.converter.ConverterService.toRest(ConverterService.java:107) ~[classes/:7.1-SNAPSHOT] 	at org.dspace.app.rest.submit.SubmissionService.getDataCCLicense(SubmissionService.java:307) ~[classes/:7.1-SNAPSHOT] 	at org.dspace.app.rest.submit.step.CCLicenseStep.getData(CCLicenseStep.java:41) ~[classes/:7.1-SNAPSHOT] 	at org.dspace.app.rest.submit.step.CCLicenseStep.getData(CCLicenseStep.java:26) ~[classes/:7.1-SNAPSHOT] 	at org.dspace.app.rest.converter.AInprogressItemConverter.fillFromModel(AInprogressItemConverter.java:105) [classes/:7.1-SNAPSHOT] 	at org.dspace.app.rest.converter.WorkspaceItemConverter.convert(WorkspaceItemConverter.java:35) [classes/:7.1-SNAPSHOT] 	at org.dspace.app.rest.converter.WorkspaceItemConverter.convert(WorkspaceItemConverter.java:23) [classes/:7.1-SNAPSHOT] 	at org.dspace.app.rest.converter.ConverterService.toRest(ConverterService.java:108) [classes/:7.1-SNAPSHOT] 	at org.dspace.app.rest.repository.WorkspaceItemRestRepository.findOne(WorkspaceItemRestRepository.java:137) [classes/:7.1-SNAPSHOT] 	at org.dspace.app.rest.repository.WorkspaceItemRestRepository.findOne(WorkspaceItemRestRepository.java:75) [classes/:7.1-SNAPSHOT] 	at org.dspace.app.rest.repository.WorkspaceItemRestRepository$$FastClassBySpringCGLIB$$987ae76d.invoke(<generated>) [classes/:7.1-SNAPSHOT] 	at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) [spring-core-5.2.5.RELEASE.jar:5.2.5.RELEASE] 	at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:771) [spring-aop-5.2.5.RELEASE.jar:5.2.5.RELEASE]
In result CC Licence step is not appearing on submission form
Strange is that submission process calls "AInprogressItemConverter" and code expects a CC Licence values to be present in fresh Item object metadata.

@MarisArins : I'm able to reproduce this as well.  I cannot get the CC License step to load.  Moving this to our 7.2 board & flagging as high priority.

Sorry I have nothing to contribute other than a "me too".  We're in the process of moving from 6.x to 7.x and are seeing this same "An error occurred during the unmarshal of the data for the section cclicense" error with a fresh install of 7.2.1 after enabling the cclicense step.


When double clicked on button , from page CupertinoNavigationBar is disappear！

Steps to Reproduce

Forgive me!
My English is very poor, so  I use Chinese description this bug.
项目是官方给出的"flutter_gallery"
进入项目更目录后运行
flutter run

打开APP进入到Cupertino > Navigation
随便点击一个色块后，用手势返回。
快速再次点击一下色块，就会出来如下logs
如果不出现logs，重复2->3->2->2->3...

猜测原因：手势返回后Router中动画未完成，点击了Navigation.of(context).push(...)导致的。
This is “flutter run —release” on iOS screen
https://youtu.be/jWtQhmK2Hyo
Logs

🔥  To hot reload changes while running, press "r". To hot restart (and rebuild state), press "R".
An Observatory debugger and profiler on MI 5X is available at: http://<IP_ADDRESS>:50254/
For a more detailed help message, press "h". To detach, press "d"; to quit, press "q".
I/zygote64(13160): Do partial code cache collection, code=29KB, data=20KB
I/zygote64(13160): After code cache collection, code=29KB, data=20KB
I/zygote64(13160): Increasing code cache capacity to 128KB
I/zygote64(13160): Do partial code cache collection, code=61KB, data=45KB
I/zygote64(13160): After code cache collection, code=61KB, data=45KB
I/zygote64(13160): Increasing code cache capacity to 256KB
I/flutter (13160): ══╡ EXCEPTION CAUGHT BY SCHEDULER LIBRARY ╞═════════════════════════════════════════════════════════
I/flutter (13160): The following assertion was thrown during a scheduler callback:
I/flutter (13160): 'package:flutter/src/widgets/heroes.dart': Failed assertion: line 485 pos 14: 'manifest.toHero ==
I/flutter (13160): newManifest.fromHero': is not true.
I/flutter (13160):
I/flutter (13160): Either the assertion indicates an error in the framework itself, or we should provide substantially
I/flutter (13160): more information in this error message to help you determine and fix the underlying cause.
I/flutter (13160): In either case, please report this assertion by filing a bug on GitHub:
I/flutter (13160):   https://github.com/flutter/flutter/issues/new?template=BUG.md
I/flutter (13160):
I/flutter (13160): When the exception was thrown, this was the stack:
I/flutter (13160): #2      _HeroFlight.divert (package:flutter/src/widgets/heroes.dart:485:14)
I/flutter (13160): #3      HeroController._startHeroTransition (package:flutter/src/widgets/heroes.dart:682:25)
I/flutter (13160): #4      HeroController._maybeStartHeroTransition.<anonymous closure> (package:flutter/src/widgets/heroes.dart:630:11)
I/flutter (13160): #5      _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:990:15)
I/flutter (13160): #6      _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:938:9)
I/flutter (13160): #7      _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding._handleDrawFrame (package:flutter/src/scheduler/binding.dart:842:5)
I/flutter (13160): #11     _invoke (dart:ui/hooks.dart:189:10)
I/flutter (13160): #12     _drawFrame (dart:ui/hooks.dart:162:3)
I/flutter (13160): (elided 5 frames from class _AssertionError and package dart:async)
I/flutter (13160): ════════════════════════════════════════════════════════════════════════════════════════════════════
I/flutter (13160): Another exception was thrown: Cannot reuse a CupertinoPageRoute<void> after disposing it.

➜  flutter_gallery git:(06b979c4d) flutter doctor -v
[✓] Flutter (Channel unknown, v1.2.0, on Mac OS X 10.14.3 18D109, locale zh-Hans-CN)
    • Flutter version 1.2.0 at /Users/hbsion/dev/flutter
    • Framework revision 06b979c4d5 (5 weeks ago), 2019-01-25 14:27:35 -0500
    • Engine revision 36acd02c94
    • Dart version 2.1.1 (build 2.1.1-dev.3.2 f4afaee422)

[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
    • Android SDK at /Users/hbsion/Library/Android/sdk
    • Android NDK at /Users/hbsion/Library/Android/sdk/ndk-bundle
    • Platform android-28, build-tools 28.0.3
    • ANDROID_HOME = /Users/hbsion/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01)
    • All Android licenses accepted.

[✓] iOS toolchain - develop for iOS devices (Xcode 10.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 10.1, Build version 10B61
    • ios-deploy 1.9.4
    • CocoaPods version 1.5.3

[✓] Android Studio (version 3.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 26.0.1
    • Dart plugin version 173.4700
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01)

[✓] VS Code (version 1.31.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 2.24.0

[✓] Connected device (1 available)
    • MI 5X • becf9bc50504 • android-arm64 • Android 8.1.0 (API 27)

• No issues found!

I have the same issues.

Assigning to @LongCatIsLooong to double check but I suspect we already fixed this

@xster tested on master on ios, unfortunately the toHero != fromHero issue still persists. Wasn't able to reproduce Cannot reuse a CupertinoPageRoute<void> after disposing it. Looking into it.

Thanks

No longer reproducible on master(4ff467191b13da6bdb3e0a9420c1d2b487176ed4), closing. @hbsion @John251314 if you are still having this issue on master, feel free to reopen.


Doesn't work with target set to serverless

Describe the bug
When adding target: serverless to next.config.js, creating a build results in the following error:

To Reproduce
Steps to reproduce the behavior:

Clone the repo
Add target: serverless to next.config.js
Run npm run build
See error

Expected behavior
It should build successfully.
System Info (if dev / build issue):

OS: Mac
Node version (please ensure you are using 12+): 14.17.4
Npm version: 6.14.4

Hi @ryands17, it seems like serverless does not cover the full feature set and is no longer recommended.
See related posts: https://github.com/vercel/next.js/issues/20790, https://github.com/vercel/next.js/issues/20487#issuecomment-753884085

Would you have any idea of how to deploy this on Lambda for e.g. without the serverless target?

Would you have any idea of how to deploy this on Lambda for e.g. without the serverless target?
Unfortunately not.

If not, would it be possible to make this work with target: 'serverless' by coming up with a fix?
Have to check what's causing it first.

If anyone else has experience deploying it on Lambda, appreciate your input.

Just tried replicating the problem on a freshly clone version of the master branch - it works for me with target: serverless. Are you using the js or ts branch? And does it work for you if you exclude the target: serverless line?

Could you try installing the modules with yarn instead of npm and check? It seems that when I install them with npm it works fine, but on installing with yarn it gives me the above error.

I get the same error as well with yarn and serverless. It works without the serverless setting, so I guess it's some interaction between yarn, nextjs serverless and webpack 5 that might be causing it.


cmd/compile: replace ir.Node with *ir.Name or *ir.Func where appropriate

On the dev.regabi branch, there's now a lot of code that uses ir.Node when really *ir.Name or *ir.Func would be sufficient, clearer, and more efficient. We should change those where possible.
For example, both of these fields only ever store *ir.Name:
https://github.com/golang/go/blob/351bc2f38c4291c01299c2add16f1f5a96e54bb4/src/cmd/compile/internal/gc/plive.go#L106-L107
As basic steps, I'd recommend:

Pick a slice or map that appears to only be used for variables (or functions) and change it from ir.Node to *ir.Name (or *ir.Func).

Add type assertions and type conversions as necessary to get it to compile.

Check that it still works correctly.

Rewrite function signatures to push the type assertions as far out as possible.

Beware: Sometimes code may mostly store Names, but still occasionally store other Nodes. For example, state.vars says it's only used for ONAMEs, but then OANDAND/OOROR nodes end up getting stuffed in there too.
I'd recommend for contributors to start small. Maybe a few variables. Ideally sticking to just one file at a time. Also, coordinate here to avoid redundant work, or to ask questions if you're unsure.
/cc @cuonglm @zephyrtronium @rsc

Actually, I think this can be largely automated using x/tools/go/pointer. So I recommend folks hold off until I've had a chance to try that.

x/tools/go/pointer seems like it could work, but it computes a lot more information than we need for this. So I'm going to try writing a custom SSA analyzer instead that should scale better for this use case.
I've also written github.com/mdempsky/gclint to identify cases that merit attention. You can run:
go install github.com/mdempsky/gclint@latest
gclint cmd/compile/internal/gc

to get the warnings.
There's also an -assign flag that warns about assignments of *ir.Name to ir.Node, but currently this is very noisy.

We're continuing to work on this, but I think this is largely done now. Remaining pieces are being picked up as they're found.

We're continuing to work on this, but I think this is largely done now. Remaining pieces are being picked up as they're found.


Add newlines to recipe descriptions/notes

Recipes have newlines in some of their descriptions and notes, in order to separate different items e.g. Vegetable crumble
These should be captured in the resulting HTML as separate paragraphs.

40m fixing my Python environment, 5m coding, classic

I can't find any recipes where the description would neccessitate having multiple paragraphs. Given the description gets used in SEO tags I think it's best to encoradge short snappy ones, with extranious details kept to the notes.


Add option to save all traces

This adds an option to QCVEngine to save all traces instead of just failures. I'm happy to implement any suggestions on how to do this in a cleaner way!

Interesting. Probably a good idea (presumably for something like checking coverage?) I think this is probably the right way to do it. I'll do detailed review on Monday, but one thought: is there any reason you save out the unannotated test rather than m_traceAB, which should have comments including what the implementations said? I'm a bit fuzzy on all the types involved though, because I haven't touched this for quite a while.

Didn't think of trying m_traceAB. The show test looks something like:
# Automatically generated test case
#>QCVENGINE_TEST_V2.0
.4byte 0x00000017 # auipc x0, 0
...
# Test end

While showing the m_traceAB looks something like:
# Automatically generated test case
Just #>QCVENGINE_TEST_V2.0
((.4byte 0x99c00793 # addi x15, x0, -1636,Just Trap: False, PCWD: 0x0000000080000084, RD: 15, RWD: 0x00000000fffff99c, MA: 0x0000000000000000, MWD: 0x0000000000000000, MWM: 0b00000000, MRD: 0x0000000000000000, MRM: 0b00000000 I: 0x0000000099c00793 PRV_? XL:? (addi x15, x0, -1636)),Just Trap: False, PCWD: 0x0000000080000084, RD: 15, RWD: 0x00000000fffff99c, MA: 0x00000000fffff99c, MWD: 0x0000000000000000, MWM: 0b00000000, MRD: 0x0000000000000000, MRM: 0b00000000 I: 0x0000000099c00793 PRV_? XL:? (addi x15, x0, -1636))
...
((# Test end,Just halt token),Just halt token)

I think I prefer showing just the test because of readability and being able to replay the test back through TestRIG.


Feature/keras support

InceptionV3 was not read correctly by the pytorch encoder, which is due to the use of functional kernel-based operations. This type of operation is now prohibited by the library and will crash the graph-creation process, since it would otherwise lead to hard-to-detect and misleading visualizations. It is possible to coerce and plot the graph anyway by changing the setting of the corresponding LayerHandler
Tensorflow-Models can now be visualized if they use keras.Model as their container of choice.
Moved torch and torchvision to extra dependencies, since now the use tensorflow as an alternative framework.

Codecov Report

Merging #24 (7ddfa0d) into main (d57f427) will increase coverage by 0.34%.
The diff coverage is 86.07%.

@@            Coverage Diff             @@
##             main      #24      +/-   ##
==========================================
+ Coverage   82.26%   82.60%   +0.34%
==========================================
  Files          18       21       +3
  Lines        1274     1420     +146
==========================================
+ Hits         1048     1173     +125
- Misses        226      247      +21

Impacted Files
Coverage Δ

...a_toolbox/encodings/pytorch/ingest_architecture.py
83.70% <0.00%> (-2.23%)
:arrow_down:

rfa_toolbox/vis_script.py
0.00% <0.00%> (ø)

rfa_toolbox/__init__.py
66.66% <63.63%> (-33.34%)
:arrow_down:

rfa_toolbox/encodings/pytorch/layer_handlers.py
87.36% <70.58%> (+0.02%)
:arrow_up:

.../encodings/tensorflow_keras/ingest_architecture.py
85.45% <85.45%> (ø)

...olbox/encodings/tensorflow_keras/layer_handlers.py
95.45% <95.45%> (ø)

...fa_toolbox/encodings/pytorch/intermediate_graph.py
93.82% <100.00%> (-0.15%)
:arrow_down:

tests/test_encodings/test_pytorch.py
100.00% <100.00%> (ø)

tests/test_encodings/test_tensorflow.py
100.00% <100.00%> (ø)

... and 1 more

Continue to review full report at Codecov.

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


Request: addItem > always save extra attributes

For each product i've got a seperate 'product_remarks' field which can be filled before adding the buyable product to the cart. This field can contain 'custom information' about the product and it should be possible to edit this field.
The first time i add a product to the cart this attribute is saved properly. However the second time it is ignored. This can be traced to the if in: src\Models\Cart.php > addItem()
To be clear, i'm not using this attribute to copy existing buyable model attributes, but to add a custom attribute. Is it possible to implement something like this?

Moved away from Vanilo, so no longer an issue.


Update: Selur.Hybrid version 0.2.6 (2<IP_ADDRESS>)

Created by 🥟 Dumplings.
Microsoft Reviewers: Open in CodeFlow

Close with reason: Duplicate of #146588;


Add BlockHarvestEvent, changes how silk touch enchant works

I have created a new event, BlockHarvestEvent see the javadoc.
This is the result from a previous PR, #422

im not sure about removing the dropped item from the break event, but otherwise I like it.

@me4502 At the time of the BlockBreakEvent the dropped items aren't technically known, since that is the point of the BlockHarvestEvent (to determine what blocks should drop).
I wonder though if the BlockHarvestEvent should perhaps not be explicitly cancellable, since (unless I am misunderstanding the point of the harvest event) at that point the BlockBreakEvent has already been thrown and returned uncancelled so at this point it doesn't make much sense to cancel the harvest event (if you wanted no items to drop you could just clear the dropped items). Ehhh on second though perhaps it is less destructive to have it cancellable rather than forcing plugins to just clear the dropped items, makes it easier for another plugin to later uncancel it. Thoughts?

So basically you replace the internal silk touch with an event driven one?
Except that one, i like the idea of this PR.

I vote keeping it cancellable, it's less destructive.

Maybe a way to get what enchantments have affected the output?
Eg, fortune

Enchantment is to limited. Some plugins may want to add looting potions. So maybe this is something for our Cause System.
But then we should also use something like AttributeModifiers to keep track of all the changes.
This would also enable use to cancel the silk touch or fortune enchantment alone.

Pinging rest of @SpongePowered/developers for opinions.

After a draft implementation on top of forge's BlockEvent.HarvestDropsEvent, I discovered a few potential issues.
Of course we should not be limited to how forge works, but there may be reasons for it among other things.

The drop chance is not always used, and sometimes completely ignored
The event is not cancellable
The event is fired after deciding whether it's a silk touch operation (hence why there is no setSilkTouch(boolean) method ATM)
Firing the event does nothing, it's only for listening

It'd be useful if someone could evaluate these points to see whether anything should be changed.

Our cancellable could just map to emptying the internal list of items in forge.

The last commit failed to build on travis

@me4502 There's going to be some issues when implementing this that I realized. I think it's because I was copying forge's event too closely.
I'm not sure whether dropChance should be part of the event since it's not always taken into account.
I think I should remove the event creation from SpongeEventFactory as it cannot be fired manually. (A plugin should either destroy the block or just spawn Item entities if they want to get a similar effect)
Was hoping my points above would have got a yay/nay before being merged.

Most events do nothing when fired, plugins can use it for support purposes.

@me4502 What do you mean "most events do nothing when fired"?

If a plugin fires a block break event, the block won't break, only the event will be fired.

Hmm so why would we want plugins to fire those events manually? It seems like that could confuse any plugins listening to that event.

could add a check to events to see if its from an actual game event or if its from a plugin. something like vanilla-only=true in the annotation so its not passed. separate pr, though.

Let's say a plugin wants to break a block. Before the break it, they send out the event to see if they're allowed to.
Plugins sending events is a very valid use case.

Just to add, when plugins have historically thrown fake block place events they usually cancel them at the last possible moment in order to prevent logging plugins from logging the change.

Yeah I'm concerned about not differentiating between plugin checks and
vanilla events. What about a base event flag for isPlugin() that can be
checked to avoid doing things like adding a bonus when a plugin breaks a
block or something similar?
This needs some thought.

This may have been merged, but I'm lost to where it's gone post event refactor. Has it just been removed or is there some other way to access the data, specifically looking at explosion drop rates.

@ryantheleach I think what you're after is DropItemEvent.Destruct

Called when one or more {@link Item} drops are triggered by an object such as an {@link Entity} or {@link BlockType} destruction.


add CLI parameter to get inferred version: -V or --version

Hey @ksindi, @mowies, would that work for you?
Close #44

Release as v0.5.2. Thanks @chagui! :heart:


Warning Message in yin

For some of my audio I'm getting a warning message:

yin.py:44: RuntimeWarning: invalid value encountered in true_divide
cmndf = df[1:] * range(1,N) / np.cumsum(df[1:]).stype(float) #scipy method

Any ideas?  The problem children are encoded exactly like their peers.
Thanks

I got the same error.

For some of my audio I'm getting a warning message:

yin.py:44: RuntimeWarning: invalid value encountered in true_divide
cmndf = df[1:] * range(1,N) / np.cumsum(df[1:]).stype(float) #scipy method

Any ideas? The problem children are encoded exactly like their peers.
Thanks

Did you solve the problem? If so, may I ask how you did so? If not, did you ignore the warning and continue training? How were the results?

My impression is that this is caused by the whole window segment being silence.  I think I may have fixed this by just adding a little offset to the denominator to keep it from being a true zero.  The other approach is to curate your dataset to remove any excess silence from your recordings

My impression is that this is caused by the whole window segment being silence. I think I may have fixed this by just adding a little offset to the denominator to keep it from being a true zero. The other approach is to curate your dataset to remove any excess silence from your recordings

Thank you. Adding offset to the denominator got rid of the warning.


Latest match days missing

Matches for England v. Panama, Senegal v. Japan, Colombia v. Poland, Russia v. Uruguay, Egypt v. Saudi Arabi, Portugal v. Iran, and Spain v. Morocco are missing.
For record, those scores are:
England 6 - 1 Panama
Senegal 2 - 2 Japan
Colombia 3 - 0 Poland
Russia 1 - 3 Uruguay
Egypt 1 - 2 Saudi Arabi
Portugal 1 - 1 Iran
Spain 2 - 2 Morocco

Looks like we were framed. Data is not updated or updated but extremely rare. It is necessary to correct manually, this is very bad

This is a community effort. Please read issue #7 for more information.
Q: What’s the update frequency of the datasets?
A: It’s an open source (public domain) volunteer effort. Datasets get updated when they get updated, that is, there’s no schedule and no guarantee. If you need updates today you have at least two options:
Option 1) Contribute your updates to the datasets.
Option 2) Clone the datasets and update your own private or public copies yourself.

Hm, what about:

Automate, Automate, Automate
If all works (almost) daily updates get pushed by yorobot. See the yorobot/football.db build scripts for the (auto-)update machinery.

See https://github.com/openfootball/world-cup.json/issues/7 on how to help to update the scores. There no magic robot for step one (updating the scores in cup.txt). Why not help to update the scores? Yes, YOU! Yes, you can.

I'm sorry, I was confused because I've been using the JSON and I could have sworn the README said not to manually change the JSON.

FYI: It says it in the README. Please update the (plain) source text e.g. cup.txt (and NOT the generated JSON files - they will get overwritten with every update).  Learn more about the football.db @ http://openfootball.github.io/.


Noob issue: .ENV configuration of WP URLs

Hello everyone, as I am starting to get familiar with Bedrock, I am a little confused about setting the WP URLs in .ENV file.
From ReadMe:

WP_HOME - Full URL to WordPress home (http://example.com)
WP_SITEURL - Full URL to WordPress including subdirectory (http://example.com/wp)

The index.php (with require '/wp/wp-blog-header.php') and wp folder (with "Wordpress stuff) lays under web folder, right? So it should be like this:

WP_HOME - Full URL to WordPress home (http://example.com/web)
WP_SITEURL - Full URL to WordPress including subdirectory (http://example.com/web/wp)

Setting "web" in URLs work for me (does not throw 404 errors on http://example.com/wp/wp-admin and actually displays something on http://example.com) but it's obviously not very pretty.
So... Should I manually edit my .htaccess file? And sorry in advance, guys, I'm sure I'm missing something obvious. :) Thanks, P!

@cibulka thanks for the last link - saved me heaps of time.


Pandas Dataset API

added base framework for dataset api

Happy to merge this as alpha but df.info needs a bit more work. The values it returns are quite strange.
'dtypes': {'text': 24,
  "{'vector': 768}": 1,
  "{'vector': 9}": 1,
  'date': 1,
  'dict': 8,
  "{'vector': 512}": 11,
  'numeric': 5}}

Furthermore, head should actually use show_json. Have you seen that before?

Due to git merge conflict - opened in other branch.


metrics endpoint stopped responding

I have service running on kubernetes. I have prometheus operator installed (using helm) and the services using python 2.7. I would also mention that we are using gevent.
The code is as such:
    def setup(self, contextId, port, isTest=False):
        if self._workerThread is not None:
            logging.error(u"Metrics already setup")
            return

        logging.info(u"Starting metrics listener on port {}".format(port), extra=makeExtraFromContextId(contextId))

        self._port = port
        self._isTest = isTest

        if not self._isTest:
            self._workerThread = Thread(target=self._httpWorkerFunction, args=[contextId, self._event])
            self._workerThread.start()

    def _httpWorkerFunction(self, contextId, event):
        try:
            app = make_wsgi_app()
            httpd = make_server('', self._port, app)
        except Exception as ex:
            logging.exception(u"Failed to start metrics listener on port {} - {}".format(self._port, ex.message),
                              extra=makeExtraFromContextId(contextId))

            return

        while not event.is_set():
            try:
                httpd.handle_request()
            except Exception as ex:
                logging.exception(u"Exception in metrics listener request handle {}".format(ex.message))

Everything was working fine until suddenly I get an alert that some of the services are down.
These are two different services, one with 2 pods and the other with 3. 1 of the first services and 2 of the second stopped responding.
I tried calling the metrics endpoint myself from within the other pods but the request just hangs and eventually times out.
I haven't restarted them yet so we can investigate but I really have no idea that happened.
Any help would be much appreciated

@brian-brazil Any help? :(

It makes more sense to ask questions like this on the prometheus-users mailing list rather than in a GitHub issue. On the mailing list, more people are available to potentially respond to your question, and the whole community can benefit from the answers provided.

@brian-brazil
I posted: https://groups.google.com/forum/#!searchin/prometheus-users/nadav|sort:date/prometheus-users/b0fSfIBTxTw/yRGneusfBwAJ
and not a single comment
Could you please help? this is affecting our production

@brian-brazil
Any help would be much appreciated


Ensure Modernizr is installed correctly

Currently there are problems with rendering modernizr JS files. This can be due to not being completely installed or an error in installation.

@kbaumzie if you use the <% javascript_include_tag :modernizr %> it should work as intended


passing validSuffix not working as expected

Hello again!
I'm trying to add a few other domains to be treated as valid suffixes, using the validHosts API option.
Am I using this incorrectly? or is it possible to add my own list of public suffixes? If not I have a workaround I can use outside of this library 😃
const {parse} = require('tldts');
const parsed = parse("subdomain.wordpress.com", {
   allowPrivateDomains: true,
   validHosts: ['wordpress.com']
});
expect(parsed.domain).to.equal("sub.wordpress.com");
// domain actually equals "wordpress.com"

Hi again @davidbielik,
I am afraid that at the moment there is no way to extend the list of public suffixes dynamically. This was a choice I made early on as my top-priority was speed and I sacrificed a bit of flexibility for this. As a result, tldts will have built-in lists which are compiled in a very efficient form at build-time but cannot be changed at runtime.
In principle this could be changed, as long as I can do it without impacting performance of other methods.
I'm sorry to not have a more satisfying answer to give you at this point!
Best,

No problem, easy enough to add the logic myself. Thanks for your help!


Fix React build crashing watch-client and added watch mode

Description:
Improved the experience of using building using react by

Included Nodemon as a dependency for watch functionality with scope-tailwind
Added watch functionality with tsup
Removed all rimraf and cleanup operations because it was causing watch-client to crash when building react
Added an npm run watchreact command to start the watcher

Issue:
Resolves #178 by improving the existing build process

This is amazing, nice job! Just merged.
In the future it would be great to incorporate this into the gulpfiles so that it 1. auto-watches when you press Ctrl+Shift+B and 2. auto-builds when you run the build script.

This is amazing, nice job!
In the future it would be great to incorporate this into the gulpfiles so that it 1. auto-watches when you press Ctrl+Shift+B and 2. auto-builds when you run the build script.

Glad this worked for you!
I'll look into incorporating it into the gulpfiles.
Cheers! :)


chore: release 0.18.4

Release notes

Codecov Report

Merging #129 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #129   +/-   ##
=======================================
  Coverage   98.08%   98.08%
=======================================
  Files          15       15
  Lines        2874     2874
  Branches      165      165
=======================================
  Hits         2819     2819
  Misses         31       31
  Partials       24       24

Continue to review full report at Codecov.

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


[Translate ko_KR] why-https

Check out a review request at GitLocalize

Agreed the CLA.

@ilyaspiridonov I think this one needs a review.


Action to auto sync fork

Checklist for Pull Requests

[x] Have you signed the Contributor License Agreement?
[ ] Is there a linked Issue?

Manifests

[x] Have you checked that there aren't other open pull requests for the same manifest update/change?
[x] This PR only modifies one (1) manifest
[x] Have you validated your manifest locally with winget validate --manifest <path>?

[x] Does your manifest conform to the 1.6 schema?

Note: <path> is the directory's name containing the manifest you're submitting.

This pr add a new action to sync fork with upstream(microsoft/winget-pkgs) schedually.
This action will not be triggered in microsoft/winget-pkgs, and will run every 3 days only in forks.
Microsoft Reviewers: Open in CodeFlow

I have test it in my fork and it works.
https://github.com/eat-pray-ai/winget-pkgs/actions/runs/9824958955

/azp run

/azp run

/azp run

/azp run

Thanks for your contribution @OpenWaygate. At this point in time, I don't believe we need a specific action to sync forks. This could also cause additional significant load on the GitHub backend as there are more than 4,500 forks at this time. The tooling that would require a fork to be synced such as WinGetCreate or YamlCreate now either sync the fork automatically, or use detached references to avoid any issues caused by forks being out of sync.
Close with reason: Stale PR;

Close with reason: Stale pull request;


Customize weekCalendar row and column headers

Hi,
First, thanks for this wonderful tool.
Is it possible to customize (or change) the weekCalendar columns headers. I use the French local as a config and I would like to display the full name of the day instead of the abbreviation ?
Example : Monday is just displayed as "Mon." instead of "Monday" for english locale.

Is it also possible to customize the row headers (hours, background color) because when I set the boundaries between 7:00 am and midnight for instance, 7:00 is not display (although the slot exists for this hour) ?
Example :

Thanks and best regards !

Hey.
Thanks for opening this issue.
In regards to displaying the full name, I will not build this option into the library at this point. The reason for this, is I'm trying to keep the library core as small as possible. Though I want to allow for customization, I need to find a balance for how granular those customization options will be.
That said, if you really want the full weekday name you could achieve this by means of JavaScript. I won't be changing class names without announcing it as a breaking change in major versions, so targeting for example sx__week-grid__day-name should be safe


Support bipolar readout

Correct trajectory calculation for bipolar (i.e. reversed) readout.
closes #184
closes #50
requires #221
Update: actually does not require #217
ToDo:

[x] Fix encoding limits for readout in KData
[x] Add tests for bipolar readout

Do you have a test case that fails because of #221 ?

consider the comit a suggestion for the k0 calculation that saves a few steps

Could you also write a sentence in #50 how you solve it?

Could you also write a sentence in https://github.com/PTB-MR/mrpro/issues/50 how you solve it?

done


Example rename: book-html

to clarify that html source files should be supported

renamed simple-book to book-html
renamed source directory from markdown to source
updated README so command line reflects new names

prepping to fix https://github.com/ultrasaurus/webgenr/issues/3


Related datasets under datasets

Summary
Currently the "related datasets" tab under the dataset details is not showing the related datasets.
Steps to Reproduce
View a raw dataset linked to a derived dataset and vice-versa.
Current Behaviour
Currently a blank page is shown
Expected Behaviour
Show the related datasets

We need to find which calls are made to the backend from the frontend.

I investigated better the issue. The related datasets tab is left empty if the derived dataset is listing an invalid pid.
While viewing a derived dataset, we should highlight the input datasets that are not valid.
I will open a new ticket with the improvement


need fix LevelExplodeEvent

(const _onLevelExplode = procHacker.hooking("?explode@Level@@UEAAXAEAVBlockSource@@PEAVActor@@AEBVVec3@@M_N3M3@Z" .... ) need update to "?explode@Level@@UEAA_NAEAVBlockSource@@PEAVActor@@AEBVVec3@@M_N3M3@Z"

I missed what is hard to be missed..
Thanks for reporting it.
It was fixed.


Report route filtering on source server

The source server will now report any filtering it will be doing on connected routes.
Signed-off-by: Derek Collison<EMAIL_ADDRESS>/cc @nats-io/core

Coverage decreased (-0.1%) to 92.109% when pulling 4b7cca2f5ee4271e193373b0d90f8c42537b0b5c on routes_perm_reporting into bc693ad89490f8b1bb9f9778f5ce35ef8b16365c on master.


Add files via upload

credit to https://steamcommunity.com/sharedfiles/filedetails/?id=3353849212

Q
A

Bug fix?
yes / no

New feature?
yes / no

Needs wipe?
no

Description:

Content:

[ ] Content part

Successfully tested on:

[ ] Local MP
[ ] Dedicated MP

Adding Stubbholt to the list, credit to https://steamcommunity.com/sharedfiles/filedetails/?id=3353849212


Switch to gcr.io/kubebuilder/kube-rbac-proxy

What type of PR is this?
/kind documentation
What this PR does / why we need it:
The old location does not seem to be the official one, so we switch over to the new one as well as adapt the dependency verification.
Which issue(s) this PR fixes:
Fixes https://github.com/kubernetes-sigs/security-profiles-operator/issues/1423

Does this PR have test?
Yes

Special notes for your reviewer:
None
Does this PR introduce a user-facing change?

Switched to `gcr.io/kubebuilder/kube-rbac-proxy` from `quay.io/brancz`.

Codecov Report

Merging #1429 (31bdbb1) into main (3e42cf0) will not change coverage.
The diff coverage is n/a.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1429   +/-   ##
=======================================
  Coverage   44.13%   44.13%
=======================================
  Files          50       50
  Lines        5651     5651
=======================================
  Hits         2494     2494
  Misses       3037     3037
  Partials      120      120

/lgtm

/retest

/test pull-security-profiles-operator-test-e2e

/lgtm


Update dependencies

@jwendell: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

release-notes_istio_release-1.7
58184116dad6a26d4a6cdc533bce8174dd56ce0a
link
/test release-notes_istio_release-1.7

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.


Set child block on the DOING task

If the DOING block contains like #tag in the first line, use the next lines in the DOING block to insert some child blocks by user plugin settings.

⚠ In the future, split to new plugin

https://github.com/sawhney17/logseq-custom-workflow-plugin/issues/4


[Bug]: stop battery model options warning

PyBaMM Version
23.9
Python Version
3.11
Describe the bug
How to stop battery model options warning, when you use lumped battery sub model?
Steps to Reproduce
How to stop battery model options warning, when you use lumped battery sub model?
Relevant log output
No response

.

@Jadhav-Sourabh Can you share the warnings and example code?

@Jadhav-Sourabh Can you share the warnings and example code?

Run basic discharge simulation with DFN, Prada parameters set, lumped thermal with Casadi solver. You will get optional warning about needed parameters because of lumped thermal sub model (add cell cooling surface area, cell volume, total heat transfer coefficient, asking to use BatteryModelOptions)

Can we like pass the options in a dictionary while building the model?
Something like
options = {     "cell cooling surface area": x,     "cell volume": y,     "total heat transfer coefficient": z } model = pybamm.modelname(param, options)

This is just a warning as in the latest version we changed which parameters are used in the lumped model - the lumped model always uses the lumped parameters.
In version 24.1 the parameters GeometricParameters.A_cooling and GeometricParameters.V_cell are now computed from the electrode heights, widths and thicknesses if the "cell geometry" option is "pouch" and from the parameters "Cell cooling surface area [m2]" and "Cell volume [m3]", respectively, otherwise. The warning is removed in 24.1 as this is how the lumped model used to calculate these quantities (albeit the implementation was different).
So this isn’t a bug, just a warning to make sure the user is aware of which parameters are being used.

See https://github.com/pybamm-team/PyBaMM/pull/3707


Tweaks the detail textures for the terrain

Tweaks the detail textures for the terrain to work better with the linear pipeline.

That is totally unnecessary you can just turn the intensity value down, resaving art assets just adds size to the repo and does nothing useful.
And this may not even be the final setup for the terrain textures so in the next update you would have to change them again and maybe sometime later again etc


BitRate and FrameRate

hi how set videoBitRate and audioBitRate or Video FrameRate for camera and record video??

Work in progress refactoring structure video mode, maybe the new version is possible


Error when trying to create split contract. MacOS High Sierra - Ledger Nano

Following the instructions from the Ledger site
https://support.ledgerwallet.com/hc/en-us/articles/360012270054-Safely-claim-Bitcoin-Cash-SV
I get stuck on step 4, see attached image for error message once I hit "broadcast"

Any ideas where I'm going wrong or what the problem is?

Hi @B45h, hope you figured it out in the end. I missed the notification for this issue.
It looks like you were not connected to a BCH server, but rather a BSV one.

Thanks,
I didn't sort it out. I've just looked at the servers but can't really make sense of it.
Would I need to start the process again once I've changed servers?

The 'split coin' you made should still be there, and if you open up the dialog again then it should find it.