Error getting the coverage report using rewire / cross-env

I'm trying to get the coverage report using nyc and it works well if I'm not using the cross-env plugin.
nyc mocha --ui bdd --reporter spec --colors --require babel-core/register tests --recursive

this instruction runs the test and generate the report correctly. But if I only add cross-env NODE_ENV=test  before the previous command the output will be empty
Expected Behavior
should generate the coverage report
Observed Behavior
the report is empty
node:
this is my babel plugin and I think the issue is related to the babel-plugin-rewire. Indeed, even removing the cross-env and placing the plugins collection in the root will give me the same empty coverage result.

{
  "presets": ["es2015"],
  "env": {
    "test": {
      "plugins": ["istanbul", "babel-plugin-rewire"]
    }
  }
}

I am getting the same


uvloop issues

There are some issues with uvloop running with pulsar as some tests fails when spawning process based actors (bad file descriptor)

replaced by #262


workaround Issue 2396 - O(N^2) backend optimizations

When adding similar workarounds to phobos the discussion in the PR resulted in that it's best to add comments why this workaround is used, so I added // avoid slow optimizations for large functions @@@BUG@@@ 2396.

Missing link: https://issues.dlang.org/show_bug.cgi?id=2396

Generally, when posting a PR that addresses a bugzilla issue, please provide a link here to the bugzilla issue, and a link in the bugzilla issue pointing back here. Otherwise, nobody reading bugzilla will know there's a patch for it.

Done

LGTM

Auto-merge toggled on


Replacing the python implementation

We all know the reason why this tool was created: the Python implementation has a lot of issues and not the most convenient to maintain.
How do you feel about implementing the same flags for this tools to it could be a drop-in replacement of the Python implementation that we could simply purge?
I'm happy to help with this!
Cc @MrBoombastic

I fowarded this idea to @VenomPCPL. I think that is easy to do, but I don't know if flags should be the same. I personally don't like some in Python driver. Maybe adding aliases is a solution? I don't know. We will see.
I will keep this issue opened. It's interesting topic.

Thank you for taking care and forwarding @MrBoombastic!

I think that is easy to do

Yeah, I think too and, as I mentioned, I'm happy to help with that. Mainly I wanted to discuss as per this recommendation.

I personally don't like some in Python driver.

Me neither. Also, I think it is a bad thing that the import/export/repl/restore is living in a client/driver.

Maybe adding aliases is a solution? I don't know. We will see.

That's a good idea, as I can see, most of the aliases are in place, though I didn't compare everything. Although most of the flags are there for the import and export I found some that were a fundamental part of the Python implementation, but I didn't find them here.
The export sub-command

--format
--fields
--delimiter
--clients -- this one is probably not needed

The import sub-command
If I'm right the current import command is doing what the restore command, and partially, import did in the Python client. This means that the two could be combined.

--force
--shards
--replicas
-d -- import from a directory
--format
--pkey
--delimiter
--custom-header
--no-header
--clients -- this one is probably not needed

If you want to add some features, you can open a pull request. We are currently doing nothing in this tool, so any collaboration is much appreciated.
We are happy that somebody found this tool useful and wants to help us. Thank You.


Update FAQs page

Describe the feature request
I quite often come across the question of where to get a ETH on the Taiko Katla network to test the Taiko ecosystem. I think it would be nice to update the FAQs page in Taiko docs ( https://docs.taiko.xyz/resources/faqs/ ) and get the answer to this question there. it might look like:
How do I get a ETH on the Taiko Katla network?
You can use the official Taiko bridge to send your ETH from the Holesky network to the Taiko Katla network.
Spam policy

[X] I verify that this issue is NOT SPAM and understand SPAM issues will be closed and reported to GitHub, resulting in ACCOUNT TERMINATION.

Feel free to create a PR to add this section!

Feel free to create a PR to add this section!

ready sir
https://github.com/taikoxyz/docs/pull/75


preSearchFilter doesn't add provided search params to URL or search state

Describe the bug
With preSearchFilter specified, accessing route directly via URL doesn't add specified search params to the URL / search state.
When navigating to the route that's supposed to have default search params, the URL has the specified param, but the search state from useMatch doesn't contain the param value
Your Example Website or App
https://codesandbox.io/p/sandbox/router-search-default-o7q8tu?selection=[{"endColumn"%3A41%2C"endLineNumber"%3A47%2C"startColumn"%3A41%2C"startLineNumber"%3A47}]&file=%2Fsrc%2FApp.tsx
Steps to Reproduce the Bug or Issue

Go to repro
Notice ?floor=1 is not in the URL / controlled "floor" input is empty <--(this is the first behaviour repro)
Go to "/additional" route (Click "Additional" link next to the "floor" input)
Go back to "/" route (Click "Main" link)
See URL contains ?floor=1 but the controlled "floor" input is empty  <--(this is the second behaviour repro)

Expected behavior
I expect

To hit a route via URL and see default search params in both URL and search state
Search params in URL to by synced to search params state

Screenshots or Videos
https://user-images.githubusercontent.com/16290753/207154033-dae4acd7-2cce-408b-915e-19ee5dec8616.mp4
Platform

OS: macOS
Browser: Firefox
Version: 108.0b9

Additional context
"dependencies": {
  "@tanstack/react-router": "0.0.1-beta.38",
  "react": "^18.2.0",
  "react-dom": "^18.2.0",
  "zod": "^3.20.1"
}

Possibly related to #453

I'm also seeing this behavior.  Also, if I set default values in validateSearch, those values will appear in match.routeSearch but not when using useSearch.

Using zod .default() operator negates the issue (which is probably a better way of managing default search params). Here's an example sandbox
With the usage of preSearchFilters, the behaviour is less of an error, but more confusing: defaulting search param to a value does not set default search param in the URL, but is passed down the component as a value. Going to a different route and coming back yields the same result. Here's an example sandbox.
I'd expect preSearchFilters to update the URL search params.
Please, let me know what you think.
I'm gonna keep the issue open, but feel free to close it. I'd love either a clear guide on how to manage default search params "the right way" or a "fix" to the behaviour before the issue is closed, though.

This is a long running regression to bug. It’ll be fixed soon.
Tanner Linsley
On Jan 27, 2023 at 10:18 AM -0700, moshyfawn @.***>, wrote:

Using zod .default() operator negates the issue (which is probably a better way of managing default search params). Here's an example sandbox
With the usage of preSearchFilters, the behaviour is less of an error, but more confusing: defaulting search param to a value does not set default search param in the URL, but is passed down the component as a value. Going to a different route and coming back yields the same result. Here's an example sandbox.
I'd expect preSearchFilters to update the URL search params.
Please, let me know what you think.
I'm gonna keep the issue open, but feel free to close it. I'd love either a clear guide on how to manage default search params "the right way" or a "fix" to the behaviour before the issue is closed, though.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: @.***>

Fixed in the next release!


Apply a natural box layout model to all elements

Found the comment very pertinent in your pull request decided that made sense to apply it to your scss fork. Also added the calculation of thirds etc, in case I want to change the $TOTAL_COLUMNS.

Awesome, Jorge! Definitely merging in. Didn't expect to bump into you this way! Hope things are going well over in Portugal.


Time-stamped input

We cannot count too much on a fast event loop.
Instead, OS provides input events with timestamp, for example Linux evdev. It would be good to gain access to them through the input library.

In the case a window backend can not provide time stamps from the OS, it could produce them manually.
One special case is the update event, which perhaps not should have a time stamp to allow event transformation.

We could put time stamp on the events that are provided by SDL2.
Alternative, we could use a trait with a method that returns Option<timestamp>.


Missing 1.5.0 tag on git

The 1.5.0 was released on hex.pm https://hex.pm/packages/prom_ex/1.5.0 but do not exists a tag on git history.

Thanks for the reminder! This is why I shouldn't cut releases late at night hah!


Can not segment efficientdet_lite3_512_ptq.tflite

Hi,
Although others like efficientdet_lite2_448_ptq.tflite works well, I met a trouble when I tried to segment  efficientdet_lite3_512_ptq.tflite that grabbed from
https://github.com/google-coral/test_data.git
When I ran the command below to segment the model,
edgetpu_compiler --num_segments=2 efficientdet_lite3_512_ptq.tflite

I got the error below
Edge TPU Compiler version 16.0.384591198
Started a compilation timeout timer of 180 seconds.

Model compiled successfully in 1857 ms.

Input model: efficientdet_lite3_512_ptq_segment_0_of_2.tflite
Input size: 5.20MiB
Output model: efficientdet_lite3_512_ptq_segment_0_of_2_edgetpu.tflite
Output size: 6.51MiB
On-chip memory used for caching model parameters: 6.02MiB
On-chip memory remaining for caching model parameters: 1.02MiB
Off-chip memory used for streaming uncached model parameters: 0.00B
Number of Edge TPU subgraphs: 1
Total number of operations: 84
Operation log: efficientdet_lite3_512_ptq_segment_0_of_2_edgetpu.log
See the operation log file for individual operation details.
Compilation child process completed within timeout period.
Compilation succeeded!
Started a compilation timeout timer of 180 seconds.
ERROR: Restored original execution plan after delegate application failure.
Compilation failed: Compilation failed due to large activation tensors in model.
Compilation child process completed within timeout period.
Compilation failed!
Error: fail to compile model segment 1

Could anyone kindly tell me how to fix this?
Thank you in advance.
Tyouritsugun

@tyouritsugun efficientdet_lite3_512_ptq.tflite  can be compiled with intermediate tensor flag only. Since it can be compiled with -i flag only, we can't pass --num_segments commands to the compiler. https://coral.ai/docs/edgetpu/compiler/#usage
edgetpu_compiler -s  -i "box_net/box-predict/BiasAdd;box_net/box-predict/separable_conv2d_4;box_net/box-predict/separable_conv2d;box_net/box-predict/bias"  efficientdet_lite3_512_ptq.tflite

Thank you for your kindly reply.
Does this mean that I can not pipeline efficientdet_lite3_512_ptq?
Another question, the parameters of box_net/box-predict/BiasAdd;box_net/box-predict/separable_conv2d_4;box_net/box-predict/separable_conv2d;box_net/box-predict/bias are arcane to me, where can I find the documents to help me configure the correct parameters?
Tyouritsugun

Yes, you can't pipeline efficientdet_lite3_512_ptq.tflite model.
The parameters to pass for -i flag are the operation names. You can find these visualizing the model using https://netron.app/

Thank you!
I think that I've met you somewhere else in github, you help me a lot!
Tyouritsugun


fitbounds to tilesource in a collection?

I'm presenting many images in a collection and want to allow users to also navigate to a tilesource in the collection vs. display only that tilesource.
I've used fitbounds to 'zoom to' coordinates, and I can navigate to tilesources in sequence (one at at time), but cannot figure out how to maintain the collection view and 'fitbounds' to a page(tilesource).
See working page & note the behavior of the buttons labeled 'image 3' and 'image 4'.
Using:
        $('.w003').click(function() {           viewer.goToPage(3);         }
https://chattanoogahistory.com/marr-field

Something like this should do the trick:
var index = 2; // The third image, counting from 0
var tiledImage = viewer.world.getItemAt(index);
var imageBounds = tiledImage.getBounds();
viewer.viewport.fitBounds(imageBounds);

THANK YOU. That works and saves me a lot of time setting coordinates to target.
I'm again showing my mental block in javascript. But I try to make up for it with creative use.
Ha.

Yeah, your site continues delight me! So much great stuff, and I love how you keep developing new ways to present the material :)


use GitHub actions

Thanks! #356 did this and more, but you used the plugin.  I'm going to work on merging that one t get the "and more", and then reconcile it with this one.

Thanks! #356 did this and more, but you used the plugin.  I'm going to work on merging that one t get the "and more", and then reconcile it with this one.

This is still going to fail pending #370, but is closer to where we want to be.

This is still going to fail pending #370, but is closer to where we want to be.

master works now (except for the release, because nobody set that up)

master works now (except for the release, because nobody set that up)


bz-1914418 checking for current migration UID for resources while labeling

This PR solves 1914118
This PR only excludes resources from getting labeled again if they have current stage labels.

Updated title to reflect BZ1914418

Updated title to reflect BZ1914418


Briskett not working anymore

Hapenning for some weeks now. Briskett now seems to have stopped working.
https://connect.trezor.io/ keeps on "loading" and nothing happens. Cache, etc., all cleaned/updated.
How to access the wallet with Trezor?

It seems that a new Trezor Bridge has been released, so Briskett will need to be updated for it to work again.

What can be done for it to work right now? Tried everything, running as an app, etc.

Trezor Bridge seems to be the same.

@clngr Not sure. I don't think Trezor firmware can be downgraded. Briskett sit will need to be updated.
I may have some time this weekend to patch it.

Firmware updated again from 2.6.0 to 2.6.3.

@clngr Briskett has been updated to use v9 of the TrezorConnect API. I've tested this to work with firmware 2.6.3 with a Trezor Model T. Please confirm that this issue is fixed for you.


Input control's title can not be changed by updating the bound selected-object

My template has
selected-object="selectedPerson"
but when the controller does
$scope.selectedPerson.title = '';
or even
$scope.selectedPerson = {};
the title is not cleared in the input control.
If the view dumps out selected person:
{{ selectedPerson | json }}
then the title can be seen to change there, but not in the component

selected-object is not 2-way bound variable. So, you can't change it from your controller.
It is only set from the directive, it's only one-way.
It's been designed like this from the original angucomplete.
I haven't changed this internal structure.
If you want to set its initial value, then you need to use initial-value.
Have a look at this example. http://ghiden.github.io/angucomplete-alt/#example9

I don't want to set an initial value, but rather clear (or change) the displayed title when something else happens elsewhere e.g. an 'add' button is pressed.

Just use this broadcast.
https://github.com/ghiden/angucomplete-alt#clear-input

Clearing the value is working well. How do I set a different value to the control?

@pavan496  You mean after clearing the value? Just use the input field again.

I think he meant from code, not user interaction.

Oh, ok. If that's the case, there is no way setting a value from controller.

Okay.  Thanks..

Seems the right way to add this would be to broadcast an event containing the new selected object ?

I have a similar problem.
In my case, there is a set of object, one of this set is choosen by some selector control. Selected object is editable and is bound to form by a number of ng-model. One of these fields is editable with help of angucomplete-alt. I do really need to programmaticaly set selected-object, or initial-value, or broadcast something to set value of underlying text input.
I see unbindInitialValue is called to remove watcher from initial value. Simple dirty solution is to remove this call. But I really don't want to use monkey-patched version of your control.

This directive does not support 2-way binding so it's not possible to update the input value programmatically. Not removing the watcher might solve your issue. But I'm not planning to change this behavior. If I really have to implement it, then I would probably use event system.

If you want to keep your course and don't want to break existing code and behaviour, you have to add event handlers and listen appropriate messages. It might be not too convenient, but I see no other alternative.
I think, many users would appreciate this feature. I could help you, because I need to fix it in my project as soon as possible.

@artvlasov go ahead and submit a patch that listens to some new event. I'm bound to need it at some point too, just hadn't had a chance to do it in advance yet.


Ambient Light MSL430 Lamp

Is this lamp supported by this integration?

I installed the light and it worked good immediately.
Thanks....


Update and improve the Directory Structure topic

Fixes #9965
The dir structure has experienced considerable churn release-to-release. I recommend we version latest. Otherwise, we're going to have to get into the time machine to figure out when the dir structure changed in order to version this content currently.

@scottaddie I think we can handle this because there's no significant new content here. The changes to the published output dir structure come directly from test publishing here. Otherwise, this is just nits and links.


Fix for issue #102

Updated line width to 100% from 1000

Sure, 👍  You have done one heck of a job, compiling and customizing everything 😮! I took a lot of reference from your profile for building my own, so Thanks for that!!!


Firestore dependency version is not found in BOM

When trying to package an mvn application using the BOM and google-cloud-firestore, there is an error:
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[ERROR] 'dependencies.dependency.version' for com.google.cloud:google-cloud-firestore:jar is missing. @ line 56, column 17
 @
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR]   The project com.example.guestbook:guestbook-cloud-firestore:1.0-SNAPSHOT (/tmpfs/src/github/java-docs-samples/appengine-java11/guestbook-cloud-firestore/pom.xml) has 1 error
[ERROR]     'dependencies.dependency.version' for com.google.cloud:google-cloud-firestore:jar is missing. @ line 56, column 17
[ERROR]

