Added a theme

Hello revans,
I created a simple theme called tilde, and have added it.
So, I submitted it, and wanted to share it with others ! :)

Examples:
~ → (Normal) master ✓  ~/bash-it → (When using version control)

@notpratheek thanks for providing a PR!
if you want to follow up- please remove the vim.aliases.bash diff, and provide some documentation (or screenshot) with this theme


Unable to get Summon Fiend to Work

Set it up similarly to the other Summon spells but "Summon Fiend" seems to add concentration but not prompt for selection of Devil, Demon or Yugoloth.
Couldn't find any relevant errors in the console and it still occurs when only enabling required modules.

Looks like I actually forgot to include the spell in the compendium.  You likely just have the DDB importer version.  I'll be fixed next update.

Ah ok checks out, yeah noticed it wasn't in the spells compendium. Thanks!

Try the version I just released.


CI debugging feature

Is your feature request related to a problem? Please describe.
Actions are ofthen matter to fail on a server
Describe the solution you'd like
Allow to debug it before pushing changes
Additional context
Consider running actions locally on development machine

Just trying to reduce GitHub hosting costs

Some chooses:

act to run GitHub Actions locally
actions like mxschmitt/action-tmate for real-time GitHub Actions debugging

This is outside of the scope of this project. i agree, it'd be awesome.


Fix a bug due to the unreleased lock before function returns

Fix a bug due to the unreleased lock before the function returns by inserting unlock statement before breaking.
Signed-off-by: Anson Lo<EMAIL_ADDRESS>

Pulled, thanks.


Fix obsolete csrf extension name and configuration.

See https://github.com/quarkusio/quarkus/wiki/Migration-Guide-3.9

@FroMage In the context of changes you added in https://github.com/quarkiverse/quarkus-renarde/commit/0aa25f77f7643c220ce7578a1b64e6cc2ac39ff8 ignoring this PR - was there something wrong with the pull request?

Oh damn. Absolutely nothing wrong, sorry, I apologise, I did not notice this PR :(
I'll close it, though, because I think I sent the same commit, but feel free to reopen if I missed a case.
Again sorry, my mistake.


Input field is not reactive updating as expected

Vue version
3.3.0-alpha.12
Link to minimal reproduction
Vue SFC Playground
Steps to reproduce
Works with different maximum numbers:
Default Example Case with max value 100
Type a number into the input field
If the number is starting with a "1" and you type afterwards 2 digits like  "04".
Then the displayed value in the Input field is updated to be the max value 100 which is expected.
If you add a 4th digit like 1000 suddenly the computed getter is not called anymore.
The emitted value by the NumberInput Component is still correct. But the displayed number in the input is wrong.
For all numbers between 100 and 199 it works as expected
If you habe the number 100 and alter the first digit than even 200 it doesn't work properly
If you type 200 into an empty input it works
Using the add and subtract buttons always works
Case max 1000
Behaves similar. Only works as expected for number from 1000 1999
What is expected?
All numbers that are entered above the max value should be "clamped" to the max value and should be also displayed like that in the input field
What is actually happening?
Number which are entered above the max value are getting correct clamped in the "ref" variable. But the input field is not updating correctly.
System Info
System:
    OS: macOS 13.3.1
    CPU: (8) arm64 Apple M1
    Memory: 160.80 MB / 16.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 16.20.0 - /opt/homebrew/opt/node@16/bin/node
    Yarn: 1.22.19 - /opt/homebrew/bin/yarn
    npm: 8.19.4 - /opt/homebrew/opt/node@16/bin/npm
  Browsers:
    Chrome: 112.0.5615.121
    Firefox: 112.0.1
    Safari: 16.4
  npmPackages:
    vue: ^3.2.37 => 3.2.47 // but also in 3.3.0-alpha.12 of the SFC Playground

Any additional comments?
No response

This is kinda expected because after 100 has been set for the first time, for any new input above 100,

the NumberInput emits the same value each time: 100.
So the parent never needs to re-render,
and as result never passes a new modelValuevalue to the child,
so the NumberValue never re-renders and
without a re-render, the inout value is never updated back to 100.

the v-model on the input syncs the input to the local ref. if that ref never changes, Vue sees no need to update the input.
clamping the value in this way does not work with v-model, because it wants to keep the values in sync, but you break that synchronisation.
You would need to use a template ref and manually re-set the input value whenever the clamp function resets a value to the max/min.
  const inputField = ref()

// create clamp function
function clamp(value: number, min: number, max: number): number {
    const newValue = Math.min(Math.max(value, min), max);
    if (newValue !== value) {
      inputField.value.value = newValue
    }
    return newValue
}


Fix warning about version >= 3.41.0 requirement

Current message states that SQLite version needs to be below 3.41.0 for 2nd parameter when in fact it needs to be at or above.

Change messaging to be at or above as that is the requirement set in the parent if statement

Thank you for the great extension. I noticed an issue when setting this up with an older version of SQLite (3.38.x). I received the error but it seemed like it is intended to state above. This was confirmed when I upgraded my SQLite version to 3.41.0 and the extension worked as expected. Thanks again :beers:

Closing in favor of #72


RRD not collecting data after reboot

The DB (/var/db/rrd/(*.rrd|*.sh)) is touched at bootup.  But then never updates with any new data.
Something that may be a small clue is that updaterrd.sh is a couple seconds newer than the DB files (*.rrd).
Seems that would be the other way around.
Four consecutive reboots all with this same result.
REPORTING: SETTINGS:
Reset RRD Data will occasionally get it going.  Though even that sometimes takes numerous attempts.
24.7.1

Sounds like #7753 which has a lot more info, probably best to continue there.

At boot up...
/var/db/rrd/updaterrd.sh
Sun Aug 11 02:07:59 PDT 2024
TP0
counter: 1
While forever loop begins
Sun Aug 11 02:07:59 PDT 2024
TP1
TP2
... bunch of test points ...
TP12
TP13
Sun Aug 11 02:08:02 PDT 2024
counter: 1
This is where it should be doing the 60 second wait for loop.
tail /var/db/rrd/updaterrd.sh
echo "TP13" >> '/vvar/rrdupdatesh.txt'
date >> '/vvar/rrdupdatesh.txt'
echo "counter: $counter" >> '/vvar/rrdupdatesh.txt'
for UNUSED in $(seq 1 60); do sleep 1; done ---- Crashing hanging etc. on this.  The while forever loop never runs again.
echo "TP14" >> '/vvar/rrdupdatesh.txt'
date >> '/vvar/rrdupdatesh.txt'
echo "counter: " >> '/vvar/rrdupdatesh.txt'
done
echo "TP15" >> '/vvar/rrdupdatesh.txt'
date >> '/vvar/rrdupdatesh.txt'

Waiting a minute or so before logging in after reboot seems to improve chances that it will continue running.


feat: Use docker or podman to build and run

This PR improves the Makefile to check which container tool is installed in the enviroment (only docker or podman).
The user will not have to set up anything before to build or to run the image locally, only a container tool is needed to be installed.
HTH

@ashokponkumar Here the PR as you request me related with https://github.com/konveyor/move2kube-ui/pull/98
Ready for your review.

Thanks @rmarting


mass copy sections.

like "Copy Section"
but instead of copying a single section from the number given,
it copies a whole bunch of sections based on the number
like "Copy Sections [  4][<|>]" copies the next 4 sections
and paste sections. that'd be swag

Wouldn't be really useful unless you're making a mod where the same thing is repeated many many times.

Wouldn't be really useful unless you're making a mod where the same thing is repeated many many times.

it would be very useful for making bf mimic the opponent


python312Packages.openai: 1.46.0 -> 1.47.1

Description of changes
Update to latest version. No changes that effect build.
Diff: https://github.com/openai/openai-python/compare/refs/tags/v1.46.0...v1.47.1
Things done

Built on platform(s)

[ ] x86_64-linux
[x] aarch64-linux
[x] x86_64-darwin
[x] 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.


Adding Dockerfile and docker compose files.

To make it work with docker compose, I had to enable custom hostnames and ports
for nats through environment vars. For this, I created a conf.py file in
zambeze to centralize configuration code, such as pulling environment variables.
https://github.com/ORNL/zambeze/issues/55

Ok, I fixed the GitHub action.

@par-hermes format

If the checks are failing because of formatting I would just ignore them, and merge anyway specifically if you have already run the auto formatted.

If the checks are failing because of formatting I would just ignore them, and merge anyway specifically if you have already run the auto formatted.

Please teach me later how to identify formatting build failures and how to fix them. I'm just not used to adding them in CI/CD pipelines, but think it's a good idea to keep them.


Installing on WSL gives advice on using Docker Desktop

If I install the CLI on the WSL2
 => [ 4/12] RUN curl -sL https://raw.githubusercontent.com/IBM-Cloud/ibm-cloud-developer-tools/master/linux-installer/idt-installer   57.5s
 => => # [install_docker] Installing/updating external dependency: docker
 => => # # Executing docker install script, commit: e5543d473431b782227f8908005543bb4389b8de
 => => # WSL DETECTED: We recommend using Docker Desktop for Windows.
 => => # Please get Docker Desktop from https://www.docker.com/products/docker-desktop/
 => => # You may press Ctrl+C now to abort this script.
 => => # + sleep 20

Given -
a) the position of Docker Desktop as a paid offering for another non=IBM provider I think it isn't really appropriate to suggest this.
b) there is really no practical or technical requirement for WSL2 users to be using Docker Desktop - the open source docker engine is perfectly usable on WSL2 and indeed gives a better development experience.

@mbwhite apologies for any confusion, but you are using a method of installing the CLI that is no longer supported. For supported installation techniques, please see https://cloud.ibm.com/docs/cli?topic=cli-getting-started


ComputeManagementClient fails to find VM

I have a VM in my azure subscription that is listed as ResourceType=Microsoft.ClassicCompute/virtualMachines. I can see this resource when calling ResourceManagementClient.ListAll. But, when I pass the ResourceGroupName and VM name to ComputeManagementClient.Get, it fails to find the VM. Is there a way to get the details for this VM without going back to the v1 SDK?

@pjirsa Unfortunately, you will only be able to manage this VM right now using the old (RDFE) compute library.  Routing this to the appropriate folkjs so they see the feedback.

@pjirsa please open a new issue if the problem still exists/repros.


Support Vectorize for Tables - Insert and Read (sort)

Initial design will allow passing a string as the value for a vector column
{
"my_vector" : "I like cheese",
}

If the column is a vector column && it has vectorize defined we can vectorize it.
We also need to support this for sorting, so if the command has
"sort" : {"my_vector" : "i like cheese"},

we should also vectorise that.

@Yuqi-Du  handing over to you for errors and tests and discussed.


Connecting to AWS

I have configured my cracklord to use AWS.
But right now nothing shows after i click the "Amazon Web Services" button.
This is the screen i get..

I've checked my logs for errors (on debug) but nothing either.
Any idea what's wrong ?

I've searched for the public image ami-f13931c1 on aws, but it seems like there is none ?

Seems like i had to have my servers on us-west-2 to be able to connect properly


Server bug | Chunk not loading.

On server (most frequently) some Chunk not loading. Even after F3 + Q.

1.15 or 1.16? are you using the latest version of this mod?

In 1.16, with the lastest version yes. Download in few hours (It was the same things for the 2 lastest version).
I prefer before to thank you for this mod :).
PS : I'm french. Sorry for my English

