Copy emptied Script and LangSys records between GSUB and GPOS if missing

This replicates VOLT’s and FontForge’s behaviour of adding empty Script and LangSys records if one of GPOS or GSUB is empty. Older versions of Uniscribe need Script and LangSys to be in both GPOS and GSUB for features to be applied in some cases.
See https://github.com/googlei18n/fontmake/issues/258

Actually, to be clear, if they are in one OT table but not the other, FontForge copies empty ScriptRecords, whereas VOLT copies empty ScriptRecords and LangSysRecords.

I prefer to do the absolute minimum required by Win XP.  What other tools do is of little importance IMO.

what's the status of this?

We need to find an environment where we can replicate the issue to see what is actually needed. I haven’t had a change to set up those tests yet.

Given the status, what's the plan here?

What was the original issue? (I got lost in the fontmake issue linked above). I have a working Windows XP VM if that is of an help checking this.

@khaledhosny the original PR description says:

This replicates VOLT’s and FontForge’s behaviour of adding empty Script and LangSys records if one of GPOS or GSUB is empty. Older versions of Uniscribe need Script and LangSys to be in both GPOS and GSUB for features to be applied in some cases.

But given that FontForge actually only copies empty ScriptRecords, we need to know if that is good enough for older versions of Uniscribe.

I understand this, but what is actually broken currently. In other words, how do I test this to verify what is enough?

Take an Arabic or Hebrew font, empty the Language records in one of the tables and see if the Lookups in the other table still work.

This comment in FontForge code might be interesting: https://github.com/fontforge/fontforge/blob/cec4a984abb41419bf92fc58e5de0170404f0303/fontforge/lookups.c#L309-L334

Sergey Malkin from MicroSoft tells me:

Each shaping engine in Uniscribe can decide on its requirements for
layout tables - some of them require both GSUB and GPOS, in some cases
any table present is enough, or it can work without any table.
Sometimes, purpose of the check is to determine if font is supporting
particular script - if required tables are not there font is just
rejected by this shaping engine. Sometimes, shaping engine can not just
reject the font because there are fonts using older shaping technologies
we still have to support, so it uses some logic when to fallback to
legacy layout code.
In your case this is Hebrew, where both tables are required to use
OpenType processing. Arabic requires both tables too, Latin requires
GSUB to execute GPOS. But in general, if you have both tables you should
be safe with any script to get fully featured OpenType shaping.

In other words, if we have a Hebrew font with just GPOS features they won't work,
and MS will not use the font at all. We must add a GSUB table. In the unlikely
event that we had a hebrew font with only GSUB it would not work either.
So if we want our lookups to have a chance of executing under Uniscribe we
better make sure that both tables have the same script set.
(Sergey says we could optimize a little: A Latin GSUB table will run without
a GPOS, but he says the GPOS won't work without a GSUB.)

I tested on Windows XP:

Missing GSUB or GPOS: font is installed but Arabic text uses fallback font.
GSUB and GPOS with empty ScriptRecords: font is installed but Arabic text uses fallback font.
GSUB and GPOS with empty ScriptRecords, FeatureList and LookupList (FontForge output): Font is used for Arabic.
GSUB and GPOS with empty arab ScriptRecord, FeatureList and LookupList (FontForge output): Font is used for Arabic.
The reverse seems to be true.

So I think the minimum is to do what this PR is doing for non-DFLT scripts, as copying DFLT seems to be superfluous.

Or may be copy DFLT as well, just in case.

Can we resurrect this? Or do we not care about WinXP anymore?

Or do we not care about WinXP anymore?

I'd say we close until someone does care enough to resurrect this.


Check lightweight edges on vertex delete

OrientDB Version: 2.2.30
Expected behavior
Vertices are correctly updated when a vertex linked with lightweight edges is removed
Actual behavior
Stale links
Steps to reproduce
Enable Lightweight Edges
CREATE CLASS SimpleV EXTENDS V
CREATE CLASS SimpleE EXTENDS E
INSERT INTO SimpleV CONTENT {"name":"A"}  // this is #25:0
INSERT INTO SimpleV CONTENT {"name":"B"}  // this is #25:1
CREATE EDGE SimpleE FROM #25:0 TO #25:1
SELECT FROM SimpleE  // empty result, provides that Lightweight Edge was used
DELETE VERTEX #25:1
SELECT FROM SimpleV  // returns #25:0, with OUT still showing link to #25:1

Is this bug scheduled for a fix?


dependsOn field-attribute from parent relation

Hello,
Is it possible to check a field-attribute from parent relation?
e.g. I have a question model and there I choose the type (e.g. checkboxes, or radio buttons, or text). I have a answer model and depending on the question-type I want to show a a addition visual-field.
I tried the dot-notation to climbing through the relation
dependsOn('contentQuestion.inputType', '8') but it doesn't work. Has anyone tried the same?

@Fabio1988 I need to know the content of contentQuestion.
Is this a BelongsTo component or just an array/object, if so, whats the structure?
The dependsOn() method relies on the input form name, e.g. In your example contentQuestion is the form field (e.g. attribute) and .inputType is the property on the resource.
If we have a resource Post and the resource has a field select_name. The following happens.
Select::make('Some select', 'select') // => form attribute (e.g. name)
->options([
    ['select_name' => 'Val 1'], // select_name represents the value to be filled in the resource
    ['select_name' => 'Val 2'],
]);

NovaDependencyContainer::make([ .. ])
// depend on field `select`, should have an object with property `select_name` and
// the resource Post` has a property `select_name` in defined Model.
->dependsOn('select.select_name')

Now you might see the problem that the NovaDependencyContainer is at the moment not dynamically enough to have distinguish field.attribute and resource.property because it is applied in as one argument.
I thinking of change where, if you need to apply the value to a resource, but the field and property are completely different, it needs to work something like:
->dependsOn('select.select_name')
->appliesTo('resource.attribute')

Any thoughts or suggestions would be welcome ..


serve original stream also

One of the options should be the original stream. would be nice if it was the non transcoded version, but you'd know better if that's possible or not.

Handled on the frontend.


unable to compile znc+modpython with python3.5

centos 6.7 x86
znc-latest
python 3.5 installed to /opt/python3/
[root@h znc-1.6.3]# python3 --version
Python 3.5.1

wget http://znc.in/releases/znc-latest.tar.gz
tar -xzvf znc*.*gz
cd znc*
echo "/opt/python3/lib" >> /etc/ld.so.conf
ldconfig
PKG_CONFIG_PATH=/opt/python3/lib/pkgconfig python_LIBS="-L/opt/python3/lib/ -lpython3.5m -lutil" ./configure --enable-python --disable-swig
export LD_LIBRARY_PATH=/opt/python3/lib
make

configure:
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether /opt/centos/devtoolset-1.1/root/usr/bin/c++ accepts -g... yes
checking whether /opt/centos/devtoolset-1.1/root/usr/bin/c++ supports C++11 features by default... no
checking whether /opt/centos/devtoolset-1.1/root/usr/bin/c++ supports C++11 features with -std=c++11... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for grep that handles long lines and -e... /bin/grep
checking for a sed that does not truncate output... /bin/sed
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking whether the -Werror option is usable... yes
checking for simple visibility declarations... yes
checking for git... /usr/bin/git
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking whether compiler predefines _FORTIFY_SOURCE... no
checking for getopt_long in -lgnugetopt... no
checking for lstat... yes
checking for getopt_long... yes
checking for getpassphrase... no
checking for library containing dlopen... -ldl
checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... no
checking whether pthreads work with -Kthread... no
checking whether pthreads work with -kthread... no
checking for the pthreads library -llthread... no
checking whether pthreads work with -pthread... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... no
checking for PTHREAD_PRIO_INHERIT... yes
checking whether getaddrinfo() supports AI_ADDRCONFIG... yes
checking for openssl... yes
checking whether openssl is usable... yes
checking whether zlib is usable... yes
checking for icu... no
configure: WARNING: support for charset conversion not found and thus disabled
configure: modperl/modpython files are found, disabling SWIG
configure: modperl/modpython files are found, no SWIG needed
checking for python... yes
checking for Py_Initialize... yes
checking for perl... /usr/bin/perl
checking for GNU make... /usr/bin/make
configure: creating ./config.status
config.status: creating Makefile
config.status: creating znc-buildmod
config.status: creating man/Makefile
config.status: creating znc.pc
config.status: creating znc-uninstalled.pc
config.status: creating modules/Makefile
config.status: creating include/znc/zncconfig.h
config.status: include/znc/zncconfig.h is unchanged

ZNC 1.6.3 configured

prefix:       /usr/local
debug:        no
ipv6:         yes
openssl:      yes
dns:          threads
perl:         no
python:       yes
swig:         not needed
cyrus:        no
tcl:          no
charset:      no (icu-uc not found via pkg-config)
zlib:         yes
run from src: no

Now you can run "make" to compile ZNC

make:
Packing man page znc.1.gz...
Packing man page znc-buildmod.1.gz...
Building ZNC python bindings library...
c++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://bugzilla.redhat.com/bugzilla> for instructions.
make[1]: *** [modpython/_znc_core.o] Error 4
make: *** [modules] Error 2

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/31626393-unable-to-compile-znc-modpython-with-python3-5?utm_campaign=plugin&utm_content=tracker%2F1759&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F1759&utm_medium=issues&utm_source=github).

Could you check your logs (e.g. dmesg) and see if your computer had an out-of-memory condition and then killed the compiler due to that?

I am sure it's OOM which is also documnted at http://wiki.znc.in/FAQ#The_compiler_dies_saying_it_has_not_enough_memory.21_.2F_g.2B.2B:_internal_compiler_error:Killed.28program_cc1plus.29.

it probably was an OOM error since this vps only has 128mb of ram
i just tried ./configure --disable-optimization CXXFLAGS="--param ggc-min-expand=2 --param ggc-min-heapsize=20000" as shown on the wiki but it still stopped
ill try the swap method now

