Add support for Django 1.7 to 1.9

This PR adds more checks to the get_model compatibility wrapper to work on Django 1.7 and 1.8's signature, as well as Django 1.9's signature. It also allows the app to run in a Python 3 environment and adds these environs to tox.

Great work! I'm really glad that someone uses this package :). I had only few suggestions but they are not critical.
You are the first contributor to this project and there is no AUTHORS or CONTRIBUTORS file yet, where you could add yourself. If you want to be featured by your name, you can create one within this PR.
Once you address all my suggestions and I say it is ready to merge I will ask you to squash all the changes into one commit. Are you OK with that? Then I will publish new release to PyPI.

I'm really glad you made it! It's saved me a bunch of time today, it's times like that that I love open source and github in particular.
I have no particular desire to be in AUTHORS or CONTRIBUTORS, but will add one if you'd like to start one.
Regarding commit squashing, GitHub supports that as part of the PR flow, as of last week. Check out https://github.com/blog/2141-squash-your-commits. Setting that might make it easier for you in the long run, if that's your preferred merge style.

PR updated!

Great, I forgot about that feature.

I have released this on PyPI as 0.0.2 version


Implement codecoverage to build step + travis lint

Run lint composer run lint + show codecoverage

I work for developer teams. I talk them into using the following zero-coverage tests in CI:

syntax check
coding standard
static analysis

syntax check is simple, coding style for Laravel is only possible by StyleCI, for static analysis we have Larastan in #86
Are you willing to report code coverage to https://codecov.io/ ?

Thank you!
I will check the PR tomorrow.
Best regards

Hi, I've written a comment yesterday and I didn't sent it ...
At this moment code coverage can help ensure that library is in good shape, but, we have only few tests so it's not important -- if you know ho to report to codecov I can make an account.
I think that checking code style for Laravel is not required - php-cs-fixer is fine for me (with larastan as another level is great).
Martin


Can't get Warframe Chroma effects with Logitech keyboard G513

