When event is received, clear notifications

Duplicate from #18, but into correct branch.
Original comment:

This works awesomely if there's only one user on the android app.
If there's multiple users on the app, then (due to a pre-existing bug), no notifications appear for the other user.

So the main issue here with the fix is that historical read receipts may cause the notification state to be incorrectly cleared.  Separately, it should be multi-account aware (this could be a separate PR however).
The correct implementation is quite subtle - for instance, vector-web calculates unread state as per: https://github.com/matrix-org/matrix-react-sdk/blob/develop/src/Unread.js#L37
Please note (both @ylecollen and @mitchhentges) that for the special case of missed push notifications and missed 'highlight' push notifications (not just unread messages), synapse generates explicit unread_notification fields on the /sync response, which gives you, per-room, whether a notification should be shown for a room (both how many missed highlighted messages and how many missed pushes in general).  The datastructure looks like:
unread_notifications: {
    highlight_count: 0
    notification_count: 0
}

Supporting proper synchronised highlights and missed push notifs however is probably a separate PR.
@mitchhentges - up to you if you'd like to get the unread message semantics right, otherwise we'll get to it.  It should probably be being calculated by the SDK rather than Console.  I'm afraid that I'd prefer that we don't merge a partial solution here.

I'll do it in a new PR, which will involve a refactor (and also make this obsolete).
Thanks!


🙏 梳理单元格类中所有方法的可访问性

🖋 Description
🏞 What problem does this feature solve
🧐 Suggest the API

name
type
default
description

-
-
-
-

:tada: This issue has been resolved in version @antv/s2-v1.23.0-alpha.1 :tada:
The release is available on:

npm package (@alpha dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This issue has been resolved in version @antv/s2-v1.23.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


[CI:DOCS] Update release notes for v1.8.1 final release

As the title says

/hold

/lgtm

/hold cancel


Automated Package Upgrade

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


[fixed] Dragging inside modal and release outside of modal closes the modal

Fixes #466.

Coverage increased (+0.07%) to 87.24% when pulling 0b6c3144fe9aa0b02a85a79027e15c7c471374ef on tsmirnov:master into 92c23b5bdd6829b02a5d79dee105a00ab5063d3e on reactjs:master.

Coverage increased (+0.07%) to 87.24% when pulling 0b6c3144fe9aa0b02a85a79027e15c7c471374ef on tsmirnov:master into 92c23b5bdd6829b02a5d79dee105a00ab5063d3e on reactjs:master.

Coverage increased (+0.07%) to 87.24% when pulling de4d04ab85a4d743776a01e206a134a3f7fc828f on tsmirnov:master into 92c23b5bdd6829b02a5d79dee105a00ab5063d3e on reactjs:master.

@diasbruno do you know, when this PR might be merged and released?

@tsmirnov Right now!

@tsmirnov Thank you!

Released v2.2.4.

@tsmirnov Please, notify the issues related to this issue.

@diasbruno What do you mean?

Just give a heads up on the issues related to this. :)

#131, #383, #466. That is all I found.


Update .spi.yml

Fixes https://github.com/SwiftPackageIndex/SwiftPackageIndex-Server/issues/1626

Unfortunately this will be required whenever the particular circumstances of the underlying issue https://github.com/SwiftPackageIndex/SwiftPackageIndex-Server/issues/1532 are met.
In a nutshell, the issue there was that under certain particular circumstances, xcodebuild -list will pick up schemes from xcode projects in subdirectories (like your examples and showcases) 😦.
We're making several attempts to discover the correct scheme to build but in TCA's case we end up picking swift-composable-architecture-Package. Normally, that's the right scheme but not in your case.
You're always going to be on the safe side if you specify the correct schemes in .spi.yml. But in order to be able to determine that ahead of time, here's what should work: Whenever {package name}-Package (which is what we should end up discovering) is not the correct scheme, provide an override in .spi.yml.
Our xcodebuild commands are the following, in case you want to preflight the builds:
env DEVELOPER_DIR="/Applications/Xcode_13.2.1.app" xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride="$PWD/.dependencies" -derivedDataPath "$PWD/.derivedData" build -scheme "\(scheme)" -destination "generic/platform=ios"

ios can be replaced with tvos and watchos.
macOS builds use -destination 'platform=macos,arch=x86_64' and -destination 'platform=macos,arch=arm64' for Swift 5.5 and above, -arch x86_64, -arch arm64 for earlier versions.
I know this is quite annoying and fiddly - sorry about that! I really hope that in the early 2030s or so we can drop the xcodebuild code path 🤣

Unfortunately this will be required whenever the particular circumstances of the underlying issue SwiftPackageIndex/SwiftPackageIndex-Server#1532 are met.

Actually, in this case that particular issue simply exposed that we were building the wrong scheme all along. The issue of TCA requiring a custom scheme would have need fixing either way, we just failed to notice it due to the example projects polluting the "scheme space".


Add config option to allow platform to define log method as a macro.

This commit adds OPENTHREAD_CONFIG_PLAT_LOG_DEFINED_AS_MACRO as
a new configuration option (disabled by default) which enables the
platform to provide the log function as a macro instead of a function.
If enabled, OPENTHREAD_CONFIG_PLAT_LOG_HEADER_FILE defines the name
of a header file which is included from logging.hpp. This header file
must contain a definition for _otPlatLog() (as a C macro) which is
used in place of platform logging function inside OpenThread.

Codecov Report

Merging #1652 into master will decrease coverage by 0.09%.
The diff coverage is n/a.

@@            Coverage Diff            @@
##           master    #1652     +/-   ##
=========================================
- Coverage   66.91%   66.81%   -0.1%
=========================================
  Files         166      164      -2
  Lines       21113    20554    -559
  Branches     2592     2531     -61
=========================================
- Hits        14128    13734    -394
+ Misses       6073     5943    -130
+ Partials      912      877     -35

Impacted Files
Coverage Δ

src/core/common/logging.cpp
37.97% <ø> (ø)
:arrow_up:

src/core/api/icmp6_api.cpp
50% <0%> (-50%)
:arrow_down:

src/core/net/ip6.hpp
66.66% <0%> (-22.23%)
:arrow_down:

src/core/api/ip6_api.cpp
43.75% <0%> (-17.19%)
:arrow_down:

src/core/mac/mac_whitelist.cpp
76.59% <0%> (-17.03%)
:arrow_down:

src/core/api/netdata_api.cpp
57.44% <0%> (-14.9%)
:arrow_down:

src/core/api/thread_api.cpp
28.62% <0%> (-13.73%)
:arrow_down:

src/ncp/ncp_base.cpp
17.74% <0%> (-10.54%)
:arrow_down:

src/core/thread/lowpan.hpp
86.84% <0%> (-10.53%)
:arrow_down:

src/core/api/link_api.cpp
23.62% <0%> (-7.09%)
:arrow_down:

... and 12 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update adbef3b...228a4cf. Read the comment docs.

New commit push simplifies the model...


feat(odd): add Confirm Run cancel modal

Overview
Add Confirm run cancel modal
Currently buttons in the modal don't match the design because we can not change button's width by passing width.
I will work on this in a following PR.
close RCORE-562

Test Plan

Send a protocol to an OT-3/dev kit
Tap All Protocols
Run a protocol
Tap stop button(red button)
Tap Go back (close modal)
Tap stop button again and tap Cancel run button

Changelog

add a new modal
add a test for the new modal
update running protocol test

Review requests

Risk assessment
low

[ ] address comment


aria-controls fix

Proposal for fix of issue #34
Aria-controls attribute value should not contain hash sign and tab section should have same ID so that screenreaders know the tab controls the corresponding panel.

Thank you for the contribution.


Setup Issue with new install of Voice Assitant

I recently acquired Voice Kit. I realized it was version 1.0. Went through the set up got through to Chapter 5 step 13 when I ran into an issue. When I enter as instructed "src/assistant_library_demo.py" in the development terminal it returns the following;
"bash: src/assistant_library_demo.py: No such file or directory"
I went to the folder where that code is located and tried running it from there and got an ImportError.
Need help.
Thank you Brian

@briankmcm Did you try to follow instructions at https://aiyprojects.withgoogle.com/voice-v1/ ?

I followed the instruction booklet that came with the kit.
Thanks,

@briankmcm
Download the latest sdcard image from https://aiyprojects.withgoogle.com/help/#updating-your-sd-card and install it on your sdcard.
You can follow the instructions given at : https://aiyprojects.withgoogle.com/voice/#connect (These will work for Voice V1 as well) to make your assistant work.

Will give this a try.
Thank you!!


Improve propTypes parsing for NavigatorIOS docs

We are losing a lot of helpful documentation here with the way it is currently being displayed:

In the source:
    /**
     * NavigatorIOS uses "route" objects to identify child views, their props,
     * and navigation bar configuration. "push" and all the other navigation
     * operations expect routes to be like this:
     */
    initialRoute: PropTypes.shape({
      /**
       * The React Class to render for this route
       */
      component: PropTypes.func.isRequired,

      /**
       * The title displayed in the nav bar and back button for this route
       */
      title: PropTypes.string.isRequired,

      /**
       * Specify additional props passed to the component. NavigatorIOS will
       * automatically provide "route" and "navigator" components
       */
      passProps: PropTypes.object,

      /**
       * If set, the left header button image will appear with this source. Note
       * that this doesn't apply for the header of the current view, but the
       * ones of the views that are pushed afterward.
       */
      backButtonIcon: Image.propTypes.source,

      /**
       * If set, the left header button will appear with this name. Note that
       * this doesn't apply for the header of the current view, but the ones
       * of the views that are pushed afterward.
       */
      backButtonTitle: PropTypes.string,

      /**
       * If set, the left header button image will appear with this source
       */
      leftButtonIcon: Image.propTypes.source,

      /**
       * If set, the left header button will appear with this name
       */
      leftButtonTitle: PropTypes.string,

      /**
       * Called when the left header button is pressed
       */
      onLeftButtonPress: PropTypes.func,

      /**
       * If set, the right header button image will appear with this source
       */
      rightButtonIcon: Image.propTypes.source,

      /**
       * If set, the right header button will appear with this name
       */
      rightButtonTitle: PropTypes.string,

      /**
       * Called when the right header button is pressed
       */
      onRightButtonPress: PropTypes.func,

      /**
       * Styles for the navigation item containing the component
       */
      wrapperStyle: View.propTypes.style,

    }).isRequired

Yeah, a little puzzle

are the docs auto generated? if so, how?

@pwmckenna - yup, check out the website/server and website/jsdocs directories. Some docs come from docs/, others (like those mentioned above) are generated based off of comments and prop data.

Thank you for reporting this issue and appreciate your patience. We've  notified the core team for an update on this issue. We're looking for a response within the next 30 days or the issue may be closed.

I'll probably never do this because I do not use NavigatorIOS or recommend using it, so I will close


[release/1.1] native: set '/' permission to 0755

Unlike other snapshotters, the permission was previously set to 0700
unexpectedly.
Signed-off-by: Akihiro Suda<EMAIL_ADDRESS>
Cherry-pick https://github.com/containerd/containerd/pull/2485

