Protocol (TCP, UDP, both?)

Where Ports are specified, the required Protocol (TCP, UDP, both?) should always also made clear, as this information is needed to create firewall ACLs.

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

ID: 85eb6a21-2659-019a-71ab-66f2e3a7f474
Version Independent ID: ee2ab576-3c19-15a5-8c41-29a00275614b
Content: Step 2 - Configure WSUS
Content Source: WindowsServerDocs/administration/windows-server-update-services/deploy/2-configure-wsus.md
Product: windows-server
Technology: wsus
GitHub Login: @JasonGerend
Microsoft Alias: jgerend

We hugely appreciate your contribution, feedback, and support to our technical documentation.
We’ve phased out GitHub Issues on this repository as the feedback mechanism for content and have replaced it with a new feedback system. For more information see, Content User Feedback. As part of this rollout, we are migrating your issue where our team will use your comments to improve the documentation experience. Unfortunately, this does mean you won't be able to access this issue after the migration is complete.
All issues will be migrated by Thursday 29th August 2024.
Once again, thank you for your valuable feedback, we hope you’ll continue to contribute using our new feedback system.


Name Error

import yfinance as yf
import matplotlib.pyplot as plt

# Define the ticker symbol
symbol = "NQ=F"
plt.style.use('dark_background')

# Create the object representing the symbol of interest
equity = yf.Ticker(symbol)
info = equity.fast_info

# Get the data for the ticker
ticker = yf.Ticker(symbol)

# Set the time frame to 2 days with 1-minute intervals
df = ticker.history(period="2d", interval="1m")

# Set the x-axis limits to cover the entire time frame
plt.xlim(df.index[0], df.index[-1])

# Get the stock's current price
price = round(equity.fast_info["last_price"], 2)

# Get the stock's closing price
close_price = round(equity.fast_info["regular_market_previous_close"], 2)

# Calculate the difference between the current price and the closing price in points and percentage terms
points_diff = round((price - close_price), 2)
percent_diff = round((price - close_price) / close_price * 100, 2)

# Loop through each day in the data
for i, day in df.groupby(df.index.date):
	# Plot the close price for the first day in white color
	if i == df.index.date[0]:
		plt.plot(day.index, day['Close'], color='white')
	else:
		# Set the baseline to the final closing price of the first day
		baseline = df[df.index.date == df.index.date[0]]['Close'][-1]

		# Add a vertical dotted line at the open price for the second day
		plt.axvline(x=day.index[0], color='white', linestyle='dotted')

		# Loop through each point in the day
		for j in range(len(day)):
			if day['Close'][j] > baseline:
				plt.plot(day.index[j], day['Close'][j], 'gd',markersize=1)  # green circle and line
			else:
				plt.plot(day.index[j], day['Close'][j], 'rd',markersize=1)  # red circle and line

		# Add a horizontal line at the baseline for the second day
		plt.axhline(y=baseline, color='none', linestyle='--')

# Make the price annotation white
plt.annotate(f"{symbol}\n{price}", xy=(df.index[-1], price), fontsize=8,weight='bold',
			xytext=(5, 5), textcoords='offset points',
			ha='left', va='bottom', color='white')
if points_diff > 0:
	color = 'limegreen'
else:
	color = 'red'
plt.annotate(f"{points_diff}\n{percent_diff}%", xy=(df.index[-1], price), fontsize=8,weight='bold',
             xytext=(5, 5), textcoords='offset points',
             ha='left', va='top', color=color)

plt.xlabel('Date')
plt.xticks(fontsize=6)
plt.ylabel('Price')
plt.title(f'{symbol} Price',color='orange')
plt.show()

Easy to fix. But first: did you see this print?

Note: 'info' dict is now fixed & improved, 'fast_info' no longer faster

Thanks for the quick response. Yes, I saw that print. However, I seem to be getting  inconsistent results using:
equity = yf.Ticker(symbol)
info = equity.info

import yfinance as yf
import matplotlib.pyplot as plt
Define the ticker symbol
symbol = "NQ=F"
plt.style.use('dark_background')
Create the object representing the symbol of interest
equity = yf.Ticker(symbol)
info = equity.info
Get the data for the ticker
ticker = yf.Ticker(symbol)
Set the time frame to 2 days with 1-minute intervals
df = ticker.history(period="2d", interval="1m")
Set the x-axis limits to cover the entire time frame
plt.xlim(df.index[0], df.index[-1])
Get the stock's current price
price = round(equity.info["previousClose"], 2)
Get the stock's closing price
close_price = round(equity.info["regularMarketPreviousClose"], 2)
Calculate the difference between the current price and the closing price in points and percentage terms
points_diff = round((price - close_price), 2)
percent_diff = round((price - close_price) / close_price * 100, 2)
Loop through each day in the data
for i, day in df.groupby(df.index.date):
# Plot the close price for the first day in white color
if i == df.index.date[0]:
plt.plot(day.index, day['Close'], color='white')
else:
# Set the baseline to the final closing price of the first day
baseline = df[df.index.date == df.index.date[0]]['Close'][-1]
	# Add a vertical dotted line at the open price for the second day
	plt.axvline(x=day.index[0], color='white', linestyle='dotted')

	# Loop through each point in the day
	for j in range(len(day)):
		if day['Close'][j] > baseline:
			plt.plot(day.index[j], day['Close'][j], 'gd',markersize=1)  # green circle and line
		else:
			plt.plot(day.index[j], day['Close'][j], 'rd',markersize=1)  # red circle and line

	# Add a horizontal line at the baseline for the second day
	plt.axhline(y=baseline, color='none', linestyle='--')

Make the price annotation white
plt.annotate(f"{symbol}\n{price}", xy=(df.index[-1], price), fontsize=8,weight='bold',
xytext=(5, 5), textcoords='offset points',
ha='left', va='bottom', color='white')
if points_diff > 0:
color = 'limegreen'
else:
color = 'red'
plt.annotate(f"{points_diff}\n{percent_diff}%", xy=(df.index[-1], price), fontsize=8,weight='bold',
xytext=(5, 5), textcoords='offset points',
ha='left', va='top', color=color)
plt.xlabel('Date')
plt.xticks(fontsize=6)
plt.ylabel('Price')
plt.title(f'{symbol} Price',color='orange')
plt.show()
#this is currently giving incorrect price, points change, and percent change

#Also, there is this issue between stocks and indices; this works fine for stocks like "JPM" but not for indices like "^vix, ^GSPC, and ^Ndx ( it says KeyError: 'currentPrice')
import yfinance as yf
import matplotlib.pyplot as plt
import pandas as pd
symbol = "JPM"
plt.style.use('dark_background')
equity = yf.Ticker(symbol)
info = equity.info
ticker = yf.Ticker(symbol)
df = ticker.history(period="2d", interval="1m")
plt.xlim(df.index[0], df.index[-1])
price = round(equity.info["currentPrice"], 2)
close_price = round(equity.info["regularMarketPreviousClose"], 2)
points_diff = round((price - close_price), 2)
percent_diff = round((price - close_price) / close_price * 100, 2)
if points_diff > 0:
color = 'limegreen'
else:
color = 'red'
for i, day in df.groupby(df.index.date):
if i == df.index.date[0]:
plt.plot(day.index, day['Close'], color='white')
else:
baseline = df[df.index.date == df.index.date[0]]['Close'][-1]
  day.index = day.index - pd.Timedelta(hours=17.5)

  plt.axvline(x=day.index[0], color='white', linestyle='dotted')

        for j in range(len(day)):
     if day['Close'][j] > baseline:
        plt.plot(day.index[j], day['Close'][j], 'gd', markersize=1)  # green circle and line
     else:
        plt.plot(day.index[j], day['Close'][j], 'rd', markersize=1)  # red circle and line

        plt.axhline(y=baseline, color='none', linestyle='--')

plt.annotate(f"{points_diff}\n{percent_diff}%", xy=(df.index[-1], price), fontsize=7, weight='bold',
xytext=(-80, 5), textcoords='offset points',
ha='left', va='top', color=color)
plt.annotate(f"{price}", xy=(df.index[-1], price), fontsize=8, weight='bold',
xytext=(-80, 0), textcoords='offset points',
ha='right', va='center', color='white')
plt.xlabel('Date')
plt.xticks(fontsize=6)
plt.xticks(pd.date_range(start=df.index[0] - pd.Timedelta(hours=9.5), end=df.index[-1] - pd.Timedelta(hours=17.5),
freq='1min'))
plt.ylabel('Price')
plt.title(f'{symbol} Price', color='orange')
plt.show()

Please make your posts more concise, no one's reading all that.

Sorry. Essentially, there is an issue a KeyError: 'currentPrice' when using:
symbol = "^GSPC"
plt.style.use('dark_background')
equity = yf.Ticker(symbol)
info = equity.info

I mean: can you go back and edit above posts.

Yes, I can try.

import yfinance as yf
import matplotlib.pyplot as plt
import pandas as pd

# Define the ticker symbol
symbol = "^GSPC"
plt.style.use('dark_background')

# Create the object representing the symbol of interest
equity = yf.Ticker(symbol)
info = equity.info

# Get the data for the ticker
ticker = yf.Ticker(symbol)

# Set the time frame to 2 days with 1-minute intervals
df = ticker.history(period="2d", interval="1m")

# Set the x-axis limits to cover the entire time frame
plt.xlim(df.index[0], df.index[-1])

# Get the stock's current price
price = round(equity.info["currentPrice"], 2)

# Get the stock's closing price
close_price = round(equity.info["regularMarketPreviousClose"], 2)

# Calculate the difference between the current price and the closing price in points and percentage terms
points_diff = round((price - close_price), 2)
percent_diff = round((price - close_price) / close_price * 100, 2)

# Determine the color for the price annotation based on the points difference
if points_diff > 0:
	color = 'limegreen'
else:
	color = 'red'

# Loop through each day in the data
for i, day in df.groupby(df.index.date):
	# Plot the close price for the first day in white color
	if i == df.index.date[0]:
		plt.plot(day.index, day['Close'], color='white')
	else:
		# Set the baseline to the final closing price of the first day
		baseline = df[df.index.date == df.index.date[0]]['Close'][-1]

		# Shift the index of the second day by 9 hours
		day.index = day.index - pd.Timedelta(hours=17.5)

		# Add a vertical dotted line at the open price for the second day
		plt.axvline(x=day.index[0], color='white', linestyle='dotted')

		# Loop through each point in the day
		for j in range(len(day)):
			if day['Close'][j] > baseline:
				plt.plot(day.index[j], day['Close'][j], 'gd', markersize=1)  # green circle and line
			else:
				plt.plot(day.index[j], day['Close'][j], 'rd', markersize=1)  # red circle and line

		# Add a horizontal line at the baseline for the second day
		plt.axhline(y=baseline, color='none', linestyle='--')

# Make the price annotation white
plt.annotate(f"{points_diff}\n{percent_diff}%", xy=(df.index[-1], price), fontsize=7, weight='bold',
			xytext=(-80, 5), textcoords='offset points',
			ha='left', va='top', color=color)

# Add another plot annotation in the original color that shows the current price only
plt.annotate(f"{price}", xy=(df.index[-1], price), fontsize=8, weight='bold',
			xytext=(-80, 0), textcoords='offset points',
			ha='right', va='center', color='white')

plt.xlabel('Date')
plt.xticks(fontsize=6)
plt.xticks(pd.date_range(start=df.index[0] - pd.Timedelta(hours=9.5), end=df.index[-1] - pd.Timedelta(hours=17.5),
						freq='1min'))

