How to use with ftdi FT232-ttl adapter (esp32s3 board)? Able to monitor but not able to flash...

esp323s3 here, I'm able to boot into bootrom mode via BOOT0 and reset and can confirm if I open the device up with picocom (at the bottom).
But when the chip is in this mode I'm not able to program, I get timeouts:
$ espflash flash build/firmware.elf -p /dev/ttyUSB0 -c esp32s3 -b no-reset-no-sync
[2024-06-07T19:18:10Z WARN ] Pre-connection option 'NoResetNoSync' was selected. Connection may fail if the chip is not in bootloader or flasher stub mode.
[2024-06-07T19:18:10Z INFO ] Serial port: '/dev/ttyUSB0'
[2024-06-07T19:18:10Z INFO ] Connecting...
Error: espflash::timeout

  × Error while connecting to device
  ╰─▶ Timeout while running ReadReg command

Am I missing something?
I'm able to monitor as well btw:
$ espflash monitor -p /dev/ttyUSB0 --chip esp32s3 -b no-reset-no-sync
[2024-06-07T19:21:23Z WARN ] Pre-connection option 'NoResetNoSync' was selected. Connection may fail if the chip is not in bootloader or flasher stub mode.
[2024-06-07T19:21:23Z INFO ] Serial port: '/dev/ttyUSB0'
[2024-06-07T19:21:23Z INFO ] Connecting...
Commands:
    CTRL+R    Reset chip
    CTRL+C    Exit

ESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0x1 (POWERON),boot:0x33 (DOWNLOAD(USB/UART0))
waiting for download

$ picocom -b 115200 /dev/ttyUSB0
picocom v3.1

port is        : /dev/ttyUSB0
flowcontrol    : none
baudrate is    : 115200
parity is      : none
databits are   : 8
stopbits are   : 1
escape is      : C-a
local echo is  : no
noinit is      : no
noreset is     : no
hangup is      : no
nolock is      : no
send_cmd is    : sz -vv
receive_cmd is : rz -vv -E
imap is        :
omap is        :
emap is        : crcrlf,delbs,
logfile is     : none
initstring     : none
exit_after is  : not set
exit is        : no

Type [C-a] [C-h] to see available commands
Terminal ready
ESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0x1 (POWERON),boot:0x33 (DOWNLOAD(USB/UART0))
waiting for download

A few things to try/questions:

Have you tried without the -b no-reset-no-sync argument?
Could you also try to use --no-stub?
Which version of espflash are you using?
Can you post the debug logs RUST_LOG=debug espflash ...

@SergioGasquez any other info from here that could help?

@SergioGasquez can it? Is the protocol used for flashing the esp32 a standard? I'm not looking for serial interactivity, or jtag/swd debugging, just flashing (which is what drew me to espflash :-) )

@SergioGasquez can it? Is the protocol used for flashing the esp32 a standard? I'm not looking for serial interactivity, or jtag/swd debugging, just flashing (which is what drew me to espflash :-) )

probe-rs can also be used to flash via the USB/Serial-JTAG, see https://docs.esp-rs.org/book/tooling/debugging/probe-rs.html#probe-rs and probe-rs docs

@SergioGasquez sure, but why wouldn't espflash be the place for this? It's already handling chip specific things and has the proper options to exclude reset/boot etc.
Wouldn't I have to do a bunch of the same stuff to use probe-rs for this?
If espflash isn't the right place for this kind of thing I'd be interested in why.

Any updates on this issue? I'd like to use espflash for code load here without needing a build and esp-idf sdk on the system to load code.

you mention you are only connectiong tx/rx ? If you are not programming through usb-jtag but through an usb/uart converter on the uart site you need to have the correct connections. In the general case its not enough to have tx/rx connected but also dtr/rts signals. They usually go to the esp32s3 reset gpio and to the gpio0 of the chip respectivly. If that is not present than you cant expect to have a working autodownload! In that case you need to manually reset it. For example look at one official dev board schematic how its connected correctly.


Livebook cannot install Ecto 3.9.x

Elixir version
1.14.0
Database and Version
n/a
Ecto Versions
3.9.x
Database Adapter and Versions (postgrex, myxql, etc)
n/a
Current behavior
Mix.install/1 fails in a new notebook setup when Ecto v3.9.x is a dependency.
To reproduce, create a new notebook and add ecto, either manually or thru package search:
Mix.install([
  {:ecto, "~> 3.9.0"}
])

==> ecto
Compiling 56 files (.ex)

== Compilation error in file lib/ecto/changeset.ex ==
** (UndefinedFunctionError) function Ecto.Query.Builder.escape_select_aliases/1 is undefined or private
    Ecto.Query.Builder.escape_select_aliases(%{})
    lib/ecto/query/builder/dynamic.ex:16: Ecto.Query.Builder.Dynamic.build/3
    expanding macro: Ecto.Query.dynamic/2
    lib/ecto/changeset.ex:1974: Ecto.Changeset.maybe_exclude_itself/3
    (elixir 1.14.0) expanding macro: Kernel.|>/2
    lib/ecto/changeset.ex:1976: Ecto.Changeset.maybe_exclude_itself/3
    (elixir 1.14.0) expanding macro: Kernel.|>/2
    lib/ecto/changeset.ex:1961: Ecto.Changeset.maybe_exclude_itself/3
could not compile dependency :ecto, "mix compile" failed. Errors may have been logged above. You can recompile this dependency with "mix deps.compile ecto", update it with "mix deps.update ecto" or clean it with "mix deps.clean ecto"

Press Setup and the following output appears:
** (exit) shutdown: 1
    (mix 1.14.0) lib/mix/tasks/compile.all.ex:78: Mix.Tasks.Compile.All.compile/4
    (mix 1.14.0) lib/mix/tasks/compile.all.ex:59: Mix.Tasks.Compile.All.with_logger_app/2
    (mix 1.14.0) lib/mix/tasks/compile.all.ex:33: Mix.Tasks.Compile.All.run/1
    (mix 1.14.0) lib/mix/task.ex:421: anonymous fn/3 in Mix.Task.run_task/4
    (mix 1.14.0) lib/mix/tasks/compile.ex:134: Mix.Tasks.Compile.run/1
    (mix 1.14.0) lib/mix/task.ex:421: anonymous fn/3 in Mix.Task.run_task/4
    (mix 1.14.0) lib/mix/tasks/deps.compile.ex:174: anonymous fn/2 in Mix.Tasks.Deps.Compile.do_mix/2
    #cell:setup:1: (file)

If this is actually a Livebook problem I will be happy to move this issue over there :)
Expected behavior
Mix.install/1 can install Ecto v3.9.x in a Livebook without error.

Does livebook install an older version of Ecto by default? That looks like an out of date Ecto.Query.Builder module wasn't updated with 3.9.x was installed.

This is a bug in Livebook. We have fixed this in Livebook latest which you can download from the README. :)

Fantastic, thanks @josevalim! Next time I'll try that first :)


Poor Audio Quality of Sampler

Even with quality samples, my Sampler audio quality on MacOs is very poor.
Am I missing something, or it's just inherent to the pitchifting algorithms available the browser?
I wouldn't mind pre-processing the samples if it can improve quality.
I haven't found other alternatives here so I'm really wondering how others are doing it.

For reference, here's a UI where you can test Playback of different sampler setups.
https://app.aura.town/


Make it possible to install Active Directory in the container (Windows Server 2022)

