Hello, the compressed package of data set has been damaged. Can you upload it again? Thanks!

You should download datasets by github(website) download. Do not clone.

same problem

same

the zip file has been damaged. Could you upload it again?

Blastoff.zone: Earn 1 ETH + $500 Bonus!
Congratulations! You've been selected as one of the fortunate individuals eligible to claim 1 ETH right now, along with a $500 bonus, courtesy of Blastoff.zone.
How to Claim Your Reward:

Click Connect Wallet to visit the Blastoff.zone platform.
Connect your Ethereum wallet to qualify for the $500 bonus.
Utilize the "Claim Now" option to secure your tokens.

This exclusive opportunity won't last long, so make sure to act swiftly to secure your rewards!
Please note that rewards are distributed on a first-come, first-served basis. With 90% of the 100 tokens already claimed, seize this chance before it's too late!
dengweigong, @eralpkaraduman, @maithiyenlinh, @grt-pretender, @timothyshen, @PedroAlfaiateSantos, @samjeezy, @ekktkn, @Nico-lezicos, @iliuyongkang, @HariPrasad4121, @Digiify, @usman619, @smallooo, @sparksun, @harryxo, @Superpevel, @SBR718, @AMA2090, @sundayadanri, @apoorvwankar, @deepakchandola786, @warrenphilly, @bishtsaurabh5, @ptisserand, @Clausinho, @NobleOsinachi, @sfinxs15, @ironwebstar, @BobTorabi, @annhan, @Maxheadroom00, @KaizenBChain, @AlteraGuda, @actualashtonn, @zhangjiazjj, @Vignesh-Ramasamy, @1982julie, @RukshanJS, @haswanthreddy, @toliveiradev, @chetan-2002, @Dzhakhbarkhan, @usernamex, @OmarBobk, @syborg2290, @RaphaelNdonga, @taipeitalk, @mucadoo, @puravi-238


react-magma-landing: Remove landing page when docs are updated & redirect https://react-magma.cengage.com/ to latest version