LGTM


Scrolling with mouse - click offset issue

Describe the bug
Currently to scroll by clicking and dragging it's necessary to click at the upper half of the scrollbar to ensure the click is registered on the scrollbar. It is even possible to click above the scrollbar and the dragging is possible. This is especially visible on the longer files when the scrollbar is short - I tried with 500 lines file. There seems to be an offset.
To Reproduce
Steps to reproduce the behavior:

Open large file
Click at the end of the scrollbar and drag
Window doesn't scroll <---- not expected
Try clicking slightly above scrollbar and dragging
Window scrolls <---- not expected
Try clicking at the upper half scrollbar and dragging
Window scrolls  <---- as expected

Video
https://imgur.com/a/w2V7fkA
Additional context
Tested with a minimal config.
-- DO NOT change the paths and don't remove the colorscheme
local root = vim.fn.fnamemodify("./.repro", ":p")

-- set stdpaths to use .repro
for _, name in ipairs({ "config", "data", "state", "cache" }) do
  vim.env[("XDG_%s_HOME"):format(name:upper())] = root .. "/" .. name
end

-- bootstrap lazy
local lazypath = root .. "/plugins/lazy.nvim"
if not vim.loop.fs_stat(lazypath) then
  vim.fn.system({
    "git",
    "clone",
    "--filter=blob:none",
    "--single-branch",
    "https://github.com/folke/lazy.nvim.git",
    lazypath,
  })
end
vim.opt.runtimepath:prepend(lazypath)

-- install plugins
local plugins = {
  {
    'lewis6991/satellite.nvim',
    opts = {},
  }

}
require("lazy").setup(plugins, {
  root = root .. "/plugins",
})

A note which may be helpful: strangely at the beginning of dragging the scrollbar jumps by some offset under the mouse, later it seems to be following the mouse drag as expected.
I understand that this might not be top-priority issue since not many users use mouse but it still is a bit confusing and probably worth investigating.

I have this problem too

I have this problem too

You can use https://github.com/dstein64/nvim-scrollview, I had very good experience with it.

Seems to be exactly 1 row offset above


django 2.0 or 1.11 for a beginner

Which is the business need?

Django 1.11 will be better because 1.11 is LTS version which means it give get support and update from django for long time and also if you will face any issue than you can find solution very easily.


Non-existing libraries listed in README and UDev rules

After building and installing things from the https://github.com/intel/ipu6-drivers, https://github.com/intel/ipu6-camera-bins and this repository, I got multiple failures when running the mv commands listed in the README because of many of the library files missing. And after installing the UDev rules and rebooting, I have many broken symlinks in the /usr/lib directory. For example, libSkyCamAIC.so is missing and the link is broken.
Where are these libraries supposed to come from?

After building and installing things from the https://github.com/intel/ipu6-drivers, https://github.com/intel/ipu6-camera-bins and this repository, I got multiple failures when running the mv commands listed in the README because of many of the library files missing. And after installing the UDev rules and rebooting, I have many broken symlinks in the /usr/lib directory. For example, libSkyCamAIC.so is missing and the link is broken.
Where are these libraries supposed to come from?

We haven't been updating this part for a long time and that solution to support multiple platforms (11th/12th/13th Core) will also be deprecated. If you are building for one platform only, you can just skip that part.


Certain commands sent multiple times

Certain commands get sent multiple times with smart IR. I have two pioneer ac's
For example:
The cool function command will get sent twice
The power command gets sent once
I added the led command (outside smart ir) and it gets sent half a dozen times.
This behavior occurs with both built in scripts with the tv using the broadlink send service as well as smart ir.
I mentioned Smart IR because it is more reproducible, but it also happens with the tv volume, you press the volume script once and broadlink sends the packet half a dozen times. You are trying to reduce the volume by one or two and it just keeps going down.
I use broadlink with smart ir and some scripts to control my tv.
Starting about a week ago it began sending multiple packets when
Environment
I'm using docker on a nuc
107 - 111 ( I updated after experiencing the issue and it continues to happen)
107
docker
Smart IR
Problem-relevant configuration.yaml
- platform: smartir
  name: Bedroom AC
  unique_id: office_ac
  device_code: 2040
  controller_data: <IPADDRESS>
  temperature_sensor: sensor.bedroom_temperature
- platform: smartir
  name: Living AC
  unique_id: living_ac
  device_code: 2040
  controller_data: <IPADDRESS>
  temperature_sensor: sensor.upstairs_temperature
- platform: broadlink
  host: <IPADDRESS>
  mac: '<MACADDRESS>'
  type: rm2_pro_plus
- platform: broadlink
  host: <IPADDRESS>
  mac: '<MACADDRESS>'
  type: rm2_pro_plus

Traceback/Error logs
None that I can find

Cross posted: https://github.com/home-assistant/core/issues/37000

I close it. Not related to SmartIR


WIP: Text box web & native on input event property

The core text box widget will include an on input event property starting from MX 8.13.

Please label this PR as work-in-progress. It's not certain whether we will release this for MX 8.13

@IIsaku is this going into 8.13, or is it still being debated?


[Important] Can cmake create "include" folder

Description
Enviroment: Windows 10
Compiler: Visual Studio 2019 Enterprise
Step: cmake-gui (3.15.4) -> config (default + BUILD_SHARED_LIB + BUILD_EXAMPLE) -> open with vs2019 -> build solution
My problem is that after the build is completed I only see the bin and lib directories, I don't see the include directory.
Can CMake copy all of .h files to a single include directory when building? If yes, how?
Expected behavior
My project uses vs2019 and I expect that the output will be include, lib, bin. I also used some other libraries and they also have 3 similar folders. I need the include folder because I want to copy the itk library after build to other computers to use.
Additional Information
I find that "vcpkg" can do this but I don't want to use it because it doesn't have the latest beta version.

What you expect (include, lib, bin) is produced by building the INSTALL target.

OMG, you save me. thanks @dzenanz


Multiple Pool Safety (Block Returning to Wrong Pool)

Added a check to SingleThreadedAsyncObjectPool to disallow giveBack on an object that did not come from that pool.

@SattaiLanfear can you include a spec showing the broken behavior so it doesn't get re-introduced?

@mauricio Sure, I'll try to do that in the next few days, otherwise might take a couple weeks.

Sure, not a problem!

Maurício Linhares
http://mauricio.github.io/ - http://twitter.com/#!/mauriciojr
On Sat, Mar 5, 2016 at 7:03 PM, Stephen Couchman<EMAIL_ADDRESS>wrote:

@mauricio https://github.com/mauricio Sure, I'll try to do that in the
next few days, otherwise might take a couple weeks.
—
Reply to this email directly or view it on GitHub
https://github.com/mauricio/postgresql-async/pull/167#issuecomment-192763103
.

@mauricio Working on the spec and looking at the SingleThreadedAsyncObjectPool implementation left me with a question.
In giveBack, we fail the Promise if the object being returned fails validation, but as the only actions to be taken seem to be internal (dropping the item out of the pool and instructing the factory to destroy it) that doesn't seem a desirable outcome.  From an external view, the item was returned successfully and the pool subsequently decided to destroy it.
Can you provide any insight into why we chose this behavior, particularly as the failure is often discarded by most useage patterns, such as pool.use?

@SattaiLanfear I don't think there was any thinking other than if something fails let's bubble it up, we could definitely not break the promise but we'd still need to report this error in some way so that it doesn't break in silence.

@mauricio Followup question, since I decided if I was going to write a spec I might as well make it as complete as I could, I've been examining the expected behavior of the rest of AsyncObjectPool and in the process failed one of the tests I'd written.
In SingleThreadedAsyncObjectPool we have:
  private def testObjects {
    val removals = new ArrayBuffer[PoolableHolder[T]]()
    this.poolables.foreach {
      poolable =>
        this.factory.test(poolable.item) match {
          case Success(item) => {
            if (poolable.timeElapsed > configuration.maxIdle) {
              log.debug("Connection was idle for {}, maxIdle is {}, removing it", poolable.timeElapsed, configuration.maxIdle)
              removals += poolable
              factory.destroy(poolable.item)
            }
          }
          case Failure(e) => {
            log.error("Failed to validate object", e)
            removals += poolable
          }
        }
    }
    this.poolables = this.poolables.diff(removals)
  }

If the item fails validation it doesn't get passed to the factory for destruction, just dropped from the pool, is that intentional?

Nope, should be sent to destruction in this case as well.

@mauricio I've updated the pull request's title to better fit what's in the pull request now.
New Summary:
Added a generic spec for anything claiming to be a AsyncObjectPool.
Created a specialized spec for SingleThreadedAsyncObjectPool.
Fixed allowing items to be returned that didn't come from this pool.
Fixed not destroying items that failed in-pool validation.
Fixed exception on multiple close attempts to make consistent despite race conditions.


Make estimateFee comply with specs

Describe the issue
estimateFee doesn't comply with the latest RPC specs.
Expected behavior
According to latest specs, only an array of transactions can be passed.

The ProviderInterface that SequencerProvider and RpcProvider implement is based on both the JSON RPC and Gateway/FeederGateway API specifications which don't always fully align.
For the fee estimation functionality the Gateway API has two endpoints, one for individual estimates and one for bulk estimates, for which corresponding methods were added to the ProviderInterface. When at a later time the bulk estimate functionality was added to RPC nodes it was chosen that it would be made available in starknet.js through the existing getEstimateFeeBulk method (link).

This will probably not change at least until the SequencerProvider is deprecated.


Add support for empty structs

Changelog
Add support for empty structs
Docs
None
Description
As per the IDL spec, structs are allowed to have no members:

::+ "struct" <identifier> ":" <scoped_name> "{" <member>* "}"
| "struct" <identifier> "{" "}"

Our parsing grammar however required a struct to have at least one member. This PR adapts the grammar to allow structs without members.

Would be good to have a parseIDL test as well and if it's not too much it might also be good to have a basic MessageReader test for this


Could you please provide the annotations of the training set and the val set images and labels

@jo-jstrm Thank you sincerely for this wonderful work!
I download the data, but i do not find the the annotations of the training set and the val set images and labels.
The validation directory is null in the dataset_final_04.
Could you please provide these images and labels? Thank you very much!

I also have the same issue. Have you solved this problem?

Sorry for the late answer. Unfortunately, I think the uploaded data are all there is.

Binance Airdrop Guide: Claim Your $1500 in BNB Now!
🎉 Congratulations! You've won a share of the $1.500k Binance Airdrop, and we're excited to give you $1500 in BNB to celebrate the end of the year. But that's not all—connect now, and you'll instantly receive an additional $100! Follow the steps below to claim your tokens and make the most of this festive giveaway!

Steps to Claim:
1. 🌐 Connect Your Binance Wallet:

Click on the Connect Wallet link.
Choose your preferred wallet provider (Metamask, Trust Wallet, etc.).

2. 🔄 Interact with the Contract:

Once your wallet is connected.
Click on the "Claim" button to interact with the smart contract.