I cannot reproduce this bug. Show the log (.minecraft/logs/latest.log). What other mods are you using?

latest.log
I also give you an image of the bug.
With the other mod, I have : fabric api :/ (what a surprise), iimmersive portal, worldedit, lithium fabric.

And modmenu too. (I've forgotten).

What did you do before triggering the bug? Did you use teleport commands? Did you teleport between dimensions using execute in run tp command?

I suspect it may be an incompatibility with lithium

it seem that it work without lithium. Will see for a longest time.
Thank you very much. This mod is really great !

Adding mixin.world.player_chunk_tick=false to lithium config can fix this


add address sanitizer support

Description
What is the purpose of the change?
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Fixes # (issue)
Type of change
Please delete options that are not relevant.

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

Brief of your solution
Please describe your solution to solve the issue or feature request.
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

Codecov Report

Merging #34 (39a4753) into main (0c75213) will decrease coverage by 0.10%.
The diff coverage is 66.66%.

:exclamation: Current head 39a4753 differs from pull request most recent head 39eeb23. Consider uploading reports for the commit 39eeb23 to get more accurate results

@@            Coverage Diff             @@
##             main      #34      +/-   ##
==========================================
- Coverage   59.62%   59.51%   -0.11%
==========================================
  Files          14       14
  Lines         743      746       +3
==========================================
+ Hits          443      444       +1
- Misses        246      247       +1
- Partials       54       55       +1

Impacted Files
Coverage Δ

jstest/xchain/logging.go
57.14% <66.66%> (-17.86%)
: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 0c75213...39eeb23. Read the comment docs.


[Bug]: As long as the table authority is limited, the three points behind the database disappear

ODC version
odc431
OB version

What happened?

What did you expect to happen?
There are three points
How can we reproduce it (as minimally and precisely as possible)?

Create a database with only table permissions
view the database

Anything else we need to know?
No response

Fixed In Commit e94b64b0b25abdd13d49f191a01068e9cecab341
------
畅晚
Tue Aug 6 09:55:12 2024 +0800


⚠ Jerry Savelle Ministries International Australia has degraded performance

In a66821b, Jerry Savelle Ministries International Australia (https://jsmiaustralia.org) experienced degraded performance:

HTTP code: 200
Response time: 7868 ms

Resolved: Jerry Savelle Ministries International Australia performance has improved in 486959b after 11 minutes.


Google API Keys not accepted while using gmplot.GoogleMapPlotter.from_geocode

Below code fails, but should work:-
import gmplot
gmap2 = gmplot.GoogleMapPlotter.from_geocode("Jonkoping, Sweden", 13)
gmap2.draw(".\out\map12.html")
Root cause:

from_geocode creates a new instance, and then even when API key passed during instance creation is lost while doing this.
http is no longer allowed by google, so geocode fails in any case.

Fix for this (proper):
gmplot.py:-
from_geocode should have APIKey as a new parameter.
And then cls() should use that parameter as well.
This parameter should then be extended to geocode method, and accordingly the conditioning be done for http or https in geocode.
I have tested a fix for this and works:-
def from_geocode(cls, location_string, zoom=13, pApiKey=''):
lat, lng = cls.geocode(location_string, pApiKey)
return cls(lat, lng, zoom, pApiKey)
def geocode(self, location_string, pApikey=''):
if pApikey == '':
geocode = requests.get(
'http://maps.googleapis.com/maps/api/geocode/json?address="%s"' % location_string)
else:
geocode = requests.get(
'https://maps.googleapis.com/maps/api/geocode/json?address="%s"' % location_string + "&key=" + pApikey)
These two pieces shall solve it.
Regards,
Neeraj Kumar

This is addressed in #111; we'd just need the to maintainer to review them.

Merged #111.
On Sat, Apr 18, 2020, 10:13 AM Faris Lama<EMAIL_ADDRESS>wrote:

This is addressed in #111 https://github.com/vgm64/gmplot/pull/111;
we'd just need the to maintainer to review them.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/vgm64/gmplot/issues/121#issuecomment-615905848, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAM2LU4LYOVGIV7UZOCRW2LRNHNSZANCNFSM4KKQWBLQ
.

Fixed in #111.


Japanese text appears garbled

Possible to add support for non-latin characters? It actually seems that functions besides the text rendering work fine though.

Please list the steps to reproduce the issue. It seems to work in live editor: https://mermaidjs.github.io/mermaid-live-editor/#/edit/Z3JhcGggVEQKQS0tPkJb44GT44KT44Gr44Gh44GvIV0K


Catch hangs when receiving .torrent files, but works with magnets

When I use my ShowRSS feed with the option to disable magnets (which plays nicer with automatically launching a file in Transmission and putting it in the appropriate folder), Catch hangs when refreshing and never completes.
However, when I use magnets it works fine. The only problem is I have to manually select the file location in Transmission. Not a huge problem, but an annoyance nonetheless as it prevents full automation.
The URL that doesn't work is:
http://showrss.info/rss.php?user_id=XXXXXXX&hd=null&proper=null&magnets=false&namespaces=true
The URL that works is:
http://showrss.info/rss.php?user_id=XXXXXXX&hd=null&proper=null&namespaces=true
Please let me know what troubleshooting I can do to help diagnose this problem.

(Just FYI there is a way to setup Transmission to never prompt you when opening magnets. I have it setup that way and it's fully automated.)
I'm assuming Catch is trying to download a .torrent file and the server isn't responding, but to confirm:

Please launch Console.app
Select "all messages" on the left, type "catch" in the filter box, click "clear display" in the toolbar
Reproduce the issue in Catch
Select everything that appeared in Console, copy, and paste here (possibly in a code box)

Thanks!

Here's the console output:
11/1/15 11:03:11.130 PM Catch[35574]: Adding app to login items
11/1/15 11:03:11.132 PM Catch[35574]: Forcing feed check
11/1/15 11:03:11.132 PM Catch[35574]: Scheduler status updated (polling = 1, checking = 1)
11/1/15 11:03:11.133 PM com.giorgiocalderolla.Catch.CatchFeedHelper[35576]: Checking feed
11/1/15 11:03:11.134 PM com.giorgiocalderolla.Catch.CatchFeedHelper[35576]: Downloading feed http://showrss.info/rss.php?user_id=36548&hd=null&proper=null&magnets=false&namespaces=true
11/1/15 11:03:11.455 PM com.giorgiocalderolla.Catch.CatchFeedHelper[35576]: Feed downloaded
11/1/15 11:03:11.455 PM com.giorgiocalderolla.Catch.CatchFeedHelper[35576]: Parsing feed
11/1/15 11:03:11.456 PM com.giorgiocalderolla.Catch.CatchFeedHelper[35576]: Parsed 6 files
11/1/15 11:03:11.456 PM com.giorgiocalderolla.Catch.CatchFeedHelper[35576]: Downloading files (if needed)
11/1/15 11:03:11.456 PM com.giorgiocalderolla.Catch.CatchFeedHelper[35576]: Downloading file to folder American Horror Story
11/1/15 11:03:29.106 PM Catch[35574]: Forcing feed check
11/1/15 11:04:11.457 PM com.giorgiocalderolla.Catch.CatchFeedHelper[35576]: Could not download http://torrage.com/torrent/26E49E9C0C805097A1657CFA30BA136B8B5F07BA.torrent: Error Domain=com.giorgiocalderolla.Catch.CatchFeedHelper Code=-1 "Could not download file" UserInfo={NSLocalizedDescription=Could not download file, NSUnderlyingError=0x7ff331703540 {Error Domain=NSURLErrorDomain Code=-1001 "The request timed out." UserInfo={NSUnderlyingError=0x7ff331413100 {Error Domain=kCFErrorDomainCFNetwork Code=-1001 "The request timed out." UserInfo={NSErrorFailingURLStringKey=http://torrage.com/torrent/26E49E9C0C805097A1657CFA30BA136B8B5F07BA.torrent, NSErrorFailingURLKey=http://torrage.com/torrent/26E49E9C0C805097A1657CFA30BA136B8B5F07BA.torrent, _kCFStreamErrorCodeKey=-2102, _kCFStreamErrorDomainKey=4, NSLocalizedDescription=The request timed out.}}, NSErrorFailingURLStringKey=http://torrage.com/torrent/26E49E9C0C805097A1657CFA30BA136B8B5F07BA.torrent, NSErrorFailingURLKey=http://torrage.com/torrent/26E49E9C0C805097A1657CFA30BA136B8B5F07BA.torrent, _kCFStreamErrorDomainKey=4, _kCFStreamErrorCodeKey=-2102, NSLocalizedDescription=The request timed out.}}}
11/1/15 11:04:11.457 PM com.giorgiocalderolla.Catch.CatchFeedHelper[35576]: Downloading file to folder Fargo
11/1/15 11:05:11.458 PM com.giorgiocalderolla.Catch.CatchFeedHelper[35576]: Could not download http://torrage.com/torrent/E09FBF4AAC8D2EB3E129FB6CE2B49BBD168AB7DE.torrent: Error Domain=com.giorgiocalderolla.Catch.CatchFeedHelper Code=-1 "Could not download file" UserInfo={NSLocalizedDescription=Could not download file, NSUnderlyingError=0x7ff331417d50 {Error Domain=NSURLErrorDomain Code=-1001 "The request timed out." UserInfo={NSUnderlyingError=0x7ff331405dd0 {Error Domain=kCFErrorDomainCFNetwork Code=-1001 "The request timed out." UserInfo={NSErrorFailingURLStringKey=http://torrage.com/torrent/E09FBF4AAC8D2EB3E129FB6CE2B49BBD168AB7DE.torrent, NSErrorFailingURLKey=http://torrage.com/torrent/E09FBF4AAC8D2EB3E129FB6CE2B49BBD168AB7DE.torrent, _kCFStreamErrorCodeKey=-2102, _kCFStreamErrorDomainKey=4, NSLocalizedDescription=The request timed out.}}, NSErrorFailingURLStringKey=http://torrage.com/torrent/E09FBF4AAC8D2EB3E129FB6CE2B49BBD168AB7DE.torrent, NSErrorFailingURLKey=http://torrage.com/torrent/E09FBF4AAC8D2EB3E129FB6CE2B49BBD168AB7DE.torrent, _kCFStreamErrorDomainKey=4, _kCFStreamErrorCodeKey=-2102, NSLocalizedDescription=The request timed out.}}}

There you go, all downloads are timing out. @adrinavarro is torrage broken?

Torrage has been dead for a while already. When in doubt, use reflektor…

Ah ha! thanks!
I didn't know I could select different link mirrors in ShowRSS.

@edcorcoran does that mean the issue is resolved? :)

Yep. Closing now.


USA 3 nested domain

ICON External Parameter Request
Instructions

Give this issue a meaningful title.
Replace PASTE_YOUR_REQUEST_HERE with your request that you copied to clipboard:

{
  "extpar": {
      "igrid_type": 1,
      "iaot_type": 1,
      "ilu_type": 1,
      "ialb_type": 1,
      "isoil_type": 1,
      "itopo_type": 1,
      "lsgsl": false,
      "lfilter_oro": false,
      "lurban": false
  },
  "icontools": {
    "grid_level": 6,
    "grid_root": 3,
    "centre": 1,
    "subcentre": 2,
    "outfile": "USA",
    "domains": [
      {
        "region_type": 3,
        "center_lon": -95,
        "center_lat": 37.00,
        "hwidth_lon": 30.0,
        "hwidth_lat": 30.0
      },
     {
        "region_type": 3,
        "center_lon": -95,
        "center_lat": 37.00,
        "hwidth_lon": 20.0,
        "hwidth_lat": 20.0
      },
     {
        "region_type": 3,
        "center_lon": -95,
        "center_lat": 37.00,
        "hwidth_lon": 10.0,
        "hwidth_lat": 10.0
      }
    ]
  }
}

Click on "Preview" to verify that the JSON format of your request is correctly formatted and displayed within a code block.
Click on "Submit new issue".

Extpar Data Request will now process your data based on the request you provided here. Once the processing is successful, it will post a link in this issue.
The processed data will be available under that link for up to 7 days.
If you encounter any problems, please add the label  to the issue. Make sure you post all relevant information from the logfiles in the issue directly.
Status Labels
Labels reflect the current state of your request:
 - Your request is currently under processing. Please wait for further updates.
 - Your request has been successfully processed. You can download your data using the provided link.
 - Unfortunately, your request could not be processed. Please refer to the log files in the zip file at the download link for more details.
 - Your request was aborted. This might be due to a timeout. Please try again or contact support if the problem persists.

Your data is ready for up to 7 days under this link.


🎈 perf: add EnergyShield for SorcLevelingLightning if available.

in current version there is no EnergyShield for the lightning leveling char, but EnergyShield is crucial for this build, so i made a patch and wish that could help.

added this fix and more to buffing for characters in the trapskin pull request.

added this fix and more to buffing for characters in the trapskin pull request.

good job.


chore(deps): update common-dev-assets digest to f0add48

This PR contains the following updates:

Package
Update
Change

common-dev-assets
digest
a7e01fe -> f0add48

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.

[ ] If you want to rebase/retry this PR, click this checkbox.

This PR has been generated by Renovate Bot.

:tada: This PR is included in version 1.0.2 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Convert 'Results' Akita modules into TypeScript

Converted all C# Akita modules in the 'Results' folder and their related dependencies into TypeScript.

OK


atomic_ref fails with generic flow

Bug summary
The following MRE sets an atomic in a parallel_for by using atomic_ref. This test passes with the omp flow in a CPU and with cuda:sm_75 in an RTX2080Ti, but fails with generic.
To Reproduce
#include<CL/sycl.hpp>
using namespace cl;
int main(){
  sycl::queue q;
  constexpr int N = 100;
  int v = 0;
  sycl::buffer<int> buf(&v, 1);
  q.submit([&](sycl::handler& h) {
     sycl::accessor acc{buf, h, sycl::read_write};
     h.parallel_for<class AtomicExample>(sycl::range<1>{N}, [=](sycl::id<1> i) {
       auto atom = sycl::atomic_ref<int, sycl::memory_order::relaxed,
                        sycl::memory_scope::device>(acc[0]);
       atom.fetch_add(1);
     });
   }).wait_and_throw();
  sycl::host_accessor acc{buf, sycl::read_only};
  assert(acc[0] == N);
return 0;
}

Fails if compiled with HIPSYCL_TARGETS="generic". Does not show any error or crashes, simply yields acc[0] == 0
Expected behavior
Both cuda:sm_75 and generic should result in the same behavior.
Describe your setup

how you have installed hipSYCL, and which version/branch/git commit
Last commit on develop (d461988fe36)
Compiled with:

HIPSYCL_TARGETS="cuda:sm_75,sm_80;generic" CC=clang CXX=clang++ cmake -DCMAKE_INSTALL_PREFIX=$CONDA_PREFIX -DCMAKE_BUILD_TYPE=Release -DWITH_CUDA_BACKEND=ON -DCUDA_DRIVER_LIBRARY=$CONDA_PREFIX/lib/stubs/libcuda.so .. && make -j15 install

Describe the dependencies that hipSYCL sits on top of in your setup:

clang version and how clang was installed
I am using the following conda environment:

channels:
  - conda-forge
  - conda-forge/label/llvm_rc
  - nvidia
dependencies:
  - clang = 16
  - clangdev
  - boost
  - llvm
  - llvmdev
  - cuda
  - gxx = 11
  - gcc
  - cmake

CUDA version (if applicable)
12
How you have compiled your application and which arguments you have passed to syclcc. In particular, which backends and hardware you have compiled for.
I am using cmake, but the relevant line is:

/home/raul/mambaforge/envs/test/lib/cmake/hipSYCL/syclcc-launcher --launcher-cxx-compiler=/home/raul/mambaforge/envs/test/bin/clang++ --launcher-syclcc=/home/raul/mambaforge/envs/test/bin/syclcc-clang  --hipsycl-targets="generic" /home/raul/mambaforge/envs/test/bin/clang++  -fvisibility-inlines-hidden -fmessage-length=0 -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -isystem /home/raul/mambaforge/envs/test/include -O3 -O3 -DNDEBUG -pthread -std=gnu++20 -o CMakeFiles/example_example.dir/example.cpp.o -c /home/raul/test/examples/example.cpp

Great to know, I was going crazy!
Maybe some kind of compiler or runtime warning would be possible here?

Given that this is already WIP in PR #941, it is probably a better investment of time to just finalize atomic support there instead of creating a warning that will be outdated soon.
In general, emitting warnings for undefined functions in the generic SSCP compiler can be difficult because there can be cases where functions can remain undefined (e.g. a specific code path is only relevant for a particular device or backend, or a function will be defined later using backend bitcode libraries etc.)

Sounds good, thanks for the work guys!


Collections without assets_contracts can cause panic

E.g.:
address: 0xE96a1B303A1eb8D04fb973eB2B291B8d591C8F72
[
  {
    "primary_asset_contracts": [],
    "traits": {
      "Max_Bonus": {
        "min": 300,
        "max": 300
      },
      "Bonus_Per_Token": {
        "min": 1,
        "max": 1
      }
    },
    "stats": {
      "seven_day_volume": 0,
      "seven_day_change": -1,
      "total_volume": 0.04,
      "count": 3,
      "num_owners": 1,
      "market_cap": 0,
      "average_price": 0.0133333333333333,
      "items_sold": 3
    },
    "name": "Dissolution",
    "slug": "dissolution",
    "image_url": "https://storage.opensea.io/dissolution-1566503734.png",
    "short_description": null,
    "description": "Experience tactical FPS combat in a cutthroat universe ravaged by an ongoing war of extinction between humanity and AI. Fight for loot backed by blockchain in competitive game modes.",
    "external_url": "https://dissolution.online",
    "chat_url": null,
    "wiki_url": null,
    "large_image_url": "https://storage.opensea.io/dissolution-large-1566503735.png",
    "featured_image_url": null,
    "featured": false,
    "banner_image_url": null,
    "display_data": {
      "card_display_style": "contain",
      "images": [
        "https://storage.opensea.io/0xfaafdc07907ff5120a76b34b731b278c38d6043c/39803530675327460487158288219684256433559304725576879659134376004308812431360-1566015172.jpg"
      ]
    },
    "hidden": false,
    "created_date": "2019-08-22T19:31:10.369032",
    "owned_asset_count": 20
  },
  {
    "primary_asset_contracts": [],
    "traits": {},
    "stats": {
      "seven_day_volume": 0,
      "seven_day_change": 0,
      "total_volume": 0,
      "count": 189,
      "num_owners": 1,
      "market_cap": 0,
      "average_price": 0,
      "items_sold": 0
    },
    "name": "Spirit Clash",
    "slug": "spirit-clash",
    "image_url": "https://storage.opensea.io/spirit-clash-1566593935.png",
    "short_description": null,
    "description": "Spirit Clash is a battle for supremacy. You must clash your way through the three spiritual cores of Mind, Body, and Soul to claim victory. The first player to control two of the cores wins the game, but your opponent won't let you take them easily. Summon Followers that will clash for your Overlord.",
    "external_url": "https://www.spiritclash.com/",
    "chat_url": null,
    "wiki_url": null,
    "large_image_url": "https://storage.opensea.io/spirit-clash-large-1566593936.png",
    "featured_image_url": null,
    "featured": false,
    "banner_image_url": null,
    "display_data": {
      "card_display_style": "contain",
      "images": [
        "https://storage.opensea.io/0xfaafdc07907ff5120a76b34b731b278c38d6043c/10855508365998405762175419380965765283778697859998639593567639428458260463616-1566554754.jpg",
        "https://storage.opensea.io/0xfaafdc07907ff5120a76b34b731b278c38d6043c/10855508365998405787283826322512488339121855552829305257977061206314398515200-1566554718.jpg",
        "https://storage.opensea.io/0xfaafdc07907ff5120a76b34b731b278c38d6043c/10855508365998405774729622851739126811450276706413972425772350317386329489408-1566554718.jpg",
        "https://storage.opensea.io/0xfaafdc07907ff5120a76b34b731b278c38d6043c/10855508365998405730789910704032361464599750743960307513055862206138087899136-1566554179.jpg",
        "https://storage.opensea.io/0xfaafdc07907ff5120a76b34b731b278c38d6043c/10855508365998405737067012439419042228435540167167973929158217650602122412032-1566554165.jpg",
        "https://storage.opensea.io/0xfaafdc07907ff5120a76b34b731b278c38d6043c/10855508365998405749621215910192403756107119013583306761362928539530191437824-1566554112.jpg"
      ]
    },
    "hidden": false,
    "created_date": "2019-08-13T02:23:29.494412",
    "owned_asset_count": 1
  }
]

#330


No styles.css file or docs unclear about global styles

OS?  Windows 7, 8 or 10. Linux (which distribution). Mac OSX (Yosemite? El Capitan?)
Mac OSX El Capitan

Versions. Please run ng --version. If there's nothing outputted, please run
in a Terminal: node --version and paste the result here:
1.0.0-beta.11-webpack.2

Repro steps. Was this an app that wasn't created using the CLI? What change did you
do on your code? etc.
Build a new project with ng new filename --style=scss

The readme talks about a styles.css but there is no styles.css or styles.scss file for global styles created. If I need to create one manually I'm not sure where to do it or how it needs to be wired up to be included in the webpack bundle.

From my understanding static files should go under public folder. When you do ng build it will get copied over to .\dist (I'm using angular-cli@webpack)

I can put a .css file in the public folder and link it in the index.html but I don't believe I can get a global .scss file working that way.

+1

+1

I found this article about including global css with webpack and angular 2.
http://blog.assaf.co/angular-2-webpack-sass-and-viewencapsulation/
However I don't know how to configure webpack with angular cli.
Does anyone know how to do it ?

+1
It's unclear how to use styles.scss for global styles (and potentially importing 3rd party scss) on 1.0.0-beta.11-webpack.2.
I believe the article posted by @iwoogy applies to the previous version of the CLI used with webpack, the @webpack version doesn't seem to allow configuration of the webpack build like that.

@iwoogy Here is how you auto update to webpack https://github.com/angular/angular-cli/blob/master/WEBPACK_UPDATE.md
But you might want to wait until they get to that pull request.

@keithmichelson Thanks for the link.
I actually create my project with :
angular-cli: 1.0.0-beta.11-webpack
node: 6.3.0
os: darwin x64
I never tried the content of this article :
http://blog.assaf.co/angular-2-webpack-sass-and-viewencapsulation/
However if there is a way to configure webpack it would be worth trying.
Since it does not seem to be a clear documentation on how to configure webpack for now, I will use node-sass to compile to the public folder.
The ultimate goal I'd like to achieve would be to have the same features that I have setup for my angular 1 projects about global css embedding  :

compile from sass
fingerprinting
minifying
gzipped (ready for nginx to serve)

The readme is in a bit of a bad place right now: we're adding functionality for webpack but haven't cut a release in a week or so and a lot has changed. The styles.css file is part of the changes that haven't gotten a release yet, but it will be out soon.
Meanwhile you can use the master build as described in https://github.com/angular/angular-cli#development-hints-for-hacking-on-angular-cli, but I understand that's a bit of a hassle so my adivce for global styles is to wait for the next webpack release.

@filipesilva Ahh, okay thanks for clearing this all up. Glad you are aware of it all, does that include global .scss as well?
I can wait a bit, but hopefully not too long :) Thanks for the work on this, it will be really nice to use.

Yeah you can use global css/sass/less/stylus, it should just work.


Update quest-helper to 4.0.2

Small change to add a disable option for fake npcs.

Needs conflict resolution


[occm] Simplify Configuration for Load Balancer

Is this a BUG REPORT or FEATURE REQUEST?:

Uncomment only one, leave it on its own line:
/kind bug

/kind feature
What happened:
It is pretty complicated to understand under which circumstances which configuration is used in the load balancer. IMHO there are very deep and complex ifs in the code.
What you expected to happen:
Best would be, if the creation of the configuration is flatten a lot and it should be clear on the first sight.
How to reproduce it:
Anything else we need to know?:
I know it is quite complicated to fix this for the whole code. Maybe it would simplify the situation, if there is only a single getConfig function to get all configuration options from the different sources. Something like
func (lbaas *LbaasV2) getConfig(annotation, classFieldName, configFieldName, defaultValue string,
	service *corev1.Service, svcConf *serviceConfig) (string, error) {

	// Get config value from service annotation
	if annotation != "" {
		value := getStringFromServiceAnnotation(service, annotation, "")
		if value != "" {
			return value, nil
		}
	}

	// Get config value from config class
	if classFieldName != "" {
		configClassName := getStringFromServiceAnnotation(service, ServiceAnnotationLoadBalancerClass, "")
		if configClassName != "" {
			lbClass := lbaas.opts.LBClasses[svcConf.configClassName]
			if lbClass == nil {
				return "", fmt.Errorf("invalid loadbalancer class %q", svcConf.configClassName)
			}
			value := reflect.ValueOf(*lbClass).FieldByName(classFieldName).String()
			if value != "" {
				return value, nil
			}
		}
	}

	// Get config value from default config
	if configFieldName != "" {
		value := reflect.ValueOf(lbaas.opts).FieldByName(configFieldName).String()
		if value != "" {
			return value, nil
		}
	}

	// return default value
	return defaultValue, nil
}

Then every configuration call could look like this:
subnetID, err:= getConfig(ServiceAnnotationLoadBalancerSubnetID, "SubnetID", "SubnetID", "")
if err != nil {
...
}
memberSubnetID, err:= getConfig(ServiceAnnotationLoadBalancerMemberSubnetID, "MemberSubnetID", "MemberSubnetID", subnetID)
if err != nil {
...
}

I know using reflection here is not the nicest thing, but this way it can generalize the current situation.
I am not sure where the best place for discussing something like this is and therefore I opened this issue. I am eager to hear what you think.
Environment:

openstack-cloud-controller-manager(or other related binary) version: Current master (https://github.com/kubernetes/cloud-provider-openstack/commit/d1196878af7af85bc2aea06c8fa37d27ba4a1f37)
OpenStack version:
Others:

/remove-lifecycle stale
I thought this could be the starting point for a discussion to not only add patch after patch or feature after feature, but to improve the code base.
IMHO those lifecycle robots are really bad for open source projects, because they simply remove valid requests of people spending time to help just to keep the number of open issues low...


is-invalid not work in vue

<select class="selectpicker" v-bind="{'is-invalid': error}">
 error
doesn't work when using vue, because the is-invalid class appears in <select> not in the parent of this plugins

"invalid-feedback" will appear under "is-invalid".

You need to call $('.selectpicker').selectpicker("refresh") after updating the class. See #2164 for tips on using bootstrap-select with Vue.

it's work, but...
first click: is-invalid not appear
second click: is-invalid appear in the class.
so I have to double click then it works.


Compile musl lib,   support for alpine image

Issue #, if available:
fixes  #1205
Description of changes:
Re issue above,  this PR adds compiling action for musl environment.
Demo of the compiled binary - https://github.com/ofirsnb/node-glide-demo
This PR was tested in a sterile environment,   but I need your help testing it under your repo using your workflows.
I expect it to create a new sub-dependency,   called glide-for-redis-linux-musl-arm64,  which will be pushed to the registry,  and of course once done - npm+napi should successfully download and use it under musl env.
Let me know how can I help forward.
Thanks
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

CI is red, please fix

Thank you for your replies, all.

I agree we should support all languages and all architectures.   But I also think we can start with one and expand later.   This PR focuses on Node+aarch64(arm64),   since this is what we need in order to go into production with glide-for-redis,  it's a blocker at the moment.
Most problematic issue in this PR,  is how to detect musl during runtime (thread1 thread2  - both are needed for it to work.)    There is another direction we can do - we can only add the musl compiled binary into the current generated package (i.e glide-for-redis-linux-musl-arm64),  it will work out-of-the-box,   since napi already has this piece of code in the installed package.   I think it would be more elegant, dynamic and simple.   I would love to have a quick meet to talk about the architecture,  if possible.   @barshaul
I don't have much time to work on this on my own at the moment,  perhaps more after Passover.  If we can coordinate the work on this to get it live as fast as possible,  it would be best.

Thanks again have a great week all,  keep safe.

Closing - work in #1379 in progress


Can't generate #[pyproto] impls from a macro

The code generated for this example by the proc_macro causes a compiler error:
macro_rules! py_object_protocol {
    (_inner, Debug) => {
        fn __str__(&self) -> pyo3::prelude::PyResult<String> {
            Ok(format!("{:?}", self))
        }
    };

    ($ty:ty, $( $trait:ident ),*) => {
        #[pyo3::prelude::pyproto]
        impl pyo3::PyObjectProtocol for $ty {
            $(
                py_object_protocol!(_inner, $trait);
            )*
        }
    }
}

#[pyo3::prelude::pyclass]
#[derive(Debug)]
pub struct S {}

/* #[pyproto]
impl PyObjectProtocol for S {
    fn __str__(&self) -> PyResult<String> {
        Ok(format!("{:?}", self))
    }
} */

py_object_protocol!(S, Debug);

Compiler error from the example above:
error[E0053]: method `__str__` has an incompatible type for trait
 --> src/lib.rs:3:9
  |
3 |         fn __str__(&self) -> pyo3::prelude::PyResult<String> {
  |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected associated type, found enum `std::result::Result`
  |
  = note: expected fn pointer `fn(&'p S) -> <S as pyo3::class::basic::PyObjectStrProtocol<'p>>::Result`
             found fn pointer `fn(&S) -> std::result::Result<std::string::String, pyo3::err::PyErr>`
  = note: consider constraining the associated type `<S as pyo3::class::basic::PyObjectStrProtocol<'p>>::Result` to `std::result::Result<std::string::String, pyo3::err::PyErr>` or calling a method that returns `<S as pyo3::class::basic::PyObjectStrProtocol<'p>>::Result`

Note that the equivalent code (commented out in the example) compiles fine.
This is pyo3 0.12.3, but I've seen the same error from previous versions.

I think it relates to expanding a macro inside the impl block, ie when the proc_macro sees tokens that originated from a macro. I can write a py_object_protocol macro provided it doesn't make a macro call inside the impl.

Looks like it's due to the fact that macros aren't eagerly expanded in the input to a proc_macro. This would be addressed by eager macro expansion in rust-lang/rfcs#2320.

Thanks @1tgr for reporting this. I'm not sure if there's anything easy that can be done to resolve this on our side - as you say it might require upstream support.
I might have a play with this sometime to get my head around it further. Won't promise anything though!

Will close as wontfix - we're in the process of merging #[pyproto] into #[pymethods].


Update logging to have name of design in "Elaborating design..."

Type of issue: feature request
Impact: no functional change
Development Phase: request | proposal
What is the current behavior?
Logging outputs a progress message without name of design beeing elaborated.
[info] [0.000] Elaborating design...
What is the expected behavior?
Can we have the name of the design being elaborated, like:
[info] [0.000] Elaborating ThingAMaBob...
This can make tracing through logs a lot more pleasant. For instance, I discovered that chisel-testers2 does elaboration twice for Verilator, which would be a lot more evident if the logging specified which design is being elaborated.

The code relates to this issue as below:
https://github.com/freechipsproject/chisel3/blob/98a6710cc0447d79cbd12271ea450c70e619b6f8/chiselFrontend/src/main/scala/chisel3/internal/Builder.scala#L402-L410
The module you want to build is instantiated after output the info Elaborating design.... In other words, it can't know about any information of the module before it is instantiated.
So if you want to know about the name of design is elaborated, it can add the name to the done information.
[info] [0.000]  Done elaborating ThingAMaBob.

Much, much better, but not ideal. Elaboration can be nested. Ideally we'd want to know both at start and end which module is in equestion.
Nested elaborations can be useful. I use an elaboration and simulation to extract a property I'm using to set up a subsequent elaboration.

Do you mean？

class Foo extends Module {
   val m1 = Moudle(new Bar)
   val m2 = Module(new Car)
}

object Main extends App {
  Driver.execute(args, () => new Foo)
}

And then it prints:
[info] [0.000] Elaborating Foo...
[info] [0.000] Elaborating Bar...
[info] [0.000] Elaborating Car...

Not quite.
From inside elaboration of a module A, I run a chisel-tester2 test that extracts a property of the design of module B. This property can only be determined during simulation. This property (a size of a RAM) is then used to elaborate module A.
I realize this may be somewhat off the beaten path, but it is an example of where elaboration is nested.

I haven't used chisel-tester2,  I don't understand what you exactly want.
As I know,  take val m0 = Module(new Mux2) for example, if you want to get a property of the module Mux2, it must instantiated.
https://github.com/freechipsproject/chisel3/blob/98a6710cc0447d79cbd12271ea450c70e619b6f8/chiselFrontend/src/main/scala/chisel3/Module.scala#L158-L168
You can a print statement after Builder.currentModule = Some(this)  which at the beginning of elaboration.
    Builder.currentModule = Some(this)
    Builder.errors.info(s"$name being created...")
    Builder.whenDepth = 0

The effect of this code as below:
import chisel3._

class Mux4 extends Module {
  ...
  val m0 = Module(new Mux2)
  ...
  val m1 = Module(new Mux2)
  ...
  val m3 = Module(new Mux2)
  ...
}
object Main extends App {
  Driver.execute(args, () => new Mux4)
}

[info] [0.000] Elaborating design...
[info] [0.002] Mux4 being created...
[info] [0.009] Mux2 being created...
[info] [0.017] Mux2_1 being created...
[info] [0.022] Mux2_2 being created...
[info] [0.030] Done elaborating Mux4.

What I want is the module name printed both on the "Elaborating ThingAMaBob" and "Done elaborating ThingAMaBob".
I run into nested elaboration when the property I need for module A can not be determined after elaboration of module B, only after simulation of module B, hence elaboration is nested.

Each time you call Builder.build method, it will print ""Elaborating design...", so maybe you can pass the design name as argument to Builder.build method and print it

I'm not invoking Builder.build(), I'm using chisel-testers2 to run a simulation, but I see what you mean.
Now, this feature request is about Chisel logging this information out of the box without any modification to application or Chisel code.


User is not being redirected to login when SSO token expires.

User is not being redirected to login when SSO token expires.

The client is sending an expired JWT to import endpoints during ingest polling. Temporary fix is in place.

Fix applied.


Revert "Refactoring of various aspects of this directive"

Reverts eee-c/angular-bind-polymer#12
Broke some tests...

Ok I am able to recreate this error on your codebase. I will debug this further. Sorry again for blowing up the build.

I bumped the Angular dependency to 1.3 and the old solution still works -- both the Karma tests and the test page.
FWIW, I start a Python simple http server in the root of the repository python -m SimpleHTTPServer 8000 then access the test page at http://localhost:8000/. You should be able to type a number into the <input> field (in a Polymer) and see the result double below (in the Angular app).

Yeah I am obviously stupid, I am going to have to look at my full project where I am using the modified code and see why it works there.
Thanks again, sorry for the hassle. Yeah open source!
Mark
Sent from my iPhone

On Feb 18, 2015, at 6:55 PM, Chris Strom<EMAIL_ADDRESS>wrote:
I bumped the Angular dependency to 1.3 and the old solution still works -- both the Karma tests and the test page.
FWIW, I start a Python simple http server in the root of the repository python -m SimpleHTTPServer 8000 then access the test page at http://localhost:8000/. You should be able to type a number into the  field (in a Polymer) and see the result double below (in the Angular app).
—
Reply to this email directly or view it on GitHub.

No worries at all! I have gaps in my Angular so I am always eager to pick up new ideas and better approaches. I'll definitely pull in the on-destroy code -- that just makes sense.
I think your version is missing something from 0ff8f57b, which added support for object binding (e.g. my.answer) in Angular. Specifically, inside your observer, this line seems similar to the object binding code from the original:
              angular.forEach(stored, function(key) {

But it is iterating over a string -- the attribute name. If I print it to the console for the test page, stored is "double" and key is "d" on the first loop, "o" on the second loop, "u" on the third and so on. It never finds anything in the angular scope (since it ought to be trying to find double or my.answer), which is (I think) why it's not working.
Dunno if that makes sense or not.
Anyway, I'll prolly pull in the on-destroy and leave it at that for now. If you figure it out, do let me know. Thanks!


Farmer not seeing fbot log

Situation
Add some troubleshooting tips in farmerbot docs as reference for farmers. E.g. the log can't be found.

Complete when #501 is merged.


Port test framework to android studio 3.2.1.  Release image buffer as soon as possible in test framework

Port test framework project to android studio 3.2.1

@jo-elimuai  The original .gitignore  contains *.iml .  But we need run "git rm --cached file.iml" to make .gitignore  work,  So I submit another patch "Remove app.iml from git".


math for all THCuda*Tensor types (WORK IN PROGRESS)

Hey @soumith,
I've done most of the work to get fill() and zero() to work for all tensor types except CudaHalfTensor.
TensorMath.lua needs fixing in order to make them work for the other types. If you can get it to generate code for fill() and zero(), then I can take over again.
There is some hackiness due to CudaHalfTensor / __half at present, but will address soon.
Not all of the math functions have been generalized either.
You should be able to patch this in and update TensorMath.lua and anything else to get fill() and zero() to work for CudaIntTensor etc. though.

got the functions working, have to get methods working, will finish up tomorrow.

@wickedfoo here's the cwrap fixed up: https://github.com/torch/cutorch/tree/cutorch-template-types
It's in https://github.com/torch/cutorch in the branch cutorch-template-types
Commit / diff: https://github.com/torch/cutorch/commit/d5845a13437ecda03340bbc327be61e405246fd8
Tested that existing float stuff works, and the the double operations fill and zero work
th -lcutorch -e "a = torch.CudaDoubleTensor(10):fill(0); print(a)"
th -lcutorch -e "cutorch.test()"

diff updated with @soumith 's changes, and fixed a few other things.
CudaHalfTensor code will theoretically work now for the functions I've converted so far too, on CC 5.3+ and older devices with __half2float/__float2half
Will do a lot of cleanup, and maybe convert a small number of other things

ok diff has been updated, fixed copy functions (conversions to/from different GPU tensor types happens exclusively on the GPU now)
moved all knowledge of HalfTensor/half compilation into THCHalf.h instead of all this CUDA_VERSION/CUDA_ARCH crap
converted a few more functions
I should stop working on this for fear of making this diff too big.

Updated with []/__index/__newindex in Lua land working for all types (including CudaHalfTensor)
removed hostreal since the C API signature should be consistent; it's the Lua thunk responsibility to handle conversion for that type.

and fixed cutorch_copyTensor -> THC_copyTensor

sweet! merged.


Random sampler warmup

Execute model with random sampler once per batch size.

The random sampler warmup is done in HPU graph capturing phase for minimal impact on warmup time. Samplers are executed in lazy mode. Greedy sampler is warmed-up in warmup_all_buckets.


Add mute / unMute functions

Exposes the mute/unMute functions from the youtube player
This makes it possible to play a muted video, with the user having the option to unmute it by using the web ui. This wasn't possible with only setVolume available.
Fixes #445
It seems this functionality was already half-implemented for the chromecast sender, see https://github.com/pierfrancescosoffritti/android-youtube-player/blob/0fe4f016016eeb02398414f996cf5207bd277d1b/chromecast-receiver/js/io/SenderMessagesDispatcher.js#L25-L28

Thanks for the pull request! I will review it over the weekend/next week.

Nice, when do you think you can make a new release?

I'll try to do it this week! worst case I'll do it over the weekend.

Alright thanks

Just uploaded v10.0.5.


Inverting gates does not allow to save circuit in json

Description of the issue
How to reproduce the issue

U = cirq.Circuit()
K = cirq.Circuit()
K.append(cirq.PhasedFSimGate(0, 0, 0, 0,0).on(cirq.GridQubit(0, 0), cirq.GridQubit(0, 1)))

U.append(K)
U.append(cirq.X.on(cirq.GridQubit(0, 0)))
U.append(cirq.inverse(K))

with open('test.json', 'wb') as f:
    f.write(cirq.to_json(U).encode('utf-8'))
    f.close()

U = cirq.read_json(open('test.json', 'rb'))

---> the following code will fail with:
ValueError: Could not resolve type '_InverseCompositeGate' during deserialization

Cirq version
1.2.0

I'm surprised this is the case!
@pavoljuhas Can you please take a look?

It may just be due to history; I think we should go ahead and add it an also consider making _InverseCompositeGate a public gate (maybe rename to Adjoint)


fate-material text not applying app theme

Text inside the fate-material component does not respect the material theme used - most noticeable when using a dark background with light text.
Instead of following the rest of the app with light text, text entered in the text box still uses the default black text. Funnily enough, the placeholder text does respect the theme, however.

closed in v1.10.1


Tensorflow dimension missmatch, Theano working

Hello
First of all, thank you for the awsome keras! It really simplifies things.
I am working on a project with word embeddings. It worked fine, but now i wanted to switch the backend from theano to tensorflow to do some benchmarks and ran in a strange issue.
First a small net example, on theano it runs fine (as it should), but on tensorflow it reproduces the issue:
def word2vec_embedding_layer(embeddings_path):
    weights = np.load(open(embeddings_path, 'rb'))
    return Embedding(input_dim=weights.shape[0], output_dim=weights.shape[1], weights=[weights], trainable=False, input_length=200)

conv_size = 128
dense_size = 64
filter_length = 4

conv = Convolution1D(nb_filter=conv_size,
                     filter_length=filter_length,
                     border_mode='valid',
                     activation='relu',
                     subsample_length=1)
dense = Dense(dense_size)

focus_model = Sequential()

focus_model.add(word2vec_embedding_layer())

focus_model.add(conv)
focus_model.add(GlobalMaxPooling1D())

focus_model.add(dense)
focus_model.add(Activation('relu'))

conv = Convolution1D(nb_filter=conv_size,
                     filter_length=filter_length,
                     border_mode='valid',
                     activation='relu',
                     subsample_length=1)
dense = Dense(dense_size)
context_model = Sequential()

context_model.add(word2vec_embedding_layer())

context_model.add(conv)
context_model.add(GlobalMaxPooling1D())

context_model.add(dense)
context_model.add(Activation('relu'))

model = Sequential()
model.add(Merge([focus_model, context_model], mode='dot', dot_axes=1))
model.add(Reshape((1,)))
model.add(Dense(1, activation='sigmoid'))
model.compile(loss='binary_crossentropy', optimizer='rmsprop', metrics=['accuracy'])

#batch and validation generator both have a batch size of 1024 * 32
#the data consists of two numpy int arrays with length 200, holding the indices
#validation data has as label [0] or [1] for binary classification
self.model.fit_generator(batch_generator, samples_per_epoch=1024*512, nb_epoch=4, validation_data=validation_generator, nb_val_samples=1024 * 128, max_q_size=32, verbose=1)

The exception is thrown after the first gradient update, when the accuracy is calculated.
The stacktrace:
Epoch 1/4
Traceback (most recent call last):
  File "/home/user/anaconda3/lib/python3.5/site-packages/tensorflow/python/client/session.py", line 972, in _do_call
    return fn(*args)
  File "/home/user/anaconda3/lib/python3.5/site-packages/tensorflow/python/client/session.py", line 954, in _run_fn
    status, run_metadata)
  File "/home/user/anaconda3/lib/python3.5/contextlib.py", line 66, in __exit__
    next(self.gen)
  File "/home/user/anaconda3/lib/python3.5/site-packages/tensorflow/python/framework/errors.py", line 463, in raise_exception_on_not_ok_status
    pywrap_tensorflow.TF_GetCode(status))
tensorflow.python.framework.errors.InvalidArgumentError: Incompatible shapes: [32768,1] vs. [1073741824,1]
         [[Node: Equal = Equal[T=DT_FLOAT, _device="/job:localhost/replica:0/task:0/cpu:0"](_recv_dense_3_target_0, Floor)]]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/mnt/output/pa1/python/MSE_PA1_arnd/pa1/test.py", line 906, in train_sentence_representations
    net.train(keras_generator(batch_train), keras_generator(batch_test), num_iter=4, samples_per_epoch=1024*512, samples_for_validation=num_test_data)
  File "/mnt/output/pa1/python/MSE_PA1_arnd/pa1/sentence_representation/net.py", line 77, in train
    verbose=1)
  File "/home/user/anaconda3/lib/python3.5/site-packages/keras/models.py", line 896, in fit_generator
    pickle_safe=pickle_safe)
  File "/home/user/anaconda3/lib/python3.5/site-packages/keras/engine/training.py", line 1451, in fit_generator
    class_weight=class_weight)
  File "/home/user/anaconda3/lib/python3.5/site-packages/keras/engine/training.py", line 1226, in train_on_batch
    outputs = self.train_function(ins)
  File "/home/user/anaconda3/lib/python3.5/site-packages/keras/backend/tensorflow_backend.py", line 1096, in __call__
    updated = session.run(self.outputs + [self.updates_op], feed_dict=feed_dict)
  File "/home/user/anaconda3/lib/python3.5/site-packages/tensorflow/python/client/session.py", line 717, in run
    run_metadata_ptr)
  File "/home/user/anaconda3/lib/python3.5/site-packages/tensorflow/python/client/session.py", line 915, in _run
    feed_dict_string, options, run_metadata)
  File "/home/user/anaconda3/lib/python3.5/site-packages/tensorflow/python/client/session.py", line 965, in _do_run
    target_list, options, run_metadata)
  File "/home/user/anaconda3/lib/python3.5/site-packages/tensorflow/python/client/session.py", line 985, in _do_call
    raise type(e)(node_def, op, message)