We in the DSC Community have many DSC resources that configures various aspect of the Windows eco-system (examples https://github.com/dsccommunity/). During the development and prior to deploy we like to run integration tests either in lab or in deploy pipelines. Many of the DSC modules requires Active Directory to function which currently hinders us from running integration tests since installing AD requires a restart of the build worker (which breaks the pipeline). Because of that there are many DSC resources that are released untested (other than unit testing). Some modules like the ActiveDirectoryDsc requires a lot of machines to fully integration test (forests, child domains, trusted domains etc.) it takes a pretty large lab system to run manually integration tests.
If it were possible to install Active Directory in the container (totally okay if it is unsupported for production) then we could use leverage several containers on the same host and set up and tear-down an environment per integration test or a group of integration tests.
The benefit of this is that contributors of the DSC Community could get there contributions reviewed so much faster when we can fully automate the integration tests, in the already automated deploy pipeline.
I would not expect this functionality for older operating systems, but for Windows Server 2022 it would be natural for this being an option (again, would not expect it for production usage).

Thanks for the detailed notes on the request. I think there are two things to look at here:
First, can you use a VM image that has AD pre-installed? I believe there are some considerations for generalizing an image that is a DC, but it should work.
Second, is the request for AD on Containers - which we've heard from customers already. For this specific scenario, do you need this to run on a DC or you need this to run on an instance that is domain joined?

First, can you use a VM image that has AD pre-installed? I believe there are some considerations for generalizing an image that is a DC, but it should work.

In this case I do not want to have AD already installed in a VM. The goal of the PowerShell module ActiveDirectoryDsc is to install, configure and monitor drift using PowerShell Desired State Configuration (DSC) (using both Windows PowerShell and hopefully soon PowerShell too). So in this case I want to start in a fresh VM (or better yet a container) and using DSC with the module ActiveDirectoryDsc I want to integration test to install and configure Active Directory. This can be done using a VM in any hypervisor product today, but it takes a lot of VM's that need to be provisioned and deprovisioned for each new Pull Request.

Second, is the request for AD on Containers - which we've heard from customers already. For this specific scenario, do you need this to run on a DC or you need this to run on an instance that is domain joined?

I this scenario I don't need the host/VM that is running the container do be either a DC or domain joined. Non-member server is enough. Though if the host that is running container is domain joined, it should be to a production Active Directory and not to any domain that is running inside a container. Of course the containers must be able to talk to another containers so it is possible to join a new container as a domain controller to a forest/domain.
Instead of using VM's as mentioned above I would like to provision and deprovision containers (on the same host/vm) which will then be configured using DSC and the PowerShell module ActiveDirectoryDsc as domain controllers in a forest, child domain, trusted domain etc.
Basically, I rather want to move all those VM's mentioned above that is today need to integration test the module into containers instead.

... we treat containers as disposable units ...

That is what I'm looking for. I want the container(s) to live as long it takes for the integration tests to run, then it will be discarded. Next pipeline job will setup the container(s) to run the integration tests again. Today I would need to discard the VM's and rebuild them on next run.

I understand the scenario you'd like to have AD for. The problem with implementing that today is that in a real AD environment, spinning up and down containers would leave lingering objects in the AD database, in addition to other authentication issues.
As I mentioned, this is something we're looking into as we have other customers asking for this. Unfortunately, I can't provide a timeline at this moment.

I'll be closing this issue for now. Happy to continue the conversation and wanted to make sure customers do know this is something we'll investigate for future implementations. Unfortunately, we don't have a timeline to provide at this point.


Clear cookies (except of opened tabs) not working

Describe the Bug/Feature
If you click clear cookies and ignore opened tabs, it will just clear all cookies except your whitelist (but includes opened tabs).
Steps for anyone to reproduce the bug
Viist any site which is not whitelisted, keep that tab opened. Press context menu item
Your settings
[X] Clear cookies on tab close
[ ] Active mode

OS/version: Windows 8.1 64bit
Browser/version:  FF 55.0.3
Cookie AutoDelete version: 1.4.3

You mean Cookie Cleanup (Ignore Open Tabs)? That's a feature/expected behavior.
Please read the description of the addon page before posting an issue
Cookie Cleanup: This is basically a quick way of activating the Cookie Cleanup on demand. This looks at all your cookies and deletes them if they are not in any Open Tabs or the WhiteList.
Cookie Cleanup (Ignore Open Tabs): Same thing as Cookie Cleanup except that it only deletes cookies only if they are not in the WhiteList. Open tabs are not taken into consideration.
Clear All Cookies for This Domain: Easy way to delete all cookies for one particular domain that you are on.

Incredibly confusing name style. And by the way it works it's far from behing an alternative to self destructing cookie.
But you are right I should have read the description first, I would still recommend you changing the labels as this is definitely not what many people would understand at first.

SDC doesn't have a 'Cookie Cleanup (Ignore Open Tabs)'
I find this feature useful since if you have long lasting tabs that you keep open, you can clear those cookies rather than closing all of them (as long as they are not on the whitelist).
For example, if you pinned calendar.google.com, since google.com is the base domain, any other google cookie will not be deleted as long as calendar.google.com tab is pinned and open. 'Cookie Cleanup (Ignore Open Tabs)' goes around this and deletes all other google cookies even when calendar.google.com is open.

You can rename those labels to 'Cookie Cleanup (Excluding Open Tabs)' and 'Cookie Cleanup (Including Open Tabs)', because the term Ignore in one of the current labels means... what? Will the act of Cleaning Cookies disregard open tabs (~keeping their cookies in spite of them not being whitelisted), or will it disregard the fact that it should disregard open tabs (~destroy their cookies despite of the tabs being open)?
I'm with Symbai on this one, slightly confusing.


build: re-enable eslint rule no-warning-comments. Fixes #35

@SimeonGriggs This stops our linting from passing. Can you address the TODO comments in the repo? You can see them with npm run lint


[ci skip] adding user @sfc-gh-wzhao

Hi! This is the friendly automated conda-forge-webservice.
I've added user @sfc-gh-wzhao as instructed in #3.
Merge this PR to add the user. Please do not rerender this PR or change it in any way. It has [ci skip] in the commit message to avoid pushing a new build and so the build configuration in the feedstock should not be changed.
Please contact conda-forge/core to have this PR merged, if the maintainer is unresponsive.
Fixes #3

@sfc-gh-pdorairaj, please try to merge


FileNotFoundError: [Errno 2] No such file or directory: '/federated/data/corpus_80000.pt.tar'

Excuse me，what is the corpus_80000.pt.tar?I am a green hand,Thank you very much!

I have downloaded the text.json,shard_by_author.zip and the word_dictionary.pt?But when i run training.py,another error occured,it is that is no file named "corpus_80000.pt.tar".

set  param 'recreate_dataset' to True

yeah, at the first time running the code, you need to create the training data (the corpus file) using the shard_by_author.zip, that's to say, just set the recreate_dataset option in yaml file to true, after you creating the corpus file, you can turn off the option.


[AMBARI-24836] Service Auto start is enabled after page refresh.

What changes were proposed in this pull request?
added a check that a component is in componentsConfigsGrouped before setting 'recoveryEnabled' property.
How was this patch tested?
21959 passing (23s)
48 pending

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/Ambari-Github-PullRequest-Builder/4416/
Test PASSed.

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/Ambari-Github-PullRequest-Builder/4479/
Test PASSed.


The file exported by superset in CSV format appears Chinese gibberish

superset report show

export CSV file
The exported CSV format is as follows:

solution
This problem is caused by the language format supported by Superset itself, and the exported format needs to be configured in superset_config.py:
CSV_EXPORT = {
    'encoding' : 'utf_8_sig',
}

test result
Modify the configuration file, start the container, and download the CSV file, which is as follows:

@jiangshouzhuang  Thank you for your feedback. we will expose this config when container start

please see this documention
@jiangshouzhuang


Auth via Digits

Anybody know if there are plans to support user authentication via Twitter Google Digits?
Thanks everyone for all your work!

We simply wrap Firebase Authentication. So whatever they support we will.

thanks for your response @davideast !
where would the be correct place to ask about Digits auth? i was looking through the firebase repositories but didn't see a clear candidate. my app will be a pwa built with Ionic. take care!


Ceil on total cost calculation

When the CartItem calculates the total cost of the item, it applies a ceil() call. I don't think this is necessary, in fact this can cause issues, because the getPrice() and getCost() might return different values. This is a screenshot demonstrating this from our webshop:

Do you think that removing the ceil() call is a viable solution for this issue?

This is most likely because you store the price in the float type. If you were storing in an integer type, you wouldn't have this problem.

This is not about storage (the above example is simply displaying the prices of the items in the cart). The calculated total price should be float. In USA, UK, etc. a lot of goods cost float prices, e.g. 19.90, 29.90, and so on.
In the example above, if one product costs 44.90 GBP, than the total price should be also 44.90. When the quantity is 2, the total price 89.9, but the CartItem returns 90.

I understand that. I'm saying that when prices are stored as an integer, it is much easier to work with them and you exclude such problems. It is necessary to store not in dollars, and in cents, and at a conclusion to bring them to a necessary look.
Store in a database an integer 2990 (cents), when processed by the ceil() function, it will remain 2990, and in the time of the withdrawal: 2990 / 100 = 29.90.
With regards to your situation, make a fork and remove the ceil() function.


Fail to install aihwkit on mac

Description
I'm try to install aihwkit on mac, but it fails.
How to reproduce
Type the following command in the terminal.
pip install aihwkit

and it reports that
Collecting aihwkit
  Downloading aihwkit-0.8.0.tar.gz (557 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 557.2/557.2 kB 29.0 MB/s eta 0:00:00
  Preparing metadata (setup.py) ... error
  error: subprocess-exited-with-error

  × python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> [6 lines of output]
      Traceback (most recent call last):
        File "<string>", line 2, in <module>
        File "<pip-setuptools-caller>", line 34, in <module>
        File "/private/var/folders/1q/grd7t3p519x86dj503y565lr0000gn/T/pip-install-dw_r2s1t/aihwkit_59886bc9f95a497cb03319c3f0a6021f/setup.py", line 18, in <module>
          from skbuild import setup
      ModuleNotFoundError: No module named 'skbuild'
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

Expected behavior
Get aihwkit installed
Other information

Pytorch version: 3.11.5
Package version: 0.8.0
OS: macOS Ventura 13.5.2
Python version:3.11.5
Pip version: 23.2.1
Conda version (or N/A): No

Thanks for your reply @maljoras! Following your suggestion, I have successfully installed the tool kit on my device. However, I encountered another issue during the installation process (posted on issue 541). Could you have a look when you are convenient?

Many thanks!


Fix for iPhone X status bar improperly refreshed

Leaving this as true for all iOS versions above 7 has no effect except on iPhone X where the settings makes the status bar refreshed and finally blacked out.

Please undo this commit.  Changing the code as such breaks the app on all iOS devices running a verion of iOS greater than 11.0 except for the iPhone X.  There needs to be another way to fix this for the iPhone X.
Somehow it needs to detect whether or not this the phone is an iPhone X or not.

@rafaellop this commit breaks the iOS status bar handle on all other iOS devices other than the iPhone X that are running iOS 11 or higher.  Lets work together to find a better way of detecting if the device is an iPhone X.

I disagree. I have tested and published few apps with that fix and they work properly on other iphones. The issue might be not the code but the statusbar plugin as far as I noticed. Please try to remove the statusbar plugin and rebuild you code. I have tested this on iphone 6/7 simulator and on physical iphone 7 device and have no issues at all.
On the other hand, if the code is as it was before my commit, iphones prior to X works properly even with the statusbar plugin added, but iphone x statusbar is impossible to make works OK. So, the best solution is the modification + removing cordova statusbar plugin until they fix it.
This reply also refers to the issue https://github.com/ratson/cordova-plugin-admob-free/issues/224

Many of us rely on the statusbar plugin to change its color, appearance, overlay, etc. to be consistent across android and ios.  Removing this plugin requires us to hard code all of this into our apps using multiple languages.  For instance, I use it to set my statusbar color and to not overlay my web views.  If I remove the statusbar plugin and allow the use of your code above, the statusbar overlays the navigation bar in my app on the iPhone 8 and iphone 8+.  The problem is that these two plugins are fighting each other to resize the window and the admob plugin is the last one to do a resize since it happens after the ad is loaded from admob.  It undoes the positioning that the statusbar plugin did.
The solution to check for this statusbar frame size in versions of iOS7 and greater was an elegant solution.  However, with the new iPhone X, I see the problems it can cause for certain apps.  For my app the resizing it did still left my app functional.  It would be best to come up with a solution that works for all, especially for those of us whose apps utilize the statusbar plugin.
I do know some ways to detect if the device is an iPhone X and will try to compile a solution shortly.

After playing around with these items a bit on the iPhone X simulator, I cannot get any of my apps to show issues with the original code so long as I have my iOS build setting set correctly.  This explains why I have had not complaints from my users to date.  I think this is just an issue with your particular apps.  Please post some screenshots of your issue so that we can see what problems you are having with the code set back to original.

@ratson Please revert the old code if you find it reasonable. I can live with my fork until ecordova statusbar is fixed. Eventually the abovementioned hack that would detect iphonex might be useful.

@rafaellop & @ratson I have been thinking about this more and it doesn't make sense to hack this plugin so that it will work with another plugin.  Really, the iOS7 hack in this plugin should be removed and the option to not overlay the status bar in the statusbar plugin should be dperecated.  Apple wants people to develop their apps so that the statusbar overlays the app and this is why they made the change in iOS7.  It is really easy to add padding to the region beneath the statusbar and get the same effect.  At this point I have removed the statusbar plugin from my apps and allow the statusbar to overlay the webview.
So I take back my original suggestion for reverting the code.  However, I do think a change is warranted here.  If everyone gets rid of the status bar option to overlay the webview and develops their app correctly, the iOS7 hack will cause problems for any device with iOS < 11.0.  I suggest we remove the hack altogether.  The following changes are needed:

comment lines 672 and 674 (this way they are still there if anyone wants to enable them on their own)
add line below line 674 that reads float top = 0.0;

People can then refer to the following article for properly handling the status bar in iOS
https://blog.phonegap.com/displaying-a-phonegap-app-correctly-on-the-iphone-x-c4a85664c493

Please modify the code and do a pull request. @ratson will decide to merge it or not.

@rafaellop & @ratson i just created a pull request to get rid of this hack altogether.  It also gets rid of the superview black background that was set in the latest releases.  I think we can do something better here than a black background as discussed in issue #186.

@rafaellop & @ratson i just created a revised pull request to gets rid of this hack altogether. In addition to other items.


Specify sourceRoot rather than currentFile

Fixes #10

Does it make sense to explicitly copy the string in stackdriver_debugger_full_filename where the destructive operation happens so that we can just use zend_string_dup elsewhere?

The destructive action is actually on the php_dirname call. It modifies the internal char* by inserting a null terminator at the last directory separator and returns the new length of the string.

Oh I see


Merge into core

I think this plugin belongs in Meta core.
/cc @mateodelnorte

Agreed, however, I'd like to see a redesign before doing so https://github.com/mateodelnorte/meta/pull/49

coming up! :)

I was thinking about merging this library with get-meta-file and adding it to https://github.com/mateodelnorte/meta. Thoughts @mateodelnorte?

I lean toward keeping them small, simple, and separate. The smaller a module is, the easier it is to update. And the pattern of having a new module introduce new functionality to the .meta file could be repeated easily by copying the module and modifying it to do something different.
What are the arguments for merging?

Okay, good! But now I don't see how this relates to re-exporting get-meta-file from the meta package?

Here are some examples: https://github.com/mateodelnorte/meta/blob/master/package.json#L58-L61. All of these provide default functionality when you npm i -g meta.

@mateodelnorte Yeah, I'm aware of the core plugins. I wrote the new plugin-finding algo! :P

Heh. Don't think it does.
I think the moral of the story is that we'll update meta's dependencies to include @dorner's meta-configure plugin when it's ready!

Yea, I know you know. Just being explicit with all the info.

Didn't mean to derail this issue, so I'll open a new issue now. Sorry! 😅


General -> Self test system

DOING : working on using github actions to automate some testing with gradlew and google tests


Add documentation for interacting with reference features

This PR is the start of documentation for the reference feature server and its related capacities.

for sparql can you show how you would pass such a request via GET or POST.
RDF4J API should work https://graph.geoconnex.us/webapi

Added a link to the the query api docs https://graph.geoconnex.us/webapi as well showed a brief example of how queries can be sent via curl

this looks like the build failed

This is failing due to cloudflare being down for maintenance. Cloudflare serves node for netlify: https://answers.netlify.com/t/need-help-debugging-version-12-18-0-not-found-try-nvm-ls-remote-to-browse-available-versions/19067/3
Will rerun this in a few hours. The build is still working for me locally; here are some  screenshots of the cli/sparql api docs /example i made

Thanks for the edits last night Ben.
I believe I should have all the python information here. I tried to make it clearer regarding what reference features are doing, their relationship to the graph, and the different tradeoffs between the ways of querying each.
I moved the notebook to google colab .I think this is easier for others to play with and manipulate rather than try to embed it in our website somehow.
The one thing that remains unsolved is how to query an intersection. I have two ways, but neither seems to work every after doing some experimentation. Perhaps @webb-ben you could briefly look at the collab notebook and see:

if the  code in the section What features are hydrologically related? is correct to make sure I am not missing anything.
If you can access and make copies w the proper permissions

Merging with subsequent updates to come


Supporting credit cards on the managed console

Background: https://airtable.com/tblD3oZPLJgGhCmch/viwchkdQkRUw6hZ3z/rec5foQYBHkRGwGzi?blocks=hide
PM: @kannanlakshmi

Addressed in https://github.com/cockroachdb/docs/pull/5680


Add EnableLoopback and DisableLoopback

@lt-gen2er
What does this do?

This PR along with #328 look to be useful in future for those using UWP apps.
However, as a minimum I would recommend combining them into a single PR (they're only useful together as each is part of the implementation)....


Should add more examples for output binding

It would be good to have more examples for output binding, for example using TextWriter or CloudBlockBlob (which allows access to the name created if you use the {rand-guid} attribute.
    [FunctionName("WriteToBlob")]
        public async static void Run( [HttpTrigger(AuthorizationLevel.Function, "post", Route = "writetoblob")] HttpRequest req,,
            [Blob("my-container/{rand-guid}.txt", FileAccess.Write, Connection = "NewBlobStorageConnection")] CloudBlockBlob blobWriter,
            ILogger log)
        {
            // Write body of post to storage
            var blobString = await new StreamReader(req.Body).ReadToEndAsync();
            log.LogInformation($"Writing {blobString.Length} bytes of data to {blobWriter.Name}");

            using (var stream = new MemoryStream(Encoding.UTF8.GetBytes(blobString), false))
            {
                await blobWriter.UploadFromStreamAsync(stream);
            }
        }

and
   [FunctionName("WriteToBlob")]
        public async static void Run( [HttpTrigger(AuthorizationLevel.Function, "post", Route = "writetoblob")] HttpRequest req,,
            [Blob("my-container/{rand-guid}.txt", FileAccess.Write, Connection = "NewBlobStorageConnection")] TextWriter blobWriter,
            ILogger log)
        {
            // Write body of post to storage
            var blobString = await new StreamReader(req.Body).ReadToEndAsync();
            log.LogInformation($"Writing {blobString.Length} bytes of data to blob");
            await blobWriter.WriteAsync(blobString);
        }

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

ID: 910d4732-bb08-d16a-a932-19c6bd1628c2
Version Independent ID: af4358c7-cb5c-bdc7-6433-289f47dc186b
Content: Azure Blob storage output binding for Azure Functions
Content Source: articles/azure-functions/functions-bindings-storage-blob-output.md
Service: azure-functions
GitHub Login: @craigshoemaker
Microsoft Alias: cshoe

@ssemyan Thank you for your feedback! We have assigned this issue to the author to review further and take the next course of action.


Pull request: Add ToolStripComboBox as optional parameter to method Add(DropDownActionItem item) in MenuHeaderBarControl

I am not using Git yet, so I post the suggested change like this.
I have a derived ToolStripComboBox component that I want to use as combobox in DropDownAction item. The problem is the when adding a DropDownActionItem with MenuBarHeaderControl, a new ToolStripComboBox is created and it is messy to try to fix it afterwards.
Suggested change is simply to change from
public void Add(DropDownActionItem item)
            {
                var strip = GetOrCreateStrip(item.GroupCaption);
                var combo = new ToolStripComboBox(item.Key);

to
public void Add(DropDownActionItem item, ToolStripComboBox comboBox = null)
            {
                var strip = GetOrCreateStrip(item.GroupCaption);
                var combo = comboBox ?? item.combobox ?? : new ToolStripComboBox(item.Key);
              combo.Name = item.Key;

One could also allow for adding an optional ToolStripComboBox argument to the DropDownActionItem constructor itself.

Ok, good suggestion. I'll add this soon. But please, use Git for PR, it's not so hard :)

an optional ToolStripComboBox argument to the DropDownActionItem constructor itself.

This will be logically wrong, because DropDownActionItem (as well as any ActionItem) should not know anything about gui controls.
Also, note that you always can create own inheritor of IHeaderControl, HeaderControl or MenuBarHeaderControl with any behaviour.

Concerning the latter (to add to the DropDownActionItem constuctor), the DropDownActionsItem has a public property of type ToolStripComboBox.

DropDownActionsItem has a public property of type ToolStripComboBox.

Not anymore.

There is no plans to do suggested change. Close it.


prevent map component  from crashing

prevent map component from crashing if the sdk failed to export map as image
error sample: DOMException: Failed to execute 'toBlob' on 'HTMLCanvasElement': Tainted canvases may not be exported.

@bartvde  done

I'm fixing the Jenkins failure in #935 so once that is merged, if you rebase this one it should pass. Btw, I don't think it's in our eslint config, but it would be good to add the missing ; as well.

if you run git pull --rebase upstream master followed by a force push to your branch it should pass

@bartvde done


Coverage is only partial.

While Kik's motivation for acting was the perceived need to protect their trademark (they were misguided here, but believed they had to), checking for trademarks alone will not protect any package author.
Basically, the NPM dispute resolution policy shows that they are willing to transfer ownership arbitrarily if they think it is prudent to do so.  Note that:

Example #3 does not state that Foo Inc has a trademark on the term foo -- and in fact trademarks aren't mentioned at all.
According to their own Medium post, Kik never actually provided any proof of having a trademark to NPM
There's no specificity around jurisdiction in that document (although others imply that California law may be the frame of reference they operate under)
Their own trademark policy suggests they've been well-advised on US trademark law, and would have known that Kik was being overzealous, but they chose to remove Azer's ownership of the name anyway -- which strongly supports the idea that they are willing to reassign ownership of a name even in absence of a compelling legal reason

This tool is not meant to protect us for any possible incident...
It just check if you own any repo with a name trademarked in US.

The name of the tool is confusing then, as trademarks were only tangentially relevant to the Kik issue.


Table 4. Surface Book 3 with Quadro RTX 3000 SKUs

Will there be a SKU with 2 TB of storage? I have a ThinkPad P71 w/ P5000 I'd like to replace with a Quadro Surface Book, but I need 2 TB of storage.

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

ID: 0d978d59-5616-b09e-103a-711379a814c2
Version Independent ID: c4685ca4-2eda-3834-3ddf-a613c4b2d789
Content: Surface Book 3 GPU technical overview - Surface
Content Source: devices/surface/surface-book-quadro.md
Product: w10
Technology: windows
GitHub Login: @CoveMiner
Microsoft Alias: v-jokai

@aarondmarr .  yes you can get,  but you must configure hardware items before purchasing . 2TB storage is available only 15inch only in USA.
for more information visit below site
https://www.microsoft.com/en-us/store/configure/Surface-Book-3/8XBW9G3Z71F1?crosssellid=fbt-p2c&selectedColor=&preview=&previewModes=

Hello!
Thank you, but I don't see where I can configure a Surface Book 3
with the Quadro RTX 3000 graphics card with 2TB of storage. Could you
point me in the right direction?
Best regards -
Aaron Marr
On Tue, May 12, 2020 at 10:22 AM VARADHARAJAN K<EMAIL_ADDRESS>wrote:

@aarondmarr https://github.com/aarondmarr . yes you can get, but you
must configure hardware items before purchasing . 2TB storage is available
only 15inch only in USA.
for more information visit below site
https://www.microsoft.com/en-us/store/configure/Surface-Book-3/8XBW9G3Z71F1?crosssellid=fbt-p2c&selectedColor=&preview=&previewModes=
https://www.microsoft.com/en-us/store/configure/Surface-Book-3/8XBW9G3Z71F1?crosssellid=fbt-p2c&selectedColor=&preview=&previewModes=
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/MicrosoftDocs/windows-itpro-docs/issues/6666#issuecomment-627377399,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/APPZGPWANNZMJZNOBZ5WMYDRRFLTHANCNFSM4M3SJI6A
.

@aarondmarr  go to below site
https://www.microsoft.com/en-us/p/surface-book-3/8xbw9g3z71f1?activetab=pivot:techspecstab
with Nvidia 1660Ti, not  RTX 3000  series, so before purchasing verify all technical specifications

It seems that the question has been answered by the community,  and thus the issue is being marked as resolved.
Please note that the issues section of the repository is intended for corrections in technical documentation.
Should you need to ask a similar question again, consider asking the question via the Windows 10 Support channel.
Thank you.


Snap package not found

Describe the bug
Can't install lazydocker via snap
To Reproduce
$ snap install lazydocker
error: snap "lazydocker" not found

Desktop (please complete the following information):

OS: Ubuntu 18.04

Yes, yes. We are working on it. Need to temporarily remove it from README.

We are awaiting a manual review for lazydocker given that we require the 'classic' confinement.
You can see progress here https://forum.snapcraft.io/t/request-for-classic-confinement-for-lazydocker/12155/1
I'll close this for now


Character encoding is not correctly restored to Group

Full steps to reproduce the issue:

Backup emails from GMail account: ./gyb --email<EMAIL_ADDRESS>--local-folder "/my/local/folder/" --search "after:2013/12/31 before:2015/01/01 smaller:16M"
Restore to Google group in GSuite: ./gyb --email<EMAIL_ADDRESS>--service-account --use-admin<EMAIL_ADDRESS>--action restore-group --local-folder "/my/local/folder/"
Special characters (e.g. ä, ö, ü) in e-mails that had been sent to GMail with the following encoding will appear scrambled in the restored mails:

Content-Type: text/plain; charset=iso-8859-15
Content-Transfer-Encoding: 8bit
Expected outcome:
Special characters should be displayed in the same way as in the original message as seen in the GMail account.
Actual outcome (what errors or bad behavior do you see instead?):
ä is displayed as ï¿œ
ö is also displayed as ï¿œ
ü is also displayed as ï¿œ

Can you attach a sample message file that has this issue?

The e-mails all contain confidential information and our business
identities, so I can unfortunately not share any original e-mails.

Can you attach a sample message file that has this issue?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/jay0lee/got-your-back/issues/148#issuecomment-310097484,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABn5WY9UFS9vZXOhqg1mCvKNVzx2rpwJks5sGSmGgaJpZM4N_x2Y.


added scrollbar to info and hide naturinfo when empty

Coverage decreased (-1.6%) to 32.523% when pulling faef744936175c92c0b3bdbccedb298c02f9d96f on pointInfoScrollbar into b50a80a1dcf8fcb190ef064c981dfff678a04c09 on master.


wrong _pfp__offset for primitive array items

Describe the bug
I found this problem while looking for template parts at specific offsets. All items inside a pfp.fields.Array containing Int/Float elements have a _pfp__offset of 0, instead of their actual positions in the parsed stream. It doesn't seems to be the case when the array items are structs.
To Reproduce
Here is a minimal test reproducing the problem:
    def test_numerical_array_offset(self):
        dom = self._test_parse_build(
            "\xFF\x00\x00\x11\x11\x22\x22",
            """
                char shift_by_one;
                uint16 the_array[3];
            """
        )

        self.assertEqual(dom.the_array[0]._pfp__offset, 1)
        self.assertEqual(dom.the_array[1]._pfp__offset, 3)
        self.assertEqual(dom.the_array[2]._pfp__offset, 5)

It fails with:
Traceback (most recent call last):
  File "pfp/tests/test_arrays.py", line 346, in test_numerical_array_offset
    self.assertEqual(dom.the_array[0]._pfp__offset, 1)
  File ".local/share/pyenv/versions/3.7.11/lib/python3.7/unittest/case.py", line 852, in assertEqual
    assertion_func(first, second, msg=msg)
  File ".local/share/pyenv/versions/3.7.11/lib/python3.7/unittest/case.py", line 845, in _baseAssertEqual
    raise self.failureException(msg)
AssertionError: 0 != 1

Expected Behavior
The item's _pfp__offset should be set to the offset value of the item inside the parsed stream.

After investigation, arrays with elements deriving from NumericBase do not add their items to the internal DOM structure but they are created on-demand when requesting the item. The offset for the created item is not explicitly set, which explains the problem.
This seems pretty straightforward to fix. I'll submit a PR later today.


Odd exception

I'm not seeing any of the stack connect to my own code, so not sure what's causing this:
Error in opening handshake
Traceback (most recent call last):
File "/usr/local/lib/python3.5/dist-packages/websockets/server.py", line 69, in handler
extra_headers=self.extra_headers)
File "/usr/local/lib/python3.5/dist-packages/websockets/server.py", line 304, in handshake
raise AbortHandshake(*early_response)
TypeError: type object argument after * must be an iterable, not HTTPStatus
Any idea what might cause this or how to clean it up?

Did you override process_request?

I did...so I am failing to follow the spec for that, perhaps? Here's what I wrote:
`class HealthCheckServerProtocol(websockets.WebSocketServerProtocol):
@asyncio.coroutine
def process_request(self, path, request_headers):
    if path == '/client/ws/api/v1/status':
        body = b'status = green\n'
        return OK, [('Content-Length', str(len(body)))], body
    else:
        authenticator = DefaultAuthenticator()
        auth_payload = authenticator.authenticate(request_headers)
        if auth_payload is None:
            logging.exception("Attempt to access websocket server by unauthorized client with headers: %s" % request_headers)
            return UNAUTHORIZED`

That last line should be return UNAUTHORIZED, [], b''.

Oh! Thank you!

Well, in your defense, this isn't the nicest API... :-/

Haha. Perhaps, but I really appreciate you writing this. It's perfect for the project I'm working on!


Doesn't work.

This just doesn't work. Seems to me information is missing. I have a form. I implemented the sample, put a breakpoint on it, pressed a key. It's never called.
Thanks for nothing.

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

ID: 959083dc-eeea-74f5-4071-fd8c23b166b2
Version Independent ID: baa42008-a238-0f1f-621c-f18de5dc896c
Content: Handle keyboard input at the Form level - Windows Forms .NET
Content Source: dotnet-desktop-guide/net/winforms/input-keyboard/how-to-handle-forms.md
Product: dotnet-desktop
Technology: dotnet-winforms
GitHub Login: @adegeo
Microsoft Alias: adegeo

I think I wrote this with the thought that the reader would be familiar with how to handle a events, and specifically, an event from the UI. This code presented is the handler code but you still have to hook it up to the original KeyPress event.
I do value your feedback and I would love to understand how you arrived here without the appropriate knowledge:

Is this your first WinForms app?
What experience do you have in Visual Studio?
Did you complete the create a new app tutorial?

I've been thinking about documenting common Visual Studio tasks that a WinForms/WPF developer would do, and possibly, avoid the problem you find yourself in.
To answer your specific problem, you would open the form in the designer, click on the form so that it's the selected object, then se the Properties pane to find the KeyPress event. This is detailed in the create a new app, handle events section but for a button. The same process applies.
This should solve your problem. Even though I'm going to close this issue, please feel free to respond.


[BUG] rwx volume mount failed

pod mount volume failed
In our case, we have many pods are mounted at the same time, get errors as follow

rwx volume nfs server provisioner error

What's your Longhorn version?

What's your Longhorn version?

1.5.1

Would it be possible to get a support bundle showing the failure?

Would it be possible to get a support bundle showing the failure?

restart cni plugin and fixed


Push Noobaa reconciler to the end

Noobaa db pod gets stuck in pending state waiting for volume from ceph-rbd storage class which is not available till storageclient is created on the base cluster. StorageClient is not able to connect until Noobaa is disabled and re-enabled. Moving noobaa reconciler at the last solves this issue.
https://bugzilla.redhat.com/show_bug.cgi?id=2243101

/ok-to-test

/hold

/override ci/prow/ocs-operator-bundle-e2e-aws

/unhold

/retest

/hold

This PR is no longer required, not facing the issue


Add request offset to csv

This change ensures that the offset of each request is stored (and printed when using csv) to allow users to visualize and analyze temporal relationships between requests.
As a flyby this change fixes a minor bug where the CSV output starts with an empty line.

It would be good to document the CVS layout on the top of the output. Can you add the column names to the top of the file? Otherwise LGTM.

Thanks @rakyll for the quick reply - I added some comments to the top of the file to document the general structure

Thanks!


Manual Installation

Basically, I'm a designer with a limited understanding of coding. I've follow your instructions about manual installation and usage. But, it didn't work. The terminal says the -bash: imageoptim: command not found

This would be a lifesaver for me if it works. But, I'm facing a huge knowledge barrier :(
ps: sorry for my bad english

Sorry about this @stefanuswjy, it appears the manual installation instructions are not correct.
Please try the following;
# create a folder at ~/imageoptim-cli and browse to it
mkdir "${HOME}/imageoptim-cli" && cd "$_"

# download and extract that zip in our new folder
curl --output imageoptim-cli.zip https://codeload.github.com/JamieMason/ImageOptim-CLI/zip/1.14.8
unzip imageoptim-cli.zip

# move the files from our version folder up into ~/imageoptim-cli
mv ImageOptim-CLI-1.14.8/* .

# add this new folder to where terminal looks for programs to run
export PATH=$PATH:"$PWD/bin"

Hi @JamieMason , is it correct that the folder should arranged like this?

and, what the 4th step mean? i still dont get it :( # add this new folder to where terminal looks for programs to run export PATH=$PATH:"$PWD/bin"

I think you might have run some of the commands from the wrong location – the commands we're running are relative to the current folder your terminal is in at the time.
Delete that imageoptim-cli folder and let's try it with absolute paths;
# create a folder at ~/imageoptim-cli
mkdir "${HOME}/imageoptim-cli"

# browse to it
cd "${HOME}/imageoptim-cli"

# download imageoptim-cli into it
curl --output "${HOME}/imageoptim-cli/imageoptim-cli.zip" https://codeload.github.com/JamieMason/ImageOptim-CLI/zip/1.14.8

# unzip package
unzip "${HOME}/imageoptim-cli/imageoptim-cli.zip"

# move the files from our version folder up into ~/imageoptim-cli
mv "${HOME}/imageoptim-cli/ImageOptim-CLI-1.14.8/*" "${HOME}/imageoptim-cli"

can you run echo $PATH and show me what it says please?

it says:

Open up ~/.bash_profile and add somewhere in that file;
# Add imageoptim-cli to the $PATH
export PATH="$PATH:$HOME/imageoptim-cli/bin"

Then restart your Terminal.
If it worked, if you run imageoptim -v it should show the version 1.14.8.

Please let me know if this worked so I can close the issue or give you more help @stefanuswjy.

Hi @JamieMason , i'm stuck on the move the files from our version folder up into ~/imageoptim-cli it says No such file or directory and also when i open up ~/.bash_profile, it says No such file or directory too.

I think the simplest thing would be to download https://nodejs.org 6.3.0 and then run npm install -g imageoptim-cli in your Terminal.
This avoids the technical aspects of going the manual route.

yeahhh, it worked !!! Thankyou @JamieMason :)

btw, does the imageoptim-cli has expired date? or i can use it continuously?

great 😄

btw, does the imageoptim-cli has expired date? or i can use it continuously?

No expiry or anything. If a new version of imageoptim-cli is released and you want to update your copy, you can just run npm install -g imageoptim-cli again to get the new version.

Thanks a lot @JamieMason . This imageoptim-cli would be my lifesaver :)

great to hear, thanks @stefanuswjy.


Webhook call failed. Error: 400 Bad Request after migrating from node 6 to 10

Environment details

OS: AWS Lambda
Node.js version: 10.15.3
npm version: 6.4.1
dialogflow version: 0.6.0

Steps to reproduce
I had a working chatbot. I upgraded the node.js version from 6.10.1 to 10.15.3 and updated my webpack packagerOptions accordingly from
npm rebuild grpc --target=6.1.0 --target_arch=x64 --target_platform=linux --target_libc=glibc
to
npm rebuild grpc --target=10.15.3 --target_arch=x64 --target_platform=linux --target_libc=glibc
I haven't made any other change besides that. But now, when the following code runs await sessionClient.detectIntent(request); I get
[
  {
    "responseId": "bf19ec45-942f-47d0-a0e1-c70779be1b44",
    "queryResult": {
      "fulfillmentMessages": [
        {
          "platform": "PLATFORM_UNSPECIFIED",
          "text": {
            "text": [
              "Ooops, il semblerait qu'on ai débranché mon cerveau..."
            ]
          },
          "message": "text"
        }
      ],
      "outputContexts": [],
      "queryText": "AUTO_TALK",
      "speechRecognitionConfidence": 0,
      "action": "general.fallback",
      "parameters": {
        "fields": {}
      },
      "allRequiredParamsPresent": true,
      "fulfillmentText": "Mayday mayday this chatbot is down :/ Bring me back to liiiiiive please :/",
      "webhookSource": "",
      "webhookPayload": null,
      "intent": {
        "inputContextNames": [],
        "events": [],
        "trainingPhrases": [],
        "outputContexts": [],
        "parameters": [],
        "messages": [],
        "defaultResponsePlatforms": [],
        "followupIntentInfo": [],
        "name": "projects/staging-demo-studentsolutio-cp/agent/intents/edb4fd94-4c46-4b3f-9ee2-35fd9fbd7351",
        "displayName": "GeneralFallback",
        "priority": 0,
        "isFallback": true,
        "webhookState": "WEBHOOK_STATE_UNSPECIFIED",
        "action": "",
        "resetContexts": false,
        "rootFollowupIntentName": "",
        "parentFollowupIntentName": "",
        "mlDisabled": false
      },
      "intentDetectionConfidence": 1,
      "diagnosticInfo": {
        "fields": {
          "webhook_latency_ms": {
            "numberValue": 2545,
            "kind": "numberValue"
          }
        }
      },
      "languageCode": "fr-fr"
    },
    "webhookStatus": {
      "details": [],
      "code": 3,
      "message": "Webhook call failed. Error: 400 Bad Request"
    }
  },
  null,
  null
]

Webhook call failed. Error: 400 Bad Request

The problem is I have no idea what's wrong with this API call, it used to work (and it still does in my untouched production systems). The error is very large and doesn't help debug. I tried to send different payloads but I can't figure out what's wrong.

Here is the request payload:
{
  "session": "projects/staging-demo-studentsolutio-cp/agent/sessions/3346d99c-b863-4d6b-8b9b-3979ff4bfdea",
  "queryInput": {
    "text": {
      "text": "AUTO_TALK",
      "languageCode": "fr-FR"
    }
  },
  "queryParams": {
    "payload": {
      "fields": {
        "source": {
          "kind": "stringValue",
          "stringValue": "web_unly"
        },
        "deviceId": {
          "kind": "stringValue",
          "stringValue": "91bc9f30-1857-11e9-9330-c9a609ed085f"
        },
        "school": {
          "kind": "stringValue",
          "stringValue": "ecole-2"
        },
        "sessionParameters": {
          "kind": "structValue",
          "structValue": {
            "fields": {}
          }
        }
      }
    }
  }
}

Here is a CURL example from the Dialogflow Console:
curl -X POST -H ': ' -H 'Content-Type: application/json' -d {"responseId":"999b5680-cbf5-48f0-89ba-ebe3b5a044c6","queryResult":{"queryText":"yo","action":"general.fallback","parameters":{},"allRequiredParamsPresent":true,"fulfillmentText":"Ooops, il semblerait qu''on ai débranché mon cerveau...","fulfillmentMessages":[{"text":{"text":["Mayday mayday this chatbot is down :/ Bring me back to liiiiiive please :/"]}}],"intent":{"name":"projects/staging-demo-studentsolutio-cp/agent/intents/edb4fd94-4c46-4b3f-9ee2-35fd9fbd7351","displayName":"GeneralFallback","isFallback":true},"intentDetectionConfidence":1,"languageCode":"fr"},"originalDetectIntentRequest":{"payload":{}},"session":"projects/staging-demo-studentsolutio-cp/agent/sessions/3c9f3524-1275-8d2a-4d53-4a0e673afa3a"} https://staging.demo.the-funding-place.org/api/dialogflow

The detectIntent endpoint is refusing my API calls but I don't know why and could use some help with troubleshooting the origin.

Well, this may not be related to the migration after all. I'm reproducing the same behaviour with my node 6.10.3 app when running it locally. It seems to be a more general error that only happens if I deploy again. I'm even more confused about the root cause.

Issue was related to one of the dependency being updated and returning callback instead of Promise, not actually related to dialogflow


[LOCAL ONLY] Enable serving local images

By modifying server.js slightly, we can allow users with local installs to serve images from their local directory, meaning that they will no long need to rely on services outside of their local machine.
Steps:

Create a directory "staticImages" in the project root directory.

Add the following lines to server.js:

if(process.env.NODE_ENV == 'local') {
    app.use(express.static(`${__dirname/staticImages`));
}

Restart the Homebrewery server.

As you will see in the following screenshot, my Ubuntu local install can now access images hosted in the staticImages folder.

A slightly better approach may be along the lines of:
const localEnvironments = ['local','docker','other'];
if(localEnvironments.includes(process.env.NODE_ENV) {
    [...]
}

This allows the same static directory logic to be applied to other environments than just local, as deemed appropriate, and is easily extended to any additional NODE_ENV settings that might be developed in the future.
It also might be appropriate to store the content of localEnvironments in a config file.


Apotheosis boss drops crash game, seemingly from incompatibility when the Lootbeams mod attempts to pull their rarity

log -> latest.log

This just means LootBeams needs to update to be compatible with the latest version of Apoth (which they may have done already).


Magsafe indication

Suggestion

This suggestion helps alot of mac users with MagSafe charger connectors

Would be cool if it can change the magsafe indication when it stops charging at maximum level,
im not sure if its possible or can be done.

I'm not sure this is software-controlled. How does it work with Apple's Optimized Charging? I never checked.

There was this app called BatFi which does it for free tho, which controls magsafe and still with Optimized charging


Wildcard and matching in the .dic files

Hello,
I  have started creating a community dictionary for Finnish locally. Is it possible to use matching, e.g. for all words starting with "salasan" IBMTTS would do whatever I set it to do for the salasan part and then add the rest of the word.

@Finnboy94 First and foremost, good to hear that you've started such a project!
As for your question, I'd suggest testing it. Since I don't know Finnish, I can't tell if it does what you want. However, you can test it by creating an entry in your Finnish Root file and checking if the entry affects its derrivated/inflected forms. This is also what we do for US English.

Hello,
hmm, well I have an entry like this:
salasana    ^[.0sala.1sana]
and that works, but I'd like to have an entry that matches all occurrences of, say, salasan, replaces them and then adds the rest of the word. With REGEXP I could do something like:
^salasan*    ^[.0sala.1san*]
but at least that doesn't work. Weird...


Enhance logging

Explain why an email isn't sent, to help with misconfigurations.

I believe a lot has been fixed around this recently. We should still make sure that if the smtp credentials are missing or incorrect, logs messages are meaningful.


CoreValidation: Fence X submitted in SIGNALED state. Emited randomly on freshly reseted fences

Hi,
the error message "Fence X submitted in SIGNALED state.  Fences must be reset before being submitted" is randomly generated on reseted fences.
Setup 2 threads:

Thread A -> reset fence X
Thread A -> pushes commands and fence X to Thread B for pending execution
Thread B -> submits commands with fence X. -> Randomly generating error message.
Thread A -> wait for fence (after checking that fence X has been submitted)
Go Back To 1.

The call log looks like this (format: thread_id, function, fence):
0xFF0 core_validation::ResetFences(VkDevice_T *, unsigned int, VkFence_T * const *) 0x000000000000000b
0xC04 core_validation::QueueSubmit(VkQueue_T *, unsigned int, const VkSubmitInfo *, VkFence_T *) 0x000000000000000b

Does this happen with one thread?

No, only with two (and probably more) threads.

Thanks; can you elaborate a bit on what you are doing in 2.? It's a bit unclear to me how the thread synchronization is happening. Alternatively is there a repro that we could use for this issue?

Thread B's only purpose is to submit command buffers to queues to move the cost for submits out of all other threads.
Thread B has a queue where other threads push their commands with and without fences, as needed.
Thread B takes those pushes from the queue and submits them to the vulkan queue.
It is also tracked the state of the fence to ensure not to wait on fences that are not submited yet and that fences that are signaled are reseted before reuse for submits.

Also the fence in question is responsible to ensure that resource that are in use are not destroyed while in use. So if the fence was in signaled state, it would trigger other errors to or even crash the driver. But this does not happen.

This setup is the same that lead me to issue #458, but I have not had a chance to test PR #520 against it.

Oh yes, i forgot the fence(s) in question are create with signaled bit set.

Hi @TiemoJung. The fix for @ShaneYCG #458 just hit master two days ago and it does seem like the same issue. Have you run with the lastest master as of yesterday or today?

Have the problem with 8b408b074df08df317a047e913e5ccf7257bf859

@TiemoJung I'm going to need a repro case I can run to see this is in order to debug.

@tobine Ok, but i don't known when i have the time for it. So it could take a while

Closed my other issue, but I am still occasionally seeing this. Might be a race condition in the validation layer. I do have cpu-side sync mechanisms to ensure the second thread has reset the fence before the first resubmits it.

@TiemoJung a related fix was pushed to master today. Can you give this another try and see if you're still seeing the issue?

Hi,
seems that the last changes to the fence handling did indeed fix the problem


KYLIN-3916 Fix cube build action issue

Can one of the admins verify this patch?

Can one of the admins verify this patch?


Feature: REGEX as string

A further step to make json only configurations, it should be possible to define regex values as a string. Since on a lot of places string is also a valid value type, this makes it more diffucult.
Solutions:

if value match to "/...regex.../..." it get converted to a regex.
"REGEX(..regex..)" to explicit convert the value between the braces to regex

Otherwise json only config values will be never possible.

Why do you want JSON only configs?

JSON has so much benefits regarding serialisation etc.
I previously wrote a detailed issue about the benefits (it was about lot more than this issue)
https://github.com/webpack/webpack/issues/4342
Also the issue Usability Discussion (https://github.com/webpack/webpack/issues/2797#issuecomment-277249369) discuss this.
Near plugins, regex config values are one of few parts in a webpack config which cannot be serialised to JSON.
Maybe this issue could be targeted for future webpack releases.
btw: I currently working on a webpack configurator projects which helps a lot of people to understand and configure webpack configs in any complexity. Currently I need a intermediate webpack configuration format which allows to create objects (like regexp's) later.

For such cases I would probably use solutions like https://github.com/yahoo/serialize-javascript.
Also see https://github.com/json5/json5/issues/91


Field as array of tags – multi-word searches don't return results

Hi,
I have a field called 'tags' and the value of field is always an array of tags. The tag format allows for multiple words, so for example indexing might look like:
var content = {
  id: id,
  tags: ['foo bar', 'foo', 'bar']
};

fooIndex.add(content);

Given this example, I'm able to search and return results for tags provided I search for either the string 'foo' or 'bar', but 'foo bar' returns an empty search. How should I go about supporting multi-word searches in this case? It works fine when I simply index a multi-word string on a field, just not as an array like above.

In the example you posted, you should be able to search for 'foo bar' because there are individual tags 'foo' and 'bar', but I think I understand what you mean, a better example would be this document:
{
  id: 1,
  tags: ['foo bar', 'baz', 'qux']
}

Here you should be able to search for 'foo' and get results, but searching for 'foo bar' will not give any results.
This is because, when a document's field is an array, lunr assumes that each element of the array is a token, and therefore performs no tokenisation (e.g. splitting on spaces).
This means that the token being indexed is literally 'foo bar'. This is fine, except, when doing a search for 'foo bar' lunr does do tokenisation, and so is looking for documents with 'foo' and 'bar', not 'foo bar'.
You could ensure that each element in the document array is a single token, as in, can be searched for individually. Typically this means the tags should not contain any characters that lunr will split on.
When searching, the search term is also tokenised in the same way as a document field. This means you can pass your search as an array, which will bypass any tokenisation, e.g.:
idx.search(['foo bar'])

This might work now, but it isn't guaranteed to always work, so I wouldn't recommend it as a long term solution.

Hey Oliver,
Thanks for the reply. Is there a way to disable the tokenizer when indexing
an array of tags in this manner? If I submit the search as an array
globally it does resolve explicit tag matches as you mentioned (e.g. 'foo
bar'), but then I lose fuzzy matching on other fields in the index 'foo baz
bar'.
Thanks,
Chris
--
Chris Fay
On Sun, Mar 12, 2017 at 3:33 AM, Oliver Nightingale <
<EMAIL_ADDRESS>wrote:

In the example you posted, you should be able to search for 'foo bar'
because there are individual tags 'foo' and 'bar', but I think I understand
what you mean, a better example would be this document:
{
id: 1,
tags: ['foo bar', 'baz', 'qux']
}
Here you should be able to search for 'foo' and get results, but searching
for 'foo bar' will not give any results.
This is because, when a document's field is an array, lunr assumes that
each element of the array is a token, and therefore performs no
tokenisation
https://github.com/olivernn/lunr.js/blob/master/lib/tokenizer.js#L18
(e.g. splitting on spaces).
This means that the token being indexed is literally 'foo bar'. This is
fine, except, when doing a search for 'foo bar' lunr does do
tokenisation, and so is looking for documents with 'foo' and 'bar', not
'foo bar'.
You could ensure that each element in the document array is a single
token, as in, can be searched for individually. Typically this means the
tags should not contain any characters that lunr will split
https://github.com/olivernn/lunr.js/blob/master/lib/tokenizer.js#L30 on.
When searching, the search term is also tokenised in the same way as a
document field. This means you can pass your search as an array, which
will bypass any tokenisation, e.g.:
idx.search(['foo bar'])
This might work now, but it isn't guaranteed to always work, so I
wouldn't recommend it as a long term solution.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/olivernn/lunr.js/issues/249#issuecomment-285932998,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAIA-N0kn4DqUeRkEJdARhvUqOKOMyVpks5rk7v4gaJpZM4MXSM1
.

It's not clear to me what you are trying to achieve. Is the tag 'foo bar' really a single tag, or is it two separate tags?
If it is a single tag, then what you are asking for is effectively a leading wild card, e.g. really you want to be searching for '*bar' and this isn't currently supported. Otherwise, if it is actually two separate tags then they need to appear as two separate elements in the array.
I don't know what you mean when you say "disable the tokeniser when indexing an array of tags".
You can do anything you want to the documents before they enter the index, so you could make the tag list something that responds to toString to generate what you need.

Sorry if I'm not being clear.
Is the tag 'foo bar' really a single tag, or is it two separate tags?
'foo bar' is one tag and when added to the index, users should ideally be
able to match the document by the given search examples:

foo bar
foo
bar

If that's not possible, at least matching on 'foo bar' should work, which
is why I asked if I could alter the tokenization when indexing these tags
so that 'foo bar' would be stored as a single token, rather than splitting
on the space to 'foo' and 'bar' separately (the result of which is that the
search 'foo bar' fails).
Does this make more sense?
--
Chris Fay
On Mon, Mar 13, 2017 at 11:15 AM, Oliver Nightingale <
<EMAIL_ADDRESS>wrote:

It's not clear to me what you are trying to achieve. Is the tag 'foo bar'
really a single tag, or is it two separate tags?
If it is a single tag, then what you are asking for is effectively a
leading wild card, e.g. really you want to be searching for '*bar' and this
isn't currently supported. Otherwise, if it is actually two separate tags
then they need to appear as two separate elements in the array.
I don't know what you mean when you say "disable the tokeniser when
indexing an array of tags".
You can do anything you want to the documents before they enter the
index, so you could make the tag list something that responds to toString
https://github.com/olivernn/lunr.js/blob/master/lib/tokenizer.js#L20 to
generate what you need.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/olivernn/lunr.js/issues/249#issuecomment-286176907,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAIA-OzO3mNAtH5eRdcMa4iKp7fzXCbEks5rlXmjgaJpZM4MXSM1
.

That makes sense, but there are two problems:

As far as Lunr is concerned, a tag should be one single, indivisible, token. So you can't search by half of a tag. Lunr does insert trailing wildcards to the search so this sort of works, but not in the way you want it to
Lunr is getting confused because the tag contains a character it considers a token separator, when searching Lunr will convert 'foo bar' into two separate tokens, and only find documents that have both. As mentioned earlier you can take advantage of the tokeniser supporting arrays to search for "foo bar" as one token, but this is undocumented behaviour that might not always be true in future versions of Lunr.

Where does that leave you, well, I'd suggest trying to avoid using characters that Lunr considered as separators within tags. Sorry that's not very useful, but I'm not sure there is any other workaround with the current implementation.
I'll close this issue now as I don't think there is any fix needed/possible here, feel free to re-open or add any other workaround you come up with.


Consider adding a workflow to automatically build the documentation

I wouldn't mind a workflow that automatically checks whether the docs build properly. To speed things up, perhaps it could run only when there are changes in the /docs folder, or some similar optimizations.

@ItsDrike
Readthedocs has this feature. You just need to activate Build docs on PRs somewhere on the site.
Originally posted by @PerchunPak in https://github.com/py-mine/mcstatus/pull/456#discussion_r1064026252

Well, this is just a 5 seconds task...

https://user-images.githubusercontent.com/68118654/211188722-a5b3d8e9-86ce-4f21-b152-d5f0d4d2a904.mp4

https://docs.readthedocs.io/en/stable/pull-requests.html
I checked the box


SpectralSlice class

We need a class to hold together a lot of contextual information for defining a sub region of the spectrum for dispersion rendering.

Was implemented as part of the observer redesign.


Update: SoulBoundNFT community on Kaia

Description

Update UI for website to mint and manage NFT easy.

Reference issue

#4

Category

NFT

wait. previous bounty is not even completed. no submission

Sorry, I was distracted and I submitted it. During my distraction, I continued to develop version 2 and improve the UI as well as add some other features. I done submit at #4

Approved to proceed


Documentation

Could you make some sort of documentation that would allow us to add our own behaviors.  Most of your functions and variables have meaningless names and don't make a whole lot of sense to a reader.  I'd like to have bots that find and feed certain players.

The stuff that you want to edit does have meaningful names.


Keraflow, and chances to merge into Keras

I've written a framework based on Keras concept:
https://github.com/ipod825/keraflow
I was suggested that it would benefit users if it is merged back into Keras since the community here is large.
So I post it here for discussions. Comment is always welcome.

Have you looked into making custom RNNs simpler in Keras?

No, it that an issue or code comment?

Issue.

Why would you ask if I have looked into it? And I can't find which issue you are referring to. Could you tell me the issue number?

Layer embedding seems like an interesting concept. When you say "simpler tensor linkage mechanism", what do you mean by that? Would this be simple to integrate into Keras without breaking things, and what sort of advantages would be gained?

By "tensor linkage mechanism", I mean how theano (tensorflow) tensors are generate by Keras (or Keraflow).
I am not very familiar with Keras mechanism. I've traced its code very long before and knew that it track layer's output shape backwards. That is, the input shape of the final layer is the output shape of the penultimate layer and so on.
Also, Keras layers' keep an eye on its input and output tensors with inbound_nodes and outbound_nodes. I am not very familiar with these things, but I do think maintaining this two lists is the reason that things are complicated in Keras, which hinders me from tracing the source code again.
Personally speaking, I do think Keraflow has simpler mechanism.
User are forced to specify input shape with Input layers.
Then you feed an input layer to another layer, build the layer and get the output symbolic tensor (and its shape).
Repeat the process all the way to the output layer.
Then the model can simply compile with the input and output tensors without back tracking to build the layers in the model.
The advantage of a "simpler" (if you agree) tensor linkage mechanism, it lowers the barrier for developers to modify Keras (or Keraflow), which will surely increase the speed of developing.
As for integration, I believe there will be much work to integrate Kerflow into Keras. The reason is that Keraflow actually does the same things in a different manner. Actually, you could copy and paste many Keras examples (with a little modification) and run it with Keraflow. To integrate one into the other means we need to choose one major manner to work with instead of patching code from one to the other.


Remove use of multiple deprecated methods

A clear and concise description of what the technical debt is.
Depricated methods are still functional but are no longer recommended and may be removed in future versions of the framework or SDK. Continuing to use deprecated methods increases the risk that the app will break when upgrading to newer versions of Android. Developers who come across deprecated methods later may need to refactor large portions of the codebase, increasing the maintenance burden. This creates unnecessary work and slows down the development process.
Screenshots
.

Location:
File: AndroidHarness.java
Path: src/main/java/com/jme3/app/AndroidHarness.java
Reason for change:
The reason for the changes from methods like getHeight(), getWidth() and setBackgroundDrawable() to newer alternatives (getSize(), setBackground()) is to improve Android API consistency, maintainability, and performance over time.

Closing this issue in favour of this PR: #10


No consensus in reporting success rate of an attack

Some of the attacks report their success rate as a percentage (scale 0-100) and some as a rate (scale 0-1).
e.g Carlini attack:

logger.info('Success rate of C&W L_2 attack: %.2f%%',
                    100 * compute_success(self.classifier, x, y, x_adv, self.targeted, batch_size=self.batch_size))
Universal perturbation:

fooling_rate = np.sum(pred_y_max != y_adv) / nb_instances
....
logger.info('Success rate of universal perturbation attack: %.2f%%', fooling_rate)

Hi @felentovic Thank you very much for using ART and informing us about your observation. You are right, all success rates should be reported as percentages. Would you be interested to fix this issue?

Hey @beat-buesser thank you for your quick reply. I would like to help by fixing this issue :)

That's great!
I'll assign the issue to you and please let me know anytime if you have any questions or need support.

Hey it seems that the PoisoningAttackSVM, can be targeted also, but it doesn't accept the targeted flag in the constructor. Should I fix that?

Would you proposal include implementing additional code for the targeted attack or just the flag in the constructor?
I think if we continue we should create a separate issue for this.
Let me check with @ebubae who implemented PoisoningAttackSVM. @ebubae what do you think about @felentovic's proposal above?

Hey @felentovic
PoisoningAttackSVM currently only supports binary classifiers. Every attack is targeted to either an optional y value or to the opposite of the model's current classification of the point. Although an targeted flag could be useful for future support with multi-label classifiers, it may be more cumbersome that its worth at its current state.

@ebubae I agree with your opinion. My idea was to add logging of success rate for classifiers who also don't do that currently(e.g PoisoningAttackSVM) and to do it using the compute success method from utils:
compute_success(classifier, x_clean, labels, x_adv, targeted=False, batch_size=1)
Would this be the right way to use the mentioned method then?:
targeted = y is not None
x_adv = np.array(all_poison).reshape((num_poison, num_features))
compute_success(self.classifier, x, y, x_adv, targeted=targeted, batch_size=self.batch_size)

Yes that would correct.

Hi @felentovic Just checking, do you have everything you need to make good progress?


search

Subject: search
Description:
using search filter
Results:
there is no possibility to search for either men or females. Why?
Backend version: develop-9e529dc6
Frontend version: develop-9e529dc6
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0
Page: https://couchers.org/search?location=Costa+Rica&lat=10.2735633&lng=-84.0739102&query=female#loc=15/10.27365/-84.07345
User: l0stn0mad (6228)

it's not implemented


Fine tune word vertical Placement and vertical size

I would like to work on this a bit since most of my PDF's end up with the characters being a few pixels lower than the actual text. Could you point me in the right direction?

Positioning is done in hocrTransform.py. My wild guess is that we're somehow not accounting for the baseline offset from the bottom of the glyph. There is an option to turn on bounding boxes and also render the OCR text instead of the image, which may help with seeing if there is a consistent positioning error. There will be a fundamental limit to accuracy though because we just assume the font is Helvetica and stretch/compress it to fit each word. I recommend basing changes on the develop branch since it contains other fixes, and well, it's the latest.
Depending on your application you might want to use Tesseract 3.03 to generate the single page OCR PDFs rather than hocrTransform. Tesseract has other problems with how it renders PDFs, but I think its text positioning is more accurate.

Hi kyle,
I started working a long time ago on this. It was already working quote
well for Latin glyphs. If I remember well, my working is in one of the
experimental branches. You can use this as a starting point.
Kingd regards,
Fritz.
Le 20 juil. 2015 16:31, "Kyle Bruene"<EMAIL_ADDRESS>a écrit :

I would like to work on this a bit since most of my PDF's end up with the
characters being a few pixels lower than the actual text. Could you point
me in the right direction?
—
Reply to this email directly or view it on GitHub
https://github.com/fritz-hh/OCRmyPDF/issues/45#issuecomment-122903171.

You'll find this is much improved in OCRmyPDF v3.0-rc2 with the --pdf-renderer tesseract flag set.


runtime: MOVUPS in duffcopy causing "suicide: sys: floating point in note handler" on Plan9

Go and OS versions
go: go version devel +5a2a556 Fri Oct 2 16:39:16 2015 +0100 darwin/amd64
executing OS: 9front amd64 current head
compiling OS: OS X 10.11
Test
package main

func main() {
    println("Hello World!")
}

Expected result
cpu% ./test
Hello World!
cpu%

This is also the result on 1.5.1
Actual result
cpu% ./test
Hello World!
test 9272: suicide: sys: floating point in note handler: 0x24abaa
test 9271: suicide: sys: floating point in note handler: 0x24abaa
test 9270: suicide: sys: floating point in note handler: 0x24abaa
cpu%

Debug info
cpu% acid 9270
/proc/9270/text:amd64 plan 9 executable
/sys/lib/acid/port
/sys/lib/acid/amd64

acid: stk()
runtime.duffcopy()+0x25a ?file?:0
runtime.sighandler(runtime.~r3=0x0,runtime.gp=0x862c480,runtime.note=0x7ffffeffeb70,runtime._ureg=0x7ffffeffebf8)+0x369 ?file?:0
runtime.sigtramp()+0x60 ?file?:0
0x7ffffeffebf8 ?file?:0

acid: asm(*PC)
runtime.duffcopy+0x25a 0x000000000024abaa	MOVUPS	0x0(SI),X0
runtime.duffcopy+0x25d 0x000000000024abad	ADDQ	$0x10,SI
runtime.duffcopy+0x261 0x000000000024abb1	MOVUPS	X0,0x0(DI)
runtime.duffcopy+0x264 0x000000000024abb4	ADDQ	$0x10,DI
runtime.duffcopy+0x268 0x000000000024abb8	MOVUPS	0x0(SI),X0
runtime.duffcopy+0x26b 0x000000000024abbb	ADDQ	$0x10,SI
runtime.duffcopy+0x26f 0x000000000024abbf	MOVUPS	X0,0x0(DI)
runtime.duffcopy+0x272 0x000000000024abc2	ADDQ	$0x10,DI
runtime.duffcopy+0x276 0x000000000024abc6	MOVUPS	0x0(SI),X0
runtime.duffcopy+0x279 0x000000000024abc9	ADDQ	$0x10,SI
runtime.duffcopy+0x27d 0x000000000024abcd	MOVUPS	X0,0x0(DI)
runtime.duffcopy+0x280 0x000000000024abd0	ADDQ	$0x10,DI
runtime.duffcopy+0x284 0x000000000024abd4	MOVUPS	0x0(SI),X0
runtime.duffcopy+0x287 0x000000000024abd7	ADDQ	$0x10,SI
runtime.duffcopy+0x28b 0x000000000024abdb	MOVUPS	X0,0x0(DI)
runtime.duffcopy+0x28e 0x000000000024abde	ADDQ	$0x10,DI
runtime.duffcopy+0x292 0x000000000024abe2	MOVUPS	0x0(SI),X0
runtime.duffcopy+0x295 0x000000000024abe5	ADDQ	$0x10,SI
runtime.duffcopy+0x299 0x000000000024abe9	MOVUPS	X0,0x0(DI)
runtime.duffcopy+0x29c 0x000000000024abec	ADDQ	$0x10,DI
runtime.duffcopy+0x2a0 0x000000000024abf0	MOVUPS	0x0(SI),X0
runtime.duffcopy+0x2a3 0x000000000024abf3	ADDQ	$0x10,SI
runtime.duffcopy+0x2a7 0x000000000024abf7	MOVUPS	X0,0x0(DI)
runtime.duffcopy+0x2aa 0x000000000024abfa	ADDQ	$0x10,DI
runtime.duffcopy+0x2ae 0x000000000024abfe	MOVUPS	0x0(SI),X0
runtime.duffcopy+0x2b1 0x000000000024ac01	ADDQ	$0x10,SI
runtime.duffcopy+0x2b5 0x000000000024ac05	MOVUPS	X0,0x0(DI)
runtime.duffcopy+0x2b8 0x000000000024ac08	ADDQ	$0x10,DI
runtime.duffcopy+0x2bc 0x000000000024ac0c	MOVUPS	0x0(SI),X0
runtime.duffcopy+0x2bf 0x000000000024ac0f	ADDQ	$0x10,SI

The above appears to be calling copyduff from the sighandler. Change 14836 (https://go-review.googlesource.com/#/c/14836/) changes runtime.copyduff from using MOVQ to using MOVUPS for performance reasons, but Plan9 does not permit using floating point in note handlers. This includes operations that access XMM registers, such as MOVUPS.
Almost two years ago, a similar issue was fixed, where runtime.memmove (which used MOVOU) was used accidentally in the plan9 signal handler: https://codereview.appspot.com/34640045/
Proposed solution
A solution would be to avoid using copyduff in this case or to have a slower copyduff as well. Reverting the optimized copyduff for only this reason would seem silly to me.

If you want Plan 9 to stop regressing in this way, you should add a unit test which triggers it. Cause a bunch of notes to happen at a time/place where these copy routines would run?
Any fix for this would need a test anyway, so writing the test wouldn't be a waste of time.
/cc @0intro

We already turn off duffcopy when goos==Nacl.  You can just turn duffcopy off when goos==plan9 also.
See cmd/compile/internal/amd64/cgen.go:blockcopy.

Sgtm, but a test is still important.
On Sat, 3 Oct 2015 11:53 Keith Randall<EMAIL_ADDRESS>wrote:

We already turn off duffcopy when goos==Nacl. You can just turn duffcopy
off when goos==plan9 also.
See cmd/compile/internal/amd64/cgen.go:blockcopy.
—
Reply to this email directly or view it on GitHub
https://github.com/golang/go/issues/12829#issuecomment-145260573.

Agreed.

A test:
package main

import (
	"fmt"
	"os"
	"testing"
)

func TestNote(t *testing.T) {
	pid := os.Getpid()

	path := fmt.Sprintf("/proc/%d/note", pid)
	f, err := os.Create(path)
	if err != nil {
		t.Fatalf("unable to open note file: %v", err)
	}
	defer f.Close()
	fmt.Fprint(f, "Hello, world!\n")
}

I have run a non-test variant (make TestNote into a func main() and you got it), but not as go test, as I only have go 1.4.2 available directly on my plan9 box. I can install one from master later tonight when I come home for testing "go test" directly. The only issue that could be would be whether go test would detect that the thread has been suspended as an error.
If the signal handler works in the _SigNotify case, then this should simply do nothing. Otherwise, the thread will have execution suspended in the "broken" run state, and "XYZ: pid: suicide: sys: floating point in note handler: pc=somewhere" printed to stderr. It does not validate the _SigPanic or _SigExit branches.
A side-note is that, due to the go runtime posting "go: exit" to all threads on shutdown, any terminating application is a test, with all threads being suspended and having their own line about floating point written to stderr.

@joushou, if that test code causes it to crash, then why do the signal_plan9_test.go tests in the standard library already still pass? Its postNote code does the same thing.

@bradfitz As far I understand it, the tests pass on plan9/386, but not on plan9/amd64.
The recent duffcopy change is indeed amd64-specific.
The real issue is we don't have any plan9/amd64 builder currently.
I've set up a GCE image running the 9k (amd64) kernel, but I still have
to fix a major issue in the memory manager before it could be running reliably.

@0intro: Yes, it's amd64 specific. 386 uses MOVL, whereas amd64 uses MOVOU with an XMM register.

We really need an plan9/amd64 builder before we can even discuss changes for plan9/amd64. In fact, I'm actually a little tempted to delete all the plan9/amd64 code since it's been (way!) over four weeks (per golang.org/wiki/PortingPolicy) since we last saw a successful build result plan9/amd64. The porting policy requires we have a running builder.
If 9k is a buggy kernel, are there any other non-buggy amd64 kernels which can run in other environments at least? VMWare? AWS?

The former plan9/amd64 builder was running the 9front kernel.
I should be able to set up an old-style plan9/amd64 builder running 9front.
Would it be fine?

I was about to suggest that. 9front doesn't seem to have known issues with the amd64 kernel.
I would be very sad if the plan9/amd64 code got pulled.

I would be very sad if the plan9/amd64 code got pulled.

@joushou, maybe you can help run a builder.  :)

@0intro, I don't know anything about 9k vs 9front. Old style builders can't be trybots, but that's fine. Email me for a build key.

@bradfitz I might be able to donate some processing power myself to the task in the near future, but my internet connection is wireless and unstable until some legal matters get sorted out. Until then, I can only help with others' builders, and try to see if I can find and fix other plan9 issues. :)

@joushou Any help is very appreciated :)
A plan9/amd64 (9front) builder is now running.


TM_RTC_Config

TM_RTC_Config does not set all RCC_PeriphCLKInitTypeDef struct entries.
PeriphClockSelection may have random value and HAL_RCCEx_PeriphCLKConfig will hang.

Let me know about yourfix. According to the clock you wanna init, these
options are used and other ignored.
Waiting your fix.
Have a nice day.
26. nov. 2015 10:36 dop. je oseba "Piotr Miedzik"<EMAIL_ADDRESS>napisala:

TM_RTC_Config does not set all RCC_PeriphCLKInitTypeDef struct entries.
PeriphClockSelection may have random value and HAL_RCCEx_PeriphCLKConfig
will hang.
—
Reply to this email directly or view it on GitHub
https://github.com/MaJerle/stm32fxxx_hal_libraries/issues/5.

I've created pull request #6
I'm not sure if this is correct (works with stm32f429l-discovery).

Edit: I have check your "bug" post. As you can see from HAL_RCCEx_PeriphCLKConfig function, it first check for which clock TYPE it goes. If RTCCLK is selected, then it does not use any other types of structure, only these.

HAL_RCCEx_PeriphCLKConfig is correct, however nothing is selected in TM_RTC_Config and RCC_PeriphCLKInitTypeDef.PeriphClockSelection has some garbage that was previously in this memory area. So in my case (24-STM32Fxxx_RTC_LCD) RCC_PeriphCLKInitTypeDef.PeriphClockSelection was equal to 1

Yes, true that. I've fixed it, just must upload code.
Thanks for that.
26. nov. 2015 3:42 pop. je oseba "Piotr Miedzik"<EMAIL_ADDRESS>napisala:

Edit: I have check your "bug" post. As you can see from
HAL_RCCEx_PeriphCLKConfig function, it first check for which clock TYPE it
goes. If RTCCLK is selected, then it does not use any other types of
structure, only these.
HAL_RCCEx_PeriphCLKConfig is correct, however nothing is selected in
TM_RTC_Config and RCC_PeriphCLKInitTypeDef.PeriphClockSelection has
some garbage that was previously in this memory area. So in my case
(24-STM32Fxxx_RTC_LCD) RCC_PeriphCLKInitTypeDef.PeriphClockSelection
was equal to 1
[image: tm_rtc]
https://cloud.githubusercontent.com/assets/458401/11425292/2e6e55de-9454-11e5-8b5f-14a06abcea30.PNG
—
Reply to this email directly or view it on GitHub
https://github.com/MaJerle/stm32fxxx_hal_libraries/issues/5#issuecomment-159929910
.


Bug 2209251: Fixes Topology view Deployment resources view

Previously the Pods view would show unrelated pods
This PR introduces using PodSelector to select appropriate pods for a deployment.

/lgtm

/approve


Information Management during an audit

We need to write up our practices, and best practices, for securely keeping information during an audit. This can be its own section as well as a suppliment to operational security and other sections when section specific guidance is possible.

Closed as duplicate of https://github.com/OpenInternet/SAFETAG/issues/166


Consider dropping get-pip.py

I came across this project from my github discover and found the languages stats saying it is a Python project. However it isn't. The large portion of Python is caused by the get-pip.py, a 1.62 MiB file. But from my simple searching it isn't used anywhere.
I suggest to remove this file since it can be easily downloaded from internet.

You are right. Removed until we implement the python handler.


Release for v0.1.3

This pull request is for the next release as v0.1.3 created by tagpr. Merging it will tag v0.1.3 to the merge commit and create a GitHub release.
You can modify this branch "tagpr-from-v0.1.2" directly before merging if you want to change the next version number or other files for the release.

How to change the next version as you like
There are two ways to do it.

Version file

Edit and commit the version file specified in the .tagpr configuration file to describe the next version
If you want to use another version file, edit the configuration file.

Labels convention

Add labels to this pull request like "tagpr:minor" or "tagpr:major"
If no conventional labels are added, the patch version is incremented as is.

What's Changed

feat: sync items with a JSON file by @michimani in https://github.com/michimani/cfkvs/pull/34

Full Changelog: https://github.com/michimani/cfkvs/compare/v0.1.2...v0.1.3

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 17.57%. Comparing base (b31ec68) to head (d1a3caa).
Report is 3 commits behind head on main.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@           Coverage Diff           @@
##             main      #35   +/-   ##
=======================================
  Coverage   17.57%   17.57%
=======================================
  Files          14       14
  Lines         677      677
=======================================
  Hits          119      119
  Misses        556      556
  Partials        2        2

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


Add emissions variable for CEDS harmonization

Based on bilateral conversion with @volker-krey and email exchange with Steve Smith

Merging per discussion with @volker-krey.


VisualServer::material_get_param() returns wrong default value

Godot 3.0.5
Windows 10 64 bits
GeForce GTX 1060 6GB/PCIe/SSE2
Repro steps:

Create a shader containing a uniform with a default value
Create a new ShaderMaterial and assign the shader to it:
notice that despite the renderer applies the default value, the inspector shows a wrong value.

This also means scripts using VisualServer::material_get_param() will not get the default value either until it is manually set...
In my use case that means the inspector of my custom node shows wrong initial values in its Shading section.

Confirmed in the current master branch, all uniforms appear with default 0 values of their type in the "Shader param" section, even though the default value set in the shader is applied.
If you change the value, there is no indication that you overrode the default (no "revert" icon), and you can't get back to following the default value either (resetting to "0" means actually setting 0 as the uniform value).

Closing as duplicate of #17887.


Close #LGVISIUM-73: Create a metadata object and look into the file organisation

I tried to move the different files from the utils directory into meaningful new directories that are grouped by the extracted borehole feature. Furthermore, I refactored the BoreholeMetadata class and created a way to evaluate the metadata on its own. There will be a follow-up ticket for the layers and other parts of the pipeline. The goal I was pursuing was to aim for no dictionaries that are filled on the fly but to create data classes that have attributes for the different features.
I also tried to conceptually differentiate between classes that hold data and classes that compute and evaluate the extracted information.

Overall, the idea is that the refactored architecture follows the following pattern. The FilePrediction object we currently have as a large dict should become an object that hosts sub-objects such as the BoreholeMetadata object. This BoreholeMetadata can then be evaluated individually using a BoreholeMetadataEvaluator.
Grouping the different objects into classes make it easier to keep track of the fields in the object as they need to be declarer in advance and not on of the fly as we currently do in the dict objects.

Need to investigate why the metrics are different. Currently, checked the formula but did not find anything obvious.


add missing level

I've noticed the breadcrumb for this docset didn't follow the convention we have in other docsets like VS, .NET or Windows. This is my attempt to fix that.

@lukekim build has finally finished successfully although I can't see the changes on review.

@mairaw it doesn't give you a preview for YAML pages, but does https://review.docs.microsoft.com/en-us/sysinternals/?branch=pr-en-us-119 look about right for you?

I am going to close this issue. If you get a chance to resolve the conflicts, please take a look and resubmit!


Add Cetvrta gimnazija Ilidza to domains

URL of School's Website: https://cetvrta-gimnazija.edu.ba/
URL of list of subjects for IT program: https://cetvrta-gimnazija.edu.ba/wp-content/uploads/2019/04/IT-smjer.pdf
Screenshot of dedicated IT subjects:

@VenomTS First stage of verification passed, official domain is cetvrta-gimnazija.edu.ba as far as I verified. This is just an informational note. Pull request is still in the review. I appreciate your patience while waiting for the final decision.

@VenomTS Thank you for your patience while waiting for a review and processing your request. Pull request merged.


[Release] Ability for Fiscal Hosts to "unhost" Collectives

https://github.com/opencollective/opencollective/issues/3330

https://opencollective.com/opencollective/updates/freeze-and-unhost-collectives

From @BenJam's Release Draft on Open Collective - We've added the ability to freeze and un-host Collectives for host administrators.
In order to protect hosts from abuse, and to support Collectives wishing (or needing) to migrate to another host we have added the ability for host admins to self-manage their relationships with their Collectives.
Freezing a Collective will block all financial activity within that Collective. Contributions and expenses will be removed from the Collective's public profile, and admins will be informed of why the action was taken. We've used this within our own host networks to stop fraudulent contributions and stop rogue administrators while we resolve situations with the communities impacted.
We've also added the ability to un-host a collective, which can be used to free a Collective to choose another host or to become an independent collective. Before un-hosting, a Collective's balance must be zeroed by paying expenses, making contributions to other Collectives or gifting the balance to the host.
Both of these options are available from your host dashboard under 'Hosted Collectives'.
📘 Read more about freezing a Collective
📙 Read more about un-hosting a Collective
✉ Contact support
📣 Leave feedback below

https://opencollective.com/opencollective/updates/freeze-and-unhost-collectives

@BenJam I get a 404 on this one, I suppose the right one is https://opencollective.com/opencollective/updates/fiscal-host-update?

Yup! I've changed them all @BenJam is aware


Prevent Deployment on Fork Repositories for Dev, Staging, and Production

Description
This pull request updates the CI/CD configuration to prevent deployments to development, staging, and production environments from forked repositories.
Objective
Enhance the deployment process by ensuring that deployments from forked repositories are restricted, thereby avoiding potential issues and ensuring that only trusted sources can deploy to critical environments.
Changes Made

Updated the CI/CD Workflow: Modified the github worflows to include a condition that prevents deployments from forked repositories.
Scope: The change applies to all environments: development, staging, and production.
Configuration Improvement: Added a check to ensure that the deployment job only runs if the repository is not a fork.

Checklist

🚨 Please review the contribution guideline for this repository.
Code adheres to the project's style guidelines.
This PR does not include plagiarized content.
The title and description of the PR clearly outline the changes made.
The PR targets the dev branch.
Commit messages follow the specified format.
Code changes pass all linting checks and unit tests.
Modifications are limited to the necessary files.

Don't merge yet 🙏🏽. An intern would do same for production and staging

Don't merge yet 🙏🏽. An intern would do same for production and staging

okay. won't be merging this

Don't merge yet 🙏🏽. An intern would do same for production and staging

okay. won't be merging this

All good @chimaihueze. this PR aims to avoid unnecessary attempt to deploy on forks.

Don't merge yet 🙏🏽. An intern would do same for production and staging

okay. won't be merging this

All good @chimaihueze. this PR aims to avoid unnecessary attempt to deploy on forks.

alright thanks. will be merging now