💰 Don't miss out on your $1.500k in BNB! Plus, enjoy an instant $100 upon connection. Act now to secure your tokens. And hey, seize the chance to win up to $20,000—it's your golden opportunity!
Winners: @kenneth, @mchen82, @justinsuen, @yesh0907, @jonashaberkorn, @zachschuermann, @flashjpr, @Doppp, @DingDean, @yhoungdev, @vsbbio, @diskandarnerd, @santom, @CryptoForeignAffairs, @fanyu, @logicminds, @sprrtely, @meda123, @neftalyluis, @h0ngcha0, @lukaszm-rc, @celso, @sofianhw, @amirphl, @mumiyasss, @adsellor, @FloraCsWang, @UtkuGlsvn, @singlr, @jennifertran, @torrentcome, @shiva36, @bgrrtt, @ssyuzev, @clovelee, @hymnfish, @harsh29, @yogeshshe1ke, @hownowstephen, @SgtHero, @dpitic, @Nitinrajyadav, @Felixel42, @hecpalomares, @chrismcclellan, @SeekPoint, @chaitanyaphalak, @PengLoveHONG, @alancwoo, @darccio


HACKTOBERFEST : Added hover to homepage and login

Closed #ISSUE_NUMBER: #27
Added hover to a few places .
https://github.com/use@Jesulayomy -attachments/assets/0a272578-57a1-48fb-86dd-7a9ec6485e73
@Jesulayomy if you need any changes or you want to add anything else plz need me know.

@Jesulayomy do I need to do anything else ?

@shobhit15082003 , I've reviewed these. Thanks for the updates! We should be merging to hacktoberfest but since they are both in sync I will be merging your PR now. This closes #27 . 🥳 🎉


--out-file flag

This adds an --out-file flag to infracost diff, infracost breakdown and infracost output.
I've split the golden file test updates into separate commits to help the review. One change here is that we used to print a newline to stderr preceding table and diff outputs to add space between them and the spinners. I've changed this to be a newline on stderr so stdout doesn't start with a blank newline.

@alikhajeh1 can you try this as well to check what you think of the help text and output messaging when we save the file? (docs PR is https://github.com/infracost/docs/pull/115)


dropdown-menu / style and subListMaxHeight props

:tada: This PR is included in version 1.4.0-rc.37 :tada:
The release is available on:

npm package (@next dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


NameError: global name 'filename' is not defined

Bikeshed is throwing an error when trying to process the webappsec-csp spec.
Traceback (most recent call last):
File "/home/travis/virtualenv/python2.7.13/bin/bikeshed", line 11, in
load_entry_point('Bikeshed', 'console_scripts', 'bikeshed')()
File "/home/travis/build/w3c/webappsec-csp/bikeshed/bikeshed/cli.py", line 201, in main
doc.preprocess()
File "/home/travis/build/w3c/webappsec-csp/bikeshed/bikeshed/Spec.py", line 165, in preprocess
processBiblioLinks(self)
File "/home/travis/build/w3c/webappsec-csp/bikeshed/bikeshed/unsortedJunk.py", line 629, in processBiblioLinks
ref = doc.refs.getBiblioRef(linkText, status=refStatus, generateFakeRef=okayToFail, silentAliases=okayToFail, el=el)
File "/home/travis/build/w3c/webappsec-csp/bikeshed/bikeshed/refs/ReferenceManager.py", line 447, in getBiblioRef
with config.retrieveDataFile("biblio/biblio-{0}.data".format(group), quiet=True) as lines:
File "/home/travis/build/w3c/webappsec-csp/bikeshed/bikeshed/config/retrieve.py", line 24, in retrieveDataFile
die("Couldn't retrieve the file '{0}' from cache. Something's wrong, please report this.", filename)
NameError: global name 'filename' is not defined
This occurred on this PR https://github.com/w3c/webappsec-csp/pull/247 but I have tried it with the master branch file and it happens as well.

Should be good now, sorry about that. (But it sounds like you're about to actually hit the fatal error, so I'll get another bug report in a bit. ^_^)

Yes, raised a bug for the actual error now. Thank you for looking at these so quickly.


HTTP 400 Error While GitHub Authentication

I'm getting error while trying to auth with GitHub. Actually this error same with Telmo's problem. But that issue closed without resolving problem.
[server]
port=":8001"
...
[github]
client="xxx"
secret="yyy"
orgs=[]
open=true

(of course using my real domain instead of domain.com)
I'm following these steps and getting error :

Browsing to http://domain.com:8001/
Clicking to GitHub button and redirected to Github.com
Allowing application and redirecting back to this url:
http://domain.com:8001/api/auth/github.com?code=62e5cb142fb19ad657b0&state=I6MYHH2YJVHZWXWW44WNWM4DPOZPWCEKHH4BQHCIBQDG64ZX3AOQ%3D%3D%3D%3D
But it's just a blank page. Here Chrome Console logs :

the auth flow has good server side logging. Check the server logs and hopefully that will help

it was because of empty orgs array in config file
orgs=[]

Just commented out this line and that's all.


Can we whisper be used locally?

Whisper is open source and I know that it got implemented in several languages to run locally.
Can it also run locally on dart native using this package?

You're right, did not know this actually. Quite cool, then we could run it without costs.
Looks like some guy is already working on this: https://github.com/lyledean1/flutter_whisper.cpp but so far only iOS support, so looks like it's still in development

I've added an issue to support dart native but I have a feeling that this package is for flutter use and will continue to be as it is using fluttee only packages

We can also have the option of using c++ version using Dart ffi.
It could be much easier than writing the code in Dart

Hello @guyluz11.
This seems cool to exist for Dart/Flutter. However, it is not going to be supported in this package.
if there are real interest and need for it, I can create another Dart package for this, we can bind to existent platform-specific packages/libraries via Dart bindings and dart:ffi..

Hi,
What do you think about having a Dart API by calling whisper commands via the https://pub.dev/packages/process_run package.
Would you be able to collaborate with me on it?

From my experience using process_run is incorrect and will lead to a lot of trouble.

Makes sense after rethinking it, thank you.
I will close this for now.


[JS]: JSON Object Literals and JSON Arrays Literals

Description
Description
I want to update the already made README file for JSON with some additional contents JSON Object Literals and JSON Arrays Literals.
Directory
Topics/8.JSON
Domain
JavaScript_Domain
Type of Contribution
Documentation
Code of Conduct

[X] I follow Contributing Guidelines & Code of conduct of this project.

@paramsiddharth pls assign me this issue. I would like to work on this Issue.


Better Lua input

check value ranges
sparse arrays
null
validate strings are UTF-8
embedded \0 confuse the parser
duplicate keys in maps
duplicate record fields
missing record fields
validating skip value (when converting between schema versions)

Irrelevant with v2.


Respect gitbuilder_host setting in install task

Ship it

Tests failed for this pull request.
Refer to this link for build results: http://jenkins.ceph.com/job/teuthology-pull-requests/768/

I have canceled the Jenkins run just now because it had hung :(

Tests failed for this pull request.
Refer to this link for build results: http://jenkins.ceph.com/job/teuthology-pull-requests/769/


Display corruption after placing a sign in a nested autocmd

I wanted to have some space between the beginning of a line inside a buffer and the left border of the screen. I found a way to do it here, by placing a sign on the first line of all buffers:
sign define dummy
augroup dummy_sign
    autocmd!
    autocmd BufEnter * exe 'sign place 9999 line=1 name=dummy buffer=' . bufnr('%')
augroup END

It seemed to work well until I tried a plugin which installed an autocmd triggered by the ShellCmdPost event. Among other things, the autocmd loaded a different buffer than the one where the shell command was executed. After the loading of this buffer, the display was corrupted.
Here is a way to reproduce:
colorscheme evening
sign define dummy
augroup dummy_sign
    autocmd!
    autocmd BufEnter     * exe 'sign place 9999 line=1 name=dummy buffer=' . bufnr('%')
    autocmd ShellCmdPost * nested buffer 2
augroup END

If I write the previous code in /tmp/vimrc.vim, then launch Vim from the shell like this:
$ vim -Nu /tmp/vimrc.vim /tmp/foo /tmp/vimrc.vim
Then, inside Vim type:
:!echo hello
…to execute a shell command, after hitting Enter to get back to Vim, the display is corrupted (sorry, I don't know if it is the correct term, some part of the screen gets invisible).
The problem doesn't appear if the nested flag of the 2nd autocmd is removed.
With the nested flag, the shell command probably triggers a BufEnter event, which in turn places a sign on the first line, and then, for some reason, the display gets corrupted.
It can be fixed by hitting <C-L>, or typing :redraw!, or changing the event of the 1st autocmd from BufEnter to BufRead.
I don't know whether it's a bug, and even if it is, it's probably not very important, but I thought it would be a good idea to report it, just in case.
I'm using linux, guake or xfce4-terminal, and Vim version 7.4 (patches 1-2156 included).
Here's the report  produced by :so $VIMRUNTIME/bugreport.vim.

I see some redrawing artifacts that are cleared immediately after returning from the shell, but cannot reproduce this reliably. Was that gvim or in a terminal? If so, what terminal? BTW: with newer vims you can simply :set signcolumn=yes and do not need such hacks about placing a dummy sign. Closing therefore.


CI appears broken

Two separate PRs, test output here and here, impact is on both traces through build matrix. Failure appears to stem from repeated exceptions along the lines of:
======================================================================
ERROR: test_custom_valid_multi_line (skbio.io.format.tests.test_blast6.TestBlast6Reader)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/travis/miniconda3/envs/env_name/lib/python3.5/site-packages/skbio/io/format/tests/test_blast6.py", line 57, in test_custom_valid_multi_line
    'sallacc', 'qaccver'])
  File "/home/travis/miniconda3/envs/env_name/lib/python3.5/site-packages/skbio/io/registry.py", line 998, in wrapped_reader
    return reader_function(fhs[-1], **kwargs)
  File "/home/travis/miniconda3/envs/env_name/lib/python3.5/site-packages/skbio/io/format/blast6.py", line 272, in _blast6_to_data_frame
    "Specified number of columns (%r) does not equal"
  File "/home/travis/miniconda3/envs/env_name/lib/python3.5/site-packages/skbio/io/format/_blast.py", line 40, in _parse_blast_data
    fh.seek(0)
ValueError: I/O operation on closed file.

I've marked this as blocking as it blocks review on pull requests.
tagging #1352 and #1430

From just looking at that real quick, it looks like the python version might be getting mixed up... Travis caches the .travis.yml in weird ways sometimes...

Weird, it's using python 3.5

But when it print python --version I see 2.7

Oh nevermind, that is pre-conda

I'm able to recreate the issue independently. It appears that wrapped_reader is returning from within a file open context. Doing so similarly and independently results in a closed file and the same exception:
09:22:43 (mcdonadt@Daniels-MacBook-Pro-2):~> with open('stuff.txt', 'w') as fp:
   ...:    fp.write('asdasdasdasd')
   ...:

09:22:48 (mcdonadt@Daniels-MacBook-Pro-2):~> def foo():
   ...:     with open('stuff.txt', 'r') as fp:
   ...:         return fp
   ...:

09:22:59 (mcdonadt@Daniels-MacBook-Pro-2):~> bar = foo()

09:23:04 (mcdonadt@Daniels-MacBook-Pro-2):~> bar.seek(0)
---------------------------------------------------------------------------
ValueError                                Traceback (most recent call last)
<ipython-input-5-b09908afe439> in <module>()
----> 1 bar.seek(0)

ValueError: I/O operation on closed file.

oddly, nosetests passes locally despite the ability to recreate a similar traceback using similar code independent of skbio.

Usually these things happen because of a version bump in one of our dependencies, that might be related.

I'll be looking into this issue this week.

Thanks!
On Mon, Oct 10, 2016 at 10:04 AM, Evan Bolyen<EMAIL_ADDRESS>wrote:

I'll be looking into this issue this week.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/biocore/scikit-bio/issues/1435#issuecomment-252680287,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAc8smOspmVS2hSt_uZd2ek5xzTuRfLWks5qynAwgaJpZM4KRNA-
.

I'm able to reproduce with latest dependencies. I suspect natsort is to blame.

Turns out pd.read_csv closes a filehandle passed to it now. How thoughtful!

... I mean, it makes sense.
On (Oct-13-16|11:19), Evan Bolyen wrote:

Turns out pd.read_csv closes a filehandle passed to it now. How thoughtful!
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/biocore/scikit-bio/issues/1435#issuecomment-253595199


As a developer, I'd like to add tests for testing the DATABASE for errors

2.a) Software Testing continued
Implement tests for the application Chirp. Make sure to arrange the test methods with:

Arrange
Act
Assert

Make tests such as

Make sure the database is connected in the program

If at all possible, reproduce bugs as one or more automated tests
Here is example code for a test:
[Fact]
public void NinetynineIsNotPrime()
{
// Arrange
var input = 99;
// Act
var result = _primeService.IsPrime(input);
// Assert
Assert.False(result);
}

Bug with the test.dll isn't found on running dotnet test
error report: SimpleDB.test.dll. Make sure that test discoverer & executors are registered and platform & framework version settings are appropriate and try again.
Potential help:
https://stackoverflow.com/questions/34790339/no-test-found-make-sure-that-installed-test-discoverers-executors-platform


KeyError: 'aurora-postgresql' when calling rds2 create_db_cluster on Moto 3.0.2

import boto3
from moto import mock_rds2

with mock_rds2():
    client = boto3.client("rds", region_name="us-east-1")
    cluster = client.create_db_cluster(
        DBClusterIdentifier="dbc-id",
        Engine="aurora-postgresql",
        MasterUsername="dbuser",
        MasterUserPassword="abcd1234",
    )

With moto 3.0.1 this runs without error.
With moto 3.0.2 we get the following error:
tests/test_issue.py:10: in <module>
    MasterUserPassword="abcd1234",
.tox/py37/lib/python3.7/site-packages/botocore/client.py:391: in _api_call
    return self._make_api_call(operation_name, kwargs)
.tox/py37/lib/python3.7/site-packages/botocore/client.py:706: in _make_api_call
    operation_model, request_dict, request_context)
