Installation error

Hi,
I seem to be having a similar error as #1096:
/usr/bin/ld: cannot find -lbz2
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:316: libhts.so] Error 1
make[1]: Leaving directory '/users/k1347718/nanopolish/htslib'
make: *** [Makefile:139: htslib/libhts.a] Error 255

I have also tried installing through conda but get:
nanopolish: error while loading shared libraries: libhdf5.so.10: cannot open shared object file: No such file or directory
The above error happens regardless whether I install it through git or conda. I tried installing the lbz2 package separately but that didn't seem to help so any advice would be appreciated.

Hello, I had the same problem. Did you solve it?

No @Modernism-01, I'm still struggling with it.

Issue #1071 seems to have addressed this.
Nanopolish requires htslib, which in turn requires a library called bz2
(this is the -lbz2 error). You'll need to install this to compile both.

I've been trying to use the system-wide ones we have installed on the HPC, so they should be loaded to the path and run the command:
make HDF5=noinstall HTS=noinstall
This is what I end up with after letting the make run till the end:
make[1]: Leaving directory '/scratch/prj/ppn_microglia_mod/directrna/scripts/nanopolish/slow5lib'
g++ -o nanopolish -g -O3 -std=c++11 -fopenmp -fsigned-char -D_FILE_OFFSET_BITS=64    -I./minimap2 -I./src -I./src/hmm -I./src/thirdparty -I./src/thirdparty/scrappie -I./src/common -I./src/alignment -I./src/pore_model -I./src/io -I./src/basemods -I./eigen/ -I./slow5lib/include/ -fPIC src/main/nanopolish.o src/nanopolish_vcf2fasta.o src/nanopolish_polya_estimator.o src/nanopolish_haplotype.o src/nanopolish_call_methylation.o src/nanopolish_squiggle_read.o src/nanopolish_detect_polyi.o src/nanopolish_variant_db.o src/nanopolish_read_db.o src/nanopolish_methyltrain.o src/nanopolish_raw_loader.o src/nanopolish_index.o src/nanopolish_scorereads.o src/training_core.o src/nanopolish_phase_reads.o src/nanopolish_fast5_check.o src/nanopolish_call_variants.o src/nanopolish_train_poremodel_from_basecalls.o src/hmm/nanopolish_transition_parameters.o src/hmm/nanopolish_duration_model.o src/hmm/nanopolish_profile_hmm_r7.o src/hmm/nanopolish_profile_hmm.o src/hmm/nanopolish_profile_hmm_r9.o src/common/fs_support.o src/common/logsum.o src/common/nanopolish_klcs.o src/common/nanopolish_alphabet.o src/common/nanopolish_iupac.o src/common/nanopolish_common.o src/common/nanopolish_variant.o src/common/nanopolish_bam_utils.o src/common/nanopolish_bam_processor.o src/alignment/nanopolish_eventalign.o src/alignment/nanopolish_anchor.o src/alignment/nanopolish_alignment_db.o src/pore_model/nanopolish_model_names.o src/pore_model/nanopolish_pore_model_set.o src/pore_model/nanopolish_poremodel.o src/io/nanopolish_fast5_processor.o src/io/nanopolish_fast5_loader.o src/io/nanopolish_fast5_io.o src/basemods/nanopolish_basemods.o src/thirdparty/fet.o src/thirdparty/stdaln.o src/thirdparty/scrappie/event_detection.o src/thirdparty/scrappie/scrappie_common.o  ./minimap2/libminimap2.a ./slow5lib/lib/libslow5.a  -lz -lrt -lhdf5 -lhts

And while it doesn't seem like it ends up with any errors, I still end up with:
Command 'nanopolish' not found, but can be installed with:

apt install nanopolish
Please ask your administrator.
You will have to enable the component called 'universe'

So I'm really not sure what I'm doing wrong or what's going on.

@rugilemat is there nanopolish in the directory somewhere if you run the following?
find . -name nanopolish
It should be in the root directory where you ran the make command.

Yeah I can find it in the nanopolish folder and that's where I tried to run it from when I got that error.
Here's how the nanopolish folder looks like:
DEVELOPERS.md   docs                 etc      Makefile    README.md  src
Dockerfile      eigen                htslib   minimap2    scripts    test
Dockerfile-arm  eigen-3.3.7.tar.bz2  LICENSE  nanopolish  slow5lib

Can you try running ./nanopolish instead of just nanopolish?

Thanks - currently trying to run ./nanopolish index and it seems to be working.
But so far it seems like the way to solve the error
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:316: libhts.so] Error 1
make[1]: Leaving directory '/users/k1347718/nanopolish/htslib'
make: *** [Makefile:139: htslib/libhts.a] Error 255

was  running make HDF5=noinstall HTS=noinstall and loading locally installed libraries instead.
I'll see if I can get through ./nanopolish index and close the issue if that functions.

Glad it seems to be working although I'm still a bit confused on the original error.  I've been building from scratch (including htslib and hdf5) and haven't been able to reproduce the error.

I think I'll have to reinstall as I can run nanopolish index but getting errors in nanopolish eventalign with multithreading and VBZ compression support (the HDF5 and HTS libraries we got installed on the cluster are too old for that.
I'll try to build from scratch again and see if error persists or if there is some other way I can install those libraries.

I tried building from scratch and the error persists:
gcc -shared -Wl,-soname,libhts.so.3 -fvisibility=hidden -o libhts.so kfunc.pico kstring.pico bcf_sr_sort.pico bgzf.pico errmod.pico faidx.pico header.pico hfile.pico hts.pico hts_expr.pico hts_os.pico md5.pico multipart.pico probaln.pico realn.pico regidx.pico region.pico sam.pico synced_bcf_reader.pico vcf_sweep.pico tbx.pico textutils.pico thread_pool.pico vcf.pico vcfutils.pico cram/cram_codecs.pico cram/cram_decode.pico cram/cram_encode.pico cram/cram_external.pico cram/cram_index.pico cram/cram_io.pico cram/cram_stats.pico cram/mFILE.pico cram/open_trace_file.pico cram/pooled_alloc.pico cram/string_alloc.pico htscodecs/htscodecs/arith_dynamic.pico htscodecs/htscodecs/fqzcomp_qual.pico htscodecs/htscodecs/htscodecs.pico htscodecs/htscodecs/pack.pico htscodecs/htscodecs/rANS_static4x16pr.pico htscodecs/htscodecs/rANS_static.pico htscodecs/htscodecs/rle.pico htscodecs/htscodecs/tokenise_name3.pico -lz -lm -lbz2 -lpthread
/usr/bin/ld: cannot find -lbz2
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:316: libhts.so] Error 1
make[1]: Leaving directory '/scratch/prj/ppn_microglia_mod/directrna/scripts/nanopolish/htslib'
make: *** [Makefile:139: htslib/libhts.a] Error 255

I'm looking into alternative ways for installing libraries.

You can try doing a minimal hts build using the script at https://github.com/hasindu2008/f5c/blob/master/scripts/install-hts.sh.
Then perhaps point the nanopolish to this htslib build.

Thanks @hasindu2008 - looks like it's missing lbz2 so I need to find a way to install that first.

If you specify --enable-bz2=no --enable-lzma=no to the configure step of htslib, lbz2 is not required.

I managed to get it running by installing it through conda. However, I am having some trouble with my fast5 files as eventalign gives no output.


CocoaPods could not find compatible versions for pod "firebase_auth_ui":

Hi, I'm having some trouble launching the app on iPhone.
It gives me this error:
[!] CocoaPods could not find compatible versions for pod "firebase_auth_ui":
  In Podfile:
    firebase_auth_ui (from `.symlinks/plugins/firebase_auth_ui/ios`)

Specs satisfying the `firebase_auth_ui (from `.symlinks/plugins/firebase_auth_ui/ios`)` dependency were found, but they required a higher minimum deployment target.

and also :
Error output from CocoaPods:
↳
[!] Automatically assigning platform `iOS` with version `8.1` on target `Runner` because no platform was specified. Please specify a platform for this target in your Podfile. See `https://guides.cocoapods.org/syntax/podfile.html#platform`.

Error running pod install
Error launching application on iPhone 11 Pro Max.
Can you give any help on this?

Hi,
I suspect iOS version isn't set in the iOS Podfile.
Please open [flutter app]/ios/Podfile. Uncomment second line or the one which looks like below:
platform :ios, '9.0
Please make sure the version is 9.0 as the plugin requires iOS version to be minimum 9.
Let me know if this works :)

Now it has changed to :
[!] Unable to determine Swift version for the following pods:

- `firebase_auth_ui` does not specify a Swift version and none of the targets (`Runner`) integrating it have the `SWIFT_VERSION` attribute set. Please contact the author or set the `SWIFT_VERSION` attribute in at least one of the targets that integrate this pod.

And
[!] Automatically assigning platform `iOS` with version `9.0` on target `Runner` because no platform was specified. Please specify a platform for this target in your Podfile. See `https://guides.cocoapods.org/syntax/podfile.html#platform`.

Can you please try to open the iOS project in Xcode and add a new swift file as people say it works for them here.
BTW I am also an Android Developer :)

error changes again..
[!] The following Swift pods cannot yet be integrated as static libraries:

The Swift pod `firebase_auth_ui` depends upon `FirebaseUI` and `FBSDKCoreKit`, which do not define modules. To opt into those targets generating module maps (which is necessary to import them from Swift when building as static libraries), you may set `use_modular_headers!` globally in your Podfile, or specify `:modular_headers => true` for particular dependencies.

That was self explainatory so i solved it, other errors keep popping after i solve each one. Why is everything in iOs so difficult? This ran immediately on Android

I solved id by adding these two lines in Podfile under target
use_modular_headers!
use_frameworks!


User Profile added questions and tags

Added questions and tags box on user profile page ui please merge it under hacktoberfest 2022

@abhijain2003
Actually it doesn't look like I expected.
It should look like this or better if possible

ok just give me some time i'll try it


AttachLauncher posix file with LEGION_FILE_CREATE sets executable bit

I'm doing some tests and noticed that when I use:
AttachLauncher al(LEGION_EXTERNAL_POSIX_FILE, cpy_lr, cpy, false, false);
al.attach_file(file_name.c_str(), fids, LEGION_FILE_CREATE);

The resulting file comes with its executable bit set.
-rwxr-xr-x  1 root root  24576 Feb 20 06:40 checkpoint.0.lp.0.4_0_0_0.dat

When I create the file myself by using:
std::ofstream file(file_name, std::ios::binary);

And immediately closing the file, it does not have the executable bit.

Probably need to adjust this line here unless @streichler had some reason to make the file executable.
https://gitlab.com/StanfordLegion/legion/-/blob/master/runtime/realm/transfer/lowlevel_disk.cc#L181

I posted a merge request for this here, along with updated error logging:
https://gitlab.com/StanfordLegion/legion/-/merge_requests/699


Force Read Only

The recent addition of being able to run containers as read only can be useful so it'd be great if there are ways enforce it to run as read only everytime without having to specify during docker run/create such as in a Dockerfile or when creating images manually.

Since read-only root fs is really a runtime configuration, we cannot force all users of a particular image to be read-only.
This would be better enforced at the in an authorization layer.
Closing since I believe this is an intended design decision.


Add Team Name to parsePlayerInfo or Way To Get Player's Team Name

Hello,
Is it possible to add the team name to the parsePlayerInfo function? Or is there a way to convert the team_number into the team they are on easily?
Thanks!

For now u can use
1 = spectator
2 = terrorist
3 = CT
I think it is also the team the player was on when the game ENDED. Yes its a bit goofy (this comes directly from the demo).

Ah, kk. I'll probably loop through one of the ticks then to get the players. Thanks!


panic occurs in concurrent client search

[ ] elastic.v6 (for Elasticsearch 6.x)
Please describe the expected behavior
elastic.Client do search job concurrently, just search success or search fail.
Please describe the actual behavior
panic occurs.
panic: runtime error: invalid memory address or nil pointer dereference
    panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x63cbc6]

