DataRefs library (11.51.0) on NuGet is not the same as your source code

The DataRefs NuGet library (Version 11.51.0) doesn't seem to be the same as the source code you have here. There are no StringDataRefElement types in the NuGet package. All the datarefs that should be strings are of the normal DataRefElement type.

Hi,
thank you for the feedback.
I'm going to check it out and update the package.
Please check it out in the next few days.
Max
Il giorno gio 2 dic 2021 alle ore 21:14 phenty @.***>
ha scritto:

The DataRefs NuGet library (Version 11.51.0) doesn't seem to be the same
as the source code you have here. There are no StringDataRefElement types
in the NuGet package. All the datarefs that should be strings are of the
normal DataRefElement type.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/MaxFerretti/XPlaneConnector/issues/27, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACYWYQUUZCGJI2MK6J3IXIDUO7HRJANCNFSM5JIAWXNQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

Hi, any update on this?

Hello,
I'm doing some checks on DataRefs versions and I'm going to update the
NuGet package this week.
Il giorno dom 6 feb 2022 alle ore 12:57 sushi.at @.***>
ha scritto:

Hi, any update on this?
—
Reply to this email directly, view it on GitHub
https://github.com/MaxFerretti/XPlaneConnector/issues/27#issuecomment-1030817674,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACYWYQVOK5PCVNRM74RWE6LUZZOZ3ANCNFSM5JIAWXNQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you commented.Message ID:
@.***>

Awesome, thank you.

Hello, I'm doing some checks on DataRefs versions and I'm going to update the NuGet package this week. Il giorno dom 6 feb 2022 alle ore 12:57 sushi.at @.> ha scritto:
…
Hi, any update on this? — Reply to this email directly, view it on GitHub <#27 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACYWYQVOK5PCVNRM74RWE6LUZZOZ3ANCNFSM5JIAWXNQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub. You are receiving this because you commented.Message ID: @.>

The NuGet package still shows 11.51.0

I wrote a C# command line program to create the datarefs.cs file from the /Applications/X-Plane 12/Resources/plugins/DataRefs.txt file bundled with xplane.  If this would be worth adding to the project, please let me know.


Git Version Control Plugin Does Not Refresh Commit List

Godot version
v3.5.rc6.official [f05cecdc4]
System information
Linux Mint 19.3 Tricia
Issue description
When the refresh button (tooltip: "Detect new changes") is pressed, the plugin does refresh the index; however, the commit list does not.
Let's say I want to run this command: git commit --fixup HEAD on the commandline. I do so, go back into Godot (which I never closed or restarted) and I press this button. Any files that were shown under "staged changes" are no longer displayed. But the commit list isn't refreshed. Instead an error is displayed on the console: "core/object.cpp:1242 - Error calling method from signal 'pressed': 'VersionControlEditorPlugin::_refresh_commit_list': Method expected 1 arguments, but called with 0."
Steps to reproduce
Open a project with the git plugin enabled. Change any random file and stage the changes.  Then press the refresh button in Godot to see the error.
Minimal reproduction project
Here is the example project I used.
git-refresh-bug.zip

cc @ChronicallySerious

I was able to reproduce this bug with godot-git-plugin 2.1.0.
Your example project seems to be using the 2.0.1 version of the plugin which isn't compatible with Godot 3.5rc6 (calling a specific function from this version of the plugin seems to crash the editor because of a difference in the GDNative API).
So just something to note if anyone is trying to replicate this.

So how do I get version 2.1? Do I need to compile it?

Yes, you are using the correct plugin version and Godot version. Just your example project was using an older plugin version that crashes with new Godot 3.5 beta/rc releases, so I switched the plugin binaries with the new ones in my testing.
I have reproduced the error and opened a PR to fix it. It's been added to the 3.5 milestone so that should mean that it goes into 3.5 stable as well.
Thanks for reporting this bug!

No problem. I guess this issue is close then.

We can keep this opened. The PR hasn't been merged yet, but the automation will take care to closing issue once the PR is merged

Okay.

Fixed by #62862.


Datepicker : year change doesn't update calendar

Hello !
Details to reproduce this issue:

Component : Datepicker
Browser : Chrome 63.0.3239.84 / Firefox 57.0.1
OS : Ubuntu
material-ui version : 1.0.0-beta.21
material-ui-pickers : 1.0.0-beta.7
react : 15.6.2

Component Code :
/**
 * DatePicker
 *
 * Map Material DatePicker component to Redux-form Field component
 */

import React from 'react';
import PropTypes from 'prop-types';

import { DatePicker } from 'material-ui-pickers';

import FormControl from './FormControl';

const CustomDatePicker = props => {
  const { id, input: { value, onChange } } = props;
  return (
    <FormControl>
      <DatePicker
        id={id}
        value={value}
        onChange={onChange}
        invalidLabel="DD/MM/YYYY"
        format="DD/MM/YYYY"
        disableFuture
      />
    </FormControl>
  );
};

CustomDatePicker.propTypes = {
  input: PropTypes.shape({
    onChange: PropTypes.func.isRequired,
  }).isRequired,
};

export default CustomDatePicker;

I use this component with Redux-form.
Observed Behavior :

agenda isn't refreshed when a past year has been chosen.
If I select a day in agenda it stays in 2017. But instead, if I directly click on OK button, it keeps expected year (here, 2010)
There surely must be something wront with my setup but I can't find out what.
Thanks for this very promising package !

Thank you, I think its related to react version. For 16+ it doesnt reproducible

ho ok, thanks for your really quick answer ! I will have some update to do on project :)
since this issue is functionally blocking,
maybe ^15.6.2 compatibility should be removed from package.json ?
https://github.com/dmtrKovalenko/material-ui-pickers/blob/master/lib/package.json#L34

Yes, anyway we should do something with that, thx

@liitfr  We have removed support of 15.6.2 in beta.8


Want to make this 6.0 walkthrough work on Linux

[Enter feedback here]
What is the the substitute for SQL LocalDB? Should I be looking at SQLite? Or SQL Express for Linux? Will there one day be a SQLLocalDB for Linux?

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

ID: 7a54c97f-ddd4-b041-5e5f-a2df009ace50
Version Independent ID: fa488196-1f98-08ea-adcc-17d9dac86727
Content: Razor Pages with Entity Framework Core in ASP.NET Core - Tutorial 1 of 8
Content Source: aspnetcore/data/ef-rp/intro.md
Product: aspnet-core
Technology: aspnetcore-data
GitHub Login: @Rick-Anderson
Microsoft Alias: riande

Per the tutorial, SQLite


Adaboost example

This PR:

Closes #728.
Adds example for AdaBoost in learning.ipynb
Adds tests for AdaBoost

@norvig, @MrDupin please review this PR.
Thank you!

@MrDupin, the second last test fails here, although it passes locally on my laptop. Should i change the tests to use grade_learner instead?

Yes, use grade_learner. In Travis we cannot set random.seed, so the tests randomly fail. With grade_learner the chances of the test failing are reduced significantly.

@MrDupin I don't understand what's up with random.seed in Travis? If you call random.seed(42) what happens?

@norvig I am not entirely sure what happens either. There is a problem in the learning tests, where even though we set a random seed, the tests of non-deterministic algorithms (like the neural net) occasionally fail. Locally, we always get the same results, but through Travis it seems that is not the case.


Ensure query filters for replacement-style updates include shard keys for MongoDB 4.2

SERVER-39158 describes a change for MongoDB 4.2 whereby replacement-style updates target the update to a shard by the replacement document. Starting in 4.2, these updates will instead be targeted by the query document.
To my knowledge, ODM does not make extensive use of replacement-style updates. I'm not too concerned about the query builder, as it would be up to users to handle this there. Apart from that, are replacement-style updates used when persisting a new document in conjunction with the upsert option, or do we simply use normal inserts there? It'd possible this ticket won't require any changes within ODM, but I wanted to open this ticket just to be sure.
If changes are required, I think a portable solution may be to ensure the shard key is included in both the query filter and replacement document.
For additional context, I can quote a reply I left on an internal ticket:

The behavioral change [in SERVER-39158] is simply:

Previously, replacement-style update commands would be routed to shards by the update document (i.e. replacement document).
After SERVER-39158, those same update commands will be routed by the filter document.

The scenario described in SERVER-39158's description demonstrates a case where an update could return successfully and not match anything, when the desired behavior would be to raise an ImmutableField error. While that seems harmless, if we revise that scenario to include an upsert: true option on the update command then we risk inserting a new document instead of raising an error.
AFAICT, the relevant audit for ODMs and any other libraries would be any case where a replaceOne (with or without an upsert) might be executed internally. We can probably forego any query builders that allow users/applications to craft their own replacements, as that's no different than a user calling replaceOne() directly through a driver.

Right now, the shard key is always added to the query part when writing a document through DocumentPersister, see https://github.com/doctrine/mongodb-odm/blob/a50624c38534a3f238353c83c12fb268eee61281/lib/Doctrine/ODM/MongoDB/Persisters/DocumentPersister.php#L354 and https://github.com/doctrine/mongodb-odm/blob/a50624c38534a3f238353c83c12fb268eee61281/lib/Doctrine/ODM/MongoDB/Persisters/DocumentPersister.php#L1384. When using the query builder, users themselves have to make sure to add the shard key to the query manually: since there's no one document being updated, we can't infer the shard key from other information.
From what I can see, ODM does not use replacement-style updates at all.

Closing here - I don't see where we need this. We can always revisit once testing with MongoDB 4.2 starts.


font: ensure localhost is in cloudfront whitelist

This should allow local devs to see the font on their own computer.

Team triage: Open to * domains now, including localhost. Need to lock back down to whitelist domain list.

Team triage: Open to * domains now, including localhost. Need to lock back down to whitelist domain list.

Domain list: https://docs.google.com/document/d/1LxRaU9A2T_6cjEKykP_djmW47cfTNFb3b6Uze0VbB1o/edit

Domain list: https://docs.google.com/document/d/1LxRaU9A2T_6cjEKykP_djmW47cfTNFb3b6Uze0VbB1o/edit

Aaaaand here:
*.pluralsight.com
*.pluralsightone.org
.javascript.com
Knowledge Owl Admin? (for use in the WYSIWYG support article editor)
Dev domains(.pluralsight.local, *.vnerd.com, localhost, *.gitprime-ops.com, *.psops.org)

Aaaaand here:
*.pluralsight.com
*.pluralsightone.org
.javascript.com
Knowledge Owl Admin? (for use in the WYSIWYG support article editor)
Dev domains(.pluralsight.local, *.vnerd.com, localhost, *.gitprime-ops.com, *.psops.org)

@ps-cb Would you mind commenting with an update on where you're at for this?  My guess is you could very well be done, but we didn't cover this card at the last planning meeting.  Thanks!

