Add Koma Inu Token

Description
Koma Inu is a decentralized memecoin on BSC! Koma, son of Shib and protector of BNB, is a dog themed token built around community driven decentralization and charity.
$KOMA on BNB Chain
Staying true to the BSC (BNB) ecosystem, KOMA is live on BNB for now, with plans to expand to other chains in the future.
https://bscscan.com/token/0xd5eaaac47bd1993d661bc087e15dfb079a7f3c19#tokenInfo
Link (CMC) https://coinmarketcap.com/currencies/koma-inu/
Link (CoinGecko) https://www.coingecko.com/en/coins/koma-inu
Official Links
Link (website) https://komabnb.com
Link (twitter) https://x.com/komabnb
Link (telegram) https://t.me/komabnb

Hi @MRabenda - anything else needed in order to proceed?

Hello

Hi @MRabenda - anything else needed in order to proceed?

Hello there

Hey @MrsMigglesOnBase
This repo supports only Ethereum, to update the token on BSC would you guys be able to add the token to the following lists?:
Coingecko: https://tokens.coingecko.com/polygon-pos/all.json
sushiswap: https://token-list.sushi.com/
UniswapLabs: https://gateway.ipfs.io/ipns/tokens.uniswap.org


rails code related to "spring" and "test"-related gems

To create a minimum Rails app, I comment out "spring" and all test-related gems.
But rails still spring and test-related code, so I had to comment it out.
After I did that I fixed 2 lines in todo.rbi file.
bin/rails:#HID:   load File.expand_path('../spring', __FILE__)
bin/rails:#HID:   raise unless e.message.include?('spring')
bin/rake:#HID:   load File.expand_path('../spring', __FILE__)
bin/rake:#HID:   raise unless e.message.include?('spring')

bin/spring:#HID: # It gets overwritten when you run the `spring binstub` command.
bin/spring:#HID:   spring = lockfile.specs.detect { |spec| spec.name == 'spring' }
bin/spring:#HID:   if spring
bin/spring:#HID:     gem 'spring', spring.version
bin/spring:#HID:     require 'spring/binstub'

test/application_system_test_case.rb:#HID: require "test_helper"

Commented out (HID:) rails_app5_2/config/spring.rb to fix "# typed: ignore"

closing this issue


Update Windows install

Try if Script folder is in the path Windows, otherwise put the full path.

when will this be merged?


missing error whenever JavaScript backend disabled

The following toplevel function is clearly broken:
void broken() {
    if (exists missingThingy) {}
}

When I:

test the typechecker on this function, or
compile it using the JavaScript backend

I get the following error:

function or value does not exist: 'missingThingy'

which is correct.
But when I compile:

with the Java backend enabled (CLI or IDE), or
in the IDE with no backend enabled,

I get no such error message from the typechecker.
So something is very wrong here.

The reason is that Unit.getSupportedBackends() is returning .

Found it. My fault.


Fix dependabot example auto-label

Why:
Example fails because token for permission is missing.
Closes #23568

What's being changed (if available, include any code snippets, screenshots, or gifs):

Fix missing GITHUB_TOKEN to get permission for adding label

Check off the following:

[x] I have reviewed my changes in staging (look for the "Automatically generated comment" and click the links in the "Preview" column to view your latest changes).
[x] For content changes, I have completed the self-review checklist.

@Rotzbua Thank you for opening a PR and linking it to your issue! ✨


Converting taxi_agg table to JSON

After running the Taxi_demo results in Hive, I want to convert the table back to JSON so that I can export it to a shared location and have my users can access it and open in ArcMap. I cannot use the copy tool in ArcMap because my cluster is kerberized and opens more troubles. It's a better process for me to convert the output back to JSON. Has anyone discovered how to do so?

Use the EsriJsonSerDe - see the trip-discovery sample (but use the Spatial-Framework-v2 names - the sample needs update for that).

So if table was created and saved in hive as:
CREATE TABLE test15json (xxxxx string, xxxxx string, xxxxx string, xxxxx string, xxxxx binary)
ROW FORMAT SERDE 'com.esri.hadoop.hive.serde.JsonSerde'
STORED AS INPUTFORMAT 'com.esri.json.hadoop.EnclosedJsonInputFormat'
OUTPUTFORMAT 'org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat';
To get back to JSON format for exporting, I found this code and altered it a bit:
ALTER TABLE test15json SET FILEFORMAT
INPUTFORMAT 'org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat'
OUTPUTFORMAT 'com.esri.json.hadoop.EnclosedJsonInputFormat'
SERDE 'com.esri.hadoop.hive.serde.EsriJsonSerDe';
Error: FAILED: SemanticeException Cannot find class 'com.esri.hadoop.hive.serde.EsriJsonSerDe
I also tried:
ALTER TABLE test15json SET FILEFORMAT
INPUTFORMAT 'org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat'
OUTPUTFORMAT 'com.esri.json.hadoop.EnclosedJsonInputFormat'
ROW FORMAT SERDE 'com.esri.hadoop.hive.serde.EsriJsonSerDe';
Error: MismatchedTokenException(226!=233)
at org.antlr.runtime.BaseRecognizer.recoverFromMismatchedToken(BaseRecognizer.java:617)
at org.antlr.runtime.BaseRecognizer.match(BaseRecognizer.java:115)
at org.apache.hadoop.hive.ql.parse.HiveParser.fileFormat(HiveParser.java:15604)
at org.apache.hadoop.hive.ql.parse.HiveParser.alterStatementSuffixFileFormat(HiveParser.java:12890)
at org.apache.hadoop.hive.ql.parse.HiveParser.alterTblPartitionStatementSuffix(HiveParser.java:8406)
at org.apache.hadoop.hive.ql.parse.HiveParser.alterTableStatementSuffix(HiveParser.java:8159)
at org.apache.hadoop.hive.ql.parse.HiveParser.alterStatement(HiveParser.java:7433)
at org.apache.hadoop.hive.ql.parse.HiveParser.ddlStatement(HiveParser.java:2702)
at org.apache.hadoop.hive.ql.parse.HiveParser.execStatement(HiveParser.java:1665)
at org.apache.hadoop.hive.ql.parse.HiveParser.statement(HiveParser.java:1122)
at org.apache.hadoop.hive.ql.parse.ParseDriver.parse(ParseDriver.java:202)
at org.apache.hadoop.hive.ql.parse.ParseDriver.parse(ParseDriver.java:166)
at org.apache.hadoop.hive.ql.Driver.compile(Driver.java:437)
at org.apache.hadoop.hive.ql.Driver.compile(Driver.java:320)
at org.apache.hadoop.hive.ql.Driver.compileInternal(Driver.java:1219)
at org.apache.hadoop.hive.ql.Driver.runInternal(Driver.java:1260)
at org.apache.hadoop.hive.ql.Driver.run(Driver.java:1156)
at org.apache.hadoop.hive.ql.Driver.run(Driver.java:1146)
at org.apache.hadoop.hive.cli.CliDriver.processLocalCmd(CliDriver.java:217)
at org.apache.hadoop.hive.cli.CliDriver.processCmd(CliDriver.java:169)
at org.apache.hadoop.hive.cli.CliDriver.processLine(CliDriver.java:380)
at org.apache.hadoop.hive.cli.CliDriver.executeDriver(CliDriver.java:740)
at org.apache.hadoop.hive.cli.CliDriver.run(CliDriver.java:685)
at org.apache.hadoop.hive.cli.CliDriver.main(CliDriver.java:625)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.hadoop.util.RunJar.run(RunJar.java:233)
at org.apache.hadoop.util.RunJar.main(RunJar.java:148)
FAILED: ParseException line 4:1 mismatched input 'ROW' expecting SERDE near ''com.esri.json.hadoop.UnenclosedJsonInputFormat'' in file format specification
Any suggestions on what to try?

Get Spatial Framework v2

@randallwhitman Installed. And tabled altered. I still run into the problem of exporting it though. The webhdfs is going to work because of authenticating to a kerberized cluster. If I don't use the ArcMap tool of copying from hdfs and turn into JSON, can it be done manually?

If you have access, scp and/or hdfs dfs cli etc.

But that's invalid file. It's not JSON. The conversion to JSON is still missing. In the example it's done in the tool kit. When moving manually, where/how is the conversion done?

Remind me, conversion of exactly what to what?

https://github.com/Esri/gis-tools-for-hadoop/wiki/Aggregating-CSV-Data-(Spatial-Binning)
Attempting to move the taxi_agg table into ArcMap, the steps after 12 are only geared towards transporting and transforming via the GISTool.

Can you spell out what needs to be converted, from what format, to what format?

The Swede allows you to take the samlle data that is in json format and allows you concert it in something that is readable in hive. Once you are finished meeting the data, the taxi_agg table is still in a format that is readable for hive. In order it to be viewed on arcMap it has to go through a conversion process; 1. copy hive table from hdfs -> temporary JSON file 2. JSON -> feature file.
The gistool toolkit that ArcMap has does the first conversion for you. If your unable to connect to hive from ArcMap, there needs to be a manual way of converting the hive table to JSON. If you export the hive table the file is deflate and does not work in ArcMap because it doesn't recognize the file type.

Take a look at the trip-discovery sample as mentioned 11/17.
The output is converted to JSON, under the section entitled "Import into ArcMap and visualize" in the associated blog post.
Update the recipes for v2.

@randallwhitman I believe there is a disconnect in what I'm attempting to explain to you. Once you run,
create external table trip_origin_json  (totnum int, samedest int, pct double, destlhs double, destbot double,
destrhs double, desttop double, shape binary)
row format serde 'com.esri.hadoop.hive.serde.JsonSerde'
stored as inputformat 'com.esri.json.hadoop.UnenclosedJsonInputFormat'
outputformat 'org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat'
location '/user/rwhitman/trip-origin-json';
yes, you technically have a JSON table that's compressed. Unfortunately, that file format is .deflate not .json. In every example show, the only way to go from .deflate file to .JSON file is via the gistoolkit in ArcMap. I'm clueless as to how to do this part manually. How do I go from .deflate to .JSON without the toolkit, At this point I may need to run some sort of decompression code. Do you know what the commands are that are ran in the "Copy from HDFS" that takes 'trip-origin-json to trips-cor-01-tgcs.json'?

I don't remember the JSON being compressed.  Maybe that is a change in a newer version of Hive?
Try something like hdfs dfs -cat path/to/file | zcat.

Do you know what the commands are that are ran in the "Copy from HDFS" [tool]

The source is open ..