plt.ylabel('Price')
plt.title(f'{symbol} Price', color='orange')
plt.show()```

Why is matplotlib important?

In this code, it is used to plot the stock's closing prices over a 2-day period with 1-minute intervals and to add annotations indicating the current price and the difference between the current price and the previous close price.

Why is it important for this bug in yfinance?

I’m trying to illustrate the bug in yfiannce. Try the above codes: the one with “JPM” and the one with “^GSPC”
You’ll see that JPM works and ^GSPC gives a key error for current price. There’s a similar key error for etfs, indices, and currencies, but not stocks like JPM AAPL AMAZN. This leads me to believe there is an underlying bug

This is all you had to post - 2 lines, not the 100s of lines of matplotlib code
equity = yf.Ticker("NQ=F")
equity.fast_info["last_price"]


Improve Order and OrderedItem models

Added usable fields for DeliveryGroup (shipping method, tracking number, last_updated)
Added total field in Order model
Fixed error handling in ShipGroupForm
Stock record and stock location is now saved in OrderedItem model

We should also find some place, to display parcel tracking number in order dashboard

Current coverage is 48.21%

Merging #377 into master will increase coverage by +0.01% as of 3ade617

@@            master    #377   diff @@
======================================
  Files           85      85
  Stmts         3390    3410    +20
  Branches       321     324     +3
  Methods          0       0
======================================
+ Hit           1634    1644    +10
  Partial         29      29
- Missed        1727    1737    +10

Review entire Coverage Diff as of 3ade617

Powered by Codecov. Updated on successful CI builds.

@patrys Fixed as discussed yesterday. Please review.


🔔 [Request]: Add Resend Wordmark Black icon

🔎 Information:

Title: Resend Wordmark Black
Category: Software
Source (.svg): https://resend.com/static/brand/resend-wordmark-black.svg
Website: https://resend.com/

📝 Checklist:

[x] I have permission to use this logo.
[x] The link I have provided is optimized for web use.
[x] The size of the SVG is less than 20kb.

Ready 😊


Deprecate Fleet Vehicle Filter

Summary

Application Name: Fleet Vehicle Filter
Application Urls

Staging: n/a
Production: https://utah.maps.arcgis.com/apps/webappviewer/index.html?id=a9c121751583400caeff41e0209ae163

This is a WAB app that Fleet no longer needs, so we'll just completely deprecate it. Map will be unshared on 2024/07/01, with the data left in AGOL for future reference.
The data update is done manually so there are no automations to remove.
Action items

Assign a person who should complete the task by replacing name with their github @name.
Check [x] the box when the task is completed and add the date of completion.
~Strike~ out all items that do not apply.

[x] Target delete date (@jacobdadams , set: 2024/06/21)
~[ ] Update relevant gis.utah.gov application pages (name, completed: 2024/00/00)~
~[ ] Remove application-specific Databases (name, completed: 2024/00/00)~
~[ ] AGRC Projects team drive folder (name, completed: 2024/00/00)~
[x] Remove from Application Portfolio Management ("Business Applications" in ServiceNow) (@nathankota , completed: 2024/06/28)
~[ ] Remove Google Analytics property (name, completed: 2024/00/00)~

Is there a website?

~[ ] Remove DNS entry (name, completed: 2024/00/00)~
~[ ] Archive source code repository (name, completed: 2024/00/00)~
~[ ] Remove app-specific quad word from Discover system (name, completed: 2024/00/00)~
~[ ] Remove app-specific api key from UGRC API (name, completed: 2024/00/00)~
~[ ] Remove cloud project (name, completed: 2024/00/00)~
~[ ] Remove terraform infrastructure (name, completed: 2024/00/00)~

Choose one.

~[ ] Remove from the web server (name, completed: 2024/00/00)~
~[ ] Replace app with a static page with information (name, completed: 2024/00/00)~
~[ ] Redirect somewhere else (name, completed: 2024/00/00)~

Is there a map service or AGOL item?

[x] Mark app and feature services as deprecated (@jacobdadams , completed: 2024/06/21)
[ ] Unshare app and feature services (@jacobdadams , completed 2024/00/00)
~[ ] Delete (name, completed: 2024/00/00)~
~[ ] Unregister Data Store in ArcGIS Server (name, completed: 2024/00/00)~

Is there a forklift pallet?

~[ ] Remove repo (name, completed: 2024/00/00)~

don't forget to remove the pallet from the current packing slip in receiving!

~[ ] Remove stale data from forklift hashing and receiving (name, completed: 2024/00/00)~
~[ ] Remove row from data/hashed/changedetection.gdb/TableHashes (name, completed: 2024/00/00)~

Are there service dependencies?

~[ ] Validate that the web api does not query it (name, completed: 2024/00/00)~
~[ ] Validate that UGRC or applications do not reference it (name, completed: 2024/00/00)~

Notification

[x] Twitter (@steveoh)

Group Task Assignments

Check [x] the box when you have assigned all the tasks relevant to your group.

~[ ] Data Team (@gregbunce)~
[x] Dev Team (@steveoh)
~[ ] Cadastre Team (@rkelson)~

conductor results for tasks - 326

check
status

@jacobdadams has completed 2 out of 3 tasks
:no_entry:

@nathankota has completed 0 out of 1 tasks
:no_entry:

@steveoh has completed 0 out of 2 tasks
:no_entry:

conductor results for tasks - 326

check
status

@jacobdadams has completed 2 out of 3 tasks
:no_entry:

nathankota has completed 1 out of 1 tasks
:+1:

steveoh has completed 2 out of 2 tasks
:+1:


div title

Guys,
Is there a way to change the alert title to something else? I have this helper that invokes a service call

But as you can see it will use the draggable div with the Alert title

Is there an option where I can at least change the div title? Maybe JQuery, some guidance will be appreciated.

That "Alert" is showing an error, why would you use an error display as something to show a page?? Services shouldn't return pages, you are doing it all wrong.

It makes sense, I was just experimenting. I will try to convert this into a dialog. But if this is an error why the service would allow to replace the iframe with the page's content.

It expects JSON, it shows response so that you can understand what is wrong.

Got it thanks.


Context menu search does not yield any results

When the context menu is used to filter nodes, no results are shown despite partial or complete matches.

Steps to reproduce:

Create an application with at least one node type.
Right click the graph view.
Type in anything into the filter bar.
Observe that no results appear except for empty categories.

This bug occurs on both Windows and Linux for version 3.0.7.
Environment:

OS
Qt
Compiler

Gentoo Linux, kernel 6.1.0
5.15.7
gcc 11.3.1

Windows Server 2022 10.0.20348 Build 20348
5.15.2
MSVC 19.34.31937.0

I've opened PR #360 in order to fix this as well as stop displaying empty categories as they clutter the screen.

Hello，It has been fixed in #348.
And new features of sorting have been added.

Hello，It has been fixed in #348.
And new features of sorting have been added.

Ah, I did read your fix but missed the part about fixing the search. Does your filter sort also take care of the empty categories? If so, I'll close this as a duplicate.

Guys, thanks for your contributions.
I don't want to waste the work of anyone. But I like this small fix more because it is less invasive and is easier to follow.
Maybe we could merge this one first and then go over the heavy stuff written by @QianMoth
Sorry that I did not manage to look over all the details quickly.
I can rebase @QianMoth 's work later manually and merge different topics one-by-one.

hi @rayment  There are no new features that you have added, I will try to add them.

hi @rayment There are no new features that you have added, I will try to add them.

No worries. I've only added the bare minimum to render the search functional. I'm happy to test on Linux/Windows if need be. Hopefully I'll have a macOS environment in a while too.


Use Watchdog instead of plain pyinotify

Fixes defect where multiple directory levels (mkdir -p) are added or removed.
Should add platform support

Note: Have not incremented the version
Fixes #11

Thanks for this! I'm definitely putting it in.
Small question: is there a reason to have the DirectoryWatcher and ChangeLogger be different classes?

Was just the way I put it together.
No real need when I see it now but I did some experimenting along the way as the application I have to complete goes a bit beyond gitobox itself.  Eg. I have to support multiple git repo's and they have to send notifications offsite to automate a pull of those repo's in case they get changed.  Gitobox offered an excellent starting point.
Guess I never went back to change it...

Merged as 2b324dab. Thanks!


Not really an issue: It works! Thanks!

I got it working from your instructions and patches on fedora 37! Thanks so much. Even graphics is now working, on s2idle it was garbled after wake up.

You're welcome :smile:
I'm glad it worked for you and also fixed the graphics issues.


Identifiers validation failed for dataset EAC - Herbário Prisco Bezerra

Identifier validation failed for the dataset EAC - Herbário Prisco Bezerra:

Crawler attempt: 451
Publishing organization: Universidade Federal do Ceará
Publishing country: BRAZIL
Installation: speciesLink Network / INCT-HVFF IPT
Number of occurrences indexed for this dataset at the time of the issue: 65969
Cause: GBIF ID problems exceed 50% threshold: 100% duplicates; 66010 total records; 66010 absent records
Pipelines execution steps: http://api.gbif.org/v1/pipelines/history/execution/4165291/step

New IDs sample:

Old IDs sample:

BRA:UFC:EAC:67173
BRA:UFC:EAC:67174
BRA:UFC:EAC:67181
BRA:UFC:EAC:67190
BRA:UFC:EAC:67191
BRA:UFC:EAC:67192
BRA:UFC:EAC:67193
BRA:UFC:EAC:67194
BRA:UFC:EAC:67195
BRA:UFC:EAC:67196

Publisher email
Hello,
I am contacting you from the GBIF Secretariat about a dataset published by the EAC - Herbário Prisco Bezerra : https://doi.org/10.15468/mgeah1.
We noticed that the occurrenceIDs were changed. We have temporarily paused the ingestions of this dataset.
As you might already know, when an occurrence record has a new occurrenceID for a given dataset, our system considers it to be a new occurrence.
This means that it will be given a new gbifid and a new occurrence URL (like this one: https://www.gbif.org/occurrence/1252968762) and the old gbifid and URL will be deprecated.
In this case, this means that the occurrence URLs would be deprecated when ingesting the newest versions of these datasets.
We would like to check with you if those changes were intentional. Do you know if this is the case?
Please let us know, thanks! We are happy to resume the dataset ingestion.
Note that some users rely on those occurrence URLs and gbifids (like https://bionomia.net for example). In an attempt to improve
the stability of the occurrence URLs and gbifids, we have implemented a warning system to detect these type of changes in datasets (see this news item).
If the data publisher can provide us with a list of old and new occurrenceIDs per record, we can avoid the identifier and URL changes. Could that be an option?
Please let us know if you have any question. Thanks!
All the best,

You can skip/fix identifier validation using the registry UI.

Identifier validation still  failing for the dataset EAC - Herbário Prisco Bezerra:

Crawler attempt: 452
Publishing organization: Universidade Federal do Ceará
Publishing country: BRAZIL
Installation: speciesLink Network / INCT-HVFF IPT
Number of occurrences indexed for this dataset at the time of the issue: 65969
Cause: GBIF ID problems exceed 50% threshold: 100% duplicates; 66010 total records; 66010 absent records
Pipelines execution steps: http://api.gbif.org/v1/pipelines/history/execution/4184515/step

New IDs sample:

Old IDs sample:

BRA:UFC:EAC:67173
BRA:UFC:EAC:67174
BRA:UFC:EAC:67181
BRA:UFC:EAC:67190
BRA:UFC:EAC:67191
BRA:UFC:EAC:67192
BRA:UFC:EAC:67193
BRA:UFC:EAC:67194
BRA:UFC:EAC:67195
BRA:UFC:EAC:67196

Publisher email
Hello,
I am contacting you from the GBIF Secretariat about a dataset published by the EAC - Herbário Prisco Bezerra : https://doi.org/10.15468/mgeah1.
We noticed that the occurrenceIDs were changed. We have temporarily paused the ingestions of this dataset.
As you might already know, when an occurrence record has a new occurrenceID for a given dataset, our system considers it to be a new occurrence.
This means that it will be given a new gbifid and a new occurrence URL (like this one: https://www.gbif.org/occurrence/1252968762) and the old gbifid and URL will be deprecated.
In this case, this means that the occurrence URLs would be deprecated when ingesting the newest versions of these datasets.
We would like to check with you if those changes were intentional. Do you know if this is the case?
Please let us know, thanks! We are happy to resume the dataset ingestion.
Note that some users rely on those occurrence URLs and gbifids (like https://bionomia.net for example). In an attempt to improve
the stability of the occurrence URLs and gbifids, we have implemented a warning system to detect these type of changes in datasets (see this news item).
If the data publisher can provide us with a list of old and new occurrenceIDs per record, we can avoid the identifier and URL changes. Could that be an option?
Please let us know if you have any question. Thanks!
All the best,

You can skip/fix identifier validation using the registry UI.


Add helpful warning message for shared example groups

I found myself with a strange warning message not long ago saying the following:
WARNING: Shared example group 'a flagger_or_tagger' has been previously defined
at:
  /Users/devoncestes/esh/IRT/spec/services/shared_examples/flagger_or_tagger_spec.rb:10
...and you are now defining it at:
  /Users/devoncestes/esh/IRT/spec/services/shared_examples/flagger_or_tagger_spec.rb:10
The new definition will overwrite the original one.

Turns out that this was happening because the file in which we defined our
shared example group ended in _spec.rb, which triggered the Rspec auto
loading, thus creating the strange warning. I had no idea how this could happen
until I opened up an issue (#2277) and @myronmarston pointed out the error.
I figured that a helpful warning message that could guide the user to fixing
this warning themselves might be good to add, so I've done so here!

Can you rebase once you've taken a look at @myronmarston's feedback? Build should be back to green now.

The build is failing on 1.8.7.  I'm not 100% sure but I think it's because the old_definition == new_definition check is failing -- maybe it's a relative path in one but absolute in the other?

I found the issue with 1.8.7 - formatted_location was giving us more than we (well, I) expected:
/Users/devoncestes/sandbox/rspec-core/spec/rspec/core/shared_example_group_spec.rb:91:in `send'

