Getting error "'Dataset' object has no attribute 'get'" when trying to fit model in Django app

Hi,
I have been trying to write a little Django module to:

read from a collection of Entity and Intent models
write a YAML write
create a snips dataset from this parsing model

I am currently completing steps 1 and 2 okay, but on step 3 the following error is occurring:
" File "/Users/kevindenny/Documents/snips-django/dj_snips/querybot/write_yaml.py", line 57, in make_nlu_model_yaml
nlu_engine = nlu_engine.fit(dataset, force_retrain=False)
File "/Users/kevindenny/Documents/snips-django/env/lib/python3.7/site-packages/snips_nlu/common/log_utils.py", line 30, in wrapped
res = fn(*args, **kwargs)
File "/Users/kevindenny/Documents/snips-django/env/lib/python3.7/site-packages/snips_nlu/nlu_engine/nlu_engine.py", line 94, in fit
dataset = validate_and_format_dataset(dataset)
File "/Users/kevindenny/Documents/snips-django/env/lib/python3.7/site-packages/snips_nlu/dataset/validation.py", line 32, in validate_and_format_dataset
if dataset.get(VALIDATED, False):
AttributeError: 'Dataset' object has no attribute 'get'
"
Any insight into this is greatly appreciated :)

Hi @kdenny,
The dataset you're trying to pass to your engine seems to be a Dataset object. Currently the Dataset object is just an helper class used to create a JSON/dictionary dataset from other formats (only YAML currently).
The dataset you pass to the engine must be a dictionary.
From YAML files you can either use the CLI to convert the YAML dataset into a JSON dataset or you can do it directly in Python converting the Dataset object into a dictionary using the (misleadingly named) Dataset.json property:

import io
from snips_nlu import SnipsNLUEngine
from snips_nlu.dataset import Dataset

dataset_path = "path/to_a/yaml_dataset.yml"
with io.open(dataset_path) as f:
    dataset = Dataset.from_yaml_files("en", [f])

nlu_engine = SnipsNLUEngine().fit(dataset.json)

Thanks @ClemDoum ! I had just figured this out on my own right before seeing this message.

Once #840 is merged and released, it will possible to directlty use a Dataset object to fit a SnipsNLUEngine.


Separate cloud and shadow masks in geomedian.

This is addressed in another PR as part of geomedian refactoring.


Add topic name into reader-sub-name

currently the sub name of each reader is named as "reader-xxxx", it not contains related info with this reader, and hard to identify. This change add the topicname into the sub-name

seems we could re-use . subscriptionRolePrefix in ReaderConfigurationData, will close this pr


Detect Bitcoin Core being compiled without wallet support

A couple of people have been tripped up by compiling Core with disabled wallet support (which is the default option).
It would be nice if Electrum Personal Server detected this and gave a helpful error message. It would appear because wallet-related RPC calls would give a "'method not found" not error. listunspent might be the easiest to use, it takes no arguments and never fails.

Same as #42


Indexer V2

Summary

RFCs: $\emptyset$
Categories:  protocol-units, networks

Updates and integrates Aptos indexer to v2 for gRPC stream.
Uses localnet setup to produce consumable TSS with node_config.indexer_grpc.use_data_service_interface = true;: https://github.com/aptos-labs/aptos-core/blob/235402ec1683faa8cbd5df098c634d071d2c3000/config/src/config/indexer_grpc_config.rs#L27
By default, the stream listens on <IP_ADDRESS>:30734.

Changelog

Bootstrapping for background tasks needed in gRPC service.
Updates to docker-compose.yml.
run_forever the gRPC service.

Testing

e2e tests.
Additional transaction stream test included.
Manual testing with `grpcui -plaintext localhost:30734.

Outstanding issues

Indexer processor not yet available.
Genesis and other system transactions still seem to be missing WriteTableItem.data.

grpcui <IP_ADDRESS>:30734 gives

Failed to dial target host "<IP_ADDRESS>:30734": dial tcp <IP_ADDRESS>:30734: connect: connection refused


Cards example doesn't work

The cards example doesn't work as written.  The imports are invalid.
They did work as this:
from webexteamssdk.models.cards.card import AdaptiveCard
from webexteamssdk.models.cards.inputs import Text, Toggle
from webexteamssdk.models.cards.components import TextBlock
from webexteamssdk.models.cards.actions import Submit
Edited to add: I should mention this is a reference to the readthedocs example of cards.  The card object import statements do not work as stated in those docs.
$ pip list
Package           Version
----------------- ----------
certifi           2<IP_ADDRESS>
chardet           3.0.4
click             7.1.1
future            0.18.2
idna              2.9
itsdangerous      1.1.0
Jinja2            2.11.1
MarkupSafe        1.1.1
mcrcon            0.6.0
pip               20.0.2
PyJWT             1.7.1
PyYAML            5.3.1
requests          2.23.0
requests-toolbelt 0.9.1
setuptools        46.1.3
urllib3           1.25.8
webexteamssdk     1.3
Werkzeug          1.0.1
wheel             0.34.2

$ python -V
Python 3.7.3

$ python
Python 3.7.3 (default, Mar 27 2019, 22:11:17)
[GCC 7.3.0] :: Anaconda, Inc. on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from webexteamssdk import WebexTeamsAPI
>>> from webexteamssdk.cards.card import AdaptiveCard
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'webexteamssdk.cards'
>>>

@acilate , I tried to import the cards the way you mentioned but I get this error:
    json_data = self._session.post(API_ENDPOINT, json=post_data)
  File "{Project Path}\lib\site-packages\webexteamssdk\restsession.py", line 401, in post
    **kwargs)
  File "{Project Path}\lib\site-packages\webexteamssdk\restsession.py", line 254, in request
    response = self._req_session.request(method, abs_url, **kwargs)
  File "{Project Path}\lib\site-packages\requests\sessions.py", line 516, in request
    prep = self.prepare_request(req)
  File "{Project Path}\lib\site-packages\requests\sessions.py", line 459, in prepare_request
    hooks=merge_hooks(request.hooks, self.hooks),
  File "{Project Path}\lib\site-packages\requests\models.py", line 317, in prepare
    self.prepare_body(data, files, json)
  File "{Project Path}\lib\site-packages\requests\models.py", line 467, in prepare_body
    body = complexjson.dumps(json)
  File "C:\Users\vasolank\AppData\Local\Programs\Python\Python36\lib\json\__init__.py", line 231, in dumps
    return _default_encoder.encode(obj)
  File "C:\Users\vasolank\AppData\Local\Programs\Python\Python36\lib\json\encoder.py", line 199, in encode
    chunks = self.iterencode(o, _one_shot=True)
  File "C:\Users\vasolank\AppData\Local\Programs\Python\Python36\lib\json\encoder.py", line 257, in iterencode
    return _iterencode(o, 0)
  File "C:\Users\vasolank\AppData\Local\Programs\Python\Python36\lib\json\encoder.py", line 180, in default
    o.__class__.__name__)
TypeError: Object of type 'AdaptiveCard' is not JSON serializable```

How did you work around that?

So, I think this is another bug, but I didn't want to take the time to report it :)
You cannot serialize that object for some reason and I couldn't figure it out.  For several issues like this one, I ended up just building a native python data object:
    attachment = [       {         "contentType": "application/vnd.microsoft.card.adaptive",         "content": {           "$schema": "http://adaptivecards.io/schemas/adaptive-card.json",           "type": "AdaptiveCard",           "version": "1.0",           "body": card_contents,           "actions": submit,         }       }     ]

alright, you might know about this already but checkout pyadaptivecards here.

I have found this works
text_block = TextBlock(text)
card = AdaptiveCard(body=[text_block])
attachment = {
            "contentType": "application/vnd.microsoft.card.adaptive",
            "content": card.to_dict(),
        }