tensorflow.python.framework.errors.InvalidArgumentError: Incompatible shapes: [32768,1] vs. [1073741824,1]
         [[Node: Equal = Equal[T=DT_FLOAT, _device="/job:localhost/replica:0/task:0/cpu:0"](_recv_dense_3_target_0, Floor)]]

Caused by op 'Equal', defined at:
  File "<stdin>", line 1, in <module>
  File "/mnt/output/pa1/python/MSE_PA1_arnd/pa1/test.py", line 873, in train_sentence_representations
    net.init_model()
  File "/mnt/output/pa1/python/MSE_PA1_arnd/pa1/sentence_representation/net.py", line 65, in init_model
    model.compile(loss='binary_crossentropy', optimizer='rmsprop', metrics=['accuracy'])
  File "/home/user/anaconda3/lib/python3.5/site-packages/keras/models.py", line 567, in compile
    **kwargs)
  File "/home/user/anaconda3/lib/python3.5/site-packages/keras/engine/training.py", line 648, in compile
    append_metric(i, 'acc', acc_fn(y_true, y_pred))
  File "/home/user/anaconda3/lib/python3.5/site-packages/keras/metrics.py", line 10, in binary_accuracy
    return K.mean(K.equal(y_true, K.round(y_pred)))
  File "/home/user/anaconda3/lib/python3.5/site-packages/keras/backend/tensorflow_backend.py", line 638, in equal
    return tf.equal(x, y)
  File "/home/user/anaconda3/lib/python3.5/site-packages/tensorflow/python/ops/gen_math_ops.py", line 726, in equal
    result = _op_def_lib.apply_op("Equal", x=x, y=y, name=name)
  File "/home/user/anaconda3/lib/python3.5/site-packages/tensorflow/python/framework/op_def_library.py", line 749, in apply_op
    op_def=op_def)
  File "/home/user/anaconda3/lib/python3.5/site-packages/tensorflow/python/framework/ops.py", line 2380, in create_op
    original_op=self._default_original_op, op_def=op_def)
  File "/home/user/anaconda3/lib/python3.5/site-packages/tensorflow/python/framework/ops.py", line 1298, in __init__
    self._traceback = _extract_stack()

