retrain.py finding no validation images

WARNING:tensorflow:From retrain.py:768: softmax_cross_entropy_with_logits (from tensorflow.python.ops.nn_ops) is deprecated and will be removed in a future version.
Instructions for updating:

Future major versions of TensorFlow will allow gradients to flow
into the labels input on backprop by default.

See @{tf.nn.softmax_cross_entropy_with_logits_v2}.

2018-08-23 20:00:15.046074: Step 0: Train accuracy = 31.0%
2018-08-23 20:00:15.046173: Step 0: Cross entropy = 1.318139
CRITICAL:tensorflow:Label 2 has no images in the category validation.
Traceback (most recent call last):
  File "retrain.py", line 1105, in <module>
    tf.app.run(main=main, argv=[sys.argv[0]] + unparsed)
  File "/Users/noaj/.virtualenvs/pytorch/lib/python3.6/site-packages/tensorflow/python/platform/app.py", line 126, in run
    _sys.exit(main(argv))
  File "retrain.py", line 908, in main
    bottleneck_tensor))
  File "retrain.py", line 513, in get_random_cached_bottlenecks
    image_dir, category)
  File "retrain.py", line 225, in get_image_path
    mod_index = index % len(category_list)
ZeroDivisionError: integer division or modulo by zero

Getting same error please help if you have fixed it.

Seems to be some issue with the tensorflow API compatibility. May I please know which version are you using?

@ArunMichaelDsouza , same error here. Using Tensorflow latest version with Python 3.7.0.

You probably saw this warning when running: WARNING: Folder has less than 20 images, which may cause issues.
The retrain script randomly assigns images into three sets: 'training', 'testing', and 'validation' in a way that means you may have 0 validation files if you have less than 20 total training images for a particular label. Try adding at least 20 images per label and you should be good.
Here is the comment in tensorflow/tensorflow/examples/image_retraining/retrain.py that explains what is happening:
This looks a bit magical, but we need to decide whether this file should # go into the training, testing, or validation sets, and we want to keep # existing files in the same set even if more files are subsequently # added. # To do that, we need a stable way of deciding based on just the file name # itself, so we do a hash of that and then use that to generate a # probability value that we use to assign it.
thread from  https://github.com/tensorflow/tensorflow/issues/2072


Email address/s causes fatal error..

Pre-check

Do not use the issues tracker for help or support, try Stack Overflow. - ACK
For bugs, do a quick search and make sure the bug has not yet been reported. - ACK
If you found a security bug, do not report it through GitHub. Please send an e-mail to<EMAIL_ADDRESS>instead. - ACK
Finally, be nice and have fun! - ACK

Environment

Ruby 2.3.8 via rvm
Rails: gem 'rails', ' ~>4.2.5'
Devise: gem 'devise', '~> 4.2.0'

Current behavior
Include code samples, errors, steps to reproduce the error and stack traces if appropriate.
Will be even more helpful if you provide a sample application or a test case that reproduces the error.
Using one specific email causes Device to throw a fatal error:
<EMAIL_ADDRESS><EMAIL_ADDRESS>
As a note, the email address do not exist in the database. Once the accounts are created and the form is submitted again, the resultant view renders as expected.
Other permutations that work as intended:
<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>
Expected behavior
Password reset email to be successfully sent no matter the email account before the @ character.
 The SMTP credentials / user acct permissions were incorrect.


_card.scss: variables in head and not moved to _variables.scss

Looks like the variables never got removed from the _card.scss partial and into the global _variables.scss file.  Probably an oversight but keep having to post special instructions  for post bower install for team to fix card border issue #17210.

#17069 fixed this

Oh awesome.  Thanks!  Any idea when the next tick of alpha with these updates will propagate to bower?

Unsure about that, but meanwhile you could try installing it straight from the `v4-dev´ instead via
bower install twbs/bootstrap#v4-dev --save

:ok_hand:

Word.  Thanks again!


Link not Working -- 404 Error

The link for "Redis OM .NET docs site: is not working,
https://redis-developer.github.io/redis-om-dotnet   - - > 404 Error

Looks like the error happened when the repo was moved from the redis-developer org to the redis org. Regardless, the tutorial now lives on developer.redis.com - updated the link and added another link to the github page for the repo. That should straighten everything out.


/opt/homebrew/bin/brew shellenv sets $MANPATH which hides Mac OS shipped manages

brew config output
HOMEBREW_VERSION: 3.4.10
ORIGIN: https://github.com/Homebrew/brew
HEAD: 3088bbf1a696961cd4202d9ef85ac5f95b977e7c
Last commit: 2 days ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: 5368053deffbb6e923ebbc907bad6bc98d9b1e2a
Core tap last commit: 2 hours ago
Core tap branch: master
HOMEBREW_PREFIX: /opt/homebrew
HOMEBREW_CASK_OPTS: []
HOMEBREW_CORE_GIT_REMOTE: https://github.com/Homebrew/homebrew-core
HOMEBREW_EDITOR: mate -w
HOMEBREW_GITHUB_API_TOKEN: set
HOMEBREW_MAKE_JOBS: 8
Homebrew Ruby: 2.6.8 => /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/bin/ruby
CPU: octa-core 64-bit arm_firestorm_icestorm
Clang: 13.1.6 build 1316
Git: 2.32.0 => /Applications/Xcode.app/Contents/Developer/usr/bin/git
Curl: 7.79.1 => /usr/bin/curl
macOS: 12.3.1-arm64
CLT: <IP_ADDRESS>.1.1627064638
Xcode: 13.3.1
Rosetta 2: false

brew doctor output
Your system is ready to brew.

Verification

[X] I ran brew update and am still able to reproduce my issue.
[X] I have resolved all warnings from brew doctor and that did not fix my problem.

What were you trying to do (and why)?
I want my system manpages visible as well as the Homebrew ones.
What happened (include all command output)?
After a fresh install of Homebrew, it instructs to activate the Homebrew environment by adding
eval "$(/opt/homebrew/bin/brew shellenv)"

into the profile.
This is problematic because this contains the following line:
% env -i /opt/homebrew/bin/brew shellenv |grep MANPATH
export MANPATH="/opt/homebrew/share/man${MANPATH+:$MANPATH}:";

Setting this variable (which is by default unset on macOS) effectively hides all man pages that the system provides, as the the system then ignores the options set in /private/etc/man.conf which derive the man path of the system from the $PATH variable.
For example: man rsync fails after installation of Homebrew, but works again after executing unset MANPATH.
What did you expect to happen?
man rsync (or indeed any system provided manpages) should continue to work just fine after installation of Homebrew.
Step-by-step reproduction instructions (by running brew commands)
- install Homebrew according to brew.sh, i.e. `/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"` on a fresh install macOS Monterey 12.3.1 (21E258)
- `man rsync` or `man ls` or any other MacOS provided man page

With limited testing it seems that after unset MANPATH the Homebrew provided manpages are still visible with man. The system by which man derives the manpath from $PATH may therefore be good enough to cover what Homebrew needs.

This is also described in the section SEARCH PATH FOR MANUAL PAGES in man man

Can't reproduce.
$ echo $MANPATH
/opt/homebrew/share/man::
$ which -a rsync
/usr/bin/rsync

man rsync works just fine for me.

Setting this variable (which is by default unset on macOS) effectively hides all man pages that the system provides, as the the system then ignores the options set in /private/etc/man.conf which derive the man path of the system from the $PATH variable.

