text:
Add Sky Line Calibration

We need to fit the sky lines in the cube in order to create a correction map for the velocity. If everything was perfect, then this correction map would be zeros everywhere. We do not need to make a perfect map! Instead we can just fit a good amount of regions (say on a  100 x 100 grid) and then interpolate.

We can add a new function that simply fits all sky lines within the filter (and within the transmission) and then save it as a fits file. We need a list of lines to fit.

From Laurie's paper on NGC 628:
ously. For this task, we selected the
OH sky line at 6498.729 ˚A because of its proximity to the Hα
line while it remains uncontaminated by emission or absorption lines from other sources. The sky line signal is enhanced
by summing its flux over boxes of 10×10 spaxels. To get the
spectral calibration correction, the sky line was fi

Added calibration based off Laurie's paper.

As of now the calibration isn't being calculated correctly. This issue is still a work in progress.

Notes from my discussion with Laurie on 12/15.
The ORCS technique determines on how much sky is available vs. contamination from emission
The brightest sky line is usually not overlapping with other emission
There are different strategies depending on the target
If the sky lines are present you can calculate the sky's velocity and interpolate that in 2d space.
We usually assume the sky is at rest so that all sky lines are at a single velocity. Usually  the binning is very heavy to increase signal. This map is generally re-interpolated to the native spatial resolution. We should apply a basic mask over all bright emission regions. This can be done by applying a threshold on channel intensities using a deep frame for example. Fit list of OH lines. Laurie will send me a list -- I should check the relative intensities and choose the most intense ones. We should also play with the binning to see what is the best!
Make a list of sky lines for C filters (in particular C4!).

Now have basic functioning skyline calculation (commit a3132153c884388b0d0d119269a07565270638f1 in MultipleComponent Branch). I still need to implement the masking, interpolation, and other lines!

We have a working version no :D


text:
Run release step independent from test-kubernetes

What type of PR is this?
/kind failing-test
What this PR does / why we need it:
We still need to run the release step, which got blocked by the deactivated test-kubernetes job.
Which issue(s) this PR fixes:

None
Special notes for your reviewer:
None
Does this PR introduce a user-facing change?

None

@kwilczynski PTAL

/lgtm

source: gharchive/pull-request

authors: kwilczynski saschagrunert

repo: cri-o/packaging

license_type: permissive

license_source: github-api


text:
Allow rename exported component in react-jsx: 3

import { make as Greeting } this kind of import disable the IDE auto-import feature.
Used in other TS files:
import { make as Greeting } from '../Awesome/Greeting.gen'
...
<Greeting message="world"/>

Reason file:
[@genType]
[@react.component]
let make = (~message) => <h1> {React.string(message)} </h1>;

.gen.ts file:
// tslint:disable-next-line:no-var-requires
const GreetingBS = require('./Greeting.bs');

export const make: React.ComponentType<{ readonly message: string }> = GreetingBS.make;

.bs.js file
var make = Greeting;

export {
  make ,

}

with the old ReasonReact record API we don't have this issue
import { Greeting } from '../Awesome/Greeting.gen'
...
<Greeting message="world"/>

Reason
let component = ReasonReact.statelessComponent("Greeting");

/** This is like declaring a normal ReasonReact component's `make` function, except the body is a the interop hook wrapJsForReason */
[@genType]
let make = (~name, _children) => {
  ...component,
  render: _self =>
    <button> {ReasonReact.string("Hello " ++ name ++ "!")} </button>,
};

.gen.ts file
// tslint:disable-next-line:no-var-requires
const Curry = require('bs-platform/lib/es6/curry.js')

// tslint:disable-next-line:no-var-requires
const GreetingBS = require('./Greeting.bs')

// tslint:disable-next-line:no-var-requires
const ReasonReact = require('reason-react/src/ReasonReact.js')

// tslint:disable-next-line:interface-over-type-literal
export type Props = { readonly name: string; readonly children?: unknown }

export const Greeting: React.ComponentClass<
  Props
> = ReasonReact.wrapReasonForJs(GreetingBS.component, function _(
  jsProps: Props,
) {
  return Curry._2(GreetingBS.make, jsProps.name, jsProps.children)
})

export default Greeting

Question:
Is there any way to export component in Uppercase? It makes it easier to consume gentype generated component in other JS/TS files.
Something like:
Reason file:
[@genType.rename "Greeting"]
[@react.component]
let make = (~message) => <h1> {React.string(message)} </h1>;

@nhducit see this new feature https://github.com/cristianoc/genType/commit/7639c77bf80ac241759e642499d5f3108b59ef18.
I think it does what you need.

wow, thank you very much

More compact representation in https://github.com/cristianoc/genType/commit/c21546d2a272558fc3c9627b8f53b2ef7c063b30.

awesome! thank you very much

source: gharchive/issue

authors: cristianoc nhducit

repo: cristianoc/genType

license: MIT


text:
Plugin not loading

Hi,
I think you have an issue with your install method. ( latest release from unpkg )
--Hans

If there's a problem with unpkg you can always use https://cdn.jsdelivr.net/npm/vue-notifyjs/, it's basically the same thing but more reliable.

authors: MartinKolarik hrakotom

repo: cristijora/vue-notifyjs


text:
As a User Interface element to organize notes

It would be nice to the user to have a quick way to sort through/organize and or display some notes.
They could either be part of the imported notes, or something specific to Foundry.
Our game group does a lot of "Magic as Powers" spells, which usually requires a 4x5 card of information about the spell.   It would be nice if we could represent this in Foundry.
I thought of the old address books (with tabs from A to Z).   Maybe we could interpret the import notes, and  if it starts with a special character (maybe * or : or !), treat the first line of each note as the title.
And if the player notes contain notes that start with a special character we could shunt them aside and display this in a tabbed folder kind of view.

I'm okay with the idea -- I don't particularly care for the idea that we'd add yet-another special delimiter instead of something more obvious and usable.

authors: crnormand mjeffw

repo: crnormand/gurps


text:
Modify damage roll syntax to specify hit location

Example use-cases:

Trademark Move which specify the hit location, e.g. "All-Out Attack (Strong) with Broadsword as a Rapid Strike targeting the neck and then stabbing at the vitals as a Deceptive Attack for -2 to defenses."
Special attacks that do Large-Area Injury (flamethrower).
A character's favorite attack -- e.g., a Heroic archer that often targets the eyes.

Suggested syntax:
Add a '@HitLocation' term after "extdamagetype" (damage modifier) and any FP cost:
3d-5x5(2)! imp inc @eyes *Costs 1FP - Using every possible term, this would be 3d6-5 damage roll, multiplied by 5, with a 2 armor divisor, minimum of 1 doing impaling incendiary damage, targeted at the eyes, and costing 1FP per use.
Using command-line syntax:
<roll>d[+|-<adds>][x|X|*<mult>][(<divisor>|-1)][!] <type> [mod] [@<loc>] [*Costs <cost><resource>]
roll - number of dice to roll
adds - amount to add to roll
mult - multiplier
divisor - one of the armor divisors from the rules, or -1 if attack ignores armor.
[!] - if present, the minimum amount of basic damage is 1 point regardless of the results of the roll.
type - an accepted damage type, e.g., imp, cut, cr, burn, tox, etc...
mod - a damage modifier such as inc, dkb, nkb, exp, etc.
loc - a Hit Location as written on the target's character sheet
cost - amount to reduce a resource by
resource - the resource to reduce

Done.


text:
Check for auth properties in ._args

The current implementation doesn't work, but after changing it to ._args it does the right thing

Codecov Report

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

@@           Coverage Diff           @@
##           master     #863   +/-   ##
=======================================
  Coverage   63.01%   63.01%
=======================================
  Files          73       73
  Lines       12581    12581
  Branches     1987     1987
=======================================
  Hits         7928     7928
  Misses       3995     3995
  Partials      658      658

Impacted Files
Coverage Δ

autobahn/twisted/wamp.py
38.87% <ø> (ø)
:arrow_up:

Continue to review full report at Codecov.

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

LGTM, thanks! :+1:
(I guess I should have written unit-tests for that code ....)

authors: codecov-io meejah richardartoul

repo: crossbario/autobahn-python

license: mit

license_source: bigquery


text:
batched call later

Before merge, needs:

[x]  release notes
[x]  chunked notifications
[x]  docs
[x]  squashing

See #66

Current coverage is 96.65%

Merging #67 into master will increase coverage by +0.35% as of 7756775

@@            master     #67   diff @@
======================================
  Files            8       9     +1
  Stmts          541     598    +57
  Branches         0       0
  Methods          0       0
======================================
+ Hit            521     578    +57
  Partial          0       0
  Missed          20      20

Review entire Coverage Diff as of 7756775

Powered by Codecov. Updated on successful CI builds.

Okay, I think this is ready to merge -- with caveat that I haven't done very much testing for the "real" use-case in Autobahn (yet).

Awesome!!

I totally forgot about canceling .. nice, nice

I do a release ..