I took care of that and the build seems to pass now. I also incorporated your other feedback - thanks for that! I think that warning message is much clearer now.

Thanks @devonestes

I am seeing the old error message (not the helpful one) with rspec-core 3.7.1 for the same reason as you did in issue #2277
Is it possible that this helpful error message is no longer working?

You will see this message only if your shared example is defined inside your spec location, (the check is loaded_spec_files.include?(new_definition_location) && old_definition_location == new_definition_location), you should be able to check loaded_spec_files from your configuration.
I'll happily investigate further if you can provide some information to reproduce this


92 implement float operations

Adds support for floats and their use in basic operations.

No tests have been added. This should be thoroughly tested, especially combinations of float with ints.

Done


chore: migrate Fieldset component from jsx to tsx

SUMMARY

PR for migrating Fieldset react component from JSX to TSX
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

TESTING INSTRUCTIONS

ADDITIONAL INFORMATION

[x] Has associated issue: #10004
[x] Enhancement (new features, refinement)
[ ] Required feature flags:
[ ] Changes UI
[ ] Includes DB Migration (follow approval process in SIP-59)

[ ] Migration is atomic, supports rollback & is backwards-compatible
[ ] Confirm DB migration upgrade and downgrade tested
[ ] Runtime estimates and downtime expectations provided

[ ] Introduces new feature or API
[ ] Removes existing feature or API

@etr2460 Ptal, thx!

.

Apologies for the delay. I will work on this today.

@Damans227 did you have a chance to see the proposed changes? Would be nice to get this merged soon.

Not yet. Apologies for the delay, I will take a look at it today.

@etr2460 feel free to merge this if all is ok


[Web] Tooltip does not disappear on Web if the underlying Tooltip widget is disposed while the tooltip is showing.

Is there an existing issue for this?

[X] I have searched the existing issues
[X] I have read the guide to filing a bug

Steps to reproduce

build the supplied app
hover on the row to show the trailing item with the tooltip
hover on the trailing item to trigger the tooltip
move your mouse off of the row

Expected results
The tooltip should disappear when the tooltip widget is removed from the tree.
Actual results
The rendered tooltip lingers. In the attached screenshot, the tooltip with the text "Oh nooo!" is no longer in the widget tree but is still being rendered:

Code sample
import 'dart:async' show Timer;

import 'package:flutter/material.dart'
    show Colors, MaterialApp, Scaffold, Theme, Tooltip;
import 'package:flutter/painting.dart' show Border;
import 'package:flutter/rendering.dart' show MainAxisAlignment;
import 'package:flutter/widgets.dart'
    show
        BoxDecoration,
        BuildContext,
        Center,
        Column,
        Container,
        MouseRegion,
        Row,
        SizedBox,
        State,
        StatefulWidget,
        StatelessWidget,
        Text,
        Widget,
        runApp;

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return const MaterialApp(
      home: MyHomePage(),
    );
  }
}

class HoverChild extends StatefulWidget {
  final void Function() onHover;
  final void Function() onTooltipHover;

  const HoverChild({
    super.key,
    required this.onHover,
    required this.onTooltipHover,
  });

  @override
  State<HoverChild> createState() => _HoverChildState();
}

class _HoverChildState extends State<HoverChild> {
  var _hovering = false;
  var _toolTipMessage = 'I am a tooltip';

  @override
  Widget build(BuildContext context) {
    return MouseRegion(
      onEnter: (event) {
        this.widget.onHover();
        this.setState(() {
          this._toolTipMessage = 'I am a tooltip';
          this._hovering = true;
        });
      },
      onExit: (event) {
        this.setState(() {
          this._toolTipMessage = 'Oh nooo!';
        });
        Timer(const Duration(milliseconds: 1), () {
          this.setState(() {
            this._hovering = false;
          });
        });
      },
      child: Container(
        // red border
        decoration: BoxDecoration(
          border: Border.all(
            color: Colors.red,
            width: 2,
          ),
        ),
        child: Row(
          mainAxisAlignment: MainAxisAlignment.spaceBetween,
          children: [
            Text(
              'Hover over me',
              style: Theme.of(context).textTheme.headlineLarge,
            ),
            if (this._hovering)
              MouseRegion(
                onEnter: (event) {
                  this.widget.onTooltipHover();
                },
                child: Tooltip(
                    message: this._toolTipMessage,
                    child: const Text('Now hover over me')),
              ),
          ],
        ),
      ),
    );
  }
}

class MyHomePage extends StatefulWidget {
  const MyHomePage({super.key});

  @override
  State<MyHomePage> createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  var _showFinalMessage = false;

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: Center(
        child: Column(
          children: [
            SizedBox(
              width: 500,
              child: HoverChild(
                onHover: () {
                  this.setState(() {
                    this._showFinalMessage = false;
                  });
                },
                onTooltipHover: () {
                  this.setState(() {
                    this._showFinalMessage = true;
                  });
                },
              ),
            ),
            if (this._showFinalMessage) ...[
              const SizedBox(height: 50),
              Text(
                'Now move down here.',
                style: Theme.of(context).textTheme.headlineLarge,
              ),
            ]
          ],
        ),
      ),
    );
  }
}

Video
https://github.com/flutter/flutter/assets/1403638/6894ece1-35e8-4f7c-a6b8-c05124723a36

Flutter Doctor output
[✓] Flutter (Channel stable, 3.13.5, on macOS 13.5.2 22G91 darwin-arm64, locale en-US)
    • Flutter version 3.13.5 on channel stable at /Users/matt/fvm/versions/3.13.5
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 12fccda598 (5 weeks ago), 2023-09-19 13:56:11 -0700
    • Engine revision bd986c5ed2
    • Dart version 3.1.2
    • DevTools version 2.25.0

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
    • Android SDK at /Users/matt/Library/Android/sdk
    • Platform android-33, build-tools 33.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b829.9-10027231)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14E222b
    • CocoaPods version 1.13.0

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2022.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b829.9-10027231)

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

[✓] VS Code (version 1.80.0-insider)
    • VS Code at /Applications/Visual Studio Code - Insiders.app/Contents
    • Flutter extension can be installed from:
      🔨 https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter

[✓] Connected device (3 available)
    • sdk gphone64 arm64 (mobile) • emulator-5554 • android-arm64  • Android 13 (API 33) (emulator)
    • macOS (desktop)             • macos         • darwin-arm64   • macOS 13.5.2 22G91 darwin-arm64
    • Chrome (web)                • chrome        • web-javascript • Google Chrome 118.0.5993.117

[✓] Network resources
    • All expected network resources are available.

• No issues found!

A bit more details here. I've dug into the tooltip code and it looks like the OverlayPortalController is never having hide called. If I attempt to call hide from the dispose method of the tooltip, I get an error because, at that point,  _attachTarget and _zOrderIndex are both null.
So it seems like, somehow, the tooltip's overlay controller seems to lose its ability to control the displayed tooltip even though the rendered tooltip is still visible.
I have a workaround that seems to be working reliably:

allow tooltip users to supply their own OverlayPortalController
on mouse out immediately hide the tooltip
then set the hover state to false with a timer for a millisecond

It does seem like it would be great if the tool tip could reliably hide its overlays on disposal but that seems like it doesn't jive with OverlayPortalController's contract.

Hi @AlabasterAxe. Thanks for filing this. This is a similar issue to https://github.com/flutter/flutter/issues/134656 which has been fixed on the latest master.
Closing this as it has been fixed in latest versions.
Thank you!

Confirmed on my end that I don't see this when I upgrade to the latest release candidate. Thanks!


Error message is unclear when publish StarterWeb to Azure without a linked database

New Starter Web (CTP 6)
Publish the project to Azure, do not create a linked database during Azure Website creation (let's say I forgot)
Publish is successful. After publish successfully, IE will launch site, click 'Register'.

ACTUAL

EXPECTED
Error message that indicates more clearly what's wrong with Register. Something like "Unable to connect to database"

We should look into this and see if this is an exception we could catch and wrap with something more helpful. We should look at failure to connect in general because the typical SQL Server 'failed to login' message when the database doesn't exist isn't very clear either.

@balachir are you still seeing this message? Other folks that publish without a database see the "Unable to connect to database" error that you expected.

Closing, feel free to re-open if you have a scenario where this error is still displayed


Extension does not work anymore with OC update

I will take this in charge

This is already solved in the code but not published. I close


added validation on schedule model

Reference
https://github.com/pyconsk/django-konfera/issues/156

@earvingemenez are you planning to finish it?

I have updated @earvingemenez's code and added @ZoltanOnody comments in new PR #212


Added python script to validate JSON

from the point of view of the gtml partner program is it okay for us to have other files in the repo?

good question, I would think so since they'll end up cherry picking files for their marketplace


TODO: protocol based default settings

add default settings config for protocols to the .json file
ie, baud rate, sleep, max batch size ect..
since protocols will match similar devices.
lessen the learning curve.

partially done. but need to take the time to cleanup all the settings in general.

pretty much done with v1.1.0
but do need to keep an eye on keeping the settings clean. can easily get out of hand.


IET_002_TraefikEE-Keycloak-SSO-on-Kubernetes-Ingress

RFC Title: IET_002_TraefikEE-Keycloak-SSO-on-Kubernetes-Ingress
RFC Preview Link:
https://github.com/department-of-veterans-affairs/va.gov-platform-architecture/blob/IET_002/rfc/2022/2022-06-15_IET_002_TraefikEE-Keycloak-SSO-on-Kubernetes-Ingress.md
Comment Period End Date: 2022-07-14

Hello @madebydna ,

This is a very well researched RFC that makes a compelling point about introducing Traefik EE for its ability to provide a OIDC middleware. The concepts and technologies involved - Traefik, Keycloak, OICD, etc. - are obviously very complex and one consideration might be how to bridge the knowledge gap of teams who want to develop microservices with authentication needs. I found this diagram that shows "OIDC with Keyckloack and Target App with Gatekeeper sidecar" (from this doc) quite informative and was wondering if a similar one could be created to illustrate the TraefikEE w/OICD middleware solution?

A diagram picturing TraefikEE with OIDC middleware might look like another one from the same doc - it shows that Keycloak is out there but the Target App does not talk to Keycloak, TraefikEE does:

)