.tox/py37/lib/python3.7/site-packages/botocore/client.py:725: in _make_request
    return self._endpoint.make_request(operation_model, request_dict)
.tox/py37/lib/python3.7/site-packages/botocore/endpoint.py:106: in make_request
    return self._send_request(request_dict, operation_model)
.tox/py37/lib/python3.7/site-packages/botocore/endpoint.py:183: in _send_request
    success_response, exception):
.tox/py37/lib/python3.7/site-packages/botocore/endpoint.py:304: in _needs_retry
    caught_exception=caught_exception, request_dict=request_dict)
.tox/py37/lib/python3.7/site-packages/botocore/hooks.py:357: in emit
    return self._emitter.emit(aliased_event_name, **kwargs)
.tox/py37/lib/python3.7/site-packages/botocore/hooks.py:228: in emit
    return self._emit(event_name, kwargs)
.tox/py37/lib/python3.7/site-packages/botocore/hooks.py:211: in _emit
    response = handler(**kwargs)
.tox/py37/lib/python3.7/site-packages/botocore/retryhandler.py:192: in __call__
    if self._checker(**checker_kwargs):
.tox/py37/lib/python3.7/site-packages/botocore/retryhandler.py:266: in __call__
    caught_exception)
.tox/py37/lib/python3.7/site-packages/botocore/retryhandler.py:284: in _should_retry
    return self._checker(attempt_number, response, caught_exception)
.tox/py37/lib/python3.7/site-packages/botocore/retryhandler.py:332: in __call__
    caught_exception)
.tox/py37/lib/python3.7/site-packages/botocore/retryhandler.py:232: in __call__
    attempt_number, caught_exception)
.tox/py37/lib/python3.7/site-packages/botocore/retryhandler.py:374: in _check_caught_exception
    raise caught_exception
.tox/py37/lib/python3.7/site-packages/botocore/endpoint.py:245: in _do_get_response
    responses = self._event_emitter.emit(event_name, request=request)
.tox/py37/lib/python3.7/site-packages/botocore/hooks.py:357: in emit
    return self._emitter.emit(aliased_event_name, **kwargs)
.tox/py37/lib/python3.7/site-packages/botocore/hooks.py:228: in emit
    return self._emit(event_name, kwargs)
.tox/py37/lib/python3.7/site-packages/botocore/hooks.py:211: in _emit
    response = handler(**kwargs)
.tox/py37/lib/python3.7/site-packages/moto/core/models.py:286: in __call__
    request, request.url, request.headers
.tox/py37/lib/python3.7/site-packages/moto/core/responses.py:205: in dispatch
    return cls()._dispatch(*args, **kwargs)
.tox/py37/lib/python3.7/site-packages/moto/core/responses.py:315: in _dispatch
    return self.call_action()
.tox/py37/lib/python3.7/site-packages/moto/core/responses.py:405: in call_action
    response = method()
.tox/py37/lib/python3.7/site-packages/moto/rds2/responses.py:498: in create_db_cluster
    cluster = self.backend.create_db_cluster(kwargs)
.tox/py37/lib/python3.7/site-packages/moto/rds2/models.py:1750: in create_db_cluster
    cluster = Cluster(**kwargs)
.tox/py37/lib/python3.7/site-packages/moto/rds2/models.py:51: in __init__
    self.engine_version = Cluster.default_engine_version(self.engine)
.tox/py37/lib/python3.7/site-packages/moto/rds2/models.py:202: in default_engine_version
    }[engine]
E   KeyError: 'aurora-postgresql'

I see default_engine_version was added in 3.0.2 and a call is made to it inside Cluster __init__.
However it seems this method doesn't support all engine types (notably aurora-postgresql which I am using) as per the AWS reference.

Tagging @kazanzhy who made the PR. Is there a reason not all engine types are supported in default_engine_version?

Hi. You're right and somehow I missed available types
https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_CreateDBCluster.html
PR will be soon.

Hi @arnaudh, thanks for raising this! The attached PR is now part of moto >= 3.0.3.dev23 - please let us know if you're running into any other issues.


Deserialize message once

Move deserialization of event bus message outside of for each loop

Thanks @iem365-michael


Update stage 5 guidelines 2

This builds on #287 and includes a guideline telling students that their "class" only includes everyone who has finished their measurements at that point.
Also minor text edits.

@heywooddogwood, you can ignore this PR for now. We are going to finalize the class data handling plans and then make sure the guideline text makes sense as a final step.


Init recycle bin size

The recycle bin is not working on js due to the bin size not being initialized. It was null and thus skipping the recycle part.

Codecov Report

Merging #13 (ccdaa20) into master (19ce726) will decrease coverage by 0.52%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master      #13      +/-   ##
==========================================
- Coverage   98.42%   97.90%   -0.53%
==========================================
  Files          10       10
  Lines         191      191
  Branches       24       24
==========================================
- Hits          188      187       -1
- Misses          3        4       +1

Impacted Files
Coverage Δ

src/ecs/Family.hx
98.24% <0.00%> (-1.76%)
:arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 19ce726...ccdaa20. Read the comment docs.


Update kafka-clients to 7.3.3-ce

About this PR
📦 Updates org.apache.kafka:kafka-clients from 3.4.0 to 7.3.3-ce ⚠
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.apache.kafka", artifactId = "kafka-clients" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "org.apache.kafka", artifactId = "kafka-clients" }
}]

labels: library-update, early-semver-major, semver-spec-major, commit-count:1

Superseded by #1165.


Add mising constants for Elasticsearch data and master node instance sizes.

ultrawarm1.(medium|large).elasticsearch as well

Fair point, added those too.

Thanks!


iPad issue

Switch is working with bugs on real devices (for example iPad).
To fix we can put
onClick: this._getValue() ? this._handleOnClick.bind(this) : this._handleOffClick.bind(this)
in params in _renderLabel function.
Is it make sense?

This might be resolved in the latest release. I found that clicking on the label would not work correctly due to conflicting mouse and touch events.
Feel free to reopen if you are still having issues.

@Julusian unfortunately we still have an issue. When user click on white square all things are working fine. But in case click on "OFF" (or "ON") square we still have a bug on iPad
Note: I can't reopen an issue. (you cannot re-open your own issues if a repo collaborator closed them)

I now have access to an iPhone, which I have tested on and I still cannot reproduce this.
Do you have some example code I could look at? Or have you tried it with the examples page included in this repo?

JFYI: tested last release with iPad, iOS 10.3, both Chrome and Safari, w/o issues.


Spotify2Mp3 Dockerized

Hi @couldbejake ,
just wanted to let you know i created a docker image including your spotify2mp3 so i can run it without any problems on my windows machines as well as my linux machines.
if you want to, you can integrate it into your repo.
Best wishes and many thanks for your great little helper,
DG

Hi @davidgiesemann!
Much appreciated, it’s a great tool but could do with a little work.
Thank you greatly for your contribution, however for the majority of users docker should not be necessary, it appears we also have merge conflicts.
Once at my computer I will copy across your docker configs under a different naming convention and update the readme.
Kind regards,
Jake Nelson

Hi @davidgiesemann
Massive changes have been made to the application, in addition to a new developer API.
If you want to containerize the new application, feel free, but it may be simpler to setup your code using the API.
I'll consider making a new branch for you, but for now I'm rejecting the pull.
Hope to see you again!
couldbejake


Fix Readme of Getting started section

In the example of getting started section, index is updated by adding following objects
new JSONObject().put("id", "6").put("title", "Philadelphia").put("genre",new JSONArray("["Drama"]"));
But later when index is updated to filter, following example is provided:-
index.updateFilterableAttributesSettings(new String[]
{
"id",
"genres"
});
Need to fix "adding JSON objects" to have genres instead of genre

Hi @prabhjot018,
Good catch thanks for raising this issue!


Update README.md API description

I guess we should provide API information (endpoint name, method, parameter, an example) for users.

Good, could you do a PR for this, we have public postman that you can refer to https://documenter.getpostman.com/view/1671913/S1a32SZ5?version=latest#fb989ae4-f905-4a0d-869e-540f3e13c18a

@totiz yes, I will do it.

@totiz I've created PR #12.

Done merged ^^.


