Canvas labels

That's incorrect, no === in python (my bad)
On Wed, Aug 8, 2018, 10:08 AM kwcantrell<EMAIL_ADDRESS>wrote:

@kwcantrell commented on this pull request.
In phyloviz/tests/test_controller.py
https://github.com/biocore/empress/pull/49#discussion_r208661562:

         res = []

         for line in lines:
             if line == '<body>\n':
                 start = True

           if start:

           # Need to remove the urls from the html file because they contain a variable in the string

           # similar to why we need to remove everything before the body tag

           if line == 'var urls = { // urls for webserver\n':

I didn't this python had a === operator?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/biocore/empress/pull/49#discussion_r208661562, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AD_a3ZiNb7kdQXkiBS-jy0lfuF08Ezwjks5uOxspgaJpZM4VpVPs
.


Feat: Add aragonOS, dao and minime deploy utils

@sohkai this PR is still a draft. I leave you a few questions that I think are the relevant points we should answer. Thanks

No, I don't think these should belong in here 😅.
These deployment scripts should either live in the deployments repo or aragen.


Restructure mapped field actions index out of FieldAction

Currently a MappedField has an array of FieldActions associated with it.  The FieldAction index dictates the order in which the combine or separate index appears:

The FieldActionArgumentValue should remain as infrastructure for any potential arguments associated with a field action.  The array index itself though should not be part of the FieldAction as an argument.  Having the user modify the index value manually is also awkward.  In this example, the user is modifying the 'state' target element index by entering a new value in the 'Index' text widget:

What might be cooler is for the user to drag the target elements into the order they wish and have the index simply be a result of the dragged element order.  If not that then minimally the index value should be moved to the MappedField level.
Associated: Investigate transition.model.ts - FieldAction - createSeparateCombineFieldAction() - Whay is this a static function?
https://github.com/atlasmap/atlasmap/blob/master/ui/src/app/lib/atlasmap-data-mapper/models/transition.model.ts

Index field is now longer directly user modifiable.  Use drags and drops instead:

Works for comine and separate modes.


Disable status page publishing

From the getting started docs:

If you don't want to have a publicly-available status website, you don't have to enable publishing.

Created a new private repo based on the template, updated the config file, did not enable GitHub Pages, but a status site was published publicly automatically anyway.  This appears to be done by maxheld83/ghpages in the site.yml.
Is there another supported way to disable publishing a public status page for cases where it is not desired?

Quick question, have you tried disabling GitHub Pages from the settings? Does it auto re-enable when you manually run "Static Site CI"?

When I initially created the repo based on the template, I checked the box to Include all branches, which led to the initial publish.  To disable I deleted the gh-pages branch then set the GitHub Pages setting to None.  But, rerunning "static site ci" republished the status page.
What appears to be happening is that GitHub automatically publishes GitHub Pages when a gh-pages branch is present.  I just tried it out on a vanilla private repo and confirmed that is what's happening, not sure if there's a way to turn that off.
Based on these findings, a workaround I did for my upptime is to create an empty gh-pages branch and added branch protection to disallow pushing to that branch, enabling the option for the rule to be enforced for administrators.  With that repo configuration, the site CI process fails since it can't successfully push to that branch.
It would be nice if there was a setting which would skip the step that pushes to the gh-pages branch completely.

Aah, that makes sense. For now, what I've done is that if you have a private repository, we don't generate the site, we just generate an index.html page that says "404" and put that in the dist directory. This way, even if it pushed to gh-pages and the site is deployed, there's nothing to see there. Soon, I want to add the feature to completely disable publishing if it's a private repo rather than this hack.
For people who have a private repo and still want to publish their status website, they now have to set this:
status-website:
  publish: true


Drag filenames in the tab bar of editor

From<EMAIL_ADDRESS>on 2009-08-19T01:34:17Z
What steps will reproduce the problem?

open 2 python files in editor, for examples, test1.py test2.py
in the filename tab bar, drag the right filename to the left filename to
reorder two files What is the expected output? What do you see instead? instead of "test2.py test1.py", filenames become the same, "test2.py
test2.py".
When I active the wrong filename tag, it changs to the right name. What version of the product are you using? On what operating system? WindowsXP, Spyder 1.0.0beta2

Please provide any additional information below
.
Original issue: http://code.google.com/p/spyderlib/issues/detail?id=4

From pierre.raybaut on 2009-08-19T00:43:01Z
Status: Accepted
Labels: -Priority-Medium Priority-High Milestone-Release1.0

From pierre.raybaut on 2009-08-21T23:37:34Z
Fixed in v1.0.0beta3
Status: Fixed


updated markdown

reviewed Mike's direct access notebook and made small updates to the markdown.

Thanks for cleaning up the mark down.


How to run it in android?

Please read this before submitting:
This project has nothing to do with coinhive.com
What this package does is just the following:

Launch a local server that serves a page where CoinHive's Javascript miner is embedded.

Launch puppeteer (a headless chrome) pointing to that page.

Expose an API that allows you to interact with that miner from node.js (starting, stopping, etc).

The purpose of this package is to allow you to run CoinHive's JavaScript miner from node.js (otherwise it only works on the browser).
If you have an issue with CoinHive's JavaScript miner, or with coin-hive.com website, you should read their FAQs and contact them here:
https://coinhive.com/contact
Thanks for reading ^.^ if you do have an issue with this package (have a question, found a bug, feature request) then please do submit it
<3

Did you read that ☝ ? The answer to your question is there. This is not CoinHive's JavaScript Miner, this is just a wrapper to run it from node.js
To run it in android I guess you will need some sort of webview and open a website with CoinHive's JavaScript Miner. That's out of the scope of this project.


Draft: Changed labeles for macOS ARM64 and Linux ARM64 builds

It seems a lot of workflows are added to the machines on my side. Will it be too heavy for them?

It seems a lot of workflows are added to the machines on my side. Will it be too heavy for them?

No, there are only 4 builds for each machine and other workflows are OpenCV python tests. In addition, this repository runs workflows quite rare.

The last one issue - the network connectivity of Linux ARM64 machine.

@fengyuentau, thank you for the update!
My custom action works only with docker, because it was created using dockerfile and entrypoint bash script. I'm going to rebuild docker images which are used for build jobs using the non-root user to avoid permission issues when need to delete also hidden files (.git).


Don't attempt to resolve local calls as helper functions calls

Description
Fix a minor issue where bpf2bpf offsets are resolved as helper function ids.
This pull request includes a change to the _resolve_helper_functions method in the libs/service/api_service.cpp file. The change improves the logic for identifying CALL instructions that are helper functions.
Improvements to instruction identification:

libs/service/api_service.cpp: Modified the condition to check if an instruction is a CALL instruction with the instruction source as 0 (helper function).

Testing
CI/CD
Documentation
No.
Installation
No.

Duplicate of @dthaler change


Virtual Network/Private End Point: How to for internal employees?

How can Microsoft employees access AzureML from a Private Endpoint and virtual network?
The consequence of this guide: https://docs.microsoft.com/en-us/azure/machine-learning/tutorial-create-secure-workspace
Is that you get a Data Science VM that cannot get Microsoft corporate policies pushed down onto it (since the image is missing things policy wants to manipulate) so therefore it cannot domain join and therefore cannot enter Azure. Following similar procedures for a Windows 10 VM yields errors that prevent you from connecting to the workspace, noting:
Your request for data was not sent. Here are some things to try: Check your network and internet connection, make sure a proxy server is not blocking your connection, check if you have an ad blocker turned on

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

ID: 12327d27-73c1-c446-ec7b-b9af3a6f68f7
Version Independent ID: 49adc002-e9c7-bbcc-6a6e-cce987883b58
Content: Create a secure workspace - Azure Machine Learning
Content Source: articles/machine-learning/tutorial-create-secure-workspace.md
Service: machine-learning
Sub-service: enterprise-readiness
GitHub Login: @Blackmist
Microsoft Alias: larryfr

@afogarty85
Thanks for your feedback! We will investigate and update as appropriate.

@Blackmist Hi Larry, I believe we should have internal guidance somewhere, do you have any insight here? Thanks.

Hi @afogarty85 and @YutongTie-MSFT sorry for the late response. I've been out of office the past few weeks.
Unfortunately, the documentation team only works on public facing documentation for external customers. We do not create or maintain docs for internal teams. As far as I am aware, there is no group tasked with creating docs specific for internals. I would recommend posting on the internal stackoverflow site to see if someone can assist with the error you are receiving.

@please-close

#please-close


drone.io integration broken after migration from gogs

Gitea version: 1.12.0
Git version: 2.20.1
Operating system: Debian Buster (10.4)
Database:

[x] PostgreSQL
[ ] MySQL
[ ] MSSQL
[ ] SQLite

Can you reproduce the bug at https://try.gitea.io:

[ ] Yes
[x] No
[ ] Not relevant

Log gist:

gitea[1938]: [Macaron] 2020-06-19 07:48:33: Started GET /api/v1/user/repos for ::42
gitea[1938]: [Macaron] 2020-06-19 07:48:33: Completed GET /api/v1/user/repos 200 OK in 46.905635ms
gitea[1938]: [Macaron] 2020-06-19 07:48:33: Started GET /api/v1/user/repos for ::42
gitea[1938]: [Macaron] 2020-06-19 07:48:33: Completed GET /api/v1/user/repos 200 OK in 54.820797ms
[...]

Description
Note: the instance was migrated from Gogs 0.11.91 to Gitea 1.12.0. All old webhooks were deleted.
I setup a new drone server using the current version, created it as an oauth application as per its documentation and then allowed it to access gitea as my user. After the inital login it stays in "syncing" forever producing about 1000 log entries as seen above on my gitea server without ever finishing. The requests only stop once I stop the drone server. Drone itself does not seem to log anything useful, even with DRONE_LOGGING_TRACE=true.
I suspect this is an incompatibility with the paging in the repo API. Is there anything I can do to debug and help fix this problem?

Any logs?

