Nested pseudo classes within pseudo elements

Describe the issue
According to the @stylexjs/eslint-plugin valid styles rules, I cannot nest more than 1 level deep.
Inside '::webkite-scrollbar-thumb', however the styles are applied and everything works.
Is this expected behavior? I would assume the code either fails to compile or the styles are not applied.
Or is it possible to do this and is the eslint rule more like a suggestion to not do this.

Expected behavior
Either the nested styles are not applied or the code fails to compile.
Steps to reproduce
Install necessary dependencies and add the linter to the eslint config
    "@stylexjs/eslint-plugin": "0.6.0",
    "@stylexjs/stylex": "0.6.0",

Write nested styles inside ::-webkit-scrollbar-thumb
import * as stylex from '@stylexjs/stylex';

const styles = stylex.create({
  content: {
    gridArea: 'content',
    overflowX: 'hidden',
    overflowY: 'auto',
    '::-webkit-scrollbar-thumb': {
      borderRadius: '6px',
      backgroundColor: { default: 'rgba(0, 0, 0, 0.2)', ':hover': 'rgba(0, 0, 0, 0.4)' },
    },
  },
});

Test case
No response
Additional comments
No response

This is a valid issue. You can use this as a temporary workaround:
import * as stylex from '@stylexjs/stylex';

const styles = stylex.create({
  content: {
    gridArea: 'content',
    overflowX: 'hidden',
    overflowY: 'auto',
    backgroundColor: {
      default: null,
      '::-webkit-scrollbar-thumb': {
        default: 'rgba(0, 0, 0, 0.2)',
        ':hover': 'rgba(0, 0, 0, 0.4)',
      },
    },
    '::-webkit-scrollbar-thumb': {
      borderRadius: '6px',
    },
  },
});

This is obviously not idea, but it should work.

Surely the better workaround is to ignore the eslint-plugin's warning? Isn't the correct syntax the one in the OP, not the one in the workaround above? I think pseudo-elements shouldn't be allowed within property object-values - that doesn't really make sense to me.

@necolas My bad. I assumed it was a bug in the Babel plugin because it used to be a bug at one point. You're right, the best solution here is to just suppress the ESLint error.

should this be removed from the plugin?
https://github.com/facebook/stylex/blob/bea3495859da52fa1d581df409b1dac8f7e4e934/packages/eslint-plugin/src/stylex-valid-styles.js#L2481
there is a TODO comment that reminds to remove this suggestion as well

should this be removed from the plugin?

With some extra checks to disallow it for anything but pseudo elements.


HTTP monitoring in user space prototype

What does this PR do?
This is a prototype of what HTTP monitoring in user space could look like.
In order to collect HTTP metrics, the system-probe eBPF tracer creates a raw socket and corresponding socket filter which filters everything but HTTP traffic. Packets are pulled off this socket and processed by the HTTPSocketFilterInspector, which forwards the packets to a tcpassembler. The assembler re-assembles packets into streams of TCP data, which an httpStreamHandler reads from and parses the data into http events (which is then further processed by a httpEventHandler).
For now, the tracer simply periodically prints HTTP stats to the logs and exposes HTTP telemetry on an expvar endpoint.
Limitations:

when traffic gets really high, the socket will drop some packets, and the TCP re-assembler won't be able to finish re-assembling the corresponding HTTP events. After a certain amount of time (httpTimeout), those events would get flushed and we wouldn't end up seeing that traffic
the CPU and memory overhead of this approach is very high

Load test
In order to see how this system performs under high loads, I used the vegeta HTTP load-testing tool to set up 3 clients which send a configurable number of HTTP requests to 10 nginx servers via a haproxy load balancer. I ran the datadog-agent on the same node the clients were running on, then adjusted the client request rate and observed the effect on the socket packet drop rate, CPU usage and memory usage. The results were as follows:

For reference: Running the current release of the datadog agent with this test results in CPU usage ranging from 0.4% (for 500 requests per second) to 2.0% (for 2500 requests per second), and memory usage ranging from 155.5 MiB to 206.9 MiB.

@ISauve is this still in progress?  If not, should we close it?


Is there onClickItem event?

as title,
Could i triggered a event when user click a item in banner ?

Yes, of course. The item views are passed to the Decentbanner object, and onclick listeners will work fine.


Use autosummary in the docs

The sphinx autosummary plugin is a nice way to get a list of classes, methods, functions, etc. We should use it in the docs instead of listing out the members of a module with bullet points (* :class:...).
For example, the class and function list can be replaced by:
.. autosummary::
    MyClass
    my_func

Each class can also list their most important methods the same way. In the class docstrings, use:
Main methods and attributes:
.. autosummary::
    MyClass.method1

uow nice better than using the bullets very well, I will test it someday


[Affix system] Getting an armor piece to 6 armor toughness resets it to 3 and no higher

This also happened to a helmet, and a pair of pants I'm improving is having it happen for armor at 12
I think it has something to do with it not liking both +3 Armor Toughness and +3 Armor Toughness on the same item.
Version is 1.16.4-4.6.0

That is more likely an issue with the tooltip mod, as the attribute is working as intended (the max value is 3 for the affix)

Is the tooltip mod also responsible for the Armor and Armor Toughness bars above the health and food bars? I have a helmet where I went to 6 AT (3 AT + 3 AT) and it says 3 in the tooltip, and only gives me 3(1.5) in the bar. In contrast, I have a helmet with 5.98 AT in the tooltip and it gives me 6(3) in the bar.

Turns out the way I was sorting attribute modifiers to ensure consistent tooltips was voiding modifiers with the same type and magnitude.  Fixed


Command not available after installation.