Presented at 7/20/22 Architecture WG

@considerable has presented this for review, the next steps are to merge this for future reference. Now that we have presented it and addressed comments, what are the next steps for getting approval and merging it in?

This can be merged, it just needs approval from @department-of-veterans-affairs/platform-leadership-engineering

My team is rolling off this contract. This ticket should be merged (I am not authorized to do this without an approval).

Oops -- looks like I don't actually have authority to merge this one... even with an approval.

@mchelen-gov would you please push the merge button so that the Traefik-EE work could be continued by other teams.
Very respectfully,
Igor

@mchelen-gov would you please push the merge button so that the Traefik-EE work could be continued by other teams. Very respectfully, Igor

I merged it.

@mchelen-gov would you please push the merge button so that the Traefik-EE work could be continued by other teams. Very respectfully, Igor

I merged it.

Thanks a million!


Fixing a bug in SQL AppHost resource & add end to end integration test

This test adds a smoke test which calls the health endpoint on a new test project that we'll wire every component up to. Basically, we spin on the health endpoint until it times out or returns healthy.
Fixes #971

@davidfowl @eerhardt added this to fix a specific bug with SQL integration. But we can also build on this for the other components that are now in the pipeline. The approach relies on those components implementing support for health checks (which they should be aspire components).

/azp run

/azp run

/azp run

/azp where


Where is Custom Dialog gone?

Issue Type: Question
"workbench.dialogs.customEnabled": true,

Insiders 1.37.0-insider (7e03eb1a1fce3beb6ccea5f3b8f828e01940be61); Stable 1.36.0  (0f3794b38477eea13fb47fbe15a42798e6129338)
OS version: Windows_NT x64 10.0.18362

Would be great to have a notification, like "Reload is needed".


Refactor/Remove sendtransaction tests

The concept of sendtransaction had been changed. 7 tests those would've been broken, partly had been commented out: https://github.com/stratisproject/StratisBitcoinFullNode/pull/541
These tests can be identified by searching for this todo comment:
// [SENDTRANSACTION TODO] Conceptual changes had been introduced to tx sending
// These tests don't make sense anymore
// It must be either removed or refactored

these tests are in WalletManagerTest.cs.

@noescape00 this is probably gonna be for you.

@bokobza ok, will do as soon as I finish with issue #862


SPIRV-Cross generates duplicated code

Hello,
I found a problem with SPIRV-Cross generating a block of code twice. A statement that was placed after a condition is written inside both the "if" and "else" blocks on the output.
I am using CLSPV to generate SPIRV code from an OpenCL shader, so I am using OpenCL code as reference of the "input" to explain the problem. I am generating Metal shaders from the SPIRV file. The OpenCL shader for a repro-case, the SPIRV binary and dissassembly generated by CLSPV and the Metal file generated by SPIRV-Cross are here:
spirv-cross-bug-duplication.zip
The original code is a simple parallel reduction program to find the minimum value of a list:
#define THREADS 256
#define THREADS_HALF (THREADS/2)

__kernel void main_kernel(__global float* data, __global float* output, int count)
{
	__local float list[THREADS];

	const int point1Index = get_global_id(1);
	const int index = get_local_id(0);

	list[index] = data[index];

	for (int halfSize = THREADS_HALF; halfSize > 0; halfSize >>= 1)
	{
		if (index < halfSize)
		{
			const float value1 = list[index];
			const float value2 = list[index + halfSize];
			if (value2 < value1) list[index] = value2;
		}
		barrier(CLK_LOCAL_MEM_FENCE);
	}

	if (!index)
	{
		output[point1Index] = list[0];
	}
}

And this is (some parts omitted) of the Metal code generated by SPIRV-Cross:
kernel void main_kernel(device _3& _23 [[buffer(0)]], device _3& _24 [[buffer(1)]], constant _7& _25 [[buffer(2)]], uint3 gl_GlobalInvocationID [[thread_position_in_grid]], uint3 gl_LocalInvocationID [[thread_position_in_threadgroup]])
{
    threadgroup float _15[256];
    uint3 _22 = gl_WorkGroupSize;
    _15[gl_LocalInvocationID.x] = _23._m0[gl_LocalInvocationID.x];
    uint _47 = 128u;
    for (;;)
    {
        if (int(gl_LocalInvocationID.x) < int(_47))
        {
            uint _54 = _47 + gl_LocalInvocationID.x;
            if (_15[_54] < _15[gl_LocalInvocationID.x])
            {
                _15[gl_LocalInvocationID.x] = _15[_54];
            }
            threadgroup_barrier(mem_flags::mem_threadgroup); // Problem here
            uint _67 = _47 >> 1u;
            if (_67 == 0u)
            {
                break;
            }
            else
            {
                _47 = _67;
                continue;
            }
        }
        else
        {
            threadgroup_barrier(mem_flags::mem_threadgroup); // And also here
            uint _67 = _47 >> 1u;
            if (_67 == 0u)
            {
                break;
            }
            else
            {
                _47 = _67;
                continue;
            }
        }
    }
    if (gl_LocalInvocationID.x == 0u)
    {
        _24._m0[gl_GlobalInvocationID.y] = _15[0u];
    }
}

The memory barrier is outputted twice, as it is other code related to the for loop. This seems to crash the Metal driver when reaching the different memory barriers.
The SPIRV generated by CLSPV seems reasonable to me, and there is no duplicated operation there. I tried to debug SPIRV-Cross but I cannot point where the problem/solution is.

I think this is a CLSPV bug if anything. There is no merge happening to the continue block, so I don't think you can assume that thread execution has converged. With this diff to the asm, codegen seems fine:
--- /tmp/orig.asm	2020-10-28 11:10:49.455557688 +0100
+++ /tmp/test.asm	2020-10-28 11:12:44.342851235 +0100
@@ -79,6 +79,9 @@
          %47 = OpPhi %uint %uint_128 %29 %67 %64
          %49 = OpSLessThan %bool %39 %47
                OpLoopMerge %70 %64 None
+			   OpBranch %tmp_header
+	   %tmp_header = OpLabel
+	           OpSelectionMerge %64 None
                OpBranchConditional %49 %52 %64
          %52 = OpLabel
          %53 = OpLoad %float %44

kernel void main_kernel(device _5& _9 [[buffer(0)]], device _5& _10 [[buffer(1)]], constant _7& _38 [[buffer(2)]], uint3 gl_GlobalInvocationID [[thread_position_in_grid]], uint3 gl_LocalInvocationID [[thread_position_in_threadgroup]])
{
    threadgroup float _36[256];
    uint3 _37 = gl_WorkGroupSize;
    _36[gl_LocalInvocationID.x] = _9._m0[gl_LocalInvocationID.x];
    uint _50 = 128u;
    bool _53;
    for (;;)
    {
        _53 = int(gl_LocalInvocationID.x) < int(_50);
        if (_53)
        {
            uint _58 = _50 + gl_LocalInvocationID.x;
            if (_36[_58] < _36[gl_LocalInvocationID.x])
            {
                _36[gl_LocalInvocationID.x] = _36[_58];
            }
        }
        threadgroup_barrier(mem_flags::mem_threadgroup);
        uint _51 = _50 >> 1u;
        if (_51 == 0u)
        {
            break;
        }
        else
        {
            _50 = _51;
            continue;
        }
    }
    if (gl_LocalInvocationID.x == 0u)
    {
        _10._m0[gl_GlobalInvocationID.y] = _36[0u];
    }
}

Thank you Hans, I will investigate the problem on the CLSPV side.

@HansKristian-Work your diff is not valid SPIR-V. The selection cannot have a merge that is the same block as the continue target because the selection must be nested completely within the loop construct (which does not include the continue target).

Hey @alan-baker thank you for chipping in. I was about to open an issue on the clspv project, and I just saw you are a major contributor there.
It tried to figure out a little more of how clspv is generating that code. The SPIR-V generated without optimizations (-O=0) is translated to Metal correctly by SPIRV-Cross, and it has an OpSelectionMerge for that condition, but the SPIRV code is quite different anyway.
Do you reckon it is a problem on the clspv side?

LLVM ends up sinking the barrier into the loop's continue target from the selection. I know why it does this, but I agree it can be problematic. There is nothing in SPIR-V that prevents invocations from reconverging at the barrier, but also nothing currently that guarantees it will happen. The source code is unambiguous though. Unfortunately, there isn't a lot I can do about the LLVM side of things at the moment beyond not running most optimizations.

Alan, thank you very much for your insight.
Knowing that avoids me a lot of work trying to figure out what was going on.
In case anyone finds himself on the same situation: I just moved the barrier before the "if". That way I avoid the duplication of the barrier and runs just fine.
Thank you both.

I'm going to open this on clspv to track the issue.

@HansKristian-Work your diff is not valid SPIR-V. The selection cannot have a merge that is the same block as the continue target because the selection must be nested completely within the loop construct (which does not include the continue target).

Indeed, I noticed that I was getting validation errors and couldn't see right away why that was the case, the diff was mostly to demonstrate the problem.

Marking this as not-a-bug on SPIRV-Cross' side.


UI: Improve navigation bar handling and simplify TimeTableScreen layout

TL;DR
Added predictive back gesture support and improved UI layout in saved trips and timetable screens
What changed?

Enabled predictive back gesture support in AndroidManifest
Added navigation bar padding to SearchStopRow in SavedTripsScreen
Simplified TimeTableScreen UI by:

Removing location icons
Converting Row layouts to Column layouts
Adjusting text styling with normal font weight
Removing redundant status bar padding

Why make this change?
To improve gesture navigation support and streamline the UI design for better usability and visual consistency across screens

[!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

#272
#271  👈
#270
#269
#268
#267
main

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

Join @ksharma-xyz and the rest of your teammates on  Graphite

Merge activity

Oct 31, 12:51 AM EDT: A user merged this pull request with Graphite.


chore: import packages only once

Changes from #162

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (ec6a0f9) 50.01% compared to head (68ad757) 50.01%.

Additional details and impacted files
@@           Coverage Diff            @@
##           develop     #172   +/-   ##
========================================
  Coverage    50.01%   50.01%
========================================
  Files           38       38
  Lines         2801     2801
========================================
  Hits          1401     1401
  Misses        1294     1294
  Partials       106      106

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


Nix package not working

Describe the bug
Build of this package fails when trying to install on NixOS by the method given in the README
To Reproduce
Steps to reproduce the behavior:

Add Nix derivation into the config / use nix run
Build error

Expected behavior
Should build successfully
Screenshots

System information (please complete the following information):

NixOS

Extra Info
Builds successfully when using build.sh script from development shell (nix develop)

Sorry but I didn't test this wit nix, the package script was written by a contributor.
If you can help to fix this bug. I would really appreciate it!

Running into this as well. Unfortunately not super familiar with the golang ecosystem, buttt I think it might be due to the fact that the three packages mentioned are missing from the gomod2nix.toml manifest, but they're required in go.mod. Might just need updated: https://github.com/MHNightCat/superfile/blob/main/src/gomod2nix.toml

Yes I did add these packages recently

In that case, the fix is simple. Just enter the development shell (using nix develop) and run gomod2nix inside the src folder. This will fix the issue. I suggest setting up GitHub action for updating the gomod2nix.toml. I can help when I am home. :)