@MjHow912 If I understand your question correctly, starting with Step 6 on this page: https://github.com/Esri/gis-tools-for-hadoop/wiki/Getting-the-results-of-a-Hive-query-into-ArcGIS
The ArcToolBox GeoProcessing (GP) Tool 'Copy From HDFS' is just running this code:
https://github.com/Esri/geoprocessing-tools-for-hadoop/blob/master/HadoopTools.pyt#L193
The main business logic will be found here:
https://github.com/Esri/geoprocessing-tools-for-hadoop/blob/master/webhdfs/webhdfs.py#L126
The GP Tool 'JSON To Features' is just running this code found here:
https://github.com/Esri/geoprocessing-tools-for-hadoop/blob/master/HadoopTools.pyt#L369
With the main business logic found here (for unenclosed JSON):
https://github.com/Esri/geoprocessing-tools-for-hadoop/blob/master/JSONUtil.py#L179
After you take a look at that code, please post any questions or errors you run in to with your kerberized cluster (I didn't see any errors that you ran into from having your cluster kerberized in the Original Issue Post. If you can post the actual error you get when running the GP Tool, we could probably trace down the problem and fix it in the repo, and then the GP Tool would work for other with kerberized clusters in the future).


net/haproxy: release 2.15

New features

rules can finally be sorted by using drag'n'drop (#582)
added "enabled" field to servers (#1208)
TCP inspection delays are supported in rules (#1188)

Bugfixes
none
Enhancements

server option "mode" is always visible, no longer requires "advanced mode" (#1208)
most dropdown fields finally have alphanumeric sorting (#687, https://github.com/opnsense/core/issues/3251)
rules: align indentation of comments in haproxy.conf

Tested, no issues found:
Installing os-haproxy-devel-2.15...
Extracting os-haproxy-devel-2.15: 100%
Stopping configd...done
Starting configd.
Migrated OPNsense\HAProxy\HAProxy from 2.6.0 to 2.7.0
Reloading plugin configuration
Configuring system logging...done.
Reloading template OPNsense/HAProxy: OK


Change font in theme

Godot version
3.5.stable
System information
Windows 11
Issue description
Can't change font in theme for TextEdit (don't tested other nodes).
When I click on font, it expanded in 3.4.x.stable, but now it don't. Also don't appear in inspector.
It can be solved if save font from earlier version of Godot to file (.tres) and set it
Steps to reproduce

Use already created theme from earlier version of Godot (don't tested creating new)
Add TextEdit with data from menu
Clear selection from menu
Exit menu
Go to "Font" tab in appeared TextEdit
Create new DynamicFont in "font" field
Click on it

Minimal reproduction project
No response

I believe there were theming changes done between 3.4 and 3.5.
Either way, here's a 3.5 project with a custom TextEdit font: test_font.zip

Can't replicate v3.5.stable.official [991bb6ac7]
https://user-images.githubusercontent.com/7025991/184066826-7309884d-caa5-4f99-8096-4c3b4b33913a.mp4

Sorry, used unofficial version. Works in 3.5


Notification of messages not sent

Calling PubishAsync the a MQTTnet client when the server is not running still returns a success.  I understand that this is due to internal queuing by the client.  However, if I need to exit my application how can I determine which messages are queued and have not been sent?
var result = _mqttClient?.PublishAsync(message, CancellationToken.None).Result;
if (result?.ReasonCode == MqttClientPublishReasonCode.Success)
{
     // Gets here after server has been shutdown
}

Which project is your question related to?

ManagedClient

You can check the property PendingApplicationMessagesCount or make use of the event ApplicationMessageProcessedAsync to see which message is already processed.


fix: darwin setup on ventura

Context
I discovered a few issues when running nix-sops on macOS Ventura; each commit has some documentation explaining its rationale.

@mergify queue

Thanks


[5.9] Add Primary AssocTypes to Opaque GenericSignature

Now that Primary Associated Types are preserved in the generic signature during type erasure, they also need to be preserved for opaque types. This prevents a crash in cases where we coerce an existential type to an opaque type.

@swift-ci please test


New Feature: Message Buttons Click Tracking

Message Authors will see a summary of button clicks on the message status page. Clicks per user are also tracked and available via Power BI.

Canceling for now - working on issue with images in message.


Update models.csv

Hello!
Here is a quick summary of the changes.

The future runs were conducted for the period of 2090-2094 rather than 2007-2011. As a result, the time period column needs to be corrected for Rows 3, 4, 7, and 8.

Cases 14 and 15 involved simulations with EMIT minerals. So, the input mineralogy column needs to be corrected accordingly for Rows 14 and 15.

Best,
Longlei

Thanks for the catches Longlei!


Add kong

Hi there,
Kong is already filed under Infrastructure > API Gateway.
Is it okay if I close the pull request?
Many thanks for contributing!


documented way to catch events doesn't work

the example here on how to 'watch' the ref on the map object doesn't produce any events
https://vue-google-maps-community-fork.netlify.app/examples/how-to-access-google-maps-object.html#how-to-access-google-maps-object

this is the way  that does work , 'myMapRef' matches the ref= on the GMapMap tag
 <GMapMap  ref="myMapRef" :center="currentMapCenter" :zoom="zoomLevel" map-type-id="terrain" :options="mapOptions"

mounted(){
        this.map = await this.$refs.myMapRef.$mapPromise;

        //watch(this.myMapRef, (newValue) => { console.log(newValue); console.log("ma rectangle data=" + JSON.stringify(newValue)) })
        this.listeners.push(this.map.addListener("center_changed", () => {
            // 3 seconds after the center of the map has changed, pan back to the
            // marker.
            console.log("new center ="+JSON.stringify(this.map.getCenter()))
        }));
        this.listeners.push(this.map.addListener("bounds_changed", () => {
            // 3 seconds after the center of the map has changed, pan back to the
            // marker.
            console.log("new bounds =" + JSON.stringify(this.map.getBounds()))
        }));
        this.listeners.push(this.map.addListener("zoom_changed", () => {
            // 3 seconds after the center of the map has changed, pan back to the
            // marker.
            console.log("new zoom =" + JSON.stringify(this.map.getZoom()))
        }));
}


ios notifications are not being sent in cordova-ios 4.1.0

I upgraded to the 4.1.0 and saw that the app was not receiving notifications.  In the meantime, I've reverted back to 4.0.1

@mluria sorry I can't reproduce this, need more info.

did you try upgrading to 4.1.0 and sending a notification?

@mluria I did...
cordova platform rm ios
cordova platform add<EMAIL_ADDRESS>
still can't reproduce the problem.

@mluria Did you try removing and reinstalling the push plugin after the platform upgrade? I had issues after upgrading from 4.0.0 to 4.0.1 and that fixed it for me. Maybe it's the same for 4.1.0.

Close, no activity.


Update API docs to reflect multi value params

A the API now accepts multiple values for the metrics parameter.
The URLs have also changed.

 (5) Update API to support multiple metrics per basepath (EPIC 2)


[BUG] Delete Receipt Fails

Describe the bug
When trying to delete a receipt the response received is a 400 bad requerst.
To Reproduce
from monzo.handlers.filesystem import FileSystem
from monzo.endpoints.receipt import Receipt, ReceiptItem
from monzo.authentication import Authentication

EXTERNAL_ID = 'ABC123'
TRANSACTION_ID = 'REPLACE WITH TRANSACTION ID'

handler = FileSystem(file='monzo.json')
creds = handler.fetch()
redirect_url = ''
auth = Authentication(
    access_token=creds['access_token'],
    access_token_expiry=creds['expiry'],
    client_id=creds['client_id'],
    client_secret=creds['client_secret'],
    redirect_url=redirect_url,
    refresh_token=creds['refresh_token'],
)
auth.register_callback_handler(handler=handler)

item = ReceiptItem(
    description = 'Test 123',
    amount= 1234,
    currency = 'GBP',
    tax=123
)

receipt = Receipt(
    auth = auth,
    transaction_id = TRANSACTION_ID,
    external_id = EXTERNAL_ID,
    transaction_total = 1234,
    transaction_currency = 'GBP',
    items=[item]
)

Receipt.create(auth=auth, receipt=receipt)
Receipt.delete(auth=auth, receipt=receipt)

Expected behavior
Receipt to be deleted
Environment (please complete the following information):

Package Version = 0.1.1
Python version = 3.8

Additional context
N/A

As with #42 the reason this is failing Monzo allows you to create a receipt that is inadvertantly invalid. The actual output is:
{"code":"bad_response.marshaling","message":"Failed to marshal proto receipt to DTO","params":{"amount_currency":"GBP","client_id":"xxx","external_id":"ABC123","tax_currency":"","user_id":"xxx"},"retryable":{}}
It appears the created receipt is good enough to show in the Monzo app but not return using the get API or the delete using the Delete API.

The issue seems to be related to creating invalid receipt items, however even after fixing a receipt and being able to fetch it delete does not work, further invetigation ongoing


vue-tsc type check failing with reactivity transform

Hi,
the following code
const { list, containerProps, wrapperProps, wrapperHeight } = $(
  useVirtualList($$(floatingRef), $$(items as ReactiveVariable<T[]>), {
    itemHeight: (i) => items[i].height,
    overscan: 10,
  })
);

is throwing the following error

upon calling vue-tsc --noEmit -p tsconfig.test.json --composite false
Is this a Volar issue? Or perhaps something I did wrong?
In VSCode, these errors are not shown.
When I run the app, everything works flawlessly.
It is just the vue-tsc type check that throws these errors.
Where did the JQuery type mentioned in the error come from? I have no JQuery anywhere in my type definitions as you can see in the code samples above, nor do I have it anywhere else in my project.

Please make sure you have using the same tsconfig with VSCode shows at status bar.


Fix arm/aarch64 URL links

LE11 and older correctly assume all ARM SoC boards are "arm" CPU arch but LE12 now ships "aarch64" images too so the templates need tweaking else the links are wrong. Also exclude WeTek Hub from LE11 as this has proven troublesome with some installs and LE12 because we stopped building it (due to same troubles).
Reported in https://forum.libreelec.tv/thread/28329-libreelec-omega-12-beta1/?postID=189976#post189976

@chewitt the official Raspberry Pi names are eg "Raspberry Pi 5", with a blank between "Pi" and the number


Have you tested dart_sass on WSL2?

Watcher works on Mac, Linux, but fails on WSL2.

The watcher requires a bash script. I do not have a Windows environment for testing so a PR would be very welcome! :)


Maybe for now I should just have the Start screen have 70x70 columns in a VariableSizedWrapGrid or something and have medium tiles be 140x140 and wide tiles be 280x140.

At least that way it should kinda work, even with smaller tiles. Maybe the FluidWrapPanel described here will work and I can use full-size tiles: https://wpfspark.wordpress.com/2016/04/27/dynamic-fluidwrappanel/
Edit: Here's an animation showing stuff being moved around in FluidWrapPanel: https://wpfspark.wordpress.com/2016/07/16/compositionprotoolkit-v0-3/

Now that I'm in QML, I'll move to the TilesGrid instead in DP3.


change location to save

react-native version = "0.55.4"
react-native-html-to-pdf version = "^0.6.0"
i want to change the location to save pdf, is it possible? thanks

How to change th location to save PDF?


Killed bash scripts/train.sh

When I set up the environment and ran train.sh, the error shown below occurred at first.

And, when unset LD_PRELOAD was entered, the error shown in the following picture occurred.

How can this be solved?

Hi, could you give some info about your machine? such as GPU type, GPU memory, memory.
I am wondering whether this is from the not enough memory.

I think both CPU and GPU should be used for the code. For the neural network inference, it is mainly on GPU. But the simulation would use CPU and GPU. For example, the rendering process could use GPU/CPU, and the simulation process mainly uses CPU in mujoco, as far as I know.


[ELASTIC-151] Upgrade base tech to ES 5.6.4

Are there additional steps for upgrading the Elasticsearch service other than

Getting version bump PR merged in the Automattic repo
Pulling from Automattic into our repo
Bumping the service template variable version
Creating new version tag in our repo?

Right now our existing 5.6.4 tag is still pointing to code making use of 5.6.3 right?

Nevermind, just saw this https://github.com/mesosphere/dcos-commons/blob/master/frameworks/elastic/upgrade_base_tech.md


Added Caesar Cipher Algorighm

Caesar Cipher
Added Caesar cipher algorithm using python language.
☑Hacktoberfest
☑Contributor
close #179
Describe the changes you have made
Added Caesar cipher algorithm using python language.

You have 2 PR's in single PR. Kindly correct it. @manthan0227


New resolution matrix implementation

Reimplement enough of desispec.resolution.Resolution to perform matrix-vector operations, which is all we do with it, with a significant speedup via Numba compared to the scipy.sparse implementation.
Retire the old res_emline version of the matrix, which is slower for dot product than either DESI or our new implementation.  Allow conversion on the fly from our new impl to the internal rep used by res_emline, which is used way down in the guts of emline fitting but not otherwise.  Switching away from res_emline for dot products does result in a small change in the output of emline fitting, which propagates to masking.
In passing, implement several small code cleanups that do not impact the results at all, including more efficient storage of some fields in the data dictionary and avoiding a copy in the _stellar_objective().

Thanks @jdbuhler. The fitting code looks good but running fastqa crashes with
[snip]
Traceback (most recent call last):
  File "/global/homes/i/ioannis/code/desihub/fastspecfit/bin/fastqa", line 9, in <module>
    fastqa(comm=None)
  File "/global/homes/i/ioannis/code/desihub/fastspecfit/py/fastspecfit/qa.py", line 1431, in fastqa
    _wrap_qa(redrockfile, indx)
  File "/global/homes/i/ioannis/code/desihub/fastspecfit/py/fastspecfit/qa.py", line 1407, in _wrap_qa
    for _ in mp_pool.starmap(desiqa_one, qaargs): pass
  File "/global/homes/i/ioannis/code/desihub/fastspecfit/py/fastspecfit/util.py", line 97, in apply_to_dict
    return f(**argdict)
  File "/global/homes/i/ioannis/code/desihub/fastspecfit/py/fastspecfit/qa.py", line 25, in desiqa_one
    qa_fastspec(data, sc_data.templates, fastfit, metadata,
  File "/global/homes/i/ioannis/code/desihub/fastspecfit/py/fastspecfit/qa.py", line 432, in qa_fastspec
    _desiemlines = EMFit.emlinemodel_bestfit(fastspec, fastspec['Z'], np.hstack(data['wave']), data['res_emline'],
KeyError: 'res_emline'
[snip]

Can you take a look and push a fix?
Also, can you please update the doc/changes.rst file with info regarding this PR?

I don't think so. There was one place that it needed to be turned off, which we did a couple of weeks ago.
You can do it if you want to see if it makes a big difference.
Jeremy
On Sep 5, 2024 08:08, Moustakas @.***> wrote:
@moustakas commented on this pull request.

In py/fastspecfit/continuum.pyhttps://github.com/desihub/fastspecfit/pull/181#discussion_r1745341849:

@@ -592,7 +589,7 @@ def call_nnls(modelflux, flux, ivar, xparam=None, debug=False,

 @staticmethod

@numba.jit(nopython=True, fastmath=True, nogil=True)

@jit(nopython=True, nogil=True, fastmath=True)
def attenuate(M, A, zfactors, wave, dustflux):

Didn't we want to change fastmath=False here and elsewhere?
—
Reply to this email directly, view it on GitHubhttps://github.com/desihub/fastspecfit/pull/181#pullrequestreview-2282722759, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AH4ORJ4TIYP6CL43E7PP2HTZVBCRTAVCNFSM6AAAAABNQXCNSWVHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMZDEOBSG4ZDENZVHE.
You are receiving this because you were mentioned.Message ID: @.***>

Thanks, @jdbuhler, I'm going to go ahead and merge this and then run on a few 10^4 spectra.


Critical : mongodb hacked

Hello team,
After migrated my database to AWS ec2 server, it was working fine from last few weeks. But today I can see that all the data are deleted.
May be it is attacked by malware or hacked by someone.
Can anyone please help me out? my app is live and people lost their data.
This is really serious problem and I am in a serious pressure.
Please Please Please help me out.
Thanks
Jignesh

I believe this may be related to: http://arstechnica.com/security/2017/01/more-than-10000-online-databases-taken-hostage-by-ransomware-attackers/

I'm not sure how we can help there. Did you have any backup? Hosted on a provider like mlab?

It's still not clear to me from the Ars article or the MongoDB blog post if there is a vulnerability or if these were just unsecured DBs, with weak or no credentials
@jigneshk did you not have a strong password for your db user or do you know what happened?

Probably unprotected / no auth DB's that were deployed on a public port.

relevant response from Mongo https://www.mongodb.com/blog/post/how-to-avoid-a-malicious-attack-that-ransoms-your-data

@ajamaica Setting that or also using bindIp blocks the connection even from my mobile app. How do I fix that?

Be sure your Parse instance is set to localhost if your server is in
another add user base accsess
El 08/01/2017 11:39 a.m., "Siddharth Ramesh"<EMAIL_ADDRESS>escribió:

@ajamaica https://github.com/ajamaica Setting that or also using bindIp
blocks the connection even from my mobile app. How do I fix that?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/ParsePlatform/parse-server/issues/3334#issuecomment-271166031,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AATVFthnIvTnZGgV1kxiNG-A1Ue_1CIrks5rQR9cgaJpZM4LdPJJ
.

@ajamaica I did not get that. Could you elaborate? Some syntax?

My server was also hacked.
I know its security was poor because port 27017 was opened to public and bind_ip was not set.
But, why mongodb was hacked so easily?
It was protected by username and password that were not able to be guessed by the server address.

One thought I had about the data, maybe the hackers didn't drop the oplog? If it's the case, you might be able to get some data back. Have a look in local.oplog.rs...
Even if the oplog hasn't been cleared, it won't be easy to recover from it (it's pretty technical and I can't help with that) but at least it's something that might be useful...

Same problem here, in my case the server is hosted in DO. At least my mongodb only had tests at the moment. It would be nice to have a brief and understandable list of steps to make this safe.
I'm really sorry for those who have been damaged in their app.

Closing this issue as there is nothing that can be done by Parse Server itself.
Feel free to continue the discussion and bring relevant suggestions and links.

Same problem here, about 20k users data were lost.

Some basic things to setup:
# network interfaces
net:
  port: 27017
  bindIp: <IP_ADDRESS>

setParameter:
  failIndexKeyTooLong: false

#processManagement:

security:
  authorization: "enabled"

Start mongod with these options:
mongod --auth --bind_ip <IP_ADDRESS> --fork --logpath /data/db/mongod.log --config /etc/mongod.conf

// In index.js file in your parse server root folder
 databaseURI: 'mongodb://dbUsername:dbPassword@localhost:27017/dbName'

Backup your db daily. Hook up with a provider or use this simple script to backup your db locally everyday.
#!/bin/bash

MONGO_DATABASE="yourDbName"
MONGO_USER="yourDbbUser"
MONGO_PASS="yourDbUserPass"
APP_NAME="yourAppName"

MONGO_HOST="<IP_ADDRESS>"
MONGO_PORT="27017"
TIMESTAMP=`date +%F-%H%M`
# Cross check your path to mongo and mongodump
MONGODUMP_PATH="/usr/bin/mongodump"
BACKUPS_DIR="/home/backups/$APP_NAME"
BACKUP_NAME="$APP_NAME-$TIMESTAMP"

mongo admin --eval "printjson(db.fsyncLock())"
$MONGODUMP_PATH -h $MONGO_HOST:$MONGO_PORT -u $MONGO_USER -p $MONGO_PASS -d $MONGO_DATABASE
mongo admin --eval "printjson(db.fsyncUnlock())"

mkdir -p $BACKUPS_DIR
mv dump $BACKUP_NAME
tar -zcvf $BACKUPS_DIR/$BACKUP_NAME.tgz $BACKUP_NAME
rm -rf $BACKUP_NAME

If the data you are sending over the wire is sensitive then use ssl
Please keep adding more stuff so that the whole parse community is protected.

For me, my mongo database was hacked early this month. I tried to restore the database from my backup (Thanks God, I had a backup on Digital Ocean). But the data was hacked again 3-4 times.
Then I decided to install and enable firewall and setup the firewall to allow only 2 ports: port for client app (default: 1337) and port for dashboard (default: 4040). And the data has not been hacked till now.
I hope firewall is the solution for this kind of ransom hack, but I still wait and see. Hope this gives you an idea to protect your database. Thanks!


tools/istio-clean-iptables: clean up all DNS UDP rules

Fixes https://github.com/istio/istio/issues/30674
Signed-off-by: Kailun Qin<EMAIL_ADDRESS>[ ] Configuration Infrastructure
[ ] Docs
[ ] Installation
[x] Networking
[ ] Performance and Scalability
[ ] Policies and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure
Pull Request Attributes
Please check any characteristics that apply to this pull request.
[ ] Does not have any changes that may affect Istio users.

@kailun-qin: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

release-notes_istio
d60ac383f45c49f756fd3a9a105029e90b36c9d5
link
/test release-notes_istio

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

@kailun-qin: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

release-notes_istio
d60ac383f45c49f756fd3a9a105029e90b36c9d5
link
/test release-notes_istio

lint_istio
d60ac383f45c49f756fd3a9a105029e90b36c9d5
link
/test lint_istio

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

@kailun-qin: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

release-notes_istio
d60ac383f45c49f756fd3a9a105029e90b36c9d5
link
/test release-notes_istio

lint_istio
d60ac383f45c49f756fd3a9a105029e90b36c9d5
link
/test lint_istio

integ-pilot-multicluster-tests_istio
d60ac383f45c49f756fd3a9a105029e90b36c9d5
link
/test integ-pilot-multicluster-tests_istio

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

@kailun-qin: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

lint_istio
d60ac383f45c49f756fd3a9a105029e90b36c9d5
link
/test lint_istio

integ-pilot-multicluster-tests_istio
d60ac383f45c49f756fd3a9a105029e90b36c9d5
link
/test integ-pilot-multicluster-tests_istio

release-notes_istio
bf6fe1aac369a9e9b5e6f460748dee7715f4b662
link
/test release-notes_istio

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

This is great, thanks! A couple comments.

Thanks for the comments!

Do you think we can do this in a more generic way? Or share the code with the creation. My concern is they will fall out of sync (and actually, it already has from a PR changing the iptables code that merged a couple of days ago).

Totally agree. I'll give it a shot.

I was thinking it would be great to have a test that makes sure all combinations of istio-iptables; istio-clean-iptables results in empty table, but I am not sure any easy way to do so without spinning up a docker container and running it. any ideas?

I was thinking about associating w/ tests to make sure the cleanup does correctly and completely for any combination. But I have the same feeling that there is no easy way to add w/o spinning up a docker container. Let's keep this open and see if any further suggestion.

@kailun-qin: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

lint_istio
8c10c8f202c763ae5b33610c062d55218beb3c30
link
/test lint_istio

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

@kailun-qin: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

lint_istio
8c10c8f202c763ae5b33610c062d55218beb3c30
link
/test lint_istio

gencheck_istio
8c10c8f202c763ae5b33610c062d55218beb3c30
link
/test gencheck_istio

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

Updated using the same logic for DNS UDP rule creation and deletion so that they can be kept in sync.
Looking for a more elegant way, but it seems to me it's hard to implement w/o a further refactoring.


iox-#2230 Make exported cmake packages relocateable

Pre-Review Checklist for the PR Author

[ ] Add a second reviewer for complex new features or larger refactorings
[ ] Code follows the coding style of CONTRIBUTING.md
[ ] Tests follow the best practice for testing
[ ] Changelog updated in the unreleased section including API breaking changes
[x] Branch follows the naming format (iox-123-this-is-a-branch)
[x] Commits messages are according to this guideline

[x] Commit messages have the issue ID (iox-#123 commit text)
[x] Commit author matches Eclipse Contributor Agreement (and ECA is signed)

[ ] Update the PR title

Follow the same conventions as for commit messages
Link to the relevant issue

[ ] Relevant issues are linked
[ ] Add sensible notes for the reviewer
[ ] All checks have passed (except task-list-completed)
[ ] All touched (C/C++) source code files from iceoryx_hoofs are added to ./clang-tidy-diff-scans.txt
[ ] Assign PR to reviewer

Notes for Reviewer

Checklist for the PR Reviewer

[ ] Commits are properly organized and messages are according to the guideline
[ ] Code according to our coding style and naming conventions
[ ] Unit tests have been written for new behavior
[ ] Public API changes are documented via doxygen
[ ] Copyright owner are updated in the changed files
[ ] All touched (C/C++) source code files from iceoryx_hoofs have been added to ./clang-tidy-diff-scans.txt
[ ] PR title describes the changes

Post-review Checklist for the PR Author

[ ] All open points are addressed and tracked via issues

References

Closes #2230

It seems the PR breaks the out of tree builds. Maybe cmake does not find it anymore. Is the actual install location changed?

@elBoberido I have tested again on Ubuntu, the installation directory is per default still /usr/local or whatever is specified with -DCMAKE_INSTALL_PREFIX

@lms-ts can you successfully run tools/iceoryx_build_test.sh clean out-of-tree

@elBoberido Thanks for the int. No, it fails with
CMake Error at CMakeLists.txt:26 (include):
  include could not find requested file:

    IceoryxPackageHelper

CMake Error at CMakeLists.txt:27 (include):
  include could not find requested file:

    IceoryxPlatform

CMake Error at CMakeLists.txt:28 (include):
  include could not find requested file:

    IceoryxPlatformSettings

CMake Error at CMakeLists.txt:30 (iox_add_executable):
  Unknown CMake command "iox_add_executable".

I will try to fix that tomorrow.

@elBoberido iceoryxplatformConfig.cmake (which is in the same folder as iceoryx_platformTargets.cmake) is called when using find_package(iceoryx_platform CONFIG REQUIRED) and CMAKE_CURRENT_LIST_DIR is the current location of iceoryxplatformConfig.cmake where the modules reside which are included by include(). So if the installation is relocated, CMAKE_CURRENT_LIST_DIR will change accordingly.

Right. Totally forgot that it will only be executed in the out ot tree build.
Thanks for your contributions


the line disappears when dragging dots using touch (small devices)

Sorry, I'm really busy right now. If you got some time on your hands, here is a Stackoverflow post describing on how Touchscreen support can be implemented. I would appreciate if you did a PR then, if not I'll get back to this once there is some free time

Added a PR to fix this

Thanks @alanbithell for the PR! Just merged it into master


Added error handling for limits of byte-oriented command line args

Closes #1464

Fails CI at the moment!

Fails CI at the moment!

...right about the same time I pushed the fix :)

Now just need to resolve the conflict...


Significant performance issue with simde_mm256_round_ps

Hi there,
I've run into fairly severe performance issues using SIMDE AVX intrinsics when targeting SSE on MSVC. The current issue being raised here is from code that uses simde_mm256_floor_ps() (which calls simde_mm256_round_ps) inside of the innermost loop.
My expectation would be that simde_mm256_round_ps would crack the 256bit value into two 128bit halves and send each to simde_mm_round_ps. When targeting SSE 4.1, this would then produce efficient single-op code on 128bit halves.
And it appears when SSE4.1 is defined on Clang/GCC, this is what happens. MSVC does not do well however.
Here is a link showing lousy codegen on MSVC:
https://godbolt.org/z/6Ezqrj56s
Although MSVC appears to autovectorize this, it does so with significant overhead compared to the expected two-instruction result, which trashes the inner loop performance my code counts on.
The major cause appears to be :

The expected performant fallback code within simde__mm256_round_ps is gated by a "defined(SIMDE_STATEMENT_EXPR_)", which does not appear to get defined on MSVC? To be honest I'm not fully up to speed on the preprocessor machinery used within SIMDe and the operation of the statement expression components above. It appears to be a way to work around for the fact that the native intrinsic only accepts a constexpr expression. I'm a C++ guy, I'm used to templates for this kind of thing ;)

MSVC provides no way to specify SSE 4.1 instead of SSE2 baseline, which means that simde_mm_round_ps would be severely pessimized even if it got called ;) This can be worked around by forcing the SSE arch with a define however.

I will be fixing this for my own purposes, and I'd like to do so in a way that would allow the work to be contributed back, which means figuring out the preprocessor machinery here and why its not enabled for MSVC. Any help would be appreciated!

The expected performant fallback code within simde__mm256_round_ps is gated by a "defined(SIMDE_STATEMENT_EXPR_)", which does not appear to get defined on MSVC?

Yeah, the challenge with the simde_mm_round_ps is that it has a const parameter, so we can't call it from another function using a non-const value.
Almost all compiler allow us to #define an expression using the (__extension__ …) syntax, except for MSVC
https://github.com/simd-everywhere/simde/blob/99ac62baab846bf26908e8ab22ba4a9036b90a9c/simde/simde-common.h#L202-L212
Perhaps there could be a workaround using the SIMDE_CONSTIFY_16_  from simde/simde-constify.h ?


GraphQL Tutorial

Check this out: https://learngraphql.com/basics/introduction

Also, intro video:
https://www.youtube.com/watch?v=WQLzZf34FJ8

https://dev-blog.apollodata.com/navigating-your-transition-to-graphql-28a4dfa3acfb#.yite5of4t

Official Getting Started Page:
http://graphql.org/code/

Awesome!
https://www.youtube.com/watch?v=UBGzsb2UkeY


Add Hybrid transport support

Add support for "hybrid" authenticator transport (W3C Spec: https://github.com/w3c/webauthn/pull/1755)
"hybrid" transport is needed to use smartphones as a security key for client platforms like PC.
Addresses #665

Thanks! This should fix my second point in #2559

To resolve failed tests, another pull-request is created: https://github.com/eclipse-vertx/vertx-auth/pull/672

Rebased to pull https://github.com/eclipse-vertx/vertx-auth/pull/672 changes

@vietj or @tsegismont can we get this moving please?


Copy configs tweak

This PR does a couple of things, mostly for housekeeping:

it adds the missing copy configs to config/environments/staging.js.example
it sets the default COPY_FROM_MAX_POST_SIZE to exactly 2 GB.

It was previously set to 1.99 GB (0.5 % error, a small lie) in order to be able to report a meaningful error to the client, instead of having nginx report a different more obscure error.
Now the nginx limitation is removed for that endpoint, so it gives us the flexibility of modifying this limit at app level (chances are in a future it will be overridable by user).

related to https://github.com/CartoDB/cartodb-platform/issues/4765


Deleting sites in a "Noninteractive" mode

Is there no way to remove a site without prompting the user for confirmation?

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

ID: e199f48a-be4c-9a29-99dc-94324a3860ba
Version Independent ID: 513fd12f-da8d-ab94-cc8d-50a97e327fe0
Content: Remove-IISSite (iisadministration)
Content Source: docset/windows/iisadministration/remove-iissite.md
Product: w10
GitHub Login: @coreyp-at-msft
Microsoft Alias: brianlic

Try Remove-IISSite -Confirm:$False

@officedocsbot unassign @e0i
@officedocsbot assign @yogkumgit

Hello @Rychard thanks for your feedback.
As @AndyP2 said, you can achieve that passing a $false to Confirm parameter, as I could test too.
Thank you

@get-itips  Thank you very much for the contribution and sharing this explanation. @Rychard
Hope this comment is helpful for you. Thanks for taking out some time to open the issue. Appreciate and encourage you to do the same in future also.

@officedocsbot close


Lost the "Visual" in Visual Studio

I'm just curious why the command prompt is used to create folders/projects etc.  Have we regressed into the DOS era?  Can't this be done inside a GUI?  Wouldn't a friendly UX lower the bar for new developers and be considered a universally good thing?

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

ID: 2b677fc7-67a6-ef2f-21ee-cdffddeaac66
Version Independent ID: b84bbc11-059d-26d1-e693-2d34dbff4af5
Content: Build a Blazor todo list app
Content Source: aspnetcore/tutorials/build-a-blazor-app.md
Product: aspnet-core
Technology: aspnetcore-tutorials
GitHub Login: @guardrex
Microsoft Alias: riande

Hello @fudanchu ... You're welcome to use any IDE that you like ... VS, VS4Mac, VSCode, but given that .NET is xplat even beyond what those IDEs support, CLI makes the tutorial the most widely accessible.
WRT "lower the bar" ... VS and other IDEs have a (small) learning curve to get started. For example, there's the install/upgrade steps to contend with. Also, the UIs of these IDEs have a learning curve. The CLI comes in the SDK, so one only needs to get the SDK installed and open a command shell to get started. Management wanted to keep this experience ultra simple.

Thanks for the explanation!


Allow Modifying Transaction in Dry Run and Other Improvements

Summary of Changes

.github/workflows/build.yml + Makefile:

allow testing and running jupyter notebooks

graviton/blackbox.py:

pass mypy
allow specifying transaction params into dry-runs

graviton/dryrun.py:

pass mypy

graviton/deprecated_dry_run.py: new module that contains functionality mostly used by the now deprecated DryRunTestCaseMixin
graviton/deprecated_dryrun_mixin.py: where the now deprecated DryRunTestCaseMixin is defined
graviton/dryrun.py:

refactor to keep only the most useful portions of the original helper
make mypy pass
allow specifying transaction parameters
pprint() now returns a string, in addition to printing

graviton/invariant.py:  make mypy pass
graviton/models.py: new module that contains lightweight models such as the App and LSig dataclasses
mypy.ini: needed by mypy
notebooks: new directory for Jupyter notebooks. It contains:

IMAGES.md: a static file that shows examples of 3D graphs of dry-runs
notebooks/notebooks_test.ipynb: explains how to test notebooks with pytest
notebooks/quadratic_factoring_game.ipynb: Blackbox demo

setup.py: new Jupyter notebooks requirements, and declaration for receiving projects that this package is typed
tests/integration/algod_test.py: separate out the test that algod is alive and well into a seperate integration test, for easier debugging
tests/integration/algod_test.py: small refactoring, mostly for mypy
tests/integration/dryrun_mixin_docs_test.py: refactoring mostly due to deprecations
tests/integration/lsig_test.py: New logic sig only test. THIS NEEDS A CLEANUP.

adding pytest-xdist for faster integration testing.


Ord index update got an error.

 index   update
thread 'main' panicked at 'assertion failed: `(left == right)`
  left: `1`,
 right: `0`', /home/xxx/.cargo/registry/src/index.crates.io-6f17d22bba15001f/redb-1.2.0/src/tree_store/page_store/region.rs:312:9
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

Suddenly got this error, any tips on how to fix it? Thanks!

Which version of ord? This was an error in the past but we fixed it

the same issue with ord 0.14.0, redb 1.4.0


Functions With No Access Modifier Are Omitted

I had a function I was searching for but it was not on the map.  This is a aspx.cs file with regions.  Inside the region were 5 functions.  The 3rd and 4th functions had no access modifier:
void _GridQuotes_RowDataBoundSubItems(object sender, GridViewRowEventArgs e)
Even once I located the function w/o the map I clicked the refresh button, changed files and came back, and it did not appear.
Once I added protected to the function and hit refresh it came up on the map straight away.

Sorry i am unable to reproduce this:

Do have a more complete piece of code that I can use to reproduce this?


Update README.md to document usage in marimo

Let quak users know how they can use quak in marimo.

Nice! Do you have any badge or link to open the example in marimo playground?

Just tried, but it looks like pyarrow is not yet supported on Pyodide.
Maybe soon though? https://github.com/pyodide/pyodide/pull/4950

ahhh right, @kylebarron ... would this be an area where py03-arrow could help out? or does duckdb rely on pyarrow internally?

duckdb is in fact now available in Pyodide; Polars still isn't, though.

Right. Polars would need quite a few architectural changes to support pyodide. I explored this a while ago: https://github.com/pola-rs/polars/issues/3672#issuecomment-1188641190


Fix vitest not reloading JS files

Seems like we also need a vitest.config.ts at the root of the workspace to override the watchExclude setting otherwise dist and node_modules are still excluded and everytime require a refresh of the vitest UI or restarting the watch. Only thing that was working is if you modified the test files or modified imported files directly from the test

:x: There is undocummented changes. Run chronus add to add a changeset or click here.
The following packages have changes but are not documented.

:x:@typespec/openapi3

Show changes


Add uniswap-v2-sql

Can you attach a screenshot of the transformed data? How are you validating the results?

We can validate the models using the Postgres web UI


Broken ipv6 hostPorts with cilium 1.14

Is there an existing issue for this?

[X] I have searched the existing issues

What happened?
When I upgraded to Cilium 1.14 all my external ipv6 connectivity broke.
(I use hostports to map 80 and 443 to a Traefik Daemonset because the cluster nodes are not in the same networks and there are no load balancers available.)
Cilium Version
1.14.0 & 1.14.1
Kernel Version
Linux k8s-1 5.15.0-78-generic #85-Ubuntu SMP Fri Jul 7 15:25:09 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Kubernetes Version
Client Version: version.Info{Major:"1", Minor:"27", GitVersion:"v1.27.4", GitCommit:"fa3d7990104d7c1f16943a67f11b154b71f6a132", GitTreeState:"clean", BuildDate:"2023-07-19T12:20:54Z", GoVersion:"go1.20.6", Compiler:"gc", Platform:"linux/amd64"}
Kustomize Version: v5.0.1
Server Version: version.Info{Major:"1", Minor:"27", GitVersion:"v1.27.4", GitCommit:"fa3d7990104d7c1f16943a67f11b154b71f6a132", GitTreeState:"clean", BuildDate:"2023-07-19T12:14:49Z", GoVersion:"go1.20.6", Compiler:"gc", Platform:"linux/amd64"}
Sysdump
No response
Relevant log output
The nodes do seem to recognize the ip adresses in the bpf lb table

kubectl exec -ti -n kube-system cilium-2cdxp -- cilium bpf lb list | grep HostPort
Defaulted container "cilium-agent" out of: cilium-agent, config (init), mount-cgroup (init), apply-sysctl-overwrites (init), mount-bpf-fs (init), clean-cilium-state (init), install-cni-binaries (init)
                                              [::]:0 (431) (0) [HostPort, non-routable]
[fdd3:a7d6:38c5::9]:80                        [::]:0 (424) (0) [HostPort]
[fdd3:a7d6:38c5::9]:8080                      [::]:0 (418) (0) [HostPort]
<IP_ADDRESS>:8080                                  <IP_ADDRESS>:0 (416) (0) [HostPort, non-routable]
<IP_ADDRESS>:80                             <IP_ADDRESS>:0 (420) (0) [HostPort]
                                              <IP_ADDRESS>:0 (422) (0) [HostPort, non-routable]
                                              <IP_ADDRESS>:0 (427) (0) [HostPort]
                                              <IP_ADDRESS>:0 (415) (0) [HostPort]
[2a05:f080:0:8ff:3075:39ff:fea6:33dc]:8080    [::]:0 (417) (0) [HostPort]
[2a05:f080:0:8ff:3075:39ff:fea6:33dc]:80      [::]:0 (423) (0) [HostPort]
[::]:80                                       [::]:0 (425) (0) [HostPort, non-routable]
<IP_ADDRESS>:80                                 <IP_ADDRESS>:0 (421) (0) [HostPort]
<IP_ADDRESS>:443                                   <IP_ADDRESS>:0 (428) (0) [HostPort, non-routable]
<IP_ADDRESS>:8080                           <IP_ADDRESS>:0 (414) (0) [HostPort]
<IP_ADDRESS>:443                                <IP_ADDRESS>:0 (426) (0) [HostPort]
                                              [::]:0 (419) (0) [HostPort, non-routable]
[2a05:f080:0:8ff:3075:39ff:fea6:33dc]:443     [::]:0 (430) (0) [HostPort]
                                              [::]:0 (429) (0) [HostPort]

The node is unfortunately not responding on any of the opened ports :disappointed:

I’m getting generic timeouts:
curl https://[2a05:f080:0:8ff:3075:39ff:fea6:33dc] -vk
*   Trying 2a05:f080:0:8ff:3075:39ff:fea6:33dc:443...
* TCP_NODELAY set
* connect to 2a05:f080:0:8ff:3075:39ff:fea6:33dc port 443 failed: Connection timed out
* Failed to connect to 2a05:f080:0:8ff:3075:39ff:fea6:33dc port 443: Connection timed out
* Closing connection 0
curl: (28) Failed to connect to 2a05:f080:0:8ff:3075:39ff:fea6:33dc port 443: Connection timed out

Oscar Wieman
  14 hours ago
The session is visible in the connection tracking table. But it is just a few bytes (no packets?)

keti -n kube-system cilium-2cdxp -- cilium bpf ct ls global | grep 2a05:f080:0:8ff:141a:deff:fe9e:4ac6

Defaulted container "cilium-agent" out of: cilium-agent, config (init), mount-cgroup (init), apply-sysctl-overwrites (init), mount-bpf-fs (init), clean-cilium-state (init), install-cni-binaries (init)
TCP OUT 2a05:f080:0:8ff:3075:39ff:fea6:33dc:80 -> 2a05:f080:0:8ff:141a:deff:fe9e:4ac6:33888 service expires=1031959 RxPackets=0 RxBytes=2179 RxFlagsSeen=0x00 LastRxReport=0 TxPackets=0 TxBytes=0 TxFlagsSeen=0x02 LastTxReport=1031898 Flags=0x0000 [ ] RevNAT=423 SourceSecurityID=0 IfIndex=0
TCP IN 2a05:f080:0:8ff:141a:deff:fe9e:4ac6:59370 -> fd00::349:8443 expires=1032065 RxPackets=7 RxBytes=658 RxFlagsSeen=0x02 LastRxReport=1031974 TxPackets=17 TxBytes=1598 TxFlagsSeen=0x12 LastTxReport=1032005 Flags=0x0020 [ NodePort ] RevNAT=0 SourceSecurityID=2 IfIndex=0
TCP IN 2a05:f080:0:8ff:141a:deff:fe9e:4ac6:33888 -> fd00::349:8000 expires=1031990 RxPackets=2 RxBytes=188 RxFlagsSeen=0x02 LastRxReport=1031898 TxPackets=7 TxBytes=658 TxFlagsSeen=0x12 LastTxReport=1031930 Flags=0x0020 [ NodePort ] RevNAT=0 SourceSecurityID=2 IfIndex=0
TCP OUT 2a05:f080:0:8ff:3075:39ff:fea6:33dc:443 -> 2a05:f080:0:8ff:141a:deff:fe9e:4ac6:59370 service expires=1032034 RxPackets=0 RxBytes=2181 RxFlagsSeen=0x00 LastRxReport=0 TxPackets=0 TxBytes=0 TxFlagsSeen=0x02 LastTxReport=1031974 Flags=0x0000 [ ] RevNAT=430 SourceSecurityID=0 IfIndex=0
TCP OUT 2a05:f080:0:8ff:141a:deff:fe9e:4ac6:33888 -> fd00::349:8000 expires=1031990 RxPackets=7 RxBytes=658 RxFlagsSeen=0x12 LastRxReport=1031930 TxPackets=2 TxBytes=188 TxFlagsSeen=0x02 LastTxReport=1031898 Flags=0x0020 [ NodePort ] RevNAT=423 SourceSecurityID=2 IfIndex=2
TCP OUT 2a05:f080:0:8ff:141a:deff:fe9e:4ac6:59370 -> fd00::349:8443 expires=1032065 RxPackets=17 RxBytes=1598 RxFlagsSeen=0x12 LastRxReport=1032005 TxPackets=7 TxBytes=658 TxFlagsSeen=0x02 LastTxReport=1031974 Flags=0x0020 [ NodePort ] RevNAT=430 SourceSecurityID=2 IfIndex=2
ICMPv6 IN 2a05:f080:0:8ff:141a:deff:fe9e:4ac6:0 -> fd00::349:0 related expires=1031970 RxPackets=1 RxBytes=94 RxFlagsSeen=0x02 LastRxReport=1031910 TxPackets=0 TxBytes=0 TxFlagsSeen=0x00 LastTxReport=0 Flags=0x0030 [ SeenNonSyn NodePort ] RevNAT=0 SourceSecurityID=2 IfIndex=0

Anything else?
The Cilium sysdump is to big for Gitlab, contact me if anyone needs it.
Code of Conduct

[X] I agree to follow this project's Code of Conduct

More info about the setup: https://github.com/bierteam/uber-kubernetes#architecture
The config: https://github.com/bierteam/uber-kubernetes/blob/main/argocd-managed/cilium/values.yaml

It might be related to #23445

Cc @jschwinger233 do you have a chance to take a look? Might be potential regression.

Cc @jschwinger233 do you have a chance to take a look? Might be potential regression.

No problem, will do.

I have the feeling - at least in my ipv6 home network - the cilium_host ipv6 change broke the ipv6 connectivity between and out of pods. I'm using native routing and autoDirectNodeRoutes: true. In cilium 1.13.6 and below everything works as expected. After upgrading, I can't ping the ipv6 gateway address from inside a pod.
I'm using a setup similar to https://yolops.net/k8s-dualstack-cilium.html

Hi @dedene, we are experiencing a somewhat similar issue with 1.14 in #26886
Would you mind checking if the mentioned workaround fixes your issue, as well? Either by building the patched image yourself (see https://github.com/cilium/cilium/issues/26886#issuecomment-1642225061 for details), or by using the image I've built and we're using in our staging clusters right now: https://github.com/users/Hayajiro/packages/container/cilium%2Fcilium/114981313?tag=v1.14.0
Haven't built the patched version of 1.14.1 or newer yet, as I've been out of office recently.

Can't reproduce.
My steps:
# 1. kind setup. ./contrib/scripts/kind.sh is under the github.com/cilium/cilium
./contrib/scripts/kind.sh "" 3 "" "" "iptables" dual

# 2. install cilium 1.14.0, using exactly same config as https://github.com/bierteam/uber-kubernetes/blob/main/argocd-managed/cilium/values.yaml
helm install cilium cilium/cilium --version 1.14.0 --namespace kube-system --set hubble.enabled=false --set ipv4.enabled=true --set ipv6.enabled=true --set kubeProxyReplacement=strict --set hostPort.enabled=true

# 3. wait until cilium turns healthy
cilium status --wait

# 4. create hostport pods
cat > hostport.yaml <<EOF
apiVersion: apps/v1
kind: Deployment
metadata:
  name: simpleserver2
spec:
  selector:
    matchLabels:
      run: simpleserver2
  replicas: 2
  template:
    metadata:
      labels:
        run: simpleserver2
    spec:
      containers:
      - name: simpleserver2
        image: python:3
        command: ["python"]
        args: ["-mhttp.server", "-b::", "80"]
        ports:
        - containerPort: 80
          hostPort: 8000
EOF
kubectl create -f hostport.yaml

# 5. check cilium lb
kubectl -n kube-system exec -it $(ciliumat kind-worker) -- cilium bpf lb list
# SERVICE ADDRESS       BACKEND ADDRESS (REVNAT_ID) (SLOT)
# <IP_ADDRESS>:9153       <IP_ADDRESS>:9153 (3) (2)
#                       <IP_ADDRESS>:0 (3) (0) [ClusterIP, non-routable]
#                       <IP_ADDRESS>:9153 (3) (1)
# <IP_ADDRESS>:8000          <IP_ADDRESS>:80 (5) (1)
#                       <IP_ADDRESS>:0 (5) (0) [HostPort, non-routable]
# <IP_ADDRESS>:443         <IP_ADDRESS>:0 (1) (0) [ClusterIP, non-routable]
#                       <IP_ADDRESS>:6443 (1) (1)
# <IP_ADDRESS>:53         <IP_ADDRESS>:53 (2) (1)
#                       <IP_ADDRESS>:53 (2) (2)
#                       <IP_ADDRESS>:0 (2) (0) [ClusterIP, non-routable]
# [fc00:c111::3]:8000   [fd00::209]:80 (6) (1)
#                       [::]:0 (6) (0) [HostPort]
# [::]:8000             [fd00::209]:80 (7) (1)
#                       [::]:0 (7) (0) [HostPort, non-routable]
# <IP_ADDRESS>:8000       <IP_ADDRESS>:0 (4) (0) [HostPort]
#                       <IP_ADDRESS>:80 (4) (1)

# 6. check ipv6 hostport connectivity
curl [fc00:c111::3]:8000
# success

However, I noticed your ipv6 hostport became broken after upgrading from 1.13 to 1.14. Let me re-reproduce by following your steps: create hostport on 1.13 then upgrade to 1.14.

I have the feeling - at least in my ipv6 home network - the cilium_host ipv6 change broke the ipv6 connectivity between and out of pods. I'm using native routing and autoDirectNodeRoutes: true. In cilium 1.13.6 and below everything works as expected. After upgrading to 1.14.x, I can't ping the ipv6 gateway address from inside a pod.
I'm using a setup similar to https://yolops.net/k8s-dualstack-cilium.html

This is probably related to #27898.

@oscrx We've finally made some progress on https://github.com/cilium/cilium/issues/27898, which should be fixed by https://github.com/cilium/cilium/pull/28417. Would you be able to test if this fixes your nodeport connectivity issue as well? I can't quite infer from the logs you posted if you could be affected.
Alternatively, I'd still be interested in that sysdump if you still have it. There's an argument you can use to limit it to affected nodes only. For this case in particular, I'm interested in your node_config.h (please don't censor any DEFINE_IPV6 statements, this matters!) and any bpf_*.o contained in the sysdump.
Note that it's possible for some nodes to be affected and not others, depending on the prefix assigned by your ISP/cloud provider and depending on how you've sliced up the IP space between your nodes.

Small observation: if a SLAAC address ends up as HOST_IP or ROUTER_IP (it's not clear to me exactly how we populate these), the 13th byte of the address will be fe, triggering the Heisenbug fixed by https://github.com/cilium/cilium/pull/28417.
I'm aiming to get this fix into 1.14.3 releasing ~next week, so you could wait for the release to drop before you attempt to upgrade again.

Small observation: if a SLAAC address ends up as HOST_IP or ROUTER_IP (it's not clear to me exactly how we populate these), the 13th byte of the address will be fe, triggering the Heisenbug fixed by https://github.com/cilium/cilium/pull/28417.
I'm aiming to get this fix into 1.14.3 releasing ~next week, so you could wait for the release to drop before you attempt to upgrade again.

Not really relevant to this issue but as slaac was mentioned here, I'm gonna reply here despite my issue being a different one.
My nodes do get the address via SLAAC, but will need to test..

Hey @ti-mo, thanks for looking into this issue. I've found the sysdump and send a download link to you by email (uncencored)
I've been quite busy the past couple weeks but I try to be available for anything required. Just let me know!

Thanks @oscrx! I took a look at your sysdump, but unfortunately the issue fixed by https://github.com/cilium/cilium/pull/28417 didn't seem to manifest here.
Still recommending to try an upgrade to 1.14.3 when it comes out. Please report back if you have the time. Will keep this issue open for now.

Excuse me, I totally forgot about this one.
In the meantime Renovate upgraded my cluster to 1.14.4 and everything is working like a charm again!
Thanks everyone!

@oscrx Thanks for the confirmation!


fix #88, account for aliases between arguments

Codecov Report

Merging #89 (a86060b) into master (3fd1f49) will increase coverage by 0.72%.
The diff coverage is 98.33%.

@@            Coverage Diff             @@
##           master      #89      +/-   ##
==========================================
+ Coverage   77.91%   78.63%   +0.72%
==========================================
  Files           3        3
  Lines        1218     1264      +46
==========================================
+ Hits          949      994      +45
- Misses        269      270       +1

Impacted Files
Coverage Δ

src/EscapeAnalysis.jl
85.15% <98.33%> (+0.57%)
:arrow_up:

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 3fd1f49...a86060b. Read the comment docs.


The Status API may return information before the capture is ready

Bug Report
Please answer these questions before submitting your issue. Thanks!

What did you do? If possible, provide a recipe for reproducing the error.

access /status API.

What did you expect to see?

Return the info message when capture is ready (register the info to etcd).

What did you see instead?

The info information for capture is returned directly, which does not ensure that the information is registered.

 It has been fix in > v6.1.0.


advanced: Suppress local echo until narrows complete.

This is probably an issue that @timabbott will assign to somebody with some expertise on our narrowing codepath.
When we narrow to a topic, it's possible we haven't fetched all records from the server, and if that's the case, we generally want to suppress local echo and drop incoming message events on the floor, since they're gonna be out of order and probably offscreen anyway, and we generally are about to get more messages from message_fetch.load_messages_for_narrow.
The only quirk in this is that even though the server is "behind", we may have enough messages in our local cache (basically message_list.all) that we were able to advance the user to the actual last message in the feed.  And then if we suppress local echo and/or drop messages on the floor, it's basically a bug.  (The user can jiggle the scrollbar to trigger a new fetch, but it's a super confusing experience.)
The basic problem here is that when you narrow, this sequence can happen:

you pre-populate the message list w/local messages that you know about that match the narrow
you ask the server for the definitive list (which can include edge case messages like messages that happened when you were unsubscribed)
you advance the pointer to the first unread message
the server responds with messages matching the original anchor, and it correctly tells you it has more messages to fetch
we don't fetch new messages until you scroll to the bottom
the user sends a message, and if we had logic in place to suppress local echo, we'd think we're behind when we're really caught up (at least onscreen)

The solutions here are probably one of the below (or perhaps a hybrid):

do a second fetch if we advance the pointer
make the first fetch more aggressive if our local knowledge indicates more than 50 messages will match the narrow
advance the pointer forward before setting the anchor for the first fetch
make our scrolling-based triggers for fetching be more aggressive

In some ways the title of this issue is misleading, because it's not so much that we want to suppress local echos here, it's more that we want to ensure the integrity of our onscreen data when we narrow.  But the title kind of reflects the history here.

@timabbott and I are now leaning toward a solution like this:
if (sub.active && all_msg_list.min_id > sub.max_message_id_at_last_subscribe) {
   # render locally from `all_msg_list`
} else {
   # just go to server
}

The JS side is easy conceptually--if we know we've been subscribed for a "long time" (as defined by the code above), then we don't need to have the server give us data.  We'll have it all locally.
And then the main effort is to populate Subscription.max_message_id_at_last_subscribe when we subscribe folks to streams.

I guess an additional thought is that we probably can populate the initial values of Subscription.max_message_id_at_least_subscribe in a migration using RealmAuditLog, to let us do this correctly for pre-existing subscriptions.
zerver/migrations/0093_subscription_event_log_backfill.py means that we have something in that table for all subscriptions in RealmAuditLog.  The only tricky thing is that for backfilled entries, event_last_message_id  is 0

I think this issue discussion was written before we implemented fetch_status.  Now that we have fetch_status, I think perhaps the right fix for this is just to check if fetch_status.has_found_newest in try_deliver_locally or similar, and not doing it if it returns false?


Anydesk link doesn't work

Anydesk download doesn't work.
Installing 'anydesk' (7.0.6) [64bit]
Host sconosciuto. (download.anydesk.com:443)
URL https://download.anydesk.com/AnyDesk.exe is not valid

Working now

Still doesn't work for me

Probably geoblocked in your region?

No, it isn't, I'm from Italy

Does it work in web browser?

The website works,
https://download.anydesk.com/AnyDesk.exe doesn't

I tryed with a vps and anydesk has been correctly installed with scoop, but I don't know why, the website works without the vps too

I am able to install it without any VPN

(Region: India)


do not replace <IP_ADDRESS> by 127.X

@metcalfc this should fix your issue

Tested this. Its close. But instead of <IP_ADDRESS> we need it to resolve to the IP of the hostname.

@metcalfc we are resolving the hostname to get the IP here: https://github.com/docker/swarm/blob/master/cluster/node.go#L64
With your setup, the IP resolved is <IP_ADDRESS>, which is worst than <IP_ADDRESS> so we don't replace it.


[DIR-716] remove revision from the instance list

As the api will no longer provide the revision at the instance endpoint (as: "workflow:latest changed to as: "workflow) we need to remove the column.
This also makes the code a lot cleaner since we now always link to the latest revision.
I have adjusted the e2e tests, but without running them. It would be great if @sebxian could run the tests locally against an api that doesn't require an api token.

@stefan-kracht,
I updated the playwright version (the VSCode extension required this for feature compatibility) and that actually (a) seems to have made the tests a bit more stable and (b) makes error reporting more accurate when I run the tests in VSCode.
After yarning to apply the update, this also requires to perform npx playwright install again to download updated browsers.
I fixed some issues in the tests, now we are only left with one test assertion with the message save button should be disabled during the api call, this occurs in two tests. Do you have an idea what could be wrong?
One thing I wanted to note: It is very important we avoid using faker.git.shortSha() or any such thing for creating filenames in the future. The backend doesn't accept filenames that start with a number, which can randomly happen with shortSha(). In that case, the tests fail. I suspect that is one reason behind some of our flaky tests.

Thank you Sebastian. I checked the test you updated, and it looks good to me. There was a change in this field on the api which requires to remove the / in that test.

I tried to enable playwright in CI but it did not work right away (I have set the new env var in github). I will merge for now and will investigate this in a separate PR.


support for backwards

Do we have any plan to support backwards ?
Problem:  Assume that  we allow user to repay the order instead of creating a new order when user choose to refund before confirm-receipt,  it can handle confirm-recepit event and go to send-bill again.
But it can't handle the next flow becasue of some event had already trigged.  I can't clear or reset the processInfo either.
The order repay flow may sound weird, but it's common for me to desigin flows like that.
I'm trying to design a workflow that user can handle an event then supervisor recheck it.
If the event handled before has some wrong, the supervisor can turn the flow to previous flow again. so that the previous user can handle it again until the supervisor recheck pass.
At now, I can't archive this goal graceful without backwards support.
Do you have some suggestions?

Hi @lastchiliarch
if I got you right, then you want to go backward, like in a loop?
I mean basically, what does this loop BPMN shown below?
That is likely not supported in the current version ... but I will think about, how to implement it 👍
Thank you for your feedback.
Also, PRs are always welcome :)

Yes,  that's what i want.   I'm new to bpmn so the implement is diffcult for me . But I'd like to help doing a part of job of this one or anything I can.

Hi @lastchiliarch
I've implemented a test, that show "backwards" works in this simple loop example above.
See https://github.com/nitram509/lib-bpmn-engine/blob/532d2d18be8253b71d643fabd679d48e2170076a/pkg/bpmn_engine/engine_jobs_test.go#L23

I re-read your initial post and I have to admit, I don't understand your business requirement.
What I can say, BPMN does not support "reset" == if you design some condition after the "confirm receipt",
the bpmn flow will continue a second round.
This is likeley not what you want in business, I guess.
I would rather suggest, to model a separate BPMN process for refunding.
A typical refind process could look like:

find existing order process
cancel existing order process (lib-bpmn-engine does not support cancelling yet, but BPMN itself is desgined for that)
validate refund conditions
subtract refund fees
make payment order, so the user gets its money back

The benefit of having two processes are

more transparency, what was happen, when you "link" the processes by their keys
easier to understand
easier to distribute

How does this resonate with you?

Got your point ... there seems to be another bug, working on it.

Hi siconghuang,
I did just a minute ago post some fixes, which were still present, for the bug mentioned above.
I did some modifications as well, to make the code + BPMN more simple.

IF there's just a single intermediate message catch event in the flow, you don't need a event gateway in front neither an exclusive gateway afterward
you should not send events from inside a service task

that might be technically possible, but is not necessary code, the engine does the process execution for you
it's very difficult to read/understand such code

from your example, I think it would be more convenient to have the #41 implemented, BUT as you can see, the "validate supervisor result" task takes care of updating the proper variable within the instance.

import (
	"fmt"
	"github.com/corbym/gocrest/is"
	"github.com/corbym/gocrest/then"
	"github.com/nitram509/lib-bpmn-engine/pkg/bpmn_engine"
	"github.com/nitram509/lib-bpmn-engine/pkg/spec/BPMN20/process_instance"
	"log"
	"testing"
)

var (
	bpmnEngine = bpmn_engine.New("auth_apply")
	process    *bpmn_engine.ProcessInfo
	instance   *bpmn_engine.ProcessInstanceInfo
)

// these test-* variables do mimic/simulate external events or manual actions
var testAuditAttempt = 0

const BEIJING = "Beijing"
const LONDON = "London"

func Test_apply_auth_loop(t *testing.T) {
	// setup
	var err error
	process, err = bpmnEngine.LoadFromFile("auth_apply.bpmn")
	bpmnEngine.AddTaskHandler("apply_auth", applyAuth)
	bpmnEngine.AddTaskHandler("audit", audit)
	bpmnEngine.AddTaskHandler("notify_supervisor", notifySupervisor)
	bpmnEngine.AddTaskHandler("validate_supervisor_result", validateSupervisorResult)
	bpmnEngine.AddTaskHandler("prove_auth", proveAuth)

	instance, err = bpmnEngine.CreateInstance(process.ProcessKey, nil)
	fmt.Println(err)

	// HINT: BPMN spec allows message published with variables, but the engine does not (yet) support that
	// so ideally, bpmnEngine.PublishEventForInstance() should support variables to pass in

	bpmnEngine.RunOrContinueInstance(instance.GetInstanceKey())
	then.AssertThat(t, instance.GetVariable("city"), is.EqualTo(LONDON))

	bpmnEngine.PublishEventForInstance(instance.GetInstanceKey(), "supervision_reported") // first response from supervisor
	bpmnEngine.RunOrContinueInstance(instance.GetInstanceKey())                           // will loop back and executes the audit as well, stops because of second intermediate catch event

	bpmnEngine.PublishEventForInstance(instance.GetInstanceKey(), "supervision_reported") // first response from supervisor
	bpmnEngine.RunOrContinueInstance(instance.GetInstanceKey())                           // will catch up the second event and exits the instance
	then.AssertThat(t, instance.GetVariable("city"), is.EqualTo(BEIJING))

	then.AssertThat(t, instance.GetState(), is.EqualTo(process_instance.COMPLETED))
}

func validateSupervisorResult(job bpmn_engine.ActivatedJob) {
	reAudit := testAuditAttempt <= 1 // for testing purpose, the first attempt is always wrong
	log.Println(fmt.Sprintf("validateSupervisorResult, reAudit=%t", reAudit))
	job.SetVariable("reAudit", reAudit)
	job.Complete()
}

func applyAuth(job bpmn_engine.ActivatedJob) {
	log.Println("start to applyAuth")
	job.Complete()
}

func audit(job bpmn_engine.ActivatedJob) {
	log.Println("start to audit")
	if testAuditAttempt < 1 {
		job.SetVariable("city", LONDON)
	} else {
		job.SetVariable("city", BEIJING)
	}
	testAuditAttempt = testAuditAttempt + 1 // change audit result for next time
	job.Complete()
}

func proveAuth(job bpmn_engine.ActivatedJob) {
	log.Println("start to proveAuth")
	job.Complete()
}

func notifySupervisor(job bpmn_engine.ActivatedJob) {
	city := job.GetVariable("city").(string)
	log.Println(fmt.Sprintf("start to notifySupervisor; city=%s", city))
	job.Complete()
}

BPMN Source ...
auth_apply.bpmn.txt

@lastchiliarch does my above proposal help?

@lastchiliarch does my above proposal help?

Thanks for your help and hard work. It's diffcult for  the "validate supervisor result" task to control the flow, seems message event could be  a more graceful approach.


DeprecationWarnings when running versioneer install

Hello together,
I am currently trying to build a good development environment for a new Python package.
During my research I came across versioneer and was instantly hooked.
But when running versioneer install I got the following DeprecationWarnings:
(dev) PS E:\workspaces\BO4E-python> versioneer install
versioneer.py (0.18) installed into local tree
Now running 'versioneer.py setup' to install the generated files..
versioneer.py:342: DeprecationWarning: The SafeConfigParser class has been renamed to ConfigParser in Python 3.2. This alias will be removed in future versions. Use ConfigParser directly instead.
  parser = configparser.SafeConfigParser()
versioneer.py:344: DeprecationWarning: This method will be removed in future versions.  Use 'parser.read_file()' instead.
  parser.readfp(f)

Information about my environment:

Python 3.8
OS: Windows 10 Pro, Version 2004

I am still learning how to use git in a proper way and I am not so sure how to create a good pull request.
So sorry for the inconvenience.

This has been addressed in #207. The next release, which should be coming out in the near future, will not emit these warnings.

Nice, thanks for the quick feedback =)

Fixed in 0.19.


SCRUM 53 add validations to userEdit https://healthybite.atlassian.n…

…et/browse/SCRUM-53

Pull Request Test Coverage Report for Build<PHONE_NUMBER>7
Warning: This coverage report may be inaccurate.
This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

For more information on this, see Tracking coverage changes with pull request builds.
To avoid this issue with future PRs, see these Recommended CI Configurations.
For a quick fix, rebase this PR at GitHub. Your next report should be accurate.

Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build<PHONE_NUMBER>3:
0.0%

Covered Lines:
4

Relevant Lines:
4

💛  - Coveralls


Sorting multiline imports not working

This block of imports after sort has syntax issues
Before:
import * as R from 'ramda';
import DeviceSettings from 'react-native-device-settings';
import fs from 'react-native-fs';
import moment from 'moment-timezone';
import MPEGRemuxer from 'react-native-ts-to-mp4';
import Permissions from 'react-native-permissions';
import Result from 'folktale/result';
import {
  call,
  fork,
  put,
  race,
  select,
  take,
  takeEvery,
} from 'redux-saga/effects';
import { eventChannel, channel, buffers, type Effect } from 'redux-saga';
import { Sentry } from 'react-native-sentry';

After:
  call,
  fork,
  put,
  race,
  select,
  take,
  takeEvery,
import * as R from 'ramda';
import DeviceSettings from 'react-native-device-settings';
import fs from 'react-native-fs';
import moment from 'moment-timezone';
import MPEGRemuxer from 'react-native-ts-to-mp4';
import Permissions from 'react-native-permissions';
import Result from 'folktale/result';
import {
import { eventChannel, channel, buffers, type Effect } from 'redux-saga';
import { Sentry } from 'react-native-sentry';
} from 'redux-saga/effects';

Yeah implementation is very bare and simple, it behaves well only on full imports. Needs improvement.

(Just started using this plugin, greatk work @kristijanhusak!
Maybe it makes sense to remove the sorting functionality, since it has been superseded by other plugins and make the core functionality simpler to manage?

Hey @panosl,
I agree that it's nowhere near perfect, but why would we remove it?
It's not being used unless specifically requested to via mapping or a opt in variable.

I'm not saying you should. It just feels like it's outside of the core functionality of vim-js-file-import. Unless you plan to improve it further.
p.s. Still the automatic import functionality works like a charm, really happy that I stumbled on this. I was so jealous when I saw it on VS Code!

Yeah it's not it's main functionality. I added it for my needs, since I work with some old node js applications that still use commonjs, and I didn't found any plugin or lsp that would sort require's properly.
I think this even handles some cases that VS code cannot handle :)


[WIP] Add traits to connect integers and residue represenations

A part of #348
Fixes #448
All the naming is up for debate (see also #351)
I wasn't sure if I should include one and zero there, but they do take the parameters as an argument, so they can't be implemented as a part of Zero or similar traits.

Elsewhere *Repr is used for serialized bytestrings.
It might be good to consider the naming for these traits in conjunction with #351

Instead of HasResidueRepr I think we can just add an associated type to Integer.

I wasn't sure if bundling everything into one trait is a good idea. But I don't insist on it.

Well, if we do end up putting it in its own trait, it seems like a good trait for Integer to bound on, anyway

Can't make it a draft, but I'm still working on it: adding trait bounds to the Montgomery trait to make it more like Integer.
One problem not sure how to solve: the current trait bound on Square makes it difficult to use it as a bound. Maybe just remove it? It's only needed for the default implementation which is trivial.

Sure, you can remove Square and just add it as a trait method elsewhere

No, I meant remove the bound but keep the trait. That should be enough.

Ok this should be ready for review now.

Will look if you want to remove [WIP]


ORC-1210: Upgrade maven to 3.8.6

What changes were proposed in this pull request?
This PR aims to upgrade maven to version 3.8.6.
Why are the changes needed?
This will bring the latest changes and bug fixes.

https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12316922&version=12351105
https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12316922&version=12351556

How was this patch tested?
Pass the CIs.

Merged to main

I backported this to branch-1.7 too


Multiple configurations options

Added two configuration options:

Allow self-signed certificate #85
Configurable connection timeout #88
Minor readme fixes (grafana plugin repo doesn't support inline html) #107
Connection settings visual improvements

Everything is ok


Forthcoming spdep release seems to break Voyager

00check.log
testthat.Rout.zip
Please test your package with forthcoming spdep HEAD, main branch - I expect to release shortly, and BC packages are not picked up in regular reverse dependency checks (which are for CRAN, not BC). I see errors, but have no idea what your testthat usage expects. All the local conditional permutation functions are under active development and cannot be expected to have unchanging output. Please file isiues on spdep if need be. Do read https://github.com/r-spatial/spdep/issues/124 for details on some changes. In test-univariate.R:215, the extra output column comes from 1). In test-univariate.R:225, it is probably dropping the return_internals= argument. I am sceptical about backward-facing unit tests (nothing upstream can ever change) anyway.
Also see https://r-spatial.org/book/15-Measures.html#measures-and-process-mis-specification with regard to your docs splash on Tobler.

I have updated the tests in a new branch. I'll merge to main and push to Bioconductor git when you're finalizing the changes. Thanks for letting me know. The existence of the test for the output of localG() is to test how my package manages the local results when the output for each feature is a vector rather than a matrix. I pulled the newest version of spdep, and found that the return_internals argument of localG() is unused and the results always have the internals. So I removed that test, as it's no longer relevant.
As for Tobler's Law, I did clarify a bit in one of the vignettes about the misspecification problem and what causes spatial autocorrelation, though the clarification isn't in the most prominent place. I can elaborate more on that in the vignette with a formal definition of spatial autocorrelation and what may cause observed spatial autocorrelation in the histological space.

Thank you! I will try  to remember to run reverse dependency tests on BioConductor packages when preparing releases, as unwittingly causing breakages isn't positive.


x11: thread safe replacement for XNextEvent

XNextEvent will block for input while holding the global Xlib mutex.
This will cause a deadlock in even the most trivial multi-threaded
application because OpenGL functions will need to hold the Xlib mutex
too.
Add EventsLoop::poll_one_event and EventsLoop::wait_for_input to provide
thread-safe functions to poll and wait events from the X11 event queue
using unix select(2) and XCheckIfEvent.

Fixes #779

[x] Tested on all platforms changed
[x] Added an entry to CHANGELOG.md if knowledge of this change could be valuable to users
[ ] Updated documentation to reflect any user-facing changes, including notes of platform-specific behavior
[ ] Created an example program if it would help users understand this functionality

@francesca64 ping (fixed version of #781 )

I tested some of the winit examples with this on x11, and it seems to work smoothly.


Inject new artsy/reaction auction routes

Working on migrating the bidder registration flow first.
Depends upon https://github.com/artsy/reaction/pull/2605
cc/ @dleve123 @erikdstock

Warnings

:warning:

Please don't include .js files, we want to be using TypeScript found: auction_reaction.js.

:warning:
The staging version of Metaphysics has breaking changes, this might not affect your build, but could mean your queries don't work the way you expect. See below for breaking changes:

:warning: Field 'CommerceOrder.createdAt' changed type from 'CommerceDateTime!' to 'String!'
:warning: Field 'CommerceOrder.lastApprovedAt' changed type from 'CommerceDateTime' to 'String'
:warning: Field 'CommerceOrder.lastSubmittedAt' changed type from 'CommerceDateTime' to 'String'
:warning: Field 'CommerceOrder.stateExpiresAt' changed type from 'CommerceDateTime' to 'String'
:warning: Field 'CommerceOrder.stateUpdatedAt' changed type from 'CommerceDateTime' to 'String'
:warning: Field 'CommerceOrder.updatedAt' changed type from 'CommerceDateTime!' to 'String!'
:warning: Field 'CommerceBuyOrder.createdAt' changed type from 'CommerceDateTime!' to 'String!'
:warning: Field 'CommerceBuyOrder.lastApprovedAt' changed type from 'CommerceDateTime' to 'String'
:warning: Field 'CommerceBuyOrder.lastSubmittedAt' changed type from 'CommerceDateTime' to 'String'
:warning: Field 'CommerceBuyOrder.stateExpiresAt' changed type from 'CommerceDateTime' to 'String'
:warning: Field 'CommerceBuyOrder.stateUpdatedAt' changed type from 'CommerceDateTime' to 'String'
:warning: Field 'CommerceBuyOrder.updatedAt' changed type from 'CommerceDateTime!' to 'String!'
:warning: Field 'CommerceOffer.createdAt' changed type from 'CommerceDateTime!' to 'String!'
:warning: Field 'CommerceOffer.submittedAt' changed type from 'CommerceDateTime' to 'String'
:warning: Field 'CommerceOfferOrder.createdAt' changed type from 'CommerceDateTime!' to 'String!'
:warning: Field 'CommerceOfferOrder.lastApprovedAt' changed type from 'CommerceDateTime' to 'String'
:warning: Field 'CommerceOfferOrder.lastSubmittedAt' changed type from 'CommerceDateTime' to 'String'
:warning: Field 'CommerceOfferOrder.stateExpiresAt' changed type from 'CommerceDateTime' to 'String'
:warning: Field 'CommerceOfferOrder.stateUpdatedAt' changed type from 'CommerceDateTime' to 'String'
:warning: Field 'CommerceOfferOrder.updatedAt' changed type from 'CommerceDateTime!' to 'String!'

  Generated by :no_entry_sign: dangerJS against 8dc359030bb4261c1441ea295e16295b470fa4d5

@damassi Looks good to me, but would love another :mag_right: before merging.

Looks good!


Fixed styling issue causing cursor position error in Notes section, Resolves #812

Fixes Issue

Closes #812
Changes proposed

I went ahead and resolved the bug that was causing the Cursor to appear over the text and out of place.
This was caused by the text area not recognizing the font change of size for the code tags.
I went ahead and resolved the odd look of the tags as well with the padding.
Resolution was to make the tags same font-size as the textarea, remove padding and remove a margin that was on the closing tag.

Screenshots

Note to reviewers

Let me know if you'd prefer a smaller font for the tags and I will try to resolve a different solution. The textarea being position: absolute; is what causes the confusion towards its relative.

Code of Conduct

[x] By submitting this pull request, I confirm I've read and complied with the CoC 🖖

Check List (Check all the applicable boxes)

[x] My code follows the code style of this project.
[ ] My change requires changes to the documentation.
[ ] I have updated the documentation accordingly.
[x] All new and existing tests passed.
[x] This PR does not contain plagiarized content.
[x] The title of my pull request is a short description of the requested changes.

You can also join our Discord community.
Feel free to check out other cool repositories of the Thecyberworld.
Join the Thecyberworld GitHub Organisation by raising an issue (you will be sent an invitation).

@alvarotorrestx Thanks, but next time please first write in the issue so we will assign you and will know that you are working on it :)

@alvarotorrestx Thanks for your contribution :)


Support fixed precision OverlayNG functions

The OverlayNG API in GEOS 3.9 adds *Prec functions which take a double gridSize argument.
    Geometry*
    GEOSDifference_r(GEOSContextHandle_t extHandle, const Geometry* g1, const Geometry* g2)
    {
        return execute(extHandle, [&]() {
            auto g3 = g1->difference(g2);
            g3->setSRID(g1->getSRID());
            return g3.release();
        });
    }

    Geometry*
    GEOSDifferencePrec_r(GEOSContextHandle_t extHandle, const Geometry* g1, const Geometry* g2, double gridSize)
    {
        return execute(extHandle, [&]() {

            std::unique_ptr<PrecisionModel> pm;
            if(gridSize != 0) {
                pm.reset(new PrecisionModel(1.0 / gridSize));
            }
            else {
                pm.reset(new PrecisionModel());
            }
            auto g3 = gridSize != 0 ?
                OverlayNG::overlay(g1, g2, OverlayNG::DIFFERENCE, pm.get())
                :
                OverlayNGRobust::Overlay(g1, g2, OverlayNG::DIFFERENCE);
            g3->setSRID(g1->getSRID());
            return g3.release();
        });
    }

Shapely 1.8.0 could add an optional grid_size (name to be decided) keyword argument to geometry methods like .difference() and if it's nonzero, call GEOSDifferencePrec_r it is is available. And if it isn't, warn or raise.

I'd love to be able to take advantage of this improvement in GEOS. I've been busy with life lately but I would be happy to try to get something started for this.
In terms of behavior, I'd probably be heavy-handed and raise if the user is trying to specify a precision and the functionality is not available.

I'd love to be able to take advantage of this improvement in GEOS. I've been busy with life lately but I would be happy to try to get something started for this.
In terms of behavior, I'd probably be heavy-handed and raise if the user is trying to specify a precision and the functionality is not available.

It will indeed be nice to add precision support to Shapely.
(to clarify some terminology, general OverlayNG support we get automatically once building against GEOS 3.9, since also all overlay operations use the improved OverlayNG implementation by default. It's only the additional features enabled by OverlayNG to specify precision for overlay operations that needs work to expose)
@brendan-ward started to work on this in pygeos at https://github.com/pygeos/pygeos/pull/257. Feedback on that PR is very welcome!
Personally, I would argue that we shouldn't try to add this to Shapely 1.8, but directly do this in the shapely-2.0 branch.
(the shapely-2.0 branch has almost completely removed the ctypes-based GEOS bindings, so any addition in the master branch will basically directly be removed in the shapely-2.0 branch. So therefore, IMO, major work on the ctypes bindings in master is not worth it at the moment)

It will indeed be nice to add precision support to Shapely.
(to clarify some terminology, general OverlayNG support we get automatically once building against GEOS 3.9, since also all overlay operations use the improved OverlayNG implementation by default. It's only the additional features enabled by OverlayNG to specify precision for overlay operations that needs work to expose)
@brendan-ward started to work on this in pygeos at https://github.com/pygeos/pygeos/pull/257. Feedback on that PR is very welcome!
Personally, I would argue that we shouldn't try to add this to Shapely 1.8, but directly do this in the shapely-2.0 branch.
(the shapely-2.0 branch has almost completely removed the ctypes-based GEOS bindings, so any addition in the master branch will basically directly be removed in the shapely-2.0 branch. So therefore, IMO, major work on the ctypes bindings in master is not worth it at the moment)

Thanks @sgillies for kicking this discussion off. I was about to, but my spare time has evaporated for the past month with a newborn (and toddler).
The five new OverlayNG functions with GEOS 3.9 that have a gridSize parameter are:

GEOSIntersectionPrec
GEOSDifferencePrec
GEOSSymDifferencePrec
GEOSUnionPrec
GEOSUnaryUnionPrec

Yes, I agree that grid_size is an appropriate parameter name for these functions, with a default of 0 for FLOATING precision.
@jorisvandenbossche the feature you are describing (get/set precision) predates OverlayNG, and has been around since GEOS 3.6.0 (2016-10-25). This feature has not been implemented in shapely, but is discussed in #110
As to whether this could be a shapely 1.8 feature (or not), I think this could be added to the ctypes implementation for 1.8. It should throw an exception if grid_size != 0 with an older GEOS version.

Thanks @sgillies for kicking this discussion off. I was about to, but my spare time has evaporated for the past month with a newborn (and toddler).
The five new OverlayNG functions with GEOS 3.9 that have a gridSize parameter are:

GEOSIntersectionPrec
GEOSDifferencePrec
GEOSSymDifferencePrec
GEOSUnionPrec
GEOSUnaryUnionPrec

Yes, I agree that grid_size is an appropriate parameter name for these functions, with a default of 0 for FLOATING precision.
@jorisvandenbossche the feature you are describing (get/set precision) predates OverlayNG, and has been around since GEOS 3.6.0 (2016-10-25). This feature has not been implemented in shapely, but is discussed in #110
As to whether this could be a shapely 1.8 feature (or not), I think this could be added to the ctypes implementation for 1.8. It should throw an exception if grid_size != 0 with an older GEOS version.

Ah yes, sorry, I was swapping those two features (and missed that it was explicitly about the *prec functions in the top post. That's what you get from answering too fast without reading properly ..).
(the main point I tried to make that the improved OverlayNG functions are already used automatically when building against GEOS 3.9 since they are the default still stands though ;), I renamed the title of the issue slightly to reduce the confusion)
Now, in the meantime, @brendan-ward also already did a PR to add the fixed precision overlay functions in https://github.com/pygeos/pygeos/pull/276, and added the grid_size keyword as suggested here.

As to whether this could be a shapely 1.8 feature (or not), I think this could be added to the ctypes implementation for 1.8. It should throw an exception if grid_size != 0 with an older GEOS version.

To be clear, it can certainly be added to shapely 1.8. But we all have limited time, so my main worry is that it would only delay the 1.8/2.0 released further.

Ah yes, sorry, I was swapping those two features (and missed that it was explicitly about the *prec functions in the top post. That's what you get from answering too fast without reading properly ..).
(the main point I tried to make that the improved OverlayNG functions are already used automatically when building against GEOS 3.9 since they are the default still stands though ;), I renamed the title of the issue slightly to reduce the confusion)
Now, in the meantime, @brendan-ward also already did a PR to add the fixed precision overlay functions in https://github.com/pygeos/pygeos/pull/276, and added the grid_size keyword as suggested here.

As to whether this could be a shapely 1.8 feature (or not), I think this could be added to the ctypes implementation for 1.8. It should throw an exception if grid_size != 0 with an older GEOS version.

To be clear, it can certainly be added to shapely 1.8. But we all have limited time, so my main worry is that it would only delay the 1.8/2.0 released further.

Let's save this for 2.0. 1.8 doesn't have much of a mission other than to warn of upcoming changes in 2.0. I'd prefer we didn't add any features in 1.8.0.

Let's save this for 2.0. 1.8 doesn't have much of a mission other than to warn of upcoming changes in 2.0. I'd prefer we didn't add any features in 1.8.0.

As mentioned above, this was added in pygeos through a grid_size keyword in the overlay operations (union, intersection, etc). Now this code is moved into Shapely, this feature is already done here as well.
Therefore, closing this issue.
(we should keep track of all new features for Shapely 2.0 though (as many things have been implicitly added with the pygeos merge), so we can properly document this in the release notes; will open a separate issue for this)