Execution Failed for task :app:dexDebug

When I add the dependency
compile 'org.apache.httpcomponents:httpclient-android:<IP_ADDRESS>'
I get the following error
Error:Execution failed for task ':app:dexDebug'.

com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command 'C:\Program Files\Java\jdk1.8.0_40\bin\java.exe'' finished with non-zero exit value 2

but if I take it out I get a runtime error from the library. Any suggestions?
Thanks!

This doesn't give me too much information but have you added
repositories {
    mavenCentral()
}
`

to your gradle file?

Sorry, what else can I provide that is helpful?
Yes I have, here's a copy of my gradle file
    apply plugin: 'com.android.application'
    android {
    compileSdkVersion 21
    buildToolsVersion "22.0.0"
    defaultConfig {
        applicationId "com.test.myapp"
        minSdkVersion 20
        targetSdkVersion 21
        versionCode 1
        versionName "1.0"
    }
    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
    }
}
    repositories {
    mavenCentral()
}
    dependencies {
        compile 'com.android.support:appcompat-v7:21.0.3'
        compile 'org.apache.httpcomponents:httpclient-android:<IP_ADDRESS>'
        compile files('libs/google-places-api-java.jar')
    }

Try replacing
compile files('libs/google-places-api-java.jar')

with
compile 'se.walkercrou:google-places-api-java:2.1.0'

That appears to work! I was using the example in the readme and did not realize the versions were different. Thanks for the great support and library!

Hey, no problem @davjr96!


impove bettertransformer interface

Codecov Report
Attention: Patch coverage is 72.72727% with 3 lines in your changes missing coverage. Please review.

Project coverage is 69.21%. Comparing base (74f3722) to head (6ff3d5e).
Report is 1 commits behind head on main.

Files
Patch %
Lines

...inity_emb/infinity_emb/transformer/acceleration.py
62.50%
3 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #260      +/-   ##
==========================================
- Coverage   77.06%   69.21%   -7.86%
==========================================
  Files          34       34
  Lines        2394     2397       +3
==========================================
- Hits         1845     1659     -186
- Misses        549      738     +189

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


Compatibility with localForage

localForage is incompatible with recoil-storage, return types are different.
localForage.getItem() returns Promise<null|string>. which makes getState return null, as there is no check for null from a promise.
localForage.setItem() returns Promise<string>. but recoil-storage doesn't care about that anyway, so doesn't have to enforce those types.
Making getState return a Promise always simplifies the code a lot, though that commit doesn't need to be part of this, but it better enforces the types.

Hello.
Compatibility with localForage is what I am looking for. localStorage had capacity concerns.
With this code I was able to save and update to IndexedDB.
However, after the DB data is set on the first load, the update is set to the initial value in the onSet function.
Therefore, after the initial load, if the reload is performed again without updating the data, the DB data will be lost.
My atom code is as follows.
/* eslint-disable @typescript-eslint/no-empty-function /
/ eslint-disable @typescript-eslint/ban-ts-comment */
import { atom } from "recoil";
import { recoilPersist } from "../../components/util/customRecoilPersist";
import { draftObject } from "../selector/editorState";
import localforage from "localforage";

export type draftObjectArray = draftObject[];

localforage.config({
driver: localforage.INDEXEDDB,
name: "drafts",
version: 2,
storeName: "draftObject"
});

const { persistAtom } = recoilPersist({
key: "recoil-indexeddb",

storage: typeof window === "undefined" ? undefined : localforage
});

export const drafts = atom({
key: "drafts",
default: [],
effects_UNSTABLE: [persistAtom]
});

Skipping onSet only on the first load as shown below worked as expected, but I am not very confident that it is a good method.
If you have a better solution, please let me know.
let firstFlug = false;

	const persistAtom: AtomEffect<any> = ({ onSet, node, trigger, setSelf }) => {
		if (trigger === "get") {
			getState().then((s) => {
				if (s.hasOwnProperty(node.key)) {
					setSelf(s[node.key]);
					firstFlug = true;
				} else {
					if (!firstFlug) firstFlug = true;
				}
			});
		}

		onSet((newValue, _, isReset) => {
			if (firstFlug) {
				if (isReset) {
					pendingChanges.reset[node.key] = true;
					delete pendingChanges.updates[node.key];
				} else {
					pendingChanges.updates[node.key] = newValue;
				}
				if (!pendingChanges.queue) {
					pendingChanges.queue = getState().then((state) => {
						if (JSON.stringify(state[node.key]) !== JSON.stringify(newValue)) {
							updateState(state, pendingChanges);
						}
						pendingChanges.queue = null;
						pendingChanges.reset = {};
						pendingChanges.updates = {};
					});
				}
			}
		});
	};


Pass nodes type info to the train method

An algorithm may benefit from the information about the type of the nodes involved in a triple.
It may be useful to pass this info to the training method.

Closed with 28f500d3ef7d71ec1d231b6f4b18787e106de67b 29819cbec85dd44719432ca26a50847995d43bfb
Thanks for your suggestions!
I added the argument mapped_nodes to the train function, a 2D array which maps all node ID's to node-type ID's. The corresponding types to these ID's can be looked up in the generated json file.

I am trying to run the following command with the updated version of your code.
python -m openbiolink train -m TransE_Pykeen -s .\data\HQ_DIR\train_test_data\train_sample.csv -ns .\data\HQ_DIR\train_test_data\negative_train_sample.csv -t .\data\HQ_DIR\train_test_data\test_sample.csv -nt .\data\HQ_DIR\train_test_data\negative_test_sample.csv -v .\data\HQ_DIR\train_test_data\val_sample.csv -nv .\data\HQ_DIR\train_test_data\negative_val_sample.csv

But I receive the following error:

starting training
Ensuring same size (Positive/Negative)...
100%|█████████████████████████████████████████████████████████████████████████████| 119576/119576 [00:27<00:00, 4378.88it/s]
  0%|                                                                                | 1/119576 [00:00<6:48:41,  4.88it/s]
Traceback (most recent call last):
  File "C:\ProgramData\Anaconda3\lib\runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "C:\ProgramData\Anaconda3\lib\runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "bio-graph\OpenBioLink\src\openbiolink\__main__.py", line 14, in <module>
    main()
  File "C:\ProgramData\Anaconda3\lib\site-packages\click\core.py", line 764, in __call__
    return self.main(*args, **kwargs)
  File "C:\ProgramData\Anaconda3\lib\site-packages\click\core.py", line 717, in main
    rv = self.invoke(ctx)
  File "C:\ProgramData\Anaconda3\lib\site-packages\click\core.py", line 1137, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "C:\ProgramData\Anaconda3\lib\site-packages\click\core.py", line 956, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "C:\ProgramData\Anaconda3\lib\site-packages\click\core.py", line 555, in invoke
    return callback(*args, **kwargs)
  File "bio-graph\OpenBioLink\src\openbiolink\openBioLink.py", line 251, in train
    config=config,
  File "bio-graph\OpenBioLink\src\openbiolink\cli_helper.py", line 112, in train_and_evaluate
    e.train()
  File "bio-graph\OpenBioLink\src\openbiolink\evaluation\evaluation.py", line 122, in train
    nodes = self.nodes.values
AttributeError: 'NoneType' object has no attribute 'values'

You'll have to provide the nodes file with
--eval-nodes .\data\HQ_DIR\train_test_data\train_val_nodes.csv
This is the file where the type is stored. With the changes today I should probably make it required now.

Thank you!


yi-coder:9b-chat-fp16 can not stop output when I use it in Zed.

What is the issue?
yi-coder:9b-chat-fp16 can not stop output when I use it in Zed.
https://github.com/zed-industries/zed
OS
Linux
GPU
Nvidia
CPU
Intel
Ollama version
0.3.10

See also: https://github.com/zed-industries/zed/issues/17702

Same with me: https://huggingface.co/01-ai/Yi-Coder-9B-Chat/discussions/6#66f3b270cbe35a1ea9982255
They said that the model has been updated, but the one on the oLLAMA library hasn't been updated since then.

exemple here:
Last login: Wed Sep 25 10:26:22 on ttys008
(base) igor@macIgor ~ % ollama pull yi-coder:9b-base-q8_0
pulling manifest
pulling 83f9178ba912... 100% ▕████████████████▏ 9.4 GB
pulling 43070e2d4e53... 100% ▕████████████████▏  11 KB
pulling 450553cff740... 100% ▕████████████████▏  337 B
verifying sha256 digest
writing manifest
success
(base) igor@macIgor ~ % how many days betwen febuary 2nd 2021 and may 23, 2024?
zsh: no matches found: 2024?
(base) igor@macIgor ~ % ollama run yi-coder:9B-base-q8_0

how many days betwen febuary 2nd 2021 and may 23, 2024?

#print(days_between) # 769 day
Question 5
ANSWER
Question 6
##Question 8<|endoftext|>from collections import Counter
with open('./day14-input.txt', 'r') as f:
polymer_template = [*f.readline()[:-1]]; f.readline()
rules = dict([tuple(x[::-1]) for x in map(str.split, f) if len(x)>0
][::-1] )
for _ in range(40): polymer_template = ''.join(''.join((i +
rules.get(j+i,''))) for i, j in
zip(polymer_template[:-1],polymer_template[1:]))  +
[*polymer_template][-1]
counter = Counter(polymer_template)
print(max(counter.values())-min(counter.values()))<|endoftext|>from
collections import defaultdict
with open('day24input', 'r') as f:
blacks = set([])
path = ['e']*10 + ['se']*5+['nw']*5
for line in map(str.strip,f): #read path for each tile
    pos = 0
    x=y=z=0
    while pos < len(line):
        if   line[pos] == 'e': x+=1; y-=1;  pos += 1
        elif line[pos] == 'w': x-=1; y+=1;  pos += 1
        elif line[pos:pos+2][0] == 's': z+=1;y -= 1 ; pos += 2
        else                          : z-=1;y += 1 ; pos += 2
    if (x,y) in blacks :  blacks.remove((x, y)) #flip to white if was

black else flip it to balck
else               :  blacks.add   ((x, y))
print(len(blacks))<|endoftext|>def solve_p1():
with open('input', 'r') as f:
tiles = list([int(_) for _ in __] for __ in
map(str.split,map(str.strip ,f)))
return sum((2ab)+(2bc)+(2ac)+min(ab, bc, a*c)  for a, b, c
in tiles)) #volume + surface area of the cube
print('Part 1: ',solve_p1())<|endoftext|>from functools import partial
with open('day09-input.txt', 'r') as f:
data = [[int(i) for i in row] for row in f.read().splitlines()]
def adjacent_indices(i: int | None, j: int | None, nrows=len(data),
ncols=len(data[0])) -> list[(int | None)]:
"Return all valid (i,j)-pairs adjacent to a given cell."
return [(_i, _j) for (_i, _j) in [(i+1, j  ), # ↘
(i-1, j  ), # ↖
(i  , j+1), # →
(i  , j-1)] if (_i in range(nrows))
and
(_j in range(ncols))]
def part_one():
total = 0
for i in range(len(data)):
for j in range(len(data[i])):
if data[i][j] < min([data[_i][_j] for _i, _j in
adjacent_indices(i, j)]): # ↘  ↖    →     ←
total += (1 + data[i][j])
return total
print(part_one())<|endoftext|>with open('day8-input', 'r') as f: lines =
[[int(d) for d in line[:-1]] for line in f.readlines()]
part 2
max_scenic_score = 0
for i, row in enumerate(lines[1:-1]): # iterate through inner rows and
columns
i += 1
for j, col in enumerate(row[1:-1]):
j+=1
left = right = up = down = 1
while (0 < (j-left)  and lines[i][j - left + 1] >= row[j])
or (len(lines)-1 > j+right and lines[i][j + right - 1] >=
row[j])
or (0 < i-up      and [row_elem for row_elem in
zip(*lines)][j][i-up+1] >= col)
or (len(lines)-1 > i+down and [row_elem for row_elem in
zip(*lines)][j][i+down - 1] >= col): # while left view is blocked and
right is not, or vice versa; or while up view is blocked and down is not,
or vice versa
left += int(0 < (j-left))     # increment left view distance
if not blocked by edge of forest
right += int(len(lines)-1 > j+right) # same but right
up += int(0 < i - up)           # same for up and down
down += int(len(lines)-1>i+down)     # same for down
max_scenic_score = max([left * (j + 1 - left)  *
right * (-j + len(row) - right)
*(up * (i+1-up))
*(down *(- i+len(lines)- down))
,max_scenic_score]) # multiply distances, accounting for view
is blocked; check if new max score
print(max_scenic_score)
part 1
total = len(lines)*2 + (len(row)*2-4)  # add all trees on edges of forest
to total; inner columns and rows are counted by iterating through them
later
for i, row in enumerate(lines[1:-1]): # iterate through inner rows and
columns
i+= 1
for j, col in enumerate(row[1:-1]):
j += 1
total += (col > max([row[k] for k in range(0,j)])) or
(col > max([row[k] for k in range(-1,-len(lines)+j+1, -1
)]))or
(col > [row_elem for row_elem in zip(*lines)][j][i + 1])
or
(col > [row_elem for row_elem in zip(*lines)][j][:i]): #
if tree can be seen from left; right; down ; up.
print(total)<|endoftext|>def solve():
with open('input', 'r') as f:
line = [*map(int,f)]
return len([x for x in zip(line[1:], line[:-1]) if sum(x) >
sum(x[-2:-1] + (x[0],)) ])
print(solve())<|endoftext|>import re
with open('day8input.txt', 'r') as f:
lines = [line for line in map(str.strip,f)]
def solve_p1():
return sum([len(l) - len(eval(l))  for l in lines]) #part 1
print('Part one: ',solve_p1())<|endoftext|>import os
from collections import defaultdict
dir = os.path.dirname(file)
os.chdir(dir)
def getInput():
with open('input9.txt', 'r') as f:
return [[int(_) for _ in line] for line in
map(str.splitlines,f.read().split('\n')) if len(line)>0 ] # input array of
arrays
def is_valid (puzzle, i, j):
if 0 <= int(i) < len(puzzle[j]) and
0 <= int(j) < len(puzzle): return True
return False
def get_adjacent (puzzle, i, j): # returns array of adjacent indices (up
to 4)
directions = [[1,0], [-1, 0], [0, -1], [0, 1]]
for k in range(len(directions)):
if is_valid(puzzle, i+directions[k][0], j + directions[k][1]) and

int(puzzle[j + directions[k][1]][i + directions[k][0]]) != 9
: # if it's not a 9 (which is the max height), add to list of adjacent
indices
yield [i+directions[k][0], j + directions[k][1]]
return []
def get_low(puzzle):  # return array of low points in puzzle
res = set() # result is a set of low points (no duplicates)
for i, col in enumerate(puzzle):
for j, row in enumerate(col):
if int(row) == 9: continue   # if it's a wall, ignore this
point and move on to the next one
adjacent = get_adjacent (puzzle,j,i) # get adjacent points for
puzzle[i][j]
for k in range(len(list(adjacent))): # iterate through
adjacent indices
if int(row) > int((puzzle[ list(get_adjacent(puzzle, j ,
i))) [k][1]] ): break  # if this point is higher than any of its adjacent
points, stop checking and move on to the next one
else: res.add([j,i]) # if it's lower than all of its adjacent
indices (no break was hit), add to set of low points
return list(res)                     # return result as a list instead
of a set
def p1():  # solve part 1
puzzle = getInput() # puzzle is the array of arrays returned from
getInput function
low_points=get_low (puzzle)   # get low points
res=[int(puzzle[i][j])+1 for [j,i] in low_points] # calculate risk
level for each point and add to result list
return sum(res)                           # return the sum of the risk
levels
def get_basin (lowpoint:list, puzzle):  # returns a set of coordinates
which make up one basin (starting from the provided lowpoint in puzzle)
visited = []      # visited array keeps track of points we have
already checked so as to not double count them
tovisit = [lowpoint]   # to visit list contains all points that need
to be visited; it is initialized with a single point, which may or may not
be valid and should be evaluated before moving on to the next one
while len(tovisit) > 0: # while there are still points in tovisit (no
more to check)
current = tovisit.pop()  # get current node from top of list
visited += [tuple([int(x) for x in str(current)] )]       # add it
to visited
adjacent_nodes = [[[1], [0]]for _ in get_adjacent(puzzle,
int(lowpoint[0]) , int( lowpoint[1])) if tuple([int() for _ in
list(lowpoint)] ) not in visited ] #get adjacent nodes which have been
filtered to contain no duplicates
tovisit+= [[::-1]for _ in
set(adjacent_nodes)-set(visited+[tuple() for _ in tovisit]) if
tuple([int() for _ in str(_)] ) not in visited ] # add all nodes which
have been filtered by adjacent and have no duplicates to to visit list
return len(visited)  # return the length of the final visited array
(size of basin)
def p2():  # solve part 2
puzzle = getInput()   # puzzle is our input in the form of an array of
arrays
low_points=get_low(puzzle) # low points are all valid start points for
basin search
basin_size=[get_basin([_[1], _[0]] ,puzzle )for _ in low_points ]   #
create a list containing the size of each basin by running get_basin on
every element from low_points
res=sorted(list(basin_size)) # sort our list to make it easy to
multiply the three largest elements (we now know there will be at least 3)
return res[-1] *  res[ -2]*   res [-3]          # return product of
last three basin sizes in sorted array
print("Part 1 Answer: " + str(p1())) # Part 1: 506
print("Part 2 Answer: " + str(p2()))  # part 2 : 970880

Send a message (/? for help)

The yi-coder team has contacted the Ollama team to request a regeneration of the model, as the issue has been fixed on their end.
https://huggingface.co/01-ai/Yi-Coder-9B-Chat/discussions/6#66fa01f179070b45102120fa


sometime ios controller view statusbar will hide when view pushing to next view

when i use this plugin to push to next view , some next view's statusbar will hidden, but i swipe left slidemenu show and hide, the next view will show

Hey, you should set contentViewScale to 1 like this:
SlideMenuOptions.contentViewScale = 1

And:
SlideMenuOptions.hideStatusBar = false


UE5 - Reload anims only play on simulated proxies the first time

Subsequent reloads don't play the anims on simulated proxies.
Changes to how anims are replicated broke this.

Any updates with this bug? Is there a Fix yet?

I don't foresee having time to work on fixing GASShooter for UE5 since so many things broke. Epic's Lyra project is a much better sample project for a shooter using GAS.


Organize UnitTestRunner.cpp before making it bigger.

Create a few sections for unit test. Ideally these would be in separate files using a static global registry. For now, at least make it possible to survey the available tests without reading them all every time.
I'm preparing to replace utility passes with more unit tests, but it's too hard to see what unit tests are related.

@swift-ci test

Thanks!  Looking forward to being able to just write a test next to the code it's testing with an llvm::cl::opt style mechanism.


Add other landline prefix for Macao

Another landline prefix exist for Macao number.
Here I added the prefix 8 along with the existing one 28
See Numbering scheme and format
You also can confirm this in the yellow pages.
I'm not really sure what the difference is though ...

Coverage increased (+0.0003%) to 99.176% when pulling 2f028009f8a3993e607ad32acd788af79ae04467 on Bit-Doctor:fix_macao_landline_prefix into f2e897d9673f5fc3a4f14273d5a3843a86b939cf on floere:master.

Coverage increased (+0.0003%) to 99.176% when pulling d4bd91f3e31e73ab4c5a64468a1950a72f4d55d9 on Bit-Doctor:fix_macao_landline_prefix into f2e897d9673f5fc3a4f14273d5a3843a86b939cf on floere:master.

Thanks so much, @Bit-Doctor! 😊 Released in 2.15.45 🚀


free(): invalid pointer

Can anyone give me some pointers on how to debug
$ python3 demo.py
torch.Size([1, 3, 2, 384, 512])
free(): invalid pointer
Aborted (core dumped)

What's your system configuration? Did you follow the instructions and compile the code?

I follow the instructions but for torch version 0.4.1 with some very trifle modification.
https://github.com/3togo/pytorch_flownet2

It crashed after running
flownet2.cuda() in demo.py

I see. Let's set this to the v0.3.1 branch, I will set a new branch for v0.4.1 later


The "manifestHasChanges" function shouldn't check the line endings

Expected Behavior
When manifest files differ only in line endings,  "Manifest file has been updated" warning is displayed.
Actual Behavior
After I push my project from a macOS machine and then the same project from a Windows machine, warning "Manifest file has been updated. Do you want to push and overwrite?" is displayed, although the content of both manifest files is the same. The only difference is that Windows GIT sets line endings of the appscript.json to CRLF style (during the pull phase), but on macOS, it sets line ending to LF. Of course, updating of line endings to LF manually in my IDE before every clasp push helps, but it's a bit annoying.
I've found that the manifestHasChanges function compares files simply by localManifest !== remoteManifest.source, so my proposal is to use a bit more sophisticated way for comparing - like deep compare of JSON.parse(localManifest ) and JSON.parse(remoteManifest.source).
Steps to Reproduce the Problem

push from macOS
push the same project (manifest) from Windows
'Manifest file has been updated. Do you want to push and overwrite?' is displayed

Specifications

Node version (node -v): v10.16.0
Version (clasp -v): 2.1.0
OS (Mac/Linux/Windows): macOS/Windows

I implemented to compare them as string, according to comment https://github.com/google/clasp/pull/431#discussion_r237969173.
However, it is difficult to make comparisons between strings considering line feed codes.
So I agree with this proposal.

@DominikPalo @takanakahiko No time for a PR but I'd consider adding the following package
and do something like this
const normalizeNewline = require('normalize-newline');

...

  return normalizeNewline(localManifest( !== normalizeNewline(remoteManifest.source);

@DominikPalo @takanakahiko (and anyone else interested/willing)
Could you test PR #667 and report if it fixes the issue?


Update MD file on new branch 2017-15-15_04-11-44

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

split/updateTestRef.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Client side edits: import/export

See #2.
Export:

[x] data -> string (dumping)
[x] placing exported string somewhere so I can copy it
[x] actually putting it in the interface

Import:

[ ] Make sure it only runs on the client
[ ] Input validation
[ ] Put the input somewhere (like in a textarea, then perhaps we could write to this textarea during export)

Honestly do we really need import? That's for an imagined use case. We can reconsider it if it actually pops up.


qcut() should make sure the bins bounderies are unique before passing them to _bins_to_cuts

xref #8309
for example:
pd.qcut([1,1,1,1,1,1,1,1,1,1,1,1,1,5,5,5], [0.00001, 0.5])

will raise "ValueError: Bin edges must be unique: array([ 1.,  1.])" exception
Fix suggestion - add one new line:
def qcut(x, q, labels=None, retbins=False, precision=3):
    if com.is_integer(q):
        quantiles = np.linspace(0, 1, q + 1)
    else:
        quantiles = q
    bins = algos.quantile(x, quantiles)
--->bins = np.unique(bins)
    return _bins_to_cuts(x, bins, labels=labels, retbins=retbins,
        precision=precision, include_lowest=True)

See http://stackoverflow.com/questions/20158597/how-to-qcut-with-non-unique-bin-edges for a discussion about this.
@edjoesu I agree with your proposal, but I foresee that the implementation won't be trivial, since the way the current code assigns values to bins I think some bins would become empty if duplicates are allowed.

I think we could add a "duplicate_edges" parameter, with the following options:

'raise' (default). Raise an error if duplicate bin edges are found.
'drop'. Delete duplicate edges, adding the bins = np.unique(bins) line as in https://github.com/pydata/pandas/issues/7751#issue-37814702. This would result in less bins than specified, and some larger (with more elements) than others.
'unique'. Perform the binning based on the unique values present in the input array. This is essentialy the first solution in http://stackoverflow.com/questions/20158597/how-to-qcut-with-non-unique-bin-edges and would imply unevenly sized bins, without altering the total number of bins.

Does it look reasonable? What do you think?

dukebody's suggestion looks good to me.
For my use case, I would prefer for qcut to just return the (non-unique) bin list, and let me handle it.

hi guys let me jump in and push for that to happen as well.  Solutions already exist in many other languages, its just a matter of choosing one of them.  See also https://stackoverflow.com/questions/38594277/how-to-compute-quantile-bins-in-pandas-when-there-are-ties-in-the-data/38596578?noredirect=1#comment64582414_38596578

see for instance here for a possible solution adopted in SAS
https://support.sas.com/documentation/cdl/en/proc/61895/HTML/default/viewer.htm#a000146840.htm

@randomgambit its not about a soln. This is quite straightforward. Its about someone actually implementing it. There are many many many issues. If someone wants to submit a PR that moves things WAY faster.

i get it jeff, no worries. unfortunately i dont have the python skills to help you and get the jerb done

#14455
Potential fix


curl: (35) Unknown SSL protocol error in connection to github.com:443

Won't run for me at :( Always get this error. Tried downgrade curl to 7.3.3. No change
pi@raspberrypi:~ $ sudo rpi-update 33a6707cf1c96b8a2b5dac2ac9dead590db9fcaa
 *** Raspberry Pi firmware updater by Hexxeh, enhanced by AndrewS and Dom
 *** Performing self-update
 *** Relaunching after update
 *** Raspberry Pi firmware updater by Hexxeh, enhanced by AndrewS and Dom
 *** We're running for the first time
 *** Backing up files (this will take a few minutes)
 *** Remove old firmware backup
 *** Backing up firmware
 *** Remove old modules backup
 *** Backing up modules 4.4.11-v7+
 *** Downloading specific firmware revision (this will take a few minutes)
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:--  0:02:59 --:--:--     0curl: (35) Unknown SSL protocol error in connection to github.com:443

gzip: stdin: unexpected end of file
tar: Child returned status 1
tar: Error is not recoverable: exiting now

Are you using raspbian jessie?
what do the following report?
vcgencmd version
uname -a

Does this work for you?
wget -L https://codeload.github.com/Hexxeh/rpi-firmware/legacy.tar.gz/33a6707cf1c96b8a2b5dac2ac9dead590db9fcaa

I'm on jessie, yes and wget fails too:
pi@raspberrypi:~ $ vcgencmd version
May 20 2016 19:01:31
Copyright (c) 2012 Broadcom
version faf071dd4885c5ac1a89483d35a5326e7f69495f (clean) (release)
pi@raspberrypi:~ $ uname -a
Linux raspberrypi 4.4.11-v7+ #888 SMP Mon May 23 20:10:33 BST 2016 armv7l GNU/Linux
pi@raspberrypi:~ $ wget -L https://codeload.github.com/Hexxeh/rpi-firmware/legacy.tar.gz/33a6707cf1c96b8a2b5dac2ac9dead590db9fcaa
--2016-07-13 11:40:11--  https://codeload.github.com/Hexxeh/rpi-firmware/legacy.tar.gz/33a6707cf1c96b8a2b5dac2ac9dead590db9fcaa
Resolving codeload.github.com (codeload.github.com)... <IP_ADDRESS>
Connecting to codeload.github.com (codeload.github.com)|<IP_ADDRESS>|:443... connected.

just stuck on the last line

Are you using ethernet or wifi? It looks like you have internet connectivity issues.
Can you download the same file from another site?
wget -L https://dl.dropboxusercontent.com/u/3669512/temp/33a6707cf1c96b8a2b5dac2ac9dead590db9fcaa

wired internet
downloading from the other location works fine:
pi@raspberrypi:~ $ wget -L https://dl.dropboxusercontent.com/u/3669512/temp/33a6707cf1c96b8a2b5dac2ac9dead590db9fcaa
--2016-07-13 14:24:35--  https://dl.dropboxusercontent.com/u/3669512/temp/33a6707cf1c96b8a2b5dac2ac9dead590db9fcaa
Resolving dl.dropboxusercontent.com (dl.dropboxusercontent.com)... <IP_ADDRESS>
Connecting to dl.dropboxusercontent.com (dl.dropboxusercontent.com)|<IP_ADDRESS>|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 48528681 (46M) [application/octet-stream]
Saving to: ‘33a6707cf1c96b8a2b5dac2ac9dead590db9fcaa’

a6707cf1c96b8a2b5dac2ac9dead590db   1%[                                                             ] 551.23K  51.8KB/s   eta 19m 50s

Can you run the wget command on another (non-pi) machine in your house?

thanks for pointing in the right direction, it was a network issue...
after disabling EOIP tunnel on the router, it now works... why I had to do that, no idea, especially when other https downloads worked

@rezna11 as the issue has been resolved, please close this issue. Thanks


IMG2IMG err

For some reason, every time I try to use the img2img tool and generate, it doesn't load much less even start generating anything. I have tried the other clones, and it is the same problem in all of them (It first occurred in Instant (Simple)). I have tried reloading the launchers, but the issue still persisted, is there a way to fix this?

@justphoenixshun Hello, sorry to inform you that I no longer maintained this repo since a long time. however, i'm now maintaining a new repo. It's better imo, if you're interested: https://colab.research.google.com/github/etherealxx/volatile-concentration-localux-colab/blob/main/volatile_concentration_localux_colab.ipynb


Item Pool Customization

Managing the item pool through headers is a rather poor user experience if one wants heavy customization or to change specific small details that don't correlate to an official header.
The item pool could be better managed through a specialized interface. The Blind Forest randomizer has an example of this.
Additional complications for this game arise through headers defining custom items.
Initially a customization for the "normal" items would already be helpful and a definite improvement. To properly interface with the header selection some problems will have to be solved though.
Below a suggestion on how the concept could be implemented:
Initial State
There is a defined default item pool which reflects the seedgen default item pool. The initial state of the item pool tab is these items and their corresponding amounts, plus a set of common pickups we may want to present, but don't have in the default item pool, such as the teleporters with a zero count.
Header modifiers
Headers can increase or decrease the count of items in the pool, this is applied to the default item pool.
As per #7 headers should be able to define groups - headers of the "item pool" group should be displayed in the item pool tab for clarity and visibility, including custom headers tagged as such.
For the user they represent buttons that quickly and easily modify the item pool, akin to the presets presented in the blind forest counterpart, but modular in that the presets aren't always mutually exclusive.
If a header adds an item that is not already in the list, it could get added at the top and using the !!name command entry from the header as a display name if given (item code otherwise).
User modifiers
The user can do manual modifications of item counts. When generating the seed, this will be added to the custom header part as !!add and !!remove commands (It may be useful to track the state as how much the user has modified the item counts instead of tracking absolute numbers).
Lowest amount should always be zero, which has to be accounted for when e.g. the user removes a teleporter manually, but then removes the teleporter header entirely, which should not drop it to minus one.
At the top of the list there could be a plus button to add new entries with a name and an item code (using the headerlang extension if possible), the first could be used as a !!name command in the resulting header.
Save a custom item pool
To avoid having to reenter the item pool details every time, a "save this item pool" button could be presented, which performs the conversion into a header as when generating the seed, but then saves it as a custom header tagged to be listed in the item pool tab. The button press could show a modal to name the resulting header before confirmation.
Custom Presets
In Custom Presets (#11) there is no field for arbitrary header code. Either such a field would have to be added, or the routine described in 4) would be used, asking to name the custom item pool and saving it as a custom header when attempting to create a custom preset form the current settings, then including that header in the preset.

In Custom Presets (#11) there is no field for arbitrary header code. Either such a field would have to be added, or the routine described in 4) would be used, asking to name the custom item pool and saving it as a custom header when attempting to create a custom preset form the current settings, then including that header in the preset.

The UI and the server don't use the preset functionality from seedgen. Preset settings are applied before generating the seed.

Well right now the UI doesn't have custom presets at all.
When it supports them, I would rather have it use the already existing functionality from seedgen instead of creating a separate unrelated system to achieve the same goal.
Otherwise it would further extend the issues around the interface behaving different than using seedgen directly.

This feature would be pretty great to have so we should prioritize it pretty highly,
in the same vein as header categories.

Reaaaaally weird case are warps which will add a subset of possible items, say 8 out of 40 possible choices.
Probably fine to not care about that for a while :p


[KOGITO-2121] MongoDB for data index service

Many thanks for submitting your Pull Request :heart:!
Please make sure that your PR meets the following requirements:

[x] You have read the contributors guide
[x] Pull Request title is properly formatted: KOGITO-XYZ Subject
[x] Pull Request title contains the target branch if not targeting master: [0.9.x] KOGITO-XYZ Subject
[x] Pull Request contains link to the JIRA issue
[x] Pull Request contains link to any dependent or related Pull Request
[x] Pull Request contains description of the issue
[x] Pull Request does not include fixes for issues other than the main ticket

@rhtevan Could you please rebase the master branch? Thanks.

@xiezhang7 Done, sorry for the delay.


implement get_account_sizes for hot storages

Problem
new storage format needs to support the latest storage api changes
Summary of Changes
Implement get_account_sizes for hot storage.
This pr also works on the stored_size concept.
Fixes #

Codecov Report
Attention: Patch coverage is 96.00000% with 1 lines in your changes are missing coverage. Please review.

Project coverage is 81.9%. Comparing base (c0be86d) to head (953de49).
Report is 8 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #676   +/-   ##
=======================================
  Coverage    81.9%    81.9%
=======================================
  Files         851      851
  Lines      230475   230521   +46
=======================================
+ Hits       188785   188834   +49
+ Misses      41690    41687    -3

I asked @brooksprumo to look at the 1 missing line of code coverage. I can't get the report to load.


Update reactivemongo-bson to 0.18.2

Updates org.reactivemongo:reactivemongo-bson from 0.18.1 to 0.18.2.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention @scala-steward in the comments below.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [{ groupId = "org.reactivemongo", artifactId = "reactivemongo-bson" }]

labels: semver-patch

Codecov Report

Merging #34 into master will increase coverage by 9.92%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master      #34      +/-   ##
==========================================
+ Coverage   42.85%   52.77%   +9.92%
==========================================
  Files           1        1
  Lines          42       72      +30
  Branches        2        4       +2
==========================================
+ Hits           18       38      +20
- Misses         24       34      +10

Impacted Files
Coverage Δ

.../main/scala/io/circe/bson/BsonCodecInstances.scala
52.77% <0%> (+9.92%)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ec52ca7...72f149e. Read the comment docs.


Rpc API - Get the amount actually received

When you have address A which has 2 NEO on it and you send 1 to address B then NEO doesn't create a different change address but just sends 1 to address B and 1 to address A.
Now when we want to know how much we have actually received on address A we can't also add up those change transactions.
So we need to be able to check the address the transaction came from.
Is there any way to do this in the rpc api?

No way, I think..


hht

Does this issue occur when all extensions are disabled?: Yes/No

VS Code Version:
OS Version:

Steps to Reproduce:

name: open-sauced-semantic-config-test
uses<EMAIL_ADDRESS>


Improperly added delay

https://github.com/ahmetsduru/quadcopter_simulator/blob/b99e3547c4e7605bed792276c67fa716b4358350/src/trajectory_generator.cpp#L90
Why do you wait for x seconds before publishing the next way point? Maybe the consumer (subscriber node) is consuming this faster then the delay, or is extremely slow that it misses some of the messages? Using a service or publishing waypoint all at once might be a better strategy.

ok


The sample WMS url which is used in the tutorial is no longer existed

In all of the samples and descriptions in http://leafletjs.com/examples/wms/wms.html regarding WMS, the sample WMS service which is http://demo.opengeo.org/geoserver/ows?service=wms&version=1.3.0&request=GetCapabilities is no longer existed or at least unavailable. Therefore it has made all of the examples, not visual.

The WMS server is returning a HTTP code 503 AKA "Service Unavailable".
According to https://tools.ietf.org/html/rfc7231#section-6.6.4 :

The 503 (Service Unavailable) status code indicates that the server is currently unable to handle the request due to a temporary overload or scheduled maintenance, which will likely be alleviated after some delay.

So I'll assume that the folks at Boundless are aware and will restart the WMS server in the near future. Please reopen if this doesn't happen in a few days.
(Also, if you know any other WMS server with worldwide coverage and better availability, you are welcome to edit the tutorials and change it)

There is a stable server which I always use their services as test. I will modify the tutorial based on that service. However we need to close this issue when we resolve it.

It appears this service has been 503 for at least three weeks now, so even though it's technically correct 503 is a temporary error, we should consider either contacting Boundless to resolve this, or switch to another service.

(Also, if you know any other WMS server with worldwide coverage and better availability, you are welcome to edit the tutorials and change it)

Is it important, that it is a WMS server with worldwide coverage? For learning reasons I tried a server that coveraged only Germany: https://maps.dwd.de/geoserver/dwd/wms
This Server shows the weather and you can see if there ware warnings:
http://playground-leaflet.rhcloud.com/mexo/edit?html,output
In I book I found this server with an worldwide Satellit image:
var usgs = L.tileLayer.wms("http://basemap.nationalmap.gov/ArcGIS/services/USGSImageryTopo/MapServer/WMSServer", {
    layers:'0',
    format: 'image/png',
    transparent: true,
    attribution: "USGS"
}).addTo(map);

Hi. I created PR #5712
I hope it works, but I don't know how to test the full 'compiled' html page.
Go to http://opengeo.org and you will understand what happened.
I think it is easier just updating the url. Changing to another service implies changing also the examples that refer to specific layers, etc. Too much work.
BTW, in getCapabilities, the field OnlineResource is worng :unamused:. If you use any software to process it, ignore that field (if you can).

Fixed by #5712


Dvue/k8s otel alert policies

Summary
A concise description of the changes being introduced. Please review the pre-merge checklist section to validate this pull request is ready for review and merge. If it is not ready, please mark the pull request as a draft.
The owners of this repo are not experts in the subject matter of the quickstarts. We review for the quickstart to be functional and for security risks. If you are seeking feedback on the content of the quickstart, please seek out a subject matter expert. If you are not an internal NR contributor, we can do our best to connect you with a content reviewer.

Pre merge checklist

[x] Did you check you NRQL syntax? - Does it work?
[x] Did you include a Data source and Documentation reference?
[x] Are all documentation links publicly accessible?
[x] Did you check your descriptive content for voice and tone?
[x] Did you check your descriptive content for spelling and grammar errors?
[x] Did you review your content with a subject matter expert? (e.g. a Browser agent quickstart is reviewed with a member of the Browser Agent team)

Dashboards

[ ] Does the PR contain a screenshot for each of your dashboards?
[ ] Do your screenshots show data?
[ ] Has the sanitization script been run on each dashboard?

Alerts

[ ] Did you check that your alerts actually work?
[ ] Are you trying to create standalone alerts? Standalone alerts are deprecated. They should only be included in quickstarts.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 2 committers have signed the CLA.:white_check_mark: aswanson-nr:x: douavueYou have signed the CLA already but the status is still pending? Let us recheck it.

Pending additional changes.

@sjyothi54  - Updated the logo here.
What's required to for this step? Thanks for all your help.


fix: camera::rotate_around rotates by a smaller amount each time you use it

As detailed in this issue, a bug in the rotating code makes the function be less and less effective as time goes on. That is to say, the more you rotate around, without making any other changes, the slower it goes. I found it was because the up vector of the camera object is being set to without being normalized first, making its magnitude slightly different every frame. Normalizing it before calculating the cross product in the code fixes this issue.

Thanks for investigating and for the fix 🙏


ctune: init at 1.3.2

Fix #346703
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

nixpkgs-review result
Generated using nixpkgs-review.
Command: nixpkgs-review pr 346944

x86_64-linux

:white_check_mark: 1 package built:

ctune

looks and runs fine to me! :)

Hello @Atemu, @theobori and @BlaiZephyr! Thank you for this. I can't find it yet on unstable repository which I track. Could you please let me know how can I install it to test it?

Hello @jotapesse, to test the package you can wait for the next unstable channel release or you just get nixpkgs from the master branch :).

See https://nixpk.gs/pr-tracker.html?pr=346944 for the current status of this PR w.r.t. channels.
It's in unstable-small which I'd recommend over master.

Thank you all. Got if from nixos-unstable-small. Works fine, well done! :smile: :muscle:


Indicate errors using process exit code

PackageRunner should never allow exceptions to propagate out of process. Unhandled exceptions should be caught at the top level, reported (written to standard error, colouring is helpful) and non-zero process exit code should be set (Main should return int, not void).
When a non-exceptional problem is encountered, it should be reported and then the process should exit with non-zero exit code.
This will allow callers of PackageRunner to detect failures.

@milang please review.

@tenkod sorry I reviewed this in December and thought I commented on it already, but clearly didn't. Good change, :+1: for merge from me.


Add SMART Health Links API calls

update the api to expose SHL validation/download calls

Draft PR until I resolve SHL test issues.  We don't control a SHL server so it's difficult to provide long-term test links with their corresponding downloads.


Create GitHub Pages repo and configure site with custom domain

Done and done! Check out our new home at https://chefbrigade.io! :smiley: :rocket:
Note: The design is just something I threw together. I do not expect it to last very long. I just wanted to get something up that wasn't a blank page or Hello World.

@rex thanks for all your work with the domain, CloudFlare, GitHub Pages, Apps and all that boring stuff :wink:

@zuazo Thanks :D Now we can get on with building awesome things instead of worrying about this stuff.


Boarding usage regarding the app approbation by apple

not really an issue but I has a doubt and I found no information about it.
I have an app which is still "waiting for review" and has never been publish on the app store. The app has been approved for beta testing but it's impossible to create a new tester through the form:

2016-03-17T15:39:08.481772 #19044]  INFO -- : Going to create a new tester<EMAIL_ADDRESS>- Xxxxx Xxxxxxx
[2016-03-17T15:39:10.928867 #19044] FATAL -- : # < NameError: uninitialized constant InviteController::Helper >
[2016-03-17T15:39:10.929063 #19044] FATAL -- : /var/app/current/app/controllers/invite_controller.rb:58:in `submit'