The colon at the end of MANPATH should indicate that the defaults are to be appended to the end.
MANPATH="/opt/homebrew/share/man${MANPATH+:$MANPATH}:" man -dw rsync
Reading config file /private/etc/man.conf
Looked whether there exists a message catalog man, but there is none
(and for English messages none is needed)

found man directory /usr/share/man
found man directory /usr/local/share/man
found man directory /usr/X11/man
found manpath map /bin --> /usr/share/man
found manpath map /sbin --> /usr/share/man
found manpath map /usr/bin --> /usr/share/man
found manpath map /usr/sbin --> /usr/share/man
found manpath map /usr/local/bin --> /usr/local/share/man
found manpath map /usr/local/sbin --> /usr/local/share/man
found manpath map /usr/X11/bin --> /usr/X11/man
found manpath map /usr/bin/X11 --> /usr/X11/man
found manpath map /usr/bin/mh --> /usr/share/man

using /usr/bin/less -is as pager

using /usr/bin/less -is as browser

using /bin/cat to dump HTML pages as textadding /opt/homebrew/share/man to manpath

path directory /usr/local/bin is in the config file
adding /usr/local/share/man to manpath

path directory /usr/bin is in the config file
adding /usr/share/man to manpath

path directory /bin is in the config file

path directory /usr/sbin is in the config file

path directory /sbin is in the config file

path directory /Applications/VMware Fusion.app/Contents/Public is not in the config file
and we found no man directory nearby

path directory /Library/TeX/texbin is not in the config file
but there is a man directory nearby
adding /Library/TeX/texbin/man to manpath

path directory /opt/X11/bin is not in the config file
but there is a man directory nearby
adding /opt/X11/share/man to manpath

adding mandatory man directories

adding /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/share/man to manpath
adding /Applications/Xcode.app/Contents/Developer/usr/share/man to manpath
adding /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/share/man to manpath
will try to write /var/cache/man/cat1/rsync.1.bz2 if needed
status from is_newer() = -2
/usr/share/man/man1/rsync.1.gz

MANPATH="/usr/local/opt/ruby/share/man" man -dw ruby
Reading config file /private/etc/man.conf
Looked whether there exists a message catalog man, but there is none
(and for English messages none is needed)

found man directory /usr/share/man
found man directory /usr/local/share/man
found man directory /usr/X11/man
found manpath map /bin --> /usr/share/man
found manpath map /sbin --> /usr/share/man
found manpath map /usr/bin --> /usr/share/man
found manpath map /usr/sbin --> /usr/share/man
found manpath map /usr/local/bin --> /usr/local/share/man
found manpath map /usr/local/sbin --> /usr/local/share/man
found manpath map /usr/X11/bin --> /usr/X11/man
found manpath map /usr/bin/X11 --> /usr/X11/man
found manpath map /usr/bin/mh --> /usr/share/man

using /usr/bin/less -is as pager

using /usr/bin/less -is as browser

using /bin/cat to dump HTML pages as textadding /usr/local/opt/ruby/share/man to manpath
will try to write /var/cache/man/local/opt/ruby/cat1/ruby.1.bz2 if needed
status from is_newer() = -2
/usr/local/opt/ruby/share/man/man1/ruby.1

