Retain all harvestable fields during EIA transforms

In many of our older EIA transformation functions, we preemptively drop columns from the tables that are being processed, in order to produce normalized tables.  However, many of these columns contain information about the entities (plants, generators, utilities) that should be integrated into the entity harvesting and resolution process, which happens after the transform step.
Discarded Columns

Check whether the column name is defined in pudl.metadata.fields
If it is not defined but does correspond to an existing column, change the name in the appropriate column_map.csv under src/pudl/package_data/{data source}/ so that it matches the DB schema.
If the column does not correspond to any existing defined field, it may be appropriate to discard it. E.g. total_fuel_consumption_mmbtu is an annual total of monthly values that are retained, and so we don't need it.
If the column corresponds to a defined field (either before or after the name has been fixed) then retain it and debug any issues that keeping it around results in later on in the transform process. It should make it to the harvesting step and go into the process of informing plant/generator/boiler/utility attributes.

EIA-860
pudl.transform.eia860.ownership()

None

pudl.transform.eia860.generators()

None

pudl.transform.eia860.plants()

None

pudl.transform.eia860.utilities()

None

EIA-923
pudl.transform.eia923.plants()

None

pudl.transform.eia923.generation_fuel()

[ ] combined_heat_power
[ ] plant_name_eia
[ ] operator_name (probably utility_name_eia)
[ ] operator_id (probably utility_id_eia)
[ ] plant_state
[ ] census_region
[ ] nerc_region
[ ] naics_code
[ ] fuel_unit (should probably be dropped, since unit is implied by fuel type)
[ ] total_fuel_consumption_quantity (annual total?)
[ ] electric_fuel_consumption_quantity (annual total?)
[ ] total_fuel_consumption_mmbtu (annual total?)
[ ] elec_fuel_consumption_mmbtu (annual total?)
[ ] net_generation_megawatthours (annual total?)
[ ] early_release

pudl.transform.eia923.boiler_fuel()
This one may give you trouble. See #1847 and #1836.