Expected Behaviour
Warframe Chroma Effects
Actual Behaviour
No effects
Reproduction steps
Install Aurora v0.7.0-rc2
Activate Logitech and Razer support
Test Logitech support works (in my case it works for Diablo 3, The Witcher 3 for example)
Launch Warframe
No Chroma effects :(
Frequency
Every time
Aurora Version:
v0.7.0-rc2
Previously an Issue?
Don't know

Are you using the new Razer Chroma Layer for this? I'm not certain how Warframe loads and verifies the lighting code library, however if it is like the recent Overwatch changes, we are no longer able to replace the DLL without our own "wrapper" because it detects that it is not an official one and refuses to load. Not all Razer Chroma-supported games validate the DLL.
Please try the following instructions to use the new method of getting the Razer lighting which does not use the wrapper DLL, as this may be the issue with the lighting.

Make sure you're running build v0.7.0 or above
Open settings, go to the Devices and wrappers tab
Click the sub-tab Razer
Check if the supported version of the chroma sdk is installed and connected successfully
4a: If it is, the text should be green and you can proceed,
4b: If it's not, click the Install button, wait for it to finish and then restart Aurora
4c: When Aurora starts up again, the Connection text should now say Success and turn Green.
Click the profile of the game you want chroma lighting to be visible on (icons on the left side of the window)
Add a "Razer Chroma Layer" to the top of the layer list
Open the game, and make sure it's working!

Troubleshooting:

Aurora shows the sdk as being Connected (in devices and settings) and the razer layer still doesn't work!
A: If you've patched the game using aurora's "Apply wrapper patch" button, you need to delete the two dll's Aurora places in the game directory:
- RzChromaSDK.dll and RzChromaSDK64.dll
The colors are too dim
A: Open the Razer Chroma Layer of the profile you want to change, then tick the "Enable Color Post Process" checkbox and adjust the sliders as you want.
I can't find some of the options or menus mentioned
A: You most likely don't have the correct build from step 1.

Ok thanx I'll try! However I can't find Warframe profile... can I create a custom profile, referencing Warframe .exe file? Thanx!

Yes that should work.

Works perfectly, thanks for the mini tutorial

Ok it works!!!


Add ability to sort bsx marketplace stats

I guess adding sorting default by recent on top would be best
Add headline/title that it's "Basilisk Marketplace Statistics"
resize columns, so date & item don't create new line

https://beta.kodadot.xyz/bsx/stats/

👋

Hey reopening this as seems the column item creates a new line still?


Patch 1- Adding a delimiter for CSVs

Adding a delimiter for CSVs
For:
https://github.com/anirudhpnbb/Pyostie/issues/33

Thank you for your contribution @gitshashwat . Currently we are reviewing the code. Thanks for your contribution

Great work @gitshashwat . We are approving and merging this.


Rework bs moment

Reusing Oskar's solution to print the event date more readable in event.re.

@musha68k Could you look at this?


Add Support for Additional DataFrame Functionality

The DataFrame still has lots of missing functions that need to be implemented. This is the umbrella item for that.
Most of them should be relatively mechanical, but some require some additional work.

Method
Support

agg
:x:

alias
:white_check_mark:

approxQuantile
:x:

cache
:white_check_mark:

checkpoint
:x:

coalesce
:white_check_mark:

colRegex
:white_check_mark: (OfDFWithRegex)

collect
:white_check_mark:

columns
:white_check_mark:

corr
:white_check_mark:

count
:white_check_mark:

cov
:white_check_mark:

createGlobalTempView
:white_check_mark:

createOrReplaceGlobalTempView
:white_check_mark:

createOrReplaceTempView
:white_check_mark:

createTempView
:white_check_mark:

crossJoin
:white_check_mark:

crosstab
:white_check_mark:

cube
:white_check_mark:

describe
:white_check_mark:

distinct
:white_check_mark:

drop
:white_check_mark:

dropDuplicates
:white_check_mark:

dropDuplicatesWithinWatermark
:x:

dropna
:x:

dtypes
:x:

exceptAll
:white_check_mark:

executionInfo
:x:

explain
:white_check_mark:

fillna
:x:

filter
:white_check_mark:

first
:white_check_mark:

foreach
:heavy_minus_sign: (needs native UDFs)

foreachPartition
:heavy_minus_sign: (needs native UDFs)

freqItems
:x:

groupBy
:white_check_mark: (some restrictions apply)

head
:white_check_mark:

hint
:x:

inputFiles
:x:

intersect
:white_check_mark:

intersectAll
:white_check_mark:

isEmpty
:white_check_mark:

isLocal
:x:

isStreaming
:x:

is_cached
:x:

join
:white_check_mark:

limit
:white_check_mark:

localCheckpoint
:x:

mapInArrow
:heavy_minus_sign: (needs native UDFs)

mapInPandas
:heavy_minus_sign: (needs native UDFs)

melt
:x:

mergeInto
:x:

na
:x:

observe
:x:

offset
:white_check_mark:

orderBy
:white_check_mark:

pandas_api
:heavy_minus_sign:

persist
:white_check_mark:

printSchema
:x:

randomSplit
:white_check_mark:

rdd
:heavy_minus_sign:

registerTempTable
:x:

repartition
:white_check_mark:

repartitionByRange
:white_check_mark:

replace
:x:

rollup
:white_check_mark:

sameSemantics
:white_check_mark:

sample
:x:

sampleBy
:x:

schema
:white_check_mark:

select
:white_check_mark:

selectExpr
:white_check_mark:

semanticHash
:white_check_mark:

show
:white_check_mark:

sort
:white_check_mark:

sortWithinPartitions
:white_check_mark:

sparkSession
:x:

stat
:x:

storageLevel
:white_check_mark:

subtract
:white_check_mark:

summary
:white_check_mark:

tail
:white_check_mark:

take
:white_check_mark:

to
:x:

toArrow
:white_check_mark:

toDF
:x:

toJSON
:x:

toLocalIterator
:x:

toPandas
:heavy_minus_sign:

transform
:x:

union
:white_check_mark:

unionAll
:white_check_mark:

unionByName
:white_check_mark:

unpersist
:white_check_mark:

unpivot
:x:

where
:white_check_mark:

withColumn
:white_check_mark:

withColumnRenamed
:white_check_mark:

withColumns
:white_check_mark:

withColumnsRenamed
:white_check_mark:

withMetadata
:white_check_mark:

withWatermark
:white_check_mark:

write
:white_check_mark:

writeStream
:x:

writeTo
:x:

Hey @grundprinzip
I am willing to pitch in for some methods. Please let me know if there is any method in particular that you would like me to take up.

@imvtsl feel free to ping anyone of the not yet supported functions. I would suggest using one that "seems" easy. Maybe sample()?

@grundprinzip Can I get assigned to any of the missing func here ?

@grundprinzip  Thanks for quick reply. I will pick sample and begin working on it.

Hi @grundprinzip
I wanted to give an update that I began working on sample().
Thanks!

Created this PR for sample.

Maybe it would be better to create individual issues for each of missing functions?

@alexott feel free to create a separate one and reference this one.


difference in calculate_shortfall and calculate_lgcs

Why are shortfall calculations based on 'Hybrid' volume for  'Baseload' and 'Shaped' contracts but lgc cacluation based on 'Contracted Energy'?

I probably need to fix up some of the wording/naming here to clarify these bill calculation bits.
The LGC calculations made in calculate_lgcs function refer to the buyer's need to either purchase more (or on-sell) LGCs in order to meet the set target for LGC coverage on aggregate across the settlement period (e.g. if annual, meeting 100% of total annual load with LGCs). This assumes that any contracted LGCs are delivered by the seller, so the remaining under/over supply of certificates then must be handled by the buyer.
The shortfall calculations made in calculate_shortfall function refer to the seller's need to make good any undelivered contracted energy - so the 'Hybrid' column shows the actual generation delivered in each period, and if it falls under the 'Contracted Energy' value in that period (for a Shaped or Baseload contract with set hourly values) then a shortfall penalty is applied.


prov: tag SM2 encoders and decoders as non-FIPS

They're impossible to use in a FIPS environment, so they shouldn't be flagged
as compatible.

What is this missing symbol errors about?

Something weird happened on the mac build.  There's a PR for it somewhere.

I agree with @t-j-h that this is urgent since it is needed for the release tomorrow. Adding the ready to merge label.

Pushed.


Understanding storage/retrieval

Hi,
I'm trying to use the gem with ActiveJob, configured to use sidekiq as the queue adapter per the Sidekiq docs:
config.active_job.queue_adapter = :sidekiq
Here's the Job I've created (which runs fine and completes):
class GeneratePurchaseOrderPdfJob < ApplicationJob

  include Sidekiq::Status::Worker

  queue_as :default

  def perform(order)
    @order = order
    generate_pdf!
    @order.update_attribute(:purchase_order_pdf, @file)

    # Expose the URL of the generated PDF
    pdf_url = @order.purchase_order_pdf.url
    store url: pdf_url

    Rails.logger.debug("Before")
    Rails.logger.debug(retrieve :url)
    Rails.logger.debug("After")
  end

  def generate_pdf!
    pdf = PurchaseOrderPdf.new(@order)
    data = pdf.render
    @file = StringIO.new(data)
    @file.class.class_eval { attr_accessor :original_filename, :content_type }
    @file.original_filename =<EMAIL_ADDRESS>    @file.content_type = "application/pdf"
  end

end

The issue I have though is that whilst I can store and retrieve the "url" parameter successfully within the Job (logging out the result of retrieve :url successfully shows what I set it to), I cannot seem to get anything except updated and status in the data hash when I try to use either Sidekiq::Status.get_all jid or Sidekiq::Status.get jid, :url from another controller or the console.
Here's an excerpt of the log output proving that the data is at least stored and retrieved successfully during the job's lifecycle:
[ActiveJob] [GeneratePurchaseOrderPdfJob] [9a411aeb-11ee-46c9-996b-4a22e2cb0103] Before
[ActiveJob] [GeneratePurchaseOrderPdfJob] [9a411aeb-11ee-46c9-996b-4a22e2cb0103] //s3-eu-west-2.amazonaws.com/[S3_BUCKET_NAME]/orders/purchase_order_pdfs/000/000/013/original/purchase_order-TSRK0010.pdf?1489152563
[ActiveJob] [GeneratePurchaseOrderPdfJob] [9a411aeb-11ee-46c9-996b-4a22e2cb0103] After
[ActiveJob] [GeneratePurchaseOrderPdfJob] [9a411aeb-11ee-46c9-996b-4a22e2cb0103] Performed GeneratePurchaseOrderPdfJob from Sidekiq(default) in 229.45ms

I don't really understand why given the README seems to imply that it should persist, even after the job has completed. Any pointers to something I'm missing? I have the same sidekiq.rb initializer code as detailed in the READMe.

Further to this; if I use a standalone sidekiq worker rather than an ActiveJob job that uses sidekiq, I seem to be able to do as I intend, but I'd just like some clarity as to why it doesn't work via ActiveJob, and perhaps suggest the documentation for sidekiq-status be updated to highlight this caveat for others?

+1 here

This should now be completely fixed in https://github.com/utgarda/sidekiq-status/commit/fcd820e8870a5ced9fd12c7e9db2690a2ec25e72. I'll close this issue out when the next version of the gem is released.


Difference in support for IterableDataset in Trainer.fit and Trainer.test

❓ Questions and Help
What is your question?
When using WebDataset (which implements IterableDataset), Trainer.fit works without warnings, but Trainer.test will fail unless a nominal length is specified. Is this intended behaviour?
What have you tried?
When running Trainer.test without specifiying nominal length:
Traceback (most recent call last):
  File "sunset.py", line 222, in <module>
    main(parser.parse_args())
  File "sunset.py", line 126, in main
    main_test(args)
  File "sunset.py", line 210, in main_test
    trainer.test(model, test_dataloaders=test_loader, verbose=True)
  File "/usr/local/lib/python3.6/dist-packages/pytorch_lightning/trainer/states.py", line 48, in wrapped_fn
    result = fn(self, *args, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/pytorch_lightning/trainer/trainer.py", line 1346, in test
    if test_dataloaders and datamodule:
  File "/usr/local/lib/python3.6/dist-packages/torch/utils/data/dataloader.py", line 325, in __len__
    length = self._IterableDataset_len_called = len(self.dataset)
TypeError: 'NoneType' object cannot be interpreted as an integer

When running Trainer.test after specifying nominal length (and having multiple workers):
/usr/local/lib/python3.6/dist-packages/pytorch_lightning/utilities/distributed.py:37: UserWarning: Your `IterableDataset` has `__len__` defined. In combination with multi-processing data loading (e.g. batch size > 1), this can lead to unintended side effects since the samples will be duplicated.
  warnings.warn(*args, **kwargs)

What's your environment?

OS: Ubuntu 18.04 (inside Docker Container)
Packaging: pip
Version: 0.9.0 on Python 3.6.9

I would say that the case is that for training you shall define nb steps per epoch so then you just sample from dataloader as much to finish your epoch, but for testing, you shall run all and if you don't know how many we cannot provide any progress has or other estimates... So maybe we can change it just to warning and drop the progress bar in such a case... What do you think?

I think that would be helpful - I would rather run without a progress bar than have a hard error preventing testing. (Sorry about the late reply, I ended up doing testing outside the framework, so I forgot about this).

nb steps per epoch

Hi! How do you define nb steps per epoch? I'm using just a regular DataLoader with IterableDataset. I've tried searching for it, I couldn't find anything. I tried overriding len for the data loader itself, not IterableDataset, since it seems that's how the number of batches in an epoch is calculated in code, but it still shows me a warning. It seems to work but I'm not sure if that's going to cause any side-effects too and I would like to specify nb steps per epoch directly.
I guess you just need to set self.num_training_batches, but isn't there a better way to do this?


Highlighting

TEST PLAN FOR HIGHLIGHTING
This should be tested on an item with "attachmentItemScript.js" on it. These items will be in the store in empty or temporarily in dev-content.
-Near grab an attachment item
It should have a yellow highlight around it while the avatar is holding it with near grab.
The highlight should disappear when the item is released.

Tested in dev-content with rawgit


v2.0.2

What does this PR do?

Remove the listener that updates the CSS rules
Set v2.0.2

How should it be tested manually?
yarn test
# or
npm test

Pull Request Test Coverage Report for Build 45

0 of 0 (NaN%) 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 36:
0.0%

Covered Lines:
107

Relevant Lines:
107

💛  - Coveralls


Streamline the installation and distribution of the mmsdk package.

The goal of this pull request is to streamline the installation and distribution of the mmsdk package. This update brings several beneficial changes:

The addition of a .gitignore file. This file helps maintain a clean code base by negating the need for the error-prone 'clean.sh' script before committing changes.

A comprehensive requirements.txt file that lists all necessary dependencies, including 'colorama' which was previously not mentioned in the README.md file.

A setup.py file to facilitate an easy and clean installation of the package in the Python environment. This approach is more user-friendly compared to modifying the PYTHON_PATH variable, which is generally not advised. The README.md file has been updated to reflect this improved installation process.

There are still a few minor adjustments to be made, particularly regarding the package's metadata. This pull request is currently a draft, allowing authors the opportunity to make further contributions, such as updating the author's name and email in the setup.py file.

Hi abwilf, please can you update the setup.py with your metadata such as author's name and email?

Please help me out for my thesis by giving the CMU-mosei datasets


add support for kafka <IP_ADDRESS>

add support for kafka <IP_ADDRESS>

I've connected it to Kafka <IP_ADDRESS>, which bits don't work?  (  not played with it much yet )

There are currently two PRs for <IP_ADDRESS> and <IP_ADDRESS> support.  Just waiting for one of them to be merged.

+1 for this, thanks

+1 please!

https://github.com/yahoo/kafka-manager/pull/282

+:100:

+1

Is this address now? Does it work with Kafka 0.10.x?

We actually use it against kafka <IP_ADDRESS> (as if it were v0.9) and it seems to work well AFAIK

@kcech . Thank you. It works now for me. Since I had configured ZK host:port in application.conf, I expected that it'll auto-list the cluster nodes when I launch the web console. It doesn't. I've to create a cluster and give the ZK host:port again after in the web console after which it lists the topics.

This works for 0.10 however with a secured 0.10 cluster how do we make KM display topic offset and consumer lags ?

where are i can download this?


x11-drivers/nvidia-drivers: Updates to 525.105.17

x11-drivers/nvidia-drivers: Updates to 525.105.17
Fixes https://github.com/flatcar/Flatcar/issues/1006
Testing done
CI passed: http://jenkins.infra.kinvolk.io:8080/job/container/job/packages_all_arches/1688/cldsv/

[x] Changelog entries added in the respective changelog/ directory (user-facing change, bug fix, security fix, update)
[x] Inspected CI output for image differences: /boot and /usr size, packages, list files for any missing binaries, kernel modules, config files, kernel modules, etc.

Should the changelog entry have some notes about dropping support for some old nvidia gpus?

Good Point. I will add a deprecation note when drafting the release note.


Fixed font-sizing issue in left seconadry navigation

Fixed font-sizing issue in left secondary navigation due to parent font-size
Additions

None

Removals

Removed font-size settings on individual links

Changes

Set font-size and style correctly in parent item

Testing

Build and check any page w/ the secondary nav

Review

@KimberlyMunoz
@anselmbradford
@sebworks

Screenshots

Checklist

[x] Changes are limited to a single goal (no scope creep)
[x] Code can be automatically merged (no conflicts)
[x] Code follows the standards laid out in the front end playbook
[x] Passes all existing automated tests
[x] New functions include new tests
[x] New functions are documented (with a description, list of inputs, and expected output)
[x] Placeholder code is flagged
[x] Visually tested in supported browsers and devices
[ ] Project documentation has been updated (including the "Unreleased" section of the CHANGELOG)

Temp closing while I make an update


Memory leak

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots

Additional context
Add any other context about the problem here.

Probably due to having had set DJANGO_DEBUG=yes earlier. Removed now.


Improve codegen

To make life easier for adapter developers, we will have to show them the generated code (don't have to educate how the code was generated). The generated code should be self contained with the necessary documentation for adapter developer to get started.
This PR adds support for plumbing comments from templates to the generated code (generated augmented proto + generated go interface).
The hope is that adapter developers will read our Adapter developer guide, go find the template via looking into some directory for now, look inside the the go files within the directory (secretly generated by our code-gen) and get started.
For the documentation to make sense in the generated code, the Template developer needs to write good documentation for each fields + an overview documentation either at the 'Template' message level or at the proto syntax or package field (I am pulling in the comments at the package and syntax fields of proto and considering them as file level documentation. We do the same thing in OP).

This change is

Jenkins job mixer/presubmit passed

Jenkins job mixer/pilot-regression passed

Jenkins job mixer/e2e-smoketest passed


Add support for NOT IN and IN queries

This currently isn't supported, so support will be build in.

Already done.


Mapping width_coefficient, depth_coefficient and image_size to paper's parameters

Dear @lukemelas,
many thanks for the useful implementation you provided.
I am reaching out to ask how you map the width_coefficient, depth_coefficient and image_size in your utils.py file to the paper's alpha, beta and gamma. I see you created the efficientnet_params method to generate EfficientNets from B0 all the way to B8.
From what I understand from your implementation this code returns EfficientNet-B0, and in fact it does.
block_args, global_args = efficientnet(
    width_coefficient=1.0,
    depth_coefficient=1.1,
    image_size=240
)

model = EfficientNet(block_args, global_args)

From the EfficientNetv1's paper, we know that α = 1.2, β = 1.1, γ=1.15 for the B0 architecture and are afterward scaled all the way to B7 using compound scaling.
My question is, did you implement compound scaling for custom (α, β, γ)? In case, how did you map the (α, β, γ) tuple to  width_coefficient, depth_coefficient and image_size?
Thanks in advance.
Best,
Francesco.

Hi Francesco,
I implemented the models B0-B7 to match the original implementation. My understanding is that these parameters have a slight mismatch from the paper. The original issue is here: https://github.com/tensorflow/tpu/issues/390
Let me know if you were asking about something else.
Best,
Luke

Hi Luke,
thanks for the useful reference. You are right, here there's a quite detailed description of how the model is scaled using the parameters proposed in efficientnet_builder.py, which are the same parameters you used.
Thanks again.
Best,
Francesco.


Ert workflow job

Solve #55
Attempting to expand the current usage of script in ERT FORWARD_JOB to also be used as an ERT WORKFLOW_JOB. End result should be that the SUMO_UPLOAD can be called from both FORWARD_JOB and WORKLOW in the ERT context.

Needs to be tested to confirm that both contexts are in fact still working, also in the wild.

Tested with Drogon using a komodo-environment. Confirmed that the FORWARD_JOB context still works and that the workflow context is now also working without having to define and install the workflow job locally.

A few of the method added have specified return type. You should make a choice.

In setup.py there are two entries for ert, one with hyphens, which you already have renamed, and one CameCase. Please make a choice. But more relevant are they both needed?
There are now two ways to inject an item into ert. By adding a new file in the config_jobs folder, which was the original case. And by creating the item in Python. One way would sufficient.

You need to increase the version number to your choice, if you want to add the updated functionality in Komodo.

There are now two ways to inject an item into ert. By adding a new file in the config_jobs folder, which was the original case. And by creating the item in Python. One way would sufficient.

Unkown territory, but I believe there are differences between forward_job and workflow_job implementations.

As far as I can find from testing through komodoenv, both entry points are not needed. So I have removed one.
I have tried to look around a bit on other similar implementations. Example: https://github.com/equinor/subscript/blob/master/src/subscript/fmuobs/fmuobs.py

Can src/jobs/ folder be deleted. There are no longer references from setup.py.

Can src/jobs/ folder be deleted. There are no longer references from setup.py.

Testing with a clean environment it seems like both are needed to cover both forward_job and workflow_job contexts

Not needed: https://github.com/perolavsvendsen/fmu-sumo/blob/17871496e1613162c48ed17c865cf9c670beafb1/src/jobs/hook_implementations/jobs.py#L27


Add Multiple inputs for the one input slot

Hi, thank you for this great demo, i want to modify your library as i needed requirements.
I want to add multiple inputs arrow to the one input slot in component.
have any tips to change the library to gets multiple inputs for the one input slot?

Hello. Thank you for your interest in the project.
Do you want to connect multiple outputs to one input slot?
If so, then you need to modify the functions "linkingStart"(line 325)
https://github.com/ghostiam/vue-blocks/blob/master/src/components/VueBlocksContainer.vue#L325
and "linkingStop"(line 337).
https://github.com/ghostiam/vue-blocks/blob/master/src/components/VueBlocksContainer.vue#L337
So that the connections do not break off and it is possible to combine multiple into one input slot, remove the filter on lines 339-341
https://github.com/ghostiam/vue-blocks/blob/master/src/components/VueBlocksContainer.vue#L339-L341

Thank you so much. I was able to do this on your advice


[next] Partial support for multiple data sources

Description

Adds a (very) basic CLI that makes debugging / testing the plugin connector easier in real projects

Adds support for multiple data sources, using a ./sources/[source-name] structure

Adds a function to @evidence-dev/postgres which lets it be used as a plugin

Includes functionality to exec all data source queries, loading them each into their own parquet file

[ ] This needs to be updated to not place the parquet files immediately next to the source query, but instead into the static directory (with the same directory structure as sources)
[ ] This also needs to generate a manifest of some type; this may be out of scope for this PR, and the format needs to be discussed with @csjh

[ ] Need to add support for environment variable option overrides. The format for this will be EVIDENCE_SOURCE_[source-name]_[option-name]

For nested options; this will be ..._[option-name]_[sub-option-name], needed for things like postgres ssl

Checklist

[ ] I have added a changeset

@ItsMeBrianD I think a bit early for me to give feedback -- LGTM

Looks, great @ItsMeBrianD
When it's complete, it would be good to see to see an example with couple of sources (besides the duckdb example), along with the three different approaches to injecting .env-example connection values.  On cloud, we are using env-example files, which are not gitignored to give us an idea what an .env file would look like.


Segmentation Fault

Every tsl.datasets.prototype import results in Segmenration Fault.

I think there might be errors in your virtual environment, did you manage to solve the problem?

same problem

@marshka No, I followed the instructions on the README, and also created a new virtual space altogether.
Can you try to set up the code in a new virtual environment and see if that works? Perhaps using Docker.
Thank you very much!

I'm having the same problem. Have you solved it?


ASP.NET Core?

A new sample for ASP.NET Core or link to an existing one would be helpful. This one targets .NET Framework.

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

ID: bf04450a-028e-cc23-d9b3-880a1b5c0fd5
Version Independent ID: ac05d3c4-0379-0f34-9e17-787fb95b7189
Content: Azure AD v2.0 ASP.NET web server getting started
Content Source: articles/active-directory/develop/tutorial-v2-asp-webapp.md
Service: active-directory
Sub-service: develop
GitHub Login: @jmprieur
Microsoft Alias: jmprieur

@josefblaha Thanks for the suggestion. We do have a sample for .NET core available here. Generally, sample covering all scenarios and languages are available here.

@josefblaha We have not heard from you in a while. We will now proceed to close this thread. If you have further questions, please tag me in the comments and I will gladly continue the conversation.


Fixed Ctrl+Del ShotCut added as de facto standard

BCEditor.Editor.KeyCommands_EditBone.Form.Main.dfm.patch.zip

Added.


Fix broken ip lists

Apparently, during some refactoring I've removed running of the firehols. This fixes https://github.com/9seconds/mtg/issues/238

Codecov Report

Merging #252 (0ce0c66) into master (01e2013) will decrease coverage by 0.05%.
The diff coverage is 71.42%.

@@            Coverage Diff             @@
##           master     #252      +/-   ##
==========================================
- Coverage   82.60%   82.54%   -0.06%
==========================================
  Files          68       68
  Lines        1897     1902       +5
==========================================
+ Hits         1567     1570       +3
- Misses        232      233       +1
- Partials       98       99       +1

Impacted Files
Coverage Δ

mtglib/proxy.go
64.49% <33.33%> (-0.57%)
:arrow_down:

ipblocklist/firehol.go
81.81% <100.00%> (ø)

ipblocklist/noop.go
100.00% <100.00%> (ø)

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 01e2013...0ce0c66. Read the comment docs.


Upgraded To Home Assistant Core 2024.5.0 Has Broken yi-hack Integration

Hello,
I upgraded to Home Assistant Core 2024.5.0 and now every time I try to turn on my yi camera I get the following error:

I own a Yi Dome U 1080p camera which worked 100% fine before upgrading via mqtt and yi hack home assistant integration.
Please help!
Thanks

Fixed with this pr: https://github.com/roleoroleo/yi-hack_ha_integration/pull/152


Update container images for nginx-ingress-controller and kubernetes-dashboard

How to categorize this PR?

/area open-source
/kind enhancement
What this PR does / why we need it:
This PR bumps the container images for nginx-ingress-controller and kubernetes-dashboard

nginx-ingress-controller:

0.49.0 -> 0.49.3 for seeds and shoots < 1.22
1.0.0 -> 1.2.0 for seeds and shoots >= 1.22

kubernetes-dashboard:

2.0.3/2.0.4 -> 2.2.0 for shoots < 1.21
2.0.4 -> 2.4.0 for shoots = 1.21
2.0.4 -> 2.5.1 for shoots >= 1.22

kubernetes-dashboard-metrics-scraper:

1.0.4 -> 1.0.7 for all shoots

Special notes for your reviewer:
Release note:

The version of the `nginx-ingress-controller` addon has been bumped to `0.49.3` for shoots < 1.22, and to `1.2.0` for shoots >= 1.22. The version of the `kubernetes-dashboard` has been bumped to `2.2.0` for shoots < 1.21, to `2.4.0` for shoots = 1.21, and to `2.5.1` for shoots >= 1.22. The version of the `kubernetes-dashboard-metrics-scraper` has been bumped to `1.0.7` for all shoots.

The version of the `nginx-ingress-controller` addon has been bumped to `0.49.3` for seeds < 1.22, and to `1.2.0` for seeds >= 1.22.

/cc @shafeeqes

Tested with seeds/shoots having version 1.20.9, 1.21.7 and 1.22.4.
All pods are running fine.
/lgtm
/approve


const generics, FACTOR, START_SIZE

Would it be possible for future versions to make the factor const generic and as well add a 'START_SIZE' const generic:
START_SIZE is the minimum capacity of segements[0].
type SegVec<V> = SegVecDetail<V, 1,1>; // backward compatible except the 'factor' API's become deprecated/NOP

// needs better name
struct SegVecDetail<V, const FACTOR: usize, const START_SIZE: usize> {
    len: usize,
    capacity: usize,
    segments: inner::Segments<T, START_SIZE>,
}

Rationale for FACTOR:
This shaves another word from the structure and poses some better optimization opportunities to the compiler since 'factor' becomes constant (it cant be changed at runtime anyway).
Rationale for START_SIZE:
This is the initial size for the first segment thus as well the minimum capacity. Currently the very first elements do a lot small/single allocations, these costs could be avoided when the first segment can hold more than 1 element.
For indexing to work correctly this must be a constant as well, thus a const-generic would be appropriate.

@cehteh I like these suggestions, I think they make sense. I think my initial implementation came before const generics were fully stabilized, so this seems like a worthwhile evolution of the data structure.
I have some time later this weekend for personal projects, so I'll take a look at an initial implementation at that time.

Looking at the code, it seems that with the current implementation, FACTOR and START_SIZE end up referring to the same value - the size of the first segment will always be FACTOR*1. Do you have a use case where you would need FACTOR and START_SIZE to differ?

On 2023-06-03 15:29, Jacob Ryan McCollum wrote:

Looking at the code, it seems that with the current implementation,
FACTOR and START_SIZE end up referring to the same value - the
size of the first segment will always be FACTOR*1. Do you have a use
case where you would need FACTOR and START_SIZE to differ?

Seems I misunderstood the docs then, I'll look at the code/details next
days.
What I had in mind was that one can select the a initial size
and the constant/linear/exponential factor independently.
Simple thought experiment/brainfart:
with start-size=1/factor=1 grows constant, segments have the following
sizes (impratical of couse):
[1, 1, 1, 1, ...]
changing start_size to 32 would become
[32, 32, 32, 32...]
so 'factor=1' allows for slow grow at the cost for a potentially huge
sector table with small segments.
with factor=2 things change/ becoming exponential:
[1, 2, 4, 8, ...]
[32, 64, 128, 256, ..]
factor 4 would be
[1, 4, 16, 64, ...]
[32, 128, 512, 2048, ...]
Actually this grows pretty fast it would be only practical for very
small factors. I am wondering if one could come up with different
schemes that don't grow so aggressively (having a parameter for
linear grow?). linear=4:
[1,5,9,13, ..]
Note 1: eventually the first segment could be a (START_SIZE) array
inlined on the stack (like smallvec does).
Note 2: the SmallVec for the segments is currently hardcoded to 3
elements. This could be parametized too.
Inlining arrays on the stack should be optional. It will be pretty
costly when one moves bigger SegVecs around while the absence for
double derefencing in multiple places would certainly improve
performance when data is on the stack.
My current use case is in a parser where I only need append-only Vec's
but I want to optimize the case where resizing wont copy all data
around. Expressions there can be vary greatly in length from tiny
one-liners to expressions (lisplike) spanning very many tokens.

--
Reply to this email directly or view it on GitHub:
https://github.com/mccolljr/segvec/issues/16#issuecomment-1575232344
You are receiving this because you were mentioned.
Message ID: @.***>

Seems I misunderstood the docs then, I'll look at the code/details next
days.

I can almost certainly improve the docs, they were something of a last-minute addition when I decided to publish this. If you open issues for any portions you found confusing, I will make changes to make things more clear.
I'll see if I can shed some light, though: the way factor works right now is like this:

the segment at position 0 has a capacity of 1 * factor
the segment at any position i where i is > 0, has capacity pow(2, i-1) * factor

Another way to phrase this is that each additional segment doubles the capacity of the SegVec. Concretely, if you have a SegVec with a factor of 2, your storage would look like this:
[
  [_, _]                   // segment 0: size 1 * 2 = 2
  [_, _]                   // segment 1: size (pow(2,1-1) * 2) = 2
  [_, _, _, _]             // segment 2: size (pow(2,2-1) * 2) = 4
  [_, _, _, _, _, _, _, _] // segment 3: size (pow(2,3-1) * 2) = 8
  /* 16, 32, etc... */
]

The intention behind this was to adapt the doubling re-allocation scheme that Vec uses (used? maybe this changed) but without the need to keep excess memory around if the collection changed sizes. I added the factor concept to enable using larger "base" buckets to allow users to tune the number of elements per segment. For now, if you're looking for fixed-size buckets, there is https://crates.io/crates/bucket_vec (and a few others whose names I forget).

I am wondering if one could come up with different schemes that don't grow so aggressively

I'll think on this, I like the idea of a unified data structure that can use an exponential scheme or a linear scheme depending on the needs of a particular collection.

Inlining arrays on the stack should be optional.

The usage of smallvec is gated behind the small-vec feature. If you use the default features, the inner structure will be Vec<Vec<T>>. If you use the small-vec feature flag, this becomes SmallVec<[Vec<T>; 3]>. The downside to this approach is that if you enable the small-vec feature, it uses SmallVec for all SegVec values in your program. I came up with a plan to make the segment storage generic via a new Storage trait so that it is possible to roll your own storage mechanism(s), but this is still in-progress.

Some thoughts below, dunno if you want to go that far, but I wanted to
write that down anyway.
On 2023-06-03 22:21, Jacob Ryan McCollum wrote:

Seems I misunderstood the docs then, I'll look at the code/details
next
days.

I can almost certainly improve the docs, they were something of a
last-minute addition when I decided to publish this. If you open
issues for any portions you found confusing, I will make changes to
make things more clear.
I'll see if I can shed some light, though: the way factor works
right now is like this:

the segment at position 0 has a capacity of 1 * factor
the segment at any position i where i is > 0, has capacity
pow(2, i-1) * factor

Another way to phrase this is that each additional segment doubles the
capacity of the SegVec. Concretely, if you have a SegVec with a
factor of 2, your storage would look like this:
[
 [_, _]                   // segment 0: size 1 * 2 = 2
 [_, _]                   // segment 1: size (pow(2,1-1) * 2) = 2
 [_, _, _, _]             // segment 2: size (pow(2,2-1) * 2) = 4
 [_, _, _, _, _, _, _, _] // segment 3: size (pow(2,3-1) * 2) = 8
 /* 16, 32, etc... */
]

The intention behind this was to adapt the doubling re-allocation
scheme that Vec uses (used? maybe this changed) but without the need
to keep excess memory around if the collection changed sizes. I added
the factor concept to enable using larger "base" buckets to allow
users to tune the number of elements per segment. For now, if you're
looking for fixed-size buckets, there is
https://crates.io/crates/bucket_vec (and a few others whose names I
forget).

I am wondering if one could come up with different schemes that
don't grow so aggressively

I'll think on this, I like the idea of a unified data structure that
can use an exponential scheme or a linear scheme depending on the
needs of a particular collection.

After some thinking I'd like the idea of having some generalized
formula like:
new_segment_size =
current_capacity * E
+ FACTOR * N
+ FACTOR * P * segment_number
where:
E is 0 (for linear growth) or 1 for exponential growth, bigger
numbers would (likely) grow too fast.
FACTOR is the size of segment[0] (how about naming this BASE_SIZE or
similar?) having everything multiple of this simplifies the math a lot
FACTOR * N adds linearly, may be 0 or 1 as well, but larger numbers
for N work here too.
FACTOR * P adds proportionally, same notes as above
Exponential growth is likely not necessary for SegVec because you don't
have realloc/copy costs. it only boils down to keeping the segments
array small enough, optimize for cache hits.
With const generics the compiler should be able to optimize the math
here pretty well removing parts of the formula that have no effect (*0)
or remove unnecessary multiplication (*1).

Inlining arrays on the stack should be optional.

The usage of smallvec is gated behind the small-vec feature. If
you use the default features, the inner structure will be
Vec<Vec<T>>. If you use the small-vec feature flag, this becomes
SmallVec<[Vec<T>; 3]>. The downside to this approach is that if you
enable the small-vec feature, it uses SmallVec for all SegVec
values in your program. I came up with a plan to make the segment
storage generic via a new Storage trait so that it is possible to
roll your own storage mechanism(s), but this is still in-progress.

I don't see any use of thinvec here, thinvec uses simple pointers to
the allocation but the metadata is stored there, so there is no benefit
in the SegVec case I think.
If you want to go to the extreme and permit unsafe code SegVec could
boil down to:
#[repr(align(64))] // optional, cacheline
struct SegVec<T, ..CONFIG_CONSTANTS..> {
len: usize,
segments: SmallVec<[*mut T; 5]>,
}
// assert_eq!(size_of::<SegVec<()>>(), 64) // on 64 bit systems
using raw pointers to allocations here because these point to
allocations of potentially uninitialized data.
Segment sizes and capacity can be calculated by arithmetic, the
segment/offset to which a index belongs as well. Thus we do not need to
store length and capacity of the segments (as nested Vec's currently
do) this saves a lot memory in the segment table, up to 5 segments can
be addressed from a single cacheline (When I count right). If
configured well then the double-deref over the segments table will
become really fast.
Disadvantages of this approach would be:

Needs low level alloc for the segments
Requires some unsafe code
Needs a quite elaborate Drop implementation all initialized members
have to be dropped manually there

Second thought about inlining data: Nah, was some bad idea, I wont need
it anyway, it violates the pointer stability guarantee when a SegVec
becomes moved.

--
Reply to this email directly or view it on GitHub:
https://github.com/mccolljr/segvec/issues/16#issuecomment-1575398218
You are receiving this because you were mentioned.
Message ID: @.***>

Closing this, as things got implemented and merged now (meanwhile slightly different than the initial thoughts, but performing well)


Feature Request: support streaming mode with beam_width > 1

https://github.com/triton-inference-server/tensorrtllm_backend/issues/140 @byshiue

Hi @Juelianqvq, thanks for the request! So you are looking for streaming all N beams out of the Triton backend? Including when there is BS >1? Can you help us understand your use case for this?

Same, did not find much documentation or support on testing framework.

I'm confused. beam_width is a model input, right? Are you asking how to specify a model input when running Perf Analyzer? You can specify the model input value in an input data JSON provided to Perf Analyzer, e.g.:
$ cat input_data.json
{
    "data": [
        {
            "beam_width": [
                1
            ]
        }
    ]
}
$ perf_analyzer -m <mode> --input-data=input_data.json

https://github.com/triton-inference-server/client/blob/main/src/c%2B%2B/perf_analyzer/docs/input_data.md

Hi, just wanted to understand that the meaning of the close status is that you added this feature in one of the last commits?


1.8 template changes

Quick patch to make template validation work on 1.8, also ran against 1.7 without issue

Changes Unknown when pulling 32d69b214cd4d2e8861f0e1dac8a9e2fc8112c92 on mixcloud:master into ** on django-extensions:master**.

Changes Unknown when pulling 32d69b214cd4d2e8861f0e1dac8a9e2fc8112c92 on mixcloud:master into ** on django-extensions:master**.

Thanks !


update UserGuide.md with birthday month filtering

Codecov Report

Merging #66 (a4fd583) into master (499fecc) will decrease coverage by 0.04%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master      #66      +/-   ##
============================================
- Coverage     37.96%   37.91%   -0.05%
  Complexity      295      295
============================================
  Files            86       86
  Lines          1678     1680       +2
  Branches        180      182       +2
============================================
  Hits            637      637
- Misses          998     1000       +2
  Partials         43       43

Impacted Files
Coverage Δ

...java/seedu/address/logic/commands/UndoCommand.java
0.00% <0.00%> (ø)

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 499fecc...a4fd583. Read the comment docs.


Is it possible to only use this module when the browser requires it?

This script self-executes immediately, meaning it doesn't check if it's needed or not.
It would be useful if we could choose when to initialize the event listeners, so we could decide if it's necessary or not.
For example, I only need it for IE11/Windows 10. Anything else seems to work fine - so it'd just be checking SVGs pointlessly.
Would that be too complicated to implement?

We are noticing that when using svgxuse Flowplayer doesn't play on iOS when using the splash setup.
You can check it on this URL: http://foliovision.com/html/fp-svgxuse.html We load the https://cdnjs.cloudflare.com/ajax/libs/svgxuse/1.2.6/svgxuse.js script on that page and you can't click the player to play anymore.
Should the svgxuse script be running at all on iOS?
Thanks,
Martin

@foliovision it also occurs to plyr.io player


Failed to install dependency kit

Im trying to get meteor up an running in a RaspBerry Pi Model B. The node, npm, compilers, autotools and scons are in place - and node & npm are working.
I will download a kit containing all of Meteor's dependencies.
######################################################################## 100,0%

gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now
Failed to install dependency kit.

I looked into the meteor script and echoed the URL the script tries to get. It is this URL:
https://d3sqy0vbqsdhku.cloudfront.net/dev_bundle_Linux_universal_0.3.84.tar.gz
Which does not exist on the server... If I run meteor again, the above thing happens again
Any hints how to procede?

Hi Wolfram, I guess something has not worked on build process, otherwise the archive to install should be created at your local directory. I run the build process myself and after gernerate-dev-bundle was finished the file dev_bundle_Linux_universal_0.3.84.tar.gz should exist. Please check if you have a file like this.
When I run meteor the first time, that's the output:
root@udoobuntu: /usr/local/lib/meteor $ meteor --version
It's the first time you've run Meteor from a git checkout.
I will download a kit containing all of Meteor's dependencies.
Skipping download and installing kit from /usr/local/lib/meteor/dev_bundle_Linux_universal_0.3.84.tar.gz

Thanks for some more info.
Tom
P.S.: Have you build the node by yourself and what is the version? Have you read build-and-install-up-to-date-nodejs.

Many thanks for your reply.
OK. The needed dev*.tar.gz is not created by my run of scripts/generate-dev-bundle.sh. I used an outdated node/nmp version (node v0.10.26) - which nevertheless seemed to run trough scripts/generate-dev-bundle.sh without errors . So I updated to node v 0.12.0.
Now I get errors during running scripts/generate-dev-bundle.sh while compiling fibers (I call this progress!)  ;-) :
make: Entering directory '/tmp/generate-dev-bundle-TYdKmOVu/build/npm-server-install/node_modules/fibers/build'
CXX(target) Release/obj.target/fibers/src/fibers.o
../src/fibers.cc:222:34: error: ‘Arguments’ does not name a type
../src/fibers.cc:222:45: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]