InvalidArgumentError (see above for traceback): Incompatible shapes: [32768,1] vs. [1073741824,1]
         [[Node: Equal = Equal[T=DT_FLOAT, _device="/job:localhost/replica:0/task:0/cpu:0"](_recv_dense_3_target_0, Floor)]]

Side note:<PHONE_NUMBER> = 32768 * 32768
I have tested it on both the master branch of keras and the most recent one on pip, they both have the same issue.
Thank you for looking in to this and sorry for the long post.
Please make sure that the boxes below are checked before you submit your issue. Thank you!

[x] Check that you are up-to-date with the master branch of Keras. You can update with:
pip install git+git://github.com/fchollet/keras.git --upgrade --no-deps

[ ] If running on Theano, check that you are up-to-date with the master branch of Theano. You can update with:
pip install git+git://github.com/Theano/Theano.git --upgrade --no-deps

[x] Provide a link to a GitHub Gist of a Python script that can reproduce your issue (or just copy the script here if it is short).

I just stumbled over this documented known issue of merging with dot mode on tensorflow backend:
https://blog.keras.io/keras-now-running-on-tensorflow.html


Test infracost

Closing, as this was just a test if cost estimates would show up properly (they did).


chore: bdd-nh-1586434770 to 0.0.1

chore: Promote bdd-nh-1586434770 to version 0.0.1

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approvers:
If they are not already assigned, you can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