On the drone.io side I have this:
drone-server[6999]: DEBU[0040] begin synchronization                         login=moepman
drone-server[6999]: DEBU[0040] syncer: begin repository sync                 login=moepman
drone-server[6999]: DEBU[0040]                                               fields.time="2020-06-19T08:26:33+02:00" latency="924.594µs" method=GET remote="<IP_ADDRESS>:50522" request=/ request-id=1dWjxxtquwp0KVvVOXLs0YBean1
drone-server[6999]: DEBU[0040] events: stream cancelled                      request-id=1dWjxqBT7v1p6leyTs6n13NTPJk
drone-server[6999]: DEBU[0040] events: stream closed                         request-id=1dWjxqBT7v1p6leyTs6n13NTPJk
drone-server[6999]: DEBU[0040] api: guest access                             request-id=1dWjxqBT7v1p6leyTs6n13NTPJk
drone-server[6999]: DEBU[0040]                                               fields.time="2020-06-19T08:26:33+02:00" latency=306.966922ms method=GET remote="[::1]:33174" request=/api/stream request-id=1dWjxqBT7v1p6leyTs6n13NTPJk
drone-server[6999]: DEBU[0040]                                               fields.time="2020-06-19T08:26:33+02:00" latency=1.413933ms method=GET remote="[::1]:33186" request=/api/user request-id=1dWjy1t1FtyWDp47SPBKJ3Au8y1
drone-server[6999]: DEBU[0040]                                               fields.time="2020-06-19T08:26:33+02:00" latency=9.526562ms method=GET remote="<IP_ADDRESS>:50526" request="/api/user/repos?latest=true" request-id=1dWjy2pmhPi23wDfdTLou2ct6EH
drone-server[6999]: DEBU[0040]                                               fields.time="2020-06-19T08:26:33+02:00" latency=3.516751ms method=GET remote="[::1]:33190" request=/api/user/builds/recent request-id=1dWjy3KEAGkXwa3Mdls4Yf8lF7O
drone-server[6999]: DEBU[0040]                                               fields.time="2020-06-19T08:26:33+02:00" latency=13.200574ms method=GET remote="<IP_ADDRESS>:50530" request="/api/user/repos?latest=true" request-id=1dWjy1XnkSjmn4UIK4kH1i50o7P
drone-server[6999]: DEBU[0040] events: stream opened                         request-id=1dWjxxWsALH4Qzd7ywkzv4xDEAL user.admin=true user.login=moepman
drone-server[6999]: DEBU[0060]                                               fields.time="2020-06-19T08:26:53+02:00" latency=2.180165ms method=GET remote="<IP_ADDRESS>:50542" request=/api/user request-id=1dWk0THrJnHS7PLvYl1pp4qf1jk
drone-server[6999]: DEBU[0070]                                               fields.time="2020-06-19T08:27:03+02:00" latency=1.845105ms method=GET remote="[::1]:33210" request=/api/user request-id=1dWk1iX75jgkOFZUNKNWDI272GL
drone-server[6999]: DEBU[0080]                                               fields.time="2020-06-19T08:27:13+02:00" latency=2.060026ms method=GET remote="<IP_ADDRESS>:50554" request=/api/user request-id=1dWk2yL5aVuPtO5ga5SJ9i2Tpjm
drone-server[6999]: DEBU[0090]                                               fields.time="2020-06-19T08:27:23+02:00" latency=2.069861ms method=GET remote="[::1]:33222" request=/api/user request-id=1dWk4Hpaj87f5yIwIsilaWQgiiu
drone-server[6999]: DEBU[0100]                                               fields.time="2020-06-19T08:27:33+02:00" latency=1.010055ms method=GET remote="<IP_ADDRESS>:50566" request=/api/user request-id=1dWk5W6IcoKJrOmkvzaXthaOygu
drone-server[6999]: DEBU[0110]                                               fields.time="2020-06-19T08:27:43+02:00" latency=2.088476ms method=GET remote="[::1]:33234" request=/api/user request-id=1dWk6quCYGeHpWnjvdfk0qqvyz5
drone-server[6999]: DEBU[0120]                                               fields.time="2020-06-19T08:27:53+02:00" latency=2.089175ms method=GET remote="<IP_ADDRESS>:50578" request=/api/user request-id=1dWk82BvmboTTbTL9WTp7zv02ok

On the gitea side I can enable SQL logging which gives me a ton of the same queries with each of the /api/v1/user/repos requests. Should I get them for a few of those and attach?

I have run tcpdump to see what gitea returns to drone: it will always send a json object containing 30 repositories of 33 in total. I still don't know why drone just won't show only those 30 but rather fetches the list in an infinite loop.

Does drone attempt to request another page, or the request URI query stays the same all the time?

As far as I can tell drone always requests the same URL, even after minutes.
@CirnoT your PR for drone seems to suggest that this is indeed purely a problem with drone?

Most precisely with go-scm, and us adding proper pagination in v1.12 caused the issue to manifest between Drone and go-scm, because pagination handling is done in Drone (via checking Link header) but then request for page 2 is passed to go-scm which in turn would return page 1

I can confirm that after upgrading to the current version of drone (which includes https://github.com/drone/go-scm/pull/66) everything works fine.


Sonic Adventure DX (With d3d8to9) stuck on white screen when using RTX-Remix.

This game (When using d3d8to9) seemingly gets stuck on a white screen when I attempt to use RTX Remix with it.
d3d9.log
sonic_d3d9.log
NvRemixBridge.log

Hello, @KingKrouch. Could you please re-test this with the latest builds of the bridge and dxvk remix?
https://github.com/NVIDIAGameWorks/dxvk-remix/actions/runs/6330239550
https://github.com/NVIDIAGameWorks/bridge-remix/actions/runs/6315550860

Hello, @KingKrouch. Could you please re-test this with the latest builds of the bridge and dxvk remix?
Hello! After disabling one of the mods involved in the BetterSADX mod that involves shaders and fixes some of the game's lighting issues (The Lantern Engine mod), alongside updating both the bridge and DXVK versions, I can confirm that it does boot now.


Add Semantic Query Building Methods

I feel like the library could be more readable if the methods were more semantic. For example .fields() could be .addFields() or even .addFields() so that as you read the chain it is almost a sentence.

I couldn't think of a

Good input! I will implement this after the next plans for the language have been completed.


Add new entry: Tools

{
"name": "SafeNote",
"type": "url",
"url": "https://safenote.co/"
}

Really ad heavy now.


JS server SDK for Express, getMiddleware() does nothing

Describe the bug
The getMiddleware() method of WebPubSubEventHandler doesn't register or handle any routes
Following the example from the reference docs
https://github.com/Azure/azure-webpubsub/blob/main/docs/references/server-sdks/js-server-sdks.md#2-create-a-webpubsubeventhandler
And hitting the handler path at the correct URL e.g. http://localhost:3000/api/webpubsub/hubs/chat/ results in a 404
This breaks the JavaScript chatapp sample and likewise the docs, this is what ngrok reports when trying to run the sample

To Reproduce

Copy the code here https://github.com/Azure/azure-webpubsub/blob/main/docs/references/server-sdks/js-server-sdks.md#2-create-a-webpubsubeventhandler into server.js
Run node server.js <connString>
Hit the URL with a POST request e.g. curl -X POST http://localhost:3000/api/webpubsub/hubs/chat/ and you will get a 404!

Exceptions (if any)
None
Further technical details

SDK and its version: JavaScript 1.0.0-beta.1

This seems to have been a server / service side issue


Stack as web video

In 2019 there was one quick attempt to render a HTML5 movie, which did work but was of low quality. Tuning was not attempted.

TML5 movie: Folks can play the movie, or manipulate time to move up/down stack
libgif: rubbable, progress-bar, play/pause and move_to() means can make like a movie i.e. paused movie with draggable time slider equals z-stack explorer.

A web movie should be web friendly, not too big. And a movie is not the tool for deeply exploring the data, it's a quick overview. So, for second attempt, downsample images first then movize.

MPL can do animations, but how well?
# https://stackoverflow.com/a/43447370
import matplotlib.pyplot as plt
import matplotlib.animation
import numpy as np

t = np.linspace(0,2*np.pi)
x = np.sin(t)

fig, ax = plt.subplots()
ax.axis([0,2*np.pi,-1,1])
l, = ax.plot([],[])

def animate(i):
    l.set_data(t[:i], x[:i])
a
ani = matplotlib.animation.FuncAnimation(fig, animate, frames=len(t))

from IPython.display import HTML

#HTML(ani.to_jshtml())
HTML(ani.to_html5_video())


libp2p: add more stream cleanups

This PR adds more stream cleanups in some places where a dangling stream may still be left half-open.

/run beekeeper

Already deployed on staging and memory consumption is back to normal :+1:


No option to cancel

I only needed to use this for a couple of months, but I don't seem to have a way to cancel this?

Hi @EwanValentine
You can cancel your subscription by visiting the portal here:
https://c7d59216ee8ec59bda5e51ffc17a994d.auth.portal-pluginlab.ai/pricing
You can find more info on how to do it in the docs here:
https://docs.askthecode.ai/authentication/

Got it, thanks!

I keep getting charges but when I log in it says I am on the free plan

Hi @encryptedcommerce, sorry for the inconvenience with your payments.
The reason why it says that you are on the free plan is most likely due to the fact that you log in with different account than the one with the subscription.
Could you please reach out to me via my email<EMAIL_ADDRESS>with the details regarding your last payment (date, last 4 digits), so I could find your subscription. Also, I will do all appropriate refunds for you.

Thank you for your response and kind attention in resolving the issue.


Consider excluding Changelog.md from gem releases (or prune it periodically)

The Changelog.md file is quite large--105 KB according to ls:
 ~/code/rspec-core/ [main] ls -al | grep Changelog.md
-rw-r--r--   1 myron  staff  104657 Feb 19 20:35 Changelog.md

According to rubygems.org, rspec-core 3.10.1 is 161 KB, meaning the Changelog is approximately 65% of the total size of the rspec-core gem.
In my experience, Ruby developers rarely look at the Changelog file within a local gem install. I don't think most ruby developers know the exact directory a gem install ... or bundle install puts gems to even go look there.  I think I've only ever looked at Changelogs either on github or in a local git clone.  I don't think the value of including Changelog.md in a gem release is high enough to bloat the size of the gem so much.
What do y'all think about excluding it from gem releases?  Or, if you do want to include it, you could periodically prune it to the last N versions or something.  Whatever policy is chosen here, probably worth doing in the other rspec gems, too.
Thoughts?

I don't see a reason why we couldn't prune the maintenance branch change log to just that branch so that releases contain a subset

I don't think we should include it.

My 2 cents as a user: I don't think it's neccessary to trim the changelog; the size reported by rubygems.org is the size of the .gem file, which is compressed and text files usually compress well. So comparing the uncompressed size of the changelog to the compressed size of the total gem file can lead you to wrong conclusions. The installed size of rspec-core-3.10.1 for me is ~790k:
rspec-core-3.10.1 ((v0.8.0))$ du -ch
4.0K	./exe
36K	./lib/rspec/core/bisect
132K	./lib/rspec/core/formatters
20K	./lib/rspec/core/mocking_adapters
8.0K	./lib/rspec/core/project_initializer/spec
12K	./lib/rspec/core/project_initializer
640K	./lib/rspec/core
652K	./lib/rspec
652K	./lib
784K	.
784K	total

So while the Changelog does make up a large amount of the gems total size, it's more in the range of 13%.
In environments where you're optimizing for size (e.g. production docker containers), you'd be excluding bundles test group most of the time anyway.


Allow the plot_boolean column to be a function

By adding something like this, albeit less hacky, to plot_boolean:
if type(boolean_col) == FunctionType:
    cols, df = self.as_dataframe([on, boolean_col], **kwargs)
    boolean_col = cols[1]
df = filter_not_null(df, boolean_col)

More generally, all columns in cohorts should be specifiable as functions. We can probably centralize that concept and get rid of some code.


Don’t manipulate URLs with os.path and pathlib

That gives you backslashes on Windows.
Another instance of #9.

Merged, thanks @andersk!


InvokeMethodAsync on a DotNetObjectReference throws NullReferenceException

I've edited the BlazorDesktopApp sample.
https://drive.google.com/file/d/1XxBcu6t4M7FQMsN1wfJ8JNNSfsQTDDHB/view?usp=sharing
Clicking the button should call into JS to call back a static method, and then call into JS to call back a method on the component.
The call to the object method fails - can anyone see why?

Note: If I copy / paste the code into a Web Assembly app it works fine.

@mrpmorris You need to pull this:
https://github.com/SteveSandersonMS/WebWindow/pull/94
Or use my blazorwebview ;-)