goroutine 3427064 [running]:
github.com/olivere/elastic.(*Client).Stop(0x0)
    /home/richardlili/go/src/github.com/olivere/elastic/client.go:774 +0x26
panic(0x6a4dc0, 0x8832c0)
    /usr/local/go/src/runtime/panic.go:502 +0x229
github.com/olivere/elastic.(*Client).PerformRequest(0x0, 0x73ae80, 0xc4200140a0, 0x701b22, 0x4, 0xc431d90ce0, 0x13, 0xc448a25680, 0x67fa80, 0xc43efa26e0, ...)
    /home/richardlili/go/src/github.com/olivere/elastic/client.go:1253 +0xd6
github.com/olivere/elastic.(*IndicesAnalyzeService).Do(0xc454e11d90, 0x73ae80, 0xc4200140a0, 0x1, 0xc454e11d90, 0x0)
    /home/richardlili/go/src/github.com/olivere/elastic/indices_analyze.go:192 +0x149
main.doSearch(0xc4366d4914, 0xc, 0x0)
    /home/richardlili/go/src/benchElastic/bench.go:79 +0x460
main.main.func1(0xc4407d0000, 0x69a197, 0x7e5800, 0xc42ff7a000)
    /home/richardlili/go/src/benchElastic/bench.go:48 +0x63
created by main.main
    /home/richardlili/go/src/benchElastic/bench.go:46 +0x307

Any steps to reproduce the behavior?
reproduce every time.
my code:
for i:=0; i<querycount; i++ {
		worker <- 1
		go func() {
			index := rand.Intn(len(querys)-1)
			doSearch(querys[index], 0)
			<-worker
		}()
}

func doSearch(){
   client, err := elastic.NewClient(xxxxxx)
   defer client.Stop()
   ctx := context.Background()
    //some bool query composed

  //search and sort
}

Two comments here. First, please make sure to catch errors before using client. The client.Stop() might just cause your problem because client is nil because there was an error in elastic.NewClient(...). Second, you shouldn't create a new client for each search. Instead, you should be creating a single client and pass that to doSearch instead.


[PE-D] Using max int as index will result in confusing invalid command

doing display 1000 will result in an error message stating that The index provided is invalid which is fair enough because the number of contacts in the app does not reach 1000.
However, doing display<PHONE_NUMBER> does not result in that previous error message stated above. Instead, it shows an invalid command format error which is confusing because the format of the command matches the format of the error message shown:

Similar with other commands which containts COUNT like filter.
Doing filter gender<PHONE_NUMBER> will result in a misleading error message which is confusing:

Labels: severity.Low type.FunctionalityBug
original: aryagiat/ped#9

fixed for filter


How to generate relationship properties through .moor file?

I have a .moor file like this:
CREATE TABLE Foos (
  id TEXT NOT NULL PRIMARY KEY,
  name TEXT NOT NULL
) AS Foo;

CREATE TABLE Bars (
  id TEXT NOT NULL PRIMARY KEY,
  fooId TEXT NOT NULL REFERENCES Foos(id),
  name TEXT NOT NULL
) AS Bar;

Now I need the class Foo to be generated as:
class Foo extends DataClass implements Insertable<Foo> {
  final String id;
  final String name;
  final List<Bar> bars;
}

But it won't generate the bars property =\
I know I can always use Dart to generate the table classes and use .moor only for indexes and queries, but I wonder if some of these would be possible:

To automatically generate relationship properties (list of bars in foo and an instance of foo in each bar).

To allow we to apply one or more mixins:
Let's say we have this mixin:

abstract class ListOfBarsMixin {
  final List<Bar> = List<Bar>();
}

And in the .moor file we could:
CREATE TABLE Foos (
  id TEXT NOT NULL PRIMARY KEY,
  name TEXT NOT NULL
) AS Foo WITH ListOfBarsMixin;

Notice the WITH [ListOfMixins].
That would generate the following:
class User extends DataClass with BaseUser implements Insertable<User> {
}