Here http://meteor-universal.tumblr.com/ I read: "To get a successful installation on your Raspberry Pi II you have to make sure that your os is more or less up-to-date. Nearly all problems reported until now were based on an outdated gcc-4.6 compiler."
I try to build on a Raspberry Pi Model B (512MB, without "2") with Raspian Wheezy - everything upgraded & updated! My gcc --version spits out: "gcc (Debian 4.6.3-14+rpi1) 4.6.3".
So my question is: Should Pi-1-B with gcc 4.6.3 be able to compile? What gcc version do you use on classic Raspi1-B?

Hi Wolfram, you should at least use gcc-4.7.x or newer. None of that had reported errors by now. You may have a look at: Google Search for update gcc on raspbian wheezy.
I have successfully build meteor dev bundle with gcc-4.7, gcc-4.8 and gcc-4.9. So whatever fits as an update to your image it should bring you up.
Please be so kind and give me a short info on success so that I can add an additional note to the tumblr pages.
Good luck, Tom

Hallo Tom,
ich schalte mal nach Deutsch.
In der Hoffnung, das das hier als PM ankommt und nicht automagisch auf
GitHub erscheint...
(Ich will GitHub erst wieder zumüllen, wenn klar ist, ob hier ein
generelles Problem vorliegt, das auch andere interessiert).
Dicken Dank Dir schonmal, dass Du draufschaust!
;-)
Also - gcc habe ich auf deinen Rat hin auf 4.7.2 aktualisiert.
pi ~/downloads/meteor$gcc --version
gcc (Debian 4.7.2-5+rpi1) 4.7.2
Copyright (C) 2012 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There
is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.