feat(core): Support not warming cache for types that do not need it (ie. entity t…

…ags)
This results in a much faster startup time if you happen to have many
thousands of entity tags.

Generally speaking, we don't need to initialize the entity tags cache on boot because (a) there are no callers that depend on it and (b) it's slow w/ 10's of thousands of records.
(b) is generally negated by using elastic search.
FYI @anotherchrisberry - This should speed up your front50 startup time.
@ewiseblatt - This includes the change I suggested in your other PR ... I'm happy to rebase this when that PR is merged, or we can just kill two birds and merge this down.

Thanks. I added the change you suggested into my earlier PR.

nice!


0.8.x critical Bitbucket API issue.

https://github.com/drone/drone/blob/6d144de7355facbee613dd99afc5c4657b580808/remote/bitbucket/internal/client.go#L45
Seems to be the only line left that references version 1.0 of bitbucket's API which they have deprecated today.
Seeing the following for all repos in the logs:
time="2019-06-11T23:48:15Z" level=error msg="error: OUR_TEAM/OUR_REPO: cannot find .drone.yml in refs/heads/OUR_BRANCH: Resource removed"
time="2019-06-11T23:48:15Z" level=error msg="Error #01: Resource removed\n" ip=<IP_ADDRESS> latency=13.657034392s method=POST path="/hook" status=404 time="2019-06-11T23:48:15Z" user-agent="Bitbucket-Webhooks/2.0"

This should be solved in Drone 1.x which uses all Bitbucket 2.0 endpoints. There are no immediate plans to backport changes to 0.8, although you should be able to build from source if you want to continue using the legacy version. Have you instead considered using the migration utility to upgrade your instance [1]? Drone 1.x is capable of reading 0.8 yaml file format to help with the upgrade path.
[1] https://github.com/drone/drone-migrate

Ahh the migration tool exists.. 👌
I thought that 'November 16th' meant 'November 16th 2019' under the docs
Will be upgrading today ;)

I'm going to re-open in the short term just to make sure Drone 1.x is working once you successfully upgrade and confirm everything is working. If you have any issues with the migration please post to our discourse forum.

Also experiencing this issue and we're about to migrate to 1.x.
Glad to have seen this because we were pulling our hair out trying to find the issue!

@bradrydzewski Just wanted to clarify, as far as migrating from sqlite3 to mysql,
What would -e TARGET_DATABASE_DATASOURCE=/path/to/new/database.sqlite look like?

Is there a reason why only one endpoint is referenced from the 1.0 api or could it maybe be changed to also use the 2.0 endpoint?
The reason i'm asking is that migrating toi version 1.0 is not always so easy and takes time to realise.
I'm currently having the issue with 1.0 that it is not possible to use a private docker registry to pull images from... or did I just not find the right documentation?

Is there a reason why only one endpoint is referenced from the 1.0 api

at the time 0.8 was created, there was no 2.0 endpoint for content.

or could it maybe be changed to also use the 2.0 endpoint?

one could fork and patch 0.8.  I do not have any immediate plans to backport changes to 0.8 since we are focused on 1.x going forward.

I'm currently having the issue with 1.0 that it is not possible to use a private docker registry to pull images from... or did I just not find the right documentation?

there is full parity between 0.8 and 1.0 and in most cases, when using Drone 1.2.1, it is able to automatically convert the 0.8 yaml on the fly.
https://discourse.drone.io/t/drone-0-8-broken-due-to-bitbucket-v1-api-being-decommissioned/4816/4

lets move the discussion to our support forum at
https://discourse.drone.io/t/drone-0-8-broken-due-to-bitbucket-v1-api-being-decommissioned/4816
I will keep the github issue open for visibility so that others experiencing this issue can easily find this thread, and then follow-along in the forum.

I am going to close this now.  At this point most people have upgraded to the latest version of Drone or found an alternate solution to the Bitbucket API deprecation problem.
For anyone just coming across this issue, if you are using Drone 0.8 with Bitbucket Cloud you will need to upgrade to Drone 1.0, which fully supports the version 2.0 Bitbucket endpoints.


EV3: Select position of color sensor

As a user I would like to choose the position of the color sensor  I can mount on my EV3.
The UI and UX could look like as followed:
For the robot configuration the user

adds the color sensor to the EV3-block
can select the position of the color sensor; the position options should be:

front (places the color sensor to the front of the robot in the direction of travel)
right (places the color sensor to the right side of the robot in the direction of travel)
left (places the color sensor to the left side of the robot in the direction of travel)
back (places the color sensor the the back of the robot against the direction of travel)

The default position of the color sensor should be the front of the robot so the user can start programming the robot intuitively.
This option should only be available inside the simulation as the placement in the real EV3 does not have to be taken into account during programming.
This workflow can also be used as a final test.

Mockup proposal: UI Colour Sensor Position

Mockup proposal: UI Colour Sensor Position


Structure of Tetramers configuration

Hi all,
Do we have to know the structure of tetramer configurations and search for the position of Na and Cl ion to be used for optimization. For different structure, what is the difference that we have to do to implement the code. Paper shows that the binding energy per ions for given configurations are different, so how we approach to get that value?

Dr. Tim said: There were two approaches to this problem. You could try to initialize the configurations randomly and wait until the solutions in the paper are located. Alternatively, you could initialize the positions close to the configurations in the paper and let the minimization run.


Panic on deleting first char in select mode

There is a specific case when you delete the first character in select mode, library panics out:
`> panic: runtime error: integer divide by zero
[signal 0x8 code=0x7 addr=0x5958e pc=0x5958e]
goroutine 6 [running]:
panic(0x1306a0, 0xc82000a0b0)
/usr/local/Cellar/go/1.6.2/libexec/src/runtime/panic.go:481 +0x3e6
gopkg.in/readline.v1.(*opCompleter).doSelect(0xc820084080)
/go/src/gopkg.in/readline.v1/complete.go:49 +0xee
gopkg.in/readline.v1.(*opCompleter).OnComplete(0xc820084080)
/go/src/gopkg.in/readline.v1/complete.go:72 +0x1e6
gopkg.in/readline.v1.(*Operation).ioloop(0xc820060300)
/go/src/gopkg.in/readline.v1/operation.go:172 +0x1439
created by gopkg.in/readline.v1.NewOperation
/go/src/gopkg.in/readline.v1/operation.go:67 +0x42a`
Here is a gist of what I'm using to test this:
https://gist.github.com/antekresic/283106411e826f53799fa4565e90f094
Steps to reproduce: press 's', Tab, Tab, Backspace
Issue seems to be caused by entering OnComplete for an empty input rune buffer. My fix suggestion is to add a check for the empty buffer here:
https://github.com/chzyer/readline/blob/master/complete.go#L69
Let me know if you want a PR.
Thanks!

Nice catch, Thanks! And PR is welcome :)


support top-level record typedefs in zst

Zst needs to be tweaked to allow top-level type names to be stored and reconstructed.  Currently, the type names are lost.
Also, zst needs to handle type name changes.  This needs a bit of thought.  The model in zng is that all type info is read with the stream so there needs to be a way in zst to reconstruct the changing type context as the zst object is scanned in a way that will ultimately support seekable accesses.  Since type contexts are very small this could probably be done with an embedded zng stream that constructs the context at various points in time...  note that this would nicely handle the case where typedefs embedded inside of records (not out-record typedefs) occur in the stream.

I was this for sharkfest...


Introduce separate client for postgresql

Description:
Currently, interacting with a PostgreSQL database has to be done with JDBC client. Need to provide a separate client for PostgreSQL similar to MySQL, H2, along with the refactoring done to provide a richer feature set focusing on vendor-specific areas

Refer the comment https://github.com/ballerina-platform/ballerina-lang/issues/13818


Allow me to pass custom preprocessor flags to the "keymap" CLI