welp, looks like my vps doesnt allow me to set swap

and yeah @psychon [18249550.107212] Out of memory in UB 53262: OOM killed process 27028 (cc1plus) score 0 vm:181336kB, rss:105028kB, swap:61200kB

could that ./configure line be modified to maybe be even slower or something? i dont see what else can be done

You won't be able to compile modpython (or modperl) with 128 MB of RAM. 1 GB would be more appropriate amount.
I'd advice to use precompiled version, but EPEL doesn't seem to support modpython... You can try to build .rpm yourself though on another machine, which has more RAM.

the closest thing to the latest version i could find on google was http://centos-mirror.rbc.ru/pub/fedora/linux/updates/22/i386/z/
which has znc-modpython-1.6.2-1.fc22.i686.rpm. i wonder if thats legit. the url is confusing though and i wonder if it works on both fedora and centos
but anyway im not interested in using an older version. maybe i can compile it on my server which has more RAM and copy the files over?

If your server has the same OS and architecture, sure. That's basically what I've suggested, except that .rpm isn't really needed to copy files from one machine to another.
make install DESTDIR=/tmp/zncpkg will give you tar'eable dir which you can unpack to / on the other server.

thanks for all the help, your suggestions worked


Inconsistent error message with sol.retcode

I am calling repeatedly IRKGL16 using the following logic, to cope with possible failures of the adaptive step control by switching to a fixed step integration strategy:
       if dt == 0
         sol = solve(prob, IRKGaussLegendre.IRKGL16(maxtrials=4); adaptive = true, reltol, abstol, save_everystep = false)
         @show sol.retcode
         if sol.retcode !== ReturnCode.Success
            sol = solve(prob, IRKGaussLegendre.IRKGL16(); adaptive = false, reltol, abstol, save_everystep = false, dt = abs(tf-t0)/100)
         end
       else
         sol = solve(prob, IRKGaussLegendre.IRKGL16(); adaptive = false, reltol, abstol, save_everystep = false, dt)
       end

The following messages indicate Success of a certain call and then the failure of the next call with adaptive step..
sol.retcode = SciMLBase.ReturnCode.Success
Failure (adaptive step): maximum number of trials=4 at step=8 dt=0.39772799409784004

After the last message the sol.retcode is not printed. I would expect  sol.retcode = ReturnCode.Failure, but nothing is displayed. I wonder why?

Sorry for this message. The two error messages result from a different context and they are OK.


Dropdown pop-over configurable with max-width

#97 introduced a sensible default for sizing the pop-over used to pick values from the dropdown.
As a further enhancement to this component's API, I would suggest the following:

Make the component configurable by the implementer to include a max-width
When no max-width is supplied by the implementer, default to the behavior introduced in #97
When a max-width is supplied, set the dropdown to the max-width and truncate all values that are wider than the max-width
If the content of the dropdown is narrower than the max-width, size it to accommodate the content and not wider.

Rationale: At design time, the average length of dropdown content is usually known. For usability purposes, minimizing the number of items that have to be truncated is optimal.
Problems/Questions: How to make this behavior responsive?

@fragsalat still open I guess ?

Ah sry it's closed already by #123


Support jTDS driver connection strings for SQL Server

The JDBCConnectionUrlParser supports a number of databases and the associated connection strings for their drivers. Our company uses both the Microsoft driver and open source jTDS driver for connecting to SQL Server databases. The url parsing logic in this class does not currently support that required by the jTDS driver.

I can contribute the additional parsing logic for this connection string if that is acceptable.

That would be awesome! Assigning this issue to you 😄.


amend: updated deps

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Preformat

Why
As requested in #966 we want to support preformat blocks.
What
This PR contains necessarily schema changes for using preformat tag as well as converters, styles and command. It also removes any ability to use code tag since we are not allowing usage of few tags per use case.

This is looking good.
@Integral Should we do something about the anomality of parseSnippet in presence of CDATA, i.e. do you think this is inconsistent?

@oliver---- good question
It's not very consistent indeed.
I think that we should do some iteration on CDATA, there is a bug there, which I described here: https://github.com/substance/substance/issues/1233, it's getting important with block formulas.
Generally speaking I think that as an API user I would expect to get CDATA content in the same way as regular textual data, without any additional calls. If it's possible.

I'll try this out and then merge.

It's not very consistent indeed.
I think that we should do some iteration on CDATA, there is a bug there, which I described here: substance/substance#1233, it's getting important with block formulas.
Generally speaking I think that as an API user I would expect to get CDATA content in the same way as regular textual data, without any additional calls. If it's possible.

I will track this in Substance

Thank you!

https://github.com/substance/substance/issues/1234

rebased.


New release

This is really useful for me and I was wondering if you could publish a new release, which removes the nightly requirements. Thank you

@withoutboats can you please release it? We'd like to depend on it and would prefer not to depend on an unreleased revision.

Sorry for the incredibly delayed response. If anyone wants to take over maintainership of this crate, I will happily pass ownership to them. I can't currently maintain open source libraries, and the original intention of this crate was mainly to demonstrate the soundness of the API. If anyone wants a pinned version of RefCell and wants to use this crate name to maintain it, please let me know.

@withoutboats happy to take it for now, I think it is still quite useful for some folks.

@dignifiedquire transferred to you!

0.2.0 is now released. Thank you @withoutboats


Add support for tessellation control, tessellation evaluation and compute shader

Hi @StailGot, thanks for the PR!
I think it's the right thing to do to drop the .(v|f|g).glsl, _(v|f|g).glsl, .(v|f|g)sh and .(v|f|g)shader file extensions but this has made the tests fail because there were tests for each of the file extensions.
Here is a patch that fixes the broken tests and adds in new ones for tese, tesc and comp shaders: https://gist.githubusercontent.com/andystanton/fc2efb9e9884cc7c5c60/raw/d7b6e429c09d4e94da5266a6feb1d15ecd113ee1/test-fixes-23.patch
You can run the tests locally with apm test.

Hi @andystanton.
Thanks for fast response.
Patch applied, and all tests correct now.

Thanks @StailGot.
I've published a new major version of linter-glsl as this change breaks compatibility with some previously supported (though unofficial) shader filename patterns.


update queries

Per our recent discussions, this PR:

adds MinRTT to up/down descriptive statistics
adds ASN as the last level of aggregation for all geographies
supercedes changes approved in #23

We had also discussed changing the buckets for histograms. @pboothe we would appreciate your thoughts on how to best do that in a follow up PR, or in this one if you prefer.

This change is

Change the .2 on lines 4 and 5 to, say, .5 or 1 to make the buckets bigger and to therefore have fewer buckets.
I think you might want to use GENERATE_ARRAY(-1, 4, .5)

@pboothe @robertodauria This PR is now ready for review. Adds an ASN aggregation query to all geographic levels, and keeps the geographic aggregation queries without ASN so we have both. Updates to the bucket generation code were provided by @pboothe and added the query sharding for use in the pipeline.


keybinding not working correctly

I tried setting a keyboard binding to ctrl + pageup and ctrl + pagedown and any of the key bindings doesn't work, appears as "5~" and ";5~" and doesn't execute the action (focus tab left and focus tab right respectively).
Tested in kde and gnome in linux x11 and wayland.

yep, I see the same thing.

Fixed in 0.67.


(chore): adding appium-flutter-poc

Description

Type of Change

[ ] ✨ New feature (non-breaking change which adds functionality)
[ ] 🛠 Bug fix (non-breaking change which fixes an issue)
[ ] ❌ Breaking change (fix or feature that would cause existing functionality to change)
[ ] 🧹 Code refactor
[ ] ✅ Build configuration change
[ ] 📝 Documentation
[ ] 🧪 Tests
[ ] 🗑 Chore

Please ignore this PR, it was supposed to go to my forked repo 😄


Update Hero Icon Placement - pin to the right

Bug/issue #, if applicable: 89970511
Summary
With this PR, we will only have 1 icon pinned to the right in the hero section.
I also removed the white space in the SVG of the 4 icons used in the hero section to comply with the design.
Checklist
Make sure you check off the following items. If they cannot be completed, provide a reason.

[ ] Added tests - NA
[x] Ran npm test, and it succeeded
[ ] Updated documentation if necessary - NA

Looks good to me! Approved.

@swift-ci test

@swift-ci test

@swift-ci test

@swift-ci test


Diagnostic clean slate and initial features

Removes existing DiagnosticSources (for now)
Add OpenTelemetry Activity support for product calls
Support optional disabling of Auditing for performance scenarios
Misc type cleanup

Ahh OK, I think it would have been better if this was more explicitly a feature of transport rather than it having intrinsic knowledge of one of its consumers.
E.g a ProductRegistration could configure this and potentially add more properties to the activity through a callback.

Yeah, I did consider that, and we may still refactor with more time to decide on the approach. One of the main blockers was that at transport level, we have the URL for the request but not the path template. We wanted to use the lower cardinality template to name the span. One option was passing the matched URL template in the request payload for transport to grab, but that added allocations, so it made sense to start and name the span in the client for that reason.


Most effective way of working with IoC containers and injected verbs?

 Issue by dmoonfire
Sunday Jan 15, 2017 at 05:14 GMT
Originally opened as https://github.com/gsscoder/commandline/issues/404

So, I'm fond of IoC builders (Autofac, Ninject, etc). We are building up a command line that has pluggable verbs. In most cases, the IoC containers return actual instances of objects, not types. I'm currently using the system to build up a list of types.
var container = ...;
var verb = container.Resolve<ICommands>();
var verbTypes = verb.Select(v => v.GetType()).ToArray();
var results = Parser.Default.ParseArguments(args, verbTypes);

This can be inefficient. Is there a way of putting the resolved classes directly in without using types or knowing all the verbs ahead of time?

 Comment by nemec
