fix(python): refresh channel incase the service becomes available after initial heart beat

also bump up rustup toolchain version to 1.76.0 to avoid some rust packages compilation failure.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 65.72%. Comparing base (44599e4) to head (294ead4).
Report is 25 commits behind head on main.

Additional details and impacted files

@@             Coverage Diff             @@
##             main    #4338       +/-   ##
===========================================
+ Coverage   36.96%   65.72%   +28.76%
===========================================
  Files         126      102       -24
  Lines       13235    11446     -1789
===========================================
+ Hits         4892     7523     +2631
+ Misses       8343     3923     -4420

Files with missing lines
Coverage Δ

python/graphscope/client/rpc.py
72.02% <100.00%> (-1.17%)
:arrow_down:

... and 90 files with indirect coverage changes

Continue to review full report in Codecov by Sentry.

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


Kustomize v5 Support

What would you like to be added:
Kubectl is currently using Kustomize v4.5.7, however there are several features in Kustomize v5 that it would be helpful to be able to use.
$ kubectl version --short
Client Version: v1.26.2
Kustomize Version: v4.5.7
Server Version: v1.25.6-eks-48e63af

Apologies if this is already in motion, I was unable to find any documentation around the process for merging new releases of Kustomize.
Why is this needed:
Kustomize v5 has a number of breaking changes, adding new features and deprecating some old ones. Until the new release of Kustomize is merged into Kubectl, to use these features we have to revert back to kustomize build | kubectl apply -f -.

This will release soon with v1.27!
https://github.com/kubernetes/kubernetes/pull/116598
/close


Feature request 0x1274f727adfe273ab6c: new language

I want to add my own download-script language.
The 3 commands are download, exit, and open.
EDIT: I need it compatible with .NET (I will test it with Telerik Progress JustDecompile) and I need the new ScintillaNET.dll on DLLMe.
EDIT 2: The 3 commands can NOT BE USED AS ARGS.

Have you tried what's on the Custom Syntax Highlighting wiki page?


Turn the mailbox loop into WFI

Set up interrupt for mailbox CMD:

MSTATUS
MEIE
Disable MISC clock gating
PIC priority and enabled for SOC interrupts
Enable SOC MBOX notif interrupts

Enter halted state with interrupts enabled after handling mailbox

@ArthurHeymans it looks like the register code needs to be regenerated:
"registers/src/el2_pic_ctrl.rs" does not match the generator output. If this is unexpected, ensure that the caliptra-rtl submodule is pointing to the correct commit and/or run "git submodule update". Otherwise, run registers/update.sh to update this file.

@ArthurHeymans it looks like the register code needs to be regenerated:
"registers/src/el2_pic_ctrl.rs" does not match the generator output. If this is unexpected, ensure that the caliptra-rtl submodule is pointing to the correct commit and/or run "git submodule update". Otherwise, run registers/update.sh to update this file.

No CI tests with the 'main' submodule afaict. So a rebase is needed.

I fear this PR has made the FPGA tests flaky. Seeing lots of different tests freeze up before processing a command:
https://github.com/chipsalliance/caliptra-sw/actions/runs/7791077742/job/21246531267?pr=1315

I fear this PR has made the FPGA tests flaky. Seeing lots of different tests freeze up before processing a command:
https://github.com/chipsalliance/caliptra-sw/actions/runs/7791077742/job/21246531267?pr=1315

Looking. This looks like it just impacts test_fips_shutdown, right? Which has special handling here, so it may be a fairly straightforward fix.

Looking. This looks like it just impacts test_fips_shutdown, right?

No, here's another example:
https://github.com/chipsalliance/caliptra-sw/actions/runs/7791077742/job/21247171576
I'm not sure whether this PR or #1297 is to blame. Need more data...

I'm not sure whether this PR or https://github.com/chipsalliance/caliptra-sw/pull/1297 is to blame. Need more data...

Smells like #1297. It has failed 2 out of 3 runs, this PR has passed 3 out of 3.

Update:
I think it's actually the combination of #1297 and #1193 that's to blame for these test failures:
https://github.com/chipsalliance/caliptra-sw/blob/d0645c4d5ae7abd52edc5e739e2303172485f1f3/runtime/src/lib.rs#L268-L272
For proper glitch protection, we probably want CfiCounter::delay() to be after enter_idle(). By randomizing the amount of delay before we sleep, we're probably exposing a race condition in the wfi code (my guess is that the interrupt is firing before we go to sleep). #1316 does this.
However, we still have the race condition to worry about. I believe the correct fix is to not set mie directly but instead only enable interrupts when going to sleep by setting the haltie bit in the mpmc register when going to sleep.
With regards to why we're getting the NMI, our veer instance has been configured with RV_FAST_INTERRUPT_REDIRECT:
https://github.com/chipsalliance/caliptra-rtl/blob/bbc9a329abb109abee5befc39419a5336672d036/src/riscv_core/veer_el2/rtl/common_defines.sv#L212
This means that the regular risc-v external interrupt dispatch is ignored, and instead the CPU is using a vector table from the meivt. Because we don't set this, it's likely that it's using address 0, and jumping to crazy-land, causing the unexpected NMI.
See section 6.6.1 "Fast Interrupt Redirect" in the veer docs for more info.


View your account homepage links differ on environments

Need to check that the test runner will collect both of these even though they have the same name?
class Foo(TestCase):
    def test_foo():
        pass
    def test_foo():
        pass

For example the above will only collect one test in python

This SO answer implies that the different tags will take care of it:
https://stackoverflow.com/a/37047734

LGTM 👍


How do I build this again?

I can recall having managed it in the past.
Following the current building instructions, I downloaded the correct CEF distribution files for my system, cd'd into a temp directory, then ran this command I constructed based on the instructions:
cmake -G "Ninja" -DCMAKE_BUILD_TYPE=Release \
    -DCEF_ROOT=~/dl/cef_binary_3.3282.1726.gc8368c8_linux64/Release \
    ~/src/cef-pdf

It failed for me with this:
CMake Error at CMakeLists.txt:192 (find_package):
  By not providing "FindCEF.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "CEF", but
  CMake did not find one.

  Could not find a package configuration file provided by "CEF" with any of
  the following names:

    CEFConfig.cmake
    cef-config.cmake

  Add the installation prefix of "CEF" to CMAKE_PREFIX_PATH or set "CEF_DIR"
  to a directory containing one of the above files.  If "CEF" provides a
  separate development package or SDK, be sure it has been installed.

-- Configuring incomplete, errors occurred!
See also "/home/anko/src/cef-pdf/build/CMakeFiles/CMakeOutput.log".

 What did I do wrong?
Relatedly, could the build be adapted to only 1 step? It would help automate testing and packaging.

@anko:  I get this error message if I use "CEF source" from spotify instead of Minimal Distribution.
as the readme says:
cmake -G "Ninja" -DCMAKE_BUILD_TYPE=Release -DCEF_ROOT=/path/to/cef/release /path/to/cef-pdf
ninja

/path/to/cef/release is the extracted "Minimal Distribution", /path/to/cef-pdf is the local path to the git repository.
 When you run cmake --version, you might get

cmake: /usr/local/lib/libcurl.so.4: no version information available (required by cmake)

If you get that, you need to delete the symlink to libcurl.so.4, and create a new one
sudo rm /usr/local/lib/libcurl.so.4
sudo ln -s /usr/lib/x86_64-linux-gnu/libcurl.so.4.4.0 /usr/local/lib/libcurl.so.4

You might then get

CMake Error at CMakeLists.txt:49 (list):
list does not recognize sub-command FILTER

Which is to be expected, as list(FILTER) was introduced in CMake 3.6, and if you have a cmake version < 3.6, such as 3.5.1 on ubuntu 16.04,
You then need to apt-get --purge cmake, and install the latest version from cmake.org
wget https://cmake.org/files/v3.14/cmake-3.14.0-rc4-Linux-x86_64.sh
sudo sh cmake-3.14.0-rc4-Linux-x86_64.sh --prefix=/usr/local --exclude-subdir

Also, it might then treat warnings as erros.
So create makefiles, and search for all flags.make, and remove -Werr, which treats warning as errors (and because since some methods aren't being used, this creates a warning, an the with -Werr, warnings cause the build to build to fail (-Werr: treat warnings as errors).
The way cmake works, is you open a command prompt in the directory where you want to build in.
Then you issue the cmake command, cmake -G "Ninja" -DCMAKE_BUILD_TYPE=Release -DCEF_ROOT=/path/to/cef/release /path/to/cef-pdf, which generate the build files you need to compile the application. -G specifies the build target, can be Ninja, unix-makefiles, Visual-Studio solutions.
You then use the makefiles or the Visual Studio solution to compile the project.
Note: Visual Studio on a 64-Bit processor wants to link against the 32-Bit dlls BY DEFAULT...


Composer: Support for Laravel 5.3.*

I haven't validated it. If there is anything, i'd be happy to try and help out :)

Closing, #1152 is further along. Thank you @sasin91


Update the Browser Support section

Update the Chrome and Opera logos.
Add Edge in the Browser Support section.

--
How the Browser Support section will looks at different breakpoints: 1, 2 and 3.

Awesome! Would you mind updating the README as well?

If it works on IE9 I think people assume that Edge is also supported. I guess we can remove that icon

Awesome! Would you mind updating the README as well?

Done in https://github.com/zenorocha/clipboard.js/pull/268 (since the readme.md is in master branch)

From https://github.com/zenorocha/clipboard.js/pull/268#issuecomment-227522630

Also if it's supported on IE9 I think people would assume that it's supported on Edge as well.

I disagree with that, but updated my PR to remove the related commit :)

Thanks!!

@zenoracha Edge is not IE. Perpetuating that notion will only confuse developers and users.
One could argue that Opera is closer to Chrome than Edge is to IE but you still make a difference between those 2 browsers. Why not do the same with Edge?

Ok, let's do this. Could you send a PR?

Sure, thanks!

Something like this for gh-pages

Or want something different, other order?
Also unless I'm mistaken I should be doing 2 PRs. One for gh-pages and the other to update the readme.md, right?

Although I can let @alrra just submit his original code and that will be easier...

I can let @alrra just submit his original code and that will be easier...

Done in #315 and #316.

Thanks @molant for making an argument about this and @alrra for implementing it :)
https://github.com/zenorocha/clipboard.js#browser-support
https://clipboardjs.com/


Null when getMethodInvocationsLocal()

See class https://github.com/mauricioaniche/ck/blob/master/fixtures/real-world/ByteBufferAsyncWritableChannel.java. It contains a subclass ChunkData. If we call getMethodInvocationsLocal() to the ChunkData/2 constructor, it returns null.
I believe that's a bug.

I will have a look at it. You can assign the issue to me.

I was able to reproduce this error and will work on a fix.

Problem:
For classes with no visible methods, the local method invocations were not set, because I called it to generate TCC and LCC where these cases can be skipped.
Solution:
Generate empty HashSets for all cases.


Fixed Typos

Describe your changes

Fixed Typos
Checklist

