37.9 will not update in VS 2017

Description
37.9 will not update in VS 2017 15.4.4, and 37.7 will not uninstall
Repro steps
Select update from the VS Notification.

Originally the VSIX installer reported success, but it did not actually update to the current version.

Subsequent attempts resulted in message that it had already updated.

37.7 will not uninstall.

Related information

Operating system - Windows 10
Visual Studio 2017, 15.4.4

Is that a vs issue?
Am 16.11.2017 05:55 schrieb "Jack Fox"<EMAIL_ADDRESS>
Description
37.9 will not update in VS 2017 15.4.4, and 37.7 will not uninstall
Repro steps
Select update from the VS Notification.

Originally the VSIX installer reported success, but it did not
actually update to the current version.
2.
Subsequent attempts resulted in message that it had already updated.
3.
37.7 will not uninstall.
Related information

Operating system - Windows 10
Visual Studio 2017, 15.4.4

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/fsprojects/Paket.VisualStudio/issues/161, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AADgNCT_aqm0qBsWQfSj7gIeySc5z8F5ks5s28BVgaJpZM4Qf9md
.

I don't know how to tell. I think I first started experiencing the issue with 15.3.something.
I'll ask post to VS issues also.  Has not happened to me in a while, and this is the only one that is stuck now.


Allow a .tar to be downloaded containing the introspection fs

This patch adds a command-line argument
--diagnostics \.\pipe\foobar
--diagnostics /tmp/foobar
which will listen on a local Unix domain socket or Windows named pipe. Clients should connect to the socket or pipe and read until EOF. The data will be a tar-formatted diagnostics archive which contains the same data as the 9P introspection fs.
Signed-off-by: David Scott<EMAIL_ADDRESS>

This still needs a bit more testing.

OK CI is green and this should be very useful for diagnostics, especially on Windows.


Translations missing for data disclaimer

For es, plus I spot-checked a few other langauges:
https://github.com/google/personfinder/blob/master/app/locale/es/LC_MESSAGES/django.po#L1085

Thanks for the report. Fixed for Spanish. We are working on adding other languages too.


Multicolor sprites respecting borders and double height/width

I fixed this in my repo, you can just pull from the following functions (rather than pasting them here)
void Vic::draw_mcsprite(int x, int y, int sprite, int row)
and
void Vic::draw_sprite(int x, int y, int sprite, int row)
https://github.com/xlar54/emudore64/blob/master/src/c64/vic.cpp
I have a test program for this, but I cant extract it from the harddrive just yet.  But the following pokes may help:
53271 - double height(0 = off for all, 255  = on for all)
53277 - double width (0= off for all, 255 = on for all)
53276 - multicolor sprite mode (0 = off, 255 all on)

(the color differences are because the test program cycled colors, and my snapshot timings were off)
its pretty much all inclusive at this point, containing the 38 & 24 column code in there, h/v scrolling, and extended background color mode.  At some point Ill look into sprite collisions and will update you.

the bottom of this page is one of the test programs I used, if it helps:
https://www.c64-wiki.com/wiki/Sprite


Unicode API request: removing accents / diacritics in a string

This issue was originally filed by<EMAIL_ADDRESS>
Full-text search often includes a normalization step that removes diacritics (a.k.a. accents) from non-English text, e.g. "áű" -> "au".
Java has builtin support for this:
    public static String removeAccents(String text) {
        return text == null ? null
            : Normalizer.normalize(text, Form.NFD)
                .replaceAll("\p{InCombiningDiacriticalMarks}+", "");
    }
JavaScript has no similar function, and people are using handmade replace lists, e.g. http://lehelk.com/2011/05/06/script-to-remove-diacritics/
It would be nice if Dart could support it similar to Java (at least in server-side Dart codes) and we wouldn't be required to maintain handmade replace lists.

https://github.com/dart-lang/sdk/issues/3174#issuecomment-789066583


uncommenting the assets part in the pubspec.yaml file leaves mismatching indentation

The default pubspec.yaml file contains these lines.
# To add assets to your application, add an assets section, like this:
# assets:
#  - images/a_dot_burr.jpeg
#  - images/a_dot_ham.jpeg
But when uncommenting with (ctrl + /), there is an indentation mismatch on the lines
"- images/a_dot_burr.jpeg" and
"- images/a_dot_ham.jpeg"
That is, there is only one space before the '-' instead of two

@zahash  I would like to work on this issue.


Broken links

I was interested about the rationale behind Elm, but this link is broken, along with several others:
https://github.com/elm-lang/elm-lang.org/blob/master/public/learn/FAQ.elm#L17

I've found a broken link in the following file and line
https://github.com/elm-lang/elm-lang.org/blob/master/frontend/public/Install.elm#L97