Aber es klappt leider immer noch nicht...
Das Script ./scripts/generate-dev-bundle.sh steigt beim Bauen von fiber
aus und findet scheinbar die Typen aus #include <node.h> => #include
<v8.h> nicht, denn dort wird z.B. "Arguments" definiert:
*pi ~/downloads/meteor$./scripts/generate-dev-bundle.sh*
CHECKOUT DIR IS /home/pi/downloads/meteor
BUILDING DEV BUNDLE 0.3.84 IN /tmp/generate-dev-bundle-YxDBSOeo
/tmp/generate-dev-bundle-YxDBSOeo/bin/node
/tmp/generate-dev-bundle-YxDBSOeo/bin/npm
npm WARN package.json<EMAIL_ADDRESS>No description
npm WARN package.json<EMAIL_ADDRESS>No repository field.
npm WARN package.json<EMAIL_ADDRESS>No README data
\
><EMAIL_ADDRESS>install
/tmp/generate-dev-bundle-YxDBSOeo/build/npm-server-install/node_modules/fibers
> node ./build.js

child_process: customFds option is deprecated, use stdio instead.
child_process: customFds option is deprecated, use stdio instead.
make: Entering directory
'/tmp/generate-dev-bundle-YxDBSOeo/build/npm-server-install/node_modules/fibers/build'
  CXX(target) Release/obj.target/fibers/src/fibers.o