[x] I have read the Contributing Guidelines.
[x] I have performed a self-review of my code
[x] If this solves a Open GitHub-issue: I have added the issue number and link

#40


Refactor state and adds option to store in a single directory

Looks good and works well in all my testing 👍


Ignition OPC Item Path

I was wondering what Item path you used when using Ignition. I have not been able to read the response from the slave. The connection is good and I can see the slave responding.
I have got Ignition to work with "Mudbus" using "[modbus_Slave]HR1" as the path.
I am using the example project with an Uno and w5100 ethernet shield.

It looks like you have a typo in your path. In Ignition the procedure is the same as adding any other modbus device.
Confirm your slave is working properly with modpoll or something like it. Then add the device to Ignition, map the register addresses and types you setup in the slave. Finally check that everything is working as expected using the quick client.

Thanks for the quick reply. My typo was only in the message, not in ignition. I will try modpoll to make sure the slave is working.


Create functionality for uploading a song

Implement functionality for uploading a song without the track's details in the request. The track details will be populated from the id3 tags and if they are null or not available then they will default to Unknown

b7723b2 Created functionality to upload song


Recipe for Vuejs.org Cookbook?

Hi! 👋
I loved your lightning talk about creating an SFC that you can share- would you be interested in creating a Cookbook Recipe? I think the community would really benefit from it.
Thanks!

@sdras, I'd be happy to! There's obviously a bit of work to do here since I threw the whole thing together last minute, but my intent was to create something that I could give back to the community, so I'll get this repo in shape!
Is there anywhere I should look for recipe guidelines?

Yep, all of the guidelines are right on the index page: https://vuejs.org/v2/cookbook/. You can also read a couple of recipes to kind of get the feel of the flow. Thanks!

Closing, recipe submitted for approval: https://github.com/vuejs/vuejs.org/pull/1558


/api/games should be joined with teams and bots so the client doesn't need to make extra calls

Fixed this in #54


Schematics for Revision "I"?

The HARDWARE-folder contains the schematics for revisions upto G1. Today, I received an ESP-POE board (ordered directly from Olimex) that shows "Revision I" (capital-i, I guess) on the PCB. Could the schematics for that revision also be made available?

Thanks for the notice, should be available here now: https://github.com/OLIMEX/ESP32-POE/tree/master/HARDWARE


Sema: Move finishStorageImplInfo() to StorageImplInfoRequest evaluation

This merges Sema's special logic for updating the ImplInfo of lazy properties
and property wrappers with the StorageImplInfoRequest.
I had to move some code from the parser into the StorageImplInfoRequest, to
avoid request cycles caused by hasStorage() calls; this is the right thing to
do anyway.
Since hasStorage() now answers false for lazy properties and property wrappers,
we have to move some diagnostic checks from checkDeclAttributesEarly() to
the StorageImplInfoRequest implementation itself.
Over time, I expect all of the checks currently in checkDeclAttributesEarly()
and checkDeclAttributes() to either migrate to requests, or typeCheckDecl().
Follow-up to https://github.com/apple/swift/pull/26282.

@swift-ci Please test

@swift-ci Please test source compatibility

@swift-ci Please smoke test


Picker class names interfere with other classes

Picker CSS classes have commonly used names and thus interfere with other styles. Consider replacing commonly used class names like '.table', '.popup', '.btn' etc. with more specific names (for example 'react_month_picker-popup')

If you are using cascading naming, there will not be any issue.
Yes, I know there are conflicts when using bootstrap, but that's the problem of bootstrap's famous naming pollution. Moreover, it's not a good habit to using very common naming in global, and the better solution is to cascade the naming to restrict the scoping.

I agree, but sometimes we use need global naming for reusable components on big projects, such as 'popup', 'table', which apply general CSS for the whole project and thus cannot be cascaded. My opinion is that in case of a separate module, class names can be adjusted and specified much easier than for the whole project.

In my opinion, on the contrary, it's better to use specific css class names in global instead of common names, and common names will be free to use in cascading. That will avoid naming restriction or pollution for development of components or partial pages.
However, I gave up the insistence of naming principle in this component for saving time for everyone. Please check v1.3.5 to get that update.


Fixes #2046 REPL window unexpectedly disappears when opening new project

Fixes #2046 REPL window unexpectedly disappears when opening new project
Only closes interactive windows when they have not changed.
Fixes #2047 Debug interactive reset command brings down its REPL
Display a message instead of throwing when reset is selected.

👍


Snowflake - show procedures - exclude built-in

Snowflake recently introduced a change that shows also built-in procedures for SHOW PROCEDURES, which breaks the clean action.
https://community.snowflake.com/s/article/SHOW-PROCEDURES-Command-Output-Includes-Both-User-created-and-Built-in-Stored-Procedures
The proposed patch limits the output to only user procedures.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

The above change was recently deployed as part of Snowflake Release 6.37, and broke the clean action in flyway.
Is it possible to merge this PR to fix?
Thanks!

Indeed this would be very nice to have.


Make it run on all the block at the same time.

Can you make it run on all the blocks at the same time? So that we can skip clicking on each block to see whether it has some grammatical errors.
It would also be great to run on all the pages and generate a list of which page has how many grammatical errors.

Or maybe, make it run on all visible blocks at the once


It's not able to work with this link

Seems to be working fine. Closing the issue but please reopen if you don't find it working, preferably with the error message if there is one.


Edit hdinsight-upload-data.md

Edit complete. In addition to suggestions in the text, sending this to Jonathan:
Line 32 and 33: I think the text should be CloudBerry Explorer for Azure Blob Storage. Both links go the same place, so maybe combine them?
Line 44: Download AZCopy link is broken.
Line 134: This link does not appear to be live: "How to: View, copy and regenerate storage access keys" section of [Create, manage, or delete a storage account][azure-create-storageaccount]

Hi @ClarityQueen, I'm your friendly neighborhood Azure Pull Request Bot (You can call me AZPRBOT). Thanks for your contribution!

It looks like you're working at Microsoft (v-diree). If you're full-time, we DON'T require a contribution license agreement.

If you are a vendor, or work for Microsoft Open Technologies, DO please sign the electronic contribution license agreement. It will take 2 minutes and there's no faxing! https://cla.azure.com.

TTYL, AZPRBOT;


Transfer-webhook page Implementaion

Completion of transfer-webhooks #28
bug:

codeSnippet does not show uniform color on second codeBlock

Table does not support HTML tags in it's children

The table is now fixed to render HTML elements.


Modal opens once

The modal opens correctly the first time, but when I close and try to open it again, the app crashes.
Same issue when I try to open a different modal after successfully opening the first one

+1

Im facing the exactly same issue, app crashes when i try to open the modal second time...

iOS seems to be fine. Android breaks on second try. That's one of the most stupid workarounds I did, but I was able to resolve it by forcing a re-render
<Modal
  position={'bottom'}
  isOpen={this.state.modal}
  onClosed={() => this.setState({ modal: false })}
  onOpened={() => this.setState({ modal: true })}
  key={this.state.modal ? 1 : 2}
>
  // contents
</Modal>

Works but makes it slower

@gawrysiak , thanks for your workaround mahn...
but this is most probably not working

actually it’s fine this way, I’m using it in one app already after my customer reported the error. Just get rid of the ref and make it controlled with the visible state

iOS seems to be fine. Android breaks on second try. That's one of the most stupid workarounds I did, but I was able to resolve it by forcing a re-render
<Modal
  position={'bottom'}
  isOpen={this.state.modal}
  onClosed={() => this.setState({ modal: false })}
  onOpened={() => this.setState({ modal: true })}
  key={this.state.modal ? 1 : 2}
>
  // contents
</Modal>

Works but makes it slower

This is kind of hacky but at least it is working for now...

This problem is still happening on React-native v0.59.8, but the workaround proposed by @gawrysiak worked fine to me.

Ok, I got stop by this error also and I figured out what was causing it. It looks like modalbox plugin conflicts with other plugins or functions that are using also native Android modals. For instance, in my project everything was working fine until I created a Drawer using React Navigation, which is using a native Modal, the moment I disabled the Drawer, everything was working fine again.

<
That's good ,it's worked for me ,thank you

@gawrysiak That's good ,it's worked for me ,thank you

This simple change fixed my issue: #291

iOS seems to be fine. Android breaks on second try. That's one of the most stupid workarounds I did, but I was able to resolve it by forcing a re-render
<Modal
  position={'bottom'}
  isOpen={this.state.modal}
  onClosed={() => this.setState({ modal: false })}
  onOpened={() => this.setState({ modal: true })}
  key={this.state.modal ? 1 : 2}
>
  // contents
</Modal>

Works but makes it slower

This doesn't work in the latest RN

Hey guys, I found a solution.
https://stackoverflow.com/questions/60216889/react-native-modalbox-crashes-react-native-app-without-error-log/60216890#60216890

This doesn't work for me. The modal does not open after wrapping inside KeyboardAvoidingView

@desaiparv5 Do you have useRef() initialized and assigned to that modal?. Kindly share your code so I can assist.

const HomeScreen = ({ navigation }) => {
  const [isRefreshing, setIsRefreshing] = useState(false)
  const modal = useRef()
  const _handleLongPress = () => {
    modal.current.open()
  }

  return (
    <SafeAreaView style={styles.container}>
      <View style={styles.listContainer}>
        <FlatList
              renderItem={({index, item, separators})=>(
            <TouchableOpacity              onLongPress={()=>{_handleLongPress()}} >
               <Text></Text>
            </TouchableOpacity>
          )}
          refreshing={isRefreshing}
          onRefresh={()=>{_handleRefresh()}}
        />
      </View>
      <Modal
        ref={modal}
        position={"bottom"}
        style={styles.modal}
      >
        <Text>...</Text>
       </Modal>
    </SafeAreaView>
  );
}
const styles = StyleSheet.create({...});
export default HomeScreen;

i still face this issue, and none of those solution above work for me. Anyone have other solution for this?

Thank you guys @Solid-Metal @Michaelvons . I have applied the both and the trick worked. I think the problem is with @react-navigation/material-bottom-tabs because on other screens working perfect.

I got my fixed without sacrificing the close transition. but it's at the library side
https://github.com/maxs15/react-native-modalbox/pull/340
hope it'll help


Vue-loader options.

I see no docs on how to interact with vue-loader trough .mix
https://vue-loader.vuejs.org/en/options.html has more options than what you have included in the docs/options.md.
I would want to use the preservewhitespace. However, I cannot seem to find any what to add this option by today. Am I looking at the wrong place, or?
Simply adding vue-loader as a rule in webpackConfig did not seem to work. Looked like it initialized vue-loader twice and broke it with Failed to mount component: template or render function not defined
How do we go with adding custom vue-loader options?

Same here, maybe there is way to get the config and alter it somehow..

Actually according to this
https://github.com/JeffreyWay/laravel-mix/blob/master/docs/quick-webpack-configuration.md
It should do a deep merge

