postKeyboardInfo won’t get called when switch from emoji keyboard to English keyboard on iOS 9

However, English keyboard is slightly shorter than emoji keyboard. Not sure if it’s an iOS 9 bug. I’m on iPhone 5s, iOS 9 beta 4.

In my test, English keyboard has the same height as Emoji keyboard (iPhone 5, iOS 9 beta 4).
But it’s a bug when change from Emoji Keyboard to Chinese Handwrite Keyboard will not postKeyboardInfo. Fixed in 0.3.1.
Thanks!

Awesome, thank you!


APEXCORE-422 removed the rule which doesn't allow parameterized annot…

…ation on the same line as the target

@davidyan74 @tweise please review


Docs about stream defaults

Automated message from Dropbox CLA bot
@mrdrozdov, thanks for the pull request! It looks like you haven't yet signed the Dropbox CLA. Please sign it here and update the thread so we can consider merging your code.

How do I update the thread? I signed the CLA just now.

@mrdrozdov We probably need to fix the CLA bot to report back once you've signed the CLA; so far mostly people have just been posting a quick message and then I've been checking the spreadsheet bu that's obviously inefficient.


Suddenly, can not share videos on iOS anymore ...

Hi guys,
I didn't change anything as long as I remember in my project, and now I can only share images but not videos. I mean when I try to share a video and my APP doesn't appear in the share APPS to choose, I look for the addiotional apps "..." but nothing.
This is my info.plist
<key>NSExtensionAttributes</key>
		<dict>
			<key>NSExtensionActivationRule</key>
			<dict>
				<key>NSExtensionActivationSupportsImageWithMaxCount</key>
				<integer>1</integer>
				<key>NSExtensionActivationSupportsMovieWithMaxCount</key>
				<integer>1</integer>
				<key>NSExtensionActivationSupportsText</key>
				<true/>
				<key>NSExtensionActivationSupportsWebURLWithMaxCount</key>
				<integer>1</integer>
			</dict>
		</dict>