Thanks @Bo98 for the analysis! Due to that I found out that the problem is actually a special case of the behavior of ZSH, where the ENVIRONMENT_VARIABLES variables are also mapped to environment_variables that can be used with array syntax. Using those removes the empty path element at the end of the MANPATH. :-(
In my case I had this later in the config: manpath=(~/bin/man $manpath) which I replaced with export MANPATH="~/bin/man:$MANPATH".
Now everything works again.
So... is this a bug in ZSH that it swallows empty array entries erroneously?


Add functions for signTransaction, signAndSubmitBCSTransaction, and u…

Description
Some updates to catch up to the wallet adapter

signTransaction (@0xmaayan we should add options to this otherwise you can't modify important things like expire timestamp or sender address)
signAndSubmitBCSTransaction: this is mostly a convenience message it seems.
getting the chainId

Test Plan
npm test
I wish there was a better way to test this @0xmaayan ... :(

Description Some updates to catch up to the wallet adapter

signTransaction (@0xmaayan we should add options to this otherwise you can't modify important things like expire timestamp or sender address)
signAndSubmitBCSTransaction: this is mostly a convenience message it seems.
getting the chainId

Test Plan npm test
I wish there was a better way to test this @0xmaayan ... :(

we support it https://github.com/aptos-labs/aptos-wallet-adapter/blob/main/packages/wallet-adapter-core/src/WalletCore.ts#L305
answered offline
should we export this function in the wallet plugin or on the adapter itself?

Doesn't have options though.
nah we can keep it like this


VR Button issue/Bug

The VR button can appear on non-VR videos, but has no effect when pressed.
This should be either removed, or activate a stereoscopic effect like the one used by Youtube.
This can be observed on many sites using fluidplayer 3.

Please provide details about what browser you are using. I do not see a VR button in any tests we have with either Chrome or Firefox.

Hello!
Apologies, but this ticket has been closed because there is no actionable way to identify what the actual issue is.
The initial ticket description fails to provide details required to identify the problem, such as error output, request logs, environment and browser details, and other details that could aid and allow in identifying the problem you are facing.
Before submitting a new ticket, please make sure that the problem you are facing is related to this software and is not a result of a misconfiguration or third party code - including your usage of this software.
As a general rule, we are unable to help with user-specific implementation details, and we are not able to debug user implementations, such as websites, plugins, scripts, etc..
You are required to take the minimum steps necessary to identify the issue, such as debugging the software, your specific configuration, the requests made, the responses returned by any external services.
You are required to submit enough details about the problem so that we would be able to reproduce and verify the problem.
Make sure to fill out any issue templates as provided by the issue tracker when such templates are present.
This is an automatic response. Please, do not reopen or re-create this ticket without addressing the requirements and problems outlined above.


feat: adding Azure Network module

Adding the following modules
Virtual Network and Subnet
Network Interface
Public IP Address
Adding the Terratest Network example to test these modules
Fixes #627

Resolves #627

Here is the CI run for this pull request https://github.com/rguthriemsft/terratest/runs/1120097907?check_suite_focus=true

Update CI pass: https://github.com/rguthriemsft/terratest/runs/1160971866?check_suite_focus=true

https://github.com/rguthriemsft/terratest/runs/1166999608?check_suite_focus=true

CI Pass: https://github.com/rguthriemsft/terratest/runs/1178644697?check_suite_focus=true

https://github.com/rguthriemsft/terratest/runs/1183265701?check_suite_focus=true

CI Pass: https://github.com/rguthriemsft/terratest/runs/1185578138?check_suite_focus=true

Sorry about that, the files were updated but I re-ran the earlier workflow ci-job. Here is a new run/pass with the fmt and unit tests:
https://github.com/rguthriemsft/terratest/runs/1187932044?check_suite_focus=true


[WIP] Container Management Extensions

Extend containers providers functionality.

Created package wrapanapi.containers which includes openshift, kuberenetes and containers resources.
Each container resource inherit wrapanapi.containers.ContainersResourceBase which provide the functionality to access the object API (GET/POST/PATCH/DELETE functions), the purpose is to provide mgmt entry for each container object in integration_tests.
Added tests/test_openshift.py which tests all the required components.
This commit is the start point for many other functionalities that required for containers provider REST-API which will take place later.

Lint report for commit d915050f8c26f7455966f3f85aacc2df5141fccb:
tests/test_openshift.py:

:grey_exclamation: Line 134:9: T001 print statement found.
:grey_exclamation: Line 147:9: T001 print statement found.
:grey_exclamation: Line 160:9: T001 print statement found.
:grey_exclamation: Line 182:9: T001 print statement found.
:grey_exclamation: Line 195:9: T001 print statement found.
:grey_exclamation: Line 235:9: T001 print statement found.

:frowning: You might like to check the lint of your code :point_up:
No commit flaws detected.
CFME QE Bot


Exception: Cannot use a fast path for COUNT distinct

This query generates an error as title.

select count(distinct floor(trip_distance)) from trips;

The query works with other databases. What should i change to it to make it work with MapD?
Schema of trips table:
CREATE TABLE trips (
medallion               TEXT ENCODING DICT,
hack_license            TEXT ENCODING DICT,
vendor_id               TEXT ENCODING DICT,
rate_code_id            SMALLINT,
store_and_fwd_flag      TEXT ENCODING DICT,
pickup_datetime         TIMESTAMP,
dropoff_datetime        TIMESTAMP,
passenger_count         SMALLINT,
trip_time_in_secs       INTEGER,
trip_distance           DECIMAL(14,2),
pickup_longitude        DECIMAL(14,2),
pickup_latitude         DECIMAL(14,2),
dropoff_longitude       DECIMAL(14,2),
dropoff_latitude        DECIMAL(14,2)
) WITH (FRAGMENT_SIZE=75000000);

You can use select count(distinct cast(trip_distance as integer)) from trips; or select approx_count_distinct(floor(trip_distance)) from trips; if a good (within 4%) approximation is ok. The query would also run with the watchdog disabled, but it'd use a slow, std::set based implementation.
In order to make you query run unchanged, we just need to add range information for the FLOOR function. Not hard at all, I might do it next week.

Thanks. Because query "select count(distinct CEIL(trip_distance)) from trips;" doesn't work for fast path and cast seems not a substitute for CEIL(), CEIL function also need range information. Actually MOD and most other functions need the information, too.

BTW, another minor issue is that ROUND() seems not behaving as documented:

mapdql> select count(distinct ROUND(trip_distance)) from trips;
Exception: Exception occurred: org.apache.calcite.runtime.CalciteContextException: From line 1, column 23 to line 1, column 44: Invalid number of arguments to function 'ROUND'. Was expecting 2 arguments

It seems treated as ROUND_TO_DIGIT (x, y):

mapdql> select count(distinct ROUND(trip_distance,0)) from trips;
Exception: Cannot use a fast path for COUNT distinct

Not sure what version you're using, we've removed ROUND altogether in 6f2730e5a5027b5d37eedbbf65c244e700c76436.

The version is MapD Server 3.2.1-20170826-327e7ee

Ok, that's before we've removed it. Yes, all functions you've mentioned need range information for precise count distinct using bitmap implementation.


Update data.json

#8  please look after this pr and merge it under hacktoberfest
If any changes please comment don't close as invalid or spam please

Your PR does not follow contribution guidelines.
You need to provide all the links as others have provided.

Resolve this and raise a new PR.

Good job @Daksheshapkare


Including .DS_Store to have directly a complete .gitignore.

Please include the .DS_Store directly into the languages/IDE .gitignore files to have directly a usable .gitignore in one file. For example, every time I create a project I download the .gitignore for Swift for example and every time I need to edit it to add the .DS_Store ignored.
Thanks.

Sorry, but that's not how this repository is organised. Don't worry, though, we're discussing how this situation could be improved more generally, in a neater way :)

Ok no problem. Thanks for your quick answer! :)


Unexpected domain error

?- [user].
2022/09/10 17:14:10 error(domain_error(source_sink,user),consult/1)

why is this a domain error? Rather an existence error like in open/3.

This was simply my mistake. Fixed in v0.11.1
$ $(go env GOPATH)/bin/1pl
Top level for ichiban/prolog v0.11.1
This is for testing purposes only!
See https://github.com/ichiban/prolog for more details.
Type Ctrl-C or 'halt.' to exit.
?- [foo].
2022/09/19 12:53:50 error(existence_error(source_sink,foo),consult/1)
?-

Regarding the special file name user, @guregu's consult/1 should be able to support it because it abstracts the file system for read: https://github.com/guregu/predicates/blob/8d1f2312c236dd1dd3dbc92f3fb20263e2136c80/fs.go#L161
Also, there's a Go proposal to fully abstract file systems https://github.com/golang/go/issues/45757


Kth largest using Min Heap

📥 Pull Request
Description
This pull request adds a new documentation file explaining the algorithm for finding the Kth largest element in an array using a min heap. The document includes an introduction, algorithm overview, visual example, implementation in C++, time and space complexity analysis, advantages and disadvantages, related LeetCode problems, applications, and tips and common pitfalls.
Key additions in the documentation:

Introduction and Algorithm Overview: Provides a clear explanation of the min heap approach to finding the Kth largest element, including the basic concept and step-by-step algorithm.
Visual Example: Illustrates the algorithm with a visual example to help readers understand the process.
C++ Implementation: Includes a complete C++ code example for implementing the algorithm.
Complexity Analysis: Details the time and space complexity of the algorithm.
Related Problems and Applications: Lists related LeetCode problems and real-world applications of the algorithm.

✅ Fixes #1743
Type of change

[ ] Bug fix (non-breaking change which fixes an issue)
[X] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[X] Documentation update

Checklist:

[X] My code follows the style guidelines of this project
[X] I have performed a self-review of my code
[X] I have commented my code, particularly in hard-to-understand areas
[X] I have added tests that prove my fix is effective or that my feature works
[X] New and existing unit tests pass locally with my changes
[X] Any dependent changes have been merged and published in downstream modules

@ajay-dhangar can you review this PR, and assign it to me with proper labels too

@ajay-dhangar can you review this PR

@ajay-dhangar can you review this PR now and assign it to me with proper labels


Implement "copy" functionality for FGraph

Description
Our ultimate goal is to leave the decision to use mutation or not to the user. Mutation makes sense for heavy duty operations that run on the cloud. But while developing and working with smaller graphs mutation gets in the way and can be unwieldy to use. The initial step for this is to have a deep copy functionality.
Pointers
https://learn.microsoft.com/en-us/dotnet/api/system.object.memberwiseclone?view=net-7.0

I'll be working on this one

The implementation is a shared effort from myself and @yigitl.
We now have an implementation that creates clones of undirected graphs.
Currently, the function will create a deep copy if the NodeData/EdgeData generics are value types, and it will create a shallow copy if these are reference types.
This implementation should be revised after a decision on how to handle EdgeData/NodeData generics. There are three ways of handling these generics:

Enforce IClonable, so that the user has to use data types that implement _.Clone(), or implement _.Clone() for their own data types.
Constraint these generics to be value types. This means that records should have [<Struct>] flag.
Do nothing, just tell the user is cloning might not work if the generics are reference types.

Implementation of these options is relatively trivial and can be applied as soon as a decision has been reached.


Pressure reading "spikes" at over 3000hPa every week

Describe the bug
Every week at midnight on Monday morning (00:00:xx) the pressure reading jumps to over 3000hPa before returning to normal.  This reading of over 3000hPa then causes the display history to be completely unreadable.

Expected behavior
values with such a high jump (200% increase) should be ignored/dropped as being invalid.
Actual behavior
Any value is recorded and skews the data
Home Assistant version
2024.10.3
Integration version
1.6
Other details
No response
Troubleshooting steps

[X] I have updated my Home Assistant installation to the latest version.
[X] I have updated the Pirate Weather Integration to the latest version.
[X] I have gone through the documentation before opening this issue.
[X] I have searched this repository and API Repository to see if the issue has already been reported.
[X] I have restarted my Home Assistant installation.
[X] I have queried the API in my browser to confirm the issue is not with the API.
[X] I have not included my API key anywhere in my issue.
[X] I have written an informative title.

Thanks for posting this issue, and I'm sorry that you're running into it! The good news here is that this sort of long term, periodic thing is exactly what I need to diagnose the problem, so it's very, very helpful.
I'll investigate and let you know, but I've got a theory about what's happening here

One interesting aspect to this is that it's occurring at 00:00 local time, not UTC like the API runs in. Do you mind letting me know what location you're querying data for?

One other helpful troubleshooting step here- would you be able to add in two hourly pressure sensors, for 0 and 1 hours? That way we could get a better handle about what the API is "seeing" at that moment

I am also encountering this same issue, but with all the live sensors I'm using from PirateWeather:

Apparent Temperature
Humidity
Temperature

I'm querying the API from Romania (UTC+2)

Also I cannot find a pattern to how often this is happening, except for the fact that it happens at midnight local time for me as well

Those 3 sensors above are the only ones exhibiting this issue. Here's a list of all the sensors I have enabled:

Let me know if there's anything more I can help with

I'm querying the API from the UK (Currently UTC+1). I've set up the pressure sensors for hours 0 and 1 as I don't have them configured. I'll let you know how this goes next week (BST ends and goes back to being GMT/UTC this weekend)

After the UK went back to GMT this weekend, this issue didn't happen overnight.

What a strange bug! It looks like it's happening at 00:00:19 local- can you confirm that it's just for a single timestep, or does it show up for a while?

Ah, ha- got it!!! https://api.pirateweather.net/forecast/APIKEY/47.1756,27.594,1731880810 gives the incorrect values- it must have to do with my daily interpolation near zero. Fixing now

Got it! Float roundoff error in the currently calculation, fixed in version 2.4.0 (live on dev now)

Should have clarified that- the version number I referenced is the API version number that provides the data for this integration, which was what the issue was with here.
I don't think there's any way to easily flip the HA integration over to the new source, but the new API version will go live in the next week, so it'll be fixed shortly


Add a file ignore for check generated running

In our check-generated CI job, make it not run if not needed.
(It just runs make proto-gen && make run-querygen)
Also only setuip go after we pass git diff.

The canonical way would be to run the workflow when certain files are modified, modifying the workflow triggers:
on:
  push:
    paths:
      - '**.js'   # Runs if a *.js file is modified.

More documentation: https://docs.github.com/en/actions/using-workflows/triggering-a-workflow#using-filters-to-target-specific-paths-for-pull-request-or-push-events
This is GitHub native and doesn't require any external dependencies.
Could you use this syntax in this workflow?
If you want to keep the syntax you are using, you must add a condition to run ./check_generated if a GIT_DIFFF is detected. Currently, you check for diffs, but you don't do anything with them.
Example:
https://github.com/osmosis-labs/osmosis/blob/main/.github/workflows/build.yml#L49-L63

I must have miss clicked here.
I thought I requested changes, not approved the PR.


problem installing ffmpeg

hello , today i tried to build the docker image but it keep stopping at step 8

Step 8/27 : RUN mkdir -p /usr/local/ffmpeg     && curl -sSL https://johnvansickle.com/ffmpeg/releases/ffmpeg-release-64bit-static.tar.xz | tar xJvf - -C /usr/local/ffmpeg/ --strip 1
---> Running in c7471879730e
xz: (stdin): File format not recognized
tar: Child returned status 1
tar: Error is not recoverable: exiting now
The command '/bin/sh -c mkdir -p /usr/local/ffmpeg     && curl -sSL https://johnvansickle.com/ffmpeg/releases/ffmpeg-release-64bit-static.tar.xz | tar xJvf - -C /usr/local/ffmpeg/ --strip 1' returned a non-zero code: 2

i check the URL on my hots it it reply (curl -sSL https://johnvansickle.com/ffmpeg/releases/ffmpeg-release-64bit-static.tar.xz)

Page not found

is there any solution for that , thank you

https://johnvansickle.com/ffmpeg/
If you do not need sound mode, just comment out the line

thanks for your reply , i found another way to solve by changing the link to this :
http://git.jikexueyuan.com/timjuly/environment-source/raw/89f47519ae55ceb2db3dcd7ae53d0f6ae4d1bfb5/ffmpeg-release-64bit-static.tar.xz
and everything went well


Error 52100 unable to connect.

alrighty so I've went through everything i can think of error wise even enablng it on the defender firewall did nothing, I have to assume its an issue of the service or this itself otherwise I'm unsure what the hell i'm doing wrong.

Duplicate of #50 (I've commented there instead)


[$1000] Android - Older notification messages are not dismissed even after opening them

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Action Performed:

Open the app in android and login with user A
From any other device, login with user B and open user A report
Send few messages to user A
From user A device, open the messages from notification and again minimize the app
From user B device, again send messages to user A and observe that in user A message notification, it still displays older message which were already clicked and viewed from notification

Expected Result:
Notification should not display messages that are already opened from notification
Actual Result:
Notification displays messages (along with new message) that are already opened from notification
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[x] Android / native
[ ] Android / Chrome
[ ] iOS / native
[ ] iOS / Safari
[ ] MacOS / Chrome / Safari
[ ] MacOS / Desktop

Version Number: 1.3.40-5
Reproducible in staging?: y
Reproducible in production?: y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
https://github.com/Expensify/App/assets/93399543/995f6884-64b0-4c8b-8707-d3e024964232
https://github.com/Expensify/App/assets/93399543/15201a7f-9e5d-46e8-b3a9-494929c409de
Expensify/Expensify Issue URL:
Issue reported by: @dhanashree-sawant
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1689416596763229
View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~016e2e450e088c16b7
Upwork Job ID:<PHONE_NUMBER>647168000
Last Price Increase: 2023-07-18

Either a backend issue or an anomaly, at least that's my guess.

Hey @fedirjh any thoughts? Do you agree this is back end?

I was unable to triage today, but this seems odd. The cache should clear when a notification is swiped.

Just confirmed this isn't occurring for me. Can we please check the device model and Android version please?
https://github.com/Expensify/App/assets/10736861/7bb4dcec-916b-4449-8064-3eed54d1e707

I'm not able to repro it on the simulator either, closing but anyone who can reproduce please feel free to reopen.

Hi @Julesssss , @stephanieelliott I am still able to reproduce,
Android version: 13
Device: mi11x
This is how am testing:

When message is recieved, tap in notification and open the message and minimize the app
Again send messages and repeat step 1, observe that notification will also have the message opened in step 1 along with new message

Ah I see. So instead of swiping the notification we should just tap it.
Yeah, I'm able to reproduce!

Still waiting for proposals

I'll probably solve this one myself.

@Julesssss Do you already have an intuition where the solution might be placed (frontend or backend), or do you mean that you'll start investigating that?

It's fixed in native code. We'll just make sure to clear the notification cache when the notification is tapped. Currently, we just do it when swiped. I'll submit the PR when I have a moment.

Hi @arosiclair, @Julesssss, is it eligible for reporting bouns?

is it eligible for reporting bouns?

Yeah, we;ll just pay out after the internal PR is merged.

PR is under review

PR still being reviewed

PR merged, we can pay the reporter bonus 👍

@stephanieelliott I'll collect via ND, and cancel the offer. Just leave a payment summary comment. Thanks!

Thanks @stephanieelliott, I have accepted the offer.

PR is on staging. I forgot to link this issue on the PR originally but it is linked now. Hopefully automations still work

Got deployed on production today!
cc: @arosiclair @stephanieelliott Please update labels here thanks!

Request on ND

Reviewed the details for @Santhosh-Sellavel. $1,000 approved for payment via NewDot based on BZ summary.


[Account Recovery/Close] Close/Recovery Fails + missing funds?

Apologies in advance if I'm doing something dumb 😅 But, if I got into this state, I'm sure other users can as well.
A month or so ago, I deposited ~7.8m sats to my Pool account (relevant transaction: https://mempool.space/tx/59132bc3261f7fbb67d8da328593a80907bce4d485b88e293c488d0afdf93c38). The account balance never updated to reflect the deposited funds. And then, a new account was seemingly created which wiped my previous balance and reduced it significantly. It was a weird flow, but I have been too busy to look into it in detail until today.
Today, I went through the flows of looking at my accounts via the CLI. I see two accounts present, which makes sense given the above description. The trader keys for those accounts are 03958b530db3cc208cb47881bef757c37ed0aaa366502793463196c9428d596266 with a balance of 39861 and 03d6cd0a388e45851ce094b6d75833b2428a81849af96c5aeb6b751d3ec901fa9c with a balance of 18167832. I'm pretty sure that neither of those amounts account for the deposited 7.8m sats. I closed the first account with no problem.
I attempted to recover the second account and got back the following error: [pool] rpc error: code = Unknown desc = error performing recovery: could not recover account 03d6cd0a388e45851ce094b6d75833b2428a81849af96c5aeb6b751d3ec901fa9c: account 03d6cd0a388e45851ce094b6d75833b2428a81849af96c5aeb6b751d3ec901fa9c is already subscribed, cannot recover
Then, I attempted to close the second account and got back the following error: rpc error: code = Unknown desc = transaction rejected: output already spent
So, I'm in a bit of a stuck state with that second account. Additionally, even if I could recover the account, I'm not sure where those 7.8m sats went 😭

Hello @levmi, no worries you should be able to recover your funds without any problem.
You can have multiple accounts per pool daemon. Those accounts are linked to the LND node that you are using as a backend, did you run multiple pool clients using the same node?
Before performing a recovery, you need to delete the file with your client data (pool.db). You can then start the recovery process but it will cancel all your open orders and you will also lose the data about previous matches.
After the recovery process you should have the latest state for each one of your accounts.
P.S: I do not see any output of ~7.8M in the tx that you attached, did you copy and paste the right tx?

Okay, sweet. Jordi and I did some chat based debugging. There was a weird issue whereby the CLI wasn't returning the proper account details and the latest tx was invalid. He believes that he found why that might be so there should be an update on that front in the form of a subasta issue. But, I went through the discussed path of deleting the db, account recovery, etc. and seems like it all went fine, just waiting for confs. So, I'll close this issue. Thanks!


Reflection to hackathon dev

Instead of one static file, the mutations are now based on all .cs files in the assembly

Can you remove the .sln file from git and add this file extension to the gitignore?


Segmentation fault (core dumped)

Description of your problem
Hi I working with linux mint 17 64 bit,  after updating the following libs
libcuda1-352-updates (352.63-0ubuntu<IP_ADDRESS>) to 367.57-0ubuntu<IP_ADDRESS>
libcurl3 (7.35.0-1ubuntu2.9) to 7.35.0-1ubuntu2.10
libcurl3-gnutls (7.35.0-1ubuntu2.9) to 7.35.0-1ubuntu2.10
libcurl3-nss (7.35.0-1ubuntu2.9) to 7.35.0-1ubuntu2.10
libcurl3:i386 (7.35.0-1ubuntu2.9) to 7.35.0-1ubuntu2.10
libpq5 (9.3.14-0ubuntu0.14.04) to 9.3.15-0ubuntu0.14.04
I can't start spyder:
What is the expected output? What do you see instead?
[1110/095452:ERROR:browser_main_loop.cc(217)] Running without the SUID sandbox! See https://chromium.googlesource.com/chromium/src/+/master/docs/linux_suid_sandbox_development.md for more information on developing with the sandbox on.
[1110/095452:ERROR:nss_util.cc(839)] After loading Root Certs, loaded==false: NSS error code: -8018
Segmentation fault (core dumped)
I tried a uninstll and reinstall direct from git and also from pip.
Nothing is working.
Any ideas?

Spyder Version: 4 and 3 both tested
Python Version: 2.7
Operating system: linux 64 bit

Dependencies
not working, cant open a gui

This looks similar to #3520. It's speculated to be a problem between PyQt 5.7 and graphic card driver, so I guess it's your libcuda update causing the problems.

Ok,
what i had is a lot of running QtWebEngineProcess.
Is it useful to switch to pyqt 5.6?

so after trying different things spyder is running?
I installed the NVIDIA-Linux-x86_64-361.42 driver and qt5.6 and pyqt5.7.
After that is running again.

Hi hofsaess
I also face the same kind of problem.
After upgrade the keras I found my spider is not open.
It shows Segmentation Fault(Core Dumped)
I use Gigabyte GEforce GTX 1080 GPU card.
Please help me how I can solve it


Add cancel and "X" button to emoji picker dialog

In addition to canceling out by clicking outside the dialog, add a cancel and/or X button to make sure users know how to exit (could be an adaptive cancel -> X button)

Done!


BUG - ui5-proxy-middleware does not work with UI5 library projects

Related Feature
Feature request: issue number
Description
The ui5-proxy-middleware does not work with UI5 library projects because it tries to read the minUI5Version from webapp/manifest.json which does not exist in a standard library project.
Steps to Reproduce
Steps to reproduce the behavior:

Install easy-ui5 (and yo)
Generate a library project using yo easy-ui5 library
Add the @sap-ux/ui5-proxy-middleware as devDependency and ui5 dependency (in the package.json) and run npm i
Add the standard config to the ui5.yaml
Run npm start
See error

Expected results
The preview starts without issues.
Actual results
Error Message:
ENOENT: no such file or directory, open '/.../tmp/com.myorg.myUI5Library/webapp/manifest.json'

Screenshots
If applicable, add screenshots to help explain the problem.
Version/Components/Environment
Add any other context about the problem here
OS:

[ ] Mac OS
[ ] Windows
[ ] Other

Root Cause Analysis
Problem
{describe the problem}
Fix
{describe the fix}
Why was it missed
{Some explanation why this issue might have been missed during normal development/testing cycle}
How can we avoid this
{if we don’t want to see this type of issues anymore what we should do to prevent}

@zdravko-georgiev maybe something for you

@tobiasqueck Why would you preview the library like this?
Normally I would expect an application to load the reuse lib using the static middleware form the workspace.

@devinea this is for developing a library. I wanted to use the ui5-proxy-middleware to test the code with different versions of UI5.


Full https support

This PR addresses Issue #2, and bumps the test server to the most recent keycloak (1.9.4). Tests for HTTPS currently do not exist. I am working locally on a way to automate the installation and configuration of an HTTPS enabled keycloak for the travis-ci builds, but in the interest of expediency, I thought you might like to have the code changes first.

@lance I tried it locally and all the tests are passing. Travis might be in a bad mood.
Thank you!


Task

Run cargo clippy -- -A clippy::all -W clippy::large_enum_variant to identify such enums.
Use Box to minimize variant sizes where applicable.

This may be covered already by #302

Fixed in #494 and #498


wpe: bbappend for hikey-32 machine

Remove commercial license plugins for hikey-32 machine

Again, the commit and PR are missing the basic info. And as was said before, the wpe recipe is not present in the default manifest, so a bbappen won't be accepted.


Add support for the new OS Data Hub to uk_ordnance_survey_names lookup

The Ordnance Survey API have launched OS Data Hub. As part of this, users are being pushed to migrate their use to the Data Hub before 31 May, which uses a new API endpoint.
This PR allows the gem to support the new endpoint alongside the existing one. I'm not sure what will happen to the existing endpoint come 31 May, but for now this will allow those who use this gem and wish to migrate to do just that.
They say that the functionality of their API hasn't changed at all. (see screenshot)

Thanks very much for this. Good PR. I think you've actually done more work than necessary. Usually when APIs change, we simply update the code to reflect the most current/future-proof version. There's usually no need to continue supporting the old URL (or syntax). In this case, it seems like anyone using the old endpoint should be automatically switched to the new one. The :service configuration and the new tests could be confusing in the future, once we've forgotten about the old endpoint. Updating the string returned by base_query_url and linking to the documentation in the Git commit should be sufficient. How do you feel about changing this to a one-line PR?

Thanks very much for this. Good PR. I think you've actually done more work than necessary. Usually when APIs change, we simply update the code to reflect the most current/future-proof version. There's usually no need to continue supporting the old URL (or syntax). In this case, it seems like anyone using the old endpoint should be automatically switched to the new one. The :service configuration and the new tests could be confusing in the future, once we've forgotten about the old endpoint. Updating the string returned by base_query_url and linking to the documentation in the Git commit should be sufficient. How do you feel about changing this to a one-line PR?

Ok brilliant, thanks.
I wasn't sure whether or not it was best to support the legacy endpoint for users until a certain point - but this is far more straightforward!
Let me know if you need anything else.

Perfect, thanks!


SuperTuxKart not opening (RetroPie 4.2)

I have installed the .sh file and put it in my ports folder, the problem is that the game doesn't load when I try to play it. I select it, black screen, booted back to the Ports menu. How do I fix this and why is it not loading?

Did you do a source or binary installation? I just attempted a binary install and found that it misses the glshim required to play which I believe should be installed with the source install.

With a source install, I can confirm that I see the same behavior as you are. Looking into this.

Should be fixed in #216.


Gemspec: Drop EOL'd property rubyforge_project

The RubyGems property rubyforge_project is removed without a replacement.

Thanks @olleolleolle 👍


The function create_snapshot creat link must to login right?

I craete snapshot link by create_snapshot and it could browse when I login into my grafana website. When I copy link to other people or in the incognito mode, it show the datasource not found.

@yangminglintw , you should try to verify your settings.
If you copied your dashboard from another grafana instance, something may not have formatted correctly and/or they may be using the wrong source compared to your dashboard.
Try to inspect your dashboard json and identify your datasource, ensure that this datasource is correct and in your grafana provider as well. This should fix your issue.
For more information here is a SO thread:
https://stackoverflow.com/a/78370566


chore(DEVHAS-648): Remove GitOps repository related test code

Description
Paired with https://github.com/redhat-appstudio/application-service/pull/464, this PR removes test code that handled GitOps repositories, as that functionality is being removed from HAS in https://issues.redhat.com/browse/DEVHAS-648.
Issue ticket number and link
https://issues.redhat.com/browse/DEVHAS-648
Type of change

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
Checklist:

[ ] I have performed a self-review of my code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] I have added meaningful description with JIRA/GitHub issue key(if applicable), for example HASSuiteDescribe("STONE-123456789 devfile source")
[ ] I have updated labels (if needed)

@johnmcollier thanks for this PR, I have just one request for this PR mentioned in this comment - wdyt?

Updated the test label to "rhtap-demo"

@johnmcollier thank you, it looks good now! all rhtap-demo tests have passed in related HAS PR
/approve

/lgtm


Added Email Validation using Forms and RegExp, Fixes issue #177

Related Issue

Fixes #177

Proposed Changes

Changed userEmailValidation([]) in auth_service.dart
Change code inside validator of form field in signup_view.dart and login_view.dart
Email validation is done via RegExp() and SnackBar is used to show any error

Additional Information

Changed return type of userEmailValidation([]) from String to boolean.

Checklist

[x] Tested
[x] No Conflicts
[x] Change In Code
[ ] Change In Documentation
[x] Follows linting rules

Screenshots

Before this PR
After this PR

** Original Screenshot **
** Updated Screenshot **

:-----------------------:
:-----------------------:

:-----------------------:
:-----------------------:

@himanshusharma89 Please review and if it is okay, merge this PR.

As mentioned in the PR, show the error message below the form, the current validator doesn't look with the textformfield. And we don't need SnackBar here.

@himanshusharma89 Could you please elaborate on what is exactly needed?

@abhishek7997 Why did you closed this PR? Are you not familiar with git?

And before contributing, did you read the contributing or the pinned messages in the Discord server?

I was trying to restore the changes made, but I accidently closed the PR using git fetch and force push.

And before contributing, did you read the contributing or the pinned messages in the Discord server?

No, I will read it now.

@himanshusharma89 Is it possible for you to re open this PR?

@abhishek7997 I cannot re-open it. If you are not able to re-open this PR from your side, then the force push caused the issue.

@himanshusharma89 Please help. What should I do next?

Okay, do some changes in the master branch and commit them. This might prompt me to open the PR. Also, let this PR be, create a new branch, don't use master to create PR

@himanshusharma89 Should I just make some dummy changes for now? Or should I write code that fixes this issue, and then do the commit?

@abhishek7997 Create a new branch and resolve the assigned issue, don't work on the master branch. Create a new PR from the new branch after working on the issue.

@himanshusharma89 That I will do. But right now should I do some changes in the master branch that allows you to re open the PR first? or make changes in the new branch?

Okay, do some changes in the master branch and commit them. This might prompt me to open the PR. Also, let this PR be, create a new branch, don't use master to create PR

@abhishek7997 As I told you already, let this PR be. You created this PR from master branch, so no need to work on this branch.

Okay

@abhishek7997 I told you, don't work on this PR, it is on your master branch. Create a new PR from different branch.

@abhishek7997 Create a new branch and resolve the assigned issue, don't work on the master branch. Create a new PR from the new branch after working on the issue.

@abhishek7997 I told you, don't work on this PR, it is on your master branch. Create a new PR from different branch.

@abhishek7997 Create a new branch and resolve the assigned issue, don't work on the master branch. Create a new PR from the new branch after working on the issue.

Okay, I have created a new branch.
Will work on that.

Okay


Remove duplicate libcrypt.so.1 entry

1ba9538 commented out libcrypt.so.1 because Fedora 30 no longer ships it with glibc.  However, a duplicate entry was not removed, causing some AppImages to still fail to start.

Thank you.


Vertical mode not working

I use the vertical mode example: https://react-slick.neostack.com/docs/example/vertical-mode
But all the slides appear in the first slide. All children, which are divs and each should be a separate slide, instead appear all in the first slide. If I switch to another slide it is empty. All slides are empty except the first one, which contains all divs.

Please provide code to replicate your issue.


Complete deterministic builder

This is an alternative to https://github.com/RGB-WG/rgb-std/pull/190#issuecomment-2060902799

Sure! Done in 0a392e705e1cfd246508021467f2963552d366d7


New version: Mozilla.Firefox.DeveloperEdition.ca version 132.0 (132.0b4)

Created by 🥟 Dumplings.
Microsoft Reviewers: Open in CodeFlow

Verify by proxy: https://github.com/microsoft/winget-pkgs/pull/179431#issuecomment-2400690391


Now version of nodeJS has been LTS, so does express have some plan to update?

We all feel bad about callback, and expect  await/async feature in express

This is planned for the 5.0 release and work has resumed on it a monthbor so ago. You can follow along in the 5.0 PR (link to the bottom with links to our child repos: https://github.com/expressjs/express/pull/2237#issuecomment-338002196).
Also, if you have time to help, please consider helping in some way if you are looking for faster movement :) !


[Question]How to load GoogleNews-vectors-negative300.bin?

Hi,
I am trying to load the default model, GoogleNews-vectors-negative300.bin.
I have been using the following simple codes,
Word2Vec.Net.Distance distance = new Word2Vec.Net.Distance("GoogleNews-vectors-negative300.bin");
But, I received the following error message:
System.OutOfMemoryException: Array dimensions exceeded supported range.
Any ideas? Many Thanks.
Jie

2GB is the max Memory Size for an Object, you will need to split the Dataset, or use a smaller one.
See: http://stackoverflow.com/questions/982051/net-max-memory-use-2gb-even-for-x64-assemblies


s3fs - Errors regardless

I am unable to get very far reading files from a local Minio server. This is the snippet
df = dd.read_csv('s3://datasets/somedata/example.csv',  storage_options={
"aws_access_key_id":"admin",
"aws_secret_access_key":"Safe4root123",
"endpoint_url":"http://localhost:9000",
"region_name":"us-east-1"})
df.head()
I keep getting this error. The scheduler and workers to have s3fs installed. does the scheduler need to be rebooted? I assume not since python can pull in modules on the fly.
I have tried many permutations of the "storage_options" including "key" and Dask specific, though I have not seen much documentation other than having to try the boto3 docs.
Please advise. Thanks
DB-
Error stack:
ModuleNotFoundError                       Traceback (most recent call last)
/opt/conda/lib/python3.7/site-packages/fsspec/registry.py in get_filesystem_class(protocol)
181         try:
--> 182             register_implementation(protocol, _import_class(bit["class"]))
183         except ImportError as e:
/opt/conda/lib/python3.7/site-packages/fsspec/registry.py in _import_class(cls, minv)
196
--> 197     mod = importlib.import_module(mod)
198     if minversion:
/opt/conda/lib/python3.7/importlib/init.py in import_module(name, package)
126             level += 1
--> 127     return _bootstrap._gcd_import(name[level:], package, level)
128
/opt/conda/lib/python3.7/importlib/_bootstrap.py in _gcd_import(name, package, level)
/opt/conda/lib/python3.7/importlib/_bootstrap.py in find_and_load(name, import)
/opt/conda/lib/python3.7/importlib/_bootstrap.py in find_and_load_unlocked(name, import)
ModuleNotFoundError: No module named 's3fs'
The above exception was the direct cause of the following exception:
ImportError                               Traceback (most recent call last)
in
4         "aws_secret_access_key":"Safe4root123",
5         "endpoint_url":"http://<IP_ADDRESS>:9000",
----> 6         "region_name":"us-east-1"})
7
8 df.head()
/opt/conda/lib/python3.7/site-packages/dask/dataframe/io/csv.py in read(urlpath, blocksize, collection, lineterminator, compression, sample, enforce, assume_missing, storage_options, include_path_column, **kwargs)
576             storage_options=storage_options,
577             include_path_column=include_path_column,
--> 578             **kwargs
579         )
580
/opt/conda/lib/python3.7/site-packages/dask/dataframe/io/csv.py in read_pandas(reader, urlpath, blocksize, collection, lineterminator, compression, sample, enforce, assume_missing, storage_options, include_path_column, **kwargs)
403         compression=compression,
404         include_path=include_path_column,
--> 405         **(storage_options or {})
406     )
407
/opt/conda/lib/python3.7/site-packages/dask/bytes/core.py in read_bytes(urlpath, delimiter, not_zero, blocksize, sample, compression, include_path, **kwargs)
91
92     """
---> 93     fs, fs_token, paths = get_fs_token_paths(urlpath, mode="rb", storage_options=kwargs)
94
95     if len(paths) == 0:
/opt/conda/lib/python3.7/site-packages/fsspec/core.py in get_fs_token_paths(urlpath, mode, num, name_function, storage_options, protocol)
516         protocols, path = split_protocol(urlpath)
517         protocol = protocol or protocols
--> 518         cls = get_filesystem_class(protocol)
519
520         options = cls._get_kwargs_from_urls(urlpath)
/opt/conda/lib/python3.7/site-packages/fsspec/registry.py in get_filesystem_class(protocol)
182             register_implementation(protocol, _import_class(bit["class"]))
183         except ImportError as e:
--> 184             raise ImportError(bit["err"]) from e
185     cls = registry[protocol]
186     if getattr(cls, "protocol", None) in ("abstract", None):
ImportError: Install s3fs to access S3

@DarkBlaez you should rotate your aws_secret_access_key key if that's your real one. That's a secret that shouldn't be shared.

The exception is saying that your environment doesn't have s3fs installed. You also need in on the client.

Actually it's not my real key. I am not using AWS for this I am using local Minio instance and change all the data before I posted. Yes the error referenced is the obvious one. I did install s3fs on the client which in this case is a remote Jupiter instance so that resolve this error thrown.
However, what should the "real" storage_options" keys be? I have seen a number of options here, most reference boto3 which I understand Dask sfs3 is wrapped. However, the lack of clear documentation is what has caused a number of online threads to assert this same issue.
Can someone enumerate the storage_options?
Thanks
DB

I think I figured it out:
df = dd.read_csv('s3://datasets/somedata/example.csv,  storage_options={
"key":"admin",
"secret":"Safe4root123",
"client_kwargs":{'endpoint_url': 'http://localhost:9000'}})
However, I would like validation of the full storage_options within Dask since it became clear that even thought Dask is wrapping boto3, there are changes and I wonder what additional changes there was.
DB

However, I would like validation of the full storage_options within Dask

read_csv is agnostic to the particular backend used, so that isn't possible. It's up to that backend to validate the kwargs.
For S3, those are documented at https://s3fs.readthedocs.io/en/latest/api.html#s3fs.core.S3FileSystem.

Thanks so much


[wip] Startup time improvements (maybe)

Performance may be improved.
If you have any problems using this branch, please feel free to comment.

main branch
❯ vim-startuptime -vimpath nvim
Extra options: []
Measured: 10 times

Total Average: 204.482900 msec
Total Max:     213.491000 msec
Total Min:     197.176000 msec

performance-improvement branch
❯ vim-startuptime -vimpath nvim
Extra options: []
Measured: 10 times

Total Average: 194.349900 msec
Total Max:     203.333000 msec
Total Min:     185.274000 msec

Maybe it got faster.


Remove bash_apps testing redundancies

It looks like much of bash_apps.py and test_bash_apps.py is redundant and one can be removed.

This was fixed in #272.


Memory leak in hybrid app

I'm currently using React Native for our new homepage. After having added LeakCanary, I got a log below
https://gist.github.com/dbof10/8d961f7c16bf6056867c2d3940c77011#file-leakstacktrace.
My Activity is
https://gist.github.com/dbof10/8d961f7c16bf6056867c2d3940c77011#file-mainactivity-java

i'm having the same issue, any updates on this?

Have attached screenshot for the memory leak checked on getting heap dump for same issue. Can someone please suggest a way to get rid of this strong reference!! screen shot 2017-02-09 at 3 29 38 pm

Hi there! This issue is being closed because it has been inactive for a while.
But don't worry, it will live on with Canny! Check out its new home: https://react-native.canny.io/feature-requests/p/memory-leak-in-hybrid-app

Hi @dbof10, @Trikke, @konark-hike,
I added a JS screen to my native app, have been reloading JS, navigating away from that screen and back to it many times and memory usage stays flat, as shown by Android Studio:

I'm using LeakCanary in the app which occasionally shows "Dumping memory, app will freeze. Brr!" and writes a heap dump to disk.
After a while I get a notification saying "Leak analysis failed" and the reason it failed is an OOM in the heap analyzer: https://github.com/square/leakcanary/issues/484
I can't see your original gists anymore but from the memory usage graph above my app looks fine.
 Just exposing its methods:
class MyReactActivityDelegate(activity: Activity, mainComponentName: String)
    : ReactActivityDelegate(activity, mainComponentName) {

    public override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
    }

    public override fun onPause() {
        super.onPause()
    }

    public override fun onResume() {
        super.onResume()
    }

    public override fun onDestroy() {
        super.onDestroy()
    }
}

And in my Application class, define a host to hold the React Native instance. The ReactActivityDelegate will use that host, via the Activity we passed to it:
    /**
     * Simple holder object, cheap to initialise.
     * On first run of JS (call to `getReactInstanceManager`) starts up the JS instance, loads JS from disk,
     * and holds the instance in memory. All the memory can be reclaimed using [{@link MyReactNativeHost#clear()}.
     * It's a good idea to reclaim the memory when the process is running low on memory
     * or when the app is in the background - this reduces chances the system will kill the app.
     */
    private MyReactNativeHost reactNativeHost = new ReactNativeHost(this);

    @Override public ReactNativeHost getReactNativeHost() {
        return reactNativeHost;
    }

And finally the host is quite simple:
class MyReactNativeHost(application: Application) : ReactNativeHost(application) {

    override fun getUseDeveloperSupport(): Boolean {
        return BuildConfig.DEBUG
    }

    override fun getPackages(): List<ReactPackage> {
        return mutableListOf(
                MainReactPackage(),
                MyReactPackageWithAdditionalModules())
    }

    override fun getJSMainModuleName(): String {
        return "index"   // JS filename, without extension
    }
}


skywalking-python not working for requests lib

Please answer these questions before submitting your issue.

Why do you submit this issue?
[ ] Question or discussion
[x] Bug
[ ] Requirement
[ ] Feature or performance improvement

Question

What do you want to know?

Bug

Which version of SkyWalking, OS and JRE?
Skywalking server 8.0
skywalking-python make install by master branch with HEAD/3892cab9d5d2c03

Which company or project?

What happen?

from skywalking import agent, config
import requests

config.init(collector='trace.domain.name:11800', service='test')

agent.start()
url = 'http://<IP_ADDRESS>:8000/taskdetail/?task_id=328'
resp = requests.get(url)

Traceback (most recent call last):
  File "test.py", line 8, in <module>
    resp = requests.get(url)
  File "/home/admin/.virtualenvs/opssaas/lib/python3.6/site-packages/requests/api.py", line 70, in get
    return request('get', url, params=params, **kwargs)
  File "/home/admin/.virtualenvs/opssaas/lib/python3.6/site-packages/requests/api.py", line 56, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/admin/git/skywalking-python/skywalking/plugins/sw_requests/__init__.py", line 46, in _sw_request
    with context.new_exit_span(op=url_param.path or "/", peer=url_param.netloc, carrier=carrier) as span:
  File "/home/admin/git/skywalking-python/skywalking/trace/context/__init__.py", line 75, in new_exit_span
    span.inject(carrier=carrier)
  File "/home/admin/git/skywalking-python/skywalking/trace/span/__init__.py", line 209, in inject
    carrier.endpoint = self.context.spans[0].op
IndexError: list index out of range

Requirement or improvement

Please describe about your requirements or improvement suggestions.

Should be fixed by https://github.com/apache/skywalking-python/pull/14


[ChatGPT] new vision feature may causing JS heap out of memory

Extension
https://www.raycast.com/abielzulio/chatgpt
Raycast Version
1.73.3
macOS Version
No response
Description
Error: Worker terminated due to reaching memory limit: JS heap out of memory
Steps To Reproduce
select multiple huge image files and asking
Current Behaviour
No response
Expected Behaviour
No response

@raycastbot assign me

change from save base64 encode to file path


NVS encryption with factory NVS data (IDFGH-11406)

Answers checklist.

[X] I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
[X] I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
[X] I have searched the issue tracker for a similar issue and not found a similar issue.

IDF version.
v5.1.1-dirty
Operating System used.
macOS
How did you build your project?
Command line with idf.py
If you are using Windows, please specify command line type.
None
What is the expected behavior?
Does enabling NVS encryption (at the same time as enabling encryption of all flash memory) allow you to encrypt data already stored in NVS (using standard functions)?
If so, is it necessary to take a different approach to the data saved before the encryption was activated.
I mean the data saved before the first start of the software (factory data).
What is the actual behavior?
In my case, the data stored in NVS and factory_nvs after encryption could not be read. Perhaps the problem was due to not checking nvs_keys to see if it is cleared.

Related https://github.com/espressif/esp-idf/issues/12350#issuecomment-1746534607

Hi @mahavirj  @rrtandler
it's not the previously encrypted NVS data, but the unencrypted data stored in NVS and factory_nvs partitions that are correctly handled before flash and NVS encryption is enabled.
In the factory_nvs partition, are the data used by ESP-HomeKit-SDK (for example to verify HomeKit code)

@MacWyznawca
If you would like to store the factory data in the NVS then you must create a pre-encrypted NVS partition and flash it on the device during manufacturing stage. Once the NVS encryption feature is enabled, it does not encrypt the pre-flashed contents, it assumes that contents are already encrypted.
Please refer to tools and docs pointers supplied in my earlier comment for more details.