@ps-cb Would you mind commenting with an update on where you're at for this?  My guess is you could very well be done, but we didn't cover this card at the last planning meeting.  Thanks!

ping @ps-cb ^

ping @ps-cb ^

Related: https://pluralsight.slack.com/archives/C5CMEKH5Z/p1611333694018100
Update:

Can't whitelist domain names and localhost
Can't blacklist domains
Chris looking for other filtering locations possible in our network stack
Chris added verbose logging to identify bad actors while leaving open to * domains. Will review in 1-2 months.
Dane is checking with the search team to see how they've handled CORS on localhost

Related: https://pluralsight.slack.com/archives/C5CMEKH5Z/p1611333694018100
Update:

Can't whitelist domain names and localhost
Can't blacklist domains
Chris looking for other filtering locations possible in our network stack
Chris added verbose logging to identify bad actors while leaving open to * domains. Will review in 1-2 months.
Dane is checking with the search team to see how they've handled CORS on localhost

^ agh, I forgot to address this in planning. @danethurber and @ps-cb , will you please give your updates on this?

Update:
Chris found that we don't have other filtering locations possible in our network stack
Dane hasn't had guild time to ask teams about CORS approach. Not actively pursuing.
Chris will pursue the option of creating an internal S3 bucket fronted by Cloudflare next week

@ps-cb , will you update us on the status of this one, please?

Team triage: Chris is planning to take a look at this this week. If we don't have something actionable, we'll move on, since it is seemingly like a low priority.

Closing this because we've yet to address it and it seems low priority given that we don't whitelist the font access anyway. Please reopen and track if any work is happening for this issue.


Synchronize actuation with ticks

Description of change
Checklist

[x] Tested in playground or other setup
[ ] Screenshot (Grafana) from playground added to PR for 15+ minute run
[ ] Documentation is changed or added
[ ] Tests and/or benchmarks are included
[ ] Breaking changes

Summary by CodeRabbit
Release Notes:

New Feature: The evaluation interval for various components and policies has been updated to provide more frequent evaluations. This includes changes in Circuit, Integrator, PIDController messages, and various blueprint configurations.
Refactor: Hardcoded values of '10s' have been introduced for the evaluation_interval parameter in several PromQL queries for consistency.
Documentation: Updated documentation to reflect changes in default values and descriptions of configuration parameters. Notably, the Differentiator component is now marked as deprecated with a suggestion to use PIDController instead.
Chore: Introduced new properties circuitEvaluationInterval and metricScrapeInterval in blueprints/consts.libsonnet for better code modularity and maintainability.


Use a universal share encoding format

We want to switch to more universal share encoding format, similar to what is discussed in  https://github.com/celestiaorg/celestia-core/issues/839. The main benefit of this approach being that parsing shares should be more similar in that we add a varint length delimiter to the total length of contiguous shares.

nid (8 bytes) | info byte | message length (varint) | share data for shares at the start of a message;
nid (8 bytes) | info byte | share data for other shares.

This means that the current format for contiguous shares (reserved namespace shares) will look like
starting shares (last info bit == 1)
nid (8 bytes) | info byte | message length (varint) | reserved byte | share data
non starting shares (last info bit == 0)
nid (8 bytes) | info byte | reserved byte | share data
note that depending on what we decide for https://github.com/celestiaorg/celestia-core/issues/842, this issue might be moved to core.