../src/fibers.cc:222:34: error: ‘Arguments’ does not name a type
../src/fibers.cc:222:45: error: ISO C++ forbids declaration of
‘args’ with no type [-fpermissive]
../src/fibers.cc:241:34: error: ‘Arguments’ does not name a type

Da fibers ja ein natives (C++) node Modul ist, muss es ja immer auf der
Zielplattform gebaut werden...
Jetzt kommt das Lustige: Wenn ich direkt auf der Konsole eingebe: "npm
install fibers"
*pi ~/downloads/meteor$npm install fibers*
/
><EMAIL_ADDRESS>install /home/pi/downloads/meteor/node_modules/fibers
> node ./build.js

child_process: customFds option is deprecated, use stdio instead.
child_process: customFds option is deprecated, use stdio instead.
make: Entering directory
'/home/pi/downloads/meteor/node_modules/fibers/build'
  CXX(target) Release/obj.target/fibers/src/fibers.o
  CXX(target) Release/obj.target/fibers/src/coroutine.o
../src/coroutine.cc: In function ‘void* find_thread_id_key(void*)’:
../src/coroutine.cc:90:3: warning: ‘thread_id’ may be used
uninitialized in this function [-Wmaybe-uninitialized]
  CC(target) Release/obj.target/fibers/src/libcoro/coro.o
  SOLINK_MODULE(target) Release/obj.target/fibers.node
  SOLINK_MODULE(target) Release/obj.target/fibers.node: Finished
  COPY Release/fibers.node
make: Leaving directory
'/home/pi/downloads/meteor/node_modules/fibers/build'
Installed in
`/home/pi/downloads/meteor/node_modules/fibers/bin/linux-arm-v8-3.28/fibers.node`
<EMAIL_ADDRESS>node_modules/fibers
pi ~/downloads/meteor$

Hier klappt alles!
Keine Fehlermeldung!

Also prinzipiell ist mein System in der Lage, fibers zu bauen.
Nur nicht aus dem meteor  generate-dev-bundle.sh heraus...
Hast Du eine Idee, wie ich da weiter einsteigen kann?
Was trifft das Skript für Annahmen? Oder verbiegt include-Pfade?
Wo kann ich herausfinden, mit welchen Settings das meteor script das
fibers bauen will?
Viele Grüße aus Erlangen.

von einem weiteren (node + meteor + Raspi)-Enthusiasten!
;-)

WOK.
Am 06.03.15 um 11:24 schrieb Tom Freudenberg:

Hi Wolfram, you should at least use gcc-4.7.x or newer. None of that
had reported errors by now. You may have a look at: Google Search for
update gcc on raspbian wheezy
https://www.google.de/search?q=update+gcc+on+raspbian+wheezy.
I have successfully build meteor dev bundle with gcc-4.7, gcc-4.8 and
gcc-4.9. So whatever fits as an update to your image it should bring
you up.
Please be so kind and give me a short info on success so that I can
add an additional note to the tumblr pages.
Good luck, Tom
—
Reply to this email directly or view it on GitHub
https://github.com/4commerce-technologies-AG/meteor/issues/9#issuecomment-77537373.

--
Wolfram Esser (Der WOK) *** Jugendroman: "Flavia und der tote Fluss"
http://www.derwok.de    Taschenbuch  : www.amazon.de/dp/1481027794
KindleEdition: www.amazon.de/dp/B00ADVS3WI
*** Freies LesenLernen-Programm für Kinder
http://www.derwok.de/downloads/lesenlernen
*** Die LesenLernen-App fürs iPhone
https://itunes.apple.com/de/app/id746651885?mt=8
Download public PGP/GnuPG key from keyserver:
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x7FE5C582
Key's fingerprint: C0AE 4A45 51B3 FDA6 DED9  BE78 CC29 08D7 7FE5 C582

Hi Wolfram,
just to keep you informed: I am currently running complete compile run on my Raspi model. It takes its time as you know ;-) ... so I will give you feedback as soon as possible.
Tom

Running through your tutorial yields me issues when executing the dev-bundle.sh --
<EMAIL_ADDRESS>install: node ./build.js
Failed at the<EMAIL_ADDRESS>install script. This is most likely a problem with the fibers package.
Please advice.

Try running directly "npm install fibers", it might give you more information about the bug.
Also, check you have installed gcc and so on. The package build-essential contrains everything you need.

Hi Wolfram, hi all!
I made a lot of compilings and testing around that weekend and got all running at the end ;-)
The biggest problem was based on my documentation where I had written down a wrong git checkout statement so that you all used the wrong node base. I am really sorry for that.
WRONG
git checkout -b v0.10.36

CORRECT!
git checkout v0.10.36

The wrong statement used the buggy master branch vom joyent nodejs and just created a new branch on local. The second (correct) will checkout HEAD-less the TAG v0.10.36.
I just figured that out when node --version didn't output Release v0.10.36

I have documented a new full run-thru installation for meteorjs on Raspberry Model B Raspbian wheezy.
Please have a look at: install-meteor-universal-on-raspberry-pi-model-b
I will upload my builded nodejs and meteorjs bundles so that you can have a test without recompiling yourself if you like.
For now, cheers.
Tom

Hey Tom! A big THANKs for all the work you put into this...
I will definitely try your walkthrough these days...
and will come back with feedback!
Thanks again! You rock!
Yours, Wolfram.

Hey Wolfram, thanks for your comment ;-)
If someone like to try out, you will find pre-builded node and meteor-dev-bundle at my bintray site. It will safe a couple of hours of your time:
BinTray – TomFreudenberg – meteor universal files
How to use:

Follow the above guide WITHOUT building node and WITHOUT running scipts/generate-dev-bundle.sh

instead do and finish AFTER getting meteorjs from github by:

Download archives from bintray to your Raspberry
untar the node archive at your root !important!

cd /
tar -xvzf node-v0.10.36-armvl-raspberrypi.tgz

node will be unpacked to /usr/local. Check it after untar via node --version

Move the dev_bundle_Linux_universal_0.3.84.tar.gz to yor /usr/local/lib/meteor directory.

Then you can proceed directly with
meteor --version
This should use the package and finalize installation.
Please let me know if that worked!
Tom

Hey Tylor ( @tdhz77 )
as described in comment above, I updated the documentation about installing node on raspberry. Could you please run again following install-meteor-universal-on-raspberry-pi-2.
If you are still on Raspbian wheezy, you also can try out the new run-thru guide
Thanks for your feedback
Tom

My node version is 0.13.0-pre; however, I installed from your tutorial last night. Can't figure out how to completely remove node.

Hi Tylor ( @tdhz77 )
that's easy:

remove the cloned node directory from tmp

cd /tmp
rm -rf node

remove node from make install

rm /usr/local/bin/node
rm /usr/local/bin/npm
rm /usr/local/share/man/man1/node.1
rm -rf /usr/local/lib/node_modules
rm -rf /usr/include/node

now you can just restart please.
Thanks,
Tom

Thank you Tom for all your help.
I tried to just unzipping the two files above and meteor returns cannot install dependency kit after my first install. I'm going to try to build node again from scratch and meteor. I'm on linaro Raspeberry Pi 2 and I'm not having much luck with the process.

Tylor, I am pretty sure if you follow the guide again and build node and meteor it will work.
Your first try was affected by my fault in documentation - this is why you have node version v0.13.0-pre and not v0.10.36. If you start again node will be that version.
Good luck

Thank you! You are absolutely correct. I actually didn't want to try and build for 5-6 hours again, so I just extracted your node tar.gz file into root and followed the rest of the meteor build instructions. Awesome! Thanks again.