Same XCODE 12.2 and iOS 14.2 Phisical Device
I thinks certificates are ok becasue I could share an iamge :(
Do you know what could be this?
Thanks!
Matt.

According to the the extension plist docs (https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/AppExtensionKeys.html#//apple_ref/doc/uid/TP40014212-SW10), you might need to set NSExtensionActivationDictionaryVersion to support the app you're sharing from.

For example, say an item provider in a host app is offering an image asset and a text asset, and a Share extension is capable of handling only text assets. If the app extension’s Info.plist file does not have this key, or has this key and its value is set to 1, the extension will not appear in the activity view controller when the user taps the Action button in the host app. However, if the app extension’s Info.plist file has this key and its value is 2, the extension will appear.

Ok, thanks for your answer, I will check that, but I fixed the problem in this way and may be this helps other:
I read some forums in de APPLE developer forum that it is happening with ios 14.2 or something like that, I change my language to ENGLISH and evertything start working, then I cahne to my native language and it works again, other solution is to turn off the iphone and turn on again. It weird but people are saying that is an iOS bug.
Thanks!


Make adding 'config_loc' to checkstyle.configProperties an error

Fixes #16201

@bot-gradle test rFM

OK, I've already triggered ReadyForMerge build for you.

@bot-gradle test rFM

OK, I've already triggered ReadyForMerge build for you.

@bot-gradle test rFM

OK, I've already triggered ReadyForMerge build for you.


feat: add knot test

idk how to run tests bc idk how to swift but i think this works

To run tests you can:
In console type:
swift build -v and swift test -v

In Xcode, open the test tab, right click, and click run, or right click in the SwiftInkTests.swift file next to a function definition or the class subclassing XCTestCase and click run.


contracts: Remove ConfigCache

The ConfigCache was meant to load values needed contract execution once instead of on-demand. The reality is that the only in-storage value of the ConfigCache is the Schedule. The other values are just simple getters which mostly return constant values or results of simple calculation. Also cache usage was inconsequential at best because all the values are pervasive as they are defined on the public trait.
For all these reason i consider the ConfigCache clutter and remove it with this PR.

/benchmark runtime pallet pallet_contracts

Yes I know. But I would not consider this case as this is something you really shouldn't do.

bot merge


Updates validation on --dataflow_endpoint to accept any legal url.

Previously the  --dataflow_endpoint pipeline option require the url to match a regex containing 'googleapis'. This change makes it possible to use any legal url for dataflow-endpoint.

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Mention the appropriate issue in your description (for example: addresses #123), if applicable. This will automatically add a link to the pull request in the issue. If you would like the issue to automatically close on merging the pull request, comment fixes #<ISSUE NUMBER> instead.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.
To check the build health, please visit https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md
GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI or the workflows README to see a list of phrases to trigger workflows.

Looks like the validation isn't happy in some test suites, here's an example:
15:40:49 =========================== short test summary info ============================
15:40:49 FAILED apache_beam/runners/dataflow/dataflow_runner_test.py::DataflowRunnerTest::test_environment_override_translation_legacy_worker_harness_image - ValueError: Pipeline has validations errors:
15:40:49 Missing required option: region.
15:40:49 Invalid url (ignored) for dataflow endpoint. Please provide a valid url.
15:40:49 Invalid GCS path (/dev/null), given for the option: temp_location.
15:40:49 Invalid GCS path (ignored), given for the option: staging_location.
15:40:49 FAILED

Linting is unhappy and there are a few test cases that are still failing. Seems like a lot of unit tests banked on the validation being extremely loose

Finally all tests pass.

I really would like to keep some useful validation here. In the early days of Dataflow it was a common problem for people to specify a staging location that was local, and then the worker crashes because it cannot find the code it is expected to execute. Whatever is causing us to have to remove that validation in some cases, we should keep it in the main case.

Kenn, I don't quite understand your comment. I have made the validation of staging location stronger. Now it must be a gs bucket if the runner is dataflow. The only place validation is loosed in this PR is the dataflow-endpoint now accepts any valid url. Not all dataflow endpoints include the string 'googleapis', and the validation I changed was not present in Java.

3 approvals, please merge.


Stop building universal wheels

Resolve #5496
https://packaging.python.org/en/latest/guides/dropping-older-python-versions/#dealing-with-the-universal-wheels

Traditionally, projects providing Python code that is semantically compatible with both Python 2 and Python 3, produce wheels that have a py2.py3 tag in their names. When dropping support for Python 2, it is important not to forget to change this tag to just py3. It is often configured within setup.cfg under the [bdist_wheel] section by setting universal = 1 if they use setuptools.

The checklist

[x] Associated issue
[x] A news fragment in the news/ directory to describe this fix with the extension .bugfix.rst, .feature.rst, .behavior.rst, .doc.rst. .vendor.rst. or .trivial.rst (this will appear in the release changelog). Use semantic line breaks and name the file after the issue number or the PR #.

FWIW, "Squash and Merge" discards commit signatures:

becomes

Sorry about that, it's my default but definitely did not need to be squashed on your PR.

No worries, it's NBD... Just thought I'd mention it since most people aren't aware of it 😊


Issue with accessing the adaptive cards in PVA that has used bot framework composer for adaptive cards

I am using a chatbot that has an issue with the adaptive cards in which adaptive cards are visible in the PVA test bot feature but the same is not visible in the teams channel.

@Rekhanjalir are you setting up the channel using PVA experience? Seems unrelated to Composer.

Closing due to lack of response.


Change minimum version of Polymer

Can we change the tilt for a caret to support 1.7.x?

Absolutely. I rebased your commit.


Add CI to ensure all CODEOWNERS are assignable

description
Currently not all CODEOWNERS are assignable - which means that when relevant PRs come up we are unable to assign reviews to the relevant people
This issue is being addressed manually but it would be useful to have CI to ensure that this is kept up to date
One implication here is that a senior maintainer will have to sign off (eg by adding assignable to the relevant dev) any new contribs that have new devs listed as codeowners

cc @alyssawilk

BTW, is the "contrib" label also for "help wanted"?

After we update CODEOWNERS, still need it?

You can see this stuff on github now as well:

yep:

https://github.com/envoyproxy/envoy/issues/20283
https://github.com/dear-github/dear-github/issues/410

Hello wanted

Help wanted


fix: fix in assert log

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

v4.0.2
GitHub release

Your semantic-release bot :package::rocket:


Improve new instance setup instructions around user generation

I rule and have completed some work on Case Manager that's ready for review!
@xmunoz ID'd a problem in docs when doing some testing - not clear what a scratch password on instance setup should be. This bumps docs to make that a bit more straightforward, and makes it a plug-and-chug snippet. Thanks much to @xmunoz for calling this out!
This pull request makes the following changes:

improves the snippet to generate an alphanumeric

no view changes
It relates to the following issue #s:

Fixes #2175

For reviewer:

Adjust the title to explain what it does for the notification email to the listserv.
Tag this PR:

feature if it contains a feature, fix, or similar. This is anything that contains a user-facing fix in some way, such as frontend changes, alterations to backend behavior, or bug fixes.
dependencies if it contains library upgrades or similar. This is anything that upgrades any dependency, such as a Gemfile update or npm package upgrade.

If it contains neither, no need to tag this PR.

Codecov Report

Merging #2179 (1e40838) into main (2863d34) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main    #2179   +/-   ##
=======================================
  Coverage   90.88%   90.88%
=======================================
  Files          84       84
  Lines        1952     1952
=======================================
  Hits         1774     1774
  Misses        178      178

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 2863d34...1e40838. Read the comment docs.

defaults to 16!


(chore) - performant context propagation

Before I leave on vacation I decided to finish this up.
This is not mergeable yet since there  are some issues in use-context-selector that should be solved upstream. This being said this solution should increase bundle size by +- 600B.
Leaving hooked-form on 2.5KB which is still far behind other similar libraries, this SHOULD make this the fastest form library.
<EMAIL_ADDRESS>

Codecov Report

Merging #45 into master will increase coverage by 0.48%.
The diff coverage is 100%.

@@           Coverage Diff            @@
##           master    #45      +/-   ##
========================================
+ Coverage   99.51%   100%   +0.48%
========================================
  Files          14     14
  Lines         207    198       -9
  Branches       41     37       -4
========================================
- Hits          206    198       -8
+ Partials        1      0       -1

Impacted Files
Coverage Δ

src/useField.ts
100% <100%> (ø)
:arrow_up:

src/useFormConnect.ts
100% <100%> (ø)
:arrow_up:

src/helpers/context.ts
100% <100%> (ø)
:arrow_up:

src/Error.tsx
100% <100%> (ø)
:arrow_up:

src/Field.tsx
100% <100%> (ø)
:arrow_up:

src/useError.ts
100% <100%> (ø)
:arrow_up:

src/useFieldArray.ts
100% <100%> (ø)
:arrow_up:

src/FieldArray.tsx
100% <100%> (+10%)
:arrow_up:

Continue to review full report at Codecov.

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


Made the snap point disappear immediately upon releasing the activation key

Prior to this change, releasing the activation key ('v') would deactivate the addon without any visual feedback: the yellow snap point would only disappear after moving the mouse. This PR fixes this minor issue.

This PR involves a little bit of refactoring which I think is beneficial to the code. Happy to drop any changes you deem not necessary.


Update Gallery to latest iOS project template

Partial fix to #8062.
AppDelegate.m example boilerplate intentionally left in for anyone who wants to experiment/copy-paste.
@chinmaygarde


Allow paren expressions in if etc

Allows if (a > b) and (b > c): blah()
Disallows if (cond)result (there must be a space after the paren). This resolves ambiguities.
Expected addition to the docs:
One-line syntax with parens
While the colon syntax above is recommended, traditional styles work as well.
However, when using parens around the clauses of if, switch, with, and while,
and the body is not a block, the closing paren must be followed by whitespace.
Eg; these are legal:
if (x > 1) return

if (x > 1){
  return
}

but this is not:
if (x > 1)return

Tested this against a code base I'm working on, no regressions. Edge cases look pretty far fetched. Looks good as far as I can see.

Cool, thanks!


unresolved external symbol (plot)

hi, thanks for your work!
I use the "matplotlib-cpp" in Win10-python3_5-VS2017Enterprise. When I compile the example code "plt::plot({ 1, 3, 2, 4 });", I met the problem:
"unresolved external symbol __imp__Py_NegativeRefcount referenced in function "bool __cdecl matplotlibcpp::plot<double,double>(class std::vector<double,class std::allocator > const &,class std::vector<double,class std::allocator > const &,class std::basic_string<char,struct std::char_traits,class std::allocator > const &)" (??$plot@NN@matplotlibcpp@@YA_NAEBV?$vector@NV?$allocator@N@std@@@std@@0AEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@2@@Z)"
and "unresolved external symbol __imp__Py_RefTotal".
Could you please give me some advice?
Thanks again.

My problem has been solved. The project should be compile by "realease x64", or the python.lib of "debug"   version is needed.


Remove is default field

Coverage decreased (-0.1%) to 83.051% when pulling 538297f1decaa1fb3620854832e60c1a2d3659bf on remove-is_default-field into 6edec3d4a8b90eca0d366938fad79a87050a4b7a on master.


Facing issues with plugin development

Hello, I'm currently porting my plugins to char code scan instead of regex (markdown-it-regexp) to improve performance.
While my custom markdown tag works fine, I'm facing an odd issue, other tags that come after it won't render (except for inline code), emphasis tags cause infinite loops that freeze the browser!

Nested markup is working fine btw:

Not sure what I did wrong, I followed the source code of many rules/plugins and I was able to make it work, but couldn't find out what causes this issue. Here is my code anyway:
function spoiler(md) {
    const exMark = 0x21 /* ! */
    const gtSign = 0x3E /* > */
    const ltSign = 0x3C /* < */

    md.inline.ruler.after('emphasis', 'spoiler', (state, silent) => {
        if (silent) return false
        let start = state.pos,
            end = state.posMax - 1,
            found = false

        // Check for >!
        if (
            state.src.charCodeAt(start) !== gtSign ||
            state.src.charCodeAt(start + 1) !== exMark
        ) {
            return false
        }

        // Find !<
        state.pos = end - 1
        while (state.pos > start + 1) {
            if (
                state.src.charCodeAt(state.pos) === exMark &&
                state.src.charCodeAt(state.pos + 1) === ltSign
            ) {
                found = true
                break
            }
            state.pos -= 1
        }

        if (!found) {
            state.pos = start
            return false
        }

        state.posMax = state.pos
        state.pos = start + 2

        let token = state.push('spoiler_open', 'span', 1)
        token.attrs = [
            ['class', 'md-spoiler']
        ]
        token.markup = '>!'

        // Parse nested markup
        state.md.inline.tokenize(state)

        token = state.push('spoiler_close', 'span', -1)
        token.markup = '!<'

        state.pos += 2

        return true
    })
}

Sorry, that's too much about low level programming. I can't debug your code. General recommendation is to take plugin with similar markup/nesting behavior and modify start/stop markers rules for your needs.

https://github.com/markdown-it/markdown-it-mark - that's an example of inline pair-like markup extension (inline + begin/end + allow markup inside).
https://github.com/markdown-it/markdown-it-container - blocks with nested content.

@puzrin I already checked markdown-it-mark. Just to let you know, this one is based on the emphasis rule, a lot of unnecessary/unclear logic there.
Also, I couldn't find any example where the open/close markers have different characters, the emphasis code is simply not designed to handle this case.
Another rule to look at was the backticks but it doesn't support nested markup, so I had to create my own plugin from scratch, I guess I'll be stuck for some time until I find a solution for this. ¯\_(ツ)_/¯

Inline rules with nesting are the most cryptic part. I'd suggest you to start form the root - provide exact description of your tag and how it is expected to work (markup, intersection with other tags and so on). Then, probably, i'll be able to suggest something more concrete.
AFAIK, discourse guys implemented inline bbcodes support. You can take a look there. Or search in npm for bbcode plugins.

@puzrin I finally got it working! My previous code had logic issues, I totally messed it up, I was giving state.pos and state.posMax wrong values. 🤦♂
However, I started fresh again, this time I used the link rule as an entry point, it was easier to understand, I cleaned up all unnecessary logic, then I wrote my own rule on top of it, and this is the result:
function spoiler (md) {
    const exMark = 0x21 /* ! */
    const gtSign = 0x3E /* > */
    const ltSign = 0x3C /* < */

    md.inline.ruler.push('spoiler', (state, silent) => {
        let start,
            end,
            pos = state.pos,
            max = state.posMax,
            tagLen = 2 // Closing tag length

        // Check for >!
        if (state.src.charCodeAt(pos) !== gtSign) return false
        pos += 1
        if (state.src.charCodeAt(pos) !== exMark) return false
        pos += 1
        start = pos

        // Find the very last !<
        pos = max - tagLen
        while (pos > start) {
            if (
                state.src.charCodeAt(pos) === exMark &&
                state.src.charCodeAt(pos + 1) === ltSign
            ) {
                end = pos
                break
            }
            pos -= 1
        }
        if (!end) return false

        // Skip the closing tag
        pos = end + tagLen

        // Don't insert any tokens in validation mode
        if (!silent) {
            state.pos = start
            state.posMax = end
            let token = state.push('spoiler_open', 'span', 1)
            token.attrs = [
                ['class', 'md-spoiler']
            ]
            token.markup = '>!'
            state.md.inline.tokenize(state)
            token = state.push('spoiler_close', 'span', -1)
            token.markup = '!<'
        }

        state.pos = pos
        state.posMax = max
        return true
    })
}

My advice to plugins developers is to avoid assigning values to state.pos and state.posMax as much as possible, except before tokenizing nested markup, and at the end before return true. Always have a separate variable for the cursor, this way you can avoid issues like this.

provide exact description of your tag and how it is expected to work (markup, intersection with other tags and so on).

I'm copying the spoiler tag from Reddit, the one they use on their redesign <www.reddit.com> since it's rendered differently on the old website <old.reddit.com>, I'm thinking about writing a detailed spec before publishing the plugin.
And yeah, it has an intersection with the blockquote rule, I already fixed that anyway.
Thank's a lot for your advice!


New hardware version from Banggood w/ STC15W408AS?

Hi there,
looks like their might be a new hardware revision from banggod again (or I am doing something wrong).
The clock mostly worked with the original firmware, but was flickery.
Flashing the firmware  with "stock parameters" from makefile worked, but the LED segments only show some patterns.
Hardware C build option gave a different LED "pattern" but still not correct.
No circuit diagram was supplied, the one from the website is similar but has a few differences, resistor placement and values etc.
I found no diagram on the Chinese website, it might be there but with google translate  hard to find.
Pressing one of the buttons changes the display to 0:00 while it is pressed.
I can try to trace connections on the PCB if you give me a hand where to start, these matrixed segments are somewhat complex.
https://www.banggood.com/DIY-4-Digit-LED-Electronic-Clock-Kit-Temperature-Light-Control-Version-p-972289.html
http://img.banggood.com/file/products/20170116024635SKU203096.pdf
http://www.52dz-diy.com/index.php

I went and checked out the 52dz-diy.com website (I'm okay with Chinese) and
found this schematic.
[image: image.png]
Does it match with what you have? The store page that contained that
schematic (http://www.52dz-diy.com/goods.php?id=122) also presented a
different photo of the PCB.
Hopefully it helps.
On Sun, May 10, 2020 at 7:50 PM Kobbe1<EMAIL_ADDRESS>wrote:

Hi there,
looks like their might be a new hardware revision from banggod again (or I
am doing somehting wrong).
The clock mostly worked with the original firmware, but was flickery.
Flashing the firmware with "stock parameters" from makefile worked, but
the LED segments only show some patterns.
Hardware C build option gave a different LED "pattern" but still not
correct.
No circuit diagram was supplied, the one from the website is similar but
has a few differences, resistor placement and values etc.
I found no diagram on the Chinese website, it might be there but with
google translate hard to find.
Pressing one of the buttons changes the display to 0:00 while it is
pressed.
I can try to trace connections on the PCB if you give me a hand where to
start, these matrixed segments are somewhat complex.
https://www.banggood.com/DIY-4-Digit-LED-Electronic-Clock-Kit-Temperature-Light-Control-Version-p-972289.html
http://img.banggood.com/file/products/20170116024635SKU203096.pdf
http://www.52dz-diy.com/index.php
[image: IMG_6888]
https://user-images.githubusercontent.com/26032165/81498387-f6cb8600-92c4-11ea-96fa-879d3f2129bc.JPEG
[image: IMG_6889]
https://user-images.githubusercontent.com/26032165/81498392-faf7a380-92c4-11ea-90d4-6004ff2ea4a6.JPEG
[image: IMG_6890]
https://user-images.githubusercontent.com/26032165/81498394-fdf29400-92c4-11ea-8128-5380f0da3359.JPEG
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/zerog2k/stc_diyclock/issues/55, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACPEEDCZTW5VKK4JX6AESIDRQ2IJ7ANCNFSM4M5GWKRA
.

Thanks,  looks different indeed. Yet another version - with an DS18B20 and an different RTC IC too.

hello everyone
i'd like to share some info and schematics for this "new" pcb/kit
i bought a kit and it came without pcb, then they send me another compete kit, so i decide to trace and reproduce pcb board "from scratch" with universal breadboad
i'll attach pic of schematics and archive with kicad files
kicad files were made from original ones from this repo. i fixed schematic for leds too - last two displays rotated 180 degrees, so wires should be fixed too
kit (two kits - two resistor set):

7 segments led display - 4pcs
PCB
power switch and 2 side button switches
DC Power Jack Socket
DS1302 with socket
STC15W408AS with socket
cr1220 battery with holder
cap: 1x1mkF, 2x30pF
res: 3x10k, 14x1k (or 13x100 + 1x1k)
buzzer
thermistor
photoresistor
programming pin header
32k crystal oscillator
S8550 tranistor - 5pcs

USB power cord
glass case

stc15w408as.new.tar.gz
i'm not sure if it can be programmed to this firmware because of mixed S1/RM and S2/GM, but i want to try it a bit later

oh, forget pcb photo itself
original ones:

so because of different wiring, from reference design last display did not work at all: firmware expects display anodes on pins 17-20, wile it is on pins 18-21, and 21 pin is for anode of last display, DS4
and DS1302 connected to pins 13, 16, 17 while firmware expects 3, 4, 5 - so clock IC doesn't work too
i suppose it can/should be fixed in hwconfig.h, i've corrected for stc15w404as
hwconfig.h.gz

@aleksey-ru52
From the schematic you provided, the hardware configuration is significantly different. It's not simply a matter of different pins. In your schematic, the adc lines for light and temperature detection are shared with the buttons. Previously these buttons were shared with uart rxd/txd. Now it looks like the button-press and light/temp detection need to be somewhat coordinated. (e.g. detect if adc is below some threshold, like near zero, which would indicate the button is pressed.)
Looks like the RTC IO and buzzer drive is also sharing lines with uart rxd/txd; not sure if the way these are handled need to be re-designed, or if it's ok.
(Not sure why they had to do all this sharing, when there are plenty of unused io lines on port 1 gpio bus ?)
Anyhow, if anyone wants to produce a working and tested PR, I would be glad to review it.

I think they're trying to minimise kit parts. Or "simplify" wiring.
I can try to do some testing with this hw design. If it will be hard to redesign sw or it will be unstable somehow, i prefer to change hw desing to "reference" one from pdf, because i like design with minimal sharing pins too.

I think they're trying to minimise kit parts. Or "simplify" wiring.
I can try to do some testing with this hw design. If it will be hard to redesign sw or it will be unstable somehow, i prefer to change hw desing to "reference" one from pdf, because i like design with minimal sharing pins too.

To me this doesn't seem to be the case - wiring these up to separate pins does not (need to) have any additional part count - it's simply some additional tracks on the pcb - and cost would be same there - maybe it was too hard do to the pcb layout? Not sure.
Anyhow, sure if you can come up with a new hardware variant define, and some conditional preprocessor macro logic which is clean enough, it might be achievable to bring this into a single repo codebase.

@aleksey-ru52
So the hwconfig.h you shared works? You said it compiles, but I guess you did not test with real hardware?

i suppose it can/should be fixed in hwconfig.h, i've corrected for stc15w404as
wrong hwconfig attached first, this one works for build
hwconfig.h.gz
You should change string in Makefile too
#SDCCREV ?= -Dstc15f204ea
SDCCREV ?= -Dstc15w404as
then compile or you could try this one, but i don't know if it works. can you try?...

Not tested yet, you're right.
I suppose buttons will not work, because of shared pins, as @zerog2k mentioned.
I think it's match easer to resolder buttons to two other pins - 5,6,7,8,9,10 - they all available. Then change hwconfig and compile. It WILL work, i'm almost sure, without any other sw modification.

@zerog2k need help
i've flashed firmware with my hwconfig
buttons works, indeed...
looks like connection to DS1302 does not work, i checked twice, i see no error
 #define DS_CE    P0_1
 #define DS_IO    P3_1
 #define DS_SCLK  P3_2
 // needed for asm optimizations
 #define _DS_IO   _P3_1
 #define _DS_SCLK _P3_2
manual for 408 says pin 13 is P5.5, i've try P0_1 and P5_5 - no luck

also noticed - 3rd element displays rotated 180 deg number
it's a bit strange, 1st, 2nd and 4th element displays correct image
found this trying to set alarm

issue look like the ones was reported to you, but instead of displaying 1F:7F my clock displays 1b:7b

@aleksey-ru52
for the pins, you'll need to check your mcu datasheet special function register map addresses and compare to the port/pin definitions listed in SDCC headers, e.g.
https://sourceforge.net/p/sdcc/code/HEAD/tree/trunk/sdcc/device/include/mcs51/8051.h#l56
as you noted for some pins, like ds1302, those have some asm optimizations that need to be coordinated as well.
For rotation and elements, you'll need to verify all the segments and driver pins are adjusted for your hardware.
Different kits may have different kinds and arrangements of led (some using multi-digit, some using individual digit, some with a rotated 3rd digit, etc)
You may need to play around with software pullups (port configuration, per datasheet) depending upon whether certain things, e.g. ds1302, led drivers, etc have external pullups or not.

agh... angry
well... i've found that missing P5_5, ok... but this does not work because of absence of pull-up resistors as it was mentioned in issues/30... i will try internal pullups a bit late, but may be you're right saying "you have to change this pin between modes when switching from writing to reading and back"...
so, again, this hw design awful...

so... i've compiled @aFewBits fork... add P5_5, unflip 3d display, disconnect buttons from ligth and temp probe - and now it works just fine... temp show wrong value, but all other works... buttons should be disconnected...

burn P1_0, so i resolder thermistor to P1_4
reconnect buttons to P1_2(S2) & P1_3(S1)
also, i somehow kill my ds1302... replaced
now... with fw from @aFewBits repo ALL works as it suppose to work!
@zerog2k i don't want to do any modifications for key handling, it's rather easy to reconnect buttons to other pins, but maybe i'll try to fix or understand difference in ds1302 handling
@Kobbe1 i can build firmware for this hw but from @aFewBits repo, it's good, it works... but you will have to reconnect buttons to other pins. maybe we can/should create issuie in @aFewBits repo and continue discussion there.

@aleksey-ru52  Great!
What is the deal with the other repo, is this a fork of this one here? But for a different hardware?
I certainly will rewire the 3 connections, is there anything else I need to configure in software? @aFewBits does not seem to have a hwconfig file so I guess it will just work as is?

No quite so. It's a bit different clock design. But it's good too.
All configuration is done through global.h, but settings are quite the same.

you need to add 1 string to stc15.h (in this repo too) - it's for connections with ds1302:
__sbit __at (0xCD) P5_5;
you need to configure global.h, main things is:
#define DIGIT_3_FLIP FALSE // because it's not flipped in hw design
and you need to configure on of existed "sets" to work with this hw, i used BOARD_BLUE_6 and deleted all other.
i attach files - use them as you wish.
It's my config, you should change S1 and S2 pins to which you resolder buttons, i use P1_2 & P1_3, all other settings should be fine.
And you should flash with command like, the main thing is 22184:
./stcgal.py -p /dev/ttyUSB0 -P auto -t 22184 main.hex
stc15.h.gz
global.h.gz

Thanks!
Re: 3 connections - you said you reconnected 2 buttons and the thermistor. But I understand now you only did that as you burnt P1_0 so I wont need that.
Will try it out on the weekend if my family lets me :)
Thanks again.

@zerog2k i've try to pull-up ds1302 lines - doesn't work
i don't know is it "bad" rtc ic, or something else
i've try to connect this rtc ic to clone arduino pro mini without any pull-ups: two rtc libs - one lib works, other not
any suggestions/thoughts?

@Kobbe1 you can try to build from this repo:

make the same changes to stc15.h i explained above
exchange ds1302.c with attached to this post, you can make diff to see difference
make change in led.h, to unflip 3rd element:

                   tmp=ledtable2[tmpbuf[2]]; if (dot2) tmp&=0x7F; dbuf[2]=tmp; }

                   tmp=ledtable[tmpbuf[2]]; if (dot2) tmp&=0x7F; dbuf[2]=tmp; }

tune hwconfig.h
stc15.h.gz
ds1302.c.gz
led.h.gz
hwconfig.h.gz

well, it's a kinda strange, but build from from this repo with modified ds1302.c does not read time/date from rtc after power loss...
read settings - alarm, chime... but not time/date itself... i don't understand why... it's timing or lines problem, dont's sure... the thing is this function works fine, otherwise clock will not work at all, but at start up something goes wrong...

put ds_readburst() just after ds_init() now it reads time from ds after power off, but it's quick workaround, not solution
    // init rtc
    ds_init();
    ds_readburst();
    // init/read ram config
    ds_ram_config_init();

@aleksey-ru52 Just tested this from this repo and your above workaround, worked fine.
Temperature is off, will take a look but not important.


Pressing marker slides a navigation and a google maps button on to the map

I had to re-add my plugin today and now I'm getting new behavior and I hope that there is some map or marker option to disable it. It happens when a marker is pressed. It hides if I press anywhere else on the map.  It might be undocumented because I'm not seeing it anywhere.

If you use the plugin v2, there is the mapToolbar option to disable it. No option for the plugin v1.
https://github.com/mapsplugin/v2.0-demo/blob/15be5b34f87b465f6b4420c7eb18d49d370dcee5/www/Map/setOptions.html#L51

The tool bar comes from the native api.

Thank you so much for your assistance.

:)


silentCheckSsoRedirectUri breaks react behaviour in Gatsby project

Describe the bug
Enabling silentCheckSsoRedirectUri option in very basic Gatsby project breaks react's expected behaviour in a way, that all child components which are using useContext or withKeycloak won't ever get updated properties.
To Reproduce
Steps to reproduce the behavior:

I've created repo to reproduce the issue here (infrastructure isn't included)
Configure keycloak
Open localhost:8000
'getting ready...' will never disappear