Opened a PR adding the missing deps for now. However, a GHA to automate this would be a great follow-up :wink:

OK, thank you for fixed this issue!


Add icon for Accrescent

Description
Icon for the new kid on the appstore-block, Accrescent: https://accrescent.app/
Very generic, this one. Would it make sense to rename the svg to something like generic_moon.svg?
(Even though the picture might actually depict a eclipse)
Type of change

:x: Bug fix (non-breaking change which fixes an issue)
:white_check_mark: Icon addition (non-breaking change that adds/modifies Lawnicons's icons)
:x: General change (non-breaking change that doesn't fit the above categories like copyediting)

Icons addition information

Icons added

App Name (app.accrescent.client)

Icons linked

App Name (linked app.accrescent.client to @drawable/accrescent)

I renamed it to generic_moon :)


Archlinux - ms-vscode.csharp - "Error while installing .NET Core Debugger"

From @vindicatorr on July 13, 2016 9:17

VSCode Version: 1.3.1
OS Version: Archlinux 4.6.3 - KDE 5.7.1
Mono Version: 4.3.3

Steps to Reproduce:

Extract VSCode

mkdir test; cd test; dotnet new

Start VSCode and Open Folder for newly created "test"

Enable recommended "ms-vscode.csharp" (and restart VSCode)
Error while installing .NET Core Debugger

View Log
...
Creating /home/username/.vscode/extensions/ms-vscode.csharp-1.2.2/coreclr-debug/project.json
Telemetry is: Enabled

log  : Restoring packages for /home/username/.vscode/extensions/ms-vscode.csharp-1.2.2/coreclr-debug/project.json...

error: System.IO 4.1.0 provides a compile-time reference assembly for System.IO on .NETCoreApp,Version=v1.0, but there is no run-time assembly compatible with arch.-x64.
...
log  : Writing lock file to disk. Path: /home/username/.vscode/extensions/ms-vscode.csharp-1.2.2/coreclr-debug/project.lock.json

log  : /home/username/.vscode/extensions/ms-vscode.csharp-1.2.2/coreclr-debug/project.json
log  : Restore failed in 2012ms.

Error:
Errors in /home/username/.vscode/extensions/ms-vscode.csharp-1.2.2/coreclr-debug/project.json

Error:     System.IO 4.1.0 provides a compile-time reference assembly for System.IO on .NETCoreApp,Version=v1.0, but there is no run-time assembly compatible with arch.-x64.
...
System.Threading.Timer on .NETCoreApp,Version=v1.0, but there is no run-time assembly compatible with arch.-x64.
One or more packages are incompatible with .NETCoreApp,Version=v1.0 (arch.-x64).

dotnet exited with error code 1

That is only part of the issue. The other part relates to omnisharp which I think I'll be submitting to their repository.
Copied from original issue: Microsoft/vscode#9192

@vindicator as far as I know, Arch Linux isn't yet officially supported by .NET Core (ex: I don't see it listed on https://www.microsoft.com/net/core). I don't think we would support it for the debugger until it becomes officially supported.

So be it if you want to wait for an "official okey-dokey" from the core team, but do know that dotnet does work in Arch: https://github.com/dotnet/coreclr/issues/5006#issuecomment-229472022
You'll see in later comments and other issues I've opened with core* that we just can't build it from scratch in Arch (I may give it another go since it's been awhile). Abrodersen just used the Fedora package.
I will also add that I may have been a lucky tester of abrodersen's package as I just now looked at the comments for his package on AUR that people were having issues building it. I already had all dependencies from when I attempted building from scratch in the past.
If you're looking for a guinea-pig, just come-a-knockin'.

@vindicatorr in a later comment though, it sounds like Abrodersen rebuilt the native binaries on Arch. Do I have that right?
If the Fedora 23 runtime will work as-is (in other words the native binaries in the Fedora package are binary compatible with Arch), then we can probably do a quick tweak to this switch statement to add support for Arch.
If we need a new runtime - because both OmniSharp and the debugger package carry there own runtime, there isn't a simple official fix we can do. If you are interested in getting this to work on your own box - that is very doable.

Oh right, native are built locally on Arch: https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=dotnet-cli, just not mscorlib and related managed libraries.
You can see where he runs "build.sh" for both clr and fx.
For the sake of testing ONLY fedora dotnet in Arch, I overwrote abrodersen's build with the fedora tarball (including native) and as expected dotnet fails (0x80131500).
So the Fedora runtime will NOT work as-is. Native HAS to be built locally on Arch.

Thanks @vindicator. I moved this issue and #563 to the 'future' milestone for now as I don't know when there will be official packages for Arch. But we can give you instructions that you can try if you want to play around with this yourself.
/cc @DustinCampbell

Certainly, I can give it a go in a couple days after I give clr and fx another go.

What part of code is generating "runtimes" line in "coreclr-debug/project.json"?

Is possible to receive some instructions too? I'm used to working with archlinux for quite a while and have been een C# dev for decade too. Hate to have to switch distro just to get debugging to work.

@elangelo is there an arch-Linux compatible version of .NET Core available for download from Microsoft?
If one of the official builds from Microsoft works - this is pretty easy, we just need to change the platform detection code in src/platform.ts to return the runtime id of this compatible distro.
Otherwise - this might not be possible to solve. You could try downloading one of the debugger zip files and then replacing all the CoreCLR binaries in it. I would use one of the 1-6-0 zip's as those move to the 1.1 CLR (see https://github.com/OmniSharp/omnisharp-vscode/pull/1000 for the PR that switched to this).

I have dotnet running on my ArchLinux machine. The tarball for ubuntu 16.04 of dotnet (dotnet-dev-ubuntu.16.04-x<IP_ADDRESS>-preview2-1-003177.tar.gz) works just fine on archlinux as well.

@elangelo can you try downloading https://vsdebugger.azureedge.net/coreclr-debug-1-6-0/coreclr-debug-ubuntu.16.04-x64.zip and extracting it to ~/.vscode/extensions/ms-vscode.csharp-ver/.debugger (replace ver with the version you have installed, make sure it is at least 1.5). Please verify you can hit breakpoints and the locals window will populate.
If that works, cat you send me your /etc/os-release file?

@gregg-miskelly this worked thnx!
what i did:

created .debugger directory in ~/.vscode/extensions/ms-vscode.csharp-1.5.3/.debugger
unzipped the content of coreclr-debug-ubuntu.16.04-x64.zip in .debugger
chmod +x OpenDebugAD7 and clrdbg (not sure why these two lost their executable properties, maybe zip doesn't understand those?)
open C# project and finally enjoy debugging

for your info: /etc/OS_RELEASE#NAME="Arch Linux"
ID=arch
PRETTY_NAME="Arch Linux"
ANSI_COLOR="0;36"
HOME_URL="https://www.archlinux.org/"
SUPPORT_URL="https://bbs.archlinux.org/"
BUG_REPORT_URL="https://bugs.archlinux.org/"
VERSION_ID="2016.06.20"
VERSION_ID is actually the installed date of the OS so this has nothing to do with the actual version of Arch Linux, Arch Linux is a rolling release distro so everybody that cares a bit for their machine is actually running recent stuff.

You can also include Antergos if you are submitting something for Arch Linux, since it's like a glorified installer for Arch, the etc/os-release file for it looks like:
NAME="Antergos Linux"
VERSION="16.9-ISO-Rolling"
ID="antergos"
ID_LIKE="arch"
PRETTY_NAME="Antergos Linux"
CPE_NAME="cpe:/o:antergosproject:antergos:16.9"
ANSI_COLOR="1;34;40"
HOME_URL="https://antergos.com/"
SUPPORT_URL="https://forum.antergos.com/"
BUG_REPORT_URL="https://github.com/antergos"

@cra0zy we will respect ID_LIKE so actually that will automatically work if I check for 'arch'.
Okay, I will try and get out a fix for this soon.

Okay, I have what I think is a fix. If someone can validate it that would be helpful:

Download this file: csharp-1.6.0-dev-ArchLinux.vsix.renamed.zip
Remove the '.renamed.zip' extension from the file
Follow the instructions on installing beta releases for installing the .vsix into VS code.

Thanks!

@gregg-miskelly just tested this. Works like a charm! (Y)

@elangelo Excellent. I will merge the PR then. Thanks!

@gregg-miskelly ID_LIKE seems to not be handled correctly
my /etc/os-release:
NAME="Manjaro Linux"
ID=manjaro
ID_LIKE="arch"
PRETTY_NAME="Manjaro Linux"
ANSI_COLOR="1;32"
HOME_URL="http://www.manjaro.org/"
SUPPORT_URL="http://www.manjaro.org/"
BUG_REPORT_URL="http://bugs.manjaro.org/"

i added the ID_LIKE line myself
and it always reports this: [WARNING]: The current Linux distribution 'manjaro' version 'unknown' is not currently supported by the .NET Core debugger. Debugging will not be available.

@NikkyAI do you by chance have trailing spaces after the closing quote?
You can see the code here: https://github.com/OmniSharp/omnisharp-vscode/blob/master/src/platform.ts#L75
I don't see anything obviously wrong with the code. You are welcome to open a bug if you want somehow to help investigate.

changing it from ID_LIKE="arch"
to ID_LIKE=arch fixes it, probably there was trailing spaces though
and yet another problem...

Debug adapter process has terminated unexpectedly
it crashes instantly after building
happens on my laptop (manjaro) and a friends arch laptop

@NikkyAI there seems to be some dispute over which version of coreclr actually works on Arch. We had one user previously report that Ubuntu 16 worked, so that is what we went with. But we had another recent user report that Ubuntu 16 didn't work, but Ubuntu 14 did. Can you try this --
cd ~/.vscode/extensions/ms-vscode.csharp-1.7.0 (replace 1.7.0 with the version you have installed)
Find the ubuntu 14 URL with: grep coreclr-debug package.json | grep ubuntu.14.04 | head -1. This should give you something like: https://vsdebugger.azureedge.net/coreclr-debug-1-7-1/coreclr-debug-ubuntu.14.04-x64.zip.
Download and extact that zip to the '.debugger' folder under the extension root (ex: ~/.vscode/extensions/ms-vscode.csharp-1.7.0/.debugger).
echo install.complete > .debugger/install.complete
chmod +x .debugger/OpenDebugAD7
chmod +x .debugger/clrdbg

i guess i should have opened another issue for this..
and sadly this seems to no change anything :(

I think I managed to fix this. See the referenced issue.


Support & in linkified URLs

linkifyCode passes HTML to the linkifier (because it musts: #510), but this means that & is first escaped and this causes some URls to break. Example:
"<img src='https://avatars1.githubusercontent.com/u/1402241?v=3&;s=40'>"
//                               The parameters should be: ?v=3&s=40

See it here in action: https://github.com/bfred-it/sandbox/blob/master/index.js
A solution I could think of would be to have the linkifier return actual DOM nodes so we don't have to inject plain HTML and this means we can pass unescaped data to it.

21fd5f059aaa015fe8a5f1554039125265b628f3 causes this issue because we don't want tags to be converted to real DOM during the .innerHTML =  injection.
I'm thinking that we can revert 21fd5f059aaa015fe8a5f1554039125265b628f3 + instead of parsing the whole string returned by linkify-urls, we could exclusively domify the <a>'s generated by linkify-urls. Headache.
Or just implement this, really: https://github.com/sindresorhus/linkify-urls/issues/2

Or just implement this, really: sindresorhus/linkify-urls#2

This would IMHO be the correct fix.


Fix typo in byte range of precompiled contracts

Changed from [0; length[ to [0; length]

Ah, I see! Sorry for the unnecessary suggestion. I will close this PR.
By the way, I have never seen this kind of notation before, is it commonly used?
I would appreciate any resources written about this notation for future reference.

Ah, I see! Sorry for the unnecessary suggestion. I will close this PR. By the way, I have never seen this kind of notation before, is it commonly used? I would appreciate any resources written about this notation for future reference.

I actaully don't knoy if it is commonly used, it's a math thing, I assumed it was.

Thank you. I only knew how to indicate that one of the endpoints is to be excluded from the set as [x,y) in math, but I just learned that it is also expressed as [x,y[ by the following pages fyi:

https://en.wikipedia.org/wiki/Interval_(mathematics)#Including_or_excluding_endpoints
https://cdn.standards.iteh.ai/samples/3653/0148c25005744dc1ad52152b3d6f469b/ISO-31-11-1992.pdf

Thank you. I only knew how to indicate that one of the endpoints is to be excluded from the set as [x,y) in math, but I just learned that it is also expressed as [x,y[ by the following pages fyi:

https://en.wikipedia.org/wiki/Interval_(mathematics)#Including_or_excluding_endpoints
https://cdn.standards.iteh.ai/samples/3653/0148c25005744dc1ad52152b3d6f469b/ISO-31-11-1992.pdf

If the parenthesis notation is more common, then I'm happy to approve that change :-)
Thanks for looking it up

If the parenthesis notation is more common, then I'm happy to approve that change :-)

I'm Japanese and [x,y) is common in Japan, but [x,y[ may be more common globally, so I don't know which is better :)


Task: When clicking on a property on the map, load it in the side view

Describe the task
When clicking on a property on the map, load it in the side view

@brandonfcohen1 Question for you - would we want to make the side view page its own URL, so that it can be deeplinked?  This would enable individual properties to be bookmarked and returned to individually.

@brandonfcohen1 Question for you - would we want to make the side view page its own URL, so that it can be deeplinked? This would enable individual properties to be bookmarked and returned to individually.

I don't think this is a bad idea. See #103 as well. Would be great to kill two birds w one stone if possible.


The parser doesn't accept DOT inside type parameters at patterns

The parser fails at this case with the error Expected token RBRACKET but got Token(DOT,.,89,.):
object FailingCase {
  def failingMethod(v: Any) =
    v match {
      case v: List[scala.Int] => v
    }
}

Changing scala.Int to Int makes it work.

This is also an issue when you are accessing a type member of an object. I encountered it here.


Update CI to use newest ephemeral-cluster

The GH action CI needs to be updated to use https://github.com/celestiaorg/ephemeral-cluster/pull/18

Depends on https://github.com/celestiaorg/ephemeral-cluster/pull/30


External link for log-in in Wolfram Alpha

Description
I use Wolfram Alpha as a student, but the login goes through another site (https://account.wolfram.com/auth/sign-in) external. So when I click log-in the site open up in safari, not in the Nativefier app. How can I do ? 😔
Steps to reproduce issue

create a https://www.wolframalpha.com app and try to click sign-in
the page will open up in safari not the app, and you will not log-in to the site

Details

Are you nativefying a public website? Yes
Feature request? Have you looked at nativefier --help to see if an existing option could fit your needs? Yes
Full nativefier command used to build your app: < nativefier "https://www.wolframalpha.com" >
Version of Nativefier (run nativefier --version): v7.6.12
Version of node.js (run node --version): v12.3.1
OS: <Mac OS>
Error message / stack trace (if any):

<Error message / Stack trace here>

Fixed!
nativefier wolframalpha.com  --internal-urls "(.*?)(account.wolfram.com)(.*?)"


App crashes after 4 Months of usage

No idea what's going on but here are the logs from Heroku.
2021-03-15T18:23:37.417085+00:00 app[web.1]: (node:14) PromiseRejectionHandledWarning: Promise rejection was handled asynchronously (rejection id: 1)
2021-03-15T18:23:37.418295+00:00 app[web.1]: (node:14) UnhandledPromiseRejectionWarning: Error: There was an error: no pg_hba.conf entry for host "<IP_ADDRESS>", user "gqxgnkcvxivohc", database "dbm50ih9luriv0", SSL off
2021-03-15T18:23:37.418297+00:00 app[web.1]:     at Object.error (/usr/local/lib/node_modules/n8n/node_modules/@oclif/errors/lib/index.js:26:15)
2021-03-15T18:23:37.418297+00:00 app[web.1]:     at Start.error (/usr/local/lib/node_modules/n8n/node_modules/@oclif/command/lib/command.js:60:23)
2021-03-15T18:23:37.418298+00:00 app[web.1]:     at /usr/local/lib/node_modules/n8n/dist/commands/start.js:134:22
2021-03-15T18:23:37.418434+00:00 app[web.1]: (node:14) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 2)
2021-03-15T18:23:37.558582+00:00 heroku[web.1]: Process exited with status 0
2021-03-15T18:23:37.648295+00:00 heroku[web.1]: State changed from starting to crashed
2021-03-15T18:24:30.793849+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/workflow" host=deviated-systems-n8n.herokuapp.com request_id=a17430ba-bedb-4697-89d9-2adf528fc657 fwd="<IP_ADDRESS>" dyno= connect= service= status=503 bytes= protocol=https
2021-03-15T18:24:31.873182+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=deviated-systems-n8n.herokuapp.com request_id=ece3577f-5918-44f9-a8ad-fecc98394d29 fwd="<IP_ADDRESS>" dyno= connect= service= status=503 bytes= protocol=https

@Yeehawlerz101 the issue is Heroku making an SSL require change.
Add these 2 variables to the config and restart Dynos
PGSSLMODE=require
and
NODE_TLS_REJECT_UNAUTHORIZED=0

Mar 18 01:32:17 n8n2a heroku/web.1 Starting process with command/start.shMar 18 01:32:19 n8n2a app/web.1 N8N will start on '34387' Mar 18 01:32:19 n8n2a app/web.1 postgres://qjtkxaogzkycfw:2d1f2eb2b0510f878951d372fafcfa429eff114602033d0eff36ff49961e1ba6@ec2-54-247-70-127.eu-west-1.compute.amazonaws.com:5432/dcsrlghueqspr Mar 18 01:32:19 n8n2a app/web.1 postgre config detected Mar 18 01:32:19 n8n2a app/web.1 postgres://qjtkxaogzkycfw:2d1f2eb2b0510f878951d372fafcfa429eff114602033d0eff36ff49961e1ba6@ec2-54-247-70-127.eu-west-1.compute.amazonaws.com:5432/dcsrlghueqspr Mar 18 01:32:19 n8n2a app/web.1 indentified DB in use postgreSQL Mar 18 01:32:21 n8n2a app/web.1 UserSettings got generated and saved to: /data/.n8n/config Mar 18 01:32:21 n8n2a app/web.1 (node:14) UnhandledPromiseRejectionWarning: error: no pg_hba.conf entry for host "<IP_ADDRESS>", user "qjtkxaogzkycfw", database "dcsrlghueqspr", SSL off Mar 18 01:32:21 n8n2a app/web.1     at Parser.parseErrorMessage (/usr/local/lib/node_modules/n8n/node_modules/pg-protocol/dist/parser.js:278:15) Mar 18 01:32:21 n8n2a app/web.1     at Parser.handlePacket (/usr/local/lib/node_modules/n8n/node_modules/pg-protocol/dist/parser.js:126:29) Mar 18 01:32:21 n8n2a app/web.1     at Parser.parse (/usr/local/lib/node_modules/n8n/node_modules/pg-protocol/dist/parser.js:39:38) Mar 18 01:32:21 n8n2a app/web.1     at Socket.<anonymous> (/usr/local/lib/node_modules/n8n/node_modules/pg-protocol/dist/index.js:10:42) Mar 18 01:32:21 n8n2a app/web.1     at Socket.emit (events.js:315:20) Mar 18 01:32:21 n8n2a app/web.1     at addChunk (internal/streams/readable.js:309:12) Mar 18 01:32:21 n8n2a app/web.1     at readableAddChunk (internal/streams/readable.js:284:9) Mar 18 01:32:21 n8n2a app/web.1     at Socket.Readable.push (internal/streams/readable.js:223:10) Mar 18 01:32:21 n8n2a app/web.1     at TCP.onStreamRead (internal/stream_base_commons.js:188:23) Mar 18 01:32:21 n8n2a app/web.1 (Usenode --trace-warnings ...to show where the warning was created) Mar 18 01:32:21 n8n2a app/web.1 (node:14) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag--unhandled-rejections=strict(see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1) Mar 18 01:32:21 n8n2a app/web.1 (node:14) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code. Mar 18 01:32:23 n8n2a app/web.1 (node:14) PromiseRejectionHandledWarning: Promise rejection was handled asynchronously (rejection id: 1) Mar 18 01:32:23 n8n2a app/web.1 (node:14) UnhandledPromiseRejectionWarning: Error: There was an error: no pg_hba.conf entry for host "<IP_ADDRESS>", user "qjtkxaogzkycfw", database "dcsrlghueqspr", SSL off Mar 18 01:32:23 n8n2a app/web.1     at Object.error (/usr/local/lib/node_modules/n8n/node_modules/@oclif/errors/lib/index.js:26:15) Mar 18 01:32:23 n8n2a app/web.1     at Start.error (/usr/local/lib/node_modules/n8n/node_modules/@oclif/command/lib/command.js:60:23) Mar 18 01:32:23 n8n2a app/web.1     at /usr/local/lib/node_modules/n8n/dist/commands/start.js:134:22 Mar 18 01:32:23 n8n2a app/web.1 (node:14) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag--unhandled-rejections=strict(see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 2) Mar 18 01:32:23 n8n2a heroku/web.1 Process exited with status 0 Mar 18 01:32:23 n8n2a heroku/web.1 State changed from starting to crashed

Fixed in #21

I deployed app again, set NODE_TLS_REJECT_UNAUTHORIZED to 0 but now I see this error in application:
ERROR: error:0909006C:PEM routines:get_name:no start line
Error: error:0909006C:PEM routines:get_name:no start line
at Sign.sign (internal/crypto/sig.js:110:29)
at Object.sign (/usr/local/lib/node_modules/n8n/node_modules/jwa/index.js:152:45)
at Object.jwsSign [as sign] (/usr/local/lib/node_modules/n8n/node_modules/jws/lib/sign-stream.js:32:24)
at Object.module.exports [as sign] (/usr/local/lib/node_modules/n8n/node_modules/jsonwebtoken/sign.js:204:16)
at Object.getAccessToken (/usr/local/lib/node_modules/n8n/node_modules/n8n-nodes-base/dist/nodes/Google/Sheet/GenericFunctions.js:66:27)
at Object.googleApiRequest (/usr/local/lib/node_modules/n8n/node_modules/n8n-nodes-base/dist/nodes/Google/Sheet/GenericFunctions.js:30:59)
at GoogleSheet.getData (/usr/local/lib/node_modules/n8n/node_modules/n8n-nodes-base/dist/nodes/Google/Sheet/GoogleSheet.js:33:68)
at Object.execute (/usr/local/lib/node_modules/n8n/node_modules/n8n-nodes-base/dist/nodes/Google/Sheet/GoogleSheets.node.js:830:47)
at Workflow.runNode (/usr/local/lib/node_modules/n8n/node_modules/n8n-workflow/dist/src/Workflow.js:492:37)
at /usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/src/WorkflowExecute.js:395:62

revert to old commit and try again. Will look why it doe that
On Mon, Apr 5, 2021 at 10:32 AM Arudmin @.***> wrote:

I deployed app again, set NODE_TLS_REJECT_UNAUTHORIZED to 0 but now I see
this error in application:
ERROR: error:0909006C:PEM routines:get_name:no start line
Error: error:0909006C:PEM routines:get_name:no start line
at Sign.sign (internal/crypto/sig.js:110:29)
at Object.sign
(/usr/local/lib/node_modules/n8n/node_modules/jwa/index.js:152:45)
at Object.jwsSign [as sign]
(/usr/local/lib/node_modules/n8n/node_modules/jws/lib/sign-stream.js:32:24)
at Object.module.exports [as sign]
(/usr/local/lib/node_modules/n8n/node_modules/jsonwebtoken/sign.js:204:16)
at Object.getAccessToken
(/usr/local/lib/node_modules/n8n/node_modules/n8n-nodes-base/dist/nodes/Google/Sheet/GenericFunctions.js:66:27)
at Object.googleApiRequest
(/usr/local/lib/node_modules/n8n/node_modules/n8n-nodes-base/dist/nodes/Google/Sheet/GenericFunctions.js:30:59)
at GoogleSheet.getData
(/usr/local/lib/node_modules/n8n/node_modules/n8n-nodes-base/dist/nodes/Google/Sheet/GoogleSheet.js:33:68)
at Object.execute
(/usr/local/lib/node_modules/n8n/node_modules/n8n-nodes-base/dist/nodes/Google/Sheet/GoogleSheets.node.js:830:47)
at Workflow.runNode
(/usr/local/lib/node_modules/n8n/node_modules/n8n-workflow/dist/src/Workflow.js:492:37)
at
/usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/src/WorkflowExecute.js:395:62
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/sarveshpro/n8n-heroku/issues/20#issuecomment-813273890,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ASQFNVL5HUTZVC3YUX5X4QLTHFYRFANCNFSM4ZHCVYMQ
.

http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
Virus-free.
www.avg.com
http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>

I deployed without eros...will continue looking
On Mon, Apr 5, 2021 at 2:00 PM Paul Kirstein @.***>
wrote:

revert to old commit and try again. Will look why it doe that
On Mon, Apr 5, 2021 at 10:32 AM Arudmin @.***> wrote:

I deployed app again, set NODE_TLS_REJECT_UNAUTHORIZED to 0 but now I see
this error in application:
ERROR: error:0909006C:PEM routines:get_name:no start line
Error: error:0909006C:PEM routines:get_name:no start line
at Sign.sign (internal/crypto/sig.js:110:29)
at Object.sign
(/usr/local/lib/node_modules/n8n/node_modules/jwa/index.js:152:45)
at Object.jwsSign [as sign]
(/usr/local/lib/node_modules/n8n/node_modules/jws/lib/sign-stream.js:32:24)
at Object.module.exports [as sign]
(/usr/local/lib/node_modules/n8n/node_modules/jsonwebtoken/sign.js:204:16)
at Object.getAccessToken
(/usr/local/lib/node_modules/n8n/node_modules/n8n-nodes-base/dist/nodes/Google/Sheet/GenericFunctions.js:66:27)
at Object.googleApiRequest
(/usr/local/lib/node_modules/n8n/node_modules/n8n-nodes-base/dist/nodes/Google/Sheet/GenericFunctions.js:30:59)
at GoogleSheet.getData
(/usr/local/lib/node_modules/n8n/node_modules/n8n-nodes-base/dist/nodes/Google/Sheet/GoogleSheet.js:33:68)
at Object.execute
(/usr/local/lib/node_modules/n8n/node_modules/n8n-nodes-base/dist/nodes/Google/Sheet/GoogleSheets.node.js:830:47)
at Workflow.runNode
(/usr/local/lib/node_modules/n8n/node_modules/n8n-workflow/dist/src/Workflow.js:492:37)
at
/usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/src/WorkflowExecute.js:395:62
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/sarveshpro/n8n-heroku/issues/20#issuecomment-813273890,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ASQFNVL5HUTZVC3YUX5X4QLTHFYRFANCNFSM4ZHCVYMQ
.

http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail Virus-free.
www.avg.com
http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
<#m_-5225662552014498949_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>


Tensorflow- HIP_ERROR_OutOfMemory

System information

Linux Ubuntu 18.05
TensorFlow installed from  binary:
TensorFlow version: 2.4.0
Python version: 3.6.9
ROCm version: rocm-4.0.0
GPU model and memory: Baffin - Radeon RX560 mobile VRAM-4GB

The tensorflow gets imported well but If I do anything with it this happens
import tensorflow as tf
tf.Variable(5)

2021-01-16 16:01:40.414954: I tensorflow/compiler/jit/xla_cpu_device.cc:41] Not creating XLA devices, tf_xla_enable_xla_devices not set
2021-01-16 16:01:40.418552: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library libamdhip64.so
2021-01-16 16:01:43.517629: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1738] Found device 0 with properties:
pciBusID: 0000:01:00.0 name: Baffin [Radeon RX 460/560D / Pro 450/455/460/555/560]     ROCm AMD GPU ISA: gfx803
coreClock: 1.275GHz coreCount: 16 deviceMemorySize: 4.00GiB deviceMemoryBandwidth: 43.21GiB/s
2021-01-16 16:01:44.223320: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library librocblas.so
2021-01-16 16:01:44.280507: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library libMIOpen.so
2021-01-16 16:01:45.047700: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library librocfft.so
2021-01-16 16:01:45.084856: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library librocrand.so
2021-01-16 16:01:45.085069: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1862] Adding visible gpu devices: 0
2021-01-16 16:01:45.085677: I tensorflow/core/platform/cpu_feature_guard.cc:142] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN) to use the following CPU instructions in performance-critical operations:  SSE3 SSE4.1 SSE4.2 AVX AVX2 FMA
To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags.
2021-01-16 16:01:45.086332: I tensorflow/compiler/jit/xla_gpu_device.cc:99] Not creating XLA devices, tf_xla_enable_xla_devices not set
2021-01-16 16:01:45.086515: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1738] Found device 0 with properties:
pciBusID: 0000:01:00.0 name: Baffin [Radeon RX 460/560D / Pro 450/455/460/555/560]     ROCm AMD GPU ISA: gfx803
coreClock: 1.275GHz coreCount: 16 deviceMemorySize: 4.00GiB deviceMemoryBandwidth: 43.21GiB/s
2021-01-16 16:01:45.086566: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library librocblas.so
2021-01-16 16:01:45.086585: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library libMIOpen.so
2021-01-16 16:01:45.086603: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library librocfft.so
2021-01-16 16:01:45.086622: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library librocrand.so
2021-01-16 16:01:45.086719: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1862] Adding visible gpu devices: 0
2021-01-16 16:01:45.155151: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1261] Device interconnect StreamExecutor with strength 1 edge matrix:
2021-01-16 16:01:45.155206: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1267]      0
2021-01-16 16:01:45.155226: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1280] 0:   N
2021-01-16 16:01:45.170915: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1406] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 3796 MB memory) -> physical GPU (device: 0, name: Baffin [Radeon RX 460/560D / Pro 450/455/460/555/560], pci bus id: 0000:01:00.0)
2021-01-16 16:01:56.796603: E tensorflow/stream_executor/rocm/rocm_driver.cc:573] could not allocate ROCM stream for device 0: HIP_ERROR_OutOfMemory
2021-01-16 16:01:56.796661: I tensorflow/stream_executor/stream_executor_pimpl.cc:767] failed to allocate stream; live stream count: 1
2021-01-16 16:01:56.796675: E tensorflow/stream_executor/stream.cc:310] failed to allocate stream during initialization
2021-01-16 16:01:57.636456: E tensorflow/stream_executor/rocm/rocm_driver.cc:573] could not allocate ROCM stream for device 0: HIP_ERROR_OutOfMemory
2021-01-16 16:01:57.636520: I tensorflow/stream_executor/stream_executor_pimpl.cc:767] failed to allocate stream; live stream count: 1
2021-01-16 16:01:57.636539: E tensorflow/stream_executor/stream.cc:310] failed to allocate stream during initialization
2021-01-16 16:01:57.675910: I tensorflow/stream_executor/stream.cc:1404] [stream=0x7f10b5c0ab70,impl=0x7f10b5c0a620] did not wait for [stream=0x7f10b5c0ac90,impl=0x7f10b5c0b550]
2021-01-16 16:01:57.675981: I tensorflow/stream_executor/stream.cc:1404] [stream=0x7f10b5c0ac90,impl=0x7f10b5c0b550] did not wait for [stream=0x7f10b5c0ab70,impl=0x7f10b5c0a620]
2021-01-16 16:01:58.504737: E tensorflow/stream_executor/rocm/rocm_driver.cc:573] could not allocate ROCM stream for device 0: HIP_ERROR_OutOfMemory
2021-01-16 16:01:58.504804: I tensorflow/stream_executor/stream_executor_pimpl.cc:767] failed to allocate stream; live stream count: 1
2021-01-16 16:01:58.504822: E tensorflow/stream_executor/stream.cc:310] failed to allocate stream during initialization
2021-01-16 16:01:59.337164: E tensorflow/stream_executor/rocm/rocm_driver.cc:573] could not allocate ROCM stream for device 0: HIP_ERROR_OutOfMemory
2021-01-16 16:01:59.337234: I tensorflow/stream_executor/stream_executor_pimpl.cc:767] failed to allocate stream; live stream count: 1
2021-01-16 16:01:59.337273: E tensorflow/stream_executor/stream.cc:310] failed to allocate stream during initialization
2021-01-16 16:02:00.169951: E tensorflow/stream_executor/rocm/rocm_driver.cc:573] could not allocate ROCM stream for device 0: HIP_ERROR_OutOfMemory
2021-01-16 16:02:00.170079: I tensorflow/stream_executor/stream_executor_pimpl.cc:767] failed to allocate stream; live stream count: 1
2021-01-16 16:02:00.170105: E tensorflow/stream_executor/stream.cc:310] failed to allocate stream during initialization
free(): invalid pointer
Aborted (core dumped)