[ ] combined_heat_power
[ ] plant_name_eia
[ ] operator_name (probably utility_name_eia)
[ ] operator_id (probably utility_id_eia)
[ ] plant_state
[ ] census_region
[ ] nerc_region
[ ] naics_code
[ ] fuel_unit (should probably be dropped, since unit is implied by fuel type)
[ ] total_fuel_consumption_quantity (annual total?)
[ ] balancing_authority_code_eia
[ ] early_release
[ ] reporting_frequency_code
[ ] data_maturity (WE add this field in the extraction... getting dropped b/c of aggregations. See #1847)

pudl.transform.eia923.generation()

[ ] combined_heat_power
[ ] plant_name_eia
[ ] operator_name (probably utility_name_eia)
[ ] operator_id (probably utility_id_eia)
[ ] plant_state
[ ] census_region
[ ] nerc_region
[ ] naics_code
[ ] early_release

pudl.transform.eia923.coalmine()

None -- we really do just want the very small set of columns retained here, as we're stripping them out to create a new table, normalizing the Fuel Receipts & Costs table.

pudl.transform.eia923.fuel_receipts_costs()

[ ] plant_name_eia
[ ] plant_state
[ ] operator_name (probably utility_name_eia)
[ ] operator_id (probably utility_id_eia)
[ ] mine_id_msha (should be dropped)
[ ] mine_type_code (should be dropped)
[ ] state (of the mine?)
[ ] county_id_fips (of the mine?)
[ ] state_id_fips (of the mine?)
[ ] mine_name (should be dropped)
[ ] regulated (mine or plant?)
[ ] early_release

@cmgosnell and I are going to help get Kurt Nordback working on this issue as a way to become more familiar with the harvesting process, working with our code, Jupyter, etc. But first he needs a personal GitHub account!

@cmgosnell while talking over some of these fields with @knordback yesterday, I noticed that the associated_combined_heat_power field is part of the generators_entity_eia table, but there's another combined_heat_power field being reported in e.g. the generation_fuel_eia923 table, and looking at the spreadsheets, it seems like that field pertains to the plant (which makes some sense given that generation_fuel_eia923 is reported on a date, plant, prime-mover, fuel basis).
Are these different attributes? Should there be a CHP field at both the generator and the plant level? Should this really be a permanent attribute, or is it another one that changes slowly? Does the generator field really just indicate that the generator is part of a plant that does CHP?  Or that it's part of a generation unit that does CHP? Could the plant or plant-prime-fuel level CHP status be inferred from the generator-level CHP attributes?
Right now we're discarding the CHP column reported in generation_fuel_eia923.
@grgmiller or @gschivley do either of you have more context on the relationship between these two different CHP fields?

I don't know exactly. associated_combined_heat_power originates in the generator table. I would not be surprised if there were plants that had some units contributing to a CHP and some that just generated power. I don't think it's generally a good idea to base any logic about the workings of a plant based off of the reporting structure of the generation_fuel_eia923 table. I personally would check whether this value is actually consistent across all generators within a plant before thinking about moving it. But also i could definitely imagine this changing over time (albeit very rarely!).

It seems like we should probably do an exhaustive check of all the currently "permanent" generator attributes on the pre-harvested dataframes... and see how permanent they actually are.

I do not have any context on these two fields.

I'll hold off on this one for now.

I think this is mostly done. Based on notes above I left in code dropping some of the fields in clean_generation_fuel_eia923() and clean_fuel_receipts_costs_eia923(), but I'm not certain I'm interpreting the notes correctly. There's also implicit dropping in plants_eia923(), and I don't know if that's as desired or not.


Fixes for esp idf commit 79f206be47c3f608615c1de8c491107e6c9194bb and…

… start of esp-idf integration.
I was in the process of starting esp-idf integration when I checked for updates to esp-idf.
The changes were simple so I included them in this pull request.

Thank you sir!!

Forward, always.
Open source, for the win!


The video chat rooms are not deleted

To reproduce:

create a room
stay for some time in it
delete it by clicking on the red "Delete Room" button in the room widget
see the room staying

Environment
Browser: Google Chrome 84.0.4147.125  (Official Build), used in the Incognito Mode
OS: macOS 10.11.6
Additional Notes
An additional issue is that sometimes (can reproduce reliably) when I join the deleted room I am getting a misleading error message:
Error: unable to acquire camera
<snip>
Internal error message: TwilioError: Room not found

Closing as the new UI has been developed after this issue was opened and this issue relates only to the old UI.


gcc: always enable inhibit_libc=true for --without-headers builds

It's a follow-up to the breakage caused by 21966e13d2d72b91c
("gcc: pass --with-build-sysroot=/").
The directory that should contain system headers does not exist:
  /usr/include
make[2]: *** [Makefile:3279: stmp-fixinc] Error 1 shuffle=1658621302
rm gfdl.pod gcc.pod gcov-dump.pod gcov-tool.pod fsf-funding.pod gpl.pod cpp.pod gcov.pod lto-dump.pod
make[2]: Leaving directory '/build/build/gcc'

Note: it's a no-libc build. It's not expected to use any libc headers.
But in this case fixincludes tries to run and uses default /usr/include
location.
Fixinsludes is not normally expected to run during cross-compilation
on --without-headers. gcc/configure.ac:
: ${inhibit_libc=false}
if { { test x$host != x$target && test "x$with_sysroot" = x ; } ||
       test x$with_newlib = xyes ; } &&
     { test "x$with_headers" = xno || test ! -f "$target_header_dir/stdio.h"; } ; then
       inhibit_libc=true
fi

The change explicitly passes inhibit_libc=true to configure to disable
include fixing on such cases.
Fixed nix build --no-link -f. pkgsLLVM.hello toolchain bootstrap.
Description of changes

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.11 Release Notes (or backporting 22.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Will keep in draft until get a few more tests finished.

Ready.
Fixed: pkgsLLVM.hello on x86_64-linux.
Tested (still works): hello, pkgsCross.powernv.stdenv.cc, pkgsCross.powernv.gcc, pkgsCross.mingw32.re2c, pkgsCross.or1k.stdenv.cc on x86_64-linux.
Tested (still works): hello, pkgsCross.powernv.stdenv.cc, pkgsCross.powernv.gcc

I'll merge it a bit quicker to get pkgsLLVM.* fixed on staging. This is a low risk change.


Update docker completion to match docker upstream

See
https://github.com/docker/docker/blob/master/contrib/completion/zsh/_docker

I'll update this with the latest from upstream.
This is quite outdated now.

Excellent, looks like this was pulled in already.
PR will just update to docker 1.12.1 completion.

Thanks!

@mcornella Thanks!


[FEATURE] NeoNameService implementation

The release of NNS brings names to the NEO blockchain. I think it would come really hand to have a simple implementation which allows others to use the NEL API methods (and other APIs connecting to the name service contracts) to easily lookup domains or do reverse lookups.
Beside that also API calls for domain auctions could be implemented and things like the ownership transfer of domains to have easy access to those too.
My suggestion would be to create a new package similar to neon-api, maybe called neon-ns dedicated to naming services (lookup, auctions, domain management), with it's own providers with a minimal set of method calls and extended providers for more specific things.
Maybe somebody has a different idea or would like to add something?

The following PR adds the base use case of domain name resolution from a direct contract call, and is packaged into it's own plugin.
https://github.com/CityOfZion/neon-js/pull/328

Closed by #337


Minor UI tweaks

Fix default font antialiasing method: Change the default antialiasing method to LCD subpixel, as the majority of users are not on HiDPI screens: source.

Fix create project dialog UI. Center some options to make the project creation dialog look more appealing.

Before

After

Fix default font antialiasing method: Change the default antialiasing method to LCD subpixel, as the majority of users are not on HiDPI screens: source.

Note that this can make text look bad on OLED displays, but since these are in the minority, it's probably fine. Ideally, we'd detect the font rendering style based on the OS settings, but querying this requires OS-specific code that is currently not present in Godot.
That said, I would definitely not enable LCD subpixel antialiasing on macOS, as macOS itself no longer offers it since macOS 10.15. HiDPI displays are also pretty common among macOS users these days.

Personally I don't think aligning radio options block to the center makes sense. This looks very out of place IMHO.
Design libraries that I worked with usually have radios aligned to the left for LTR.
Example: Material design radio button

That said, I would definitely not enable LCD subpixel antialiasing on macOS, as macOS itself no longer offers it since macOS 10.15. HiDPI displays are also pretty common among macOS users these days.

I understand the subpixel antialiasing is done by freetype itself, so it won't be a problem on macOS.

Personally I don't think aligning radio options block to the center makes sense. This looks very out of place IMHO.
Design libraries that I worked with usually have radios aligned to the left for LTR. Example: Material design radio button

So, this is to address the case where the Create New Project dialog is stretched horizontally:

In the case of no centering, both the renderer choice and version control chooser are left aligned, which leads to two questions:

Should we limit the maximum size of the dialog?
Should we center align both the renderer chooser and version control chooser to make it look appealing.


GFM: Absolutify relative links in markup files

Hi,
in https://github.com/isaacs/npm-www/issues/517 @sindresorhus is mentioning support from GFM for relative image paths (https://github.com/blog/1395-relative-links-in-markup-files)
In npm-www we are taking the readme.md, which is often hosted on GitHub, too and are rendering markdown for the detail page of the package from it. Sometimes the readme makes use of the relative-img-path-feature from GitHub (see issue).
Turns out, that supporting converts (from relative paths to absolute ones) for images which are embedded html is not that easy: the custom html renderer is ignoring the img tag (https://github.com/chjj/marked/blob/master/lib/marked.js#L50) and they are included in the paragraph-callback with all other tags.
In order to support relative img paths from GFM on npm-www it would be nice to have a  easy way to convert the paths at the rendering stage or before.

See #956
See #958 - Please help on that PR, if you still wish to see this make into an actual release, we can't merge and release 0.3.9 without fixing what's going on there.


how to get this results?

@kopopt
Hi,
According to the instructions
I am wondering how to get this result with distributed Tensorflow:
" Configuration: 36672494 training examples, 10 threads, factor_num = 8, batch_size = 10000, epoch_num = 1, vocabulary_size = 40000000
Cluster: 1 ps, 4 workers.
FastTffm: 49 seconds. 748418 examples / second."
Could you provide the dataset and detail running instructions?
Recently, we have a distributed version of RDMAable-Tensorflow  and we would like to evaluated RDMA-based Tensorflow with this benchmark. Any help wolud be greatly appreciated! Thanks.

@IMCG
Thanks for your feedback.
You can download the dataset here http://labs.criteo.com/2015/03/criteo-releases-its-new-dataset/ . Note that I did not use the full dataset. The original one contains 4 billion lines, and I only use 36 million for testing purpose.
With running instruction, the front page should work. I will add more details if you find anything unclear.
BTW, both local mode and distributed mode are tested on 40-core machines.

@IMCG
Moreover, if you want to run it in real-distributed mode, you need to change the [ClusterSpec] in sample.cfg to your real cluster setting. Thanks.
[ClusterSpec]
ps_hosts = localhost:2340,localhost:2341
worker_hosts = localhost:2342,localhost:2343

@kopopt
Thank you. we will give it a try.

@kopopt could you please provide more details on evaluation and training? or how to run it on some established dataset instead of criteo sample with exotic format?


Returning Iterator::Stop from a block passed to Iterator.of causes segfault when working with a StringScanner

Code sample
require "string_scanner"

struct Scanner
  WORD_SEPARATORS = /\s|-/
  WHITESPACE      = /\s/

  @scanner : StringScanner
  @words : Iterator(String)

  def initialize(@scanner : StringScanner)
    @words = Iterator.of do
      @scanner.skip WHITESPACE
      next Iterator.stop if @scanner.eos?
      @scanner.scan_until(WORD_SEPARATORS)
        .try(&.strip(&.whitespace?)) || Iterator.stop
    end
  end

  def do_it(width : Number = 80)
    @words.each &->puts(String)
  end # def
end   # struct

scanner = StringScanner.new "some test text here"
puts Scanner.new(scanner).do_it

Note that, interestingly, this works:
str = ""
Iterator.of do
  str += "x"
  str.size > 5 ? Iterator.stop : str
end.each &->puts(String)

So this must be something to do with StringScanner in particular, but I'm not sure what.

Invalid memory access (signal 11) at address 0x40
[0x55b01b369716] *CallStack::print_backtrace:Int32 +118
[0x55b01b35bc0e] __crystal_sigfault_handler +286
[0x7f0ee5cd8800] ???
[0x55b01b3c4e02] *StringScanner#match<Regex, Bool, Regex::Options>:(String | Nil) +114
[0x55b01b3c4d80] *StringScanner#scan<Regex>:(String | Nil) +16
[0x55b01b3c4d0d] *StringScanner#skip<Regex>:(Int32 | Nil) +29
[0x55b01b35bd35] ~procProc((Iterator::Stop | String)) +53
[0x55b01b3c59d0] *Iterator::SingletonProc(String) +96
[0x55b01b3c540f] *Scanner#do_it:Nil +591
[0x55b01b34db0f] __crystal_main +1263
[0x55b01b3c6b36] *Crystal::main_user_code<Int32, Pointer(Pointer(UInt8))>:Nil +6
[0x55b01b3c69cc] *Crystal::main<Int32, Pointer(Pointer(UInt8))>:Int32 +44
[0x55b01b3590d6] main +6
[0x7f0ee5aa4023] __libc_start_main +243
[0x55b01b34d54e] _start +46
[0x0] ???

Not sure what's happening there, are we loosing the match data reference and the GC or libpcre cleans it up?

I find it highly unlikely that we're trying to consistently dereference a pointer at address 0x40. It seems more likely to me that this is a case of something being interpreted as a reference/pointer that's an integer constant as opposed to a pointer-like value.

(0x40 is 64 by the way... that seems oddly coincidental)

Significantly reduced. So no, it's not about Iterator or StringScanner (or libpcre)
struct Foo
  def initialize(@a : Array(Int32))
    ->{
      @a[0]
    }.call
  end
end

Foo.new([5])

Invalid memory access (signal 11) at address 0x4

From what I see, this happens when all of these conditions hold:
Inside a struct,
inside an initialize,
make a closure referring to an instance variable
which is a class,
and use the closure

Also for your curiosity, the 0x40 == offsetof(StringScanner, @str)

Thank you @oprypin I had no idea what was going on here

Just to add to @oprypin findings, Segfault is raised when dealing with Array. so below code will work
struct Foo
  def initialize(@a : Int32)
    ->{
      @a
    }.call
  end
end

Foo.new(5) # => Works

main culprit is inside _*Array(Int32)@Indexable(T)#[]<Int32>:Int32
->	cmpl	4(%rcx), %eax
	setl	%dl
	movb	%dl, 3(%rsp)
	jmp	LBB1806_11

I don't know what exactly that adds, as this is certainly not specific to arrays. You just removed 2 crucial details from my repro:
The instance variable needs to be a class; and the instance variable needs to actually be used (its fields accessed)

I don't know what exactly that adds, as this is certainly not specific to arrays. You just removed 2 crucial details from my repro:
The instance variable needs to be a class; and the instance variable needs to actually be used (its fields accessed)

👍
my bad and sorry for the confusion

looks like #7771

Indeed, closing as duplicate.


Move SMT test fixtures to the fuel-specs repo

This is closed by https://github.com/FuelLabs/fuel-specs/pull/389


IPP INFRA/SYSTEM Server Support

Add support for IPP INFRA (PWG 5100.18) and SYSTEM (PWG 5100.22) to function as an infrastructure printer. Tasks:

[x] IPP Notifications (RFC 3995/3996) support
[ ] IPP System service - notifications
[ ] IPP System service - Register-Output-Device
[ ] Register callback that returns a pappl_printer_t pointer
[ ] IPP System service - resources
[ ] Save/load IPP-managed resources
[ ] Update resource API to support more IPP resource stuff
[ ] IPP INFRA - printer and job operations
[ ] "infra" driver name
[ ] PAPPL_SOPTIONS_INFRA to enable INFRA support
[ ] Transform support (as configured)

Tracking development on the infra branch...

Proposed API:
enum pappl_soptions_e			// System option bits
{
  ...
  PAPPL_SOPTIONS_INFRA = 0x2000			// Enable shared infrastructure extensions
};

typedef pappl_printer_t *(*pappl_pr_register_cb_t)(pappl_client_t *client, void *data);
					// Infrastructure printer registration callback function

extern void		papplPrinterAddInfraDevice(pappl_printer_t *printer, const char *device_uuid);
extern pappl_printer_t	*papplPrinterCreateInfra(pappl_system_t *system, int printer_id, const char *printer_name, size_t num_device_uuids, const char * const *device_uuids) _PAPPL_PUBLIC;
extern char		**papplPrinterGetInfraDevices(pappl_printer_t *printer, size_t *num_devices) _PAPPL_PUBLIC;
extern void		papplPrinterRemoveInfraDevice(pappl_printer_t *printer, const char *device_uuid);

extern pappl_printer_t	*papplSystemFindInfraPrinter(pappl_system_t *system, const char *device_uuid) _PAPPL_PUBLIC;
extern void		papplSystemSetRegisterCallback(pappl_system_t *system, pappl_pr_register_cb_t cb, void *data) _PAPPL_PUBLIC;

OK, so some of the INFRA implementation has to deal with how to combine the capabilities of multiple output devices for a single INFRA printer. Typically this falls into the category of a union or intersection of capabilities, with potentially some additional filtering, i.e., a site might want to limit the kinds of media that are supported.


feat(schema): support mysql 8

All ORM tests are now using mysql8, which supports check constraints.
Also fixes several issues with schema diffing in mysql8 (additional queries).

Codecov Report

Merging #2961 (b8ff889) into master (b513b16) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##            master     #2961   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files          193       193
  Lines        11806     11817   +11
  Branches      2725      2726    +1
=========================================
+ Hits         11806     11817   +11

Impacted Files
Coverage Δ

packages/core/src/platforms/Platform.ts
100.00% <ø> (ø)

packages/postgresql/src/PostgreSqlPlatform.ts
100.00% <ø> (ø)

packages/sqlite/src/SqlitePlatform.ts
100.00% <ø> (ø)

packages/knex/src/schema/SchemaComparator.ts
100.00% <100.00%> (ø)

packages/mysql/src/MySqlSchemaHelper.ts
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

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


Allow sub-apps to be mounted on the root path

Express.js allows you to mount sub-applications to the root path (aka. it doesn't require a separate entry path). This change hoists routes from a provided Polka instance to the primary instance.
@lukeed

Hey, thanks~!
I'm trying to understand the point or benefit of this approach. Do you mind explaining your reasoning for this?
Also, let's discuss it first before addressing the notes I've made 😄 Don't want you to spend more time on this until I'm sold -- because as of now I don't think I find this to be useful.

This might probably work
let loop = _ => res.finished || (i < len)
  ? ((arr[i+1] instanceof Polka) ? arr[i++].handler : arr[i++])(req, res, next);
  : fn(req, res);

// or

let loop = _ => res.finished || (i < len)
  ? (((arr[i+1] instanceof Polka)
     ? arr[i++].handler.bind(null, req, res)
     : arr[i++].bind(req, res, next))
  )()
  : fn(req, res);

for
// index.js
const polka = require('polka')();
polka.use(require('./routes/core'));
polka.use(require('./routes/pages'));
polka.listen();

// routes/core.js
const polka = require('polka')();
polka.get('/ping', (req, res) => res.end('pong'));
module.exports = polka;

// routes/pages.js
const polka = require('polka')();
polka.get('/page-one', (req, res) => res.end('my page'));
module.exports = polka;

@mram We can't do expensive/computationally-heavier logic in the main handler. Either of your snippets could (very potentially) dramatically decrease performance.
@track0x1 I'm shooting for familiarity, not exact parity.
This still feels like almost like an anti-pattern to me, to be honest. I'm still leaning towards having this live in a user-land solution. Something like:
// my-polka.js
const polka = require('polka')

module.exports = () => {
  let app = polka();

  app.attach = sub => {
    let m, keys, obj=sub.handlers;
    for (m in obj) {
      if ((keys=Object.keys(obj[m])).length) {
        keys.forEach(uri => app.add(m, uri, obj[m][uri]));
      }
    }
    app.wares = app.wares.concat(sub.wares);
    app.bwares = app.bwares.concat(sub.bwares);
  }

  return app;
}

Then using it:
const polka = require('./my-polka');

polka()
  .attach(require('./routes/core'))
  .attach(require('./routes/pages'))
  .listen();

We can't do expensive/computationally-heavier logic in the main handler. Either of your snippets could (very potentially) dramatically decrease performance.

Second thought, realised it 😬

@mram Compare with the results in the README or in the benchmarks directory~
Snippet 1
Running 10s test @ http://localhost:3000
  8 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     2.43ms  293.78us   7.65ms   91.27%
    Req/Sec     4.96k     1.22k   39.05k    99.88%
  395250 requests in 10.10s, 39.20MB read
Requests/sec:  39135.96
Transfer/sec:      3.88MB

Snippet 2 (modified)
// modified to make it work
let loop = _ => res.finished || (i < len)
  ? (
    arr[i+1] instanceof Polka
      ? arr[i++].handler.call(null, req, res)
      : arr[i++](req, res, next)
  ) : fn(req, res);

Running 10s test @ http://localhost:3000
  8 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     2.42ms  228.76us   7.67ms   88.38%
    Req/Sec     4.99k   367.95     9.85k    97.26%
  398964 requests in 10.10s, 39.57MB read
Requests/sec:  39495.00
Transfer/sec:      3.92MB

Important to note that this is still running the same benchmark code, a simple GET /, which represents the best-case scenario. There are no sub-application mounted. Any sub-applications with these approaches would produce far worse results, since that's where the extra work comes in.
Basically, these benchmarks are showing the cost of adding an extra arr[i+1] instanceof Polka within each loop cycle.

@lukeed Been thinking this over; what do you think about a dependency injection approach to handle this?
// index.js
const polka = require('polka')();
require('./routes/core')(polka);
require('./routes/pages')(polka);
polka.listen();

// routes/core.js
module.exports = (polka) => {
  polka.get('/ping', (req, res) => res.end('pong'));
};

// routes/pages.js
module.exports = (polka) => {
  polka.get('/page-one', (req, res) => res.end('my page'));
};


RSS/Atom support

Please enable RSS/Atom support at the blog/site. It will be useful to get groups/forums (e.g.: in Telegram, using @rss2tg_bot) updated regarding new posts.

Bumping this. It would be great to read blog posts in my newsreader instead of having to manually check the blog!

Atom feed: https://deno.com/feed

Thank you dudes! 👍


Ctrl + C and Ctrl + V

Has anyone come to implement Ctrl + C and Ctrl + V without having to use Mytille's clipboard and keyboard?

Chrome

Back in days, access to the clipboard was forbidden to the browsers (as a security measure); I'll check know if things have changed... I know there are some workarounds/hacks and access to the clipboard may be allowed for write operations (that you need).

I'll check and notice here it worked. Many thanks @cedrozor.

Cedrozor, have you ever checked this Clipboard-API for the clipboard?
https://www.w3.org/TR/clipboard-apis/
And I'm not able to make the clipbard work with the Myrtille menu ...


publish RC1 version for v0.11.0

What this PR does / why we need it:
Creates RC1 pre-release for KServe 0.11.
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Related to #2676.
Release note:

NONE.

/lgtm
/approve


segfault when importing library and album art is found

[mjpeg @ 0x7f6bfc4da7c0] mjpeg_decode_dc: bad vlc: 0:0 (0x7f6bfc31a7c0)
[mjpeg @ 0x7f6bfc4da7c0] error dc
[mjpeg @ 0x7f6bfc4da7c0] error y=94 x=86
[mjpeg @ 0x7f6bfc4da7c0] mjpeg: unsupported coding type (c9)
[mjpeg @ 0x7f6bfc4da7c0] mjpeg: unsupported coding type (c6)
[mjpeg @ 0x7f6bfc4da7c0] only 8 bits/component accepted
[image2 @ 0x7f6bfc4d9de0] Could not find codec parameters (Video: mjpeg)
/mnt/raid/music/somecoolband/48_13/cover.jpg: could not find codec parameters
[mjpeg @ 0x7f6c002d0ec0] Unhandled pixel format 0x11111111
[image2 @ 0x7f6c002f6e20] Could not find codec parameters (Video: mjpeg, 1500x1500)
/mnt/raid/music/somecoolband/cover.jpg: could not find codec parameters
Segmentation fault

In order to fix this bug, I need to be able to reproduce it. Here are a couple ways you could help me be able to reproduce it:

Install libgroove debug symbols, and then use gdb to get a backtrace of the segfault. This allows me to see which lines of code are related to the crash.
Figure out what causes the segfault (perhaps is it always this one file?) and then explain to me (perhaps send me a file) how exactly I can cause the segfault to happen on my computer.

I really would have loved to fix this, but without more details there's not much I can do.


ENYO-6274: Remove background color in Panels

Background image was applied to AgateDecorator.
To show it under a panels properly, the panels's background color style should be removed.
I don't know the full history why the background color was added at the first time in https://github.com/enactjs/agate/pull/115. But it seems to me that we need to remove it now.
Enact-DCO-1.0-Signed-off-by: YB Sung<EMAIL_ADDRESS>

Closing in favor of https://github.com/enactjs/agate/pull/142.


Adds support for mutePosts(), unmutePosts(), muteStory() and unmuteStory()

Instagram recently added a feature to "Mute" a user's story (the feed at the top of the page from left to right), and also their posts (their posts that show up in your feed).
This pull request added 4 new methods, mutePosts(), unmutePosts(), muteStory() and unmuteStory(). Each works with parameters session and accountId of the user to change.
Example
Client.Relationship.mutePosts(
  session,
  accountId
).then(relationship => {
  console.log(`Muted ${relationship.params.username}`
})

Demo

http://github.com/patrickclery/stfu -- a configurable javascript to mute every account you follow on instagram.

is it working ?

Implemented in #779


Disable line wrapping

First of all, thank you for this really nice tool!
Is it possible to make import-sort not wrap long lines? I run a setup with both import-sort and Prettier, and the two disagree about how lines should be wrapped. I'd like import-sort to do what it does best (sort imports) and Prettier do what it does best (make things pretty).

This issue can be disregarded.


0.13.7 release process: merge release/0.13 to stable

0.13.7 release process: merge release/0.13 to stable
final merge :-)

Looks like tests are failing because python on CircleCI is not in a good mood. A couple of tests became green by themself and one is still failing with the same other as the other did.


cache and log volumes missing in sample docker-compose.yml and readme

IMHO this leads to crazy unexpected behaviour:
        volumes:
            - files:/var/www/html/files
            - theme:/var/www/html/public/theme
            - media:/var/www/html/public/media
            - thumbnail:/var/www/html/public/thumbnail
            - sitemap:/var/www/html/public/sitemap

also this part in readme https://github.com/shopware/docker?tab=readme-ov-file#volumes
because every worker can get different values from cache then other worker or storefront/admin. for example if you change plugin configuration value in admin your worker will never get this updated values.
i learned this lesson the hard way..

Hey,
It's expected that you use Redis for the data cache and logs are forwarded to the container logs (https://github.com/shopware/recipes/blob/main/shopware/docker/0.1/config/packages/docker.yaml#L26)

i updated the readme


workspace.onDidChangeTextDocument unexpectedly reports changes with the file version from the source control

VSCode Version: Version 1.8.0-insider (1.8.0-insider) 6a6ab1fc5e58227b56ffc3e5bea9951e5565c314
OS Version: macOS Sierra 10.12

Something very strange happened to workspace.onDidChangeTextDocument, it looks like it now reports changes to the file by comparing its version with the Git stored version, or something like that.
Steps to Reproduce:

Create an extension with one line:

workspace.onDidChangeTextDocument(event => console.log(event));

Checkout any project from Git
Open Dev Tools
Open any file of the project from Git, change the file, observe the correct and expected change reported to the console
Save the file, wait few seconds, and observe the unexpectedly reported change (also check the event contentChanges[0].text)

Why is that unexpected? It's a valid event we broadcast, the uri clearly identifies this document via the git-index-scheme.

fyi @joaomoreno

Thanks for clarifying it. I'll add a filter in my handler to only catch file scheme URIs.

Why is that unexpected?

onDidChangeTextDocument didn't have the git-index-schemed changes broadcasted through it before. We never bothered to check the URI and had no idea we needed to, but the change breaks our code, so now we need to check the URI of the changed document as well. It's not a problem to fix it in our extension, I just have a feeling that just like us, others may also be not checking the scheme and have their extension broken, but I may be mistaken.

Unsure - this isn't the first 'non-file' document for which we are broadcasting changes for. This also happens for the document that is used by output channels (like inmemory://model/4) and also for virtual documents created with the data from TextDocumentContentProviders

this isn't the first 'non-file' document for which we are broadcasting changes

We didn't even notice it, because in our extension onDidChangeTextDocument handler we are checking a document name (against the whitelist of project files that our extension keeps), so have never hit an issue with trying to process model/4-like names.
This new case however passes the real project document, just with the new URI scheme, so our name check wasn't enough.


Issue with other types of charts

I can see you have overridden the init function on Highcharts and then concatenated series to it. This creates issue with other types of charts in single application.
EG: we are having linecharts and we load series in them as per need basis. No series is loaded at initialization. Even if we tried to do so. Its giving issues in your init function.
Could you please check.

ok we need a better handling for series added on the fly. Can you please
provide me with an example of your usage on jsfiddle ?
I didnt catch if has to do with multiple charts per page or adding series
on demand.
Thanks for your report
El 23/5/2016 8:23, "Rahul Borkar"<EMAIL_ADDRESS>escribió:

I can see you have overridden the init function on Highcharts and then
concatenated series to it. This creates issue with other types of charts in
single application.
EG: we are having linecharts and we load series in them as per need basis.
No series is loaded at initialization. Even if we tried to do so. Its
giving issues in your init function.
Could you please check.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/streamlinesocial/highcharts-regression/issues/39


UI styling

Adding search fields to unavailable and registered screens #16
Styling modals
Converting input fields to static text on registering new ens name #7
Adding terms page (missing styling) #2

@lpissinali Could you link any relevant issues being fixed / addressed ?

added a fix for: https://github.com/status-im/ens-usernames/issues/31


sap.m.Table: Ability to export to a spreadsheet (Excel, CSV, ...)

OpenUI5 version: 1.120.12
Browser/version (+device/version): Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36
Hello!
Since OpenUI5 version 1.73, sap.ui.core.util.ExportTypeCSV is deprecated and the documentation indicates that ~sap.ui.core.util.ExportTypeCSV~ sap.ui.export.Spreadsheet should be used. However, this module is only available in SAPUI5.
In my opinion, since exporting a table's data to a spreadsheat is a commonly needed operation for a business oriented framework such as OpenUI5, it should support such an operation. It could be also used as a temporary work-around to print a table's data while this feature request is implemented (users could export the table to a spreadsheet and then print the data using another software, such as Excel, Google Sheets, etc.).
Thanks!
 I made a correction in the question's body.

As @pubmikeb mentioned, we already have this gap on our radar, as we have BLIs FIORITECHP1-13991 and FIORITECHP1-13992 on our backlog.
Unfortunately, the topic currently has not the highest priority and therefore has not seen any further development yet.
I know this answer won't satisfy you, but restricted capacity and other incoming high priority topics lead to a current hold of this topic.
I'll close this issue, as #2629 deals with the same topic and you can find updates there.


Do not fill :authority header if Host header exists in HTTP/2

Motivation:
An HTTP/2 request can have a Host header and we don't have to fill :authority header automatically if the request headers has the Host header.
Modification:

Do not fill :authority header if Host header exists

Result:

You no longer see the automatically filled :authority header if Host header exists in HTTP/2 requests.
(Breaking) HTTP/2 Clients do not translate a Host header to the :authority header.
Fixes #2877

Thanks, reviewer!


Fixing 'queue' naming error

Ah thank you much. I totally overlooked that.

I'll get a CI setup at some point 😄


CI support for ODO on IBM P

What type of PR is this?
/kind feature
What does does this PR do / why we need it:
Enable upstream CI on ppc64le arch.
How to test changes / Special notes to the reviewer:
This PR is based on similar PR for IBM Z - https://github.com/openshift/odo/pull/3529
We have setup OCP 4.4 on IBM P. We download this ODO code from upstream and run the scripts/openshiftci-presubmit-all-tests.sh to trigger CI tests on IBM P.

cc:- @mohammedzee1000 ^^

/ok-to-test

/retest

/retest

/ok-to-test

@mohammedzee1000 @amitkrout can you please review? Thanks in advance!

/area system-pz

/lgtm

/retest

/retest

/retest

/restart

/restart

/restart

@amitkrout please mark this as approved

i cannot mark this as approve as travis is still red.

/restest

/restart

@sarveshtamba We have fix the travis failure. Can you please rebase.

rebased
/lgtm

@amitkrout thanks a lot for reviewing!

cc:- @mik-dass ^^

/approve

/hold cancel


Add process metrics of weed itself

In order to investigate #2145  better i added process metrics. This is normally default from prometheus but needs to be added due to custom Gatherer.
This will add the following to metrics:
# HELP process_cpu_seconds_total Total user and system CPU time spent in seconds.
# TYPE process_cpu_seconds_total counter
process_cpu_seconds_total 0.07
# HELP process_max_fds Maximum number of open file descriptors.
# TYPE process_max_fds gauge
process_max_fds 1024
# HELP process_open_fds Number of open file descriptors.
# TYPE process_open_fds gauge
process_open_fds 12
# HELP process_resident_memory_bytes Resident memory size in bytes.
# TYPE process_resident_memory_bytes gauge
process_resident_memory_bytes 4.734976e+07
# HELP process_start_time_seconds Start time of the process since unix epoch in seconds.
# TYPE process_start_time_seconds gauge
process_start_time_seconds 1.62434824716e+09
# HELP process_virtual_memory_bytes Virtual memory size in bytes.
# TYPE process_virtual_memory_bytes gauge
process_virtual_memory_bytes 1.688731648e+09
# HELP process_virtual_memory_max_bytes Maximum amount of virtual memory available in bytes.
# TYPE process_virtual_memory_max_bytes gauge
process_virtual_memory_max_bytes 1.8446744073709552e+19

Could you please also add corresponding panels here?
https://github.com/chrislusf/seaweedfs/tree/master/other/metrics

Could you please also add corresponding panels here?
https://github.com/chrislusf/seaweedfs/tree/master/other/metrics

added to grafana_seaweedfs.json
grafana_seaweedfs_k8s.json seems to be out of sync with grafana_seaweedfs.json so i ignored that. It had panels added directly and not on the row Filer Instances.


lipo with "-info" / "-archs" result in "invalid magic number"

Hi, and thanks for this great project!
While I suspect it's not as common that the -archs/-info commands are used, I think it's probably good to list it as a difference in functionality from the standard lipo tool.
Currently, when invoking it it produces an error:
$ ./lipo -archs ./mylib.a
Error: can't figure out the architecture type of: ./mylib.a: invalid magic number

# original lipo
$ lipo -archs ./mylib.a
arm64

Thank you for your report!
We needs to handle ar file format.
I will address it after investigating the format.

addressed the issue in version v0.9.0


feat: how-to guide using Cloud Build for builder

Fixes #235

/cc: @grant this shows people how to offload the builder creation to Cloud Build.

PTAL


[SPARK-21090][core]Optimize the unified memory manager code

What changes were proposed in this pull request?
1.In acquireStorageMemory, when the MemoryMode is OFF_HEAP ,the maxMemory should be modified to maxOffHeapStorageMemory
2. Borrow memory from execution, numBytes modified to numBytes - storagePool.memoryFree will be more reasonable
How was this patch tested?
added unit test case

Test build #78030 has started for PR 18296 at commit a93f7af.

Test build #78030 has finished for PR 18296 at commit a93f7af.

This patch fails Scala style tests.
This patch merges cleanly.
This patch adds no public classes.

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

Merged build finished. Test FAILed.

Test build #78032 has started for PR 18296 at commit bafc18f.

Merged build finished. Test FAILed.

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

retest this please

Test build #78037 has started for PR 18296 at commit bafc18f.

@srowen I have updated the description of this PR,thanks

I don't quite understand how that addresses the question, but I don't know this code. @JoshRosen is the most likely reviewer, but maybe you can elaborate the example more.

Test build #78037 has finished for PR 18296 at commit bafc18f.

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

Merged build finished. Test PASSed.

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

@JoshRosen Could you help to review it, thanks

Also cc @cloud-fan @jiangxb1987

LGTM, merging to master!

Actually this is a bug fix, and it's a small fix(without tests, only 3 lines), so backporting in to 2.2


actions/setup-node@v4 fails without any logging or error messages

Description:
actions/setup-node@v4 started failing today without any errors or debug logging.  I made a simple empty public repository to test it, which is recreating what happens in our main repository.  See
https://github.com/SeedTactics/setup-node-test
https://github.com/SeedTactics/setup-node-test/actions/runs/10908848118/job/30275746876
Action version:
v4
Platform:

[X] Ubuntu
[ ] macOS
[X] Windows

Runner type:

[X] Hosted
[ ] Self-hosted

Tools version:
See
https://github.com/SeedTactics/setup-node-test/blob/main/.github/workflows/test.yml
Repro steps:
https://github.com/SeedTactics/setup-node-test
see https://github.com/SeedTactics/setup-node-test/actions/runs/10908848118/job/30275746876
Expected behavior:
Node is installed, or at least some kind of error or log of what is happening
Actual behavior:
actions/setup-node@v4 fails with no logs or errors

Note that nodejs.org is having an outage, though status.nodejs.org had not been updated as of just before this comment.

Note that nodejs.org is having an outage, though status.nodejs.org had not been updated as of just before this comment.

Hrm, still not updated:
https://status.nodejs.org/

Yeah I'm not seeing it updated as well

Guessing between the outage and no recent release for this repo that it is not an issue with this project.

In that case, wouldn't the action emit an error?  Something like couldn't contact nodejs.org?

In that case, wouldn't the action emit an error message? Something like couldn't contact nodejs.org?

Not if it's a DNS timeout, which this appeared to be. I observed a new error just now, but the action auto-recovered:
Attempting to download 21.x...
Not found in manifest. Falling back to download directly from Node
Acquiring 21.7.3 - x64 from https://nodejs.org/dist/v21.7.3/node-v21.7.3-linux-x64.tar.gz
read ECONNRESET
Waiting 16 seconds before trying again
...

So see if a retry on the failed job works.

So see if a retry on the failed job works.

I just retried the job (after waiting ~45 minutes since the initial failures and subsequent retries) and the issue has resolved itself.
Thanks, all!

Hello everyone 👋 ,
Thank you for reporting this issue. The issue was caused by a temporary outage on the Node.js website affecting downloads. According to the Node.js status page, the issue has now been resolved.
Please try rerunning your workflows. If the problem persists, feel free to reach out to us.


Web: Markdown preview html content is not wrapped

Re #83296

Run self hosting bits in iPadOS
Open a markdown file which contains long source code blocks
Open preview to the side
Code blocks are not wrapped

I didn't see this issue on Safari on macOS however on iPadOS, the markdown.css file is not loaded correctly (error code 404), but I didn't see it on VSO so it's probably just security checks for localhost from Safari.


Using DATADOG_API_KEY as gradle property name doesn't work

Describe what happened
Running ./gradlew uploadMappingRelease fails as if the key property was not declared unless renamed to DD_API_KEY.
Error message:
* What went wrong:
Execution failed for task ':app:uploadMappingRelease'.
> Make sure you define an API KEY to upload your mapping files to Datadog. Create a DD_API_KEY or DATADOG_API_KEY environment variable, gradle property or define it in datadog-ci.json file.

Steps to reproduce the issue:
Declare DATADOG_API_KEY=XXX in your .gradle/gradle.properties file
Run  ./gradlew uploadMappingRelease
Describe what you expected:
The task should succeed but it fails.

Hi @jamesbluecrow and thanks for opening this issue.
Indeed, the message is misleading as DATADOG_API_KEY only works as an environment variable for now. We'll update or plugin to take into account gradle properties too.


Assertions

Is there a way to use Java assertions?
Using a Python3 kernel and the line:
assert(1==2)

an AssertionError is returned:
AssertionErrorTraceback (most recent call last)
<ipython-input-2-000000000000> in <module>()
----> 1 assert(1==2);

AssertionError:

Using the IJava kernel and the same line, there is no return value or exception displayed.

Assertions in java are a bit different, there is the assert keyword but it is disabled by default. To enable it the -ea flag must be passed in the jvm arguments. In the IJava kernel this can be done by editing the kernel.json and adding the -ea flag to the argv list but this makes your notebooks less reproducible as users would require the same setup.
What I would recommend is use a library like junit assertions which are common in java unit testing and easily included with the maven magic.
Run a cell with the following to include all of the assert methods from junit to the static space in your notebook:
%maven junit:junit:4.12
import static org.junit.Assert.*;

Use the assertion methods like the following:
assertTrue("Assertion message", 1 == 1);
assertTrue(1 == 2);

which is the same as the following pure java code if -ea is enabled:
assert 1 == 1: "Assertion message";
assert 1 == 2;

Thank you so much for your answer!
(In parallel to your message (aka the last minutes) I found the -ea approach, too.
https://docs.oracle.com/javase/7/docs/technotes/guides/language/assert.html#enable-disable
https://github.com/SpencerPark/IJava#changing-vmcompiler-options
But your suggestion of using jUnit sounds very good, maybe better.
Thanks for your fast response & support!)

So I tried this via the maven / junit approach. This works fine in a notebook, and the notebook does show Assertions being thrown nice (see screenshot below). However, that still leads to nbgrader to assign full credit. Basically, what nbgrader does, is to look at the msg_type and looks for the error type.
https://github.com/jupyter/nbformat/blob/master/nbformat/v4/nbbase.py#L55
This seems fairly straightforward, so I am tempted to think there is something amiss in how IJava and kernel / nbgrader communicate such exception. Could you perhaps give a pointer where to look for this interaction in the IJava code?
Thanks a bundle!

@hkarl I see a lot of value in ensuring that the kernel works well with nbgrader as one of my favorite things about jupyter is how nice it is for teaching.
The meat and potatoes of the protocol details is in a different project jupyter-jvm-basekernel which I wanted to keep more general as I plan on writing kernels for some other jvm based languages in the future. You can find more details there specificall in the BaseKernel.java which is what the java kernel extends.
If you see handleExecuteRequest it does in fact reply with an error on the shell channel and an error on iopub as well. I double check by looking at the Network tab in chrome dev tools, restart the kernel, filter by WS, select the channel?... and look at the Frames tab. This should show you all the messages that come over the notebook-jupyter_client socket. Furthermore you can type iopub in the filter to just see things going over iopub.
In running your code the browser received the following message:
{
  "header": {
    "msg_id": "2b85c09a-587e-429f-8b61-6d79cfe46b8e",
    "username": "username",
    "session": "b6f3c34cdfa1448d918d3a0f3b03df2e",
    "date": "2018-09-20T20:20+0000",
    "msg_type": "error",
    "version": "5.0"
  },
  "msg_id": "2b85c09a-587e-429f-8b61-6d79cfe46b8e",
  "msg_type": "error",
  "parent_header": {
    "msg_id": "acf345b801a444b88e27d60b5e92f548",
    "username": "username",
    "session": "b6f3c34cdfa1448d918d3a0f3b03df2e",
    "date": "2018-09-20T20:20:30.914537Z",
    "msg_type": "execute_request",
    "version": "5.2"
  },
  "metadata": { },
  "content": {
    "ename": "EvalException",
    "evalue": "null",
    "traceback": [
      "\u001b[1m\u001b[31m---------------------------------------------------------------------------\u001b[0m",
      "\u001b[1m\u001b[31mjava.lang.AssertionError: null\u001b[0m",
      ...
    ]
  },
  "buffers": [ ],
  "channel": "iopub"
}

when I download the notebook and look in the outputs for the cell it also has
    {
     "ename": "EvalException",
     "evalue": "null",
     "output_type": "error",
     "traceback": [
      "\u001b[1m\u001b[31m---------------------------------------------------------------------------\u001b[0m",
      "\u001b[1m\u001b[31mjava.lang.AssertionError: null\u001b[0m",
      ...
     ]
    }

Thanks. I can reproduce that, looks plausible to me, and currently trying to debug the flow of this information through nbgrader. Somehow, somewhere, there is  a difference between python and java notebook. (Also compare: https://github.com/jupyter/nbgrader/issues/986#issuecomment-423431795 ).
Thanks a bundle; will keep this posted in case we solve this.

@hkarl I see on the referenced comment things might appear to be working as expected? I would appreciate an update on how the interaction is going with IJava and nbgrader in either case and your experience writing autograder tests. If there is anything I can help with, kernel side or writing java libraries intended for grading with the kernel, I would be more than happy to get some work going on that. Thanks!

Thanks for following up! Current preliminary testing seems to indicate it works. It will get its main workout when we  run >400 students and their homeworks through it in December :-) - we will keep you posted.


Think about to fix the issues found by adapter checker

I am an automatic service that looks for possible errors in ioBroker and creates an issue for it. The link below leads directly to the test:
https://adapter-check.iobroker.in/?q=https://raw.githubusercontent.com/HGlab01/ioBroker.followthesun

[ ] [E154] common.dependencies must contain {"js-controller": ">=2.0.0"} or {"js-controller": ">=3.0.0"}
[ ] [E405] Icon must be in the following path: https://raw.githubusercontent.com/HGlab01/ioBroker.followthesun/main/
[ ] [E407] Meta URL(latest) must be equal to https://raw.githubusercontent.com/HGlab01/ioBroker.followthesun/main/io-package.json
[ ] [E426] Icon(stable) must be in the following path: https://raw.githubusercontent.com/HGlab01/ioBroker.followthesun/main/
[ ] [E428] Meta URL(stable)  must be equal to https://raw.githubusercontent.com/HGlab01/ioBroker.followthesun/main/io-package.json
[ ] [E701] No actual year found in LICENSE. Please add "Copyright (c) 2022 HGlab01<EMAIL_ADDRESS>at the start of LICENSE

Thanks,
your automatic adapter checker.
P.S.: There is a community in Github, which supports the maintenance and further development of adapters. There you will find many experienced developers who are always ready to assist anyone. New developers are always welcome there. For more informations visit: https://github.com/iobroker-community-adapters/info

fixed!

Thanks, that all bugs have been fixed.


Installation Error

in local (gpt) needs CUDA?
No dependencies to install or update
Installing the current project: rag-stack (0.1.0)
llm/local/ggml-gpt4all-j-v1.3-groovy.bin already exists, skipping download.
💠 Starting Qdrant...
1b4a0b67ed95f9ddce2db5558dafa2c4604e4e714cdf24412febb650643d47cd
🔮 Ragstack is almost ready.
Access the UI at http://localhost:5173 and send queries to http://localhost:8080/ask-question
Traceback (most recent call last):
File "/root/.cache/pypoetry/virtualenvs/rag-stack-kU5FsrDq-py3.10/lib/python3.10/site-packages/torch/init.py", line 168, in _load_global_deps
ctypes.CDLL(lib_path, mode=ctypes.RTLD_GLOBAL)
File "/usr/lib/python3.10/ctypes/init.py", line 374, in init
self._handle = _dlopen(self._name, mode)
OSError: libcurand.so.10: cannot open shared object file: No such file or directory
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "", line 1, in
File "/usr/lib/python3.10/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1050, in _gcd_import
File "", line 1027, in _find_and_load
File "", line 1006, in _find_and_load_unlocked
File "", line 688, in _load_unlocked
File "", line 883, in exec_module
File "", line 241, in _call_with_frames_removed
File "/home/chatmyfile/server/server/main.py", line 22, in
from vectorstore import QdrantVectorStore
File "/home/chatmyfile/server/vectorstore/init.py", line 1, in
from .qdrant_vectorstore import QdrantVectorStore
File "/home/chatmyfile/server/vectorstore/qdrant_vectorstore.py", line 7, in
from sentence_transformers import SentenceTransformer
File "/root/.cache/pypoetry/virtualenvs/rag-stack-kU5FsrDq-py3.10/lib/python3.10/site-packages/sentence_transformers/init.py", line 3, in
from .datasets import SentencesDataset, ParallelSentencesDataset
File "/root/.cache/pypoetry/virtualenvs/rag-stack-kU5FsrDq-py3.10/lib/python3.10/site-packages/sentence_transformers/datasets/init.py", line 1, in
from .DenoisingAutoEncoderDataset import DenoisingAutoEncoderDataset
File "/root/.cache/pypoetry/virtualenvs/rag-stack-kU5FsrDq-py3.10/lib/python3.10/site-packages/sentence_transformers/datasets/DenoisingAutoEncoderDataset.py", line 1, in
from torch.utils.data import Dataset
File "/root/.cache/pypoetry/virtualenvs/rag-stack-kU5FsrDq-py3.10/lib/python3.10/site-packages/torch/init.py", line 228, in
_load_global_deps()
File "/root/.cache/pypoetry/virtualenvs/rag-stack-kU5FsrDq-py3.10/lib/python3.10/site-packages/torch/init.py", line 189, in _load_global_deps
_preload_cuda_deps(lib_folder, lib_name)
File "/root/.cache/pypoetry/virtualenvs/rag-stack-kU5FsrDq-py3.10/lib/python3.10/site-packages/torch/init.py", line 154, in _preload_cuda_deps
raise ValueError(f"{lib_name} not found in the system path {sys.path}")
ValueError: libcublas.so.*[0-9] not found in the system path ['', '/usr/lib/python310.zip', '/usr/lib/python3.10', '/usr/lib/python3.10/lib-dynload', '/root/.cache/pypoetry/virtualenvs/rag-stack-kU5FsrDq-py3.10/lib/python3.10/site-packages', '/home/chatmyfile/server']
Stopping Docker containers...
qdrant
qdrant

Same problem here

I am also facing same problem, any solution for this ?

Yes, (re)install Torch (see the torch web for the command for your gpu setup).
But that doesn't solve all the other issues I ran into later as well =) goodluck

I finally fixed everything by fixing the gpt4all and the torch versions in the server/pyproject.toml to gpt4all="1.0.0" and torch=">=2.0.0, !=2.0.1, !=2.1.0" and rerunning in the server folder:
poetry lock


ui: vmware vm import-unmanage

Description
Adds UI for importing and unmanaging VMs.
A new navigation section - Tools has been added in the UI.
Doc PR: https://github.com/apache/cloudstack-documentation/pull/221

Types of changes

[ ] Breaking change (fix or feature that would cause existing functionality to change)
[x] New feature (non-breaking change which adds functionality)
[ ] Bug fix (non-breaking change which fixes an issue)
[x] Enhancement (improves an existing feature and functionality)
[ ] Cleanup (Code refactoring and cleanup, that may add test cases)

Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale

[ ] Major
[ ] Minor

Bug Severity

[ ] BLOCKER
[ ] Critical
[ ] Major
[ ] Minor
[ ] Trivial

Screenshots (if appropriate):

How Has This Been Tested?

Packaging result: :heavy_check_mark: centos7 :heavy_check_mark: centos8 :heavy_check_mark: debian. SL-JID 227

Packaging result: :heavy_check_mark: centos7 :heavy_check_mark: centos8 :heavy_check_mark: debian. SL-JID 235

Packaging result: :heavy_check_mark: centos7 :heavy_check_mark: centos8 :heavy_check_mark: debian. SL-JID 241

@blueorangutan package

@shwstppr a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

Packaging result: :heavy_check_mark: centos7 :heavy_check_mark: centos8 :heavy_check_mark: debian. SL-JID 263

@blueorangutan package

@shwstppr a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

Packaging result: :heavy_check_mark: centos7 :heavy_check_mark: centos8 :heavy_check_mark: debian. SL-JID 265

Packaging result: :heavy_check_mark: centos7 :heavy_check_mark: centos8 :heavy_check_mark: debian. SL-JID 286

@blueorangutan ui

@shwstppr a Jenkins job has been kicked to build UI QA env. I'll keep you posted as I make progress.

UI build: :heavy_check_mark:
Live QA URL: http://qa.cloudstack.cloud:8080/client/pr/5075 (SL-JID-277)

Packaging result: :heavy_check_mark: centos7 :heavy_check_mark: centos8 :heavy_check_mark: debian. SL-JID 335

Trillian Build Failed (tid-1064)

@blueorangutan ui

@shwstppr a Jenkins job has been kicked to build UI QA env. I'll keep you posted as I make progress.

UI build: :heavy_check_mark:
Live QA URL: http://qa.cloudstack.cloud:8080/client/pr/5075 (SL-JID-300)

@blueorangutan package

@borisstoyanov a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

Packaging result: :heavy_check_mark: el7 :heavy_check_mark: el8 :heavy_multiplication_x: debian :heavy_multiplication_x: suse15. SL-JID 468

@blueorangutan package

@shwstppr a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

Packaging result: :heavy_check_mark: el7 :heavy_check_mark: el8 :heavy_check_mark: debian. SL-JID 470

@blueorangutan package

@shwstppr a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

Packaging result: :heavy_check_mark: el7 :heavy_check_mark: el8 :heavy_check_mark: debian. SL-JID 472

Last commit unrelated to import wizard/form. A change in UI component was causing some fields not visible in AddNetworkOffering form. Fixed now.
@blueorangutan ui

@shwstppr a Jenkins job has been kicked to build UI QA env. I'll keep you posted as I make progress.

UI build: :heavy_check_mark:
Live QA URL: http://qa.cloudstack.cloud:8080/client/pr/5075 (SL-JID-328)

Packaging result: :heavy_check_mark: el7 :heavy_check_mark: el8 :heavy_check_mark: debian. SL-JID 498

@shwstppr a Jenkins job has been kicked to build UI QA env. I'll keep you posted as I make progress.

UI build: :heavy_check_mark:
Live QA URL: http://qa.cloudstack.cloud:8080/client/pr/5075 (SL-JID-363)

@blueorangutan ui
Last commit added to use UI component added with 041948c

This doesn't explain much what was changed (to me at least) and it comes after LGTM from Boris (and the internal review from me) @shwstppr . Also some conflicts are there. thx

@andrijapanicsb a Jenkins job has been kicked to build UI QA env. I'll keep you posted as I make progress.

UI build: :heavy_multiplication_x:
(SL-JID-374)

@andrijapanicsb Fixed conflicts
Commit in question b3e2ace changed the tooltip code for form items.

Before 041948c (#5133), above icon was shown with code,
<span slot="label">
  {{ $t('label.displayname') }}
  <a-tooltip :title="apiParams.displayname.description">
    <a-icon type="info-circle" style="color: rgba(0,0,0,.45)" />
  </a-tooltip>
</span>

With PR #5133, new Vue component (TooltipLabel.vue) was added which allowed above code to be refactored as,
<tooltip-label slot="label" :title="$t('label.displayname')" :tooltip="apiParams.displayname.description"/>

PR #5133 was merged into main after your review.
@blueorangutan ui

@shwstppr a Jenkins job has been kicked to build UI QA env. I'll keep you posted as I make progress.

UI build: :heavy_check_mark:
Live QA URL: http://qa.cloudstack.cloud:8080/client/pr/5075 (SL-JID-379)


Import existing articles

Description
The current personal site consists of several posts.
Tasks

[ ] Import
[ ] Import
[ ] Import
[ ] Import

Closed by 9541052.


[Question] Supervised contact map and secondary structure models

Hello,
Are you planning on releasing the model (architecture and weights) that you have trained in a supervised fashion for predicting contact maps and secondary structure in "Biological structure and function emerge from scaling unsupervised learning to 250 million protein sequences"?
Thank you for making all this awesome work available!

Hi, thanks for the kind words! We want to release those supervised models along with large parts of our internal research codebase, but have no clarity on the timeline for this yet. Definitely at least half a year out.


Add flash messages for AJAX requests (create new group, delete group)

Add an after_filter in applications controller to listen to all AJAX requests.
Then copy messages from flash[{key}] to the response header.
Use jquery to add messages to div.

This should be working well for all cases flash message if it uses flash_message() or flash_now() and all flash messages in "annotations" should work.

@bzhou26 I asked you to not make any more changes to different routes on this branch. Please only work on the comments I've made here about the overall structure, and work on other routes on a separate branch. I would appreciate it if you reverted the changes you made to the other routes on this branch as well.

Sorry for messing up the branch. I finished the _flash_message.html and application.js as a global function for showing AJAX flash messages. The changes in groups_controller was made before. I will change other things in another branch from now.

@david-yz-liu I fixed a bug in my code that I forgot to put nil as content in _flash_message.html. You can test it now.

Thanks, @bzhou26!


Pointing EJB to the recent branch of jni.rs (pre-0.11.0)

Overview
Experimental PR to discover possible conflicts before the release of JNI.rs version 0.11.0

See: https://jira.bf.local/browse/ECR-XYZ
Definition of Done

[ ] There are no TODOs left in the code
[ ] Change is covered by automated tests
[ ] The coding guidelines are followed
[ ] Public API has Javadoc
[ ] Method preconditions are checked and documented in the Javadoc of the method
[ ] Changelog is updated if needed (in case of notable or breaking changes)
[ ] The continuous integration build passes

Coverage remained the same at 85.53% when pulling 1262f7957596866e3fbba4ccfc636fd9a52bad2c on check-ejb-against-latest-jni.rs into 9e0a3dd86f76e49e45a19e63ce31e877bd29371c on master.

@dip56 would you run the sys tests on this branch please?
tests passed

good, thanks! We'll put this pr aside till the release of jni-rs.


Refactor this repo for modernity

Thanks for all that went into creating and maintaining this repo!
There was a time when this was the easiest way to get up and running with Java bindings on libpostal, however by adopting the latest and greatest available with gradle (as we have in this PR) the glue used in this repo is practically eliminated.
This PR provides:

much better cross-platform support with M1 Macs supported out of the box
a clean compile and link approach that eliminates the interstitial artifacts that were previously required
a github action to verify tests are passing
a Dockerfile for the prebuilt libtool image that Qualytics is maintaining on Dockerhub to facilitate CI/CD pipelines that want to leverage this project (or any other libtool bindings)

@albarrentine as the contributor with the last commit here, would you be open to giving me access to this repo so that I can merge this PR and otherwise assist? Alternatively marking this one maintenance mode and redirecting users to the Qualytics fork here: https://github.com/Qualytics/jpostal

Thanks for the PR, added you to maintainers.


after a few minutes of play there's no sound

after a few minutes of play, likely 3-4mins the game goes mute.
i'm using the latest 1.2 version of the vpk.
i'm gonna try out the older versions too but pls have a look on this problem.

after a few minutes of play, likely 3-4mins the game goes mute. i'm using the latest 1.2 version of the vpk. i'm gonna try out the older versions too but pls have a look on this problem.

it has to be the experia version all other versions have issues

after a few minutes of play, likely 3-4mins the game goes mute. i'm using the latest 1.2 version of the vpk. i'm gonna try out the older versions too but pls have a look on this problem.

it has to be the experia version all other versions have issues

I have a version i found it on reddit, i don't know if it's the xperia play version or not, everything is working fine just the sound goes mute after a few minutes of play.
Can you give me a link for the datafiles you're using?

after a few minutes of play, likely 3-4mins the game goes mute. i'm using the latest 1.2 version of the vpk. i'm gonna try out the older versions too but pls have a look on this problem.

it has to be the experia version all other versions have issues

I have a version i found it on reddit, i don't know if it's the xperia play version or not, everything is working fine just the sound goes mute after a few minutes of play.
Can you give me a link for the datafiles you're using?

I cant since doing so would get the dev in legal trouble but i will say there are two links one is with enhanced textures from ios and one thats the base game. install the base game first and then install the enhanced one but remove the sound folder from it so it doesnt screw up the sound files of the base game because it will cut off sound

@TheOneEyedGrimReaper I'll send here a test build today that should have the issue fixed

@TheOneEyedGrimReaper may be bettern in the v1.3 released today, you may try. If not, there's nothing I can do more, unfortunately.


Disable key sorting

Hi,
Current behaviours when dumping a dataclass is to produce a dict with keys sorted alphabetically.
I think this should be left as an configurable option (and preferably default to False) since even current Python dict preserve key order now.

It was a bug fixed in the context of #248. Do you have a case where keys loose their original order and are sorted alphabetically? Which version of the library are you using?

@zhPavel Apologies. I was using 3.0.0b1. The key order is indeed preserved in the latest version. I'll close this now.
Thank you for taking a look.


embedding drawings

This is a wonderful tool! Thank you for creating it!
This tool is almost perfect for preparing lecture notes and exams that can then be rendered as a nice PDF. The main thing that is missing is being able to embed drawings (images) with the standard markdown notation for it (and maybe base64 encoding inside of the document). I am posting this as a feature suggestion.

Glad you're enjoying it!
Embedded drawings is a bit of a stretch for the current app, which is very focussed on editing pure text files. But it's certainly an interesting use-case.
One way I've solved similar problems in the past was to write something like graphviz or mermaid drawing notation into a code block in the markdown, and then use a pandoc filter to convert those to images as part of the rendering step. But that might be a little more elaborate than what you had in mind!


Add size for booleans to _getValLength

Currently, booleans are counted as having size 0. This lead to me having a cache that contained lots of values but reported a vsize of 0.
Quickly redoing the experiment from http://www.mattzeunert.com/2016/07/24/javascript-array-object-sizes.html it seems like V8 treats collections of booleans as oddballs with a size identical to numbers, so I set the size estimate equal to that of numbers (ignoring that both numbers and booleans seem to use closer to 10 bytes).

Coverage decreased (-0.2%) to 97.645% when pulling 67ff6efe3272dadc480878cd054c123550be798c on leofidus:bool into 383915735c2a686ca12d882ccbe0f007fbb660cc on mpneuried:master.

This was implemented in #136. Thank you for your input!!


Android: glTF model loading crashes app

Bevy version
0.10.1 (also reproduced on 0.10.0 and 0.9.1)
Relevant system information
Android 12 (Samsung S22)
What you did
Loading glTF models with ass.load("models/model.glb#Scene0").
What went wrong
Model loads and displays fine when running on desktop computer (Windows 10) but crashes when running on android.
Additional information
Happens with all models I tried, including glTF sample models and a simple cube exported from Blender 3.5.
Error message:
--------- beginning of crash
05-04 23:20:58.627 29993 30057 F libc    : Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x8 in tid 30057 (Thread-3), pid 29993 (rdition_android)

Code to reproduce: https://github.com/larsjarlvik/path-to-perdition/tree/4177d4f37bd4a237fdf3c51ed38d1740024fd1a6

There are two known issues on some GPUs on Android:

segfault when MSAA is enabled #8214
panic when shadows are enabled #8229

Could you add the log saying which is your GPU, and try with MSAA and shadows disabled?

Saw those two issues when I was investigating so I tried disabling both MSAA and shadows but it still crashed.
Also, I'm quite certain it relates to the model loading cause the app runs fine with the built-in shapes.
However, I will get back with the GPU model later.

I tried putting your character.glb in the Bevy mobile example, changing the camera too, and it works for me on a Samsung S22 / Android 12.0

Could you try on your device using the example code?

Example code adapted
```rust
use bevy::{input::touch::TouchPhase, prelude::*, window::WindowMode};
// the bevy_main proc_macro generates the required boilerplate for iOS and Android
#[bevy_main]
fn main() {
let mut app = App::new();
app.add_plugins(DefaultPlugins.set(WindowPlugin {
primary_window: Some(Window {
resizable: false,
mode: WindowMode::BorderlessFullscreen,
..default()
}),
..default()
}))
.add_systems(Startup, (setup_scene, setup_music));
// MSAA makes some Android devices panic, this is under investigation
// https://github.com/bevyengine/bevy/issues/8229
#[cfg(target_os = "android")]
app.insert_resource(Msaa::Off);

app.run();

}
fn touch_camera(
windows: Query<&Window>,
mut touches: EventReader,
mut camera: Query<&mut Transform, With>,
mut last_position: Local<Option>,
) {
let window = windows.single();
for touch in touches.iter() {
    if touch.phase == TouchPhase::Started {
        *last_position = None;
    }
    if let Some(last_position) = *last_position {
        let mut transform = camera.single_mut();
        *transform = Transform::from_xyz(
            transform.translation.x
                + (touch.position.x - last_position.x) / window.width() * 5.0,
            transform.translation.y,
            transform.translation.z
                + (touch.position.y - last_position.y) / window.height() * 5.0,
        )
        .looking_at(Vec3::ZERO, Vec3::Y);
    }
    *last_position = Some(touch.position);
}

}
/// set up a simple 3D scene
fn setup_scene(mut commands: Commands, asset_server: Res) {
commands.spawn((Camera3dBundle {
transform: Transform::from_xyz(0.7, 0.7, 1.0).looking_at(Vec3::new(0.0, 0.3, 0.0), Vec3::Y),
..default()
},));
commands.spawn(DirectionalLightBundle {
    directional_light: DirectionalLight { ..default() },
    ..default()
});
commands.spawn(SceneBundle {
    scene: asset_server.load("character.glb#Scene0"),
    ..default()
});

// Test ui
commands
    .spawn(ButtonBundle {
        style: Style {
            justify_content: JustifyContent::Center,
            align_items: AlignItems::Center,
            position_type: PositionType::Absolute,
            left: Val::Px(50.0),
            right: Val::Px(50.0),
            top: Val::Auto,
            bottom: Val::Px(50.0),
            ..default()
        },
        ..default()
    })
    .with_children(|b| {
        b.spawn(
            TextBundle::from_section(
                "Test Button",
                TextStyle {
                    font_size: 30.0,
                    color: Color::BLACK,
                    ..default()
                },
            )
            .with_text_alignment(TextAlignment::Center),
        );
    });

}
</details>

@mockersf You were right, the reason for the crash is the shadows and not the model loading itself. I missed out on it because of an issue with my cargo setup causing it to run an old build instead of the latest changes.
I will close this ticket since there's already one logged for that issue, thanks for all the help!


Update existing ratings regarding the same job and the same user commited by the same user

sync to server side


zkLLVM field and curve replacement implementations

General idea:

we add zkllvm feature to a crate
we gate field types with this feature
if zkllvm feature enabled, we export zkLLVM types instead of arkworks implementations
in general: replacement types must have the same interfaces as the original ones
otherwise leave everything as it is

This will be done for fields and curves in following crates:

bls12_381
curve25519
pallas
vesta (will be done automatically after pallas)

Let it be completed for now in 8a88d35d0dec3362b4824a41708c46b032ebb4c7


GraphQL API v4

It says in the package synopsis that the package supports v3 of the API.
What are the implications of supporting v4 of the API?
https://developer.github.com/v4/
In particular, I am interested in the transferIssue endpoint.

GraphQL API v4 is not supported, and there are no plans to support it: GraphQL is so different than REST, that one don’t even benefit from REST type definitions.

On 3 Oct 2019, at 13.57, Simon Shine<EMAIL_ADDRESS>wrote:
It says in the package synopsis that the package supports v3 of the API.
What are the implications of supporting v4 of the API?
https://developer.github.com/v4/
In particular, I am interested in the transferIssue endpoint.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

I appreciate the insight! Thanks.


mapPackList() runs before completion of asynchronous map pack code

Flubb's Tremendous Map Pack and Galactic War Multiplanetary Systems both use means other than a static array. The former uses api.file.get(), an example of which is included below:
api.file.list('/client_mods/com.flubbateios.mappack/ui/mods/com.flubbateios.mappack/flubb/').then(function (r) {
	var maps = [];
	for (var x in r) {
		maps.push(r[x].replace('/client_mods/com.flubbateios.mappack/', 'coui://'));
	}
	cShareSystems.load_pas("flubb's Tremendous Map Pack", maps);
});

The latter checks for existing map packs and pushes to an array based on what's loaded. An example of the load_map.js code is included below:
      api.mods.getMounted("client", true).then(function (mods) {
        var modMounted = function (modIdentifier) {
          return _.some(mods, { identifier: modIdentifier });
        };

        var multiplanetarySystems = [];

        if (modMounted("com.pa.grandhomie.maps")) {
          multiplanetarySystems.push(
            "coui://ui/mods/grandhomie/systems/32_ffa.pas"
          );
        }

        cShareSystems.load_pas("Multiplanetary", multiplanetarySystems);
      });

Currently the mod will not display the tabs from these mods in the Galactic War lobby.
However, I found that adding a mapPackList() call at the bottom your mod's map_pack.js before the final return causes the tabs to display properly, even if it's only called by console.debug(). It is beyond me why this is (since this function appears to always be called by template_loader.js), but I'm hoping this means a fix can be created to support such mods. The Galactic War Multiplanetary Systems mod was created specifically for use with Shared Systems for Galactic War, and I didn't realise this approach wasn't supported until I was done.

I've just noticed they're both running asynchronous code, while other mods don't, so I'm assuming it's something to do with that.

So apparently it is that. mapPackList() appears to be completing before these two mods have run cShareSystems.load_pas(). I'm not sure what can be done about that.

I made changes that seem to work for your mod, but I couldn't find Fubb's pack.


[BEAM-147] Adding sum of squares to distributions in metrics

Be sure to do all of the following to help us incorporate your contribution
quickly and easily:

[x] Make sure the PR title is formatted like:
[BEAM-<Jira issue #>] Description of pull request
[x] Make sure tests pass via mvn clean verify. (Even better, enable
Travis-CI on your fork and ensure the whole test matrix passes).
[x] Replace <Jira issue #> in the title with the actual Jira issue
number, if there is one.
[ ] If this contribution is large, please file an Apache
Individual Contributor License Agreement.

r: @bjchambers not many changes were added. Should be an easy review : )

r: @robertwb if this looks fine to you, could you merge? : )

This is an unstable algorithm: https://en.wikipedia.org/wiki/Algorithms_for_calculating_variance#Online_algorithm


unplayable error with some ids, please check.

These are some links that playable on the web
https://www.youtube.com/watch?v=gr-IqFcNExY
https://www.youtube.com/watch?v=_4UsZ1icOjA
youtubedr download gr-IqFcNExY
cannot playback and download, status: UNPLAYABLE, reason: Video không có sẵn

can you check please @corny

The https://youtube.com/get_video_info endpoint returns the UNPLAYABLE status because the uploader has disable embedding of this video on other sites. We need to parse the HTML page in that case like youtube-dl does.

The https://youtube.com/get_video_info endpoint returns the UNPLAYABLE status because the uploader has disable embedding of this video on other sites. We need to parse the HTML page in that case like youtube-dl does.

@corny   do you know where is the code in youtube-dl for parsing HTML page?

maybe we should implement things like this one? https://github.com/ytdl-org/youtube-dl/blob/master/youtube_dl/extractor/youtube.py#L312

maybe we should implement things like this one? https://github.com/ytdl-org/youtube-dl/blob/master/youtube_dl/extractor/youtube.py#L312

Please take a look at the PR and let me know what you think.

Please take a look at the PR and let me know what you think.

closed by #144   thanks to @john-black-3k
release fix version 2.4.1 thanks to @corny


Add docs

Basic Sphinx doc generation

Update:

Documentation was added and is to be put in docs/
Both .rst and .md are supported for documentation
Added TorchDataset and TorchQueueDataset documentation.
many other modules can just be added using .. automodule:: module
New docs are automatically built through Actions upon pushing to master and when successful are pushes to gh-pages
New master documentation is now always freshly built and served to https://xetaiz.github.io/torchvtk

We have docs for

TorchDataset
TorchQueueDataset
Transformations

We should add docs for:
[ ] VolumeRaycaster
[ ] torchvtk.utils
[ ] Datasets that can be directly imported using the library (including download etc.)

i'll close this for now given we have more than a "basic" sphinx docs at this point


Error when entering new vehicle

Checklist

[x] I have read and tried the steps outlined in the Troubleshooting Guide
[x] I have searched through existing issues.

Description
This stack does not use a postgres database.
After enabling authentication and logging in, when trying to enter my first vehicle, I get the following error:
fail: CarCareTracker.External.Implementations.PGVehicleDataAccess[0]
      Name or service not known
fail: CarCareTracker.External.Implementations.PGVehicleDataAccess[0]
      Name or service not known
fail: CarCareTracker.External.Implementations.PGExtraFieldDataAccess[0]
      Name or service not known
fail: CarCareTracker.External.Implementations.PGVehicleDataAccess[0]
      Name or service not known

Platform

[x] Docker Image

Browser Console Errors(F12)
Nothing appears to be listed...Just:
A form field element has neither an id nor a name attribute. This might prevent the browser from correctly autofilling the form.
To fix this issue, add a unique id or name attribute to a form field. This is not strictly needed, but still recommended even if you have an autocomplete attribute on the same element.

App/Container Console Error
LubeLogger 1.3.4
Website: https://lubelogger.com
Documentation: https://docs.lubelogger.com
GitHub: https://github.com/hargata/lubelog
SMTP Configured for smtp.gmail.com
Message Of The Day: Not Configured
warn: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[35]
      No XML encryptor configured. Key {bccb8121-8dc7-47fb-945f-090603524cdc} may be persisted to storage in unencrypted form.
fail: CarCareTracker.External.Implementations.PGUserRecordDataAccess[0]
      Name or service not known
fail: CarCareTracker.External.Implementations.PGTokenRecordDataAccess[0]
      Name or service not known
fail: CarCareTracker.External.Implementations.PGUserConfigDataAccess[0]
      Name or service not known
fail: CarCareTracker.External.Implementations.PGVehicleDataAccess[0]
      Name or service not known
fail: CarCareTracker.External.Implementations.PGUserAccessDataAccess[0]
      Name or service not known
fail: CarCareTracker.External.Implementations.PGServiceRecordDataAccess[0]
      Name or service not known
fail: CarCareTracker.External.Implementations.PGGasRecordDataAccess[0]
      Name or service not known
fail: CarCareTracker.External.Implementations.PGCollisionRecordDataAccess[0]
      Name or service not known
fail: CarCareTracker.External.Implementations.PGUpgradeRecordDataAccess[0]
      Name or service not known
fail: CarCareTracker.External.Implementations.PGOdometerRecordDataAccess[0]
      Name or service not known
fail: CarCareTracker.External.Implementations.PGReminderRecordDataAccess[0]
      Name or service not known
fail: CarCareTracker.External.Implementations.PGExtraFieldDataAccess[0]
      Name or service not known
fail: CarCareTracker.External.Implementations.PGVehicleDataAccess[0]
      Name or service not known
fail: CarCareTracker.External.Implementations.PGVehicleDataAccess[0]
      Name or service not known
fail: CarCareTracker.External.Implementations.PGNoteDataAccess[0]
      Name or service not known
fail: CarCareTracker.External.Implementations.PGTaxRecordDataAccess[0]
      Name or service not known
fail: CarCareTracker.External.Implementations.PGSupplyRecordDataAccess[0]
      Name or service not known
fail: CarCareTracker.External.Implementations.PGPlanRecordDataAccess[0]
      Name or service not known
fail: CarCareTracker.External.Implementations.PGPlanRecordTemplateDataAccess[0]
      Name or service not known
fail: CarCareTracker.External.Implementations.PGExtraFieldDataAccess[0]
      Name or service not known
fail: CarCareTracker.External.Implementations.PGVehicleDataAccess[0]
      Name or service not known
fail: CarCareTracker.External.Implementations.PGVehicleDataAccess[0]
      Name or service not known
fail: CarCareTracker.External.Implementations.PGVehicleDataAccess[0]
      Name or service not known
fail: CarCareTracker.External.Implementations.PGExtraFieldDataAccess[0]
      Name or service not known
fail: CarCareTracker.External.Implementations.PGVehicleDataAccess[0]
      Name or service not known
fail: CarCareTracker.External.Implementations.PGVehicleDataAccess[0]
      Name or service not known

Screenshots(optional)

Check environment variables make sure POSTGRES_CONNECTION is not injected.

Oops, that was it. It was still in my .env file. Thanks!


Add Timing section into FWJR docs

Fixes #11657
Status
In development
Description
Adjust all unit test FWJR json docs to include TIming section
Is it backward compatible (if not, which system it affects?)
YES
Related PRs
#11656
External dependencies / deployment changes
https://github.com/dmwm/WMArchive/pull/360

@vkuznet Valentin, please provide these changes in the PR that actually provides this new functionality, thus in:
https://github.com/dmwm/WMCore/pull/11656
If this PR was supposed to simply fix those json documents, then I think we can close this out once changes are migrated.

Alan, I made this PR to keep JSON changes. Let's keep it separate from https://github.com/dmwm/WMCore/pull/11656 and merge it once we merge #11656 . To avoid misunderstanding I adjusted this PR title.

This PR may be obsolete with the following commit https://github.com/dmwm/WMCore/pull/11692/commits/7d9a1527776d1165f72f9d6278a13a9faba0a8b7 from  https://github.com/dmwm/WMCore/pull/11692

Superseeded by https://github.com/dmwm/WMCore/pull/11692. Closing this one out.


[rosdep] Add hddtemp for ubuntu trusty and xenial

#33110 deleted rosdep definitions of hddtemp on ubuntu trusty and xenial, but I think they actually have hddtemp.
This PR recovers those definitions.
Without this PR, we will easily face an error in rosdep install after rosdep update on trusty and xenial.
Package name:
hddtemp
Package Upstream Source:
omitted since it is already present in the base.yml
Purpose of using this:
I want to avoid an error in rosdep install after rosdep update on trusty and xenial.
Distro packaging links:
Links to Distribution Packages

Debian: https://packages.debian.org/

Not changed

Ubuntu: https://launchpad.net/ubuntu/ (Sorry but I cannot find EOL distros on https://packages.ubuntu.com/)

https://launchpad.net/ubuntu/trusty/+source/hddtemp
https://launchpad.net/ubuntu/xenial/+source/hddtemp

(I think this PR is enough because https://launchpad.net/ubuntu/+source/hddtemp shows focal, bionic, xenial, and trusty)

Fedora: https://packages.fedoraproject.org/

Not changed

Arch: https://www.archlinux.org/packages/

Not changed

Gentoo: https://packages.gentoo.org/

Not changed

macOS: https://formulae.brew.sh/

Not changed

Alpine: https://pkgs.alpinelinux.org/packages

Not changed

NixOS/nixpkgs: https://search.nixos.org/packages

Not changed

openSUSE: https://software.opensuse.org/package/

Not changed

How to reproduce rosdep error
$ sudo docker pull osrf/ros:indigo-desktop-trusty
$ sudo docker run -it osrf/ros:indigo-desktop-trusty
# rosdep install --rosdistro ${ROS_DISTRO} -s -r -y -i --from-paths /opt/ros/${ROS_DISTRO}/share
#[apt] Installation commands:
  apt-get install -y python-coverage
  apt-get install -y libcppunit-dev
  apt-get install -y python-mock
  apt-get install -y python-pygraphviz
# rosdep update --include-eol-distros
reading in sources list data from /etc/ros/rosdep/sources.list.d
Warning: running 'rosdep update' as root is not recommended.
  You should run 'sudo rosdep fix-permissions' and invoke 'rosdep update' again without sudo.
Hit https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/osx-homebrew.yaml
Hit https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/base.yaml
Hit https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/python.yaml
Hit https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/ruby.yaml
Hit https://raw.githubusercontent.com/ros/rosdistro/master/releases/fuerte.yaml
Query rosdistro index https://raw.githubusercontent.com/ros/rosdistro/master/index-v4.yaml
Add distro "ardent"
Add distro "bouncy"
Add distro "crystal"
Add distro "dashing"
Add distro "eloquent"
Add distro "foxy"
Add distro "galactic"
Add distro "groovy"
Add distro "humble"
Add distro "hydro"
Add distro "indigo"
Add distro "iron"
Add distro "jade"
Add distro "kinetic"
Add distro "lunar"
Add distro "melodic"
Add distro "noetic"
Add distro "rolling"
updated cache in /root/.ros/rosdep/sources.cache
# rosdep install --rosdistro ${ROS_DISTRO} -s -r -y -i --from-paths /opt/ros/${ROS_DISTRO}/share

ERROR: Rosdep experienced an error: rosdep OS definition for [hddtemp:ubuntu] must be a dictionary, string, or list: None
Please go to the rosdep page [1] and file a bug report with the stack trace below.
[1] : http://www.ros.org/wiki/rosdep

rosdep version: 0.15.2

Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/rosdep2/main.py", line 140, in rosdep_main
    exit_code = _rosdep_main(args)
  File "/usr/lib/python2.7/dist-packages/rosdep2/main.py", line 396, in _rosdep_main
    return _package_args_handler(command, parser, options, args)
  File "/usr/lib/python2.7/dist-packages/rosdep2/main.py", line 492, in _package_args_handler
    return command_handlers[command](lookup, packages, options)
  File "/usr/lib/python2.7/dist-packages/rosdep2/main.py", line 691, in command_install
    uninstalled, errors = installer.get_uninstalled(packages, implicit=options.recursive, verbose=options.verbose)
  File "/usr/lib/python2.7/dist-packages/rosdep2/installers.py", line 445, in get_uninstalled
    resolutions, errors = self.lookup.resolve_all(resources, installer_context, implicit=implicit)
  File "/usr/lib/python2.7/dist-packages/rosdep2/lookup.py", line 401, in resolve_all
    self.resolve(rosdep_key, resource_name, installer_context)
  File "/usr/lib/python2.7/dist-packages/rosdep2/lookup.py", line 485, in resolve
    installer_key, rosdep_args_dict = definition.get_rule_for_platform(os_name, os_version, installer_keys, default_key)
  File "/usr/lib/python2.7/dist-packages/rosdep2/lookup.py", line 148, in get_rule_for_platform
    raise InvalidData('rosdep OS definition for [%s:%s] must be a dictionary, string, or list: %s' % (self.rosdep_key, os_name, data), origin=self.origin)
InvalidData: rosdep OS definition for [hddtemp:ubuntu] must be a dictionary, string, or list: None

First rosdep install shows no fatal error, but after rosdep update, it raises a fatal error.
This is because osrf/ros:indigo-desktop-trusty includes ros-indigo-desktop which depends on hddtemp but https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/base.yaml does not include hddtemp for trusty:
# dpkg -l hddtemp
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                                     Version                   Architecture              Description
+++-========================================-=========================-=========================-=====================================================================================
ii  hddtemp                                  0.3-beta15-52             amd64                     hard drive temperature monitoring utility
# apt-cache rdepends hddtemp
hddtemp
Reverse Depends:
  ros-indigo-diagnostic-common-diagnostics
# apt-cache rdepends ros-indigo-diagnostic-common-diagnostics
ros-indigo-diagnostic-common-diagnostics
Reverse Depends:
  ros-indigo-diagnostics
# apt-cache rdepends ros-indigo-diagnostics
ros-indigo-diagnostics
Reverse Depends:
  ros-indigo-robot
# apt-cache rdepends ros-indigo-robot
ros-indigo-robot
Reverse Depends:
  ros-indigo-desktop

Oops, perhaps similar problem to https://github.com/ros/rosdistro/pull/31570, https://github.com/ros/rosdistro/issues/31569?
Will this PR not be merged?


When shut down on host mode, it will show "docker" command not found

Which should not happen.

Seems the wrong config cache is used. (Docker flag was changed but not considered in the config cache content)
We need to improve in these area.

It's a not a issue in the code. But when I use the command with a wrong config file with the same cluster name. The wrong config file has different configuration on docker.


Clarifaction of empty completionProvider in ServerCapabilities

I understand that if completionProvider is missing from ServerCapabilities, then the server does not support completion.  But can you, please, confirm that the following two examples of SeverCapabilites are equivalent and they mean the server does support completion?  And therefore the server cannot explicitly state that it doesn't support completion.
example 1: {"completionProvider": { "resolveProvider": false,  "triggerCharacters": []  }}
example 2: {"completionProvider": {}}
Thank you.

@nemethf yes they both should register a completion provider on the client side. Do you see issues with this?

What you wrote is logical and that is what we expected.  I was unsure about the answer probably because I find the standard doesn't completely consistent:
completionProvider?: CompletionOptions;
codeActionProvider?: boolean | CodeActionOptions;

I didn't understand why completionProvider wasn't defined as: completionProvider?: boolean | CompletionOptions;
But I guess it doesn't really matter. Thank you again.

@dbaeumer what about {"completionProvider": null}? Is this legal at all? I'm hoping you say "no", btw.

I hope so too. My understanding is that the types listed are exhaustive. So unless null is explicitly mentioned as a type, it's not valid. Given the TypeScript declarations, I imagine the compiler has strictNullChecks enabled.

I didn't understand why completionProvider wasn't defined as: completionProvider?: boolean | CompletionOptions;

Legacy and compatibility :-)
{"completionProvider": null} will not register a completion provider and is even invalid since null is not listed as a valid type.

{"completionProvider": null} [...] is even invalid since null is not listed as a valid type.

@dbaeumer this seems to contradict an old comment from you:

@felixfbecker we do treat undefined and null 'equal' in the protocol.I even think that I state somewhere that you should send null not undefined since undefined doesn't exist in other languages. On our server side we even have code that explicitly exchanges undefined with null. And the client code always treats undefined and null as 'equal'

https://github.com/microsoft/vscode-languageserver-node/issues/86#issuecomment-245612694
As you said in that comment, many languages don't have a distinction between null and undefined so your newer statement would make implementation of LSP in those languages a lot more cumbersome (for no obvious benefit?).
For context: https://github.com/felixfbecker/php-language-server/issues/758
I do agree though that it would be nice to list out the available types explicitly with strictNullChecks assumed, I just assumed that wasn't the case rn because the spec predates strictNullChecks.

for no obvious benefit?

... except for supporting clients that follow the specification :wink:


[JS][Renderer] Unnecessary aria-label on ac-pushButton

Platform
What platform is your issue or question related to? (Delete other platforms).

JavaScript

Author or host
We are Bot Framework Web Chat.
Version of SDK
Web Chat 4.8.0 is using Adaptive Cards 1.2.5, https://github.com/microsoft/BotFramework-WebChat/blob/v4.8.0/packages/bundle/package.json.
Details
This is an accessibility bug filed to Web Chat and should be moved to AC. I am copying the bug content here. The original bug is at https://github.com/microsoft/BotFramework-WebChat/issues/3090.

Actual
aria-label is un-necessarily added in markup
Expected
As inner text highlighted in “green” is present, aria-label is not needed.
WCAG Violation
Parsing 4.1.1
https://www.w3.org/TR/UNDERSTANDING-WCAG20/ensure-compat-parses.html

@dclaux initial thoughts on this  ?

While the aria-label is indeed unnecessary, what adverse effect is there to having it there anyway? In other words, does this actually causes a degraded accessibility experience?

FYI that this code was added specifically to aid Accessibility for outlook WebApp. Need to ensure that any changes here don't end up breaking them. @compulim could you help clarify how much of a blocker this bug is (see also @dclaux's comment above).

Per customer " It is P4/Low.  There is no user impact. The mark up does not look clean, hence it was reported.  It is OK to not fix this. "
Adaptive card team can decide whether it needs to be fixed or not. Thanks.