Currently
Contiguous shares
Non-contiguous shares (shares that don't use a reserved namespace. Ex. messages)
Proposed
Contiguous shares (shares that use a reserved namespace. Ex. transactions, ISRs, evidence)
Non-contiguous shares (shares that don't use a reserved namespace. Ex. messages)

[ ] ADR
[ ] Update reserved namespace shares to use universal share encoding
[ ] Update non-reserved namespace shares to use universal share encoding
[ ] Write README in share pkg that describes universal share encoding
[ ] Update specs

I like that idea. our whole naming scheme has kinda been thrown off since we changed PayForMessage to PayForData (which was a really good change imo). Might just want to refactor the Message struct to ShareData or something and stick everything in that.

I've been confused on this because I've been using Message for message shares and did not think that term applied to shares in the reserved namespace (i.e. transactions, ISRs, evidence).  See https://github.com/celestiaorg/celestia-app/pull/660#discussion_r957457800
If we've been using Message to also describe data in reserved namespaces, I totally agree with your suggestion and will create an issue for it.


APPS-936 File to string

In the case where an input has type string and a user passes a dx uri string, the uri is automatically converted to a file (VFile). There is then an error when trying to coerce the file to string. This PR allows the file-to-string coercion.

done


set sum of uncompressed column size as row group size for parquet files

Which issue does this PR close?
Closes #3530
Rationale for this change
Fix the row group total_byte_size of the parquet format. This is currently set to the compressed size. As per the spec https://github.com/apache/parquet-format/blob/613a1cf4475c662457a0fd81a894ce4709799e3b/src/main/thrift/parquet.thrift#L814
this should be the uncompressed size
What changes are included in this PR?
update the parquet file row group to sum of uncompressed column sizes
Are there any user-facing changes?
The row group size of parquet file will change and correctly reflect the sum of the uncompressed column sizes

I have added a test but seems to pass both old and new versions. It will be great if you could write it out.
Also i have changed the implementation to track the written columns only (as the total written bytes does). So if any columns are skipped, we still write the correct size.

It will be great if you could help here

Compression isn't enabled by default, perhaps you need to enable it for that test? Otherwise I can take a look tomorrow

I have added compression tests to boolean and int writer tests. These tests fail on current master.


Releases page: Make docs link version-sensitive

The link on the Releases page should go to that release's docs.
Questions for @4down:

The tags in GitHub go up to 1.82.0: https://github.com/boostorg/boost/tags, but the docs in the /archives/ folder in S3 only go up to 1.82.0-beta1. What should happen in this case, where we have a release in the database that doesn't have valid docs in S3?
Is this the right URL pattern? /doc/libs/boost_1_81_0/index.html.

@sdarwin Is it possible to have the docs for the current version also in S3, so the process for generating the link is consistent for all releases? We haven't talked about publishing the docs directly via this website, we've mostly focused on retrieving them from S3. I'm not sure what you mean by publishing the docs with a GUI or a script. (cc @4down @frankwiles -- one of you might have more insight into this process than I do).
It sounds like we should have a more in-depth conversation about the process when a new version is released?

FYI -- PR #500 includes a placeholder link to the current boost.org docs for the current release only, since those docs are not in S3 and there is some work to do to generate them; this way we still have a live link on the current release page, and not a 404 or no link at all.

Is it possible to have the docs for the current version also in S3

Try now, I uploaded 1.82.0.

@sdarwin Worked great, thanks! Updating my PR now.


more function and scope tests

tests aren't passing yet, might be async issues again

Awesome! Do you think we should switch to having just a single copy of the .m files?

Awesome! Do you think we should switch to having just a single copy of the .m files?

Yea, we definitely only need one copy. I thought it might be easier to have one located with each version of the compiler, but it is getting a little silly hah


loaders.Web streamable in Python 2

Python 3
loaders.Web returns streamable and resetable file-like object because urlopen() returns true file-like object as an http response.
Python 2
loaders.Web returns resetable file-like object loaded to a memory because urlopen() returns not a true file-like object as a http response (response.read() is used). Some wrapper is needed.
https://github.com/okfn/tabulator-py/blob/master/tabulator/loaders/web.py

In the first version of good tables I worked around this by reading into a local buffer first, always. With where we are now with Python 3 adoption in 2017, I'd be inclined to close this as wontfix, and add it as a note in the readme, and even log a warning for the user when using python 2.


Version API with webflux

Type of PR

[x] Code changes

Purpose of PR
Adding the version API
Review notes
We will remove the test API in the next iteration.
Issues Closed or Referenced

Closes #66  (this will automatically close the issue when the PR closes)

Reopening so that the CI/CD can run again.


Any advice on how to implement Smart Charging?

I am currently experiencing Smart Charging for this backend, and I would like to know how to make everything working well.
Thanks in advance.

did you find a solution?
I'm also interested in this.

Hi,
I find a way to send charging profile to a CS but didn't find yet a way to give a load balancing for a complete site.
When I find more about that, I will close the issue with a doc of how we manage all these features.

hello @Zakichanu
any updates?

I would already like to know more....i am stil at the beginning of this...

I managed to get the server connected with basic authentication, but cant seem to get any charger enable the smart charging!

@UBT-FJ how did you manage to connect with basic auth? I'm struggling with finding the right username and password to connect to the smart charging platform :(. How do you set it up?

@gasparuff you need to know a little java, but the main file is here:
“src/main/java/com/sap/charging/server/security/CustomWebSecurityConfigurerAdapter.java”
From: gasparuff @.>
Date: Thursday, 8. August 2024 at 02:39
To: sap-labs-france/ev-server @.>
Cc: Fetah Jusufi @.>, Mention @.>
Subject: Re: [sap-labs-france/ev-server] Any advice on how to implement Smart Charging? (Issue #4230)
@UBT-FJhttps://github.com/UBT-FJ how did you manage to connect with basic auth? I'm struggling with finding the right username and password to connect to the smart charging platform :(. How do you set it up?
—
Reply to this email directly, view it on GitHubhttps://github.com/sap-labs-france/ev-server/issues/4230#issuecomment-2274631079, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ARCS5JVFOVC6XJEZ6KAXWRDZQK44FAVCNFSM6AAAAABGPN377SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENZUGYZTCMBXHE.
You are receiving this because you were mentioned.Message ID: @.***>


🐛 Bug ➾ E2E Test Bug:  remove node deprecation message in cicd output

🚥 Status (Internal Taqueria Team Use Only)

[ ] 🔬 Investigated and Verified
[ ] ⚗ Solution Identified and Designed
[ ] 🧫 Dev Implementation of Fix
[ ] 🧪 Fix Tested and Validated
[ ] 🏆 PR Merged

🆘 What happened?
In a CICD run, the new package for managing cli test environments is throwing a deprecation notice:
(node:5398) [DEP0147] DeprecationWarning: In future versions of Node.js, fs.rmdir(path, { recursive: true }) will be removed. Use fs.rm(path, { recursive: true }) instead
(Use `node --trace-deprecation ...` to show where the warning was created)

make this go away
🆘 Steps to Reproduce?
Run e2e tests  taqueria-cli-other-and-mixed-plugin-commands.spec.ts and observe the deprecation notice.
🪵 Relevant log output
(node:5398) [DEP0147] DeprecationWarning: In future versions of Node.js, fs.rmdir(path, { recursive: true }) will be removed. Use fs.rm(path, { recursive: true }) instead
(Use `node --trace-deprecation ...` to show where the warning was created)

### 🐘 How impactful is this bug?

🐜 Minor annoyance

### ⏱ Prevalance

everytime

### 💻 Operating System

Windows -> Linux VM

### 🕸 System Architecture

x64

### 🌮 Taqueria Version

v0.24.1

### 🌿 Node.js Version

v18.4.0

### ☎ Contact Details

<EMAIL_ADDRESS>
### Code of Conduct

- [X] I agree to follow this project's Code of Conduct

No longer relevant as test spec was removed. I searched and there are no more mentions of .rmdir in any of the test specs.


Drop some aliases

none-ls seemed to rely on the entry being named treefmt, you need to set treefmt = treemft2 instead of the inherit
We have some buildbot issues that drown real test failures, sorry :/

Thanks for this!
In addition to @traxys feedback (treefmt = treemft2), could you reword the commit using the format plugins/{lsp,none-ls}: remove package aliases?
Or if you prefer two commits:

plugins/lsp: remove typescript-language-server alias
plugins/none-ls: remove treefmt + markdownlint-cli aliases

both things done :)

https://buildbot.nix-community.org/#/builders/43/builds/266/steps/2/logs/stdio

Thanks!
Until #1878 is resolved, we'll have to test locally.

I normally rebuild my config with the changes before opening the PR but I regularly forget it when applying review changes 🤦🏼


Update Connect screen and make it the start screen

The Getting Started screen is a bit verbose and does not reflect the simplicity of the product.
An alternative to having the Getting Started screen as first screen, is to add instructions to the Connect Screen, including a link/button to the Getting Started screen with more info. This is like having the instructions be the actual UI (or simply like embedding instructions into the UI, but the former metaphor is quite intriguing).
The help panels on the Connect Screen can already be hidden by the user to not distract, and adding more content to them will probably not hurt the experience.

Connect screen updated by this commit: https://github.com/evothings/evothings-studio/commit/250f00dc4b9d3254031c7f7ea9ced2f58aef7b13


Minus numpad button only enables when a number is pressed

It's not a bug (Windows Calculator also works like this) but some users complained that they can't set a negative number and when investigating was this behaviour.
Could you change it so the default behaviour is the button always is enabled by default (when can put negative numbers)?

Hi,
Which version of react-numpad are you using.
This bug should be fix in v.5.0.2. example.

Amazing, I'm still using an old release, I'll try upgrading!
Thanks


Replace zero-size structs in FFI with empty enums

In Rust nightly, a bunch of warnings are being emitted for zero-size structs in sdl2-sys:
https://travis-ci.org/AngryLawyer/rust-sdl2/jobs/72803339
These are opaque types, and it isn't appropriate to add any fields to them. A mentioned alternative in https://github.com/rust-lang/rust/issues/27303 is to use enum MyStruct {} instead.

For me, zero-size enums cause the error
sdl2-sys/src/video.rs:14:1: 14:23 error: unsupported representation for zero-variant enum [E0084]
sdl2-sys/src/video.rs:14 pub enum SDL_Window {}

I think c_void might make sense in these contexts, since these types are only ever used as pointers, as far as I know.

You might need to get rid of the #[repr(C)] before it, because it will cause an error.

Removing the #[repr(C)] just causes different warnings, since these types are part of the FFI.

Specifically warning: found struct without foreign-function-safe representation annotation in foreign module, consider adding a #[repr(C)] attribute to the type, #[warn(improper_ctypes)] on by default

I wasn't able to reproduce the issue. http://is.gd/8SpNgV
It won't hurt to use c_void realistically, but I like the empty enum version because that way you can only use the type via a pointer, i.e. *mut SDL_Renderer.

It still happens for me on the latest nightly. Did you try with actual sdl2-sys, or just in the sandbox?
As far as I know, by design, c_void can't be instantiated either (it wouldn't make much sense if it could), so it can also only be used via pointer. In my opinion, c_void makes it more explicit that the intent is for a type not to be instantiated, where an empty enum could imply that variants may be added later. I agree that it doesn't really make a difference here though.

That's weird. I only tried in the sandbox with nightly, though. shrugs
c_void works perfectly, so I won't worry about it. The only downside I can think of for using c_void is that std::mem::size_of::<c_void>() > 0, but that's not a realistic downside if c_void can't be instantiated.


[New sniff?] Check for non-printable characters

Rule type:
Warning
Rule:

Check for non-printable characters [\x00-\x08\x0B-\x0C\x0E-\x1F\x80-\xFF]

Ref: https://make.wordpress.org/themes/handbook/review/required/theme-check-plugin/#info
Theme check file covering this rule:
https://github.com/WordPress/theme-check/blob/master/checks/nonprintable.php
Notes for implementation:

Quite possibly there will be an existing sniff somewhere we could re-use for this.

To do:

[ ] Maybe clarify the rule in the Theme Review handbook
[ ] Research if there is an existing sniff we could reuse, if so, add that sniff to the ruleset
[ ] Otherwise: Create unit tests
[ ] Otherwise: Create new sniff

For this sniff we can most likely use the token T_BAD_CHARACTER

i would like to try this.

From: https://github.com/WPTRT/WordPress-Coding-Standards/pull/103#issuecomment-274278772

I spoke to Otto and the reason this was added in the Theme Check was to check for Byte Order Mark. Explanation. This is now being checked with Generic.Files.ByteOrderMark
The check was made a bit looser to try to catch other issues too.
I did a bit of research, non printable characters are things like line breaks. In order for this sniff to work we would need to think of places where it does not make sense to have non printable characters. I am not sure how many places there are.
More of the ASCII codes can be found in the links 1-31 and 127-159 are the invisible characters.
http://ascii.cl/htmlcodes.htm
http://www.ascii-code.com/

It basically needs to become clear whether just checking for the BOM is enough, or checking for more non-printables is needed.
If the latter, PR #103 contains the basic principle of a sniff for that, but should in that case probably be pulled upstream, either in WPCS or - even better - in PHPCS itself.


Internalize Annonymous Reporting Form

Change from using a Google Form to an internal form within the app to better track when reports are being made.

Notify admins when a report is made, possibly via text message using Twilio.

implemented in #40


Help : missing link content (advert missing)

E2 U4 S9 C7: P22

@Captainkirkdawson That "missing link" is, in fact, a missing advert — not my territory.

@PatReynolds for you?

Thanks @Captainkirkdawson taking a look at this now.

Problem is it is a FreeREG/FreeBMD advert, not a FreeCEN advert.  Please confirm that the size wanted is width:336px;height:280px

@PatReynolds I have no idea on the structure of the Help but suspect so

The advert block is not fully responsive: depending on the window width, its appearance flips between as expected and variations on this:

Sent code to Vino 14 Feb 2022

Not working on test3, @Vino-S to push to live to test there.

code deployed to production


Update http.rb

Check if body has a value, nil causes request to fail

Closing old tickets, I don't think this was needed. 😄


License?

Hey, nice project! I was wondering about the licensing - couldn't find any files / text regarding this.

hi, thanks for your interest!
you're right, I'm sorry for releasing scope-tui unlicensed, I procrastinated too much thinking about it (:
i added the MIT license, both inside Cargo.toml and as a separate file!
i think this properly covers the project from now on, let me know if there are any issues or if it becomes necessary to retroactively license older revisions

Sounds great, thank you!


Research and benchmark use of Fiddle from STDLIB

Ruby has a convenient library for better integrating for code with Fiddle which wraps libffi FFI.  The whole idea that it wraps the other library seems to me it would take longer to execute the code.  It's the whole convenience verses efficiency battle.  But as this is just a theory it should be looked into.
Fiddle offers enough benefits to be worth considering.
But if Fiddle is just a wrapper for FFI, then in theory we can do what Fiddle does with FFI ourselves.

As a minor correction, Fiddle wraps the C library libffi, rather than the whole FFI gem. They are quite different in terms of implementation.

Thank you!  Even more reason to look into it :smile:

A major downside (in my eyes) with Fiddle is that it does not support boolean return types, at least as included in the standard library. To use is_blank() with Fiddle, I returned an integer and use equality to return the boolean from the method. Needless to say, this resulted in quite a performance drop:
Fiddle
$ ruby -Ilib -Itest test/benches/is_blank_benchmark.rb
[0.000667, 0.000903, 0.000683, 0.000729, 0.000719]
[0.000670, 0.000713, 0.000695, 0.000686, 0.000691]
[0.000676, 0.000649, 0.000690, 0.000677, 0.000679]
[0.000683, 0.000726, 0.000697, 0.000629, 0.000632]
[0.000923, 0.000676, 0.000686, 0.000684, 0.000690]

FFI
$ ruby -Ilib -Itest test/benches/is_blank_benchmark.rb
[0.000121, 0.000094, 0.000088, 0.000081, 0.000080]
[0.000113, 0.000083, 0.000075, 0.000074, 0.000081]
[0.000112, 0.000075, 0.000084, 0.000077, 0.000072]
[0.000123, 0.000081, 0.000071, 0.000071, 0.000071]
[0.000131, 0.000084, 0.000076, 0.000068, 0.000071]

FFI includes stdbool.h in their implementation to deal with this, which is why it is considerably faster (don't need to get ruby to generate the boolean). I can have a look at the performance of some of the methods that return strings with Fiddle, but the interface isn't particularly friendly.
Longer term, I am of the opinion that something like ruru or helix are the way to go.

Thanks for this @mble .

Longer term, I am of the opinion that something like ruru or helix are the way to go.

I'm with you on wanting these nice projects incorporated.  What prevented me from using Helix is they don't have enough info on how to get started.  That's also the same reason I didn't incorporate ruby-sys.
Now looking at Ruru they seam to be at a point where they're really usable.  I even like that I see the use of ruby-sys in it.  What they don't show is the Ruby integration.  They have as minimal Fiddle example at the end.
Once concern I have to look into in this project is whether the memory for what we're returning from Rust to Ruby is being freed up.  This was brought to my attention in #41 .  None of these tools listed here cover any of that.  Advice on memory management is available in the FFIwiki so that will need to be done soon.  I also need to learn some memory diagnostic tools to try with this.
But back on topic I'm totally open to integrating one of these outside projects as long as we benchmark whether there is a cost.

What they don't show is the Ruby integration. They have as minimal Fiddle example at the end.

In my experience (I've written two ruru-based extensions so far), that is literally all you have to do with Fiddle to get the extensions working. All of the magic is in the macros plus the initialization function (which really, isn't too different from creating a C-based Ruby extension, except much nicer syntax).

You know, since Fiddle is part of the Ruby standard library there wouldn't be any trouble using both.  We'd just need to weigh the advantages and disadvantages per use.

I've done some benchmarks and enough details were available to make the switch to ruru.  See blog post on performance: https://blog.codeship.com/improving-ruby-performance-with-rust/


python311Packages.watermark: add optional-dependencies

Description of changes
Fix build (https://hydra.nixos.org/build/241110857)

Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Priorities
Add a :+1: reaction to pull requests you find important.

Result of nixpkgs-review pr 270387 run on x86_64-linux 1

4 packages built:

python310Packages.watermark
python310Packages.watermark.dist
python311Packages.watermark
python311Packages.watermark.dist


Team Import seems to remove some peoples

Describe the bug
Sometimes in a Team
To Reproduce
I honestly have no clue but I guess its related to the team import
Expected behavior
Import works properly and all teams are the same in all Excercises
Screenshots
No Screenshots cause private information.
Environment
Server Bug!
Additional context
When importing the Teams for the excercise some teams had less members than before.

We, the GBS team, can confirm this issue. We would highly appreciate a fast fix since we have several upcoming team exercises and thus expect a growing number of incorrectly imported teams.
@krusche If you need details about exercises and groups where this problem occurred, please reach out privately.


Pull out the 'kind' from the dataType field for data shape

Since we bake the kind into the dataType field (like 'java:foo.blah.Myclass') now I have to have special parsing client-side.  Why not have the kind in a separate field?

Another option is just align to the URL scheme that the data mapper uses in it's mapping file maybe, though the inputs for the component are just the class names for Java.

@gashcrumb The metadata in Camel have it as one field. I like consistency :). I can break it apart if you really want. If so 'none' and '*' would go in the kind field I think.

hmm, I don't know.  I guess maybe we'll have to revisit this when we deal with json and other non-java cases.  I definitely think not passing along a URI-like syntax would be better in general,

I much prefer the separate field approach that @gashcrumb proposes. The kind can be the distinguishing field to parse to specific types as needed. Much easier to work with IMO.


Write shortest possible code: How to import class from another file (python)

Please write shortest code example for this question:
How to import class from another file in python
How to do it:

Go to python codes
Create new file (named in underscore case, should contain key words from title) with md extension (markdown file).
Propose new file with following content (please use all three blocks if possible - title, code itself and explanations list):

# How to import class from another file

```python
code part1 part2 part3 ...
```

- part1 - explain code part 1
- part2 - explain code part 2
- ...

More advanced template for examples and linked solutions. More docs here.

How to import class from another file


test_sphinx_doctest.py: Assert doctest directive

See also: .. doctest::

@tony We're running the test-suite also on Windows hosts/containers. Since one of your doctests uses os.sep, the CI fails.

Thx. Looks good now. I've just realized that support for the doctest directive is not mentioned in the README. I'll fix this


Integrate saving throws into targeted abilities similar to spells

At present when an area effect spell is cast targeted entries have a save button in the chat allowing saves to be easily made and applied to each target:

However for abilities and items such as the kineticist Hail of splinters the damage and saves are not linked. as a result the saves have to be rolled seperately and then scrolled back to apply damage:

The same is true for items / abilities where both damage and saves are described in the description. Isi it possible to link the saves to the targets?

The feature you are describing is a module feature, and is not provided by the core system. You'll have to ask the module dev to find some way to link them, but there isn't actually a way for them to do it.
When we implement linking in any capacity, this will be solved at a similar time.


v0.2.4

@JuliaRegistrator register

Registration pull request created: JuliaRegistries/General/95343
Tip: Release Notes
Did you know you can add release notes too? Just add markdown formatted text underneath the comment after the text
"Release notes:" and it will be added to the registry PR, and if TagBot is installed it will also be added to the
release that TagBot creates. i.e.
@JuliaRegistrator register

Release notes:

## Breaking changes

- blah

To add them here just re-invoke and the PR will be updated.
Tagging
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:
git tag -a v0.2.4 -m "<description of version>" 1a3795b9c5622fe48fe78628190631a8ec2b0d50
git push origin v0.2.4


Add org-mode lexer

@goshatch Redux of #2628

Hi @jeanas, is there anything I could do to help move this forward?

I just need to find a bit of time to finish cleaning up. Probably this week-end.

@goshatch Sorry for the long delay, exams and all that. I did a good number of changes everywhere, fixing some bugs (e.g., some regexes were matching over-eagerly), and improving some token types, please check the new lexer and let me know if you find anything strange, otherwise I'll merge it. Thanks!

@jeanas Thank you very much! I appreciate your hard work. I've tried it locally and everything looks good to me, so I'm happy for this to be merged. Thanks again!


Place a chest when the player dies containing all of their items.

Vanilla friendly graves. Should print death coordinates too.

There are other mods that do this better and as a Fabric mod available on Forge it's hard to do this compatibly.

There are other mods that do this better and as a Fabric mod available on Forge it's hard to do this compatibly.


Remove the "environment variable SLACK_TOKEN" mentions...

Description

Removed the "environment variable SLACK_TOKEN" mentions -- $env:SLACK_TOKEN is not used.
Deleted 'test.ps1' as it is mostly commented out and might be confusing to the new(bie) user.

Related Issue
#12
Types of changes

[x] Misc

Checklist:

[ ] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

Thanks @joshuatee. test.ps1 was really just for my convenience when initially developing the bot. It is not needed anymore.
I'm working on a new function to setup PoshBot as a long running scheduled task and those details will be added to the README.md as well.


Update test to Cadence v0.36.0

Description
Automatically update to:

onflow/cadence v0.36.0
onflow/flow-go-sdk v0.35.0
onflow/flow-go 540256588e78
onflow/flow-emulator v0.45.0

@janezpodhostnik @pattyshack see https://dapperlabs.slack.com/archives/C03C40ZV82C/p1679510815516059: Could you please have a look at the FVM related changes and code in general? I only copied code from the Emulator to make the code compile and tests pass, but I'd love to know if this is the right way or if it should be done a different way. Thanks!


The document states that up to 3.5x higher throughput than TGI，I have my doubts

What is the TGI version you are comparing? This is not consistent with the benchmark results of some friends，I'm a bit confused.
https://zhuanlan.zhihu.com/p/645732302

TGI numbers are before adding paged attention to their repo. The performance might be similar after they adding vllm's techniques. (after this pr)


RDF Working Issue

Looking at the exampleJSONOfBook.json, I can see a few things that stand out.

The RDF-JSON object is not an array, it is a list of properties with each entry being either a page or an object of a page.
The annotations are stored as properties in the page and identified with part of the url by a .number (i.e. http://piranesi-test.reclaim.hosting/without-mirador/frontis-piece.1)

Looking at the specification, it seems pretty easy to compose and far less easy to understand it. I am going to look on online and see if I cannot find a library for parsing this already.

I found some string indicators that will probably help us, I am currently compiling a thought out methodology and response, this message is just to let you know that I am actually working on it right now haha

So we obtain two important features from the RDF-JSON file: the annotation description and the location. These are most optimally found in the following locations:

"http://piranesi-test.reclaim.hosting/without-mirador/**this-is-a-description**": {
"urn: scalar: anno:174:20:2683304250562": {
....
"httop://www.openannotation.org/ns/hasTarget": [
{ "value": ......xywh=26.83%,30.42%, 5.05%, 6.2%"...

The most important questions of parsing this information being:

How do we locate this information while iterating through the file?
I posted a skeleton of stringify for the RDF file within the new folder (I will push it by 11:45 AM, the Internet at my work place is wonky right now). It is up to change but illustrates an outline that could help with this first step. I have also looked into how to iterate through the file and have no concrete answer currently! (Yay).

How do we parse the annotation location values?
We probably have to substring that value, and marcate the individual values using the comma delimiter.

How do we convert percentage to pixels?
I was looking up some answers for this, essentially 1% could equal 0.16 px. This is true if the pixel values are in base 16. I found this formula online that could help us in the case that the base is not 16.

Pixel(Px) = (Percent*Base)/100

Let me know what your thoughts and feelings are and how you think we may segment the different properties, as you call it.
Some additional notes and ideas...The RDF features 7 different { } sets/ properties. Using zero-based numbering system, the annotation and annotation location are located in properties number four and six. In cases of numerous annotations in a future goal, we may want to note that each annotation takes up three property segments, and the first and third ones are the most important.

Hey @cliolang, I looked at what you pushed and read what you are saying in this issue and I want to say thank you for your work!
1 How do we parse the annotation location values?
Because we are dealing with a JSON file (which is definitely proper JSON, no need to sanitize it or anything), we can just import it directly into the code and the Javascript engine will convert it to an object. For example, we can just do what you did with the require(...) line and that object becomes accessible as the object of the entire file. The object will have properties for each key-value pair in the JSON. Does this make sense?
2 How do we parse the annotation location values?
By annotation location values do you mean the whxy value? Or do you mean the location of the annotation object in the JSON?
3 How do we convert percentage to pixels?
I honestly think this is the most difficult of the three questions. My first thought is that we could just request a copy of the image and read its width and height properties, then just multiply the percentage by those values. The width and the height of an image are always given in pixels by default last time I checked the standard, but I will look this up.

What do you think of this approach?

I like it, it took me a moment to wrap my head around it. I pushed a version that filled in some missing commas and also on the bottom I was trying to test out accessing the fields. I get -1 because they are undefined, what should I pass in for those functions to be the appropriate object parameter?

@cliolang Thank you for those edits! I just pushed something showing you how to access the functions. Essentially, the caller will have to know on which url that action should be preformed. Does that make it any more clear? Sorry for those typos!

Yes that does make it more clear, no need to apologize I was just lettin ya know. For cleaner implementation, is there a way to call without utilizing the very specific URL? Or is the only way is if the caller uses config[URL] and the function has [URL][index]?
I am worried that for annotations the URL is going to be very long, and we want to parse that segment out rather than use it to find the annotation-if that make sense? In other words, it seems redundant to search for the annotation using the annotation in the URL path, like this-is-a-description. What if the annotation is a whole paragraph? Then you have to manually type the URL with that long paragraph annotation?
So the main question is can we access config[index](or some other similar form, I just tried config[index] and it's an invalid input for obvious reasons) rather than config[URL]?

Yes that does make it more clear, no need to apologize I was just lettin ya know. For cleaner implementation, is there a way to call without utilizing the very specific URL? Or is the only way is if the caller uses config[URL] and the function has [URL][index]?

To my understanding the properties of an object can be accessed as 1) a property by its name, 2) an index in the parent object, and 3) via the Object prototyping (too complicated for our use case).
With the introduction of the latest version of JS we can also iterate over the properties of an object using the for of loop. This would give us each object you are describing without having to know the index or URL ahead of time.

I am worried that for annotations the URL is going to be very long, and we want to parse that segment out rather than use it to find the annotation-if that make sense? In other words, it seems redundant to search for the annotation using the annotation in the URL path, like this-is-a-description. What if the annotation is a whole paragraph? Then you have to manually type the URL with that long paragraph annotation?

Hmm, this is a good point. At some point can we try exporting a few pages from DigitalPiranesi.org and seeing what that JSON-RDF looks like? As for the accessing, the for in loop would take care of that.

So the main question is can we access config[index](or some other similar form, I just tried config[index] and it's an invalid input for obvious reasons) rather than config[URL]?

Yes, but also that should work... What is the sign that you are using invalid input? I want to make this functionality you're describing work as easily as possible.

Before reading this I figured it out, I made a for in loop as you said, I pushed the very simple answer to my question. I'll look into downloading a JSON-RDF of the Digital Piranesi book and upload it to see what it looks like.

WOOHOO!! I just ran your latest commit and I love how this is all coming together!
No worries about the book, I am not in any rush to start converting. I just would love to see a file for multiple annotations and what is different there!

Let's go!
Some bad news: I cannot open the RDF-JSON of the whole Digital Piranesi book, it takes a million years to load and then gives up. Which poses a problem for our goal of translating that file. I just sent an email to everyone in attempt to gain access or solve the problem

Added code/function that parses annotation from data, definitely a cleaner way of doing it but we will get there when we get there-need to see what other characters the book will include to edit

@cliolang I just looked at that function and it looks like W3.org uses SSL but I did not use https as the protocol in the URL so it was not finding the type property! The most recent commit should fix that issue! I will take a look at it tomorrow and see how it runs :) Thank you for thatcatch!

I am currently working with the 500 sample JSON file and am working to use the functions to extract some kind of meaningful model. Right now my goal is to take those strings and create a single WebAnnotationImage and Annotation object.
Will touch base where I am on the 1st of the year.

News
General

Each page has an attribute http://scalar.usc.edu/2012/01/scalar-ns#isLive and http://purl.org/dc/terms/hasVersion.

isLive determines if a page is visible.
hasVerison tells which other element in the object specifies the form and content of the page
urn tells the Universal Resource Name for that page

Each "version" has a decimal, then the version number. These can be accessed as elements in the object (for example, https://scalar.usc.edu/works/piranesidigitalproject/-63.2 is version two of https://scalar.usc.edu/works/piranesidigitalproject/-63
Each "annotation" has the name beginning with urn:scalar:anno: and followed by two more numbers.

http://www.openannotation.org/ns/hasBody tells what the content of this annotation is

@cliolang @michaelgavin
I am happy to announce that in the latest commit, I think that I have worked out a way to correctly identify and group annotations. The result of these steps is an array of objects with the following properties:
{
    title: "",
    content: "",
    xywh: "",
    uri: ""
}

From the source, the comment below describes the concept:
  /*
   * 1. Find the `Media` page
   * 2. Check for it's current version
   * 3. Find the version within the file
   *     a. `Type` is Version
   *     b. `isVersionOf` is `Media` page uri
   * 4. Find annotations
   *     a. `Type` is Annotation
   *     b. Check for correct target (uri and version from step 3; avoids version conflicts)
   *     c. Find the "composite" body with the `hasBody` property
   *         I. Get title from `title` property
   *         II. Get content from `content` property
   *     d. Position using the `hasTarget` parsed string
   */

Annotations identified-closing; see more recent issues to see more relevant questions/issues


Feature request: ignore_tests and include_tests config options

Component
Forge
Describe the feature you would like
The ability to set a specific set of tests to include/ignore in a config profile would be very helpful for my workflow, where i often have slow ffi tests that i only want to run every once in a while, and a set of fast unit tests that i want to run every time i type forge test
if this was implemented i could have an ffi profile that runs ffi tests along with my other tests, and ignore them in the default profile for daily use
Additional context
No response

i think these would basically just be config option equivalents of --no-match-test and --match-test
https://github.com/foundry-rs/foundry/blob/b3fe6527e69bd674c8ca287a97107d6c6aa3209b/cli/src/cmd/forge/test.rs#L45-L50

Ref #1123 (not entirely the same, but similar use case)

I'll take a look at this 👋

So I've copied all of the matching flags from test to the Config file, swapping kebab for snake case, e.g., --match-test is match_test in foundry.toml.
Profiles work so you can store different matching setups in the config file and select them with FOUNDRY_PROFILE
If both config entry and flag are present, the flag takes precedence.
The full list:
match_test
no_match_test
match_contract
no_match_contract
match_path
no_match_path


"A final-timeout value is unsupported"  error when sending call to mailbox

when trying to send call to voicemail , I get the following error
[2018-06-04 15:11:41.793] ERROR Adhearsion::Call: e916a44f-11f9-4e2c-8b3d-dabb0e6a634c@: <Punchblock::ProtocolError> #<Punchblock::ProtocolError: name="option error" text="A final-timeout value is unsupported." call_id=nil component_id=nil>
	/usr/local/rvm/gems/ruby-2.4.1/gems/celluloid-0.15.2/lib/celluloid/responses.rb:29:in `value'
	/usr/local/rvm/gems/ruby-2.4.1/gems/celluloid-0.15.2/lib/celluloid/calls.rb:92:in `value'
	/usr/local/rvm/gems/ruby-2.4.1/gems/celluloid-0.15.2/lib/celluloid/proxies/sync_proxy.rb:33:in `method_missing'
	/usr/local/rvm/gems/ruby-2.4.1/gems/adhearsion-2.6.4/lib/adhearsion/call.rb:22:in `method_missing'
	/usr/local/rvm/gems/ruby-2.4.1/gems/adhearsion-2.6.4/lib/adhearsion/call_controller.rb:207:in `write_and_await_response'
	/usr/local/rvm/gems/ruby-2.4.1/gems/adhearsion-2.6.4/lib/adhearsion/call_controller.rb:219:in `execute_component_and_await_completion'
	/usr/local/rvm/gems/ruby-2.4.1/gems/adhearsion-2.6.4/lib/adhearsion/call_controller/record.rb:83:in `execute_recording'
	/usr/local/rvm/gems/ruby-2.4.1/gems/adhearsion-2.6.4/lib/adhearsion/call_controller/record.rb:46:in `run'
	/usr/local/rvm/gems/ruby-2.4.1/gems/adhearsion-2.6.4/lib/adhearsion/call_controller/record.rb:133:in `record'
	/usr/local/rvm/gems/ruby-2.4.1/gems/voicemail-1.1.1/lib/voicemail/call_controllers/voicemail_controller.rb:28:in `record_message'
	/usr/local/rvm/gems/ruby-2.4.1/gems/voicemail-1.1.1/lib/voicemail/call_controllers/voicemail_controller.rb:11:in `run'
	/usr/local/rvm/gems/ruby-2.4.1/gems/adhearsion-2.6.4/lib/adhearsion/call_controller.rb:146:in `invoke'
	/x2one/x2one-vm/app/call_controllers/simon_game.rb:9:in `run'
	/usr/local/rvm/gems/ruby-2.4.1/gems/adhearsion-2.6.4/lib/adhearsion/call_controller.rb:119:in `execute!'
	/usr/local/rvm/gems/ruby-2.4.1/gems/adhearsion-2.6.4/lib/adhearsion/call_controller.rb:94:in `block in exec'
	/usr/local/rvm/gems/ruby-2.4.1/gems/adhearsion-2.6.4/lib/adhearsion/call_controller.rb:93:in `catch'
	/usr/local/rvm/gems/ruby-2.4.1/gems/adhearsion-2.6.4/lib/adhearsion/call_controller.rb:93:in `exec'
	/usr/local/rvm/gems/ruby-2.4.1/gems/adhearsion-2.6.4/lib/adhearsion/call_controller.rb:110:in `exec_with_callback'
	/usr/local/rvm/gems/ruby-2.4.1/gems/adhearsion-2.6.4/lib/adhearsion/call_controller.rb:104:in `block (2 levels) in bg_exec'
	/usr/local/rvm/gems/ruby-2.4.1/gems/adhearsion-2.6.4/lib/adhearsion/foundation/exception_handler.rb:5:in `catching_standard_errors'
	/usr/local/rvm/gems/ruby-2.4.1/gems/adhearsion-2.6.4/lib/adhearsion/call_controller.rb:103:in `block in bg_exec'
	/usr/local/rvm/gems/ruby-2.4.1/gems/celluloid-0.15.2/lib/celluloid/thread_handle.rb:13:in `block in initialize'
	/usr/local/rvm/gems/ruby-2.4.1/gems/celluloid-0.15.2/lib/celluloid/internal_pool.rb:100:in `block in create'
	/usr/local/rvm/gems/ruby-2.4.1/gems/logging-2.2.2/lib/logging/diagnostic_context.rb:474:in `block in create_with_logging_context'
[2018-06-04 15:11:41.794] INFO  Adhearsion::Router::Route: Call e916a44f-11f9-4e2c-8b3d-dabb0e6a634c routing completed. Hanging up now.
[2018-06-04 15:11:41.794] INFO  Adhearsion::Call: e916a44f-11f9-4e2c-8b3d-dabb0e6a634c@: Hanging up
[2018-06-04 15:11:41.802] INFO  Adhearsion::Call: e916a44f-11f9-4e2c-8b3d-dabb0e6a634c@: Call 1002 <SIP/1002> -> 1234 ended due to hangup_command (code 16)
[2018-06-04 15:11:41.804] ERROR Adhearsion::Call: e916a44f-11f9-4e2c-8b3d-dabb0e6a634c@: <Punchblock::ProtocolError> #<Punchblock::ProtocolError: name="option error" text="A final-timeout value is unsupported." call_id=nil component_id=nil>
	/usr/local/rvm/gems/ruby-2.4.1/gems/celluloid-0.15.2/lib/celluloid/responses.rb:29:in `value'
	/usr/local/rvm/gems/ruby-2.4.1/gems/celluloid-0.15.2/lib/celluloid/calls.rb:92:in `value'
	/usr/local/rvm/gems/ruby-2.4.1/gems/celluloid-0.15.2/lib/celluloid/proxies/sync_proxy.rb:33:in `method_missing'
	/usr/local/rvm/gems/ruby-2.4.1/gems/adhearsion-2.6.4/lib/adhearsion/call.rb:22:in `method_missing'
	/usr/local/rvm/gems/ruby-2.4.1/gems/adhearsion-2.6.4/lib/adhearsion/call_controller.rb:207:in `write_and_await_response'
	/usr/local/rvm/gems/ruby-2.4.1/gems/adhearsion-2.6.4/lib/adhearsion/call_controller.rb:219:in `execute_component_and_await_completion'
	/usr/local/rvm/gems/ruby-2.4.1/gems/adhearsion-2.6.4/lib/adhearsion/call_controller/record.rb:83:in `execute_recording'
	/usr/local/rvm/gems/ruby-2.4.1/gems/adhearsion-2.6.4/lib/adhearsion/call_controller/record.rb:46:in `run'
	/usr/local/rvm/gems/ruby-2.4.1/gems/adhearsion-2.6.4/lib/adhearsion/call_controller/record.rb:133:in `record'
	/usr/local/rvm/gems/ruby-2.4.1/gems/voicemail-1.1.1/lib/voicemail/call_controllers/voicemail_controller.rb:28:in `record_message'
	/usr/local/rvm/gems/ruby-2.4.1/gems/voicemail-1.1.1/lib/voicemail/call_controllers/voicemail_controller.rb:11:in `run'
	/usr/local/rvm/gems/ruby-2.4.1/gems/adhearsion-2.6.4/lib/adhearsion/call_controller.rb:146:in `invoke'
	/x2one/x2one-vm/app/call_controllers/simon_game.rb:9:in `run'
	/usr/local/rvm/gems/ruby-2.4.1/gems/adhearsion-2.6.4/lib/adhearsion/call_controller.rb:119:in `execute!'
	/usr/local/rvm/gems/ruby-2.4.1/gems/adhearsion-2.6.4/lib/adhearsion/call_controller.rb:94:in `block in exec'
	/usr/local/rvm/gems/ruby-2.4.1/gems/adhearsion-2.6.4/lib/adhearsion/call_controller.rb:93:in `catch'
	/usr/local/rvm/gems/ruby-2.4.1/gems/adhearsion-2.6.4/lib/adhearsion/call_controller.rb:93:in `exec'
	/usr/local/rvm/gems/ruby-2.4.1/gems/adhearsion-2.6.4/lib/adhearsion/call_controller.rb:110:in `exec_with_callback'
	/usr/local/rvm/gems/ruby-2.4.1/gems/adhearsion-2.6.4/lib/adhearsion/call_controller.rb:104:in `block (2 levels) in bg_exec'
	/usr/local/rvm/gems/ruby-2.4.1/gems/adhearsion-2.6.4/lib/adhearsion/foundation/exception_handler.rb:5:in `catching_standard_errors'
	/usr/local/rvm/gems/ruby-2.4.1/gems/adhearsion-2.6.4/lib/adhearsion/call_controller.rb:103:in `block in bg_exec'
	/usr/local/rvm/gems/ruby-2.4.1/gems/celluloid-0.15.2/lib/celluloid/thread_handle.rb:13:in `block in initialize'
	/usr/local/rvm/gems/ruby-2.4.1/gems/celluloid-0.15.2/lib/celluloid/internal_pool.rb:100:in `block in create'
	/usr/local/rvm/gems/ruby-2.4.1/gems/logging-2.2.2/lib/logging/diagnostic_context.rb:474:in `block in create_with_logging_context'

this is a clean adhearsion install using :
adhearsion -v 2.6.4
ruby -v 2.4.1
asterisk -v 13.17.2
all I put in the call controller was
  def run
     invoke(Voicemail::VoicemailController, mailbox: 123)
  end

Hi @avremy, I'm sorry your hitting this issue.  I think we accidentally broke voicemail support for Asterisk when we introduced FreeSWITCH support back in #10.
The problem is that we are defaulting the final_timeout setting to 2.  While this is ideal for FreeSWITCH, Asterisk should have no final_timeout specified at all - and of course will otherwise result in an error.
This is certainly a bug but in the interim, I can offer a cheap workaround: Explicitly set final_timeout to -1, which is the intended default when using Asterisk.
Using the guide on the Adhearsion Docs for configuring plugin values, you should be able to apply the necessary override - either as an environment or within your config/adhearsion.rb:
Setting the override as an environment variable:
AHN_VOICEMAIL_RECORDING_FINAL_TIMEOUT=-1

or within your config/adhearsion.rb:
Adhearsion.config do |config|

...

  config.voicemail.recording.final_timeout -1

...

end

Let me know if that resolves the issue for you for now.  And please leave this issue Open so that someone in the community can tackle a proper fix.

Hi @sfgeorge,
Thanks for the response, I have made the advised changes to no avail, I seem to be getting the exact same response.


Send vscode client configuration during initialization

Purpose

Send vscode client configuration during initialization. Expected behavior is soon after Language Server gets the initialization request, initial configurations need to be sync using workspace/didChangeConfiguration notification.

Fixes #21324
Check List

[x] Read the Contributing Guide
[ ] Updated Change Log
[ ] Checked Tooling Support (#)
[ ] Added necessary tests

[ ] Unit Tests
[ ] Spec Conformance Tests
[ ] Integration Tests
[ ] Ballerina By Example Tests

[ ] Increased Test Coverage
[ ] Added necessary documentation

[ ] API documentation
[ ] Module documentation in Module.md files
[ ] Ballerina By Examples

Codecov Report

Merging #21335 into master will not change coverage.
The diff coverage is 0%.

@@           Coverage Diff           @@
##           master   #21335   +/-   ##
=======================================
  Coverage   14.64%   14.64%
=======================================
  Files          51       51
  Lines        1400     1400
  Branches      214      214
=======================================
  Hits          205      205
  Misses       1179     1179
  Partials       16       16

Impacted Files
Coverage Δ

tool-plugins/vscode/src/diagram/activator.ts
0% <0%> (ø)
:arrow_up:

tool-plugins/vscode/src/extension.ts
0% <0%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


mdk: 1.2.10 -> 1.3.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/gnu-mdk/versions.
meta.description for mdk is: "GNU MIX Development Kit (MDK)"
meta.homepage for mdk is: "https://www.gnu.org/software/mdk/"
meta.changelog for mdk is: ""
Updates performed

Version update

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS

The tests defined in passthru.tests, if any, passed

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 1.3.0 with grep in /nix/store/g4mxp0rn6yah63i1xgn32rnq31w96bl1-gnu-mdk-1.3.0

directory tree listing: https://gist.github.com/abd0cfc7702c4754aec2789631813948

du listing: https://gist.github.com/bae315d80342b0b2197c8d0869e36fcb

Rebuild report (if merged into master) (click to expand)

4 total rebuild path(s)

1 package rebuild(s)

1 x86_64-linux rebuild(s)
1 i686-linux rebuild(s)
1 x86_64-darwin rebuild(s)
1 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
mdk

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/g4mxp0rn6yah63i1xgn32rnq31w96bl1-gnu-mdk-1.3.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A mdk https://github.com/r-ryantm/nixpkgs/archive/08529284988c6b7487e53ea0f8604e9c96652a35.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/g4mxp0rn6yah63i1xgn32rnq31w96bl1-gnu-mdk-1.3.0
ls -la /nix/store/g4mxp0rn6yah63i1xgn32rnq31w96bl1-gnu-mdk-1.3.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review 1

1 package built:

mdk

Maintainer pings

Result of nixpkgs-review pr 102578 run on x86_64-darwin 1

1 package built:

mdk


Support the github-release type of ansible for Ubuntu 14.04.

Already, this playbook supported localBuildinstall for Ubuntu 14.04.
But it isn't available the github-rerease of source type.
In addition, Fixed minor bugs of configuration file for upstart that were found during the deployment.

@adamschaub @stephenrlouie @rutsky

@eparis @adamschaub @rutsky @adamschaub @danehans

Validated with CoreOS and CentOS.
Structure is basically a 1:1 mirror of the CoreOS work

Successful deployment on Ubuntu 14.04 via [Packet] (https://www.packet.net/).

kubectl was not in the PATH but running /opt/bin/kubectl worked and successfully deployed a test app.

Was seeing some flannel/etcd networking issues when I tried to deploy via Vagrant + Virtualbox, but seemed fine for BM.


Vectorizing over None argument returns NaNs

Description
Hi,
I would like to do the following thing:
import jax.numpy as jnp

def f(x, y):
    if y is None:
        return x
    return x * y

f = jnp.vectorize(f, signature="(),()->()")

however, right now, if you pass it a None as the second argument, the returned value is NaN (or an array thereof).
f(jnp.ones(6), None)  # Returns Array([nan, nan, nan, nan, nan, nan], dtype=float32)
f(1., None)  # Returns Array(nan, dtype=float32)

I don't think this is a valid behaviour and the call should probably either fail explicitly (like jax.vmap) or return the "expected" value.
WDYT?
What jax/jaxlib version are you using?
jax v0.4.13
Which accelerator(s) are you using?
CPU
Additional system info
Google Colab
NVIDIA GPU info
No response

y is None will always be false for traced values, because None is a Python object and traced values will be jax.Array objects. When you vectorize a function, it works via vmap, which converts all mapped inputs to arrays.
If you want to use statements like y is None in your code, you need to make sure that y never participates in a JAX transformation. In your case, it might look like this:
f_wrapped = lambda x, y: jnp.vectorize(partial(f, y=y), signature="()->()")(x)

f_wrapped(jnp.ones(6), None)
# Array([1., 1., 1., 1., 1., 1.], dtype=float32)

@jakevdp I'm surprised to hear this, since the following code works:
@jax.jit
@partial(jax.vmap, in_axes=(0, 0))
def f(x, y):
    if y is None:
        return x

    return x + y

print(f(jnp.arange(3), None))                 # [0, 1, 2]
print(f(jnp.arange(3), jnp.arange(3)))  # [0, 2, 4]

My mental model had been that None is an empty pytree, so when it needs to be traced it gets convert to an empty pytree of tracers. Is this officially unsupported behavior that might change at some point?

Oh, thanks for pointing that out – I think the None conversion is not a feature of jnp.vmap, but rather a feature of jnp.vectorize, which does not accept general pytree arguments as inputs, because its API is modeled after np.vectorize and numpy does not have any notion of pytrees.

Ah okay, makes sense. I was worried I was about to need to change a lot of code :sweat_smile:

For what it's worth, your code doesn't work with np.vectorize either, becuase it also converts y to an array, so that y is None will return False:
In [1]: import numpy as np
   ...:
   ...: def f(x, y):
   ...:     if y is None:
   ...:         return x
   ...:     return x * y
   ...:
In [2]: f = np.vectorize(f, signature="(),()->()")

In [3]: f(None, 1)
---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
Cell In[3], line 1
----> 1 f(None, 1)

File ~/.local/share/virtualenvs/jax-LBbfM5ix/lib/python3.9/site-packages/numpy/lib/function_base.py:2372, in vectorize.__call__(self, *args, **kwargs)
   2369     self._init_stage_2(*args, **kwargs)
   2370     return self
-> 2372 return self._call_as_normal(*args, **kwargs)

File ~/.local/share/virtualenvs/jax-LBbfM5ix/lib/python3.9/site-packages/numpy/lib/function_base.py:2365, in vectorize._call_as_normal(self, *args, **kwargs)
   2362     vargs = [args[_i] for _i in inds]
   2363     vargs.extend([kwargs[_n] for _n in names])
-> 2365 return self._vectorize_call(func=func, args=vargs)

File ~/.local/share/virtualenvs/jax-LBbfM5ix/lib/python3.9/site-packages/numpy/lib/function_base.py:2446, in vectorize._vectorize_call(self, func, args)
   2444 """Vectorized call to `func` over positional `args`."""
   2445 if self.signature is not None:
-> 2446     res = self._vectorize_call_with_signature(func, args)
   2447 elif not args:
   2448     res = func()

File ~/.local/share/virtualenvs/jax-LBbfM5ix/lib/python3.9/site-packages/numpy/lib/function_base.py:2486, in vectorize._vectorize_call_with_signature(self, func, args)
   2483 nout = len(output_core_dims)
   2485 for index in np.ndindex(*broadcast_shape):
-> 2486     results = func(*(arg[index] for arg in args))
   2488     n_results = len(results) if isinstance(results, tuple) else 1
   2490     if nout != n_results:

Cell In[29], line 6, in f(x, y)
      4 if y is None:
      5     return x
----> 6 return x * y

TypeError: unsupported operand type(s) for *: 'NoneType' and 'int'

So I think jax.numpy.vectorize is arguably working as expected here.

You got the order of the arguments wrong, it would be f(1, None), which works fine with numpy.

Sorry I lost track of this, I think #18441 should fix the issue. Here are the results with that change:
In [1]: import jax.numpy as jnp
   ...:
   ...: def f(x, y):
   ...:     if y is None:
   ...:         return x
   ...:     return x * y
   ...:
   ...: f = jnp.vectorize(f, signature="(),()->()")

In [2]: f(jnp.ones(6), None)
Out[2]: Array([1., 1., 1., 1., 1., 1.], dtype=float32)

In [3]: f(1., None)
Out[3]: Array(1., dtype=float32, weak_type=True)


BUG: Fix bug in moi.init

The position of the group_id argument was moved and the rest of the code
was not updated to reflect this. This change set moves group_id so it is
the first argument.

This problem would cause the analysis waiting page to be blank.

I'd say to open a PR upstream, but I know your take on moi...

@wasade, I went over there first, but I saw this: https://github.com/biocore/mustached-octo-ironman/pull/19/files ... I've added a note in the code :beer:

Coverage remained the same at 79.43% when pulling 13fa06ebf11e5d6c20132b462f3452411e1c68d2 on ElDeveloper:moi-bug into 33e54041ad58b724969a7aa7fe7551746a151953 on biocore:master.

Tests are passing but it seems like coveralls has choked, anyone wants to have a look? This is blocking for the release.


Pokemon not showing up at all

As above

Do you see any pokemon when you type the same url on safari ?

I am having the same issue upon first opening the app. If I press home, then come back to the app, or close the app and start it again, it seems to fix the issue until the next time I start the app.

Sorry but I am having the same issue using iPokeGo on my iPad mini.
It works with the same URL on safari on the iPad mini and when I startup that on safari (or on my desktop), iPokeGo will starts to show pokemon but it just will not start scanning with iPokeGo alone.
How to trigger the scanning? Is there a button or swtich in iPokeGo to do so? Sorry but I cannot find one.
Thank you in advance for looking into this.

Same issue here. I can see the app actually hitting the server URL but will not display results most of the time.
After a while waiting, I'll see a timeout error on the console (probably from an old request?) and some pokemons will show on the map, but not all of them (validating against the actual server URL on desktop browser).

Fixed.
I close.


msgpack deserialisation much slower compared to json.net in Unity?

I am doing some experiments with deserialisation speed of msgPack vs. Json.NET in Unity3d. I have found that msgPack is substantially slower, to the order of 100 times. On the other hand, the serialisation speed is much faster than Json.NET.
I've described the code and question at this stack overflow post.
Is there something I am doing wrong? Or a manner in which to speed up the deserialisation?
Thanks.

Thank you for reporting! I don't have deep knowledge for JSON.NET in Unity3D and this slow operation should be investigated, but there is an optimization for it. Could you use pre-generated serializer (created via mpu.exe or SerializerGenerator class) instead of runtime generated serializer? The runtime serializer uses reflection to avoid code generation and unexpected JIT.

Thanks for the suggestion. Are there some examples for how to use the SerializerGenerator class?

https://github.com/msgpack/msgpack-cli/wiki/Xamarin-and-Unity#generate-serializers may help you.


ServiceBusContract class throws Exception on Storm cluster

On a Storm cluster if we are trying to access Azure Service bus, it fails with below exception.
Service or property not registered:  com.microsoft.windowsazure.services.servicebus.ServiceBusContract class com.sun.jersey.api.client.Client
This does not happen on our local Storm installation.

We had a similar issue in storm cluster when we are creating a shaded jar which includes below jar files with a bunch of other jars:
microsoft-azure-api-core-0.5.0.jar
microsoft-azure-api-servicebus-0.5.0.jar
There is a services resource file with same name "/META-INF/services/com.microsoft.windowsazure.core.Builder$Exports" in both the jar files
When the shaded jar is created, services entries from microsoft-azure-api-core-0.5.0.jar are overwritten with the service entries from microsoft-azure-api-servicebus-0.5.0.jar as the resource file name is same.
To fix this we used ServicesResourceTransformer class in maven-shade-plugin to merge the resource file from both the jars instead of overwriting as per below link:
http://maven.apache.org/plugins/maven-shade-plugin/examples/resource-transformers.html#ServicesResourceTransformer

thanks, above workaround solves the issue

hi arbarik, we are also facing the same issue.. After using shading, when we try to deploy the jar, we are getting "Exception in thread "main" java.lang.NoClassDefFoundError: com/sun/jersey/api/client/config/ClientConfig"
Could you please tell us how did u resolve this issue??


FAQ: Get proper syntax highlighting

LGTM... but add in the two build.gradle code samples in README.md, they should also be gradle syntax

#351 does that, so merging this one.

Yeah, I saw that right afterwards ;-)


User level environment variables are ignored

I'm deploying a .NET Core application twice to the same server, once for QA, and once for Production. Currently I have each one of them using a different local user to run the IIS App Pool and have set the ASPNETCORE_ENVIRONMENT variables to "qa" and "production" accordingly.
This doesn't appear to work, both sites run the production configuration which I understand is the default.
Things I've looked at so far:

I can log in as each of the users, and the variables are set correctly.
There is no system level env var set, though the user level vars are supposed to override it if there was.
I can see the processes running as the correct users in the task manager.
I have restarted the entire system after setting the env vars
It just appears that .NET is ignoring the environment variable.
I can set ASPNETCORE_ENVIRONMENT at the system level, and both sites pick it up and run with it. Doing it without a system variable simply doesn't work and makes both sites default to production

Has anyone else managed to get user level env vars working with a .NET core deployment?

Looks like aspnet specific question - did you try to ask there? https://github.com/aspnet/home

I wasn't sure where to ask, I'll definitely post it there, thanks!


fresh.gen.ts is no longer auto generating

I don't get any warnings or errors, it's just not updating fresh.gen.ts.
How do I make dev mode auto update fresh.gen.ts again?
{
    "imports": {
        "$fresh/"<EMAIL_ADDRESS>    }
}

Could you provide minimal reproduction repo?

apparently if you move dev.ts to a different dir, then it prevents fresh.gen.ts from auto generating. I moved dev.ts to my scripts dir, because arguably, it is a script.
So moving dev.ts back to the root dir fixed the issue. Perhaps this should be documented or something.

Closing as moving around dev.ts files is not a supported scenario. Fully agree that it is a bit fragile, but it's a necessary evil to make the "no build mode" work.
Closing, as there is nothing for us to do here.


Enable LogAPITestCase test

Description:
$subject.

https://github.com/ballerina-platform/ballerina-lang/pull/25349 resolves the issue. Therefore closing it.


Extension causes high cpu load

Issue Type: Performance
Extension Name: code-spell-checker
Extension Version: 1.6.10
OS Version: Windows_NT x64 6.3.9600
VSCode version: 1.32.3

:warning: Make sure to attach this file from your home-directory: C:\Users\Kevin\streetsidesoftware.code-spell-checker-unresponsive.cpuprofile.txt :warning:
Find more details here: https://github.com/Microsoft/vscode/wiki/Explain:-extension-causes-high-cpu-load

Did this happen just after the VS Code Update?

Would you please attach the file?

I am hoping this is fixed with 1.7.10. I have bundled the extension as described by
Explain: extension causes high cpu load · code-loading


Where can I get the evaluation script for Gigaword dataset?

The provided link seem to be dead.

You can find it here.

You can find it here.

Thanks you so much! I am really need it right now.

10/30/2020 03:17:42 - INFO - __main__ -   ***** Evaluation:  ***** Traceback (most recent call last):   File "eval/eval.py", line 341, in <module>     main()   File "eval/eval.py", line 299, in main     p = Pool(num_pool)   File "/home/quang/miniconda3/envs/prophet/lib/python3.6/multiprocessing/context.py", line 119, in Pool     context=self.get_context())   File "/home/quang/miniconda3/envs/prophet/lib/python3.6/multiprocessing/pool.py", line 167, in __init__     raise ValueError("Number of processes must be at least 1") ValueError: Number of processes must be at least 1
I got this error when running python eval/eval.py --pred gigaword/sort_hypo_ck7_pelt1.0_test_beam4.txt --gold gigaword/original_data/test.tgt.txt --perl > score.txt. It seems to be len(eval_fn_list) return 0 at line 299 of eval.py when executing the scripts. Any suggestions?


That script doesnt work properly on nethunter. And even with email and password still no information came on command line.
Get it fixed just to work on command line.

kime emir veriyon sen amına koyim?


Add additional tutorials before release

[x] How to optimize a module
[x] How to work with imported morphologies
[ ] (How to use the exposed API)
[ ] How to visualize things
[ ] using the graph interface (once implemented)

Feel free to comment on these or leave additional suggestions below.

I think we can close this for now, we could always have more tutorials :)


Add width props to portalled components

AlertDialog, Dialog

Add width, minWidth, maxWidth props to the Content part.
Set maxWidth="600px" by default on the Content part.

[Upgrade guide] This slightly larger than the previous 580px value. If you use dialogs that need a different width, override maxWidth with your own value.

Popover, HoverCard

Add width, minWidth, maxWidth, height, minHeight, maxHeight props to the Content part.
Set maxWidth="480px" by default on the Content part.

[Upgrade guide] If you use popovers and hover cards that need a wider width, override maxWidth with your own value.

Tooltip

Add width, minWidth, maxWidth props.
Set maxWidth="200px" by default on the tooltip content

[Upgrade guide] If you use tooltips that need to be wider, override maxWidth with your own value.

I think I figured out what the issue is with this, let me know if you want to hop on a call.

I've just pushed the fix, but let me know if you'd prefer to catchup on it.


NLsolve dependency not declared in project.toml

After adding Utilities.jl with root finding functionality i get a LoadError when using NetworkDynamics.
NLsolve must be added as a project dependency to NetworkDynamics to fix the error.

I've added a PR for this: https://github.com/FHell/NetworkDynamics.jl/pull/3


unknown enum constant warning during compilation

When I compile a project using http-remoting1 and/or http-remoting2, this warning appears:
warning: unknown enum constant ImplementationVisibility.PACKAGE reason: class file for org.immutables.value.Value$Style$ImplementationVisibility not found

It happens when the project is not using the Immutables processor.
This has been fixed in other projects like so:
https://github.com/palantir/docker-compose-rule/issues/96
There was also an open PR on this repo a while ago:
https://github.com/palantir/http-remoting/pull/117
Is it possible to fix this in http-remoting 1 and 2?

Here are the errors/warnings we're getting:
~/.gradle/caches/modules-2/files-2.1/com.palantir.remoting1/jaxrs-clients/1.0.3/2b1d0072a41088d14b718ca21dc93ffcad7350a8/jaxrs-clients-1.0.3.jar(com/palantir/remoting1/clients/ClientConfig.class): warning: Cannot find annotation method 'visibility()' in type 'Style': class file for org.immutables.value.Value not found
warning: unknown enum constant ImplementationVisibility.PACKAGE
  reason: class file for org.immutables.value.Value$Style$ImplementationVisibility not found
~/.gradle/caches/modules-2/files-2.1/com.palantir.remoting2/jaxrs-clients/2.0.0/d9b234c67f655994f916bc1c62eddaf628541c04/jaxrs-clients-2.0.0.jar(com/palantir/remoting2/clients/ClientConfig.class): warning: Cannot find annotation method 'visibility()' in type 'Style'
warning: unknown enum constant ImplementationVisibility.PACKAGE
~/.gradle/caches/modules-2/files-2.1/com.palantir.remoting2/jaxrs-clients/2.0.0/d9b234c67f655994f916bc1c62eddaf628541c04/jaxrs-clients-2.0.0.jar(com/palantir/tokens/auth/AuthHeader.class): warning: Cannot find annotation method 'visibility()' in type 'Style'
warning: unknown enum constant ImplementationVisibility.PACKAGE
~/.gradle/caches/modules-2/files-2.1/com.palantir.remoting2/jaxrs-clients/2.0.0/d9b234c67f655994f916bc1c62eddaf628541c04/jaxrs-clients-2.0.0.jar(com/palantir/tokens/auth/AuthHeader.class): warning: Cannot find annotation method 'jdkOnly()' in type 'Style'
~/.gradle/caches/modules-2/files-2.1/com.palantir.remoting2/jaxrs-clients/2.0.0/d9b234c67f655994f916bc1c62eddaf628541c04/jaxrs-clients-2.0.0.jar(com/palantir/tokens/auth/BearerToken.class): warning: Cannot find annotation method 'visibility()' in type 'Style'
warning: unknown enum constant ImplementationVisibility.PACKAGE
~/.gradle/caches/modules-2/files-2.1/com.palantir.remoting2/jaxrs-clients/2.0.0/d9b234c67f655994f916bc1c62eddaf628541c04/jaxrs-clients-2.0.0.jar(com/palantir/tokens/auth/BearerToken.class): warning: Cannot find annotation method 'jdkOnly()' in type 'Style'
error: warnings found and -Werror specified
1 error
10 warnings

Hej,
Definitely up for fixing this in remoting 2, but I'm a little hesitant to make further 1.x.x releases except for critical bugs that cannot be fixed through upgrading to 2.x.x. Do you want to make a PR to this effect, Ben?
R.

I'll see if I can get around to it. I still haven't got around to the daemon PR on sls-packaging either.

Cool, thanks!
On Tue, Feb 21, 2017 at 7:51 AM Ben Grabham<EMAIL_ADDRESS>wrote:

I'll see if I can get around to it. I still haven't got around to the
daemon PR on sls-packaging either.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/palantir/http-remoting/issues/361#issuecomment-281384194,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGOdwZhUxWTPLuh9sdQGgGPa3MKf81Rpks5rewgAgaJpZM4MHcsy
.

fixed in #365

i don't know a good way to fix this, the few things I tried broke downstream projects

reverting in #372

Confirming I can still repro this at 4.5.1-9-g4849a54:
$ ./gradlew compileJava

> Task :conjure-java-jaxrs-client:compileTestJava
warning: unknown enum constant ImplementationVisibility.PACKAGE
  reason: class file for org.immutables.value.Value$Style$ImplementationVisibility not found
warning: unknown enum constant ImplementationVisibility.PACKAGE
warning: unknown enum constant ImplementationVisibility.PACKAGE

No longer repros when running ./gradlew classes on 4.37.0-1-ga64984e.


Modern page header configurator with color picker property control

Q
A

New sample?
yes

What's in this Pull Request?
Sample which uses an Office UI fabric color picker in the property pane, and allows configuration of the header/banner of a modern site page.

@wobba,
Thanks for having already signed the Contribution License Agreement. Your agreement was validated by Microsoft. We will now review your pull request.
Thanks,
Microsoft Pull Request Bot

thx Mikael, but unfortunately we can't take this contribution in SPFx sample gallery, since even though it nicely demonstrates usage of custom controls and how you can modify page using dom structure, it's not really what we want to promote in the future in context of SPFx. We will release page and list customization support for SPFx, which will enabled JS embedding capabilities as more structural customization story. Even though there would be value in this sample before the new customization options are available, it might confuse the community.
We do absolutely acknowledge that this is pretty similar model as what has been demonstrated in the classic PnP side, but at the same time we want to introduce more structural and more future proven ways to achieve same outcome with the upcoming customization options.

I completely understand, and expected. I'll re-work the sample to show off the property pane working against content in the wp instead. And I'll publish this hopefully short-lifespan part at my own repo :)


Add colour coding for village prefix

Create custom colour from website (village-1, village-2, village-3, etc.)
https://tailwindcss.com/docs/customizing-colors
style individual options using classnames
change the rendertable to tailwind, do not use style
use format string for dynamic colour change

Added #118
Note: Both tailwind.config.js and constants.js needs to be edited every time we add a new village (tailwind has issues detecting dynamic custom colours in the config file)


Some buttons are not clickable again on the new version of Flet.

Everything is OK on 0.5.0.dev1252 but some buttons are not clickable (they only work when first clicked) on 0.5.0.dev1290 and 0.6.0.dev
Code example to reproduce the issue:
Ahh.. sorry... I can't write a simple example to show this issue..
Maybe watch the video below..?

https://github.com/wangzm5773/FileSharing/blob/main/example.mp4
Flet version (pip show flet):
Name: flet
Version: 0.5.0.dev1290
Summary: Flet for Python - easily build interactive multi-platform apps in Python
Home-page:
Author: Appveyor Systems Inc.
Author-email<EMAIL_ADDRESS>License: Apache-2.0
Location: C:\Program Files\Python312\Lib\site-packages
Requires: flet-core, httpx, oauthlib, packaging, watchdog, websocket-client, websockets
Required-by:

Operating system:
Windows 11
Additional environment details: -

Link to example is broken.

The issue has been fixed and fix will be available in Flet 0.5.2.
You can try the fix right now by upgrading to pre-release version of Flet: pip install flet --pre --upgrade.
Let me know how it worked.


Update package.json

aaasdasdaaaaSigned-off-by: Per Ploug<EMAIL_ADDRESS>One-line summaryaa
kkaaaaa

Issue : #1234 (only if appropriate)

Description
A few sentences describing the overall goals of the pull request's
commits.
aaaaa
Types of Changes
What types of changes does your code introduce? Keep the ones that apply:

New feature (non-breaking change which adds functionality)
Bug fix (non-breaking change which fixes an issue)
Configuration change
Refactor/improvements
Documentation / non-codeaaaa

Tasks
List of tasks you will do to complete the PR

[ ] Created Task 1
[ ] Created Task 2
[ ] To-do Task 3

Review
List of tasks the reviewer must do to review the PR

[ ] Tests
[ ] Documentation
[ ] CHANGELOG
qqqaaa

Deployment Notesasasd
These should highlight any db migrations, feature toggles, etc.aaa
aaaaaasssaasaaaaaaaaaaaasdasdasdaasdaasdasdasdaaaa

asdsassa


[contour] Changes CLI parameters output to to in all cases except for capture command.

This is how the CLI syntax would look like with this change:

/cc @whisperity

Can we call it to FILE instead of to STRING?

I think the capture command can be aligned with this too.


[WIP] Migrate dashboard to rtk and cleanups

Notes for Reviewers
This PR related to #9985

Add necessary rtk queries
Migrate to rtk
remove unnecessary useEffects
Cleanups of dead code and enhancement

Signed commits

[ ] Yes, I signed my commits.

@senali-d how's this looking so far?


Detect Corrupt .docx file

Hi all,
Can you please help me i figuring this out.
While reading a .docx file from python-docx (docx.Document(file_name)), how can I detect if the docx file is correct or corrupt.
I've seen cases where these input docx files are either empty or corrupt.
How can I flag these cases using this library.

Please post support questions on StackOverflow using the python-docx tag
(https://stackoverflow.com/questions/tagged/python-docx). This issues list is reserved
for suspected bugs and feature requests.
There is no current support for this in python-docx. The only reliable way I've found to detect this is by opening the file using Word. Also note that a given file may open in say, LibreOffice but not in Word or GoogleDocs. The acceptance/repair criteria is specific to the client and is not described in the .docx file spec.


Adding method to sanitize TXT records to ensure double quoted

Addresses #1
Adding tests around TXTSanitize, both in integration and in txtsanitize package.

Hello! Is there a plan to merge this PR? This PR will solve the problem of ACME when using DNS authentication, so I am looking forward to merge it soon. Thank you!

As this has been tested by @nickygerritsen in #1 i believe this is good to go. ping @nathanejohnson @mholt

Looks good - thank you for maintaining this!


The ability to select specific episodes in Series

How can the app be designed so that for example with One Piece which is in the episodes in the 1000s
I can go to a speicfic older episode easier.
Selecting specific episodes for series needs better user interfacing. Besides this great app

Press prog+ or prog- to jump page

Many android remote devices don't have prog+ or prog- to jump page options. Excellent app by the way.

Will think new method, but still no plan for now.


⚠ Bofrost.de has degraded performance

In 6560714, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1782 ms

Resolved: Bofrost.de performance has improved in 66f3fb9 after 48 minutes.