Tuesday Jan 17, 2017 at 03:47 GMT

No, I think that's the only option. After all, commandline doesn't know anything about your ICommands interface, you have to tell it which types to use. There may be a way to get the types without creating an implementation though, depending on your container.


Getting an exception during a fetchAll in defaultSignature in repository.js

Worked around this by changing the test of name from
if( !result.name() )
to
if( !result || !result.name() )
I am not sure if this is the correct place to address the issue (i.e. should signature object ever come back as null??).

#577 implements this.


refactor(dnsmasq): make signal_dhcp_process() const

Make the dhcp_bin_path parameter to signal_dhcp_process() const.
Because we call basename() on this value, which may change the input string, we need to first make a temporary copy of the string into a buffer.

Awesome, it looks like this fixed a failing test in FreeBSD :)
Apparently running basename("this-is-a-string-constant"); on Linux is fine, but on FreeBSD it causes a segmentation fault!


Bluetooth audio device disconnects shortly after sleep and resume

Latest arkos (25 Jan 2023) on RG353VS
Describe the Issue (If applicable)
When sleeping and resuming, bluetooth audio stops moments after resuming.  Sound is played for a short while (1 second or so) before it stops and the game continues in silence.  The bluetooth device actually becomes disconnected and needs to be "activated" again in the bluetooth menu.
How can the issue be reproduced? (If applicable)
Connect to bluetooth audio.
Start a game (I was in a mega drive game, not sure if relevant).
Sleep the device.
Wake the device.
Observe that the audio resumes momentarily and then cuts out.
Then go into the bluetooth menu and you will be able to confirm that the bluetooth device is not connected anymore.
What device are you using?
RG353VS
What version of ArkOS are you on?

You can find this during the initial boot process right before the Emulationstation loading screen

Arkos 2.0 (01252023)
Anything else you'd like to include that may help to review this issue or feature request?
Audio device is an Edifier NB2 Pro, it's just a set of bluetooth earbuds.
The amount of time it was asleep for doesn't seem to make a difference, even sleeping for 30 seconds does it.
It is particularly interesting that the headphones did not disconnect while asleep, because sound resumes through the headphones for a little while after waking, before then disconnecting.

Hi,
Be aware that reconnection upon wake can take up to 30 seconds to complete which could include a disconnect and reconnect during that time, however, per the changelog from 12/23/2022, a workaround for auto reconnecting connected bluetooth devices upon wake from sleep was added but may not always be reliable.  It's been reliable for me using a philips and anker bluetooth device, but no guarantee it will be consistent.   Reliability will hopefully improve overtime with future updates of bluetooth audio when they occur.
Thanks,

Just tried and can confirm it did disconnect and then reconnect some time later (maybe 30 seconds).
I'm skeptical that the disconnect is needed as it seems to work for that short time after waking before it disconnects - I assume the disconnect/reconnect was done for compatibility with some kind of misbehaving devices

That’s correct.  My Philips BT headphone would reconnect upon wake without issue but my anker unit would not.  I also got reports from others with the same occurrences.


Implement board_url, board_local

This board appears fairly straightfoward.
board_url

Read only
Option to set whether or not to use_cache_on_failure
Example reads boards stored in the github repo's test folder

Note that I think the http implementation in fsspec should work? (and that would give us easy caching)
board_local

use appdirs to access user_data_dir("pins")
allow env var PINS_DATA_DIR to configure?

Implemented in #46


Simple variant of the RNT env

This PR introduces a variant of RNT where the objects are spaced such that it's generally not possible to be nextTo more than one at a time. This serves as a useful (simple) test environment for seeing if we can efficiently invent predicates.
Result of running OG predicate invention approach with pnad_search strips learner:
AGGREGATED DATA OVER SEEDS:
                                                NUM_TRAIN_TASKS    NUM_SOLVED AVG_NUM_PREDS AVG_TEST_TIME AVG_NODES_CREATED       LEARNING_TIME AVG_REF_COST  NUM_SEEDS
EXPERIMENT_ID                             CYCLE
rnt_simple-invent_allexclude_backchaining None     50.00 (0.00)  50.00 (0.00)   6.10 (0.30)   0.01 (0.01)       6.12 (0.71)  13711.14 (3965.85)  0.16 (0.00)         10

From discussion with Nishanth:
@ dot_x = d_num * self._nextto_thresh * 2.1, depending on what's in the grammar, the corresponding "nextto" predicates in the grammar may still turn on/off in a way that requires us to have them as ignore effects -- so this environment doesn't let us not have to deal with ignore effects during predicate invention. It just has the ground truth predicates not lead to ignore effects in learned operators. But, it's important to note that this happens in any environment when doing predicate invention with a grammar -- we always have random things turning on/off.
The use of this environment then might be that you can run cluster_and_intersect and still get a proper theory -- so it can be useful as a debugging tool.


countRepeats doesn't work as advertised

The docs for countRepeats say it should "[c]ount the number of times a sequence is repeated in the input sequence that was used to construct the suffix tree."
This works for some examples - the string "aba" should occur 4 times in "abab abac abad abaa"
λ SuffixTree.countRepeats "aba" $ SuffixTree.construct "abab abac abad abaa"
4

But not for others - the string "aba" should occur 4 times in  "bababababab"
λ SuffixTree.countRepeats "aba" $ SuffixTree.construct "bababababab"
1

This is likely related to issue #4. When constructing trees, it is necessary to terminate the input string with a character that does not occur at any other location in the string. Otherwise, the tree will not have the expected properties. Adding a $ character to the input string in the above example resolves the problem.
λ SuffixTree.countRepeats "aba" $ SuffixTree.construct "bababababab$"
4


Additional stuff

Shall we add posters/presentations here too, or shall I do another repo for that? :smiley:

Hmmm hard to say :) I still have the PLOS ONE paper repo too, i guess if it's already in a repo it can be moved?

Yes, feel free to move the paper, your repository is origin right?

Looks like gedankenstuecke/opensnp_paper has newer commits than mine

ah, it was fabians originally, so i just transferred mine :smiley:

And I think I will just do two repos: One for talks, one for posters. Then we can share those as well. :)


[Bug]: Label does not show on top of Password text inputs when resized

Is there an existing issue for this?

[X] I have searched the existing issues

Description
Normally When a Text input is resized the Label moves to its top. But for Password Text inputs this behaviour does not happen.
https://user-images.githubusercontent.com/37867493/160695912-bfcbd25b-258b-4f6b-9cdd-92cc3a17d612.mov
Steps To Reproduce

Add an Input widget on canvas
Add a Label to it
Drag the input down and notice that the Label aligns to the top
Switch Data type to Password
Watch this alignment fail.

Public Sample App
No response
Version
1.6.16

@somangshu @Irongade since we're now giving users the explicit control in the input to do this, we don't need to solve this issue right?

Linking to #7064, @wmdev0808 please update the description of the pr to also add this issue

This issue is now resolved. Based on the Feature 10600 that has been implemented, the controls have been given to user to set the size, position, width etc for the Label parameter. Works fine.


modification of Adjusted_SharpeRatio

It now can pass the test

Modified testing file and corrected Adjusted_SharpeRatio.sas file.


5.0.0-M3: HTML report Vulnerable Software & Versions not displayed properly

Describe the bug
The Vulnerable Software & Versions string is not properly generated. It is always displayed with the string
* $enc.html($vuln.matchedVulnerableSoftware.toString())
* ...

See https://gist.github.com/albuch/2186cb4885e296d859ad0d1d4efa4e23
If the list can be opened the uncollapsed list is displayed correctly.
Version of dependency-check used
5.0.0-M3
To Reproduce
Steps to reproduce the behavior:

Create HTML report for at least one vulnerable dependency

Expected behavior
Correctly displayed Vulnerable Software & Versions

Thanks for pointing this out!  This appears to mainly affect findings from the RetireJS analyzer.


[TECH-88] add staff pictures

Asking for review on this cause it's done for now, but we should really look into loading times for our images cause the preview build is superrrr slow 😢 ⌛

each images profiles need to be max like 500-700kb, it's because they're like 2-5 mb at the moment


Initial librocket integration for examples

available here: https://github.com/jaynus/bgfx-rocket
I was currently slightly too lazy to actually integrate it into the examples framework, so I have provided the code in a separate repo.
This is here for inclusion or a dump in there if you would like it.

Cool! Can you add screenshot so that I can add it to the list of projects using bgfx?

You should use transient buffers instead creating/destroying static buffers:
https://github.com/jaynus/bgfx-rocket/blob/master/RocketBgfxInterface.cpp#L56


Bug report: Closing 'body' tag isn't formatted correctly

Here's the text I pasted into jsbeautify.com:
<!DOCTYPE html><meta charset="UTF-8">
Hi!

After beautifying, most of the text is formatted and indented properly, except for the closing body tag.
<!DOCTYPE html>

    <meta charset="UTF-8">

Hi!