great:
creating build/bdist.linux-x86_64/wheel/txaio-2.4.0.dist-info/WHEEL
twine upload dist/*
Uploading distributions to https://pypi.python.org/pypi
Uploading txaio-2.4.0-py2.py3-none-any.whl
HTTPError: 500 Server Error: Internal Server Error for url: https://pypi.python.org/pypi
make: *** [publish] Fehler 1

even greater:
creating build/bdist.linux-x86_64/wheel/txaio-2.4.0.dist-info/WHEEL
twine upload dist/*
Uploading distributions to https://pypi.python.org/pypi
Uploading txaio-2.4.0-py2.py3-none-any.whl
HTTPError: 400 Client Error: A file named "txaio-2.4.0-py2.py3-none-any.whl" already exists for  txaio-2.4.0. To fix problems with that file you should create a new release. for url: https://pypi.python.org/pypi
make: *** [publish] Fehler 1

The wheel seem to have been published, but not the src dist: https://pypi.python.org/pypi/txaio/2.4.0
Oh, well. PyPI ..

manually rebuilding only the src dist, and uploading only that:
copying setup.cfg -> txaio-2.4.0
Writing txaio-2.4.0/setup.cfg
creating dist
Creating tar archive
removing 'txaio-2.4.0' (and everything under it)
(cpy351_1) oberstet@corei7ub1310:~/scm/crossbario/txaio$ twine upload dist/*
Uploading distributions to https://pypi.python.org/pypi
Uploading txaio-2.4.0.tar.gz
HTTPError: 500 Server Error: Internal Server Error for url: https://pypi.python.org/pypi
(cpy351_1) oberstet@corei7ub1310:~/scm/crossbario/txaio$ ls -la dist/
insgesamt 52
drwxrwxr-x 2 oberstet oberstet  4096 Apr 22 10:05 .
drwxrwxr-x 9 oberstet oberstet  4096 Apr 22 10:05 ..
-rw-rw-r-- 1 oberstet oberstet 41359 Apr 22 10:05 txaio-2.4.0.tar.gz
(cpy351_1) oberstet@corei7ub1310:~/scm/crossbario/txaio$ twine upload dist/*
Uploading distributions to https://pypi.python.org/pypi
Uploading txaio-2.4.0.tar.gz
HTTPError: 400 Client Error: A file named "txaio-2.4.0.tar.gz" already exists for  txaio-2.4.0. To fix problems with that file you should create a new release. for url: https://pypi.python.org/pypi
(cpy351_1) oberstet@corei7ub1310:~/scm/crossbario/txaio$

But it's uploaded anyway. Strange.

authors: codecov-io meejah oberstet

repo: crossbario/txaio


text:
MySql error on starting Docker

When running gutenblock watch docker I get the following error and cant seem to find a solution.
wordpress_1  | Warning: mysqli::__construct(): The server requested authentication method unknown to the client [caching_sha2_password] in Standard input code on line 22 wordpress_1  | wordpress_1  | Warning: mysqli::__construct(): (HY000/2054): The server requested authentication method unknown to the client in Standard input code on line 22
I'm on osx High sierra. Any idea?

This is my bad, a new mysql version came out and i was pinned to latest, will fix tomorrow.

Just fixed! https://github.com/crossfield/gutenblock/releases/tag/0.4.1

Solved one but fell into another. Looks like InnoDB plugin is not loading and db_1 collapses.
db_1         | 2018-04-24 10:04:31 0 [Note] mysqld (mysqld 5.6.40) starting as process 1 ... db_1         | 2018-04-24 10:04:31 1 [Note] Plugin 'FEDERATED' is disabled. db_1         | mysqld: Table 'mysql.plugin' doesn't exist db_1         | 2018-04-24 10:04:31 1 [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it. db_1         | 2018-04-24 10:04:31 1 [Note] InnoDB: Using atomics to ref count buffer pool pages db_1         | 2018-04-24 10:04:31 1 [Note] InnoDB: The InnoDB memory heap is disabled db_1         | 2018-04-24 10:04:31 1 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins db_1         | 2018-04-24 10:04:31 1 [Note] InnoDB: Memory barrier is not used db_1         | 2018-04-24 10:04:31 1 [Note] InnoDB: Compressed tables use zlib 1.2.3 db_1         | 2018-04-24 10:04:31 1 [Note] InnoDB: Using Linux native AIO db_1         | 2018-04-24 10:04:31 1 [Note] InnoDB: Using CPU crc32 instructions db_1         | 2018-04-24 10:04:31 1 [Note] InnoDB: Initializing buffer pool, size = 128.0M db_1         | 2018-04-24 10:04:31 1 [Note] InnoDB: Completed initialization of buffer pool db_1         | 2018-04-24 10:04:31 1 [Note] InnoDB: Highest supported file format is Barracuda. db_1         | InnoDB: No valid checkpoint found. db_1         | InnoDB: If you are attempting downgrade from MySQL 5.7.9 or later, db_1         | InnoDB: please refer to http://dev.mysql.com/doc/refman/5.6/en/upgrading-downgrading.html db_1         | InnoDB: If this error appears when you are creating an InnoDB database, db_1         | InnoDB: the problem may be that during an earlier attempt you managed db_1         | InnoDB: to create the InnoDB data files, but log file creation failed. db_1         | InnoDB: If that is the case, please refer to db_1         | InnoDB: http://dev.mysql.com/doc/refman/5.6/en/error-creating-innodb.html db_1         | 2018-04-24 10:04:31 1 [ERROR] Plugin 'InnoDB' init function returned error. db_1         | 2018-04-24 10:04:31 1 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed. db_1         | 2018-04-24 10:04:31 1 [ERROR] Unknown/unsupported storage engine: InnoDB db_1         | 2018-04-24 10:04:31 1 [ERROR] Aborting db_1         | db_1         | 2018-04-24 10:04:31 1 [Note] Binlog end

Try “docker system prune” before running the watcher again

authors: kazlan zackify

repo: crossfield/gutenblock


text:
docs: add definition of done

Description of your changes
In the retrospective for the 0.3 release (and in the sig-stacks sprint
retrospective recently), the topic came up of documenting the definition
of done, so that we can all be agreed about it. The difference between
the definition we had previously been using and the definition in this
changeset is that documentation and error reporting are now included.

I have added a few people specifically as reviewers, but theoretically anyone with the context from the retrospective should be able to review this.

@suskin were you able to take a look at the feedback from @negz? It would be good to get this PR merged.

@suskin the unit tests failed with:
stat /home/upbound/go/src/github.com/crossplaneio/crossplane/cluster/charts/crossplane/crds: no such file or directory

does this need to be rebased to pick up some changes? it's been open for a while, maybe it's gone stale/incompatible with the build pipelines?

does this need to be rebased

@jbw976 I've rebased it now, so it should be good

repo: crossplaneio/crossplane


text:
Update the README title of webapi-twoinone-xwalk-tests

BUG=CTS-1877

LGTM

authors: Honry haoyunfeix

repo: crosswalk-project/crosswalk-test-suite


text:
「公開」→「リンクを知っている人のみ」への変更ができない。

アプリケーションエラーとなります。
herokuにてデプロイしました。

すみません、只今新規にデプロイした環境で再現しませんでした。
再現する場合、環境 (デプロイしている branch、動作させている browser、エラーのでてる箇所 (API? JavaScript?)、その内容) を教えてください 🙇

ご返事ありがとうございます！
branch：最新のmaster
動作browser：GoogleChrome
エラーはAPIで出ているようです。以下ログを送りますm(_ _)m
2018-08-14T09:00:57.993427+00:00 heroku[router]: at=info method=GET path= "/socket.io/?EIO= 3&transport= polling&t=MKtgkFv" host=crowi-diffeasy.herokuapp.com request_id=0803eeb5-56ee-4259-8a61-56593498d4e1 fwd="210.227.81.173" dyno=web.1 connect=1ms service=6ms status=200 bytes=328 protocol=https 2018-08-14T09:00:58.078721+00:00 heroku[router]: at=info method=GET path="/images/userpicture.png" host=crowi-diffeasy.herokuapp.com request_id=a1fe06ee-4532-46d0-9ab9-c6291afa09c7 fwd="210.227.81.173" dyno=web.1 connect=1ms service=23ms status=200 bytes=45502 protocol=https 2018-08-14T09:00:58.101797+00:00 heroku[router]: at=info method=GET path= "/_api/attachments.list?page_id=5b55a8dc5c9bf80004ca96ae" host=crowi-diffeasy.herokuapp.com request_id=feb5a58a-2106-4935-a94d-d55e96466951 fwd="210.227.81.173" dyno=web.1 connect=1ms service=49ms status=200 bytes=11115 protocol=https 2018-08-14T09:00:58.283031+00:00 heroku[router]: at=info method=GET path="/js/crowi.js.map" host=crowi-diffeasy.herokuapp.com request_id=9df0d5cb-5da4-45ef-a7bd-d5e4ead54304 fwd="210.227.81.173" dyno=web.1 connect=1ms service=24ms status=200 bytes=474766 protocol=https 2018-08-14T09:00:58.106506+00:00 heroku[router]: at=info method=GET path= "/_api/shares.get?page_id=5b55a8dc5c9bf80004ca96ae" host=crowi-diffeasy.herokuapp.com request_id=620ff5cc-d458-4c18-a989-dd7571bd5deb fwd="210.227.81.173" dyno=web.1 connect=0ms service=51ms status=200 bytes=432 protocol=https 2018-08-14T09:00:58.102508+00:00 heroku[router]: at=info method=GET path= "/_api/bookmarks.get?page_id=5b55a8dc5c9bf80004ca96ae" host=crowi-diffeasy.herokuapp.com request_id=39dde54d-55d7-4d67-a708-763ab57b263e fwd="210.227.81.173" dyno=web.1 connect=0ms service=46ms status=200 bytes=399 protocol=https 2018-08-14T09:00:58.190396+00:00 heroku[router]: at=info method=GET path="/js/app.js.map" host=crowi-diffeasy.herokuapp.com request_id=1ccc7b0c-56cb-4112-b15e-226ca62fa80f fwd="210.227.81.173" dyno=web.1 connect=0ms service=105ms status=200 bytes=6161515 protocol=https 2018-08-14T09:00:58.364951+00:00 heroku[router]: at=info method=GET path="/files/5b55a9815c9bf80004ca96b4" host=crowi-diffeasy.herokuapp.com request_id=e6dc2286-1152-4af7-ac73-21d934353683 fwd="210.227.81.173" dyno=web.1 connect=1ms service=32ms status=200 bytes=168892 protocol=https 2018-08-14T09:00:58.366632+00:00 heroku[router]: at=info method=GET path="/files/5b55a96a5c9bf80004ca96b3" host=crowi-diffeasy.herokuapp.com request_id=d2c32b99-24fb-4811-a170-9173937b34d5 fwd="210.227.81.173" dyno=web.1 connect=3ms service=24ms status=200 bytes=162082 protocol=https 2018-08-14T09:00:58.444200+00:00 heroku[router]: at=info method=GET path="/files/5b5975e1ccc35c00047d2e61" host=crowi-diffeasy.herokuapp.com request_id=885abc85-835d-4f57-bd2d-fc60989fae15 fwd="210.227.81.173" dyno=web.1 connect=1ms service=33ms status=200 bytes=171555 protocol=https 2018-08-14T09:00:58.435972+00:00 heroku[router]: at=info method=GET path="/files/5b567506317ce00004387548" host=crowi-diffeasy.herokuapp.com request_id=a21b23e9-e76c-48a4-a72b-4ba99c9ef821 fwd="210.227.81.173" dyno=web.1 connect=0ms service=26ms status=200 bytes=174240 protocol=https 2018-08-14T09:00:58.914708+00:00 heroku[router]: at=info method=GET path= "/_api/comments.get?page_id=5b55a8dc5c9bf80004ca96ae" host=crowi-diffeasy.herokuapp.com request_id=81526939-1c19-41d3-ac77-90dab401cc57 fwd="210.227.81.173" dyno=web.1 connect=1ms service=10ms status=200 bytes=397 protocol=https 2018-08-14T09:00:59.155656+00:00 heroku[router]: at=info method=GET path="/files/5b5e95a1748a2f0004ce0a78" host=crowi-diffeasy.herokuapp.com request_id=3f33e8a3-6f43-4378-9123-76e1f1907129 fwd="210.227.81.173" dyno=web.1 connect=1ms service=24ms status=200 bytes=174606 protocol=https 2018-08-14T09:00:59.097267+00:00 heroku[router]: at=info method=GET path="/files/5b5ade51a1255c0004e2b521" host=crowi-diffeasy.herokuapp.com request_id=52074625-6bbf-46b8-9383-7fd4864c68ad fwd="210.227.81.173" dyno=web.1 connect=1ms service=50ms status=200 bytes=182323 protocol=https 2018-08-14T09:00:59.097158+00:00 heroku[router]: at=info method=GET path="/files/5b5aaf79a1255c0004e2b51b" host=crowi-diffeasy.herokuapp.com request_id=e7502f20-d16f-46ca-a952-115235397c1c fwd="210.227.81.173" dyno=web.1 connect=1ms service=63ms status=200 bytes=180013 protocol=https 2018-08-14T09:00:59.502283+00:00 heroku[router]: at=info method=GET path="/files/5b5e9526748a2f0004ce0a72" host=crowi-diffeasy.herokuapp.com request_id=080b8279-99ca-4f91-9dc4-4600a1a7d243 fwd="210.227.81.173" dyno=web.1 connect=1ms service=22ms status=200 bytes=161329 protocol=https 2018-08-14T09:00:59.710623+00:00 heroku[router]: at=info method=GET path="/files/5b5e953a748a2f0004ce0a73" host=crowi-diffeasy.herokuapp.com request_id=b7a1a985-717a-400c-bb08-8b3713317a68 fwd="210.227.81.173" dyno=web.1 connect=1ms service=20ms status=200 bytes=144971 protocol=https 2018-08-14T09:00:59.723908+00:00 heroku[router]: at=info method=GET path="/files/5b5e9552748a2f0004ce0a74" host=crowi-diffeasy.herokuapp.com request_id=a242b3ca-66ca-4455-ac06-4e41cdab9e7c fwd="210.227.81.173" dyno=web.1 connect=1ms service=16ms status=200 bytes=148832 protocol=https 2018-08-14T09:00:59.858328+00:00 heroku[router]: at=info method=GET path="/files/5b5e9569748a2f0004ce0a75" host=crowi-diffeasy.herokuapp.com request_id=cf9238e3-0000-47c7-afeb-e668bcda30a4 fwd="210.227.81.173" dyno=web.1 connect=1ms service=16ms status=200 bytes=68853 protocol=https 2018-08-14T09:00:59.907670+00:00 heroku[router]: at=info method=GET path="/files/5b5e957b748a2f0004ce0a76" host=crowi-diffeasy.herokuapp.com request_id=e05fdca6-8747-4ce4-b1c7-1d35d981eaee fwd="210.227.81.173" dyno=web.1 connect=0ms service=18ms status=200 bytes=207439 protocol=https 2018-08-14T09:01:00.096782+00:00 heroku[router]: at=info method=GET path="/files/5b5e958e748a2f0004ce0a77" host=crowi-diffeasy.herokuapp.com request_id=651a9211-9fae-4725-aa73-53792c563f2d fwd="210.227.81.173" dyno=web.1 connect=1ms service=35ms status=200 bytes=152378 protocol=https 2018-08-14T09:01:01.348157+00:00 heroku[router]: at=info method=GET path= "/socket.io/?EIO= 3&transport= polling&t= MKtgkQK&sid=4-YQFJH8hkmeKBw2AABa" host=crowi-diffeasy.herokuapp.com request_id=8e6cc33f-2de5-4a0e-bb0f-8cd3a8a95140 fwd="210.227.81.173" dyno=web.1 connect=0ms service=2433ms status=200 bytes=225 protocol=https 2018-08-14T09:01:04.999556+00:00 heroku[router]: at=info method=GET path= "/_api/pages.updatePost?path=%2Fuser%2Ftomoyoshi%2F%E3%81%97%E3%82%93%E3%81%9F%E3%81%AB" host=crowi-diffeasy.herokuapp.com request_id=d0335e6d-8489-4fdb-8eca-df7c3035a1a8 fwd="210.227.81.173" dyno=web.1 connect=0ms service=22ms status=200 bytes=399 protocol=https 2018-08-14T09:01:04.997386+00:00 heroku[router]: at=info method=GET path="/webfonts/fa-brands-400.woff2" host=crowi-diffeasy.herokuapp.com request_id=c683f2bb-02da-4ebe-92f8-1d1d9ea34dd8 fwd="210.227.81.173" dyno=web.1 connect=1ms service=7ms status=200 bytes=61624 protocol=https 2018-08-14T09:01:49.276334+00:00 heroku[router]: at=error code=H12 desc="Request timeout" method=POST path="/_/edit" host=crowi-diffeasy.herokuapp.com request_id=2034189a-564b-4747-a634-6dd58b7b5f22 fwd="210.227.81.173" dyno=web.1 connect=3ms service=30206ms status=503 bytes=0 protocol=https 2018-08-14T09:01:49.620376+00:00 heroku[router]: at=info method=GET path= "/socket.io/?EIO= 3&transport= websocket&sid=4-YQFJH8hkmeKBw2AABa" host=crowi-diffeasy.herokuapp.com request_id=2cdf26be-18a7-4de7-b90c-8190031e8a62 fwd="210.227.81.173" dyno=web.1 connect=22ms service=48601ms status=101 bytes=275 protocol=https

@sotarok
s3の設定もしており、添付として画像アップロードした状態だと発生するようです。
s3の設定を見直したのですが、問題なさそうです。画像ありでも再現しませんか？？

ちょっといろいろ試していたら再現できそうなので修正します 🙇

ありがとうございます！！
弊社内で全力でお世話になっており、今後の開発も期待しておりますm(_ _)m

master へは merge しましたがこちらは1.7むけなのてわ
1.6.4 からの派生ブランチより tag 打ちますのでお待ちください。

リリースして解決していることを確認しました！！
ありがとうございましたm(_ _)m

authors: sotarok tomoyoshi-de

repo: crowi/crowi


text:
Time out of sync on Windows

At around 21:45 in UTC+1 I did this:
>>> time.ctime(time.time())
'Sun Apr 17 21:46:44 2016'

Correct
>>> arrow.now()
<Arrow [2016-04-17T20:45:24.272648+01:00]>
>>> arrow.now().to("UTC")
<Arrow [2016-04-17T19:45:26.840795+00:00]>

Incorrect, an hour behind
I'm on Windows 7 running Python 3.4.2.

Are you sure the computer's time is set correctly

It does appear to be.

Covered by https://github.com/crsmithdev/arrow/issues/374

authors: Fedjmike andrewelkins jaapz

repo: crsmithdev/arrow


text:
does it handle BC dates?

I have a date ''-299-01-01T00:00:00Z'' which could be translated to 300BC. But Arrow gives me the error:  ParserError: Could not match input to any of [u'YYYY-MM-DDTHH:mm:ss'] on '-299-01-01T00:00:00Z'

Arrow just wraps the datetime package (among others) from the python standard library, and as far as I know datetime does not handle dates before 1AD.

Confirmed. It won't work with that date.

authors: BoYanSTKO andrewelkins jaapz


text:
viewport example shows up pixelated

i am on hyprland and the example is super blurry

setting style to default is wat's triggering it

also resizing messes up the window

Thanks for reporting, I fixed it in 96ef93faf427af7d3cdf254b3d363bd9e3b2ea34

No worries,but the problem was not fixed. to be able to set style to Default or resize i had to do something like this

authors: HellZEras crumblingstatue

repo: crumblingstatue/egui-sfml


text:
Implementing 'Ruby of R'hllor'

I am thinking about implementing 'Ruby of R'hllor' and asking myself what would be the best way to handle the 'name a card' part.
Where would be 2 Options as far as i can see.

Show a list with all cards to select one.
(would be easy to implement but the list would obviously be an unwieldy monster).

Open an input field  for the player to type the card in. use an auto complete function to ensure he or she selects a valid card name.

I think the second option is an overall better solution and also the closest to the way it handels in live play (I mean for that card you actually have to know how cards are named).
So I am asking the vets here for advise:

is there already a function to open an input field?
is there a function that returns a list of all cards?
does anyone have advise how to implement an auto complete function?

We've always gravitated towards option 2 in our discussions about Ruby of R'hllor. It's just always been a low priority because not that many people seem to use it or complain it isn't implemented, and can be resolved manually fairly easily (assuming your opponent cooperates). Automating it would be great, but could be somewhat complicated.
We do have an existing autocomplete field for card names on the create / edit a deck page (take a look at DeckEditor.jsx and also Typeahead.jsx). However, this one would need to be different in that it should autocomplete to a single card name, not a particular version of the card. For example, the deckbuilder completes to "Arya Stark (Core)" and "Arya Stark (WoTN)" but here should complete to just "Arya Stark". That should be fairly easy.
The more complicated portion is getting that autocomplete field into the player prompt. I previously added the concept of "controls" to prompts - it's how the ability targeting is displayed on prompts that ask if you want to play a cancel. On the client side, this is rendered in ActivePlayerPrompt.jsx - it switches on the control type and then renders the proper React components for it. You could add a new one like 'card-name' to prompt the player to enter something.
On the server side, I imagine it would look something like this within Ruby's implementation (maybe not this exactly, but the general idea):
 this.game.promptWithMenu(this.controller, this, {
    activePrompt: {
        menuTitle: 'Name a card',
        buttons: [],
        controls: [
          { type: 'card-name', method: 'selectCardName' }
        ]
    },
    waitingPromptTitle: 'Waiting for opponents'
});

Then you'd have the client send a message to the server with the name they selected, which would go into a method named selectCardName on the Ruby implementation. e.g:
selectCardName(player, cardName) {
  // do something with the card name
}

Thanks for the info I will have a look at this when I find time for it.

authors: hanneshelge ystros

repo: cryogen/throneteki


text:
service name should be the same as container

Docker Container

citamon_agent_process_exporter
citamon_agent_rabbitmq_exporter
citamon_agent_host_exporter
citamon_server_grafana
citamon_server_prometheus
citamon_server_alertmanager

should refactor agent/docker-compose.yml  to repect the design

resolved by PR #116

repo: cryptape/cita-monitor


text:
Milestone 4: Improvements

[ ] #16
[ ] #17
[ ] #20

Sprint 1: https://github.com/orgs/cryptape/projects/46/views/1?sliceBy[value]=Sprint+1

repo: cryptape/ckb-dao-cobuild-poc


text:
Support OpenBSD

OpenBSD builds libsodium.so.19.1 (for example), so the libsodium*.so won't match.

Thanks!

authors: frenkel tarcieri

repo: cryptosphere/rbnacl-libsodium


text:
BUG: trying to assign … (Exception)

Hello. When I was playing with a code I received a message:
BUG: trying to assign Array(SomeClass::InnerClass(UInt16)) <- Array(SomeClass::InnerClass(T)) (Exception)
  from ???
[… dupes skipped …]
  from ???
Error: you've found a bug in the Crystal compiler. Please open an issue, including source code that will allow us to reproduce the bug: https://github.com/crystal-lang/crystal/issues

The code to reproduce:
class SomeClass(T)
  class InnerClass(T)
  end

  @foo = [] of InnerClass(T)
end

class SomeClassDesc(T) < SomeClass(T)
  class SomeClass::InnerClass(T)
  end
end

foo = SomeClassDesc(UInt16).new

OS:
Debian GNU/Linux 9.5 (stretch)

Crystal version:
Crystal 0.25.1 [b782738ff] (2018-06-27)

LLVM: 4.0.0
Default target: x86_64-unknown-linux-gnu

The bug also can be reproduced on master branch with a detailed backtrace:
Crystal 0.25.1+86 [d454f6973] (2018-08-04)

LLVM: 4.0.1
Default target: x86_64-pc-linux-gnu

BUG: trying to assign Array(SomeClass::InnerClass(UInt16)) <- Array(SomeClass::InnerClass(T)) (Exception)
  from /tmp/crystal/src/compiler/crystal/codegen/cast.cr:281:5 in 'assign_distinct'
  from /tmp/crystal/src/compiler/crystal/codegen/cast.cr:85:7 in 'assign'
  from /tmp/crystal/src/compiler/crystal/codegen/codegen.cr:1843:11 in 'run_instance_vars_initializers_non_recursive'
  from /tmp/crystal/src/compiler/crystal/codegen/codegen.cr:1809:7 in 'run_instance_vars_initializers'
  from /tmp/crystal/src/compiler/crystal/codegen/codegen.cr:1814:9 in 'run_instance_vars_initializers'
  from /tmp/crystal/src/compiler/crystal/codegen/codegen.cr:1808:7 in 'run_instance_vars_initializers'
  from /tmp/crystal/src/compiler/crystal/codegen/codegen.cr:1794:7 in 'allocate_aggregate'
  from /tmp/crystal/src/compiler/crystal/codegen/primitives.cr:414:5 in 'codegen_primitive_allocate'
  from /tmp/crystal/src/compiler/crystal/codegen/primitives.cr:23:15 in 'codegen_primitive'
  from /tmp/crystal/src/compiler/crystal/codegen/call.cr:403:7 in 'codegen_call'
  from /tmp/crystal/src/compiler/crystal/codegen/call.cr:35:7 in 'visit'
  from /tmp/crystal/src/compiler/crystal/syntax/visitor.cr:27:12 in 'accept'
  from /tmp/crystal/src/compiler/crystal/codegen/codegen.cr:2049:7 in 'accept'
  from /tmp/crystal/src/compiler/crystal/codegen/codegen.cr:928:9 in 'codegen_assign'
  from /tmp/crystal/src/compiler/crystal/codegen/codegen.cr:892:7 in 'visit'
  from /tmp/crystal/src/compiler/crystal/syntax/visitor.cr:27:12 in 'accept'
  from /tmp/crystal/src/compiler/crystal/codegen/codegen.cr:2049:7 in 'accept'
  from /tmp/crystal/src/compiler/crystal/codegen/codegen.cr:592:9 in 'visit'
  from /tmp/crystal/src/compiler/crystal/syntax/visitor.cr:27:12 in 'accept'
  from /tmp/crystal/src/compiler/crystal/codegen/codegen.cr:2049:7 in 'accept'
  from /tmp/crystal/src/compiler/crystal/codegen/fun.cr:142:9 in 'codegen_fun'
  from /tmp/crystal/src/compiler/crystal/codegen/fun.cr:51:3 in 'codegen_fun'
  from /tmp/crystal/src/compiler/crystal/codegen/fun.cr:8:54 in 'target_def_fun'
  from /tmp/crystal/src/compiler/crystal/codegen/call.cr:408:12 in 'codegen_call'
  from /tmp/crystal/src/compiler/crystal/codegen/call.cr:35:7 in 'visit'
  from /tmp/crystal/src/compiler/crystal/syntax/visitor.cr:27:12 in 'accept'
  from /tmp/crystal/src/compiler/crystal/codegen/codegen.cr:2049:7 in 'accept'
  from /tmp/crystal/src/compiler/crystal/codegen/codegen.cr:928:9 in 'codegen_assign'
  from /tmp/crystal/src/compiler/crystal/codegen/codegen.cr:892:7 in 'visit'
  from /tmp/crystal/src/compiler/crystal/syntax/visitor.cr:27:12 in 'accept'
  from /tmp/crystal/src/compiler/crystal/codegen/codegen.cr:2049:7 in 'accept'
  from /tmp/crystal/src/compiler/crystal/codegen/codegen.cr:592:9 in 'visit'
  from /tmp/crystal/src/compiler/crystal/syntax/visitor.cr:27:12 in 'accept'
  from /tmp/crystal/src/compiler/crystal/codegen/codegen.cr:2049:7 in 'accept'
  from /tmp/crystal/src/compiler/crystal/codegen/codegen.cr:65:7 in 'codegen'
  from /tmp/crystal/src/compiler/crystal/codegen/codegen.cr:63:5 in 'codegen:debug:single_module'
  from /tmp/crystal/src/compiler/crystal/compiler.cr:22:7 in 'codegen'
  from /tmp/crystal/src/compiler/crystal/compiler.cr:145:16 in 'compile'
  from /tmp/crystal/src/compiler/crystal/command.cr:260:7 in 'compile'
  from /tmp/crystal/src/compiler/crystal/command.cr:179:14 in 'run_command'
  from /tmp/crystal/src/compiler/crystal/command.cr:87:7 in 'run'
  from /tmp/crystal/src/compiler/crystal/command.cr:48:5 in 'run'
  from /tmp/crystal/src/compiler/crystal/command.cr:47:3 in 'run'
  from /tmp/crystal/src/compiler/crystal.cr:8:1 in '__crystal_main'
  from /tmp/crystal/src/crystal/main.cr:104:5 in 'main_user_code'
  from /tmp/crystal/src/crystal/main.cr:93:7 in 'main'
  from /tmp/crystal/src/crystal/main.cr:133:3 in 'main'
  from __libc_start_main
  from _start
  from ???
Error: you've found a bug in the Crystal compiler. Please open an issue, including source code that will allow us to reproduce the bug: https://github.com/crystal-lang/crystal/issues

Simplified example  (carc.in link here):
class InnerClass(T)
end

class SomeClass(T)
  @foo = [] of InnerClass(T)
end

class NewClass(T) < SomeClass(T)
end

foo = NewClass(UInt16).new

This is probably another generics issue.

The code you provided is simpler and gives same result as mine (on both 0.25.1 and master).
Thank you.

Still being reproduced on
Crystal 0.27.0 [c9d1eef8f] (2018-11-01)

LLVM: 4.0.0
Default target: x86_64-unknown-linux-gnu

Probably related: https://play.crystal-lang.org/#/r/8rzu
abstract struct Comparison(T)
  getter type : T.class = T

  def initialize(@value : T); end
end

struct GreaterThan(T) < Comparison(T)
end

pp GreaterThan(Int32).new 1 # => BUG: trying to assign Int32.class <- T.class (Exception)

Just ran into this one on 0.35.1
My minimal reproduction:
class Dog(T)
  getter friends = Hash(String, Dog(T)).new
end

class GermanShepherd(T) < Dog(T)
end

GermanShepherd(String).new

authors: Blacksmoke16 Qwerp-Derp matthewmcgarvey serge-name

repo: crystal-lang/crystal


text:
Semantic: add bindings for Union and ProcNotation

Fixed #5805
The reason of #5805 is missing to check untyped in union types.
And ProcNotation has the same problem. It is fixed also.

I pushed a new commit.
See this weird result. I fixed this in the new commit.
def foo
  a = 1
  loop do
    b = [] of typeof(a)
    p typeof(b)
    a = "hello"
    break
  end
end

def bar
  a = 1
  loop do
    b = [] of typeof(a) | Int32 # <- use union tyoe instead bare typeof
    p typeof(b)
    a = "hello"
    break
  end
end

foo # prints "Array(Int32 | String)"
bar # prints "Array(Int32)" !!?

This issue is little far from #5805, however the solution for this also fixes #5805 surely, so I pushed into this PR. I'll fix PR title.

@MakeNowJust Do you think this would also fix issue #5717?
I'm getting the following error since 0.24.1:

BUG: typeof(x) at … has no type

I don't think this fixes #5717 because this fixes only union type and proc type, however it seems #5717 is not related to union type.

#5805 was fixed in #7475, but this PR still fixes other bugs and would be great to get this renewed.


text:
Can't run 8ball in #bot-commands

[5:45 PM] rob-3: !8ball
[5:45 PM] Lion: Please use this command in a Public channel.
Here are 3 of the 47 supported channel(s):
general,
memes,
programming_help.

I think 8ball should work in #bot-commands. Once I finish rewriting it, I will fix this bug myself if it still exists.

This is intended
The channel permission is public
Channel permission is checked here at runtime
Channel types are defined by name in Constants.ts
However, I would be down for changing the way this is defined as it could be useful to have a channel with multiple types
(ie #bot_commands could be public and bot)

for some historic context- we defined bot commands as not a public chan because we didn't want to start conversation in that channel/wanted to keep the messages sent in that chan strictly for class registration/garage status. we believed commands that lean more social should stick to the other public chans

for some historic context- we defined bot commands as not a public chan because we didn't want to start conversation in that channel/wanted to keep the messages sent in that chan strictly for class registration/garage status. we believed commands that lean more social should stick to the other public chans

Agree with this

However, I would be down for changing the way this is defined as it could be useful to have a channel with multiple types (ie #bot_commands could be public and bot)

Or maybe less intrusively, the ability to union types for a certain plugin
Just something like an array
public permission: ChannelType = [ChannelType.Public, ChannelType.Bot;]

authors: joeydotdev rob-3 tanndlin

repo: cs-discord-at-ucf/lion


text:
Make it easier to add extra configure flags

In GitLab by @ptomato on Aug 23, 2017, 22:23
Currently to add extra configure flags to an autotools module, as far as I can tell you have to do something like this in order to avoid overriding autogen and the default configure flags:
config:
  configure: %{conf-cmd} %{conf-args} --enable-gtk-doc

It would be nice if there were a customization point to just add extra arguments:
config:
  extra-configure-args: --enable-gtk-doc

In GitLab by @tristanvb on Aug 23, 2017, 23:10
I believe this is already there for autotools elements in the form of conf-extra (conf-args i believe includes conf-extra if any were specified).
Does this work for your purposes ?
We could split it up further and have separate variables for adding project-wide options vs. element specific configure options.

In GitLab by @ptomato on Aug 24, 2017, 00:34
Oh yeah, you're right, I completely skipped over it in the documentation.

In GitLab by @ptomato on Aug 24, 2017, 00:34
closed

repo: cs-shadow/buildstream


text:
Assignment 1 linear_classifier.py small typo

On linear_classifier.py line 82, the input X is described as having shape (D, N) when the notebook passes it with dimension (N, D).

I just noticed the same typo! Please fix it thanks. Also, it's not that each column is a D-dimensional point. It should be "each row".

authors: koallen ynmidk


text:
Spaces

This PR adds the spaces (accessible on /graph/v1.0/drives).
Cannot be merged as  OCS is still broken.

Will reopen from a branch in cs3org


text:
when I test model on my data,happen one error

Loading model from ../pretrain_models/CDVD_TSP_DVD_Convergent.pt
Traceback (most recent call last):
File "inference.py", line 243, in
Infer.infer()
File "inference.py", line 123, in infer
self.logger.write_log("# Total AVG-PSNR={:.5}, AVG-SSIM={:.4}".format(sum_psnr / n_img, sum_ssim / n_img))
ZeroDivisionError: float division by zero

I have the same error,you can put your data in test folder and run quick test code.

I fixed this issue in my fork. Basically it is because you do not have any GT images. You can copy your blurry images to the GT folder. It just won't have a good PSNR calculated. My fix was not to calculate it if there were no GT images.

repo: csbhr/CDVD-TSP


text:
Visual Effects settings are overwritten

When non-Administrator users re-login, something is clobbering the settings made to Visual Effects [System Properties > Advanced > Performance > Settings > Visual Effects].  This is unwanted.

Sorry, cannot reproduce. SystemPropertiesPerformance.exe retains its exact settings after re-login and/or reboot. Tested on a VMware VM with Windows 11 24H2 and both Admin and non-Admin user accounts.

Thank you for checking.  I'll record a video and post the unattend settings.

authors: ProgrammerBruce cschneegans

repo: cschneegans/unattend-generator


text:
Pinterest counter not showing

Seems odd that it's happening right around the same time as Twitter killing support for tweet count. I couldn't find anything in Pinterest's documentation saying this was deprecated, not sure why it wouldn't be working.

Ended up removing the counts because everyone was shutting them down (or they weren't available in the first place).

authors: JacobDB cshold

repo: cshold/social-sharing-buttons


text:
Anjali-Kshirsagar.txt file added

anjali.txt file created

LGTM 🥳
Thanks for your contribution 🤩 @Anjali-Kshirsagar


text:
Fix hmr

so, the problem is in jss.SheetManager.unmanage() it will throw if there is no sheet to unmanage.  HMR updates remounts the component and SheetManager is being resetted, so it will throw, but fix is easy, just dont throw if its HMR update

this branch is published as @iamstarkov/react-jss@7.0.2 if you want to give it a try

@kof i need your review

@kof @izorg ready to re-review

@iamstarkov how long does it normally take before a PR like this is merged and a new version is published?

@patrickml there is no average time span, every task is different. It is waiting not because we do nothing.

We communicate  in dm sometimes. We need a test for hmr fix which doesn't use internals directly and we are looking for a solution.

is there a reason why you couldn't use module.hot.accept('./hmr-style-test', () => {}) and use fs to update the file to trigger a change? I know it doesn't sound ideal to run an hmr server for the test, but at least it'd be a true integration test and should show breakages with future hmr updates>

Do you know how to integrate it into the tests?

No, it was just an idea, but im looking at the react-hot-loader package and maybe the answer lies within there tests? https://github.com/gaearon/react-hot-loader/blob/master/test/patch/patch.dev.js#L57
They seem to have a register function that i'm assuming makes the change
      const RHL = global.__REACT_HOT_LOADER__;
      RHL.register(A1, 'a', 'test.js');
      const A = <A1 />.type;
      expect(A).toNotBe(A1);
      expect(A).toBeA('function');
      expect(<A />.type).toBe(A);

      RHL.register(A2, 'a', 'test.js');
      expect(<A1 />.type).toBe(A);
      expect(<A2 />.type).toBe(A);
      expect(<A />.type).toBe(A);

i would like to find and try every possible way before trying to run server and manually changing test files, that would be just a disaster

Well it looks like their test doesn't actually run the server. They are just importing this file https://github.com/gaearon/react-hot-loader/blob/master/src/patch.dev.js to load __REACT_HOT_LOADER__  into the global namespace

that might make sense

I’d love to get hot module replacement working for JSS styles in my projects so I’ve had a go at bringing this pull request up to date. I didn’t find a way to contribute directly to this pull request so I opened a new one #266 based on the fix/hmr branch. Please let me know if there’s a better way to contribute that wouldn’t involve starting a new pull request 🙂

@felthy you can now contribute directly from this branch, once you accepted the invitation

Thanks for the invite @kof, I’ve merged my updates into this PR now so I’ll close #266. All tests are passing now.
I’ll have a think about your suggestion of a more general API - I agree that having HMR-specific code in this package isn’t ideal.

But I am ok with having it in this package, just would be nicer to at least have it in a separate module.

So, is this PR will be merged ? I use react-hot-loader too and I would like to update my styles with HMR, for now, I use this PR (fix/hmr branch)

Can we add some documentation on how to setup HMR before merging? @felthy

@thiphariel I’ve been working on a standalone package as per the discussion with @kof above. I’ve still got some work to do on the tests but if anyone would like to try it, you can clone it from felthy/react-jss-hmr and perform a build (npm run build). The README could do with a bit more detail as well but hopefully there’s enough info there to get you going.
react-jss-hmr doesn’t require any changes to react-jss so you don’t need to use this branch with it - I’ve been testing with the current published version, 8.6.1.
@HenriBeck @kof I’ll be interested to get your feedback on this. My hope is that we can move it into the cssinjs org if we all agree it’s the best way forward.

Update: Tests are working nicely (migrated to jest) and the package is available on npm as react-jss-hmr.

@felthy Okay ! I gonna give it a try right now ! Thanks. I will leave some feedback in few days after testing :)

@felthy Yes, moving that too the cssinjs org would be great.
Do the users still need to wrap every injectSheet call with the hot HOC?
Because that's something I would like to avoid.

@HenriBeck No, you only need to use the hot HOC once, to wrap your top level component (e.g. App in the create-react-app starter project). It doesn’t matter whether that component uses injectSheet or not either.

@felthy since we are moving to a monorepo, I think a good place would be in jss/pacakges

@iamstarkov @AleshaOleg you may want to check it out https://github.com/felthy/react-jss-hmr

OK @kof, I’ll start a PR to add it to the jss monorepo

Also FYI we had some back and forth on felthy/react-jss-hmr#1 and as a result @thiphariel got it working with webpack 4 and webpack-dev-server 3.
I’ve been mostly testing with webpack 3.12.0 but have also confirmed that it works with webpack 4.15.1.

@HenriBeck yes, I think a good rule would be everything that depends on jss, should be in that monorepo.

Okay, then it makes sense to add the react-jss-hmr eventually to the monorepo.
Can we move the repo just under the cssinjs org until we can merge it into the monorepo?

sure

@felthy Can you move the repo to the cssinjs org then?

Sure, I’ll do that first then I’ll try bringing it into the monorepo.

Here it is: cssinjs/react-jss-hmr 😄

Great Job 👍. So we can close this pr now?

I think so - I might open a new one to mention the new package in this package’s readme though.

@felthy https://github.com/cssinjs/react-jss-hmr/blob/8bd0b0ab06b57d9c45ca5b2785cae68109d3405b/src/injectSheet.js#L13
Q: why do we have this for production? This shouldn't be included at all. I would rather add

Who should I invite to become maintainers on npm? @kof? @iamstarkov?

I think its ok if you keep control over the publishing, in case you are not available add me

Yes a warning is a better idea @kof. I’ll add one.

Reading through the code, another problematic thing is: it is using private methods and properties a lot, which will lead to broken hmr if react-jss gets refactoring.

Now knowing it is not using a public interface, but many private things, it should be part of the react-jss package, so that when changing react-jss one can see failing tests in hmr ...

You mean this.manager and this.createState()? Any others?

and this.state.theme and all the react hooks

I think you could achieve the same using a HOC, you can use react-hooks there, manager and theme comes from context

We could pass manager over props and make react-jss hoc take it if provided

So, we can add to react-jss what is needed and make it a public interface just for hrm or we can make hmr part of react-jss ... but we can't make a module that uses private stuff and publish it as a separate package, that would be hard to maintain.

The manager won’t be passed down from the HMR HOC to the react-jss one, it goes in the other direction. But in general I think you’re right - I didn’t think most of these things would have been considered private, but that being the case, I think the idea of a separate package will not work. A public interface that exposes enough to make this work will be exposing too much, and there wouldn’t be any other use case for that interface. Tomorrow I will look at bringing this PR in line with the improvements I have in the new package (such as not calling setState() from within componentWillUpdate(); and not using the stack trace trick, and the better tests).

We can still have it in a separate module though, in react-jss repo

Okay, can we have the discussion in the new repo and close this?
Sent with GitHawk

Its ok to continue here, if we are going to have a module in this repo

Ohh yeah, didn't there were new comments.
Can we create a new clean branch and pr then?
Sent with GitHawk

I don’t think we should create a new PR, the code in this one does currently work and this page has pretty good SEO by now! 😉
Really we’re still just talking about improvements to the same new feature.

@kof just to clarify, you are ok with using the same technique as react-jss-hmr (monkey-patching, and relying on internals), within a new react-jss module, correct?
Otherwise, I’ve been trying to think up a way to make the existing createHoc more amenable to HMR but it seems likely to require significant restructuring, which is probably best avoided.

@felthy I missed your last message, so our status is to use that separate package, right?

Hi @kof, yes fine to ignore that message now. Given that the React HMR landscape looks like it will change a lot soon, I think the separate package, ugly as it is, is appropriate. My last comment over there is my current plan, but unfortunately I've been busy and haven't made any progress writing that doco yet.

authors: HenriBeck felthy iamstarkov kof patrickml thiphariel

repo: cssinjs/react-jss


text:
Replaced the author comment.

Trying pull request.

Nice.

On Feb 4, 2015, at 17:13, echin94 notifications@github.com wrote:
Trying pull request.
You can view, comment on, or merge this pull request online at:
https://github.com/cst1201-d644/lab1/pull/2 https://github.com/cst1201-d644/lab1/pull/2
Commit Summary
Replaced the author comment.
File Changes
M Lab1/src/lab1/Pay.java https://github.com/cst1201-d644/lab1/pull/2/files#diff-0 (3)
M Lab1/src/lab1/SalesTax.java https://github.com/cst1201-d644/lab1/pull/2/files#diff-1 (3)
Patch Links:
https://github.com/cst1201-d644/lab1/pull/2.patch https://github.com/cst1201-d644/lab1/pull/2.patch
https://github.com/cst1201-d644/lab1/pull/2.diff https://github.com/cst1201-d644/lab1/pull/2.diff
—
Reply to this email directly or view it on GitHub https://github.com/cst1201-d644/lab1/pull/2.


text:
fp16inference + tile option?

Is it possible to implement?
I can upscale images only up to 640x480pixels. (PC specs RTX 3090 24GB, 64GB RAM, Ryzen 7950X)
Thanks

Hello, we have added this function.

Thank you very much. This is the best upscale method I have ever seen.

I did not explicitly argumented fp16 inference because it is now turned on default.
now I am getting: python test_osediff.py -i input -o output --osediff_path preset/models/osediff.pkl --pretrained_model_name_or_path preset/models/stable-diffusion-2-1-base --ram_ft_path preset/models/DAPE.pth --ram_path preset/models/ram_swin_large_14m.pth
Traceback (most recent call last):
  File "C:\Users\Miki\OSEDiff\test_osediff.py", line 124, in <module>
    output_image = model(lq, prompt=validation_prompt)
  File "C:\Users\Miki\anaconda3\envs\osediff\lib\site-packages\torch\nn\modules\module.py", line 1501, in _call_impl
    return forward_call(*args, **kwargs)
  File "C:\Users\Miki\OSEDiff\my_utils\vaehook.py", line 440, in wrapper
    ret = fn(*args, **kwargs)
  File "C:\Users\Miki\anaconda3\envs\osediff\lib\site-packages\torch\utils\_contextlib.py", line 115, in decorate_context
    return func(*args, **kwargs)
  File "C:\Users\Miki\OSEDiff\osediff.py", line 95, in forward
    lq_latent = self.vae.encode(lq.to(self.weight_dtype)).latent_dist.sample() * self.vae.config.scaling_factor
  File "C:\Users\Miki\anaconda3\envs\osediff\lib\site-packages\diffusers\utils\accelerate_utils.py", line 46, in wrapper
    return method(self, *args, **kwargs)
  File "C:\Users\Miki\OSEDiff\models\autoencoder_kl.py", line 261, in encode
    moments = self.quant_conv(h)
  File "C:\Users\Miki\anaconda3\envs\osediff\lib\site-packages\torch\nn\modules\module.py", line 1501, in _call_impl
    return forward_call(*args, **kwargs)
  File "C:\Users\Miki\anaconda3\envs\osediff\lib\site-packages\peft\tuners\lora\layer.py", line 808, in forward
    result = self.base_layer(x, *args, **kwargs)
  File "C:\Users\Miki\anaconda3\envs\osediff\lib\site-packages\torch\nn\modules\module.py", line 1501, in _call_impl
    return forward_call(*args, **kwargs)
  File "C:\Users\Miki\anaconda3\envs\osediff\lib\site-packages\torch\nn\modules\conv.py", line 463, in forward
    return self._conv_forward(input, self.weight, self.bias)
  File "C:\Users\Miki\anaconda3\envs\osediff\lib\site-packages\torch\nn\modules\conv.py", line 459, in _conv_forward
    return F.conv2d(input, weight, bias, self.stride,
RuntimeError: Input type (float) and bias type (struct c10::Half) should be the same

Redownloaded fp32 checkpoints. again same error:
Traceback (most recent call last):   File "C:\Users\Miki\OSEDiff\test_osediff.py", line 124, in <module>     output_image = model(lq, prompt=validation_prompt)   File "C:\Users\Miki\anaconda3\envs\osediff\lib\site-packages\torch\nn\modules\module.py", line 1501, in _call_impl     return forward_call(*args, **kwargs)   File "C:\Users\Miki\OSEDiff\my_utils\vaehook.py", line 440, in wrapper     ret = fn(*args, **kwargs)   File "C:\Users\Miki\anaconda3\envs\osediff\lib\site-packages\torch\utils\_contextlib.py", line 115, in decorate_context     return func(*args, **kwargs)   File "C:\Users\Miki\OSEDiff\osediff.py", line 95, in forward     lq_latent = self.vae.encode(lq.to(self.weight_dtype)).latent_dist.sample() * self.vae.config.scaling_factor   File "C:\Users\Miki\anaconda3\envs\osediff\lib\site-packages\diffusers\utils\accelerate_utils.py", line 46, in wrapper     return method(self, *args, **kwargs)   File "C:\Users\Miki\OSEDiff\models\autoencoder_kl.py", line 261, in encode     moments = self.quant_conv(h)   File "C:\Users\Miki\anaconda3\envs\osediff\lib\site-packages\torch\nn\modules\module.py", line 1501, in _call_impl     return forward_call(*args, **kwargs)   File "C:\Users\Miki\anaconda3\envs\osediff\lib\site-packages\peft\tuners\lora\layer.py", line 808, in forward     result = self.base_layer(x, *args, **kwargs)   File "C:\Users\Miki\anaconda3\envs\osediff\lib\site-packages\torch\nn\modules\module.py", line 1501, in _call_impl     return forward_call(*args, **kwargs)   File "C:\Users\Miki\anaconda3\envs\osediff\lib\site-packages\torch\nn\modules\conv.py", line 463, in forward     return self._conv_forward(input, self.weight, self.bias)   File "C:\Users\Miki\anaconda3\envs\osediff\lib\site-packages\torch\nn\modules\conv.py", line 459, in _conv_forward     return F.conv2d(input, weight, bias, self.stride, RuntimeError: Input type (float) and bias type (struct c10::Half) should be the same
solution for now is to run fp32 inference

@cswry Could you please take a look?
I have the same problem in Ubuntu machine.

Hello, we update a new version.
Can you try fp16 mode again?
Thank you.

Working fine now.
Thanks.

repo: cswry/OSEDiff


text:
Added authenticating example to README

closes #39
DCO1.1 Signed-off-by: Daniel Firsht dfirsht@us.ibm.com

Hi dfirsht,
Thanks for submitting this pull request!
I can confirm that the DCO1.1 sign-off has been included. It is okay to process this pull request.
dco-bot

repo: csync/csync-swift


text:
Oh... I found small bug

For example If you have form:
<form ...>
 <input type="text" name="email"/>
 <input type="text" name="email"/>
 ...
 <input type="submit"/>
</form>

And then try to make on server
req.assert("email", "Invalid email" ).notNull().isEmail();
throws error =)
Something like this:
TypeError: Object boris@pavlovic.me,test, has no method 'match'
So ten year old "hacker" with curl can easy drop my web site using such things=)

Closing as this conversation was going nowhere and no has responded since 2013.

repo: ctavan/express-validator


text:
responsive component inside of responsive component doesn't work

I have the case that I built a component which needs to be resizable on its own, but must use another component which is also resizable:
let InnerResizable = componentQueries(queryInner)(InnerDumb)

let OuterResizableDumb = ({fromQuery, otherProp}) => {
  return

            {fromQuery &&
            only visible when size fits}
            <InnerResizable>see my prop {otherProp}</InnerResizable>

}

let OuterResizable = componentQueries(queryOuter)(OuterResizableDumb)

On first render both components call their queries and resize right. On browser window resize the only component which updates (and calls their query) is the inner one. The outer one doesn't call their query and because of that it never changes its query result and isn't responsive.
By the time I developed the outer component, the inner one was not resizable. That way I know the outer version works fine without the inner one. As soon as I made the inner one also responsive the outer one stopped working.
For react-sizeme and react-component-queries I'm on the latest version. element-resize-detector is version 1.1.12 as dependency from another third party component. React is version 15.4.2.

Woah, very strange case!
Would you mind putting together an example via http://codesandbox.io/ and then I would be happy to review it for you.

@ctrlplusb here is the example https://codesandbox.io/s/NkP3qy3rL
Sometimes the query of Outer calculates a new value one time after the resizing the window, sometimes it just works on first render as I described in my first post. Nevertheless it doesn't work beyond one change after the initial render. In index.js you can replace the import of Outer to get a "working" version. As a workaround I added a div around Inner.
For the record:
My first example looked more than the version above https://codesandbox.io/s/Bp4D74gx
which has more nodes in Outer to add some text to show which is the outer and which the inner component. It took me a good amount of the day to check that is really just the issue that the inner container gets returned without any wrapping element. In my real app Outer transforms some data into children for Inner so I can't combine Outer and Inner into one component.

Super helpful sandbox @hoschi! Thanks for putting this together.
I haven't looked into it yet, but my initial guess may be that the pure behaviour is causing an issue here.  I'll need to investigate further.

authors: ctrlplusb hoschi

repo: ctrlplusb/react-component-queries


text:
Reg : Conflicting GPS

Hi,
Thank you for all the support on this repository.
Scenario :
A drone(mrs) is spawned along with a rover(jackal). The following are the some of the topics

rostopic echo -n 1 /uav0/mavros/global_position/global
header:
seq: 361119
stamp:
secs: 3621
nsecs: 124000000
frame_id: "uav0/fcu"
status:
status: 0
service: 1
latitude: 38.5402556
longitude: -7.9627063
altitude: 54.15078571005225
position_covariance: [1.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 1.0]
rostopic echo -n 1 /J0/gt/fix
header:
seq: 267
stamp:
secs: 3849
nsecs:         0
frame_id: "J0/base_link"
status:
status: 0
service: 0
latitude: 38.54023348506595
longitude: -7.960377359421052
altitude: -2.1515914411992694
position_covariance: [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0]
position_covariance_type: 2

rostopic echo -n 1 /gazebo/model_states
name:

agriculture_geom
uav0
J0
pose:
position:
x: -82.6
y: 110.5
z: -1.5
orientation:
x: 0.0
y: 0.0
z: 0.0
w: 1.0
position:
x: -85.74911995594323
y: -81.00131893293093
z: -1.014246578246266
orientation:
x: -0.00020793916172536563
y: -0.0017432851495218875
z: -0.025565837014544096
w: 0.9996715989243358
position:
x: -83.61175958522037
y: -116.78991226896268
z: -2.151591778159232
orientation:
x: -1.3683826954930478e-06
y: -1.546697832602146e-05
z: 0.8989839388154172
w: 0.4379815949452886
twist:
linear:
x: 0.0
y: 0.0
z: 0.0
angular:
x: 0.0
y: 0.0
z: 0.0
linear:
x: 0.01145877046821024
y: 0.0011373041458642857
z: -0.0009285464417770617
angular:
x: -0.023233817549357914
y: -0.022055187548294025
z: 0.00013063968909909942
linear:
x: -0.00017678968970751972
y: 0.00022440920432498495
z: -3.126423883077905e-07
angular:
x: -8.909261908559831e-07
y: 8.608592940775258e-08
z: 1.769131414845356e-05

The gazebo/model_states depicts a distance of 35 metres but if we calculate the GPS distance calculation gives us 200 metres.
Also the altitude is 54m in the uav0/mavros output...when the drone hovering at approx 2 metres
I have changed the latitude and longitude in the world file.  Added to this, there is no disparity when i can comparing distances between uavs and jackals separately.
Furthermore, I believe that for some reason, the world apprears to be flipped for the uav because, the GPS distance decreases as the drone moves away from the jackal.
Pardon me if the solution is rather trivial. Thanks in advance

Hi,
An added input.
The values from the UGV is correct and was confirmed on google maps.
The GPS of UAV is flipped. Is it possible to switch the coordinate frame of reference to NED from ENU?

repo: ctu-mrs/simulation


text:
Help!!!

Why this?Thank you. It's urgent.
Error occurred when executing ApplyInstantIDAdvanced:
Error(s) in loading state_dict for Resampler:
size mismatch for proj_in.weight: copying a param with shape torch.Size([1280, 512]) from checkpoint, the shape in current model is torch.Size([1280, 786432]).
File "D:\ComfyUI\execution.py", line 151, in recursive_execute
output_data, output_ui = get_output_data(obj, input_data_all)
File "D:\ComfyUI\execution.py", line 81, in get_output_data
return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True)
File "D:\ComfyUI\execution.py", line 74, in map_node_over_list
results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))
File "D:\ComfyUI\custom_nodes\ComfyUI_InstantID\InstantID.py", line 315, in apply_instantid
self.instantid = InstantID(
File "D:\ComfyUI\custom_nodes\ComfyUI_InstantID\InstantID.py", line 70, in init
self.image_proj_model.load_state_dict(instantid_model["image_proj"])
File "D:\ComfyUI\python\lib\site-packages\torch\nn\modules\module.py", line 2152, in load_state_dict
raise RuntimeError('Error(s) in loading state_dict for {}:\n\t{}'.format(

you are using the wrong model somewhere

you are using the wrong model somewhere

Could you please check what's wrong with me? I'm using SDXL model

I also encountered this problem. When using InstantIDModelLoader, did you find a solution?


text:
Serious problem

The warning message translates to:
"[ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/alter-list.json
[ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/model-list.json
D:\AI\ComfyUIbats\ComfyUI\custom_nodes\comfyui_controlnet_aux\node_wrappers\dwpose.py:26: UserWarning: DWPose: Onnxruntime not found or doesn't come with acceleration providers, switch to OpenCV with CPU device. DWPose might run very slowly warnings.warn("DWPose: Onnxruntime not found or doesn't come with acceleration providers, switch to OpenCV with CPU device. DWPose might run very slowly")"
This indicates that the acceleration for DWPose in the comfyui_controlnet_aux plugin has failed after installing your plugin. It was effective before installing your plugin.
1.txt
2.txt

are the txt the before and after installation?
the only difference is onnxruntime. you can try to remove it and keep onnxruntime-gpu only


text:
Fix DataTable's Location to be aware of all of its lines

Hi folks! I'm back with another DataTable-related bugfix. When being built, DataTables would build their Ast::Location with only the first line. In the following example feature, this led to commands like cucumber features/test.feature:5 working, but cucumber features/test.feature:6 not running any tests, because no Test::Case reported containing that line.
Scenario: Run scenario with a data table
  Given a file named "features/test.feature" with:
    """
    Feature:

      Scenario: DataTable
        Given this step is a table step
          | a | b |
          | c | d |
    """
  When I run `cucumber features/test.feature:6 --format pretty --quiet`
  Then it should pass with exactly:
    """
    Feature:

      Scenario: DataTable
        Given this step is a table step
          | a | b |
          | c | d |

    1 scenario (1 passed)
    1 step (1 passed)

    """

How Has This Been Tested?
I'm not quite sure how best to test this. My first inclination is to add a unit test, but there appear to be no unit tests in this project for Cucumber::Core::Gherkin::AstBuilder or any of its internals. The cucumber acceptance test above could be added to the parent cucumber/cucumber-ruby project, but it seems a bit too edge-casey for a full acceptance test, IMO. Thoughts?
Types of changes

[x] Bug fix (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)

Checklist:

[x] I've added tests for my code
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.

Hello @botandrose!
It looks like the rest of the specs for location matching are here: https://github.com/cucumber/cucumber-ruby-core/blob/master/spec/cucumber/core/test/filters/locations_filter_spec.rb
It looks like we're just missing a another case around here.

@mattwynne Thanks for the pointer! Indeed, that appears to be exactly the right place to add tests for this. I just rebased, squashed, and force-pushed.
As an aside, I've only recently gotten the commit-bit. What's the etiquette for merging PRs? Can I merge my own PRs in clear-cut situations like this?

Roger that! Thanks for the review!

Hi @botandrose,
Thanks for your making your first contribution to Cucumber, and welcome to the Cucumber committers team! You can now push directly to this repo and all other repos under the cucumber organization! 🍾
In return for this generous offer we hope you will:

✅ Continue to use branches and pull requests. When someone on the core team approves a pull request (yours or someone else's), you're welcome to merge it yourself.
💚 Commit to setting a good example by following and upholding our code of conduct in your interactions with other collaborators and users.
💬 Join the community Slack channel to meet the rest of the team and make yourself at home.
ℹ Don't feel obliged to help, just do what you can if you have the time and the energy.
🙋 Ask if you need anything. We're looking for feedback about how to make the project more welcoming, so please tell us!

On behalf of the Cucumber core team,
Aslak Hellesøy
Creator of Cucumber

@botandrose - one more thing. Please update the changelog - you can do it on master. Add an entry to the top.
Thanks
Aslak

Sorry for the delay... just got back into town from the eclipse 🌑! HISTORY.md is updated.

authors: aslakhellesoy botandrose mattwynne

repo: cucumber/cucumber-ruby-core


text:
cmd/go_get:  support to generate CUE attribute(s) with custom Go struct tag(s)

Is your feature request related to a problem? Please describe.
Current cue get go command generating CUE from Go type can't support to generate CUE attribute(s) with custom Go struct tags except builtin tags json, yaml, cue, protobuf, toml and xml, sometime users want to some custom Go struct tag(s) being generated as CUE attribute(s) for special purpose. For example, there has a Go struct:
type Person struct {
     Name string `json:"name" custom_tag:"name"`
     Age int `json:"age" custom_tag:"age"`
}

After executing cue get go person, a CUE file will be generated as:
// person_go_gen.cue
#Person: {
   name: string @go(Name)
   age: int64 @go(Age)
}

But, users want it looking like this:
// person_go_gen.cue
#Person: {
   name: string @go(Name) @custom_tag(name)
   age: int64 @go(Age) @custom_tag(age)
}

Describe the solution you'd like
A proposal is to add a new flag -t/--tags which is a comma-separated string of custom Go struct tags on sub-command go to let users specify which tags will be generated as CUE attributes, by default, it's empty. Regarding above example, execute command cue get go -t custom_tag person will generate CUE as:
// person_go_gen.cue
#Person: {
   name: string @go(Name) @custom_tag(name)
   age: int64 @go(Age) @custom_tag(age)
}

Describe alternatives you've considered
N/A
Additional context
N/A

The -t flag is already in use. Aside from that, my tendency is to avoid flags whenever possible and rather be more explicit in files. I can see several alternatives:
Do any of these designs work for you, or is the support for a flag of paramount importance?
Alternative 1
Include some meta info in the Go file, for instance:
//cue:attr custom_tag

Obviously, this would require some annotation for the reverse in CUE files.
Alternative 2
On the CUE side, this mapping could be represented, for instance, as
@go(tag=custom_tag)

This is mentioned as an alternative, as, theoretically, this notation could be used for indicating the conversion in both directions.
This obviously introduces some apparent cyclicality of needing a "destination schema" while generating that very schema. The CUE tooling already can handle this, though. Protobuf conversions, for instance, it is not possible to interpret the data separate from schema, which introduces similar kind of dependencies.
Alternative 3
The cue.mod directory could contain files with mappings for tags specified in CUE.
For instance
cue.mod/go/attrs.cue:
tags: custom_name: {}

or something like that.

It looks like Alternative 3 is more reasonable, it's configurable and extendable in the future. But whether places in such a CUE in cue.mod directory or other place we should consider more. Checked get_go.go, i found such code snippet:
binst := loadFromArgs(cmd, []string{"."}, nil)[0]

It traverses from working directory to find cue.mod, i'm thinking if we can let users place in a CUE file in the working directory where they issue cue get go command if they want to convert Go to CUE with custom tags, for example, go.cue, its content like:
// A list of tags that will be converted to CUE attributes
tags: ["tag1", "tag2"]
// extendable configurations also can be supported for converting Go to CUE
// ... ...

After executing above code snippet, we can extract all configurations that we want, here is tag list, and configure that into extractor.

we must pre-define the CUE file name and its content schema

To use this way, where the CUE file would be placed is fully user behavior, except the CUE file content must be matched we defined, CUE doesn't care the location of CUE file, and doesn't break cue.mod's hierarchy. If we place in the CUE file for Go under cue.mod, in the future, there could have Java, Python, etc, lots of such CUE files under cue.mod, i don't think that's good.

authors: mpvl yangzhares

repo: cue-lang/cue


text:
fix #2720 yaml encoding of hex strings

See #2720 for details

I added the test case to encoding/yaml.

Thank you! Imported to Gerrit as https://review.gerrithub.io/c/cue-lang/cue/+/1173689.
I hope you don't mind that I wrote a longer commit message to add context to the git log, and I also added a note in the test case to remind ourselves that upstream hasn't fixed this yet. I also removed the internal/encoding/yaml test, as it was now redundant.

Great! Thanks!
On Fri, Dec 15, 2023, 07:48 Daniel Martí @.***> wrote:

Thank you! Imported to Gerrit as
https://review.gerrithub.io/c/cue-lang/cue/+/1173689.
I hope you don't mind that I wrote a longer commit message to add context
to the git log, and I also added a note in the test case to remind
ourselves that upstream hasn't fixed this yet. I also removed the
internal/encoding/yaml test, as it was now redundant.
—
Reply to this email directly, view it on GitHub
https://github.com/cue-lang/cue/pull/2729#issuecomment-1857832798, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AADVY6O7L4Z4IZCNC3VQEIDYJRBKVAVCNFSM6AAAAABANFTQ62VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNJXHAZTENZZHA
.
You are receiving this because you authored the thread.Message ID:
@.***>

authors: mvdan vikstrous vikstrous2


text:
trouble installing on Mac

I had trouble installing on my Mac, but here's what I did to get it to work.
git clone https://github.com/cumulo-autumn/StreamDiffusion.git
cd StreamDiffusion
pip install .
git patch apply ignore_cuda_for_mac.patch

For me, it's just: git apply ignore_cuda_for_mac.patch. Thanks for the tip!

I've created a gist to help guide the setup and running the demos. Let me know if this works for you.
https://gist.github.com/fbarretto/e61dbf5bb25fd5e98975a42fc7dd5295

authors: brentkearney dfl fbarretto

repo: cumulo-autumn/StreamDiffusion


text:
Fix source code packaging in the musedev api

The muse api is supposed to create an archive of the source code corresponding to the graphs built from the class files.
Now, the muse api puts in the archive the content of a "source" folder that should exist in the same place the graphs have been extracted: this logic is wrong, since such source folder is not created from the graph extractor.
The muse api must construct the archive of source code files to send to the search service differently.

The sources folder is created here: https://github.com/cuplv/biggroum/blob/b9e43d13986736f9406caef5c63b01a8f62aee8c/python/fixrgraph/musedev/api.py#L167
It copies the source code from the residue --- so it's correct. Closing the issue.

repo: cuplv/biggroum


text:
Fix argmin/argmax dtype argument

Fixes #2595
Requires #2870

To close #2595, it'd be nice to document the API deviation (which is a good thing I think).

Waiting till #2870 is merged

#2870 merged.

Jenkins, test this please

Jenkins CI test (for commit ecb3e72254e494727f126beed56629f7ceaa21b3, target branch master) succeeded!

authors: chainer-ci emcastillo leofang niboshi

repo: cupy/cupy


text:
Rename cupy.io submodule to cupy._io

Rel #3420.
This PR renames cupy.io submodule to cupy._io to indicate it is CuPy's private submodule and not intended to be used by users.

Could you resolve conflicts?
LGTM otherwise!

I've resolved the conflict!

pfnCI, test this please.

Jenkins CI test (for commit fd1bece5286bc763c9ef1275a4881219a3f5cc55, target branch master) succeeded!

authors: chainer-ci kmaehashi takagi


text:
Refactor sparse indexing tests

Blocked by #3944.

seems we need to rebase :(

Rebased.

Jenkins, test this please.

Jenkins CI test (for commit 1c8354f3888d35fb1608a7cf5b90f9afebcfc2af, target branch master) failed with status FAILURE.

Jenkins, test this please.

Jenkins CI test (for commit 082421f646600e2032f239916f44340f57257d02, target branch master) succeeded!

Jenkins, test this please.

Jenkins CI test (for commit 7da6e2632c4398bfe1e29a9dd6dd5d760d3979fc, target branch master) succeeded!

authors: asi1024 chainer-ci emcastillo


text:
Avoid triggering Project Updates for updates from assignees

github.event.issue.assignees is an object, whereas github.actor is a string (GitHub login ID). contains check had to be done in all login IDs in the object.

Issue comment for test: https://github.com/cupy/cupy/pull/7826#issuecomment-1715233873
Confirmed workflow skipped as expected: https://github.com/cupy/cupy/actions/runs/6156790836


text:
[backport] Bump SciPy version to 1.14 in Windows CI

Backport of #8759 by @asi1024

/test mini


text:
Make the contact us page responsive

Describe the bug
contact us page is not resposive. for tablet and small screen size devices contact us section is collapsing with feedback section
Expected behavior
Make the contact us page fully responsive
Screenshots

/assign

can I work on this??

it's already done

repo: curiomind-e-learning/curiomind


text:
Add Terraform (.tf) language support

I would like to add Terraform to the supported languages.
Creating this ticket for myself, will send a PR linked to this issue once this is ready.

Nice. I think terraform will be an interesting one. We might need to add some new scope types, but the large amount of repetition in terraform files should make for some cool multicursor operation once we've defined some good scope types

authors: fourstepper pokey

repo: cursorless-dev/cursorless-vscode


text:
Integration pulling in non-Alexa Sonos speakers as of HA 2023.10.0

Describe the bug
Today I upgraded to HA 2023.10.0 and had to reconfigure alexa_media_player and it now seems to bring in entities it didn't before -- namely all my older Sonos speakers that are not Alexa equipped.
For example, these are old Play:1s w/o Alexa.

Update:
I can see by calling https://alexa.amazon.com/api/devices-v2/device that Amazon is returning all my Sonos speakers and I assume that is because I have the Sonos skill installed on my Alexa account.
Should this integration pull in non-Alexa devices as entities?
These are the capabilities listed for that non-Alexa Sonos speaker in the image above:
    {
      "accountName": "Living Play1s",
      "appDeviceList": [

      ],
      "associatedUnitIds": null,
      "capabilities": [
        "I_HEART_RADIO",
        "AUDIO_PLAYER",
        "SIRIUSXM",
        "DEEZER",
        "APPLE_MUSIC",
        "REMINDERS",
        "TIDAL",
        "ADAPTIVE_LISTENING",
        "SUPPORTS_CONNECTED_HOME_CLOUD_ONLY",
        "PANDORA",
        "VOLUME_SETTING",
        "TUNE_IN",
        "CHANGE_NAME",
        "MUSIC_SKILL",
        "AMAZON_MUSIC"
      ],

A Sonos speaker that is Alexa-enabled looks like this:
      "capabilities": [
        "SOUND_SETTINGS",
        "SUPPORTS_LOCALE",
        "MULTI_WAKEWORDS_SUPPORTED",
        "EARCONS",
        "SIRIUSXM",
        "GOLDFISH",
        "TIMERS_ALARMS_NOTIFICATIONS_VOLUME",
        "SLEEP",
        "FAR_FIELD",
        "HANDS_FREE",
        "SET_LOCALE",
        "TIDAL",
        "KINDLE_BOOKS",
        "AUDIBLE",
        "SUPPORTS_CONNECTED_HOME_CLOUD_ONLY",
        "TUNE_IN",
        "CHANGE_NAME",
        "DEREGISTER_DEVICE",
        "SUPPORTS_LOCALE_SWITCH",
        "DIALOG_INTERFACE_VERSION",
        "MUSIC_SKILL",
        "SET_TIME_ZONE",
        "I_HEART_RADIO",
        "AUDIO_PLAYER",
        "DEEZER",
        "APPLE_MUSIC",
        "TIMERS_AND_ALARMS",
        "REMINDERS",
        "PERSISTENT_CONNECTION",
        "CUSTOM_ALARM_TONE",
        "DREAM_TRAINING",
        "ASCENDING_ALARM_VOLUME",
        "SPEECH_RECOGNIZER_USS",
        "ADAPTIVE_LISTENING",
        "VOLUME_SETTING",
        "MICROPHONE",
        "AMAZON_MUSIC"
      ],

To Reproduce
For me, simply reconfiguring.
Expected behavior
Not creating entities for non-Alexa devices, I would assume.
System details

Home-assistant: 2023.10.0
alexa_media: v4.76 in HACS UI (4.6.5 in /config/custom_components/alexa_media/const.py)
alexapy: 1.27.4
Amazon:  Yes, 2FA is enabled

Happy to take a PR to fix this; but I probably wont' work on this since I don't use Sonos. We already allow excluding devices and HA allows you to disable entities as a workaround.

After looking at this for a few days I'm not sure what the correct behavior is.
The main reason is I have not found where https://alexa.amazon.com/api/devices-v2/device, and specifically, the "capabilities" are documented to clearly indicate what would work with this integration, which is used in __init.py__  to decide what devices to include.
There's two ways to bring Sonos speakers into Alexa:

The Sonos skill allows playing music on Sonos speakers ("Play music on living room sonos"). All the Sonos speakers in the household will end up in the Alexa "device" API response.
If you have an Alexa-compatible Sonos speaker, you can use the Sonos App to add the Alexa voice service to the speaker. But, this process also adds the Sonos skill so it creates all the devices that the skill brings in above, but ALSO creates a device for the Sonos Alexa device.

The alexa_media_player integration uses the device API call to fetch the list of all Alexa devices. So, it's looping through not only true Alexa-compatible devices, but also Sonos speakers that cannot be used by the integration.
Currently, __init.py__ does this:
            if (
                dev_name not in include_filter
                and device.get("capabilities")
                and not any(
                    x in device["capabilities"]
                    for x in ["MUSIC_SKILL", "TIMERS_AND_ALARMS", "REMINDERS"]
                )
            ):
                # skip devices without music or notification skill
                _LOGGER.debug("Excluding %s for lacking capability", dev_name)
                continue

I saved the "capabilities" from my Alexa Dot, Alexa Show, a Sonos Alexa device, and a non-Alexa Sonos speaker brought in from the Sonos skill in these files:
$ ls *.cap
dot.cap				sonos-alexa.cap
show.cap			sonos-kitchen-NOT-Alexa.cap

BTW, the sonos-alexa.cap and sonos-kitchen-NOT-Alexa.cap are physically the same speaker -- but there's two entries in the devices API response.
$ fgrep -l MUSIC_SKILL *.cap
dot.cap
show.cap
sonos-alexa.cap
sonos-kitchen-NOT-Alexa.cap

The sonos-NOT-Alexa device has the MUSIC_SKILL but alxea_media_player cannot play music on it (or run "custom" commands, obviously).
It doesn't seem like "MUSIC_SKILL" is enough to know that "Alexa.Music.PlaySearchPhrase" can be used to play media -- OR if that is a bug in the Sonos skill that the device is created with the MUSIC_SKILL capability, when it shouldn't. (Which is why I'm not sure what the fix to prevent loading these non-Alexa devices is, if any.)
And testing the other two:
$ fgrep -l TIMERS_AND_ALARMS *.cap
dot.cap
show.cap
sonos-alexa.cap

$ fgrep -l REMINDERS *.cap
dot.cap
show.cap
sonos-alexa.cap
sonos-kitchen-NOT-Alexa.cap

Looks like of the three "capabilities" tests only TIMERS_AND_ALARMS is in the Alexa-compatible devices. Doesn't sound like a good test. Do all Alexa devices that can issue "custom" commands have a microphone?
$ fgrep -l MICROPHONE *.cap
dot.cap
show.cap
sonos-alexa.cap

Again, I'm not sure what is the correct "capabilities" tests to know if the device works with this integration. Without that, your advice to just include specific devices is probably best.

Thanks for the thorough research. Third party devices with Alexa have always been weird. Any solution though should not impact standard Alexa devices so I'd be concerned of doing a capabilities test that would exclude them. Personally, if there was some brand identifier I'd just exclude them based on that. I guess we could add the complexity of having a include_devices override stuff excluded this way if someone really wants it.

Not sure it's worth mucking around -- especially if what comes back from the Alexa API isn't well documented and consistent.  I just used "exclude_devices" in configuration.yaml to remove all the non-Alexa Sonos rooms.
alexa_media:
  accounts:
  - email: !secret alexa_username
    password: !secret alexa_password
    url: amazon.com
    exclude_devices:
      - "Bar"
      - "Living Room"
      - "Family Room"
      - "Back Bedroom"
      - "Kitchen"
      - "This Device"

But FYI, in the device response json I see this for my non-Alexa speakers:
deviceFamily": "THIRD_PARTY_AVS_MEDIA_DISPLAY",

And for the Alexa enabled devices:
"deviceFamily": "THIRD_PARTY_AVS_SONOS_BOOTLEG",

But, I would think the correct approach is to test the capabilities. If you could trust it to be right.
I think closing this issue and sticking with the "exclude_devices" is the best way to go.

authors: alandtse billmoseley


text:
fix: "isExcludeFile" will is NOT right in large project

when there are tons of file, Declaration's file path will be NOT same with Once's file path,the excluded files with be convert from px to rem TOO
fix issue #101

your pr should not modify package.json without any deps changed

#110

authors: ixqbar ygweric zhaojjiang

repo: cuth/postcss-pxtorem


text:
Game

Created the game class and added all the required methods

Approved 🥳
Hi @shakerAbuDrais
Great work nailing the project 💪
Your project is COMPLETE! There is nothing else to say other than... it's time to merge it! 🚀 Congratulations!

Highlights
There are some excellent points that you have made perfectly. Keep up the great work! 👏

Great work using the right Git Flow  👍
Commits are descriptive, good work.
Linters are working properly, great job! ✅
the requirements are good

Optional suggestions
Every comment with the [OPTIONAL] prefix is not crucial enough to stop the approval of this PR. However, I strongly recommend you to take them into account as they can make your code better.
N/A
Cheers and Happy coding!👏👨💻💻
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please, remember to tag me in your question so I can receive the notification.
Please, do not open a new Pull Request for re-reviews. You should use the same Pull Request submitted for the first review, either valid or invalid unless it is requested otherwise.


text:
Python3.7 fix (retro-compatible)

Just add a function to copy const char* to char *
Retrocompatible

Thanks @Ricocotam, LGTM!
I went into your branch and made some style changes. I also enabled CI for the repository and made sure the package builds with Python 3.4, 3.5, 3.6 and 3.7.

authors: Ricocotam cvangysel


text:
Outdated dependencies

Current dependency versions are out of date
Lejson can be bumped from 0.7.0 to 0.8.0.
Elli can be bumped from 2.0.2 to 3.3.0.

Fixed by https://github.com/cvik/heja/pull/7

repo: cvik/heja


text:
Add support for factory-based Flask initialization

Flask application can be created with create_app factory. This way is preferable if we don't want to initalize the web server when invoking filabel from CL. With this change we can test programs written using any of the two approaches.

330f5e6c994456ca9

Thank you!

authors: hroncok metopa

repo: cvut/filabel


text:
ImportWarning when using Elemental v0.85

CVXPY ver 0.4.2, Elemental v0.85, mpich-3.2, on CentOS 7, and tested "import El" with no warnings or errors.
however when solving linear prog using cvxpy.ELEMENTAL I got the following:
"Not importing directory '/home/hyan/miniconda2/envs/algo/lib/python2.7/site-packages/El/core/environment': missing init.py"
warning will be gone if silencing ImportWarning. after that, I got an error when solving:
'module' object has no attribute 'WorldSize'
it seems that the problem is the following code in cvxpy/cvxpy/problems/solvers/elemental_intf.py:
line 165:       worldSize = El.mpi.WorldSize()
and looks like dir(El.mpi) does not contain the "WorldSize" function, only "WorldRank" and "Size". but I do see a WorldSize() function defined in Elemental's bleeding-edge code. Is this a version issue?

That's right, you need Elemental v0.86. v0.85 doesn't have an interior point solver, so the cvxpy interface wouldn't do anything even if all the APIs matched up.

Sorry. I have been selfishly adding features instead of packaging up releases. There is growing dissent for this reason (here)[https://gitter.im/elemental/chat#utm_source=notification&utm_medium=email&utm_campaign=unread-notifications] if you want to add your voice.

authors: SteveDiamond poulson shadowleaves

repo: cvxgrp/cvxpy


text:
Ties incorrectly assigned as outcomes

Sport
Football
Summary
When populating the Team.outcomes attribute, the logic only considers three outcomes: Undecided (games that haven't been completed yet), Win, and Loss.
def _get_winner(self, winner: str, is_away: bool) -> str:
    if winner == "UNDECIDED":
        return "U"
    elif (is_away and winner == "AWAY") or (not is_away and winner == "HOME"):
        return "W"
    else:
        return "L"

Though ties are very rare (and even further, ties in a league that doesn't use tiebreakers), they happen. I just noticed in a league of mine from 2021, this value was wrong. In the event of a tie, both teams are given losses according to this logic.
A snapshot of what the data metadata looks like in events of a tie:
{'away': {'cumulativeScore': {'losses': 0,
   'scoreByStat': { ... },
   'statBySlot': None,
   'ties': 0,
   'wins': 0},
  'gamesPlayed': 0,
  'pointsByScoringPeriod': {'8': 108.82},
  'teamId': 1,
  'totalPoints': 108.82},
 'home': {'cumulativeScore': {'losses': 0,
   'scoreByStat': {...},
  'totalPoints': 108.82},
 'id': 29,
 'matchupPeriodId': 8,
 'winner': 'TIE'}

Logs/Data
No response

Thanks for fixing!!


text:
Link to your blog post in the Readme

There's a lot of great info info in your blogpost that isn't in the Readme. Why not link to it?
https://www.christianwerner.net/tech/Build-your-image-dataset-faster/

Thanks for the nice words!
That's actually a good idea... I planned on refreshing my side and this repo (was all going stale since I changed positions)... but this I can do right away ;-)

And done! There will be some fixes to fastclass (i.e. a Google crawler) hopefully soon, too...

authors: cwerner mpoisot

repo: cwerner/fastclass


text:
Updating to latest rascal and rascal-maven-plugin

Updating

rascal: 0.40.14
rascal-maven-plugin: 0.28.8

A RELEASE-NOTES.md is currently missing, which makes the tutor fail the build

repo: cwi-swat/rascal-git


text:
[Icon request] Star icon

Hello! I would love to have star variants of the heart icon. Your icons look great so far, keep up the great work!

Thanks.
Added bunch of star icons: https://github.com/cyberalien/line-md/commit/5a1562950e8f934f97f3542d07bc1a293d79634a
They'll be available in Iconify tomorrow after update script runs.

Thanks a lot btw!

authors: J-Groen cyberalien

repo: cyberalien/line-md


text:
Add CI pipeline

This project does not have a Jenkinsfile and so does not currently have a CI pipeline.

Add Validate CHANGELOG test to Jenkinsfile when this is created.
Ex: https://github.com/cyberark/summon-chefapi/issues/5

authors: JakeQuilty doodlesbykumbi

repo: cyberark/summon-chefapi


text:
ask for help

hello , could you tell how me how to caculate wave force and moments,  current force and moments,I have some problems when I do it. If proper,  give programs . Thanks very much!

We have computed the hydrodynamic data using WAMIT and/or ShipX. The configuration of these programs is critical, see enclosed guide.
Thor

On 10 Jan 2021, at 09:31, Barry-github notifications@github.com wrote:
hello , could you tell how me how to caculate wave force and moments, current force and moments,I have some problems when I do it. If proper, give programs . Thanks very much!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub https://github.com/cybergalactic/MSS/issues/9, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKOYSCJ3ONN4W5BXGEQWSMLSZFQX5ANCNFSM4V4H5C7Q.

We have computed the hydrodynamic data using WAMIT and/or ShipX. The configuration of these programs is critical, see enclosed guide.
Thor

On 10 Jan 2021, at 09:31, Barry-github notifications@github.com wrote:
hello , could you tell how me how to caculate wave force and moments, current force and moments,I have some problems when I do it. If proper, give programs . Thanks very much!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub https://github.com/cybergalactic/MSS/issues/9, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKOYSCJ3ONN4W5BXGEQWSMLSZFQX5ANCNFSM4V4H5C7Q.

authors: Barry-github cybergalactic

repo: cybergalactic/MSS


text:
chore(META): add step for yarn installation to CONTRIBUTING.md

[ ] I added new tests for the issue I fixed/built
[ ] I ran make test FOO for the package FOO I'm modifying
[x] I used make commit instead of git commit

Seems like a decent reminder. Thanks

authors: craigmichaelmartin staltz

repo: cyclejs/cyclejs