In my ZMK user configuration, I use a ZMK feature that was not merged yet (PR #1984).
To allow the GitHub action to build my layout without errors, I surrounded it with an #ifndef:
#ifndef USE_MOLOCK
#define LOCK_LAYER &none
#else
#define LOCK_LAYER &molock
#endif

This allows me to use the ZMK DTS_EXTRA_CPPFLAGS flag to make the USE_MOLOCK macro defined during local build:
west build -p -d build/corne-left -b nice_nano_v2 -- \
    -DSHIELD=corne_left \
    -DDTS_EXTRA_CPPFLAGS="-DUSE_MOLOCK=1" \
    -DZMK_CONFIG="$TOWNK_ZMK_CONFIG_DIR/config"

I would like to have a similar feature on Keymap-Drawer, so I can make the image generation to consider that branch of the check. For instance, I would like to use something like this:
keymap -c "keymap-config.yaml" \
    --preprocessor-extra-flags "-DUSE_MOLOCK" \
    draw -o "keymap-layout.svg" \
    "keymap-layout.yaml"

Or perhaps a configuration attribute in the parse_config section of the KD config file:
parse_config:
    preprocessor_flags: -DDTS_EXTRA_CPPFLAGS="-DUSE_MOLOCK=1"

I could try to use the built-in KEYMAP_DRAWER macro, but if I have more than one of these feature-flags on my layout, it would be an "all-or-nothing" from the Keymap-Drawer perspective.

I am planning to add this as a new config item parse_config.zmk_preprocessor_preamble, with the default value of #define KEYMAP_DRAWER. This would let you cover above scenario via:
parse_config:
  zmk_preprocessor_preamble: |
    #define KEYMAP_DRAWER
    #define USE_MOLOCK

Does that work for your use case, as opposed to a CLI argument[^1]?
[^1]: While it isn't 100% consistent, there are two factors I consider when deciding where a new setting goes:
1. Does it make sense to share across keyboards, e.g. it makes sense that legend overrides are not keyboard-specific, whereas layer names that you want to draw might be (one inconsistency here might be zmk_combos, since your combos aren't necessarily shared across keyboards)
2. How hard is it to actually use in the command line (zmk_combos would be pretty hard in the shell, hence it is in config)
In this case, IMO reason i. slightly leans towards CLI argument but reason ii. seems stronger in favor of a config option.

Yep, that would be perfect!

I implemented this as above (just renamed to zmk_preamble without _preprocessor), please give it a try.

It works perfectly! Now we have config flags parity with ZMK :).


Return error messages in each error location

These error messages can be shown to the user and can also be used to replace the messages displayed in the tests that expect errors. Put them inside of the ParseError variants.

I don't think this makes sense to do now. The user can form their own error messages based on what is returned in each error, which always includes an index, and the character, if the token refers to one of many things.


Stuck modifier keys

I've recently come across an issue where clients get stuck modifier keys when accessing a XRDP server with X11RDP back-end.
Key combinations like Ctrl+C, Ctrl+=, Ctrl+-, etc. invariably result in a 'stuck' un-modified key, i.e.:
Ctrl+C gives me Ctrl+C upon key down, but CCCCCCCCCCCCCCCCCCCCCCCCC as soon as I lift either key (either Ctrl or C), until I press something else.
This can be amazingly destructive, and seems to occur on builds from a month ago onwards (older builds that used xrdp 0.6.0 and whatever was the then-current X11RDP version work fine, but newer builds and reinstalls I've been trying to do since end of May have this issue).

I have been experiencing something similar, however the issue presents itself when I use the xrdp xorg driver.

If this occur with v0.9.2, please reopen.


Some commits are excluded from results.

This was my GitHub profile.
But LOC now just only 44,933 after I added a GitLab account.
I realized that all my C++ commits were gone from results.
Can I get some help?

Hi @NeuroWhAI, sorry for the long reply. Looks like you have just one commit with code in c++.
Since we show top 6 languages by the number of commits, c++ doesn't appear there.
Top developer fun fact is also based on the number of commits. So it's not shown for c++ too.


Enable FD2 on N300

Enable FD2 for 2 Chip N300 boards.

this is now enabled and running, we're onto filing specific cases for N300!


add u-gap-xs

👋

Interesting! What’s the use case, is it a general enough need to be made default?

I don't know. Thought it was more of an "omission". use-case is the buttons in the project-whose-name-we-don't-say, in the tables. Found the s gap a bit too wide, xs also gives more room for actual content in the table.

Ok yeh that’s reasonable :+1: I’ll take a look again and look to get this merged


How to kernel prune?

Hi, thanks for this great repo! I'm wondering if there is a pruner that supports the kernel pruning technique. Can it be implemented with the StructurePruner?

Hi @dongzhen123,
We do not support kernel pruning, but it should be straight-forward to add.  It is similar to channel-pruning, except we don't "tie" the kernels together into a channel shape.
So, reshape a 4D tensor into 2D, with rows having the kernel elements (kk coefficients) - so you have a matrix with shape (n_filters * n_channels, kk).  For each row compute the L1-norm, to generate a 1D vector (len: n_filters * n_channels).  Sort this vector to determine the masking threshold, then mask, and finally expand the 1D mask to 4D mask (similar code exists for other structures).
See here: https://github.com/NervanaSystems/distiller/blob/6cd22e7dc62ba546ce54a000485a6b484671ac9e/distiller/pruning/ranked_structures_pruner.py#L110-L125
Good luck and let me know if you need help,
Neta


Need to export 'popsicle' object

In documentation you use commonjs style require() to import the popsicle module, and then use it as follows:
const popsicle = require('popsicle')

popsicle.request({
  method: 'POST',
...
})
.use(popsicle.plugins.parse('json'))

However, the default export is the request object.  So using es6 import syntax, following the example gives a popsicle.request is not a function error. Instead, one must do:
import { request, plugins } from 'popsicle'
request(...).use(plugins.parse('json')

not so bad in this tiny example, but if you're using lots of popsicle functions you end uup with a lot of named imports that pollute the namespace. Why not export a popsicle object, either named or by default, so that es6 users one can use syntax consistent with the examples in documentation?

You could just do import * as popsicle from 'popsicle'.

Yeah I thought of that just now and came back to close this before anyone saw it haha. Doh


⚠ Hartman Foundation has degraded performance

In ce2558c, Hartman Foundation (https://gordonhartman.com/) experienced degraded performance:

HTTP code: 200
Response time: 2726 ms

Resolved: Hartman Foundation performance has improved in 5d7df96.


Updated eslint from 0.24.1 to 1.10.3.

When upgrading ESLint to 1.0 there was a change to the default configuration. Can you add support for eslint-config-exhange-solutions?

Do I use react style to install it?

No React is a front-end only technology. Use the base configuration.

Ya I went ahead and did that and pushed again after fixing most issues, there was a huge amount.

:+1:


[Component Model Generator] Model is incomplete when a package has more than one un-annotated services

Description
Description:
The service interaction diagrams are dependent on the user-defined display annotations to uniquely identify services. Hence, in the current FE implementation, the unannotated services are not displayed.
Describe your problem(s)
To provide a more comprehensive picture, this behaviour is being improved to display all the services available in the workspace, regardless of whether they are annotated or not (difference would be that the interactions can be mapped in annotated services but not for unannotated services).
However, currently, the component models retrieved are incomplete when multiple services in the same package are unannotated. Since the service ID is an empty string for all unannotated services, all such unannotated services in a package update the same entry in the services map, leaving only one unannotated service entry per package .
Describe your solution(s)
Adding an UUID as the serviceId for unannotated services
Related area
-> Other Area
Related issue(s) (optional)
No response
Suggested label(s) (optional)
No response
Suggested assignee(s) (optional)
No response

An UUID will be added as the serviceId in below two scenarios

When display annotation is not given for a service
When display annotation is given, but id is mssing.

Generated component
"services": {
    "84a04fdc-bc9f-4947-9c75-294ed3f14fc5": {
      "path": "reservations/my",
      "serviceId": "84a04fdc-bc9f-4947-9c75-294ed3f14fc5",
      "serviceType": "ballerina/http:2.4.4",
      "resources": [
        ...
      ],
      "annotation": {
        "id": "84a04fdc-bc9f-4947-9c75-294ed3f14fc5",
        "label": "",
        "elementLocation": null
      },
      "remoteFunctions": [],
      "elementLocation": {
        ...
      }
    }
}


when using minified css, animate is laggy in Chrome on Windows; non-minified is smooth

No idea what is causing this issue, but my workaround is to minify the original css file in gulp myself, and animations are smooth as butter.

Also experiencing this issue. The animation works great in Internet Explorer 11, but it's very laggy in Google Chrome v45.0.2454.99 m

Could you provide a jsfiddle? I'm not having this issue. Perhaps at some point something (Chrome or gridstack) had a change that fixed the problem? Closing, but please reopen and provide fiddle if you're still encountering this issue.


[Site] Force new routed navigations to scroll to top

Description

Wrap the app in a ScrollToTop component (code from react-router's site) that does exactly what it says on the tin.
Motivation and context

Navigating to a new page in our site would, frustratingly, remember your scroll position rather than scrolling to the top automatically, as everyone expects. This fixes that.
Demo

http://router-scrolling--mineral-ui.netlify.com/getting-started
How to test

Open the site
Scroll down a bit and note what is visible
Navigate to another page
Confirm that the new page is automatically scrolled to the top
Hit the back button
Confirm that your scroll position was remembered for the previous page

Types of changes

Other (provide details below)

Docs
Checklist

[x] Renders and functions properly in all supported browsers See note
[x] Automated tests written and passing [n/a]
[x] Accessibility and inclusivity considered
[x] Rendering performance (initial load time & 60fps) and perceived performance considered [n/a]
[x] Documentation created or updated [n/a]
[x] Tested in sandbox if new component or breaking change [n/a]

In Edge & IE 11, the scroll position is not remembered when going back; it auto-scrolls to the top. This is a regression from normal behavior (though arguably better than our site's current behavior), based on some testing on outside websites.
How does this PR make you feel?

The only thing I would add if possible is that on the Theming page, there is a link to createStyledComponent. When you click this link, the page navigates, but does not scroll down to that section. However, If you copy the link and paste it into a new window, it works. Not sure if this PR includes that case.

@riley — I believe that to be a separate issue. I’m not sure why anchor links on that page don’t seem to work, but other anchor links have been tested and do work with this PR.


Metadata Slurping

This PR does two things:

Extracts the metadata from the top level of every notebook
Adds a title attribute for each of these notebooks

All so we can use this in automation with the desktop app. PR for that incoming. 😄

Thank you Carol! I'll get this shipped. 🚀

Something awesome if you like -- we could update our README with some more Binder links to point to these.
As an aside... We ended up leaving one notebook in the base of the repo because of so many links that reference that happy notebook on master. 😬


Investigate automatic release notes generation

Is your feature request related to a problem? Please describe.
The last releases of Bandit do not provide any changelog which makes it difficult for users to estimate the impact (risks and benefits) of updating to newer versions. See our main user-facing portals for new releases:

PyPI module info: https://pypi.org/project/bandit/1.5.1/#history
GitHub release notes: https://github.com/PyCQA/bandit/releases

Describe the solution you'd like
To reduce the burden on maintainers, investigate ways to generate changelogs automatically from the commit or PR history and to push this information to GitHub release notes and PyPI.
Possible solutions:

GitHub release drafter plugin: https://github.com/apps/release-drafter
custom script? Travis job?
python package: https://pypi.org/project/gitchangelog/

Describe alternatives you've considered
There is a releasenotes folder in the source tree (https://github.com/PyCQA/bandit/tree/master/releasenotes) though it doesn't seem to be used and provide the level of automation we are aiming for.

Yeah, the releasenotes directory comes from a standard in OpenStack to document important changes that would be compiled into a formal release note.  We could still use it, but requires every important commit to properly create a note.  It has the benefit of better descriptions than commit messages, but at the cost of contributor maintenance.

From the above, I think Release Drafter looks neat.


Unable to deselect all rows but keep one row selected in v.8.x

Describe the bug
I select some rows let's say the first, second and third. Then I am calling
 table.toggleAllRowsSelected(false);
 table.getRow("1").toggleSelected(true);

to deselect all rows but keep the second selected. Table fails to complete that action. All rows are deselected.
I guess it is some kind of async operation which is not completed (the second one) but how then to deselect everything apart from one or more specific rows.
Your minimal, reproducible example
codesandbox
Steps to reproduce
Open https://codesandbox.io/p/sandbox/fail-to-deselect-everything-apart-from-one-row-in-react-table-v-9-x-hl9p4l?file=%2Fsrc%2Fmain.tsx%3A303%2C18
select the first 3 rows and then click on the button " Select the first 3 rows and then try deselecting everything and select second row if it is already clicked"
All rows are deselected.
Expected behavior
All rows are deselected apart from the second one
How often does this bug happen?
Every time
Screenshots or Videos
No response
Platform
Ubuntu 20.04.6 LTS
react-table version
v  8.8.5
TypeScript version
No response
Additional context
No response
Terms & Code of Conduct

[X] I agree to follow this project's Code of Conduct
[X] I understand that if my bug cannot be reliable reproduced in a debuggable environment, it will probably not be fixed and this issue may even be closed.

The problem was that indeed the first operation is an async operation and needs to be awaited
<button
className="border rounded p-2 mb-2"
onClick={async() => {
await table.toggleAllRowsSelected(false);
table.getRow("1").toggleSelected(true);
}}
There is no mention that toggleAllRowsSelected  is a promise or an sync operation


Document working-directory input in connect-publish action

This input has been valid since #32 , but was not documented.

@calderonsamuel thank you!


fix: wrong stacktrace type

As shown by updated test, the stacktrace property is not an array but an object with a frames property of type array.
I suppose it might have changed at some point in SDK but I'm not sure when. I think there is no need to make a major release since it was already wrong.

@rchl I really appreciate your work 💯


Update web3 dependency to >= 6.20.2

We currently rely on a version of web3 that is a year old (6.11). We need to update it to the latest release.

Resolved by https://github.com/delvtech/agent0/pull/1659


Marathon Should Automatically Stop Re-Deploying the App if there is a error in Docker Image Name

Hello Mesosphere Team,
Really Appreciate Your work on Mesosphere. We noticed that while deploying an app in Marathon if there is an error in Container settings like Image name Marathon will try to redeploy the app Continuously is there a way we can make Marathon to stop Redeploying and Error-Out.

Duplicate of #3954

I don't know why the STOP button should be considered harmful as it was stated in https://github.com/mesosphere/marathon-ui/pull/739?
I work with many new Marathon users and they don't know what to do when their app fails with new version. They want to stop any actions to make app in the known state and work it out themselves because they know what to do better than Marathon in cases where simple restarting wont help.

@kamilchm Consider a deployment that affects a group with several apps (A, B, C). If you try to change the configuration of one of the affected apps (e.g. app B), it will fail because there's a deployment in progress. If you choose to force-stop that deployment, deploying new versions for apps A, B and C will be stopped, leaving the cluster in an unclear state. (e.g. no instance for A because all have been killed but none started yet, 2 old and 1 new instances for C).
Since it is not obvious what will be affected by stopping the deployment, we chose to remove that option.

no instance for A because all have been killed but none started yet

When you use rolling upgrade with health checks you wont affect you service then and leave all old instances untouched. This is the difference between force-stop and rollback.  Although we can treat it as a bug in rollback functionality and make sure that rollback wont kill tasks that have are no different between the version that we are trying to rollback to and could be done in https://github.com/mesosphere/marathon/issues/4046.


No connections lines on tab Containers Network

No connections lines on tab Containers Network, when running containers by using docker-compose

What versions of Docker and docker-compose are you running?

@kevana
Docker version 1.12.3, build 6b644ec
docker-compose version 1.8.0, build f3628c7

Same here...
Docker version 1.12.3, build 6b644ec
docker-compose version 1.9.0, build 2585387


tests de schedule mentorias

Current dependencies on/for this PR:

main:

PR #102

PR #105 👈

This comment was autogenerated by Freephite.


Implement text to speech, add more bot modes

Might need headphones for text to speech mode, because the microphone picks up what the t2s engine produces, making it loop sometimes.

Actually I fixed the feedback issue (I think) so it shouldn't require headphones anymore


Suggestion and module documentation info not showing on jupyter notebook

Environment data

Language Server version:  Pylance language server 2021.1.3
OS and version: Windows 10 v10.0.18363
Python version : 3.8.5 64-bit

Expected behaviour
Show suggestion documentation on a jupyter notebook/ python file

Actual behaviour
It works great on python script but not when running a jupyter notebook

Is this the old notebooks system, or the new one that uses VS Code's built-in cell system? As far as I know, the old one (where they recreated cells in a webview) does not support some features, while the new one does as the editor is powering everything.

Just to confirm, do you see an arrow at all to the right on that completion item if you hover it? Does hitting Ctrl+Space expand it out?

Thank you for your help, no i can't see an arrow to answer your question, only works when it's a .py file in VS Code.
I checked and there is a new Jupyter native api (it's what you meant by new version of Jupyter system ?)that is only available on vs code insiders, so i installed insiders and code documentation works perfectly, it seems that we can modify the Jupyter extension project to use the native api on VS Code.

Yes, then this makes sense. There's not really much we can do about this from our end, as it's entirely a UI issue. I'll close this for now (and eventually this will be the default notebook system in Jupyter).

Yes it solved the problem for me understanding it's source, i hope it'll be Jupyter default operating Api in the next version of VS Code also, it feels faster and looks better.


fix: Update README.md

Coverage report

St.:grey_question:
Category
Percentage
Covered / Total

🟢
Statements
100%
61/61

🟢
Branches
100%
11/11

🟢
Functions
100%
1/1

🟢
Lines
100%
61/61

Test suite run success
6 tests passing in 1 suite.
Report generated by 🧪jest coverage report action from 4ae1816aa2bfe812c83a3f3ec88b98556f5c492f


Upgrade base container image to ubuntu:22.04

Commit Message: Upgrade base container image to ubuntu:22.04
Additional Description: Fix memory issue in base image
Risk Level:
Testing:
Docs Changes:
Release Notes:
Platform Specific Features:
Fixes #31248

@phlax it will be nice to have patch release of 1.28 with the changes.

@zigmund if we add a changlog entry (in changelogs/current.yml) then im gtm on this
wrt backports i think that is a bit more complex as i would defo prefer not to change the distro image in a patch release
im wondering whether just rebuilding the current 1.28 image with the latest ubuntu 20.x would resolve (and as mentioned previously, conversely whether rebuilding any others would break)

hmm - so it seems all of the current releases are using the same base image
ARG BUILD_TAG=20.04@sha256:33a5cc25d22c45900796a1aca487ad7a7cb09f09ea00b779e3b2026b4fc2faba

which is good in the sense that i dont think the other branches have this issue, but now im wondering why 1.28 + this base image specifically have this issue

for the branches, perhaps we should bump to the latest 20.04
$ docker buildx imagetools inspect ubuntu:20.04
Name:      docker.io/library/ubuntu:20.04
MediaType: application/vnd.oci.image.index.v1+json
Digest:    sha256:f5c3e53367f142fab0b49908550bdcdc4fb619d2f61ec1dfa60d26e0d59ac9e7

Manifests:
  Name:      docker.io/library/ubuntu:20.04@sha256:fe8a36445d3d850960d6a24554f2cf4e19d82ba1e611e3e8713bd7b76989623d
  MediaType: application/vnd.oci.image.manifest.v1+json
  Platform:  linux/amd64

  Name:      docker.io/library/ubuntu:20.04@sha256:e8d1b4432e4a0f42554de1276c83035ec085ffb6a77561ea193e0604b9ff550d
  MediaType: application/vnd.oci.image.manifest.v1+json
  Platform:  linux/arm/v7

  Name:      docker.io/library/ubuntu:20.04@sha256:074f14759aac23ee1f3ec318fbc1baa83f309ff78ad4448d63f79d2c8bea24c3
  MediaType: application/vnd.oci.image.manifest.v1+json
  Platform:  linux/arm64/v8

  Name:      docker.io/library/ubuntu:20.04@sha256:647745abc179283618fc640158b3a0c0cdd76b6d8e68feb4d96c4174451f2c3f
  MediaType: application/vnd.oci.image.manifest.v1+json
  Platform:  linux/ppc64le

  Name:      docker.io/library/ubuntu:20.04@sha256:e3a8fd652ab4f3349c1c1e872ce5dc8f904ee5e702da67a052de21ba1a73bdfc
  MediaType: application/vnd.oci.image.manifest.v1+json
  Platform:  linux/s390x

and see if that resolves the issue

@phlax

for the branches, perhaps we should bump to the latest 20.04
...

I already tried latest 20.04 before open issue.
FROM envoyproxy/envoy:v1.28.0 as envoy
FROM library/ubuntu:20.04@sha256:f5c3e53367f142fab0b49908550bdcdc4fb619d2f61ec1dfa60d26e0d59ac9e7

ENTRYPOINT ["/usr/local/bin/envoy"]
CMD ["-c", "/etc/envoy/envoy.yaml"]
COPY --from=envoy --chown=0:0 --chmod=644 \
    /etc/envoy/envoy.yaml /etc/envoy/envoy.yaml
COPY --from=envoy --chown=0:0 --chmod=755 \
    /usr/local/bin/envoy /usr/local/bin/

lets land this as i think its a good idea anyway - re backporting, given that it only triggers in specific circumstances im a bit more reluctant unless others report similar

@phlax thanks.


integrate v3 pool snapshots

related to #105
Waiting for @mendesfabio for missing data points (volume, holders count, swap count)

I've shared this with @gmbronco and will iterate on it with him


Make Market Section for Stocks

Description
Use the Alpha Vantage API and Create a market section with a cart for the project. With options to see the description of a stock (OVERVIEW - See Docs) Prebuild Route- /market/desc/ and the option to add in the cart  Prebuild Route for price- /market/data/
Suggestions and Tips
Make an array for stocks symbols you get the symbols list on the internet (Alpha vantage supports foreign stocks)
Additional context
Don't focus much on the frontend integration work more on the backend.

@nivedita0604 I added some data files in config folder you can use them to populate the market section


Existing TimeSeriesInsights cannot be referenced

This issue can be reproduced with the following bicep file:
resource tsi 'Microsoft.TimeSeriesInsights/environments@2020-05-15' existing = {
  name: 'my-tsi'
}

Using az deployment group what-if results in the error Error BCP078: The property "kind" requires a value of type "'Gen1' | 'Gen2'", but none was supplied.
I modfied the file to correct this:
resource tsi 'Microsoft.TimeSeriesInsights/environments@2020-05-15' existing = {
  name: 'my-tsi'
  kind: 'Gen2'
}

This results in the error Error BCP173: The property "kind" cannot be used in an existing resource declaration.
So it seems there ist no way to successfully reference an existing TSI. I am using Bicep CLI v0.4.613.

@max-tet - I see two possible solutions:

We fix the first error - we don't allow kind to be specified in an existing resource declaration, and we don't raise any errors for this. The type validation/completions we provide when accessing properties on tsi.properties will not be as accurate, as Bicep won't know whether it's a Gen1 or Gen2 resource.
We fix the second error - we require kind to be specified in an existing resource declaration. We'll have accurate type validation when accessing properties, but the existing statement is longer.

Which of those options would you personally prefer?
I guess technically there's a third solution, which is "permit both of the above" 😄

So the actually existing TSI that this statement refers to does have a kind. Specifying it in the bicep resource is therefore not needed for deployment. It is only needed for validation/completion, right? I believe for that reason, omitting it should be valid. Also because that would be the least suprising thing.
On the other hand, accurate validation/completion sure is nice.
I think I actually would prefer the third option. Make the field optional. Provide validation/completion if it is present.
My guess is that other resource types might have similar opportunities if specified as existing and I would expect the policy to be consistent:

Provide only identifying information -> it works
Provide additional information -> make validation/completion smarter.

(BTW, if the additional information - like kind - does not match with what is actually deployed, this must oviously throw an error during deployment.)

I think this might have been fixed in #4407 and released with 0.4.1008. @max-tet Can you check with latest version if this issue is still valid?

Unfortunately, we changed our setup such that it is not so easy for me to verify if that has been fixed. I might come around to it at some point not so soon, sorry.

I checked and this issue is still present

@alex-frankel are you sure? I cannot reproduce it on current main and on 0.4.1008:

This is basically a duplicate of #2703, so I think we can close this.

Mikolaj was correct. This is a duplicate of #2703 and we can close it.


Updated Postfix config on Ubuntu/Debian

Closes #3735
Updated steps for postfix configuration in accordance to the comment by lgomezbl.

 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.


Update BINDINGS.md

Add raylib for Pascal

@jarroddavis68 Hey! Thank you very much for the addition! 👍😄


Add UninstallTool

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#34  👈 (View in Graphite)
#33
#32
#31
#30
main

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

Merge activity

Dec 16, 1:27 PM EST: A user started a stack merge that includes this pull request via Graphite.


Localhostcleanup

Merge changes from localhostcleanup into develop branch

This is due to the changes being done in 4.0-1 and then pulled into develop. Will try to simplify the commits or find another way.

Closing this request. Have committed the required changes for localhost.


Prisma Client 1.17 create mutation generates 2 records

Describe the bug
Prisma Client 1.17 create mutation generates 2 records
To Reproduce
Steps to reproduce the behavior:

Clone https://github.com/prisma/prisma-examples
Go to node-graphql
Follow the instructions to setup
Run createDraft mutation
You will have 2 records returned by the drafts query

Versions:

OS: OS X High Sierra
prisma CLI: prisma/1.17.0-beta.11 (darwin-x64) node-v8.11.3
Prisma Server: 1.17-beta-1

I can reproduce this.
For anyone trying to reproduce this locally, you will need to follow slightly different instructions and create a user.

Interestingly enough, I cannot reproduce this anymore after some while, without changing anything.
If I then deploy a new service, I cannot reproduce it at all in the new service.
This seems like a very subtle bug or even a problem with the environment setup. To start looking into this, we require a consistent and reliable reproduction, so let us know if you found one.

I got this same issue and seems so hopefully its consistently reproducible with my repo.
To Reproduce

Clone https://github.com/addstar34/labeouf
cd into packages/apollo-server-api
run yarn install
run docker-compose up -d
run prisma deploy
run prisma generate
yarn start
using graphql playground create a mutation for createTodo
using graphql playground query todos and you'll see 2 todos

Versions:

OS: OS X Mojave
prisma cli<EMAIL_ADDRESS>node: v8.12.0

Thanks @addstar34, I can once again confirm your reproduction. Looking into this.

@marktani I think I found out what the problem is here, the resolvers need to use async/await with the call to prisma. Eg:
async function createTodo(_parent, args, context, _info) {
  return await context.prisma.createTodo({
    title: args.title,
    description: args.description,
  })
}

I think the issue stems from the docs as I just copy pasted the resolvers from here as my starting point which don't use async/await: https://www.prisma.io/docs/1.17/get-started/03-build-graphql-servers-with-prisma-e001/#implement-resolver-functions

Closing this in favor of #3210, which seems to be a bug in Prisma core.


Replies are not proxied

Discord recently added the ability to reply to posts, but the reply status of a message is lost when proxied through Tupperbox. This is best illustrated with screenshots:

Unfortunately, webhooks cannot currently send replies. There is a feature request for that on Discord's API repo

Dammit. Alright. Hopefully they add it soon.

A sort of bootleg version of this is now implemented on the main bot.

A sort of bootleg version of this is now implemented on the main bot.


New Theme: reveal-hugo for Reveal.js

Hello! I've made a theme for creating Reveal.js presentations.
https://github.com/dzello/reveal-hugo/
The theme tries to expose the majority of what you can do with Reveal (sections, fragments, per-slide customization) as shortcodes, and the docs show how to add a Reveal outputFormat to any Hugo section to output it as a presentation. I did this to scratch my own itch of needing one Hugo site that could hold a variety of client presentations, each with a different theme and configuration. It also allows content files to contain multiple slides delimited by ---, cutting down significantly on the file overhead to create presentations with lots of slides.
The presentation in exampleSite is deployed here and contains documentation beyond the README.
Look forward to hearing any thoughts or feedback you have about the theme. Thanks!

Hello Josh,
thank you for sharing this theme with the Hugo community. I've tested your theme with the build script for the Hugo theme site and everything seems to look fine.
I remembered that there's already a Hugo theme for reveal.js. Out of interest: what does your implementation different?

Great! My handle on Twitter is @dzello if you need it.
Thanks!

If I had saw your Twitter handler earlier I would have linked your account in the tweet :wink:

No sweat, I replied the tweet so people can find me if they need to :)


Add documentation for tables

Tables syntax is:
| Tables   |      Are      |  Cool |
|----------|:-------------:|------:|
| col 1 is |  left-aligned | $1600 |
| col 2 is |    centered   |   $12 |
| col 3 is | right-aligned |    $1 |

Note that without table headers, the preview seems broken.

:+1:

Fixed in https://github.com/TailorDev/monod/commit/4d7f7b149a64831fa49d735661c772083855b249


ci: Bump versions and fix release overwrites

I guess it's okay but I don't see the make version script in CI. Was that removed?

Good call, added it back.


Fix links

This is the correct repository of the official Telegram iOS app from TelegramMessenger organization.
You can see that they refers to this url on their official website: https://telegram.org/apps
The link you have now was archived while ago and was updated more than a year ago last time.

[x] Project URL:
[x] Update contents.json instead of README
[x] One project per pull request
[x] Screenshot included
[x] Avoid iOS or open-source in description as it is assumed
[ ] Use this commit title format if applicable: Add app-name by @github-username
[x] Use approved format for your entry

Thank you!


fix(curriculum): correct typo in Building a Cipher step 87

Checklist:

[x] I have read and followed the contribution guidelines.
[x] I have read and followed the how to open a pull request guide.
[x] My pull request targets the main branch of freeCodeCamp.
[x] I have tested these changes either locally on my machine, or GitPod.

Closes #55143

Corrected a typo in step 87 of the "Building a Cipher" challenge in the Scientific Computing with Python section.
Description of the changes:

Changed 'Hello there!. to 'Hello there!'.

Affected page:

Building a Cipher - Step 87

Hi @PRANJALI-SANKPAL. Congrats on your first pull request (PR)! 🎉
Thank you for your contribution to the page! 👍
We are happy to accept these changes and look forward to future contributions. 📝

Thank you so much for the warm welcome and for accepting my pull request! 🎉
I am excited to have made my first contribution and look forward to continuing to contribute to the project.


Removed redundant self.ret() in Nop.run

The ret function is already called in SimProcedure.__init__. Calling it again voids the caller and its stack frame.

@ltfish, does this look good?

I think so. I can recall why this happened: at some time we moved the call of ret() to SimProcedure.__init__.

@zardus Please go ahead and merge it in.
@iamahuman Thanks!

Pleaee wait, there are more procedures with this bug that are left unpatched.

Here you go!

Oh, and for perror, it is defined as void perror(const char *s). There's no need for returning a value.

Those are all old SimProcedures that have long been forgotten... thanks for give them care and love :-)
I'll merge it in tomorrow.

Ping :P

Ooooooops my mistake

We're all playing in defcon quals right now! This will not happen any sooner than Sunday at 5pm west coast time :+)

@rhelmot Good luck!

@rhelmot This PR looks good to me. What do you think?

The logic in deciding when to use .ret() has changed a little since the last time I looked at it, but from what I can tell this is right.

@rhelmot I'm not sure which one you are saying is right, but if you think the old code is, you may want to take a look at SimProcedure.__init__:
def __init__(self, state, ret_to=None, stmt_from=None, convention=None, arguments=None, sim_kwargs=None, run_func_name='run', **kwargs):
    ...
    run_func = getattr(self, run_func_name)
    r = run_func(*args, **self.kwargs)

    if (self.overriding_no_ret is False) or \
            (self.overriding_no_ret is None and not self.NO_RET):
        self.ret(r)

There's nothing in ret function that blocks itself from being executed twice. which results in two consecutive returned states in successor list. Furthurmore, the ret() function does not copy() the state and passes it directly to add_successor, which screws up things completely.
This one have caused me a lot of headache. Please consider testing and debugging a code before assuming it is right just because it seems right... :/

I'll revisit the entire ret() logic and document it somewhere.

Also, seems we need test cases.

@iamahuman
I was saying that your patch looks correct. In composing that message, I looked at that exact snippet of code, realized it had changed since the last time I put code in SimProcedure (the previous behavior was that init only calls ret if the run function returns a value other than None), and subsequently realized that yes, this is in fact a serious bug.
I'm a little bit upset (I am, in fact, greatly upset) by your insinuation that there being a bug in an open source project amounts to a personal failure on the part of the authors, since it wasted your time. I have spent hundreds of hours, probably thousands of hours of my personal time working specifically on the testing suite and testing infrastructure for the angr project - I have done everything in my power to make sure that people can't break things without getting yelled at. It is unfortunate that this error happened (if git blame serves, it is accountable to fish, on 10/15/15), but is is unacceptable of you to try to condemn this event as anything more than something to report and fix.
This is an open source project, graciously developed primarily by students in a research lab whose professors would much rather us be working on research instead of managing pull requests. Fixes will be made and requests will be fulfilled, but time is always the limiting factor. Please keep that in mind the next time you'd like to include in one of your comments a passive-aggressive remark followed by a sad face emoticon.

I'm really sorry for my behaviour. It wasted none of my time, and actually I want to and ought to thank you and your team very much for saving me a lot of time, especially for CTF challenges I have played and lots of other related works that I couldn't have done without it.
Although I thought I wasn't trying to blame you about the bug and ignore the amount of time you have invested in this open source project, reading my comment again it's certainly my fault not only for it being too ignorant and rude especially considering how much hard work you have done for the project, but also not carefully reading and misunderstanding what you have said. Even if you didn't care much about my rude comment, it cannot be appropriate of me to post such an aggressive one.
Again I'd like to thank you very much for doing such a hard work and letting people use it for free, and apologize greatly for being so impolite.

It's fine. You are, after all, only human ;)
@ltfish were you going to merge this?

Thanks for the contribution! I'm glad we got this sorted out :-)

took a couple of seconds to notice the joke lol

:D


Failed with SQLServer 2017 and CU26

Tried this..
docker build --build-arg BASE=ltsc2019 --build-arg DEV_ISO="https://download.my.visualstudio.com/pr/en_sql_server_2017_developer_x64_dvd_11296168.iso?t=376c15b0-6cf9-429a-8625-369d16f182ac&e=1634348426&h=6e9aec05b50b836551333c5fedb32db7&su=1" --build-arg CU="https://download.microsoft.com/download/C/4/F/C4F908C9-98ED-4E5F-88D5-7D6A5004AEBD/SQLServer2017-KB5005226-x64.exe" --build-arg VERSION=14.0.3411.3 --build-arg TYPE=dev -t yadamu/mssql:2017-CU26 .

It started looping while applying the CU
Install CU from https://download.microsoft.com/download/C/4/F/C4F908C9-98ED-4E5F-88D5-7D6A5004AEBD/SQLServer2017-KB5005226-x64.exe
Patch seems to be ongoing, found version 14.0.1000.169, try 0
Sqlcmd: Error: Microsoft ODBC Driver 13 for SQL Server : Named Pipes Provider: Could not open a connection to SQL Server [2]. .
Sqlcmd: Error: Microsoft ODBC Driver 13 for SQL Server : Login timeout expired.
Sqlcmd: Error: Microsoft ODBC Driver 13 for SQL Server : A network-related or instance-specific error has occurred while establishing a connection to SQL Server. Server is not found or not accessible. Check if instance name is correct and if SQL Server is configured to allow remote connections. For more information see SQL Server Books Online..
Something unexpected happened, try 1
at <ScriptBlock>, <No file>: line 1
Sqlcmd: Error: Microsoft ODBC Driver 13 for SQL Server : Named Pipes Provider: Could not open a connection to SQL Server [2]. .
Sqlcmd: Error: Microsoft ODBC Driver 13 for SQL Server : Login timeout expired.
Sqlcmd: Error: Microsoft ODBC Driver 13 for SQL Server : A network-related or instance-specific error has occurred while establishing a connection to SQL Server. Server is not found or not accessible. Check if instance name is correct and if SQL Server is configured to allow remote connections. For more information see SQL Server Books Online..
Something unexpected happened, try 2

Logging into the container and looking at the Application log I see
10/15/2021 9:15:54 AM         3417 Error            Cannot recover the master database. SQL Server is unable to run. Restore master from a full backup, repair it, or rebuild it. For more information about how

I think this may be related to the fact that the 2019 series images for server core use code page 65001 and this causes the upgrade to fail.
Is there any reason why you install SQL Server and then apply the patch rather than patch the installation directory before installing SQL Server. ?

Tobias
FWIW I was unable to successfully apply any service pack to 2017 under servercore:2019.
I was finally able to build a version with 2016 using this dockerfile
# escape=`
FROM mcr.microsoft.com/windows/servercore:ltsc2016
#
SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"]
#
ADD https://github.com/microsoft/windows-container-tools/releases/download/v1.1/LogMonitor.exe LogMonitor.exe
#
# Download and install Visual C++ Redistributable
#
ADD https://aka.ms/vs/16/release/vc_redist.x64.exe .
RUN Start-Process c:\vc_redist.x64.exe  -Wait -ArgumentList "/q"
RUN Remove-Item c:\vc_redist.x64.exe
#
# Download and Install .NET Framework 4.8
#
ADD https://download.visualstudio.microsoft.com/download/pr/2d6bb6b2-226a-4baa-bdec-798822606ff1/8494001c276a4b96804cde7829c04d7f/ndp48-x86-x64-allos-enu.exe .
RUN c:\ndp48-x86-x64-allos-enu.exe /q  /norestart
RUN Remove-Item c:\ndp48-x86-x64-allos-enu.exe
#
RUN New-Item -ItemType "directory" C:\INSTALL; `
    New-Item -ItemType "directory" C:\INSTALL\CU;
#
# Unpack SQL Server
#
WORKDIR c:/INSTALL
COPY SQLServer2017-DEV-x64-ENU.exe .
COPY SQLServer2017-DEV-x64-ENU.box .
COPY SQLServer2017-KB5005226-x64.exe .
COPY setup.ps1 .
COPY fixDataFileLocations.sql .
RUN .\SQLServer2017-DEV-x64-ENU.exe /x:SQLServer2017-DEV-x64-ENU /u;
#
# Install SQL Server
#
#
# Inoking Setup from a script appears to bypass the issue with "username" cannot be null issue that occurs when setup is invoked directly via the RUN command
#
# RUN C:\INSTALL\SQLServer2017-DEV-x64-ENU\SETUP.exe /Q /ACTION=INSTALL /FEATURES=SQLENGINE /INSTANCENAME=MSSQLSERVER /SECURITYMODE=SQL /SAPWD="oracle#1" /SQLSVCACCOUNT="NT AUTHORITY\System" /AGTSVCACCOUNT="NT AUTHORITY\System" /SQLSYSADMINACCOUNTS="BUILTIN\Administrators" /IACCEPTSQLSERVERLICENSETERMS=1 /TCPENABLED=1 /UPDATEENABLED=false ; exit 0
#
RUN .\setup.ps1

RUN $SQLSERVER = GET-SERVICE "MSSQLSERVER"; `
	$SQLSERVER.Start(@('/T3608','/T3609')); `
	invoke-sqlcmd -InputFile fixDataFileLocations.sql -username "sa"; `
	$SQLSERVER.stop(); `
	$SQLSERVER.Start
#
RUN .\SQLServer2017-KB5005226-x64.exe /x:CU /u
#
RUN .\CU\Setup.exe /Q /IAcceptSQLServerLicenseTerms /Action=Patch /InstanceID=MSSQLSERVER
#
RUN Remove-Item SQLServer2017-DEV-x64-ENU.exe; `
    Remove-Item SQLServer2017-DEV-x64-ENU.box; `
    Remove-Item SQLServer2017-KB5005226-x64.exe; `
    Remove-Item setup.ps1; `
    Remove-Item fixDataFileLocations.sql
#
WORKDIR c:/
COPY prepareMounts.ps1 .
RUN Set-Service  -Name "MSSQLSERVER" -StartupType "Manual"; `
    Stop-Service -Name "MSSQLSERVER"; `
    c:\prepareMounts.ps1; `
    Remove-Item c:\prepareMounts.ps1
SHELL [ "powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"]
COPY Start.ps1 .
#ENTRYPOINT [ "powershell","c:\\Start.ps1","-ACCEPT_EULA $ENV:ACCEPT_EULA","-SA_PASSWORD $ENV:SA_PASSWORD"]
ENTRYPOINT powershell "c:\\Start.ps1 -ACCEPT_EULA $ENV:ACCEPT_EULA -SA_PASSWORD $ENV:SA_PASSWORD
#ENTRYPOINT ["powershell","wait-event"]

However  I had to patch the database created by the vanilla install using this script
# escape=`
FROM mcr.microsoft.com/windows/servercore:ltsc2016
#
SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"]
#
ADD https://github.com/microsoft/windows-container-tools/releases/download/v1.1/LogMonitor.exe LogMonitor.exe
#
# Download and install Visual C++ Redistributable
#
ADD https://aka.ms/vs/16/release/vc_redist.x64.exe .
RUN Start-Process c:\vc_redist.x64.exe  -Wait -ArgumentList "/q"
RUN Remove-Item c:\vc_redist.x64.exe
#
# Download and Install .NET Framework 4.8
#
ADD https://download.visualstudio.microsoft.com/download/pr/2d6bb6b2-226a-4baa-bdec-798822606ff1/8494001c276a4b96804cde7829c04d7f/ndp48-x86-x64-allos-enu.exe .
RUN c:\ndp48-x86-x64-allos-enu.exe /q  /norestart
RUN Remove-Item c:\ndp48-x86-x64-allos-enu.exe
#
RUN New-Item -ItemType "directory" C:\INSTALL; `
    New-Item -ItemType "directory" C:\INSTALL\CU;
#
# Unpack SQL Server
#
WORKDIR c:/INSTALL
COPY SQLServer2017-DEV-x64-ENU.exe .
COPY SQLServer2017-DEV-x64-ENU.box .
COPY SQLServer2017-KB5005226-x64.exe .
COPY setup.ps1 .
COPY fixDataFileLocations.sql .
RUN .\SQLServer2017-DEV-x64-ENU.exe /x:SQLServer2017-DEV-x64-ENU /u;
#
# Install SQL Server
#
#
# Inoking Setup from a script appears to bypass the issue with "username" cannot be null issue that occurs when setup is invoked directly via the RUN command
#
# RUN C:\INSTALL\SQLServer2017-DEV-x64-ENU\SETUP.exe /Q /ACTION=INSTALL /FEATURES=SQLENGINE /INSTANCENAME=MSSQLSERVER /SECURITYMODE=SQL /SAPWD="oracle#1" /SQLSVCACCOUNT="NT AUTHORITY\System" /AGTSVCACCOUNT="NT AUTHORITY\System" /SQLSYSADMINACCOUNTS="BUILTIN\Administrators" /IACCEPTSQLSERVERLICENSETERMS=1 /TCPENABLED=1 /UPDATEENABLED=false ; exit 0
#
RUN .\setup.ps1

RUN $SQLSERVER = GET-SERVICE "MSSQLSERVER"; `
	$SQLSERVER.Start(@('/T3608','/T3609')); `
	invoke-sqlcmd -InputFile fixDataFileLocations.sql -username "sa"; `
	$SQLSERVER.stop(); `
	$SQLSERVER.Start
#
RUN .\SQLServer2017-KB5005226-x64.exe /x:CU /u
#
RUN .\CU\Setup.exe /Q /IAcceptSQLServerLicenseTerms /Action=Patch /InstanceID=MSSQLSERVER
#
RUN Remove-Item SQLServer2017-DEV-x64-ENU.exe; `
    Remove-Item SQLServer2017-DEV-x64-ENU.box; `
    Remove-Item SQLServer2017-KB5005226-x64.exe; `
    Remove-Item setup.ps1; `
    Remove-Item fixDataFileLocations.sql
#
WORKDIR c:/
COPY prepareMounts.ps1 .
RUN Set-Service  -Name "MSSQLSERVER" -StartupType "Manual"; `
    Stop-Service -Name "MSSQLSERVER"; `
    c:\prepareMounts.ps1; `
    Remove-Item c:\prepareMounts.ps1
SHELL [ "powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"]
COPY Start.ps1 .
#ENTRYPOINT [ "powershell","c:\\Start.ps1","-ACCEPT_EULA $ENV:ACCEPT_EULA","-SA_PASSWORD $ENV:SA_PASSWORD"]
ENTRYPOINT powershell "c:\\Start.ps1 -ACCEPT_EULA $ENV:ACCEPT_EULA -SA_PASSWORD $ENV:SA_PASSWORD
#ENTRYPOINT ["powershell","wait-event"]

As the database created by the install seemed to contain references to the internal build environment. I am assuming these is a script that should have run as part of the installation that should have taken care of this. Anyway I think I have a working environment that will meet my needs...


Search box shoud have focus on directory search and not create a new file dialog

When one right clicks on a folder and select search directory the keyboard focus should be in the search box. It used to be so a few versions ago but stopped a few months ago for unknown reasons. It makes it a bit of a pain as the tendency is to type right after selecting search but this now causes a new file  dialog to open instead. Current version is 0.153

Why was this closed?  This bug still exists in v1.16.0.

@jmargolisvt Please open a new issue.


Pass null as forEachFeatureAtPixel layer arg for unmanaged layers

See https://github.com/openlayers/ol3/pull/4143#issuecomment-154518582.
Fixes #4114.

@bartvde, you may want to have a look to see how this affects #4114.

#4114 is this still the same @ahocevar with this change
Assuming you mean if I still see the issue in your branch?

@bartvde I meant you should look at my branch to see if it makes your life easier, so you don't need a code snippet like the one you posted in your application.
Your issue is unlikely to be fixed with this branch, but it might. Because now forEachFeatureAtPixel is only called once for features that are on multiple unmanaged layers.

@bartvde I added a commit that fixes #4114. Please review.

thanks @ahocevar I can confirm that this now fixes my issue from #4114
I'll do a review of the code tomorrow morning if no one gets to it before then.

LGTM @ahocevar does this deserve a mention in the release notes?

I can add that, yes.

Done @bartvde.

LGTM @ahocevar please merge if Travis agrees again


Fix display error in refine method and enhance similarity search index with document metadata for document qa with langchain

This PR made two changes to the language/examples/document-qa/question_answering_large_documents_langchain.ipynb notebook:

It fixed the display error of the refine method outputs. The original code displayed outputs from the map reduce method instead of the refine method.

It changed the similarity search index part in the Q&A with similarity search section. This modification allows the map_reduce_embeddings_outputs to include source information such as page numbers, similar to the previous map_reduce_outputs and refine_outputs.

Following the Contributing Guide, I have submitted the CLA and ran the Code Quality Checks.
I kindly request you to review the changes at your convenience. Please let me know if there is anything else I can do to assist with the review process or provide further clarification.
Thank you so much.

@inardini can you check this PR?

Hi @ravenouse, thanks for the PR. It's quite difficult to review this as I see the entire file has changed. Is there any chance you could re-submit the files with just the changes you made to make this easier?

@ravenouse Sorry for the delay in review/updates. There was a repository restructuring that made your PR difficult to merge, but it should be fine now.


Unable do set virtualHostName

Hello...
I'm having the same error reported on issue #1559 (at least, looks the same behavior) but I'm already using Camden.SR5 (where, I supposed, shouldn't be an issue anymore, right?).
I've tried to set both eureka.instance.virtual-host-name and eureka.instance.virtualHostName and the service is always registered as
com.netflix.discovery.DiscoveryClient    : DiscoveryClient_GATEWAY/<IP_ADDRESS>:gateway: registering service...
I've checked and the properties are set but just doesn't seems to take any effect.
Locally it's not a problem but I want to run it on Heroku than I can't rely on internal addresses (both IP or host name)

Have you checked /eureka/apps? Apps have to be registered with a hostname and/or IP address.

Yeah, and it seems to be ok (what means my theory about the parameter has failed...
<IP_ADDRESS>:gateway
localhost
What's happening: I've used a heroku tutorial (https://blog.heroku.com/managing_your_microservices_on_heroku_with_netflix_s_eureka)  to start eureka and a client and it works fine. The only difference is that, in this case, the service is registered using the host name and not the IP (that's why I supposed this was the problem).
The code and settings I'm using are mostly the same but the example uses Angel.SR6 and I'm using Camden.SR5. The example runs smoothly but when I start it (on heroku) I get an error:
DiscoveryClient_GATEWAY/<IP_ADDRESS>:gateway - was unable to refresh its cache! status = Cannot execute request on any known server
[tbeatExecutor-0] c.sun.jersey.api.client.ClientResponse   : A message body reader for Java class com.netflix.appinfo.InstanceInfo, and Java type class com.netflix.appinfo.InstanceInfo, and MIME media type text/html; charset=utf-8 was not found
When I run locally (and without setting the host) it works fine.
It looks like the (eureka) server is returning an invalid content but I can't see what it could be. is there any way to log it?

Sorry, I mistyped the eureka server name and now it seems to be connected but I still get some errors:
2017-02-16T19:28:15.155342+00:00 app[web.1]: 2017-02-16 19:28:15.155  WARN 4 --- [nfoReplicator-0] c.n.discovery.InstanceInfoReplicator     : There was a problem with the instance info replicator
I'll do my research to find what it means and if I get stuck I'll open another issue..
thanks for the attention.. :)


chore(yarn): add yarn.lock and support yarn

This will inherently support yarn.

This change is

Hi, is Yarn strictly better than Bower? If that's the case, can you remove bower from our scripts (package.json) and add yarn as a package dependency?

Hi @dsmilkov, I feel yarn is much more deterministic and handles nested dependencies easily with a lock file. I will also make the necessary changes in package.json. I am enclosing a few links for further read :-)

https://bower.io/blog/2016/using-bower-with-yarn/
https://www.slant.co/versus/5094/17851/~bower_vs_yarn

@dsmilkov @nsthorat Any update on this?

if bower is completely removed as a dependency from the project (which is indeed a good move imo), shouldn't the bower dependencies (Polymer and all paper elements) be ported to package.json and have bower.json be removed as well?
Perhaps it's better to have that tracked in a separate issue, so as to not mix concerns. I'd be more than happy to create an issue and submit a PR

Currently, we have seen a warning message when we run npm run prep.
npm WARN deprecated<EMAIL_ADDRESS>...psst! Your project can stop working at any moment because its dependencies can change. Prevent this by migrating to Yarn: https://bower.io/blog/2017/how-to-migrate-away-from-bower/

Basically, moving to yarn from bower is needed sooner or later, I think.
It seems to be necessary to rebase the patch though.

Thanks for putting this together. Because the change was a little deep in our build system we decided to take it on. We're now using yarn:
https://github.com/PAIR-code/deeplearnjs/commit/21dd65c756959def07c418e9c0c2604af1f71395


Update/timestamp for embedded

Add timestamp for embedded and make REM a submodule (once again?)

Some donkey created this branch from not main


support ollama?

support ollama?
https://youtu.be/N8yBqEZvvsU

Yes, simply input "ollama/llama3" as the model name, or any other model you have. Ensure the ollama server is operating on its default port.

I have close this issue; please inform me if you require any additional help.

ok for provider i will provide the llama3, i hvae the baseURL of the ollama, in place of api-token what should i give then?
strategy = LLMExtractionStrategy(
provider="ollama/llama3",
api_token=os.getenv('API_KEY'),
.....)


HHH-13564 - Fix NullPointerException for audited entity with embedded-id in superclass that makes use of generics.

https://hibernate.atlassian.net/browse/HHH-13564

Merged.


#284: MockFile.Delete does not throw exception when file does not exist

Closed as out-dated. Will create a new one.


Validation for Composite Extract and Insert.

The validity of each command is checked based on the description in
SPIR-V Spec Section 3.32.12 (Composite Instructions).
Also checked that the number of indexes passed to these commands does
not exceed the limit described in 2.17 (Universal Limits).
Also added unit tests for each one.

Rebased, squashed, and pushed into master as d1868b9


this is the new official elixir actions repo

Codecov Report

Merging #377 (7e48b95) into master (f461155) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #377   +/-   ##
=======================================
  Coverage   77.06%   77.06%
=======================================
  Files          33       33
  Lines         484      484
=======================================
  Hits          373      373
  Misses        111      111

Continue to review full report at Codecov.

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


Aggregate PR

Aggregate of the following PRs.
https://github.com/wildfly/wildfly-core/pull/4850
https://github.com/wildfly/wildfly-core/pull/4868
https://github.com/wildfly/wildfly-core/pull/4865
https://github.com/wildfly/wildfly-core/pull/4874
https://github.com/wildfly/wildfly-core/pull/4875

Some PRs merged so closing.


Fix range filter bug on paging, don't sort on values

Only ignore a key if all it's data is empty. In the case of range
filter, we need to know which value we are filtering on (the greater
than or less than) and it is fine if one of those values is Falsy

Did you mean for this to go into master, or 4.0?


no matches for kind "Ingress" in version "networking.k8s.io/v1

When applying -k ./jitsi,
I am getting the following:
kubectl apply -k ./jitsi
serviceaccount/jitsi created
podsecuritypolicy.policy/jitsi-privileged created
role.rbac.authorization.k8s.io/jitsi-privileged created
rolebinding.rbac.authorization.k8s.io/jitsi-privileged created
service/jvb-udp created
service/web created
deployment.apps/jitsi created
error: unable to recognize "./jitsi": no matches for kind "Ingress" in version "networking.k8s.io/v1"

I adjusted the yamls, thanks


[Optional Enhancement] Add a scheduler to remove temp files and stale cache in pre-aggrgation

We remove temp files and stale cache table one by one after creating or refreshing pre-aggregation currently.
Maybe we can use a scheduler to clean those unused items.

legacy issue.


CCL Breaking normal+colored lights

full log : http://pastebin.com/cb1xyLkY
All I had to do was place the blueprint for a light and let a colonist build it, not replicable with god mode on but lights still won't be built if it is on.

Are you sure you've got both CCL itself AND the CCL Vanilla Tweaks enabled and updated to the latest version?

Having taken a quick look at that log, it would appear that CCL is not loaded.  The vanilla tweaks requires the core library to be loaded first.  If you don't see a line which reads "Community Core Library :: v0.12.x" (where "x" is the release) then it's not loaded.

No additional feedback means this is probably resolved.


Dune simulation is too slow

Is your feature request related to a problem? Please describe.
When compared to the base command line program (dune-copasi), the one provided by the spatial model simulator is significantly slower.
As an example the circadian-clock example takes 4:30 minutes to reach 40 hours of simulation. In turn, the command line takes 6.8 seconds to finish the same 40 hours of the same simulation. One part of this seems to be that multi-threading is not happening in the editor, but there is also something else going on because it is about one order of magnitude slower even when scaling by the actual cores/minute used to solve the problem (my system has 10 cores).
Describe the solution you'd like
A dune simulator that has similar performance to the one produced by the base dune-copasi program.

Thanks for reporting - I'll look into this.

@SoilRos I couldn't reproduce this - would you be able to try this comparison again with the latest macOS arm preview binary to see if this issue is still present with the latest changes?
I tried the GUI vs dune-copasi on my linux desktop and they both ran in (roughly) 5s (and both used multithreading)
I also tried the GUI on an M2 Mac and it ran in a similar time and used multi-threading:
https://github.com/spatial-model-editor/spatial-model-editor/assets/12845624/dc9e2301-07ee-4e66-b18c-1bc246807634

Ahh yes, my bad! I did click in the released version 1.5 without realizing. The pre-release works very nice and fast! Sorry for the noice :-)

Great, thanks for checking! (I test it on the same mac used to build it, so good to have confirmation it also works on a different machine)


[Accessibility] add automated accessibility CI checks of core features

Hey, I just made a Pull Request!
In this PR we add a new Lighthouse Github Action that will run on changes to any of the core features (including, TechDocs, Search, Software Catalog and Software Templates). The check will pass if its over a score of 1 (max) and fail if not. The output will look like:
Checking assertions against 11 URL(s), 11 total run(s)

1 result(s) for http://localhost:3000/catalog :

  ✘  categories.accessibility failure for minScore assertion
        expected: >=1
           found: 0.98
      all values: 0.98

1 result(s) for http://localhost:3000/catalog/default/component/backstage :

  ✘  categories.accessibility failure for minScore assertion
        expected: >=1
           found: 0.97
      all values: 0.97

1 result(s) for http://localhost:3000/docs :

  ✘  categories.accessibility failure for minScore assertion
        expected: >=1
           found: 0.98
      all values: 0.98

1 result(s) for http://localhost:3000/docs/default/component/backstage :

  ✘  categories.accessibility failure for minScore assertion
        expected: >=1
           found: 0.97
      all values: 0.97

1 result(s) for http://localhost:3000/create :

  ✘  categories.accessibility failure for minScore assertion
        expected: >=1
           found: 0.86
      all values: 0.86

1 result(s) for http://localhost:3000/create/tasks :

  ✘  categories.accessibility failure for minScore assertion
        expected: >=1
           found: 0.9
      all values: 0.9

1 result(s) for http://localhost:3000/create/actions :

  ✘  categories.accessibility failure for minScore assertion
        expected: >=1
           found: 0.98
      all values: 0.98

1 result(s) for http://localhost:3000/create/edit :

  ✘  categories.accessibility failure for minScore assertion
        expected: >=1
           found: 0.[98](https://github.com/backstage/backstage/actions/runs/4609299256/jobs/8146249757?pr=17242#step:5:99)
      all values: 0.98

where one can see what paths are failing. To produce the more detailed reports, one can run the tests locally using the lighthouse CLI
npm install -g<EMAIL_ADDRESS>lhci autorun

:heavy_check_mark: Checklist

[ ] A changeset describing the change and affected packages. (more info)
[ ] Added or updated documentation
[ ] Tests for new functionality and regression tests for bug fixes
[ ] Screenshots attached (for UI changes)
[ ] All your commits have a Signed-off-by line in the message. (more info)

Hi! You should have a changeset for the search plugin. surprisingly - the readme is part of the published data

@freben well, then lets skip the search docs update as part of this PR, it was mostly to trigger the check, nothing urgent and I'll make those updates when we release a new version for search around something else


Arabic epub file

Hi,
Does it work for Arabic epub file. Please let me know.

Yes it works but you should do some edits, you will face some issues on horizontal scrolling

Closed due to inactivity.


Dropdown pips can now be centered

Issue #6026 contained a request for an option to center the pips on dropdowns.  This pull request implements that feature.
While working on centering pips, I rewrote most of Arthur's (arthur at zurb dot com) miss[Right/Left/Top] code.  There are now Jasmine tests for correct behavior in this case, but someone from Zurb should probably review this to make sure I interpreted the intent of the original code correctly.

rewrote miss[Right/Left/Top] calculations to work better with different dropdown alignments
created jasmine tests for miss[Right/Left/Top]
added option pip: center to dropdown settings
created jasmine tests for new pip centering feature

The merge conflicts are pretty simple to resolve, I can make a new PR rebased onto master if you want.


research for Code of Conduct

research the usage of a Code of Conduct in Github and check how it can be integrated in our repository

Github Docs
Open Source Guide for CoC

https://github.com/github/docs/blob/main/CODE_OF_CONDUCT.md