Expected behavior
State is expected to be updated after keycloak initialized
Desktop (please complete the following information):

OS: macOS catalina 10.15.1
Browser chrome
Version 79

Additional context
Without silentCheckSsoRedirectUri everything works as expected.
Also problem isn't occuring in simple CRA project.

Hi @orelmax ,
I opened a PR to your demo to fix the reported issue.
Since no change is required to react-keycloak itself, I'm going to close this issue.
If you need further help just comment the linked PR.

@panz3r thanks a lot for pointing out to this solution!


[OWL-ViT] Finetuning 'Could not find parameter named "scale"'

Hello
Thank you for the great work!
I have tested evaluation, and training, but got exception on finetuning.
It seems some inconsistency between clip weights in checkpoint and flax version.  Maybe you can provide pip freeze from the system where you have tested finetuning?
Traceback (most recent call last):
File "/usr/lib/python3.8/runpy.py", line 194, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/usr/lib/python3.8/runpy.py", line 87, in _run_code
exec(code, run_globals)
File "/workspace/scenic/projects/owl_vit/main.py", line 47, in
app.run(main=main)
File "/workspace/scenic/app.py", line 65, in run
app.run(functools.partial(_run_main, main=main))
File "/usr/local/lib/python3.8/dist-packages/absl/app.py", line 312, in run
_run_main(main, args)
File "/usr/local/lib/python3.8/dist-packages/absl/app.py", line 258, in _run_main
sys.exit(main(argv))
File "/workspace/scenic/app.py", line 100, in run_main
main(rng=rng, config=FLAGS.config, workdir=FLAGS.workdir, writer=writer)
File "/workspace/scenic/projects/owl_vit/main.py", line 37, in main
trainer.train(
File "/workspace/scenic/projects/owl_vit/trainer.py", line 388, in train
train_state, t_metrics = train_step_pmapped(train_state, train_batch)
File "/workspace/scenic/projects/owl_vit/trainer.py", line 114, in train_step
grad, metrics = jax.vmap(grad_fn, 0)(inp)
File "/workspace/scenic/projects/owl_vit/trainer.py", line 98, in grad_fn
(, metrics), grad = compute_gradient_fn(train_state.params)
File "/workspace/scenic/projects/owl_vit/trainer.py", line 87, in loss_fn
predictions = flax_model.apply(
File "/workspace/scenic/projects/owl_vit/models.py", line 150, in call
feature_map = self.image_embedder(inputs, train)
File "/workspace/scenic/projects/owl_vit/models.py", line 109, in image_embedder
image_features, _ = self._embedder(images=images, train=train)
File "/workspace/scenic/projects/owl_vit/layers.py", line 172, in call
img_emb, txt_emb = model(
File "/workspace/scenic/projects/owl_vit/clip/layers.py", line 489, in call
x = self.encode_image(image, normalize, deterministic=deterministic)
File "/workspace/scenic/projects/owl_vit/clip/layers.py", line 466, in encode_image
x = self.visual(image, deterministic=deterministic)[0]
File "/workspace/scenic/projects/owl_vit/clip/layers.py", line 345, in call
x = feature_map = Transformer(
File "/workspace/scenic/projects/owl_vit/clip/layers.py", line 296, in call
x = ResidualAttentionBlock(
File "/workspace/scenic/projects/owl_vit/clip/layers.py", line 264, in call
xn = LayerNorm(name='ln_2')(x)
File "/usr/local/lib/python3.8/dist-packages/flax/linen/normalization.py", line 334, in call
return _normalize(
File "/usr/local/lib/python3.8/dist-packages/flax/linen/normalization.py", line 142, in _normalize
scale = mdl.param('scale', scale_init, reduced_feature_shape,
flax.errors.ScopeParamNotFoundError: Could not find parameter named "scale" in scope "/backbone/clip/visual/transformer/resblocks.0/ln_2". (https://flax.readthedocs.io/en/latest/api_reference/flax.errors.html#flax.errors.ScopeParamNotFoundError)
Mine pip freeze
pip_freeze.txt

Found the same issue.
Not sure if this is the cause, but in this line https://github.com/google-research/scenic/blob/main/scenic/projects/owl_vit/trainer.py#L271 the model keys are changed from ln_1 and ln_2 to ln_0  and ln_1. @mjlm do you think this could the the reason? I'm not well-versed in flax yet, so not sure what's going on behind the scenes when we do model.flax_model.bind({}).load(...

Hi there! @mjlm I'm unfortunately still facing the same issue that the parameter scale was not found. Any ideas why this could be the case?

Hello,
I just started working with this codebase and am seeing this error when trying to finetune.
Has anyone been able to come up with a solution?

Please try again after #651 is in.


Gradient for tf.diag

tf.diag doesn't support the gradient (as far as I can see here https://github.com/tensorflow/tensorflow/blob/master/tensorflow/python/ops/array_grad.py#L161)
Is it difficult to add support for that?
Thank you
Some simple example:
tSv = tf.Variable(tf.truncated_normal([r]))
t = tf.diag(tSv)
train = tf.train.GradientDescentOptimizer(0.01).minimize(t)

sess = tf.Session()
init = tf.initialize_all_variables()
sess.run(init)
sess.run(train)
...
---------------------------------------------------------------------------
ValueError                                Traceback (most recent call last)
<ipython-input-96-28cf62ca1be1> in <module>()
      1 tSv = tf.Variable(tf.truncated_normal([r]))
      2 t = tf.diag(tSv)
----> 3 train = tf.train.GradientDescentOptimizer(0.0001).minimize(t)
      4
      5 sess = tf.Session()
ValueError: No inputs provided

Note quite sure what do you mean by minimizing a matrix t in your example.
If you want to optimize for matrix trace, there's a workaround.
I do agree that it would be great to support gradient on tf.diag.
`import tensorflow as tf
import numpy as np
with tf.Graph().as_default():
Y = np.random.rand(3,3).astype(np.float32)
X = tf.Variable(np.random.rand(3,3).astype(np.float32))
Z = tf.matmul(X,Y)
ones = np.ones(3).astype(np.float32)
eye = tf.diag(ones)

loss = tf.reduce_sum(tf.mul(Z, eye))
optimizer = tf.train.AdagradOptimizer(0.01).minimize(loss)
sess = tf.Session()
sess.run(tf.initialize_all_variables())
with sess.as_default():
    for i in range(100):
        sess.run(optimizer)
        print sess.run(loss)
        print X.eval()`

Thank you very much, @cameronphchen! This is a very nice workaround which is worth mentioning in the documentation. I am new to tensorflow and it took me a while to realise that derivative on diag is not implemented.
Thanks again for your help, this resolves my issue.

Once https://github.com/tensorflow/tensorflow/pull/1265 is in place this becomes very easy to fix.

I should have the python code implementation (which is like 2 lines).  I'll need to add tests though.

@girving Yes, I have been following that thread. It would be great to add matrix trace operator as well! I can help with these when #1265 is done.

@chemelnucfin Oh, that's great! Let me know if you need an extra hand.

@cameronphchen feel free to work on them!  But do the trace first.  I'm taking a look at something else at the moment.  I'll put a note here when I get back to the diag grad test.

sounds good! I'll work on trace then.

I have implemented trace and planning to start working on its gradient. The current approach is essentially using reduce_sum and diag_part for calculating trace. This behavior will be consistent within tensorflow but quite different from numpy.trace though. numpy.trace output trace of 2D subarrays specified by two input arguments axis1 and axis2. Is this going to be an issue?
Btw, this is my first time contributing to tensorflow, any guidance or suggestion would be appreciated. Thanks!


Inconsistent assetsBuildDirectory path in "build/server/assets/server-build-[hash].js" while nested building in Windows

Describe the bug
The assetsBuildDirectory path inside "build/server/assets/server-build-[hash].js" is not consistent with other path formats in the same file when building in Windows.
In Windows, when using buildDirectory: 'build/subdir' and buildDirectory: 'build\\subdir' will both generate a build at "build/server/assets/server-build-[hash].js" that contains:
//...
const mode = "pre-prod";
const assetsBuildDirectory = "artifacts\\test\\client";
const basename = "/";
//...

All other folder separators are correct, except assetsBuildDirectory . This breaks builds done in Windows that are then transferred to a Linux machine for deploy in Azure.
Reproduction
Can't reproduce in view.new unfortunately
Steps to reproduce
-Grab a project with a vite.config.js.
-Build in Windows with buildDirectory: 'build/subdir' then with buildDirectory: 'build\\subdir'
-Both "build/server/assets/server-build-[hash].js" builds generate the same "assetsBuildDirectory" which is correct in Windows, but not in Linux.
-I would expect: The "assetsBuildDirectory" to have "/".
System Info
System:
    OS: Windows 10 10.0.19045
    CPU: (12) x64 AMD Ryzen 5 3600 6-Core Processor
    Memory: 7.72 GB / 15.95 GB
  Binaries:
    Node: 20.13.1 - C:\Program Files\nodejs\node.EXE
    Yarn: 1.22.22 - ~\AppData\Roaming\npm\yarn.CMD
    npm: 10.5.2 - C:\Program Files\nodejs\npm.CMD
    pnpm: 9.4.0 - ~\AppData\Roaming\npm\pnpm.CMD
  Browsers:
    Edge: Chromium (128.0.2739.79)
    Internet Explorer: 11.0.19041.4355

Used Package Manager
npm
Logs
No response
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Make sure this is a Vite issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to vuejs/core instead.
[X] Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
[X] The provided reproduction is a minimal reproducible example of the bug.

I guess assetsBuildDirectory is an option in remix and not Vite. Please make the issue in remix-run/remix.


PR: Update Jedi requirement to 0.15.2

That version works correctly with Parso 0.5.2, so there should be no harm in updating to it.
Fixes #11150.

When I install spyder 4.1.1 using conda, I get a dependencies error related to jedi after spyder startup, because conda solved the dependencies such that jedi=0.14.1. When I try to force jedi=0.15.1 I get:

conda install jedi=0.15.2
Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: done
Package Plan
environment location: C:\Miniconda3\envs\default
added / updated specs:
- jedi=0.15.2
The following packages will be downloaded:
package                    |            build
---------------------------|-----------------
jedi-0.15.2                |           py37_0         738 KB
spyder-3.3.6               |           py37_0         2.3 MB
spyder-kernels-0.5.2       |           py37_0          71 KB
------------------------------------------------------------
                                       Total:         3.1 MB

The following packages will be UPDATED:
ca-certificates    conda-forge::ca-certificates-2019.11.~ --> pkgs/main::ca-certificates-2020.1.1-0
jedi                      conda-forge::jedi-0.14.1-py37_0 --> pkgs/main::jedi-0.15.2-py37_0
The following packages will be SUPERSEDED by a higher-priority channel:
certifi            conda-forge::certifi-2019.11.28-py37h~ --> pkgs/main::certifi-2019.11.28-py37_0
openssl            conda-forge::openssl-1.1.1e-hfa6e2cd_0 --> pkgs/main::openssl-1.1.1e-he774522_0
spyder             conda-forge::spyder-4.1.1-py37hc8dfbb~ --> pkgs/main::spyder-3.3.6-py37_0
spyder-kernels     conda-forge::spyder-kernels-1.9.0-py3~ --> pkgs/main::spyder-kernels-0.5.2-py37_0
Proceed ([y]/n)?

Maybe I am wrong (newbie), but this looks to me as if there is dependency conflict indirectly caused by spyder 4.1.1?

When I install spyder 4.1.1 using conda

This version is still not available in Anaconda, so I don't understand what you mean by this.

But spyder was updated to 4.1.1 today when I did conda update spyder:

conda list spyder
packages in environment at C:\Miniconda3\envs\default:
Name                    Version                   Build  Channel
spyder                    4.1.1            py37hc8dfbb8_0    conda-forge
spyder-kernels            1.9.0            py37hc8dfbb8_0    conda-forge

I see, you're using conda-forge. Then your error is a duplicate of #11879. New packages with a fix are being generated right now.

@ccordoba12 Hello, I encountered the same problem, and I want to know how can I solve this problem?


sql: improve historical descriptor look up efficiency

https://github.com/cockroachdb/cockroach/pull/71239 --- Release note (performance improvement): improve efficiency of looking up old historical descriptors.

Closing - I don't think docs are needed here.


Status Words

These will be for all transactions so they have to be general:

I/O
Word 1 (Control / Status)

B1 B2 B3 B4 B5 B6 B7 B8

CO

0x01
RESERVED
0bPONM_LKJI
0bHGFE_DCBA
dda_ticks

CI

Status word is TBD
Status word is TBD
Status word is TBD
Status word is TBD
Status word is TBD
Status word is TBD
Status word is TBD
Number of available buffer spaces

We have a status register now that is an alternative solution to this. We can still add status words as part of the header transaction over SPI, but it is a special case, and not strictly required for our needs.


Add support for injected loggers (for #43)

This patch for #43 adds ability to use an external logger in the options.logger property. SyncedCron still defaults to Meteor's logging package.
I also took the liberty of adding a config method to SyncedCron, in order for users to accidentally overwrite the whole options object with defaults.
The injected logger should be a function which takes an object:
MyLogger = function(opts) {
   console.log(opts.level);
   console.log(opts.tag + ': ' + opts.message);
};

SyncedCron.config({
   logger: MyLogger
});

SyncedCron.add(/* ... */);
SyncedCron.start();

The opts object passed to the logger consists of:

level - info, warn, error, debug.
message- The message.
tag - SyncedCron, for having as a filter, or similar.

This way users can tailor their logger function to send logs any other output if they'd like.
What I couldn't solve was tests. I wanted something like this:
Tinytest.add('SyncedCron can log to injected logger', function(test) {
  SyncedCron._reset();
  var called = false;

  // Simple spy.
  var logger = function() {
    called = true;
  }

  SyncedCron.options.logger = logger;

  SyncedCron.add(TestEntry);
  SyncedCron.start();

  test.equal(called, true);  // SyncedCron.options.logger is still null here.
  SyncedCron.options.logger = null;
});

Thoughts? I think it is the fact that much of the logic in the package is in a Meteor.startup wrapper. Is TinyTest waiting for all Meteor.startup routines to run? The logger relies on the internal startup to run, and thus the test might "run too fast".

@johanbrook thanks for a great PR. Indeed there is a race condition there. My suggestion would be to use TinyTests's addAsync function and create an asynchronous test. The spy would then be an async function that calls onComplete for the test.
Also, could you please update the docs as part of the PR.
Thanks again.

@zol Fixed async tests, but discovered the core issue was in the createLogger logic :) Silly me forgot that the returned function will survive its closure where I had saved SyncedCron.options to a variable, which will be invalid when options are configured later on.
All done!

Thanks again @johanbrook . Release as version 1.2.0

:boom: Thanks for merging!


Use a linter that follows R core guidelines

Currently the linter in VS code shows the indentation in R/trunsrc/utils/ as being incorrect.
Ideally we would have a linter that does not complain about existing R code in base R, since R Core do not want changes in a patch that are just altering the style.
To investigate: What linter is currently used? Is it https://cran.r-project.org/web/packages/lintr/index.html? Can we adapt it?
Note that relying on an add-on package presents similar issues as discussed in #25.

Yes, the linting is done with lintr via languageserver and we can customise it: https://github.com/REditorSupport/vscode-R/wiki/Code-linting.

We can configure the lintr options via a .lintr file (a relevant screenshot from the lintr vignette is below). That gives us options for changing the settings if they deviate from best practice for the R source code.

I had a look at an example file from the R sources (http://svn.r-project.org/R/trunk/src/library/stats/R/anova.R), where the current linter shows many issues. I could customise the linter a little bit to make some of these issues go away, but some issues were unresolvable, e.g.

open curly brace on its own line (not one of the options in https://lintr.r-lib.org/reference/brace_linter.html)
tabs instead of spaces for indent
no space after comma
closing bracket on new line
mix of hanging and block indentation, or inconsistent number of spaces in indents
Part of the problem is that even within one function, different conventions may be used. Contributors should not make stylistic changes to lines of code that they are not changing, so all the linter errors are a distraction.

So I think it is better for us to turn the linter off. This can be done by changing the setting "r.lsp.diagnostics" to false.
(c.f. https://stackoverflow.com/questions/68858490/disable-r-linting-in-vscode).
If you do this in an active codespace, you need to restart to see the effect. Hopefully we can make this the setting from the start, I think we are already changing some settings in the container.

The linter was disabled in v0.2 and screenshots have since been updated so no longer show linting problems.


Update LibUV example

This example works with inproc but I still have no idea why.
Poll start works after call has_event which should return false.
Check out this basic examle

The ØMQ project » lzmq #73 SUCCESS
This pull request looks good
(what's this?)


GroupBy.size is broken for OmniSci backend

System information

Modin version (modin.__version__): 7c3218f
Python version: 3.7.5
Code we can use to reproduce:

import os
os.environ["MODIN_EXPERIMENTAL"] = True
os.environ["MODIN_BACKEND"] = "omnisci"

import modin.pandas as pd

df = pd.DataFrame({"col1": ["a", "b", "b"], "col2": [1, 2, 3]})
grp = df.groupby("col1")
print(grp.size()) # Error

Traceback
Traceback (most recent call last):
  File "rofl.py", line 5, in <module>
    print(df.groupby("col1").size()) # Error
  File "/localdisk/dchigare/repos/modin_bp/modin/pandas/base.py", line 2807, in __str__
    return repr(self)
  File "/localdisk/dchigare/repos/modin_bp/modin/pandas/series.py", line 254, in __repr__
    temp_df = self._build_repr_df(num_rows, num_cols)
  File "/localdisk/dchigare/repos/modin_bp/modin/pandas/base.py", line 152, in _build_repr_df
    if len(self.index) == 0 or (
  File "/localdisk/dchigare/repos/modin_bp/modin/pandas/base.py", line 2836, in __getattribute__
    return object.__getattribute__(self, item)
  File "/localdisk/dchigare/repos/modin_bp/modin/pandas/base.py", line 510, in _get_index
    return self._query_compiler.index
  File "/localdisk/dchigare/repos/modin_bp/modin/experimental/backends/omnisci/query_compiler.py", line 334, in _get_index
    return self._modin_frame.index
  File "/localdisk/dchigare/repos/modin_bp/modin/experimental/engines/omnisci_on_ray/frame/data.py", line 1137, in _get_index
    self._execute()
  File "/localdisk/dchigare/repos/modin_bp/modin/experimental/engines/omnisci_on_ray/frame/data.py", line 1010, in _execute
    self._op, self._index_cols, self._dtypes, self._table_cols
  File "/localdisk/dchigare/repos/modin_bp/modin/experimental/engines/omnisci_on_ray/frame/partition_manager.py", line 176, in run_exec_plan
    curs = omniSession.executeRA(cmd_prefix + calcite_json)
  File "/localdisk/dchigare/repos/modin_bp/modin/experimental/engines/omnisci_on_ray/frame/omnisci_worker.py", line 64, in executeRA
    r = cls._server.executeRA(query)
  File "dbe.pyx", line 196, in dbe.PyDbEngine.executeRA
RuntimeError: expressions in ELSE clause must be of the same or compatible types as those in the THEN clauses.

Describe the problem
The caused exceptions just hides the original problem, we see this error because of fillna call for the result of groupby (this line). If we'll remove fillna and run the code above again we'll see the cause of that exception:
modin result:
col1
a    a
b    b
Name: __reduced__, dtype: category
dtype: category
Categories (2, object): ['a', 'b']

pandas result:
col1
a    1
b    2
dtype: int64

Instead of returning the group sizes it just returns us the name of groups. GroupBy size implementation at omnisci backend is similar to df.groupby(by).agg({df.columns[0]: "size"}). Futher experiments revealed this behaviour:
df.groupby("col1").agg({"col2": "size"}) # works fine
df.groupby("col1").agg({"col1": "size"}) # don't works fine

So it seems, that attempt to aggregate the same column that we're grouping on becomes an issue here, and since we're dropping all the other columns instead of by-cols at groupby.size at the API level, it crashes all the time.

this is a blocker for #1294


fixed map reloads

Move javascript_include_tag (Sprockets) into head as well as CartoDB script, and used new CoffeeScript syntax for Turbolinks removing the constant reloading issue.

this is working for me. Merging.


Re-groups enrollments in the program drawer and adds tags back to enrollments

This is a re-do of the prior PR for this  - see that for details; forgoing the normal template because of that. (I'm reopening this with no code changes because the prior merge went away somehow.)

Codecov Report

Merging #1212 (9092d1e) into main (d1b67fd) will decrease coverage by 0.14%.
The diff coverage is 56.33%.

@@            Coverage Diff             @@
##             main    #1212      +/-   ##
==========================================
- Coverage   84.28%   84.14%   -0.15%
==========================================
  Files         296      296
  Lines       11536    11597      +61
  Branches      791      797       +6
==========================================
+ Hits         9723     9758      +35
- Misses       1591     1615      +24
- Partials      222      224       +2

Impacted Files
Coverage Δ

...end/public/src/components/EnrolledItemCard_test.js
96.49% <ø> (ø)

...d/public/src/components/ProgramEnrollmentDrawer.js
11.76% <5.88%> (-1.88%)
:arrow_down:

...end/public/src/components/ProgramCourseInfoCard.js
14.28% <11.11%> (-5.72%)
:arrow_down:

frontend/public/src/lib/courseApi.js
90.24% <50.00%> (-6.90%)
:arrow_down:

courses/serializers.py
89.39% <77.77%> (-0.85%)
:arrow_down:

courses/models.py
89.53% <100.00%> (+0.64%)
:arrow_up:

frontend/public/src/components/EnrolledItemCard.js
58.00% <100.00%> (+1.29%)
:arrow_up:

ecommerce/models.py
85.83% <0.00%> (-0.56%)
:arrow_down:

ecommerce/views/v0/__init__.py
90.00% <0.00%> (-0.42%)
:arrow_down:

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


Mapping spring legacy props

Map legacy spring properties of KeyVault, Cosmos and Storage to the current ones. The mapping relationship is recorded in file sdk/spring/azure-spring-cloud-autoconfigure/src/main/resources/legacy-property-mapping.properties.
Implemented by using an EnvironmentPostProcessor to convert all legacy properties detected from the environment to the associtaed current ones, and then put them into environment.
When Key Vault secret starter is used, the predeing processor will be executed again after KeyVaultEnvironmentPostProcessor to convert legacy properties load from Key Vault if exist.

/azp run java - spring - tests

@stliu please help to review this pr when you are available, thanks

/azp run java - spring - tests

/azp run java - spring - tests

/azp run java - spring - tests

/check-enforcer override


Remove panic!s from builtin contract.

What
Remove panic!s from builtin contract.
Why
Host shouldn't panic
Known limitations
N/A

Sorry for the breakages, this should be ready to merge now


Need proxy label

Hello guys.
Could we add proxy labels for this driver?
It will be a nice feature.
I am trying understand our code.
Thank you.

This can achieve by add openstack user-config when we launch instances. Could you give some keywords to code this function. I cannot  find location which I inspect this option.

@ngyenhuukhoi do you mean you want the VMs to be created would have an HTTP proxy configured on them? (Curious if @jrosser is interested by it)

yes, it looks like we cannot deploy magnum cluster under proxy. I have to add http proxy for containerd to images first.

I did a bunch of work to the heat driver in the past to support deployment of workload clusters behind a proxy server.
That said, I've not looked at this at all for magnum-cluster-api and whilst I can use a local registry to prove that the workload cluster deployment is successful behind a proxy this fairly obviously leaves users with a functional but unusable cluster.

Hello.
Does insecure registry still can use with this driver?

@mnaser I think that this issue needs re-opening.
A systemd drop-in for containerd which sets http/https_proxy environment, potentially also no_proxy for anything specified in container_infra_prefix will likely get things to the point where a workload cluster deployment will succeed behind an https proxy.
With certainty, the most wrong thing to do would be set proxy environment vars in /etc/environment, as this breaks absolutely everything about the cluster networking.

Hello. Any updates on this.

@nguyenhuukhoi this has been fixed by #281 thanks to @andrewbonney ! :)

Thank you very much.
On Mon, Apr 1, 2024, 3:27 AM Mohammed Naser @.***>
wrote:

@nguyenhuukhoi https://github.com/nguyenhuukhoi this has been fixed by
#281 https://github.com/vexxhost/magnum-cluster-api/pull/281 thanks to
@andrewbonney https://github.com/andrewbonney ! :)
—
Reply to this email directly, view it on GitHub
https://github.com/vexxhost/magnum-cluster-api/issues/258#issuecomment-2028896605,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADRLKQKYNPX7KEDPAWWRWC3Y3BWSPAVCNFSM6AAAAAA7YTPE6CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMRYHA4TMNRQGU
.
You are receiving this because you were mentioned.Message ID:
@.***>


Is it possible to customize print options?

What exactly I mean is, can I change page orientation and paper size in the print window setting through material UI options so that I can display total columns instead of scroll.
Below is the image

If it is possible can you please suggest the code to customize?
Thanks in advance.

how is the solution? How you can resolve this.

This SO may be of some help: https://stackoverflow.com/questions/26777317/printing-html-table-with-many-columns-rows-using-css-layout.
Ultimately, you probably want to use the setting responsive: stacked if printing is important to you, as this transforms the flow of the table into something where every column will fit, since they will be displayed vertically.

It would be nice if you add printing options, so you can select the view of how the info is going to be printed. Not only print option for columns.

How do I add title in datatable print?

How do I add title in datatable print?

I am looking for this too.


Nextcloud scan broken

I installed newest images from docker, on fresh server and nextcloud scan is not working.
Logs:
2020-12-12 17:01:05,131 : directory_watcher.py : isValidMedia : 20 : ERROR : Following image throwed an exception: /Folder/Second_Folder/
Traceback (most recent call last):
  File "/code/api/directory_watcher.py", line 17, in isValidMedia
    filetype = magic.from_file(p, mime=True)
  File "/miniconda/lib/python3.8/site-packages/magic.py", line 153, in from_file
    return m.from_file(filename)
  File "/miniconda/lib/python3.8/site-packages/magic.py", line 95, in from_file
    with open(filename):
FileNotFoundError: [Errno 2] No such file or directory: '/Folder/Second_Folder/'

2020-12-12 17:01:33,176 : directory_watcher.py : isValidMedia : 20 : ERROR : Following image throwed an exception: /Folder/Second_Folder/18-09-21 07-51-50 0959.jpg
Traceback (most recent call last):
  File "/code/api/directory_watcher.py", line 17, in isValidMedia
    filetype = magic.from_file(p, mime=True)
  File "/miniconda/lib/python3.8/site-packages/magic.py", line 153, in from_file
    return m.from_file(filename)
  File "/miniconda/lib/python3.8/site-packages/magic.py", line 95, in from_file
    with open(filename):
FileNotFoundError: [Errno 2] No such file or directory: '/Folder/Second_Folder/18-09-21 07-51-50 0959.jpg'

Local scan is working

I created a new image.  It should work now. If it does close the issue :)

Well, pulled new image, started container and same as before, instant "job finished"
2020-12-13 10:43:40,465 : image_similarity.py : build_image_similarity_index : 28 : INFO : builing similarity index for user USER1
2020-12-13 10:43:40,472 : image_similarity.py : build_image_similarity_index : 28 : INFO : builing similarity index for user USER2
2020-12-13 10:43:40,476 : image_similarity.py : build_image_similarity_index : 28 : INFO : builing similarity index for user USER3
2020-12-13 10:43:40,480 : image_similarity.py : build_image_similarity_index : 28 : INFO : builing similarity index for user USER4
2020-12-13 10:45:12,512 : directory_watcher.py : scan_photos : 59 : INFO : Downloaded photo from nextcloud to /data/nextcloud_media/FOLDER/FOLDER2/FOLDER3/
2020-12-13 10:45:12,512 : directory_watcher.py : scan_photos : 59 : INFO : Downloaded photo from nextcloud to /data/nextcloud_media/FOLDER/FOLDER2/FOLDER4/
2020-12-13 10:45:12,512 : directory_watcher.py : scan_photos : 59 : INFO : Downloaded photo from nextcloud to /data/nextcloud_media/FOLDER/FOLDER2/FOLDER5/
2020-12-13 10:45:12,520 : directory_watcher.py : scan_photos : 75 : INFO : begin handling of photo 1/3
2020-12-13 10:45:12,520 : directory_watcher.py : scan_photos : 97 : ERROR : [Errno 21] Is a directory: '/data/nextcloud_media/FOLDER/FOLDER2/FOLDER3/'
Traceback (most recent call last):
  File "/code/nextcloud/directory_watcher.py", line 76, in scan_photos
    handle_new_image(user, image_path, job_id)
  File "/code/api/directory_watcher.py", line 31, in handle_new_image
    if isValidMedia(open(image_path,"rb").read(2048)):
IsADirectoryError: [Errno 21] Is a directory: '/data/nextcloud_media/FOLDER/FOLDER2/FOLDER3/'
2020-12-13 10:45:13,696 : views.py : list : 840 : INFO : querying & serializing took 0.01 seconds
2020-12-13 10:45:20,557 : views.py : list : 840 : INFO : querying & serializing took 0.01 seconds

Alright. I created a new image.  It should work now. If it does close the issue :)


[SPARK-50641][SQL] Move GetJsonObjectEvaluator to JsonExpressionEvalUtils

What changes were proposed in this pull request?
The pr aims to move GetJsonObjectEvaluator to JsonExpressionEvalUtils.
Why are the changes needed?
Make code clearly.
Does this PR introduce any user-facing change?
No.
How was this patch tested?

Pass GA
Manually test.

Was this patch authored or co-authored using generative AI tooling?
No.

cc @cloud-fan

Thanks for the review, merging to master !


Fixes the compliation error of run_property_ctx and addresses some lint errors

What do these changes do?
as titled.

Codecov Report

Merging #1974 (585360f) into main (15fdf2f) will decrease coverage by 8.89%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main    #1974      +/-   ##
==========================================
- Coverage   43.93%   35.04%   -8.90%
==========================================
  Files          89       89
  Lines        9820     9820
==========================================
- Hits         4314     3441     -873
- Misses       5506     6379     +873

Impacted Files
Coverage Δ

...aphscope/tests/kubernetes/test_resource_builder.py
0.00% <0.00%> (-100.00%)
:arrow_down:

...on/graphscope/tests/kubernetes/test_demo_script.py
0.00% <0.00%> (-91.75%)
:arrow_down:

python/graphscope/deploy/kubernetes/utils.py
11.90% <0.00%> (-58.58%)
:arrow_down:

python/graphscope/deploy/kubernetes/cluster.py
23.19% <0.00%> (-50.96%)
:arrow_down:

...thon/graphscope/tests/kubernetes/test_with_mars.py
0.00% <0.00%> (-44.83%)
:arrow_down:

python/graphscope/interactive/query.py
41.12% <0.00%> (-38.71%)
:arrow_down:

python/graphscope/dataset/ldbc.py
35.29% <0.00%> (-35.30%)
:arrow_down:

python/graphscope/dataset/modern_graph.py
35.29% <0.00%> (-35.30%)
:arrow_down:

python/graphscope/client/archive.py
35.84% <0.00%> (-28.31%)
:arrow_down:

...n/graphscope/deploy/kubernetes/resource_builder.py
30.59% <0.00%> (-25.95%)
:arrow_down:

... and 13 more

Continue to review full report at Codecov.

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


Add UNICAMP (BR)

Adds UNICAMP (https://unicamp.br), which uses @g.unicamp.br e-mails for students.
Official website: https://unicamp.br
Courses page: https://www.comvest.unicamp.br/cursos/

e.g.: Computer Science: https://www.comvest.unicamp.br/cursos/curso-ciencia-da-computacao/

Link to the student e-mail system: https://www.dac.unicamp.br/portal/acesso/estudantes

@dcominottim I am sorry, the domain g.unicamp.br is removed from our trusted domains list because it was abused in the past. If you are the student of this school, please enroll to GitHub Student Developer Program. Then apply for JetBrains educational subscription with your GitHub account (GitHub tab at https://www.jetbrains.com/shop/eform/students).


Tool: Add dialog for entering mandatory settings

The "company" setting is best set using a mandatory dialog after metadata is read from the database. Some other settings could also be shown in this dialog.

I disagree. We want to be able to get to the "Generate Code" with as few clicks as possible. Many first time users don't care what package name they get, and if they care, they have invested enough time for it to feel okay to go back and change. Adding an extra step for every first time user will make the tool feel slower to work with.


Add option to build shared library with cmake

The shared library build correspond to the build rules in bazel for shared library.

Hi @robert-kalmar Can you please rebase your branch and resolve the conflicts? Thank you!

Hi @robert-kalmar Can you please resolve the conflicts? Thank you!

Hi @robert-kalmar Can you please resolve the conflicts? Thank you!

Hi @robert-kalmar Can you please resolve the conflicts? Thank you!

Hi @robert-kalmar, Can you please resolve the conflicts? Thank you!


Detect non digital resources

since we use the main catalogue we sometimes match resources which aren't available to download on Gallica.
There are 2 solutions to this:

use a search limited to downloadable stuff
notice when we fail for this reason and report that the resource isn't available online

A variant of 2. would be to try downloading the nearest match.  But the BNF's catalogue is extremely good and the chances of duplication are pretty slim.
I propose adopting 1.

Can we move to a more general catalogue api?


fix/#407 the value in values.yml can be set to empty

Related issue: https://github.com/networknt/light-4j/issues/407

@ddobrin Sounds great! 👍 I already changed to what you suggested. Also, a test case is added to test null value scenario.


Question : Best way to implement in actual SFDX project ?

Hi, first of all, thanks for this wonderful library !
We've played with it in a scratch org, and are now looking at the cleanest way to use it within our SFDX packages.
What would you recommend as the best way to use it while :

Not deploying all of the examples
Still being able to pull your upstream changes

Would you recommend cloning force-app/main/default in our SFDX repository (Maybe as a git submodule) as a separate package, but adding manually everything that is an example to the .forceignore file ? Or would you have another cleaner way to do so in mind ?
Thanks a lot !

Following up on my previous comment, I managed to do it somewhat cleanly, happy to hear your thoughts, the steps are below
1. Add lwc-utils as a Git submodule :
This will create a utils/lwc-utils folder at the root of the sfdx project.
$ git submodule add https://github.com/tsalb/lwc-utils utils/lwc-utils

2. Register the new package directory
Edit the sfdx-project.json and add an entry to packageDirectories  pointing to the submodule
{
  "packageDirectories": [
    {
      "path": "force-app",
      "default": true
    },
    {
      "path": "utils/lwc-utils/force-app"
    }
  ],
  // ...
}

3. Exclude LWC Utils Examples from push using .forceignore
Append the following snippet to your .forceignore :
# LWC Utils Example Files that need to be ignored
utils/lwc-utils/force-app/main/default/applications
utils/lwc-utils/force-app/main/default/customMetadata
utils/lwc-utils/force-app/main/default/flexipages
utils/lwc-utils/force-app/main/default/flows
utils/lwc-utils/force-app/main/default/lwc/*Example
utils/lwc-utils/force-app/main/default/lwc/lwc*
utils/lwc-utils/force-app/main/default/objects/Account
utils/lwc-utils/force-app/main/default/objects/Contact
utils/lwc-utils/force-app/main/default/tabs
utils/lwc-utils/force-app/main/default/profiles

4. Caveats
profiles/Admin.profile mentions a field created for an example (Contact.Account_Information) so it needs to be ignored, but it's content needs to be reflected into your default org.

Appreciate the kind words!
I have intentionally left out the ability to easily move components to a production environment since this is currently in beta. While I am not opposed to a submodule, I was recently inspired by how rflib handles its packaging as shown here.
I believe restructuring the project root once I move out of beta and producing a base core and with-example unlocked packages should help. ETA should be sometime in SEP hopefully (currently backed up with full time work).
Thoughts?

That sounds perfectly fine! We will proceed this way for the time being. Looking forward to the production release!


fix: check hasEnoughPointsToCreateWallet when close frame

Summary

Add a check for hasEnoughPointsToCreateWallet. When it returns false, return the user to their previous chain switching state.
Related Links

Asana:
Checklist

[x] Pasted Asana link.
[x] Tagged labels.

Prerequisite/Related Pull Requests

https://github.com/blocto/wallet-web-ui/pull/327

fix in #308


Add Theme Juice app

Added Theme Juice, a desktop app for local WordPress development to the app list.

Awesome, thanks!


AN-186 Don't enable Google Batch API in prod yet

In https://github.com/DataBiosphere/terra-resource-buffer/pull/367 we added new pool configurations that enabled the Google Batch API. This was premature for prod, don't create those pools for prod yet.

The revert commit displayed by Github here is the result of a misclick.


d2b1254 (Russell Spitzer, 3 minutes ago)    SPARKC-270: Updated C* Driver Version to 3.0.0-Alpha3

Updated to 3.0 version of the Java Driver. The getIndex call is no longer
valid for ColumnMetdata objects because in 3.0 columns can have multiple
indexes. To accomadate this we now use the list of all indexes in the table
to determine if any have targeted the column in question.
e63d828 (Russell Spitzer, 5 minutes ago)
SPARKC-270: Remove unneccessary merge from build files
We moved this into an earlier branch of the code so i'm removing the
duplicate here.

Build against Scala 2.11 finished with failure

Build against Scala 2.10 finished with success

@RussellSpitzer can you backport it to b1.5? Thanks

@pkolaczk rebased!

Build against Scala 2.11 finished with failure

Build against Scala 2.10 finished with failure


LITE-18055 Added dead letters management commands

@net-free do you have any updates or questions?


updated: simplify the source code

This pull request fixes several issues and simplifies the source code of the riot example

Thanks


Not operable with Node version

It's fully inter-operable with the Node version.

Anyone manage to Seal with Nodejs, and Unseal with this module?
Guess many changes happened over the last 5 years, unsealing the data gives me "Invalid component encoding"
Just trying my luck here.

Nevermind, it's fully working.


[FLINK-14118][runtime]Reduce the unnecessary flushing when there is no data available for flush.

What is the purpose of the change
The purpose of this pr is to reduce unnecessary flushing when there is no data available for flush.
More specifically, when there is exactly one BufferConsumer in the buffer queue of subpartition and no new data will be added for a while in the future (may because of just no input or the logic of the operator is to collect some data for processing and will not emit records immediately), the current implementation will continuously notify data available (may wake up the netty thread), which is unnecessary, and eliminating these unnecessary flush can reduce CPU usage by 20% - 40% for some jobs.
Brief change log

Add new methods to BufferConsumer and CachedPositionMarker to judge if there is new data available for reading.
PipelinedSubpartition does not notify data available if there is no available data to send.

Verifying this change
This change is already covered by existing tests, such as PipelinedSubpartitionTest.
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (yes / no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (yes / no)
The serializers: (yes / no / don't know)
The runtime per-record code paths (performance sensitive): (yes / no / don't know)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Yarn/Mesos, ZooKeeper: (yes / no / don't know)
The S3 file system connector: (yes / no / don't know)

Documentation

Does this pull request introduce a new feature? (yes / no)
If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)

Could you provide at least results of networkThroughput benchmark with 1000,1ms parameters before and after the change?
Also could you either show that this change improves some existing benchmarks or to add a new benchmark to cover for this for the future?

Could you either show that this change improves some existing benchmarks or add a new benchmark to cover for this for the future?

I'd like to add a new benchmark to cover this scenario. Actually, I have added one to verify the problem locally.

Thanks for the update @wsry. Could you update this PR once you add the new benchmark?
nitty nit: benchmark results are more readable on github/Jira if you embed them in the code block like this:
KeyByBenchmarks.arrayKeyBy1MS thrpt 30 1923.863 ± 78.518 ops/ms
KeyByBenchmarks.tupleKeyBy1MS thrpt 30 3377.401 ± 216.982 ops/ms

plus add/remove some extra tabs.

@pnowojski Thanks for your tips. It really helps. I will update the pr later when the benchmark is ready. Currently, there is still some problems.

@pnowojski I have updated the PR and I also opened a PR for the flink-benchmark project. https://github.com/dataArtisans/flink-benchmarks/pull/31

@pnowojski Thanks for your comments. I have separated the benchmark commit into a new pr https://github.com/apache/flink/pull/9850 and some changes were made according to your suggestions. The latest results are as follows.
Before the fix:
Benchmark                                                                  Mode  Cnt     Score      Error   Units
DataSkewStreamNetworkThroughputBenchmarkExecutor.networkSkewedThroughput  thrpt   30  6014.192 ± 1090.448  ops/ms

After the fix:
Benchmark                                                                  Mode  Cnt      Score     Error   Units
DataSkewStreamNetworkThroughputBenchmarkExecutor.networkSkewedThroughput  thrpt   30  18609.481 ± 715.554  ops/ms

The flowing are the whole output of jmh:
Before the fix:
# JMH version: 1.19
# VM version: JDK 1.8.0_152, VM 25.152-b16
# VM invoker: /Library/Java/JavaVirtualMachines/jdk1.8.0_152.jdk/Contents/Home/jre/bin/java
# VM options: -javaagent:/Applications/IntelliJ IDEA CE.app/Contents/lib/idea_rt.jar=56029:/Applications/IntelliJ IDEA CE.app/Contents/bin -Dfile.encoding=UTF-8 -Djava.rmi.server.hostname=<IP_ADDRESS> -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.ssl
# Warmup: 10 iterations, 1 s each
# Measurement: 10 iterations, 1 s each
# Timeout: 10 min per iteration
# Threads: 1 thread, will synchronize iterations
# Benchmark mode: Throughput, ops/time
# Benchmark: org.apache.flink.benchmark.DataSkewStreamNetworkThroughputBenchmarkExecutor.networkSkewedThroughput

# Run progress: 0.00% complete, ETA 00:01:00
# Fork: 1 of 3
# Warmup Iteration   1: 2329.547 ops/ms
# Warmup Iteration   2: 3446.658 ops/ms
# Warmup Iteration   3: 4160.762 ops/ms
# Warmup Iteration   4: 6923.136 ops/ms
# Warmup Iteration   5: 6734.401 ops/ms
# Warmup Iteration   6: 7778.430 ops/ms
# Warmup Iteration   7: 4596.196 ops/ms
# Warmup Iteration   8: 6886.789 ops/ms
# Warmup Iteration   9: 7719.548 ops/ms
# Warmup Iteration  10: 4906.588 ops/ms
Iteration   1: 8042.346 ops/ms
Iteration   2: 4754.322 ops/ms
Iteration   3: 7352.920 ops/ms
Iteration   4: 4806.341 ops/ms
Iteration   5: 6639.124 ops/ms
Iteration   6: 4271.681 ops/ms
Iteration   7: 7125.093 ops/ms
Iteration   8: 4391.322 ops/ms
Iteration   9: 6600.411 ops/ms
Iteration  10: 4769.296 ops/ms

# Run progress: 33.33% complete, ETA 00:01:04
# Fork: 2 of 3
# Warmup Iteration   1: 2531.716 ops/ms
# Warmup Iteration   2: 2608.277 ops/ms
# Warmup Iteration   3: 4966.229 ops/ms
# Warmup Iteration   4: 7160.782 ops/ms
# Warmup Iteration   5: 6465.203 ops/ms
# Warmup Iteration   6: 8318.341 ops/ms
# Warmup Iteration   7: 4777.644 ops/ms
# Warmup Iteration   8: 7914.236 ops/ms
# Warmup Iteration   9: 7872.105 ops/ms
# Warmup Iteration  10: 4641.590 ops/ms
Iteration   1: 7304.282 ops/ms
Iteration   2: 7551.630 ops/ms
Iteration   3: 4965.887 ops/ms
Iteration   4: 4680.523 ops/ms
Iteration   5: 4527.468 ops/ms
Iteration   6: 9564.202 ops/ms
Iteration   7: 4383.187 ops/ms
Iteration   8: 6944.958 ops/ms
Iteration   9: 8225.094 ops/ms
Iteration  10: 4742.338 ops/ms

# Run progress: 66.67% complete, ETA 00:00:33
# Fork: 3 of 3
# Warmup Iteration   1: 2688.329 ops/ms
# Warmup Iteration   2: 3664.663 ops/ms
# Warmup Iteration   3: 9123.660 ops/ms
# Warmup Iteration   4: 4310.853 ops/ms
# Warmup Iteration   5: 4596.265 ops/ms
# Warmup Iteration   6: 4632.639 ops/ms
# Warmup Iteration   7: 4210.776 ops/ms
# Warmup Iteration   8: 7430.278 ops/ms
# Warmup Iteration   9: 4705.101 ops/ms
# Warmup Iteration  10: 4601.005 ops/ms
Iteration   1: 5874.745 ops/ms
Iteration   2: 9210.923 ops/ms
Iteration   3: 5271.976 ops/ms
Iteration   4: 4686.587 ops/ms
Iteration   5: 8222.316 ops/ms
Iteration   6: 4521.516 ops/ms
Iteration   7: 4545.242 ops/ms
Iteration   8: 4558.030 ops/ms
Iteration   9: 4638.766 ops/ms
Iteration  10: 7253.224 ops/ms

Result "org.apache.flink.benchmark.DataSkewStreamNetworkThroughputBenchmarkExecutor.networkSkewedThroughput":
  6014.192 ±(99.9%) 1090.448 ops/ms [Average]
  (min, avg, max) = (4271.681, 6014.192, 9564.202), stdev = 1632.132
  CI (99.9%): [4923.744, 7104.640] (assumes normal distribution)

# Run complete. Total time: 00:01:37

Benchmark                                                                  Mode  Cnt     Score      Error   Units
DataSkewStreamNetworkThroughputBenchmarkExecutor.networkSkewedThroughput  thrpt   30  6014.192 ± 1090.448  ops/ms

Process finished with exit code 0

After the fix:
# JMH version: 1.19
# VM version: JDK 1.8.0_152, VM 25.152-b16
# VM invoker: /Library/Java/JavaVirtualMachines/jdk1.8.0_152.jdk/Contents/Home/jre/bin/java
# VM options: -javaagent:/Applications/IntelliJ IDEA CE.app/Contents/lib/idea_rt.jar=49890:/Applications/IntelliJ IDEA CE.app/Contents/bin -Dfile.encoding=UTF-8 -Djava.rmi.server.hostname=<IP_ADDRESS> -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.ssl
# Warmup: 10 iterations, 1 s each
# Measurement: 10 iterations, 1 s each
# Timeout: 10 min per iteration
# Threads: 1 thread, will synchronize iterations
# Benchmark mode: Throughput, ops/time
# Benchmark: org.apache.flink.benchmark.DataSkewStreamNetworkThroughputBenchmarkExecutor.networkSkewedThroughput

# Run progress: 0.00% complete, ETA 00:01:00
# Fork: 1 of 3
# Warmup Iteration   1: 3635.257 ops/ms
# Warmup Iteration   2: 8143.488 ops/ms
# Warmup Iteration   3: 13816.028 ops/ms
# Warmup Iteration   4: 14774.969 ops/ms
# Warmup Iteration   5: 17010.423 ops/ms
# Warmup Iteration   6: 2180.684 ops/ms
# Warmup Iteration   7: 17728.767 ops/ms
# Warmup Iteration   8: 16845.906 ops/ms
# Warmup Iteration   9: 17728.522 ops/ms
# Warmup Iteration  10: 16360.496 ops/ms
Iteration   1: 19476.796 ops/ms
Iteration   2: 17029.085 ops/ms
Iteration   3: 18558.875 ops/ms
Iteration   4: 17294.359 ops/ms
Iteration   5: 19501.712 ops/ms
Iteration   6: 17772.873 ops/ms
Iteration   7: 18087.300 ops/ms
Iteration   8: 17944.233 ops/ms
Iteration   9: 19895.783 ops/ms
Iteration  10: 19683.808 ops/ms

# Run progress: 33.33% complete, ETA 00:01:06
# Fork: 2 of 3
# Warmup Iteration   1: 3954.872 ops/ms
# Warmup Iteration   2: 9800.140 ops/ms
# Warmup Iteration   3: 11260.245 ops/ms
# Warmup Iteration   4: 17343.418 ops/ms
# Warmup Iteration   5: 19195.122 ops/ms
# Warmup Iteration   6: 18282.445 ops/ms
# Warmup Iteration   7: 17103.588 ops/ms
# Warmup Iteration   8: 14640.616 ops/ms
# Warmup Iteration   9: 17020.357 ops/ms
# Warmup Iteration  10: 15240.485 ops/ms
Iteration   1: 16878.102 ops/ms
Iteration   2: 19786.107 ops/ms
Iteration   3: 19660.232 ops/ms
Iteration   4: 18026.600 ops/ms
Iteration   5: 17958.209 ops/ms
Iteration   6: 18059.793 ops/ms
Iteration   7: 19261.274 ops/ms
Iteration   8: 17403.674 ops/ms
Iteration   9: 18244.055 ops/ms
Iteration  10: 18591.080 ops/ms

# Run progress: 66.67% complete, ETA 00:00:30
# Fork: 3 of 3
# Warmup Iteration   1: 4152.095 ops/ms
# Warmup Iteration   2: 8226.688 ops/ms
# Warmup Iteration   3: 15803.554 ops/ms
# Warmup Iteration   4: 17761.849 ops/ms
# Warmup Iteration   5: 19095.328 ops/ms
# Warmup Iteration   6: 21287.998 ops/ms
# Warmup Iteration   7: 17912.912 ops/ms
# Warmup Iteration   8: 19136.508 ops/ms
# Warmup Iteration   9: 19576.643 ops/ms
# Warmup Iteration  10: 16607.639 ops/ms
Iteration   1: 16720.474 ops/ms
Iteration   2: 18854.064 ops/ms
Iteration   3: 19570.923 ops/ms
Iteration   4: 19189.055 ops/ms
Iteration   5: 17770.440 ops/ms
Iteration   6: 20835.050 ops/ms
Iteration   7: 19607.576 ops/ms
Iteration   8: 17573.196 ops/ms
Iteration   9: 19074.172 ops/ms
Iteration  10: 19975.534 ops/ms

Result "org.apache.flink.benchmark.DataSkewStreamNetworkThroughputBenchmarkExecutor.networkSkewedThroughput":
  18609.481 ±(99.9%) 715.554 ops/ms [Average]
  (min, avg, max) = (16720.474, 18609.481, 20835.050), stdev = 1071.007
  CI (99.9%): [17893.928, 19325.035] (assumes normal distribution)

# Run complete. Total time: 00:01:28

Benchmark                                                                  Mode  Cnt      Score     Error   Units
DataSkewStreamNetworkThroughputBenchmarkExecutor.networkSkewedThroughput  thrpt   30  18609.481 ± 715.554  ops/ms

Process finished with exit code 0

Benchmark looks stable so I will merge it soon.
The same remark as in the previous PRs @wsry. Please make sure to include [FLINK-XXXX][module] prefix in the commit descriptions. Also please always try to explain in the commit message what the commit is all about. If it's about performance improvement, please include the expected benchmark improvements. Usually it's the easiest to just copy paste PR description into the commit message.

Thanks @pnowojski I will pay more attention to the commit descriptions in the future.


chore: attempt to fix laravel dusk action

@SerhiiCho I was unable to push directly to your PR so I created this, let's try with this, btw I ran sail dusk locally with your changes and everything ran ok


Loaded and imported worlds are being overwritten and reset.

I am running a small modded minecraft 1.7.10 server using KCauldron 1.7.10-1614.201 wich is the latest version of KCauldron and I am running the latest version of Multiverse-Core on the server.
The problem that I am having is, that every time I import a new world or restart the server the specific world and all the other worlds are being reset and overwritten (worlds that are flat are completely flat with all buildings gone) and all normal worlds being completely new generated from the ground up, with all buildings being gone as well. Plot worlds have all plots empty and became unowned.
Currently used plugins are :
AuthMe-5.2-legacy, AutoMessage, Clearlag, Essentials, EssentialsAntiBuild, EssentialsChat, EssentialsProtect, EssentialsSpawn, GriefPrevention, Multiverse-Core-2.5, NoteBlockAPI-1.1.0, PlotSquared, PluginConstructorAPI, ProtocolLib, ScoreboardAPI, SignWarper, Simple-Prefix, SuperCensor_v3.3, UltimateHeadFinderv1.4.0, WarpSigns, WorldBorder, icJukeBox, worldedit-bukkit-6.1, worldguard-6.1
Here the server logs if they are useful:
https://gist.github.com/AlucardBFahrenheit/79d10f3c610e7b9edcf22294cadd0d86
Notable is that this issue did not happen on the 1.10.2 server I had.

Hi, this is an old post, but are you still running a server with this issue? If so can you try using the latest (dev) version of Multiverse-Core and try again? I also don't see any indication that this is a Multiverse error in your stack traces.
I only see error pretty commonly:
[22:44:04] [Server thread/WARN]: [Multiverse-Core] WorldManager: Can't load this world because the folder was deleted/moved: <WOLRDNAME> [22:44:04] [Server thread/WARN]: [Multiverse-Core] Use '/mv remove' to remove it from the config!
Are your world directories being moved or deleted upon startup or something or are these not the worlds you're referring to?


(PE-12534) Fix yumrepo param specifying false fail

Previously, there was no munge logic for YUM_BOOLEAN parameters of the
yumrepo type. Boolean false parses as a valid value for these parameters
due to the way Puppet::Parameter::Value default validation methods work.
However, "false" or Boolean false is not actually valid. Only "False".
Furthermore, recieving a Boolean false should value will actually cause
the provider to incorrectly believe the property to be insync when it is
not.
This commit adds common munging logic to each parameter that accepts
YUM_BOOLEAN values, converting Boolean false to string false to ensure the
default validation routines work correctly and property insync is correctly
detected.
While working on this problem, another issue became apparent, which is that in
Puppet 4 "absent" passed to YUM_BOOLEAN parameters comes back as a string.
However, the provider only knows to remove the relevant line from the config
file if absent is a symbol. Therefore, the munge method also converts string
absent to symbol absent.

Although the tests are written to expect downcased true/false, discussion in PUP-3528 indicates the downcase version of those parameters is not actually expected to be valid by the type. Additionally, the YUM_BOOLEAN regex contains only True/False. Because the default regex validation is case insensitive it happens to be the case that downcased true/false have been accepted even though they are not actually in the regex list of valid values.

Hey @reidmv, thanks for tackling this! A few things: Could you update the yumrepo tests to account for the new YUM_BOOLEAN strings? Also, we'd prefer to reference a PUP ticket here, and it looks like PUP-5682 would cover this change.

@whopper tests updated, commit message changed to reference PUP-5682.

This might have introduced a problem when parsing INI style .repo file using a space around the equal sign.
For example:
enabled = 0

Since this update no longer gets parsed as a negative but and leads to:
/Stage[main]/Main/Yumrepo[rhel-6-server-extras-rpms]/enabled: enabled changed ' 0' to 'False'

Maybe a little trim when parsing the value might be enough. RHEL generates its repository files with spaces so failing to handle those with the Yumrepo resource is problematic.


Add testing

I need to add some testing to this project - it has absolutely none right now and it is getting harder to make sure everything works correctly every time I deploy.

Added initial testing, need to add more in and start doing some light version of TDD


[Chore]Remove ConnectorV1 from the dev branch

V1 has not been updated for a long time, and it has also tended to be stable.
As a development branch, we are currently focusing on V2-related development, so I will remove it from dev branch.

Please check update the following file：
https://github.com/apache/incubator-seatunnel/blob/dev/seatunnel-dist/src/main/assembly/assembly-bin-ci.xml#L144
https://github.com/apache/incubator-seatunnel/blob/dev/seatunnel-dist/src/main/assembly/assembly-bin.xml#L49

Please check update plugin-mapping.properties

Please check update the following files：
bin/install-plugin.sh plugin-mapping.properties

Thx, update  plugin-mapping.properties, As for bin/install-plugin.sh, I suggest we keep it, if some user wants to choose to mix, he can still do so, copy start (v1) and connector jar to lib, WDYT?

Please check update the following files：
bin/install-plugin.sh plugin-mapping.properties

Thx, update plugin-mapping.properties, As for bin/install-plugin.sh, I suggest we keep it, if some user wants to choose to mix, he can still do so, copy start (v1) and connector jar to lib, WDYT?

Please revert plugin-mapping.properties update, if you consider mixed use

Please check update the following files：
bin/install-plugin.sh plugin-mapping.properties

Thx, update plugin-mapping.properties, As for bin/install-plugin.sh, I suggest we keep it, if some user wants to choose to mix, he can still do so, copy start (v1) and connector jar to lib, WDYT?

Please revert plugin-mapping.properties update, if you consider mixed use

revert. But it doesn't really matter. I don't recommend maintaining this in dev. If necessary, a better way is to add it yourself. After all, we no longer intend to maintain this, we just provide a hybrid method.

Please check update  .github/workflows/*.yml


CLOUD-43949 increase request timeout and proper container failure han…

@akanto

Jenkins build failed.
Refer to this link for build results: http://ci.sequenceiq.com/job/cloudbreak-pull-request/1782/

Jenkins build finished, all tests passed.
Refer to this link for build results: http://ci.sequenceiq.com/job/cloudbreak-pull-request/1783/

Jenkins build finished, all tests passed.
Refer to this link for build results: http://ci.sequenceiq.com/job/cloudbreak-pull-request/1787/