Thanks for reaching out.
gfx8 is not a supported config now.
We are not supporting gfx8 devices officially with ROCm and request you to follow our supported hardware section @ ROCm docs: https://github.com/RadeonOpenCompute/ROCm#Hardware-and-Software-Support

But the list and the docs still have gfx8 as supported.
https://github.com/RadeonOpenCompute/ROCm#Hardware-and-Software-Support
https://en.wikipedia.org/wiki/List_of_AMD_graphics_processing_units

Hi @Karthikeyan564
AMD is still having and supporting gfx8 devices from different projects like amdgpu-pro, windows etc.
But AMD ROCm dropped supporting gfx8 devices officially.
Supported GPUs
Because the ROCm Platform has a focus on particular computational domains, we offer official support for a selection of AMD GPUs that are designed to offer good performance and price in these domains.
I am pasting here the snippet of the information(from https://github.com/RadeonOpenCompute/ROCm#Hardware-and-Software-Support)
ROCm officially supports AMD GPUs that use following chips:
GFX9 GPUs

    "Vega 10" chips, such as on the AMD Radeon RX Vega 64 and Radeon Instinct MI25

    "Vega 7nm" chips, such as on the Radeon Instinct MI50, Radeon Instinct MI60 or AMD Radeon VII,

CDNA GPUs
    MI100 chips such as on the AMD Instinct™ MI100_

The following list of GPUs are enabled in the ROCm software, though full support is not guaranteed:
_GFX8 GPUs
    "Polaris 11" chips, such as on the AMD Radeon RX 570 and Radeon Pro WX 4100
    "Polaris 12" chips, such as on the AMD Radeon RX 550 and Radeon RX 540
GFX7 GPUs
    "Hawaii" chips, such as the AMD Radeon R9 390X and FirePro W9100_


fix: handle class name in properties and methods

fixes #16763
fixes #16330
fixes #16262
fixes #17239
Summary

🤖 Generated by Copilot at 0a2cef7
Fix scope bug for recursive class methods by wrapping class body in a function. Add support for static blocks in classes.
Details

🤖 Generated by Copilot at 0a2cef7

Fix scope bug for recursive class methods by wrapping class body loop in a function scope and passing class name as a parameter if it exists (link)

@alexander-akait Sorry I think I'm merging things out of order can you rebase this?

@TheLarkInn Yeah, will do soon :+1:

@TheLarkInn Done :+1:


Feature/spotify init

Coming back to this. Moving onto the about middle section

Future Developments:

To do an API call, I need to log into Spotify in the backend and pass the access token to the front end

So I want to create a login page where I can log into Spotify to do this. A later problem

Decided against a full page pop up because I do not think it'll be worth it
Need to work on the content with the hover.


AWS Resource Discovery

Implement more robust discovery of AWS resources

Codecov Report

Merging #236 (49a15d8) into develop (c6e8fb5) will decrease coverage by 0.50%.
The diff coverage is 69.84%.

@@             Coverage Diff             @@
##           develop     #236      +/-   ##
===========================================
- Coverage    54.67%   54.16%   -0.51%
===========================================
  Files           44       44
  Lines         4536     4479      -57
===========================================
- Hits          2480     2426      -54
+ Misses        1912     1904       -8
- Partials       144      149       +5

Flag
Coverage Δ

unittests
54.16% <69.84%> (-0.51%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

pkg/plugins/events/sns/sns.go
54.63% <61.53%> (-4.31%)
:arrow_down:

pkg/plugins/gateway/lambda/lambda.go
62.03% <62.82%> (-7.16%)
:arrow_down:

pkg/plugins/storage/s3/s3.go
54.05% <70.83%> (+0.49%)
:arrow_up:

pkg/plugins/queue/sqs/sqs.go
55.34% <79.16%> (+2.35%)
:arrow_up:

.../plugins/secret/secrets_manager/secrets_manager.go
79.52% <83.78%> (-2.35%)
:arrow_down:

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 c6e8fb5...49a15d8. Read the comment docs.


requireTrailingComma should be made optional when closing bracket/brace is on same line

Using angular's DI syntax, it is common to end up with code that looks like:
module.directive('foo', ['someDependency', function(someDependency) {
  // logic here
},]);

While requireTrailingComma is useful in most other scenarios, I don't think it makes sense when the comma is immediately followed by the corresponding bracket/brace. I feel that the benefit of requireTrailingComma is avoiding 2-line diffs when adding one item to an object/array, however in this case that benefit is not realized because you would already have to move the closing bracket/brace to the next line.
I think this case is very similar to the case handled by the ignoreSingleLine option.
Thanks :)

Feel free to implement allExcept option, like, for example, in http://jscs.info/rule/disallowSpacesInsideParenthesizedExpression
Also, check out - https://github.com/olov/ng-annotate

At this point only major and CST related bugs will be fixed.


Shader Ripping

When I ripped a shader from a .asset file from a game and from a .vrca file from VRChat they were pink. When I looked at the shader code it said it was decompiled by Microsoft Shader Decompiler d3d11.dll. I was wondering if this is usual or not. Here is the shader if you were wondering. All of the shaders in the "Shader" folder are broken.
This specific example is from a .vrca file:
http://www.mediafire.com/file/wr5hsa80qjvdhh3/212ff9a420c724b22578c6170cf8cd7d.file_896cc363-ef78-4f45-a843-9457a8fa1123.1.vrca/file
File was too big to upload so I put it on Mediafire: https://www.mediafire.com/file/2042g29xihakcce/Broken_Shaders.zip/file

Shaders are stored in game as compiled binary. Ripper extracts their disassembled listing. It isn't supposed to convert them back to shader lab.

oh ok, do you know of any way to do it or is it impossible.

It is possible only if you are familiar with programming, particularity shaders and have quite a lot of time to manually restore desired shaders. "One button" solution doesn't exists.

I managed to get a shader into DX binary is there a way to convert it from there.

You need to restore restore resource (or something like that) section for dx binary using data from ShaderSubProgram and then you can use any dx shader decompiler or crosscompiler to get cg/glsl listings

https://github.com/Unity-Technologies/HLSLcc Like that?

Yes

Aight I will try.

How to compile this project?can you please help us !because I have try it ,but does not compile

I mean HLSLcc
project

There is a read me

yes,but How I can compile this ,which software must I use?

@HusseinAlsaloum Any c++ 11 compiler. CMake + Visual Studio as an example.
Have you managed to restore resource chunk already?

I try it on Cmake and Visual studio but It does not expert the project can you do it or help me?

@mafaca I managed to compile it, it compiled into a dll. How would I use this now to convert a DX binary shader to HLSL. For example, this one: https://www.mediafire.com/file/63c3da344o5vc4p/DXBinary_Ripped.shader/file
HLSLcc-Master (Compiled).zip

As I said you need to restore resource chunk for DX binary. Here you can read about DX binary structure. There is c# source code for this project (SlimShader) so you can use it as a base.
Unity remove resource chunk from binary and store its information in ShaderSubProgram's fields. You need to restore this chunk from those fields and insert it into binary data. After that you can process resulted binary with hlslcc.
As I remember above is true for dx11 shaders. dx9 shaders has this res chunk so you can try to process it with cross compiler right away.

If you have more questions you can ask them in gitter

@mafaca I managed to compile it, it compiled into a dll. How would I use this now to convert a DX binary shader to HLSL. For example, this one: https://www.mediafire.com/file/xr0gd7iidvdfdz4/Beautiful_DX_Binary.shader/file
HLSLcc-Master (Compiled).zip

did you managed to get the shader file working?

@VZPx This is 3-year-old issue on an abandoned repository. uTinyRipper has been supplanted by AssetRipper. There's a fork of AssetRipper currently working on Directx shader decompilation. Check out nesrak1/AssetRipper. At some point I'd like to get those merged upstream, but it mostly depends on nes's schedule.


Include neglect expansion option in grid boundary dist calc

This is an approximate way to neglect expansion (using a faster speed of light) and affects a critical part of the code. if you can use templates to avoid any performance cost and really remove the expansion factors, then I could merge.


Seaweed crashes while vacuuming (invalid memory address or nil pointer dereference)

Describe the bug
Seaweed crashes while vacuuming a volume (volume_grpc_vacuum.go:87 failed commit volume 2: remove files/2.dat: The process cannot access the file because it is being used by another process.). However, everything works fine while using older version (3.52). Is that a regression bug? Also, I don't know which process blocks that file.
System Setup

weed.exe server -dir=files/ -s3
Windows 11 Build 22631.1972
version 30GB 3.53 2c4c2f0994604510631920f4d0d9ee817ec29224 windows amd64

Expected behavior
Seaweed should survive. 😄
Logs
Logs for both 3.52 and 3.53: https://gist.github.com/MrBoombastic/91e4573176aa376ef3a86b9eca133c7b

Is this always reproducible?
The log showed it's an error with the grpc library 1.55.0.
The latest code is using google.golang.org/grpc v1.56.2

Yes, I can alway reproduce this error while using v3.53 - I just have to wait 15 minutes. I'm using binaries from Releases tab. However, v3.54 works perfectly fine, so I guess this issue is already fixed (Seaweed doesn't crash), but I sitll don't know why it can't access files/2.dat file.
Fresh logs for both versions: https://gist.github.com/MrBoombastic/679aca8799074b954f33ccb85eb78e7c