@ifraixedes, do you mind opening a PR? I recently renamed src/ to installers/

I've sent it

There is another broken link in the FAQ, here:
https://github.com/elm-lang/elm-lang.org/blob/master/frontend/public/learn/FAQ.elm#L50
Unfortunately, it was also not archived by web.archive.org because of robots.txt.

It seems that everything at testblogpleaseignore has been lost :/ Sorry, but I don't think there is anything to be done here. I'll try to write up the modern form of those ideas at some point though!


Unable to retrieve file extension of workbook prior to calling workbooks.download method

Thanks for helping out. I'm a little new to this whole thing, but I seem to be stuck in a catch 22 situation.
I am trying to download all workbooks/datasources from the server. Given whether the workbook or datasource has an embedded extract, the resulting file will either be twbx or twb (tdsx and tds for datasources). If I call the workbooks.download method, the file will automatically download with the correct extension.
The problem however is that I need to sanitize the filenames to remove symbols that are not supported by the underlying OS in filenames. I can specify the 'filepath' parameter of workbooks.download with an ".twbx" extension to force it to accept the sanitized name, which brings me back to the issue where I cannot determine if a workbook is twbx or twb without calling workbooks.download.
workbooks.download also truncates the filename automatically if it cannot write the full name, e.g. if a workbook is named "A/B testing" it will truncate the name to "B testing". This causes some issues for workbooks that have similar suffixes that end up being overwritten.
Does anyone know a way around this? If I could get the extension prior to calling the workbooks.download method, I could hard code the filepath to use the sanitized name. Obviously I can download everything once then read the extensions from there, but that seems like a crazy waste of resources.
Example:
Allows me to force sanitized name, but I have to specify extension:
workbook_filepath = server.workbooks.download(workbook.id, filepath=workbook_project_folder+'\\'+workbook_name+'.twbx', no_extract=False)
Automatically downloads with correct extension, but does not use sanitized name:
workbook_filepath = server.workbooks.download(workbook.id, filepath=workbook_project_folder, no_extract=False)
Thank you again, really appreciate any input into this issue.

Good catch,
I think there is a bug here. We should call ‘to_filename’ in cases where filepath is provided. Currently we only do that if filepath is None

This has been fixed since 2019


Discrepancy between Date handling on iOS and Android

We noticed a discrepancy between iOS / Android regarding "created" attribute on PaymentIntent on the native side:
https://github.com/stripe/stripe-react-native/blob/master/android/src/main/java/com/reactnativestripesdk/Mappers.kt#L328 -> created is a string
https://github.com/stripe/stripe-react-native/blob/master/ios/Mappers.swift#L360 -> created is an int
https://github.com/stripe/stripe-react-native/blob/master/src/types/PaymentIntents.ts#L7 -> created is a string
I'm not sure if it has an effect on React Native itself but it does on Android. Adjusting convertToUnitTimestamp on Mappers.kt on Android to return a String would fix this issue.

Which version of library do you use?
https://github.com/stripe/stripe-react-native/blob/master/ios/Mappers.swift#L824
convertDateToUnixTimestamp returns string so it should be consistent with the rest of cases

@jonasbark ok I guess you meant that on ios 'createdis a string but on android isint` right?


Fix #135, #134 - fix copyToLocal bugs