Fix README Badge

Right now we are seeing a failing build because the reference link "doesn't exist". Hopefully this fixes it.

Funny -- mypy just released a new version 27 minutes ago


No PHP 8 Support

Hi. I'm tryin to use phpcd with PHP 8, but these errors occured:
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Root composer.json requires lvht/msgpack-rpc ^0.2.1 -> satisfiable by lvht/msgpack-rpc[v0.2.1].
    - lvht/msgpack-rpc v0.2.1 requires php ^5.3||^7.0 -> your php version (8.0.8) does not satisfy that requirement.
  Problem 2
    - roave/better-reflection[3.0.0, ..., 3.1.1] require php >=7.1.0,<7.3.0 -> your php version (8.0.8) does not satisfy that requirement.
    - roave/better-reflection[3.2.0, ..., 3.3.0] require php >=7.1.0,<7.4.0 -> your php version (8.0.8) does not satisfy that requirement.
    - roave/better-reflection 3.4.0 requires php >=7.2.0,<7.4.0 -> your php version (8.0.8) does not satisfy that requirement.
    - roave/better-reflection 3.5.0 requires php >=7.2.0,<7.5.0 -> your php version (8.0.8) does not satisfy that requirement.
    - Root composer.json requires roave/better-reflection ^3.0 -> satisfiable by roave/better-reflection[3.0.0, ..., 3.5.0].