mix.preLoaders() and mix.postLoaders() are available
https://github.com/JeffreyWay/laravel-mix/commit/e45503786c0fa50a13cc0755bcf9c18eff569e5d
but otherwise it seems the whole config is needed
https://github.com/JeffreyWay/laravel-mix/issues/875

actually its
mix.options({
        vue: {
            preLoaders: {

            }
            postLoaders: {

            }
        }
    })

@BlitZz96 Hello. I'd like to remove whitespaces from vue templates. I added your code to my webpack.mix.js.
   mix.options({
        vue: {
            preserveWhitespace: false
        }
    });

But I,m getting anyway [this._v("\n                    I'm an example component.\n                ")].
What's wrong?

Please notice that preserveWhitespace and whitespace is compilerOptions. Not options of vue-loader but vue-template-compiler.
Correct way to set this is:
mix.options({
  vue: {
    compilerOptions: {
      whitespace: 'condense'
    }
  }
})

This github issue shows on the top of my search result page. So I just leave the right answer here.


[Sema] Generate TRC for unparsed functions right before type-checking

Fix an issue where if #available(...) conditions were ignored in didSet accessors in emit-module-separately builds or when skipping non-inlinable function bodies.
To handle functions for which parsing is delayed but type-checking is not delayed, move up building the delayed TRC to the TypeCheckFunctionBodyRequest service.
rdar://83166742

@swift-ci Please smoke test

@swift-ci Please test Apple Silicon


Manage permissions on bot creation

Summary
This PR changes some things about the bot user when it is created:

The bot is created regardless if act_as_bot was requested
The bot user's access token is only created if act_as_bot was requested
The bot user's roles are updated to be able to create/read posts in any channel, only created if act_as_bot was requested

I'm mainly making this PR to show that we can solve the post permission issue without making the bot a sysadmin. It made sense to implement both tickets in this PR since I was touching post permissions and app permissions already.
Ticket Link
Fixes https://mattermost.atlassian.net/browse/MM-34577
Fixes https://mattermost.atlassian.net/browse/MM-34195

My only concern is what might happen on reinstall / update if the permissions change, but I guess it is not a big issue right now.

@mickmister Would you be open on dropping the omitempty from https://github.com/mattermost/mattermost-plugin-apps/blob/b38b69fad82e424374bec339a1180df28b0fd55e/apps/context.go#L27 in this PR given that all apps have a bot now?

@hanzei done

Codecov Report

Merging #142 (aa8541c) into master (b38b69f) will decrease coverage by 0.17%.
The diff coverage is 0.00%.

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

@@            Coverage Diff             @@
##           master     #142      +/-   ##
==========================================
- Coverage   20.60%   20.43%   -0.18%
==========================================
  Files          28       28
  Lines        1291     1302      +11
==========================================
  Hits          266      266
- Misses       1007     1018      +11
  Partials       18       18

Impacted Files
Coverage Δ

server/proxy/install.go
0.00% <0.00%> (ø)

Continue to review full report at Codecov.

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

/update-branch


Add a terminal emulator for reconnects

When a client reconnects to an existing session it should get the text to display the screen as it was when he last connected. To do that the agents needs to run a headless terminal emulator, send it all the pane's output and on reconnect, send the lines of the terminal's screen buffer.
The emulated terminal should also receive all resize commands.

It's done, added a simple terminal https://st.suckless.org/ written in C


3.02下载出现错误

× 未知错误，请查阅 Getter 目录的 logger.log 日志文件。
2022-08-06 17:13:49 - [ERROR]1109:: 未知错误异常退出：Traceback (most recent call last):
File "Gfriends Inputer.py", line 826, in
File "Gfriends Inputer.py", line 146, in get_gfriends_map
File "requests\structures.py", line 52, in getitem
KeyError: 'content-length'

是否自定义了仓库地址？是的话请尝试使用官方默认仓库，否则请检查网络连接