Basically, the  tag remains at the end of its line instead of moving down to a new line.
This issue also occurs in the Sublime-HTMLPrettify plugin (I earlier posted a bug report at https://github.com/victorporof/Sublime-HTMLPrettify/issues/284).

Also encountering this issue, which appears to have occurred between 1.5.4 and 1.5.5, in case that helps.


Release 0.55.2

Description:

Do not auto-install credstash (@balloob #9844)

Does this merge trigger the docker build for the tag latest?

Yes, Docker builds are based on releases. In the past sometimes the triggering didn't work.


fix typo

It should be handlr instead of handler for config path.

Thanks for catching it! Would you mind changing the commit to something that begins with fix:?

LGTM! Thank you!


username doesnt allow "-"

Hi,
the rules for the username don't allow "-" [minus] : can this be "opened" ?
Thanks Philipp

At the moment, the only way to do this is overriding rules method of User model. I'm thinking on how to provide easy way to change validation rules, but I don't think this will be implemented soon.

Changed rule in 'local' Model and Works Fine! Thanks! No Need to change, just add docs?;)


Replaced the Seqhash sequencetype with Struct type argument instead of a plain string..

Replaced the sequenceType argument with an Enum.
Currently using the direct const type enum.
Addressing - #264

@TimothyStiles can we close this?

@TimothyStiles fix the discord hooks!

Other than that, LGTM. Lots of little linter changes that I'm cool with

@TimothyStiles fix the discord hooks!

on it now.

@TimothyStiles I'm not sure why this is still failing. I merged your PR 😕

No issues ! Let's keep this rolling, let me know if there are other issues you need help on.


Loot Table Manager error with Buried Treasure

Forge Version: 31.2.31
Bound Totems: 1.3.0
Hi! I'm trying to diagnose an issue where loot fails to generate in a handful of chests, sporadically. While I do not think it is your mod causing it, I did come across this in my server log, and thought I should report:
[08Jul2020 20:07:39.764] [Server thread/ERROR] [net.minecraft.world.storage.loot.LootTableManager/]: Couldn't parse loot table minecraft:chests/buried_treasure
java.lang.NullPointerException: null
	at net.minecraft.world.storage.loot.LootTable.lambda$addPool$2(LootTable.java:236) ~[?:?]
	at java.util.stream.MatchOps$1MatchSink.accept(MatchOps.java:90) ~[?:1.8.0_242]
	at java.util.ArrayList$ArrayListSpliterator.tryAdvance(ArrayList.java:1359) ~[?:1.8.0_242]
	at java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:126) ~[?:1.8.0_242]
	at java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:499) ~[?:1.8.0_242]
	at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:486) ~[?:1.8.0_242]
	at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:472) ~[?:1.8.0_242]
	at java.util.stream.MatchOps$MatchOp.evaluateSequential(MatchOps.java:230) ~[?:1.8.0_242]
	at java.util.stream.MatchOps$MatchOp.evaluateSequential(MatchOps.java:196) ~[?:1.8.0_242]
	at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ~[?:1.8.0_242]
	at java.util.stream.ReferencePipeline.anyMatch(ReferencePipeline.java:516) ~[?:1.8.0_242]
	at net.minecraft.world.storage.loot.LootTable.addPool(LootTable.java:236) ~[?:?]
	at com.github.phylogeny.boundtotems.CommonEvents.modifyChestLootTables(CommonEvents.java:47) ~[?:1.15.2-1.3.0]
	at net.minecraftforge.eventbus.ASMEventHandler_361_CommonEvents_modifyChestLootTables_LootTableLoadEvent.invoke(.dynamic) ~[?:?]
	at net.minecraftforge.eventbus.ASMEventHandler.invoke(ASMEventHandler.java:80) ~[eventbus-2.2.0-service.jar:?]
	at net.minecraftforge.eventbus.EventBus.post(EventBus.java:258) ~[eventbus-2.2.0-service.jar:?]
	at net.minecraftforge.event.ForgeEventFactory.loadLootTable(ForgeEventFactory.java:642) ~[?:?]
	at net.minecraftforge.common.ForgeHooks.loadLootTable(ForgeHooks.java:834) ~[?:?]
	at net.minecraft.world.storage.loot.LootTableManager.lambda$apply$0(LootTableManager.java:46) ~[?:?]
	at java.util.HashMap.forEach(HashMap.java:1289) ~[?:1.8.0_242]
	at net.minecraft.world.storage.loot.LootTableManager.func_212853_a_(LootTableManager.java:44) ~[?:?]
	at net.minecraft.world.storage.loot.LootTableManager.func_212853_a_(LootTableManager.java:22) ~[?:?]
	at net.minecraft.client.resources.ReloadListener.func_215269_a(SourceFile:13) ~[?:?]
	at java.util.concurrent.CompletableFuture.uniAccept(CompletableFuture.java:670) ~[?:1.8.0_242]
	at java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:646) ~[?:1.8.0_242]
	at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:456) ~[?:1.8.0_242]
	at net.minecraft.resources.AsyncReloader.func_219557_a(SourceFile:71) ~[?:?]
	at net.minecraft.util.concurrent.TickDelayedTask.run(SourceFile:18) [?:?]
	at net.minecraft.util.concurrent.ThreadTaskExecutor.func_213166_h(SourceFile:144) [?:?]
	at net.minecraft.util.concurrent.RecursiveEventLoop.func_213166_h(SourceFile:23) [?:?]
	at net.minecraft.server.MinecraftServer.func_213166_h(MinecraftServer.java:731) [?:?]
	at net.minecraft.server.MinecraftServer.func_213166_h(MinecraftServer.java:141) [?:?]
	at net.minecraft.util.concurrent.ThreadTaskExecutor.func_213168_p(SourceFile:118) [?:?]
	at net.minecraft.server.MinecraftServer.func_213205_aW(MinecraftServer.java:714) [?:?]
	at net.minecraft.server.MinecraftServer.func_213168_p(MinecraftServer.java:708) [?:?]
	at net.minecraft.util.concurrent.ThreadTaskExecutor.func_213161_c(SourceFile:127) [?:?]
	at net.minecraft.server.MinecraftServer.func_195568_a(MinecraftServer.java:1464) [?:?]
	at net.minecraft.server.MinecraftServer.func_195560_a(MinecraftServer.java:450) [?:?]
	at net.minecraft.server.MinecraftServer.func_71247_a(MinecraftServer.java:363) [?:?]
	at net.minecraft.server.dedicated.DedicatedServer.func_71197_b(DedicatedServer.java:212) [?:?]
	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:613) [?:?]
	at java.lang.Thread.run(Thread.java:748) [?:1.8.0_242]

That is the only relevant portion, I think. But the full log is available here: https://paste.ee/p/JeKpq

This may be caused by unnamed loot pools, which I've confirmed are present in this mod. We are running into this breaking the majority of vanilla chests, confirmed resolved by removing this mod from the pack.
Mod author, please see this thread to see if it's relevant (post by SilentChaos512). He discusses how to fix it in code. https://www.curseforge.com/minecraft/mc-mods/explorercraft-worldexpansion?comment=123
tl;dr

SilentChaos512
My guess (since I can't see your code...) is that you are adding loot to some loot tables, but aren't putting a name on your loot pools. You should call name on LootPool.Builder and give the pools a unique name, like this.

Thank you @katubug and @graeye for troubleshooting and figuring out how to fix this bug.


Rename beeline to kyuubi-beeline

:mag: Description
Discussion in mailing thread: https://lists.apache.org/thread/tnmz71o3rypy7qvs3899p3jkkq4xqb4r
I propose to rename the bin/beeline to bin/kyuubi-beeline, while for compatibility, we may still want to keep the alias bin/beeline for a while.
In a real Hadoop cluster, it’s likely to add $HIVE_HOME/bin, $SPARK_HOME/bin, $KYUUBI_HOME/bin to the $PATH, at the current state, when performing beeline, which one is called depends on the declaration order.
It does not matter for Spark’s bin/beeline because it’s a vanilla Hive BeeLine, but in Kyuubi, we have made some improvements based on vanilla Hive BeeLine, so the behavior is not exactly same as Hive’s BeeLine.
An identical name would solve this problem. And I saw some vendors[1] who shippes Kyuubi already have done the same thing.
[1] https://help.aliyun.com/zh/emr/emr-on-ecs/user-guide/connect-to-kyuubi
Types of changes :bookmark:

[ ] Bugfix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Test Plan 🧪
Manual test.
$ bin/beeline -u 'jdbc:kyuubi://<IP_ADDRESS>:10009/'
Warning: beeline is deprecated and will be removed in the future, please use kyuubi-beeline instead.
Connecting to jdbc:kyuubi://<IP_ADDRESS>:10009/
Connected to: Spark SQL (version 3.4.1)
Driver: Kyuubi Project Hive JDBC Client (version 1.10.0-SNAPSHOT)
Beeline version 1.10.0-SNAPSHOT by Apache Kyuubi
0: jdbc:kyuubi://<IP_ADDRESS>:10009/>

$ bin/kyuubi-beeline -u 'jdbc:kyuubi://<IP_ADDRESS>:10009/'
Connecting to jdbc:kyuubi://<IP_ADDRESS>:10009/
Connected to: Spark SQL (version 3.4.1)
Driver: Kyuubi Project Hive JDBC Client (version 1.10.0-SNAPSHOT)
Beeline version 1.10.0-SNAPSHOT by Apache Kyuubi
0: jdbc:kyuubi://<IP_ADDRESS>:10009/>

Checklist 📝

[x] This patch was not authored or co-authored using Generative Tooling

Be nice. Be informative.

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

Project coverage is 58.41%. Comparing base (d0448f2) to head (cec8f56).
Report is 4 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff              @@
##             master    #6239      +/-   ##
============================================
- Coverage     58.49%   58.41%   -0.08%
  Complexity       24       24
============================================
  Files           651      651
  Lines         39509    39511       +2
  Branches       5439     5440       +1
============================================
- Hits          23109    23082      -27
- Misses        13932    13953      +21
- Partials       2468     2476       +8

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

Thanks, merged to master


Error - gifsicle:: empty file

Heya,
Getting this error while using gifify
[cw@pineserv ~]$ gifify watermelonpup.mp4 -o watermelonpup.gif
gifsicle:: empty file
[cw@pineserv ~]$ uname -a
Linux pineserv 3.10.65-4-pine64-longsleep #16 SMP PREEMPT Sun Apr 3 10:56:40 CEST 2016 aarch64 GNU/Linux
According to gifsicle Issue Tracker - https://github.com/kohler/gifsicle/issues/33 - recommended to use -o and -b - Trying to understand how to do that while using gifify.
Appreciate any help.

can you send the mp4 file?

Unable to upload here - Here's the DropBox link - https://www.dropbox.com/s/ambrvowul83js3i/watermelonpup.mp4?dl=0

it worked for me, please double check requirements: https://github.com/vvo/gifify#requirements
You need giflossy, not gifsicle

Checking Requirements:
[cw@pineserv ~]$ which node
/usr/bin/node

[cw@pineserv ~]$ node -v
v6.1.0

[cw@pineserv ~]$ which ffmpeg
/usr/bin/ffmpeg

[cw@pineserv ~]$ ffmpeg
ffmpeg version 3.0.2 Copyright (c) 2000-2016 the FFmpeg developers
  built with gcc 5.3.0 (GCC)
  configuration: --prefix=/usr --disable-debug --disable-static --disable-stripping --enable-avisynth --enable-avresample --enable-fontconfig --enable-gnutls --enable-gpl --enable-ladspa --enable-libass --enable-libbluray --enable-libdcadec --enable-libfreetype --enable-libfribidi --enable-libgsm --enable-libiec61883 --enable-libmodplug --enable-libmp3lame --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libv4l2 --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --enable-netcdf --enable-shared --enable-version3 --enable-x11grab --host-cflags='"-fPIC"'
  libavutil      55. 17.103 / 55. 17.103
  libavcodec     57. 24.102 / 57. 24.102
  libavformat    57. 25.100 / 57. 25.100
  libavdevice    57.  0.101 / 57.  0.101
  libavfilter     6. 31.100 /  6. 31.100
  libavresample   3.  0.  0 /  3.  0.  0
  libswscale      4.  0.100 /  4.  0.100
  libswresample   2.  0.101 /  2.  0.101
  libpostproc    54.  0.100 / 54.  0.100
Hyper fast Audio and Video encoder
usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfile}...