api.messages.create(roomId=ROOM_ID, text=text, attachments=[attachment])```

Example doesn't work if you have a Submit action and provide "data" dictionary.  Get error that 'dict' object has no attribute 'to_dict'.  They claimed to have fixed this issue with pyadaptivecards, but it's not fixed.

Let's either:

Refactor the functionality of the adaptive card support in the webexteamssdk library to use pydantic.
Remove the functionality and refer people to the pyadaptive cards package.

...or you could refactor pyadaptivecards, and we can refer people to the library. 😎
@sQu4rks, what do you think?

@cmlccie this is the same as issue #107.
You can try the code by installing my development branch (pip3 install git+https://github.com/sQu4rks/webexteamssdk@issue-107) or wait until the PR gets merged and a new release gets pushed.

Released in v1.5 #124.


feat: allow to specify metadata using a defineMeta function

Todo:

hoist component out of the vue setup function
add ts support for defineMeta

@floroz any idea concerning the second point?
The generated code currently looks like
const _sfc_main = {
        setup(__props, { expose: __expose }) {
          __expose();
          const MyComponent = {};
          const __returned__ = { MyComponent };
          Object.defineProperty(__returned__, \\"__isScriptSetup\\", {
            enumerable: false,
            value: true,
          });
          return __returned__;
        },
      };
      export default {
        component: MyComponent,
        //decorators: [ ... ],
        parameters: {},
      };

So vue is encapsulating everything in the setup method, which is almost by design. The easiest way would be to simply not support defineMeta in script setup but only script.

@floroz any idea concerning the second point? The generated code currently looks like
const _sfc_main = {
        setup(__props, { expose: __expose }) {
          __expose();
          const MyComponent = {};
          const __returned__ = { MyComponent };
          Object.defineProperty(__returned__, \\"__isScriptSetup\\", {
            enumerable: false,
            value: true,
          });
          return __returned__;
        },
      };
      export default {
        component: MyComponent,
        //decorators: [ ... ],
        parameters: {},
      };

So vue is encapsulating everything in the setup method, which is almost by design. The easiest way would be to simply not support defineMeta in script setup but only script.

@tobiasdiez so we are unable to reference the parameters of defineMeta in the scope of the meta default export.
Supporting only script instead of script setup I assume would mean only being able to use the Options API instead of Composition in Vue SFC Story, which would probably defeat the purpose of this addon, since the main selling point is the DX for modern Vue syntax.
I will need some time to play around with the Vue compiler output to gain a better understanding as this seems quite a heavy roadblock to enable more advanced features...

I would compare this to export default in plain vue. In this case, you also need to use script instead of script setup. On the positive side, the following works and should cover most cases:
<script setup lang="ts">
  import Button from './Button.vue'
  defineMeta({
    title: 'Button',
    component: Button,
  })
  </script>

its just when you reference variables that you need to use plain script:
<script lang="ts">
  import Button from './Button.vue'
  const title = 'Button'
  defineMeta({
    title,
    component: Button,
  })
  </script>


Markdown preview - monospace font

Markdown preview does not have a setting for mono font.  It also does not pick up any changes to the editor.fontFamily setting.  My olds eyes prefer Roboto Mono.
Would be helpful, since a lot of markdown includes code snippets, etc...
Or, have I missed something?
Otherwise, thanks for the markdown support.
Ruby, Rails, & AWS-Ruby Docs

VSCode Version: 1.11.1
OS Version: Win7

Try using markdown.preview.fontFamily instead. It's a different setting since you often want a different font between the editor font and the preview font

@mjbvz Maybe I wasn't clear enough.  I said

Markdown preview does not have a setting for mono font

keyword being 'mono'...
The markdown.preview.fontFamily settings works fine.  But, it only affects the proportional font used in preview.  I was referring to the monospace font used in markdown preview.
Given that most of the markdown created by developers has code samples, it would be helpful if the markdown preview either had its own monospace font setting or used the (assumed to be monospaced) editor.fontFamily setting.
Understand?

Yes, it was not clear to me that you were referring the markdown preview's code font specifically. To set this currently, you can use your own css:
/* only for code blocks, not inline code */
pre code {
	font-family: "Comic Sans MS", cursive;
}

#18105 Tracks making the rendering of code blocks more consistent with the editor. I'm reluctant to add additional styling settings such as markdown.preview.codeFontFamily for the markdown preview except for very common use case. Custom CSS offers a far more flexible story for customizing the preview

@mjbvz Thank you for the info.  I have seen that doc in the link.  I'll read the whole thing this time...


360° Videos

is it possible to detect if youtube's 360 is supported by browser?

This isn't a specific browser web technology so will not be covered by caniuse.


Login failure with mobile number that register from 美的家居(ios version ,CN,mainland China)

Describe Your Problem:
I have login in 美的家居( look like MSMarthome version in China) and the air condition can be control via APP.
But I could NOT fetch the token in plugin with mobile number and correct password ,log as below.
Logs:
Show the Homebridge logs here, remove any sensitive information.

Error: Error  in Adding new accessory:
Error: Failed to get login ID:
Error: Error while sending request to https://mp-prod.appsmb.com/mas/v5/app/proxy?alias=/v1/user/login/id/get: Error: Error response from API: {"code":"3004","msg":"value is illegal."}
Plugin Config:
Show your Homebridge config.json here, remove any sensitive information.

Screenshots:

Attach the lua file, if you think it's needed:

Environment:

Plugin Version: 1.2.2
Homebridge Version:
Node.js Version:
NPM Version:
Operating System:

fixed
also support 美的家居 with phone number

What was the solution?
sorry,I do not confirm how to fix the issue.
I just click the fetch device button multi  times and the disable/enable the Use default Midea SmartHome profile button.


[WIP]right_sidebar: Open user popover on clicking name in userlist

This changes the behavior of clicking a Username on the Right sidebar from narrowing to "PMs with that user" to "User info Popover".
As chevron in username list is redundant so it is removed.
There may be some code refactoring which I'll do on the finalization of behavior.
Fixes: #7237

@shubhamdhama is this ready for review?

If everyone is satisfied with this behavior then it's ready to be reviewed.
Here is the gif what it does as of now:

@brockwhittaker @rishig can you play with this and let me know what you think?

This looks great, except that I think the interaction with the "USERS" filter feature seems like something we should think about -- after filtering there and hitting Enter, I'm not sure what users will want.  Test-deploying to chat.zulip.org for feedback.

After test-deploying this, it feels like this experiment didn't work out.  Closing this, thanks for your efforts @shubhamdhama!  @rishig do you think there's a version of this we should try next?

I think just moving the chevron to the left side (and replacing it with 3 vertical dots or something similarly skinny) could solve most of the issue. Though probably not pursuing till we have more people thinking about design.

Another possibility I was thinking to have,
When we hove over any name the green(presence) icon grows in size(little) and change in color accordingly(like slight dark green) to show there is something to click. And when we click on presence icon it opens popover.
And similar for streams, but the downside of such approach is that it will not be that much intuitive as our current arrow.

That's a pretty good idea, and would work well once we add things like "last seen" info to the popover.
Possibly will also be easier once we loosen up the line spacing on the right sidebar.

Actually, we already have the last active info, from https://chat.zulip.org/#organization/user-list-admin. Might be a reasonable feature to add that to the popover, independent of other changes :).

@rishig We already have last active info in popovers, when you hover over presence icon, is this what you're referring?

Oh, interesting. yeah, I would move that to be a top level thing (not hidden in title text), and make it more specific, like "24 minutes ago", if we have that information? E.g. we show "last seen just now" even for people who are orange.

I guess we do have that type of information(not sure how reliable it is), simply presence.presence_info in console shows all presence information of all user.

cool. If Tim signs off on it, I think this could be a pretty valuable feature, independent of the rest of the discussion here.
I'm imagining we can just add a line above or below the Local time line. Maybe it can look like
test123
<EMAIL_ADDRESS>Local time: 2:04 am
Last active: 3 hours ago

For displaying the times, I'm imagining something like < 1 minute ago, 1 minute ago, .., 59 minutes ago, 1 hour ago, 2 hours ago, .., 8 hours ago, earlier today, yesterday, 2 days ago, 3 days ago, .. 6 days ago, 1 week ago, 2 weeks ago, .. similarly for months and years.
And possibly on hover show the actual time.
We can also move this discussion to czo, if the basic idea seems reasonable.


Cursive prints garbage on non-utf8 locale

Currently cursive uses utf8 to print dialog borders. This means when running with non-unicode locale, it prints garbage.
Ncurses should be able to print the correct characters no matter the locale (nmtui for instance works with any locale). Not sure how to do it though...

Ncurses has the ACS commands to get these "extended" characters for every encoding (doing some detection magic). [0] [1]
Getting these characters is probably more difficult for other backends, I don't know.

I was using the ACS commands initially, but it wasn't working great (in retrospect, it may have been because of ncurses's type mismatch that got fixed since).
Now, supporting the different backends is the main difficulty with this approach.
One solution would be to move the box-drawing behaviour to the backend interface. It's not as clean as I'd like, but it's not that bad either, so it could be an option.
An alternative would be to do the magic part independently of ncurses, and applying the result to any backend.

Doing the magic independently from the backend would be nice but the ncurses magic seems to be quite complex [0] [1] and dependent on low-level stuff.

The sample code is Tutorial 2/3 demonstrates the problem.
Running the Tutorial 2/3 code in a PuTTY (Release 0.73 Build platform: 64-bit x86 Windows) shell from Windows using these Translation settings:

produces in the top window of the tmux session:

Note: the bottom tmux window demonstrates that PuTTY and ncurses can work together.  The code running in the bottom window is:
ncurses
then "f" - "Display ACS characters"
from the project "ncurses-examples"
at https://invisible-island.net/ncurses/ncurses-examples.html
Here's a screenshot of the same code running through an ssh connection from another Gentoo Linux laptop:

It turns out I did not have a locale specified on my machine (ares).  In Gentoo, the available locales are listed in /etc/local.gen.  Here was my version during the time I had the garbled characters:
ares /home/jlpoole # cat /etc/locale.gen
# /etc/locale.gen: list all of the locales you want to have on your system.
# See the locale.gen(5) man page for more details.
#
# The format of each line:
# <locale name> <charset>
#
# Where <locale name> starts with a name as found in /usr/share/i18n/locales/.
# It must be unique in the file as it is used as the key to locale variables.
# For non-default encodings, the <charset> is typically appended.
#
# Where <charset> is a charset located in /usr/share/i18n/charmaps/ (sans any
# suffix like ".gz").
#
# All blank lines and lines starting with # are ignored.
#
# For the default list of supported combinations, see the file:
# /usr/share/i18n/SUPPORTED
#
# Whenever glibc is emerged, the locales listed here will be automatically
# rebuilt for you.  After updating this file, you can simply run `locale-gen`
# yourself instead of re-emerging glibc.

#en_US ISO-8859-1
#en_US.UTF-8 UTF-8
#ja_JP.EUC-JP EUC-JP
#ja_JP.UTF-8 UTF-8
#ja_JP EUC-JP
#en_HK ISO-8859-1
#en_PH ISO-8859-1
#de_DE ISO-8859-1
#de_DE@euro ISO-8859-15
#es_MX ISO-8859-1
#fa_IR UTF-8
#fr_FR ISO-8859-1
#fr_FR@euro ISO-8859-15
#it_IT ISO-8859-1
ares /home/jlpoole #

I did not have any activated.  So I un-rem'd en_US.UTF-8 UTF-8 and then ran  locale-gen as specified in the header of /etc/locale.gen.  Then, in Gentoo, you have to select an available locale, so
I listed the choices:
ares /home/jlpoole # eselect locale list
Available targets for the LANG variable:
  [1]   C
  [2]   C.utf8
  [3]   POSIX
  [4]   en_US.utf8
  [ ]   (free form)
ares /home/jlpoole #

Then I select en_US.utf8:
 ares /home/jlpoole # eselect locale set 4
 Setting LANG to en_US.utf8 ...
 Run ". /etc/profile" to update the variable in your shell.
 ares /home/jlpoole #

Then in the shell(s) I run . /etc/profile and then I reran the sample with the following almost successful results.  I say "almost successful" because the box characters are not properly mapping, but at least now the interface is readable.

Here are the results for other locale setting, just for reference:

Thanks for the investigation!
ncurses has some special logic to handle these ACS characters on non-UTF8 locale. This is non-trivial though, and it was decided for now to simply not support non-UTF8 locales in cursive.
To double-check that eselect and others worked fine, you can run locale -a to see what locales are available, and locale to see which one is activated.
Regarding PuTTY itself, it should be properly supported: I just tried to connect to a server of mine:

$ locale
LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE=C
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES=
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=

Though I did not enable VT100 line drawing:

(That being said it still works fine for me even with this option enabled.)
Can your PuTTy display the UTF8 characters themselves? I just added a doc/test.txt you can try to print in the terminal, to see if the box is at least printed correctly.

In addition, can you try the crossterm or termion backend to see if it works better?

I'm trying to use cursive in stage-1 of an OS's boot phase at a Linux console. It caused all the ~T~@ issues, so I patched out the special characters for my own use: https://github.com/grahamc/cursive/commit/7c3f31103201cd1e7a4c77ba323758800abf7882


Specter.ice_connection_state/2

This is awesome! I'll probably merge this as-is, but wondered if you had any thoughts about long-term management of atoms.
I know there's a way to define an enum to automatically encode to atoms, but because this enum doesn't belong to Specter I'm guessing we can't do that. I was considering shadowing the webrtc.rs enums and implementing the From trait... that would move some of this code out of the receive loop, but I can't decide if it's better or worse.

Looks like there's a @doc instead of a @typedoc. I'll be at a computer later today and can fix that if you can't get to it first.

...I might have gotten it from my phone. Anyways, let me know what you think about the enum idea!

Take a look at #2. I'm going to read up on it a little more, but think that might be a good way to handle things like this.

Wow, that was really quick. I was going to improve the code a little bit but I wanted to create PR to let you know I started implementing a new function so that we don't duplicate code :smiley:

That sounds great. Yeah, I probably won't be able to add much until the middle of next week, so chances are you'll get there ahead of me.
One note is that I was considering putting the other crate peer connection enums into peer_connection/peer_conn_state.rs.


Error: Couldn't find preset "es2015"

Hello to all, I'm following the readme and after cloning when I run npm install I have the error:
✔ ~/meteor/meteor-up [master|✔]
17:44 $ npm install

><EMAIL_ADDRESS>prepublish /home/user/meteor/meteor-up
> nofat make

/home/user/meteor/meteor-up/node_modules/nofat/tasks/make/index.js:45
        throw err;
        ^

Error: Couldn't find preset "stage-3" relative to directory "/home/user/meteor/meteor-up/src"
    at /home/user/meteor/meteor-up/node_modules/nofat/node_modules/babel-core/lib/transformation/file/options/option-manager.js:395:17
    at Array.map (native)
    at OptionManager.resolvePresets (/home/user/meteor/meteor-up/node_modules/nofat/node_modules/babel-core/lib/transformation/file/options/option-manager.js:387:20)
    at OptionManager.mergePresets (/home/user/meteor/meteor-up/node_modules/nofat/node_modules/babel-core/lib/transformation/file/options/option-manager.js:370:10)
    at OptionManager.mergeOptions (/home/user/meteor/meteor-up/node_modules/nofat/node_modules/babel-core/lib/transformation/file/options/option-manager.js:330:14)
    at OptionManager.init (/home/user/meteor/meteor-up/node_modules/nofat/node_modules/babel-core/lib/transformation/file/options/option-manager.js:488:10)
    at File.initOptions (/home/user/meteor/meteor-up/node_modules/nofat/node_modules/babel-core/lib/transformation/file/index.js:223:65)
    at new File (/home/user/meteor/meteor-up/node_modules/nofat/node_modules/babel-core/lib/transformation/file/index.js:140:24)
    at Pipeline.transform (/home/user/meteor/meteor-up/node_modules/nofat/node_modules/babel-core/lib/transformation/pipeline.js:46:16)
    at /home/user/meteor/meteor-up/node_modules/nofat/node_modules/babel-core/lib/api/node.js:126:18

npm ERR! Linux 3.16.0-71-generic
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install"
npm ERR! node v4.4.4
npm ERR! npm  v2.15.1
npm ERR! code ELIFECYCLE
npm ERR<EMAIL_ADDRESS>prepublish: `nofat make`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>prepublish script 'nofat make'.
npm ERR! This is most likely a problem with the mup package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     nofat make
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs mup
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!
npm ERR!     npm owner ls mup
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /home/user/meteor/meteor-up/npm-debug.log

Here there is the npm-debug.log.zip
Am I missing something?

Here: https://github.com/kadirahq/meteor-up/issues/98#issuecomment-224679540

I've updated to npm3 (nodejs 6.2.1), as @madushan1000 said in #98, and npm install presents 2 warnings but works:
npm WARN deprecated<EMAIL_ADDRESS>graceful-fs v3.0.0 and before will fail on node releases >= v7.0. Please update to<EMAIL_ADDRESS>as soon as possible. Use
 'npm ls graceful-fs' to find it in the tree.
npm WARN deprecated<EMAIL_ADDRESS>Jade has been renamed to pug, please install the latest version of pug instead of jade

Than npm link not works at first but running with sudo solved it.
Every mup command has this line as output, hope is not a problem:
(node:1398) fs: re-evaluating native module sources is not supported. If you are using the graceful-fs module, please update it to a more recent version.

Anyway mup deploy fails with this output:
(node:1996) fs: re-evaluating native module sources is not supported. If you are using the graceful-fs module, please update it to a more recent version.
Building App Bundle Locally
[BABEL] Note: The code generator has deoptimised the styling of "/client/scripts/lib/pdfmake.min.js" as it exceeds the max of "100KB".
[BABEL] Note: The code generator has deoptimised the styling of "/client/scripts/lib/vfs_fonts.js" as it exceeds the max of "100KB".
Error If encoding is specified then the first argument must be a string

Now I'll try with @maruns steps, as said by @ayushchd, and let you know...

Sadly no success, with @maruns steps the behaviour is the the same.
I've also tried to follow @maruns steps with the LTS version of node (actually 4.4.5) and the result is the one I've pasted in the first comment...

I think these two lines are coming from the meteor build command we use under the hood to build the meteor bundle.
[BABEL] Note: The code generator has deoptimised the styling of "/client/scripts/lib/pdfmake.min.js" as it exceeds the max of "100KB".
[BABEL] Note: The code generator has deoptimised the styling of "/client/scripts/lib/vfs_fonts.js" as it exceeds the max of "100KB".
Error If encoding is specified then the first argument must be a string

Updating Meteor from 1.2.1 to <IP_ADDRESS> make it works.
Thank you for the support.
PS: I was stuck on 1.2.1 due to a library and npm compatibility, now it's time to solve that if I want to use this mup version, but that's another story.... ;)

Worked for me by
npm install --save-dev npm install babel-cli babel-preset-es2015 babel-preset-stage-3


Override verbatim reactions file path

With this PR, the full path to the reactions_verbatim.dat file is set in libkrome.{so,dylib} such that it is not necessary to call install_reactions_verbatim anymore.

Pull Request Test Coverage Report for Build 655556065

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+10.0%) to 100.0%

Totals

Change from base Build 654974520:
10.0%

Covered Lines:
2

Relevant Lines:
2

💛  - Coveralls

Pull Request Test Coverage Report for Build 655556065

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+10.0%) to 100.0%

Totals

Change from base Build 654974520:
10.0%

Covered Lines:
2

Relevant Lines:
2

💛  - Coveralls

@mweislev @Cczernik Please note that in the example files I only removed the part where the directory is changed, since this is not necessary anymore as the verbatim reactions file is now automatically loaded from the correct location. The remaining changes are only because of a dedent.


Small enhancements of the frontend

What's done:

Fixing AwesomeBenchmarks filtering
Changing CSS to fix buttons z-index alignment
New loader
Particles
New animation and react libraries + styles

Also make ProjectScoreCards clickable (link to Project) in OrganizationView pls


Use ajax-selects on Foreign Key Relationships

https://github.com/crucialfelix/django-ajax-selects
To avoid having a large (and not sortable) dropdown for foreign key relationships in django admin

closed by #297


remove outputDir prefixing

remove /components/ prefix directory.
Breaking change, so bumped version number.

One last comment, because we added a new feature I would bump the minor version

One last comment, because we added a new feature I would bump the minor version

Bumped


Switch to other CI solution

We are hitting the travis free limit as we are part of a large OSS organization.  See http://stackoverflow.com/a/29752274/873282 for a longer explanation and https://dev.eclipse.org/mhonarc/lists/cross-project-issues-dev/msg14306.html.
The idea is to switch to CircleCI 2.0

For Winery, we are currently switching to JIPP. See https://bugs.eclipse.org/bugs/show_bug.cgi?id=520862
For checking the consistency of the repository, we are using CircleCI. See https://github.com/winery/test-repository/blob/black/.circleci/config.yml

We tried to switch to CircleCI, but it did not work out (because of rights issues - see https://github.com/eclipse/winery/pull/279).
Eclipse said to increase limits at TravisCI.
Getting JIPP running is tracked at https://github.com/koppor/heuhaufen/issues/191.
So, this issue can be closed.


Combination of certain sites of elements is not support in SUMO?

Let say the structure is
site / element
1 / A
2 / A
3 / B
4 / B
5 / C
6 / C
Could I extract figure and data as divided two parts: sum(A.1,B.3,C.5) & sum(A.2,B.4,C.6) on the command line? Or, should I create my own script manually?

We've discussed this idea in the past and basically we would need to

develop a domain-specific language for users to express the combination they want
automatically convert it to the appropriate summing logic
implement shorthand special-cases for all the "everyday" options

So it would be good to do but is quite a bit of work to do well. We're interested but it won't happen soon :-( I think your best bet is to run dosplot using something like --atoms A.1,B.1,C.1, copy the .dat files to another name, re-run dosplot with --atoms A.2,B.2,C.2, and then make your own plot summing data from the .dat files.

On your answer, 3 / B, 4 / B, 5 / C, and 6 / C correspond to B.1, B.2, C.1, C.2, respectively.
What about using either '{}', '[]', or '<>' ?
Also, I suggest the range of sites, e.g., 1-5 is same as 1, 2, 3, 4, and 5 because someone might consider large structures (~100 atoms)

Yes, I think the counting restarts at one for each element type.
If you are comfortable working with the Pymatgen objects then you might as well write a script that uses Pymatgen directly to get a pymatgen.electronic_structure.dos you are happy with. In principle you could feed this back into a sumo.plotting.dos_plotter.SDOSPlotter to benefit from some of Sumo's effort on plotting outputs.
Most of those brackets have special meanings in Bash which would be likely to trip up users. Certainly ranges should be supported. The challenge is to enable selection, grouping, splitting and plotting over multiple axes by any combination of atoms, elements, orbital and spin in notation that is concise, legible and unambiguous. It's not a simple problem, but it beats what we have done so far which is to individually code logic for all the arrangements that we encountered routinely.

I did change some codes in dosplot.py and dos.py to create my summation of elements
And fed pdos to SDOSPlotter and spit out some results, though therein only total dos information.
This is my command line
sumo-dosplot --bundle-atoms Mo.1,S.1_2/Mo.2,S.3_4
'_' indicates the range of sites
'/' means a partition
Below are some parts that I changed. Sorry for a messy organization.
In dosplot.py
    if code.lower() == 'vasp':
        if not filename:
            if os.path.exists('vasprun.xml'):
                filename = 'vasprun.xml'
            elif os.path.exists('vasprun.xml.gz'):
                filename = 'vasprun.xml.gz'
            else:
                logging.error('ERROR: No vasprun.xml found!')
                sys.exit()

        dos, pdos = load_dos(filename, bundle_atoms, gaussian,
                             total_only)

def _bundle_atoms(bundle_atoms_string):
    list_atoms = []
    for bundle in bundle_atoms_string.split('/'):
        atoms = {}
        for split in bundle.split(','):
            sites = split.split('.')
            el = sites.pop(0)
            for i, s in list(enumerate(sites)):
                if '_' in s:
                    start, before_end = tuple(map(int, s.split('_')))
                    sites.pop(i)
                    sites.extend(range(start, before_end + 1))
            sites = sorted(list(map(int, sites)))
            atoms[el] = np.array(sites) - 1
        list_atoms.append(atoms)
    print(list_atoms)

def _get_parser():
    ...
    parser.add_argument('-a', '--bundle-atoms', type=_bundle_atoms, metavar='A',
                        help=('atoms to include (e.g. "Mo.1,S.1_2/Mo.2,S.3_4")'))
    ...

In dos.py
def load_dos(vasprun, bundle_atoms=None,
             gaussian=None, total_only=False, log=False,
             adjust_fermi=True):

    if isinstance(vasprun, str):
        vr = Vasprun(vasprun)
    else:
        vr = vasprun

    band = vr.get_band_structure()
    dos = vr.complete_dos

    if band.is_metal():
        if log:
            logging.info('System is metallic')
        zero_point = vr.efermi
    else:
        if log:
            logging.info('Band gap: {:.3f}'.
                         format(band.get_band_gap()['energy']))
            logging.info('DOS band gap: {:.3f}'.format(dos.get_gap()))
        zero_point = band.get_vbm()['energy']

    if adjust_fermi:
        dos.efermi -= dos.efermi - zero_point

    if vr.parameters['ISMEAR'] in [-1, 0, 1]:
        dos.energies -= vr.parameters['SIGMA']

    if gaussian:
        dos.densities = dos.get_smeared_densities(gaussian)
        for site in dos.pdos:
            for orbital in dos.pdos[site]:
                dos.pdos[site][orbital] = dos.get_site_orbital_dos(
                    site, orbital).get_smeared_densities(gaussian)

    if vr.parameters['LSORBIT']:
        # pymatgen includes the spin down channel for SOC calculations, even
        # though there is no density here. We remove this channel so the
        # plotting is easier later on.
        del dos.densities[Spin.down]
        for site in dos.pdos:
            for orbital in dos.pdos[site]:
                del dos.pdos[site][orbital][Spin.down]

    pdos = {}
    if not total_only:
        pdos = get_nk_pdos(dos, bundle_atoms=bundle_atoms)
    return dos, pdos

def get_nk_pdos(dos, bundle_atoms=None):
    from collections import defaultdict
    from functools import reduce

    from pymatgen.electronic_structure.dos import Dos, add_densities

    d = defaultdict(lambda : np.arange(0))
    for s in dos.structure.sites:
        d[s.specie] = np.append(d[s.specie], s)

    pdos = defaultdict(dict)
    for i, bundle in enumerate(bundle_atoms):
        bundle_densities = []
        for el, sites in bundle.items():
            map_densities = map(lambda s: dos.get_site_dos(s).densities,
                                d[get_el_sp(el)][sites])
            bundle_densities.extend(map_densities)
        densities = reduce(add_densities, bundle_densities)
        bundle_dos = Dos(dos.efermi, dos.energies, densities)
        info = ', '.join('{}-{}'.format(el, sites)
                         for el, sites in bundle.items())
        pdos['sum ' + str(i)][info] = bundle_dos
    return pdos

I'm less familiar with the orbital projected band structures and I know there are some challenges there. @utf may be able to advise on a workaround for your specific goal.
Your changes to dosplot look to be along the right general lines, but I would prefer not to bring them into Sumo until we are able to dedicate a bit more time to the problem. For now I suggest you work with these modifications that suit your needs. You may find it helpful to maintain your own fork of Sumo so you can merge in other updates while keeping these changes?
I appreciate this contribution and it seems to be a good start on the syntax problem.

Thank you. I think it can be closed.

Hope to be added


Error when trying to upload multiple files (ASP.Net core)

Trying to upload multiple images to my S3 bucket. When i try to upload a single small image file (~10kB) the code works with no errors.... I am using the last version of the SDK
*Notes:
-No problems using Cloudberry to upload multiple files
-Sometimes the error does not occur, the upload is sucessfull. Then out of nowwhere it starts bugging again for some hours, the it works again for some time, then it bugs again for some time, and on and on...
The error is:
[Error] Error on StoreUploadedFiles
System.IO.IOException: The write operation failed, see inner exception. ---> System.Net.Http.WinHttpException: The connection with the server was terminated abnormally
   --- End of inner exception stack trace ---
   at Amazon.Runtime.HttpWebRequestMessage.<GetResponseAsync>d__20.MoveNext()

The code is (something like):
foreach (var file in files){
    var request = new PutObjectRequest
    {
        BucketName = DefaultBucketName,
        Key = relativePath,
        InputStream = file.OpenReadStream(),
        AutoCloseStream = true,
        ContentType = file.ContentType,
        CannedACL = S3CannedACL.PublicRead
    };
    var result = await _amazonS3.PutObjectAsync(request);
}

Can you provide the full exception trace?
How large are the items when the error occurs?

The files have an average size of 2mB. Sometimes I will try to upload 10+ at once.
 Then eventually it start to work again, (1-2hours after)
Cloudberry doesn't get affected.
here it is:
2017-03-09 18:55:03.290 +00:00 [Error] Error on StoreUploadedFiles
System.IO.IOException: The write operation failed, see inner exception. ---> System.Net.Http.WinHttpException: The connection with the server was terminated abnormally
--- End of inner exception stack trace ---
at Amazon.Runtime.HttpWebRequestMessage.d__20.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Amazon.Runtime.Internal.HttpHandler1.<InvokeAsync>d__91.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Amazon.Runtime.Internal.RedirectHandler.d__11.MoveNext() --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at Amazon.Runtime.Internal.Unmarshaller.<InvokeAsync>d__31.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Amazon.S3.Internal.AmazonS3ResponseHandler.d__11.MoveNext() --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at Amazon.Runtime.Internal.ErrorHandler.<InvokeAsync>d__51.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Amazon.Runtime.Internal.CallbackHandler.d__91.MoveNext() --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at Amazon.Runtime.Internal.CredentialsRetriever.<InvokeAsync>d__71.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Amazon.Runtime.Internal.RetryHandler.d__101.MoveNext() --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at Amazon.Runtime.Internal.RetryHandler.<InvokeAsync>d__101.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Amazon.Runtime.Internal.CallbackHandler.d__91.MoveNext() --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at Amazon.Runtime.Internal.CallbackHandler.<InvokeAsync>d__91.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Amazon.S3.Internal.AmazonS3ExceptionHandler.d__11.MoveNext() --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at Amazon.Runtime.Internal.ErrorCallbackHandler.<InvokeAsync>d__51.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Amazon.Runtime.Internal.MetricsHandler.d__11.MoveNext() --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at MYPROJECT.Services.AWSFileSystemManager.<StoreUploadedFiles>d__4.MoveNext() in C:\Users\DEV1\Documents\GitHubPrivate\MYPROJECT_ASP\MYPROJECT\src\MYPROJECT\Services\FileSystemFacade.cs:line 80 --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at MYPROJECT.Services.PropertyFileManager.<StoreUploadedFiles>d__7.MoveNext() in C:\Users\DEV1\Documents\GitHubPrivate\MYPROJECT_ASP\MYPROJECT\src\MYPROJECT\Services\PropertyFileManager.cs:line 122    at Amazon.Runtime.Internal.ErrorCallbackHandler.<InvokeAsync>d__51.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Amazon.Runtime.Internal.MetricsHandler.d__1`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---