pom.xml:
...
  <dependencyManagement>
    <dependencies>
      <dependency>
        <groupId>com.google.cloud</groupId>
        <artifactId>libraries-bom</artifactId>
        <version>3.3.0</version>
        <type>pom</type>
        <scope>import</scope>
      </dependency>
    </dependencies>
  </dependencyManagement>

  <dependencies>
    <dependency>
      <groupId>com.google.cloud</groupId>
      <artifactId>google-cloud-firestore</artifactId>
    </dependency>
...

This should be fixed in google-cloud-bom 0.121.0 via #163


[import/order] Feature request: ignore non top level imports

An example:
Options:
"alphabetize": {
  "order": "asc"
}

import { B } from 'module-b'

export function methodA() {
  if (SOME_ENV) {
    import { A } from 'module-a'

    return A.methodA()
  }
}

ESLint: medule-a import should occur before import of module-b(import/order)

The rule should applies only with imports from the same level(scope).

That's entirely invalid syntax; import statements can only ever appear at the top level of a module.


Use SBT version from project/build.properties if available

It would be nice if the action could use the SBT version specified in project/build.properties if available.
It could override the version specified in the action setup or make that optional.

As a workaround, I added a task before the setup-sbt action:
    - name: Get project SBT version
      run: echo "SBT_VERSION=$(cat project/build.properties |cut -d= -f2)" >> $GITHUB_ENV
      id: sbt-version

    - name: Install SBT
      uses: Jtalk/setup-sbt@v1
      with:
        version: ${{ env.SBT_VERSION }}


fix: documented dev features in readme.

Also found and fixed bug in --dry-run while testing docs.
Closes #54

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Assets are not being extracted with -e flag

Hello,
I am having trouble since yesterday because the assets are not being extracted in the build process
The command that I am running is
buffalo build --environment production -e
> (No output)

It has not worked with neither the -e nor the --extract-assets flags because it only generates a binary file in the /bin directory
I am used to have the compiled assets in the /public directory as in Rails and I would like to serve all of them by the reverse proxy
buffalo version
> INFO[0001] Buffalo version is: v0.14.3
node -v
> v10.12.0

Thanks in advance

Could anyone help me please?


Consider using a chat service for community discussion

Would be nice to have some kind of place for free-form, asynchronous discussions that don't really fit into github issues. Perhaps Gitter? http://gitter.im/ - we could put a badge to it on the README.

I was about to suggest a public slack chat or IRC, but following the link, it actually looks really built around GH, nice.

Something that has travis support as well would also be great. They use it for https://github.com/diesel-rs/diesel - not sure how it has gone with them.

Slack would be cool - there's more friction for users signing up though, and you can't see the scrollback if you're not signed in.

I setup a gitter room for now. I can see about setting up github and travis integration with it as well in a bit. Let me know if anything else I should setup (or if another service seems better).
https://gitter.im/Marwes/gluon

PR #65

Are there any particular benefits to Slack? I hear about it a lot but I have never actually used it.

We use it at work and for my personal game project. It's a better fit for private teams, but people seem to try to use it for everything. It doesn't really have a sidebar for integrations though - you really need a separate room for it to spam away at things.

I think this is done! Gitter seems reasonable for now. https://gitter.im/Marwes/gluon <- for folks who missed it!


Fuzzing uint256[][] is very slow (30s+ for noop)

Component
Forge
Have you ensured that all of these are up to date?

[X] Foundry
[ ] Foundryup

What version of Foundry are you on?
forge 0.2.0 (78b22db 2024-01-13T00:17:38.098713000Z)
What command(s) is the bug in?
forge test
Operating System
macOS (Apple Silicon)
Describe the bug
Running any test with uint256[][] in the fuzzer is very slow, much slower than uint256[].
I made a noop test with a single uint256[][] argument and it took 36s.
The same test with a uint256[] argument took 390ms, so about 100x faster.
I've generally found the same if the uint256[][] appears somewhere in a struct etc. so I think it's probably just related to how the fuzzer builds nested structures.

actually doing something in the test gets extra slow

Well I think that's fair for 25.7M gas per run, for 2056 runs. I'm sure we can lower the time, but I don't believe by much.

Using
contract CounterTest is Test {
    function testFuzz_SetNumber(bool[][] memory x) public {}
}

Profiles:

12.95s debug mode: https://share.firefox.dev/47PFR5T
2.35s release mode: https://share.firefox.dev/3HD30Oh

14% of the time is spent generating values, 26% in our own Inspector::{step, step_end} functions, 60% running the transactions.
This is probably where the next Revm update might help us with custom opcodes, but in general we're still just executing a ton of bytecode.

@DaniPopes is there real value in generating gigantic matrices? i'd expect that there are diminishing returns at some point and data only needs to be so big to flush out most issues

we don't plan to make any change of this behavior as it is something more related to the way tests are written / organized


[WIP] Fix Trashbin Expected Failures

test
fixed?

apiTrashbin/trashbinFilesFolders.feature:215
✅

apiTrashbin/trashbinFilesFolders.feature:216
✅

apiTrashbin/trashbinFilesFolders.feature:230
✅

apiTrashbin/trashbinFilesFolders.feature:231
✅

TODO: add the remaining failures.

:boom: Acceptance tests Core-API-Tests-ocis-storage-8 failed. The build is cancelled...

:boom: Acceptance tests Core-API-Tests-ocis-storage-8 failed. The build is cancelled...

:boom: Acceptance tests Core-API-Tests-ocis-storage-8 failed. The build is cancelled...

:boom: Acceptance tests Core-API-Tests-ocis-storage-8 failed. The build is cancelled...

:boom: Acceptance tests Core-API-Tests-owncloud-storage-8 failed. The build is cancelled...


Fixing non-RO relation

Related to https://github.com/obophenotype/cell-ontology/issues/1262
Currently there are cl specific relations which should be either 1) removed, or 2) moved to RO

Level
Number of errors

http://purl.obolibrary.org/obo/cl#has_completed
1

http://purl.obolibrary.org/obo/cl#has_high_plasma_membrane_amount
1

http://purl.obolibrary.org/obo/cl#has_low_plasma_membrane_amount
1

http://purl.obolibrary.org/obo/cl#has_not_completed
1

http://purl.obolibrary.org/obo/cl#lacks_part
1

http://purl.obolibrary.org/obo/cl#lacks_plasma_membrane_part
1

http://semanticscience.org/resource/SIO_000658
1

http://purl.obolibrary.org/obo/cl#lacks_plasma_membrane_part seems to be a shorthand, should this moved to RO?

http://semanticscience.org/resource/SIO_000658 - not used directly in CL, should be removed

[ ] RO release
[ ] change 'has high plasma membrane amount' to  RO_0015015
[ ] change 'has low plasma membrane amount' to RO_0015016

closing per @shawntanzk's direction


🐛 [Bug Report]:

BlizzCMS Version
1.2.1
Emulator
TrinityCore
PHP Version
PHP 7.4
Operating system
Windows
Web server
Apache
Database
MySQL 8.0  I think?
What happened?
Everything works just fine and dandy.
When accessing from static IP    Can create account, login to account.
When accessing from domain   it wont login nor create account.
AN ERROR WAS ENCOUNTERED
The action you have requested is not allowed.
Sorry if its something dumb.
Cheers for this gem!
How can the issue be reproduced?
Accessing from static IP & Domain.
Screenshots
No response

Hello, about your problem, first it is necessary to clarify something:

In your issue is established that it is related to version 1.X
If you downloaded the latest changes from the main branch, I must clarify that it is version 2.X and it is still in beta.

Finishing the clarification, let's respond to the problem that you have:
Due to a change you made to $config['base_url'] which you can find in the following path application/config/config.php, it is only allowing access depending on what you used.
Example:

If you use IP it will only be accessible through it.
If you use Domain it will only be accessible through it.
If the configuration is still the default, the host server will be determined internally if it is IP/Domain, so you can access both.

As additional information:

In version 1.X the base_url by default verifies if the request is for HTTP/HTTPS.
In version 2.X it can now be installed from a subfolder.

Hey.
Thank you so much for taking time & replaying.
I haven't touch it at all (Config) so it recognize
" IP/Domain, so you can access both."
Been trying to use beta version as well but given up since something in SQL had to be changed can't remember exactly  so 1.2.1 version installed.
I'm 100% doing something wrong but should I edit something?
was experimenting with adding IP & domain to:
"$config['base_url'] = (is_https() ? 'https://' : 'http://')"
It will just show site as broken or what not.
Not sure does "SSL" have some problems with it as well.
(Got SSL for IP working correct  not for domain while attempting first time. So kinda given up on it  until other stuff are corrected.)
So unsure does that maybe have some effect as well?
I can feel my brain growing in real time.
Once again thank you so much.

Maybe you are making a mistake when trying to configure it. I give you some examples for version 1.X that should work in each case:
// Configuration by IP
$config['base_url'] = $protocol."<IP_ADDRESS>/";

// Configuration by Domain
$config['base_url'] = $protocol."mywebsite.com/";

Default config is:
https://github.com/WoW-CMS/BlizzCMS/blob/c2c01aa81488f8d434b4b4ffa8791b996ecc24f5/application/config/config.php#L26-L27

@DZywolf
I see my mistake thank you for explaining.
Been adding link  to wrong section how ever problem persist.
After adding static IP:   site loads,  login works etc.
After adding domain:  Site wont load at all.
(On  IP nor domain)
But this should be obvious since  domain is redirect to IP +Mask.
However if I disable "Mask" on domain thigs works fine.

If you use a domain the website will not load due to the fact that its 'base_url' is the domain and it has no way of knowing if that domain is pointing to the IP if you don't have an A Record (DNS).

Yes it was "A Record"
Thank you SO  MUCH!


Enhanced CQL Console is not working

Nothing is returned in the enhanced CQL console - works find in standard CQLSH
MacOS Arm 0.1.0-beta1-rc1 from https://github.com/axonops/axonops-workbench-cassandra/releases
https://github.com/axonops/axonops-workbench-cassandra/assets/163300/051e2692-5e89-4433-ac28-c94fa32574ea

Has been fixed with latest build


Incorrect buffer positions in PureJavaSnappy causes IllegalArgumentException with hadoop-common's SnappyCodec

I'm debugging SnappyCodec related issues in hadoop-common which begins to use snappy-java since Hadoop 3.3.1. The exception I saw is:
java.lang.IllegalArgumentException
        at java.nio.Buffer.limit(Buffer.java:275)
        at org.xerial.snappy.Snappy.uncompress(Snappy.java:553)
        at org.apache.hadoop.io.compress.snappy.SnappyDecompressor.decompressDirectBuf(SnappyDecompressor.java:268)
        at org.apache.hadoop.io.compress.snappy.SnappyDecompressor.decompress(SnappyDecompressor.java:217)

This is caused by incorrect positions in PureJavaSnappy.

hi @viirya @xerial
thanks for fix this, we seems having the same problem, can you help to release a snapshot version for us to try?(main branch github action failed )


table of results similar to fairtally

Description
Refs: #36
There is still a problem with permissions on the .tortellini directory (where I chose to write index.html). I'm currently bypassing that issue by manually setting the permissions on that directory so the file can be written.
If you run it on urls.txt with:
https://github.com/nlesc-nano/insilico-server
https://github.com/nlesc-nano/Moka
https://github.com/nlesc-nano/flamingo
https://github.com/nlesc-nano/CAT
https://github.com/fair-workflows/nanopub
https://github.com/puregome/notebooks
https://github.com/matchms/ms2deepscore
https://github.com/GooglingTheCancerGenome/sv-channels/
https://github.com/fair-software/fairtally
https://github.com/e-mental-health/orange-hackathon
https://github.com/e-mental-health/data-processing
https://github.com/LINNAE-project/SFB-Annotator
https://github.com/DeepRank/deeprank
https://github.com/NLeSC/eEcology-Classification
https://github.com/parallelwindfarms/byteparsing
https://github.com/RETURN-project/BenchmarkRecovery
https://github.com/nlesc-nano/ceiba
https://github.com/NLeSC-GO-common-infrastructure/marzipan
https://github.com/FAIR-data-for-CAPACITY/FHIR-to-CAPACITY
https://github.com/JungleComputing/rocket

You should get this result in .tortellini/index.html:

Before you get started

[x] I read and I followed contributing guidelines
[x] ☝ Create an issue to discuss what you are going to do

Checklist
This section should be filled in by the creator of this pull request to make sure the pull request is ready to review.

[x] This pull request has a descriptive title
[x] Code is written according to the code quality guidelines
[x] Documentation if applicable is available
[x] Tests run successfully
[x] All checks below this pull request were successful

Instructions to review the pull request

mkdir .tortellini # to circumvent permission problem

Make urls.txt with above content.

Add environment vars to your terminal using my notes from https://github.com/tortellini-tools/action/issues/124#issue-914934346 (probably needs export too), then
npm install
npm run build
npm run package
node dist/index.js

Thanks for the review! :soccer:


chore(deps): upgrade configuration

Upgrades project dependencies. See details in workflow run.

Automatically created by projen via the "upgrade-configuration-k8s-30-main" workflow

⚪ Backport skipped
The pull request was not backported as there were no branches to backport to. If this is a mistake, please apply the desired version labels or run the backport tool manually.
Manual backport
To create the backport manually run:
backport --pr 4606

Questions ?
Please refer to the Backport tool documentation


Timeline:  SQL Query to fetch event data

Tasks
Tasks

[ ] Create a query to retrieve the daily counts of added and removed plants between a timespan
[ ] Create a query to retrieve the monthly counts of added and removed plants between a timespan
[ ] Create a query to retrieve the yearly counts of added and removed plants between a timespan

Question: Should the aggregation be done by the query or in the backend?
Use Case
Timeline Event View
Use case
Timeline Event View
Related Pull request
No response