fix problem of multiple input sources with different
base locations (#135)
fix problem of enforced copy to root (#134)

No accompanying tests?


Provide public macro functions for tracker values

I'm not certain if they're buried in and not documented, or are private, but I think it could be nice to have functions for macros to refer to the values of a given tracker.
It could be nice to refer to the tracker's values or allow macros to change them. It might seem a bit redundant when you can simply click the tracker, but having macros manipulate it or read it can be handy, especially in high automation games.
Could probably go alongside the open/close hooks.

Added in release 0.9.


Add a channel when hovering over sub emotes

In regular twitch chat, when you click on an emote, it will show the channel that it's from

Relevant comment: https://github.com/Chatterino/chatterino2/issues/1765#issuecomment-660444552.

Relevant comment: Chatterino/chatterino2#1765 (comment).
Also, duplicate issue in the Chatterino2 repo: Chatterino/chatterino2#917.

This isn't a chatterino related issue, right? It should probably be here.

It makes sense to keep this open; just wanted to link to other relevant issues.


Custom logo for channels with ":" character

Describe the bug
In France, we've got a TV channel that use a ":" character in its name: "franceinfo:". I've tried to place a custom logo for this channel in the www/samsungtv_smart_logos folder, but the ":" is not allowed in a filename. Thus, it's not working, the integration can't use the logo (the best filename I can set is "franceinfo.png"). Could you adapt the code to support this special character when the media_title contains a ":" character?
Environment details:

Environment (HASSIO, Raspbian, etc): Raspberry Pi 4
Home Assistant version installed: 2022.06
Component version installed: lastest
TV model: Samsung Q7N55 (2018)

This is fixed with last release, just create local logo file without ":" character.


include port (updates #2)

In this case the port is only included in url.host not url.hostname, so also pass port: url.port to URL.format().

merged into 1.0.2

<3


logaggregator: Use retry dialer in client

This prevents errors like the on in CI build https://ci.flynn.io/builds/20151115010657-73c9f645 where the test got a connection refused as it was connecting to a logaggregator which just went down (but whose address was still being returned by discoverd).

LGTM


[Compile Time Constant Extraction] Extract from extensions of types not declared in the same file

Resolves rdar://118904022

@swift-ci please smoke test


Rendered content

Hi! First, thank you for your great lib!
When we render a lot of popper, the browser will drastically slow down (due to popper.js)
Do you know how to render the popper on the fly ?
Or a way to render the content only when the selector is hovered ?
Thx you!

This might be related to #13 - I'll take a look at this and see if I can improve performance, thank you!

How many Poppers are we talking about here?

Not sure it's the same use case, but we both struggle with performance issues

150 slow down, but usable
500, unusable

Sometime we cannot use virtual-list, and we need to render more than 300 elements and each can have 10 popper...

Is there a reason that the library doesn't just detach it from the dom using v-if (or similar strategy)?

Is there a reason that the library doesn't just detach it from the dom using v-if (or similar strategy)?

I'm using the default slot to display whatever Popper is wrapping so I don't think I can do that, I could look into disabling event listeners, maybe that would help.


Add EvaluateDataSetOperation for LabeledVector. This closes #4865

Thanks for contributing to Apache Flink. Before you open your pull request, please take the following check list into consideration.
If your changes take all of the items into account, feel free to open your pull request. For more information and/or questions please refer to the How To Contribute guide.
In addition to going through the list, please provide a meaningful description of your changes.

[ ] General

The pull request references the related JIRA issue ("[FLINK-XXX] Jira title text")
The pull request addresses only one issue
Each commit in the PR has a meaningful commit message (including the JIRA id)

[ ] Documentation

Documentation has been added for new functionality
Old documentation affected by the pull request has been updated
JavaDoc for public methods has been added

[ ] Tests & Build

Functionality added by the pull request is covered by tests
mvn clean verify has been executed successfully locally or a Travis build has passed

Hello Thomas, thank you for your contribution!
I took a brief look so some initial comments:
This seems to be making changes to MLUtils which AFAIK is outside the scope of this issue. I would recommend you isolate changes into different issues and PRs.
I also see a lot of style changes to existing code. The code style we try to follow is this one, I would recommend you review that and try to follow it.
As a rule of thumb we don't make style changes to existing code, unless the existing code does not conform to the linked style. Even in that case I would recommend opening a different PR with only style changes, as it makes reviewing the core PR (which is the added code here) easier.
So I'd recommend to remove the style changes you've made from this PR as well. If there is existing code that violates the linked style we can open a new PR.

I'm using IntelliJ and I can't remove scala doc and use java doc instead


Missing completions in mapping constructor context

Description:

As depicted above, visible symbols are not suggested at the cursor position.
Steps to reproduce:
type MyType record {|
    string field1;
|};

function testFunction(string name) {
    MyType var1 = {field1: "Hello" + n<cursor>}
}

Affected Versions:
2201.0.1

Closing since the fix has been merged.


[BUG] Scrap values are higher than normal

Did this/these bug(s) occur in Singleplayer or Multiplayer?
Singleplayer
Were you playing on LAN, or Online?
Online
Were you running any mods besides WTO and its dependencies (LethalLib, MMHook, BepInEx)? If so, list them here.
N/A
Please describe your issue or issues. If you have multiple, please list them in checklist format.
On vanilla moons, scrap values are much higher than normal allowing players to complete the first quota on day one with the first item they pick up.
I have picked up the following items when testing this out:

141 Stop Sign
138 Clown Horn
255 Cash Register
82 Egg Beater

should be fixed as of https://github.com/Skull220/Welcome_To_Ooblterra/commit/07b6c614adecb657371b267cec98512728361107


RE7 VR Some mechanisms and lockers don't animate when actuated

I noticed an issue while going through the ship wreck where some lockers and some mechanisms the player can activate don't animate when actuated. You'll hear the locker door open, but it will appear still closed. You still get the prompts to grab what's inside despite not being able to see the contents. Another example of this is the frames puzzle in the ship wreck: When trying to move one you only hear it, but the animation doesn't play... when you finally solve it and open the safe, the safe door animation also doesn't play.
Not major, but worth reporting. Here is a capture of the issue occurring at the frames section:
https://youtu.be/WIXViyrmmV4?t=296 (Timecode 4:57)

I have the same problem too. Not only in ship wreck, some lockers in house have the same problem.

Fixed in eb5b2af9ebcd51aeb4b5348e6f061357bdf43aed
Newer builds can be downloaded here when it's done compiling: https://github.com/praydog/REFramework-nightly/releases


Blueprint 'Join Savings Session' - notification fails

Describe the bug
When joining the most recent savings session (15 Dec 2023), the automation succeeded in joining the session, but the notification step failed
Unfortunately I can't scroll far enough back in my logs to get the log output, but it seemed to be failing because event_start is a str and not a datetime object
action:
  - variables:
      event_start: >-
        {{ state_attr(saving_session_event_entity,
        'available_events')[0]['start'] }}
...
  - service: persistent_notification.create
      message: >
        A new Octopus Energy saving session has been joined. It starts at {{
        event_start.strftime('%H:%M') }} on {{ event_start.day }}/{{
        event_start.month }}

Reproduction steps

Add on installed, logged in, configured, etc
Create an automation from the Join Savings Session blueprint
Wait for savings session to be announced

Expected behaviour

Savings session joined - succeeds
Notification created - FAILS

Tariff Code
E-1R-SILVER-FLEX-22-11-25-N
Integration Version
9.1.0 (latest at present)
Home Assistant Version
2023.12.1
Fresh Install?
Not specified
Home Assistant Logs
.
Confirmation

[X] I confirm that I cannot find my solution within the documentation
[X] I confirm that I cannot find my solution within the FAQ

Yes, I saw the same.  My logs contained -
2023-12-14 18:30:52.204 ERROR (MainThread) [homeassistant.components.automation.octopus_join_saving_session] Octopus - join saving session: Error executing script. Unexpected error for call_service at pos 1:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 468, in _async_step
await getattr(self, handler)()
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 704, in _async_call_service_step
response_data = await self._async_run_long_action(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 666, in _async_run_long_action
return long_task.result()
^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/core.py", line 2067, in async_call
response_data = await coro
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/core.py", line 2104, in _execute_service
return await target(service_call)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 833, in handle_service
return await service.entity_service_call(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 878, in entity_service_call
single_response = await _handle_entity_call(
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 948, in _handle_entity_call
result = await task
^^^^^^^^^^
File "/config/custom_components/octopus_energy/octoplus/saving_sessions_events.py", line 66, in async_join_saving_session_event
result = await self._client.async_join_octoplus_saving_session(self._account_id, event_code)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/octopus_energy/api_client/__init__.py", line 578, in async_join_octoplus_saving_session
async with client.post(url, json=payload, headers=headers) as account_response:
File "/usr/local/lib/python3.11/site-packages/aiohttp/client.py", line 1187, in __aenter__
self._resp = await self._coro
^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/aiohttp/client.py", line 601, in _request
await resp.start(conn)
File "/usr/local/lib/python3.11/site-packages/aiohttp/client_reqrep.py", line 960, in start
with self._timer:
File "/usr/local/lib/python3.11/site-packages/aiohttp/helpers.py", line 735, in __exit__
raise asyncio.TimeoutError from None
TimeoutError

Thanks for raising this. It was a quick fix and known issue as pointed out https://github.com/BottlecapDave/HomeAssistant-OctopusEnergy/discussions/627#discussioncomment-7853342, but I don't expect either of you to know that. The blueprint should now be fixed, so if you reload it and the automations you should get the proper notification.

Thanks ... although note that I didn't use the blueprint but instead copied https://bottlecapdave.github.io/HomeAssistant-OctopusEnergy/services/#automation-example_1
Doesn't the stack trace above imply that join_octoplus_saving_session_event (partially) failed ?

The original issue was around the blueprint, which has been resolved. The automation example referenced was built on the basis that OE API can handle demand (which at times it can't), so it's now recommended to use the blueprint structure to accommodate this. The stack trace had the service fail rather than the event. I'll update the docs under the service.

The automation example referenced was built on the basis that OE API can handle demand (which at times it can't)

Ah, thanks, got it.  Presumably loads of folks using your code triggering at the same time !

Yeah potentially. New version that's in the works should hopefully elevate some of that pressure as people will update at different times


PR #97409 - allocator: make disk capacity threshold a setting

Exalate commented:
Related PR: https://github.com/cockroachdb/cockroach/pull/97409
Commit: https://github.com/cockroachdb/cockroach/commit/e003e8392981f763be3bf28e7e8f142e23b71fb9
Fixes: https://github.com/cockroachdb/cockroach/issues/97392 https://github.com/cockroachdb/cockroach/issues/97392

Release note (ops change): Introduce two cluster settings to control disk
utilization thresholds for allocation.
kv.allocator.rebalance_to_max_disk_utilization_threshold Maximum disk
utilization before a store will never be used as a rebalance target.
kv.allocator.max_disk_utilization_threshold Maximum disk utilization
before a store will never be used as a rebalance or allocation target
and will actively have replicas moved off of it.
Jira Issue: DOC-7166

Hey - we do want these to be public. I'll update with a patch.

Actually I'm going to go back on what I mentioned above - I don't think we should publish these settings in the docs yet.
Whilst they are certainly useful, we may not wish to support these longer term and the target audience is TSE's or customers in a pickle.

Austen @.***> writes:

Actually I'm going to go back on what I mentioned above - I don't
think we should publish these settings in the docs yet.

Ah OK - thanks for clarifying
Since you added a release note text to the commit message, they will
still be findable in the release notes so there's that

Whilst they are certainly useful, we may not wish to support these
longer term and the target audience is TSE's or customers in a pickle.

Gotcha - well, the TSEs and other interested parties can def find them
in the release notes here:
https://www.cockroachlabs.com/docs/releases/v23.1.html#v23-1-0-alpha-7-operational-changes
@william FYI given this convo I'm gonna deprioritize this issue and work
on other stuff for the v23.1 release


chore(deps): update common-dev-assets digest to d20cae7

This PR contains the following updates:

Package
Update
Change

common-dev-assets
digest
f285df0 -> d20cae7

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

:tada: This PR is included in version 4.1.0 :tada:
The release is available on:

GitHub release
v4.1.0

Your semantic-release bot :package::rocket:


binary option seems unused in package config

I tried to set the binary path via the config/packages/weasyprint.yaml file.
weasyprint:
    pdf:
        enabled:    true
        binary:     /opt/homebrew/bin/weasyprint
        options:    []

 bin/console debug:config --env prod weasyprint

Current configuration for extension with alias "weasyprint"
===========================================================

weasyprint:
    pdf:
        enabled: true
        binary: /opt/homebrew/bin/weasyprint
        options: {  }
        env: {  }
    image:
        enabled: false
        binary: weasyprint
        options: {  }
        env: {  }

But my code crashes with the following exception
The exit status code '127' says something went wrong:
stderr: "sh: weasyprint: command not found
"
stdout: ""
command: weasyprint '/var/tmp/php_weasyprint6578035f0e4b38.46262560.html' '/private/var/tmp/print26960716KFY0Dk.pdf'

It seems like the custom path is not passed to the inner weasyprint package.

Ah i found it myself. Passed the wrong class to my service.
Had to pass @Pontedilana\PhpWeasyPrint\Pdf instead of @weasyprint.pdf


difference between Thodburg data in browser and files for UTR. update

I had curated the TSS for pof13 as:
I spotted a potential problem. I was looking at pof13
TSS in the browser.
In art I used the major TSS from the prepared files:
254.839000

I could not see this TSS in the browser:

The chrr2 TSS's are a bit weird.
I have 3 files binning high medium and low scores
i.e.
chr2_GSE110976_EMM_exp-0.5.gff
chr2_GSE110976_EMM_exp-5.gff
chr2_GSE110976_EMM_exp-50.gff
~sometimes there is a really high scoring TSS in the low scoring file. I
never saw this on chr1. I will provide an example next time I see it.
I will also check the next few against the browser data. Any I looked at previously looked fine...~

more examples:
eg1

the highest scoring TSS (19664.800000) is in the lowest scoring bin

eg3 cys1

high scoring peak present on correct strand, but in low scoring bin
the same high scoring peak is present in the wrong strand (but in the medium scoring bin)

In the browser it is correct:

the files are called
chr2_GSE110976_EMM_exp-0.5.gff
chr2_GSE110976_EMM_exp-5.gff
chr2_GSE110976_EMM_exp-50.gff
Note that I did not see these issues with chromosome 1 and I didn't look at chr3 yet.....

the highest scoring TSS (19664.800000) is in the lowest scoring bin

I think that's expected.  The three files have different score cut offs, they aren't bins.  High scoring features will be in all three files.

the same high scoring peak is present in the wrong strand

That seems like a bug.  I'm checking now to see if it's in the original file or it was caused by my Perl code.

The three files have different score cut offs, they aren't bins. High scoring features will be in all three files.

I need to recreate the files to fix the strand bug so I could make them bins at the same time if you like.

done & used


Incorrect bash

[Enter feedback here]
Windows host cannot execute bash script.
cmd.exe will execute it, no matter if the title says bash.
It simply cannot find bash executor.

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

ID: 07e70665-a794-82fd-287b-65a747488efa
Version Independent ID: 0c34f5c3-bc80-061d-cf7a-f30c224ce3b1
Content: Bash task - Azure Pipelines
Content Source: docs/pipelines/tasks/utility/bash.md
Product: devops
Technology: devops-cicd-tasks
GitHub Login: @steved0x
Microsoft Alias: sdanie

@TorokLev Which hosted agent image were you using? Both of the Windows hosted agents have bash preinstalled:
https://github.com/actions/virtual-environments/blob/main/images/win/Windows2022-Readme.md#shells
and the following pipeline outputs the location of bash.exe:
trigger: none

strategy:
  matrix:
    windows2019:
      imageName: "windows-2019"
    windows2022:
      imageName: "windows-2022"
  maxParallel: 3

pool:
  vmImage: $(imageName)

steps:
- bash: where bash
- bash: echo hello world

This produces the following output (the first bash command)
Generating script.
Script contents:
where bash
"C:\Program Files\Git\bin\bash.exe" -c pwd
/d/a/_temp
========================== Starting Command Output ===========================
"C:\Program Files\Git\bin\bash.exe" /d/a/_temp/d1a5aebd-53ee-4100-90c2-f3fa41d4d83c.sh
C:\Program Files\Git\usr\bin\bash.exe
C:\Program Files\Git\bin\bash.exe
C:\Windows\System32\bash.exe
Finishing: Bash

If you are using a self-hosted Windows agent you must install bash onto the VM image in order for it to be used.
I am closing this issue, but please reactivate it if I have misunderstood your question, and provide an example of bash that doesn't run on bash, and which agent image, and I will take a closer look.
Thank you


No qt5 linguist tools

The qt5 package doesn't include the linguist tools, so KeePassXC will not build.
I cannot find any information online on how to build or even obtain the source code for the linguist tools. The Gentoo ebuild is not helpful to me, as it inherits some monolithic qt5 build library and does obscure build system magic that I don't understand.
I can't find any existing linguist packages and also can't find any "qt5-tools" or similar.
Also writing this issue on mobile, because without KeePassXC I can't sign into GitHub on my new KISS system. :/

Indeed, qt5-tools has not been packaged, and you'll need to do it yourself. Alpine is typically a good starting point: https://git.alpinelinux.org/aports/tree/community/qt5-qttools/APKBUILD.

Thanks!

You can also check my build of it here :)


Add compile option to Dockerfile to fix failing test (fixes #696)

This test was failing when run inside the Docker container: test_searchable[/fixtures/searchable.json?_search=te*+AND+do*&_searchmode=raw-expected_rows3],
with this error:
    def test_searchable(app_client, path, expected_rows):
        response = app_client.get(path)
>       assert expected_rows == response.json["rows"]
E       AssertionError: assert [[1, 'barry c...sel', 'puma']] == []
E         Left contains 2 more items, first extra item: [1, 'barry cat', 'terry dog', 'panther']
E         Full diff:
E         + []
E         - [[1, 'barry cat', 'terry dog', 'panther'],
E         -  [2, 'terry dog', 'sara weasel', 'puma']]

The issue was that the version of sqlite3 built inside the Docker container was built with FTS3 and FTS4 enabled, but without the
SQLITE_ENABLE_FTS3_PARENTHESIS compile option passed, which adds support for using AND and NOT within match expressions (see https://sqlite.org/fts3.html#compiling_and_enabling_fts3_and_fts4 and https://www.sqlite.org/compile.html).
Without this, the AND used in the search in this test was being interpreted as a literal string, and so no matches were found. Adding this compile option fixes this.

I actually ran into this issue because the same test was failing when I ran the test suite on my own machine, outside of Docker, and so I eventually tracked this down to my system sqlite3 also being compiled without this option.
I wonder if this is a sign of a slightly deeper issue, that Datasette can silently behave differently based on the version and compilation of sqlite3 it is being used with. On my own system I fixed the test suite by running pip install pysqlite3-binary, so that this would be picked up instead of the sqlite package, as this seems to be compiled using this option, . Maybe using pysqlite3-binary could be installed/recommended by default so a more deterministic version of sqlite is used? Or there could be some feature detection done on the available sqlite version, to know what features are available and can be used/tested?

This is fantastic, thanks so much for tracking this down.


Aggr notebook QC axis label

QC axis label over laps with axis ticks of UMIs plots

This should be fixed in 57dc932c8ce9067175d7fca18149f73aa9f29841.


No network connectivity in build containers

By running all build steps in Docker containers without network connectivity, problems with build reproducability caused by non-reproducable network communication is removed.
Fetching of source code and other build step inputs must of-course then be handled in another way.

Maybe adopt a similar approach as Baserock (http://www.baserock.org), where all fetching is done using git.  Anything that is in git upstream, is then mirrored to a git repository (using Trove).
With this approach, we could streamline fetching and signature handling much more, as we are only fetching from git.  And with fetching being much simpler, it becomes more realistic to do a clean integration that is not running inside build containers.
Further, by doing this, the problem of sharing fetch caches goes away. There will be only 1 fetcher, and all build steps simply get the sources added to the container before start.


RFP - Embree

Checklist

[x] The package I am requesting does not already exist on https://chocolatey.org/packages;
[x] There is no open issue for this package;
[x] The issue title starts 'RFP - ';
[x] The download URL is public and not locked behind a paywall / login;

Package Details
Software project URL:
https://www.embree.org/
Direct download URL for the software / installer:
https://github.com/embree/embree#windows-msi-installer
Software summary / short description:
Intel® Embree is a collection of high-performance ray tracing kernels, developed at Intel. The target users of Intel® Embree are graphics application engineers who want to improve the performance of their photo-realistic rendering application by leveraging Embree's performance-optimized ray tracing kernels.

Status: Review

https://chocolatey.org/packages/embree
https://chocolatey.org/packages/embree.install

@luzpaz  Ping us (or create a new request referencing this issue if this one is closed) if you think necessary to create package for the ZIP files linked against Visual Studio versions.
ZIP files where Embree is linked against the Visual Studio 2013 (VC12) runtime and and Visual Studio 2015/2017 (VC14) runtime:
embree-3.5.2.x64.vc12.windows.zip
embree-3.5.2.x64.vc14.windows.zip

Status: Published

https://chocolatey.org/packages/embree
https://chocolatey.org/packages/embree.install

Can be closed.

Thanks!

@chtof can the version be bumped to 3.6.1? Just noticed that a new stable was released 5 days ago:
https://github.com/embree/embree/releases/tag/v3.6.1

@luzpaz At the bottom of the Chocolatey page, you can see versions waiting approval (because I create the update.ps1 script just before closing issue).

sorry for missing that. Thanks again. Cheers


demo跑起来没有问题，加入一个自己的子应用报错

具体信息如下

Uncaught TypeError: application 'call-center' died in status BOOTSTRAPPING: Cannot read property 'install' of undefined
at Function.Vue.use (webpack-internal:///./node_modules/vue/dist/vue.runtime.esm.js:5090)
at _callee$ (webpack-internal:///./src/main.js:95)
at tryCatch (webpack-internal:///./node_modules/regenerator-runtime/runtime.js:45)
at Generator.invoke [as _invoke] (webpack-internal:///./node_modules/regenerator-runtime/runtime.js:274)
at Generator.prototype. [as next] (webpack-internal:///./node_modules/regenerator-runtime/runtime.js:97)
at asyncGeneratorStep (webpack-internal:///./node_modules/@babel/runtime-corejs2/helpers/asyncToGenerator.js:5)
at _next (webpack-internal:///./node_modules/@babel/runtime-corejs2/helpers/asyncToGenerator.js:27)
at eval (webpack-internal:///./node_modules/@babel/runtime-corejs2/helpers/asyncToGenerator.js:34)
at new Promise ()
at new F (webpack-internal:///./node_modules/core-js/library/modules/_export.js:36)

在子应用中使用了几个自定义指令，不知道是不是自定义指令引起的
ps:是自己直接复制粘贴没仔细看代码。。

https://segmentfault.com/q/1010000012594651 对应信息建议据实际报错百度
在 2020-06-19 09:42:28，"cfy2015"<EMAIL_ADDRESS>写道：
具体信息如下
Uncaught TypeError: application 'call-center' died in status BOOTSTRAPPING: Cannot read property 'install' of undefined
at Function.Vue.use (webpack-internal:///./node_modules/vue/dist/vue.runtime.esm.js:5090)
at _callee$ (webpack-internal:///./src/main.js:95)
at tryCatch (webpack-internal:///./node_modules/regenerator-runtime/runtime.js:45)
at Generator.invoke [as _invoke] (webpack-internal:///./node_modules/regenerator-runtime/runtime.js:274)
at Generator.prototype. [as next] (webpack-internal:///./node_modules/regenerator-runtime/runtime.js:97)
at asyncGeneratorStep (webpack-internal:///./node_modules/@babel/runtime-corejs2/helpers/asyncToGenerator.js:5)
at _next (webpack-internal:///./node_modules/@babel/runtime-corejs2/helpers/asyncToGenerator.js:27)
at eval (webpack-internal:///./node_modules/@babel/runtime-corejs2/helpers/asyncToGenerator.js:34)
at new Promise ()
at new F (webpack-internal:///./node_modules/core-js/library/modules/_export.js:36)
在子应用中使用了几个自定义指令，不知道是不是自定义指令引起的
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.


Add all traffic to security resource

Hi,
I want to know if it is possible to allow all traffic from and to each port using troposphere?
instanceSecurityGroup = t.add_resource(SecurityGroup(     'InstanceSecurityGroup',     GroupDescription='Enable SSH access via port 22',     SecurityGroupIngress=[         SecurityGroupRule(             IpProtocol='tcp',             FromPort='22',             ToPort='22',             CidrIp=Ref(sshlocation_param)),         SecurityGroupRule(             IpProtocol='tcp',             FromPort='80',             ToPort='80',             CidrIp='<IP_ADDRESS>/0')],     VpcId=Ref(VPC), ))
Instead of the following, I want to enable it to all traffic?
Cheers

You want to open all ports?  If that's the case, just set FromPort to 1, and ToPort to 65535 (the highest port availabe).

Just for testing atm, thanks for that.


Ensure no unexpected trailing data for all message types

PR Description
Noticed that FindNodeMessage called RlpUtil#checkComplete but the other message types did not.

Call RlpUtil.checkComplete(reader) after reading all expected values.
For consistency:

Rename listReader -> reader in FindNodeMessage.
Remove number (1) from end of variable names.

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


predict结果

为什么y_predict=clf.predict(x,y)后输出y_predict结果是none

代码如下
`x,y = load_svmlight_file("./thundergbm/dataset/test_dataset.txt")
clf = TGBMModel()
clf.fit(x,y)
y_predict=clf.predict(x,y)
print(y_predict)`

代码如下：
x,y = load_svmlight_file("./thundergbm/dataset/test_dataset.txt")
clf = TGBMModel()
clf.fit(x,y)
y_predict=clf.predict(x,y)

print(y_predict)

Thanks for the feedback! We have fixed the problem. Please pull the latest code, recompile it, and run it again.

Thanks for the feedback! We have fixed the problem. Please pull the latest code, recompile it, and run it again.

新的代码预测结果全是0,感觉也不对啊
print(y_predict,y_predict.sum())
and the result return [0. 0. 0. ... 0. 0. 0.] 0.0

Would you share your machine environment (e.g., CUDA version, GPU, OS, etc.)? And dataset if you are not using test_dataset.txt. This will help us reproduce the problem.
Also, please use English, so that the other users and contributors may help fix this issue.

CUDA Version 9.1.85, OS:ubuntu16.04, GPU1080Ti, and dataset is test_dataset.txt.

CUDA Version 9.1.85, OS:ubuntu16.04, GPU1080Ti, and dataset is test_dataset.txt.

I have solved it, thanks a lot!

Sounds cool. If there is anything needed to be improved, please let us know or even better, contribute to the project :)


Running Code with 16GB GPU Instead of Recommended 24GB

Hello! Thanks for your great work.
I came across your project and am very interested in trying it out. However, I noticed in the documentation that it recommends having a 24GB GPU. Currently, I only have access to a 16GB GPU.
I was wondering if there are any adjustments or settings that could be modified to make the code run effectively on a 16GB GPU without significantly compromising performance or output quality.
Could you provide some guidance or tips on how to configure the project for a 16GB environment?
Thank you!

same here, if it is available

Well I'm not sure if I can reduce the memory footprint to 16GB cuz I just leveraged some off-the-shelf models. The only advise I can give is that you can always put the model to CUDA device when you're about to call the function and free them after using it.


test: main integration test

Added integration test using git client:

Test git push command, which creates new git object to verify it's
later for GET and POST git-receive-pack service.
Tets git ls-remote for GET git-upload-pack service.
Test git fetch for POST git-upload-pack service.

Fixed GitSlice to handle smart-http requests.

@olenagerasimova yes, I run these tests without @Disable annotation and all tests fail due to 50x - not_implemented_error returned by endpoints


Deploy on AWS with Lambda

Is it possible to deploy it to AWS with Lambda and API Gateway?

Absolutely, however in case of this example to work there, singling server would need to be updated a little bit, to meet requirements of AWS Lambda and API Gateway. The state has to be persisted somewhere, in a database, so you can track each of the connected clients.
https://aws.amazon.com/blogs/compute/announcing-websocket-apis-in-amazon-api-gateway/

The application is composed of the WebSocket API in API Gateway that handles the connectivity between the client and servers (1). Two AWS Lambda functions react when clients connect (2) or disconnect (5) from the API. The sendMessage function (3) is invoked when the clients send messages to the server. The server sends the message to all connected clients (4) using the new API Gateway Management API. To track each of the connected clients, use a DynamoDB table to persist the connection identifiers.

Thank you very much for the info Rafal.
And appart from Lambda, API Gateway, RDS database (or SNS) we do not need any streaming server in the middle because it is peer to peer right?

Yes, the only thing you need is a signalling server (in this case it would be API Gateway)

I set up some simple explanation how you can implement your own signaling channel
https://github.com/vardius/peer-data/wiki/Signaling#custom-signaling-channel
let me know if it need improvements