What OS are you running this on?
It seems that this may be an issue with Windows 10 - https://github.com/dotnet/corefx/issues/4934

AMI ID: Windows_Server-2016-English-Full-Base-2016.12.14 (ami-45e3ec52)

Did you find the problem? I am experiencing the same issue

I also experience the same issue on AWS EC2, Windows SErver 2012 Eng, with .NET Core 2.0 Console App.

@guitarrapc running the  .NET Core 2.0 Console App on linux this won't happen, I would like this to be fixed or get a workaround to get my apps working on windows but at least this does not happens on linux

Nice information ferflores! I'm testing several scenarios and found issue would not happen with Win10 Local desktop with a huge number of S3 operation but may happen on EC2.
Scenario summary :

instance type : i2.xlarge
over 300,000 file operation to S3 with .NET SDK async/await.
CPU would go to 100% for all cores. (4 cores)
Plenty of Memory free.
Network resource would be over 200MiB during Op.
Disk Read will be fully occupied by Op.

An exception seems happens when EC2's status check was failed, maybe S3 operation exhausted instance resource. Now I'm try throttling operation for both EC2 and S3. Let's say I believe the issue would not happen on Win2012 R2 w/.NET Core 2.0, stay tuned for final result;)

Here have same problem, with EC2, Windows Server 2012, using .NET Core 1.1 Interfaces API and running IIS 10.0.
@ferflores working fine on linux, atm?