Hi Taylor, that's great. Thanks for feedback.

Copied from PN from Wolfram:

Hey Tom.
Great work!
With your two binary .tgz packages I managed to get meteor up and running on the Pi1-B:
node --version => v0.10.36
npm --version => 1.4.28
meteor --version => Unreleased, running from a checkout at a60ec3d (grafted, HEAD, origin/release-<IP_ADDRESS>-universal, origin/HEAD, release-<IP_ADDRESS>-universal)
A first "meteor create piapp" worked great. I got the simple example up and running.
Then I tried to work through the official "first steps" tutorial here:
Step 1 - 8 work well..
BUT UNFORTUNATELY during step 9 fails on the RaspBerry Pi:
meteor add accounts-password
=> Errors while adding packages:
While checking for<EMAIL_ADDRESS>error: No compatible build found
When I do a "npm install bcrypt" my Pi system builds the native stuff without a problem.
But I don't know how to tell meteor to build npm-bcrypt on his own instead of loading it from the cloud...
Any idea?
Greetings: Wolfram.

Hi Wolfram ( @derwok ),
yes this is a known part. It is the same even if you try the todos example from meteor like described here: create and the todos example.
You will find all infos at the meteor universal blog: use non-core packages for your meteor apps. This was issue number #1 here on my universal fork :-)
I suggest to use method (a.) for npm-crypt as it is an often used globaly library from my point of view.
Cheers
Tom
PS: Please do not use my company's info mail, I will get those messages late and they have to manually forwarded. It it easier to communicate and describe here on GitHub issues. Btw. it seems that this ticket can be closed soon ;-)

Hi Tom, thanks for the hint regarding the "non-core" packages.
I did a
cd meteor/packages && ln -s non-core/jquery-history/ . && ln -s non-core/jquery-layout/ . && ln -s non-core/npm-node-aes-gcm/ . && ln -s non-core/npm-bcrypt .
Maybe it would be an idea to integrate a one-time post-installation step into the universal meteor launcher that creates the four symlinks for the four non-core packages - and thus removing a hurdle for all willing universal-users?
So - for the first time meteor launches an app on my Pi-1-B!
Heureka and many thanks for your research & helpul hints!
You can close the ticket...
Wolfram.
P.S. As you say PM is not preferred. A github issue tracker maybe is not the right place for discussions like ours? Is there some sort of forum/discussion group for "universal meteor"?

Hi Wolfram, thanks for your updates. I will check your hint about creating the non-core package links and created a new enhancement issue #10. I will keep you informed.
From my point of view any discussion should be on a issue tracker. Therefor it is directly a good documentation and can be used as reference to further discussion. So please feel free to enter any question / message about this fork on the issue queue. If you want to send a suggestion you can also use the Suggestion-box on meteor universal blog
Thanks for your feedback.
Tom


[TFT] Request for Interface to Retrieve Specific Tier and Division League Data

Hi team,
First and foremost, thank you for your great open-source project!
I am looking to obtain TFT match data for a specific tier and division, such as matches in "DIAMOND IV." Based on my understanding, the following APIs should be utilized to achieve this:

/tft/league/v1/entries/{tier}/{division} to obtain summoner IDs
/tft/summoner/v1/summoners/{encryptedSummonerId} to retrieve PUUIDs
/tft/match/v1/matches/by-puuid/{puuid}/ids to acquire match IDs
/tft/match/v1/matches/{matchId} to fetch match data

I have found interfaces within your project to request Riot APIs, specifically TftApi.Summoner.getById, TftApi.Match.list, and TftApi.Match.get, but I did not find an equivalent for the first API. While I am able to retrieve summoner IDs for tiers above Master using TftApi.League.getFooLeague, I am unable to do so for tiers below Diamond.
Are there any interfaces or methods available to achieve this? If there are plans to develop this feature in the future, could you share the roadmap with me?
Thank you!

The code was more straightforward than I initially thought, and I was able to easily add the implementation, so I have created a PoC PR. I would appreciate it if you could review it.

Hi @Sansossio ,
I hope you're doing well. I wanted to follow up on the issue and PR I submitted. I understand that you may have a busy schedule, and I truly appreciate the time and effort you dedicate to maintaining this project.
When you have a moment, I would be grateful if you could take a look at the issue and PR. Your feedback and guidance would be invaluable in ensuring that the contribution aligns with the project's goals and standards.
Thank you very much for your time and consideration. Looking forward to your response.

@ciriousjoker sorry for the delay, pr merged! and thanks for your contribution


Get limit exceeded

Hi
I am new to python so bare with me.
I want to get status of my Gardena Mover sent to mqtt to be handled by node-red.
If I read the documentation correctly I should be able to read the values of my Gardena Mover as often as I want. The values will be updated via websocket only when the status change.
However if I read the values too often like every 10 sec, I get an error after a day or so "ERROR    429 : Limit Exceeded".
I guess the reason is that hit the 10k/monthA API limit. Is the documentation wrong or do I understand it incorrectly, or something else?
Any hints how I can make it only read the values when any value change would be appreciated, I have tried to fiddle with callback but could never get that working.
Thanks
PeterA
from gardena.smart_system import SmartSystem
import pprint
import time
import json
import paho.mqtt.publish as mqttpublish

smart_system = SmartSystem(email="<email>", password="<password>", client_id="<client-id>")
smart_system.authenticate()

while 1:
  print ("")
  localtime = time.localtime()
  result = time.strftime("%I:%M:%S %p", localtime)
  print(result)
  smart_system.update_locations()
  for location in smart_system.locations.values():
      smart_system.update_devices(location)
      pprint.pprint(location)
      for device in location.devices.values():
          pprint.pprint(device)
  for location in smart_system.locations.values():
    print("location : " + location.name + "(" + location.id + ")")
  for device in smart_system.locations[location.id].find_device_by_type("MOWER"):
    print(f"name : {device.name}")
    print(f"id : {device.id}")
    print(f"type : {device.type}")
    print(f"model_type : {device.model_type}")
    print(f"battery_level : {device.battery_level}")
    print(f"battery_state : {device.battery_state}")
    print(f"rf_link_level : {device.rf_link_level}")
    print(f"rf_link_state : {device.rf_link_state}")
    print(f"serial : {device.serial}")
    print(f"activity : {device.activity}")
    print(f"operating_hours : {device.operating_hours}")
    print(f"state : {device.state}")
    print(f"last_error_code : {device.last_error_code}")
    msg=json.dumps({'name': device.name, 'battery_level': device.battery_level, 'battery_state': device.battery_state, 'rf_link_level': device.rf_link_level, 'rf_link_state': device.rf_link_state, 'activity': device.activity, 'operating_hours': device.operating_hours, 'state': device.state, 'last_error_code': device.last_error_code})
    print("Sending:" + msg)
    mqttpublish.single("gardena/mover", msg, hostname="localhost")

  time.sleep (10)

indeed, there s a rate limit and a maximum numer of calls per month.
You should use websocker communication as the websocket gets notified of every change as soon as they arrive, so you don't need to poll their API !
Hope it helps,
Jérémie

That was not an answer to my questions.

"If I read the documentation correctly I should be able to read the values of my Gardena Mover as often as I want. The values will be updated via websocket only when the status change."
Correct?

Cut-and-paste from doc:
--start--
Devices are automatically retrieved the first time from the API, and then the websocket is used to get updates. They are stored in each locations. Depending on the function type, you can have diffrents fields.
--end--
I interpret this as the the values are ONLY updated when status has changed, so by looping it like I do will not generate and API call to Husqvarna. This seems like it  is not true as I hit the limit?

Do I understand the doc wrong?

Thanks
PeterA

I developped a Docker Image that send Gardena infos to MQTT.
It may interests you :
https://github.com/Domochip/gardena2mqtt
https://hub.docker.com/r/domochip/gardena2mqtt

The gardena documentation explains that, once you are connected to the API, you will get updates through websocket. It means that API will send you update when there is, and Not you request it...
Could you give me the compose file you used?

The problem with your code is that you are requesting without waiting continuously gardena api.
You should put a sleep in your while(1) :
The limit exceeded is sent by the gardena api because it detects that you are hammering too hard their API (because you doo not sleep and update coninuously).
Regarding this error, there is nothing the library can do about it ;)


Allow registration of custom TableProviders through Factories in Ballista

Which issue does this PR close?
Closes #.
Rationale for this change
We would like to use delta-rs from Ballista.
What changes are included in this PR?

?

Are there any user-facing changes?

?

This PR is still marked as a draft -- but it looks like maybe it is ready for review again?

This PR is still marked as a draft -- but it looks like maybe it is ready for review again?

Sadly no. The wheels are turning slowly over here, in part because our fork diverged so far. Now that DataFusion 12 is up, it's top of my list to get things back in sync with upstream. Then resume progress on this.

Cleaning up old PRs


Query Regarding Logic of calculating radius in generate_spot_crops()

Thank you for developing such a valuable tool!
I have a question regarding the logic behind this line of code (https://github.com/scverse/squidpy/blame/ecee104bd165921f7a48934c13ff95599405e3eb/src/squidpy/im/_container.py#L820). I noticed that it performs floor division, followed by rounding, and then converts the result to an integer. However, if the diameter is <= 1, this process returns a radius of 0. This could potentially cause the downstream calculate_image_features() function to generate invalid feature values.

hi @JieShengm ,
indeed that's true, although I believe that would be unlikely since this unit should always be in pixel space. Is this an issue in your settings


Service: Add demand options for all 3 main nutrients

Create seperate demand options for P2O5, K2O and MgO.
ATM there is only one for all of them.

Closes with pull request #26


remove share and re-order newsletter

Here's what it looks like, per https://trello.com/c/1G1dGPrA/251-remove-share-embed-shuffle-partners-in-hp

 Remove share embed / shuffle partners in HP

This left some things unused, which I tried to find and remove.  Some refactoring of the not-all-that-useful layers might be in order here.


clear() for HaspMaps and HashSets now ues fast blanking

Aligned on the master, with only the batch blanking changes (compared to the hash-strategy branch)
A few remarks:
A) is there a point in reseting the keys in HashSets if they are primitive ? I think not, so I removed it.
B) I think there is no point to resetting by Arrays.fill() the oldKeys/oldValues in the HashMap.expandAndPut()/HashSets.expandAndAdd().
Indeded, at the end of the method those array instances are only referenced locally. They indeed also contains
Object handles, but those references becomes then inaccessible to the outside of the method itself.
Consequently, GC will collect the array memory no matter what the previous clearing of the underlying Object pointers is.  So I removed these Arrays.fill() entirely.
C) Performance improvements showed that blanking could benefit both Object keys and boolean arrays of internal states, so I replaced their Arrays.fill() by fast blanking methods.

Closing old PR.


千万不要安装腾讯的Tim，否则断流断死人！！

千万不要安装腾讯的Tim，否则断流断死人！！
严重怀疑腾讯的Tim后台的qq保护进程偷偷搞事！
卸载tim后，断流情况就消失了。
目前没有测试qq，预计差不多，也会出现断流。
有测试过其它应用的请留言，谢谢