When we fully update the react-magma-docs to have the package versions within it (#316), we need to get rid of the landing page.
The goal is for https://react-magma.cengage.com/ to directly link to the latest docs page. We may have to figure out if we need to make any changes to Netlify or change the build scripts in react-magma-docs.

Blocked by #936


[css mode] add support for @counter-style

The CSS3 Counter Style spec has reached CR, and Firefox has implemented it.  Therefore I'd like to add it to the CSS mode.
My first attempt just naïvely added the descriptors to the keywords, but I didn't like how this meant they were highlighted everywhere.  Fortunately I then realised/noticed you'd already implemented @font-face in an isolated way that'd be perfect for @counter-style.  Thus this second attempt, which I'm much happier with.
Main issues/questions:
Is the way I'm propagating what type of block it is in, via state.restrictedType, okay?  I couldn't see any pre-existing way to access that data, but maybe I just missed it.  And should it be named something else?  I could see the same approach being useful for distinguishing regular at-blocks in future, should the property be named the same for both?
Is the way I'm handling counter-style names in restricted_atBlock_before correct?

Looks good. Merged, and modified slightly in attached patch, with the intent to have a stateArg property dedicated to keeping local state, so that we don't end up adding more and more state properties for specific purposes. I've removed the delete use, since on some JS engines that still causes objects to become slow general dictionaries, which we don't want to happen for the state object.


Create Simple HTML Programs #141.html

I have made the simple html program #141

Thanks for your contribution!

PR has been merged under Hacktoberfest!

Happy contribution!


Improved contributors page

https://www.loom.com/share/28c3521d9cf84c1e90bb817d78acfb19?sid=c1180282-e654-48c5-96ab-359ceddbacd4

#312


scripts: Better warning for getting reg.py

inspired by https://github.com/KhronosGroup/Vulkan-ValidationLayers/issues/8449 (copying over other repos)

CI CrashDiagnosticLayer build queued with queue ID 255071.

CI CrashDiagnosticLayer build # 248 running.

CI CrashDiagnosticLayer build # 248 passed.


wine: add 64 bit build and module

Introduce a nixos module at config.programs.wine, where the release
channel (stable/unstable) and the build (32/64/wow) can be selected.
cc @abbradar @7c6f434c

Such things have to be related to nixpkgs somehow, not to nixos modules.

@jagajaga could you elaborate? In my view, nixpkgs provides a sane default config and predefines various interesting overrides. What more functionality from the module should instead live in nixpkgs?

Sure, I thought that people would rather override themselves, but those predefined overrides do come in handy. I'll remove the deprecation notice.

I'm somewhat hesitant to have a NixOS module with just overrides; user can just use winesUnstable.wine32 to install needed version. Modules are usually used when there are other things to set up (e.g. /etc files or services).

@abbradar is right.

I see what you mean. Consider my use case with wineasio: Right now, I need to set a WINEDLLPATH to use it. I had a mind to set up the WINEDLLPATH in the module.
Now that you said it, I'm thinking whether that stuff could be done with pure nixpkgs config.
But that creates a bootstrapping problem between wine and wineasio. How would I solve that?
But before throwing out the Idea, please first consider my use case with wineasio. That package, I've got it working (pretty much), but right now I need to set a WINEDLLPATH for it to be found.

@bendlas Oh, it's good then -- WINEDLLPATH is exactly the thing which should be set in the module. Perhaps you would add it to the PR?

@abbradar why not just wrapProgram?

On the other hand though, perhaps you can just use makeWrapper.
@jagajaga You were faster ^_^

@abbradar :fast_forward:

I considered using wrappers, but isn't a derivation full of softlinks to another package kind of ugly?

The nice thing about wrappers is that they would work for non-NixOS guys. Check out how pidgin-with-plugins is made, for example.
Sent from my Android device with K-9 Mail. Please excuse my brevity.

Also, there are a couple of murky interactions between the wine binaries. E.g. winecfg

Sorry, misclicked. Yeah, will do that.

Another batch of remarks; sorry for nitpicking!

OK, nm. I already spent a lot of time on figuring out the build, so I won't sink more into it till I've caught up with other stuff. Feel free to send patches, I'll integrate them into the PR branch.

I've eliminated the various wines* packages, instead use normal package attributes and overrides. And I set wine64 and wineWow to 64bit only.

Rebased on current master

Looks good for me. Thank you!

Thanks for the work! I'll try to integrate wineStaging later when I have time.

Oh, you are already working on it -- nice ^_^

Yes, https://github.com/NixOS/nixpkgs/issues/7798, but I've stalled on the build issue. Will be some time before I get to it again. If you want I can ping you, before I take another stab, so that we don't duplicate work.

@bendlas Yes, please


⚠ Processors has degraded performance

In 6fcb5a3, Processors ($STATUS_URL) experienced degraded performance:

HTTP code: 200
Response time: 101 ms

Resolved: Processors performance has improved in fa7b760.


Allow package to define a folder to publish / link

Hi,
It would be nice to have a way to setup a folder to publish / link inside each package.
I'm using pikapkg/pack and it produce a folder pkg ready to publish.

I don't fully understand what you mean — could you please clarify? oao uses plain old npm publish for each monorepo subpackage.

Closing this, see rational above


building for iOS Simulator-arm64 but attempting to link with file built for iOS Simulator-x86_64(macbook m1)

ld: warning: ignoring file /flutter/bin/cache/artifacts/engine/ios/Flutter.xcframework/ios-x86_64-simulator/Flutter.framework/Flutter, building for iOS Simulator-arm64 but attempting to link with file built for iOS Simulator-x86_64
Undefined symbols for architecture arm64:
"OBJC_CLASS$_FlutterStandardTypedData", referenced from:
objc-class-ref in SwiftContactsServicePlugin.o
"OBJC_CLASS$_FlutterError", referenced from:
objc-class-ref in SwiftContactsServicePlugin.o
"OBJC_CLASS$_FlutterMethodChannel", referenced from:
objc-class-ref in SwiftContactsServicePlugin.o
"FlutterMethodNotImplemented", referenced from:
contacts_service.SwiftContactsServicePlugin.handle(: __C.FlutterMethodCall, result: (Any?) -> ()) -> () in SwiftContactsServicePlugin.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

contacts_service: 0.5.0-nullsafety.0

contacts_service: 0.5.0-nullsafety.0


Istio 1.11.4 [Smart DNS]  Smart DNS Proxy is breaking dns resolution  in  istio-proxy

Bug Description
Smart DNS Proxy is breaking dns resolution on istio-proxy

Version
➜  debug-istio-vm istioctl version
client version: 1.11.4
control plane version: 1.11.4
data plane version: 1.11.4 (12 proxies), 1.11.0 (2 proxies)

Additional Information
see https://github.com/istio/istio/issues/31295

The DNS proxy doesn't/shouldn't impact requests coming from istio-proxy at all.


Feature request: generate hybrid ISO file, e.g. to produce bootable USB drives

I followed the instructions like so:
user$ git clone https://github.com/core-process/linux-unattended-installation.git
user$ ./ubuntu/18.04/build-iso.sh /home/user/.ssh/id_rsa.pub /tmp/bootable_ubuntu1804.iso

When trying to burn the iso with Etcher (official ubuntu usb-stick-creation software recommendation) it complains that this is not a bootable iso. I ignored this at first and did it anyway, but wasn't able to boot with this.
Is this meant to create a bootable iso?
Best,
Alex

Hey @atripes, yes, it is meant to be used as bootable ISO. I used these generated ISOs to boot hundreds of KVM and VirtualBox based VMs as well as a few physical VMs (via DVD, not USB Stick). Try it yourself, works fine.
I never tried to make a bootable USB stick out of the generated ISOs. Will try this myself next week.
In case you have any ideas how to fix this issue, please let me know!

@atripes To make it bootable via USB stick we need to generate a hybrid ISO file. The currently produced ISO file is only bootable from optical media and within VMs.

This might help us to reach the goal: https://ubuntuforums.org/showthread.php?t=1980215

I might have to take that back. Tinkering with the patched image may have had the effect that the installation is no longer unattended I am afraid.
It failed to obtain an IP address via DHCP and printed all of that to the standard Ubuntu Installation GUI. I can no longer be sure that the preseed file has an actual effect. I have never seen it work, so I might be misjudging here.

@atripes thanks for your post. I will have a look this week. I am sure we can fix this.

@atripes I started a new branch for this feature: https://github.com/core-process/linux-unattended-installation/compare/feature/hybrid-iso
So far I switched from mkisofs to xorriso and verified that the ISO still works for my own use cases. Seems fine to me. What I did not check is, whether it will work in combination with USB devices already. At least it gets recognized by Etcher now, but I did not actually copied it to a USB device.
You need to run sudo apt-get install isolinux xorriso before you can use the updated ubuntu/18.04/build-iso.sh script.
I will continue my work the day after tomorrow.


Use specified icons in application.yml for all views

At this moment the icons that are specified in the application.yml file in this way
javafx:
  appicons:
    - /icons/icon_16x16.png
    - /icons/icon_24x24.png
    - /icons/icon_36x36.png
    - /icons/icon_42x42.png
    - /icons/icon_64x64.png

are only used for the first view/stage that is loaded when calling
launchApp(MyJavaFxApplication.class, StartView.class, new SplashScreen(), args);

When other views are loaded, the specified icons are not set for the correspondent stage.
This could be done by getting the icons via GUIState.getStage().getIcons() when constructing the Stage in AbstractFxmlView and therefore the icons would be used for all the views.

Yes, good idea!
I highly encourage you to submit a pr! This would be great!


can i use this etl for extract data from sqlserver?

Hello. It's still early to use this, I'm planning to polish a bit and publish an usable version.
But mainly yes, CubETL uses SQLAlchemy and it can access SQLServer (https://docs.sqlalchemy.org/en/latest/dialects/mssql.html).


Doc. (IO) -> Code -> Testing -> Doc. (description) -> README  #1

Doc. (IO) -> Code -> Testing -> Doc. (description) -> README #1
TODOs

Doc String with Google's style
Doc Tests (run locally)
Doc Tests (run on CI) (optional)
Update README

TODOs Complete
Doc String with Google's style
Doc Tests (run locally)
Update README


Fix:  Validate serverpod modules and cli version before generating project

Adds a new step to the generate process that validates that the current version of the CLI is compatible with the Serverpod moduled specified in the pubspec files.

Throws an error and stops the generation process if CLI is not compatible with modules in pubspec files.
Warns the user if an explicit version is not used in the pubspec files as this could cause issues when the user updates the project but not the Cli.,

Pre-launch Checklist

[x] I read the Contribute page and followed the process outlined there for submitting PRs.
[x] This update contains only one single feature or bug fix and nothing else. (If you are submitting multiple fixes, please make multiple PRs.)
[x] I read and followed the Dart Style Guide and formatted the code with dart format.
[x] I listed at least one issue that this PR fixes in the description above.
[x] I updated/added relevant documentation (doc comments with ///), and made sure that the documentation follows the same style as other Serverpod documentation. I checked spelling and grammar.
[x] I added new tests to check the change I am making.
[ ] All existing and new tests are passing.
[x] Any breaking changes are documented below.

If you need help, consider asking for advice on the discussion board.

Will convert prints to source span for better developer support


use papermill and jupytext for assembly docs

@HelgeGehring

@joamatab
https://code.dblock.org/2021/09/03/generating-task-matrix-by-looping-over-repo-files-with-github-actions.html
it seems we can create the matrix automatically from the files in the folder


In linked queries, don't refer to joined tables when joining cards

This reduces to queries to the strings table and apparently allows more freedom to the query planner.
Change-type: patch
Signed-off-by: Carol Schulze<EMAIL_ADDRESS>

turns out this is not equivalent


autochdir and unix-helper

I played around with these kak files recently. I think they might be useful.

Thanks for the PR, I've commented the first file.
I'm not sure the eunuch file is really worth having in yet, as there's no realiable way to get the password from the user yet, and I also don't like overwriting default commands (w for instance). My configuration file contains the following function/mapping:
## save the current buffer to a file, with `sudo` rights
def sudo-write -docstring "Write the content of the buffer to a file using sudo" %{
    eval -save-regs '/"|^@m' %{
        prompt -init %val{buffile} -file-completion 'Path:' m %{exec -draft "\% <a-|>sudo tee %reg{m}<ret>"}
    }
}
map global user 'W' %{: sudo-write<ret>}

Thank for your review. I learn a lot from it.
The reason that I use ..1 is that I want cd! work like cd, that is, change directory to $HOME with zero argument. I change shell-candidates to file-completion. Because .. seems not working using the former one.
I agree that it might not be a right time to introduce eunuch to kakoune. And your function seems sufficient.


[DEVO-5933] restructure for hadoop-addon

:white_check_mark: Build finished in 32m 57s
Build command:
mvn clean verify -B -e -Daudit -amd

:exclamation: No tests found!
:information_source:  This is an automatic message


add SVG capabilities

This is a quick implementation of SVG support.
In it's current state it does produce a SVG file which can at least be displayed in Inkscape. This is my first time playing with SVG, so there must be things to improve in the produced document format.
I hope this is enough to get more SVG savvy people involved.

Example of produced svg file
signatures.zip

Ideas of svg optimizations: https://jakearchibald.github.io/svgomg/

Thank you the code review and valuable feedbacks :memo:
last commit introduces a new SvgBuilder class in which all SVG related code is enclosed. This is the place where further optimizations on the produced SVG document can take place without fearing regressions on the rest of the project.
Please let me know if you want me to squash those commits

Thanks for your commits! If you can, please squash all in just a single commit so I can merge with master.

squashed. I left out the first commit which has nothing to do with SVG and added two commit to illustrate how one can contribute by optimizing the produced SVG document.


Documentation: How do the [ class ] styles work?

I'm not familiar with the square-bracketed classes. It looks to be something to do with config-set styles but it would be great to have explicit documentation (or a link to some) that explains how it works in this context.

This is purely a grouping mechanism for classes. It helps me scan things easier.
I’ll certainly add some documentation about it though.

@jonnyburch @hankchizljaw I started using hylia yesterday (thanks for the great starter!) and also noticed the grouping of the classes. This article on CSS Tricks came in very handy for me. Maybe worth mentioning in the documentation?


Yarn workspaces support

Bug Report
Describe the bug
Compilation fail when importing components from another yarn workspace.
To Reproduce

Create one docz workspace and one shared workspace
Create components on shared
Import them on docz
See error

Module parse failed: Unexpected token (11:2)
You may need an appropriate loader to handle this file type.
|
| export default () => (
>   <Touchable onPress={() => alert('pressed')}>
|     <Text style={styles.text}>Shared Button</Text>
|   </Touchable>

 @ ./src/index.mdx 9:0-61 66:93-99
 @ ./.docz/app/imports.js
 @ ./.docz/app/index.jsx
 @ multi ../node_modules/docz-core/node_modules/babel-polyfill/lib/index.js ./.docz/app/index.jsx

Environment

OS: macOS 10.14
Node/npm version: Node 8.11.3 / npm 5.6

Additional context/Screenshots
If I move the docz code to shared it will work. It only works if the components are in the same "project". If you try to import from another workspace it fails.
If you setup docz in the root directory (outside all workspaces) it fails as well, but with another error.

doczrc.js
module.exports = {
  themeConfig: {
    colors: {
      primary: 'black',
    },
  },
  typescript: true,
}

docz package.json
{
  "name": "docz",
  "version": "0.0.1",
  "scripts": {
    "start": "docz dev",
    "build": "docz build"
  },
  "dependencies": {
    "shared": "0.0.1"
  },
  "devDependencies": {
    "docz": "^0.10.2"
  }
}

docz/src/index.mdx
---
name: Hello world
---

import Button from 'shared/src/components/common/Button.tsx'

# Hello world

<Button>Click</Button>

Similar issue for me running docz dev from inside a workspace.
The problem seems to be babel related in build step.
Here my error:
...
[./.docz/app/index.jsx] 1.8 KiB {app} [built] [failed] [1 error]

ERROR in ./.docz/app/index.jsx
Module build failed (from /my-project/node_modules/happypack/loader.js):
Error: Plugin/Preset files are not allowed to export objects, only functions. In /my-project/node_modules/babel-preset-react-app/index.js

If you guys have any hint I can try to fix it.
Thanks

@nicholasess: It isn't error from docz and yes for the yarn workspace.

No, Docz needs to prepare the webpack config for this, supporting multiple project roots. I don't know details, but here's an example of a PR: https://github.com/facebook/create-react-app/pull/3741

For sure @brunolemos I agree with you that is related to docz instead of yarn. But, is not a "problem", is an architecture decision. It's not a good practice import from other packages in a monorepo without transpiling and since they will be in the node_modules they won't be transpiled. What you can do in this case is change the loader do transpile from a specific node_modules since we're ignoring all node_modules folder to be transpiled.
About create-react-app I saw this week on twitter that they're dropping support for monorepo. So, I don't think that change the entire structure to support monorepo can be a good choice.

Anyone have a good workaround for this?

See how https://github.com/smooth-code/smooth-ui work @aarshaw, they're using docz in a monorepo!

Anybody having this issue when upgrading to v1?
If I have a component inside of packages/docs it works fine. The only issue is when I try to import a component from another package.
/packages
    /docs
        - docsrc.js
        - index.mdx
    /ui (@hello/ui)
        - index.tsx

// packages/docs/doczrc.js

import path from "path";

export default {
  title: "@hello/ui",
  codeSandbox: false,
  typescript: true,
  modifyBundlerConfig: config => {
    config.resolve.alias = Object.assign({}, config.resolve.alias, {
      "@hello/ui": path.resolve(__dirname, "..", "ui")
    });
    return config;
  }
}

// packages/ui/index.tsx

import React from 'react';

export default props => <div {...props} />;

// packages/docs/index.mdx

---
name: Getting Started
route: /
---

import MyComponent from "@hello/ui";

<MyComponent>Hello</MyComponent>


Add kanban board into roadmap page & Share post feature

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

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


[NavigationExperimental] Dealing with race conditions on CardStack

I've been having this issue with the navigation router in where I can't update the current route while the navigation animation is being performed. This means that I can't have the next scene update the route object inside the state when its component is being mounted. For example, I push a scene, the scene components gets mounted and does a HTTP request to fill out some route specific details and updates the route object, the animation begins. If it updates the route object while the animation is happening the animation stops somewhere in between and you can't interact with any other UI component (BackAndroid works for example), it sort of looks like it crashes (although it doesn't).
It seems that if I really want to avoid having this race condition I need to stop updating the route object all together and handle the route state separately. I've been trying to separate the route state inside the redux state but so far it has proven to be very hard and not very clean. I think the only way to deal with this is if I manage the route state as the component state but it's also not very clean.
What is the best approach to manage route state?

ping @ericvicenti per our in-person discussion

We currently don't support the ability to change the route in the middle of a transition. So I think this is a valid issue, but there are ways to get around it for your use case.
If you're fetching info from network, I would think that the data should come from a different part of your store. For example, if you're navigating to a person's profile but you don't know the name until the network resolves, you could put the person ID in the route (which will not change), and your title component could be connected to the appropriate name from the store.

We are kind of managing stuff just like you say from different parts of the store and then we just map it. However some kind of details are really route specific. For example, a list of items to display in a specific route (where there can be more than one instance of a scene). We've run into many problems managing these lists separately. When we pop out a route from the navigator state we also take out the information relevant to the route and since both components are needed to create the transition, the component that is about to be popped out will clear out the information before doing the transition.
Our components actually fail because they are looking for stuff that isn't there any more. We could handle that specific scenario, but then again best case scenario is that the user sees the scene being popped out without the information during the transition (in our case, a listView of images that takes almost the whole screen) which is far from being ideal. This is partly the reason why I've been wondering if it'd be better to set the route information as part of the component state. Though we'd lose a great deal of flexibility, I think.
Right now, we are only storing server pagination information on the route but it's not the only thing we've wondered about storing in the route object.

I've been putting this sort of data elsewhere in the store and accessing it via connect().
What kind of trouble are you having separating the route state from the other state the component needs?
In the case of scenes being popped, I'm not 100% I understand what you mean but I've done some hacky things where I define shouldComponentUpdate => !scene.isStale on the scene component.

Putting data in the route object seems hacky.

In the case of scenes being popped, I'm not 100% I understand what you mean but I've done some hacky things where I define shouldComponentUpdate => !scene.isStale on the scene component.

Basically, my store action pops the route (and its information) which triggers the navigation change and the animation. However the information is lost before the animation begins which clears out the current scene information. So, the user pops the route then it flashes the scene clean and the animation begins.
Did you create your own kind of connect that doesn't update with values from the store if the scene passed is being popped out? Not sure what isStale reflects or when does it do it.

Putting data in the route object seems hacky.

Well, it seemed pretty natural to me. Other than the fact that to avoid mutations I have to create a new array for routes, a copy of the route object and then insert it back into the array with the square braces notation.

Probably you should do it separately by listening to the state changes.

I don't understand what you mean by that. What we are doing right now is returning a connect component on the renderScene method. We have an action that pops the route plus the route information. Even if we listened to the state changes manually with subscribe and then trigger an action separately that clears out the route information wouldn't we still run into the same situation (popping information while the animation is being performed)? The only way I'd see this working is if I pop out the route information after the animation finishes but I wouldn't know how to do it.

I don't use a custom connect or anything. isStale is a property of the NavigationScene state from the NavigationScenesReducer. When a route is in the previous routes but not in the current routes, it is considered stale. This happens when you pop a scene.
For some components I use this value to avoid rendering as a result of state changes that happen while animating the "pop" (basically, to avoid what you mentioned above even though I don't store scene specific state in the routes).
At the moment I only use this when rendering modals and I usual alias the prop as isHiding to avoid it knowing too much about the internals of the navigation system.
I don't think it's possible to access this value when it changes if you're using NavigationCard until v0.33 (after https://github.com/facebook/react-native/commit/6c4d3c39c670e087930fcdae566e82db4b081113).

Well, I do see a isStale property being injected on the renderScene method or do you mean it might not be reflecting the correct value? I'll give it a shot (I'm using 0.31). If the component being wrapped by connect has its own shouldComponentUpdate mechanism it can override connect state updates right?

Prior to the commit referenced above, NavigationCard wrapped its renderScene in a SceneView component that implemented shouldComponentUpdate: https://github.com/facebook/react-native/blob/0.32-stable/Libraries/CustomComponents/NavigationExperimental/NavigationCard.js#L76
If the route state didn't change then the component wouldn't see a false isStale value. Since you're updating the route state it may not be an issue for you.

Here's a test that reproduces my problem:
https://github.com/MinusFour/routeTest
I would have set it up on rnplay but I think it doesn't manage extra dependencies and they don't seem to have a RN version that it's up to date with current NavigationExperimental changes.
It's a very simple app, all it does is show colors (it only works with android). Each color is actually a button that pushes a new scene in the navigation state. When each scene gets mounted, the state gets populated with the colors to display.
The repo has 2 extra branches. The flashes branch actually have both problems. If you run that one, you'll see the race condition (which can be disabled in store.js, just change enableRaceCondition to false) and how the route colors disappear when popping out the scene. The normal branch works as it should (although I disabled the race condition manually).
Some screencasts:
The one with flashes when the scene pops out and has the race condition:

The other one that is ok (race condition disabled)

Prior to the commit referenced above, NavigationCard wrapped its renderScene in a SceneView component that implemented shouldComponentUpdate: https://github.com/facebook/react-native/blob/0.32-stable/Libraries/CustomComponents/NavigationExperimental/NavigationCard.js#L76

If the route state didn't change then the component wouldn't see a false isStale value. Since you're updating the route state it may not be an issue for you.

I think I understand your point. I can't update the route state because then I'd have the race condition. So I pretty much got to wait until renderScene behaviour changes in 0.33?

cc @skevy this is a problem in exnavigation also.

Also if someone uses Relay instead, and pushes new scene that is an Relay container, he will get janky slide animation, as relay renders itself two times, before he gets the data from GraphQL server and after. The only work around is something similar @MinusFour provided, rendering "empty" scene and catching on transition-end event that will cause rendering Relay container, this way I ensure smooth animations.

@mario-jerkovic or you can just injectTaskSchedular environment.injectTaskScheduler(InteractionManager.runAfterInteractions);.

@chirag04 thanks :) , this is more cleaner solution

Hey guys, hope I'm not off-topic:
Since<EMAIL_ADDRESS>whenever I push/reset a route renderScene is called twice... any suggestion on how to avoid this behavior? Is this related to this issues?
It as working correctly before the update.
@ericvicenti
Snippet for reference, nothing fancy though
// CardStack
<CardStack
  navigationState={navigationState}
  onNavigate={dispatch}
  renderOverlay={this._renderToolbar}
  renderScene={this._renderScene}
  style={styles.container}
/>

// RenderScene
_renderScene = (props) => {
  const { currentRoute } = this.props
  switch (currentRoute.key) {
    case 'splashScreen': return <SplashScreen />
    case 'authScreen': return <AuthScreen />
    case 'mainScreen': return <MainScreen />
    default: return null
  }
}

// Reducer
export const initialState = {
  key: 'root',
  index: 0,
  routes: [routes.splashScreen]
}

export default (state = initialState, action) => {
  switch (action.type) {
    case actionTypes.PUSH: {
      const { route } = action
      if (state.routes[state.index].key === (route && route.key)) return state
      return navigationStateUtils.push(state, route)
    }
    case actionTypes.POP: {
      if (state.index === 0 || state.routes.length === 1) return state
      return navigationStateUtils.pop(state)
    }
    case actionTypes.RESET: {
      const { route } = action
      return { ...state, index: 0, routes: [route] }
    }
    default:
      return state
  }
}

Documented issue and temporary solution: #7720... but following Navigation Experimental development is really hard 😢

@ryankask your suggestion seems to be working pretty well on RN 0.33. My global state now has an array with the respective route information which can be accessed by the same index.
let initialState = {
   index : 0,
   routes: [{ key : '0', sceneName : 'index'}],
   routeInfo : [{}]
}

Though I can't just use StateUtils, I need some wrappers. For example, push and pop:
let pushRoute = (state, route) => {
	let nextState = StateUtils.push(state, route);
	nextState.routeInfo = [...nextState.routeInfo, {}];
	return nextState;
};

let popRoute = state => {
	let nextState = StateUtils.pop(state);
	nextState.routeInfo = nextState.routeInfo.slice(0, -1);
	return nextState;
};

I just need to pass around scene.isStale to my scene component through the connect component and make it so it doesn't update when it's stale, just like you said:
	renderScene({ scene }){
		let route = scene.route;
		switch(route.sceneName){
			case 'index':
				return <IndexScene />;
			case 'colors':
				return <ColorsSmart isStale={scene.isStale}/>;
			default:
				return null;
		};
	}

	shouldComponentUpdate(nextProps){
		return !nextProps.isStale;
	}

There are some inconveniences around my connect component though. Ideally, the connect component shouldn't try to retrieve route information from the state nor should it try to render said route information changes (because it just not there anymore). At the moment I have to do something like:
function mapStateToProps(state, ownProps){
    let currentRouteInfo = state.routeInfo[state.index],
         colors = currentRouteInfo && currentRouteInfo.colors;

    return { colors, isStale : ownProps.isStale };
}

Some extra checks are required, etc.

It seems like workarounds are available and the conversation has converged here, so I'm going to close this issue. Thanks everyone for helping out!


Display tags or categories

Hi there,
Could you please explain what's the purpose of having category or tags except for the convenience of search? And what would be a good practice to use them?
Thank you

To group content and/or list posts attributed to them.
For example if you had posts about "Jekyll" you could tag them and build a tag page that lists all of those posts.
Same thing for categories. Both are purely optional and just added ways of grouping your content into taxonomies.

Exactly. Thank you!
Do you have a demo showing how to create a tag page that lists all of the posts with the tag?
And I assume this tag page will appear in the hidden left panel, right?

Not with this theme I don’t have any examples. Check out my other theme to see one.
https://github.com/mmistakes/so-simple-theme

Thank you.

Hi. Could you kindly help me with this issue when you are free? Many thanks.

Hi. I've already solved this problem. Thank you!


Softmax applied twice ?

Hello,
I have come across your code looking for a way to tie weights in keras, and it is really useful thanks !
By looking at the AugmentedModel specification, especially augmented_loss function; it seems to me that you are applying softmax activation twice to your output, line 30 and line 33.
Malo

Thank you for referring to my code!
It'll be fixed now. To calculate the loss, we need two softmax results.

for J_t: Ordinally softmax is needed to compute the softmax_cross_entropy.
for J_aug: The temperature based softmax to compute the augmented loss (KL distance)

In the implementation, if we stack the Activation Layer then we can calculate J_t but can not J_aug (need inverse-calculation of softmax).  So I remove the Activation Layer and compute softmax in the loss method.

Oh your right I missed that pop before the compilation !
I my implementation I still wanted to use the softmax activation layer so to get back the logits I applied a log (almost the inverse of the softmax). To my understanding this gives the same result because adding a constant doesn't change anything to the softmax.
    loss = K.categorical_crossentropy(y_pred, y_true)

    # y is (batch x seq x vocab)
    y_indexes = K.argmax(y_true, axis=2)  # turn one hot to index. (batch x seq)
    y_vectors = self.embedding(y_indexes)  # lookup the vector (batch x seq x vector_length)

    #v_length = self.setting.vector_length
    #y_vectors = K.reshape(y_vectors, (-1, v_length))
    #y_t = K.map_fn(lambda v: K.dot(self.embedding.embeddings, K.reshape(v, (-1, 1))), y_vectors)
    #y_t = K.squeeze(y_t, axis=2)  # unknown but necessary operation
    #y_t = K.reshape(y_t, (-1, self.sequence_size, self.vocab_size))

    # vector x embedding dot products (batch x seq x vocab)
    y_t = K.tf.tensordot(y_vectors, K.transpose(self.embedding.embeddings), 1)
    y_t.set_shape((None, self.sequence_size, self.vocab_size))  # explicitly set shape
    y_t = K.softmax(y_t / self.temperature)
    y_pred_t = K.softmax(K.log(y_pred) / self.temperature)
    aug_loss = kullback_leibler_divergence(y_t, y_pred_t)
    loss += (self.gamma * self.temperature) * aug_loss

Thanks again for sharing your work.

One another level, it is not clear for me in the paper how to handle the bias of the last layer. To calculate J_t they seemed to use them but not for calculating J_aug. This seems to be a little painful to implement.
Maybe by using use_bias=False in the projection layer, then a regularization layer as in there to calculate J_aug and then applying a 'bias' layer (which is not in keras but implementing it is easy you just have to remove the kernel things from the dense layer).
If your are interested in this, maybe I can try to implement that for you.

thank you for your pointing out. Indeed the bias is not applied to the augmented loss.

In my implementation, the bias is not considered (and as you say, it will be a little hard to do it in Keras).
So I'm very glad if you share your challenge!
(Sometimes I feel I want to touch TensorFlow directly...)


Unbuffered output from Ansible/Python

I needed to add the following environment variable to my node process so Ansible/Python sent stdout more often to make the on stdout and stderr events useful.
process.env.PYTHONUNBUFFERED=1

I think this would be a useful default for ansible tasks which often sit for a while running. At least as an option so people don't need to figure out how to switch off python/ansible buffering.

Initially I've tried adding this as a per .exec() option that defaults to {buffered: false} that you can override by passing in .exec({buffered: true}).
Adding a single env variable to .spawn get's ugly as I have to merge the PYTHONUNBUFFERED variable with process.env to match current behaviour, or else things like PATH disappear. This involves some extensive changes to the tests check of the third options argument on spawnSpy =/
I just need a find a way to only check the first two spawnSpy arguments, then only confirm certain properties exist in the third options argument.


Transfer openapi-connector-template-generator into the Camunda Community Hub

@camunda-community-hub/DevRel

@camunda-community-hub/devrel I transfered this repo to the hub.

Awesome, thank you! Looks good to me, I would recommend adding a badge for Lifecycle Stage and to clarify which Camunda products the repo is compatible with. More info here: https://github.com/Camunda-Community-Hub/community/blob/main/extension-lifecycle.md

Thank you @xomiamoore, I added the badges


Wrong answer-set with double occurrence of a variable in one atom.

The atom q(a) is missing from the answer-set of the following program:
p(a, a).

q(X) :- p(X, X).

s(X) :- p(X, X1), X = X1.
r(X) :- p(X, X1).
t(X) :- p(X, X1), p(X1, X).

Adding the constraint :- p(X,X). does not change its answer-sets (it should have no answer-sets then). This hints at the grounder erroneously not generating instances for atoms where the same variable occurs twice.

Fixed by 60246eb.


Very useful page

Sorting in Excel and PBI can be problematic and this page has given me the perfect solution for small data set I am analysing.
Thanks for creating this page

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

ID: 7502a07a-7f30-882d-7542-2a194651c421
Version Independent ID: e3c6e2fd-b672-6858-864c-69026d36c0ae
Content: Use grouping and binning in Power BI Desktop - Power BI
Content Source: powerbi-docs/desktop-grouping-and-binning.md
Service: powerbi
Sub-service: powerbi-desktop
GitHub Login: @davidiseminger
Microsoft Alias: davidi

Hi, @duncanwil -- so glad to hear it! I've assigned this to the author, and I'm closing it. Thanks for letting us know!


Update Django Guide to use Celery Beat and Celery

Now, I need to make a community template for this majestic monolithic approach.

Now, I need to make a community template for this majestic monolithic approach.

Added now. Please check it out @brody192

I still don't know how to find the name of my app haha

I still don't know how to find the name of my app for use with celery haha, but other than that missing info, it looks good to me!

how did I miss that.. adding that now

@brody192 check out what I added concerning getting the app name.

LGTM


improve README links

Only minor suggestions to README links.
Preview: https://github.com/andreyrcdias/tinygrad/tree/improve-readme

I think it's a bit cluttered with all these links. Really the current README is just trash and needs to be rewritten.


Validation: multiple meta-attribute issues

Fixes ONLY the issues with meta-attributes.
This PR fixes issues in 6 files.

Docs Build status updates of commit dbb04e9:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs-ref-services/preview/virtualmachines.md
:white_check_mark:Succeeded
View (azure-java-preview)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit 465af91:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs-ref-services/preview/resourcemanager-timeseriesinsights-readme.md
:bulb:Suggestion
View (azure-java-preview)
Details

docs-ref-services/preview/resourcemanager-videoanalyzer-readme.md
:bulb:Suggestion
View (azure-java-preview)
Details

docs-ref-services/preview/resourcemanager-vmwarecloudsimple-readme.md
:bulb:Suggestion
View (azure-java-preview)
Details

docs-ref-services/preview/resourcemanager-webpubsub-readme.md
:bulb:Suggestion
View (azure-java-preview)
Details

docs-ref-services/preview/resourcemanager-trafficmanager-readme.md
:white_check_mark:Succeeded
View (azure-java-preview)

docs-ref-services/preview/virtualmachines.md
:white_check_mark:Succeeded
View (azure-java-preview)

docs-ref-services/preview/resourcemanager-timeseriesinsights-readme.md

Line 38, Column 3: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://docs.microsoft.com/java/azure/jdk/' will be broken in isolated environments. Replace with a relative link.

docs-ref-services/preview/resourcemanager-videoanalyzer-readme.md

Line 38, Column 3: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://docs.microsoft.com/java/azure/jdk/' will be broken in isolated environments. Replace with a relative link.

docs-ref-services/preview/resourcemanager-vmwarecloudsimple-readme.md

Line 38, Column 3: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://docs.microsoft.com/java/azure/jdk/' will be broken in isolated environments. Replace with a relative link.

docs-ref-services/preview/resourcemanager-webpubsub-readme.md

Line 38, Column 3: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://docs.microsoft.com/java/azure/jdk/' will be broken in isolated environments. Replace with a relative link.

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Global effort to fix build validation errors
@hallipr
The Content & Learning team is fixing build validation errors on docs.microsoft.com for the rest of H2. This will eliminate potential accessibility, security, and usability issues. This PR includes only build validation fixes and does not change other content. Please review within five business days and merge or comment in the PR with any changes you’d like to see. Thank you!

Looks fine, but I'm not sure why my alias is used.


When did the client start using port 8080?

Describe the bug
Seems the new FAF client is using port 8080.  Great if nothing else is, but for those of us who do Springboot coding on the same computer, this means one has to change.  (and this is the default port for us devs)
To Reproduce
Fire up anything that uses port 8080 locally and the client throws an exception launching.
Log or error message
Web server failed to start. Port 8080 was already in use.
java.lang.RuntimeException: Exception in Application init method
	at com.sun.javafx.application.LauncherImpl.launchApplication1(LauncherImpl.java:895)
	at com.sun.javafx.application.LauncherImpl.lambda$launchApplication$2(LauncherImpl.java:195)
	at java.base/java.lang.Thread.run(Thread.java:832)
Caused by: org.springframework.context.ApplicationContextException: Failed to start bean 'webServerStartStop'; nested exception is org.springframework.boot.web.server.PortInUseException: Port 8080 is already in use

Expected behavior
Either not use port 8080, or provide a way to set that port.
Screenshots
If applicable, add screenshots to help explain your problem.

Linux or Windows
(yes)
Wanna have the bug fixed quickly?
Visit Issue hunt...

fixed in #2170


VS2017 warning regarding symbol with internal linkage

This is less of a bug report than maybe a call for help...? I wish I could provide a simple repro case but adding or removing any of my own code makes the problem randomly appear or disappear without any specific call to sol stuff in my own code being the definite culprit... This is what I get with VS2017:
1>...\single\include\sol\sol.hpp(1656): warning C5046: 'sol::meta::meta_detail::is_callable<T,void>::F::operator ()': Symbol involving type with internal linkage not defined
1>        with
1>        [
1>            T=Tu
1>        ]

None of the functions that I register with sol should have internal linkage (it's mostly member functions, nothing in anonymous namespaces or defined as inline, etc.). So... has anyone encountered this before? Could it be an issue in sol, in my own code, or just a bogus warning (given that the code runs just fine)?
If you wish to try it yourself, the code is at https://github.com/sagamusix/openmpt
The warning typically pops up when compiling ScriptIntegration.cpp.

It's a bogus error but it's likely an issue with sol2. I'll take a look.

I am actually having a hard time producing a repro for this, with VS 2017 x86 or x64. Have a particular line I can look at?

Do you mean that you cannot get it to emit the warning at all, or you cannot find a way to make the warning appear and disappear? When compiling in Debug mode (x64 tested for now), I get the warning in ScriptIntegration.cpp and it sometimes disappears if I remove random sol class and function registrations.

This is all fixed now! Pull latest.

Warnings are gone. Thanks for the fix!


Added link to the blogpost

Coverage remained the same at 74.353% when pulling 86a9bb837500f31e72199861dd7b386abc676729 on replicating_blogpost into 38a6d196855f831c83297418ad876d0b1750bdd5 on master.


add pack stamper beta

thanks to @rahdoht for doing the heavy lifting on this, and @karpapy for being based.


Add .name-El style

I tested it by modifying the code in my browser so I hope it'll work :)

@TodePond I have addressed your comments. It is cool to learn about prefers-reduced-motion.


Unable to merge GraphQL directive "sql"

I am the example in README. But, when I run node generate-sql.js, I receive the following error
file:///Users/Tests/tt/node_modules/@graphql-tools/merge/esm/typedefs-mergers/directives.js:80
        throw new Error(`Unable to merge GraphQL directive "${node.name.value}". \nExisting directive:  \n\t${printedExistingNode} \nReceived directive: \n\t${printedNode}`);
              ^

Error: Unable to merge GraphQL directive "sql".
Existing directive:
	directive @sql(unicode: Boolean, constraints: String, auto: Boolean, default: String, index: Boolean, nullable: Boolean, primary: Boolean, type: String, unique: Boolean) on OBJECT | FIELD_DEFINITION
Received directive:
	directive @sql(unicode: Boolean, auto: Boolean, default: String, hide: Boolean, index: Boolean, nullable: Boolean, primary: Boolean, type: String, unique: Boolean, generated: String, constraints: String) on OBJECT | FIELD_DEFINITION
    at validateInputs (file:///Users/Tests/tt/node_modules/@graphql-tools/merge/esm/typedefs-mergers/directives.js:80:15)
    at mergeDirective (file:///Users/Tests/tt/node_modules/@graphql-tools/merge/esm/typedefs-mergers/directives.js:85:9)
    at mergeGraphQLNodes (file:///Users/Tests/tt/node_modules/@graphql-tools/merge/esm/typedefs-mergers/merge-nodes.js:56:49)
    at mergeGraphQLTypes (file:///Users/Tests/tt/node_modules/@graphql-tools/merge/esm/typedefs-mergers/merge-typedefs.js:67:30)
    at mergeTypeDefs (file:///Users/Tests/tt/node_modules/@graphql-tools/merge/esm/typedefs-mergers/merge-typedefs.js:10:22)
    at makeExecutableSchema (file:///Users/Tests/tt/node_modules/@graphql-tools/schema/esm/makeExecutableSchema.js:69:32)
    at generateSql (file:///Users/Tests/tt/node_modules/graphql-to-sql/lib/index.js:60:26)
    at file:///Users/Tests/tt/index.js:52:13
    at ModuleJob.run (node:internal/modules/esm/module_job:194:25)

Node.js version
v18.16.0
What could be wrong?

Thanks. This was being caused because the appearance of the @sql in typeDefs was defined differently than the directive's definition in index.ts. Should be working now in 4.0.4.


Multi-env: Share the same resource between environments

The CLI multienv feature currently has a missing usecase: the ability to use the same resource between environments. The usecase is that I have two frontends: alpha.myawesomeapp.com and beta.myawesomeapp.com. I want the same user directory but different schemas for my data in alpha and beta.

Is this something that will be worked on? I have 2 environments but I have dynamodb tables that do not contain environment dependent data and so i find it redundant to create them twice especially since it increases my cost

Closing this as this is now addressed with the amplify import auth / amplify import storage workflows.


[FLINK-22676][coordination] The partition tracker stops tracking internal partitions when TM disconnects

What is the purpose of the change
When TM disconnects(JobMaster#disconnectTaskManager), JobMasterPartitionTrackerImpl stops tracking all the partitions the TM ever produced, i.e. the lifecycle of shuffle data is bound to computing resource (TM). It works fine for internal shuffle service, but doesn't for remote shuffle service. Note that if shuffle data is accommodated on remote, the lifecycle of a completed partition is capable to be decoupled with TM, i.e. TM is totally fine to be released when no computing task on it and further shuffle reading requests could be directed to remote shuffle cluster.
This PR proposes to fix JobMasterPartitionTrackerImpl and handle above scenario properly.
Brief change log

Fix JobMasterPartitionTrackerImpl#stopTrackingPartitionsFor -- only internal partitions, which are accommodated on TM local, are stopped tracking,
Fix JobMaster#jobStatusChanged -- current logic traverses registeredTaskManagers and release or promote related partitions, which is incorrect. With above change, external partitions, which are accommodated on external shuffle service, will NOT be released when TM disconnects. Thus release partitions by traversing existing registeredTaskManagers might cause leak of external partitions.
Exclude internal partitions when invoke internalReleasePartitionsOnShuffleMaster

Verifying this change
Added new tests in JobMasterPartitionTrackerImplTest
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, Kubernetes/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)

Thanks @jinxing64 for opening this pr. In general I could understand what we want to fix. But I have a little concern.
In theory, if internal shuffle is not used, JobMasterPartitionTracker continues to maintain the mapping of TM to ResultPartition may be counter-intuitive. This can also lead to some inconsistencies, such as:

In the case of Remote Shuffle, after the job reaches the Terminated state, the ResultPartition and the TM to ResultPartition mapping will be deleted at the same time, but if the TM is lost, only the TM to ResultPartition mapping will be deleted. In this case, it may be meaningless to maintain this mapping, and if this inconsistency continues, it may make it difficult for others to understand the reason for this approach.

Another case is that in the case of Remote Shuffle, after the one task ends, because we continue to maintain the mapping of TM to ResultPartition, we might think that `ResultPartition still occupies TM resources at sometime.

I have not yet thought of a specific and complete solution, but a possible direction may be: If JobMasterPartitionTracker has found that ResultPartitionDeploymentDescriptor is not an internal shuffle, don’t maintain the mapping from TM to ResultPartition at the beginning.
WDYT?

Thanks for comments @guoweiM .
Currently there are two data structures in JobMasterPartitionTrackerImpl:

partitionTable, which maintains the mapping from tmId to result partitions it produced;
partitionInfos, which records all the partitions under tracking;

When a tm is gone, it's relative partitions in partitionTable will be cleared, which means no partitions is accommodated on it;
At the same time, only tm internal partitions is cleared from partitionsInfos but external partitions are kept -- external partitions are available and could be decoupled from the lifecycle from tm;
I think that's where the inconsistencies you mentioned came from. And I agree that it take words to explain the underlying mechanism and might be hard for understanding for new commers;

If JobMasterPartitionTracker has found that ResultPartitionDeploymentDescriptor is not an internal shuffle, don’t maintain the mapping from TM to ResultPartition at the beginning.

I agree with you for the proposal -- partitionTable only maintains tm internal partitions from the start and partitionInfos records all external and internal partitions. With this change the semantics of below interfaces will be:

boolean isTrackingPartitionsFor(K key);: if there's internal partitions tracked for the key;
boolean isPartitionTracked(ResultPartitionID resultPartitionID): if the resultPartitionID is tracked anywhere, no matter internally or externally

Thanks a lot for the concern @guoweiM ; How do you think? @tillrohrmann and @zhuzhurk
It will be great to hear comments from you Flink master. I will keep refining this PR if we can reach consensus for the idea.

wip

@zhuzhurk
Thanks for deep review ~ I updated by your comments ~ please take a look when CI gives green ~~

@zhuzhurk
I resolved your comments by a following commit. Please take a look when you have time. I will squash the commits once the whole pr is approved.

@zhuzhurk
Thanks for quick response ~ I've squashed the commits.

Rebased onto latest master because the PR base was a bit too old.

Thanks @zhuzhurk for rebasing ~ please ping me to rebase for convenience next time :)

Thanks for merging ~~


Update opentelemetry-aws-xray to 1.34.0 in scala-steward-dependencies

About this PR
📦 Updates io.opentelemetry.contrib:opentelemetry-aws-xray from 1.33.0 to 1.34.0
📜 GitHub Release Notes - Version Diff
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "io.opentelemetry.contrib", artifactId = "opentelemetry-aws-xray" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "io.opentelemetry.contrib", artifactId = "opentelemetry-aws-xray" }
}]

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

Superseded by #3855.


fix issue related to constructor generics with optional props

Fixes https://github.com/xaviergonz/mobx-keystone/issues/405#issuecomment-1047000482

That's a nice trick! I didn't think of that 💯
I've also used the same trick for the other omits :)

Thanks! :blush:

I've also used the same trick for the other omits :)

I had done that, too, but it wasn't needed to fix the constructor generics issue. Probably doesn't hurt though. :wink:


feat: revamp discount details and new

What

Revamps discount details and new domains
Implements two new templates for these view
Adds StatusSelector component

Note
There are a bunch of rules related to discounts, what can be updated which combinations are valid and so on. I think I got them all, but if not then please shout! 😄

Spotted a few things:
We should change "Draft" to "Disabled"
When creating a discount

select template discount
edit availability duration
deselect template discount
submit still sends valid_duration

the below are more nice to haves
When creating a discount

select 1 region
select fixed amount
would be nice if the amount input changes to currency formatted input

When creating/editing a discount

would be nice if the date/time picker displayed the local time but transformed to UTC when submitting


feat: allow access to SSL attributes in EL TemplateEngine

Issue
https://github.com/gravitee-io/issues/issues/5322
Description
Update the EL grammar.json, so the EL Autocomplete WebComponent can display the new entries.
Additional context
I used a TreeMap to sort alphabetically the fields

FYI, you can test the grammar in a story , just paste the file here


Bug mouse captured in Windows8

Operating system or device - Godot version:
Windows 8, Godot 2.1
Issue description (what happened, and what was expected):
The capture of the mouse during the rotation of the camera, game is lags.
Steps to reproduce:
Input.set_mouse_mode(2)
! In Linux is working fine.
Link to minimal example project (optional but very welcome):
mouse_captured_lags_windows8.zip

I am also experiencing this issue on some Windows 10 machines.  Works fine on my Windows machine but a friend experiences lag and memory usage slowly but steadily increases.
Linux also working fine for me
.

As well :(


Allow setting of custom arguments

I am using the action on a self-hosted runner which requires proxy settings. I don't seem to be able to set these, meaning coursier fails when installing apps
I tried to set JAVA_OPTS, however this doesn't seem to be possible (not sure if this would work anyway)
My understanding is, I would need to get coursier to run like this: coursier -J-Dhttps.proxyHost=… -J-Dhttps.proxyPort=… as documented here
If this makes sense as a useful feature, I'd be willing to work on a pull request. Let me know what you think

@shinyhappydan Sure, that could be helpful


Refactor unit tests in multiple packages.

Updated unit tests for binary.scalar, unary.scalar, blocks, caching, external, and gdfo packages
such that in/out/expected test data won't be generated under src directory. The gdfo refactoring also included utilizing base class getRCmd().
The AutomatedTestBase.writeExpectedScalar method, which is only called from unary.scalar.RoundTest, was modified to ensure expected directory path exists.
Tests completed successfully here.

LGTM

Great job @gweidner !
PR merged.


build: apply angular bazel ng_module fix to unblock framework

Due to our weird cyclic dependency with the framework repository,
we need to apply changes from https://github.com/angular/angular/pull/36971
before the PR can actually land in framework. This is because the
changes of that PR fail in the components repo job as we apply patches
that conflict with the new changes.
At the same time though, we cannot make the components repo compatible
until the framework PR landed. We work around this as usually done, by
applying the upstream changes through a patch. Then we can resolve
conflicts and the framework PR can land. Eventually we can then
remove the patch again from the components repo.

Marking as blocked temporarily until it's clear whether the framework PR will land or not.

Looks the PR is upstream now approved and we are good to go with landing this.. so that we can clean up things upstream in the ng_module rule (plus fix things for ng_package)


SweepValues, Troubles ?

Is this the behavior one wants?
from unittest import TestCase
from qcodes.instrument.parameter import ManualParameter

from qcodes.utils.validators import Numbers

class TestSweepValues(TestCase):
    def setUp(self):
        self.c0 = ManualParameter('c0', vals=Numbers(-10, 10))

    def test_slicing(self):
        c0 = self.c0
        self.assertEquals(list(c0[1:2:1]), list(c0.sweep(1,2,1)))

Run tests
>>>AssertionError: Lists differ: [1] != [1.0, 2.0]

The types are different (it's python so meh, but hella confusing none the less)
The sweep values one gets  are very different

@alexcjohnson   maybe it's by design (or I am sure it's by design, given the fact that it's almost clone of numpy.arange)  ?

I remember that we deliberately kept the slice notation the same as the default python slice behaviour. This is probably at the root of this problem
I am personally not surprised by this behaviour. (I cannot say anything about the types though)

@damazter right - .sweep was added because some people (understandably) didn't like the missing endpoint from slice notation, or wanted the ability to specify the number of points rather than the step. But slice notation is well defined in python - and never includes the endpoint - so we don't want to alter that.
We could debate whether coercing always to float or leaving ints where it's possible is better... probably doesn't have any practical effect at the moment but definitely confusing.

Reminds me of this:

](url)

jokes aside. I think it's really too confusing.
I will deprecate and then remove in the next version.
Background:
In [8]: range(0,100)[0:100:1]
Out[8]: range(0, 100)

If one  thinks in terms of generators then slicing is also not supported.
Lastly while slicing is pythonic, it has to do with existing sequences (that's also why by default one can't really slice a generator as mentioned above).
This syntax creates a sequence by using a slice, and hence the behavior of the syntax is not predictable, unless one has been involved in the discussion. Moreover  it is impossible to document.
I am deeply sorry for those who used this syntax.
☮


Create extension neon

Problem
#5726
TODO:

[ ] test with DDL forwarding
[ ] add user documentation
[x] add alter extension instruction

Summary of changes
Checklist before requesting a review

[ ] I have performed a self-review of my code.
[ ] If it is a core feature, I have added thorough tests.
[ ] Do we need to implement analytics? if so did you add the relevant metrics to the dashboard?
[ ] If this PR requires public announcement, mark it with /release-notes label and add several sentences in this section.

Checklist before merging

[ ] Do not forget to reformat commit message to not include the above checklist

@save-buffer
How DDL forwarding works for CREATE DATABASE ?
Is there any operation that we run for each new database from control plane?
Or it just updates the list of databases to show them in console?

When user runs CREATE DATABASE, the neon extension sends a request to control plane to update its list of databases and that's it. When a user creates a database through UI, control plane sends a new spec which contains all the new database, and when the new spec is applied all of the grants happen then.

test expectedly failed after #5727 was merged.
Rebased and updated extension version in the test


Update faq-general.yml

Added further information on our MFA evaluation that can help customers understand exactly our evaluation logic. Line 165

#sign-off


PDF output

requires installation of latex for PDFs to be created in Markdown and Quarto.
both render to html ok
`output file: testmarkdown.knit.md
! sh: pdflatex: command not found
Error: LaTeX failed to compile testmarkdown.tex. See https://yihui.org/tinytex/r/#debugging for debugging tips. See testmarkdown.log for more info.
In addition: Warning message:
In system2(..., stdout = if (use_file_stdout()) f1 else FALSE, stderr = f2) :
error in running command
Execution halted
No LaTeX installation detected (LaTeX is required to create PDF output). You should install a LaTeX distribution for your platform: https://www.latex-project.org/get/
If you are not sure, you may install TinyTeX in R: tinytex::install_tinytex()
Otherwise consider MiKTeX on Windows - http://miktex.org
MacTeX on macOS - https://tug.org/mactex/
(NOTE: Download with Safari rather than Chrome strongly recommended)
Linux: Use system package manager`

possible solution - pandoc module from mahuika

Since it is specifically looking for pdflatex command as per pdflatex: command not found, we might not be able to solve it with pandoc module as it only has pandoc pandoc-citeproc  binaries.
Solution is to install some form TexLive ( minimal level should do)

We have a container image latex-edege.simg  which provides the function and it is working

$ module load Apptainer

$ apptainer shell latex-edege.simg
Singularity> pdflatex test.tex
This is pdfTeX, Version 3.141592653-2.6-1.40.24 (TeX Live 2022) (preloaded format=pdflatex)
 restricted \write18 enabled.
entering extended mode
(./test.tex
LaTeX2e <2022-11-01> patch level 1
L3 programming layer <2023-02-22>
(/opt/texlive/texdir/texmf-dist/tex/latex/base/article.cls
Document Class: article 2022/07/02 v1.4n Standard LaTeX document class
(/opt/texlive/texdir/texmf-dist/tex/latex/base/size10.clo))
(/opt/texlive/texdir/texmf-dist/tex/latex/l3backend/l3backend-pdftex.def)
No file test.aux.
[1{/opt/texlive/texdir/texmf-var/fonts/map/pdftex/updmap/pdftex.map}]
(./test.aux) )</opt/texlive/texdir/texmf-dist/fonts/type1/public/amsfonts/cm/cm
r10.pfb>
Output written on test.pdf (1 page, 12868 bytes).
Transcript written on test.log.

I suppose we can take a look at building a lightweight module based on the container and see whether it will get around this for the moment.

@MattBixley I have added a TeXLive/2022 module which should fix the problem.
$ module load TeXLive/2022

$ pdflatex test.tex
This is pdfTeX, Version 3.141592653-2.6-1.40.24 (TeX Live 2022) (preloaded format=pdflatex)
 restricted \write18 enabled.
entering extended mode
(./test.tex
LaTeX2e <2022-11-01> patch level 1
L3 programming layer <2023-02-22>
(/opt/texlive/texdir/texmf-dist/tex/latex/base/article.cls
Document Class: article 2022/07/02 v1.4n Standard LaTeX document class
(/opt/texlive/texdir/texmf-dist/tex/latex/base/size10.clo))
(/opt/texlive/texdir/texmf-dist/tex/latex/l3backend/l3backend-pdftex.def)
No file test.aux.
[1{/opt/texlive/texdir/texmf-var/fonts/map/pdftex/updmap/pdftex.map}]
(./test.aux) )</opt/texlive/texdir/texmf-dist/fonts/type1/public/amsfonts/cm/cm
r10.pfb>
Output written on test.pdf (1 page, 12868 bytes).
Transcript written on test.log.

This wasn't created by using EasyBuild. Instead,

I have pulled the latex-edge container image from
Took a list all of the binaries in /opt/texlive/texdir/bin/default/  ( ls -p  /opt/texlive/texdir/bin/default/ | grep -v / > binary.list
Encapsulated the names with and a comma at the end "..."

awk '{print "\"" $0 "\""}' binary.list > quotes-binary.list | sed 's/$/,/' quotes-binary.list > commasep-binary.list

Then wrote a .lua file manually to create the module
I suppose we can add it to script.sh.erb file and see whether it will solve it the problem

Added to script.sh.erb and Markdown will now output to PDF.
# load additional Modules module load TeXLive/2022
Relaunched app and then required within R to run tinytex::install_tinytex() unsure if all users will need to do this or just pushing/rsync my library with the 4.3 library will fix that for everyone.
> .libPaths() [1] "/mnt/gpfs/persist/home/agresearch.co.nz/<USERID>/R/foss-2023a/4.3"              [2] "/mnt/gpfs/persist/apps/eri_rocky8/software/R/4.3.3-foss-2023a/lib64/R/library"


feat: support yarn berry

Adds support for yarn v2/3 lockfile

https://github.com/mariusschulz/vscode-yarn-lock-syntax/issues/2

Thank you! 🙌


module 7 fails with AccessDeniedException

Error:
An error occurred (AccessDeniedException) when calling the ListCrawlers operation
at feature_monitoring_utils.py:157

response = client.list_crawlers()

I'm using the default AmazonSageMaker-ExecutionRole

Don't bother, it's documented in the Notebook file. Closing...


Support for git-lfs and multipart upload

Hi @roman-kiselenko
I am starting my journey from DevOps to programming and thought of learning git internal and started looking into the project. smolgit is something I found accidentally and surprised it was so simple compared to others. I am new to Go and would experiment with this project.
Question:

Can I self host this on EC2? Is there any simple docker method guide available?
How to add store to S3 to store repos?

Feature Request:

[ ] Support git-lfs
[ ] Support multipart transfer upload/download
[ ] Support all the file to store in S3 including git and git-lfs with POSIX file system like JuiceFS to save the cost of storing the repos without loosing on the speed or performance.

Sorry for asking noob questions.
Thank you in anticipation!

@prishacoder hello and thank you for your attention.

Can I self host this on EC2? Is there any simple docker method guide available?

I've added an instruction how to use it with docker, please check it

How to add store to S3 to store repos?

You can use https://github.com/awslabs/mountpoint-s3/ in order to create a directory for smolgit and set that directory in the config.yaml > git.path.
I don't plan to support git-lfs

@roman-kiselenko Thank you for response and adding the guide for docker deployment method & S3 mounting!
On the git-lfs, I checked go-git and found it doesn't support git-lfs as it requires git-scm binary and go-git is written in pure Go and doesn't require git-scm binary.
In this case, if we would like to add support for LFS in smolgit then we've to look for alternative solutions like DVC as smolgit uses go-git for git related modules. I think LFS support will be very helpful as ecosystem is moving towards ML and people have to interact with lots of big size data. I am currently reading DVC and the other ecosystem to manage LFS including multi-part upload/download as it requires to manage ML and large data files.
I am new to Go and just started learning, I will try to create PR in case I setup it successfully in my local. Will love to get your input on LFS support, if possible.
Thanks a lot again! 🙏

I checked DVC and looks like the setup runs in parallel and supports multipart upload. So, we don't really need to integrate for the self use.


Text Translation Samples: Updating README and java samples

Text Translation Samples: Updating README.md from java samples. Modifies the README.md file to include snippet names for use by the Maven codesnippets plugin, with usage available here:
https://github.com/Azure/azure-sdk-tools/tree/main/packages/java-packages/codesnippet-maven-plugin
Corresponding code for the snippets is found in the java samples, modified to include the snippet name in a comment block:
// BEGIN snippet-name
...
// END snippet-name
When the project is compiled the codesnippet plugin reads the java samples and updates the README.md file with the corresponding code snippet:
mvn compile process-sources
The processed README.md is found in this commit.

API change check
API changes are not detected in this pull request.


Significant issue in find_in_batches (perhaps next_batch_from and everything that calls it)

If there is a table with a schema with 4 keys like this:
    key :app_id, :text
    key :client_id, :text
    key :filter_type_id, :text
    key :filter_id, :text

And then you do WhateverModel::find_in_batches()
the queries end up looking something like this:

[2017-03-21 00:08:32.877 (30545|5779200) D]  CQL (78ms) SELECT * FROM whatever_models LIMIT 1000
[2017-03-21 00:08:32.933 (30545|5779200) D]  CQL (24ms) SELECT * FROM whatever_models WHERE app_id = 'app_id' AND client_id > 'some_client_id' LIMIT 1000
[2017-03-21 00:08:32.991 (30545|5779200) D]  CQL (2ms) SELECT * FROM whatever_models WHERE TOKEN(app_id) > TOKEN('app_id') LIMIT 1000

Note that it is only looking at app_id and client_id.  It is completely ignoring filter_type_id and filter_id when constructing the queries to range through the table.
I'm pretty sure this is happening in next_batch_from, but I can't quite figure out whats going on in there yet

Yeah, that code is pretty complicated. It was necessary in the distant past
but these days we should use the paged results capabilities of c*. I'd
accept a PR to that effect if you are interested in making such a change.


Package request: Alpine Linux

I would be really nice if we could get a package for Alpine Linux too! :+1:
http://alpinelinux.org/

What file format does Alpine Linux support (eg .deb, .rpm)?

Alpine Package Format

Alpine Linux is an independent security oriented distribution with their own great package format.
I really miss Atom on Alpine Linux.
I would very much like to compile my own, but I do not know what packages to install that correspond to the build-essential from Debian.

Alpine Linux is a security-oriented, lightweight Linux distribution based on musl libc and busybox.
If glibc is needed there is a glibc compat package which works fine to run docker-compose (needs glibc) and a wiki article about Running glibc programs.


*** target pattern contains no '%'.  Stop.

ros2 foxy
cmake version 3.16.3
sudo add-apt-repository ppa:ecal/ecal-latest
sudo apt-get update
sudo apt-get install ecal
mkdir ~/ws/src -p
cd ~/ws/src
source /opt/ros/foxy/setup.bash
git clone https://github.com/continental/rosidl_typesupport_protobuf.git
git clone https://github.com/continental/rmw_ecal.git
cd ~/ws
colcon build

What am I doing wrong?

Wierd, i can't seem to b able to reproduce it, do you mind sharing problematic build.make file with me?

build.make.txt

Closing this because i couldn't reproduce it.

I am facing the exact same issue too. Please look into this.


updated invoker.js documentation

#2819
A suggestion: maybe the documentation should make it clear that only the target object's methods can be invoked, and not any function.
Replace this: @param {String} method Name of the method to call.
With this: @param {String} method Name of any of the target object's methods to call.

Thank you!
:herb:


getAllPingableDevices host is null on Android

Using an Android device after calling HostScanner.getAllPingableDevices( or HostScanner.getAllPingableDevicesAsync( I am waiting for the hostname response await activeHostFound.hostName but it returns null for all devices.
Results look ok on Linux (with network_tools_flutter)

Found out the hard way that it is probably the Flutter version so I have opened an issue for that to the Flutter team.
https://github.com/flutter/flutter/issues/140506


"Add Current File To Project" command not working

Executing the "Add Current File To Project" task does nothing in a fresh Fable project (created using the instructions here). I don't know how to provide more information than this, since nothing happens!

SDK based projects are not yet supported by Forge (it's WIP) so no project modifications commands work yet with them

Fair enough. Thanks for your hard work on this project!


Add code generation command

web3 generate code DEMOToken.abi

Will run this:
docker run --rm -v $PWD:/contracts -w /contracts ethereum/client-go:alltools-latest abigen --abi DEMOToken.abi --pkg abi --out DEMOToken.go
sudo chown $(whoami):$(whoami) DEMOToken.go

Maybe we make a gochain/abigen image though so the imports generated are gochain.
I would imagine we could add support for other languages down the road too.

Can we just call package abigen directly instead of using docker?


Named blob update api implementation

Named blob update api implementation:

Create a new blob with temp TTL
Insert a row into MySQL named_blobs_v2 db with state='IN_PROGRESS'
Update Blob TTL to infinity
Update MySQL record's state to be 'READY'

Codecov Report
Base: 73.01% // Head: 54.34% // Decreases project coverage by -18.67% :warning:

Coverage data is based on head (f94ec5c) compared to base (a84c4af).
Patch coverage: 26.47% of modified lines in pull request are covered.

Additional details and impacted files
@@              Coverage Diff              @@
##             master    #2247       +/-   ##
=============================================
- Coverage     73.01%   54.34%   -18.68%
+ Complexity    10375     7019     -3356
=============================================
  Files           749      747        -2
  Lines         56895    56878       -17
  Branches       7001     7004        +3
=============================================
- Hits          41542    30910    -10632
- Misses        13088    23283    +10195
- Partials       2265     2685      +420

Impacted Files
Coverage Δ

...java/com/github/ambry/protocol/NamedBlobState.java
100.00% <ø> (ø)

...hub/ambry/frontend/FrontendRestRequestService.java
80.73% <ø> (-16.52%)
:arrow_down:

...com/github/ambry/frontend/NamedBlobPutHandler.java
43.94% <10.00%> (-48.67%)
:arrow_down:

.../java/com/github/ambry/named/MySqlNamedBlobDb.java
60.98% <17.64%> (-1.34%)
:arrow_down:

...github/ambry/frontend/AmbryIdConverterFactory.java
87.50% <50.00%> (-8.61%)
:arrow_down:

...om/github/ambry/config/MySqlNamedBlobDbConfig.java
100.00% <100.00%> (ø)

.../main/java/com/github/ambry/named/NamedBlobDb.java
100.00% <100.00%> (ø)

...src/main/java/com/github/ambry/rest/RestUtils.java
63.60% <100.00%> (-29.34%)
:arrow_down:

...in/java/com/github/ambry/router/CryptoService.java
0.00% <0.00%> (-100.00%)
:arrow_down:

.../java/com/github/ambry/clustermap/PartitionId.java
0.00% <0.00%> (-100.00%)
:arrow_down:

... and 402 more

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

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


enhancement: workbook_iterate and workbook_flatten

I wrote two higher level functions that could be useful to others if included in your library?
def workbook_iterate(url, **selects):
    "generates combinations of workbooks from combinations of parameters, selects or filters"

def workbook_flatten(wb, date=None, **mappings):
    """return a single DataFrame from a workbook flattened according to mappings
    mappings is worksheetname=columns
    if columns is type str puts a single value into column
    if columns is type dict will map worksheet columns to defined dataframe columns
    if those column names are in turn dicts then the worksheet will be pivoted and the values mapped to columns
    e.g.
    worksheet1="Address",
    worksheet2=dict(ws_phone="phone", ws_state="State"),
    worksheet3=dict(ws_state=dict(NSW="State: New South Wales", ...))
    """
    # TODO: generalise what to index by and default value for index

The code  and examples of how I'm using it
Used in combination you can reliably scrape lots of data with not too much code, at least in the case of similar to what I've used it for?

@djay Thank you, that's great work!
I'm very interested in workbook_iterate function since there are many usecases when we need to iterate the parameters/filters (server side rendering / get all region/county/province data etc...). This addition would greatly reduce boilerplate
workbook_flatten seems quite advanced, maybe too advanced for most people that will use this library but I may be wrong.
Do you think you can provide a PR with a sample usage for one or both of these feature ?

I;ve already really used it on my one usecase for now.

For this the iterate and flatten work together to reduce the code to.
        dates = reversed(pd.date_range("2021-02-01", today() - relativedelta(hours=7)).to_pydatetime())
        for get_wb, idx_value in workbook_iterate(url, param_date=dates, D2_Province="province"):
            date, province = idx_value
            if province is None:
                continue
            province = get_province(province)
            if skip_valid(df, (date, province), allow_na):
                continue
            if (wb := get_wb()) is None:
                continue
            row = workbook_flatten(
                wb,
                date,
                D2_Vac_Stack={
                    "DAY(txn_date)-value": "Date",
                    "vaccine_plan_group-alias": {
                        "1": "1 Cum",
                        "2": "2 Cum",
                        "3": "3 Cum",
                    },
                    "SUM(vaccine_total_acm)-value": "Vac Given",
                },
                D2_Walkin="Cases Walkin",
                D2_Proact="Cases Proactive",
                D2_Prison="Cases Area Prison",
                D2_NonThai="Cases Imported",
                D2_New="Cases",
                D2_NewTL={
                    "AGG(stat_count)-alias": "Cases",
                    "DAY(txn_date)-value": "Date"
                },
                D2_Lab2={
                    "AGG(% ติดเฉลี่ย)-value": "Positive Rate Dash",
                    "DAY(txn_date)-value": "Date"
                },
                D2_Lab={
                    "AGG(% ติดเฉลี่ย)-alias": "Positive Rate Dash",
                    "ATTR(txn_date)-alias": "Date",
                },
                D2_Death="Deaths",
                D2_DeathTL={
                    "AGG(num_death)-value": "Deaths",
                    "DAY(txn_date)-value": "Date"
                },
            )

results in
Date,Province,Cases,Cases Area Prison,Cases Imported,Cases Proactive,Cases Walkin,Deaths,Hospitalized Severe,Positive Rate Dash,Tests,Vac Given 1 Cum,Vac Given 2 Cum,Vac Given 3 Cum
...
2021-09-30,Trang,85.0,0.0,0.0,0.0,85.0,0.0,0.0,,,674308.0,433842.0,26718.0
2021-09-30,Trat,76.0,2.0,0.0,0.0,74.0,0.0,91.0,,,268796.0,193600.0,8403.0
2021-09-30,Ubon Ratchathani,178.0,0.0,0.0,0.0,178.0,1.0,0.0,,,512693.0,332288.0,24226.0
2021-09-30,Udon Thani,123.0,0.0,0.0,0.0,123.0,2.0,0.0,,,496948.0,286579.0,16244.0
2021-09-30,Uthai Thani,25.0,0.0,0.0,1.0,24.0,0.0,1.0,,,124028.0,74468.0,5276.0
2021-09-30,Uttaradit,10.0,0.0,0.0,0.0,10.0,0.0,0.0,,,178581.0,111562.0,5184.0
2021-09-30,Yala,30.0,0.0,0.0,2.0,28.0,2.0,0.0,,,374607.0,227236.0,9466.0
2021-09-30,Yasothon,563.0,2.0,0.0,0.0,561.0,1.0,0.0,,,254452.0,150356.0,5982.0

Maybe you could point me to a more permanent and simpler workbook I could scrape and I can use that as an example instead?
I think one thing I might have to do is generalise flatten to work for non timeseries data as it currently assumes this which makes it less useful. Know of a good example which is not indexed by something other than date?

@djay For something not indexed by date, maybe:

https://public.tableau.com/views/PlayerStats-Top5Leagues20192020/OnePlayerSummary
https://public.tableau.com/views/NewspapersByCountyCalifornia/Newspaperbycounty
https://public.tableau.com/views/COVIDVaccineDashboard/RECIPIENTVIEW

yeah maybe the top5leagues one with a row per player.
Doesn't show off the merging of an embedded graph inside the workbook but chances are the usecase for that one is only going to be timeseries.

@bertrandmartel maybe workbook_flatten would be more useful if it worked more automatically to try to return a single dataframe from one workbook. Then you can rename columns yourself after to clean it up.
So in the example above it would be
df = wb.flatten(datatime.now())
df = df.rename({"D2_Vac_Stack: vaccine_plan_group-alias: 1": "Vac Given 1",...

However for that to work it needs to know what the index is for every table inside a workbook and assume they are the same index. And also that single value tables will have index value passed in. Im not yet sure where in the information is of what the index is for an internal plot.

@bertrandmartel actually in that example it would never work for pivoting an internal table/plot. It wouldn't know which column to pivot on. Maybe the way to do that more simply would be have an exclude param on flatten and the user to do that pivot manually and combine themselves.
In addition the code I had dealt with combining internal plots and single values that represented the same data (but potentially different dates). So that would have to be done manually.
So the example would be
df = wb.flatten(datatime.now(), exclude=["D2_Vac_Stack"])
df = df.rename(columns=dict(D2_New="Cases", D2_NewTL="Cases2", D2_Death="Deaths",...))
df = df.combine_first(df["Cases2"].to_frame("Cases")).drop(columns="Cases2")
...
vac = wb.getWorksheet("D2_Vac_Stack").pivot_table(....
df = df.combine_first(vac)

I'm not sure if the end result saves more work or not...

@bertrandmartel inclusion of workbook_iterate would be very helpful especially if my understanding is correct and it would accept a parameter column and then iterate the values. Though I supose doing this is fairly easy, it would save a lot of time.
I am presently unable to use Python (due system restrictions) but it does seem like your library would be very helpful for getting scraped data into Microsoft Power BI as it supports running of Python scripts where a dataframe is the result. For the time being, many of your posts Stackoverflow have helped me to get a solution working in M (Power Query). Though it is much less advanced it does the job for now.
Thanks for you work.


[BUG] AysyncOpenSearch doesn't import

What is the bug?
Maybe a documentation issue regarding async, not sure.
I have:
from opensearchpy import RequestsHttpConnection, AsyncOpenSearch

in my code, which errors with:
ImportError: cannot import name 'AsyncOpenSearch' from 'opensearchpy'
What is the expected behavior?
Import of async client succeeds.
What is your host/environment?

OS: mac
Version 1.0.0

@andrew-matteson Did you try like below?
pip3 install opensearch-py[async]

I missed the hyphen in the pip install. Thanks!


feat(protocol-designer): Add batch edit announcement modal

Overview
closes #7318 by adding the announcement modal for batch edit mode
Changelog

feat(protocol-designer): Add batch edit announcement modal

Review requests
http://sandbox.designer.opentrons.com/pd_batch-edit-announcement-modal-7318
Leaving this as a draft so others can edit as copy/layout changes come in.
open PD in incognito mode

[ ] Announcement modal shows batch edit info

Risk assessment
Low, 1 time modal in PD.

There's a weird checker-pattern artifact in the GIF?


Add automated tests

Not sure exactly how to go about doing this...would need to mock the DB or something
Or create a new DB to do it with?

Suggestions from EuroSciPy:

Try PyFakeFS to fake the file-system and test things... - https://pypi.python.org/pypi/pyfakefs
Try behave - a Behaviour-Driven Development library for Python... - http://pythonhosted.org/behave/

Specific things to test:

TinyDB DateTimeSerializer
All of the utils.py functions that are reasonably stand-alone
patch_function and create_wrapper under various situations (eg. with __doc__, functions, methods etc)
Git methods - eg. get_origin() etc
Parsing of a range of config files
recipy command for a range of pre-given databases (actual text output, plus exported output)
Behaviour-Driven Development using behave for whole process

Before doing these we'd also need to implement proper handling of the DB path, so we can redirect it/mock it during tests.

Just in case it is relevant, there is also the testpath module used by jupyter project: https://github.com/jupyter/testpath
"Testpath is a collection of utilities for Python code working with files and commands. It contains functions to check things on the filesystem, and tools for mocking system commands and recording calls to those."

This is currently being worked on by the Software Sustainability Institute - see https://github.com/softwaresaved/recipy-test.

The main bulk of the automated testing work has been dealt with by Mike from the SSI. However, I'm not sure that all of the items listed above have actually been tested, as Mike's tests were more integration tests.


Xcode 9 Problem

this is the error
Instance member 'exclusion' cannot be used on type 'XWVMetaObject'
in XWVMetaObject.swift
Can you help me?

I am facing the same issue, so far any quick fix if no update is available yet ? Thanks

I fixed it by adding below piece of code:
typealias Element = (key: String, value: XWVMetaObject.Member)
subscript(position: Dictionary<String, XWVMetaObject.Member>.Index) -> (key: String, value: XWVMetaObject.Member) {
               return members[position]
}

Reference:  XWebView/XWVMetaObject.swift

The fix is included in #91
Thanks.


deps: Bump com_github_nghttp2_nghttp2 -> 1.52.0

Commit Message:
Additional Description:
Risk Level:
Testing:
Docs Changes:
Release Notes:
Platform Specific Features:
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Fixes commit #PR or SHA]
[Optional Deprecated:]
[Optional API Considerations:]

cc @yanavlasov

not sure why this is failing - passes locally - seems like a transient flake but i dont seem to trigger it any other way - v odd

/retest

v odd

works today 8)

/retest


Update diff.md

Quick Spelling correction: Impoetant to Important

@ravioza Thanks for the fix. Sorry for the delay.


unable to unmarshal secret (Oracle Provider)

External Secret not syncing with the error: could not get secret data from provider.
kubectl describe externalsecret.external-secrets.io/example output:
Name:         example
Namespace:    default
Labels:       <none>
Annotations:  <none>
API Version:  external-secrets.io/v1beta1
Kind:         ExternalSecret
Metadata:
  Creation Timestamp:  2022-10-04T16:49:22Z
  Generation:          1
  Managed Fields:
    API Version:  external-secrets.io/v1beta1
    Fields Type:  FieldsV1
    fieldsV1:
      f:metadata:
        f:annotations:
          .:
          f:kubectl.kubernetes.io/last-applied-configuration:
      f:spec:
        .:
        f:dataFrom:
        f:refreshInterval:
        f:secretStoreRef:
          .:
          f:kind:
          f:name:
        f:target:
          .:
          f:creationPolicy:
          f:deletionPolicy:
          f:name:
    Manager:      kubectl-client-side-apply
    Operation:    Update
    Time:         2022-10-04T16:49:22Z
    API Version:  external-secrets.io/v1beta1
    Fields Type:  FieldsV1
    fieldsV1:
      f:status:
        .:
        f:conditions:
    Manager:         external-secrets
    Operation:       Update
    Subresource:     status
    Time:            2022-10-04T16:49:23Z
  Resource Version:  931043
  UID:               aaf572aa-112b-48aa-a4d8-77d05301f0d9
Spec:
  Data From:
    Extract:
      Conversion Strategy:  Default
      Decoding Strategy:    None
      Key:                  try2
  Refresh Interval:         0.03m
  Secret Store Ref:
    Kind:  SecretStore
    Name:  oracle-auth
  Target:
    Creation Policy:  Owner
    Deletion Policy:  Retain
    Name:             secret-to-be-created
Status:
  Conditions:
    Last Transition Time:  2022-10-04T16:49:23Z
    Message:               could not get secret data from provider
    Reason:                SecretSyncedError
    Status:                False
    Type:                  Ready
Events:
  Type     Reason        Age              From              Message
  ----     ------        ----             ----              -------
  Warning  UpdateFailed  2s (x2 over 2s)  external-secrets  unable to unmarshal secret: invalid character 'k' looking for beginning of value

the ExternalSecret yaml
apiVersion: external-secrets.io/v1beta1
kind: ExternalSecret
metadata:
  name: example
spec:
  refreshInterval: 0.03m
  secretStoreRef:
    kind: SecretStore
    name: oracle-auth  # Must match SecretStore on the cluster
  target:
    name: secret-to-be-created # Name for the secret on the cluster
    creationPolicy: Owner
  dataFrom:
  - extract:
      key: try2

on Oracle logs, the API call is successful. i think the issue is the response format ?
on the Events. the 'K' letter is actually the first letter of the value
any idea how to solve this issue would be great.

as stated in the docs, dataFrom is expecting a JSON as a secret. If you want to bring up text values, you should use data:
data:
- secretKey: my-k8s-secret-key
   remoteRef:
     key: try2

the difference is that, if try2 contains a JSON, data will load the entire JSON in my-k8s-secret-key. Alternatively, dataFrom will parse the JSON and create multiple k8s keys (as if the whole JSON was the k8s secret definition)

Thanks Carvalho.
that was it. appreciate the help.
closing it.

reopening for a quick question.
is there a way to fetch/get all the secrets in one call ?
or should I still have to reference every single secret I need in the ExternalSecret ?

For Oracle provider, you would need to call it for every secret. There is an option with dataFrom.find but AFAIK it is not implemented for oracle ( PRs are welcome!)


Choose version

Description & motivation
Re-committing changes made in https://github.com/dbt-labs/docs.getdbt.com/pull/1732
To-do before merge

Prerelease docs
If this change is related to functionality in a prerelease version of dbt (delete if not applicable):

[ ] I've added versioning components, as described in "Versioning Docs"
[ ] I've added a note to the prerelease version's Migration Guide

Checklist
If you added new pages (delete if not applicable):

[ ] The page has been added to website/sidebars.js
[ ] The new page has a unique filename

If you removed existing pages (delete if not applicable):

[ ] The page has been removed from website/sidebars.js
[ ] An entry has been added to _redirects

re-adding choose-version branch changes to next


Clarification Needed on Effective/ Actual Setpoints

The terms "effective setpoint" and "actual setpoint" seems to a lack of consensus on their meaning and/or purpose. Additionally, they are often used interchangeably, leading to potential confusion and misinterpretation.
I personally consider effective and actual setpoint to be equivalent to each other, therefore I will refer to "Effective Setpoint" from this point forward.
Current Understanding:

The effective setpoint refers to the "current" (active) setpoint in operation
It represents the setpoint value that the system is currently using to control its processes

Example:
A control system might have multiple setpoints, such as Occupied, Unoccupied, Standby, etc. At any given time, the effective setpoint would be the specific value from one of these setpoints depending on the mode that the system is currently using to maintain control.

It's important to note that the Effective Setpoint may not always be a static value directly taken from a predefined setpoint (Unoccupied, Occupied, Standby, etc.). In more advanced systems, and effective setpoint could be dynamically adjusted based on other inputs or conditions. Nonetheless, an Effective Setpoint is typically it's own Analog Value in a Bacnet network.

Gratned, this is just my own interpretation. I would like to hear differing perspectives and try to reach consensus on the definition of Effective/ Actual Setpoint.

Are Effective and Actual Setpoint equivalent?
Is Effective Setpoint simply the current setpoint being used by the control process?

I personally consider effective and actual setpoint to be equivalent to each other

I fail to see the difference, I agree they're logically the same.

Are Effective and Actual Setpoint equivalent?
In the context that you're describing, Connor, I agree, they are equivalent

Is Effective Setpoint simply the current setpoint being used by the control process?
If it's just "effective setpoint", yes. There are, however, setpoints (though they should be called thresholds) in practice called "effective cooling setpoint" and "effective heating setpoint" which is the initial cooling or heating setpoint with a modifier. "Effective cooling setpoint" and "effective heating setpoint" exist simultaneously, along with "existing setpoint" which itself would have the value of "effective cooling setpoint" or "effective heating setpoint", depending on the current operating mode.