@eduardobarbiero yes it is working fine on linux using the default linux ami of AWS

@ferflores I had success using Windows Server 2016/2012 and IIS 8.5 and 10.0.
I added the environment variables in IIS to "system.webServer/aspNetCore", "AWS_ACCESS_KEY_ID", "AWS_REGION" and "AWS_SECRET_ACCESS_KEY"
Thanks all!

Seems like the root problem is in the Windows' WinHTTP.  Since there's a work around and there's nothing SDK team can do to address this, I'll close it.  Please open a new issue if there's something we can address in the SDK.

Sorry to pull up an old issue but I am experiencing this issue. Can someone give me more info on the fix please?
I am seeing this on both my local Windows 10 env and ec2 instance with server 2016 DC. Dotnet core 2 web api.

@sstevenkang could you outline what the workaround is?

From the comment thread above it seems like some customers had success patching or spinning up the latest windows 2016 instance.
I would be cautious of conflating the problem you are having with the original problem of this issue based on the specific excecption thrown.


task: Add logic in API to upload Policies and retrieve by gitoid

While Archivista API receives a JSON body with a DSSE envelope, it can verify and add if it is a policy.
The Policy can be identified by the PaylodType as described in Archivista Policy Schema (https://witness.testifysec.com/policy). It doesn't conflict with [ITE-5]
(https://github.com/in-toto/ITE/blob/master/ITE/5/README.adoc#pseudocode-for-in-totos-reference-implementation).
The Policy can be retrieved by the API (/v1/download/<gitoid>)
Parent feature:

#158

Closed by #234


Rate of change test no fail threshold

More of a query. Why is it that ioos_qc.qartod.spike_test takes both a fail threshold and suspect threshold, while ioos_qc.qartod.rate_of_change_test takes only threshold, which flags data as suspect?

I believe that is specified in the QARTOD manuals. My guess is that rate_of_change_test is complicated and can lead to many false positives, while a spike_test is almost a confirmation of the rate_of_change_test failure.


Support for AggregateFunction under AMT

CREATE TABLE test_db.shard_table on cluster default
(
    `cmo_id` String,
    `year` UInt16,
    `code` LowCardinality(String),
    `clp_id` AggregateFunction(uniq, Int64),
    `plp_id` AggregateFunction(uniq, Int64)
)
ENGINE = AggregatingMergeTree
PARTITION BY year
ORDER BY (code, cmo_id, year)
SETTINGS index_granularity = 8192

Hi @jayvynl any method to define above table definition as a unmanaged model using the package?

Usually you don't want to use AggregationMergeTree directly. Create a view which group by the AMT, create unmanaged model of the view.

Yes, I did that but I am getting below error while accessing it
django.db.utils.OperationalError: Code: 50. Unknown type AggregateFunction(uniq, Int64)
I have defined the model as below but unable to access objects
class TestMV(models.ClickhouseModel):
    id = StringField(primary_key=True)
    cmo_id = StringField(blank=True, null=True)
    code = StringField(blank=True, null=True)
    plp_agg = StringField(blank=True, null=True)
    clp_agg = StringField(blank=True, null=True)
    roll_up_date = StringField(blank=True, null=True)
    parent_id = StringField(blank=True, null=True)
    code_level = IntegerField()

    class Meta:
        managed = False
        db_table = 'test_data'

plp_agg and clp_agg are of type AggregateFunction(uniq, Int64)
Can you please check this on priority @jayvynl

CREATE  VIEW test_db.data_view on cluster default AS (
SELECT
`cmo_id`, `year`, `code`,
uniq(`clp_id`), uniq(`plp_id`)
FROM test_db.shard_table
GROUP BY `cmo_id`, `year`, `code`
 )

Create unmanaged table map to this view.


added workaround for NPE in FullTextParser

workaround for https://github.com/kermitt2/grobid/issues/676
see also https://github.com/kermitt2/grobid/pull/677
part of https://github.com/elifesciences/sciencebeam-issues/issues/58

looks like it passed Travis CI build: https://travis-ci.org/github/elifesciences/grobid/builds/745609845


node error when running npm run dev

It throws this error:
><EMAIL_ADDRESS>dev /home/matt/DeepReader
> node build/dev-server.js

/home/matt/DeepReader/build/dev-server.js:32
  log: () => {}
        ^
SyntaxError: Unexpected token )
    at Module._compile (module.js:439:25)
    at Object.Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Function.Module.runMain (module.js:497:10)
    at startup (node.js:119:16)
    at node.js:902:3
npm ERR! weird error 8
npm WARN This failure might be due to the use of legacy binary "node"
npm WARN For further explanations, please read
/usr/share/doc/nodejs/README.Debian

npm ERR! not ok code 0

I solved this by upgrading to the newest version of nodejs using the instructions here: https://www.digitalocean.com/community/tutorials/how-to-install-node-js-on-ubuntu-16-04
Perhaps adding this fix to the documentation could be useful?

Agreed. The package.json metadata is incorrect and should also reflect the correct information. Thanks for letting us know!

As well as package.json is it a case of better documentation of the node version requirement in the README?


[Bug] Fix the buttons for small screens #235

Issue that this pull request solves
Closes: # (issue number)
Proposed changes
Brief description of what is fixed or changed
Types of changes
Put an x in the boxes that apply

[ ] Bugfix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation update (Documentation content changed)
[ ] Other (please describe):

Checklist
Put an x in the boxes that apply

[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] My changes does not break the current system and it passes all the current test cases.

Screenshots
Please attach the screenshots of the changes made in case of change in user interface
Other information
Any other information that is important to this pull request

@kenkirito  attach the issue for this PR and describe the changes made.  Fill in the types of changes and checklist option. and attach a few snapshots of the changed UI.

@kenkirito  attach the issue for this PR and describe the changes made.  Fill in the types of changes and checklist option. and attach a few snapshots of the changed UI.


pylint githook for registry and compiler

Need to place this file in .git/hooks as pre-commit (locally) to work as commit hook
@asah

@dimaryaz Yes it is working. if you want to use existing solution.
I had quick test it, by adding our desired output i.e. "--enable=W,E --disable=C" directly to parser.add_argument.


implements oldest first cache expiry option

Hello,
This PR implements 'first in first out' cache expiry where maxEntries is set.
Personally I think this would make more sense as the default behaviour, though for backwards compatibility this PR, offering an easy way to configure via global options, seems like a less controversial offering
If you're happy with this in principle I'll add tests and docs

Hello, @wheresrhys!
Currently, when maxEntries is specified, there's a least-recently used cache expiration policy imposed. (Every time a Response is read/written to the cache, the corresponding entry in IndexedDB has its timestamp updated.)
While I haven't actually run your code, it seems to me that swapping the direction value will just serve to implement a most-recently used cache expiration policy, rather than a first-in, first-out policy.
Taking a step back, do you have a specific use case in mind for which first-in, first-out provides noticeable benefits vs. least-recently used? I don't mean to imply that it's an invalid feature, but LRU does end up being a good fit for many use cases.
Also, if we do go ahead with this, please ensure that all of the existing tests pass, and we would greatly appreciate additional tests that cover the new functionality.

It's been a few months since we've heard back on this one, but I would also be interested in understanding the use-case here before we move ahead with trying to iterate on the idea. Any thoughts/interest in helping us out with your insights, @wheresrhys?

Closing this one for now. If you get a chance to reping us on this @wheresrhys we'd be happy to chat more!

Apologies for slow reply (working on SW at work, but emails fro this repo go to my personal account)
There was a bit of misdiagnosis of caching issues we were having with sw-toolbox, and working on this PR helped identify them in the end, and I did mean to close it afterwards. One bit of unexpected behaviour with sw-toolbox's cache though is that it is a soft purge (i.e. the cache is purged and repopulated lazily after the request is responded to), which isn't suitable behaviour for all our needs. Though again it may have been a misdiagnosis of the problem (I'm working on getting a lot more tests up and running for our SW now)

If you find the need to get notified when the "soft purge" happens, the changes in https://github.com/GoogleChrome/sw-toolbox/pull/174 might be of interest to you.

That does look interesting, but it was more for instances where e.g. we cache an index page and then the user doesn't revisit for a week - in this case we would want a hard purge so that if a user hasn't revisited within, say, an hour, then the cached resource will be discarded without being used.


Can it be used on Windows10?

A nice useful tool.
I used Cmder on Windows10.
Have kn considered working on them?

@scillidan I haven't worked with either Cmder or Windows shells and I'm not planning to implement it myself. However feel free to file a PR for it.
Extending kn support to other shells requires (1) adding a shell script analogous to those in init/, (2) adding the desired shell to the init command and (3) adding configuration instructions. To fully support Windows, the GitHub workflow should be modified to generate Windows binaries.

Thanks for your reply and hint :)
This is a new thing and challenge for me.
I would like to give it a try.


remove rocksdb, use redb

Unfortunately redb batch_write is much slower than rocksdb, I still like more redb because it doesn't take a life to compile and it's more typed.
Probably adding redb without a feature and keeping feature gated rocksdb?
testnet stop @100_000 tmpfs

run | redb v1 | rocksdb
-----------------------
1   | 33s     | 9s
2   |  4s     | 5s

testnet stop @100_000 physical disk

              | durability       |
run | redb v1 | None |  Eventual | rocksdb
-------------------------------------------
1   | 310s    |  58s |   308s    | 9s
2   | 4s      |   4s |     5s    | 5s

BTW. About the compile times. We used to have to wait forever for rocksdb to build, but then if you provide it a ROCKSDB_LIB_DIR to find a static c library, it can avoid building it. So that's what we do, and since our dev env is all nix flake based, it became non-issue.

thanks @dpc for letting me know that

close in favor of #69 (which doesn't replace rocksdb)


Discopop - Tool: get Version number

[ ] add a --version flag to the discopop tool tool to get the currently installed version

linked to #428


stat.h5 missing

Hi, thanks for publishing this amazing project!
I'd like to train a LayersNet model on the LAYERS dataset following your instructions.
I've downloaded the LAYERS dataset, unpacked it, and ran
python tools/preprocessing_data.py configs/layersnet/base/ep1.py --work_dir *my_log_dir* --dataset test --type static

However, it asks for some stat.h5 file (this line of code) which seems to be missing from the published dataset.
Could you help me find it?
Many thanks in advance!

hi, I'm also facing the same problem.
I really appreciate the incredible work you've put into the LayersNet project – it's truly impressive.
Could you please provide clarification on the availability or location of the stat.h5 file or offer guidance on how to proceed in its absence? Your assistance would be immensely valuable.
Thank you very much for your time and consideration.

@ftbabi
Hi, hoping for help

Hi,
Sorry for the late reply.
"stat.h5" is a file including the mean and std for normalizing the input data. As indicated in "Dataset Preparation" Step 2, you may run the following command to generate required data:
python tools/preprocessing_data.py configs/layersnet/base/ep1.py --work_dir PATH/TO/LOG/DIR --dataset [train/val/test] --type dynamic
The "stat.h5" should be generated after this command. The related codes locate at L231 in LayersNet_ICCV2023layersnet/datasets/layers_dynamic_dataset.py.
Best,
Yidi


Bug - Wrong sprite picking in scrollable area

I have problem with sprite picking. If put phaser canvas in scrollable div and click on different parts of canvas, Phaser picks wrong sprite.
Here are my code: http://codepen.io/anon/pen/RGwBKZ
Steps to reproduce:
1. Click on the first sprite.
2. Quick scroll to the middle or the bottom of scrollable area.
3. Click on the sprite.
4. Phaser pick wrong sprite.

It can't calculate the offset needed to accurately map it to the canvas, and it's not something that will be added in either. So you'll need to figure out some way of doing it, and overriding the internal methods to compensate for that. Or just don't put it in a scrollable div of course.


AngularJS 1.7 is final version of 1.x

On July 1, [AngularJS] will enter a 3 year period of Long Term Support (LTS).

January 1 — June 30, 2018 AngularJS 1.7 Active Development
July 1, 2018 — June 30, 2021 AngularJS 1.7 LTS Period

See https://blog.angular.io/stable-angularjs-and-long-term-support-7e077635ee9c

https://code.angularjs.org/1.6.10/docs/misc/version-support-status

The current proposal is not to upgrade the version of AngularJS used by this web UI and to just rewrite the whole web frontend in Angular 7/8/9/whatever.


BlurFilter doesn't work when applied as a sprite shader

The BlurFilter doesn't work when applied as a sprite shader.  I assume this is because the BlurFilter fires off two passes (blurX, blurY)which if I am understanding correctly is not currently supported.
On a related note, is it not possible to allow multiple shaders to be run in this fashion?
I have switched everything over to the new shaders model quite simply because they are applied in a local coordinate space to the sprite.  Which for my purposes is exactly what I need.  However I also need to on occasion, apply several convolutions and a blur, also applied in the local coordinate space, which of course I currently cannot do with filters, leaving me a little stuck.

shaders do not have passes, they are a single shader that draws the object. BlurFilter actually has no shader code that runs, it is only those two passes so nothing shows up.
If you want local coord-space shaders there is another issue open for that: #1092


♻ REFACTOR: Removed publishing to pypi

Codecov Report

Merging #3 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master       #3   +/-   ##
=======================================
  Coverage   91.56%   91.56%
=======================================
  Files           2        2
  Lines         237      237
=======================================
  Hits          217      217
  Misses         20       20

Flag
Coverage Δ

#pytests
91.56% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Continue to review full report at Codecov.

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


[3.x] Tighter light culling - fix directional lights colinear case

Exactly the same fix as done already for non-directional lights.
Fixes #89560 for 3.x
Notes

Same fix as #89714 but for directional lights.
I wouldn't worry about this re: beta 5, it should be a pretty rare bug and it's easy to fix by changing project setting.

Thanks!


Telemetry exists to better understand user signin behavior

What telemetry do we have? What do we need? What is the level of effort for each telemetry item?
https://docs.google.com/presentation/d/14_kyn6zMkrlMoZdRU4Dm6UNSC7S9wk3Yfc2hBNhe4S0/edit#slide=id.g200d5fd0836_0_1

For reference, here is the current telemetry spec (it's up to date AFAIK).
Existing Telemetry Events:

Open OpenAPI Instructions page: appland.appmap/view:open with Properties['appmap.view.id'] == openapi
Open Runtime Analysis Instructions page: appland.appmap/view:open with Properties['appmap.view.id'] == investigate-findings
Click Sign Up Runtime Analysis CTA: appland.appmap/analysis:cta_interaction

Proposed Telemetry Events:

Navigate to a different AppMap: Not sure what this means
Click Learn More Runtime Analysis CTA: Effort: Low, but what is the value?
Navigate to a Code Object from tree view: Effort: Low
Use Search in AppMap sidebar: Effort: Low
Click on list item in AppMap sidebar: Effort: Low
Scroll in AppMap sidebar: Effort: Unknown (might create way too many telemetry events)
Click on Dependency Map: Effort: Low
Click on Trace View: Effort: Low
Click on the Filter button in the header: Effort: Low
Click on the Refresh button in the header: Effort: Low
Scroll in the AppMap (Dependency or Trace): Effort: Unknown (might create way too many telemetry events)
Zoom in the AppMap (Dependency or Trace): Effort: Unknown (might create way too many telemetry events)

This looks great @ahtrotta . Thanks. To answer your questions:
Navigate to a different AppMap: Not sure what this means -- It means did the user open one AppMap and stay there or did they open a second AppMap? Maybe a more specific measurement would be 'how long did the user spend looking at an AppMap before they closed it or navigated away? How many individual AppMaps did the user open?
Click Learn More Runtime Analysis CTA: Effort: Low, but what is the value? -- The value is learning weather or not we are presenting valuable options to the user at this critical step in the user flow. Are users availing themselves of 'Learn more'? Are users typically clicking this 'learn more' button before or after they get their first AppMap?  Slides 2-3 of this presentation go into this a little deeper. Ultimately a heat map of what users are clicking on out of the 20 or so options we present would help us make decisions based on what we can change or improve and what we should leave alone.
If you had to estimate what 'Low' effort would mean in terms of hours and days, what do you think it would be?

Okay, thanks for the clarifications!

Navigate to a different AppMap: Based on your explanation, we basically have this covered with the appland.appmap/appmap:open event. It won't answer the question of 'how long did the user spend looking at an AppMap before they closed it or navigated away', but it would answer if and when the user opened a second (or third, or fourth, etc) AppMap.

Click Learn More Runtime Analysis CTA: Okay, makes sense. I can definitely make this happen.

Estimating 'Low' Effort: I would guess an hour or two for each 'Low' effort item. So to do all of the above items would probably take two or three days or so.

@ahtrotta one more important measurement is how many people actually click on the AppLand Icon in the sidebar after install. I believe this is something we already have an event for, but we need to add it to the list.

:tada: This issue has been resolved in version 0.65.0 :tada:
The release is available on:

v0.65.0
GitHub release

Your semantic-release bot :package::rocket:


Dark mode

A dark mode would be nice.
So that PDF is white text on black background. Maybe inverting does the trick.
I know, that there is an invert option in the OS, but this is way too inconveniant.

This PDF Viewer (https://play.google.com/store/apps/details?id=eu.wanielista.pdfviewer) has it.
It inverts the colors when dark mode is switched on.

Hello! That app also uses the same back-end, so it should be very easy to add in a dark/night mode. I will add it soon!

Awesome, thanks 🙌🏻

I'm going to keep this open, as I still need to define the color of the spacing between the pages (or i can just remove that spacing)

Done!


Update splendo-prerelease-firestore

Update origin repo splendo-prerelease-firestore branch.

@nbransby @michaelprichardson Hi guys, sorry for the delay. This PR contains the update after the latest commits in prerelease for splendo-prerelease-firestore


Implement the editing of fields

The edit buttons are already there, subject to authorisation.
Now display an editable version of a field, with save/cancel/exit buttons.
Upon save, report succes/failure in the message bar.
Upon exit, change to the readonly version
Upon cancel, change to the orignal, readonly version.
Upon leaving the field, save it.
Relation with the issue on preventing edit conflict.

We require explicit saving.
Press cancel once to return to the last saved value, still in edit mode.
Press OK to leave edit mode.


feat: bring postgres

Introduces a postgres Database resource. On cloud targets it uses Neon. Currently it only works on AWS because I want to inject a secret during deployment, and the current cloud.Secret resource doesn't support that, but it should be possible to make the cloud implementation cloud agnostic (so it works on GCP and Azure as well).
The simulator target should be able to use an ordinary postgres container, but I haven't implemented it yet as I think I need to use the containers library, which will introduces peer dependencies in this repo and... yeah.
Closes https://github.com/winglang/wing/issues/4914

Uh oh, looks like pull requests are publishing to npm. Investigating...

Uh oh, looks like pull requests are publishing to npm. Investigating...

oops


Help to transcode JS with lib

Hello,
I'm trying to transcode this code in php using your lib :
await page.waitForResponse((response) => {
return response.url().startsWith(https://github.com/search/count?p=${pageNum}) && response.status() === 200;
});
i'm ok about the default $page->waitForResponse() but how can i manipulate/write response object with your lib ?

You need to learn php.
Regard
On Thu, Dec 16, 2021, 9:09 PM Alt0car @.***> wrote:

Hello,
I'm trying to transcode this code in php using your lib :
await page.waitForResponse((response) => {
return response.url().startsWith(
https://github.com/search/count?p=${pageNum}) && response.status() ===
200;
});
i'm ok about the default $page->waitForResponse() but how can i
manipulate/write response object with your lib ?
—
Reply to this email directly, view it on GitHub
https://github.com/rialto-php/puphpeteer/issues/160, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABDLT24CE3KC3MHB5QU6II3URI2NLANCNFSM5KHCRXIA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

not helpfull and really free response ...
This have no documentation and i need to manipulate response object with.
So if you have answer teach me or just go away :)

Am serious,  am talking for your own benefit.
Your background is node js, and you are trying to understand other language
via node prospective.
So you need to understand at least the the fundamental part of the
language.
google is your best friend.
Or if you can hire a freelancer which may cost you 25$.
And safe your self the hassle.
On Fri, Dec 17, 2021, 10:08 PM Alt0car @.***> wrote:

not helpfull and really free response ...
This have no documentation and i need to manipulate response object with.
So if you have answer teach me or just go away :)
—
Reply to this email directly, view it on GitHub
https://github.com/rialto-php/puphpeteer/issues/160#issuecomment-997002696,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABDLT24RB2KLQMLZSUJM3SLUROKD7ANCNFSM5KHCRXIA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you commented.Message ID:
@.***>

Firstly I have been a php developer for 15 years now, however I have rarely seen such a poorly documented package, hence the fact that I ask if anyone has already done so.
In view of your answer, I will have done more quickly to develop in nodejs using the original pupeteer library.
More documented and less toxic community when asking for help.


Find Feed from URL feature should use a relative link

Describe the bug
Using the Find Feed from URL feature, the link includes the scheme and domain when it should be relative.
This can cause broken links in some configurations, like when using a reverse proxy and running rss-bridge in a container.
Code
FindfeedAction is where the url is constructed, beginning with get_home_page_url()
https://github.com/RSS-Bridge/rss-bridge/blob/ef711cb30b026b581573c5dc5f4de88b47f105b9/actions/FindfeedAction.php#L59C4-L59C4
Expected behavior
Links should be relative, href starting with a .
Output

Found Feed(s) :

<a href="http://<IP_ADDRESS>:8030/?action=display&context=By+username&u=linus__torvalds&bridge=TwitterBridge&format=Html">Twitter Bridge

                        <a href="http://<IP_ADDRESS>:8030/?action=display&context=By+username&u=linus__torvalds&bridge=TwitterBridge&format=Html">returns tweets

Context : By username

username : linus__torvalds

This feed may be only one of the possible feeds. You may find more feeds using one of the bridges with different parameters, for example.

Version
2023-09-24 (git.master.ef711cb)

The "Go back" link on error pages causes a similar problem when there is a reverse proxy from a path other than /.
Go back

I'll check this !


Add support for new MongoDB store

TODO

[x] Merge of https://github.com/php-llm/llm-chain/pull/42
[x] 0.3 release if https://github.com/php-llm/llm-chain
[x] Merge this PR
[x] Create release of the bundle

cc @alcaeus

oof, more work than expected, but got it tagged :D

Thanks man


assimp543 migration bot error due to missing v6.12 branch

Solution to issue cannot be found in the documentation.

[X] I checked the documentation.

Issue
The https://conda-forge.org/status/migration/?name=assimp543 bot is failing on dartsim (job: https://github.com/regro/cf-scripts/actions/runs/11046563216) with error:
bot error (
[bot CI job](https://github.com/regro/cf-scripts/actions/runs/11046563216)
): v6.12:
Traceback (most recent call last):
  File "/home/runner/work/cf-scripts/cf-scripts/cf-scripts/conda_forge_tick/git_utils.py", line 163, in _run_git_command
    return subprocess.run(
           ^^^^^^^^^^^^^^^
  File "/home/runner/micromamba/envs/cf-scripts/lib/python3.11/subprocess.py", line 571, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['git', 'checkout', '--quiet', '--track', 'upstream/v6.12']' returned non-zero exit status 128.

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/home/runner/work/cf-scripts/cf-scripts/cf-scripts/conda_forge_tick/git_utils.py", line 407, in clone_fork_and_branch
    self.checkout_branch(target_dir, f"upstream/{base_branch}", track=True)
  File "/home/runner/micromamba/envs/cf-scripts/lib/python3.11/contextlib.py", line 81, in inner
    return func(*args, **kwds)
           ^^^^^^^^^^^^^^^^^^^
  File "/home/runner/work/cf-scripts/cf-scripts/cf-scripts/conda_forge_tick/git_utils.py", line 308, in checkout_branch
    self._run_git_command(
  File "/home/runner/micromamba/envs/cf-scripts/lib/python3.11/contextlib.py", line 81, in inner
    return func(*args, **kwds)
           ^^^^^^^^^^^^^^^^^^^
  File "/home/runner/work/cf-scripts/cf-scripts/cf-scripts/conda_forge_tick/git_utils.py", line 167, in _run_git_command
    raise GitCliError("Error running git command.") from e
conda_forge_tick.git_utils.GitCliError: Error running git command.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/runner/work/cf-scripts/cf-scripts/cf-scripts/conda_forge_tick/git_utils.py", line 163, in _run_git_command
    return subprocess.run(
           ^^^^^^^^^^^^^^^
  File "/home/runner/micromamba/envs/cf-scripts/lib/python3.11/subprocess.py", line 571, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['git', 'checkout', '--quiet', '-b', 'v6.12', 'upstream/v6.12']' returned non-zero exit status 128.

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/home/runner/work/cf-scripts/cf-scripts/cf-scripts/conda_forge_tick/auto_tick.py", line 721, in _run_migrator_on_feedstock_branch
    migrator_uid, pr_json = run_with_tmpdir(
                            ^^^^^^^^^^^^^^^^
  File "/home/runner/work/cf-scripts/cf-scripts/cf-scripts/conda_forge_tick/auto_tick.py", line 445, in run_with_tmpdir
    return run(
           ^^^^
  File "/home/runner/work/cf-scripts/cf-scripts/cf-scripts/conda_forge_tick/auto_tick.py", line 502, in run
    if not _prepare_feedstock_repository(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/runner/work/cf-scripts/cf-scripts/cf-scripts/conda_forge_tick/auto_tick.py", line 184, in _prepare_feedstock_repository
    backend.clone_fork_and_branch(
  File "/home/runner/micromamba/envs/cf-scripts/lib/python3.11/contextlib.py", line 81, in inner
    return func(*args, **kwds)
           ^^^^^^^^^^^^^^^^^^^
  File "/home/runner/work/cf-scripts/cf-scripts/cf-scripts/conda_forge_tick/git_utils.py", line 519, in clone_fork_and_branch
    self.cli.clone_fork_and_branch(
  File "/home/runner/micromamba/envs/cf-scripts/lib/python3.11/contextlib.py", line 81, in inner
    return func(*args, **kwds)
           ^^^^^^^^^^^^^^^^^^^
  File "/home/runner/work/cf-scripts/cf-scripts/cf-scripts/conda_forge_tick/git_utils.py", line 415, in clone_fork_and_branch
    self.checkout_new_branch(
  File "/home/runner/micromamba/envs/cf-scripts/lib/python3.11/contextlib.py", line 81, in inner
    return func(*args, **kwds)
           ^^^^^^^^^^^^^^^^^^^
  File "/home/runner/work/cf-scripts/cf-scripts/cf-scripts/conda_forge_tick/git_utils.py", line 326, in checkout_new_branch
    self._run_git_command(
  File "/home/runner/micromamba/envs/cf-scripts/lib/python3.11/contextlib.py", line 81, in inner
    return func(*args, **kwds)
           ^^^^^^^^^^^^^^^^^^^
  File "/home/runner/work/cf-scripts/cf-scripts/cf-scripts/conda_forge_tick/git_utils.py", line 167, in _run_git_command
    raise GitCliError("Error running git command.") from e
conda_forge_tick.git_utils.GitCliError: Error running git command.

I guess that the problem is that v6.12 is listed as an abi_migration_branches in https://github.com/conda-forge/dartsim-feedstock/blob/4cd834c8e38effb12471779caee338f169277e46/conda-forge.yml#L1-L3, but the branch was not present anymore?
Just to clarify why I added back in time the v6.12 branch, was to have ABI migration also on the 6.12, as it is the version used in Gazebo Fortress that we would like to support at least for some time. If you prefer to avoid having the v6.12 branch, probably we need to remove it from abi_migration_branches .
Installed packages
.

Environment info
.

I guess the latest commit of the v6.12 branch was https://github.com/conda-forge/dartsim-feedstock/commit/cf5ffe5dcee5cd92ed8d290c6f8355f9f26f6f0b, at least that was the one used for the last 6.12.* build: https://conda-metadata-app.streamlit.app/?q=conda-forge%2Flinux-64%2Fdartsim-6.12.2-ha2fd85f_12.conda .

I'm a bit confused. Do you mean the v6.12 branch in this repo (dartsim-feedstock)? In any case, please go ahead with whatever makes sense for the automation. I'm still learning the conda-forge ecosystem.

I'm a bit confused. Do you mean the v6.12 branch in this repo (dartsim-feedstock)?

Yes, the v6.12 branch used by abi_migration_branches in this repo, it is used to build 6.12 binaries with updated dependencies (mostly assimp). I will try to restore it, thanks!

Cool, I was not aware restoring branches was easy as going in https://github.com/conda-forge/dartsim-feedstock/activity?activity_type=branch_deletion !

The branch is now available again at https://github.com/conda-forge/dartsim-feedstock/tree/v6.12 .

Oh, I accidentally deleted the branch. Sorry about that! Thanks for fixing it!


Fix #5169

Description 📜
Added a basic introduction to generics, explained via an example. Added syntax for using genric classes, methods and interfaces. Added why is generics important for java.
Fixes #5169

Type of change 📝

[ ] Au#dio (Should be in mp3 format Includes speech clarity, Concise ,Low distortion)
[ ] Vi#deo (Animations, screen-recordings, presentations and regular explanatory films are all possibilties etc)
[x] Documentation (Content Creation in the form of codes or tutorials)
[ ] Other (If you choose other, Please mention changes below)

Domain of Contribution 📊

[ ] Android Dev #(Flutter)
[ ] Android Dev #(Java)
[ ] Android Dev #(Kotlin)
[ ] Backend Dev #(Java)
[ ] Backend Dev #(.NET)
[ ] Backend Dev #(PHP)
[ ] Backend Dev #(Python)
[ ] C/#CPP
[ ] Competitive #Programming
[ ] Cyber #Security
[ ] DS#A
[ ] Data#base
[ ] Datascience with #Python
[ ] Datascience with #R
[ ] Frontend Dev #HTML/CSS/JS
[ ] Frontend Dev #React/Angular/Vue
[ ] Go#lang
[ ] Interview #Prep
[x] Java_Domain
[ ] JavaScript_#Domain
[ ] ME#RN
[ ] Machine #Learning
[ ] Open #Source
[ ] Python_#Domain
[ ] Ru#st
[ ] Statis#tics
[ ] UI/#UX

Checklist ✅

[x] I follow Contributing Guidelines & Code of conduct of this project.
[x] I have performed a self-review of my own code or work.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] My changes generates no new warnings.
[x] I'm GWOC'21 contributor

Screenshots / Gif (Optional) 📸

@AkMo3 can you review the PR ?

@AkMo3 Fixed the changes.


fix(cases): show map

This PR fixes the issue with not being able to see and interact with the map on mobile
Before

After

@pablo014 I think we should re-structure how this looks if possible. I think we can have the map take up the top half of the screen, and the map takes up the bottom half. Hold off on this, for now, I want to attempt some changes


fix(preview): Safari scrolling bug

For some reason, in Safari, if the rendered content in the iframe has height: 100vh every time you interact with the code on the left, the right side preview continues to grow.

Mind updating changelog?

updated!


Improve PlotReport

This PR makes the plots created by PlotReport extension richer and adds this extension to the trainer in the MNIST example to show how to use this extension.
This PR actually adds legend to plots, and a label to x-axis, and grid to the figure.
After running examples/mnist/train_mnist.py, the below two plots will be saved in the result dir.

LGTM

LGTM


Add CUTE DEPRESSED by Dyan Dxddy

Song Name
CUTE DEPRESSED
Artist Name
Dyan Dxddy
Source
Youtube
Youtube Link
abwf-BdPFsQ
Direct File Link
No response
Song ID
315202
Start Offset [ms]
0
Extra
For if you want to use CUTE DEPRESSED

accept

accept


Startup Crash on Forge Server because of EntityRenderer

MC: 1.6.5
Forge: 36.1.18
Mini Utilities: miniutilities-1.1.1.jar
To Reproduce

Setup Forge Server
Install Mini Utilities
Run the server

Details
Client side EntityRenderer is being used without a side check, which is making the mod crash the server on startup.
Crash Report attached below
crash-2021-05-17_03.33.49-fml.txt

fixed!

Still crashing with the latest miniutilities-1.1.2.jar
@OneLemonyBoi


fix(button): fix button loader size for XL

PR Checklist
Please check if your PR fulfills the following requirements:

[x] The commit message follows Conventional Commits
[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

PR Type
What kind of change does this PR introduce?

[x] Bugfix
[ ] Feature
[ ] Refactoring (no functional changes, no api changes)
[ ] Other... Please describe:

What is the current behavior?
The size of a loader in XL button is s
What is the new behavior?
The size of a loader in XL button is m
Does this PR introduce a breaking change?

[ ] Yes
[n] No

Other information

And Thank you! 🎉

And Thank you! 🎉


disable cuco install rules when no INSTALL_EXPORT_SET

Fixes issues encountered by projects such as cugraph when they use cuco privately

@gpucibot merge


ocamlPackages.dscheck: 0.2.0 -> 0.4.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/project/ocaml:dscheck/versions.
meta.description for ocamlPackages.dscheck is: Traced atomics
meta.homepage for ocamlPackages.dscheck is: https://github.com/ocaml-multicore/dscheck
Updates performed

Version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 0.3.0 with grep in /nix/store/k74wlb8cil4hfkn99v9xk561ib0vpwds-ocaml5.1.1-dscheck-0.3.0
found 0.3.0 in filename of file in /nix/store/k74wlb8cil4hfkn99v9xk561ib0vpwds-ocaml5.1.1-dscheck-0.3.0

Rebuild report (if merged into master) (click to expand)

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
docfd

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/k74wlb8cil4hfkn99v9xk561ib0vpwds-ocaml5.1.1-dscheck-0.3.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A ocamlPackages.dscheck https://github.com/r-ryantm/nixpkgs/archive/a95eba9fa89e1e90c663f35b82c5e11ef978b478.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/a95eba9fa89e1e90c663f35b82c5e11ef978b478#ocamlPackages.dscheck

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/k74wlb8cil4hfkn99v9xk561ib0vpwds-ocaml5.1.1-dscheck-0.3.0
ls -la /nix/store/k74wlb8cil4hfkn99v9xk561ib0vpwds-ocaml5.1.1-dscheck-0.3.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

4 packages built:

docfd
ocamlPackages.domainslib
ocamlPackages.dscheck
ocamlPackages.saturn

Maintainer pings
cc @vbgl for testing.

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/project/ocaml:dscheck/versions.
meta.description for ocamlPackages.dscheck is: Traced atomics
meta.homepage for ocamlPackages.dscheck is: https://github.com/ocaml-multicore/dscheck
Updates performed

Version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 0.4.0 with grep in /nix/store/sb8cvygnkmyhhi1yiy377l4qb1ik06jw-ocaml5.1.1-dscheck-0.4.0
found 0.4.0 in filename of file in /nix/store/sb8cvygnkmyhhi1yiy377l4qb1ik06jw-ocaml5.1.1-dscheck-0.4.0

Rebuild report (if merged into master) (click to expand)

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
docfd

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/sb8cvygnkmyhhi1yiy377l4qb1ik06jw-ocaml5.1.1-dscheck-0.4.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A ocamlPackages.dscheck https://github.com/r-ryantm/nixpkgs/archive/738881c8d2d628d43168295d861cf17b53c7068c.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/738881c8d2d628d43168295d861cf17b53c7068c#ocamlPackages.dscheck

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/sb8cvygnkmyhhi1yiy377l4qb1ik06jw-ocaml5.1.1-dscheck-0.4.0
ls -la /nix/store/sb8cvygnkmyhhi1yiy377l4qb1ik06jw-ocaml5.1.1-dscheck-0.4.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

4 packages built:

docfd
ocamlPackages.domainslib
ocamlPackages.dscheck
ocamlPackages.saturn

Maintainer pings
cc @vbgl for testing.


segmentation violation while "devspace purge"

What happened?
segmentation violation
What did you expect to happen instead?
purge
How can we reproduce the bug? (as minimally and precisely as possible)
it doesn't happen all the time, need to analyze the relevant code to see if there is a bug we can find.
Local Environment:

DevSpace Version: devspace version 5.9.1
Operating System: mac
Deployment method: helm

Kubernetes Cluster:

Cloud Provider: other / docker0-desktop
Kubernetes Version:
Client Version: version.Info{Major:"1", Minor:"20", GitVersion:"v1.20.4", GitCommit:"e87da0bd6e03ec3fea7933c4b5263d151aafd07c", GitTreeState:"clean", BuildDate:"2021-02-18T16:12:00Z", GoVersion:"go1.15.8", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"19", GitVersion:"v1.19.7", GitCommit:"1dd5338295409edcfff11505e7bb246f0d325d15", GitTreeState:"clean", BuildDate:"2021-01-13T13:15:20Z", GoVersion:"go1.15.5", Compiler:"gc", Platform:"linux/amd64"

Anything else we need to know?
rasmusX:php-laravel-nginx-devspace logut$ devspace purge
[info]   Using namespace 'default'
[info]   Using kube context 'docker-desktop'
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x10 pc=0x52e074a]

goroutine 1 [running]:
github.com/loft-sh/devspace/pkg/devspace/hook.(*executer).Execute(0xc000010e28, 0x58dd9ce, 0x5, 0x59753b0, 0x10, 0xc0010aab58, 0x5, 0x0, 0x0, 0x5d05d78, ...)
        /Users/runner/work/devspace/devspace/pkg/devspace/hook/hook.go:138 +0x150a
github.com/loft-sh/devspace/pkg/devspace/deploy.(*controller).Purge(0xc0012bc7e0, 0x0, 0x0, 0x0, 0x5d07140, 0x6fdd0a0, 0xc0012bc7e0, 0x58e0c8c)
        /Users/runner/work/devspace/devspace/pkg/devspace/deploy/deploy.go:282 +0x984
github.com/loft-sh/devspace/cmd.(*PurgeCmd).Run(0xc0000b7b30, 0x5d03508, 0x7035488, 0x7035488, 0x0, 0x0, 0xc0010738c0, 0x7035488, 0x0, 0x0, ...)
        /Users/runner/work/devspace/devspace/cmd/purge.go:129 +0x6f3
github.com/loft-sh/devspace/cmd.NewPurgeCmd.func1(0xc0010738c0, 0x7035488, 0x0, 0x0, 0x0, 0x0)
        /Users/runner/work/devspace/devspace/cmd/purge.go:54 +0x89
github.com/spf13/cobra.(*Command).execute(0xc0010738c0, 0x7035488, 0x0, 0x0, 0xc0010738c0, 0x7035488)
        /Users/runner/work/devspace/devspace/vendor/github.com/spf13/cobra/command.go:842 +0x472
github.com/spf13/cobra.(*Command).ExecuteC(0xc000392580, 0x7035488, 0xc000392580, 0x0)
        /Users/runner/work/devspace/devspace/vendor/github.com/spf13/cobra/command.go:950 +0x375
github.com/spf13/cobra.(*Command).Execute(...)
        /Users/runner/work/devspace/devspace/vendor/github.com/spf13/cobra/command.go:887
github.com/loft-sh/devspace/cmd.Execute()
        /Users/runner/work/devspace/devspace/cmd/root.go:111 +0x7d
main.main()
        /Users/runner/work/devspace/devspace/main.go:20 +0xf7
rasmusX:php-laravel-nginx-devspace logut$

version: v1beta9
images:
  php:
    image: ${PHP_IMAGE}
    preferSyncOverRebuild: true
    injectRestartHelper: true
    appendDockerfileInstructions:
    - USER root
    dockerfile: Dockerfile
deployments:
- name: ${APP_DEPLOYMENT_NAME}
  helm:
    componentChart: true
    values:
      containers:
      - name: nginx
        image: ${NGINX_IMAGE}
        volumeMounts:
        - containerPath: /etc/nginx/nginx.conf
          volume:
            name: ${NGINX_CONFIG_CONFIGMAP_NAME}
            subPath: nginx.conf
            readOnly: true
        - containerPath: /shared
          volume:
            name: ${SHARED_VOLUME_NAME}
            subPath: /shared
            readOnly: true
        command:
        - "/bin/sh"
        args:
        - "-c"
        - "mkdir -p /var/www/html/public && touch /var/www/html/public/index.php && nginx -g 'daemon off;'"
      - name: php
        image: ${PHP_IMAGE}
        command:
        - "/bin/sh"
        args:
        - "-c"
        - "npm run dev && php /var/www/html/artisan migrate && php-fpm"
        volumeMounts:
        - containerPath: /shared
          volume:
            name: ${SHARED_VOLUME_NAME}
            subPath: /shared
            readOnly: false
      volumes:
      - name: nginx-config
        configMap:
          name: nginx-config
      - name: ${SHARED_VOLUME_NAME}
        size: ${SHARED_VOLUME_SIZE}
      labels:
        app: nginx
        portforward: true
- name: ${MYSQL_DEPLOYMENT_NAME}
  helm:
    componentChart: false
    chart:
      name: ${MYSQL_CHART}
      version: ${MYSQL_CHART_VERSION}
    values:
      auth:
        rootPassword: ${MYSQL_ROOT_PASSWORD}
        database: ${MYSQL_DATABASE}
        username: ${MYSQL_USER}
        password: ${MYSQL_PASSWORD}
- name: ${REDIS_DEPLOYMENT_NAME}
  helm:
    componentChart: false
    chart:
      name: ${REDIS_CHART}
      version: ${REDIS_CHART_VERSION}
    values:
      networkPolicy:
        enabled: true
        allowExternal: true
      password: ${REDIS_PASSWORD}
      cluster:
        enabled: false
dev:
  ports:
  - labelSelector:
      app: nginx
      portforward: true
    forward:
    - port: 8080
      remotePort: 80
  open:
  - url: http://localhost:8080
  sync:
  - imageName: php
    excludePaths:
    - .git/
    uploadExcludePaths:
    - Dockerfile
    - "*.Dockerfile"
    - devspace.yaml
    - vendor/*
    - node_modules/*
    onUpload:
      restartContainer: true
profiles:
- name: production
  patches:
  - op: remove
    path: images.app.appendDockerfileInstructions
  - op: remove
    path: images.app.injectRestartHelper
- name: interactive
  patches:
  - op: add
    path: dev.interactive
    value:
      defaultEnabled: true
  - op: add
    path: images.app.entrypoint
    value:
    - sleep
    - "9999999999"
commands:
- name: php
  command: devspace enter php
vars:
hooks:
- command: "/bin/sh"
  args:
    - "-c"
    - "kubectl delete configmap ${NGINX_CONFIG_CONFIGMAP_NAME} || true; kubectl create configmap ${NGINX_CONFIG_CONFIGMAP_NAME} --from-file=./deploy/nginx.conf"
  when:
    before:
      deployments: ${APP_DEPLOYMENT_NAME}
- command: "/bin/sh"
  args:
    - "-c"
    - "kubectl delete configmap ${NGINX_CONFIG_CONFIGMAP_NAME}"
  when:
    after:
      purgeDeployments: ${APP_DEPLOYMENT_NAME}

/kind bug

Code is here: (and I just had the same segmentation fault over and over so it is reproducible, I was mistaken:
https://github.com/leventogut/php-laravel-nginx-devspace/tree/index.php

@leventogut thanks a lot for opening this issue! We'll include a fix for this in the next version!

@leventogut should be fixed with v5.10.0