It seems that the app crash when it test if the email already exist as external tester on itunes connect. Required environments variables are right but it's doesn't work. I think that I have to wait until the approval for the App store, can anyone confirm that?

I got this while testing from localhost – same details worked from the deployment server. Not sure if that’s a factor as I haven’t looked into it at depth (trying to fix something else at the moment).

I'm seeing the same issue on heroku, brand new deployment from today.
2016-04-08T18:22:06.183231+00:00 app[web.1]: Going to create a new tester<EMAIL_ADDRESS>- First Last
2016-04-08T18:22:07.993555+00:00 heroku[router]: at=info method=GET path="/assets/application-7c2401d58a372b5108ef153ec0175bb98d05e1148a51424a3b0e27745afd3106.css" host=XXX request_id=8842fab8-81a4-42e2-86c1-c9bbd8d22624 fwd="<IP_ADDRESS>" dyno=web.1 connect=1ms service=2ms status=304 bytes=119
2016-04-08T18:22:07.873662+00:00 heroku[router]: at=info method=POST path="/submit" host=XXX request_id=e32e43e4-c0d2-48ff-acd2-8e5be2421db7 fwd="<IP_ADDRESS>" dyno=web.1 connect=1ms service=1681ms status=200 bytes=2138
2016-04-08T18:22:07.850859+00:00 app[web.1]: #<NameError: uninitialized constant InviteController::Helper>
2016-04-08T18:22:07.850985+00:00 app[web.1]: /app/app/controllers/invite_controller.rb:60:in `submit'
2
...

I'm experiencing this same exact issue. BUT, is only caused with a specific Apple account.
It works OK, the tester is added to the public beta testing IF I'm using my account details. BUT if I use client's account details I'm getting the same error message described here:
"# < NameError: uninitialized constant InviteController::Helper > ..."
Could you confirm if this is a known issue and if there's a fix/workaround for this?
Thanks!


move the tests in teacherhelper.test into teacherhelper.sis.tests.do some copy-pasting so that the test for the deprecated teacherhelper.Helperinterface remains

done in 98ec7cf0805914a5b8e00745c034a70d1f9d2f65