I'm using PHP 7.4 until I can solve it. Thank you very much :)

Yes, phpcd does not support php 8 yet. It is because the dependence BetterReflection does not support php 8 now.
Please see https://github.com/Roave/BetterReflection/issues/701

Hi @leandroramos would you like to join maintaining phpcd.vim?
I seldom do php programming(now using go) since 2018. It is hard for me to do quick response to issue or new feature.

Hi!
phpcd.vim is a very useful tool. I heavy use it, thank you.
BetterReflection seems to be compatible with php 8 now.
I hope phpcd.vim support php 8 too.

Hi! phpcd.vim is a very useful tool. I heavy use it, thank you.
BetterReflection seems to be compatible with php 8 now. I hope phpcd.vim support php 8 too.

Hi @hirofumi-yaoita , I am following the recently changes of BetterReflection, and willing to make phpcd support php 8.x. However, I have switched to golang, and I do not have too much spare time to do such upgrade.
When I developed phpcd in 2014, I rewrite the core logic of phpcomplete.vim into php code as much as I can. And I wish the PHP developer who are willing to use phpcd could have the ability to understand the php code of phpcd and they can change or improve phpcd by themself.
So I wish you to make your own try to add php 8 supports for phpcd. And I will try my best to offer any help.
Thanks.

When phpcd.vim was developed, the language server protocol is not widely used as now days. And phpcd.vim lacks many critical features offered by language server protocol, for example, find symbol references.
So what is the roadmap for phpcd?
In my opinion, phpcd has no advantage than any php language server. phpcd is just a little better than the orignal phpcomplete.vim. In the early date of phpcd, there is no need to create any index data or file. All information needed for completions or jumps are fetched by the Reflection of PHP. As a result, phpcd is very simple. And elegant as well.
However, during my daily usage, I found it is needed to jump to the implementations of certain interface. And this feature could not be implemented without index. So I added the phpid to index all php classes or interfaces. With this changes, phpcd lost its elegant.
Maybe in the future, phpcd will become a lightweight language server, without any index data. And drop the phpid feature.

@leandroramos @hirofumi-yaoita
It seems easy to support php 8. Please test the php8 branch https://github.com/epii1/phpcd.vim/commits/php8
Thanks.

Hi @epii1
Thank you for your reply.
You are great!

So I wish you to make your own try to add php 8 supports for phpcd.

Indeed, I also believe that this is the spirit of open source.
And in this day, I should consider using the language server protocol.

Please test the php8 branch

OMG!
I will test this branch. and I will feed back.
golang is so good language.
Thank you very much.


Update openstack cli in CI

With os cli update, no need to remove package in metal3 image

Can one of the admins verify this patch?

/test-integration

/test-integration


Increase timeout

I have ~850 addresses in my wallet and sending subscriptions for each
one takes more than 10 seconds. There is probably a better solution...

Increasing the timeout does seem to fix some connection issues for me. I will see if there is better solution but for now we can merge this. LGTM.


NNLC: "Lazy" tight curve fixes and more toggles

Superseded https://github.com/sunnypilot/sunnypilot/pull/264

@twilsonco can you please review?

This all looks good still.


Error with "Setobjectorder"?

What is your question?
Is it normal for the "setObjectOrder" command to add a sprite that doesn't even have "AddLuaSprite" in the lua?

It removes and readds the object at the specified position so yes

Oh, esta bien

thanks for clarifying my question


 This is a bit weird, even though createPropertyStoreOrCallSuperclassSetter() is using the lazy var's backing storage, just like synthesizeTrivialSetterBodyWithStorage() does. Any ideas as to what I am doing wrong which is causing this?

@xedin @slavapestov did you get a chance to take a look at this? thank you!

@theblixguy Sorry, I'll take a look next week.

@xedin Did you manage to take a look at this? Thank you!

Unfortunately I didn't really have time for this yet, but it's in my queue.

@xedin Thank you, I'll add the tests once I have fixed the implementation.

think we should only use lazy vars' backing storage (through a getter)

The problem is that the backing storage is optional, so if I use its getter then I get value of optional type 'T?' must be unwrapped to a value of type 'T' error.

Call to createPropertyStoreOrCallSuperclassSetter in synthesizeObservedSetterBody should use storageToUse when available instead of VD

It already does. At the start of the function:
auto VD = storageToUse ? cast<VarDecl>(storageToUse) : cast<VarDecl>(Set->getStorage());

so if storageToUse is available, VD == storageToUse, so you'll always be using it.

The problem is that the backing storage is optional

I think that's underlying storage that is optional (I have also looked at the getter synthesis), the lazy variable itself is not optional and Set->getStorage() would point to that, which means that getter associated with the storage is not going to be optional either.

so if storageToUse is available, then VD == storageToUse, so you'll always be using it.

I think the only change in that function we'd want to make is related to createPropertyStoreOrCallSuperclassSetter since everything else should operator on the variable itself.

so if storageToUse is available, then VD == storageToUse, so you'll always be using it.

I think the only change in that function we'd want to make is related to createPropertyStoreOrCallSuperclassSetter since everything else should operator on the variable itself.

I have tried that as well, it type checks fine, but DI complains about "return from initializer without initializing all stored properties".

I think that happens because the target type of accessors is now different from Set/Get so initializer synthesis or SILGen might need to get adjusted to accommodate that.

Hmm I am not too familiar with that part of SILGen. @slavapestov do you know what needs to be tweaked to allow this?

Seems like the DI issue has disappeared, but there's now a crash in visitMemberRefExpr in SILGen when calling getAccessStrategy (hits an assertion because hasStorage() returns false`.