Use -h to get full help or, even better, run 'man ffmpeg'

[cw@pineserv ~]$ convert -v
Version: ImageMagick 6.9.4-0 Q16 aarch64 2016-05-09 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2016 ImageMagick Studio LLC
License: http://www.imagemagick.org/script/license.php
Features: Cipher DPC HDRI Modules OpenMP
Delegates (built-in): bzlib cairo fontconfig freetype gslib jng jp2 jpeg lcms lqr ltdl lzma openexr pangocairo png ps rsvg tiff webp wmf x xml zlib
Usage: convert [options ...] file [ [options ...] file ...] [options ...] file

sudo autoreconf -i
sudo ./configure --disable-gifview --disable-gifdiff
sudo make

[cw@pineserv giflossy-master]$ sudo make install
Making install in src
make[1]: Entering directory '/home/cw/giflossy-master/src'
make[2]: Entering directory '/home/cw/giflossy-master/src'
 /usr/bin/mkdir -p '/usr/local/bin'
  /usr/bin/install -c gifsicle '/usr/local/bin'
make[2]: Nothing to be done for 'install-data-am'.
make[2]: Leaving directory '/home/cw/giflossy-master/src'
make[1]: Leaving directory '/home/cw/giflossy-master/src'
make[1]: Entering directory '/home/cw/giflossy-master'
make[2]: Entering directory '/home/cw/giflossy-master'
make[2]: Nothing to be done for 'install-exec-am'.
 /usr/bin/mkdir -p '/usr/local/share/man/man1'
 /usr/bin/install -c -m 644 gifsicle.1 '/usr/local/share/man/man1'
make[2]: Leaving directory '/home/cw/giflossy-master'
make[1]: Leaving directory '/home/cw/giflossy-master'
[cw@pineserv giflossy-master]$ which giflossy
which: no giflossy in (/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl)

Not sure, what I'm missing to get giflossy installed, appreciate your input.

You need to make the ./giflossy binary available in the PATH I believe.

I am also experiencing the same i.e. getting gifsicle:: empty file.
Installing giflossy following the steps mentioned on their github readme installs gifsicle. So steps taken by @CreativeWolf to install dependencies appears to be fine.

Figured it out. It was happening because of this issue:
https://github.com/vvo/gifify/issues/60
i.e. use --resize option and it will work fine.


Add support for Laravel 8

Should be simple to change the composer package to include 8.0 for the appropriate packages.
Not aware of anything that would shatter.
Is this something that can be done?

Yeah, it gives me this error when I try to upgrade to Laravel 8.0 :
Problem 1
- Conclusion: remove beyondcode/laravel-websockets 1.6.1
beyondcode/laravel-websockets 1.x-dev requires illuminate/support 5.8.*|^6.0|^7.0
Any fix for this would be appreciated guys!

@yashris The only way to fix this is two options:

Fork Project, Update composer to have |^8.0, pull from your own github.
Do the same as above but submit a pr.

I don't think this project is very active anymore. So I would go with option one.

I hope this get merged soon.
Would like to keep the original repo linked and not my own github.

Merge. Please. I need Websockets in Combination with Jetstream <3

@AdamKyle the last release was only 22 days ago. BeyondCode are generally on it when it comes to these things, give it a couple of days 👍

You can use the dev-master version if you will to use Laravel Websockets with Laravel 8.x, until we get fixed the CI pipeline.
composer update beyondcode/laravel-websockets:"dev-master"


Crash when showing two input boxes

I'm trying to get two user input strings and synthv studio crashed.
function main(){
  var str1 = SV.showInputBox("","", "");
  var str2 = SV.showInputBox("","", "");
}

Hello @kirliavc
Thank you for the report. This bug will be fixed in version 1.0.5.
For now a workaround is to asyncify the second showInputBox by wrapping it inside a setTimeout,
  var str1 = SV.showInputBox("title", "foo", "");
  SV.setTimeout(1, function() {
    SV.showInputBox("title", "bar", "");
  });


If this is not a type of contribution that you accept, feel free to close.
Thanks!

Agree, thanks!


ServiceLoader doesn't find type plugins in standalone app

In a standalone app in smack_examples the StringConverter does not find its plugins.
Expected is that they can be found.

The reason for the described behaviour is that an executable jar is only capable of executing non-modular applications.
Thus, if the StringConverter tries to load the required plug-ins, it fails since no classic META-INF/services config files exist.
These files have been added now to solve this situation.


[bug] latest release causes freezes of scrolling

atom: latest as of today
atom-typescript: 11.0.4
when I open any ts file and want to scroll it nothing happens. but in a second or two file is scrolled. highly annoying

Can you run a profile to see where the lag is? Not much has changed except for the change from linter 1.x to 2.x.

for some reason files with profile data I am saving result in zero size 😕 so I have only sceeen

Okay, it's spending ~3s globbing some directory entries. Now I suspect it has to do with the change that allows people to keep their typescript installation in NODE_PATH directory. The resolution fo the correct tsserver happens in sync now so that might explain the lockup you're seeing. What does process.env.NODE_PATH say for you in the console?

process.env.NODE_PATH
"/Applications/Atom.app/Contents/Resources/app/exports"

but.. afaik I do not have node there..

does this help?
Last login: Thu Jun 22 12:47:45 on ttys000
vzuzyak@mbp16 ~
$ node -v
v6.11.0
vzuzyak@mbp16 ~
$ whereis node
vzuzyak@mbp16 ~
$ which node
/usr/local/opt/node@6/bin/node
vzuzyak@mbp16 ~
$

It all looks ok to me. That's the default NODE_PATH set by Atom. It's what allows your plugin code to require atom and get it. If you're feeling adventurous, you can edit the resolveServer function in clientResolver.ts to not use the paths option and see if that fixes it.

I have commented it and it still does not help..

There's another thing that the plugin now does when opening a file:
https://github.com/TypeStrong/atom-typescript/commit/8a7209bea194f210b02ac4f59dc32c3fd307a167#diff-6475f9ce9db38156d8f1804c6cedf354R182
I don't see how it could cause a ton of file system requests, but try to comment that out and see if it changes.

no that also does not help..

Then I'm out of ideas, sorry 😞 . I'd probably try to use the profiler to narrow it further.

It seems there is a problem with glob or its usage. I opened the same file of 45 lines of code.
11.0.4 All the top functions are related to glob.

11.0.3 all top functions are related to atom itself

I'm experiencing this too. Is there a way ro rollback to the previous instailation ?

@pete-hotchkiss, you can run apm dev atom-typescript and then checkout any previous version from there. I'm not seeing the lag, but I have SOME idea of what's causing it so, if at all possible, I'd like to push a fix and test it on your system before releasing a new version.

I have a potential fix in #1298. If anyone would like to test before I publish, that'd be great.

Looks good to me, no lag anymore.

Looks good to me as well


Unable to sign a message - t.match is not a function

I tried to sign a message using @tronweb3/tronwallet-adapters and TronLink Chrome extension, but got the error:
Uncaught (in promise) WalletSignMessageError: t.match is not a function
    at TronLinkAdapter.signMessage (adapter.ts:267:27)

Here's the code of my component:
export const MyComponent: React.FC = () => {
  const adapter = React.useMemo(() => new TronLinkAdapter(), []);

  const sign = async (msg: string): Promise<string> => {
    const signature = await adapter.signMessage(msg);
    console.log('signature', signature);
    return signature;
  };

  return (
    <div>
      <button onClick={() => adapter.connect()}>Connect</button>
      <button onClick={() => sign("My message")}>Sign Message</button>
    </div>
  );
}

When I click the "Sign Message" button after the connection I get the error t.match is not a function.
You can even reproduce it by launching the example in the demos folder (demos/react-ui/vite-app for example).
I guess the cause of the problem is that there's no default privateKey for some reason.
TronLink version: V3.27.5
@tronweb3/tronwallet-adapters: 1.1.2

Sorry for bringing you inconvenience.
In Wallet Adapter we use tronWeb v4.4 and signMessage is using tronWeb.trx.signMessageV2  instead of tronWeb.trx.sign because tronWeb.trx.sign can only accept hexString and is not readable.
But  the version of tronWeb in TronLink V3.27.5 is v4.1.0 which doesn't support signMessageV2 yet.
TronLink will support new version of tronWeb in v3.28.x.  You can use adapter.signMessage then.
Here is the documentation of tronWeb.