The file I am working on is asciidoc.  I am using the following default as mentioned in the doc:-
require("lazy").setup({
    {
        "andrewferrier/wrapping.nvim",
        config = function()
            require("wrapping").setup()
        end
    },
}

This works fine as per key binding [ow to enable soft-wrap mode.  I would like to link this with my own key binding. Hence I wanted to try the provided command SoftWrapMode. This has given me an error Not an Editor Command: SoftWrapMode.
Is it intended or am I doing something wrong?

@wxguy I'm not sure why you're seeing the error you're seeing, but I would just link it directly to the lua function instead:
return {
    url = "git@github.com:andrewferrier/wrapping.nvim",
    config = function()
        require("wrapping").setup({
            create_keymaps = false,
        })

        vim.keymap.set("n", "<leader>s", function()
            require("wrapping").soft_wrap_mode()
        end, {})
    end,
}

See the help/README for the other lua function names. Hope that helps. Obviously, remove create_keymaps if you still want the default keymaps to be created as well.

Closed since I don't think there's a bug here.


Move routing calculation to chaire-lib-backend

Add an review all data types regarding transit routing queries to chaire-lib-common.
Add a Routing.ts file which contains the main calculation function. This function takes a json object with the query parameters as argument and return results also as json objects, for easier serialization if necessary.
The TransitRoutingCaculator from transition-common is replaced by the Routing's chaire-lib-backend calculator and a RouitngUtils file in the transition-frontend to make the call to the routing socket route on the server.
In the frontend, the TransitRouting object is kept as it is easier to edit from the form by the user, but in the backend, it is all replaced with the parameter objects from chaire-lib-common.
A utility function can transform the result json objects to RoutingResult instances for easier manipulation by result handling functionalities.

There's already an issue to make it simpler: #983
At least this limits the number of callers to the inners of the calculation


Php icon

PHP icon for webdevelopers
|
-- | --
Just need to change color
-- | --

I'm sorry, I know the PHP icon but I'm not sure what's in your table and what does「change colors」mean?

I am sorry for that issue, but please add "Php" icon. It would be helpful
for a lot of developers who need it.
On Tue, 22 Oct 2024 at 09:22, 章萧醇 @.***> wrote:

I'm sorry, I know the PHP icon but I'm not sure what's in your table and
what does「change colors」mean?
—
Reply to this email directly, view it on GitHub
https://github.com/Remix-Design/RemixIcon/issues/893#issuecomment-2428142249,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BCADXGUKEPIDZOCTN6RFEETZ4XCBFAVCNFSM6AAAAABNJS6ZC6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMRYGE2DEMRUHE
.
You are receiving this because you authored the thread.Message ID:
@.***>

https://remixicon.com/icon/php-fill
Here it is, which we added in v4.4.0
If you like our project, hope you can Star our project


[Bug] betterdiscord installer keeps crashing

Before Reporting

[X] I found no existing issues matching my bug
[X] My issue is not caused by a plugin or theme

Describe the Bug
everytime i have tried to open the betterdiscord installer it instantly crashes after a few seconds. it suddenly happened a few months ago and it wasn't really a problem until the new update where i just can't update now at all. i've tried running the installer on several virtual machines and it works just fine but on my main computer it just doesn't work at all. any way to fix this?
Expected Behavior
betterdiscord installer works and installs to 1.9.4
Steps To Reproduce

run betterdiscord installer
try to update via the updater on the betterdiscord menu on discord

Operating System
Windows
Discord Version
Stable
BetterDiscord Version
1.9.3
Anything else?
No response

can confirm


Make script function safer and simpler to use

This PR updates the script method that calls javascript and returns a response.
The current implementation strips away the simple possibility of the parent C API to check if the script has run successfully.
It re-implemets this possibility for the script method and makes it safer and simpler to use.

The only arguments for the method will be the java script code string
The params timeout and the response buffer size max_response_size (defaults to 8KiB) become optional.// New default
resp := e.window.script('return count;')
// Instead of default
resp := e.window.script('return count;', 0, 4096)
// Now, if a timeout should be added
resp := e.window.script('return count;', timeout: 10)

It will return a ScriptResponse inspired by Vs builtin os.execute.
This contains a success and a output filed. It can be used with e.g. resp.success to check if it the script has run successfully and res.ouput to get the output.

ok instead of success is probably a better field name.

Actually, I vote for success. It makes the code more readable. Unless 'ok' is common and I don't know.

Success then it should be!

LGTM


First integration of Commercial Registry Entry

When receiving a Commercial Registry Entry Presentation from a Business Partner for which I don't have a public DID, the BPA should use the DID in the Commercial Registry Entry as public DID for the BP, and resolve the DID doc and Public Profile.
When clicking on "Refresh from Source" this public DID should be used and not the Peer DID that is part of the connection.
This is a first resolution for #63
On IIL we use the following Schema for the Commercial Registry Entry: 8faozNpSjFfPJXYtgcPtmJ:2:commercialregister:1.2

If you want to get a Commercial Registry Entry you can use https://oc-proxy.dev.economyofthings.io/#/requestIdentity


layer clickaway option for render-to-layer/popover

@oliviertassinari - ended up changing the property name to useLayerForClickAway

How can I test this?

So on icon menu/menu - you can still click underlying elements, because they pass in false to the new prop.
On Popover, it doesn't, so if you click on the left nav, it will now close the popover rather than trigger a navigation.

What should we do for https://github.com/callemall/material-ui/blob/master/src/dialog.jsx#L458?
Maybe adding useLayerForClickAway={false}?
Or we could change the default value of useLayerForClickAway to false to not introduce a change

@chrismcv I like this new property :+1:.

@oliviertassinari - this should be good now?

What should we do with the Dialog component? We have kind of a duplicated logic for the clickAway.

Because it uses Overlay, I think this should probably remain as is - as the Overlay is on top of the _layer, so will have click precedence.

@oliviertassinari new commit with zIndex on theme

@oliviertassinari - this looks good now

@chrismcv Looks good :+1:. Could you squash down? I will merge :smile:.

@oliviertassinari  :+1:

Thanks

and you @oliviertassinari

There are two errors in code.

Documentation says that default: false which is incorrect. The default is true.
You dont pass useLayerForClickAway from popup to render layer.

You are right. Can you open an issue?


Add support for country cities and coordinates

Limit coordinates and cities for a specific region / country

Could you be more specific about this issue? @marcosanfilippo

I suppose you're talking about the Faker::Address.latitude and Faker::Address.longitude?


Code contributed to wrong person

Hi,
Can you tell me which specific code was attributed to the wrong person? Will be easier to look into the issue then.

Sorry for the late reply, there were quite a number of commits that was attributed to the wrong person, those that were committed by @joshlay96 was added to mine @jwee97, and the commits that were under my username was recently doubled


feat: support mdx

#595  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @hi-ogawa and the rest of your teammates on  Graphite


fix: handle multiline prisma docs

closes #132
TODO

[x] docs
[x] tests

Codecov Report

Merging #134 (9fdcbb8) into main (784705c) will increase coverage by 1.11%.
The diff coverage is 75.75%.

@@            Coverage Diff             @@
##             main     #134      +/-   ##
==========================================
+ Coverage   47.75%   48.87%   +1.11%
==========================================
  Files          30       34       +4
  Lines         513      534      +21
  Branches      101      101
==========================================
+ Hits          245      261      +16
- Misses        250      257       +7
+ Partials       18       16       -2

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

npm package (@next-major dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


fields.remove (and non-closure pattern) always removes last element in FieldArray

I am using onClick={() => fields.remove(index)} from the docs, and have also tried the non-closure workaround outlined in issue #1128, and the example provided in release 1.2.1.
In each case, no matter which FieldArray element I click 'close' on, it always removes the last element in the FieldArray.
If I add console.log(index) to the onClick method, I see that the appropriate index number is logged to the console, but still the last element in FieldArray is what gets removed. 😕  Indeed, I can call fields.remove(0) and still the last element gets popped.
Usually I'd assume I've done something wrong - and that remains a strong possibility - but, I have followed the examples closely and it's quite straightforward.
TL;DR; fields.remove(index) is behaving like fields.pop().
I am using "redux-form": "6.3.2"

Some further debugging / tearing hair out led me to realise that the issue is due to the components I am using being the react-rte component via this method.
Unsurprisingly, this isn't an issue with redux-form after all, so I'll close the issue.

I have the same problem. Have you solved your issue @markau? I can't find out why is it happening.

I can only offer a workaround as it's pushing the limit of my understanding. See this comment in the gist: if I define the stateless Field component outside the render function (against the advice in the docs) then it forces the Fields to update upon any change of state - in this case, removing an item from the FieldArray.  I would be very keen to hear of a better approach!
Let me know if you want me to paste a code sample and I'll do that when I return to the office.

@markau could you please provide an example how you got this to work. This bug is honestly driving me nuts. Thanks in advance.

Hey @ddcech, although I am sorry to hear you are having issues, it is good to get further confirmation of the issue!
I added a comment to the gist that shows my workaround. (Whilst this is in relation to the RTE component, you could substitute any component.)
Does this help?  Likewise any further info you can share is helpful in getting to the bottom of it.

At least four people affected, I think that's worth reopening the issue?

It will be awesome if anyone can provide a working example. https://jsfiddle.net/gustavohenke/48814zsq/

Thanks! @markau, your solution works for me. I am using the rc-time-picker component.

@gustavohenke I have forked your fiddle and setup the example - can't reproduce :cry: - will try again a bit later. I have completely confused myself.

hey @gustavohenke, this is proving difficult to replicate in a fiddle. I can say, however, that the problem is where the renderField (using terminology from the members/hobbies example) includes a component which uses componentDidMount to set the state.
The complex component (versus the simple <input type="text" {...input} />) from the members example) does not have its props 'refreshed' when the fields array changes. Similar to this issue on SO.
So, not a bug in redux-form. I'll close it again 😆.
If you know how to force the props to refresh in the component upon changes to the fields, I would be absolutely grateful for any hint whatsoever.

@markau Could you please explain what you mean by "the solution is to use componentWillReceiveProps to refresh the props in the component."? I don't understand what component you are talking about, what props to refresh and how.


[BZ-1327202] submit queries on the propagation queue

Merged by https://github.com/droolsjbpm/drools/compare/1cf6f3d...626009a


Bug 32367663: Relax special chars restrictions on DeviceInfo

Aligning with this change ADU-M's fix: Bug 32192452: Relax compat info DeviceManufacturer and DeviceModel restrictions
Pending: Leo is still waiting to hear back from IoT team on the length restrictions here:
Restrictions on device Manufacturer and model? · Issue #153 · Azure/iot-plugandplay-models (github.com)

alphanumeric, dot and dash only.

Need to remove this line to reflect current changes (probably need to similarly change the .h)

Refers to: src/agent/device_info_interface/src/device_info_interface.c:86 in a9412bb. [](commit_id = a9412bb7c9a3473bb915c9fa1b39c73caf55765f, deletion_comment = False)


Cannot find reference to --net

Proposed changes
Is network intended? It looks like this is talking about
https://docs.docker.com/engine/reference/run/#network-settings
Unreleased project version (optional)
N/A
Related issues (optional)
N/A

This seems correct. From what I can recall --net was deprecated in favor of --network.


URL.createObjectURL(stream) has been deprecated and will be removed

Deprecated since Firefox 54 (https://www.fxsitecompat.com/en-CA/docs/2017/url-createobjecturl-stream-has-been-deprecated/)
Not yet deprecated in Chrome (https://crbug.com/591719)
Deprecated in Safari https://bugs.webkit.org/show_bug.cgi?id=167518

// Don't do this
video.src = URL.createObjectURL(stream);

// Do this
video.srcObject = stream;

Looking through the code there are quite a lot of them: https://github.com/muaz-khan/RecordRTC/search?l=JavaScript&q=createObjectURL&type=&utf8=✓

thanks @muaz-khan can you push a new version to npm and bower?


<EMAIL_ADDRESS>Node Gyp Rebuild error

My Setup

My OS name and version: Ubuntu 14.04
My current app version: 2.4.0

Description

On electron app, when i run npm install i am getting error in<EMAIL_ADDRESS>npm ERR! Linux 3.19.0-25-generic
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "@paulcbetts/system-idle-time"
npm ERR! node v6.9.5
npm ERR! npm  v3.10.10
npm ERR! code ELIFECYCLE
npm ERR<EMAIL_ADDRESS>install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>install script 'node-gyp rebuild'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the @paulcbetts/system-idle-time package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-gyp rebuild
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs @paulcbetts/system-idle-time
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls @paulcbetts/system-idle-time
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR!     /opt/lampp/htdocs/Rocket.Chat.Electron/npm-debug.log

@ihd2911 Have you installed build-essential?
sudo apt-get install build-essential
You may also need libkrb5-dev - apt-get install libkrb5-dev
If that doesn't work, you could try to update your node to 7.4.0

I have got this working on Ubuntu 16 by installing
build-essential
libevas-dev
libxss-dev

Working now. Thanks

How to make it working on windows 7?

https://github.com/nodejs/node-gyp#installation
I had to use option 2 to get it to work on Windows 7

Can we add this steps to the README.md?

@ihd2911 Did you manage to get this working?
I did a clean install on Windows 7 and installed Visual Studio Express 2013 and got it working.

I got this error,either.
Anyone who can help me?
Thanks!
My OS is Win 7.
Current app version is 2.4.0 release.
I download the source code , and run npm install, and the got this error.
0 info it worked if it ends with ok
1 verbose cli [ 'D:\Program Files\nodejs\node.exe',
1 verbose cli   'C:\Users\wangzufang\AppData\Roaming\npm\node_modules\npm\bin\npm-cli.js',
1 verbose cli   'rebuild',
1 verbose cli   '@paulcbetts/system-idle-time',
1 verbose cli   'spellchecker' ]
2 info using<EMAIL_ADDRESS>3 info using<EMAIL_ADDRESS>4 info readInstalled object
5 verbose rebuild path, id [ 'D:\workspace\labs\rocket.chat\Rocket.Chat.Electron-2.4.0\node_modules\@paulcbetts\system-idle-time',
5 verbose rebuild   '<EMAIL_ADDRESS>]
6 verbose rebuild path, id [ 'D:\workspace\labs\rocket.chat\Rocket.Chat.Electron-2.4.0\node_modules\spellchecker',
6 verbose rebuild<EMAIL_ADDRESS>]
7 silly rebuild set [ 'D:\workspace\labs\rocket.chat\Rocket.Chat.Electron-2.4.0\node_modules\@paulcbetts\system-idle-time',
7 silly rebuild set   'D:\workspace\labs\rocket.chat\Rocket.Chat.Electron-2.4.0\node_modules\spellchecker' ]
8 info build D:\workspace\labs\rocket.chat\Rocket.Chat.Electron-2.4.0\node_modules@paulcbetts\system-idle-time
9 info lifecycle<EMAIL_ADDRESS><EMAIL_ADDRESS>10 silly lifecycle<EMAIL_ADDRESS>no script for preinstall, continuing
11 info linkStuff<EMAIL_ADDRESS>12 silly linkStuff<EMAIL_ADDRESS>has D:\workspace\labs\rocket.chat\Rocket.Chat.Electron-2.4.0\node_modules as its parent node_modules
13 verbose linkBins<EMAIL_ADDRESS>14 verbose linkMans<EMAIL_ADDRESS>15 verbose rebuildBundles<EMAIL_ADDRESS>16 info lifecycle<EMAIL_ADDRESS><EMAIL_ADDRESS>17 verbose lifecycle<EMAIL_ADDRESS>unsafe-perm in lifecycle true
18 verbose lifecycle<EMAIL_ADDRESS>PATH: C:\Users\wangzufang\AppData\Roaming\npm\node_modules\npm\bin\node-gyp-bin;D:\workspace\labs\rocket.chat\Rocket.Chat.Electron-2.4.0\node_modules@paulcbetts\system-idle-time\node_modules.bin;D:\workspace\labs\rocket.chat\Rocket.Chat.Electron-2.4.0\node_modules.bin;C:\Users\wangzufang\AppData\Roaming\npm\node_modules\npm\bin\node-gyp-bin;D:\workspace\labs\rocket.chat\Rocket.Chat.Electron-2.4.0\node_modules.bin;d:\Program Files (x86)\BigAntSoft\IM Console\im_webserver\php;C:\Program Files (x86)\Common Files\NetSarang;C:\ProgramData\Oracle\Java\javapath;D:\Python27;D:\Python27\Scripts;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Program Files\Intel\WiFi\bin;C:\Program Files\Common Files\Intel\WirelessCommon;D:\Program Files (x86)\Git\cmd;D:\Program Files (x86)\Brackets\command;D:\Program Files\gradle-2.4\bin;D:\Program Files\Java\jdk1.8.0_45\bin;C:\Program Files\Java\jre1.8.0_45\bin;D:\Program Files\TortoiseGit\bin;D:\Program Files\mysql\bin;D:\Program Files\TortoiseSVN\bin;D:\nwjs-v0.16.0-win-x64;D:\Squirrel.Windows-1.4.0;C:\Program Files (x86)\Windows Kits\8.1\Windows Performance Toolkit;C:\Program Files (x86)\Yarn\bin;C:\Users\wangzufang\AppData\Local\Android\Sdk\tools;C:\Users\wangzufang\AppData\Local\Android\Sdk\platform-tools;C:\Users\wangzufang\AppData\Roaming\npm;C:\Users\wangzufang\AppData\Local\Yarn.bin;D:\Program Files\nodejs;C:\Users\wangzufang\AppData\Local\Yarn.bin;C:\Users\wangzufang\AppData\Local.meteor;C:\Users\wangzufang\AppData\Roaming\npm
19 verbose lifecycle<EMAIL_ADDRESS>CWD: D:\workspace\labs\rocket.chat\Rocket.Chat.Electron-2.4.0\node_modules@paulcbetts\system-idle-time
20 silly lifecycle<EMAIL_ADDRESS>Args: [ '/d /s /c', 'node-gyp rebuild' ]
21 silly lifecycle<EMAIL_ADDRESS>Returned: code: 1  signal: null
22 info lifecycle<EMAIL_ADDRESS>Failed to exec install script
23 verbose stack Error<EMAIL_ADDRESS>install: node-gyp rebuild
23 verbose stack Exit status 1
23 verbose stack     at EventEmitter. (C:\Users\wangzufang\AppData\Roaming\npm\node_modules\npm\lib\utils\lifecycle.js:279:16)
23 verbose stack     at emitTwo (events.js:106:13)
23 verbose stack     at EventEmitter.emit (events.js:191:7)
23 verbose stack     at ChildProcess. (C:\Users\wangzufang\AppData\Roaming\npm\node_modules\npm\lib\utils\spawn.js:40:14)
23 verbose stack     at emitTwo (events.js:106:13)
23 verbose stack     at ChildProcess.emit (events.js:191:7)
23 verbose stack     at maybeClose (internal/child_process.js:877:16)
23 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)
24 verbose pkgid<EMAIL_ADDRESS>25 verbose cwd D:\workspace\labs\rocket.chat\Rocket.Chat.Electron-2.4.0
26 error Windows_NT 6.1.7601
27 error argv "D:\Program Files\nodejs\node.exe" "C:\Users\wangzufang\AppData\Roaming\npm\node_modules\npm\bin\npm-cli.js" "rebuild" "@paulcbetts/system-idle-time" "spellchecker"
28 error node v6.9.5
29 error npm  v4.2.0
30 error code ELIFECYCLE
31 error errno 1
32 error<EMAIL_ADDRESS>install: node-gyp rebuild
32 error Exit status 1
33 error Failed at the<EMAIL_ADDRESS>install script 'node-gyp rebuild'.
33 error Make sure you have the latest version of node.js and npm installed.
33 error If you do, this is most likely a problem with the @paulcbetts/system-idle-time package,
33 error not with npm itself.
33 error Tell the author that this fails on your system:
33 error     node-gyp rebuild
33 error You can get information on how to open an issue for this project with:
33 error     npm bugs @paulcbetts/system-idle-time
33 error Or if that isn't available, you can get their info via:
33 error     npm owner ls @paulcbetts/system-idle-time
33 error There is likely additional logging output above.
34 verbose exit [ 1, true ]

This is the console log.

<EMAIL_ADDRESS>postinstall D:\workspace\labs\rocket.chat\Rocket.Chat.Electro
n-2.4.0
install-app-deps && electron-rebuild

Rebuilding native production dependencies for win32:x64
Error: D:\Program Files\nodejs\node.exe exited with code 1
Output:

<EMAIL_ADDRESS>install D:\workspace\labs\rocket.chat\Rocke
t.Chat.Electron-2.4.0\node_modules@paulcbetts\system-idle-time
node-gyp rebuild

D:\workspace\labs\rocket.chat\Rocket.Chat.Electron-2.4.0\node_modules@paulcbett
s\system-idle-time>if not defined npm_config_node_gyp (node "C:\Users\wangzufang
\AppData\Roaming\npm\node_modules\npm\bin\node-gyp-bin\....\node_modules\node-
gyp\bin\node-gyp.js" rebuild )  else (node "" rebuild )
Error output:
gyp WARN install got an error, rolling back install
gyp ERR! configure error
gyp ERR! stack Error: connect ETIMEDOUT <IP_ADDRESS>:443
gyp ERR! stack     at Object.exports._errnoException (util.js:1022:11)
gyp ERR! stack     at exports._exceptionWithHostPort (util.js:1045:20)
gyp ERR! stack     at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1087:1
4)
gyp ERR! System Windows_NT 6.1.7601
gyp ERR! command "D:\Program Files\nodejs\node.exe" "C:\Users\wangzufang\A
ppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\bin\node-gyp.j
s" "rebuild"
gyp ERR! cwd D:\workspace\labs\rocket.chat\Rocket.Chat.Electron-2.4.0\node_modul
es@paulcbetts\system-idle-time
gyp ERR! node -v v6.9.5
gyp ERR! node-gyp -v v3.5.0
gyp ERR! not ok
npm ERR! Windows_NT 6.1.7601
npm ERR! argv "D:\Program Files\nodejs\node.exe" "C:\Users\wangzufang\AppD
ata\Roaming\npm\node_modules\npm\bin\npm-cli.js" "rebuild" "@paulcbetts/sy
stem-idle-time" "spellchecker"
npm ERR! node v6.9.5
npm ERR! npm  v4.2.0
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>install script 'node-g
yp rebuild'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the @paulcbetts/system-id
le-time package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-gyp rebuild
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs @paulcbetts/system-idle-time
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls @paulcbetts/system-idle-time
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR!     C:\Users\wangzufang\AppData\Roaming\npm-cache_logs\2017-02-15T01_5
8_31_956Z-debug.log
at ChildProcess.childProcess.once.code (D:\workspace\labs\rocket.chat\Rocket

.Chat.Electron-2.4.0\node_modules\electron-builder-util\src\util.ts:134:14)
at ChildProcess.g (events.js:291:16)
at emitTwo (events.js:106:13)
at ChildProcess.emit (events.js:191:7)
at maybeClose (internal/child_process.js:877:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)
From previous event:
at spawn (D:\workspace\labs\rocket.chat\Rocket.Chat.Electron-2.4.0\node_modu
les\electron-builder-util\src\util.ts:97:3)
at D:\workspace\labs\rocket.chat\Rocket.Chat.Electron-2.4.0\node_modules\ele
ctron-builder\src\yarn.ts:118:11
From previous event:
at rebuild (D:\workspace\labs\rocket.chat\Rocket.Chat.Electron-2.4.0\node_mo
dules\electron-builder\out\yarn.js:87:22)
at D:\workspace\labs\rocket.chat\Rocket.Chat.Electron-2.4.0\node_modules\ele
ctron-builder\src\yarn.ts:16:11
at next (native)
at runCallback (timers.js:649:20)
at tryOnImmediate (timers.js:622:5)
at processImmediate [as _immediateCallback] (timers.js:594:5)
From previous event:
at installOrRebuild (D:\workspace\labs\rocket.chat\Rocket.Chat.Electron-2.4.
0\node_modules\electron-builder\out\yarn.js:33:21)
at D:\workspace\labs\rocket.chat\Rocket.Chat.Electron-2.4.0\node_modules\ele
ctron-builder\src\cli\install-app-deps.ts:31:2
at next (native)
From previous event:
at main (D:\workspace\labs\rocket.chat\Rocket.Chat.Electron-2.4.0\node_modul
es\electron-builder\out\cli\install-app-deps.js:35:21)
at Object. (D:\workspace\labs\rocket.chat\Rocket.Chat.Electron-2.
4.0\node_modules\electron-builder\out\cli\install-app-deps.js:71:1)
at Module._compile (module.js:570:32)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
at Module.runMain (module.js:604:10)
at run (bootstrap_node.js:394:7)
at startup (bootstrap_node.js:149:9)
at bootstrap_node.js:509:3
npm WARN optional SKIPPING OPTIONAL DEPENDENCY<EMAIL_ADDRESS>(node_modu
les\7zip-bin\node_modules\7zip-bin-linux):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for 7zip-bin-
<EMAIL_ADDRESS>wanted {"os":"linux","arch":"any"} (current: {"os":"win32","arch":"
x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY<EMAIL_ADDRESS>(node_module
s\7zip-bin\node_modules\7zip-bin-mac):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for 7zip-bin-
<EMAIL_ADDRESS>wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x
64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY<EMAIL_ADDRESS>(node_modules\ch
okidar\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@
1.0.17: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"
})
npm ERR! Windows_NT 6.1.7601
npm ERR! argv "D:\Program Files\nodejs\node.exe" "C:\Users\wangzufang\AppD
ata\Roaming\npm\node_modules\npm\bin\npm-cli.js" "install"
npm ERR! node v6.9.5
npm ERR! npm  v4.2.0
npm ERR! code ELIFECYCLE
npm ERR! errno<PHONE_NUMBER>
npm ERR<EMAIL_ADDRESS>postinstall: install-app-deps && electron-rebuild
npm ERR! Exit status<PHONE_NUMBER>
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>postinstall script 'install-app-deps &&
electron-rebuild'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the rocketchat package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     install-app-deps && electron-rebuild
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs rocketchat
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls rocketchat
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR!     C:\Users\wangzufang\AppData\Roaming\npm-cache_logs\2017-02-15T01_5
8_32_071Z-debug.log

@angelscat Have you installed node-gyp globally, and installed the Windows build tools?
Look at the quick start guide here https://github.com/RocketChat/Rocket.Chat.Electron#quick-start and follow the instructions to install node-gyp

@angelscat  , have you fixed your issue? I just met the same issue as you, any hints?
@alexbrazier , I had followed the guide https://github.com/RocketChat/Rocket.Chat.Electron#quick-start but still failed, may I know the versions you used(e.g. the node, npm, msvs )?

I'm having a similar issue with openSUSE, i'm guessing there is something i'm missing as well.  Any ideas?


ARROW-11971: [Packaging] Vcpkg patch doesn't apply on windows due to line endings

@github-actions crossbow submit -g wheel

@github-actions crossbow submit -g wheel

@github-actions crossbow submit -g wheel

CI error is unrelated, merging.


Error: Cannot close server before it is initialized (Svelte & Vite demo + skeleton app)

Describe the bug
Asked in the Discord server -> no responses (no luck so far)
I am not getting past the Hello World step for SvelteKit. Whatever I do, this error always throws. I went through the code and it seems that the Vite server does not start.
I tried a similar example on the Vite website with Svelte. Same error, also with npm & pnpm
Anybody has this too? I am running MacOS (Monterey Beta 6)

Reproduction
npm init svelte@next my-app (or test, I tried many different ones)
cd my-app
npm install
npm run dev -- --open
Code:
https://github.com/commitmentbasedsmartcontract/vite_issue
System Info
MacOS Monterey Beta 6

Used Package Manager
npm
Logs
jc@dk test % npm run dev

><EMAIL_ADDRESS>dev
> svelte-kit dev

> Unexpected end of JSON input
SyntaxError: Unexpected end of JSON input
    at JSON.parse (<anonymous>)
    at hasWorkspacePackageJSON (/Users/jc/Documents/Code/SvelteKit/test/node_modules/vite/dist/node/chunks/dep-874085d4.js:75243:26)
    at searchForWorkspaceRoot (/Users/jc/Documents/Code/SvelteKit/test/node_modules/vite/dist/node/chunks/dep-874085d4.js:75271:9)
    at searchForWorkspaceRoot (/Users/jc/Documents/Code/SvelteKit/test/node_modules/vite/dist/node/chunks/dep-874085d4.js:75277:12)
    at searchForWorkspaceRoot (/Users/jc/Documents/Code/SvelteKit/test/node_modules/vite/dist/node/chunks/dep-874085d4.js:75277:12)
    at searchForWorkspaceRoot (/Users/jc/Documents/Code/SvelteKit/test/node_modules/vite/dist/node/chunks/dep-874085d4.js:75277:12)
    at searchForWorkspaceRoot (/Users/jc/Documents/Code/SvelteKit/test/node_modules/vite/dist/node/chunks/dep-874085d4.js:75277:12)
    at resolveServerOptions (/Users/jc/Documents/Code/SvelteKit/test/node_modules/vite/dist/node/chunks/dep-874085d4.js:75596:22)
    at resolveConfig (/Users/jc/Documents/Code/SvelteKit/test/node_modules/vite/dist/node/chunks/dep-874085d4.js:76887:17)
    at async Object.createServer (/Users/jc/Documents/Code/SvelteKit/test/node_modules/vite/dist/node/chunks/dep-874085d4.js:75281:20)
file:///Users/jc/Documents/Code/SvelteKit/test/node_modules/@sveltejs/kit/dist/chunks/index.js:4383
			throw new Error('Cannot close server before it is initialized');
			      ^

Error: Cannot close server before it is initialized
    at Watcher.close (file:///Users/jc/Documents/Code/SvelteKit/test/node_modules/@sveltejs/kit/dist/chunks/index.js:4383:10)
    at process.<anonymous> (file:///Users/jc/Documents/Code/SvelteKit/test/node_modules/@sveltejs/kit/dist/chunks/index.js:4235:9)
    at process.emit (node:events:394:28)
    at process.emit (node:domain:475:12)
    at process.exit (node:internal/process/per_thread:184:15)
    at handle_error (file:///Users/jc/Documents/Code/SvelteKit/test/node_modules/@sveltejs/kit/dist/cli.js:803:10)
    at file:///Users/jc/Documents/Code/SvelteKit/test/node_modules/@sveltejs/kit/dist/cli.js:855:4

0 verbose cli [
0 verbose cli   '/Users/jc/.nvm/versions/node/v16.9.1/bin/node',
0 verbose cli   '/Users/jc/.nvm/versions/node/v16.9.1/bin/npm',
0 verbose cli   'run',
0 verbose cli   'test'
0 verbose cli ]
1 info using<EMAIL_ADDRESS>2 info using<EMAIL_ADDRESS>3 timing npm:load:whichnode Completed in 0ms
4 timing config:load:defaults Completed in 2ms
5 timing config:load:file:/Users/jc/.nvm/versions/node/v16.9.1/lib/node_modules/npm/npmrc Completed in 1ms
6 timing config:load:builtin Completed in 1ms
7 timing config:load:cli Completed in 1ms
8 timing config:load:env Completed in 1ms
9 timing config:load:file:/Users/jc/Documents/Code/SvelteKit/test/.npmrc Completed in 0ms
10 timing config:load:project Completed in 1ms
11 timing config:load:file:/Users/jc/.npmrc Completed in 1ms
12 timing config:load:user Completed in 1ms
13 timing config:load:file:/Users/jc/.nvm/versions/node/v16.9.1/etc/npmrc Completed in 1ms
14 timing config:load:global Completed in 1ms
15 timing config:load:validate Completed in 1ms
16 timing config:load:credentials Completed in 1ms
17 timing config:load:setEnvs Completed in 1ms
18 timing config:load Completed in 11ms
19 timing npm:load:configload Completed in 11ms
20 timing npm:load:setTitle Completed in 20ms
21 timing npm:load:setupLog Completed in 0ms
22 timing config:load:flatten Completed in 3ms
23 timing npm:load:cleanupLog Completed in 3ms
24 timing npm:load:configScope Completed in 0ms
25 timing npm:load:projectScope Completed in 0ms
26 timing npm:load Completed in 39ms
27 timing command:run-script Completed in 20ms
28 verbose stack Error: Missing script: "test"
28 verbose stack
28 verbose stack To see a list of scripts, run:
28 verbose stack   npm run
28 verbose stack     at RunScript.run (/Users/jc/.nvm/versions/node/v16.9.1/lib/node_modules/npm/lib/run-script.js:104:13)
29 verbose cwd /Users/jc/Documents/Code/SvelteKit/test
30 verbose Darwin 21.1.0
31 verbose argv "/Users/jc/.nvm/versions/node/v16.9.1/bin/node" "/Users/jc/.nvm/versions/node/v16.9.1/bin/npm" "run" "test"
32 verbose node v16.9.1
33 verbose npm  v7.24.0
34 error Missing script: "test"
34 error
34 error To see a list of scripts, run:
34 error   npm run
35 verbose exit 1
Validations

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

Hello @commitmentbasedsmartcontract. Please provide a minimal reproduction using a GitHub repository or StackBlitz. Issues marked with need reproduction will be closed if they have no activity within 3 days.

Added: https://github.com/commitmentbasedsmartcontract/vite_issue

This item can be closed. It is not solved, but I think it is not related to Vite. I have it working on a clean VM and another laptop. It does not work on Monterey though, which may be related to other NPM packages or content blockers.


[Docs]

Documentation request
I want to learn if UE to UE connectivity is possible in free5gc.
Suggestion
I would really appreciate if there's some documentation on how we can enable one UE to ping another.
Additional context
None

Yes, it is possible to use one UE to ping another UE.
You can create another virtual machine and run ueransim on it.
Here is the list of things to watch out for while setting up the second ueransim:

Host-only network interface IP address should be different from that of the first ueransim (e.g. <IP_ADDRESS>)
The aforementioned address should be consistent with the one in free5gc-gnb.yaml and free5gc-ue.yaml
In free5gc-ue.yaml, the supi of the second UE should be different from the first one (e.g.<PHONE_NUMBER>00004)
After registered to free5gc successfully, open another terminal on this vm. run ifconfig to check if interface uesimtun0 is created, and its address should be different from that of the first UE.
Ping the first UE using ping -I uesimtun0 <address of first UE's uesimtun0 interface>

To check if the first UE is being pinged, you can use
sudo tcpdump -i <pinged interface> icmp and icmp[icmptype]=icmp-echo
on the first UE. e.g.
sudo tcpdump -i <IP_ADDRESS> icmp and icmp[icmptype]=icmp-echo

For setting up ueransim, you can refer to https://free5gc.org/guide/5-install-ueransim/#1-install-ueramsim-vm
For pinging and other network operations, you can refer to https://free5gc.org/guide/6-simple-app/

Hi @RamzahRehmanPAK
This issue would be closed due to there being no interaction for 2 weeks.
If you have any further questions,
please let me know, and I will re-open this issue.
Thanks a lot.


IE11 - handle elements without classList

Fixes #142

https://github.com/Pomax/react-onclickoutside#ie-does-not-support-classlist-for-svg-elements

Oh come on, this PR is NOT to make the lib work with IE's SVG but to ignore those. I don't need/want to shim it, there's just bits of SVG in the tree.

You don't want to shim it, you just rely on code that isn't supported by IE older than EDGE, so just shim it anyway. IE-specific fixes will not be accepted into this codebase.


provide example SQL tables for relational data-stores

Yes please. Could this also be solved in the data-store plugins? I ran into it while trying to use the mysql-store so I submitted a bug there:
https://github.com/mirceaalexandru/seneca-mysql-store/issues/13


Add files via upload

Pull request to get free license for teacher.
School was not listed on IntelliJ website.

@samsinghnl Please provide us with:

the school official website URL
the school street address, including city and country
a proof, which shows that the school recognizes the domain you are submitting as an official email domain for the students.

please find information as below:
https://phs.ectorcountyisd.org/
1800 E. 42nd St. Odessa TX 79762
what kind of proof can you please give some examples
On Saturday, August 10, 2024, Philip Torchinsky @.***>
wrote:

@samsinghnl https://github.com/samsinghnl Please provide us with:

the school official website URL
the school street address, including city and country
a proof, which shows that the school recognizes the domain you are
submitting as an official email domain for the students.

—
Reply to this email directly, view it on GitHub
https://github.com/JetBrains/swot/pull/22360#issuecomment-2282240061,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AWC3REXTOG6DFR3X5WSCB4DZQZM2FAVCNFSM6AAAAABL7NAHWSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEOBSGI2DAMBWGE
.
You are receiving this because you were mentioned.Message ID:
@.***>

@samsinghnl  Thank you for the clarifications. Pull request merged.
No additional information needed.
Please start requesting the licenses in about an hour, to let the changes to propagate through our system.


release v0.5.0

https://qiita.com/kcwebapply/items/4777dfc9151ebb3e8a19

make build-releaseを実行してバイナリを生成
バイナリを含めてタグ打ちリリース
brew create https://github.com/kyu08/fzf-make/archive/refs/tags/v0.5.0.tar.gzを実行してsha256を取得
kyu08/homebrew-tap fzf-make.rbのsha256を書き換えてpush
ローカルでbrew update, brew upgrade fzf-makeを実行してダウンロードでエラーが出ないことを確認

以下のエラーが出たのでxcodeを14.2以上にあげる必要がある。が、そのためにはmacOSを12.5以上に上げる必要があるのでmacOSのバージョンをあげるところからやる
at 23:57:06 ❯ brew upgrade fzf-make
==> Upgrading 1 outdated package:
fzf-make 0.4.0 -> 0.5.0
==> Fetching fzf-make
==> Downloading https://github.com/kyu08/fzf-make/archive/refs/tags/v0.5.0.tar.gz
Already downloaded: /Users/kyu08/Library/Caches/Homebrew/downloads/bc49bf00f0aba67acd7220bb4bf4739005a9f4c5ca0e057ba6b06105c4303a1d--fzf-make-0.5.0.tar.gz
==> Upgrading fzf-make
  0.4.0 -> 0.5.0

Warning: Your Xcode (13.4) is outdated.
Please update to Xcode 14.2 (or delete it).
Xcode can be updated from the App Store.

Warning: A newer Command Line Tools release is available.
Update them from Software Update in System Preferences.

If that doesn't show you any updates, run:
  sudo rm -rf /Library/Developer/CommandLineTools
  sudo xcode-select --install

Alternatively, manually download them from:
  https://developer.apple.com/download/all/.
You should download the Command Line Tools for Xcode 14.2.

==> ./configure --prefix=/opt/homebrew/Cellar/fzf-make/0.5.0 --libdir=/opt/homebrew/Cellar/fzf-make/0.5.0/lib
Last 15 lines from /Users/kyu08/Library/Logs/Homebrew/fzf-make/01.configure:
2023-06-03 14:57:13 +0000

./configure
--disable-debug
--disable-dependency-tracking
--prefix=/opt/homebrew/Cellar/fzf-make/0.5.0
--libdir=/opt/homebrew/Cellar/fzf-make/0.5.0/lib
--disable-silent-rules

READ THIS: https://docs.brew.sh/Troubleshooting

Error: Your Xcode (13.4) is outdated.
Please update to Xcode 14.2 (or delete it).
Xcode can be updated from the App Store.

Error: A newer Command Line Tools release is available.
Update them from Software Update in System Preferences.

If that doesn't show you any updates, run:
  sudo rm -rf /Library/Developer/CommandLineTools
  sudo xcode-select --install

Alternatively, manually download them from:
  https://developer.apple.com/download/all/.
You should download the Command Line Tools for Xcode 14.2.


wrong condition in rv_continuos.fit for initial parameters estimation

in rv_continuos.fit  if loc and scale are not in kwds the self._fitstart method is called.
Here loc and scale are fitted  as loc, scale = self._fit_loc_scale_support(data, *args).
Now my understanding is that  loc and scale should not be fitted if floc are fscale are in kwds.
I'm wondering if in the code below, taken from rv_continuos.fit  should check for floc and fscale in kwds rather than loc and scale.
      Narg = len(args)
        if Narg > self.numargs:
            raise TypeError("Too many input arguments.")

        start = [None]*2
        if (Narg < self.numargs) or not ('loc' in kwds and
                                         'scale' in kwds):
            # get distribution specific starting locations
            start = self._fitstart(data)

I do not know if this is a bug or if I am misunderstanding the algorithm but I have the feeling that loc and scale are computed with no reason.

If you don't have a failing example, then the code is correct. I haven't heard of a case where it doesn't work in a long time.
AFAIR, the fixed parameter are handled separately, and that code is quite tricky and took several rounds of bug fixes.
Computing loc, scale is a redundant computation, but then all _fitstart need extra keywords and need to be written to handle floc and scale.

Thanks. So I understood correctly that _fitstart is a redundant computation which results are actually never used (if floc and fscale are passed as arguments).
I have raised this issue for 2 reasons.

it's making the code slower
In my code _fitstart raises a warning.  I had to spend a lot of time investigating for the cause to discover that it was in "redundant" code not effecting the overall result.

(I don't really have time to look at the details.)
Can you provide an example to illustrate the problem?
It is possible to add more arguments and options to _fitstart, but it's quite a bit of work because it needs to be changed in the generic code and all subclasses.
And most likely, the use of extra keyworks in the  call to _fitstart will have to be try ... except TypeError protected for backwards compatibility with user distributions.

Closing old issue with no code sample provided and no follow up


Merlin provide a hook for other languages.

Bear with me. Imagine we had this:
let () =
  let foo = 123 in
  let bar = 456 in
  let from_js = [js_code%
   (function () { return true;})()]
  in
  print_bool from_js

And what I was thinking is for merlin to see this js_code extension and itself call another another program (configurable of my choosing in this case ternjs), to get the type check info and give it back to me when I do C-c C-t, aka merlin check the type.

This is vague and I am afraid we don't have the resources to implement such feature in the short term.
I will close it for now, but feel free to come back and post more information in the future.

Thanks


Remove redundant packages and mention polyfill in readme

fixes #23
So I took the liberty of removing all extraneous dependencies and mentioned the polyfill in the readme. I have to say it's so cool that actually your only hard dependency is remarkable :D, love this project :+1:

thank you very much!


Figure 1: Overview of type of data in the portal

The first figure should encompass an overview of the portal and the contents in the portal. This should probably include the following:

[ ] Breakdown of the number of samples for each diagnosis.
[ ] Breakdown of how many samples of belong to each modality
[ ] Breakdown of modalities by project - how many projects have bulk, CITE, spatial, etc.

How to display this information:
I think there are a few ways we could show this information. Option 1 would be to just create a basic table where each unique diagnosis or modality is a separate row. If we went this route, we would probably want to create separate tables, so we have Table 1, Table 2, etc.
Option 2 is to show this information visually. We could do a bar chart where each diagnosis is its own bar, and we show the total number next to the bar. This would mean we would have 50 bars, so we would want to make sure each of the diagnoses are legible.
Alternatively, we could break this up by project and group the bars by project. However, that would probably get pretty busy since some diagnoses are found across multiple projects, so we would have > 50 bars.
I did think about a stacked bar chart, where each bar is a project, but then we would need > 50 colors and that seems really bad. If there was a way we could label each part of the bar and have it be legible, that would be a better option than using a single color for each diagnosis.
We could maybe group diagnosis by similar types (e.g. all blood cancers, all brain tumors, all sarcomas) and have a color for each group. Then we would need to show a larger more detailed table with all the diagnosis in the supplemental.
Other things we might include:
Related to the breakdown of what's in the portal, I think it might be helpful to show an overview of the Portal. I wonder if we want our first figure to be the same as the about page figure and then we have the associated tables that will all get discussed in the same results section. I know we are updating the about page figure, so I'm not sure how that will affect using that here.

Related to the first checkbox listed here, we want to have a figure that shows a summary of the different cancer types represented in the portal. At first I was worried that having a figure showing every diagnosis may be iffy, but I actually think I like it. I'm including two options for this panel below:
Option 1:
Here I show all the different diagnoses that we have, ordered by number of samples.

Option 2:
For this option, I created some loose categories for different diagnoses. I took anything that has "leukemia" in it and labeled that as blood, "sarcoma" as sarcoma, etc. Then I faceted the bar chart based on those groups. I think I actually like this one. We would need to make sure we were explicit about how we categorize things, since right now I'm just doing some string detection to categorize so I definitely missed some. But this should give you an idea of what it would look like with different categories.

The other thing I tried, was to not facet but use the same plot as in Option 1 and color the bars by the category. I personally didn't think this was as clean as faceting, so if we like grouping diseases together, I think we should stick with faceting.
Additional sample metadata option:
One question I have is if we want to try and summarize any other sample-level metadata. For example, we could include a stacked bar chart where for each disease we color the bars by the disease timing (I was inspired by OpenPBTA fig. 1B). For this, it would only make sense to include any diagnosis that we have n > 1. We would also want to summarize things so that anything with "initial diagnosis" gets that label, etc. I think this is helpful to see that for some diseases we have both initial diagnosis and recurrence samples. What do we think of including something like this?

Tagging @sjspielman @jaclyn-taroni and @jashapiro. Please let me know if you like either Option 1 or Option 2 better, if you have additional suggestions for the diagnosis bar chart, and if you think having a figure that shows disease timing would be useful or not worth it. Please let me know any comments by EOD Wednesday 12/20.
Also I know the colors are bad, I'm refraining from editing those until we decide which format we like.

I like the faceted option better, and I do like the idea of showing the disease timings in the same figure! We can still probably order bars in each facet by overall frequency. I don't think we should both count numbers at the top of bars and the grid, though since I think it's a bit too noisy with both. If we go with filling by timings, then I'd say stick with grid and no numbers. If we do not fill by timings, then use numbers and not grid.
A somewhat related question is if we want to establish a uniform palette to use throughout the paper for different cancer tissue groupings, ala OpenPBTA (but happily without a million groupings this time...). FYI though, there are quite a few brain cancers categorized as "other" in the plots above (PA, NB, MB, ATRT, etc.). I'm betting this code established the brain group via a regex for glio? If we do the faceting, we'll want to be sure we have the right groups all around. So, perhaps a separate issue to discuss out tissue groupings to facet by and optionally also choosing associated colors would be a good way to make sure we're on the same page for classifications.

I definitely favor faceting, but I might want the facet labels at the left side  ("under" the labels), which you should be able to do with strip.position in the facet_ call and theme(strip.placement="outside").
I think I like the disease timings on the same plot, but it does get a bit busy. I like the category colors, but with 4 timings, it may be too much to use shades of those colors for the timings (I'd probably try to do it by making the colors pretty dark and then using alpha to lighten them, but as I said, I don't really expect it to work).
I'm not sure why you say we would only include n > 1 for the disease timing plot? I feel like that is a separate decision: We might want to lump all diseases with n < x where x is some small number into an "Other" label (forcats::lump_min())(still split by broad category for this plot).
I agree with @sjspielman on the grid options, though I would remove the horizontal gridlines no matter what. No need for those in a bar chart!

Given the number of diagnoses, I expect the color palette challenges to be similar to OpenPBTA. So, we should probably develop a palette fairly soon per @sjspielman's suggestion, and it should include higher-level groupings.
People are going to be unhappy with me, but maybe (tasteful!) {ggpattern} can help with including the disease timing information in the same plot.
I think we want the first figure to include the color palette we will use for grouping by diagnosis (or a higher-level) throughout the paper.

We can definitely decide on a color palette that we like, but I don't imagine having any other figures where we are coloring by diagnosis? Or are you referring just to one color palette that gets used throughout the paper.

We may change our minds or be asked to do something in review, so best to get this out of the way, I think.

I'm not sure why you say we would only include n > 1 for the disease timing plot? I feel like that is a separate decision: We might want to lump all diseases with n < x where x is some small number into an "Other" label (forcats::lump_min())(still split by broad category for this plot).

In my original idea, we would have two separate plots. One that shows every single diagnosis and just the total count. The next plot would show the disease timing breakdown for any samples that we have multiple of. I was thinking it's more relevant to show samples where we may have multiple disease timings that people are able to look at and compare. Also I thought it would be really busy to have all diagnosis + disease timing. But it sounds like we want to do one single plot with total count + disease timing breakdown so then I wouldn't filter any diagnoses.

Either way, I think it probably still makes sense to have some lumping in the plot. We may want a supplemental table with all of the diseases included, but I don't think we need them all in the bar chart, and having an Other label (broken up by grouping) would still be useful to reduce clutter.

@allyhawkins, I just wanted to give you a heads-up that I will probably drop some sketches into this issue today.

If we want to show every diagnosis and use patterns to represent disease timing, we would benefit from a layout and options that result in wider bars and make it easier to see the patterns over a variety of sample sizes. Here's a sketch I put together that also synthesizes some of what has already been discussed:

Thanks for sketching this out. I like this approach! I had a few clarifying questions though:

The 1... N on the x-axis are each a diagnosis right? So that each bar is a diagnosis?
The legend will be black and white, but each panel will have bars that are different colors?

I had a few clarifying questions though:

The 1... N on the x-axis are each a diagnosis right? So that each bar is a diagnosis?
The legend will be black and white, but each panel will have bars that are different colors?

Yes, that's correct on both counts.

Since we have separate issues for the other parts of this figure (see #14 and #15), I'm going to close this.


Scry plus

I honestly think this card has too much scry. Maybe try going for some implicit synergy like putting cards back or an effect like rummage that draws a card and modifies it or Escape Plan.
Right now this pack seems very surface level and not very fun to play due to the excess of not very useful scry.

Some instance idea as a negative effect for Scry to balance out things: Reording your draw pile


Performance Issue

Faced a huge performance issue
Post.limit(20).cursor_paginate
It fetches the relation, stores it in the object and then we can make a new query out of it by calling fetch. This way 2 SQL queries are trigger:

For base relation
For new paginated query

This is the problem. It may not be huge for smaller queries but considering decent queries with some joins and preloaded enties, it would re-trigger a huge amount of queries and creates a lot of overhead to the db.
eg.
Post.joins(:authors).preload(:tags, :user_interactions).with_attached_cover_image
there should be a better way to avoid this?

I don't get what the problem is. Can you provide a more detailed example or maybe create a reproduction test script using something like this https://github.com/rails/rails/blob/main/guides/bug_report_templates/active_record.rb?

@rkwap Is this still a problem with this gem?

I am not using the gem anymore, instead using a custom solution for now due to the same issue I was facing. Apologies, but I have been  quite busy for sometime and won't be able to provide more details for now. (Will work on this when free)

Ok, let me know when you have some more ideas.


feat: rich push notification with image & deeplink when app is in foreground/background

This PR features rich push notification with image and deep link. The deep link currently works only when the app is in foreground or background.

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


cube.collapsed fails with multi-dimensional string coordinates

Hi, I have a cube like that below, with with data from multi-ensemble member climate model runs covering different years. The 'Expt ID' coordinate contains the run ID corresponding to each ensemble member for each year. I get an error when I do cube.collapsed('year', iris.analysis.MEAN).
I did previously collapse the cube over a 'season' coordinate (since removed), where each season had three time values, so perhaps this issue only arises when an entire dimension is collapsed?
print cube
air_temperature / (K)               (time: 30; Ens member: 15; latitude: 145; longitude: 192)
     Dimension coordinates:
          time                           x              -             -               -
          Ens member                     -              x             -               -
          latitude                       -              -             x               -
          longitude                      -              -             -               x
     Auxiliary coordinates:
          season_year                    x              -             -               -
          year                           x              -             -               -
          Expt ID                        x              x             -               -

cube_mean=cube.collapsed('year',iris.analysis.MEAN)

The full error message is given below. It seems that the problem is that iris tries joining the strings in 'Expt ID' into one long string, and then finds that this does not have the same size as the 'Ens member' dimension.
---------------------------------------------------------------------------
ValueError                                Traceback (most recent call last)
<ipython-input-13-43764f0e4a7d> in <module>()
----> 1 cube_seasmean.collapsed('year',iris.analysis.MEAN)

/network/home/aopp/watson/anaconda2/envs/main/lib/python2.7/site-packages/iris/cube.pyc in collapsed(self, coords, aggregator, **kwargs)
   3253                 local_dims = [coord_dims.index(dim) for dim in
   3254                               dims_to_collapse if dim in coord_dims]
-> 3255                 collapsed_cube.replace_coord(coord.collapsed(local_dims))
   3256
   3257         untouched_dims = sorted(untouched_dims)

/network/home/aopp/watson/anaconda2/envs/main/lib/python2.7/site-packages/iris/cube.pyc in replace_coord(self, new_coord)
   1181             self.add_dim_coord(new_coord, dims[0])
   1182         else:
-> 1183             self.add_aux_coord(new_coord, dims)
   1184
   1185         for factory in self.aux_factories:

/network/home/aopp/watson/anaconda2/envs/main/lib/python2.7/site-packages/iris/cube.pyc in add_aux_coord(self, coord, data_dims)
    964         if self.coords(coord):  # TODO: just fail on duplicate object
    965             raise ValueError('Duplicate coordinates are not permitted.')
--> 966         self._add_unique_aux_coord(coord, data_dims)
    967
    968     def _check_multi_dim_metadata(self, metadata, data_dims):

/network/home/aopp/watson/anaconda2/envs/main/lib/python2.7/site-packages/iris/cube.pyc in _add_unique_aux_coord(self, coord, data_dims)
    996
    997     def _add_unique_aux_coord(self, coord, data_dims):
--> 998         data_dims = self._check_multi_dim_metadata(coord, data_dims)
    999         self._aux_coords_and_dims.append([coord, data_dims])
   1000

/network/home/aopp/watson/anaconda2/envs/main/lib/python2.7/site-packages/iris/cube.pyc in _check_multi_dim_metadata(self, metadata, data_dims)
    988                     raise ValueError(msg.format(dim, self.shape[dim],
    989                                                 metadata.name(), i,
--> 990                                                 metadata.shape[i]))
    991         elif metadata.shape != (1,):
    992             msg = 'Missing data dimensions for multi-valued {} {!r}'

ValueError: Unequal lengths. Cube dimension 0 => 15; metadata 'Expt ID' dimension 0 => 1.

A quick way of coming up with a solution is just to explicitly make a string that is the join of the individual strings, removing the string coord and re-adding the joined string as a scalar coord (I'm not good enough with iris to know if this would be very robust, but it seems to work for my case).
for coord in cube.aux_coords:
    if coord.ndim>1 and coord.dtype.char=='S':
        new_str='|'.join(coord.points.ravel())
        new_coord=iris.coords.AuxCoord(new_str, attributes=coord.attributes, long_name=coord.long_name, standard_name=coord.standard_name, units=coord.units, var_name=coord.var_name)
        cube.remove_coord(coord)
        cube.add_aux_coord(new_coord)

cube_mean=cube_.collapsed('year', iris.analysis.MEAN)  #now this works

It would be nice if iris would do something like this in cube.collapsed(). Even better would be a method that only collapses 'Expt ID' here along the dimension being collapsed, so the association of 'Expt ID' values with the 'Ens member' dimension would be maintained.

Even better would be a method that only collapses 'Expt ID' here along the dimension being collapsed, so the association of 'Expt ID' values with the 'Ens member' dimension would be maintained.

The aggregated_by method has string handling that does that.  So I would say it’s desirable to have consistent behaviour in collapsed.  I also think it should be relatively simple to implement.

The relevant handling for aggregated_by looks like this:
https://github.com/SciTools/iris/blob/c9506e6a41282e91a27101905cc4e9d3cb866e4b/lib/iris/analysis/__init__.py#L2182-L2217

I believe this bug is very fixable, it just needs someone to find the time.

I have proposed a fix for this at #4294.

I still think we should make this work but if we don't make it work we should at least raise a more decipherable error message.


show sink fee for mosaics/namespaces ect in explorer

When I go to http://explorer.symbolblockchain.io/transactions/7E3049EBF37DD84C2C52C96A4234281326F3FA434DCFBDA71CF68A194ACB5059
I can see I made a mosaic, but can not see what was the fee I paid to the sink account as part of making this mosaic.
The same applies to subnamespaces here http://explorer.symbolblockchain.io/namespaces/apostille.io

It should able to see the fees paid for the namespace.
under namespace detail.
http://explorer.symbolblockchain.io/namespaces/swaps
For some reason apostille.io is 0 rental fees, it's because migrated from NIS to Symbol, and generate into genesis block.
You should able to see mosaic fees under the mosaic detail page.
http://explorer.symbolblockchain.io/mosaics/63078E73FBCC2CAC
Should we add the new section to show a receipt for fees as well?

Okay. I can see it. Thanks!


ctrl-up same as Mission Control default keybinding in OSX

By default in OSX ctrl-up will launch Mission Control.
I would normally use alt-up to increment integers by 1 in Sublime Text. Can I ask why has this shortcut been changed to ctrl-up in Atom? Why not keep the same as Sublime Text?
Cheers
Brad

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/23825113-ctrl-up-same-as-mission-control-default-keybinding-in-osx?utm_campaign=plugin&utm_content=tracker%2F535900&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F535900&utm_medium=issues&utm_source=github).

The main reason looks like this: https://github.com/sergeche/emmet-sublime/blob/master/CONTRIBUTING.md#about-keyboard-shortcuts
You can always re-map keyboard shortcuts as you wish

Makes sense thanks.


Feature/SLDT - adds digital twin feature

Implements the following designs:
Twin overview: https://www.figma.com/file/pcHZWXTQJUguIT75QSk9KW/Portal-Designs?node-id=1010%3A86762
Twin detail: https://www.figma.com/file/pcHZWXTQJUguIT75QSk9KW/Portal-Designs?node-id=851%3A75024
Includes also a first Accordion component.
Jira ticket: https://jira.catena-x.net/browse/A1SLDT-476

@JaneMcBrain looks quite good now - do you also want to have a look at those two code smells from the Sonarcloud scan? I guess both should be easy to fix.


Create instance of concrete derived class when adding to abstract collections.

https://github.com/microsoftgraph/microsoft-graph-docs/issues/6276
AB#7018

This is fixed


⚠ Aither has degraded performance

In 7d3580d, Aither ($AIH) experienced degraded performance:

HTTP code: 200
Response time: 2611 ms

Resolved: Aither performance has improved in 6457600.


Require ko >= 0.1 and simplify entrypoint copy container args

Changes
In #605, we required that ko was recent enough to be guaranteed to
have /ko-app/{app} (see google/go-containerregistry#380). As we now
point to google/ko and as we have a ko release (v0.1), we can
require this version for development.
Given the requirement above, we can simplify the entrypoint copy
container args.
cc @pivotal-nader-ziada
Signed-off-by: Vincent Demeester<EMAIL_ADDRESS>Submitter Checklist
These are the criteria that every PR should meet, please check them off as you
review them:

[ ] Includes tests (if functionality changed/added)
[x] Includes docs (if user facing)
[x] Commit messages follow commit message best practices

See the contribution guide
for more details.

/lgtm

/test pull-tekton-pipeline-integration-tests

/test pull-tekton-pipeline-integration-tests


image-upload: wait up to 5 min for PVC and Pod

The current default wait time for a PVC and the associated uploadserver
Pod to be ready is currently one minute.  Some storage provisioners can
easily take one minute just to bind a new PVC.  Also, if the
uploadserver container image needs to be pulled this can add some time.
To avoid giving up too early in completely normal situations I suggest
increasing the timeout to 5 minutes.
Signed-off-by: Adam Litke<EMAIL_ADDRESS>
What this PR does / why we need it:
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #
Special notes for your reviewer:
Release note:

NONE

/retest

/retest

/lgtm
/approve
Can't say that this is user-friendly but makes sense for now.


[WIP] Feature/one on one presence

Add a Candy event for roster presence for people who are not in a MUC.
WIP

What's the status here?

Closing as no status update has been happening. Reopen if you don't agree.


Need Documentation on JSON format - Online examples don't work

I am trying to follow along with the guide provided here:
https://pixijs.github.io/examples/#/demos/animatedsprite-demo.js

and after a bit of digging here is the sheet they use for their texture mapper
https://github.com/pixijs/examples/blob/gh-pages/required/assets/mc.json

To get an example up of a simple animated sprite. The issue that I am having is that I am following along almost exactly and I am getting an error - if the example online is not working it might need to be updated.
The example has:
var app = new PIXI.Application();
document.body.appendChild(app.view);

app.stop();

PIXI.loader
    .add('spritesheet', 'required/assets/mc.json')
    .load(onAssetsLoaded);

function onAssetsLoaded() {

    // create an array to store the textures
    var explosionTextures = [],
        i;

    for (i = 0; i < 26; i++) {
         var texture = PIXI.Texture.fromFrame('Explosion_Sequence_A ' + (i+1) + '.png');
         explosionTextures.push(texture);
    }

Where I have:
  componentDidMount(){
    this.renderer = PIXI.autoDetectRenderer(1366, 768);
    this.refs.gameCanvas.appendChild(this.renderer.view);
    this.stage = new PIXI.Container();
    this.stage.width = 400;
    this.stage.height = 400;

    console.log(littlemarioforwardwalkjson)

    PIXI.loader
        .add(littlemarioforwardwalkpng, littlemarioforwardwalkjson)
        .load(()=>this.spriteLoaded());

    // console.log(PIXI.utils.TextureCache);

  }

  spriteLoaded(){
    console.log('yolo');
    var frames = [];
    var index = 0;
    console.log('hello there sailor');
    console.log(PIXI.utils.TextureCache)
    for (var i = 0; i < 3; i++) {
          index = i+46;
          var texture = PIXI.Texture.fromFrame("mario_characters1_"+index+".png");
          marioTextures.push(texture);
     }
  }

The error I am getting is:
Error: the frameId “mario_characters1_46.png” does not exist in the texture cache
This is frustrating as my texturepacker json file is displaying correctly:
{"frames": {

"mario_characters1_46.png":
{
	"frame": {"x":0,"y":0,"w":12,"h":15},
	"rotated": false,
	"trimmed": false,
	"spriteSourceSize": {"x":0,"y":0,"w":12,"h":15},
	"sourceSize": {"w":12,"h":15},
	"pivot": {"x":0.5,"y":0.5}
},
"mario_characters1_47.png":
{
	"frame": {"x":12,"y":0,"w":11,"h":16},
	"rotated": false,
	"trimmed": false,
	"spriteSourceSize": {"x":0,"y":0,"w":11,"h":16},
	"sourceSize": {"w":11,"h":16},
	"pivot": {"x":0.5,"y":0.5}
},
"mario_characters1_48.png":
{
	"frame": {"x":23,"y":0,"w":15,"h":16},
	"rotated": false,
	"trimmed": false,
	"spriteSourceSize": {"x":0,"y":0,"w":15,"h":16},
	"sourceSize": {"w":15,"h":16},
	"pivot": {"x":0.5,"y":0.5}
}},
"meta": {
	"app": "http://www.codeandweb.com/texturepacker",
	"version": "1.0",
	"image": "littlemarioforwardwalk.png",
	"format": "RGBA8888",
	"size": {"w":38,"h":16},
	"scale": "1",
	"smartupdate": "$TexturePacker:SmartUpdate:ae9c1a55b9f5884f4a4c0182ea720ca9:80c341baf7877296bb8143f4c51a5998:383ea93646790c53db2201f0624e779e$"
}
}

If I console.log(PIXI.utils.TextureCache) I get:
{data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACYAAAAQCAYAAAB6Hg0eAAAACXBIWXMAAAsTAAALEwEAmpwYAAABUUlEQVRIx6VVPZqFIAxM/DwE1+B1WL5j0NrucWxtPcYr106uwS2yxQobMWB0aVSciTP5QYRikTVU7mGI+BT3lIdXJCmIFqcRVeP1fHN9xXzvrP/dCws46wG/FryLK9cdXpduvkegBE7Xg9vJE02etLhy/y6vE52F5eCMP2txkrg7POSOJDc1UVe4YT72rzZ+4qGU0mpjsj7Q4p7GF13lrGwG1leEYQakyVMiZvf7+1qWWnH5MEi8QwY0ZSsxrY+k7NQ4tUnNzZ8CcIKmRBk/vsFtBtxmxFI5689ZGd85RjbHDJxKc3Xw1coiYfOE7YZaByyPP8yAfesDYllZXznrAez+Yv60h+Xi1CdriJe1KzMg/U74M4aIJxNM1NNfUbn6v4aNhylaoTExISKBIdg+pwaGcJ7IFeKhIlx8TbRqvCVxUqYlPMfVjhO1MM3SiP+PuB9QuQ5f9MhyUAAAAABJRU5ErkJggg==: Texture}
So it would seem that the error is saying that the Texture Cache is only seeing one image blob - however, calling Texture.fromFrame is how the example on the website says to get it to work, and I think I am reproducing the code very closely.
I do not normally post errors in github repos but there seems to be a problem either with the documentation or something is broken - the example as it is can't be reproduced in a "hello world" style animation.
Please advise.
NOTE: I have also made a stackoverflow question here: https://stackoverflow.com/questions/45654490/cant-get-a-sprite-animation-run-in-pixijs-on-react

NOTE: I've gone back and looked at the example again.
Take a look how the PIXI.loader is defined:
PIXI.loader
    .add('spritesheet', 'required/assets/mc.json')
    .load(onAssetsLoaded);

It mentions 'spritesheet' but provides no path to where it is so I can't test what format the image is in, or if it is a base64 blob like in my example. In fact, I can't find it anywhere in the examples repository when searching (I've searched and come up empty, not searched and had an overwhelming list). This means that the example is not clear enough to debug the above problem without further input.

+1 need same help here
https://github.com/pixijs/pixi.js/issues/4221

Sorry for closing the issue.

NOTE: I've gone back and looked at the example again.
Take a look how the PIXI.loader is defined:
PIXI.loader
    .add('spritesheet', 'required/assets/mc.json')
    .load(onAssetsLoaded);

It mentions 'spritesheet' but provides no path to where it is so I can't test what format the image is in, or if it is a base64 blob like in my example. In fact, I can't find it anywhere in the examples repository when searching (I've searched and come up empty, not searched and had an overwhelming list). This means that the example is not clear enough to debug the above problem without further input.

Note - I've found that this is a deal breaker for me. Examples should work and here they do not. I am going to be switching to a different animation library.

Use TexturePacker or Shoebox, output format is JSON(hash) or JSON(pixi)., Though there are differences , sometimes you have manually look into pixi spritesheet sources and what output was produced by those tools.
If you think you'll find animation library that doesn't require from you knowledge of its sources and documentation, you'll be very disappointed.

Im sorry, I'm just very frustrated with your posts, i just read another one. I hate webpack and I dont know why people even think that it'll be smooth if they dont want to spend time to help us with making good configs and documentation on it. I mean, if I go here and ask "WHY IT ISNT WORKING IN SCALA.JS????" , how will you like that?

As a good example, @cursedcoder helped us a lot with pixi-spine to make the plugin working on every available build system including webpack.

I don't think it's a webpack issue - I've managed to import the Pixi library correctly, and import both the atlas and the image. It just doesn't work following the same format as the example posted online. Shrugs

Post complete example (with json and everything) and I'll show you how to debug it :)

Sure.
This is the website I'm working on. npm start -> navigate to blogs archive -> blog post 2.
Here is the project.
https://github.com/patientplatypus/professional_portfolio
The index.js file here is where I am working.
https://github.com/patientplatypus/professional_portfolio/tree/master/src/components/pages/blogs/blogtwo
Error is
Error: the frameId “mario_characters1_46.png” does not exist in the texture cache

There are two places to look:

PIXI.loader.resources['spritesheet'] shuld contain the list of parsed textures
use breakpoints somewhere in the https://github.com/pixijs/pixi.js/blob/dev/src/core/textures/Spritesheet.js , check how its parsing your stuff.

I'm going to sleep, I'll look tomorrow into your code if you still have that problem.

Good night.

Correct me if I am wrong @patientplatypus, but I think this may be the same as #4219? I'm going to close this one since I answered there, but if you have any more issues please let us know.
Thanks!

You may close this if you wish, but I still cannot get this to work. I've looked at your comments and while long, it doesn't seem to address the issue I had. I've moved on to other things I can be more productive in.

Then it seems like I don't fully understand what problem you are having. I've used webpack and pixi in the past effectively, so I'm pretty sure this is just a misunderstanding or misconfiguration. A repository that reproduces your problem would be a good way to move forward with helping you, that way I can look at your project layout and help you get it in a working state.

There is a repository that I linked to upthread. I'm sure there is a misunderstanding, but where it is or how to solve it I do not know.

OK, so here is how your configuration is loading the json/png resources for Blog 2.
It is actually inlining the image as a data-uri, and the json file is being loaded from disk,
parsed, and inserted into your source as an object.
This is because your config says to load images as base64-encoded data-uris (via the url-loader):
const assets = () => () => ({
  module: {
    rules: [
      { test: /\.(png|mov|m4v|jpe?g|svg|pdf|woff2?|gif|ttf|eot)$/, loader: 'url-loader?limit=8000' },
    ],
  },
})

And json is loaded by default as the object in v2 of webpack:

When no loader has been configured for a JSON file, webpack will automatically try to load the JSON file with the json-loader.

Ok. Now that we know that, we know that you don't need to use the loader to load your resources. They are being inlined by webpack for you.
Because of that, instead of loading these assets lets just use them!
// imports that will be resolved by webpack according to the config
import * as PIXI from 'pixi.js';
import littlemarioforwardwalkpng from '../../../../../public/mario_characters/littlemarioforwardwalk.png';
import littlemarioforwardwalkjson from '../../../../../public/mario_characters/littlemarioforwardwalk.json';

// boilerplate setup stuffs
var renderer = PIXI.autoDetectRenderer();
var stage = new PIXI.Container();

// create a base texture from the data-uri that webpack gives you
var baseTexture = PIXI.BaseTexture.fromImage(littlemarioforwardwalkpng);

// use the JS Object that webpack parsed from the json file to create a spritesheet
var spritesheet = new PIXI.Spritesheet(baseTexture, littlemarioforwardwalkjson);

// parse the object data and the base texture to create textures for each frame
spritesheet.parse(() => {
    // `spritesheet.textures` now has a texture for each frame, but in an object keyed
    // by the name of the frame. This transforms that object into an array of frames so
    // we can pass it directly into an animated sprite
    var textures = Object.keys(spritesheet.textures).map((t) => spritesheet.textures[t]);

    // create the animated sprite
    var animatedSprite = new PIXI.extras.AnimatedSprite(textures);

    // slow down the anim speed a bit, and play the animation
    animatedSprite.animationSpeed = 0.25;
    animatedSprite.play();

    // add it to the stage and render!
    stage.addChild(animatedSprite);
    animate();
});

function animate() {
  requestAnimationFrame(animate);
  renderer.render(stage);
}

Note that the spritesheet parsing I am doing here is very similar to what the loader's
middleware for handling spritesheets does: https://github.com/pixijs/pixi.js/blob/574174abbb432e16f98f7ce31708412aaed95f95/src/loaders/spritesheetParser.js#L35-L46
After these changes it animates as expected. Hopefully this helps explain what is going
on in your webpack config, and how you can integrate with PixiJS.

Thank you it now works.

:+1: thanks @englecj!

👍 for helping with webpack, again.

@englercj


Deprecate utils.escape/unescape

This moves utils.escape and utils.unescape implementations to _internal, renaming them to _escape and _unescape, respectively (escape and unescape are now importing these functions from _internal). Since utils.HTMLBuilder is used by unescape, I opted to move it to _internal along with the other two functions (not sure how to conciliate this with #1772 )
Fixes #1758

We can replace the calls to our deprecated function with html.escape, it's built-in since Python 3.4. Leaving the recommendation to only mention MarkupSafe, since that's much faster.


Set different color for develop branch (#523)

Has someone Hugo "extended" installed and can generate the SCSS files in this PR?


Expose binding pattern kind

Exposes binding pattern kind and updates the tests.

Thanks -- this seems reasonable, but I kinda wonder if we should rename it value_binding_pattern to match the grammar. I didn't really take as much care with the hidden names as with the exposed ones. What do you think?

Makes sense. Addressed

Thank you!


NoSuchFieldException: annotations

http://pastebin.com/tECj9vYQ

When I can download fix version?

Where I can download fix version?


[20.09] tomb: 2.7 -> 2.8.1

Motivation for this change
Fixes #106249.
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

The PR does not fit CONTRIBUTING.md - backported patches need to be cherry-picked from the master branch using git cherry-pick -x. That also means the PR to master needs to be merged first before doing a backport.

second attempt: https://github.com/NixOS/nixpkgs/pull/110769

second attempt: https://github.com/NixOS/nixpkgs/pull/110769


Include/exclude nodes

Story
As a user of Duffy,
I want to confine the set of nodes considered for my requests based on certain characteristics,
so that their peculiarities don't affect my work.
Acceptance Criteria
Users can limit the set of nodes considered for their requests…

[ ] by a host name pattern
[ ] …

Background
A user reported that their tests caused CPU lockups on nodes with Intel Xeon CPUs. See this pull request against the old code base: #25

With how we handle node pools (see PR #197), this is obsolete – API users request amounts of nodes from specific pools (which have certain properties but Duffy doesn't care).


New version introduced: DataLoader found invalid type: <class 'str'>

🐛 Bug
When using the torch_geometric DataLoader it can no longer handle strings in the data, because of the following code change: https://github.com/rusty1s/pytorch_geometric/commit/fc2c9d028e02f1621750e1574532c03d34d7c355#r53073008
To Reproduce
Steps to reproduce the behavior:

Create a dataset returning strings as elements.
Wrap it with the dataloader class.
Raises TypeError:

  File "~/.venv/lib/python3.6/site-packages/torch_geometric/data/dataloader.py", line 32, in collate
    raise TypeError('DataLoader found invalid type: {}'.format(type(elem)))
TypeError: DataLoader found invalid type: <class 'str'>

Expected behavior
I don't see any reason why this data type support was dropped, it worked in the past as expected.

That was indeed a mistake. Thanks for letting me know. I added it back in, see https://github.com/rusty1s/pytorch_geometric/commit/6442a6e287563b39dae9f5fcffc52cd780925f89.


No module named 'opencompass'

先决条件

[X] 我已经搜索过 问题 和 讨论 但未得到预期的帮助。
[X] 错误在 最新版本 中尚未被修复。

问题类型
我正在使用官方支持的任务/模型/数据集进行评估。
环境
pip install -e .
python tools/list_configs.py llama mmlu

重现问题 - 代码/配置示例
python 3.8.18
A100 40G
重现问题 - 命令或脚本
unzip data

pip install -e .
python tools/list_configs.py llama mmlu
重现问题 - 错误信息
No module named 'opencompass'

其他信息
i see it generate a new fold false  after execute 'pip install -e .',

but i do not understand

plz show the result of these commands
which python
which pip

@Leymore  python 3.8.18  pip 24.0

are python and pip under the same env? this can be shown via the which command.

Please make sure that you have successfully installed the OpenCompass in your current env.

sure,while i execute 'pip install .' i can find OpenCompass  in pip list,but when i  execute 'pip install -e  .' i can not find OpenCompass  in pip list, can i use 'pip install .' ？

are python and pip under the same env? this can be shown via the which command.
value of env PATH should also be checked.

i execute pip  --version  and   python --version to check the version,i  am sure  that  they under the same env

Please make sure that you have successfully installed the OpenCompass in your current env.

@tonysy  sorry，but how can i confirm i have successfully installed the OpenCompass

@hellostronger Install from source on main branch and try again

Feel free to re-open if needed.


Remove unconventional space after shebang

While allowed by most tools, it is very unconventional.

LGTM Thanks!


thanos store with aliyun oss,loading block failed parsing time error

run args
objstore.config-file: kubernetes configmap volume object
thanos
- store
- --log.level=debug
- --data-dir=/data/
- --objstore.config-file=/objstorage/objstorage.yaml
- --grpc-address=<IP_ADDRESS>:19914
- --index-cache-size=800MB
- --sync-block-duration=30m
- --http-address=<IP_ADDRESS>:19904
- --min-time=-2d
- --max-time=-1h
objstore with aliyun oss store object
run error

level=warn ts=2020-09-03T03:23:07.900958954Z caller=bucket.go:454 msg="loading block failed" elapsed=5.341856ms id=01EH70PS3RZTN1CNNMPE0NFBDD err="create index header reader: write index header: new index reader: get object attributes of 01EH70PS3RZTN1CNNMPE0NFBDD/index: parse Last-Modified: parsing time "Wed, 02 Sep 2020 09:00:41 GMT" as "2006-01-02T15:04:05Z07:00": cannot parse "Wed, 02 Sep 2020 09:00:41 GMT" as "2006""

fixed by SabaPing  https://github.com/thanos-io/thanos/pull/2916, you can use version larger than 0.15 :)

Hi @PGDream, as @hanjm mentioned, this has been fixed already. Can you please try the latest release? If this problem is still reproducible, please let us know


[WIP] Single source deck

Summary
Single sources every doc in the deck section.
Notes

This depends on this PR to handle versioning of reference files in Deck. https://github.com/Kong/deck/pull/685
The reference section in /src/ contains markdown files for every command line reference. These render from 1.12-1.7.
My suggestion is to change the go templating in Deck to generate docs that include the if_version syntax.
Some docs were different between versions but contained the same information. Usually laid out differently, or variables were changed. In those instances, the newer doc is generated.
Currently, all files to be removed are in a temporary directory. They should be deleted before this is merged.

problems:
The nav.yaml file for pre-1.7 breaks if you add instructions for single sourcing:
product: deck
release: pre-1.7.x
generate: true
items:

If you start at deck/1.11.x/guides/defaults/ and use the menu to change the version to 1.7 you get a 404 because the doc does not exist in that version.

Test
https://deploy-preview-3974--kongdocs.netlify.app/deck/
The biggest difference can be seen in the CLI reference

@Guaris I've fixed the issue with the index pages not rendering. I made some URL logic changes (/deck/latest/ is canonical rather than /deck/) which I avoided previously to reduce risk, but were required to make this work. I've tested and everything seems to be working.


Is "percentage-hits" calculated properly for SeqScreener?

For example, when screening for PhiX, the percentage-hits is reported as 0.25, but there are only 15 hits/ 5000000 reads (0.0003%).
"Program_details": {
    "program": "hts_SeqScreener",
    "version": "v1.3.2",
    "options": {
        "append-stats-file": "01-HTS_Preproc/mouse_110_WT_C/mouse_110_WT_C.json",
        "check-read-2": false,
        "force": false,
        "inverse": false,
        "kmer": 12,
        "notes": "screen phix",
        "percentage-hits": 0.25,
        "record": false,
        "uncompressed": false
    },
    "screen_info": {
        "screenBP": 5386,
        "lookupKmers": 5372
    }
},
"Fragment": {
    "in": 5000000,
    "out": 4999985,
    "basepairs_in":<PHONE_NUMBER>,
    "basepairs_out":<PHONE_NUMBER>
},
"Single_end": {
    "in": 0,
    "out": 0,
    "basepairs_in": 0,
    "basepairs_out": 0,
    "hits": 0
},
"Paired_end": {
    "in": 5000000,
    "out": 4999985,
    "hits": 15,
    "Read1": {
        "basepairs_in": 505000000,
        "basepairs_out": 504998485
    },
    "Read2": {
        "basepairs_in": 505000000,
        "basepairs_out": 504998485
    }
}

}

Never mind.. that is in the  "options": {} section...


[TACHYON-1428] Documented the tests of the tachyon.client.block package in preparation for the checkstyle rule

https://tachyon.atlassian.net/browse/TACHYON-1428

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Tachyon-Pull-Request-Builder/7488/
Test PASSed.

Thanks for the doc improvement. I left some comments.

@yupeng9 Thanks for the comments. I updated the PR accordingly.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Tachyon-Pull-Request-Builder/7511/
Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Tachyon-Pull-Request-Builder/7520/
Test PASSed.

Thanks! I left a few comments.

@gpang Thanks for the comments. I updated the PR accordingly.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Tachyon-Pull-Request-Builder/7543/
Test FAILed.

Jenkins, test this please.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Tachyon-Pull-Request-Builder/7545/
Test PASSed.

Please resolve merge conflicts. Thanks!

LGTM

@gpang Just resolved the merge conflict.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Tachyon-Pull-Request-Builder/7565/
Test PASSed.

LGTM

LGTM


right way to seed simulate() for reproducible results

From a bash script, I'm calling twice a python script where following line gets identically instantiated
hawkes_exp_kernels = SimuHawkesExpKernels(adjacency=adjacency, decays=1.,
                                          baseline=baseline, end_time=T,
                                          verbose=False, seed=np.random.seed(ID))

I end up getting simulations of (similar but) different length.
What's the right way to call hawkes_exp_kernels.simulate() with fixed seed in order to get reproducible simulations?

I think the seed needs to be a constant.
try seed=1337

thanks, this works


Data range

Can I create date field with options range, but only for current month?

Sorry, we solve our problem
jsfiddle.net/r5qpcsw0

Glad you found a solution. There is start and end date you can pass to w2field and then user cannot pick it. It will also validate it when user types date. See http://w2ui.com/web/docs/form/fields-date


cmd/go: go list ... with path checking is not vendor experiment-aware

Test case:
$ export GO15VENDOREXPERIMENT=1
$ cat $GOPATH/src/a/vendor/b/pkg.go
package b // import "b"
$ go list ...
can't load package: package a/vendor/b: code in directory $GOPATH/src/a/vendor/b expects import "b"

Is this a dupe of #12278?

Perhaps, but at first glance I don't think so.

I can't reproduce this with either Go 1.5 or current dev branch, using the directions given in the initial report.
Are you still seeing this problem? With the same test case?
Thanks.

Closing due to lack of response.

Can't reproduce under 1.5.2, so either my initial report was wrong or it got fixed.


32Bits Enter

I download the code to check if it was not me that I make a mistake but no the code is not correcte.
In the 32bit-main/gdt/print Idk but its not printing "Loaded 32-bit protected mode".
Can someone help me?

Sorry I was not attentive its a the top of the screen -_-
Someone can delete this?

well its closed so i prob wont get noticed, thats what closed means

Yeah Thanks

Hey @C0d0Type23  ca u check out my os? https://github.com/Menotdan/DripOS

Hi @Menotdan I check your DripOS an hour ago :D

@C0d0Type23 how dd u find it?
Also can u maybe run it? Ill add a new release right now

Ok I will check now

Disk Error 0x0C80

@C0d0Type23 use the -fda flag

okay

thx @C0d0Type23

can u link me that post?

Yes

Nice can you let me add you as friend?

whats ur username

hold on
https://discord.gg/E9ZXZWn

MrWillGamerQc#7749

there, a discussion server for the OS