Thank you for creating the issue! I think it is enough to create issues describing the end point  (like you did with #967) and write implementation notes/what the query should do etc. directly there.
Or what do you think @horenso?

@danielsteinkogler is there something open here?

This is done.

This is done.

This is done.


feat(TestStreamClient): support custom classes for test consumers and producers

Useful for more control of testing behavior in our test suite.
Specifically using this to implement a "StoppableTestConsumer" which can be interrupted during the .getone() call from the outside.
This is required to test the graceful shutdown behaviour we've implemented.
Next to that it allows overriding when the queue.task_done() is called, to make TopicManager.join() wait for all events to be fully processed before continuing to stop the stream engine. This prevents us from requiring sleep calls in our tests

Thanks!


Compatibility with terraform 0.13

the modules are not compatible with terraform 0.13. They are missing the specification of the provider:
https://www.terraform.io/docs/modules/providers.html#provider-version-constraints-in-modules
Error: Failed to query available provider packages

Could not retrieve the list of available versions for provider hashicorp/ibm:
provider registry registry.terraform.io does not have a provider named
registry.terraform.io/hashicorp/ibm

Closing this as the latest releases from v1.1.0 are compatible with terraform v0.13


Anime4k CNN input type

I'm curious about why the custom anime4k CNN is not using YUV input images, specifically focusing on the Y component. This approach is quite common in super resolution models due to the reduced sensitivity of our eyes towards chroma components.
The upscaling could be done only on the Y component and for the U/V components a simple bicubic upscale could be used, thus decreasing the computation complexity of the problem.

I'm curious about why the custom anime4k CNN is not using YUV input images

Anime4k v3.0


Can't set position to zero

I believe this is a bug...
When the new position prop is set to zero, the shouldUpdatePosition method always returns false.
The code in question is here.
Currently, the check for a new position is this:
if (position && nextPosition) {

If nextPosition is zero, then this test will always fail. But setting the position to zero should be a valid option. I think it should be something like this:
if (position && (nextPosition || nextPosition === 0)) {

I can get around it by setting position to a very small non-zero value like position = 0.01.

:tada: This issue has been resolved in version 2.1.3 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


add null/undefine value equal check and detailed explanation in src/assertions/elValueContains.js

Since the CI mark the change as wrong, and will need to check if the element is not visible which is null too, could make it a fake pass, PENDING it here until confirmed.


mesh

Can I get a mesh with color and texture?

Yes, the output of TADA is mesh with per-vertex color.


Current page doesn't reset when data changes

When you're on say page 3 of some current data, and the data then changes (most importantly changes size) the current page doesn't reset. This is especially a problem for times when your data shrinks by a lot, because it seems like the data is now gone until you page backwards. This is a bug that seems to be related to how Material UI v4 handles paging because it only appeared when I upped my @material-ui/core dependency >= 4.0.0. I checked and there is no issue with @material-ui/core==3.9.3.
-- Edit: here is the relevant MUI doc that explains why this appears.
If support for MUI v4 isn't targeted until future releases, so be it I suppose, but I'll put this out there.
Expected Behavior

What should happen, I think, is whenever the data changes, the current page is reset (which I verified occurs when you switch @material-ui/core to 3.9.3 and use my same sandbox below, live one).
Current Behavior

The current page doesn't reset when data changes.
Steps to Reproduce

See simple example: playground
Page past the initial page with the page arrow.
Click "Change Data" in the top right, this will shorten the list of data.
Observe that you are not reset to the initial page, but if you page back you can now see the shrunken list.
Click change data again to reset to the original and repeat if desired.

Here's the playground environment: (had to up React version to comply with MUI)

Tech
Version

Material-UI
4.0.0

MUI-datatables
2.12.0

React
16.9.0

browser
Chrome

My environment where I discovered it:

Tech
Version

Material-UI
4.4.1

MUI-datatables
>=2.10.2

React
16.9.0

browser
Chrome

Thank you @jlucier for reporting this and for the information in reproducing it. I can tie it to the material-ui version and the change made by material-ui. I'll be adding a fix to https://github.com/gregnb/mui-datatables/pull/948 as it solves the same issue, only in a different use of the library. So a more general fix is needed.
It is the goal to support material-ui v4, but it requires fixing issues just like these, so your help is greatly appreciated.

Verified the fix in 2.12.1, excellent! Thanks!
Possibly worth discussion: I don't know if this is intended behavior, nor do I think I have strong opinions on the whether it should or should not be this way, but now when you revert back to the original data the page goes back to the page you were on before the data change occurred. Make sense? You can bump the version in the sandboxes linked above and check it out.
I gather this is a detail of the implementation (clipping the currentPage as it's passed into the MUI layer rather than storing a clipped value), but I figured I'd let the posterity know this is a thing.

Something wasn't sitting right so I did more digging, sadly the plot thickens.
New sandbox.
The values of data.length and rowsPerPage seem to determine different behavior. I thought all was fixed because when the data changes such that data.length <= rowsPerPage, to the observer it looks like it resets the page to 0.
However, the following can be observed by playing with the number on line 14 of the new sandbox to change what the modified data array's length will be:

data.length > rowsPerPage -> the component will switch to the largest valid page, not the first page or something. Arguably not a bug, but a feature.
data.length === N * rowsPerPage where N > 1, and N is an integer -> the bug will reappear, no records shown because the page passed to MUI is out of bounds.

I hope this is helpful. Still very grateful for the fix as it stands!

I ran into the same issue today. In one of my tables I have a button that manually adds a filter to the table. I noticed when I was one the second page of the table and pushed the button I got the weird empty table message.
I believe this issue to due to how totalPages is calculated in the getPageValue function [1]:
function getPageValue(count, rowsPerPage, page) {
  const totalPages = count === rowsPerPage ? 0 : Math.floor(count / rowsPerPage);

  return page > totalPages ? totalPages : page;
}

If you have 30 items, and 10 rows per page, that function will tell you that you should be on page 3 (the 4th page since it's 0-indexed). But you should really be on page 2 (the 3rd page). I think the calculation is wrong, I think it should be this:
  const totalPages = count <= rowsPerPage ? 0 : Math.floor( (count-1) / rowsPerPage);
Making that change seems to fix the problem for me.
[1] https://github.com/gregnb/mui-datatables/blob/master/src/utils.js#L9

Nice catch @patorjk, totalPages is 1-indexed and page is 0-indexed, and I'm not accounting for that. Will fix.


kernels/ihaskell: install jupyterlab-ihaskell automatically

As discussed in https://github.com/tweag/jupyterWith/pull/167#issuecomment-917850551.

I'm not sure if there's a better way than just copying over the current contents of https://github.com/gibiansky/IHaskell/tree/master/jupyterlab-ihaskell/labextension, happy to change to a more robust process. I checked locally with this shell.nix in the root directory:
let
  jupyter = import ./default.nix {};
  iHaskell = jupyter.kernels.iHaskellWith {};
  jupyterEnvironment = jupyter.jupyterlabWith {
    kernels = [ iHaskell ];
  };
in jupyterEnvironment.env

And I was able to see syntax highlighting in notebooks opened from jupyter lab without any further configuration.

This works very well, thanks! I will merge like that and we can think about another approach later, this is already better than what we have.
How would an update of the extension happen (will it be needed often)?

I hope not, the core code (originally contributed by @MMesch) is pretty straightforward and changes are largely introduced by JupyterLab breaking backwards compatibility. Here are the instructions I use for building the extension, you probably want to use a version of nixpkgs that matches what you are using for the rest of jupyterWith.


Juris-M support

Juris-M currently doesn't start in the test environment. Until that is fixed (on the Juris-M end presumably), I can't do anything

JurisM support is nearly done with just one issue to resolve.


Fix invalid PIP dependencies

The logging module is part of the the python standard library.
The yaml module is provided by the pyyaml PIP package.

Fixes these issues:
→ pip install -r requirements.txt
Collecting requests
  Using cached requests-2.25.1-py2.py3-none-any.whl (61 kB)
ERROR: Could not find a version that satisfies the requirement yaml (from versions: none)
ERROR: No matching distribution found for yaml

and
Installing collected packages: urllib3, idna, chardet, certifi, tabulate, requests, logging
    Running setup.py install for logging ... error
    ERROR: Command errored out with exit status 1:
     command: /home/juergen/ghq/github.com/slaxor505/OpenPlantbook-client/python/venv/bin/python -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-ofzbm5op/logging_2675ea4710294a40800f706aca7425df/setup.py'"'"'; __file__='"'"'/tmp/pip-install-ofzbm5op/logging_2675ea4710294a40800f706aca7425df/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-qy5u761p/install-record.txt --single-version-externally-managed --compile --install-headers /home/juergen/ghq/github.com/slaxor505/OpenPlantbook-client/python/venv/include/site/python3.9/logging
         cwd: /tmp/pip-install-ofzbm5op/logging_2675ea4710294a40800f706aca7425df/


Standardize cards as a unified single component

adds a <Card /> component that handles variants (default, icon, blog post)
adds a <CardsContainer /> component that handles positioning cards
replaces usage of cards in the following pages:

homepage
help
get-started
tools
blog

 Card Component

@mukhtyar this is ready for your review. In addition to the description above I also did some editing of the descriptions used by the cards in the homepage and tools page so that they would be more consistently sized and a little less verbose. Let me know if those edits are okay with you. The deploy preview should be up to date.

@mukhtyar I forgot I had wanted to try using CSS Grid to align the items on the homepage cards nicely which does work:

but it would need adjusting for other layouts that include icons or images. Notice the text crash here:

and the vast amount of negative space here:

perhaps Grid could be used for the default layout and Flexbox for the variants (when an image or icon(s) are included)? Open to suggestions.

I don't see the negative space in the deploy preview?
On Fri, Aug 20, 2021 at 12:38 PM Chris Henrick @.***>
wrote:

@mukhtyar https://github.com/mukhtyar I forgot I had wanted to try
using CSS Grid to align the items on the homepage cards nicely which does
work:
[image: Screen Shot 2021-08-20 at 12 35 34 PM]
https://user-images.githubusercontent.com/161748/130285109-e2ebdb88-84ea-4fa3-bc87-c720f674fbf1.png
but it would need adjusting for other layouts that include icons or
images. Notice the text crash here:
[image: Screen Shot 2021-08-20 at 12 35 59 PM]
https://user-images.githubusercontent.com/161748/130285163-d4d57139-fd99-40ab-96d2-eccc4e947327.png
and the vast amount of negative space here:
[image: Screen Shot 2021-08-20 at 12 36 10 PM]
https://user-images.githubusercontent.com/161748/130285207-d267a371-9226-4575-b3b9-b75b61324d05.png
perhaps Grid could be used for the default layout and Flexbox for the
variants (when an image or icon(s) are included)? Open to suggestions.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/berkeley-gif/caladapt-website-2021/pull/10#issuecomment-902914262,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAJ4BMEBRDD7LOZU6FD64H3T52VMPANCNFSM5CMNMDBQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email
.

--
Shruti Mukhtyar
Web Application Developer, Geospatial Innovation Facility (GIF)
UC Berkeley - College of Natural Resources
111 Mulford Hall
Berkeley CA 94720-3114
gif.berkeley.edu

Those were just temporary changes I didn’t deploy. You can check the
changes now if you run the branch locally.
On Fri, Aug 20, 2021 at 12:54 PM Shruti Mukhtyar @.***>
wrote:

I don't see the negative space in the deploy preview?
On Fri, Aug 20, 2021 at 12:38 PM Chris Henrick @.***>
wrote:

@mukhtyar https://github.com/mukhtyar I forgot I had wanted to try
using CSS Grid to align the items on the homepage cards nicely which does
work:
[image: Screen Shot 2021-08-20 at 12 35 34 PM]
<
https://user-images.githubusercontent.com/161748/130285109-e2ebdb88-84ea-4fa3-bc87-c720f674fbf1.png
but it would need adjusting for other layouts that include icons or
images. Notice the text crash here:
[image: Screen Shot 2021-08-20 at 12 35 59 PM]
<
https://user-images.githubusercontent.com/161748/130285163-d4d57139-fd99-40ab-96d2-eccc4e947327.png
and the vast amount of negative space here:
[image: Screen Shot 2021-08-20 at 12 36 10 PM]
<
https://user-images.githubusercontent.com/161748/130285207-d267a371-9226-4575-b3b9-b75b61324d05.png
perhaps Grid could be used for the default layout and Flexbox for the
variants (when an image or icon(s) are included)? Open to suggestions.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<
https://github.com/berkeley-gif/caladapt-website-2021/pull/10#issuecomment-902914262
,
or unsubscribe
<
https://github.com/notifications/unsubscribe-auth/AAJ4BMEBRDD7LOZU6FD64H3T52VMPANCNFSM5CMNMDBQ
.
Triage notifications on the go with GitHub Mobile for iOS
<
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
<
https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email
.

--
Shruti Mukhtyar
Web Application Developer, Geospatial Innovation Facility (GIF)
UC Berkeley - College of Natural Resources
111 Mulford Hall
Berkeley CA 94720-3114
gif.berkeley.edu
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/berkeley-gif/caladapt-website-2021/pull/10#issuecomment-902921492,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AABHPVBZXNMKRGRLBU53K7TT52XHNANCNFSM5CMNMDBQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email
.

--
-Chris
clhenrick.io


[spark streaming] Support spark direct stream

Currently, we only support receiver stream. See https://spark.apache.org/docs/2.2.0/streaming-kafka-0-8-integration.html#approach-2-direct-approach-no-receivers

See comment at https://github.com/apache/pulsar/issues/4585#issuecomment-504836970

@liketic I have to take my previous back. It seems that you were asking for a feature on spark streaming. The one I commented in #4585 is about Spark SQL and Spark Structured Streaming. I don't think anyone is working on a direct stream implementation. If you are interested in contributing, feel free to contribute.

@sijie OK. I'll take a look.

Close this issue since there is already a pulsar-spark connector for structured streaming. https://github.com/streamnative/pulsar-spark

@sijie is this connector https://github.com/streamnative/pulsar-spark based on direct approach or reciever based approach?
I have asked same question here can you please help me understand what use cases both the adaptors are solving?


A End-to-End Machine Learning Project Example

Create an end to end machine learning example, for a basic outline and template beginners can understand and replicate.

I would like to work on this


Term editor fixes

adds a button to submit the currently selected field (fixes #706)
the term editor now wraps on medium screens and smaller
the label for the optional name field is now hidden (it took up too much room)
field select excludes fields that have already been selected (so you can't select the same one multiple times)

coverage: 32.901%. remained the same when pulling 048f4003fa6837ff5478ea032fe256b923fe7914 on ginger/fields into 72f77d27b74d062876d25d8780bb3321a7dde30e on dev.


CI: test unit test

Codecov Report

Merging #2583 (fedfbda) into main (6548a53) will increase coverage by 0.07%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main    #2583      +/-   ##
==========================================
+ Coverage   59.68%   59.75%   +0.07%
==========================================
  Files         138      138
  Lines       23341    23341
==========================================
+ Hits        13930    13948      +18
+ Misses       7595     7581      -14
+ Partials     1816     1812       -4

Impacted Files
Coverage Δ

pkg/meta/tkv_mem.go
86.61% <0.00%> (-0.71%)
:arrow_down:

pkg/meta/sql.go
64.36% <0.00%> (+0.09%)
:arrow_up:

pkg/vfs/reader.go
78.36% <0.00%> (+3.57%)
:arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Misleading esp-tls error messages (IDFGH-5162)

Environment
Module or chip used: ESP32-WROOM-32E
IDF version: v4.4-dev-960-gcf457d412a77
Build System: idf.py
Compiler version: xtensa-esp32-elf-gcc (crosstool-NG esp-2020r3) 8.4.0
Operating System: Linux
Power Supply: USB
Problem Description
Everytime I notice below error messages in current master tree I have to remind myself it's actually nothing to do with TLS.
E (20544) esp-tls: couldn't get hostname for :XXX.XXX.XXX: getaddrinfo() returns 202, addrinfo=0x0
E (20544) esp-tls: Failed to open new connection
E (20548) TRANSPORT_BASE: Failed to open a new connection
E (20555) MQTT_CLIENT: Error transport connect
If I check event->error_handle->esp_tls_last_esp_er (when got MQTT_EVENT_ERROR),
I got 0x8001 (ESP_ERR_ESP_TLS_CANNOT_RESOLVE_HOSTNAME)
It is a very misleading message because my setting is to connect mqtt broker port 1883 without TLS.
Any chance to fix it? (v4.3 or earier versions do not have this issue)

https://github.com/espressif/esp-idf/issues/6744#issuecomment-802869633

Hi @AxelLin, now tcp and ssl connection are both in esp-tls component. You can refer the commit. I admit that this description is indeed confused. But it makes no effect on code function.

Hi @AxelLin, now tcp and ssl connection are both in esp-tls component. You can refer the commit. I admit that this description is indeed confused. But it makes no effect on code function.

@ESP-YJM
I know that, but that is not a good excuse!
The thing is the refactor causes some unwanted side-effect.

It now takes more memory because raw tcp will allocate memory for tls.
The misleading error message is annoying

As far as I can tell, this is a bug and regression since older esp-idf does not has such issues.
(IMHO, A refactor should not has such side-effect)

@AxelLin Yes, I agree with that. And we plan to fix unwanted side-effect you said in future version. Our colleagues is working on this.

Tag could be renamed to "esp-tl" or "esp-tl(s)"

Tag could be renamed to "esp-tl" or "esp-tl(s)"

It's not just about rename the tag.
For example, I got 0x8001 if hostname lookup failure.
Anyone will interpret it as TLS error (ESP_ERR_ESP_TLS_CANNOT_RESOLVE_HOSTNAME) but it actually nothing to do with TLS.

IMHO, I see very low benefit with this refactor.

CANNOT_RESOLVE_HOSTNAME is not confusing.  Either they can rename everything or they can specify that esp-tls stands for "transport layer system" not "transport layer security".  Retrain our brains is easier.

Hi @AxelLin
As @ESP-YJM  mentioned above, we're trying to address the memory issue, please find below a WIP patch which avoids tls struct allocation for plain TCP connections:
tcp_transport-Use-tcp_connect-esp_tls-for-TCP.patch.txt
As for the misleading error message, I'm afraid we cannot do much, as the esp-tls in this context is a name of the component, which is used as an underlying transport (should it be a TLS or non-TLS). This component has always supported non-tls connections (we just didn't use it).
If you break down the error code above ESP_ERR_ESP_TLS_CANNOT_RESOLVE_HOSTNAME:

ESP_ERR -- standard esp_err namespacing
ESP_TLS  -- component where this error code comes from
CANNOT_RESOLVE_HOSTNAME -- the actual error message
than, this makes sense to me, but open to suggestions. I also like the idea of tagging the component to esp_tl(s) or adjusting the naming to "transport layer system".

My understanding is the esp-tls was a layer for providing a common inteface using different TLS library.
See the naming and the options in esp-tls menuconfig, it's clearly for TLS.
I know with recent refactor it's also for plain TCP now, but I'm not convinced it's a good change.
Revert this refactor is an option, but it's up to you.
I don't see too much benefit with this refactor (how much memory saved? firmware size reduced?).
You reduce the lines of code, but now when you want to debug plain TCP issues
you will need to read the more complex esp-tls code.

I'm still convinced it was a good change. The main reason was to reduce code duplication, and the maintenance effort on plain socket operations.
I understand your concern, but with the proposed fix above, debugging of TCP issues would be pretty easy, as would be only related to the tcp_connect() API.

See the naming and the options in esp-tls menuconfig, it's clearly for TLS.

This is true, but the plain TCP transport was supported before and it usually is supported by default. You can also connect to a plain TCP server with openssl, which may say:
Verification: OK
---
New, (NONE), Cipher is (NONE)

or
system lib:crypto/bio/b_addr.c:730:Name or service not known
connect:errno=22

in case of TCP connection issues.

Hi @AxelLin
As @ESP-YJM mentioned above, we're trying to address the memory issue, please find below a WIP patch which avoids tls struct allocation for plain TCP connections:
tcp_transport-Use-tcp_connect-esp_tls-for-TCP.patch.txt

I hit below error after applying this patch:
E (1221122) esp-tls: Failed to create socket (family 2 socktype 1 protocol 0)
E (1221122) TRANSPORT_BASE: Failed to open a new connection: 32770
E (1221126) HTTP_CLIENT: Connection failed, sock < 0
esp_http_client_open failed, err=0x7002 ESP_ERR_HTTP_CONNECT errno=23

Oh, socket exhaustion issue (if we connect manually, we have to close the socket too)
diff --git a/components/tcp_transport/transport_ssl.c b/components/tcp_transport/transport_ssl.c
index f118b6bf5e2..82e89152bc6 100644
--- a/components/tcp_transport/transport_ssl.c
+++ b/components/tcp_transport/transport_ssl.c
@@ -277,6 +277,8 @@ static int ssl_close(esp_transport_handle_t t)
         ret = esp_tls_conn_destroy(ssl->tls);
         ssl->conn_state = TRANS_SSL_INIT;
         ssl->ssl_initialized = false;
+    } else if (ssl && ssl->sockfd >= 0) {
+        close(ssl->sockfd);
     }
     return ret;
 }

Thanks for the early feedback and sorry for the inconvenience! we do have a test on socket leaks, but was too hasty in posting patches before running it.

Hi @david-cermak
With above fix, now I no longer hit socket exhaustion issue.
But sometimes I hit below issue ( I don't recall such issue when I test with v4.3 branch).
Guru Meditation Error: Core  0 panic'ed (LoadProhibited). Exception was unhandled.
Core  0 register dump:
PC      : 0x401396cf  PS      : 0x00060330  A0      : 0x801a1eda  A1      : 0x3ffdeea0
0x401396cf: tcp_write at /home/axel/esp/esp-idf/components/tcp_transport/transport_ssl.c:215 (discriminator 6)
A2      : 0x00000000  A3      : 0x00679e31  A4      : 0x00000001  A5      : 0x00002710
A6      : 0x00000600  A7      : 0x3ffbbee4  A8      : 0x801396c5  A9      : 0x3ffdee80
A10     : 0x3f431d4d  A11     : 0x3f4241be  A12     : 0x00000038  A13     : 0x00000004
A14     : 0x3ffb5150  A15     : 0x3ffdecf0  SAR     : 0x0000001d  EXCCAUSE: 0x0000001c
EXCVADDR: 0x000006c0  LBEG    : 0x40116a62  LEND    : 0x40116a69  LCOUNT  : 0x00000000
0x40116a62: lwip_selscan at /home/axel/esp/esp-idf/components/lwip/lwip/src/api/sockets.c:1905 (discriminator 3)
0x40116a69: lwip_selscan at /home/axel/esp/esp-idf/components/lwip/lwip/src/api/sockets.c:1898
Backtrace:0x401396cc:0x3ffdeea00x401a1ed7:0x3ffdeed0 0x40139e71:0x3ffdeef0 0x400deccd:0x3ffdef10 0x400dee75:0x3ffdef70 0x401a427b:0x3ffdef90 0x400deea1:0x3ffdefe0
0x401396cc: tcp_write at /home/axel/esp/esp-idf/components/tcp_transport/transport_ssl.c:215 (discriminator 6)
0x401a1ed7: esp_transport_write at /home/axel/esp/esp-idf/components/tcp_transport/transport.c:206
0x40139e71: esp_http_client_write at /home/axel/esp/esp-idf/components/esp_http_client/esp_http_client.c:1324
(inlined by) esp_http_client_write at /home/axel/esp/esp-idf/components/esp_http_client/esp_http_client.c:1316
My application calls esp_http_client_write() when this issue happen.

Hi @david-cermak
With above fix, now I no longer hit socket exhaustion issue.
But sometimes I hit below issue using v4.4-dev-1254-g639e7ad494d9 + all the patch/fix mentioned in this thread.
( I don't recall such issue when I test with v4.3 branch).
Guru Meditation Error: Core 0 panic'ed (LoadProhibited). Exception was unhandled.
Core 0 register dump:
PC : 0x401396cf PS : 0x00060330 A0 : 0x801a1eda A1 : 0x3ffdeea0
0x401396cf: tcp_write at /home/axel/esp/esp-idf/components/tcp_transport/transport_ssl.c:215 (discriminator 6)
A2 : 0x00000000 A3 : 0x00679e31 A4 : 0x00000001 A5 : 0x00002710
A6 : 0x00000600 A7 : 0x3ffbbee4 A8 : 0x801396c5 A9 : 0x3ffdee80
A10 : 0x3f431d4d A11 : 0x3f4241be A12 : 0x00000038 A13 : 0x00000004
A14 : 0x3ffb5150 A15 : 0x3ffdecf0 SAR : 0x0000001d EXCCAUSE: 0x0000001c
EXCVADDR: 0x000006c0 LBEG : 0x40116a62 LEND : 0x40116a69 LCOUNT : 0x00000000

I think above exception is not related to the patch discussed here.
I also applied lwip-optimization-config-option-LWIP_TCPIP_CORE_LOCKING.patch.txt
in my current code, and I thought there is no impact with the test because my
config disabled the LWIP_TCPIP_CORE_LOCKING.
As I mentioned in https://github.com/espressif/esp-idf/issues/6919#issuecomment-826734896
The lwip-optimization-config-option-LWIP_TCPIP_CORE_LOCKING.patch.txt also changed
LWIP_NETCONN_SEM_PER_THREAD setting to 1 when !LWIP_TCPIP_CORE_LOCKING.
By changing LWIP_NETCONN_SEM_PER_THREAD back to 0, it seems no longer hit the exception so far.

Thanks for the clarification. This patch really needs some cleanup, but nothing related to the issue above.
About the core-locking (have replied in the linked issue): LWIP_NETCONN_SEM_PER_THREAD should be set to 1 on the version you referred (v4.4-dev-1254-g639e7ad494d9)

In below changes:
+static int tcp_write(esp_transport_handle_t t, const char *buffer, int len, int timeout_ms)
+{
+    int poll;
+    transport_esp_tls_t *ssl = ssl_get_context_data(t);
+
+    if ((poll = esp_transport_poll_write(t, timeout_ms)) <= 0) {
+        ESP_LOGW(TAG, "Poll timeout or error, errno=%s, fd=%d, timeout_ms=%d", strerror(errno), ssl->tls->sockfd, timeout_ms);

ssl->tls is NULL, so it should be:
ESP_LOGW(TAG, "Poll timeout or error, errno=%s, fd=%d, timeout_ms=%d", strerror(errno), ssl->sockfd, timeout_ms);

Hi @david-cermak
(This is probably off-topic)
I'm tracing above exception I hitted, and it seems happen after esp_http_client_write() returns 0.
So I'm wondering if esp_http_client_write() returns 0 is an error or not?
https://www.esp32.com/viewtopic.php?f=13&t=20782
Then I check current implemenation in of tcp_write/ssl_write in components/tcp_transport/transport_ssl.c
What happen if esp_transport_poll_write returns 0? it makes tcp_write returns 0 (without sending any data).
then esp_http_client_write() returns 0.
If I do a following esp_http_client_write() to write more data after esp_http_client_write() returning 0, it trigger the exception.
(All the callers in esp-idf check if the ret < 0, is it consider 0 as success. Is such checking correct? Or should it change to check ret <= 0?)

@AxelLin This is a good question, I think neither of the examples you gave handles the writes 100% correctly.
I would say that when esp_http_client_write() returns 0, it is not an error, but an indication of the timeout, a means of exiting this loop (without an error)
https://github.com/espressif/esp-idf/blob/master/components/esp_http_client/esp_http_client.c#L1333-L1343
(of course this is a bit simplified implementation, we should start a timer just before looping and exit the loop once it expires and we haven't sent all the data, but I believe a good and simple approximation)

esp_http_client_write() returning 0, it trigger the exception.

This is strange, are you getting the error posted above? (LoadProhibited in the lwip_selscan() ? Could you please check the errno when getting the 0 ret value? (and perhaps enable lwip-socket debug). The only thing I could think of is that the connection gets closed cleanly, by the FIN flag and we don't correctly check for this condition in the tcp_write() (I believe this would show up in the socket log), similarly to what's being done for tcp_read() here:
https://github.com/espressif/esp-idf/blob/master/components/tcp_transport/transport_ssl.c#L216-L217

As for the mqtt library, we should either check for <= 0 or do-while until we transmit all the data (the same way as it's done in the esp_http_client). I'll do the former first and try to recreate the condition with incomplete writes.

Hi. I am using eclipse with the ESP32 IDF plugin 2.3.02021111091633.
I have a wifi application that has connections for a UDP, HTTP webserver, sntp server and MQTT.
For testing I have the ESP32 connected to a mobile phone AP. If I switch off the AP and switch on again about every 1 in 10 goes I get the following Log:
E (3700561) esp-tls: Failed to create socket (family 2 socktype 1 protocol 0)
E (3700561) esp-tls: Failed to open new connection
E (3700561) TRANS_SSL: Failed to open a new connection
E (3700571) MQTT_CLIENT: Error transport connect
I (3700571) GATEWAY_MAIN: MQTT_EVENT_ERROR
I (3700581) GATEWAY_MAIN: MQTT_EVENT_DISCONNECTED
I (3708321) RAINDIRECTOR_END_NODE: Message sent
I (3709731) LORA_MODEM: Message from Device Address 22011C6F MHDR = 40
W (3709731) MQTT_CLIENT: Publish: Losing qos0 data when client not connected
I (3709731) GATEWAY_MAIN: sent publish successful, msg_id=0
W (3709951) MQTT_CLIENT: Publish: Losing qos0 data when client not connected
I (3709951) GATEWAY_MAIN: sent publish successful, msg_id=0
I (3715581) GATEWAY_MAIN: Other event id:7
E (3715581) esp-tls: Failed to create socket (family 2 socktype 1 protocol 0)
E (3715581) esp-tls: Failed to open new connection
E (3715581) TRANS_SSL: Failed to open a new connection
E (3715591) MQTT_CLIENT: Error transport connect
I (3715591) GATEWAY_MAIN: MQTT_EVENT_ERROR
I (3715601) GATEWAY_MAIN: MQTT_EVENT_DISCONNECTED

This repeats forever. The MQTT client refuses to reconnect. If I reset the ESP32 everything recovers okay.

Any thoughts?

This repeats forever. The MQTT client refuses to reconnect. If I reset the ESP32 everything recovers okay.
Any thoughts?

@MPC-BlackBox
Please create a new issue.

@MPC-BlackBox Did you get a resolution on this? I am facing the same issue. Do you have link to the new issue ?

@MPC-BlackBox Did you get a resolution on this? I am facing the same issue. Do you have link to the new issue ?

@divrajBevie
This issue was closed and the topic of this issue is not related to your issue.
Please create a new issue for tracking.


Fix arithmetic overflow crash in unary minus operators

Follow-up to #359. Godot does not crash on arithmetic overflows, so neither should we.

I wonder if we should provide alternative operators that do not crash - so that we can preserve the Swift behavior of trapping on overflows.

I'd rather have alternatives that do crash. I don't think making native Godot interfaces crash under conditions when they're not supposed to crash is a good idea. That combined with Godot not having a proper crash reporting system is a nightmare fuel for me. Bindings users shouldn't wonder whether an operator or a method has a native non-crashing implementation or it's a Swifty crashing overload.

Makes sense.


Correction for raw affiliation IPSiM, Univ Montpellier, CNRS, INRAE, Institut Agro

Correction needed for raw affiliation IPSiM, Univ Montpellier, CNRS, INRAE, Institut Agro
raw_affiliation_name: IPSiM, Univ Montpellier, CNRS, INRAE, Institut Agro
new_rors: 051escj72;03rnk6m14;003vg9w96;02feahw73;05r332y60
previous_rors: 051escj72;03rnk6m14;003vg9w96;02feahw73
works_examples: W4396688918;W4398236679
contact: 3ff53c061cff16aad871275a8252fd99:456ee6cd2eeaae87e398c0028a4c369289c0 @ inrae.fr

This issue was accepted and ingested by the OpenAlex team on 2024-11-18. The new affiliations should be visible within the next 7 days.


[SUPPORT] hudi-flink support timestamp-micros

To Reproduce
Steps to reproduce the behavior:

The spark engine is used to write data into the hoodie table（PS: There are timestamp type columns in the dataset field）.
Use the Flink engine to read the hoodie table written in step 1.

Expected behavior
Caused by: java.lang.IllegalArgumentException: Avro does not support TIMESTAMP type with precision: 6, it only supports precision less than 3.
at org.apache.hudi.util.AvroSchemaConverter.convertToSchema(AvroSchemaConverter.java:221) ~...
at org.apache.hudi.util.AvroSchemaConverter.convertToSchema(AvroSchemaConverter.java:263) ~...
at org.apache.hudi.util.AvroSchemaConverter.convertToSchema(AvroSchemaConverter.java:169) ~...
at org.apache.hudi.table.HoodieTableFactory.inferAvroSchema(HoodieTableFactory.java:239) ~...
at org.apache.hudi.table.HoodieTableFactory.setupConfOptions(HoodieTableFactory.java:155) ~...
at org.apache.hudi.table.HoodieTableFactory.createDynamicTableSource(HoodieTableFactory.java:65) ~...
Environment Description

Hudi version : 0.11.0-SNAPSHOT

Spark version : 3.1.2

Flink version : 1.13.1

Hive version : None

Hadoop version : 2.9.2

Storage (HDFS/S3/GCS..) : HDFS

Running on Docker? (yes/no) : None

Additional context
We are using hoodie as a data lake to deliver projects to customers. We found such application scenarios:  write data to the hoodie table through the spark engine, and then read data from the hoodie table through the finlk engine.
It should be noted that the above exception will be caused by how to write to the column containing the timestamp in the dataset.
In order to simplify the description of the problem, we summarize the problem into the following steps:
【step-1】Mock data:
/home/deploy/spark-3.1.2-bin-hadoop2.7/bin/spark-shell \
--driver-class-path /home/workflow/apache-hive-2.3.8-bin/conf/ \
--master spark://2-120:7077 \
--executor-memory 4g \
--driver-memory 4g \
--num-executors 4 \
--total-executor-cores 4 \
--name test \
--jars /home/deploy/spark-3.1.2-bin-hadoop2.7/jars/hudi-spark3-bundle_2.12-0.11.0-SNAPSHOT.jar,/home/deploy/spark-3.1.2-bin-hadoop2.7/jars/spark-avro_2.12-3.1.2.jar \
--conf spark.serializer=org.apache.spark.serializer.KryoSerializer \
--conf spark.sql.legacy.parquet.datetimeRebaseModeInRead=CORRECTED \
--conf spark.sql.hive.convertMetastoreParquet=false

val df = spark.sql("select 1 as id, 'A' as name, current_timestamp as dt")

df.write.format("hudi").
  option("hoodie.datasource.write.recordkey.field", "id").
  option("hoodie.datasource.write.precombine.field", "id").
  option("hoodie.datasource.write.keygenerator.class", "org.apache.hudi.keygen.NonpartitionedKeyGenerator").
  option("hoodie.upsert.shuffle.parallelism", "2").
  option("hoodie.table.name", "timestamp_table").
  mode("append").
  save("/hudi/suite/data_type_timestamp_table")

spark.read.format("hudi").load("/hudi/suite/data_type_timestamp_table").show(false)

【step-2】Consumption data through flink：
bin/sql-client.sh embedded -j lib/hudi-flink-bundle_2.12-0.11.0-SNAPSHOT.jar

create table data_type_timestamp_table (
  `id` INT,
  `name` STRING,
  `dt` TIMESTAMP(6)
) with (
  'connector' = 'hudi',
  'hoodie.table.name' = 'data_type_timestamp_table',
  'read.streaming.enabled' = 'true',
  'hoodie.datasource.write.recordkey.field' = 'id',
  'path' = '/hudi/suite/data_type_timestamp_table',
  'read.streaming.check-interval' = '10',
  'table.type' = 'COPY_ON_WRITE',
  'write.precombine.field' = 'id'
);

select * from data_type_timestamp_table;

As shown below：

If we changge timestamp (6) to timestamp (3)，the result is as follows：

The data can be found here, but the display is incorrect！
After checking It is found in the Hoodie directory that the spark write timestamp type is timestamp micros：

However, the timestamp type of hook reading and writing hoodie data is timestamp-millis！Therefore, it is problematic for us to read and write timestamp types through Spark and Flink computing engines. We hope that hudi-flink module needs to support timestamp micros and cannot lose time accuracy.

@AirToSupply Thanks, https://issues.apache.org/jira/browse/HUDI-3184 issue created here ~


Private Mode Broken

Describe the bug
Since the last update, the privacy mode seems to be slightly broken. Before, when enabled, it would not disclose any information on the sending SMTP server, now it does partially or fully depending on what mode is set.
With privacy mode enabled the headers appear like:
Received: by postal.host with SMTP; Mon, 20 May 2024 16:00:21 +0000
Received: from sending.host (localhost [IPv6:::1]) by sending.host (Postfix) with ESMTPS id 0C222B2F05	for<EMAIL_ADDRESS>Mon, 20 May 2024 16:00:21 +0000

but with it disabled they appear like:
Received: from sending.host (sending.host [2001:xx:xx::xx]) by postal.host with SMTP; Mon, 20 May 2024 15:58:03 +0000
Received: from sending.host (localhost [IPv6:::1]) by sending.host (Postfix) with ESMTPS id 9EFA011D194	for<EMAIL_ADDRESS>Mon, 20 May 2024 15:58:02 +0000

It used to only ever show:
Received: by postal.host with SMTP; Mon, 20 May 2024 16:00:21 +0000

From what I can see the received header added by Postal is correct. The header which includes the IP was added by Postfix elsewhere in the chain.

We've always used it in this way for some pre-routing we have to do before sending.
I restored an old backup of postal last night for testing and it did not do this previously. As per the last example, the same output was seen both indirectly and directly.
It looks like previously Postal had been stripping off anything before it had received it, which was desirable now and it appears now it does not.

It looks like this is related to #2781. So whereas this was good for protecting internal hosts that use SMTP and postal as an outbound gateway, the new code reveals far too much information.
Downgrading "resolved" the issue, but it may be there needs to be a middle, configurable, ground as to what people want to hide or show.


TextInput - Change padding dynamically failed

Description
I have a TextInput component in my project. I want to change its padding when it focused, but I failed. I inspect it, the padding changed, but its style didn't.
Reproducible Demo
I create a simple demo in Github.
https://github.com/inevermore/react-native-textInput-padding-test
Environment

react-native -v: 0.47.2
node -v: 8.1.2
react-native-cli -v: 2.0.1
device: IOS simulator / IOS phone

Looks similar to #14645.


Cant get it to start...

I have been trying to get this to work, but keep getting this issue when I run install_hyperV, Im not really a coder, and have spent most of the day trying to resolve this.  Any idea how I could fix this?
=> ERROR [20/34] RUN pip install -r python/requirements.txt                                                       0.5s

[20/34] RUN pip install -r python/requirements.txt:
#23 0.430 Downloading/unpacking Cython>=0.19.2 (from -r python/requirements.txt (line 1))
#23 0.495   Cannot fetch index base URL https://pypi.python.org/simple/
#23 0.520   Could not find any downloads that satisfy the requirement Cython>=0.19.2 (from -r python/requirements.txt (line 1))
#23 0.520 Cleaning up...
#23 0.520 No distributions at all found for Cython>=0.19.2 (from -r python/requirements.txt (line 1))
#23 0.521 Storing debug log for failure in /root/.pip/pip.log

executor failed running [/bin/sh -c pip install -r python/requirements.txt]: exit code: 1

Anyone???


Upload.java:38-39: Add description to releases. This will...

The puzzle 1-fc28441b from #1 has to be resolved:
https://github.com/llorllale/releasecat-maven-plugin/blob/3520d14bcd19db20b2e98d3bc34b9a51252b4353/src/main/java/org/llorllale/mvn/plgn/releasecat/Upload.java#L38-L39
The puzzle was created by George Aristy on 12-Mar-18.
Estimate: 30 minutes, role: DEV.
If you have any technical questions, don't ask me, submit new tickets instead. The task will be "done" when the problem is fixed and the text of the puzzle is removed from the source code. Here is more about PDD and about me.

@0pdd the puzzle #7 is still not solved.

@0pdd the only puzzle #7 is solved here.


python37Packages.pynamodb: 4.0.0 -> 4.1.0

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/python3.7-pynamodb/versions.
meta.description for python37Packages.pynamodb is: '"A Pythonic interface for Amazon’s DynamoDB that supports Python 2 and 3."'.
meta.homepage for python37Packages.pynamodb is: '"http://jlafon.io/pynamodb.html"

Checks done (click to expand)

built on NixOS

Warning: a test defined in passthru.tests did not pass

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 4.1.0 with grep in /nix/store/sg0931d4wn5rk9h91kyyldd5aa3c1mp0-python3.7-pynamodb-4.1.0

directory tree listing: https://gist.github.com/49fd3ea1def241ae70ba9e53e205d8f7

du listing: https://gist.github.com/a65809b70fd6fddaf5fba3f504757e06

Rebuild report (if merged into master) (click to expand)

8 total rebuild path(s)
2 package rebuild(s)
2 x86_64-linux rebuild(s)
2 i686-linux rebuild(s)
2 x86_64-darwin rebuild(s)
2 aarch64-linux rebuild(s)
First fifty rebuilds by attrpath
python37Packages.pynamodb
python38Packages.pynamodb

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/sg0931d4wn5rk9h91kyyldd5aa3c1mp0-python3.7-pynamodb-4.1.0 \
  --option binary-caches 'https://cache.nixos.org/ https://r-ryantm.cachix.org/' \
  --option trusted-public-keys '
  r-ryantm.cachix.org-1:gkUbLkouDAyvBdpBX0JOdIiD2/DP1ldF3Z3Y6Gqcc4c=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(r-ryantm's Cachix cache is only trusted for this store-path realization.)
Or, build yourself:
nix-build -A python37Packages.pynamodb https://github.com/r-ryantm/nixpkgs/archive/c02711eed989015bee04d2554f86cce3bdaf5d9d.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/sg0931d4wn5rk9h91kyyldd5aa3c1mp0-python3.7-pynamodb-4.1.0
ls -la /nix/store/sg0931d4wn5rk9h91kyyldd5aa3c1mp0-python3.7-pynamodb-4.1.0/bin

Updated in #71893.


Mobile welcome

Description
Creating initial dialog box when being welcomed to app to update user preferences

Tests
Manual and jest screenshot and unit tests
UI Changes

Issues
#63 #64 #69 #67

Additional Notes
Will need to come back and make more extensive tests in the future
Add any other information about the PR here.

Good job. I wonder if the pop up works the same way for web. Might replicate that idea!

It wouldn't be using react native paper, but you can make your own dialog component or use material ui
https://mui.com/material-ui/react-dialog/


Compilation error with gradle plugin 3.0.0-alpha2

Hi,
I get this error with the gradle plugin 3.0.0-alpha2
Error: java.lang.RuntimeException: com.android.builder.internal.aapt.AaptException: AAPT2 compile failed ERROR: /Users/.../app/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:728 invalid drawable
The problem seems to be:
<item name="crop_image_menu_crop" type="drawable"/>
With gradle plugin 2.3.2 works fine.
Version 2.4.4
Thanks

https://github.com/ArthurHub/Android-Image-Cropper/pull/291

Sorry I didn't see that pull request


FreeConsole

[Enter feedback here]

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

ID: 6b013865-fcaf-8009-6c6f-cf358d98914e
Version Independent ID: 33211ae1-fe61-845c-040c-b92ea8b0e25f
Content: FreeConsole function - Windows Console
Content Source: docs/freeconsole.md
Product: console
GitHub Login: @miniksa
Microsoft Alias: miniksa

You gotta actually provide some info for us to be able to do something.


Spawn jobs even when there is no new available data.

When the workflow client launches, it checks for remote data, and if its there it spawns the set of jobs to handle that data as well as any existing data, but when there isnt any new remote data it wont create the jobs for local data. This should be fixed.

Working


Windows Instructions to fix: bash: ncdu: command not found

In Windows, gdu must be run as gdu_windows_amd64.exe instead. Please make this obvious to others.

bash: ncdu: command not found

I figured it out, but this is to help:

Myself, later
Others

I am using gdu in Windows as a replacement for ncdu which I have used for years in Linux Ubuntu.
I installed gdu into Windows by running winget install gdu in the Git Bash terminal. I think you can also use the cmd prompt, but that's besides the point. It seems to have installed fine.
Problem
I closed and re-opened my Git Bash terminal, and when I run gdu I get this error:
$ gdu
bash: gdu: command not found

Solution
If you type gdu and press Tab to auto-complete the command, it expands out into gdu_windows_amd64.exe, meaning that is the command we should be running! Running that command (gdu_windows_amd64.exe) works fine.
Running which gdu_windows_amd64.exe shows that the executable is located in /c/Users/my_username/AppData/Local/Microsoft/WinGet/Packages/dundee.gdu_Microsoft.Winget.Source_8wekyb3d8bbwe/gdu_windows_amd64.exe.
So, create a ~/.bashrc file in Windows, at path /c/Users/my_username/.bashrc as specified in Git Bash in Windows, and add the following alias to the bottom of it:
alias gdu="gdu_windows_amd64.exe"

Now, close and re-open all Git Bash terminals, and you can now run either gdu or gdu_windows_amd64.exe!
Recommendation
In your main README, change this:
[Winget](https://github.com/microsoft/winget-pkgs/tree/master/manifests/d/dundee/gdu):

    winget install gdu

To this:
[Winget](https://github.com/microsoft/winget-pkgs/tree/master/manifests/d/dundee/gdu) (for Windows users):

    winget install gdu

Now, either run it as `gdu_windows_amd64.exe`, *or* add `alias gdu="gdu_windows_amd64.exe"` to the bottom of your `~/.bashrc` file when using the Git Bash terminal, and run it as `gdu`.

Pull request: #278

Your change was merged in. Thank you.


ObjectStore links/updates

Overview
This issue documents some updates made to the Go client object store implementation to handle some conditions reasonably.

update the meta of a deleted object should not be allowed by the client.
updating the meta to point to an already existing name should not be allowed
put should not allow setting the meta.link information - this is only supported via the link API

ObjectStore ADR https://github.com/nats-io/nats.deno/commit/6164d014a3e19c4d75c1adcbafb141d6db86e118
Clients and Tools

[ ] Schemas @ripienaar
[ ] CLI @ripienaar
[ ] Terraform @ripienaar
[ ] Github Actions @ripienaar
[ ] Go @piotrpio
[x] Java @scottf
[X] JavaScript @aricart  https://github.com/nats-io/nats.deno/commit/d85bbf55cfa70cee5f5651f1acdd605f3aae6b2a, https://github.com/nats-io/nats.deno/commit/6164d014a3e19c4d75c1adcbafb141d6db86e118
[x] .Net @scottf
[ ] C @kozlovic
[ ] Python @wallyqs
[ ] Ruby @wallyqs
[ ] Rust @Jarema @caspervonb

Other Tasks

[ ] docs.nats.io updated @jnmoyne
[ ] Update ADR to Implemented
[ ] Update client features spreadsheet

Client authors please update with your progress. If you open issues in your own repositories as a result of this request, please link them to this one by pasting the issue URL in a comment or main issue description.

https://github.com/nats-io/nats-architecture-and-design/blob/main/adr/ADR-20.md

updating the meta to point to an already existing name should not be allowed
It's an error to an object's name an existing and not deleted object. You can update an objects name to an existing but deleted object.


Add foreign key constraints and presence validations for event_note_type_id references

Who is this PR for?
developers, educators
What problem does this PR fix?
Potential for data quality drift.
What does this PR do?
Enforce data integrity for event_note_type_id values through both foreign key constraints and validations.

verified manually in production that these all should pass, selfie


Add template for CentOS 7.1

This is a pull request for adding a template for CentOS7.1.
I tested it only for virtualbox-iso provider and released a vagrant box at hnakamur/centos7.1-x64 | Atlas by HashiCorp.
Could you review this?
Thanks.

LGTM!
Thanks.

Thanks for merging!


Add pictures from various events

Please check @opensourcedesign/core – and if you have more pictures to add, please do :)

Thanks for remembering to add photos here. For example, I like the love photo from 2017. It can be used to Valentine days tweets https://github.com/opensourcedesign/opensourcedesign.github.io/blob/3c39cdcb5ccce8910e778c2e70bafb3eee5b2fda/images/events/2018-fosdem-booth2.jpg


OOM during saving to GGUF after training

Hi. I'm saving my model to GGUF after training. These are the utilization metrics:

155.3186 seconds used for training.
2.59 minutes used for training.
Peak reserved memory = 7.939 GB.
Peak reserved memory for training = 1.462 GB.
Peak reserved memory % of max memory = 36.127 %.
Peak reserved memory for training % of max memory = 6.653 %.

As you can see there's plenty of memory available. Nevertheless, when I run model.save_pretrained_gguf("model", tokenizer, quantization_method = "q4_k_m") it crashes for OOM:
File ~/miniconda3/lib/python3.12/site-packages/unsloth/save.py:152, in _merge_lora(layer, name)
    [150](https://vscode-remote+ssh-002dremote-002btraining-002dinstance.vscode-resource.vscode-cdn.net/home/ubuntu/training/~/miniconda3/lib/python3.12/site-packages/unsloth/save.py:150) else:
    [151](https://vscode-remote+ssh-002dremote-002btraining-002dinstance.vscode-resource.vscode-cdn.net/home/ubuntu/training/~/miniconda3/lib/python3.12/site-packages/unsloth/save.py:151)     dtype = W.dtype
--> [152](https://vscode-remote+ssh-002dremote-002btraining-002dinstance.vscode-resource.vscode-cdn.net/home/ubuntu/training/~/miniconda3/lib/python3.12/site-packages/unsloth/save.py:152) W = W.to(torch.float32).t()
    [153](https://vscode-remote+ssh-002dremote-002btraining-002dinstance.vscode-resource.vscode-cdn.net/home/ubuntu/training/~/miniconda3/lib/python3.12/site-packages/unsloth/save.py:153) # W = W.t()
    [155](https://vscode-remote+ssh-002dremote-002btraining-002dinstance.vscode-resource.vscode-cdn.net/home/ubuntu/training/~/miniconda3/lib/python3.12/site-packages/unsloth/save.py:155) if A is not None:
    [156](https://vscode-remote+ssh-002dremote-002btraining-002dinstance.vscode-resource.vscode-cdn.net/home/ubuntu/training/~/miniconda3/lib/python3.12/site-packages/unsloth/save.py:156)     # sAB = (A.t().to(torch.float32) @ (s * B.t().to(torch.float32)))
    [157](https://vscode-remote+ssh-002dremote-002btraining-002dinstance.vscode-resource.vscode-cdn.net/home/ubuntu/training/~/miniconda3/lib/python3.12/site-packages/unsloth/save.py:157)     # W += sAB

OutOfMemoryError: CUDA out of memory. Tried to allocate 56.00 MiB. GPU 0 has a total capacity of 21.98 GiB of which 53.12 MiB is free. Process 1841 has 6.76 GiB memory in use. Including non-PyTorch memory, this process has 15.15 GiB memory in use. Of the allocated memory 14.74 GiB is allocated by PyTorch, and 107.45 MiB is reserved by PyTorch but unallocated. If reserved but unallocated memory is large try setting PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True to avoid fragmentation.  See documentation for Memory Management  (https://pytorch.org/docs/stable/notes/cuda.html#environment-variables)

or try using a less aggressive quantization method..

Hi.
I encountered this too. I think this is an error that didn't exist before.
It takes some time, but I was able to avoid it with the code below.
        model, tokenizer = FastLanguageModel.from_pretrained(
            model_name=path_name,
            max_memory = {"cpu": "30GIB", 0: "5GIB"},
            dtype=torch.bfloat16,
            device_map="auto",
            low_cpu_mem_usage=True,
        )
        model.save_pretrained_merged(merge_name, tokenizer, save_method="merged_16bit")

edit  {"cpu": "30GIB", 0: "5GIB"} for you enviroment. 5GIB is your GPU memory, cpu is your system memory.


Add configuration to support Docker BuildKit

Describe the problem/challenge you have
Dockerfiles that utilize BuildKit may require the DOCKER_BUILDKIT=1 env var to build.
Describe the solution you'd like
Add configuration to support setting the DOCKER_BUILDKIT=1 env var.
Anything else you would like to add:
One suggestion is to configure it via a key in the sources.docker.build path of the kbld Config type.
sources:
- image: foundation/foo-image
  path: src/
  docker:
    build:
      file: docker/foo/Dockerfile
      buildkit: true

Hello @Birdrock
I see you are using the docker builder to create your image.
Is there any particular reason for you to use the Buildkit builder?
An example of that usage is: https://github.com/vmware-tanzu/carvel-kbld/blob/develop/examples/simple-app-build-local-kubectl-buildkit/build.yml
I assume that your example, in particular, would be:
sources:
- image: foundation/foo-image
  path: src/docker/foo/Dockerfile
  kubectlBuildkit:
    file: docker/foo/Dockerfile

Does this help?

@joaopapereira i think @Birdrock is asking for docker specific buildkit integration support (not buildkit wrapped in kubectl).
@Birdrock yeah this sounds like a reasonable addition to docker.build options. would you want to PR this config?

@joaopapereira Thanks for the example. My use case is to build images outside of a cluster, specifically from pre-existing Dockerfiles, that require Buildkit.
@cppforlife I'd be happy to PR this config.

Closing issue with release of version 0.28.0

Closing issue with release of version 0.28.0


Error compiling go programme

Hello. I am working demonstration for ebpf.
This is the go programme
package main

import "C"

import (
	"fmt"
	"os"
	"unsafe"

	bpf "github.com/aquasecurity/libbpfgo"
)

type Target struct {
	Pid  uint32
	Comm [16]byte
	Path [256]byte
}

func main() {
	bpfModule, err := bpf.NewModuleFromFile("ebpf.o")
	if err != nil {
		panic(err)
	}
	defer bpfModule.Close()
	if err := bpfModule.BPFLoadObject(); err != nil {
		panic(err)
	}
	targetMap, err := bpfModule.GetMap("target")
	if err != nil {
		fmt.Fprintln(os.Stderr, err)
		os.Exit(-1)
	}

	// update the map

	key := uint32(0x1337)
	var val Target
	copy(val.Comm[:], "procname")
	copy(val.Path[:], "/home/azureuser/ebpf/secret")
	val.Pid = uint32(9999)
	keyUnsafe := unsafe.Pointer(&key)
	valueUnsafe := unsafe.Pointer(&val)
	targetMap.Update(keyUnsafe, valueUnsafe)
}

I compiled the bpf using this commande
clang -g -O2 -c -target bpf -o ebpf.o ebpf.c

and tried building the go using this
CC=gcc CGO_CFLAGS="-I /usr/include/bpf" CGO_LDFLAGS="/usr/lib64/libbpf.a" sudo go build -o libbpfgo-prog
I got the error
../../../go/pkg/mod/github.com/aquasecurity/libbpfgo@v0.6.0-libbpf-1.3/map-common.go:51:39: could not determine kind of name for C.BPF_MAP_TYPE_BLOOM_FILTER

CGO_CFLAGS="-I /usr/include/bpf"

It seems you're using the installed libbpf include and not the one provided by libbpfgo. I guess your system libbpf version hasn't support to BPF_MAP_TYPE_BLOOM_FILTER (introduced by https://github.com/libbpf/libbpf/commit/168cf9b8ae24afd779f2976c76c6a8628540a3e4).
Take a look at libbpfgo selftest building process for more information:
https://github.com/aquasecurity/libbpfgo/blob/90dbffffbdabd70bb8e834b8777bf12186e1ae8c/selftest/common/Makefile#L17-L18

Closing as it doesn't seem a problem. Please reopen it if relevant.


Add "are" and make interpretations plural

There an algebraic interpretation of momentum in terms of approximating polynomials [3, 14].
SHOULD PROBABLY BE
There are algebraic interpretations of momentum in terms of approximating polynomials [3, 14].

I'm keeping this. As far as I know, there is only one - though the two sources I cite describe the same one.


Bug 1500930 - Prevent multiple deprovision pods from spawning if a job is already in progress

Describe what this PR does and why we need it:
Returns the correct 202 Accepted response if a deprovision job is already in progress for a requested ServiceInstance DELETE.

Test steps:

Provision postgresql
Deprovision postgresql

Before fix:
$ oc get namespaces
NAME                                   STATUS    AGE
...
19c38d71-9ee2-4dc8-ac2e-cdbeb12b8f32   Active    7s
3b7fe989-92e9-458b-86de-96524df6e054   Active    7s
657a984e-e3e0-41d2-b22f-de465dbdea3a   Active    7s
ansible-service-broker                 Active    5m
b2a4833f-8dc8-4811-ad69-bd17ac14b123   Active    7s
d7d4d2ba-faf4-4038-8464-488332f0c353   Active    7s
...

After fix:
$ oc get namespaces
NAME                                   STATUS    AGE
ansible-service-broker                 Active    9m
bab62a51-b76a-4a20-aa2d-098aecf682bb   Active    2s
bar-project                            Active    51s
default                                Active    11m
foo-project                            Active    5m
kube-public                            Active    11m
kube-service-catalog                   Active    11m
kube-system                            Active    11m
myproject                              Active    10m
openshift                              Active    11m
openshift-infra                        Active    11m
openshift-template-service-broker      Active    10m

Thank you for the test @djzager !

Merging as others have tested this.

https://github.com/openshift/ansible-service-broker/issues/387


[release-1.11] revert /host prefix from CNI log volume mount path. (#36038)

(cherry picked from commit 8dcf53141d6d50efef56da1506b3d1076a93450a)
Partially Fixes: #35902

@bianpengyuan not sure if I did this cherry pick correctly. Can you help verify. Thanks.

Done @bianpengyuan. That actually worked. Thank you for the pointer.

Adding a little context to help with reviewing.
We first made this change #35986 to fix the issue with the CNI plugin not starting for non-root users. In that PR, we also made an additional change to change the mountPath for the logUDSPath. We had to revert that specific change in another PR [#36038], since it was breaking the logging feature. So I manually cherry picked the commit id for both these PR's and you can see that it removed the changes related to the mountPath. Hope that helps. Thanks for the review.


rate limiting and basic access control task improvements

Jenkins job istio.github.io/presubmit passed

Jenkins job istio.github.io/presubmit passed

Jenkins job istio.github.io/presubmit passed

Jenkins job istio.github.io/presubmit passed


Installing from homebrew on Apple Silicon mac shows "damaged" error

Describe the bug
Running kui from a brew install kui on an M1 (Apple Silicon) Mac results in the following error upon first open. Unknown if the arch is related.
Steps to reproduce the behavior

brew install kui
Open Kui.app

Expected behavior
Normal app open
Screenshots

System

Kui: 10.8.2 (latest)

Howdy! Thanks for the bug report. I believe this is a symptom of using the unsigned/unnotarized builds (which is what you get from brew install).
Why aren't the default installs signed and notarized? https://github.com/kubernetes-sigs/kui/issues/8002#issuecomment-920321892
Option 1 is to download a signed build (if you do this, let us know if it works!). https://github.com/kubernetes-sigs/kui/releases/tag/v10.8.2
Option 2 is to remove the "dirty" attributes from the application bundle via:
xattr -cr /path/to/application.app

For future reference: from what we've seen so far, oddly, on x86, you get the normal warning that this is an unsigned build. On Apple Silicon, oddly, you get this damaged message.

Hmm, other unsigned apps give the appropriate error message (and allow bypass). Something tells me this might be about more than just the notarization.

Interesting, thanks for this info. Until we can figure out how to work around the underlying Electron-macOS bugs (this delay in electron fixing this seems to stem from an underlying macOS bug), using signed builds results in some substantial slowdowns. Ugh. We'll look into this as soon as we can.

Heya, Kui 11.0.0 was just released (brew upgrade kui), and those builds are now signed and notarized on macOS. In our testing, this seems to have resolved the bug described in this issue! 🤞


Android Animation not rendering

It default to slide from left, no matter what type you select. tested on XF 3.0+ on two projects.

@AlexandrNikulin  @LeoJHarris  folks I really like your plugin and want to implement it, but the slider only works from left to right on android on XF 3.0, is there anything in there that can be fixed? please note it works fine on iOS

@AlexandrNikulin  I think it would be good practice to let other devs know when implementing the interface, for android to render in XF 3.0 they have to implement the interface on every single content page.

@al3xmeister  True, or just use AnimationPage (we have this class in lib).
We have information about it in Readme file.


Remove ZeroClipboard in favor of clipboard.js

Hello everyone.
This PR is related to issue #94.
The idea is to remove ZeroClipboard from the project, thus removing flash completely.
Tried to make the fewer changes possible to make the switch happen. Tough I think the code deserves some refactoring soon.
Besides that I added some tooltip feedback following the bootstrap pattern.
That's particularly useful if one is using Safari and need to use Ctrl-C or Command-C to copy.
Notice about iOS
On iOS the copy button won't show, that's because it's not elegant to show a button and then discover that it actually won't work. Check clipboard.js browser support.
The validation for iOS is currently user-agent based. I'm open to tips on how to improve that if needed.
Please review the PR and let me know what you think.

@mkautzmann, I think to button works great on the search result, but seems this change breaks the copy button on the libraries' page (https://cdnjs.com/libraries/jquery), the button just disappeared, on both latest Firefox and Chrome on Windows, would you please confirm that? Thanks!

You're right man, I'm sorry. I changed the setupMouseEvents function and didn't check the button there. I will update the PR with the fix.

@mkautzmann Thanks

OK, please take a look at the updated PR. It should be fine now. I kept the setupMouseEvents function with a few changes.

LGTM :+1:  cc @cdnjs/team-cdnjs

OK, I added my thoughts. I will monitor this thread.

As @PeterDaveHello  recommended. I will send another PR addressing the issues @terinjokes pointed out.

@mkautzmann Thanks.

#100 merged, thanks @mkautzmann & @terinjokes

BTW there are related issues #41 #84, not sure if @mkautzmann you will like to take a look :smile:


Exit plugins should be able to fail the build

All the configured exit plugins should run, but they should each be able to mark the build as failed.
Eg if store_metadata or koji_promote fails, the build is unsuccessful. But we should still remove the image afterwards.

Closed via #463.