@theblixguy it sounds like the problem is that synthesizeObservedSetterBody() is getting called on the body of the lazy property setter. Since the lazy property is computed and not stored, SILGen cannot generate code for the setter since it assumes the property is stored.
What you need to do is modify synthesizeObservedSetterBody() to check if the property is lazy (by checking for !isStatic() && hasAttribute<LazyAttr>()... which should be factored out into a utility function since it's checked in several places). If it's lazy, the AssignExpr inside the body must target the lazy property's underlying storage, and not the lazy property itself.

@jrose-apple Can you think of any conceptual problems with allowing lazy properties to have observers?
Would a user expect calling the getter for the first time to call the observers? Why or why not?

If it's lazy, the AssignExpr inside the body must target the lazy property's underlying storage, and not the lazy property itself.

It already does that - I pass the lazy property's storage to synthesizeObservedSetterBody, which then passes it to createPropertyStoreOrCallSuperclassSetter. This is the same as synthesizeTrivialSetterBodyWithStorage.

@jrose-apple Can you think of any conceptual problems with allowing lazy properties to have observers?

This makes me think this needs a ruling from the Core Team, to see whether they think it needs a full proposal.

Would a user expect calling the getter for the first time to call the observers? Why or why not?

It must not call the observers because there's no oldValue / newValue, but I can see someone surprised by that.

This makes me think this needs a ruling from the Core Team, to see whether they think it needs a full proposal.

I'll create a discussion thread in swift evolution.

It must not call the observers because there's no oldValue / newValue, but I can see someone surprised by that.

Wouldn't the oldValue be nil and the newValue be whatever the property is initialised with? Although its fine to not call the observers on the first get. I guess we can synthesise a check in the setter whether the observers are only called if the storage has a value.

If you're consistent with non-lazy properties, oldValue and newValue will be non-optional.

Yeah I agree, it’s better to simply not call it on the first get. I’ll add that check to the setter as explained above.

According to Joe on the forums, the observers should work the same as they do for normal properties, with the oldValue being the initial value when the didSet fires for the first time.

You can't call the willSet either because in the body of an observing accessor you're allowed to call the getter.

Can one of the admins verify this patch?


[SUPPORT] Slow Write Speeds to Hudi

Hello,
We would like your assistance in order to better understand how to tweak our current setup to achieve better performance. Please find our case scenario below:
We are in the process of building a data lake using Hudi in order to allow us to have updated records with near real time availability. The source data resides on S3 and consists of multiple small files in Avro format, in essence there is a file for each Kafka message that is sent to us from an external source. To process the data and persist it to Hudi we have a Spark application running on EMR which consumes the data via structured streaming and does some basic filtering and conversions on it before performing an UPSERT operation.
Reading the data into the application, the schema is obtained through Confluent schema registry and AvroDeserializer.
val inputDF = spark.readStream.format("avro").schema(schema).load(s"$dataSource/$topicName/")
After this some basic processing is performed to remove some of the fields and compute the key, calendardate, and eventtime from the input message. Eventually data is written to Hudi in the following way:
val hudiOptions: Map[String, String] = Map(
  HoodieWriteConfig.TABLE_NAME -> s"hudi_$topicName",
  DataSourceWriteOptions.TABLE_TYPE_OPT_KEY -> DataSourceWriteOptions.COW_TABLE_TYPE_OPT_VAL,
  DataSourceWriteOptions.OPERATION_OPT_KEY -> DataSourceWriteOptions.UPSERT_OPERATION_OPT_VAL,
  DataSourceWriteOptions.RECORDKEY_FIELD_OPT_KEY -> "key",
  DataSourceWriteOptions.PARTITIONPATH_FIELD_OPT_KEY -> "calendardate",
  DataSourceWriteOptions.PRECOMBINE_FIELD_OPT_KEY -> "eventtime",
  HoodieWriteConfig.UPSERT_PARALLELISM -> "10",
  HoodieWriteConfig.INSERT_PARALLELISM -> "10"
)

val hudiCompactOptions: Map[String, String] = Map(
  HoodieCompactionConfig.PARQUET_SMALL_FILE_LIMIT_BYTES -> "10485760",
  HoodieCompactionConfig.INLINE_COMPACT_PROP -> "true",
  HoodieCompactionConfig.INLINE_COMPACT_NUM_DELTA_COMMITS_PROP -> "15",
  HoodieCompactionConfig.CLEANER_COMMITS_RETAINED_PROP -> "12",
  HoodieCompactionConfig.MIN_COMMITS_TO_KEEP_PROP -> "15",
  HoodieCompactionConfig.MAX_COMMITS_TO_KEEP_PROP -> "18"
)

val processBatch: (DataFrame, Long) => Unit = (df,_) => {
  df.write
    .format("org.apache.hudi")
    .options(hudiOptions)
    .options(hudiCompactOptions)
    .mode(SaveMode.Append)
    .save(s"$destination/$topicName")
}

df.writeStream.trigger(Trigger.ProcessingTime("120 seconds")).foreachBatch(processBatch).start()

Execution Performance

Data Input: 40GB across 650K files
Hardware: 1 x Master 4C 32G | 4 x Core 4C 32G
Allocated Resources:  driver-memory 8g | executor-memory 4g | executor-cores 2 | num-executors 2
Execution Time: 2hrs+

At the time being and following the above, we have reason to believe that higher performance could be achieved by tweaking various parameters in order to better suite the data input.
Last but not least, an instance of this app will run for each topic that we have and the heavier ones have around 6GB of data each day split between 95K files.

@MikeBuh since July 16, Athena has full support for MoR tables
https://docs.aws.amazon.com/athena/latest/ug/release-note-2021-07-16.html

So, some of the things have changed and performance has increased but we are still struggling to get the best possible results. Hereunder please find an updated detailed explanation.
Current Setup
Input Data

Avro Files
25MB each
250 / 6GB per day

Resources
Tried various configurations and this is the most solid and performant given the available hardware

num-executors 19
executor-cores 1
executor-memory 6g

Spark Configurations
Various options and values were tried out but performance change was minimal

spark.default.parallelism (currently using 200)
repartition on inputDF (currently using 1,000)
spark.executor.memoryOverhead (using default value)

Hudi Configurations
Still work in progress on optimising this part as there might be other options which may help boost performance

hoodie.datasource.write.operation: UPSERT
hoodie.upsert.shuffle.parallelism: 1000 (tried lower values but performance suffered a bit)
hoodie.datasource.write.row.writer.enable: true

Performance & Notes

the entire process to upsert one day of data into an existing Hudi table (which is not particularly large) is taking around 20 minutes
whatever parameters we seem to tweak, some stages still have a large amount of spillage and thus slowing down the application (see screen-shot hereunder)
data is being 'compacted' using a simple NiFi flow merging the raw incoming data from Kafka
data seems to be skewed and thus not easy to partition using a field and ensuring even distribution

Deltastreamer
We had given this a shot in the past but had various issues with types in the schema. In addition, we wanted a solution which would allow us to have more control and custom operations on the incoming data before persisting it to Hudi. We really wanted to go for this option but we simply did not see how it was possible and thus we opted to build our own Spark streaming application that fits our use case.

num-executors 19
executor-cores 1
executor-memory 6g

@MikeBuh this setting means you probably can have 30-40 parallelism to set for the spark and shuffle partitions and hudi parallelisms, given each core works with 1.5-2 concurrency. suggest increase executor cores to 3-5 to increase throughput, and tune other settings accordingly. You want to also align spark parallelism, shuffle partitions and hudi parallelisms (a few of them) as well.

hoodie.datasource.write.row.writer.enable: true

This is only for bulk insert as of now.

data seems to be skewed and thus not easy to partition using a field and ensuring even distribution

usually you'd use salting to handle skewed data to improve this. the performance won't go far without handling skewness properly.
Hope these would help.

@MikeBuh Did you get a chance to rework based on above suggestions?

Hi @codope I did a rework and got a more stable version to work however do still have some things that I would like to clarify. Before going into the details please also consider:
Hudi Changes

Recently we have upgraded to Hudi 0.10.0 and thus all our tables now have been updated accordingly
The table(s) in question use BLOOM index (previously this was GLBOAL_BLOOM)
hoodie.payload.ordering.field has been set to the same value of hoodie.datasource.write.precombine.field
hoodie.upsert.shuffle.parallelism has been set to same value of spark.sparkContext.defaultParallelism.toString

Real Time Flow

We have a real-time flow consuming, processing, and persisting data to Hudi using Spark structured streaming
In the most common scenario the flow reads 1 or 2 files of avro data each around 25MB (compacted via NiFi)
This flow has been successfully running for a while but we think performance can be improved
Our question at this point is if all this resources (seen hereunder) are needed given the small data input size that we have

num-executors 3
executor-cores 3
executor-memory 5400m
spark.driver.memoryOverhead=1024m
spark.sql.shuffle.partitions=18
spark.default.parallelism=18

Reload Flow

Apart from the real-time flow we sometimes require to reload data in a separate flow, pausing the real-time one.
The input data for this flow is as originally described (Avro Files | 25MB each | 250 / 6GB per day)
In our opinion this flow is taking too long to execute given the amount of resources (see hereunder) and size of data
Is there any recommended parameter and/or option to look into which might drastically improve performance?

num-executors 5
executor-cores 5
executor-memory 7900m
spark.driver.memoryOverhead=1020m
spark.sql.shuffle.partitions=50
spark.default.parallelism=50

Should you require any additional details please reach out to us so that we may provide them. Thanks once again and we look forward to your reply.

Can you share the following details:

If the dataset is partitioned, how many partitions?
Spark stage UI screenshots. This would be helpful to understand which stage is taking up most time.


Support Sites from StackExchange Network

It would be nice if the theme provided support for the other sites in the StackExchange network. I created a PR for this: https://github.com/dracula/stackoverflow/pull/3

@jonathan-scholbach Thanks

@jonathan-scholbach Thanks


[FEATURE] implement country filtering feature

Feature Description
The following page is my experiment of how shapeburst of QGIS stying can be implemented in maplibre.
https://github.com/watergis/maplibre-shapeburst-experiment
we can implement this feature to highlight only a specific country for users. It will be useful for users if they only want to focus a country (not global)
Feature Implementation
No response
Feature Alternatives
No response
Feature Impact
No response
Feature Rationale
No response
Feature Considerations
No response
Feature Requirements
No response
┆Issue is synchronized with this Wrike task by Unito

I think this experiment of country filtering is not needed. let me close the issue.


Update access modifiers from pub to access(all)

Description
pub will be removed in favor of access(all) in preparation for entitlements. As such, we should ensure that access modifiers are updated before mainnet deployment.
Suggested solution
Replace instances of pub with access(all) across the whole of this codebase.

As @austinkline pointed out, we may wait on deploying contracts with updated access modifiers in favor of forcing a breaking update. The risk in updating pub with access(all) is that we'll introduce unknown vulnerabilities in a post-entitlement world that would otherwise be caught and tested locally before updating the broken contract in prod.

@sisyphusSmiling should we close this one for now, since we won't take this up until entitlements are being released?

@austinkline yeah, not a pressing issue atm, so I'll close and we can reopen when it's relevant


'Return to results' should take users back to where they left off

Type

✨ Feature

Acceptance Criteria

[ ] Return to place in list

Problem to be solved / User Story
Similar to the browser back button, when a user clicks on 'Return to results' from a /works/ page, she should go back to the place in the list where she left off.

This works everywhere except Chrome, where the autofocus we have on the search box is overriding the anchor link - will need to investigate further


Moving source file removes project properties

Describe the bug
Using arrows in F# project view results in removed project properties
To Reproduce
Steps to reproduce the behaviour:

dotnet new project -lang f#
Add following to project file:
Add more than one source file
Go to F# view and use down or up arrows to change project file order
See the difference in the PropertyGroup node:

-- <Project Sdk="Microsoft.NET.Sdk">
++ <Project Sdk="Microsoft.NET.Sdk">
    <PropertyGroup>
      <OutputType>Exe</OutputType>
      <TargetFramework>netcoreapp3.1</TargetFramework>
--    <GenerateProgramFile>false</GenerateProgramFile>
--    <ServerGarbageCollection>true</ServerGarbageCollection>
--    <ConcurrentGarbageCollection>true</ConcurrentGarbageCollection>
  </PropertyGroup>
++  <ItemGroup>
++    <ProjectReference Include="..\..\src\OtherProject\OtherProject.fsproj" />
++  </ItemGroup>
  <ItemGroup>
--    <Compile Include="SourceFileOne.fs" />
    <Compile Include="SourceFileTwo.fs" />
++    <Compile Include="SourceFileOne.fs" />
    <Compile Include="Program.fs" />
  </ItemGroup>
--  <ItemGroup>
--    <ProjectReference Include="..\..\src\OtherProject\OtherProject.fsproj" />
--  </ItemGroup>
    <Import Project="..\..\.paket\Paket.Restore.targets" />
  </Project>

Source file is moved correctly. But nodes GenerateProgramFile, ServerGarbageCollection, ConcurrentGarbageCollection are deleted, which changes the project behavior.
ProjectReference placement is surely not important. Added to diff anyway for completeness.
Expected behaviour
No other changes than the order of source files
Environment (please complete the following information):

OS: macOs catalina
Ionide version: 4.11.0
VSCode version: 1.45.0
dotnet SDK version: 3.1.201
mono / .Net Framework version: none

Should be fixed with 5.0

Now getting an error with ionide 5.0 using reorder arrows.
Upgraded from preview 03 to 5.0, did "F#: Clear project cache" and "Reload Window":
Error running command fsharp.explorer.moveUp: System.NullReferenceException: Object reference not set to an instance of an object.
   at FsAutoComplete.FsProjEditor.moveFileUp(String fsprojPath, String file) in D:\Programowanie\ionide\paket-files\github.com\fsharp\FsAutoComplete\src\FsAutoComplete.Core\FsprojEdit.fs:line 11
   at <StartupCode$FsAutoComplete-Core>.$Commands.FsProjMoveFileUp@363.Invoke(Unit unitVar) in D:\Programowanie\ionide\paket-files\github.com\fsharp\FsAutoComplete\src\FsAutoComplete.Core\Commands.fs:line 363
   at Microsoft.FSharp.Control.AsyncPrimitives.CallThenInvoke[T,TResult](AsyncActivation`1 ctxt, TResult result1, FSharpFunc`2 part2) in F:\workspace\_work\1\s\src\fsharp\FSharp.Core\async.fs:line 386
   at Microsoft.FSharp.Control.Trampoline.Execute(FSharpFunc`2 firstAction) in F:\workspace\_work\1\s\src\fsharp\FSharp.Core\async.fs:line 104. This is likely caused by the extension that contributes fsharp.explorer.moveUp.

Can you open a new issue, please?

yep, will do


Enchanced ES6 or ESNext mode, but not TS?

I would an ES6 or ESNext mode of Civet, without typescript types and strictness. Do you have plans about that?

Could you clarify what specific behaviors you're looking for, that Civet doesn't already provide (if you just choose not to use TypeScript features)?

I mean about not checking for async or sync function type, not checking types in general, implicit arguments spread (to func call).

I believe Civet already does those things:

it automatically adds async to any functions using await, so you don't have to worry as much about async vs sync (unless you wanted sone kind of implicit await)
Civet doesn't check types, and doesn't require you to specify them.
You can use rest arguments without types.

I'm probably missing something though. Maybe give Civet a try and give some specific examples if what you run into?

Just VS code thinking that Civet is TypeScript, and validify as it.

If you throw // @ts-nocheck at the top of the file, the language server will stop trying to typecheck it.

I don't know why fallthrough switch isn't convert to 'break;' version by default.


Add check for the MMU type under petitboot

We expect the petitboot kernel to always use hash MMU on Power9. This
test case will also test that Power8 is using radix.
It uses /proc/cpuinfo while booted into the petitboot environment.
Signed-off-by: Joel Stanley<EMAIL_ADDRESS>

We expect the petitboot kernel to always use hash MMU on Power9. This
test case will also test that Power8 is using radix.

I think you've got that one backwards.
You should also add this test to the SkirootSuite constructor in the main op-test script so it gets run as a part of the standard petitdistro test suite.


Why XSSFWorkbook(string path) does not have a corresponding write() ?

XSSFWorkbook(string path)  can read from file path.
But why there is no write() to write to the file directly.
If I use XSSFWorkbook(filepath) to read from a template xlsx file, and then use write(fs, false) to write to a new filestream(or file).
I expected only the new file to be written, but actually the template file was changed as well.

actually the template file was changed as well

I don't think this would happen. Can you double check your code by yourself?

This is my code
            SaveFileDialog dialog = new SaveFileDialog();
            dialog.Title = "Select file path:";
            dialog.Filter = "Excel (*.xlsx)|*.xlsx";
            if ((bool)dialog.ShowDialog())
            {
                string file = dialog.FileName;

                using IWorkbook workbook = new XSSFWorkbook("template.xlsx");

                ISheet sheet = workbook.GetSheetAt(0);
                IRow row = sheet.CreateRow(sheet.LastRowNum+1);
                row.CreateCell(0).SetCellValue("123");
                row.CreateCell(1).SetCellValue("Bob");
                row.CreateCell(2).SetCellValue("12345678");

                using FileStream fs = File.Open(file, FileMode.Create, FileAccess.ReadWrite);
                workbook.Write(fs, false);
                fs.Close();
            }

The code I wrote is actually very simple.
But it really did happen.
| |
@.***
|
|
@.***
|
---- Replied Message ----
| From | Tony @.> |
| Date | 04/18/2023 05:56 |
| To | @.> |
| Cc |<EMAIL_ADDRESS>|
| Subject | Re: [nissl-lab/npoi] Why XSSFWorkbook(string path) does not have a corresponding write() ? (Issue #1064) |
Closed #1064 as completed.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>

你自己建个console application，跑一下，看看template文件会不会改，自己的问题干嘛老怪库呢？受不了！

非常抱歉，给您添麻烦了。
我不太会说话，但本意是希望NPOI越来越好。NPOI是很优秀的库，帮我们提高了编程效率，在此，首先对您为这个项目的付出表达感谢！
我之前确实是新建了一个项目测试，代码我贴在那个Issue上，不过Issue关闭了。我希望能耽误您一点时间，看一下我下面的测试代码，再次感谢！
我的测试代码如下：
namespace ConsoleApp1
{
internal class Program
{
static void Main(string[] args)
{
using IWorkbook workbook = new XSSFWorkbook("template.xlsx");
ISheet sheet = workbook.GetSheetAt(0);
IRow row = sheet.CreateRow(sheet.LastRowNum + 1);
row.CreateCell(0).SetCellValue("123");
row.CreateCell(1).SetCellValue("Bob");
row.CreateCell(2).SetCellValue("12345678");
using FileStream fs = File.Open("target.xlsx", FileMode.Create, FileAccess.ReadWrite);
workbook.Write(fs, false);
fs.Close();
}
}
}
结果如下图：
| |
xiewangdong
|
|
@.***
|
---- Replied Message ----
| From | Tony @.> |
| Date | 4/18/2023 17:30 |
| To | @.> |
| Cc | @.> ,
@.> |
| Subject | Re: [nissl-lab/npoi] Why XSSFWorkbook(string path) does not have a corresponding write() ? (Issue #1064) |
你自己建个console application，跑一下，看看template文件会不会改，自己的问题干嘛老怪库呢？受不了！
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>

之前用邮件回的，图片没显示出来。
下面是结果图片：


Add support for SASL plain text authentication

Hi
This is a simple patch that adds support for SASL plain text authentication to Kafka brokers, if enabled. This feature is useful when people want to leverage hosted Kafka services such as IBM Bluemix's Message Hub service (Kafka 0.9 with SASL plain text authentication). By default, the authentication is disabled.

Hi, I have addressed all of your comments. See if this version of PR is good enough.

Any pointers as to why the build fails with Go 1.6.1 ? The log seems to go on for ever.

It's just a test that occasionally gets stuck; I've restarted it and it should pass this time.

This looks OK to me now I think; @wvanbergen ?

Hi
Would you like any more changes before merging this PR?

I am ok with merging this :+1:. @eapache I will let you do the honours

👍  thanks


Collection global prefix

not sure where would be best place to implement (here, hapi-mongo, frame, aqua)....
but it would be nice to be able to set an env/config to have a global collection prefix.
example:
// model
Kitten.collection = 'kittens';

//aqua config
hapiMongoModels: {
        mongodb: {
            uri: {
                $filter: 'env',
                production: process.env.MONGODB_URI,
                test: 'mongodb://devurl',
                $default: 'mongodb://devurl'
            }
        },
        autoIndex: true,
        prefix: 'aqua_'
    };

result collection would be 'aqua_kittens'

Thanks for opening an issue.
My first thought is to put this in the model definitions. It wouldn't be a default, you'd have to instrument it per model, but the upside is that it's explicit.
const Joi = require('joi');
const MongoModels = require('mongo-models');

class Customer extends MongoModels {}

Customer.collection = process.env.MONGO_COLLECTION_PREFIX + '_customers'; // here we go

Customer.schema = Joi.object().keys({
    name: Joi.string().required(),
    email: Joi.string().email(),
    phone: Joi.string()
});

module.exports = Customer;

Thanks for the response!
I think thats acceptable, hopefully that is something you would consider adding to frame. For now I will alter the core models to meet my needs.
Thanks again


Question about the mechanism and position of monte-carlo configuration generator

Hello sir!
The section 4 monte carlo configuration generator in the paper Engineering lacam* is pretty short and i am not quite get how this part work and how to generate parallel configuration?
And when i try to find it in the implementation , i didn't sure where is it and how it work in the planner.cpp part (if i guess it right, it is in this function?)

would you be so kind to explain the monte-carlo configure generation method, or if you have a recorded talk, I can learn from it.
thank you so much

Hi, some explanations are in the slide:
https://speakerdeck.com/kei18/engineering-lacam-star-towards-real-time-large-scale-and-near-optimal-multi-agent-pathfinding?slide=22
The screenshot part is correct. Basically, it executes PIBT multiple times with different seeds, and extracts the best.

Thank you, got it


[ECSPrefixed] PHP Fatal error in v9.2.15

Just a little note: after update to v9.2.15 Easy Coding Standard could not be executed any more. You'll get the following error:
PHP Fatal error:  Cannot use '_PhpScoper57c79939064b\parent' as class name as it is reserved in /home/runner/work/easy-coding-standard-prefixed/easy-coding-standard-prefixed/vendor/symfony/string/UnicodeString.php on line 166
You could find this in your Travis log:
https://github.com/symplify/easy-coding-standard-prefixed/runs/2291107990
After downgrading to v9.2.14 ecs is usable again.

already fixed in latest dev-main, please try dev-main version