GT-220 v2 - Cursor does not respond to input

Hi!
Thanks for all the work. I am on ubuntu 16.04 and I have a Huion GT-220 v2. I followed all the instructions carefully. When I launch the driver all seem to work except that the pen does not make the mouse move at all. The click seem to work though. I ran the debug script and here is my output:
Finding USB device. . . Done!
Reading configuration. . . Done!
Preparing driver. . . Done!
--------------------------------------------------------------------------------
    |                Product: Tablet Monitor
 64 |        Params block #1: ??????
    |                          Max X: 37540
    |                          Max Y: 21120
    |                   Max pressure: 8191
    |                     Resolution: 2000
    |
 79 |         Internal model:
 7b |         Buttons status: HK On
 c8 |        Params block #2: ????????
    |                          Max X: 95352
    |                          Max Y: 53645
    |                   Max pressure: 8191
    |                     Resolution: 5080
    |
 c9 |       Firmware version: HUION_M165_170518
 ca |  Internal manufacturer: HUION Animation Technology Co.,ltd
--------------------------------------------------------------------------------
Setting up driver. . . Done!
	Tablet model name         GT-220 v2
	Buttons                   disabled (0)
	Scrollbar                 disabled (0)
	Notifications:            ENABLED
		for buttons       ENABLED
		for scrollbar     disabled
	Screen                    Enabled (1920x1080)
	Current Monitor Setup     [monitor_3]
	Multi Monitor Setup       ENABLED
	Calling xrandr            ENABLED

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
			< DEBUG MODE ENABLED >
Enabled by default. You can disable it by setting debug_mode = false
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

SYSTEM: Linux 4.16.3-041603-generic (x86_64 x86_64)
#201804190730 SMP Thu Apr 19 07:32:02 UTC 2018

DEVICE: /dev/input/event31 ()
bus: 0003, vendor 0001, product 0001, version 0003

      ENDPOINT 0x81: Interrupt IN ==========================
       bLength          :    0x7 (7 bytes)
       bDescriptorType  :    0x5 Endpoint
       bEndpointAddress :   0x81 IN
       bmAttributes     :    0x3 Interrupt
       wMaxPacketSize   :   0x40 (64 bytes)
       bInterval        :    0x2

TABLET CAPABILITIES:
[('SYN_REPORT', 0), ('SYN_CONFIG', 1), ('SYN_DROPPED', 3)]
[(['BTN_DIGI', 'BTN_TOOL_PEN'], 320), ('BTN_TOUCH', 330), ('BTN_STYLUS', 331), ('BTN_STYLUS2', 332)]
[(('ABS_X', 0), AbsInfo(value=0, min=0, max=0, fuzz=95352, flat=0, resolution=0)), (('ABS_Y', 1), AbsInfo(value=0, min=0, max=0, fuzz=53645, flat=0, resolution=0)), (('ABS_PRESSURE', 24), AbsInfo(value=0, min=0, max=0, fuzz=8191, flat=0, resolution=0)), (('ABS_TILT_X', 26), AbsInfo(value=0, min=0, max=0, fuzz=255, flat=0, resolution=0)), (('ABS_TILT_Y', 27), AbsInfo(value=0, min=0, max=0, fuzz=255, flat=0, resolution=0))]
VPEN:
name "Tablet Monitor Pen 135001", bus "BUS_USB", vendor "0001", product "0001", version "0003"
event types: EV_SYN EV_KEY EV_ABS

Setting up multiple monitors. . .
Running xrandr. . .
» xrandr --output DVI-D-0 --mode 1920x1080 --pos 0x0 --rotate normal --output DP-6 --mode 3840x2160 --pos 1920x0 --rotate normal --output DP-0 --mode 3840x2160 --pos 5760x0 --rotate left
Running xinput. . .
» xinput set-prop "Tablet Monitor Pen 135001" --type=float "Coordinate Transformation Matrix" 0.2 0 0.0 0 1.0 0.0 0 0 1
Mapped tablet area to "1920x1080 + 0x0"

Huion Kamvas driver should now be running. . .

(Input from the tablet will be printed out)

08 81 d9 14 ab 79 66 01 01 00 00 00 | X:70873 Y:31147 PRES:0358 TILT_X:000 TILT_Y:000
08 81 80 14 9a 79 65 01 01 00 00 00 | X:70784 Y:31130 PRES:0357 TILT_X:000 TILT_Y:000
08 81 50 14 9e 79 67 01 01 00 00 00 | X:70736 Y:31134 PRES:0359 TILT_X:000 TILT_Y:000
08 81 1e 14 a1 79 65 01 01 00 00 00 | X:70686 Y:31137 PRES:0357 TILT_X:000 TILT_Y:000
08 81 ba 13 a5 79 65 01 01 00 00 00 | X:70586 Y:31141 PRES:0357 TILT_X:000 TILT_Y:000
08 81 4c 13 a2 79 67 01 01 00 00 00 | X:70476 Y:31138 PRES:0359 TILT_X:000 TILT_Y:000
08 81 d6 12 98 79 67 01 01 00 00 00 | X:70358 Y:31128 PRES:0359 TILT_X:000 TILT_Y:000
08 81 57 12 89 79 67 01 01 00 00 00 | X:70231 Y:31113 PRES:0359 TILT_X:000 TILT_Y:000
08 81 ce 11 74 79 67 01 01 00 00 00 | X:70094 Y:31092 PRES:0359 TILT_X:000 TILT_Y:000
08 81 46 11 59 79 69 01 01 00 00 00 | X:69958 Y:31065 PRES:0361 TILT_X:000 TILT_Y:000
08 81 bf 10 3b 79 6a 01 01 00 00 00 | X:69823 Y:31035 PRES:0362 TILT_X:000 TILT_Y:000
08 81 3e 10 19 79 6c 01 01 00 00 00 | X:69694 Y:31001 PRES:0364 TILT_X:000 TILT_Y:000
08 81 c7 0f f4 78 6d 01 01 00 00 00 | X:69575 Y:30964 PRES:0365 TILT_X:000 TILT_Y:000
08 81 74 0f dd 78 6f 01 01 00 00 00 | X:69492 Y:30941 PRES:0367 TILT_X:000 TILT_Y:000

Also I need to mention that I had to create the xorg.conf.d folder in /etc/X11/.
My configuration is with 3 screens although I tried only with the Huion as main screen and had the same result.
Thanks for your help!