From: SiIentZephyrus @.>
Sent: Saturday, August 6, 2022 5:15:12 PM
To: gfriends/gfriends-inputer @.>
Cc: Subscribed @.***>
Subject: [gfriends/gfriends-inputer] 3.02下载出现错误 (Issue #44)
× 未知错误，请查阅 Getter 目录的 logger.log 日志文件。
2022-08-06 17:13:49 - [ERROR]1109:: 未知错误异常退出：Traceback (most recent call last):
File "Gfriends Inputer.py", line 826, in
File "Gfriends Inputer.py", line 146, in get_gfriends_map
File "requests\structures.py", line 52, in getitem
KeyError: 'content-length'
―
Reply to this email directly, view it on GitHubhttps://github.com/gfriends/gfriends-inputer/issues/44, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ACA3TXJQJDCFCWY45DCS223VXYUKBANCNFSM55YIZ33A.
You are receiving this because you are subscribed to this thread.Message ID: @.***>

Reference in ne

是否自定义了仓库地址？是的话请尝试使用官方默认仓库，否则请检查网络连接
…
________________________________ From: SiIentZephyrus @.> Sent: Saturday, August 6, 2022 5:15:12 PM To: gfriends/gfriends-inputer @.> Cc: Subscribed @.> Subject: [gfriends/gfriends-inputer] 3.02下载出现错误 (Issue #44) × 未知错误，请查阅 Getter 目录的 logger.log 日志文件。 2022-08-06 17:13:49 - [ERROR]1109:: 未知错误异常退出：Traceback (most recent call last): File "Gfriends Inputer.py", line 826, in File "Gfriends Inputer.py", line 146, in get_gfriends_map File "requests\structures.py", line 52, in getitem KeyError: 'content-length' ― Reply to this email directly, view it on GitHub<#44>, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ACA3TXJQJDCFCWY45DCS223VXYUKBANCNFSM55YIZ33A. You are receiving this because you are subscribed to this thread.Message ID: @.>

好的，改回默认仓库好像正常了

是否自定义了仓库地址？是的话请尝试使用官方默认仓库，否则请检查网络连接
…
________________________________ From: SiIentZephyrus @.> Sent: Saturday, August 6, 2022 5:15:12 PM To: gfriends/gfriends-inputer @.> Cc: Subscribed @.> Subject: [gfriends/gfriends-inputer] 3.02下载出现错误 (Issue #44) × 未知错误，请查阅 Getter 目录的 logger.log 日志文件。 2022-08-06 17:13:49 - [ERROR]1109:: 未知错误异常退出：Traceback (most recent call last): File "Gfriends Inputer.py", line 826, in File "Gfriends Inputer.py", line 146, in get_gfriends_map File "requests\structures.py", line 52, in getitem KeyError: 'content-length' ― Reply to this email directly, view it on GitHub<#44>, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ACA3TXJQJDCFCWY45DCS223VXYUKBANCNFSM55YIZ33A. You are receiving this because you are subscribed to this thread.Message ID: @.>

又失败了，第一次失败也是这个错误，尺寸优化失败，然后日志写另一个程序正在使用此文件，进程无法访问。

尺寸优化...
!! ./Downloads/槙いずな.jpg AI 分析失败，跳过 AI 直接裁剪
!! ./Downloads/槙いずな.jpg 头像尺寸优化失败。
!! ./Downloads/槙いずな.jpg 头像尺寸优化失败。
|███████████████████████▉⚠               | (!) 1057/1768 [60%] in 40.7s (25.94/s)
× 未知错误，请查阅 Getter 目录的 logger.log 日志文件。
按任意键退出程序...
2022-08-07 00:18:20 - [WARNING]60:fix_size: AI 分析失败，跳过 AI 直接裁剪：./Downloads/槙いずな.jpg
2022-08-07 00:18:20 - [ERROR]74:fix_size: ./Downloads/槙いずな.jpg头像尺寸优化失败：Traceback (most recent call last):
File "Gfriends Inputer.py", line 39, in fix_size
File "Lib\cv2dnn.py", line 36, in find_faces
File "PIL\Image.py", line 687, in array_interface
File "PIL\Image.py", line 729, in tobytes
File "PIL\ImageFile.py", line 251, in load
OSError: image file is truncated (26 bytes not processed)

During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "Gfriends Inputer.py", line 33, in fix_size
File "PIL\Image.py", line 1175, in crop
File "PIL\ImageFile.py", line 251, in load
OSError: image file is truncated (26 bytes not processed)
2022-08-07 00:18:20 - [ERROR]74:fix_size: ./Downloads/槙いずな.jpg头像尺寸优化失败：Traceback (most recent call last):
File "Gfriends Inputer.py", line 39, in fix_size
File "Lib\cv2dnn.py", line 36, in find_faces
File "PIL\Image.py", line 687, in array_interface
File "PIL\Image.py", line 729, in tobytes
File "PIL\ImageFile.py", line 251, in load
OSError: image file is truncated (26 bytes not processed)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "Gfriends Inputer.py", line 33, in fix_size
File "PIL\Image.py", line 1175, in crop
File "PIL\ImageFile.py", line 251, in load
OSError: image file is truncated (26 bytes not processed)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "Gfriends Inputer.py", line 62, in fix_size
File "Gfriends Inputer.py", line 81, in fix_size
PermissionError: [WinError 32] 另一个程序正在使用此文件，进程无法访问。: './Downloads/槙いずな.jpg' -> './Downloads/Failed/槙いずな.jpg'
2022-08-07 00:18:20 - [ERROR]1109:: 未知错误异常退出：Traceback (most recent call last):
File "Gfriends Inputer.py", line 39, in fix_size
File "Lib\cv2dnn.py", line 36, in find_faces
File "PIL\Image.py", line 687, in array_interface
File "PIL\Image.py", line 729, in tobytes
File "PIL\ImageFile.py", line 251, in load
OSError: image file is truncated (26 bytes not processed)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "Gfriends Inputer.py", line 33, in fix_size
File "PIL\Image.py", line 1175, in crop
File "PIL\ImageFile.py", line 251, in load
OSError: image file is truncated (26 bytes not processed)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "Gfriends Inputer.py", line 62, in fix_size
File "Gfriends Inputer.py", line 81, in fix_size
PermissionError: [WinError 32] 另一个程序正在使用此文件，进程无法访问。: './Downloads/槙いずな.jpg' -> './Downloads/Failed/槙いずな.jpg'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "Gfriends Inputer.py", line 1041, in
File "Gfriends Inputer.py", line 81, in fix_size
PermissionError: [WinError 32] 另一个程序正在使用此文件，进程无法访问。: './Downloads/槙いずな.jpg' -> './Downloads/Failed/槙いずな.jpg'

可能是网络原因导致这个头像没有成功下载，损坏了。检查一下相应目录里的头像。

v3.03 修复了第三方仓库的兼容问题


Falcor 0.1.16 on NPM broken badly

Somehow the push to npm for version 0.1.16 has a ton of non-ascii characters sprinkled throughout the code base, which causes it to throw: "Uncaught SyntaxError: Unexpected token ILLEGAL" when run in browser.
version 0.1.15 on npm doesn't have these strange symbols and still works in my build, is this a known change or some kind of corrupted build that was pushed to npm?

Which browser are you using? Unicode characters are  valid in JS

Google Chrome 48.0

One more question: what Web server are using? Are you loading  off the filesystem or serving with a Web server?

that is with the latest version of Express setup with the middle ware specified in the falcor documentation.

What is the content type that the Web server is serving? The Web server should be serving the content type as Unicode.

Unrelated to the actual encoding thread you're pursuing, but 0.1.16 seems like it was published by mistake. From a cursory glance it looks like it was published from master by mistake (it has the newer deref, which accepts a boundJSONArg, it has the unicode prefix etc). I'll try and get a 0.1.17 out with the latest on 0.x today.

@sdesai are you going to wrap up the 0.1.17 and publish the fix soon?

It should be out there now


Query tab view

Currently there are tabs only for the result views. For a better understanding, it can be multiplied for the query itself

Losing the current state doesnt seems okay.


config: edit opens AppSupport over XDG on macOS, prefers non-empty paths

Fixes #3953
Fixes #3284
This fixes two issues. In fixing one issue, the other became apparent so I fixed both in this one commit.
The first issue is that on macOS, the open command should take the -t flag to open text files in a text editor. To do this, the os.open function now takes a type hint that is used to better do the right thing.
Second, the order of the paths that we attempt to open when editing a config on macOS is wrong. Our priority when loading configs is well documented: https://ghostty.org/docs/config#macos-specific-path-(macos-only). But open_config does the opposite. This makes it too easy for people to have configs that are being overridden without them realizing it.
This commit changes the order of the paths to match the documented order. If neither path exists, we prefer AppSupport.

Okay this PR is fighting up a Zig 0.13 compiler bug (it's been a long time!) somehow in the configPath function.


Deprecate parts of read_dig_montage

works on #6461

I wanted to rework read_dig_montage to not use _read_dig_montage_XXXX but the new code path through read_XXX_dig and remove the dead code. But its a useless effort. Is way more efficient to keep the old code, just warn and delete the whole thing after release. I'll just remove the dead code from fif.

waiting for codecov to push the rest of the PR.

thx @massich


Calculation function issues

When the calculation result is more than 2000 characters, the calculation result is not returned.
It should be returned as a file.

This has been fixed in v2.6.3 beta.
When the text is more than 2000 characters, it will be sent as a file.
https://github.com/Fukuda-B/BBBot_discord/blob/84b8c042e2ee3b9a08166681e95a05cf8de87b53/discordbot.py#L1169


[Feature] show the historical curves based on the same step.

I'm a beginner of the wandb, and I'm wondering is it possible to synchronize all the steps of the existing curves. From the observation, when I log the values based on the batch size, the existing curves might be really different. As you can see from the figure below,

It will be nice if the curves can be automatically matching with others based on the step, and it will be much more easier for users to compare the result.
Describe the solution you'd like
a step matching operation.

@Sun-Rider if you're logging metrics at different intervals you can log a seperate metric as a unifying step.  Then you can choose a custom x-axis for all of your charts with the "X->" Icon in the upper right of your workspace or for individual metrics by editing the chart.  By default we increment our step counter every time you call wandb.log.  If you don't want us to increment that counter you can specify commit=False and then call wandb.log later in your code when you're ready to commit.  Here are some examples:
wandb.log({"global_batch": X, "global_epoch": Y, "loss": Z}, commit=False)
# Some other code
wandb.log({"acc": A}) # this increments the default step counter, but you could choose "global_batch" or "global_epoch" in the UI instead of using our default step counter.


Need walls and roof to be optional

Rather than using the wall/roof calculations, I am making a factorissimo factory be an ingredient for the craft, but if I set the walls/roof to 0, it throws an error. Need a way to set the wall/roof requirements to 0 so it doesn't ask for anything.
The workaround I use is to use one of the nominal ingredients and calculate what to set the value to, but it would be nice not to have to do that.

probably need to special case these https://github.com/Sopel97/composite_factories_base/blob/1af1006a83b337c64ffa92e8cf60e42a785450ea/data.lua#L1103-L1107, not sure what the exact error is?

The error is "Difficulty normal: Item ingredient can't have count of 0."
Anyway, I'm coming back because I edited your code and implemented the fix I was looking for, I replaced the code you noted (in both the generator and the factory) with this, and it works like I intended:
if args.roof_tile_cost and args.roof_tile_cost > 0 then
    local roof_cost = { args.roof_material or "steel-plate", math.ceil((args.roof_tile_cost or 1) * area) }
    table.insert(args.constituent_buildings, roof_cost)
end

if args.wall_tile_cost and args.wall_tile_cost > 0 then
    local wall_cost = { args.wall_material or "stone-brick" , math.ceil((args.wall_tile_cost or 10) * perimeter) }
    table.insert(args.constituent_buildings, wall_cost)
end

I'm also changing:
        local localised_name = {"", {"item-name.composite-factory"}, ": "}
        append_localised_things(localised_name, args.results)

to:
local localised_name
if args.display_name then
    localised_name = args.display_name
else
    localised_name = {"", {"item-name.composite-factory"}, ": "}
    append_localised_things(localised_name, args.results)
end

And a similar edit for the generator.
(I'm not wild about some of the autogenerated names and wanted a way to override them)
Oh, also, I wrote (or more specifically had chatgpt help me with) a python script to expand your blueprint-to-item-list to also take a Helmod export as an input and set up as much info as possible. Attaching that, in case you're interested.
blueprint_string_item_list.zip

Actually the name change thing didn't work, will have to play with that some more

I believe localised_name has to be a table. So {args.display_name}, or {"", args.display_name} should work.
As for the bugfix, I'd appreciate a PR with version bump and changelog entry. If not I'll do it myself whenever I feel like.

Forgive me, I really don't use github hardly at all, I'm not really familiar. I'll give it a try.


Scrolling not working with mouse

Not able to scroll using mouse..but when i use keyboards down and up key scrolling is working.

#142 here I give a workaround that work for me.

I experience this issue with  elements. I'm using this widget to embed HTML5 documentation into an application. The documentation has multiple  elements that should be scrollable with the scroll wheel, but are not. The arrow keys work for me too, but not the scrollwheel.


ValidateTransferError: invalid memo keys

Tryed call validateTransfer(...) and got some error for valid transaction:
ValidateTransferError: invalid memo keys
    at validateMemo (D:\dev\ssr\node_modules\@solana\pay\src\validateTransfer.ts:97:40)
    at D:\dev\ssr\node_modules\@solana\pay\src\validateTransfer.ts:88:9
    at Generator.next (<anonymous>)
    at fulfilled (D:\dev\ssr\node_modules\@solana\pay\lib\cjs\validateTransfer.js:5:58)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

Simple playground: https://codesandbox.io/p/devbox/hardcore-mclaren-qtz7zg?file=%2Findex.js%3A28%2C7
function validateTransfer(...)  not correct work when pass memo string, I think it's can be bug on: https://github.com/anza-xyz/solana-pay/blame/master/core/src/validateTransfer.ts#L97 because "instruction.keys" must contain single key about Signer

Hey 👋 I’m facing the same issue, did you manage to solve this ? Or the bug is still around ?
Thanks a lot !

Workaround: create this file with commented this string in your local project, and use this function from it:
https://gist.github.com/Luchanso/2b3e7c4f7d9ce8a6128ebe7ed004cec8#file-validate-ts-L98


Monster languages should be NamedAPIResource

The key "languages" is inconsistent across the API and so either the monster languages should be NamedAPIResources or perhaps changed to a different key (maybe "communication").

Good shout out! I think that makes a lot of sense!

So, this also falls into a similar issue with damage_vulnerabilities, damage_resistances, and damage_immunities. Most cases follow the normal amounts but there are a lot of places where this breaks down. The first two monsters are good examples of this:
Aboleth has "Deep Speech, telepathy 120 ft."
Acolyte has "any one language (usually Common)"
While the latter could benefit from the choice structure, the former is a bit more complicated. Here is a list of all of the ways that language will not fall into an easy structure like this:
"languages": "Abyssal, Common, Infernal, Primordial",
"languages": "Abyssal, Common, Infernal, telepathy 60 ft.",
"languages": "Abyssal, telepathy 120 ft.",
"languages": "Abyssal, telepathy 60 ft. (works only with creatures that understand Abyssal)",
"languages": "all, telepathy 120 ft.",
"languages": "any four languages",
"languages": "any languages it knew in life",
"languages": "any one language (usually Common)",
"languages": "any one language",
"languages": "any six languages",
"languages": "any two languages",
"languages": "Auran, understands Common but doesn't speak it",
"languages": "Blink Dog, understands Sylvan but can't speak it",
"languages": "Celestial, Elvish, Sylvan, telepathy 60 ft.",
"languages": "Common (can't speak in bear form)",
"languages": "Common (can't speak in boar form)",
"languages": "Common (can't speak in rat form)",
"languages": "Common (can't speak in tiger form)",
"languages": "Common (can't speak in wolf form)",
"languages": "Common plus up to five other languages",
"languages": "Common, Giant, Winter Wolf",
"languages": "Deep Speech, telepathy 120 ft.",
"languages": "Druidic plus any two languages",
"languages": "Giant Eagle, understands Common and Auran but can't speak",
"languages": "Giant Elk, understands Common, Elvish, and Sylvan but can't speak",
"languages": "Giant Owl, understands Common, Elvish, and Sylvan but can't speak",
"languages": "Gnoll",
"languages": "Goblin, Worg",
"languages": "Infernal, telepathy 120 ft.",
"languages": "one language known by its creator",
"languages": "Otyugh",
"languages": "Sahuagin",
"languages": "the languages it knew in life",
"languages": "Thieves' cant plus any two languages",
"languages": "understands Abyssal but can't speak",
"languages": "understands Abyssal, Celestial, Infernal, and Primordial but can't speak, telepathy
"languages": "understands Abyssal, Common, and Infernal but can't speak",
"languages": "understands all languages it knew in life but can't speak",
"languages": "understands all languages it spoke in life but can't speak",
"languages": "understands Celestial, Common, Elvish, and Sylvan but can't speak",
"languages": "understands commands given in any language but can't speak",
"languages": "understands Common and Draconic but can't speak",
"languages": "understands Common and Giant but can't speak",
"languages": "understands Common but can't speak",
"languages": "understands Deep Speech but can't speak",
"languages": "understands Draconic but can't speak",
"languages": "understands Infernal but can't speak it",
"languages": "understands infernal but can't speak",
"languages": "understands the languages of its creator but can't speak",

A way that we could potentially handle this is turn the string into a list of entries. All of the ones that have a corresponding language we could use the APIReference structure. And the rest stay as just a string in the list. Not sure how best to handle understands Infernal but can't speak it. Maybe a boolean for languages that it can't speak?

An array of entries is a sound idea, but perhaps rather than each entry being either a string or a reference, the array (for "Blink Dog, understands Sylvan but can't speak it") could look something more like:
[
    {
        "name": "Blink Dog"
    },
    {
        "name": "Sylvan",
        "references": {
            "index": "sylvan",
            "name": "Sylvan",
            "url": "/api/languages/sylvan"
        },
        "passive": true
    }
]

Here references is optional, and only given for languages given in the SRD, and which therefore exist in the API.
passive is also optional, defaulting to false. If it is true, the monster has a passive skill, meaning it can understand but not speak the language.
Whatever we settle on, preserving the source text as a separate attribute is definitely a good call.


Added comments to main.py, detect.py, download_model.py

Can you do a pull and push again, the venv items were being tracked


PostCSS 5

Hi, I noticed that the master branch is updated and your library now use PostCSS 5, but the last NPM package available doesn't.
Can you please release the updated version?
Thanks :)

@Granze Wait til monday, please.

No problems, thanks!


FileLock fixes

Fix 0644 (0o666 is subject to umask and is actually octal, unlike 0644).
Allow FileLock to work efficiently with multiple locks/unlocks.
Fix leak of the file descriptor on deinit outside of withLock.

@swift-ci smoke test


Colored Line

Colored line from header appears in the main content area. Error only appears in Firefox.

Unable to reproduce bug.

Reinstalled skin after updates to fix security issues and line reappeared.


Update CONTRIBUTERS.MD

What type of PR is this? (check all applicable)

[ ] 🚀 Added Name
[ ] ✨ Feature
[ ] 🌟 stared the repo
[ ] 🐛 Grammatical Error
[ ] 📝 Documentation Update
[x] 🚩 Other

Description
Add Link of GitHub Profile

String Question with solution using java


'Wrong value in CDC structure definition' when executing app.prepare()

Environment

Tech
Version

next
v3.2.2

node
v8.4.0

webpack
v3.5.6

OS
macOS Sierra

Issue description
Couldn't find any issue for this except this: https://github.com/zeit/next.js/issues/2203
But this is not my case, in particular.
I'm having Next.js app with Koa and GraphQL. But as console.logs say, the problem is inside app.prepare() call.
Here I have a bootstrap file:
const { server } = require('./server'); // Koa server entry point

const next = require('next');
const app = next(require('./next.config')); // For customizing webpack config

app.prepare().then(() => {
    console.log('[SERVER PREPARED]');
    server(port, app.getRequestHandler());
});

And when I execute node index.js to start server, I get this (<Project Path> is just a placeholder):
[LOADING WEBPACK CONFIG]
> Using external babel configuration
> Location: "/<Project Path>/.babelrc"
> Using "webpack" config function defined in next.config.js.

 **ERROR**  Failed to compile with 2 errors                                                                                13:59:00

 **error**  in ./node_modules/next/dist/pages/_error.js?entry

Module build failed: Error: Wrong value in `CDC` structure definition (While processing preset: "/<Project Path>/node_modules/next/dist/server/build/babel/preset.js")
    at processStructure (/<Project Path>/node_modules/css-tree/lib/syntax/index.js:144:23)
    at createSyntax (/<Project Path>/node_modules/css-tree/lib/syntax/index.js:219:33)
    at Object.exports.create (/<Project Path>/node_modules/css-tree/lib/syntax/index.js:294:12)
    at Object.<anonymous> (/<Project Path>/node_modules/css-tree/lib/syntax/default.js:3:40)
    at Module._compile (module.js:573:30)
    at Module._compile (/<Project Path>/node_modules/source-map-support/source-map-support.js:483:25)
    at Object.Module._extensions..js (module.js:584:10)
    at Module.load (module.js:507:32)
    at tryModuleLoad (module.js:470:12)
    at Function.Module._load (module.js:462:3)
    at Module.require (module.js:517:17)
    at require (internal/module.js:11:18)
    at Object.<anonymous> (/<Project Path>/node_modules/css-tree/lib/index.js:3:18)
    at Module._compile (module.js:573:30)
    at Module._compile (/<Project Path>/node_modules/source-map-support/source-map-support.js:483:25)
    at Object.Module._extensions..js (module.js:584:10)
    at Module.load (module.js:507:32)
    at tryModuleLoad (module.js:470:12)
    at Function.Module._load (module.js:462:3)
    at Module.require (module.js:517:17)
    at require (internal/module.js:11:18)
    at Object.<anonymous> (/<Project Path>/node_modules/styled-jsx/dist/_utils.js:26:16)
    at Module._compile (module.js:573:30)
    at Module._compile (/<Project Path>/node_modules/source-map-support/source-map-support.js:483:25)
    at Object.Module._extensions..js (module.js:584:10)
    at Module.load (module.js:507:32)
    at tryModuleLoad (module.js:470:12)
    at Function.Module._load (module.js:462:3)
    at Module.require (module.js:517:17)
    at require (internal/module.js:11:18)
    at Object.<anonymous> (/<Project Path>/node_modules/styled-jsx/dist/babel-external.js:46:14)
    at Module._compile (module.js:573:30)
    at Module._compile (/<Project Path>/node_modules/source-map-support/source-map-support.js:483:25)
    at Object.Module._extensions..js (module.js:584:10)
    at Module.load (module.js:507:32)
    at tryModuleLoad (module.js:470:12)
    at Function.Module._load (module.js:462:3)
    at Module.require (module.js:517:17)
    at require (internal/module.js:11:18)
    at Object.<anonymous> (/<Project Path>/node_modules/styled-jsx/dist/babel.js:329:22)
    at Module._compile (module.js:573:30)
    at Module._compile (/<Project Path>/node_modules/source-map-support/source-map-support.js:483:25)
    at Object.Module._extensions..js (module.js:584:10)
    at Module.load (module.js:507:32)
    at tryModuleLoad (module.js:470:12)
    at Function.Module._load (module.js:462:3)
    at Module.require (module.js:517:17)
    at require (internal/module.js:11:18)
    at Object.<anonymous> (/<Project Path>/node_modules/styled-jsx/babel.js:1:18)
    at Module._compile (module.js:573:30)
    at Module._compile (/<Project Path>/node_modules/source-map-support/source-map-support.js:483:25)
    at Object.Module._extensions..js (module.js:584:10)
    at Module.load (module.js:507:32)
    at tryModuleLoad (module.js:470:12)
    at Function.Module._load (module.js:462:3)
    at Module.require (module.js:517:17)
    at require (internal/module.js:11:18)
    at /<Project Path>/node_modules/babel-core/lib/transformation/file/options/option-manager.js:178:20
    at Array.map (<anonymous>)
    at Function.normalisePlugins (/<Project Path>/node_modules/babel-core/lib/transformation/file/options/option-manager.js:158:20)
    at OptionManager.mergeOptions (/<Project Path>/node_modules/babel-core/lib/transformation/file/options/option-manager.js:234:36)
    at /<Project Path>/node_modules/babel-core/lib/transformation/file/options/option-manager.js:265:14
    at /<Project Path>/node_modules/babel-core/lib/transformation/file/options/option-manager.js:323:22
    at Array.map (<anonymous>)
    at OptionManager.resolvePresets (/<Project Path>/node_modules/babel-core/lib/transformation/file/options/option-manager.js:275:20)
    at OptionManager.mergePresets (/<Project Path>/node_modules/babel-core/lib/transformation/file/options/option-manager.js:264:10)
    at OptionManager.mergeOptions (/<Project Path>/node_modules/babel-core/lib/transformation/file/options/option-manager.js:249:14)
    at OptionManager.init (/<Project Path>/node_modules/babel-core/lib/transformation/file/options/option-manager.js:368:12)
    at File.initOptions (/<Project Path>/node_modules/babel-core/lib/transformation/file/index.js:212:65)
    at new File (/<Project Path>/node_modules/babel-core/lib/transformation/file/index.js:135:24)
    at Pipeline.transform (/<Project Path>/node_modules/babel-core/lib/transformation/pipeline.js:46:16)
    at transpile (/<Project Path>/node_modules/babel-loader/lib/index.js:49:20)
    at /<Project Path>/node_modules/babel-loader/lib/fs-cache.js:118:18
    at ReadFileContext.callback (/<Project Path>/node_modules/babel-loader/lib/fs-cache.js:31:21)
    at FSReqWrap.readFileAfterOpen [as oncomplete] (fs.js:420:13)

 @ multi ./node_modules/next/dist/pages/_error.js?entry

 **error**  in ./node_modules/next/dist/pages/_document.js?entry

<... The same error for _document.js>

[SERVER PREPARED]

I understand, that this is happening while your — internal — webpack loader with custom babel preset tries to parse styles with css-tree inside your code, not mine. Because I don't have my own styles yet. This is just a setup for client-server interaction with GraphQL and it happens before webpack even got into bundling my codebase, corresponding to the fact, that I didn't change module.loaders section. I suggest, that I would have an exception about unexpected file format that needs loader somewhere inside. But still, I don't have any, so exception occurs before.
This happened when I reinstalled npm packages to check if installation from scratch will work. Before this all worked properly.
This is my next.config.js:
const path = require('path');
const dev = process.env.NODE_ENV !== 'production';
const externalConfig = require('./webpack.config');

module.exports = {
    dev,
    distDir: path.resolve(__dirname, './static/build'),
    webpack: (config, { dev }) => {
        config.resolve.modules.push(...externalConfig.resolve.modules);

        return config;
    },
};

UPD: Executing $ webpack with webpack.config.js (manual bundling of client code) was a success.

Found solution for this workaround. Somehow, default _document.js and _error.js couldn't be built. I've defined custom files in <Project Path>/pages and all worked. The question now is why doesn't default pages definitions work?

Please check if this is still happening in v4


Follow edges in a graph automatically

test case:
https://github.com/adsharma/fquery/blob/master/tests/mock_user.py
Right now, I get only one class in the diagram, namely: MockUser. Would like to see "friends" and "reviews" edges/objects in the output.

Hi @adsharma, thanks for trying out erdantic!
If I'm understanding your code correctly, your package fquery extends stock dataclasses with additional graph relations (the @node and @edge decorators)?
erdantic's dataclasses functionality will only work with what is part of dataclasses. There is no way to automatically parse the custom implementation of relations that you are adding. If you had written your MockUser class like this:
@dataclass
class MockUser:
    name: str
    age: int
    friends: List["MockUser"]
    reviews: List["MockReview"]

using only built-in dataclasses semantics, then erdantic should work as expected.
If you would like to develop a custom erdantic integration for your package, you can take a look at our documentation "Adding New Frameworks".

Thanks for the pointer. I'll take a look.

https://github.com/adsharma/erdantic has code that works for fquery + a few stylistic changes that you and I disagree on. There are some fixes for passing tests on Linux systems that you might be interested in.


Mekanism v8 Crashes

---- Minecraft Crash Report ----
// You're mean.
Time: 21.03.15 14:39
Description: Exception in server tick loop
java.lang.NoClassDefFoundError: cofh/api/item/IToolHammer
at mekanism.common.util.MekanismUtils.hasUsableWrench(MekanismUtils.java:1370)
at mekanism.common.block.BlockMachine.func_149727_a(BlockMachine.java:604)
at net.minecraft.server.management.ItemInWorldManager.func_73078_a(ItemInWorldManager.java:376)
at net.minecraft.network.NetHandlerPlayServer.func_147346_a(NetHandlerPlayServer.java:556)
at net.minecraft.network.play.client.C08PacketPlayerBlockPlacement.func_148833_a(SourceFile:60)
at net.minecraft.network.play.client.C08PacketPlayerBlockPlacement.func_148833_a(SourceFile:9)
at net.minecraft.network.NetworkManager.func_74428_b(NetworkManager.java:212)
at net.minecraft.network.NetworkSystem.func_151269_c(NetworkSystem.java:165)
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:659)
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:547)
at net.minecraft.server.integrated.IntegratedServer.func_71217_p(IntegratedServer.java:111)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:427)
at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:685)
Caused by: java.lang.ClassNotFoundException: cofh.api.item.IToolHammer
at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:101)
at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
... 13 more
A detailed walkthrough of the error, its code path and all known details is as follows:
-- System Details --
Details:
Minecraft Version: 1.7.10
Operating System: Mac OS X (x86_64) version 10.10.2
Java Version: 1.7.0_45, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 354872744 bytes (338 MB) / 951582720 bytes (907 MB) up to<PHONE_NUMBER> bytes (2731 MB)
JVM Flags: 3 total; -Xmx3G -XX:PermSize=256m -XX:MaxPermSize=1024m
AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
IntCache: cache: 0, tcache: 0, allocated: 12, tallocated: 94
FML: MCP v9.05 FML v<IP_ADDRESS>1 Minecraft Forge <IP_ADDRESS>1 33 mods loaded, 33 mods active
mcp{9.05} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
FML{<IP_ADDRESS>1} [Forge Mod Loader] (forge-1.7.10-<IP_ADDRESS>1.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
Forge{<IP_ADDRESS>1} [Minecraft Forge] (forge-1.7.10-<IP_ADDRESS>1.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
appliedenergistics2-core{rv2-beta-14} [AppliedEnergistics2 Core] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
CodeChickenCore{<IP_ADDRESS>} [CodeChicken Core] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
NotEnoughItems{<IP_ADDRESS>} [Not Enough Items] (NotEnoughItems-1.7.10-<IP_ADDRESS>-universal (3).jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
appliedenergistics2{rv2-beta-14} [Applied Energistics 2] (appliedenergistics2-rv2-beta-14.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
BiomesOPlenty{2.1.0} [Biomes O' Plenty] (BiomesOPlenty-1.7.10-<IP_ADDRESS>7-universal.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
CarpentersBlocks{3.3.5} [Carpenter's Blocks] (Carpenter's Blocks v3.3.5 - MC 1.7.10 (1).jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
ChickenChunks{<IP_ADDRESS>} [ChickenChunks] (ChickenChunks-1.7.10-<IP_ADDRESS>-universal.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
ForgeMultipart{<IP_ADDRESS>0} [Forge Multipart] (ForgeMultipart-1.7.10-<IP_ADDRESS>0-universal.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
chisel{<IP_ADDRESS>} [Chisel 2] (Chisel2-<IP_ADDRESS>.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
EnderStorage{<IP_ADDRESS>} [EnderStorage] (EnderStorage-1.7.10-<IP_ADDRESS>-universal.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
EnderZoo{1.7.10-<IP_ADDRESS>} [Ender Zoo] (EnderZoo-1.7.10-<IP_ADDRESS>.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
ExtraUtilities{1.2.2} [Extra Utilities] (extrautilities-1.2.2.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
farseek{1.0.1} [Farseek] (Farseek-1.0.1 (2).jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
LunatriusCore{<IP_ADDRESS>} [LunatriusCore] (LunatriusCore-1.7.10-<IP_ADDRESS>-universal (1).jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
InGameInfoXML{<IP_ADDRESS>} [InGame Info XML] (InGameInfoXML-1.7.10-<IP_ADDRESS>-universal (2).jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
InGameInfoXML|simplyjetpacksIntegration{<IP_ADDRESS>} [InGame Info XML - Simply Jetpacks Integration] (InGameInfoXML-1.7.10-<IP_ADDRESS>-universal (2).jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
InGameInfoXML|ThaumcraftIntegration{<IP_ADDRESS>} [InGame Info XML - Thaumcraft Integration] (InGameInfoXML-1.7.10-<IP_ADDRESS>-universal (2).jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
inpure|core{1.7.10R1.0.0B9} [INpureCore] (INpureCore-[1.7.10]1.0.0B9-54.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
Mekanism{8.0.0} [Mekanism] (Mekanism-1.7.10-<IP_ADDRESS>.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
MekanismGenerators{8.0.0} [MekanismGenerators] (MekanismGenerators-1.7.10-<IP_ADDRESS>.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
MekanismTools{8.0.0} [MekanismTools] (MekanismTools-1.7.10-<IP_ADDRESS>.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
harvestcraft{1.7.10g} [Pam's HarvestCraft] (Pam's HarvestCraft 1.7.10g.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
streams{0.1.3} [Streams] (Streams-0.1.3 (2).jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
Translocator{<IP_ADDRESS>} [Translocator] (Translocator-1.7.10-<IP_ADDRESS>-universal.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
Waila{1.5.10} [Waila] (Waila-1.5.10_1.7.10.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
WR-CBE|Core{<IP_ADDRESS>} [WR-CBE Core] (WR-CBE-1.7.10-<IP_ADDRESS>-universal (1).jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
WR-CBE|Addons{<IP_ADDRESS>} [WR-CBE Addons] (WR-CBE-1.7.10-<IP_ADDRESS>-universal (1).jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
WR-CBE|Logic{<IP_ADDRESS>} [WR-CBE Logic] (WR-CBE-1.7.10-<IP_ADDRESS>-universal (1).jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
McMultipart{<IP_ADDRESS>0} [Minecraft Multipart Plugin] (ForgeMultipart-1.7.10-<IP_ADDRESS>0-universal.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
ForgeMicroblock{<IP_ADDRESS>0} [Forge Microblocks] (ForgeMultipart-1.7.10-<IP_ADDRESS>0-universal.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
AE2 Version: beta rv2-beta-14 for Forge <IP_ADDRESS>1
AE2 Integration: IC2:OFF, RotaryCraft:OFF, RC:OFF, BC:OFF, MJ6:OFF, MJ5:OFF, RF:ON, RFItem:ON, MFR:OFF, DSU:ON, FZ:OFF, FMP:ON, RB:OFF, CLApi:OFF, Waila:ON, InvTweaks:OFF, NEI:ON, CraftGuide:OFF, Mekanism:ON, ImmibisMicroblocks:OFF, BetterStorage:OFF
Profiler Position: N/A (disabled)
Vec3 Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
Player Count: 1 / 8; [EntityPlayerMP['TheSuperMingela'/452, l='New World', x=57,55, y=70,00, z=89,07]]
Type: Integrated Server (map_client.txt)
Is Modded: Definitely; Client brand changed to 'fml,forge'

A mod is shipping with an incomplete CoFH API. Installing CoFHCore will fix this.

Oh  thanks. Good luck with Mekanism v8.

Thank you!


Luckperms meta username-color, and other values? Help

Hey i'm trying to use the placeholder {luckperms_meta_username-blue} in my chat control formatting. First of all, where can i find a list of available keys i can use, username-blue, etc?
The username shows up correctly, but instead of changing my name to blue, it just says this: https://gyazo.com/c3833917f8f3ac95f2dcb2a13749aad6
Heres what i have in my formatting config:
{luckperms_prefix} {luckperms_meta_username-color}{player}&f: {message}"
I know an alternative would be to just include it in the prefix such as "&4Owner &f". So the name color would be white. But i want more efficient way to handle prefixes and name colors. Because i'm going to use the format for tab, and other plugins.

LuckPerms itself only offers meta values. These are nothing but named values.
The chat plugin itself must support using meta. And it depends on the chat plugin what meta values are supported and how they are called.

Oh ok. I'm using Chat Control Pro. Any idea if CCP supports meta values?

LuckPerms itself only offers meta values. These are nothing but named values.
The chat plugin itself must support using meta. And it depends on the chat plugin what meta values are supported and how they are called.

Oh ok. I'm using Chat Control Pro. Any idea if CCP supports meta values?

I currently use CCP for my chat plugin and i'm using {luckperms_meta_name-colour} and it works fine for me.


Format README

Use only one primary header for accessibility, label code blocks, and provide additional formatting with a linter,

Coverage remained the same at 81.716% when pulling e9033cb86d300c8e1c475a3d1696766d3458a3ba on sudousrcode:patch-1 into 00c7b561e3238056dc810757c5e230d1812a1998 on xiph:master.


Rule to require ? and matching : to each begin a new line if the other does

Please add a warning such as:
class C
{
    int M(bool cond1, bool cond2)
    {
        return cond1
            // ⚠ Matching '?' and ':' must be on the same line or each must be at the beginning of a new line
            //              ↓
            ? cond2 ? 1 : 2 : 3;
    }
}

They should also be required to be at the same level of indentation if they begin new lines, so this would not be valid (same rule or maybe a separate rule, maybe part of https://github.com/DotNetAnalyzers/StyleCopAnalyzers/issues/3331):
return cond1
    ? cond2 ? 1 : 2
        : 3;

The rule should not require ? and : to always begin a new line because I want the option to use this pattern:
return
    cond1 ? 1 :
    cond2 ? 2 :
    cond3 ? 3 :
    4;

(A separate rule could, though, and I'd keep it off.)

Possible duplicate of #651?

Ah yes! Except for the mention of indentation, but maybe that belongs in a separate rule anyway.


integration with moment-timezone

This is not really an issue with this package but...
The moment-timezone library adds a .tz function to the moment prototype.
https://github.com/moment/moment-timezone/
How I express this external and still use this package?
Thank you!

Would this work?

Thanks! The output is now correct except it doesn't import "moment-timezone".
I want to express "import this module as a side-effect don't give it a name or anything"
import moment from 'moment'
import 'moment-timezone'

Solved in Discord through [%%bs.raw "require('moment-timezone)"]
Though we should just wrap it with our own idiomatic API because these kind of APIs are pretty darn imperative side-effectful.


Inconsistant Date format - Datasets - Metadata Latest - Datetime format issue

Datasets - Metadata Latest
API documentation | Insights Solution (elexon.co.uk)
According to API main documentation datetime should be written using RFC3339  format.
Also, in bottom section of attachment, date time example is written using RFC3339 format, with 3 places for second fragments and ending with Z mark.
But when testing the API or calling the API datetime format returned doesn't have the  Z mark.
Which Time zone is used for this report and which time format is applicable for it?

This has now been fixed, and results returned from this endpoint are correctly formatted using RFC3339 and showing the UTC timezone


DOC Move userhelp to silverstripe-userhelp-content

Issue https://github.com/silverstripe/recipe-cms/issues/47

Good spot.  Just a single reference which I've updated


Associations not working for me

I have an entity called "Item"  It has an association called "comments".
When I fetch an "Item" I would expect it to also fetch the comments, but it does not.
I have stepped through getPopulatedEntity and the issue seems to be with the metadata - no metadata is found for the comments property.
This is the code in Typescript:
export class Item  extend Entity {
    id: number;

    @association('comment')
    comments: Array<Comment>;
}

Have also tried:
@association({collection: 'comment'})
 comments: Array<Comment>;

This is the js that is produced by TypeScript:
var __extends = (this && this.__extends) || function (d, b) {
    for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
    function __() { this.constructor = d; }
    d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
    return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __metadata = (this && this.__metadata) || function (k, v) {
    if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
define(["require", "exports", 'aurelia-orm', 'aurelia-orm'], function (require, exports, aurelia_orm_1, aurelia_orm_2) {
    "use strict";
    var Item = (function (_super) {
        __extends(Item, _super);
        function Item() {
            _super.apply(this, arguments);
        }
        __decorate([
            aurelia_orm_2.association('comment'),
            __metadata('design:type', Array)
        ], Item.prototype, "comments", void 0);
        return Item;
    }(aurelia_orm_1.Entity));
    exports.Item = Item;
});

is the comment of type Entity?

Yes, comment is of type Entity.
Yes, when I get an item from the database, it includes the comments. Is that what you are asking?
The issue is with the Metadata as when this code is run, entityMatadata does not include the associations.
if (!entityMetadata.has('associations', key) || (typeof value === 'undefined' ? 'undefined' : _typeof(value)) !== 'object') {
          populatedData[key] = value;

          continue;
        }

        //This code never runs as no associations were found. So the comments are POJO's.
        var _repository = this.entityManager.getRepository(entityMetadata.fetch('associations', key).entity);
        populatedData[key] = _repository.populateEntities(value);

I have also stepped through the code that saves the collection, but that also doesn't find the associations in the metadata.

can you give me some details on ts version, npm or jspm ...

TS <IP_ADDRESS>
using jspm
"aurelia-orm"<EMAIL_ADDRESS>I created a brand new project using latest typescript skeleton and followed the instructions in the tutorial to the letter, and I still get the same result - the metadata is not being found and used.
I stepped through builder.regsterEntities() and it seems to run ok.
.plugin('aurelia-api', config => {
          config
              .registerEndpoint('item', 'http://localhost:56185/api/')
              .setDefaultEndpoint('item');
      })

      // Register the plugin, and register our entities.
      .plugin('aurelia-orm', builder => {
          builder.registerEntities(entities);
      })

import { Entity, repository } from 'aurelia-orm';

export class Comment extends Entity {
    id:number;
    content: String;
}

import { type, association, Entity } from 'aurelia-orm';

export class Item extends Entity {

    id: number;

    test: string;

    name: string;

    @type('Date')
    date: Date;

    @association('comment')
    comments: Array<Comment>;

}

let awaitResponse = this.itemsRepository.find();
      return awaitResponse.then(
          items => this.items = items);

When the items are returned, the "Item" has the extra properties of an entity, but Comment is just a POCO.

try with 's'
    @association('comment')
    comment: Array<Comment>;
`` `js

I tried without the s
export class Item extends Entity {
id: number;

test: string;

name: string;

@type('Date')
date: Date;

@association('comment')
comment: Array<Comment>;

}
Still, same result.  Both Item and each comment in both do not have any metadata.  The issue is that the metadata is not being processed.  The metadata of item is missing the metadata of the fact that the Date is of type "Date" and it is missing the fact that there is an association.
The metadata looks like this:

        repository: DefaultRepository,
        resource: null,
        endpoint: null,
        name: null,
        idProperty: 'id',
        associations: {}

If I put a resource decorator on the Entity, the resource property of metadata is still empty:
@resource('my-endpoint')
export class Item extends Entity {
id: number;

test: string;

name: string;

@type('Date')
date: Date;

@association('comment')
comment: Array<Comment>;

}
So none of the decorators are being passed to the metadata.

which brings be back to the question which typescript version you are using. i know there is an issue with property decorators in babel.
i tried with my simple sample https://github.com/doktordirk/aurelia-orm-loopback-sample/tree/master/client-ts and seems to work. maybe compare it to your settings

I was able to get the Loopback Typescript sample working and all the metadata is working fine.  I will work with this some more and see if I can find the difference my project and the Loopback sample.
To answer your question, I am using Typescript 2.0.2 which is the latest version at the moment.  Also, not using Babel.
Thank you very much for the support.

I can now duplicate the issue I was having in the Loopback sample.
This is how the sample looks:
@resource('user')
export class User extends Entity {
    displayName: string = '';
    email: string = '';
    password: string = 'none';

    @association('customer')
    customers: Array<Customer> = null;
}

This works fine to load the association metadata, and turn the customers into Entities.
However, if you remove @resource('user') the metadata for the association will fail to load.
According to the documentation, because the resource is exactly the same as the class name, it should not be necessary.  But it is.  I have tested this on two different projects and the outcome is the same - the metadata attributes do not get processed if the resource decorator is omitted.
However, on the customer class, I can remove the resource decorator and User and it's customers load the metadata just fine.  It seems to be the root item (User in this case) that requires the resource decorator.


Remote skill triggers for skill fails when triggered from Root Bot

Describe the bug

Exported a bot as a skill.
Made sure MSAppId of the root bot is in allowed callers.
The remote skill addition also added the skill's MsAppID in the allowedCaller section of the root bot.
Configured ngrok on the Rootbot for the skill host endpoint.
Started the bot. And used the trigger word to kickstart the trigger which the skill addition added. I keep getting a Module failed to load exception

https://skillbot-1.azurewebsites.net/manifests/SkillBot-2-1-manifest.json - manifest of skill
https://user-images.githubusercontent.com/13004779/115076185-0a0dab00-9eb1-11eb-972c-d8613464a0db.mov
Version
Custom electron nightly from skills branch

This seems like an orchestrator issue, @taicchoumsft , have you ever met this issue before? "Failed to find or load model"

Hey @luhan2017 , yes that's an Orchestrator warning message.  I will load up the skills branch and diagnose this.
In the "usual" workflow (single bot), on click of "Start Bot", we will download the language models into the user profile/BotFrameworkComposer folder.  We also write this data into orchestrator.settings file in generated folder. If these two are not present, or incorrectly set, we get this "failed to find or load model".

Hey @srinaath , was this done on a Mac?  Can you share the contents of your BotFrameworkComposer/models folder?  Is it empty? If there are subfolders, can you see if they contain a model.onnx file?
Thanks @srinaath.

I do not see the models folder here. @taicchoumsft . Maybe we can do a screenshare to see why Orchestrator never got installed?

Thanks @srinaath for repro and debug session.  This will be fixed in SDK with 4.13.1.  Linked issue: https://github.com/microsoft/botbuilder-dotnet/issues/5524

Closing in anticipation of https://github.com/microsoft/botbuilder-dotnet/issues/5524


fix(sidebar): #28 sidebar toggle not working

https://github.com/InfyOmLabs/adminlte-templates/issues/28 sidebar toggle not working

issue is global so this pr is invalid


Damage enricher is broken in v12

[[/damage 10d4 fire average]] produces  NaN (10d4) fire (the NaN should be the average of the roll)
Even adding all the parameter names like [[/damage formula=10d4 type=fire average=true]] causes the issue.
Foundry version: v12.323 (Version 12 Testing 4 - Build 323)
Game System: 3.1.2
Modules active: none.

I can work on this.


test: add integration test for file logging

Adds a test that file logging is working.
This will pave the way for removing file logging from our testing infrastructure.

This change is

This was integrated into #3751


add snippet preview to ultisnip integration

Hello, this change added pure snippet code preview in info popup

Can you update the help text with some details about how to use the ultisnips plugin with the LSP plugin?

Can you update the help text with some details about how to use the ultisnips plugin with the LSP plugin?

Yes sure, I add info


Rid of NPM

Hi,
I just want to get rid of npm, because I don`t know how to use it :S Let me know how can I comply theme script and work on it with simple text files without any command prompt. I want index.html where it will show me content when I visit.
I don`t want to loos time by learning npm, nodejs because tomorrow there are would be another zpf and I think they are useless for developers as we don`t need excute txt files on server but on desktop.
Regards,
Turkel.

Well, don't know what to say :) Generally, you can follow the installation instructions (just a couple of commands), build the sources to get simple html/js files and then don't get back to node/npm.


Codefolding linefolds syncing fixes

This PR addresses some inconsistencies with updating the folded states in the folds cache when lines are removed and added.
cc @abose @peterflynn please review and test.

Thanks @thehogfather for the quick fix. Will test and update.

It looks very stable now, all the cases mentioned in the original bug and comments are now working fine.
All the unit tests are alo passing (exept the 3 pending quick edit ones which we are working on actively to fix.)

Thanks, Hog father, It works well now in my day of testing


Submit outside form element

Hi!
I want to put a submit button outside a form element, what the better way to achieve that?
I tried use ref in the form with no success.

@e3duardo you can do that with the properties HTML5 provides to forms, no extra JS needed to do this: you simply set an id to your form, and reference that form on your button like this:
<Form id="yourFormID">
	<Input (...) />
</Form>

<button type="submit" form="yourFormID"> Send </button>

I'll be closing this @e3duardo as it seems that @lukemorales proposed a solution!
But feel free to reopen this issue in case you feel like we missed something ❤


BFMap does not work with half precision floats

BFMap fails without good debugging information when trying to use half precision floats.
Minimal example:
from bifrost import map as BFMap
import numpy as np
import traceback
for dtype in ['f8','f4','f2','i8','i4','i2']:
    print("Using dtype",dtype)
    try:
        A = BFArray(np.arange(2000,dtype=dtype),space='cuda')
        B = BFArray(np.arange(2000,dtype=dtype),space='cuda')
        C = BFArray(np.arange(2000,dtype=dtype),space='cuda')
        BFMap("""C(i)=A(i)*B(i)""",{'C':C,'B':B,'A':A},axis_names=('i'),shape=(2000,))

        out = C.copy('system')
    except Exception:
        print(traceback.format_exc())```

Sounds like it is similar to this: https://github.com/ledatelescope/bifrost/issues/130


Fix plugin to work with passing podspecs

executing pod dependencies Some.podspec was not working since the SourcesManager code has changed in latest CocoaPods.
Also performs a couple of other cleanup tasks.

Mind if I push a few changes? Mostly looks 💯

Be my guest!

@dnkoutso take a look, this should prevent a regression in functionality

💯  I can try it locally real quick to ensure I can do pod dependencies remote.podspec

p.s I dont have access to merge here so I leave it up to you :)

@segiddins should pod dependencies CocoaLumberjack.podspec work out of the box? It does not as I am seeing:
[!] Cannot find `CocoaLumberjack.podspec`.

are you in a directory that contains a CocoaLumberjack.podspec?

otherwise it'd de pod dependencies CocoaLumberjack

Nope. I was under the impression that the else block in:
          if path.file?
            @podspec = Specification.from_file(path)
          else
            sets = Config.
              instance.
              sources_manager.
              search(Dependency.new(@podspec_name))
            spec = sets && sets.specification
            @podspec = spec && spec.subspec_by_name(@podspec_name)
            raise Informative, "Cannot find<EMAIL_ADDRESS>unless @podspec
          end

Would go and fetch the podspec from the sources

Ah yes! That was it! works.

merge away.

Will ty and merge & release tomorrow

Released as 1.1.0


Issue with ios emulator /bin/sh: cordova: command not found

May this is stupid, but I have already wasted hours, here is what I am doing
yashprit$ grunt emulate:ios
Running "emulate:ios" (emulate) task

Running "clean:dist" (clean) task
>> 11 paths cleaned.

Running "clean:server" (clean) task
>> 0 paths cleaned.

Running "ngconstant:development" (ngconstant) task
Creating module config at app/scripts/configuration.js...OK

Running "wiredep:app" (wiredep) task

Running "wiredep:sass" (wiredep) task

Running "concurrent:server" (concurrent) task

    Running "copy:vendor" (copy) task

    Done, without errors.

    Execution Time (2015-06-10 11:47:50 UTC)
    loading tasks  6ms  ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 46%
    copy:vendor    7ms  ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 54%
    Total 13ms

    Running "copy:styles" (copy) task
    Copied 2 files

    Done, without errors.

    Execution Time (2015-06-10 11:47:50 UTC)
    loading tasks   4ms  ▇▇▇▇▇▇▇▇▇▇▇▇ 24%
    copy:styles    12ms  ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 71%
    Total 17ms

    Running "copy:fonts" (copy) task
    Copied 4 files

    Done, without errors.

    Execution Time (2015-06-10 11:47:50 UTC)
    loading tasks   5ms  ▇▇▇▇▇▇▇▇▇▇▇▇ 24%
    copy:fonts     15ms  ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 71%
    Total 21ms

    Running "compass:server" (compass) task
        write .temp/styles/ionic.app.css (5.04s)
        write .temp/styles/main.css (0.001s)

    Done, without errors.

    Execution Time (2015-06-10 11:47:50 UTC)
    compass:server  5.8s  ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 100%
    Total 5.8s

Running "autoprefixer:dist" (autoprefixer) task
Autoprefixer's process() method is deprecated and will removed in next major release. Use postcss([autoprefixer]).process() instead
File .temp/styles/dropdown.css created.
Autoprefixer's process() method is deprecated and will removed in next major release. Use postcss([autoprefixer]).process() instead
File .temp/styles/ionic.app.css created.
Autoprefixer's process() method is deprecated and will removed in next major release. Use postcss([autoprefixer]).process() instead
File .temp/styles/main.css created.
Autoprefixer's process() method is deprecated and will removed in next major release. Use postcss([autoprefixer]).process() instead
File .temp/styles/style.css created.

Running "newer:copy:app" (newer) task

Running "copy:app" (copy) task
Created 173 directories, copied 1002 files

Running "newer-postrun:copy:app:1:/Users/yashprit/Codestore/ideas/AngularApp/node_modules/grunt-newer/.cache" (newer-postrun) task

Running "newer:copy:tmp" (newer) task

Running "copy:tmp" (copy) task
Copied 4 files

Running "newer-postrun:copy:tmp:2:/Users/yashprit/Codestore/ideas/AngularApp/node_modules/grunt-newer/.cache" (newer-postrun) task

Running "concurrent:ionic" (concurrent) task
Running "watch" task
Waiting...
Running "ionic:emulate:ios" (ionic) task
Updated the hooks directory to have execute permissions
/bin/sh: cordova: command not found

Done, without errors.

Execution Time (2015-06-10 11:47:58 UTC)
ionic:emulate:ios  790ms  ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 99%
Total 794ms

final error from above trace that I could suspect is /bin/sh: cordova: command not found but I am not sure whats going wrong here. I suing Mac-OSX

I think you don't have Cordova globally installed.
Try this command in console to check if you have it installed:
npm ls -g --depth 0
Cordova should be listed. If it isn't, then you should run this command and try again:
npm i -g cordova

I think you don't have Cordova globally installed.
Try this command in console to check if you have it installed:
npm ls -g --depth 0
Cordova should be listed. If it isn't, then you should run this command and try again:
npm i -g cordova
excellent man...it works perfectly

Yes working fine closing issue


ProjectBuilder ProviderFactory support

Expected Behavior
Project project = new ProjectBuilder()
    .withEnvironmentVariable(key, value)
    .withProperty(key, value)
    .withGradleProperty(key, value)
    .build()

I would not expect these to actually set environment variables or system properties behind the scenes. These settings should only be made available to plugins using the ProviderFactory (project.providers) interface.
Current Behavior
We need to use something like JUnit Pioneer's SetEnvironmentVariable to modify environment variables which would not be thread-safe and require illegal reflection to modify.
Context

We're working on gradle plugins that can be configured based on the environment they run in. This means we'd like to load environment variables or system properties to modify plugin behavior. Testing these behaviors needs some way to either inject or override the environment variable loading code. We'd like plugins to be able to load environment variables from the ProjectProvider interface, and then override them in the ProjectBuilder api.

You might want to consider using TestKit?
https://docs.gradle.org/current/userguide/test_kit.html

I can't speak for @Sineaggi , but at least in our experience TestKit is too slow to be suitable for unit testing -- we use ProjectBuilder for unit tests and TestKit for functional/integration tests.
Another workaround for this issue we've used successfully is to define an extension that wraps all the property configurations we use. For example:
abstract class BuildConfiguration @Inject constructor(
  objectFactory: ObjectFactory,
  providerFactory: ProviderFactory
)  {
  @get:Input
  @get:Optional
  val nodeHomeGradleProperty: Property<String> = objectFactory.property<String>().convention(
    providerFactory.gradleProperty("nodeHome").forUseAtConfigurationTime()
  )
}

(I think forUseAtConfigurationTime is deprecated, but we're still on 7.3)
This extension gets added to the root project by a plugin separate from any plugins that rely on it for their apply method.  This allows you to add the extension in your test and set the value of the property directly before applying any additional plugins, while relying on providerFactory.gradleProperty() in real builds (which you can test using TestKit for an integration test)

Yeah so for us TestKit is slow and more useful for end-to-end testing.
We want to validate that our tasks and extension objects are configured correctly. This is much easier with the ProjectBuilder.

Thank you for your interest in Gradle!
This feature request is in the backlog of the relevant team, but this area of Gradle is currently not in focus. It might take a while before it gets implemented.

Relates to

#17638


Replace dirs-first with dir-order

This replaces dirs-first with a dir-order option, for ordering directory nodes in branch arms before or after other inodes.  It makes some simplifications to how comparators are generated and applied to sort passes on inodes.
Sorry for jumbling this up with another pr.  Let me know if you'd like me to make any updates.

Hey @xiuxiu62 thanks for taking an interest! Unfortunately I've decided to move forward with https://github.com/solidiquis/erdtree/pull/67 mainly because your change would break backwards compatibility, therefore necessitating either a major version bump or a deprecation process leading to an eventual major version bump. I do, however, like the simplification of how comparators are treated so I'd be happy to have that as a separate PR. Let me know your thoughts.

Completely understand, no worries.  I'm not sure it makes sense to change the comparator implementation, unless there are more client options that can be used to produce a comparator.  It got a little hairy dealing with the move semantics of multiple comparators when you have more than one branching source, but with just the SortType and dirs-first bool, the original implementation works great. I'd be happy to work on a separate PR though, if it would be beneficial for the project moving forward.


Allow to customize popover blocker

In my project I need to skip all non-left mouse buttons through popover container. I also use custom logic that has conditions not to close popovers on outside clicks. To do this i had to copy-paste out the whole popover subsystem just to set my own DismissOnMouseDownContainer. I want to switch to built-in one again so proposing this.
This allows to override component that handles outside clicks in PopoverContainer. This is no-op change for existing usages.

I really do not like this api surface... It feels way too internal to expose.
Can you describe your use case? Video of your expected behaviour perhaps?

Can you describe your use case?

Long explanation what's going on
I use popovers for all dropdowns and dropdown-like panels in toolbars. Quick example from osu! is music player (i.e. you click a button in toolbar and get a panel near it, osu! uses its own logic, i use popovers for that).
Sometimes they contain a lot of checkboxes/scrolls/etc. so general popover logic "if you don't need it, just ignore it" stops working, you probably want to explicitly close such menu first and only then do something else. So, if there is a popover, i block left clicks so they close the popover but do nothing else (like context menus).
In some cases (they are not there yet, but I think they will be) such menu may have something that should not be lost on accidental outside click. I exposed Func<bool> from my popover for future usage.
Of course, such menus may contain components with context menus. Quick solution is to move context menu container inside a popover, but this won't work because while context menu is opened, i dim everything behind it and its target. I want this dim to applied to whole screen. Also, first click outside both popover and child context menu IMO should close menu bc it's more nested. So, "dismisser" must stop only left clicks (so right ones can reach context menu container).
To block context menus from opening on components behind popover, i use IHasContextMenu on "dismisser" container.

To do all described above, I used custom "dismisser":
private partial class MLDismissOnMouseDownContainer : Container, IHasMLMenu
{
    protected override bool OnMouseDown(MouseDownEvent e)
    {
        if (e.Button == MouseButton.Left && Count > 0)
        {
            var p = (BellePopover)this[0];
            if (p.CanClose())
                this.HideBellePopover();
            return true;
        }
        return false;
    }
    public MLMenuItem[]? PositionalContextMenuItems => Count > 0 ? Array.Empty<MLMenuItem>() : null;
    public MLMenuItem[]? NonPositionalContextMenuItems => PositionalContextMenuItems;
}

so my popover container is created like this
public partial class MLPopoverContainer : Container<Drawable>
{
    public MLPopoverContainer()
    {
        InternalChildren = new Drawable[]
        {
            content = new Container
            {
                RelativeSizeAxes = Axes.Both,
            },
            dismissOnMouseDownContainer = new MLDismissOnMouseDownContainer
            {
                RelativeSizeAxes = Axes.Both
            }
        };
    }

As you can see, the only altered logic is internal popover container that this PR allows to do without copy-pasting out the whole sybsystem.

video
ad-hoc demo scene:
https://github.com/ppy/osu-framework/assets/53872073/353d9f1d-c846-4615-898e-244ebcf2d07c

I use popovers for all dropdowns and dropdown-like panels in toolbars.
(...)
Sometimes they contain a lot of checkboxes/scrolls/etc. so general popover logic "if you don't need it, just ignore it" stops working, you probably want to explicitly close such menu first and only then do something else

I would say that this is misusing what the component is supposed to be. As per https://developer.apple.com/design/human-interface-guidelines/popovers:

Use a popover to expose a small amount of information or functionality. Because a popover disappears after people interact with it, limit the amount of functionality in the popover to a few related tasks. For example, a calendar event popover makes it easy for people to change the date or time of an event, or to move it to another calendar. The popover disappears after the change, letting people continue reviewing the events on their calendar.

I would say that if you want longer-lasting overlays like the osu! music player, then rolling your own logic is the best course forward for both the framework and your project. As such I am against merging this change.