Allow us to create queries and indexes outside .moor files (i.e.: don't use .moor files at all):

@Index(name: "IX_Foo_IdAndName", fields: ["id", "name"])
@Index(name: "IX_Foo_OnlyName", fields: ["name"])
class Foo extends Table {
...
}

@UseMoor(tables: [Todos, Categories])
class MyDatabase extends _$MyDatabase {

  @Insert("INSERT INTO Foo(id, name) VALUES (:id, :name)")
  Future<int> anyName(String id, String name); // If bodyless are not allowed, an empty body will not hurt

  @Select("SELECT * FROM Foo WHERE id = :id")
  Future<Foo> getFooById(String id);  // It will use `getSingle` if the return is not a list or get otherwise
}

Thanks for the ideas!

To automatically generate relationship properties (list of bars in foo and an instance of foo in each bar).

Doing this based on CREATE TABLE statements alone will probably result in inaccurate code. Just because there is some other table Bars referencing Foos, it doesn't necessarily mean that a list of Bar is a logical property of Foo. It would also break queries in moor files, since it's impossible to write a query having a List<Bar> in a column.

allow we to apply one or more mixins:

We already have #114 as an issue for this.

Allow us to create queries and indexes outside .moor files (i.e.: don't use .moor files at all):

If it helps, you can write queries in a @UseMoor and @UseDao annotation (under the queries parameter).
The syntax you're suggesting (having an annotated abstract method) would be hard to implement now, since moor will generate a superclass for you. To support abstract methods, it would have to generate an implementation for the interface you provide.
In general, I don't really see moor as an ORM. To me, it's more of a convenience framework around sql, so it inherits most of its concepts. I know there is interest in adding more ORM-like features, but those would also add a lot of complexity to the project. This includes automatic joins or subqueries (which we would need when generating a List<Bar>) or customizing the generated classes. In my experience, attempting to prescind a relational model rarely works and can easily add a lot of complexity. See also What ORMs have taught me: just learn SQL and Embracing SQL without abstraction. I'm not saying that those features don't add value, but I'm reluctant to work on them if they're very complex.


Merging dup results

When there are duplicate results coming from strider, ac will merge them (yay?)
Strider Issue here:
https://github.com/ranking-agent/strider/issues/163

Fixed by having strider not dup results


Add top-k support to LogitsProcessor

Hello everybody,
During my recent development of candle-vllm, I have been working on sampling techniques and noticed that top-k, beam search and some other features are missing from LogitsProcessor (#1263).
In this PR, I have added the top-k technique (which selects the k most likely tokens and samples among those, ensuring that lesser likely tokens are not considered) to LogitsProcessor. Additionally, I restructured the LogitsProcessor API slightly to use enums in order to reduce the chance for subtle bugs.

I would suggest you have this enhanced LogitsProcessor as part of your candle-vllm crate for now - the immediate goal for candle-transformers is not to support all sampling method but instead it would be better if this can be deffered to other crates that can focus on such specific aspects - an alternative would be to make a crate that is only for logits processing if it could be useful without requiring all the dependencies of your crate.

Ok, with that in mind, I think I will make a separate crate for only sampling. Do you think that eventually candle-transformers' goal will be to support all sampling methods - perhaps I can reopen an equivalent PR then?


[WFCORE-5530] Add encryption support to FilesystemSecurityRealm

Jira: https://issues.redhat.com/browse/WFCORE-5530
To pass CI, this will require an Elytron upgrade.
Analysis document: https://github.com/wildfly/wildfly-proposals/pull/421
Requires: https://issues.redhat.com/browse/ELY-2078
Elytron PR with tests: https://github.com/wildfly-security/wildfly-elytron/pull/1676
WildFly PR with tests and documentation updates: https://github.com/wildfly/wildfly/pull/15269

Core - Full Integration Build 11287 outcome was FAILURE using a merge of 01e018f8a3bd6760ab5e29453f80c93ce3f57bff
Summary: Compilation error: Compiler (new) Build time: 00:01:54

Core - Full Integration Build 11419 outcome was FAILURE using a merge of 01e018f8a3bd6760ab5e29453f80c93ce3f57bff
Summary: Compilation error: Compiler (new) Build time: 00:02:50

Core - Full Integration Build 11421 outcome was FAILURE using a merge of 80fdc9a643a0aa5fc4a5200b7e1d1c6d70bd41e2
Summary: Compilation error: Compiler (new) Build time: 00:02:37

Core - Full Integration Build 11289 outcome was UNKNOWN using a merge of 80fdc9a643a0aa5fc4a5200b7e1d1c6d70bd41e2
Summary: Canceled (Error while applying patch; cannot find commit b57b2ec3fd485fd2f8f9538ddc746071af29fcdf in the https://github.com/wildfly/wildfly-core.git repository, possible reason: refs/pull/4983/merge branch was updated and the commit selected for the ... Build time: 00:02:47

Core - Full Integration Build 11422 outcome was FAILURE using a merge of 80fdc9a643a0aa5fc4a5200b7e1d1c6d70bd41e2
Summary: Compilation error: Compiler Build time: 00:01:55

Core - Full Integration Build 11290 outcome was FAILURE using a merge of 80fdc9a643a0aa5fc4a5200b7e1d1c6d70bd41e2
Summary: Compilation error: Compiler (new) Build time: 00:06:56

Core - Full Integration Build 11291 outcome was FAILURE using a merge of 8d7da8e43f2f089b60a4bc1b3b5dfdfaecfbfc86
Summary: Compilation error: Compiler (new) Build time: 00:02:40

Core - Full Integration Build 11424 outcome was FAILURE using a merge of 8d7da8e43f2f089b60a4bc1b3b5dfdfaecfbfc86
Summary: Compilation error: Compiler Build time: 00:01:51

Core - Full Integration Build 11292 outcome was FAILURE using a merge of 8d7da8e43f2f089b60a4bc1b3b5dfdfaecfbfc86
Summary: Compilation error: Compiler Build time: 00:02:34

Core - Full Integration Build 11427 outcome was FAILURE using a merge of 01380e76875dac1ba06db5e6a621edb7f011c9de
Summary: Compilation error: Compiler Build time: 00:01:32

Core - Full Integration Build 11294 outcome was FAILURE using a merge of 01380e76875dac1ba06db5e6a621edb7f011c9de
Summary: Compilation error: Compiler Build time: 00:04:51

Core - Full Integration Build 11295 outcome was FAILURE using a merge of d087fe23907c95e395ee0cd28ab674df34ef0468
Summary: Compilation error: Compiler Build time: 00:01:04

Core - Full Integration Build 11429 outcome was FAILURE using a merge of d087fe23907c95e395ee0cd28ab674df34ef0468
Summary: Compilation error: Compiler Build time: 00:04:39

Core - Full Integration Build 11299 outcome was FAILURE using a merge of 551079a8f253c9798b1a2f573c30f9a9558e5ffc
Summary: Compilation error: Compiler Build time: 00:00:56

Core - Full Integration Build 11432 outcome was FAILURE using a merge of 551079a8f253c9798b1a2f573c30f9a9558e5ffc
Summary: Compilation error: Compiler Build time: 00:01:43

Core - Full Integration Build 11437 outcome was FAILURE using a merge of 1c19457beec31859f139dff3de84a558ecb40582
Summary: Compilation error: Compiler Build time: 00:01:26

Core - Full Integration Build 11303 outcome was FAILURE using a merge of 1c19457beec31859f139dff3de84a558ecb40582
Summary: Compilation error: Compiler Build time: 00:03:21

Core - Full Integration Build 11309 outcome was FAILURE using a merge of fd0416c917a0a599199f1c39d6a9dddf5a17080a
Summary: Compilation error: Compiler Build time: 00:01:55

Core - Full Integration Build 11443 outcome was FAILURE using a merge of fd0416c917a0a599199f1c39d6a9dddf5a17080a
Summary: Compilation error: Compiler Build time: 00:04:54

Core - Full Integration Build 11316 outcome was FAILURE using a merge of 986c6f0157a0e7700fb35003777f0579ecfb8a5e
Summary: Compilation error: Compiler (new) Build time: 00:01:56

Core - Full Integration Build 11449 outcome was FAILURE using a merge of 986c6f0157a0e7700fb35003777f0579ecfb8a5e
Summary: Compilation error: Compiler (new) Build time: 00:05:17

Core - Full Integration Build 11317 outcome was FAILURE using a merge of dbdce342595b83bd8a37a39fe61e655eb42e5136
Summary: Compilation error: Compiler Build time: 00:01:44

Core - Full Integration Build 11450 outcome was FAILURE using a merge of dbdce342595b83bd8a37a39fe61e655eb42e5136
Summary: Compilation error: Compiler Build time: 00:03:01

Core - Full Integration Build 11455 outcome was FAILURE using a merge of ce6e6cfb7c816b6041ca1b71bc098a21c2e89641
Summary: Compilation error: Compiler Build time: 00:01:02

Core - Full Integration Build 11322 outcome was FAILURE using a merge of ce6e6cfb7c816b6041ca1b71bc098a21c2e89641
Summary: Compilation error: Compiler Build time: 00:01:31

Core - Full Integration Build 11460 outcome was FAILURE using a merge of d13cf209d38a3f649655f1a005743867f9eeef41
Summary: Compilation error: Compiler Build time: 00:03:15

Core - Full Integration Build 11328 outcome was FAILURE using a merge of d13cf209d38a3f649655f1a005743867f9eeef41
Summary: Compilation error: Compiler Build time: 00:02:17

@Ashpan @fjuma This now has a merge conflict.

Core - Full Integration Build 11334 outcome was FAILURE using a merge of 6da4d10407f3b20b62bada580e09db066ea32d3b
Summary: Compilation error: Compiler Build time: 00:07:48

Core - Full Integration Build 11466 outcome was FAILURE using a merge of 6da4d10407f3b20b62bada580e09db066ea32d3b
Summary: Compilation error: Compiler Build time: 00:08:29

@bstansberry Fixed the merge conflict

/retest

Core - Full Integration Build 11471 outcome was FAILURE using a merge of 6da4d10407f3b20b62bada580e09db066ea32d3b
Summary: Tests failed: 1 (1 new), passed: 7218, ignored: 136 Build time: 06:02:46
Failed tests
org.jboss.as.test.clustering.cluster.web.persistence.CoarseDatabasePersistenceWebFailoverTestCase.testGracefulSimpleFailover: java.lang.AssertionError: expected:<200> but was:<500>
	at org.jboss.as.test.clustering.ClusterHttpClientUtil.establishTopology(ClusterHttpClientUtil.java:69)
	at org.jboss.as.test.clustering.ClusterHttpClientUtil.establishTopology(ClusterHttpClientUtil.java:58)
	at org.jboss.as.test.clustering.ClusterHttpClientUtil.establishTopology(ClusterHttpClientUtil.java:52)
	at org.jboss.as.test.clustering.cluster.web.AbstractWebFailoverTestCase.establishTopology(AbstractWebFailoverTestCase.java:389)
	at org.jboss.as.test.clustering.cluster.web.AbstractWebFailoverTestCase.testFailover(AbstractWebFailoverTestCase.java:208)
	at org.jboss.as.test.clustering.cluster.web.AbstractWebFailoverTestCase.testGracefulSimpleFailover(AbstractWebFailoverTestCase.java:92)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at jdk.internal.reflect.GeneratedMethodAccessor38.invoke(Unknown Source)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at jdk.internal.reflect.GeneratedMethodAccessor37.invoke(Unknown Source)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at jdk.internal.reflect.GeneratedMethodAccessor36.invoke(Unknown Source)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at jdk.internal.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at jdk.internal.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at jdk.internal.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at jdk.internal.reflect.GeneratedMethodAccessor15.invoke(Unknown Source)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at jdk.internal.reflect.GeneratedMethodAccessor14.invoke(Unknown Source)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at jdk.internal.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at jdk.internal.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at jdk.internal.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
------- Stdout: -------
 [0m20:57:23,175 INFO  [org.jboss.as.repository] (management-handler-thread - 1) WFLYDR0001: Content added at location /store/work/tc-work/37b47ae8b9c60325/full/testsuite/integration/clustering/target/wildfly-1/standalone/data/content/ee/b038e327160a80ecabaaf8b23e98dcec275b8b/content
 [0m [0m20:57:23,180 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-5) WFLYSRV0027: Starting deployment of "CoarseDatabasePersistenceWebFailoverTestCase.war" (runtime-name: "CoarseDatabasePersistenceWebFailoverTestCase.war")
 [0m [0m20:57:23,281 INFO  [org.jboss.weld.deployer] (MSC service thread 1-8) WFLYWELD0003: Processing weld deployment CoarseDatabasePersistenceWebFailoverTestCase.war
 [0m [0m20:57:23,306 INFO  [org.jboss.as.ejb3.deployment] (MSC service thread 1-8) WFLYEJB0473: JNDI bindings for session bean named 'TopologyChangeListenerBean' in deployment unit 'deployment "CoarseDatabasePersistenceWebFailoverTestCase.war"' are as follows:

	java:global/CoarseDatabasePersistenceWebFailoverTestCase/TopologyChangeListenerBean!org.jboss.as.test.clustering.TopologyChangeListener
	java:app/CoarseDatabasePersistenceWebFailoverTestCase/TopologyChangeListenerBean!org.jboss.as.test.clustering.TopologyChangeListener
	java:module/TopologyChangeListenerBean!org.jboss.as.test.clustering.TopologyChangeListener
	java:jboss/exported/CoarseDatabasePersistenceWebFailoverTestCase/TopologyChangeListenerBean!org.jboss.as.test.clustering.TopologyChangeListener
	ejb:/CoarseDatabasePersistenceWebFailoverTestCase/TopologyChangeListenerBean!org.jboss.as.test.clustering.TopologyChangeListener
	java:global/CoarseDatabasePersistenceWebFailoverTestCase/TopologyChangeListenerBean
	java:app/CoarseDatabasePersistenceWebFailoverTestCase/TopologyChangeListenerBean
	java:module/TopologyChangeListenerBean

 [0m [0m20:57:23,343 INFO  [io.jaegertracing.internal.JaegerTracer] (MSC service thread 1-8) No shutdown hook registered: Please call close() manually on application shutdown.
 [0m [0m20:57:23,343 INFO  [org.wildfly.microprofile.opentracing.smallrye] (MSC service thread 1-8) WFLYTRAC0001: Tracer initialized: JaegerTracer(version=Java-1.6.0, serviceName=CoarseDatabasePersistenceWebFailoverTestCase.war, reporter=RemoteReporter(sender=org.wildfly.extension.microprofile.opentracing.spi.sender.WildFlySender@3db5147b, closeEnqueueTimeout=1000), sampler=ConstSampler(decision=true, tags={sampler.type=const, sampler.param=true}), tags={hostname=build49-el7, jaeger.version=Java-1.6.0, ip=<IP_ADDRESS>}, zipkinSharedRpcSpan=false, expandExceptionLogs=false, useTraceId128Bit=false)
 [0m [0m20:57:23,469 INFO  [org.infinispan.CLUSTER] (non-blocking-thread--p26-t6) [Context=CoarseDatabasePersistenceWebFailoverTestCase.war] ISPN100008: Updating cache members list [node-1], topology id 2
 [0m [0m20:57:23,480 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 94) WFLYCLINF0002: Started CoarseDatabasePersistenceWebFailoverTestCase.war cache from web container

@Ashpan thanks


CSV Import not populating record selector inputs

I am in the process of migrating all of my accounts over from my old CRM to Corteza
I have added all of the leads/accounts and now trying to import events/notes etc.
I added a dummy note and then exported it to get all of the field names. I then added my notes using the relevant fields.
The issue I am finding though is that the notes are not being attributed to the relevant leads/accounts.
Focusing on Leads just now
when adding notes manually, they are attributed to a lead by selecting the relevant lead from the dropdown Record Selector.
I am adding the Lead name to the CSV as shown in in the record selector but when I import the Notes and then view, the lead section is blank. when I view the lead, there are no notes added
the same is true for any imports where a record selector is used, Corteza seems to import all information but misses that out, There can be hundreds of notes and to go through them all and manually add the record will take for ever

Is there any update on this?

hey @Fajfa, thank you for fixing the export for record selector values however, is there any update or plan when importing a CSV into a table with record selector typed fields?


CRUD Operations on schedules (Back End)

User Story
As a student I can create and edit named schedules so that I can plan my classes.
Acceptance Criteria

[ ] There is a way to store schedules in a database
[ ] I should be able to create new schedules and set their names.
[ ] There is a way to delete courses from schedules
[ ] There is a way to delete entire schedules
[ ] There is a way to modify schedule names
[ ] There is a way to add courses to schedules

Implementation Todos
Back end:

[ ] Getter and setter methods for the Schedule object.
[ ] Create a function to load a schedule object from the database
[ ] Create a function that allows us to persist a schedule object to the database
[ ] Create a function that allows deletion of a schedule from the database

...
Testing:

[ ] Front end tests pass and there is adequate coverage
[ ] Test that a schedule can be created
[ ] Test that a schedule loads to the database correctly
[ ] Test basic schedule functionality (add classes/remove classes/change names)
[ ] Test that these changes persist after the schedule is pushed to the database and reloaded.
[ ] Test that the schedule can be deleted
[ ] Test that the schedule can be deleted from the database
...

Added ScheduleItem entity, follows format of Course document, except:

all variables are strings / numbers
there is only one course section


Release - 0.2.0

https://github.com/sanG-github/nimble-devops-ic-infrastructure/milestone/2
Features

[#4][Infrastructure] Setting up AWS ECR for storing Docker images
[#1][Infrastructure] Setting up the IAM groups, roles, bot & user accounts.
[#13][Infrastructure] Setup AWS VPC
[#3][Infrastructure] Using AWS secrets manager for environment variables
[#8][Infrastructure] Setting CloudWatch for log monitoring.
[#7][Infrastructure] Setup S3 for assets storage.

Chores
n/a
Bugs
n/a

There should be separate branch for release: https://nimblehq.co/compass/development/version-control/release-management/#release-pull-request

Closed due to violating the convention about using a separate branch to release as Alex mentioned.


about rviz

Hi Jason Nezvadovitz:
Thankyou for you project.
I want to know how to set in rviz so that  i can see the GUI like the picture you paste in "Readme"?
I copy the lqrrt.rviz into .rviz fold and there is a "global status:warn -- no tf data" at rviz panel

@CxyCH
Hmm. So with lqrrt.rviz in your .rviz folder, you should be able to open rviz and then click File -> Open Config and then select lqrrt.rviz from the .rviz folder. This should create the default view for my ROS demo. Then after running catkin_make on the lqrrt_ros package, do
roslaunch lqrrt_ros lqrrt_sim.launch
and 2 new windows should appear: a command GUI and a drawing pane for drawing obstacles. For the command GUI, set move_type to 'drive' and then send various goals (and for fun, increase the last option 'speed_factor' to something greater than 1). For the drawing pane, left-click to draw obstacles, right-click to erase, press q to clear all, and esc to exit. Here is a video so you can follow these steps:
https://www.youtube.com/watch?v=XIyVz5p564E
You might notice that it says "behavior: car" and such. This is a simulation for a boat, actually. "car behavior" refers to the fact that I make it more likely for the boat to move tangent to its path like a car would, even though physically it can still turn in place.


fix: remove preadv2 optimization

This optimization has introduced many compatibility issues, so remove it for now until we find it worthy the investment.
See also

https://github.com/rust-lang/cc-rs/issues/1039
https://github.com/rust-lang/jobserver-rs/issues/87

You can use libc::syscall(SYS_preadv2, ...) to invoke the function without direct glibc support. If the kernel doesn't support it you'll get ENOSYS as usual.

Thanks! That sounds also correct, though I personally don't have time investing in it (also have less experience of that). Need somebody else to work on that route.

If it's not a one or two line change then I agree that we should revert for now to fix builds. I would be interested in the syscall change however because that seems simple but I'm not familiar with the code base.

When might this be released?

I've asked @petrochenkov to do so on zulip, only they have the right to publish a new release


Flash: Unending commands should exit on SIGINT not ENTER

I have them exit on ENTER only because it was really easy to do that but exiting on SIGINT is better user experience.
Replace awaitUserInput to do this.

process.on('SIGINT', () => {...}) for the win!


Since tha last update the filter to select the Source files is not working.

No Source appears to edit.
I'm sending you the screenshots.
Best Regards,

It looks a lot like https://github.com/codefori/vscode-ibmi/issues/2239

@hn000246 if you revert back to 2.12.1, does it work again?

Indeed. I just downgrade and it works again.

It looks a lot like https://github.com/codefori/vscode-ibmi/issues/2239

Yes , the same.

Hi @worksofliam   Does the last update 2.13.4 has the Ñ problem solved?

@hn000246 Sadly not.

Same as #2239

Are you close to this solución @worksofliam? We are praying for that. 🤓


Chat - Unable to find user<EMAIL_ADDRESS>

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Issue found when executing PR https://github.com/Expensify/App/pull/21030
Action Performed:

Go to URL https://staging.new.expensify.com/
Login with any Expensify account
Join #bobs-testing public room (https://staging.new.expensify.com/r/5593084223054221
Try to mention user account<EMAIL_ADDRESS>
Expected Result:
User can to mention users account<EMAIL_ADDRESS>Actual Result:
User<EMAIL_ADDRESS>not showing up.
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[x] Android / native
[x] Android / Chrome
[x] iOS / native
[x] iOS / Safari
[x] MacOS / Chrome / Safari
[x] MacOS / Desktop

Version Number: <IP_ADDRESS>
Reproducible in staging?: Yes
Reproducible in production?: No
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
https://github.com/Expensify/App/assets/78819774/e353bf0b-90f5-49a0-9d91-f400df355856

Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
View all open jobs on GitHub

:wave: Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open StagingDeployCash deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:

Identify the pull request that introduced this issue and revert it.
Find someone who can quickly fix the issue.
Fix the issue yourself.

I don't think this is a blocker. I could not repro. Additionally, mentions seem to be working fine now. Closing.
https://github.com/Expensify/App/assets/22219519/9f51b74f-115a-46c5-9156-141fdbbe5197


some weird bug with source code

Describe your problem here.
i was trying to use the build game 64 feature but it said this (p.s. i have everything installed from the setup.bat dont say i need to install that cuz i already have and i have git already too) anyways heres the error: C:\HaxeToolkit\haxe\std/sys/Http.hx:495: characters 4-9 : Uncaught exception X509 - Certificate verification failed, e.g. CRL, CA or signature check failed
C:\HaxeToolkit\haxe\std/sys/Http.hx:65: characters 4-14 : Called from here
C:\HaxeToolkit\haxe\std/sys/Http.hx:251: characters 12-25 : Called from here
C:\HaxeToolkit\haxe\std/sys/Http.hx:68: characters 3-30 : Called from here
C:\HaxeToolkit\haxe\std/sys/Http.hx:497: characters 3-19 : Called from here
C:/HaxeToolkit/haxe/lib/SScript/4,1,0/src/tea/backend/SScriptVer.hx:29: characters 45-142 : Called from here
C:/HaxeToolkit/haxe/lib/SScript/4,1,0/src/macro/Macro.hx:44: characters 3-21 : Called from here
(unknown) : Called from here
i literally dont know what to do ive tried everything it just wont work plz help btw im using psych engine 0.7.1h source code
Are you modding a build from source or with Lua?
Source
What is your build target?
Windows x64
Did you edit anything in this build? If so, mention or summarize your changes.
I didnt edit anything i used a fresh new build but its keeps on doing this error

reinstall haxe 4.2.5

ill try reinstalling

update: everything was working until i downloaded sscript

make sure you're using latest sscript

i need your guys help bc i was trying to build psych engine and i ran into this same problem ive reinstalled haxe but its not working and i installed sscript and nothing i do works


docker compose

Also set BARTENDER_API_URL using env var

Amazing, working out of the box, great job! 🚀


please post link to known pip bug for CentOS/RHEL 6/7

Please post a link to this, I've run into this a few times, and can confirm that "could not locate pip command" issue reappears when upgrading to CentOS 6.7.  Fix is to place symlink in /usr/bin:
ln -s pip pip-python

I also have other modules installed on my puppetmaster affected by this.
puppetlabs bug ticket: https://tickets.puppetlabs.com/browse/PUP-4997

#24 - https://tickets.puppetlabs.com/browse/PUP-3829


Fix/timestamp ms

Proposed changes

This assumes fix #21 is included for #20
Timestamps strings for V2 tests were missing milliseconds, resulting in failed tests.
cpp-client/test/api/two/two_blocks.cpp:109: Failure
Expected equality of these values:
  "2017-03-21T13:00:00Z"
  human
    Which is: "2017-03-21T13:00:00.000Z"
[  FAILED  ] api.test_two_block (188 ms)

cpp-client/test/api/two/two_transactions.cpp:84: Failure
Expected equality of these values:
  "2018-08-24T15:54:26Z"
  human
    Which is: "2018-08-24T15:54:26.000Z"

cpp-client2/test/api/two/two_votes.cpp:84: Failure
Expected equality of these values:
  "2018-08-24T15:54:27Z"
  human
    Which is: "2018-08-24T15:54:27.000Z"

[----------] Global test environment tear-down
[==========] 62 tests from 1 test case ran. (24074 ms total)
[  PASSED  ] 59 tests.
[  FAILED  ] 3 tests, listed below:
[  FAILED  ] api.test_two_block
[  FAILED  ] api.test_two_transaction
[  FAILED  ] api.test_two_vote

 3 FAILED TESTS

After adding ms, all tests pass.

test/api/two/two_blocks.cpp

-    ASSERT_STREQ("2017-03-21T13:00:00Z", human);
+    ASSERT_STREQ("2017-03-21T13:00:00.000Z", human);

test/api/two/two_transactions.cpp

-    ASSERT_STREQ("2018-08-24T15:54:26Z", human);
+    ASSERT_STREQ("2018-08-24T15:54:26.000Z", human);

test/api/two/two_votes.cpp

-    ASSERT_STREQ("2018-08-24T15:54:27Z", human);
+    ASSERT_STREQ("2018-08-24T15:54:27.000Z", human);

[----------] Global test environment tear-down
[==========] 62 tests from 1 test case ran. (23344 ms total)
[  PASSED  ] 62 tests.

Types of changes

[x] Bugfix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Refactoring (improve a current implementation without adding a new feature or fixing a bug)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Build (changes that affect the build system)
[ ] Docs (documentation only changes)
[ ] Test (adding missing tests or fixing existing tests)
[ ] Other... Please describe:

Checklist

[x] I have read the CONTRIBUTING documentation
[x] Lint and unit tests pass locally with my changes
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] I have added necessary documentation (if appropriate)

Further comments

Good catch, @ciband

https://dexplorer.ark.io:8443/api/v2/blocks/13114381566690093367

{
  "data": {
    "id": "13114381566690093367",
    "version": 0,
    "height": 1,
    "previous": null,
    "forged": {
      "reward": 0,
      "fee": 0,
      "total": 0,
      "amount": 1.25e+16
    },
    "payload": {
      "hash": "2a44f340d76ffc3df204c5f38cd355b7496c9065a1ade2ef92071436bd72e867",
      "length": 11395
    },
    "generator": {
      "username": null,
      "address": "D6Z26L69gdk9qYmTv5uzk3uGepigtHY4ax",
      "publicKey": "03d3fdad9c5b25bf8880e6b519eb3611a5c0b31adebc8455f0e096175b28321aff"
    },
    "signature": "3044022035694a9b99a9236655c658eb07fc3b02ce5edcc24b76424a7287c54ed3822b0602203621e92defb360490610f763d85e94c2db2807a4bd7756cc8a6a585463ef7bae",
    "transactions": 52,
    "timestamp": {
      "epoch": 0,
      "unix":<PHONE_NUMBER>,
      "human": "2017-03-21T13:00:00.000Z"
    }
  }
}

AFAIK, ISO8601 does support ms.
Docs don’t show ms, but it’s definitely returning with ms.
What might be a good question is if Unix time is calculated using ms precision in Core.
Arduino’s time_t does lack ms though.
@faustbrian any idea if anything recently got changed pertaining to Core and timestamps?

Tied to Core #1106 ?

time_t is "typically" (read: every platform i've ever touched) is a seconds since unix epoch (1/1/1970).
https://en.cppreference.com/w/c/chrono/time_t
IoT nor desktop should be putting milliseconds in here.  If we are using ISO8601 for timestamps and we need ms precision, I would vote to track the milliseconds separately (e.g. a double called "fractional") and then construct a composite value as needed for calculations or output.
If seconds are good enough, then that makes things simpler.

The human datetime was changed to ISO recently because we previously were using the format method of the lib we use which could change at anytime while an ISO string will be guaranteed to follow the standard.
The docs still need to be updated.

I did some more digging.  It does look like ISO8601 will support fractional seconds.  It was a cryptic footnote (at least to me).  Sorry for the previous mis-information.
If core will be using millisecond precision then the cpp libraries will have to adapt.  I assume that is the intention?

The client should be adapted to the new ISO format, same will be done for all other clients soon.

code from #21 removed.
This PR should resolve its failing test, @faustbrian


pdfkit error: Exit with code 1 due to network error: ProtocolUnknownError

pdfkit error: Exit with code 1 due to network error: ProtocolUnknownError
I'm trying to convert an HTML file to PFD with the pdfkit package. Here is my python code:
Code sample

				location = os.path.join(files_path, f'user_data/temp/{code_generator(8)}')
				with app.app_context():
					html = render_template('email_templates/invoice.html', invoice=invoice)
					with open(f"{location}.html",'w',encoding = 'utf-8') as f:
						f.write(html)
					pdfkit.from_file(f"{location}.html", `f"{location}.pdf")

But I'm getting this error:
Traceback (most recent call last):
  File "/var/www/ifileshifts/run.py", line 3, in <module>
    from ifileshifts import app, socketio#, manager
  File "/var/www/ifileshifts/ifileshifts/__init__.py", line 53, in <module>
    from ifileshifts.main.routes import main
  File "/var/www/ifileshifts/ifileshifts/main/routes.py", line 6, in <module>
    from .functions import first_otp_email, duplicate_handler, share_data, convert_size, get_size, is_integer
  File "/var/www/ifileshifts/ifileshifts/main/functions.py", line 371, in <module>
    invoice_genarator()
  File "/var/www/ifileshifts/ifileshifts/main/functions.py", line 353, in invoice_genarator
    pdfkit.from_file(f"{location}.html", f"{location}.pdf")
  File "/usr/local/lib/python3.6/dist-packages/pdfkit/api.py", line 51, in from_file
    return r.to_pdf(output_path)
  File "/usr/local/lib/python3.6/dist-packages/pdfkit/pdfkit.py", line 201, in to_pdf
    self.handle_error(exit_code, stderr)
  File "/usr/local/lib/python3.6/dist-packages/pdfkit/pdfkit.py", line 155, in handle_error
    raise IOError('wkhtmltopdf reported an error:\n' + stderr)
OSError: wkhtmltopdf reported an error:
Exit with code 1 due to network error: ProtocolUnknownError

What is wrong here? What is the solution?
Your environment

pdfkit version: 1.0.0
Node version: Python 3.6.9
Browser version (if applicable):
Operating System: Ubuntu 18.04

This is repo of JavaScript's pdfkit library, ask elsewhere.


Update docs with new fields

Description
Related: #569. Creating a separate PR as that one is already in queue. Keeping it in draft until that is merged.
Type of change

[ ] :sunflower: Feature
[ ] :bug: Bugfix
[x] :world_map: Documentation
[ ] :robot: Test
[ ] :computer: CI/Deployment
[ ] :hamster: Trivial/Minor

Issue(s)

https://github.com/alcionai/corso/issues/1366

Test Plan

[ ] :muscle: Manual
[ ] :zap: Unit test
[ ] :green_heart: E2E

https://github.com/alcionai/corso/pull/1492#discussion_r1018795411


Added threat intel to 2.15 release notes.

Description
Added threat intel to 2.15 release notes.
Issues Resolved
[List any issues this PR will resolve]
Check List

[ ] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Dco failed

Closing as we don't need to update the release notes.


Fix UNION ALL aliasing with more complex queries

Which issue does this PR close?

Closes #6385 .
Rationale for this change
Fixes aliasing bugs for UNION ALL
#6385 contains test cases

What changes are included in this PR?

Are these changes tested?
Yes

Are there any user-facing changes?
No

@jackwener @alamb whenever you have time


add Delete function to BotState for parity with JavaScript

This brings the C# implementation in line with the JavaScript.
This is the corresponding JavaScript PR. https://github.com/Microsoft/botbuilder-js/pull/679

fixes https://github.com/Microsoft/BotBuilder/issues/5175

Pull Request Test Coverage Report for Build 44853

0 of 0   changed or added relevant lines in 0 files are covered.
13 unchanged lines in 1 file lost coverage.
Overall coverage increased (+0.03%) to 55.671%

Files with Coverage Reduction
New Missed Lines
%

/libraries/Microsoft.Bot.Builder/BotState.cs
13
82.44%

Totals

Change from base Build 44824:
0.03%

Covered Lines:
5473

Relevant Lines:
9831

💛  - Coveralls


fix hostname -f vs os.Hostname() logging

We were logging the deprecation notice before being sure that os.Hostname() was going to be used

Yes, it's expected, the KB is in the process of being reviewed on the support side, when it's up I'll be able to create this link on dtdg.co


Refactored Discord Webhooks. New LED support and others

Added support for H96 Max LEDS (also made is so LED is red when service is running and BLUE when service is down)
Refactored a bit the Discord Webhooks
following @notheowner 's changes  fixed get_config function initialization

While personally I don't care for for LED functionality.

LED switching works on H96 Max
Webhook works
Timezone setting works

LGTM

notheowner says it's good so I hope it works fine :)
Thank you for your contribution!


Update README.md

Updated README add information on how to configure log4j.xml for applications that use log4j

:grey_exclamation: Build Aborted

The PR is not allowed to run in the CI yet

Expand to view the summary

Build stats

Build Cause: [Pull request #86 opened]

Reason: The PR is not allowed to run in the CI yet

Start Time: 2020-08-04T21:43:05.351+0000

Duration: 3 min 29 sec

Commit: cd6f40edff97a38c7c3bf001ebc232755ccc19de

Steps errors
Expand to view the steps failures

Name: Load a resource file from a shared library

Description:

Duration: 0 min 0 sec

Start Time: 2020-08-04T21:46:30.580+0000

log

Name: Error signal

Description: githubPrCheckApproved: The PR is not allowed to run in the CI yet. (Only users with write permission

Duration: 0 min 0 sec

Start Time: 2020-08-04T21:46:30.651+0000

log

Log output
Expand to view the last 100 lines of log output

[2020-08-04T21:43:23.717Z] using GIT_SSH to set credentials GitHub user @elasticmachine SSH key
[2020-08-04T21:43:23.723Z]  > git merge 5ee6df16e990567351d3a362f581d7139df330f4 # timeout=10
[2020-08-04T21:43:23.730Z]  > git rev-parse HEAD^{commit} # timeout=10
[2020-08-04T21:43:23.735Z] Merge succeeded, producing cd6f40edff97a38c7c3bf001ebc232755ccc19de
[2020-08-04T21:43:23.735Z] Checking out Revision cd6f40edff97a38c7c3bf001ebc232755ccc19de (PR-86)
[2020-08-04T21:43:23.735Z]  > git config core.sparsecheckout # timeout=10
[2020-08-04T21:43:23.740Z]  > git checkout -f cd6f40edff97a38c7c3bf001ebc232755ccc19de # timeout=15
[2020-08-04T21:43:23.754Z] Commit message: "Update README.md"
[2020-08-04T21:43:23.754Z] First time build. Skipping changelog.
[2020-08-04T21:43:23.754Z] Cleaning workspace
[2020-08-04T21:43:23.754Z]  > git rev-parse --verify HEAD # timeout=10
[2020-08-04T21:43:23.761Z] Resetting working tree
[2020-08-04T21:43:23.761Z]  > git reset --hard # timeout=10
[2020-08-04T21:43:23.774Z]  > git clean -fdx # timeout=10
[2020-08-04T21:43:23.783Z]  > git --version # timeout=10
[2020-08-04T21:43:23.793Z] fatal: bad object 6c62d3f53b77d98a3e133635021db7fb14d4c2b2
[2020-08-04T21:43:24.454Z] Masking supported pattern matches of $JOB_GCS_BUCKET or $NOTIFY_TO
[2020-08-04T21:43:24.527Z] Timeout set to expire in 1 hr 0 min
[2020-08-04T21:43:24.552Z] The timestamps step is unnecessary when timestamps are enabled for all Pipeline builds.
[2020-08-04T21:43:39.661Z] Still waiting to schedule task
[2020-08-04T21:43:39.661Z] All nodes of label ‘linux&&immutable’ are offline
[2020-08-04T21:46:06.411Z] Running on apm-ci-immutable-ubuntu-1804-1596577398051397070 in /var/lib/jenkins/workspace/_java_ecs-logging-java-mbp_PR-86
[2020-08-04T21:46:07.751Z] [INFO] 'shallow' is forced to be disabled when running on PullRequests
[2020-08-04T21:46:07.806Z] Running in /var/lib/jenkins/workspace/_java_ecs-logging-java-mbp_PR-86/src/github.com/elastic/ecs-logging-java
[2020-08-04T21:46:07.870Z] [INFO] gitCheckout: Checkout SCM PR-86 with default customisation from the Item.
[2020-08-04T21:46:07.918Z] [INFO] Override default checkout
[2020-08-04T21:46:08.010Z] Sleeping for 10 sec
[2020-08-04T21:46:20.177Z] using credential f6c7695a-671e-4f4f-a331-acdce44ff9ba
[2020-08-04T21:46:20.199Z] Wiping out workspace first.
[2020-08-04T21:46:20.210Z] Cloning the remote Git repository
[2020-08-04T21:46:20.211Z] Using shallow clone with depth 3
[2020-08-04T21:46:20.211Z] Avoid fetching tags
[2020-08-04T21:46:20.241Z] Cloning repository git@github.com:elastic/ecs-logging-java.git
[2020-08-04T21:46:20.406Z]  > git init /var/lib/jenkins/workspace/_java_ecs-logging-java-mbp_PR-86/src/github.com/elastic/ecs-logging-java # timeout=10
[2020-08-04T21:46:21.204Z] Cleaning workspace
[2020-08-04T21:46:21.218Z] Using shallow fetch with depth 3
[2020-08-04T21:46:21.218Z] Pruning obsolete local branches
[2020-08-04T21:46:20.467Z] Fetching upstream changes from git@github.com:elastic/ecs-logging-java.git
[2020-08-04T21:46:20.467Z]  > git --version # timeout=10
[2020-08-04T21:46:20.490Z] using GIT_SSH to set credentials GitHub user @elasticmachine SSH key
[2020-08-04T21:46:20.550Z]  > git fetch --no-tags --progress -- git@github.com:elastic/ecs-logging-java.git +refs/heads/*:refs/remotes/origin/* # timeout=15
[2020-08-04T21:46:21.181Z]  > git config remote.origin.url git@github.com:elastic/ecs-logging-java.git # timeout=10
[2020-08-04T21:46:21.190Z]  > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
[2020-08-04T21:46:21.199Z]  > git config remote.origin.url git@github.com:elastic/ecs-logging-java.git # timeout=10
[2020-08-04T21:46:21.206Z]  > git rev-parse --verify HEAD # timeout=10
[2020-08-04T21:46:21.209Z] No valid HEAD. Skipping the resetting
[2020-08-04T21:46:21.209Z]  > git clean -fdx # timeout=10
[2020-08-04T21:46:21.222Z] Fetching upstream changes from git@github.com:elastic/ecs-logging-java.git
[2020-08-04T21:46:21.222Z] using GIT_SSH to set credentials GitHub user @elasticmachine SSH key
[2020-08-04T21:46:21.227Z]  > git fetch --no-tags --progress --prune -- git@github.com:elastic/ecs-logging-java.git +refs/pull/86/head:refs/remotes/origin/PR-86 +refs/heads/master:refs/remotes/origin/master # timeout=15
[2020-08-04T21:46:21.786Z] Merging remotes/origin/master commit 5ee6df16e990567351d3a362f581d7139df330f4 into PR head commit cd6f40edff97a38c7c3bf001ebc232755ccc19de
[2020-08-04T21:46:21.900Z] Merge succeeded, producing cd6f40edff97a38c7c3bf001ebc232755ccc19de
[2020-08-04T21:46:21.901Z] Checking out Revision cd6f40edff97a38c7c3bf001ebc232755ccc19de (PR-86)
[2020-08-04T21:46:21.794Z]  > git config core.sparsecheckout # timeout=10
[2020-08-04T21:46:21.800Z]  > git checkout -f cd6f40edff97a38c7c3bf001ebc232755ccc19de # timeout=15
[2020-08-04T21:46:21.855Z]  > git remote # timeout=10
[2020-08-04T21:46:21.865Z]  > git config --get remote.origin.url # timeout=10
[2020-08-04T21:46:21.874Z] using GIT_SSH to set credentials GitHub user @elasticmachine SSH key
[2020-08-04T21:46:21.879Z]  > git merge 5ee6df16e990567351d3a362f581d7139df330f4 # timeout=10
[2020-08-04T21:46:21.893Z]  > git rev-parse HEAD^{commit} # timeout=10
[2020-08-04T21:46:21.904Z]  > git config core.sparsecheckout # timeout=10
[2020-08-04T21:46:21.909Z]  > git checkout -f cd6f40edff97a38c7c3bf001ebc232755ccc19de # timeout=15
[2020-08-04T21:46:25.682Z] Commit message: "Update README.md"
[2020-08-04T21:46:25.682Z] Cleaning workspace
[2020-08-04T21:46:25.737Z]  > git --version # timeout=10
[2020-08-04T21:46:25.755Z] fatal: bad object 6c62d3f53b77d98a3e133635021db7fb14d4c2b2
[2020-08-04T21:46:25.684Z]  > git rev-parse --verify HEAD # timeout=10
[2020-08-04T21:46:25.694Z] Resetting working tree
[2020-08-04T21:46:25.694Z]  > git reset --hard # timeout=10
[2020-08-04T21:46:25.704Z]  > git clean -fdx # timeout=10
[2020-08-04T21:46:26.742Z] Masking supported pattern matches of $GIT_USERNAME or $GIT_PASSWORD
[2020-08-04T21:46:27.355Z] + git fetch<EMAIL_ADDRESS>+refs/pull/*/head:refs/remotes/origin/pr/*
[2020-08-04T21:46:27.663Z] Archiving artifacts
[2020-08-04T21:46:28.294Z] + git rev-parse HEAD
[2020-08-04T21:46:28.660Z] + git rev-parse HEAD
[2020-08-04T21:46:28.965Z] + git rev-parse origin/pr/86
[2020-08-04T21:46:29.014Z] [INFO] githubEnv: Found Git Build Cause: pr
[2020-08-04T21:46:29.297Z] Masking supported pattern matches of $GITHUB_TOKEN
[2020-08-04T21:46:30.222Z] [WARN] githubApiCall: The REST API call https://api.github.com/repos/elastic/ecs-logging-java/pulls/86/reviews return 0 elements
[2020-08-04T21:46:30.284Z] [INFO] githubPrCheckApproved: Title: Update README.md - User: mathewf - Author Association: FIRST_TIME_CONTRIBUTOR
[2020-08-04T21:46:30.676Z] ERROR: githubPrCheckApproved: The PR is not allowed to run in the CI yet
[2020-08-04T21:46:30.677Z] ERROR: githubPrCheckApproved: The PR is not allowed to run in the CI yet. (Only users with write permissions can do so.)
[2020-08-04T21:46:30.918Z] [INFO] Let's stop build #1. The PR is not allowed to run in the CI yet
[2020-08-04T21:46:30.962Z] Sleeping for 5 sec
[2020-08-04T21:46:32.058Z] Stage "Build" skipped due to earlier failure(s)
[2020-08-04T21:46:32.289Z] Stage "Tests" skipped due to earlier failure(s)
[2020-08-04T21:46:32.420Z] Stage "Unit Tests" skipped due to earlier failure(s)
[2020-08-04T21:46:32.433Z] Stage "Javadoc" skipped due to earlier failure(s)
[2020-08-04T21:46:32.445Z] Stage "Sanity checks" skipped due to earlier failure(s)
[2020-08-04T21:46:32.554Z] Failed in branch Unit Tests
[2020-08-04T21:46:32.564Z] Failed in branch Javadoc
[2020-08-04T21:46:32.573Z] Failed in branch Sanity checks
[2020-08-04T21:46:33.756Z] Running on worker-1095690 in /var/lib/jenkins/workspace/_java_ecs-logging-java-mbp_PR-86
[2020-08-04T21:46:33.868Z] [INFO] getVaultSecret: Getting secrets
[2020-08-04T21:46:33.943Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID
[2020-08-04T21:46:36.037Z] + chmod 755 generate-build-data.sh
[2020-08-04T21:46:36.037Z] + ./generate-build-data.sh https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-agent-java/ecs-logging-java-mbp/PR-86/ https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-agent-java/ecs-logging-java-mbp/PR-86/runs/1 ABORTED 209260
[2020-08-04T21:46:36.037Z] INFO: curl https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-agent-java/ecs-logging-java-mbp/PR-86/runs/1/steps/?limit=10000 -o steps-info.json
[2020-08-04T21:46:39.236Z] INFO: curl https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-agent-java/ecs-logging-java-mbp/PR-86/runs/1/tests/?status=FAILED -o tests-errors.json
[2020-08-04T21:46:39.948Z] INFO: curl https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-agent-java/ecs-logging-java-mbp/PR-86/runs/1/log/ -o pipeline-log.txt

Superseded by #95


weak_canonical_string_table_test went from flaky to timeout

The tests
vm/dart/weak_canonical_string_table_test Timeout (expected Pass)

are failing on configurations
dartk-strong-win-debug-x64

History: https://dart-ci.firebaseapp.com/#showLatestFailures=false&test=vm/dart/weak_canonical_string_table_test&configurations=dartk-strong-win-debug-x64

Reduce iteration count with a smaller heap to preserve the intent to force GCs, hopefully this will make the test not timeout on the debug builds (see https://dart-review.googlesource.com/c/sdk/+/283220)

Landed https://dart-review.googlesource.com/c/sdk/+/283220, should fix this timeout.


allow sub-layer hooks a name override. closes #547

In some cases we would like to be able to override the Keras layer name behavior for sub-modules.
The sub-class implementations of TaggerModelBase and ClassifierModelBase give us init_*() methods that create the sub-layer objects for us, but up until this change there wasnt any way to
override the name scope without actually reimplementing the method which is not convenient.
The solution proposed here is for each method, provide an optional keyword argument that can be overriden either by mead configuration (from the model block) or by overriding the create_layers method to inject this name if known in code.
Classifier Layer Name Overrides

init_embed -> embeddings_name (injects name into EmbeddingsStack)
init_stacked -> stacked_name (injects name into DenseStack)
init_output -> output_name (injects name into tf.keras.layers.Dense)
init_pool -> pool_name (injects name into whatever the sub-class pool Keras layer is defined as)

Tagger Layer Name Overrides

init_embed -> embeddings_name (injects name into EmbeddingsStack)
init_encode -> encode_name  (injects name into whatever the sub-class pool Keras layer is defined as)
init_proj -> proj_name (injects name into tf.keras.layers.Dense)
init_decode -> decode_name (injects name into GreedyTaggerDecoder or CRF in base impl.)

Also changes the Classifier init_embed in both PyTorch and TF to accept an optional embeddings_dropout which defaults to 0 that can be passed in.  The tagger currently uses the default pdrop for this, although perhaps that should change as well to embeddings_dropout 2with maybe a default of 0.5 in that case

To use this, you can update the model block of the config and it will update the name scopes accordingly:
 "model": {
        "model_type": "default",
        "hsz": 200,
        "dropout": 0.5,
        "rnntype": "blstm",
        "layers": 1,
        "encode_name": "encoder",
        "decode_name": "decoder",
        "embeddings_name": "es",
        "output_name": "output",
        "crf": true
    },


Draft: Convert project to Typescript

Bisogna aggiungere il linting

TODO: Bisonga tipizzare l'aggregation

there are some conflicts with master due to the merge of the previous PR


The game CSS look odd

I will add better CSS and looks to the website for enhanced user experience.
I have also added the proposed design and better guiding buttons along with proper restart button.

.

Please assign me this under gssoc-ext and hactoberfest-accepted.


Add Microsoft.WinGet.Configuration module to ReleaseStatic configuration

Add Microsoft.WinGet.Configuration module to ReleaseStatic configuration
Fix WinRT.Runtime.dll ALC issue.
Manually add AssemblyInfo.cs.
Fix bug where messages where not being shown when Start-WinGetConfiguration was piped to Complete-WinGetConfiguration

Microsoft Reviewers: Open in CodeFlow

/azp run


Realsense can't detect grids/meshes

Required Info

Camera Model
D435

Firmware Version
5.11

Operating System & Version
Ubuntu 18.04

Kernel Version (Linux Only)
(e.g. 4.15.0)

Platform
PC

SDK Version
2.18.1

Language
C++ (ROS) }

Segment
Robot

Issue Description
The realsense camera seems to have problems detecting grid (or mesh) like structures as shown in the image (pointcloud visualization using RVIZ). Some of the points which are supposed to be on the grid are detected elsewhere. After intrinsic calibration it gets slightly better, but still exists. Any ideas to overcome this?

If you haven't read it, I would advise you to take a look at the chapter 14 of this paper.
You could also try to enable some post processing in the Viewer/your code to help closing the smaller holes and improve the overall quality of your mesh.
Hope this'll help !

Hi @thanujadax
Did you try loading High Accuracy JSON and increasing laser power to max?
The preset can help invalidate wrong pixels while getting the projector pattern to be visible in the infrared image is likely to remove the problem.
One extra thing people had success with in this type of scenario is adding a physical filter in front of the camera that passes only IR spectrum. I know it's not exactly a household item, but still.
The core of the problem is that stereo matching algorithm can get confused when there are many very similar features in one horizontal row. This is why rotating the camera often makes the artifact go away. Another "solution" is to use two cameras, one horizontal and one vertical and aggregating the results.

@thanujadax Any other questions for this ticket? Looking forward to your update. Thanks!

If you haven't read it, I would advise you to take a look at the chapter 14 of this paper.
You could also try to enable some post processing in the Viewer/your code to help closing the smaller holes and improve the overall quality of your mesh.
Hope this'll help !

Hi Antoine, thanks for your inputs. The parameter (DS Second Peak Threshold) suggested in the white paper does seem to have a positive effect, but it doesn't eliminate the problem, unfortunately. More than the holes, the bigger problem is that the 3D reconstruction shows parts of the mesh in random places in the image.

Hi @thanujadax
Did you try loading High Accuracy JSON and increasing laser power to max?
The preset can help invalidate wrong pixels while getting the projector pattern to be visible in the infrared image is likely to remove the problem.
One extra thing people had success with in this type of scenario is adding a physical filter in front of the camera that passes only IR spectrum. I know it's not exactly a household item, but still.
The core of the problem is that stereo matching algorithm can get confused when there are many very similar features in one horizontal row. This is why rotating the camera often makes the artifact go away. Another "solution" is to use two cameras, one horizontal and one vertical and aggregating the results.

Hi @dorodnic, thanks for your input!
The high accuracy setting unfortunately didn't solve the problem. But I'm going to try out IR pass through filters. Will be able to test it in one to two weeks
In theory, a tilt from the horizontal should reduce the problem to a certain extent, but for the grids I have to deal with, the effect of this tilt is not that useful. It could be that the repetition even at an angle is still difficult for the stereo matching algorithm to handle.

@thanujadax Any good news for your testing with IR pass through filters? Looking forward to your update. Thanks!

@thanujadax Any update?

@thanujadax If no other questions for this ticket, close this accordingly. Thanks!


Expose update_docs_from_script method

Currently, ScriptEditor is not exposed to GDExtension.
So for any implementation of ScriptExtension and ScriptLanguageExtension that supports documentation, if the user has opened the documentation for a specific script and the user later modifies the script, there is no way to synchronize the changes with the documentation view that's embedded within the ScriptEditor framework.
Exposing update_docs_from_script(Script&) allows such integrators to trigger a sync of the script's documentation should it already be opened in the ScriptEditor interface so that the documentation view works the same as the script editor integration does for C# and GDScript.

Hi @AThousandShips, I would say the best way should be to properly expose ScriptEditor to GDExtension.  This would expose a lot of the inner workings of ScriptEditor to any derived implementation, including things like help, documentation, etc.
I believe this would require new methods on the GDExtension interface for this to work, @dsnopek can confirm.  My concern there would be that would likely not be something we'd likely backport to Godot 4.2, and we have a strict requirement to support Godot 4.2 and 4.3.  So when looking at a solution that can easily be backported, this seemed like a more logical approach, but I can certainly understand your PoV.

Meant to open a proposal here

Thanks!


Reconstrustion of the TDE for SQL Database and Data Warehouse article

Rephrasing BYOK section because it was simply copy-pasted and contained too many repetitions.
Removed Repeated links/text/abbreviations introductions..
Abbreviations introduced at the beginning, used later, not other way around.
Removed "Next steps" for the last Tab. Renamed "Next steps" to "See also" (consistency with other articles).
Removed talking about SQL Server AKV to "See Also".
And other small polishing changes.

@NikaKinska : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@NikaKinska I apologize for the delay. I am reassigning this to @VanMSFT for review. @VanMSFT could you please review or reach out to others in the product team to confirm. It looks like there is a merge conflict too that we need to resolve at this point. Thank you! #reassign:vanmsft

@VanMSFT Is this pull request ready to be closed? Thanks.

Hi @NikaKinska! Sorry for the delay. I have incorporated your changes to a new PR since this one has merge conflicts.
https://github.com/MicrosoftDocs/azure-docs-pr/pull/110946
Thank you so much for your contribution to our docs! We really appreciate your work. I'll close this PR, but if you have any concerns, please feel free to let me know.
#please-close


Rawgit button near Raw button

Hi again,
simple button which opens the file on rawgit site. Very useful for displaying html content from github.
Rawgit server all files from github`s raw files with correct mime-types.
Also cdn.rawgit.com is possible to use for production environments.
Regards
Pavel

Thanks!


Emit enum element arguments directly into the enum payload

This generates significantly better code directly out of SILGen, at the cost of having to reimplement a little bit of the argument-emission logic to handle default arguments.  But it also neatly sidesteps the problems we have with splitting tuple RValues when the tuple contains a pack expansion, which will require some significant surgery to RValue to fix.  That, in turn, fixes rdar://121489308.
I expect the RValue-splitting problem will still rear its head with subscript arguments that contain variadic tuples.

@swift-ci Please test

@swift-ci Please test macOS


Math magicians: full website

Math magicians: full website

Website consist of 3 pages now: Home, Calculator, and Quote.

Add my own styles to improve the look and feel.

add styles in a React application:

navigation links for all 3 routes are displayed on each page.

Use  React Router to make the routes work.

Please Ignore the deployment Errors


Console not showing

So I turned off anything that could be using an overlay (rivatuner, NZXT CAM) and I even remembered to turn off the GOG Galaxy overlay, but I still only see the mouse cursor when hitting the tilde button.
Is there anything I missed?
cyberpunk version 1.05 on GOG
[2020-12-21 11:10:18.670] [info] Game version 1.5
[2020-12-21 11:10:18.702] [info] 	AMD SMT Patch: success
[2020-12-21 11:10:18.702] [warning] 	Spectre patch: failed, unknown version
[2020-12-21 11:10:18.714] [warning] 	Virtual Input Patch: failed
[2020-12-21 11:10:18.745] [info] 	Unlock menu patch: success
[2020-12-21 11:10:18.745] [info] 	Unlock debug functions: success
[2020-12-21 11:10:18.777] [info] 	Start screen patch: success
[2020-12-21 11:10:18.779] [info] 	Disable intro movies patch: success
[2020-12-21 11:10:18.802] [info] 	Hook mouse clip function!
[2020-12-21 11:10:18.819] [info] 	Log function hook complete!
[2020-12-21 11:10:19.006] [info] 	D3D12 hook complete

Same problem here

I have this too, its not showing.

dont know for sure, but from what i remember from reading the 1.05 patch notes, the console has been removed because of crashes

not sure if that is why, but here it is the patch notes
https://www.cyberpunk.net/en/news/37166/hotfix-1-05
Removed debug console to prevent functions that could lead to crashes or blocked quests. This doesn't mean we don't want to support the modding community. Stay tuned for more info on that.

Also have this problem. to open the console you use the END button right? did nothing for me
running the latest ver. steam
[2020-12-21 19:01:22.112] [info] Game version 1.5
[2020-12-21 19:01:22.248] [info] 	AMD SMT Patch: success
[2020-12-21 19:01:22.248] [warning] 	Spectre patch: failed, unknown version
[2020-12-21 19:01:22.288] [warning] 	Virtual Input Patch: failed
[2020-12-21 19:01:22.351] [info] 	Start screen patch: success
[2020-12-21 19:01:22.357] [info] 	Disable intro movies patch: success
[2020-12-21 19:01:22.395] [info] 	Hook mouse clip function!
[2020-12-21 19:01:22.422] [info] 	Log function hook complete!
[2020-12-21 19:01:22.704] [info] 	D3D12 hook complete

Can confirm its still working on 1.05. I had to turn off everything (riva, afterburner, etc) that could block it. But it works.

I disabled the Steam overlay. That did it. Now it works.

I don't have any overlay (nvidia, steam or whatever) and it still does not work :/

Try putting the game in full-screen borderless or windowed, and try opening the console again. This fixed some interactivity issues with the console window for me.

For me the End key on Linux is not 192 but 35, after this change in the config.json, console is showing up

Same as OP, I can't get the console opening on 1.05 version, on GOG.
And I have the same warning in the logs : [warning] Virtual Input Patch: failed

somehow managed to get it work. now for my purpose to install this mod. how do you add items to your inventory. tried several strings but it shows as this: (for example I want to get back my satori)
here's my string input: player.inventory.addItem(Items.Preset_Katana_Saburo,1)
the console output:
lua: error: [string "player.inventory.addItem(Ite..."]:1: attempt to index a nil value (global 'player')

Ok, I actually got it to work. Turns out that disabling the overlay in MSI afterburner was not enough. If I quit afterburner and run the game then the console actually works! Luckily, when the game is already running I can then start afterburner again because I need it for my gpu fancurve, without it breaking the console!
For all the ppl still having trouble, try and troubleshoot by killing all programs that may be still using an overlay even if you disabled it

Ok, I actually got it to work. Turns out that disabling the overlay in MSI afterburner was not enough. If I quit afterburner and run the game then the console actually works! Luckily, when the game is already running I can then start afterburner again because I need it for my gpu fancurve, without it breaking the console!
For all the ppl still having trouble, try and troubleshoot by killing all programs that may be still using an overlay even if you did disabled it.

somehow managed to get it work. now for my purpose to install this mod. how do you add items to your inventory. tried several strings but it shows as this: (for example I want to get back my satori)
here's my string input: player.inventory.addItem(Items.Preset_Katana_Saburo,1)
the console output:
lua: error: [string "player.inventory.addItem(Ite..."]:1: attempt to index a nil value (global 'player')
did I put the string in a wrong format or something else?

Its Game.AddToInventory("x",1).


refactor: remove unused code and correctly handle application life cycle

Signed-off-by: Denis Tingaikin<EMAIL_ADDRESS>

@denis-tingaikin Other than the one noted typo... LGTM :)


add client#unsubscribe(subscriptions, [callback])

add client#unsubscribe(subscriptions, [callback])

Can you add unit test? Tests are failing as well.

Closing for no activity. Feel free to reopen in case you would like to keep working on it.


[libmesh] fix post build checks

Currently failed with:
warning: pkgconfig directories should be one of share/pkgconfig (for header only libraries only), lib/pkgconfig, or lib/debug/pkgconfig. The following misplaced pkgconfig files were found:
    /home/leander/vcpkg/packages/libmesh_x64-linux/etc/libmesh/libmesh-opt.pc
    /home/leander/vcpkg/packages/libmesh_x64-linux/etc/libmesh/libmesh.pc
    /home/leander/vcpkg/packages/libmesh_x64-linux/etc/libmesh/libmesh-prof.pc
    /home/leander/vcpkg/packages/libmesh_x64-linux/etc/libmesh/libmesh-dbg.pc
    /home/leander/vcpkg/packages/libmesh_x64-linux/etc/libmesh/libmesh-oprof.pc
    /home/leander/vcpkg/packages/libmesh_x64-linux/etc/libmesh/libmesh-devel.pc
You can move the pkgconfig files with commands similar to:
    file(MAKE_DIRECTORY "${CURRENT_PACKAGES_DIR}/lib/pkgconfig")
    file(RENAME "${CURRENT_PACKAGES_DIR}/etc/libmesh/libmesh-opt.pc" "${CURRENT_PACKAGES_DIR}/lib/pkgconfig/libmesh-opt.pc")
    file(RENAME "${CURRENT_PACKAGES_DIR}/etc/libmesh/libmesh.pc" "${CURRENT_PACKAGES_DIR}/lib/pkgconfig/libmesh.pc")
    file(RENAME "${CURRENT_PACKAGES_DIR}/etc/libmesh/libmesh-prof.pc" "${CURRENT_PACKAGES_DIR}/lib/pkgconfig/libmesh-prof.pc")
    file(RENAME "${CURRENT_PACKAGES_DIR}/etc/libmesh/libmesh-dbg.pc" "${CURRENT_PACKAGES_DIR}/lib/pkgconfig/libmesh-dbg.pc")
    file(RENAME "${CURRENT_PACKAGES_DIR}/etc/libmesh/libmesh-oprof.pc" "${CURRENT_PACKAGES_DIR}/lib/pkgconfig/libmesh-oprof.pc")
    file(RENAME "${CURRENT_PACKAGES_DIR}/etc/libmesh/libmesh-devel.pc" "${CURRENT_PACKAGES_DIR}/lib/pkgconfig/libmesh-devel.pc")
    vcpkg_fixup_pkgconfig()
    file(REMOVE_RECURSE empty directories left by the above renames)
warning: There should be no absolute paths, such as the following, in an installed package:
    /home/leander/vcpkg/packages/libmesh_x64-linux
    /home/leander/vcpkg/vcpkg_installed
    /home/leander/vcpkg/buildtrees/libmesh
    /home/leander/vcpkg/downloads
Absolute paths were found in the following files:
    /home/leander/vcpkg/packages/libmesh_x64-linux/tools/libmesh/bin/nc-config
    /home/leander/vcpkg/packages/libmesh_x64-linux/include/libmesh/libmesh_config.h

Can you explain why you're disabling Windows and MacOS with this port?
See also:
# libmesh installs tons of problematic files that conflict with other ports (boost, eigen, etc)
libmesh:arm-neon-android=skip
libmesh:arm64-android=skip
libmesh:arm64-windows=skip
libmesh:arm-uwp=skip
libmesh:x64-android=skip
libmesh:x64-uwp=skip
libmesh:x64-windows=skip
libmesh:x64-windows-static=skip
libmesh:x64-windows-static-md=skip
libmesh:x86-windows=skip
libmesh:x64-osx=skip
libmesh:arm64-osx=skip
libmesh:x64-linux=skip

Because the port does not build on these platforms

Ah right, and it's not a regression because it was =skip before, OK

Baseline issue fix: https://github.com/microsoft/vcpkg/pull/33625

Thanks!


Is Assert.add part of the public interface?

I like what you've done so far with this project, and I've used it in a couple of my side projects so far. I'm interested in utilizing it in our main project, but we have custom assertions in our other library. Is Assert.add part of the public interface, or in another way, how are you thinking about a supporting custom assertions and/or plugins?

@terinjokes Yes, the assert.add is part of the public API. It seems that I've forgotten to document it correctly. You can use this method to introduce new assertions in to the library. At this point I haven't came up with plugin structure yet. But at this point i'm just leaning towards a:
var assume = require('assume');

assume.use(require('your-plugin'));

And your-plugin would be:
module.exports = function (assume, helpers) {

});

Where assume is the reference to the assume instance and helpers is an object which exposes our internal helper like our object size calculation etc, array iterator, deep equal and more.

@3rd-Eden awesome. I was using for the very brief amount of time between when I started using these assertions and when you added throws.
I don't have any objection to the proposed plugin structure; it's seems to work elsewhere just fine.

@terinjokes If you feel that certain assertions are missing in the library like throws, feel free to create an issue about that. I think it should be fairly complete right now.
Writing docs about the add/use/alias methods and i'll publish a 1.0 after it.

@3rd-Eden yes, I was going to send you a PR for it, but you had beat me to it. :+1:
That works for me, thanks for the quick responses!

See new Plugin section in the documentation: https://github.com/bigpipe/assume#plugins


Create Problem instance from code

Hello,
I was wondering if we can create problem instances from code rather than loading from a file?
Best,
Mustafa

Hi! Currently the easiest way to do things is to write a PDDL file or string. Alternatively, you can construct an initial state by specifying the list of initial facts and object type declarations, e.g. for Blocksworld:
state = State(@pddl("(on-table a)", "(on b a)", "(on-table c)"),  @pddl("(block a)", "(block b)", "(block c)"))

You can specify goals using @pddl or @julog, depending on which syntax you prefer, e.g.
# Stack A on B on C
goals = @pddl("(on a b)", "(on b c)") # PDDL syntax
goals = @julog [on(a, b), on(b, c)] # Prolog-style syntax


Checking the access token.

I'm working on a proof of concept with using cognito via warrant as the auth mechanism on a web app.  I'm able to auth and logout as expected, but .check_token() is always returning False.
I'm looking for an easy way to verify the token is still valid when checking the session.  Any pointers?

Are you using 0.4.0?

https://github.com/capless/warrant/blob/3d6aa8c84841a1c7183f702ed7b4ad993c1ff37a/warrant/__init__.py#L255-L258
False means that token is not expired and don't need a refresh.

Follow the steps below:

Click the App Clients link when viewing your user group on the
Click the app client that you are using and then click the Show Details button
Click the Set attribute read and write permissions link.
Check the attributes that you need.

@bjinwright oops, pip was installing 0.2.0 by default.. I just updated to 0.4.0 -- same issues.

@human39 I think @armicron 's answer explains it pretty well. What is your token expiration set to?

Thanks for the reply.  Maybe I can illustrate what I'm doing.
This is the test code I'm working with.
from warrant import Cognito
import os
import pprint

os.environ['AWS_DEFAULT_REGION'] = "us-west-2"
os.environ['AWS_ACCESS_KEY_ID'] = "<snip>"
os.environ['AWS_SECRET_ACCESS_KEY'] = "<snip>"

poolid = '<snip>'
clientid = '<snip>'
user =  '<snip>'
passwd = '<snip>'

# login.
u = Cognito(poolid, clientid, username=user)
u.authenticate(password=passwd)
accesstoken =  u.access_token

# Verify that we can get the info.
user = u.get_user()

# reset everything
u = False
# Logout
# reattach
u = Cognito(poolid,clientid, access_token=accesstoken)
u.logout()

# reset everything
u = False

u = Cognito(poolid,clientid,access_token=accesstoken)
user = u.get_user()

After logging out, the 'u.get_user()' fails with a message saying the token is revoked, which is what I expected.  Looking to tie this in with a user's web session, I would like to have a method that I could call to see if the token is still valid.  I guess I could just run a u.get_user() and then check the exception.. I guess I was hoping there was another way.
Looks like I basically answered my own question, so I guess we can close this but I'm interested in hearing any ideas if anybody has them.

We are working on something similar here on Issue #12 of the Capless framework. I will let you know what we find.


ReduceLROnPlateau

It'd be better to use Pytorch's ReduceLROnPlateau function rather than our own implementation of it. ReduceLROnPlateau lowers the learning rate multiple times rather than just once, so it probably improves on what we do now.
As part of this issue, let's delete all this code:
https://github.com/YosefLab/scVI/blob/1f399e75068bd80aeb785a1810b30cdd34bfd14b/scvi/inference/trainer.py#L259-L352

Also, we may not need to grid search over learning rates using hyperopt any more once we start using ReduceLROnPlateau. We can just start with a high learning rate, e.g. 1e-2, and run until the learning rate reaches a small value, e.g., 1e-6.

This does seem to reduce the LR multiple times based on the patience. This implementation works and appears to mimic what's implemented in pytorch to some extent. That said, it's probably best to use their implementation.

I see 3 major benefits from using the Pytorch implementation:

We can start with a really high learning rate, e.g. 1e-2 and make very fast progress at first
We can end with a really low learning rate,.e.g. 1e-6, giving us a better minima
We can avoid grid searching over multiple learning rates, so hyperopt will run like 300% faster


Missing step?

I had issues getting the MFA server to respond to MFA requests and while honoring the Conditional Access rules in AzureAD.  I had to run the following powershell command on the Azure/365 tenant:
Set-MsolDomainFederationSettings -domain federateddomain.com -SupportsMFA $true
Can we add this to the documentation?

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 2a214f19-bb7c-2edc-29d5-8466eb9c5ee3
Version Independent ID: 5e662145-c8e4-32cc-ddd4-6382014b8c73
Content: Azure MFA Server with AD FS in Windows Server - Azure Active Directory
Content Source: articles/active-directory/authentication/howto-mfaserver-adfs-2012.md
Service: active-directory
Sub-service: authentication
GitHub Login: @MicrosoftGuyJFlo
Microsoft Alias: joflore

@timmmay Thank you for your feedback . We will investigate and update this thread .

@MicrosoftGuyJFlo Could you please review this request with engineering and help update this document as needed?

Covered in the link below. I will add an item to my backlog to update this doc with the information as well.
https://docs.microsoft.com/en-us/azure/active-directory/conditional-access/overview#azure-ad-conditional-access-and-federated-authentication

#please-close


Enhancement in multiplayer mode of Memorize activity

Game stuck if one among the two users playing the game left. Although the game starts again if a new user joins.
Suggestion: Game should continue like the single-player mode until new user joins.
Reset button should be disabled in between the game. Otherwise, the user who is losing the game can press it.

First issue I agree with.
Second issue I'm ambivalent about.  Learning software need not attempt to implement social controls, because the environment the software is used in already has a strong social control system that needs challenges like this for learning to occur.  As long as it is quite clear who pressed the reset button, I'm fine with it.

Second issue I'm ambivalent about. Learning software need not attempt to implement social controls, because the environment the software is used in already has a strong social control system that needs challenges like this for learning to occur. As long as it is quite clear who pressed the reset button, I'm fine with it.

I understood your point. Thank you!

Fixed in https://github.com/llaske/sugarizer/pull/952


Fix #399

This PR is for review purposes. There's a few more features (i.e. pretty printing transformed trees) and tests to add before merging.
Currently, there's a clean mapping between transformed trees and original trees, and each transformed tree knows where it came from. This positional information can be used to retain formatting, preserve comments, etc, but once again this needs to fully be investigated before merging.

I'm closing this pull request, because the functionality required to close #399 isn't actually implemented yet. Please resubmit when everything's ready.
If there arises a need to review particular commits, please mention me and @rorygraves in comments, and we'll chime in right there.


bug: handle multiple object collisions

When objects overlap, I don't know what's happening, check scenes/bug_tests/intersected_spheres.rt


Adding test data.

Rationale
Adding test data for Sample Type test cases.
Related Pull Requests

https://github.com/LabKey/testAutomation/pull/336

Changes
Adding test data for Sample Type test cases.

Moved the file'RawAndSummary~!@#$%^&()_+-[]{};',..xlsx' to experiment along with the other sample type test data.


URLs to lower?

Why are all images converted to lower case?
The case "can" matter, so why force to lower?

Thank you for reporting this. I have removed strtolower from HTMLConverter.replaceLinks().


Mention v2 in contributing to pydantic docs

Initial Checks

[X] I confirm that I'm using Pydantic V2 installed directly from the main branch, or equivalent

Description
I want to write a fix for a bug that affects v1 and v2.
I am wondering, is it worth me writing a fix? Will you accept a fix, or are you too busy working on V2? In the blog you said you'll close a lot of PRs for v1. So should I not bother?
Will fixes continue to be backported to V1? Which branch should I start with if I'm writing a fix for both?
I believe the answers to those questions should be listed on the"Contributing to pydantic" page.
Example Code
N/A

Python, Pydantic & OS Version
N/A

Fair point. @tpdorsey please include a note on this in your changes to the contribution guide.
We're only accepting bug fixes to v1, so submit a fix to v1, use the 1.10-fixes branch.
If you have a fix that really applies to both branches, submit it to main and we have a bot which can backport the fix to v1.

I was going to write a fix for #5821. But it looks like someone beat me to it.
(But it's still good to update the contribution guide.)

Closed by https://github.com/pydantic/pydantic/pull/5855


Demo 2 typo

Heya, you misspelled where as were at the end of Demo 2.

Thank you! Just merged @danielma's pr :)


Function calling with Gemma

How can i do function calling using Gemma on local Hardware ?

its not available with the model, but you can try to prompt it to return json responses, its good at giving json response. OR may be try to finetune it with LoRA, you can do it even on google colab, or try kaggle (they provide 30hr of free gpu time you can have 2 t4 or 1 p100 gpu. 30hr time refreshes every week)

Thanks, i will try !

Hi @JKORRA,
Could you please confirm if this issue is resolved for you with the above comment ? Please feel free to close the issue if it is resolved ?
Thank you.

Closing this issue due to lack of recent activity,  Please feel free reopen if this is still a valid request. Thank you!


Update go-license installation instructions

It may be worth calling this script this out? https://github.com/aws/eks-anywhere-build-tooling/blob/main/build/lib/install_go_versions.sh
I always use that to keep my golang versions the same on my local as in the builder-base, it also installs go-licenses.

/approved

/approve


mount the dedicated storage for each function

Summary
Mount the dedicated storage for each function
Details and comments
The dedicated storage area is mounted at /function_data for the function provider.  When the function doesn't have the associated provider, the storage mounted at /function_date is the same storage as /data.

My question to solve with this is... How are we going to make that users cannot access to this sub_path but providers can?

Based on the current function design, when the Function is provided in the custom image, the code running in the ray nodes is the function code only.  The user code doesn't run in the ray nodes so it can not access to the directory.

@Tansito @psschwei I would like to complete this.  What are the remaining concern?  Thanks!

Good from my side. Just need to resolve David's question about mounting /data

Sorry, I didn't read your answers yesterday.

The Function can write something that it wants to share with the user.  I'm planing providing the loggers to the function one for private logs and the other for the shared with the user.  The later log is written in the file in /data directory.


Align to LVGL v9 updates

Related: https://github.com/lvgl/lvgl/pull/3501

Could you test it with ESP? If so, was there any significant change in performance due to LV_COLOR_FORMAT_NATIVE_REVESE?

I didn't notice significant performance issues on ESP32.

I didn't notice significant performance issues on ESP32.

Great!


Update server.toml according to upstream (v0.5.0)

https://git.sr.ht/~int80h/gemserv/commit/cecc6f5793983487edbff7a3cec42ac354a5b3d9
Problem

port and host have been deprecated in favor of interface

Solution

update the server.toml

PR Status

[x] Code finished and ready to be reviewed/tested
[x] The fix/enhancement were manually tested (if applicable)

!testme


Issues with deployment for unmodified Next.js example

Hi, I tried to deploy original Next app from the example folder to Vercel but resulted the following build error:

Another try to AWS Amplify and it was built/deployed successfully but resulted the 500 runtime error.

Thanks.

I'm having the same problem, did you solve it? @kuo-cheng-wu

@lss3070 Yes, I solved it by using Azure app service.

@lss3070 Yes, I solved it by using Azure app service.

@kuo-cheng-wu Thanks for the answer!! For reference, I had a problem by creating a cesium folder linked with a symbolic link, and I solved the problem by directly copying the public folder, not the symbolic link, so I hope it helps.


Issuing credits to Jeff

Issue 10000 credits to @Fossj117.

 Follow up
On Wednesday, 06-Mar-24 20:00:43 UTC by Gov4Git dev
Issued 10000 credits to member @fossj117.


Support for IntelliJ Plugin 2.0

Is your feature request related to a problem? Please describe.
After updating to IntelliJ Platform Gradle Plugin 2.0, I'm getting errors when trying to build a project using Gradle Grammar-Kit Plugin (GenerateParserTask):
> Error: Unable to initialize main class org.intellij.grammar.Main
  Caused by: java.lang.NoClassDefFoundError: com/intellij/openapi/util/KeyedExtensionCollector

Describe the solution you'd like
I would like to be able to use Gradle Grammar-Kit Plugin with IntelliJ Platform Gradle Plugin 2.0.
Describe alternatives you've considered
A good alternative would be a clear migration guide to IntelliJ Platform Gradle Plugin 2.0 for projects using Gradle Grammar-Kit Plugin.
Additional context
PR producing the error:
https://github.com/sczerwinski/valve-data-format-intellij-plugin/actions/runs/10982794164/job/30491470876?pr=75

The minimum IDE version to build against when using IntelliJ Platform Gradle Plugin (2.x) is 2022.<<3>>, but you're using platformVersion = 2022.2.5.
See https://plugins.jetbrains.com/docs/intellij/tools-intellij-platform-gradle-plugin.html#requirements.
The build works as expected when changing to platformVersion=2022.3.
Please also upgrade Gradle 8.3 to more recent version and keep it up-to-date.
PS:
It is not necessary to specify every single IDE version for pluginVerifierIdeVersions if you use recommended() covering all IDEs matching given since/until build range, see https://plugins.jetbrains.com/docs/intellij/tools-intellij-platform-gradle-plugin-extension.html#intellijPlatform-pluginVerification-ides