Hello @MatisHudon
Let's first see if your system succesfully writes mouse events.
I created a very simple script that should work in any system: test-evdev.py (I'm thinking on integrating it in the main script, but for now...)
If you run it, it should print the letter 'a' to the console, move the mouse cursor to the top left corner (100x100px) and open the right button menu.
You can follow the following instructions:
wget https://gist.githubusercontent.com/joseluis/ace22ea89d22970d17519cd10508d1bb/raw/c154c9eda7901c2599314083c07ba6d5dbe43a73/test-evdev.py -O test-evdev.py
chmod +x test-evdev.py
sudo ./test-evdev.py

If that doesn't work, the problem wont be in the script, but in your system.

Hey,
Thanks for your help. I ran your test script and:
"a" was printed and the right button menu was opened however the mouse wasn't move to the top left corner which seems to be coherent with the problem described above.
Somehow only mouse moves are not successfully written..
Thanks again,

Good to know. Then my recommendation for you is to try it script in a new OS installation. Because I wouldn't know how to debug what's wrong there... Feel free to update/reopen if you get some update.
Best of luck

Hello,
I managed to solve the issue, now the driver is working as expected I guess. So I did not re-install the OS. The issue was that I already had a older version of evdev installed for python3 and somehow the pip3 package was not downloading the last version of evdev. I had to:
sudo pip3 install --no-cache-dir --upgrade evdev
to force the upgrade of evdev after that all worked fine even the pressure sensitivity in Krita. Thanks for the help and the good work.
(I also updated/upgraded all my packages)

Very good to know! Thanks for the update and for the detailed explanation, it will be for sure of help for others.


feat(coral) - Approve requests: Add Team column in Schemas and Connectors tables

What is currently missing?
In the Approve requests tables, only Topics and ACLs have a Team column. Schemas and Connectors do not display this data, even if the response from the getSchemaRequestsForApprover and getConnectorRequestsForApprover do have it.
How could this be improved?
Add Team column in ConnectorApprovalsTable and SchemaApprovalsTable in the same way as for Topic and ACls
Is this a feature you would work on yourself?

[ ] I plan to open a pull request for this feature

I'd like to give this a shot

@dotarjun please do ^^


Fix load-balancing demo application paths

The demo application seems working with a few tweaks.
ref #141

The demo should be moved out of the main repo anyway, so we will update this even more then.


Can we see the marker detected in the image published in the /aruco_tracker/debug topic?

This is not a issue but is more a question to be sure that I understand how to use this package

Yes, you can


Warnings: Use DB generator for warnings functions

Adds leftjoin support to DB generator (required for warning queries).
Adds support for using coalesce on joined fields to DB generator (required when using leftjoin for warning queries).
Ensures that filters on coalesced fields use the coalesced value rather than the underlying value (that may be NULL).
Adds WarningFilter and DB generated functions for warnings.

There's more to do to clean up the warning management functions but this is a step in the right direction, and gave me an opportunity to get hands-on with the database generator so I'm more familiar with it to help me review @masnax PR!
But this at least gets me what I need for https://github.com/lxc/lxd/pull/9951

Testsuite passed

Nice! I had a (now very old) branch with some of these changes, so now that's one fewer branch I need to rebase :)
At this point I think you could also get rid of warningCreate variable and WarningExists method as well, by adding the following tags:
//go:generate mapper stmt -p db -e warning create struct=Warning

//go:generate mapper method -p db -e warning ID struct=Warning
//go:generate mapper method -p db -e warning Exists struct=Warning
//go:generate mapper method -p db -e warning Create struct=Warning

Yes good idea I'll put up a separate pr if this one is merged by then.

//go:generate mapper method -p db -e warning Create struct=Warning

@masnax unfortunately I can replace the warningCreate function as it has special logic that if some of the fields are specified as -1 then the column value is set to NULL.


Add dev chain as default chain for benchmarks.

Small PR for #5154.
I went for removing the update_config() call, other options could be to add a default_chain: Option<> argument to it (maybe better), or to keep the call as it is and set the default before (imo worst).

It's not ideal but I think it's okay and I don't see how we can do better.
Q: You really don't need the rest of the code in shared_params?
https://github.com/paritytech/substrate/blob/b70f191e944e6cf6235b18022c74f4ce1b62d50c/client/cli/src/params/shared_params.rs#L72-L90

Ok, thanks. Yeah, looks like we don't need it.


Less warnings

What does the pull request do?
Ported a bunch of warning fixes from #4882 (thanks @workgroupengineering) and fixed the fixes that I felt were incorrect.
We still have 8 warnings that I'm not sure of the correct fix for.

@kekekeks regarding the remaining C# warnings, it was stuff I've never really touched. It would be appreciated if you could take a quick look and push fixes to this branch, should only take 2 mins.

is there any chance this pr will be merged?

I think this PR can be closed. 90% of the fixes have been applied.


Fix broken link to tutorial on front page

Main tutorial link is broken, should go to this page: https://flowershow.app/docs/publish-tutorial.
This has been  mentioned by a few people including someone on reddit!

FIXED.


setup-ha-etcd-with-kubeadm.md: add missing authn/authz fields

The kubelet is run in standalone mode and these fields are required
so that the config is accepted. In this guide the kubelet
is only used as a service manager. Note that while the authz
mode is AlwaysAllow, anonymous and webhook authn are disabled.
/sig cluster-lifecycle
/kind cleanup

/cc @pacoxu

/cc @SergeyKanzhelev
not sure if this is best practise.
/lgtm

/approve


Updated outdated glusterfs repo, use EPEL repo instead

The glusterfs repo has changed and is now in the CentOS Extras repository and Ansible provisioning fails because of this, please merge this to fix problem.
More info about changed repo at:
https://download.gluster.org/pub/gluster/glusterfs/3.7/LATEST/CentOS/

@Theaxiom verified, can we please merge


Aac 439 add initial configuration into service

Description of change
Added config settings package to app directory

Used Pydantic BaseSettings type to generate initial config class
Linked environment variables to the settings object via Config class
Reduced hard disk cost by instantiating settings via a cache (note that this means once settings are created on app start, if you want to change the settings whilst the app is running (e.g. for a unit test) you will need to use clear_cache on the get_app_settings() function to reset the settings.
Updated readme to describe to developers how to use configuration
Added Unit testing
Added config to pytest so that all async functions are asyncio driven in tests

Link to Jira Ticket

AAC-439

Screenshots or test evidence if applicable

To point out the obvious - you made the py linter sad

To point out the obvious - you made the py linter sad

I blame my PyCharms for not telling me lol (want to see why it wasn't caught as the source issue is kind of invisible - last line in the code was tabbed in - that said, I thought I just resolved it, but the same thing is happening)


energy transformation class with mechanical energy

Description of the issue
From OEKG:
Add energy transformation class with mechanical energy output as equivalent class
Ideas of solution
If you already have ideas for the solution describe them here
Workflow checklist

[ ] I discussed the issue with someone else than me before working on a solution
[ ] I already read the latest version of the workflow for this repository
[ ] The goal of this ontology is clear to me

I am aware that

[ ] every entry in the ontology should have a definition
[ ] classes should arise from concepts rather than from words

'energy transformation' and ('has energy output' some 'kinetic energy')
Currently, we have only gas turbine process as subclass. In future other processes or partial processes might be added.
As lable, something like energy-to-motion-process? Or does someone have a less clumsy idea

I am fine with the axiom.
For the label, my first impetus would have been ´propulsion. However, we already have a class propulsion`...

From oeo dev meeting 58:

label ideas: energy-to-motion-process, propulsion
existing propulsion might be relabeled to traction

To move on, some concrete proposals:

Relabel/redefine existing propulsion to:

`traction: Traction is a process of pushing or pulling to drive an object.
For backwards compatibility, keep propulsion as alternative label?

Add class `propulsion:

Definition: Propulsion is an energy transformation that converts other forms of energy to kinetic energy.
Axiom: 'energy transformation' and ('has energy output' some 'kinetic energy')
Alternative label: energy-to-motion-process

I'll implement.


v4 can't quit you - async client usage leaving idle connections?

Maybe I don't understand async/await correctly but can someone help or verify the way to createClient and send commands with async/await that ensures connections actually quit so that all these idle connections aren't made on a recurring script run?
I updated this code from v3 to v4.0.4 and keep getting increasing open(but idle?!) connections that won't go away. (it's on heroku redis if that matters)
near top of module createClient to be used later as a pool connection:
const rclient = require("redis").createClient({
	url: process.env.REDIS_TLS_URL,
	socket: {
		tls: true,
		rejectUnauthorized: false
	},
	legacyMode: true
});
rclient.on('error', (err) => {});

Then later on run a basic SETNX....
  (async () => {
	  try {
		await rclient.connect();
		await rclient.SETNX(...,function(err, dne) {
			if (err) {
				console.log('SETNX problem: '+err);
			} else if (dne) {
				//stuff
			}
		});
		await rclient.quit();
	} catch (e) {
		console.error(e);
        }
  })();

I include that await quit() there and expect it to close the connection after command completes..... but I keep getting mounting idle connections? (Why don't they just clear out after expiry time?) I just want to send my command and quit! Any direction or verification that this is the correct usage appreciated

on a bit further inspection of the CLIENT LIST, I see the connections are idling after use as they should and then going away. Great. But then they seem to 'come back'?! IS this something to do with redis server defaulting to reconnect? Or something to do with the way reconnect strategy is implemented? I haven't defined any reconnect strategy but maybe I should explicitly turn it off? I don't need old connections to come back.
What happens if I make the connection idle time something long -- will the next time code tries to createClient from the same port/IP it just reopen/use that idle connection?

could this be related to setting legacyMode to true? Should legacy mode be false if using async/await?

Thank you for replying. I cannot test currently since I only had a short window of using the code in action and ended up just resetting connections constantly which was a drag.
legacyMode was so code could be used with methods like SETNX instead of refactoring to set('NX'...) etc.  So perhaps that is a problem. But meanwhile, are you saying the general setup of the async code looks correct?

Revisiting this code, still causing problems with connections. Still not sure if async code is correct for legacyMode or whatever.
Saw someone mention using a different quit call -- so changed the above quit to await rclient.v4.quit() -- and whatdya know, excess connections problem went away!! Weird!
But then shortly after, got a Socket already opened error the next time connect() was run. What gives? Does legacyMode quit() not work, but v4 does, but then it's all confused from the createClient point to the quit if mixing all different methods.
Can anyone confirm any differences/bugs between quit() and v4.quit? or direct me on rewriting my legacy SETNX call there so all redis calls are in line with v4?
I must say it's annoying that all old code with v3 worked without any issues at all and moving to v4 is nothing but these problems.

client.quit is indeed broken in legacy mode, currently in legacy mode only client.v4.quit() works.
Regarding how to use SETNX:
// using SETNX:
await client.SETNX('key', 10, 'value');

// using SET with NX
await client.SET('key', 'value', {
  NX: 10
}); // using SET

thanks for that. Kinda crazy about legacy mode thing.
Granted I should have put the time in to just rewrite the code to v4, more up-to-date JS, but I also shouldn't have had to pull so much hair out about the mysterious connection problems etc!
Have now rewritten the above to something more along the lines of:
async () => {
    try {
        await client.connect();
        const dne=await client.set(key,value,{
            NX: true
        });
        if (dne){ //stuff }
        await client.quit();
  } catch (e) {
      console.error(e);
}

(for anyone that might be searching for help)
So far, so good. No idle connections reappearing, redis keys being set etc. fingers crossed

@ChrisArchitect I would advise to create a client and reuse it instead of creating and closing a client on per request basis


Portal fix bugs

Summary
1.Fixed the mempool space address issue.
2.Resolved wallet network switching problem on the purchase gas page.
3.Added claim verification and user tips to the faucet page.
4.Corrected the testnet URL.
5.Provided an invalid address hint for OneKey connections.
6.Exported NetWorkType from rooch-sdk.
7.Exported WalletNetworkType from rooch-sdk-kit.
8.Enabled testnet environment support exclusively for the UniSat wallet in the portal.
9.Published version 0.2.7 for both rooch-sdk and rooch-sdk-kit.

Closes #issue

@jojoo-eth 是不是可以合并了？


Allow users to specify a custom command name prefix

This allows a user to specify a custom command prefix, such as 'job', making the generated commands distinct from the "normal" commands plus also allowing one to list those commands via for example:
php artisan list job

This command would list all commands under the job namespace giving an overview what commands / jobs are available

Thank you!


Spark: add Kusto relation visitor

Problem
Openlineage does not support Azure Kusto (aka Azure Data Explorer) as an input or output.
Solution
Implemented the KustoRelationVisitor to support lineage for Azure Kusto's spark connector. In the process of implementing the class, we found the following:

There are two paths in OpenLineage to the KustoRelationVisitor:

Write events reach the SaveIntoDataSourceCommandVisitor, so we included a condition to route to the KustoRelationVisitor's createKustoDatasets function.
Read events trigger KustoRelationVisitor's getNameSpace function via the list of visitors instantiated in BaseVisitorFactory.

When developing the hasKustoClasses method, we discovered that the function used by the other relation visitors to load the class - class.getClassLoader() did not work as expected in all scenarios. It gives the expected result if the connector jar and its dependencies are added to the classpath, but this does not automatically happen when a library is installed on Spark, and requires an additional step from the user. For example, a user can install the Kusto Spark connector, and successfully interact with their Kusto data source, but would not see any lineage unless they had updated the classpath or copied the jars to a location already on the classpath. This behaviour is not specific to the Kusto connector - we also observed it with other connectors e.g. Apache Iceberg. We addressed this issue in hasKustoClasses by using Thread.currentThread().getContextClassLoader in addition to class.getClassLoader(). The former allows us to load all installed classes, regardless of whether or not they are on the classpath. Apache Spark also uses the same approach.

Checklist

[x] You've signed-off your work
[x] Your pull request title follows our guidelines
[ ] Your changes are accompanied by tests (if relevant)
[x] Your change contains a small diff and is self-contained
[x] You've updated any relevant documentation (if relevant)
[ ] You've updated the CHANGELOG.md with details about your change under the "Unreleased" section (if relevant, depending on the change, this may not be necessary)
[ ] You've versioned the core OpenLineage model or facets according to SchemaVer (if relevant)
[ ] You've added a header to source files (if relevant)

In this case, we don't have a test in place given the requirement for integration with an Azure cloud service called "Azure Data Explorer".  We'd love to contribute an integration test if we had an Azure environment to point to.
In addition, Hanna and I did a lot of research and were assisted by @mobuchowski,  @pawel-big-lebowski  and @collado-mike along with Microsoft engineers to uncover the Thread.currentThread().getContextClassLoader solution for packages instealled on Azure Databricks.  You can see much of the detective work on stackoverflow

To pass checks, make sure that DCO checks pass: https://github.com/OpenLineage/OpenLineage/pull/939/checks?check_run_id=7439211869
and new files have correct copyright notice: https://github.com/OpenLineage/OpenLineage/runs/7439320110?check_suite_focus=true

@pawel-big-lebowski, @mobuchowski, @collado-mike, thank you all for your helpful feedback! We've updated the code based on your suggestions, and thanks to @tnazarew's work with the unit tests, we also have a test for KustoRelationVisitor's apply method.

Congrats, @hmoazam for your second contribution!


pull request for e2e test at 01/31/2017 10:56:14

:white_check_mark: Validation status: passed
For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Topic syncing

The topics of the IRC channels are currently empty. It would be nice if the topic would show up and change according to the current topic in the Gitter channel, and the ability to change it with a /topic command.

They seem to be in sync for me. At least for fish-shell/fish-shell, the one hitter room I'm in. If this is fixed it should be closed - otherwise determine what is making some work and others not work.

I also see the topic when using weechat but not if the command /topic is issued.
If clients rely on this functionality they may not be able to set the channel topic correctly.


Recommendations for other SiteIds

In testing a recent RecommendationInstantiator change, it was noticed that we send along the cart and lastViewed data regardless of wether the tracking and recommend siteId match. We should consider changing this to only include these personalization data when using the same siteId.
As an example, add this to product.html and notice that the cart and lastViewed get sent:
<script type="searchspring/recommend" profile="home-snap">
    options = {
        siteId: 'scmq7n'
    }
</script>

This brings up another potentially useful change, and that would be allowing both cart and lastViewed to be set via the integration context of a Recommendation instance. This may need a bit more thought as to wether these values would set the cookie or just the request for the instance (or maybe allow for both somehow).

Comparing the options.siteId to the controller's tracker.globals.siteId in the params method of the controller is probably the best way to add some logic to determine when to add these personalization params. - these globals are currently private, so will likely need to add a getGlobals method to the tracker.


[Minor] Error on site

At http://lvcharts.net/App/examples/v1/wpf/360 Gauge this line :
 <lvc:SolidGauge Grid.Row="1" Uses360Mode="True" From="0" To="1"                     Value="{Binding Value}" LabelFormatter="{Binding Formatter}" />
should be like that
<lvc:Gauge Grid.Row="1" Uses360Mode="True" From="0" To="1"                     Value="{Binding Value}" LabelFormatter="{Binding Formatter}" />
otherwise it causes an error because SolidGauge doesn't exist.

You are right, last commit should fix it, thanks for reporting


Define get_users()

Retrieves users configured on the device

Indeed. Due to the fact that most network engineers are mostly used with the level rather than class name, I preferred to have this field and integer (between 0 and 15). On JunOS will define a map between the class name and level.
_JUNOS_CLASS_CISCO_PRIVILEGE_LEVEL_MAP = {
  'super-user': 15,
  'superuser': 15,
  'operator': 5,
  'read-only': 1,
  'unauthorized': 0
}

:shipit:
Do you have any implementation already?

Yup :)

@dbarrosop Doing multiple things right now and I did a mess with the NTP peers, can we postpone it till tomorrow?

Of course! : )

Meanwhile, would be possible to merge this one and have the necessary
environment prepared?
Le mar. 26 avr. 2016 18:26, David Barroso<EMAIL_ADDRESS>a
écrit :

[image: :shipit:]
Do you have any implementation already?
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/napalm-automation/napalm-base/pull/16#issuecomment-214818986

Done!

Thanks! :)

@dbarrosop All setup & ready here.


Support Boost.Thread v4

Replace boost::condition with boost::condition_variable
Replace typename Mutex::scoped_lock with unique_lock<Mutex>

Do we have to explicitly enable V4 of the threads library? Is that the default?

The default is v2 for backwards compatibility, v4 is recommended as it aligns more closely with the standard.
It's up to the user to pick the version they want. We don't have to (and should not) mess with that, just make sure that we can work with -DBOOST_THREAD_VERSION=4 too since that's recommended for new projects.

Ok, thanks. LGTM.


Add DORA metrics insights to GoCD builds page

Hey, I just made a Pull Request!

Inspired by the GoCD analytics plugin, this PR will add DORA-like metrics in a top-card bar to the fetched pipelines on every page refresh.
:heavy_check_mark: Checklist

[x] A changeset describing the change and affected packages. (more info)
[x] Added or updated documentation
[x] Tests for new functionality and regression tests for bug fixes
[x] Screenshots attached (for UI changes)
[x] All your commits have a Signed-off-by line in the message. (more info)

@benjdlambert Could I please get another review pass? Thanks.


Fixes [lua[tools]] Compiler error of lua[tools]  #29896

What does your PR fix?
Fixes [lua[tools]] Compiler error of lua[tools]  #29896
Which triplets are supported? Have you updated the CI baseline?
Linux, No
Does your PR follow the maintainer guide?

Yes

[x] Changes comply with the maintainer guide
- [] SHA512s are updated for each updated download
- [ ] The "supports" clause reflects platforms that may be fixed by this new version
- [] Any fixed CI baseline entries are removed from that file.
- [] Any patches that are no longer applied are deleted from the port's directory.
[x] The version database is fixed by rerunning ./vcpkg x-add-version --all and committing the result.
[x] Only one version is added to each modified port's versions file.

@TobiasFunk please read the following Contributor License Agreement(CLA). If you agree with the CLA, please reply with the following information.
@microsoft-github-policy-service agree [company="{your company}"]

Options:

(default - no company specified) I have sole ownership of intellectual property rights to my Submissions and I am not making Submissions in the course of work for my employer.

@microsoft-github-policy-service agree

(when company given) I am making Submissions in the course of work for my employer (or my employer has intellectual property rights in my Submissions by contract or applicable law). I have permission from my employer to make Submissions and enter into this Agreement on behalf of my employer. By signing below, the defined term “You” includes me and my employer.

@microsoft-github-policy-service agree company="Microsoft"

Contributor License Agreement

@microsoft-github-policy-service agree

@TobiasFunk please read the following Contributor License Agreement(CLA). If you agree with the CLA, please reply with the following information.
@microsoft-github-policy-service agree [company="{your company}"]

Options:

(default - no company specified) I have sole ownership of intellectual property rights to my Submissions and I am not making Submissions in the course of work for my employer.

@microsoft-github-policy-service agree

(when company given) I am making Submissions in the course of work for my employer (or my employer has intellectual property rights in my Submissions by contract or applicable law). I have permission from my employer to make Submissions and enter into this Agreement on behalf of my employer. By signing below, the defined term “You” includes me and my employer.

@microsoft-github-policy-service agree company="Microsoft"

Contributor License Agreement

@microsoft-github-policy-service agree

@TobiasFunk  I encountered the following issue when testing the features of lua:
Repro steps: vcpkg install lua[tools]:x64-linux
Failure log: install-x64-linux-dbg-out.log

This CMakeLists.txt... :roll_eyes:
Can you please fix the redundancy:

We need only one FIND_LIBRARY (LIB_MATH NAMES m).
We need only one TARGET_LINK_LIBRARIES (lua m).

@TobiasFunk I encountered the following issue when testing the features of lua: Repro steps: vcpkg install lua[tools]:x64-linux Failure log: install-x64-linux-dbg-out.log

oh sorry i had a typo in the cmakefile (the duplicated TARGET_LINK_LIBRARIES (lua m) instead of TARGET_LINK_LIBRARIES (luac m))
thats actually the exact error i want to fix


deprecate ubuntu 18.04 & change latest to 20.04

Ref: https://github.com/actions/runner-images/issues/6002

Codecov Report

Merging #854 (a89a6d0) into main (cfe270e) will decrease coverage by 3.80%.
The diff coverage is n/a.

:exclamation: Current head a89a6d0 differs from pull request most recent head 3f5f668. Consider uploading reports for the commit 3f5f668 to get more accurate results

@@            Coverage Diff             @@
##             main     #854      +/-   ##
==========================================
- Coverage   39.89%   36.08%   -3.81%
==========================================
  Files          31       31
  Lines        9328     9328
==========================================
- Hits         3721     3366     -355
- Misses       5111     5504     +393
+ Partials      496      458      -38

Impacted Files
Coverage Δ

KubeArmor/core/crioHandler.go
0.00% <0.00%> (-63.87%)
:arrow_down:

KubeArmor/core/dockerHandler.go
0.00% <0.00%> (-47.53%)
:arrow_down:

KubeArmor/monitor/processTree.go
88.70% <0.00%> (-6.99%)
:arrow_down:

KubeArmor/core/kubeArmor.go
46.46% <0.00%> (-4.21%)
:arrow_down:

KubeArmor/common/common.go
39.38% <0.00%> (-3.87%)
:arrow_down:

KubeArmor/monitor/logUpdate.go
68.19% <0.00%> (-3.28%)
:arrow_down:

KubeArmor/enforcer/runtimeEnforcer.go
32.65% <0.00%> (-1.37%)
:arrow_down:

KubeArmor/core/kubeUpdate.go
38.05% <0.00%> (-0.87%)
:arrow_down:

KubeArmor/enforcer/appArmorEnforcer.go
47.71% <0.00%> (-0.49%)
:arrow_down:

KubeArmor/monitor/syscallParser.go
62.27% <0.00%> (-0.26%)
:arrow_down:

... and 1 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Updated DQ doc string

Make DQ doc string across CORGIDRP consistent with https://collaboration.ipac.caltech.edu/pages/viewpage.action?spaceKey=romancoronagraph&title=Corgi-DRP+Implementation+Document once it is agreed upon.

Example: https://github.com/roman-corgi/corgidrp/blob/de9f4b00c6b8ffe4c2a26bfd2bb80b4cf090209f/corgidrp/data.py#L172 says:
     dq (np.array): 2-D data quality, 0: good, 1: bad

Removing warm pixel DQ flag -> unused
Put DQ definition table into docstring of Image class, and delete from implementation doc.


Update repositories.txt

Hello @suratin27. Thanks for your interest in contributing to the Arduino Library Manager index.
I see the bot reported that the URL https://github.com/tf-maker/esp32-control could not be loaded, and it also gives an error for me. Please double check that it is correct.
If you have any questions or problems while following the instructions to resolve the problem, please let me know and I'll help out.
If you decide you no longer wish to submit the library, you can close this pull request.

Thank you for your information.I will check and try to submit again.


Doesn't block ads in the Flatpak version

can you provide full details?
what type of ads? what distro? are other features of spotx working?
please share spotx command used along with full output of spotx.

It doesn't block any ads. Linux Mint.
On Mon, Nov 28, 2022, 7:15 PM jetfir3 @.***> wrote:

can you provide full details?
what type of ads? what distro? are other features of spotx working?
please share spotx command used along with full output of spotx.
—
Reply to this email directly, view it on GitHub
https://github.com/SpotX-CLI/SpotX-Linux/issues/17#issuecomment-1329950142,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A3OZ7S2G4T5DTF4V7KWXUXTWKVKJ7ANCNFSM6AAAAAASMGH5WU
.
You are receiving this because you authored the thread.Message ID:
@.***>


Delete log files only after five days

This PR does two things:

Log files are put into a timestamped sub-folder now.
Only folders that are older than 5 days are deleted on game start.

Fixes #1631

Tested log creation for client and server real quick, looks good. Haven't tried to fake my clock enough to see if expiration / deletion works, but hey :-)
That's probably another thing we should expose in a logging config somewhere in the menu. Maybe something both game and launcher could config, perhaps another entry or two in @shartte's mini config file?


decentralized car pooling

Please commit final code in next 7 hours.

Your branch is ht2019003. Please commit to that branch. I am reverting your changes now.


New check: Warn if a font is likely to preview as "Σ√≠" rather than "Abg" in Windows Font Settings

What needs to be checked?
The Windows Font Settings panel displays fonts with icons to preview their general look. Unfortunately, many fonts preview as "Σ√≠" rather than "Abg," which isn’t very helpful.

This seems like a Windows bug, as it occurs even when fonts are straightforwardly meant for Latin text, and just happen to include OS/2 information that they include glyphs in the Mathematical Operators Unicode Block. This bit seems to be checked by FontMake builds for almost all fonts, if they contain glyphs in this block, such as the / (the basic forward slash).
FontMake seems to be working properly by doing this, but it seems to be fairly common practice for foundries to uncheck the Mathematical Operators bit of the Unicode Page Ranges, to workaround this Windows bug.
More info at https://typo.social/@arrowtype/112272933176102051
Detailed description of the problem
This seems to be a long-running issue. I’m seeing it on Windows 11, 22H2. However, the bug (and the workaround) is documented at least as early as 2015 on TypeDrawers.
It is possible there are more in-depth factors at play, as the bug doesn’t occur on every font that includes the math operators bit. For example, when fonts do have the "math operators" bit set but don’t include specific PANOSE information, this usually doesn’t seem to occur (e.g. in Shantell Sans). You’d think this might be due to the presence of a meta table, but that doesn’t always seem to be the case (again, in Shantell Sans).
However, it does seem like removing that bit is a reliable way to avoid the bug, so unless there is a better way, or unless/until we can somehow convince MS to fix the bug, it seems like something worth making a FontBakery check to flag.
Resources and steps needed to reproduce the problem
A frustrating part of this problem is that it seems easy enough to avoid by removing the math operators bit, but there are also examples of fonts that do include this, and don’t exhibit the problem. For example, Shantell Sans, Recursive, and Ubuntu all preview as "Abg," despite having this bit set. But, clearly this is a well-known, long running problem, so it would be good to alert font makers if there is known workaround.
Suggested profile
Suggest which profile the check should be added to. The most common are:
Universal (Probably?)
Suggested result
Which log result level should the check have:
⚠ WARN (A potential issues that may need to be addressed)
Severity assessment
2 or 3. It makes the font appear somewhat broken or janky on Windows, but it doesn’t seem to have any further impact.

@arrowtype Thanks for creating this; I've meant to do it for a long time. It's just been part of my own workflow to do an install test and manually check it. Until it's fixed by MS or until someone can pinpoint the exact culprit, the WARN is exactly what I would hope for as well—at least to flag it so it could be checked manually. AFAIK, the Σ√≠ bug is purely cosmetic.
Cheers.


State of entities are not set

Hi,
I added the integration and set everything up. Now after the first day I noticed that the state of the created entities are "unknown" for both daily and hourly entity. Forecast attributes are filled with valid values.
Is there any configuration required or did I missed something?

Hi,
unfortunately, some stations do not provide weather conditions (sunny, rainy etc.) together with the measurements.
Station with weather conditions (column "present_weather" filled):
https://opendata.dwd.de/weather/weather_reports/poi/10739-BEOB.csv
Station without weather conditions (column "present_weather" has not data):
https://opendata.dwd.de/weather/weather_reports/poi/10738-BEOB.csv
I suppose your station is like the second one (10738). If the "present_weather" is filled and it still doesn't work, please give me your station number so I can check.
However, there is still something you can do to use your station as good as possible in this case. Go to the configuration dialog for your station on the Integrations page (https://my.home-assistant.io/redirect/integrations/) and configure to fall back to forecast data:

This will still use measurement data where possible, but e.g. use the forecast for the current hour e.g. for the weather conditions when they are missing.

Thank you for your quick response! Yes you are right the station I am using does not provide the info. Switched to the second option as you suggested and I can see it now.
Great integration! Thanks for your work!


[ot_certs] asn1 codegen unittests

The unittest work as follows: the generator creates some random substitution data [1], generates the expected DER from the asn1::der generator, then creates a C++ file that contains the substitution data to drive the C generated code. Finally it checks that the generated certificate is exactly the same as the rust generated one. In other words, this checks that the rust and C generator are exactly equivalent.
Here is an example of generated unittest for the CDI_1 template.
[1] Ideally we should not be using random data but rather a carefully select set of data. I will address that in the next iteration of the PR.
Test using
./bazelisk.sh test  //sw/device/silicon_creator/lib/cert/...

Could you make sure to cherry pick these comit to the sival branch too?


Problem trying to intercept a request

Sorry if that is not the best to ask this.
But i am trying to use nock to mock the Shopify´s API, then i have some like this to get all blogs from a shop:
class Blog
  constructor: (key, pass, shop) ->
    throw new Error 'Blog missing parameters' if not pass? or not key? or not shop?
    @options =
      host<EMAIL_ADDRESS>      port: 80
      method: "GET"
      path: '/admin/blogs.json'

  all: (cb) ->
    req = request @options, (res) ->
      response = ""
      res.setEncoding('utf8')
      res.on 'data', (data) ->
        response += data
      res.on 'end', ->
        error = new Error 'Request Error #{res.statusCode}' unless res.statusCode is 200
        process.nextTick ->
          cb(error, JSON.parse(response))
    req.end()

And parts of my testing they are some like this:
describe 'Receive a list of all Blogs', ->
    before ->
      @fixture = loadFixture 'blog/blogs'
      @api = nock<EMAIL_ADDRESS>      @blog = new Blog KEY, PASSWORD, STORE

    it 'should be possible get a list of all blog like an Array', (done) ->
      @api.get('/admin/blogs.json').reply(200, @fixture)
      @blog.all (err, blogs) =>
        @api.done()
        blogs.should.be.an.instanceof Object
        done()

Sorry but i dont know what is wrong in my code, because allways get the response from the real server. But i need that my calls they are intercepting by nock to response my @fixture arrays of blogs.
Again sorry for ask that here.

You don't have any nock rules:
nock(url)
  .get(path)
  .reply(...)

You can do nock.recorder.rec() to get those rules.

hi,
I have a nock rules, you can see that i m doing
before ->
  @api = nock<EMAIL_ADDRESS>
And then in the it statement i am trying to config the correct rules for the nock instance
@api.get('/admin/blogs.json').reply(200, @fixture)

That is correcto or i m missing something
Thx :)

I am trying an insolate solution with this:
{request} = require 'http'
nock = require 'nock'

google = nock("www.google.com").get('/').reply(200, {response: "ok!"})

req = request {host: 'www.google.com', port: 80, path: '/', method: 'GET'}, (res) ->
        response = ''
        res.on 'data', (chuck) ->
                console.log 'Datos: ', chuck.toString()
                response += chuck
        res.on 'end', ->
                console.log "Respuesta: ", response

req.end()

And this neither work !!! ... Sorry, but i cant understand what is wrong :(

Sorry it's just super hard for me to read coffeescript, I don't understand it
Canonical example, in javascript:
dscape at air in ~/Desktop/nock_test
$ node index.js n
{"ok":true}
dscape at air in ~/Desktop/nock_test
$ cat index.js

var nock    = require('nock')
  , request = require('request')
  ;

nock('http://www.google.com')
  .get('/')
  .reply(200, {ok:true}, {})
  ;

request.get('http://www.google.com', function (_,_,b) { console.log(b); });

Try with this:
google = nock("http://www.google.com").get('/').reply(200, {response: "ok!"})

Thx at all for the comments !
this is so odd, because i tried the example from @dscape and Works! ( maybe is for use Request module?! )
But then i try this code, from tests of the module:
var google, nock, req, request;

  request = require('http').request;

  nock = require('nock');

  google = nock('http://www.google.com').get('/').reply(200, "Hello World!" );

  req = request({
    host: 'www.google.com',
    port: 80,
    path: '/',
  }, function(res) {
    var response;
    response = '';
    res.on('data', function(chuck) {
      console.log('Datos: ', chuck.toString());
      return response += chuck;
    });
    return res.on('end', function() {
      return console.log("Respuesta: ", response);
    });
  });

  req.end();

Maybe there is any kind of problem with the native resquest object ?!
:(

@pgte check this out

Sorry, for some reason I'm not getting emails on any of the nock issues. Let me check this one out.

@carlosvillu This is happening because the auth part of the request ("username:password") should not be part of the host name.
You should mock "https://#{STORE}.myshopify.com" and not with the username and password in the header.
mikeal/request will parse those and include them in the request options.auth.

Hi, thx for the help
But the thing is that dont work this one:
google = nock('http://www.google.com').get('/').reply(200, "Hello World!" );
I can capture the call to google with Request module but not with the native request object.
Maybe the one is a to many realistic example, but i was trying with more conceptual examples and i could not make to work

I tried the following and it worked:
var nock = require('nock');
nock('http://www.google.com').get('/').reply(200, 'Hey!');
require('http').request({host: 'www.google.com', path:'/'}, function(res) {
  console.log('hey!');
  res.on('data', function(d) {
    console.log('data from google: %s', d);
  });
}).end();

Does it not work for you?

it should print "Hey!" at the end.

Hi all,
Ok i found what is the issue here. The problem to dont work the simple test was:
var nock = require('nock');
var request = require('http').request;

// This work!

But in my examples i did
var request = require('http').request;
var nock = require('nock');

// And this dont work !

Ok, that is great, but now i will find a big problem. Because in all examples that i can found in internet, require nock and call to the server s made in the same js file. But my organization is different. I have 3 files to made the test:
// src/blog.js
// Where i have my code who will be testing
var request = require('http').request

//
// You can see at the very first comment that there is a class where i made de request to the server in the all method
//

Later i have my tests, there mainly two files.
// test/common.js

//
// A common file with the common requires for all tests files, where a require nock
//

And the test file for the src where i made the call:
// test/blogTest.js

// Where a have some thing like you can see in the first comment

The thing is that i m requireing request in a file, nockin other, and setup nock´s rules in other ...
At the end when i start the test, i get this

Blog Receive a list of all Blogs should be possible get a list of all blog like an Array:
AssertionError: Mocks not yet satisfied:
GET myShop.myshopify.com/admin/blogs.json

Blog Receive a list of all Blogs should call at server to get the blogs:
AssertionError: Mocks not yet satisfied:
GET myShop.myshopify.com/admin/blogs.json

But if you see, i call to @api.done() en the function`s callback :(

Then require('nock') has to happen before your app is initialized.
There is nothing nock can do if you don't, since we need to appear first so that the http.request function gets wrapped.

Thx for all yours help, at the end i cant found the way to make work.
I change to fakeserver and request module, and now seem work. Really i dont know why dont worked, because the match was intercepted and the problem was with the not satisfied Mock :(
Whatever ... thx again!!!

BTW, here there is the repo https://github.com/Shopfrogs/Nodify

Did the tests pass in your local but failed in travis?
If so, it's likely to be a concurrency issue

@dscape the tests pass in travis, what do you mean?

Yeah, The module is testing in 0.4 and 0.6 at the same time, concurrently. I had plenty of issues doing this in nano, so i actually made fakeurls based on the node version that was running

But where is the failed test, I can't find one :/
No dia 03/03/2012, às 00:13, Nuno Job
<EMAIL_ADDRESS>escreveu:

Yeah, The module is testing in 0.4 and 0.6 at the same time, concurrently. I had plenty of issues doing this in nano, so i actually made fakeurls based on the node version that was running

Reply to this email directly or view it on GitHub:
https://github.com/flatiron/nock/issues/44#issuecomment-4296651

Hi all, really all fails happen only in my local machine, never commit nothing to Travis.
But is true that i had too this kind of fails how say @dscape, but not this time.
Is very odd, because i create a new branch to try make work with Nock, because i like the module´s API. I think that the problem can be in have separate files. One for create rules and other to call http and make request. BUT ... i am sure that we first call require nock until to call require http. And the problem came from not satisfice all expects. That means that the calls is intercepted but the nock.done() dont happen in the correct place. Maybe was this?
Maybe is your try to replicate the scene with 2 files different files you will find it. Because until now all use that i can found was all in the same file. require nock, require http, create rules and make request.
FYI

test file
src file
common file for tests

thx for all :)

@pgte 6 year old advice, but still worth gold! Thanks alot


Incorrect Bitmap (Field 1) when using HTTP JSON Service

Hi,
When trying to use HTTP JSON service (curl) to post to SocketQueue bitmap is being set as 8 bit hex always causing issue in decomposition of the message at upstream server.
Although I have fields after 64 HTTP JSON is not appending secondary bitmap. Even if i try to send Primary + Secondary bitmap in the JSON request at the field 1 it's still not picking the same for formulating ISO message.

Hi!
Could you please provide your case in the same form as used in project manual:
curl -H "Content-Type: application/json" -X POST -d '{ "0": "800", "3": "0", "7": "0607161700", "11": "123456", "24": "0", "41": "00123456", "42": "123567890124567" }' http://localhost:8080

curl -H "Content-Type: application/json" -X POST -d '{
"0":"1200",
"2":"254789364018",
"3":"210000",
"4":"700000",
"7":"0801082622",
"11":"000651",
"12":"082622",
"13":"801",
"30":"D00000000",
"32":"0",
"41":"NOT DEFI",
"43":"BANK TO ZAP",
"48":"LIMITED MOCARAN",
"49":404,
"102":"254786981556",
"103":"254789364018"
}' http://localhost:9090
===================================================================
Message Type Indicator [0].......................1200
Bitmap [1].......................................7238000500a18000
Primary Account Number [2].......................254790999957
Processing Code [3]..............................210000
Amount, Transaction [4]..........................700000
Transmission Date and Time (MMDDhhmmss) [7]......0801082622
System Trace Audit Number [11]...................000651
Time, Local Transaction (hhmmss) [12]............082622
Date, Local Transaction (MMDD) [13]..............801
Commission [30]..................................D00000000
Acquiring Institution Ident Code [32]............0
Card Acceptor Terminal Identification [41].......NOT DEFI
Card acceptor name/location [43].................BANK TO BANK
Additional Data [48].............................TEST AUD
Currency code, transaction [49]..................404
Account identification 1 [102]...................254790999957
Account identification 2 [103]...................254790999957
===================================================================

SocketQueue builds the bitmap for you when you pass the values via JSON. No need to provide it.

Need some time

Thank you for responding Igore. No hurry, take your time.

Working in a rush. Might be some misunderstanding, sorry. Do you need to change the bitmap format into character representation? If so, there is a overrides option:
--overrides=1:fixed-b-hex:8
Where 1 is field number, fixed-b-hex is the packager name and 8 is length.
Also, you can use the --dangerous parameter to dump the actual message sent to the upstream. Then you can tweak it using a hex editor and tell the difference.

Hi again,
Actually, I don't want to tweek the request as it's working perfectly fine if I post through ISO8583 channel. I'm trying to use HTTP Json channel and the same request is failing and when i look at the dump I realize in case of HTTP Json, bitmap is not getting generated correctly. Secondary Bitmap is missing resulting in error.

Got it. Yes, secondary bitmap is not supported right now as it was not considered by the configuration communication i started with.
By the way, just to refresh, what is the sign for the second bitmap to present within the message?

Primary bit map first bit should be set to indicate presence of secondary bitmap. In the sample provided @shoaibjdev, the value should be f238000500a18000.
Please fix this as it will be really helpful. Thanks

I will. Thanks!

Done!


Installation instruction to use conda

Please consider modifying the installation instruction to use conda instead of pip.
Metaflow requires conda. However the instruction in https://docs.metaflow.org/getting-started/install tells:
pip install metaflow

As in https://www.anaconda.com/blog/using-pip-in-a-conda-environment, conda and pip are different package management system which are not meant to be used together.

Unfortunately, issues can arise when conda and pip are used together to create an environment, especially when the tools are used back-to-back multiple times, establishing a state that can be hard to reproduce. Most of these issues stem from that fact that conda, like other package managers, has limited abilities to control packages it did not install. Running conda after pip has the potential to overwrite and potentially break packages installed via pip. Similarly, pip may upgrade or remove a package which a conda-installed package requires. In some cases these breakages are cosmetic, where a few files are present that should have been removed, but in other cases the environment may evolve into an unusable state.

Conda can install metaflow, hence I suppose there would not be a reason that we need to use pip.
$ conda config --add channels conda-forge
$ conda install metaflow
Collecting package metadata (current_repodata.json): done
Solving environment: done
## Package Plan ##
  environment location: /Users/user/opt/anaconda3/envs/test
  added / updated specs:
    - metaflow
The following packages will be downloaded:

    package                    |            build
    ---------------------------|-----------------
    brotlipy-0.7.0             |py36h37b9a7d_1000         353 KB  conda-forge
    cffi-1.14.0                |   py36h356ff06_0         214 KB  conda-forge
    chardet-3.0.4              |py36h9f0ad1d_1006         187 KB  conda-forge
    cryptography-2.9.2         |   py36hc9d8292_0         599 KB  conda-forge
    docutils-0.15.2            |           py36_0         739 KB  conda-forge
    pysocks-1.7.1              |   py36h9f0ad1d_1          27 KB  conda-forge
    s3transfer-0.3.3           |   py36h9f0ad1d_1          90 KB  conda-forge
    ------------------------------------------------------------
                                           Total:         2.2 MB

The following NEW packages will be INSTALLED:

  boto3              conda-forge/noarch::boto3-1.14.16-pyh9f0ad1d_0
  botocore           conda-forge/noarch::botocore-1.17.16-pyh9f0ad1d_0
  brotlipy           conda-forge/osx-64::brotlipy-0.7.0-py36h37b9a7d_1000
  cffi               conda-forge/osx-64::cffi-1.14.0-py36h356ff06_0
  chardet            conda-forge/osx-64::chardet-3.0.4-py36h9f0ad1d_1006
  click              conda-forge/noarch::click-7.1.2-pyh9f0ad1d_0
  cryptography       conda-forge/osx-64::cryptography-2.9.2-py36hc9d8292_0
  docutils           conda-forge/osx-64::docutils-0.15.2-py36_0
  idna               conda-forge/noarch::idna-2.10-pyh9f0ad1d_0
  jmespath           conda-forge/noarch::jmespath-0.10.0-pyh9f0ad1d_0
  metaflow           conda-forge/noarch::metaflow-2.0.5-pyh9f0ad1d_0
  pycparser          conda-forge/noarch::pycparser-2.20-pyh9f0ad1d_2
  pyopenssl          conda-forge/noarch::pyopenssl-19.1.0-py_1
  pysocks            conda-forge/osx-64::pysocks-1.7.1-py36h9f0ad1d_1
  python-dateutil    conda-forge/noarch::python-dateutil-2.8.1-py_0
  requests           conda-forge/noarch::requests-2.24.0-pyh9f0ad1d_0
  s3transfer         conda-forge/osx-64::s3transfer-0.3.3-py36h9f0ad1d_1
  six                conda-forge/noarch::six-1.15.0-pyh9f0ad1d_0
  urllib3            conda-forge/noarch::urllib3-1.25.9-py_0

Proceed ([y]/n)?

It looks there are efforts to make pip compatible within conda but looks still work in progress.
PyPy builds on conda-forge
mproving interoperability with pip

@oonisim The dependency management feature of Metaflow uses conda behind the scenes. So you can easily use pip (or conda) to install metaflow and then use @conda decorator to execute your metaflow steps within specific conda environments. The @conda decorator has no dependency on pip which allows us to avoid the inter-op issues that you mentioned.
Let me know if you need more clarification.

See https://github.com/Netflix/metaflow/issues/250.


Fix contribution to modelica.cz

Sorry for the \footnotemark trouble. I replaced it by \cref from the cleveref package which works as expected. I added the one from my recent MikTeX installation to the repo in order to make it correctly building on Ubuntu 12.04 (drone.io).
See #126.

@bernhard-thiele I leave the merge to you, since it is easier to inspect all the changes of one PR at GitHub web.

@tbeu Thanks, yes its easiest to keep track of the changes like that.


feat: beeson support

Adds BeeSon support
https://github.com/fairDataSociety/beeson

Ah, it actually has its own link type:

The swarmCac and swarmSoc are misc types that are deserialized as regexed strings according to the rules of Swarm CIDs. Additionally, the serialization can interpret the CID object used in swarm-cid-js.

presumably these could be interpreted as multiformats CIDs and therefore be viewed as actual IPLD; bonus.

thanks guys !


Add all interrupts for a peripheral

Description
Parse all interrupts for a peripheral and add them to the database.

Thanks for that catch!


WebOfStories Playlist: youtube-dl Finds 0 Videos

[x] I've verified and I assure that I'm running youtube-dl 2018.07.04

Before submitting an issue make sure you have:

[x] At least skimmed through the README, most notably the FAQ and BUGS sections
[x] Searched the bugtracker for similar issues including closed ones
[x] Checked that provided video/audio/playlist URLs (if any) are alive and playable in a browser

What is the purpose of your issue?

[x] Bug report (encountered problems with youtube-dl)
[ ] Site support request (request for adding support for a new site)
[ ] Feature request (request for a new functionality)
[ ] Question
[ ] Other

If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'--verbose', u'http://www.webofstories.com/playAll/oliver.sacks']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2018.07.04
[debug] Python version 2.7.15 (CPython) - Darwin-17.6.0-x86_64-i386-64bit
[debug] exe versions: ffmpeg 4.0.1, ffprobe 4.0.1
[debug] Proxy map: {}
[WebOfStoriesPlaylist] oliver.sacks: Downloading webpage
[download] Downloading playlist: Oliver Sacks (Scientist)
[WebOfStoriesPlaylist] playlist Oliver Sacks (Scientist): Collected 0 video ids (downloading 0 of them)
[download] Finished downloading playlist: Oliver Sacks (Scientist)

Description of your issue, suggested solution and other information
The playlist here contains 360 videos, yet youtube-dl cannot find them. According to the supportedsites.md, WebOfStories playlists are supported. In fact, youtube-dl is able to download a single video, but not videos of playlists.

@dstftw After investigating a bit about this issue I found out that in /extractor/webofstorie.py#L137 we are trying to find a pattern that have /playAll/<playlist_id> but if you'll look in the html source of the page there is no such pattern.
My guess is they use js for playing video as the link of the page stays same after clicking on any of the video in the list.
I have tested this on playAll/donald.knuth and also the list mentioned in the issue.

I'm thinking maybe they changed their streaming URLs? Either way, I've curled the page into an offline HTML file, and compared notes with their online webpage. Here are the two scenarios:

If the "browser" supports the video tag, then the page will contain 2 video tag items:

One for mobile (and backup for browsers that don't support video tag), where the source of the video material can be found at the src attribute of: video#playerForMobile > source

The other location is at the src attribute of: video.jw-video.jw-reset

If the browser doesn't support the video tag, then the media source can be found at the location described in number 1 above.

The code needs to start from the first URL to learn the general structure of the media location. Here's an example URL:
https://d2o4yifwfks2gg.cloudfront.net/stories/50035/1.mp4
Notice 1.mp4 at the end? It'll just go sequentially from there to the index of the last video in the playlist. The total count of videos in a playlist is the number of tags that have the class .playListItem .


Add a sponsors section

Regardless of whether we go with Transifex or Lokalise for our internationalization efforts, we'd need to mention them on the main page of our website to be provided free service. Ideally, this should only be visible after scrolling down, regardless of what device you're using to view the site.

It's done in the new version.


More File Management

User Feedback:

But currently your program does little more than automate the copy and paste part. What about organisation? Renaming files, date stamp. Maybe a clip from each video so you can pick and choose which to keep.

Update:

Looking Better:

Final for now...


Strange sizing on the last header column with *ngFor

Select one ...  (check one with "x")
[x] bug
[ ] feature request
[ ] enhancement

Expected behavior

Table Headers should have the same CSS classes and should have the same style width attribute,
see the last tag of  in DevTools.png
Actual behavior

Class "datagrid-fixed-width " plus [style.width.%]="header.width" doesnt stick to the last header element of my tableHeaders .
The actual behavior is that the last header column isn't getting the right style attributes, therefore, the columns aren't aligned with the table data.
Reproduction of behavior

Include a link to the reproduction scenario you created by forking one of the Clarity Plunker Templates:

Environment details

Angular version: 4.0.3

Clarity version: 0.9.x

OS and version: Chrome

Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]

Could you please post a plunker reproducing this? Our various examples correctly align the cells and the columns.
Note that if you are trying to force a fixed width on every single column in the datagrid, you will have an issue since it might not add up to the actual width of the datagrid itself. I believe this behavior right now is unspecified, so this might be what you're seeing here.

Hi, @youdz first of all thanks for the quick response.
I've edited the issue and uploaded the right pic that shows I used a dynamic width on every column.... sorry about that...actually this issue #937 is quite like my problem is there a solution for it?

As I mentioned, a plunker would be really helpful in investigating this.
Why are you trying to set a percentage width on every column? Do you have a reason for not letting the datagrid size the columns dynamically based on their content?
And the plunker in the issue you linked seems to work fine for me, the bug might have been solved as a side effect.

We haven't heard back on this. I'm assuming the issue has been resolved.

No, sorry @youdz @mathisscott I've been busy on other matters...
This issue isn't fixed yet, I'm using percentage because I need my table to be responsible....
And it doesn't to be seem fixed in #937 ...

@daniels820
I'm not sure that percentage widths on the columns is a good solution for responsive datagrids.
The combination of hiding columns (this can be done with CSS), revealing stacked info in one column, and horizontal scrolling should be a potent combination for responsiveness.
If you can provide us with a plunkr, then I will hop in and try to show you an example using your plunkr.

@daniels820
It's been a while. Was my response sufficient to direct you towards building a responsive datagrid?


minor change to url syntax on /docs/setup/building-from-source

The URL for k/k included the text after ("repo"). This PR formats it to not include the text after.

Preview URL: https://deploy-preview-9543--kubernetes-io-master-staging.netlify.com/docs/setup/building-from-source/


Remove support for building=* on nodes

iD 1.7.0 allows building=hotel, building=retail and a lot of other building=* tags for nodes.

Following to the wiki, building=* is used only on ways, not on nodes.
iD should therefor remove support for building=* on nodes.

The wiki says otherwise. building=hotel, building=apartments, building=school, etc. -- all list node as supported.

@jfirebaugh
Okay, I see.
When submitting the bug report, I had looked at the german wiki page, where nodes are not allowed.
Now, I see that they are allowed In the english wiki.
Strange difference …


Control Panel Connection Error

Hi @EHylands
The plug-in has been working brilliantly since we last spoke, however just recently I lose connection to the panel.
I've had two different error messages develop with the same result, see below.
[10/02/2023, 20:08:27] [homebridge-boschcontrolpanel_bgseries] Control Panel Connection Error (read ECONNRESET)
[10/02/2023, 20:09:27] [homebridge-boschcontrolpanel_bgseries] Trying to reconnect ....

and
[11/02/2023, 14:47:51] [homebridge-boschcontrolpanel_bgseries] Control Panel Connection Error (Timeout)
[11/02/2023, 14:48:51] [homebridge-boschcontrolpanel_bgseries] Trying to reconnect ....

No configuration changes were made to either the plug-in or Homebridge or the panel itself.
I updated to the new 0.7.0 and got the same error:
[11/02/2023, 23:08:16] [homebridge-boschcontrolpanel_bgseries] Control Panel Connection Error (Timeout)
[11/02/2023, 23:09:16] [homebridge-boschcontrolpanel_bgseries] Trying to reconnect ....

Restarting the Bridge reconnects it every time.
Thoughts? Any tests I can run for you to get more information?
For information the connection was up for about 2.5 hrs before that error reported.
[11/02/2023, 20:45:42] [homebridge-boschcontrolpanel_bgseries] Loaded homebridge-boschcontrolpanel_bgseries v0.7.0 child bridge successfully

Hi @brycetaplin ,
Would you mind sharing the start of you log file when run in debug mode ?Knowing your panel type and plugin configuration will help me go through this issue.
You say this issue is happening with previous 0.6.9 version and new 0.7.0 ?
This error comes straight from the typescript tls socket timing out. Any recent changes to your physical network or homebridge server ?
In normal pushed notifications mode (US panels), the panels sends an empty confidence message every 2 min to keep the connection alive. In legacy mode (AU panels), panel information is updated close to every 2 seconds and socket should also not time out.

@brycetaplin Also, does you plugin successfully reconnects to your panel after timeout period ?

Hi @EHylands
Yes issue occurred in 0.6.9 and 0.7.0.
Log file details, below. No changes made to network or homebridge server.
And no, it never reconnects. The only way I can get it to reconnect is to reset the bridge.
[12/02/2023, 10:10:06] [homebridge-boschcontrolpanel_bgseries] -----------------------------------------
[12/02/2023, 10:10:06] [homebridge-boschcontrolpanel_bgseries] Bosch Control Panel Information
[12/02/2023, 10:10:06] [homebridge-boschcontrolpanel_bgseries] -----------------------------------------
[12/02/2023, 10:10:06] [homebridge-boschcontrolpanel_bgseries] Panel Type: Solution3000
[12/02/2023, 10:10:06] [homebridge-boschcontrolpanel_bgseries] Firmware: 2.0
[12/02/2023, 10:10:06] [homebridge-boschcontrolpanel_bgseries] RPS Version: 5.2.0
[12/02/2023, 10:10:06] [homebridge-boschcontrolpanel_bgseries] Intrusion Protocol Version: 2.3.0
[12/02/2023, 10:10:06] [homebridge-boschcontrolpanel_bgseries] Execute Protocol Version: 2.22.0
[12/02/2023, 10:10:06] [homebridge-boschcontrolpanel_bgseries] Panel Max Areas: 2
[12/02/2023, 10:10:06] [homebridge-boschcontrolpanel_bgseries] Panel Max Points: 16
[12/02/2023, 10:10:06] [homebridge-boschcontrolpanel_bgseries] Panel Max Outputs: 3
[12/02/2023, 10:10:06] [homebridge-boschcontrolpanel_bgseries] Panel Max Users: 32
[12/02/2023, 10:10:06] [homebridge-boschcontrolpanel_bgseries] Panel Max Keypads: 4
[12/02/2023, 10:10:06] [homebridge-boschcontrolpanel_bgseries] Panel Max Doors: 0
[12/02/2023, 10:10:06] [homebridge-boschcontrolpanel_bgseries] Panel Legacy Mode: true
[12/02/2023, 10:10:06] [homebridge-boschcontrolpanel_bgseries] Panel Using Subscriptions: false
[12/02/2023, 10:10:06] [homebridge-boschcontrolpanel_bgseries] Area1: House
[12/02/2023, 10:10:06] [homebridge-boschcontrolpanel_bgseries]   Point1: Front Door
[12/02/2023, 10:10:06] [homebridge-boschcontrolpanel_bgseries]   Point2: Lounge Room
[12/02/2023, 10:10:06] [homebridge-boschcontrolpanel_bgseries]   Point3: Laundry Door
[12/02/2023, 10:10:06] [homebridge-boschcontrolpanel_bgseries]   Point4: Laundry
[12/02/2023, 10:10:06] [homebridge-boschcontrolpanel_bgseries]   Point5: Sitting Door
[12/02/2023, 10:10:06] [homebridge-boschcontrolpanel_bgseries]   Point6: Sitting Room
[12/02/2023, 10:10:06] [homebridge-boschcontrolpanel_bgseries]   Point7: Level 1
[12/02/2023, 10:10:06] [homebridge-boschcontrolpanel_bgseries]   Point8: Garage Tilt
[12/02/2023, 10:10:06] [homebridge-boschcontrolpanel_bgseries]   Point9: Garage Door
[12/02/2023, 10:10:06] [homebridge-boschcontrolpanel_bgseries]   Point10: Garage
[12/02/2023, 10:10:06] [homebridge-boschcontrolpanel_bgseries] Area2: Studio
[12/02/2023, 10:10:06] [homebridge-boschcontrolpanel_bgseries]   Point12: Studio
[12/02/2023, 10:10:06] [homebridge-boschcontrolpanel_bgseries] -----------------------------------------
[12/02/2023, 10:10:06] [homebridge-boschcontrolpanel_bgseries] Configuring Homebridge plugin accessories
[12/02/2023, 10:10:06] [homebridge-boschcontrolpanel_bgseries] -----------------------------------------
[12/02/2023, 10:10:06] [homebridge-boschcontrolpanel_bgseries] Security System: Area1 - House
[12/02/2023, 10:10:06] [homebridge-boschcontrolpanel_bgseries] ContactSensor : Point1 - Front Door
[12/02/2023, 10:10:06] [homebridge-boschcontrolpanel_bgseries] MotionSensor : Point2 - Lounge Room
[12/02/2023, 10:10:06] [homebridge-boschcontrolpanel_bgseries] ContactSensor : Point3 - Laundry Door
[12/02/2023, 10:10:06] [homebridge-boschcontrolpanel_bgseries] MotionSensor : Point4 - Laundry
[12/02/2023, 10:10:06] [homebridge-boschcontrolpanel_bgseries] ContactSensor : Point5 - Sitting Door
[12/02/2023, 10:10:06] [homebridge-boschcontrolpanel_bgseries] MotionSensor : Point6 - Sitting Room
[12/02/2023, 10:10:06] [homebridge-boschcontrolpanel_bgseries] MotionSensor : Point7 - Level 1
[12/02/2023, 10:10:06] [homebridge-boschcontrolpanel_bgseries] ContactSensor : Point8 - Garage Tilt
[12/02/2023, 10:10:06] [homebridge-boschcontrolpanel_bgseries] ContactSensor : Point9 - Garage Door
[12/02/2023, 10:10:06] [homebridge-boschcontrolpanel_bgseries] MotionSensor : Point10 - Garage
[12/02/2023, 10:10:06] [homebridge-boschcontrolpanel_bgseries] Burglary Alarm (Monitoring all Panel Areas) - Master Burglary Alarm
[12/02/2023, 10:10:06] [homebridge-boschcontrolpanel_bgseries] -----------------------------------------
[12/02/2023, 10:10:06] [homebridge-boschcontrolpanel_bgseries] Starting Control Panel Operation
[12/02/2023, 10:10:06] [homebridge-boschcontrolpanel_bgseries] -----------------------------------------
[12/02/2023, 10:10:07] [homebridge-boschcontrolpanel_bgseries] Panel: Point1(Front Door): Open

I have been thinking about your issue since yesterday. Nothing quite clear comes up my mind ...
Does the plugin works as expected, but suddenly stop responding at some point ?
Is Homebridge still accessible when the plugin fails ? Other plugins continue working?
When you say you have to reset your bridge, are you restarting Homebridge process on your server or rebooting you physical server running Homebridge?
Are you running your Homebridge server on a wifi link or over a wired connection?
Have you tried power cycling your Solution panel ? Another user had some uncleared alarms in panel memory that would not show up on the keypad and were messing with plugin pooling sequence (should be fixed in 0.70 though).

I have been thinking about your issue since yesterday. Nothing quite clear comes up my mind ...
Does the plugin works as expected, but suddenly stop responding at some point ?

Yes, that's correct. IT will work for a few hours and then we get the error indicating it has lost connection.

Is Homebridge still accessible when the plugin fails ? Other plugins continue working?

Yes, homebridge and all other plug-ins are still accessible and working.

When you say you have to reset your bridge, are you restarting Homebridge process on your server or rebooting you physical server running Homebridge?

I run child-bridges for each of the different plug-ins on my homebridge server. I can either restart the child-bridge for this plug-in or I can restart the homebridge server (but not the actual box it is running on).
Either of those actions will enable the plug-in to re-establish a connection with the panel.

Are you running your Homebridge server on a wifi link or over a wired connection?

I am running  my homebridge server via a wi-fi connection but the panel is on a wired connection.

Have you tried power cycling your Solution panel ? Another user had some uncleared alarms in panel memory that would not show up on the keypad and were messing with the plugin pooling sequence (should be fixed in 0.7.0 though).

Not yet, although I can do and will see if that makes a difference.
Another point of note is that while the plug-in is working correctly, I cannot access the panel via the RSC+ app on my phone. I understand this is expected as the panel does not allow simultaneous connections. When the plug-in fails I can re-establish a connection with the RSC+ app. Expected behaviour but noting in case it helps with narrowing down causes.

This issue is very confusing ...
Either connection is timing out on network link or interface problem unrelated to Homebridge and plugin is unable to reconnect to Solution Panel.
Pooling loop may also be interrupted and socket times out by lack of network activity (no confidence message in legacy mode)
Finally, timeout may only be a consequence of whole plugin/child bridge crashing ...
I still can't explain why the reconnection process is not successful. I tested the reconnection sequence on my B Panel that allows for more than one simultaneous connection. Maybe we need to wait more than 60 sec on Solution Panels before reconnecting to make sure that the initial socket on panel has been properly destroyed.
I have never used child bridge option before. Just set up my devel Homebridge server with plugin child bridge enabled. Will be looking for crash, timeout and memory leak !
Is it possible to try reproducing the issue with your Homebridge server on a wired connection ?

Interestingly, i have had people report similar issues with my home assistant addon in the past, where their connections just die after a while and a reboot of home assistant is needed. If you do work this one out let me know i'd be interested if it is something panel related!

I think I also found an issue with plugin reconnection when plugin is run in legacy mode with data pooling. Will do further testing and report back.

@brycetaplin
I still can't explain why your connection between the plugin and panel is timing out.
I was able to reproduce why the plugin was not automatically reconnecting to panel in Legacy Mode after connection had timed out. (I was not clearing the command queue in the reconnection sequence).
You can install alternate beta version 0.7.1 to see if your panel now automatically reconnects to panel.
Please let me know afterward !

Hi @EHylands. Status update, plug-in has not lost connection with panel since installing 0.7.1. I will keep waiting for a lost connection to see if it will reconnect, but the behaviour is a little odd. Previously it went for at most 5 hrs before losing connection. Will keep you updated.

Hi @EHylands. Got a panel connection error this morning and it reconnected almost immediately with 0.7.1. So while this doesn't answer why it loses connection, it at least re-establishes it.
[15/02/2023, 08:19:53] [homebridge-boschcontrolpanel_bgseries] Control Panel Connection Error (Timeout)
[15/02/2023, 08:20:53] [homebridge-boschcontrolpanel_bgseries] Trying to reconnect ....
[15/02/2023, 08:21:03] [homebridge-boschcontrolpanel_bgseries] -----------------------------------------
[15/02/2023, 08:21:03] [homebridge-boschcontrolpanel_bgseries] Bosch Control Panel Information
[15/02/2023, 08:21:03] [homebridge-boschcontrolpanel_bgseries] -----------------------------------------
[15/02/2023, 08:21:03] [homebridge-boschcontrolpanel_bgseries] Panel Type: Solution3000
[15/02/2023, 08:21:03] [homebridge-boschcontrolpanel_bgseries] Firmware: 2.0
[15/02/2023, 08:21:03] [homebridge-boschcontrolpanel_bgseries] RPS Version: 5.2.0
[15/02/2023, 08:21:03] [homebridge-boschcontrolpanel_bgseries] Intrusion Protocol Version: 2.3.0
[15/02/2023, 08:21:03] [homebridge-boschcontrolpanel_bgseries] Execute Protocol Version: 2.22.0

I do note that occasional disconnections for other plug-ins appear normal in my HomeKit set up.
Let me know if you want any other information from me on this.

I'm glad we could solve the reconnection issue.
For the timeout issue, Homebridge needs to maintain a persistent tcp connection to panel. I don't know how resilient that connection would be in a saturated wifi environment. I didn't have any problem myself running my dev Homebridge server over wifi for a few hours, but I get barely any interference from other devices or neighbours networks.
As a first step, I would try running Homebridge over a wired connection to make sure the issue is not wifi related.
The other possibility is the pooling routine stalling and causing the connection to timeout by lack of network activity. I can write a watchdog function detecting any stall and relaunching the pooling process after 5-10 sec without receiving an update.


Suggestion: Let derived classes redeclare private fields

Consider this:
class BaseClass {
	private _val = "fofofofo";
	public Value(){
		return this._val;
	}
}

class DerivedClass1 extends BaseClass {
	protected _val = "babababab";
	public SomeMethod(){
		return this._val;
	}
}

class DerivedClass2 extends BaseClass {
	private _val = 3434;
	public AnotherMethod(){
		return this._val;
	}
}

I find it odd that the derived classes errors on that it does not extend BaseClass correctly since the private field _val is defined differently. I can not see why a private field in a base class should impose any kind of restrictions like this, constraining consumers to avoid conflicts with their own private implementations. Is this implementation details leaking out or just a bug?

The fields _val are the same in the base and derived classes because of the way they are defined. That means the derived _vals override the base one, so they should have the same type.
let d2 = new DerivedClass2();
let s: string = d2.Value();
console.log(s); // 3434? That doesn't look like a string to me.

Ok, so it's implementation details then. I'd love to see this changed :)

Creating privates via closure uses lots of memory, so this design decision is unlikely to ever change. Sorry.

Is that the only way to fix this? Couldn't you just do some compile-time prefixes or something? Because this is darn ugly.

This issue has been discussed quite a bit. Here's a thread from a few years ago, which addresses name mangling about halfway down.

Maybe private properties should not have been implemented at all before there was agreement on how to solve this obnoxious behavior of base classes privates leaking out and constraining derived classes.
I don't care squat about if you still can access private variables if you really want to hack your way around it or not, as long as I have a higher-level language with a coherent and solid conceptual model of how stuff like this works.
You don't have to mangle names, just prefix them with __myDerivedClassPrivates.myValue or something like that. Then it won't be overridden and anyone who would like to work directly with the compiled code can still find them easily.

And I guess all this stuff can be made a simple compilation setting if people really care so much about disagreeing about this. Everyone get happiness in their own flavor.
{
    "privates" : "inherited", "noleak", "obfuscated"
}

I'm sure this is not as much "By Design" as it is "Unfortunate Consequence". Is this tracked anywhere here on github?

@Elephant-Vessel This has been discussed a lot and we're satisfied with the design as it is, relative to the complexity of possible other options.

If I understand the history correctly, the stakeholders in this issue can be categorized as:

1: Wants to prevent that consumers of the compiled code implement against privates that might change and break code...

A: ... by hiding them by mangling the names.
B: ... by hiding them using closures.
C: ... by relying on the convention of prefixing privates with an underscore to clearly communicate what is private and should not be implemented against.

2: Are opposed to having typescript hiding private properties because the implementation would:

In the case of A: ... make debugging harder.
In the case of B: ... degrade memory management.
Generally: ... limit the free will of developers to under their own responsibility make an informed decision to implement against privates.

3: Wants to avoid structural conflicts in inheritance, where privates in a base class constrains the super classes. This includes me.

Is that correct?
If we just focus on object oriented sanity, couldn't this be solved in a way that is agnostic to the other issue?
Like prefixing the name of the privates, or rather postfix to improve discoverability: private _prop:string; => this._prop_$$MyClass = "";
This does not mangle the names, and does not make debugging harder.
This does not affect memory.
This does not prevent consumers of compiled code to exert their free will in implementing against privates.
It does solve, in terms of general idiomatic object oriented patterns, the conceptual insanity of the current solution. It is a simple solution to implement and could be a simple compiler flag if people want to hate it.


Ignore Marriage status in searches of 1841 censuses

A user has found searching for marital status (e.g. Married) in the 1841 census returns no results - whether this is in an initial search or by refining a successful initial search.
How to support users?
e.g. add warning re 1841 census in the search box?
ignore in the field in the 1841 census?

"Help" improvements story made, closing


How to use StellarMaps without Stellaris installed

Hey man, I'm a writer currently looking for software to worldbuild my new project and I fell in love when I saw the screen captures of yoy StellarMaps However, I think I made a mistake when installing it. I have two drives, I installed it on one yet all the programfiles got saved in the main C: drive and now every time I open the program I get this image:

I'm not exactly sure how to solve it, I tried opening several folders of the : "C:\Users\Usuario\AppData\Local\games.michaelmakes.stellarmaps" file but nothing seems to work. To give you full context I've never played Stellaris nor have i worked with any ilustration software I kinda just wanted to use your software standalone. I there is anything you can do to help me, thankyou.

Hey, I'm afraid this isn't really built for your use-case. This app visualizes maps from Stellaris saves, and to do so loads data from some Stellaris install. The editing options let you customize the appearance of that map, but not the underlying data. For example, you can change the border colors, but you can't change who controls a solar systems or create new solar systems.
You could potentially use this still, but it will require a few steps:

First off, you need Stellaris install data

Easiest way to do this is to buy Stellaris on Steam. It is currently on sale for 80% off ($8 USD, but potentially cheaper for other regions/currencies)
Alternatively, you build some fake data yourself. You'll need color and loc data. I can help out if you decide to do this

Next you need a Stellaris save file

Easiest way to do this, start a game of Stellaris

To "fill out" the galaxy, you could run the game in observer mode for a while, using the observe command of the built in command console

Next easiest, find a save file online (many people attach save files to bug reports) and put it in the expected location (C:\Users\Usuario\Documents\Paradox Interactive\Stellaris\save games\<any name you want>\<file name>.sav)

This should be a enough to get the application working, but again, you can only change the styles, not the underlying data. To do that, you need to edit the save externally. You have a few options (in order of easiest to hardest, but most powerful):

You can use Nro's Galaxy Editor to edit the locations of stars
If you buy Stellaris, you can use in-game console commands then save the game
You can use the save editing features of Pdx Unlimiter
You can manually edit the file

In the future, I'll probably make this usable in a "demo" mode if you don't have Stellaris installed, but that's not high priority. I also might add some save/map-editing features in the future, but that's even lower priority.

Also, if you don't mind sharing, how did you find this project?

Hi @MichaelMakesGames  thanks for the fast reply!. To answer and put and end to the issue, I can't buy the game since I'm currently very tight on budget (venezuelan kind of tight) plus don't even have a GPU on my pc. So let's close this issue here, I'll use some other software, thanks anyways and best of lucks with this man it looks great.
And to answer your other question regarding how I found out, I searched in google how to create a stellar map for space opera and some link in reddit lead me to this  page and that took me to your github.
Again, thanks a lot for the reply, cool project and nothing but the best for you
tootles

Yeah, this would be pretty troublesome to use without Stellaris
Look into SVG editors. That is the underlying image format used in this application. It is well-suited for this style. Boxy SVG is free and usable right in your web browser. Inkscape is also free, but has a more complicated interface.

Cool man, I already started to learn inkscape


chore: make tokio a workspace dependency

Which issue does this PR close?

Closes #9165 .
Rationale for this change

As described in #9165
What changes are included in this PR?

make tokio a workspace dependency
Are these changes tested?
Yes

Are there any user-facing changes?
No

I don't have full context on the motivation here, but would it be possible to specify tokio as a workspace dependency with no default features, and then include the features as needed in the individual crates? This way the version stays in sync but there wouldn't need to be changes to the features that are enabled for the individual crates.

Thanks again @PsiACE  and @jonmmease


Claim is ineligible if current school is ineligible

Inform the user that their claim is ineligible, if the school that they are currently employed at is not eligible.
This is the message informing the user that their claim is ineligible:

Cool, thanks. I'm just going to push some updated copy that I got from Faye, then will merge.


Upload of SHACL fails

Line: https://github.com/MaastrichtU-CDS/EPND-FAIRification/blob/791a5f5cb8cbdfaa170731bee8cb43ac66c4c348/management_webpage/development_endpoint/run.sh#L17
For some reason the cURL upload does fail. Possible causes:

Comments in the SHACL file (hashtag), which is parsed but then giving errors
Something else

We need to test which triples are being uploaded, and where the upload starts to fail. Manual upload into GraphDB does work (as a temporary workaround)

Removed the comments in the SHACL file and this was the result.

That's the correct result :)
Ok, that means we have to insert a regular expression, I've tried it here on a local file (different computer, no docker etc.). Need to implement it in our shell script.
sed "s/#.*$//g" shacl.ttl > shacl_nocomment.ttl

Should be fixed in e88330e


exportJars incremental compiler failure with scala 2.12 and subprojects

steps
sbt 0.13.15, scala 2.12.1
sub project with exportJars
test:compile does not compile against the current version of main.
There is a project here:  https://github.com/srednal/sbtExportJarsSubprojects
From the sbt shell:

clean
compile
test:compile
test
All should be good.
Then (without exiting sbt) change Thing.scala (i.e. rename def foo to def fox)
test:compile
It does recompile (according to the log) but does not fail as expected
test
Will throw a NoSuchMethodError, as it compiled somehow against an old version of Thing, but is running vs the actual Thing.

This is especially a problem running, for example "~test", during a refactor.  The only solution we've found is to exit sbt and restart (reload doesn't help).
problem
It acts like there is some sort of in-memory cache of the jar that is not being cleared?
I believe the right class files are being put into the jars, and the fullClasspath appears to reference the correct jars.
expectation
We would like to reliably use ~test for development with scala 2.12 and exportJars with our sub-project based build.
notes
If you change the scalaVersion to 2.11.11 it works as expected.
If you remove the exportJars setting, it also causes it to work (with scala 2.12)
If you reorganize this into a single (flat) project, it works as expected.

FWIW - no change with sbt 0.13.16 / scala 2.12.3


Built aws-sdk-cpp with multi-threaded (\MT) runtime library (including aws-crt-cpp)

Describe the bug
I'm trying to build aws-sdk-cpp on windows with the multi-threaded (\MT) runtime library.
Expected Behavior
I want all the projects to be built with the runtime library \MT configuration.
Current Behavior
The aws-cpp projects are correctly built with the \MT flag; however, the aws-c projects (https://github.com/awslabs/aws-crt-cpp) are built with multi-threaded DLL (\MD).
Reproduction Steps
I'm running the following cmake command:
cmake ..\aws -DBUILD_SHARED_LIBS=OFF -DFORCE_SHARED_CRT=OFF -DSTATIC_CRT=ON -DBUILD_ONLY="s3;athena;transfer"

Possible Solution
Inherit those flags to the aws-crt-cpp project
Additional Information/Context
Possible related PR https://github.com/aws/aws-sdk-cpp/pull/1087
AWS CPP SDK version used
v1.9.251
Compiler and Version used
Visual Studio
Operating System and version
Windows 10

We are looking into why this flag isn't being forwarded correctly.