多测几遍，能复现才是真的

2022/07/03 14:50:49 [Warning] [754974828] app/proxyman/outbound: failed to process outbound traffic > proxy/vmess/outbound: connection ends > proxy/vmess/outbound: failed to read header > proxy/vmess/encoding: failed to read response header > EOF
2022/07/03 14:50:49 [Warning] [754974828] proxy/http: failed to read response from www.gstatic.com > io: read/write on closed pipe
2022/07/03 14:52:55 [Warning] [3551688414] app/proxyman/outbound: failed to process outbound traffic > proxy/vmess/outbound: connection ends > proxy/vmess/outbound: failed to read header > proxy/vmess/encoding: failed to read response header > EOF
2022/07/03 14:52:55 [Warning] [3551688414] proxy/http: failed to read response from www.gstatic.com > io: read/write on closed pipe

我一直都是用Tim
获取Outlook for Androidhttps://aka.ms/AAb9ysg

From: github-actions[bot] @.>
Sent: Tuesday, November 1, 2022 10:14:03 AM
To: v2ray/v2ray-core @.>
Cc: Subscribed @.***>
Subject: Re: [v2ray/v2ray-core] 千万不要安装腾讯的Tim，否则断流断死人！！ (Issue #3024)
This issue is stale because it has been open 120 days with no activity. Remove stale label or comment or this will be closed in 5 days
―
Reply to this email directly, view it on GitHubhttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fv2ray%2Fv2ray-core%2Fissues%2F3024%23issuecomment-1297925470&data=05|01||bb9a2aae0eca41d1830408dabbaebf95|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|638028656464709351|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=iihKsorZhfmyQjtZQvbFicOBRFQ47CDd13N4sS%2BAXLc%3D&reserved=0, or unsubscribehttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAF5FBAPNUDOAYUUJ7BZESHLWGB4GXANCNFSM5YIOJ77A&data=05|01||bb9a2aae0eca41d1830408dabbaebf95|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|638028656464709351|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=6iP0cRzzwcFx8qPENXzaM5LeWzjEnsOlQITVw7b5sBo%3D&reserved=0.
You are receiving this because you are subscribed to this thread.Message ID: @.***>

人可以住在中国，但是为什么要和中国人说话。至少你可以安装代理在不使用与共产党有关系的另一台设备上


Webpack CSS

Hello I'm a little new to the field, and was trying webpack. Is there anyway to require the css files for the slick-slider through webpack ?
Any help would be appreciated.
Thanks!

What is your webpack setup? You can import css directly through your js file via https://github.com/petehunt/webpack-howto#5-stylesheets-and-images I use it all the time. (This may not be suited for production but depends on your use case though)

what is the recommended for production?


Remove parse_params

Once bug #150 is resolved by PR #156, classes will only implement the generate() method and will not need generate_np(). Therefore, it would make sense to remove the parse_params() method since it will only be called once at the top of generate(), and the checks can be done there instead.

Given the current solution that was decided for generate_np to still be in place, we'll probably keep parse_params


Improve Action Cost calculation

Currently the "next" action doesn't appear to be getting passed to the GetCost function.
Related to this, I'm trying to think through the requirements for having the information necessary to accurately estimate travel times into the cost of an action. Essentially the action needs to know the start and end positions that the actions is attempting to cover for cost purposes.
Correct me if I'm wrong, but given that it is a backwards search, I think the goalState passed into GetCost will have the destination, including any intra-plan moves in the form of isAtPosition/isAtTransform conditions, so the move action should be able to pull out those values with GetObjective as the examples do.
As for the "start", given that it is a backwards search, that will always be the agent current position correct? (alternately a forward search would have to pass positional estimates through the world state each step of the plan I think)

May I also suggest that the cost fields be turned into floats to better facilitate accuracy of things like travel times or costs that are less than 1 unit?

GetCost is called with next actions now:
https://github.com/luxkun/ReGoap/commit/8f9360868f5d1f8f4844ca3995e605a41f947de9
As for the cost's type it used to be a float but then I changed it to int for performance, but afterall it shouldn't matter at all right now, so I'm going to change it to float.

Essentially the action needs to know the start and end positions that the actions is attempting to cover for cost purposes.
So we got the end, its the objective, as for the start you need the current state (we have this since the ReGoapNode updates its state every time the A* expands the current node), but it's not currently a parameter in GetCost, so it needs to be changed.

I'll check out if there are no other way, if so I'll add it.

Actions's costs and goal's priorities are now float:
https://github.com/luxkun/ReGoap/commit/419a602bb76691a4efee38276cf8c2cbead5736a

As for the "start", given that it is a backwards search, that will always be the agent current position correct? (alternately a forward search would have to pass positional estimates through the world state each step of the plan I think)
No because agent's current position (as in transform.position) is not updated by the planner, which simulates actions effects without doing anything at all in the real world state.
Also it's advised to not use any Unity component in the actions thread-safe methods, or else you won't be able to use multi-thread in the planner manager.

So thinking more thoroughly about this I have no idea how to do it, let me explain with an example:

the planner gets the goal which is killEnemy: true and closeHealFriend: true
finds the first action that fulfil part of the goal which is "KillEnemy", which has precondition isAtPosition: enemyVector3
the new goal is isAtPosition: enemyVector3 and closeHealFriend: true, so the planner finds the action GoTo which has a dynamic effect isAtPosition: enemyVector3, but we have no idea, at this point, where the agent will be, since there could be another action that changes the agent position
next: HealCloseFriend (effect: closeHealFriend: true) but has a precondition of isAtPosition: friendVector3
next: GoTo with dynamic isAtPosition: friendVector3, now we could use the current agent position (could do this since the goal is empty), but doesn't seem like a good way to fix this and anyway the other GoTo actions won't be able to find the current action position.

So any idea how to resolve this? not going back to forward which won't be able to get the wanted goal position anyway.

Yes you are right. I think the world state needs to track a variable(or use isAtPosition, isAtTransform) to track a dynamic position through the plan, so isAt* needs to be seeded at plan start so that it can be used in action cost estimations. Think we have that information by looking up isAt in the goal state passed into GetCost right? (and comparing it to the positional requirements of the 'this' action) ?

So you are saying to save isAtPosition at planning start to current position? but that will give only first (real, as in last in backward search) GoTo action the real position, the others won't have the updated one.
KillEnemy -> GoTo (planning still didn't choose "CloseHealPlayer" so we have no idea what will be next position in backward search, so previous position in real world, also current goalstate will have isAtPosition that's killenemy's isAtPosition, current version of GoTo uses this) -> CloseHealPlayer -> GoTo (can use isAtPosition "saved" from the plan, but could anyway use goapmemory)

During the planning, there is a ReGoapState cloned and updated with the effects of each action right? Doesn't that mean that in any particular action, the action may have an "isAt*" state that represents whatever sequence of actions came before it? If my parent chain of actions had 100 move actions into it, wouldn't the ReGoapState passed to me contain the last?

But before is after in the real world.
The planner does not know what's coming after the current action, so if the planner choose KillEnemy as first action (last in real world) and is now asking GoTo's cost there is no way to know yet that the next
action picked by the Goap is going to be CloseHealPlayer.

If a plan for an open door goal was
moveto_key1
pickup_key1 (req isAt "key1")
moveto_door
unlockdoor(req isAt "door", has "key1")
Just to think through the planner flow(hopefully accurately)

only moveto_door action initially satisfies any conditions, there are no "isAt" states set in the search state yet, so the cost estimate would use the isAt seeded at plan start, which is the current position, so the cost estimate would be agent position to door
has key1 still not satisfied, so  pickup_key1 action is pushed. It has positional requirements which require a re-costing of the parent(in this case moveto_door). *
moveto_key1 pushed to satisfy moveto key1

The guess the issue here is that any time an action is pushed onto the search, or more specifically, an action with spatial requirements, that action should probably calculate it's cost by re-asking any action before it(or after in real world ordering), for an updated cost calculated with respect to this new action.
Like when pickup_key1 is pushed and goes to calculate its cost. It needs to calculate with respect to the requirements of pickup_key1, which means letting moveto_door recalculate its cost based on the positional requirement. It's trickier than that bc it may require looking up through many parent actions to recalculate costs. There's no guarantee that the move action is the direct parent. Spatial requirements have such special considerations in these ways that I think it is worth considering that they are special types of conditions. I don't have a clear thought about how to do that though.
Maybe anything with spatial requirements or effects need to do a more substantial enumeration of one or more of the search parent chain in order to function properly.

I think that GetCost needs to be passed in the ReGoapState for the node instead/in addition to the "next" action by itself, because the next action may not be an action that provides a spatial effect. There could be one or more intermediate actions in between an action that moves you somewhere, and the next action that moves you somewhere else. If the node state were passed in, it should provide access to the last "isAt*" effect no matter how far removed from the current node it was last set(by the cumulative effect of  state += effects)
I suppose for recalculating the cost I might move parent.GetPathCost down to after the state += effects as well, and pass in the goap state. Most actions won't care about the parameter, but a move action will need it to calculate a cost for any node that precedes it.

Tbh I don't see how to do this, since the action goto X doesn't know if there is another goto Y in the plan.
If you know how to do this please do a fork and show me what's your idea.

It wouldn't know that directly. It should be able to on account of the contents of the goap state passed in. At least that is the thinking. I'll try and whip something up soonish as a proof of concept.


CLN: Disallow use of null/None for alias/stratigraphic_alias

Addresses: https://github.com/equinor/fmu-dataio/issues/373

This means that if e.g. alias in the global config (erroneously) is a None it will now raise?
I think it depends a bit on current behavior how this will impact:

If current behavior is to crash violently with an obscure message, then this is a clear improvement.
If current behavior is to raise with an informative message, this is also fine.
If current behavior is to not raise, or handle this silently, this may be disruptive as some workflows that now work, will seize to work. If this is the case, we should probably go through a user warning for a while and clean the incoming information from the global config.

This means that if e.g. alias in the global config (erroneously) is a None it will now raise?
I think it depends a bit on current behavior how this will impact:
* If current behavior is to crash violently with an obscure message, then this is a clear improvement.

* If current behavior is to raise with an informative message, this is also fine.

* If current behavior is to not raise, or handle this silently, this may be disruptive as some workflows that now work, will seize to work. If this is the case, we should probably go through a user warning for a while and clean the incoming information from the global config.

If the value of alias is None pydantic raises. If its lacking/unset there is a default-factory that will produce a empty-array/list. Any contents of the list must be of type string, meaning numbers can be represented as strings.
The current code (linked below) does not check if the value of "alias" is a list, so if the users gives anything other then a list it will break at this point.
It might be an AttributeError: 'NoneType' object has no attribute 'append', but if the user decides to create a new key-value mapping we would get an AttributeError: 'dict' object has no attribute 'append'. Looping back to the first statement, pydantic will raise if the contents of the "alias" key anything but empty or a list of strings.
https://github.com/janbjorge/fmu-dataio/blob/main/src/fmu/dataio/_objectdata_provider.py#L175

This means that if e.g. alias in the global config (erroneously) is a None it will now raise?
I think it depends a bit on current behavior how this will impact:
* If current behavior is to crash violently with an obscure message, then this is a clear improvement.

* If current behavior is to raise with an informative message, this is also fine.

* If current behavior is to not raise, or handle this silently, this may be disruptive as some workflows that now work, will seize to work. If this is the case, we should probably go through a user warning for a while and clean the incoming information from the global config.

If the value of alias is None pydantic raises. If its lacking/unset there is a default-factory that will produce a empty-array/list. Any contents of the list must be of type string, meaning numbers can be represented as strings.
The current code (linked below) does not check if the value of "alias" is a list, so if the users gives anything other then a list it will break at this point.
It might be an AttributeError: 'NoneType' object has no attribute 'append', but if the user decides to create a new key-value mapping we would get an AttributeError: 'dict' object has no attribute 'append'. Looping back to the first statement, pydantic will raise if the contents of the "alias" key anything but empty or a list of strings.
https://github.com/janbjorge/fmu-dataio/blob/main/src/fmu/dataio/_objectdata_provider.py#L175

OK 👍
@rwiker will Sumo be affected with empty lists in produced metadata from FMU?

Empty lists should be fine; it should be easy to check.

On 30 Jan 2024, at 19:50, Per Olav Eide Svendsen @.***> wrote:
This means that if e.g. alias in the global config (erroneously) is a None it will now raise?
I think it depends a bit on current behavior how this will impact:

If current behavior is to crash violently with an obscure message, then this is a clear improvement.

If current behavior is to raise with an informative message, this is also fine.

If current behavior is to not raise, or handle this silently, this may be disruptive as some workflows that now work, will seize to work. If this is the case, we should probably go through a user warning for a while and clean the incoming information from the global config.
If the value of alias is None pydantic raises. If its lacking/unset there is a default-factory that will produce a empty-array/list. Any contents of the list must be of type string, meaning numbers can be represented as strings.

The current code (linked below) does not check if the value of "alias" is a list, so if the users gives anything other then a list it will break at this point.
It might be an AttributeError: 'NoneType' object has no attribute 'append', but if the user decides to create a new key-value mapping we would get an AttributeError: 'dict' object has no attribute 'append'. Looping back to the first statement, pydantic will raise if the contents of the "alias" key anything but empty or a list of strings.
https://github.com/janbjorge/fmu-dataio/blob/main/src/fmu/dataio/_objectdata_provider.py#L175
OK 👍
@rwiker https://github.com/rwiker will Sumo be affected with empty lists in produced metadata from FMU?
—
Reply to this email directly, view it on GitHub https://github.com/equinor/fmu-dataio/pull/433#issuecomment-1917682844, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAIDQORYRQVUU4DIKLCZP2TYRE6IDAVCNFSM6AAAAABCPTLCOCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMJXGY4DEOBUGQ.
You are receiving this because you were mentioned.

LGTMBWDIK.

...if Sumo handles empty lists when they start arriving.

Main change here, as I see it, is that fmu-dataio will produce data where alias and stratigraphic_alias is present as an empty list if no values. Previously, it would be populated list or nothing at all (tag not present).
Will empty lists validate against the legacy schema? It is not discontinued yet, so when this hits main it also hits Komodo bleeding, and then it hits the nightly tests.
In short: We should probably allow empty lists in the legacy schema if they don't currently validate.

@rwiker will Sumo handle empty lists? And is this allowed by the legacy schema?
If no data present:
Today: stratigraphic_alias will not be present at all in the metadata.
After this PR (if I understand this properly): stratigraphic_alias will be present, but as an empty list.
Current schema defines stratigraphic_alias as a list where each item is an instance of data/name, which is a string. So before we merge, the following should be checked:

[ ] Current schema allows the data as they are produced post this PR
[ ] Sumo accepts empty lists, also in indexed fields

I just tested with one surface object, which had a single value in the list data.alias. If I remove the value, leaving an empty list, I’m still able to upload the document with the current json-schema.
Note that in elasticsearch, every attribute/property/tag/whatever can accept either no values at all (i.e, being left out), a single value, or a list of values. So, for data.alias, the following are all valid options

(nothing)
"alias": []
"alias": "Therys Fm."
"alias": ["Therys Fm."]
"alias": ["Therys Fm.", "Formation Therys"]

On 9 Feb 2024, at 13:46, Per Olav Eide Svendsen @.***> wrote:
@rwiker https://github.com/rwiker will Sumo handle empty lists? And is this allowed by the legacy schema?
If no data present:
Today: stratigraphic_alias will not be present at all in the metadata.
After this PR (if I understand this properly): stratigraphic_alias will be present, but as an empty list.
Current schema defines stratigraphic_alias as a list where each item is an instance of data/name, which is a string. So before we merge, the following should be checked:
Current schema allows the data as they are produced post this PR
Sumo accepts empty lists, also in indexed fields
—
Reply to this email directly, view it on GitHub https://github.com/equinor/fmu-dataio/pull/433#issuecomment-1935868994, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAIDQOQRGJT2TCBXMBP3RNLYSYLDTAVCNFSM6AAAAABCPTLCOCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMZVHA3DQOJZGQ.
You are receiving this because you were mentioned.

Parking for now, we have other things to address.


Sync rhs/ceph-csi:devel with ceph/ceph-csi:devel

syncing downstream devel from upstream devel to get latest fixes,

/cherry-pick release-4.10

/assign @nixpanic

backporting this to 4.10 will have fix for https://bugzilla.redhat.com/show_bug.cgi?id=2014495


⚠ ClamAV has degraded performance

In fcb34da, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 146 ms

Resolved: ClamAV performance has improved in 85d4b6d.


Non standard MySQL Port

You hard coded a non-standard MySQL port. Someone that doesn't know better will get an error if they don't change it.
In config.php you have
port=8889
MySQL default port is 3306

yes I've removed that now.


extended_gcd.py fixed

Extended gcd fixed
Rewriteen extended gcd unit tests

Could you provide some comments on why you have extended the code and what exactly you have improved?

Could you provide some comments on why you have extended the code and what exactly you have improved?

Using integer division ensures each step correctly reduces the problem, eventually reaching the GCD. динах
If floating-point division were used, the algorithm could end up with non-integer, inaccurate coefficients that do not satisfy Bézout's identity.


cli tests

Need to implement support for (w,k)-minimisers and then create test output files.

cd metagenomics/sliding_window/build <- visit build dir
make sliding_window_test <- compile your chosen test
test/cli/sliding_window_test <- run the test


Pagination and section progress

We need to split content/questions across pages and also have a progress bar for sections.

Badge title
Section progress
SASS Media queries (resize garter and images as per design guidelines)
Pagination of questions
Reduce image sizes


New version: WHONET.AMRIE version 24.2.16

[x] Have you signed the Contributor License Agreement?
[x] Have you checked that there aren't other open pull requests for the same manifest update/change?
[x] This PR only modifies one (1) manifest
[x] Have you validated your manifest locally with winget validate --manifest <path>?

[x] Does your manifest conform to the 1.6 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

=== manifests\w\WHONET\AMRIE\24.2.16 ===
Missing Properties value based on version 23.12.21:
ProductCode
Installers

Installers check - this PR has 1 installer. Previous version has 1 installer. #140216 had the same installer for both architectures.
ProductCode check - This is used in matching, but I'm not sure how necessary it is here. Including the value from #140216 just in case: ProductCode: '{04D2A1F6-FACD-4FAE-8498-5C98FBEB4A54}'


Set Cache-Control: no-cache for responses with an ETag

Background: right now browsers will cache IIIF resources to disk for the caching period before checking if new content is available. That means we're never sending up an If-None-Match and getting a corresponding 304, so we end up with stale data in the browser. This change makes clients always send an If-None-Match before using the local cache.
Related to https://github.com/dlcs/iiif-presentation/issues/140

Worth adding a test, a regression here would cause FE issues?

What test suite would that go in (i.e. do we have an integration suite in the .NET code, or do you mean e2e)?

Actually, it was the auto-formatter that put the braces on the same line. Can someone check the correct code style into the shared DotSettings in Rider?

What test suite would that go in (i.e. do we have an integration suite in the .NET code, or do you mean e2e)?

Integration tests are in https://github.com/dlcs/iiif-presentation/tree/main/src/IIIFPresentation/API.Tests/Integration - I think a test for this could be added to GET Manifest and/or Collection tests.
Using existing integration test class will bootstrap db (and localstack if required) and configure WebApplicationFactory for making http requests.


feat: support luarocks.nvim

https://github.com/vhyrro/luarocks.nvim

luarocks support should be builtin now
so you don't need this plugin at all


Flutter Hot reload/restart issue in stable, after flutter upgrade in master for Flutter Desktop

I am a Flutter Developer working on mobile Apps, recently worked on FlutterWeb from master channel ,everything worked. Then  after I upgrade for windows setup ,many existing mobile apps Hot Reload and Hot Restart issue is coming.
After Hot Restart and  code is not updated in UI, console prints
Error 105 received from application: Isolate must be runnable
After Hot Reload, UI is hanged and code is not updated in UI, console prints .
An isolate is paused; interface might not update.
I had to Hot Restart with same error above
Steps to Reproduce

Upgraded Flutter Channel Master,
Installed Windows SDK as mentioned by Flutter

**Target Platform: Mobile **
Target OS version/browser: Android 9
Devices:OnePlus 3T
Logs

flutter doctor -v   // stable
[√] Flutter (Channel stable, v1.9.1+hotfix.4, on Microsoft Windows [Version 10.0.17763.805], locale en-US)
    • Flutter version 1.9.1+hotfix.4 at C:\Users\Navoki\flutter
    • Framework revision cc949a8e8b (3 weeks ago), 2019-09-27 15:04:59 -0700
    • Engine revision b863200c37
    • Dart version 2.5.0

[√] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
    • Android SDK at C:\Users\Navoki\Android\SDK
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-29, build-tools 29.0.2
    • ANDROID_HOME = C:\Users\Navoki\Android\SDK
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b03)
    • All Android licenses accepted.

[√] Android Studio (version 3.5)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin version 39.0.3
    • Dart plugin version 191.8423
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b03)

[√] IntelliJ IDEA Community Edition (version 2019.1)
    • IntelliJ at C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2019.1.2
    • Flutter plugin version 40.1.1
    • Dart plugin version 191.8423

[√] VS Code (version 1.39.0)
    • VS Code at C:\Users\Navoki\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.4.1

[√] Connected device (2 available)
    • ONEPLUS A3003 • ec6202af        • android-arm64 • Android 9 (API 28)
    • ONEPLUS A3003 • <IP_ADDRESS>:5555 • android-arm64 • Android 9 (API 28)

• No issues found!

flutter doctor -v   // master

Thank you for the report @theshivamlko ! I'm going to close it in favour of https://github.com/flutter/flutter/issues/34954. Please follow it there and upvote.
CC @jonahwilliams still in v1.9.1+hotfix.4.


Provide DSA link on the main README.md

Provide DSA link on the main README.md
Currently there is no hyperlink for the DSA on the main readme. We need to add that.

i want to work on this issue . Please assign this to me.