Okay got it, thank your for your response


unable to run voicefixer

when I'm trying to run voicefixer, I'm getting these messages:
Downloading the weight of neural vocoder: TFGAN
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/urllib/request.py", line 1346, in do_open
h.request(req.get_method(), req.selector, req.data, headers,
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/http/client.py", line 1285, in request
self._send_request(method, url, body, headers, encode_chunked)
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/http/client.py", line 1331, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/http/client.py", line 1280, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/http/client.py", line 1040, in _send_output
self.send(msg)
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/http/client.py", line 980, in send
self.connect()
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/http/client.py", line 1454, in connect
self.sock = self._context.wrap_socket(self.sock,
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/ssl.py", line 500, in wrap_socket
return self.sslsocket_class._create(
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/ssl.py", line 1040, in _create
self.do_handshake()
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/ssl.py", line 1309, in do_handshake
self._sslobj.do_handshake()
ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1129)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.9/bin/voicefixer", line 5, in
from voicefixer import VoiceFixer
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/voicefixer/init.py", line 13, in
from voicefixer.vocoder.base import Vocoder
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/voicefixer/vocoder/init.py", line 20, in
urllib.request.urlretrieve(
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/urllib/request.py", line 239, in urlretrieve
with contextlib.closing(urlopen(url, data)) as fp:
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/urllib/request.py", line 214, in urlopen
return opener.open(url, data, timeout)
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/urllib/request.py", line 517, in open
response = self._open(req, data)
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/urllib/request.py", line 534, in _open
result = self._call_chain(self.handle_open, protocol, protocol +
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/urllib/request.py", line 494, in _call_chain
result = func(*args)
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/urllib/request.py", line 1389, in https_open
return self.do_open(http.client.HTTPSConnection, req,
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/urllib/request.py", line 1349, in do_open
raise URLError(err)
urllib.error.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1129)>
Any idea how this can be fixed?

Same issue. Any solution?


Arlec Smart Plug Lag

Hi guys,
I've just bought of the Arlec Smart Sockets with Energy Meter PC191HA and it has integrated with your plug-in beautifully.
I'm really appreaciting the new options to create additional sensors from the power meters etc.
I was wondering if there is any way to reduce the lag between my soft swtich in Home Assistant and the Relay? Its a good second if not close to feeling like 2
Pulling the same plug in through "LocalTuya", there is no lag but I much rather the setup and more local product support you have going.
(Thank you also for the flawless configuration on the arlec ceiling fan without light. I may look into an additional one with light so I hope to see it in your supported list one day)
Cheers
Linton Hart

I go to the site to open a exact same issue :)
I affect the same problem. The localtuya and the official tuya app (via wifi) is no lag, but this integration, i also notice abot 1.5 sec lag...
would be good to solve this...

Now that I've gotten the backlog of new devices out of the way, I'll take a look at rewriting the rate limiting logic so that it does not delay isolated commands.

That's very exciting thank you. I look forward to any progress that can be made.

I reduced the delay for sending the first command in a set from 1s to 10ms.  Subsequent commands within 1s of the previous one will still have the 1s delay to reduce problems with the device not being ready to handle the command (I say reduce rather than avoid, because different devices have different downtimes after being sent a command and 1s was a compromise to avoid most problems without delaying too much - 3s or sometimes even 10s is needed to avoid all problems)
Try 0.14.0 and see if it resolves the lag enough to consider this closed.

@make-all
i tested it a different device and this change is reduce the lag!


Create spec file

I have also added a .gitignore file to keep IDE-specific folders from being merged. If this is unnecessary for your workflow, discard that hunk.

Okay, I'm going to set up an openSuse Build service repo today and see how it works!

Thanks!

@paolorotolo i haven't had a chance to make a build setup at home; how has that progressed? is there any further development needed to get it to build?


KAFKA-5600: fix GroupMetadataManager doesn't read offsets of segmente…

…d log correctly
the while loop was too big and need to be closed earlier
to see the fix, ignore whitespace since most of it is indentation
this bug was introduced by commit
5bd06f1d542e6b588a1d402d059bc24690017d32

Thanks for finding this and providing a fix. Do you think you'd be able to write a test for this? If not, we can try and help.

I am currently trying to write a test, but it will take some time, since I am not very familiar with Easymock and the kafka code.

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/kafka-pr-jdk7-scala2.11/6117/
Test PASSed (JDK 7 and Scala 2.11).

here is the test

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/kafka-pr-jdk8-scala2.12/6106/
Test PASSed (JDK 8 and Scala 2.12).

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/kafka-pr-jdk7-scala2.11/6123/
Test PASSed (JDK 7 and Scala 2.11).

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/kafka-pr-jdk8-scala2.12/6108/
Test PASSed (JDK 8 and Scala 2.12).


Adjusted the button of light dark mode for better visibility

I have fixed issue no. 4143 by shifting the position of light-dark mode button to right
Related Issue
[Cite any related issue(s) this pull request addresses. If none, simply state “None”]
Fixes:  #4143
Screenshots / videos (if applicable)

Checklist:

I have made this change from my own.
I have taken help from some online resources.
My code follows the style guidelines of this project.
I have performed a self-review of my own code.
I have commented my code, particularly in hard-to-understand areas.
I have made corresponding changes to the documentation.
My changes generate no new warnings.
I have tested the changes thoroughly before submitting this pull request.
I have provided relevant issue numbers and screenshots after making the changes.

this issue isnt there . u have zoom ur page . chk again.


Lecture 7 - slide 41 - grammar

"Most information extraction problems focus predefined tasks that are well-defined" -> "Most information extraction problems focus on predefined tasks that are well-defined"

Thanks. Fixed. 1 point


Feat/web backdrop

@adamkudrna @crishpeen Please help me with the problem with opacity and visibility. Because from now the Backdrop is not the top-layer.

@adamkudrna @crishpeen Please help me with the problem with opacity and visibility. Because from now the Backdrop is not the top-layer.

Is there

@adamkudrna @crishpeen Please help me with the problem with opacity and visibility. Because from now the Backdrop is not the top-layer.

Solved with ::backdrop pseudoselector.


doc: Update documentation based on recent changes to ZC EM Send API

Original date: 2019-04-26 21:14:22
Original PR: https://charm.cs.illinois.edu/gerrit/5052

This change adds documentation for the ZC Broadcast Send API.
Change-Id: I26d7f142bc59bf85e96e4754bf86915b41d9e3a3

I added the section about de-registration modes. This PR is ready for review.


remove warp functionality

It does not remove warps functionality, but instead introduces remove functionality. Please rebase or resolve conflicts by merging


initial_commit

Compilation warnings and errors:
File "cameligo/contracts/../storage.mligo", line 69, characters 23-48:

Warning: constant Set.size is being deprecated soon. Consider using Bytes.length instead.

File "cameligo/storage.mligo", line 69, characters 23-48:

Warning: constant Set.size is being deprecated soon. Consider using Bytes.length instead.

File "cameligo/contracts/../../fa2/fa2.mligo", line 58, characters 16-27:

Warning: constant Set.size is being deprecated soon. Consider using Bytes.length instead.

File "cameligo/../fa2/fa2.mligo", line 58, characters 16-27:

Warning: constant Set.size is being deprecated soon. Consider using Bytes.length instead.

Compiling to Michelson in JSON format
File "cameligo/contracts/../storage.mligo", line 69, characters 23-48:

Warning: constant Set.size is being deprecated soon. Consider using Bytes.length instead.

File "cameligo/storage.mligo", line 69, characters 23-48:

Warning: constant Set.size is being deprecated soon. Consider using Bytes.length instead.

File "cameligo/contracts/../../fa2/fa2.mligo", line 58, characters 16-27:

Warning: constant Set.size is being deprecated soon. Consider using Bytes.length instead.

File "cameligo/../fa2/fa2.mligo", line 58, characters 16-27:

Warning: constant Set.size is being deprecated soon. Consider using Bytes.length instead.

Running tests
File "tests/multisig.test.jsligo", line 18, characters 19-21:

Variant pattern argument is expected of type string but is of type unit.


Installation fails when trying to install pandas

🐛 Bug

When trying to install lightning-flash via pip install lightning-flash, I get an error caused by the dependency on pandas==1.1.2:
ERROR: Could not build wheels for pandas which use PEP 517 and cannot be installed directly

I get the same error when I try to install pandas==1.1.2 independent of lightning-flash. I am able to install pandas==1.2.2 without any problems. I'm using Python 3.9.1 and Ubuntu 20.04.
Is it necessary to have the pandas version fixed at 1.1.2?
Expected behavior

Installation without any problems
Environment

PyTorch Version (e.g., 1.0): 1.7
OS (e.g., Linux): Ubuntu 20.04
How you installed PyTorch (conda, pip, source): pip
Build command you used (if compiling from source):
Python version: 3.9.1
CUDA/cuDNN version: 10.2
GPU models and configuration: 1080TI
Any other relevant information:

I think that this would be also solved by #62
cc: @carmocca

It's a python 3.9 issue.
@Borda https://github.com/PyTorchLightning/lightning-flash/pull/125 It would fix it for now.


[Bug] Unable to add ternary to show null in API Body

Description
A user wants to add a ternary operator to send either a string or a null value to the server. This is currently not possible today
Steps to reproduce the behaviour:
Add steps to reproduce this behaviour, include console / network logs & screenshots

Drag a dropdown
Add an API
Select the POST method
Add a binding
{
"biosex": {{ Dropdown1.selectedOptionValue === "U" ? null : Dropdown1.selectedOptionValue }}
}

It's not possible to formulate this binding in a way that either returns a string with quotes or a null value

Closing as duplicate of #1957

@mohanarpit re-opening because this issue is not related to splitting but more to the quotes around the binding. So this is more later to our substitution change

This will be solved with #3759


build error

Context
shiftmediaproject\libilbc\rtc_base\checks.h(57,10): fatal error C1083: “absl/meta/type_traits.h”: No such file or directory ..\common_audio\signal_processing\dot_product_with_scale.cc)
shiftmediaproject\libilbc\rtc_base\checks.h(57,10): fatal error C1083:  “absl/meta/type_traits.h”: No such file or directory ( ..\rtc_base\checks.cc)
Expected Behavior
No additional operations are required to compile successfully
Steps to Reproduce
open resolution
select release dll
build
Your Environment
win10 + vs2019
Possible Fix
I solved it this way,  but not sure if this is appropriate

Copy two files config.h versin.h from the old version and put them in the smp directory
Download the abseil-cpp project, copy the absl directory to the libilbc root directory

thanks, 我just copy absl folder from  abseil-cpp project to  smp, compile work!


cmd/compile: redundant moves and stack variables when function using bits.Add64 is inlined

What version of Go are you using (go version)?

$ go version
go version go1.13beta1 linux/amd64

Does this issue reproduce with the latest release?
What operating system and processor architecture are you using (go env)?
go env Output
$ go env
GO111MODULE=""
GOARCH="amd64"
GOBIN=""
GOCACHE="/home/jared/.cache/go-build"
GOENV="/home/jared/.config/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GONOPROXY=""
GONOSUMDB=""
GOOS="linux"
GOPATH="/home/jared/go"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/usr/local/go"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/local/go/pkg/tool/linux_amd64"
GCCGO="gccgo"
AR="ar"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD=""
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build580535950=/tmp/go-build -gno-record-gcc-switches"

What did you do?

https://play.golang.org/p/PWeQpDU4ilg
What did you expect to see?
No allocation of Zig()'s y variable on the stack, and no code duplication. Something along the lines of...
0x0089 00137 (bug.go:8)	MOVQ	"".x+168(SP), AX
0x0091 00145 (bug.go:8)	ADDQ	AX, AX
0x0094 00148 (bug.go:8)	SBBQ	CX, CX
0x009c 00156 (bug.go:9)	XORQ	AX, CX

What did you see instead?
Execution of the Zig()'s bits.Add64()/ADDQ twice, with unnecessary use of temporary variable y.
0x005a 00090 (bug.go:8)	MOVQ	"".x+168(SP), DX
0x0062 00098 (bug.go:8)	ADDQ	DX, DX
0x0065 00101 (bug.go:8)	MOVQ	DX, "".y+80(SP)
...
0x0089 00137 (bug.go:8)	MOVQ	"".x+168(SP), AX
0x0091 00145 (bug.go:8)	ADDQ	AX, AX
0x0094 00148 (bug.go:8)	SBBQ	AX, AX
0x0097 00151 (<unknown line number>)	NOP
0x0097 00151 (<unknown line number>)	NOP
0x0097 00151 (bug.go:9)	MOVQ	"".y+80(SP), CX
0x009c 00156 (bug.go:9)	XORQ	AX, CX

The symptom is superficially similar to #32969. Any idea whether the root cause is the same?
(CC @randall77 @dr2chase)

I can't reproduce. I get this when compiling Zig with tip (5235501c0509385c28294b3a314891e1e7165163):
	0x0000 00000 (/usr/local/google/home/khr/gowork/issue33349.go:8)	MOVQ	"".x+8(SP), AX
	0x0005 00005 (/usr/local/google/home/khr/gowork/issue33349.go:8)	ADDQ	AX, AX
	0x0008 00008 (/usr/local/google/home/khr/gowork/issue33349.go:8)	SBBQ	CX, CX
	0x000b 00011 (/usr/local/google/home/khr/gowork/issue33349.go:9)	XORQ	CX, AX
	0x000e 00014 (/usr/local/google/home/khr/gowork/issue33349.go:9)	MOVQ	AX, "".~r1+16(SP)

Yes, that's Zig()'s code. But when it is inlined into AppendZig() causes the problem.

Ok, that makes more sense.
Looks like we need a tweak to the schedule pass.  Schedule produces:
v40 (+8) = ADDQcarry <uint64,flags> v10 v10
v65 (8) = Select0 <uint64> v40 (y[uint64])
v42 (8) = Select1 <flags> v40
v48 (25) = ADDQ <*byte> v115 v71
v50 (25) = MOVQstore <mem> v2 v48 v49
v53 (25) = MOVQstore <mem> [8] v2 v102 v50
v57 (25) = MOVQstore <mem> [16] v2 v86 v53
v58 (25) = CALLstatic <mem> {runtime.memmove} [24] v57
v45 (8) = SBBQcarrymask <uint64> v42

There's just a single ADDQ, and we use Select0/Select1 to get the 64-bit result and the carry, respectively. But then the carry isn't used until after the memmove. That means we need to spill the carry and restore it around the memmove call. And because there's no instruction to spill/restore flags (no cheap one, anyway), we reissue the flag-generating instruction after the memmove.  After flagalloc, we have:
v40 (+8) = ADDQcarry <uint64,flags> v10 v10
v65 (8) = Select0 <uint64> v40 (y[uint64])
v42 (8) = Select1 <flags> v40
v48 (25) = ADDQ <*byte> v115 v71
v50 (25) = MOVQstore <mem> v2 v48 v49
v53 (25) = MOVQstore <mem> [8] v2 v102 v50
v57 (25) = MOVQstore <mem> [16] v2 v86 v53
v58 (25) = CALLstatic <mem> {runtime.memmove} [24] v57
v6 (8) = ADDQcarry <uint64,flags> v10 v10
v15 (8) = Select1 <flags> v6
v45 (8) = SBBQcarrymask <uint64> v15

v42 is now dead, we've recomputed it as v6+v15.
We already try to schedule flag users earlier, to make flag lifetimes short. Just pushing ReadFlags ahead of Memory (which is what memmove is) seems to fix this issue. I'll have to think a bit about whether that would break anything else.

I did manage to find a similar issue with bits.Len(), as it also relies on flags.
package oddsched

import (
	"math/bits"
)

func AppendVarint(p []byte, x uint64) []byte {
	t := [10]byte{
		uint8(x) | 0x80,
		uint8(x>>7) | 0x80,
		uint8(x>>14) | 0x80,
		uint8(x>>21) | 0x80,
		uint8(x>>28) | 0x80,
		uint8(x>>35) | 0x80,
		uint8(x>>42) | 0x80,
		uint8(x>>49) | 0x80,
		uint8(x>>56) | 0x80,
		1,
	}
	n := (bits.Len64(x|1) + 6) / 7
	t[n-1] &= 0x7F
	return append(p, t[:n]...)
}

The assembly starts with performing x|1 and a BSR, then goes initialises t, so has to perform another BSRQ to finally compute n.
	MOVQ	"".x+152(SP), DX
	MOVQ	DX, BX
	ORQ	$1, DX
	BSRQ	DX, SI
        ... init t...
   	BSRQ	DX, DX
	MOVQ	$-1, DX
	CMOVQEQ	DX, SI
	LEAQ	7(SI), DX
	MOVQ	$5270498306774157605, AX
	MOVQ	DX, CX
	IMULQ	DX
	SARQ	$1, DX
	SARQ	$63, CX
	SUBQ	CX, DX


Connection error! ER_NOT_SUPPORTED_AUTH_MODE: Client does not support authentication protocol requested by server; consider upgrading MySQL clien

You can temporarily change user authorization to mysql_native_password .
See issiue #104


yaml: add vendor_boot partition for doma

Add vendor_boot partition to use the original
Android u-boot for DomA.

@svlad-90 plz review

Hi @arminn,
Reviewed-by: Goncharuk Vladyslav<EMAIL_ADDRESS>

Added RB


Fix zero dim matrix mulitply

Codecov Report

Merging #50 (7ac08e0) into master (0fba35b) will decrease coverage by 1.76%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master      #50      +/-   ##
==========================================
- Coverage   75.51%   73.74%   -1.77%
==========================================
  Files          41       41
  Lines        2989     2788     -201
==========================================
- Hits         2257     2056     -201
  Misses        732      732

Impacted Files
Coverage Δ

src/util/custom_static.jl
57.44% <ø> (-2.13%)
:arrow_down:

src/ui/mechanism_ui.jl
31.37% <0.00%> (-6.13%)
:arrow_down:

src/optional_components/shapes.jl
73.52% <0.00%> (-6.02%)
:arrow_down:

src/bounds/impact.jl
54.54% <0.00%> (-3.79%)
:arrow_down:

src/ui/simulate.jl
56.97% <0.00%> (-3.24%)
:arrow_down:

src/optional_components/storage.jl
76.92% <0.00%> (-3.08%)
:arrow_down:

src/joints/abstract_joint.jl
67.94% <0.00%> (-2.64%)
:arrow_down:

src/main_components/state.jl
57.14% <0.00%> (-2.32%)
:arrow_down:

src/ui/urdf.jl
57.35% <0.00%> (-1.92%)
:arrow_down:

src/main_components/body.jl
80.30% <0.00%> (-1.89%)
:arrow_down:

... and 22 more

Continue to review full report at Codecov.

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


Process Web Logs

The ELB is logging to an S3 bucket for the requests coming into it, we need to figure out how we want to process these so that they don't stick around forever.

I setup a life cycle on the S3 bucket to handle this.


Add mem store and poller support

Codecov Report

Merging #79 into master will increase coverage by 0.1%.
The diff coverage is 98.91%.

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


feat: add parallel processing to SimpleDirectoryReader

Second part of #808
Reworked everything, a lot cleaner and simpler now and implemented straight into SimpleDirectoryReader.
Did not overload LlamaParse when testing this time.
The data in the example is now just the brk-2022.pdf split in 6 parts.

@himself65 sorry my bad, realized 2 accounts are stupid, so I deleted the newer one..
But I messed up rebasing anyway, so let me try again and I'll open a new PR


Fix casting error.

Despite the value of an int always being valid as the value of a double (though higher numbers can exceed its capacity), java does not allow the direct casting of an int to a double.
We must instead get the result object from the method invocation, extract the value to a string, and then attempt to parse that string into a double.

Surely there's a better way (read: faster, more accurate way) than forcing the runtime to translate a number into a string, then parse the string back into a number?  Can't we check the exact type when we're setting up the bindings and then use an appropriate method invocation to let us get the value as what it is, then convert to a double if necessary?


Change of ID name used in multirow group visibility/required rules create an error

To replicate

Create a multirow group + add couple elements there
Create a visibility rule to created group
Change the ID name used to control visibility of created multirow group

and you get following error

to make the dialog work again you need to delete all the elements in the multirow group first and then the group it self

I think the (backend side) variable ID renamer is not rewriting the addrow rules. Other "new" rules should be checked also.

so i guess the this falls to @patope

Doesn't matter, I can do it too


Extract modal bottom action sheet concept from Material to Widgets

There are multiple Cupertino concepts of a modal dismissable action sheet at the bottom of the screen too such as
https://developer.apple.com/ios/human-interface-guidelines/views/action-sheets/ and https://developer.apple.com/ios/human-interface-guidelines/controls/pickers/. The current showModalBottomSheet helper mechanism is in bottom_sheet.dart and has a lot of Material concepts baked in. Extract into common utility.

@xster , can we wrapper CupertinoPageScaffold in Scaffold as a workaround solution until above extract be implemented?
@override
  Widget build(BuildContext context) {
    return Scaffold(
      body: CupertinoPageScaffold(
          navigationBar: CupertinoNavigationBar(
            middle: Column(
              children: <Widget>[
                Text("Hello Flutter"),
                Text("yes, it is")
              ],
            ),
            trailing: IconButton(
              icon: Icon(Icons.more_horiz),
              onPressed: () {
                showModalBottomSheet<Null>(context: context, builder: (BuildContext context) {
                  return new Container(
                      child: new Padding(
                          padding: const EdgeInsets.all(32.0),
                          child: Text("Hello World"),
                      )
                  );
                });
              },),
          ),
          child: Center(child: Text("Hello World"),)),
    );
  }

As a temporary workaround, sure. I don't see any issues.

Cheers, thank you very much.

Discussed offline. We're not going to extract this from Material. Instead, we'll create a showCupertinoBottomSheet as a popup route in #7376


remove rbd mirror daemon restart config

Removed rbd_mirror_die_after_seconds from the rook configmap which got introduced in #1740 as this is fixed in ceph.
Ref BZ: https://bugzilla.redhat.com/show_bug.cgi?id=2132366
Signed-off-by: Madhu Rajanna<EMAIL_ADDRESS>/assign @idryomov
/assing @ShyamsundarR
/assing @malayparida2000

/cherry-pick release-4.12

/assign @agarwal-mudit for approval

/lgtm

/approve
/cherry-pick release-4.12


[SPARK-15946] [MLLIB] Conversion between old/new vector columns in a DataFrame (Python)

What changes were proposed in this pull request?
This PR implements python wrappers for #13662 to convert old/new vector columns in a DataFrame.
How was this patch tested?
doctest in Python
cc: @yanboliang

Test build #60689 has started for PR 13731 at commit 24705de.

Test build #60689 has finished for PR 13731 at commit 24705de.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/60689/
Test PASSed.

LGTM, merged into master and branch-2.0. Thanks!


Make generate_series compatible with PostgreSQL

Describe the bug
generate_series generates a list:
> SELECT generate_series(1,5);
+------------------------------------+
| generate_series(Int64(1),Int64(5)) |
+------------------------------------+
| [1, 2, 3, 4, 5]                    |
+------------------------------------+
1 row(s) fetched.
Elapsed 0.003 seconds.

However PostgreSQL generates rows:
SELECT generate_series(1,5)

generate_series
-----------------
               1
               2
               3
               4
               5
(5 rows)

To Reproduce
No response
Expected behavior
I expect it to be compatible with the PostgreSQL function, besides it should also be more efficient to generate columnar data than having to unnest it.
Additional context
No response

take

I think we can keep this behavior, and add another UDTF with the same name (which follows DuckDB behavior):
D select generate_series(1,3);
┌───────────────────────┐
│ generate_series(1, 3) │
│        int64[]        │
├───────────────────────┤
│ [1, 2, 3]             │
└───────────────────────┘
D select * from generate_series(1,3);
┌─────────────────┐
│ generate_series │
│      int64      │
├─────────────────┤
│               1 │
│               2 │
│               3 │
└─────────────────┘

I think it's also easy to use: we can operate both array and table column with generate_series()
Additionally, it would be great to let the table function only use constant memory. For example, if select * from genereate_series(1,<PHONE_NUMBER>) it should generate data batch by batch, instead of materializing everything in TableScan node, then start output.
This way this function can be very useful in many cases like micro benchmarks and tests.

@2010YOUY01 Yeah I agree with this, I was working on this a bit and the current generate_series logic + output seems to follow through well with the other UDFs.


Cannot send email

Question

I deployed a website on Vercel with a contact form, but I cannot send emails through this form!
In the logs i get the following error:

ERROR	🐘STDERR: sh: /usr/sbin/sendmail: No such file or directory

Is this something that I have to configure manually or a bug?
Thanks a lot

Hi, you have to use SMTP server. Sendmail is not installed.

@f3l1x Thanks a lot!


Added new meta decks for MSoG

Since lots of people keep asking for them, I've gone ahead and added the new archetypes. While the deck lists may not be fully stable yet, the archetypes are fairly well defined at this point. To ensure that they are at least playable, only decks that appear in the tempostorm snapshot have been added (i.e. no meme decks).

@stevschmid Ping -- Any blockers on merging this? The lack of Reno Mage being picked up in particular is especially annoying.

@stevschmid Should I close this since your update has taken care of most of what was listed in this? The only thing missing that I noticed is the latest list doesn't include pirate/aggro rogue, but that isn't exactly a popular deck so I don't see it as an issue.

@ThaWeatherman You can close this. Thanks for the PR! The update is rolling out soon.


Info: Where I can find code example?

Hi, Where i can find the code example of this image?
https://github.com/MrBlenny/react-flow-chart/blob/master/images/demo.gif
Because this demo represent each thing i have to do with the library and it will help a lot and save time if i can check the code and understand how you did it.
Best Regards and Thanks for your time

You can do this by looking at storybook examples.
https://mrblenny.github.io/react-flow-chart/index.html?path=/story/state--internal-react-state
Codes of examples in storybook
https://github.com/MrBlenny/react-flow-chart/tree/master/stories


Make rent list functional

there should be the option to delete, return or edit rents

the edit functionality itself looks fine.
Please prevent students that have no active rents assigned to them from being rendered
I assume you already tested this thoroughly in all different orders with more data etc.

students with not active rents no longer render

since this is such an essential part of the codebase and will be worked on a lot in the future, please take the time to clean up your code: i have left comments

Bugs

[ ] date updating
[ ] deleting while chip open


issue in training

[Errno 2] No such file or directory: 'A_train.npy'

same error is occuring as kritipoddar please respond to this @thatbrguy

@visenpooja @kritipoddar123 Please set --custom_data to True if you are providing --A_dir and --B_dir. It will not ask for A_train.npy if it is set to True. Let me know if the error persists.

so do i have  to run the code in following syntax @thatbrguy
python3 main.py \

--A_dir A
--B_dir B
batch_size 2
epochs 20
--custom_data == True

@visenpooja The correct method is:
python3 main.py \
    --A_dir=A \
    --B_dir=B \
    --batch_size=2 \
    --epochs=20 \
    --custom_data=True

If that does not work, in line 235 of model.py you can change if self.custom_data: to if True: to bypass the issue. This is more of a hacky solution, but it will work all the same.

i am getting this error now @thatbrguy
AttributeError: 'NoneType' object has no attribute 'astype'

@visenpooja Should be an issue with your image path. cv2.imread is probably not able to find the image and hence returns None. Please make sure you place A_dir and B_dir in the directory where you are executing your code.

I am not able to clone the file.Error says no such file or directory exists.
On Thu, Mar 14, 2019 at 9:31 AM Bharath Raj<EMAIL_ADDRESS>wrote:

@visenpooja https://github.com/visenpooja Should be an issue with your
image path. cv2.imread is probably not able to find the image and hence
returns None. Please make sure you place A_dir and B_dir in the directory
where you are executing your code.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/thatbrguy/Dehaze-GAN/issues/3#issuecomment-472696046,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AtJ0ttPt4PXTXa1k7eygEw-rTk9F07ktks5vWcmZgaJpZM4bitBr
.

please reply @thatbrguy/Dehaze-GAN<EMAIL_ADDRESS>On Thu, Mar 14, 2019 at 5:17 PM Poddar Kriti<EMAIL_ADDRESS>wrote:

I am not able to clone the file.Error says no such file or directory
exists.
On Thu, Mar 14, 2019 at 9:31 AM Bharath Raj<EMAIL_ADDRESS>wrote:

@visenpooja https://github.com/visenpooja Should be an issue with your
image path. cv2.imread is probably not able to find the image and hence
returns None. Please make sure you place A_dir and B_dir in the
directory where you are executing your code.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/thatbrguy/Dehaze-GAN/issues/3#issuecomment-472696046,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AtJ0ttPt4PXTXa1k7eygEw-rTk9F07ktks5vWcmZgaJpZM4bitBr
.

@kritipoddar123 You may have made a mistake in the execution of the code.
In any case, looks like there is not an issue/bug with the code itself so I am closing this issue. If you need any help, please explain your error in detail by telling what command you ran and what error it displayed.