key-value updates

Hi
Thanks for the wonderful work. I found it to be a great read and very easy to understand.
(1) I am wondering what loss function did you use for the key value updates?
based on eqn. (3) it seems that mean square error loss has been utilized like
loss_k_j = sum_i=1^n_j (k_j - x_i)^2
Is there any particular reason that 1/(n_j + 1) has been selected instead of n_j ?
(2) I am also wondering if the MND and ME loss was simply defined for the unlabeled portion of the data, how does the performance degrade ?
(3) lastly what happens if instead of updating the key and values after every epoch, we simply average out the intermediate representations and the softmax of the labeled data to re-define the key and value pairs ?
(4) Any plans to release the code in Pytorch ? I am not very familiar with tensorflow but would like to understand your method more by studying the code.
any clarifications will be helpful.
Thanks
Devraj

Hi Devraj,
Here are my understanding/answers:
(1) using 1/(n_j + 1) can avoid case when n_j=0, leading to 1/0, i.e. nan.
(2) both losses are defined for labelled v.s. unlabelled data.
(3) updating every iteration converges to more reliable distribution, i.e. reflect the up-to-date distribution.
(4) we currently can only provide code in tensorflow. sorry for the inconvenience.

Hi @yanbeic
Thanks for your prompt reply!
I see in your code that you have used a parameter called label-ratio? Why is that needed can you specify?
Thanks

Hi,
It is a parameter to control the proportion of labelled data in each mini-batch.

Hi
Thanks again for your response.
I am curious about one thing.
Since the unlabeled portion of the data is much larger than the labeled portion of the data how is the data loading part working ? for example you have taken around 10000 labeled and 40000 unlabeled samples. Now when we are selecting a batch-size of 32 obviously the labeled portion of the data will get exhausted earlier.
Does it mean we need to repeat the labeled portion of the data multiple times?
Thanks again for all your help!

In this implementation yes.
But one can also use annealing to decrease this portion during training.


Remove top-level deprecated Package schema.

This will remove deprecated keys:

"package" at top-level
"package" under "project"

In addition removing unit tests no longer needed, as well as invalid code that looked for credentials and namespace under "package".
Future PR will also remove deprecated key:

"application" (in favor of "project")

@mrutkows the integration tests that you disabled looks good, we had added them for verifying package at top level which we are disabling now.

thanks Matt @mrutkows for clean up, we need to also remove Package from YAML struct here: https://github.com/mrutkows/incubator-openwhisk-wskdeploy/blob/5070701eba35155dbee4d914726c9ff750912d9c/parsers/yamlparser.go#L227

@pritidesai I thought I had removed all references (in fact I had to since I did remove "Package" from yamlparser.go.

@pritidesai complete removal causes the entire manifest_parser_test.go and all .yaml files it uses to be invalidated causing a complete rewrite of all these unit tests.

Opened issue: https://github.com/apache/incubator-openwhisk-wskdeploy/issues/749
to track unit test and 1 integration test that need rewrite.

Thanks a bunch @mrutkows 👍


Add xMonths plus

Add Xmonths to the current date 😉

Coverage increased (+0.3%) to 43.613% when pulling c647670bc1741d9c0f3aa35d6c044ce506d9d08b on nuruddeensalihu:nuru/xMonthsAfter into 674e17c8997623f25d0e61a3e9c321d7c140d350 on binary-com:master.


Filter events by campaign in the admin panel.

Coverage increased (+0.01%) to 91.381% when pulling ad000c180491de9f21e6dfa11180424b5b46ec91 on akatsoulas:admin-filter-events into cfd8b46ffb7b45d77d9f3ebb18efb074af4ce2a2 on mozilla:master.


add gdb goto support

Add support for set next statement(goto request). GDB, LLDB support

sorry I forgot about this PR.
I added filename quoting (for files with spaces) and will merge this as it works as expected


Partial un-bitrot

The library builds, and the echo example compiles and works now, but
the latter was done by the cost of removing the STDIO effect.

Sweet, very kind of you! Thanks!