Restructure hydro power plant and related classes #78

Partially resolves #78
New classes:

hydro power unit: A hydro power unit is a power generating unit that uses hydro energy. (analogous to wind)
relation: has_part some water turbine
hydro powerplant: A hydro powerplant is a powerplant having an aggregate of hydro power generating units as its power generating units parts.
'participates in' some 'hydroelectric energy transformation'

run of river powerplant: A run of river powerplant is a hydro powerplant that uses the momentarily available hydro energy of a river. It has either no reservoir or just has a small one with a maximum of 24 hours of storage. (turbine + dam + river) plus editor note
hydro storage powerplant: A hydro storage powerplant is a hydro powerplant that uses the available hydro energy of a stationary water storage. (turbine + dam + reservoir) plus editor note
alternative term: storage powerplant (turbine + dam + river)

pumped hydro storage powerplant: A pumped hydro storage powerplant is a hydro storage powerplant which has some pumps.

open-loop pumped hydro storage powerplant: An open-loop pumped hydro storage powerplant is a pumped hydro storage powerplant that has natural inflows.
closed-loop pumped hydro storage: A closed-loop pumped hydro storage powerplant is a pumped hydro storage powerplant that has no natural inflows.

pump: A pump is an energy converting device that converts energy into kinetic or potential energy of a fluid.

Redefinitions:

water turbine: A water turbine is a turbine converting potential energy and kinetic energy of water into rotational energy.

Delete classes as it is basically the same process, only the power plants differ:

hydroelectric dam energy transformation
run-off-river energy transformation

This looks fine to me. Maybe a small addition: pumped hydro storage powerplant has part some pump. This seems to be intended by the definition, so should add it as an axiom as well.

Thank you, I added this axiom now.

Thanks for the first approval. As this is quite a large pull request covering a lot of thing I'd like to get a second approval before merging.


Update functions-app-settings.md

Added information that file share needs to be created prior setting WEBSITE_CONTENTSHARE value.

@ggailey777
Can you review the proposed changes?
When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

Sent reminder to ggailey777

emailed author

@ggailey777 I'm asserting it, because it is NOT created automatically, you need to create it manually. Try running following Bicep code:

param location string = resourceGroup().location
param storageAccountName string = 'blob${uniqueString(resourceGroup().id)}'
param hostingPlanName string = 'logicapp-asp-${uniqueString(resourceGroup().id)}'
param logicAppName string = 'logicapp-${uniqueString(resourceGroup().id)}'

resource storageAccount 'Microsoft.Storage/storageAccounts@2022-09-01' = {
  name: storageAccountName
  location: location
  sku: {
    name: 'Standard_LRS'
  }
  kind: 'StorageV2'
  properties: {
    publicNetworkAccess: 'Enabled'
    allowBlobPublicAccess: false
    networkAcls: {
      bypass: 'None'
      defaultAction: 'Allow'
    }
  }
}

var storageConnectionString = 'DefaultEndpointsProtocol=https;AccountName=${storageAccountName};EndpointSuffix=${environment().suffixes.storage};AccountKey=${storageAccount.listKeys().keys[0].value}'

resource hostingPlan 'Microsoft.Web/serverfarms@2022-09-01' = {
  name: hostingPlanName
  location: location
  sku: {
    name: 'WS1'
    tier: 'Standard'
  }
  properties: {}
}

resource logicApp 'Microsoft.Web/sites@2022-09-01' = {
  name: logicAppName
  location: location
  kind: 'functionapp,workflowapp'
  identity: {
    type: 'SystemAssigned'
  }
  properties: {
    serverFarmId: hostingPlan.id
    siteConfig: {
      connectionStrings: []
      cors: {
        allowedOrigins: [
          '*'
        ]
      }
      ftpsState: 'Disabled'
      minTlsVersion: '1.2'
      use32BitWorkerProcess: false
      netFrameworkVersion: '6.0'
      functionsRuntimeScaleMonitoringEnabled: false
      vnetRouteAllEnabled: true
    }

    httpsOnly: true
  }
}

resource logicAppSettings 'Microsoft.Web/sites/config@2022-09-01' = {
  parent: logicApp
  name: 'appsettings'
  properties: {
    APP_KIND: 'workflowApp'
    AzureFunctionsJobHost__extensionBundle__id: 'Microsoft.Azure.Functions.ExtensionBundle.Workflows'
    AzureFunctionsJobHost__extensionBundle__version: '[1.*, 2.0.0)'
    AzureWebJobsStorage: storageConnectionString
    WEBSITE_CONTENTAZUREFILECONNECTIONSTRING: storageConnectionString
    WEBSITE_CONTENTSHARE: toLower(logicAppName)
    WEBSITE_CONTENTOVERVNET: '1'
    FUNCTIONS_EXTENSION_VERSION: '~4'
    FUNCTIONS_WORKER_RUNTIME: 'node'
    WEBSITE_NODE_DEFAULT_VERSION: '~18'
  }
}

and deployed Logic App is NOT working/runnig correctly (e.g. you cannot add any workflow) unless you ad this part before Logic App creation:
resource fileShares 'Microsoft.Storage/storageAccounts/fileServices@2022-09-01' existing = {
  name: 'default'
  parent: storageAccount
}

// create file share for logic app (created automatically when deploying manually in Azure Portal, in IaC need to create it manually)
resource logicAppFileShare 'Microsoft.Storage/storageAccounts/fileServices/shares@2022-09-01' = {
  name: logicAppName
  parent: fileShares
  properties: {
    accessTier: 'TransactionOptimized'
    enabledProtocols: 'SMB'
  }
}

@ggailey777 @Court72 @denrea @American-Dipper #please-open. Thank you!

@tomasszabo thanks for providing the additional context. There must be something specific to your deployment that is causing an issue, because I've never seen any ARM or Bicep file that explicitly creates the file share required by the Functions runtime.  I wonder if Logic Apps is trying to use it before it gets created by Functions, or something. Let me see if I can get help from the Functions ARM/Bicep expert. #hold-off

@ggailey777 this snippet is a part of bigger infrastructure deployment example in my repository. I've experienced this problem when creating Function/Logic App in secure environment using private VNETs.
I've found the hack of creating file share before function app in the Function App documentation of Restrict your storage account to a virtual network > During function app creation and when you switch to Deployment templates tab there is a link to quickstart templates where in the main.bicep is the creation of file share before function app creation.
And my improvement to the documentation would like just to highlight that fact, so it is not hidden in the examples.

Pull requests can't be reviewed when there are merge conflicts. After you resolve the conflicts, you can sign off again.  The file in question is concepts-single-to-flexible.md.
For help with resolving merge conflicts, refer to the Contributor Guide, or try the Platform Support channel in Teams.

@tomasszabo thanks for the additional information. You mentioned virtual networks, and I do know that there are "nuances" when using virtual networks with the dynamic scale file share stuff. If we can nail your issue down better, it would probably deserve a discussion in the networking docs, or at least a much more detailed and specific note that what you provided, which is generally incorrect in most cases.
Adding @im-samz who handles the networking stuff for Functions to see if he has any suggestions. #assign:im-samz

@tomasszabo it looks like your assertions about creating the share are correct when deploying to a secured VNET. I found the share create step in the canonical template for a fully secured deployment. 🎯
This information was missing from our documentation, so thank you very much for calling it out and staying with us! As a reward, I'll include your commit in the fix to add this information (although it will get rewritten 😉.)

Your commit is now in the linked PR. Thanks again! #please-close


docs(toggle-switch): add docs for toggle switch component

:tada: This PR is included in version 0.2.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


[sil-func-extractor] Add a high level API for DeadFunctionElim and have sil-func-extractor use it.

Title says it all.

@swift-ci Please smoke test and merge


Map server - Read from real map

#64 adds a basic implementation for a map server.
This should eventually be replaced with a module that reads an actual image with metadata.
For a first version, reading an image from app resources would do.

Duplicate of #121


Prevents option for password protection

This is an extremely common option (available on all Mac screensavers as far as I know) but I'll make the request explicit: I'd like to make it so I put my screensaver on, and after X seconds with the screensaver on, it would require my password to regain access to the desktop.

The option to "Require password [ immediately | 5 seconds | etc ] after sleep or screen saver begins" is available under the Security & Privacy preference pane in OS X. It's implemented at a system level, not within the screensavers themselves.
Try it yourself. Just tested it myself here and it works okay with this screensaver for me.

I'm familiar with how it works, and I haven't changed that setting. This screensaver just isn't behaving the same as other screensavers for me. Maybe this is just local to my machine?

It's asking for my password as expected. I have "Require password 5 seconds after sleep or screen saver begins" set, and the password dialogue comes up as expected in that case.
Extra cool bit: the video continues playing behind the prompt's blur overlay, so the blurred colors continue to shift slowly as I type my password in. Nice.
I'm running OS X 10.11.1.

@staringispolite what OS X version are you on? I'm on the latest El Capitan and it's been working for me.

I'm on the latest version of Yosemite.
I went in to check my password settings, and it had changed to "require password after 1 minute" instead of the previous setting "5 seconds". Even as I'm writing this, I'm aware it sounds like I'm making this up. But there is no way it was set to 1 minute for long, as I use this computer for work and made sure it locks quickly.
It's possible a recent OS update reset this setting, and I just hadn't noticed until changing screen savers. Feel free to resolve if it's not reproducible.


openwhisk cost calulcator use raw duration

the cost estimator should use the duration field, as it may encode some internalized cost semantics (e.g. the provider may choose to "eat" certain costs, and pass only a subset of wallclock time on to the user's bill)

https://github.com/IBM/kui/blob/master/plugins/plugin-openwhisk/src/lib/views/sidecar/activations.ts#L71
notice how that line uses a duration variable that has been assigned a value of end-start, rather than using the given duration field of the activation entity. we should still keep that duration field as it is, because i think it might be used elsewhere in the view. but, for the purposes of the cost estimate, we need to use the raw duration field


Move each type of object to process into a separate function.

Move each type of object to process into a separate function.
EX: Skip, Simple, Index Iterable, Full Object.
Then the decision for what to do in the template tag would be more like:

if skip:
    pass
elif simple:
  do_simple()
elif index work:
  do_index
elif full_object:
  do_full object

I think that this is done. Or done enough. Much better than it was, so, closing out.


Not sure if this is an issue: autocomplete bug in min.js version?

Hi,
Great ng-component, I love how feature rich it is and how easily customizable! (I'd like to tip you, but gratipay is for sustainable tipping, not one-off tips unfortunately. Flattr does one-offs I think, if you'd create a Flattr account i'd Flattr you!)
I might have found a bug:
When I use the min.js version, my autocomplete function throws an error:
http://s23.postimg.org/5so4bowe3/Screen_Shot_2015_04_26_at_01_39_52.png
while if I use the non-minimized version it 'just works':
http://s21.postimg.org/pdu9cspkn/Screen_Shot_2015_04_26_at_01_40_54.png
I don't mind using the regular version, so low priority :)
The version I use is the latest, ng-tags-input#2.3.0

That's really odd. What version exactly of Angular are you using?

Can this issue be closed?

Not sure, will test later tonight! sorry for delay in answering, haven't been actively working on this project.

This issue was selected to be spring-cleaned by a script. More information can be found here.
If anyone thinks this was a mistake and this issue should be reopened, please leave a message below explaining why. Before doing so, please consider reading the CONTRIBUTING file.


Remove unanswered tag from bootstrap modal question

This pull request includes a

[x] Bug fix
[ ] New feature
[ ] Translation

The following changes were made

Removed the unanswered question banner for an answered question

This question is answered, but not marked as such in the docs

This question has a short answer, but it doesn't cover all of the common cases and it doesn't actually cover why the dropdownParent option works for most people. The tag was left in for anyone who feels like expanding the documentation within that section.


Invalid comparison tuple and str comparison in xcode_emulation.py

Hi everyone,
This is not urgent, as I've found a workaround, albeit a hacky one, which I've expounded upon below. Thanks in advance for any investigation.
Best,
Chris

Node Version:

$ node -v
v13.6.0
$ npm -v
6.13.6
$ node-gyp --version
v6.1.0

Platform:

$ sw_vers
ProductName:	Mac OS X
ProductVersion:	10.15.4
BuildVersion:	19E287

Compiler:

$ cc -v
Apple clang version 11.0.0 (clang-1<IP_ADDRESS>)
Target: x86_64-apple-darwin19.4.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin

Module: npm i appmetrics

Verbose output (from npm or node-gyp):
Traceback (most recent call last):
  File "/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py", line 50, in <module>
    sys.exit(gyp.script_main())
  File "/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 554, in script_main
    return main(sys.argv[1:])
  File "/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 547, in main
    return gyp_main(args)
  File "/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 532, in gyp_main
    generator.GenerateOutput(flat_list, targets, data, params)
  File "/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/make.py", line 2215, in GenerateOutput
    part_of_all=qualified_target in needed_targets)
  File "/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/make.py", line 794, in Write
    extra_mac_bundle_resources, part_of_all)
  File "/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/make.py", line 900, in WriteActions
    env = self.GetSortedXcodeEnv()
  File "/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/make.py", line 1885, in GetSortedXcodeEnv
    additional_settings)
  File "/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py", line 1616, in GetSortedXcodeEnv
    additional_settings)
  File "/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py", line 1527, in _GetXcodeEnv
    if XcodeVersion() >= '0500' and not env.get('SDKROOT'):
TypeError: '>=' not supported between instances of 'tuple' and 'str'
gyp ERR! configure error
gyp ERR! stack Error: `gyp` failed with exit code: 1
gyp ERR! stack     at ChildProcess.onCpExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:351:16)
gyp ERR! stack     at ChildProcess.emit (events.js:321:20)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)
gyp ERR! System Darwin 19.4.0
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/ccovney/Workspaces/itc-registry-service/src/node_modules/appmetrics
gyp ERR! node -v v13.6.0
gyp ERR! node-gyp -v v5.0.5
gyp ERR! not ok

Interestingly, that problematic python function on the ultimate line of the stack trace, namely XcodeVersion() executed on line 1527 returns a tuple, e.g. ('1100', '') and tries to compare it to a string, e.g. '0500', which clearly causes the >= comparison to fail as described in the error message.
Work-around: (Very hacky); On line 1527 of the referenced py file, simply change XcodeVersion() to XcodeVersion()[0] which accesses the version string value.

This was fixed by https://github.com/nodejs/node-gyp/pull/1939 and released in node-gyp v5.0.6 (the verbose output shows node-gyp v5.0.5 in use).

gyp ERR! node-gyp -v v5.0.5

@richardlau @cclauss damn it, rookie mistake. thanks for catching that. i foolishly assumed my global installation was being leveraged, but the module was using an outdated ver. thanks folks!


Add an All Releases page for CockroachCloud

Currently, we add each month's release as an item in the sidebar. Now that we've been documenting CC releases for almost a year, I think it makes sense to only show the most recent month's release notes and move the rest to an "All Releases" page, similar to what we do for CRDB.
I would like this page to be as automated as possible, which I think would require creating a version of releases.yaml to generate the table, show the latest release, the release dates, and a link to the relevant release notes.
@jseldess is the above assumption correct? Once the yaml file is created, how do we specify what page we want it to generate so we can link to it in the sidebar?

@gemma-shay, this might be a good small project for you to take on that would help streamline our CC release notes process. Let's discuss next week!

@gemma-shay, this might be a good small project for you to take on that would help streamline our CC release notes process. Let's discuss next week!


Add Co2-Market exchange and Fuel Market exchange

Description of the issue
Missing terms.
Ideas of solution
Market exchange is the parent class.
Suggestion for definition Co2-Market exchange: An specialized energy exchange where emissions are traded, specifically carbon dioxide.
Suggestion for definition Fuel Market exchange: An specialized energy exchange where fuels like oil, coal, nuclear, renewable energy, and natural gas are traded.
Workflow checklist

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

I am aware that

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

Reads good to me. @jannahastings ?

Question: are emissions traded or rather emission certificates (i.e. EU ETS emission certificates)?
Then, how about: CO2 market exchange: An energy exchange where CO2 emission certificates are traded.

We defined emissions as a process and I don't think that a process can be traded. So the trade of emission certificates sounds better to me. Probably, we should define a class emission certificate and the European Union Allowance used in the EU ETS would be a subclass.

This issue is currently not linked to any milestone. Any chance that we solve this issue within one week? If so it could go in the release milestone 1.4.0, else later milestone should be linked to a later milestone.

I liked your suggestion above @l-emele and think this could be the way ahead - what do the others @OpenEnergyPlatform/oeo-domain-expert-energy-modelling think?

I also like the idea to include emission certificates as a new class and the latest definition suggestion of CO2 market exchange.

Any suggestions for a definition of a class emission certificate?

What about: An emission certificate is a license that permits a specific emission quantity value. An emission certificate can be traded at a CO2 market exchange.
We don't have yet emission quantity value, but I open a separate issue for that.

Reads good. Should we also add who is then permitted this emission quantity value=
An emission certificate is a license that permits its holder/owner a specific emission quantity value. An emission certificate can be traded at a CO2 market exchange.

That doesn't hurt. However it might be more suited at the parent class (licence).
Proposal for the emission certificate in the EU ETS: An EU Allowance (EUA) is an emission certificate used in the European Union Emissions Trading System (EU ETS). It permits the emission of a CO2 equivalent quantity of 1 ton.

Change to certificates sounds right to me. Last proposal about the CO2 equivalent quantity as well.

What about: An emission certificate is a license that permits a specific emission quantity value. An emission certificate can be traded at a CO2 market exchange.

I like this definition as well. Only a small change: I would suggest to use emission value (the process attribute) instead of emission quantity value, because it is more directly connected to the emission this licence is about.
This would result in An emission certificate is a license that permits its holder/owner a specific emission value. An emission certificate can be traded at a CO2 market exchange.

I understand your point, but an emission certificate is always about a specific quantity, usually 1 ton of CO2 or CO2 equivalent.
What I like about the rather general definition for emission certificate that it is not limited to CO2 or greenhouse gases. It can cover other pollutants, too. An example is this historic emissions trading scheme in the USA where the traded pollutant was sulfur dioxide (SO2).

but an emission certificate is always about a specific quantity, usually 1 ton of CO2 or CO2 equivalent.

I agree with that. I only wanted to find the right way to express this. As I see it, an emission would be the process of i.e. emitting 1 ton of CO2, the emission value would then be the quantity "1 ton of CO2" (what we want to express here) and the emission quantity value would the combination of the number 1 and the unit ton. That's not a huge difference since they are all interconnected and doesn't have any influence on how general the definition is in the end.

Okay, I got it :)

The discussion stalled but I think we have two definitions that we can implement:

emission certificate: An emission certificate is a license that permits its holder/owner a specific emission value. An emission certificate can be traded at a CO2 market exchange.
EU allowance: An EU Allowance (EUA) is an emission certificate used in the European Union Emissions Trading System (EU ETS). It permits the emission of a CO2 equivalent quantity of 1 ton.

Which relations will we use to connect emission certificate with emission value?

Which relations will we use to connect emission certificate with emission value?

is about is a good candidate here.
We haven't discussed the other half of this issue yet:
fuel market exchange: A market exchange where fuels like oil, coal, nuclear, renewable energy, and natural gas are traded.
If there isn't any dissent about this concept, we could implement it as well.

For me, that looks ok and could be implemented.

I can do that.


Ecosystem page: add "Redux Ecosystem Links" entry

Add Redux Ecosystem Links to the "More" section
Add both "Links" entries to the intro section for visibility.

And this is what I get for abusing my newfound powers :)
Sure, will do.

Actually, nitpick on your second point: this isn't a reference to the ReactJS library, this is a reference to my links repo's name.  The title in my repo's readme is "React/Redux Links", indicating that it has links on both those topics.  I suppose I should probably make that consistent in here.

Also, what is the preferred naming for the ReactJS package, for when I do actually refer to it in text?

The title in my repo's readme is "React/Redux Links", indicating that it has links on both those topics.

Let’s use it then. I meant that we use lower-case-names when we refer to repo names but in this case we don’t capitalize them. Pascal-With-Dashes kinda looks weird to me.

Also, what is the preferred naming for the ReactJS package, for when I do actually refer to it in text?

Which one? https://github.com/reactjs/react-redux is “React Redux”, like the title on the repo page says.

Gotcha.  Am I allowed to make direct edits to the file without a PR?

Sure!

Cool.  I'll save that for small fix-ups, like this example - larger edits are worth the PR record.  Like, say, #1571.
Also, out of curiosity: what's the reasoning behind having the "docs:publish" command always create a new repo for the output, and force-push that to the gh-pages branch?  No reason to maintain history?

I don’t really remember. Most likely I stole this from some other repo that used Gitbook. Yeah history doesn’t matter there.


Override Roguelike Dungeon Defaults to Discourage Stone Age Players

Make the 1st floor leather-only and add modded armor to mobs. Maybe add concussion creeper spawners on B3 and below.

B1 now no longer contains loot that breaks progression.

The other floors still have to be edited

Mobs are now harder


Different content in incognito mode versus PWA

Maybe a service worker caching issue?
Incognito mode (top story: "Sean Spicer resigns…"):

PWA (top story: "Report that Trump…"):

Video: https://photos.app.goo.gl/SaaDxkYyePbO8jmQ2

Yes, this is indeed an issue with workbox, as investigated by @jeffposnick in https://github.com/GoogleChrome/workbox/issues/691. I now commented out the code in question, which should fix it for now. Let me know if you're still seeing the behaviour after two reloads.

I'm not sure what you commented out, but if you try switching from CacheFirst to StaleWhileRevalidate for that feed until we've fixed the underlying bug, you'll end up with reasonable behavior.

@jeffposnick sadly I don't think so, as that would mean that a person coming back to the app a few days later will see old stuff, no? Or does staleWhileRevalidate honor the cacheExpiration?

So even when https://github.com/GoogleChrome/workbox/pull/694 is merged they'll see old stuff on the next visit when using CacheFirst, because we don't have a Date header on the cross-origin response and therefore can't tell synchronously whether the response is fresh or not. The change in that PR will mean that the content will at least get purged in the background for the next visit.
StaleWhileRevalidate along with broadcastCacheUpdate configured to announce changes to the previously cached resource is probably the ideal configuration for this use case—you can listen for that update and then swap in the new content from the context of the page. The use of broadcastCacheUpdate for cross-origin resources also would be a problem, though, because it relies on checking Response headers, and I don't believe the Yahoo! API you're using whitelists the headers it needs...

I think I'll do networkFirst instead for now, to keep it fresh and only handle the offline use-case. Thanks for the pointers though, might play around with boradcastCacheUpdate!


Enhance instructions in Network Security step

Currently the instructions only highlight the need to open ingress traffic tcp ports. However the newly created instances also need to allow egress traffic to the internet for the setup to work. Can instructions here be enhanced to make this clear and provide screen grabs of an example rule setup.
Thanks.

Added to the end of section https://github.com/SolaceProducts/solace-gcp-quickstart#step-4-set-up-network-security-to-allow-access
Ready to close.


OQMD database

Hi,
I am trying to reproduce the result for the formation energy prediction on the OQMD data. Could I know the way you guys query the OQMD database to get 222215 data points?
When I do the first filtering to get the converged samples with,
FormE = FormationEnergy.objects.filter(calculation__converged=True) print(FormE.count())
I get 309107 samples instead of 239426 as indicated in the paper. Am I doing something wrong here? Thanks!

Hi!
I would simply suggest using the accompanying data file that is mentioned in the article and found in Figshare: https://doi.org/10.6084/m9.figshare.c.4607783. It directly contains the used geometries, formation energies and OQMD identifiers for all the used 222215 samples from OQMD. If you want to retrieve the data from OQMD directly, make sure that you use OQMD 1.1.


Cannot use z.i with ptpython

I haven't looked at the code yet, but ptpython is executing code differently than a regular interpreter would.
After pip install zope.interface
import zope.interface

class I(zope.interface.Interface):
    pass

works fine in a regular REPL, but in ptpython produces:
>>> class I(zope.interface.Interface):
...     pass
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/julian/.local/share/virtualenvs/dev/site-packages/zope/interface/interface.py", line 369, in __init__
    raise InvalidInterface("Concrete attribute, " + name)
InvalidInterface: Concrete attribute, __module__
Concrete attribute, __module__

Is it possible that this would be fixed by: https://github.com/jonathanslenders/ptpython/issues/148 ?

@jonathanslenders it looks like that's already been merged -- I just gave this a shot on current master though, and it still seems to fail in the same way.

@Julian Could you have a look at #203 ? It's part of the fix for #148 that I missed in my fix in #202.

@facingBackwards can confirm that makes the code in the issue here work too, thanks!

Hi @Julian, ptpython 0.40 has been released. Can you check whether it works now?

Looks great, thanks!


What is the normal learning rate?

Thanks for sharing your work.
I'm curious about the normal learning rate mentioned in Section 3.2, Stage-1, part (c), Warm-up Training.
You mentioned that you trained only the projector for 1 epoch with 5 times of the normal learning rate.

Then, what is the normal learning rate? Is it defined as 'init_lr' or 'warmup_lr' in the config (.yaml) file for training?
If the normal learning rate is the learning rate changing from 'init_lr' to 'min_lr' by the scheduler, should I just make the warm-up learning rate 5 times larger?
Or should I simply follow your code to reproduce the results reported in your paper?

Thank you for your help!

The normal learning rate is init_lr. BTW, I set the init_lr in some bash file, like the projector warm-up script. If you need to modify the learning rate, please also check the init_lr in the bash file.
Actually, for the projector warm-up, I set the init_lr and min_lr with the same value. Please see the script.
You can follow my code. It is exactly the code I used in my experiments.

Thanks for your reply!


[cloud_firestore] Fix DocumentReference comparison bug.

Description
I was just caught out by this.
void main() {
  final first = Firestore.instance.collection('a').document('b');
  final second = Firestore.instance.collection('a').document('b');
  print(first == second); // prints false
}

You expect two DocumentReferences to be equal. https://github.com/FirebaseExtended/flutterfire/blob/master/packages/cloud_firestore/cloud_firestore/lib/src/document_reference.dart#L25 shows this to be the case if the firestore instance is the same and the instance getter above does not return a singleton instead it creates a new instance each time.
This fix corrects this by firstly treating the Firestore.instance field as a singleton, and second adding a equality method that now compares the underlying app. Which now means even if you have multiple instances of the same Firestore class they will be considered equal.
Tests

cloud_firestore package does not contain tests.

Checklist

[x] I read the [Contributor Guide] and followed the process outlined there for submitting PRs.
[x] If the pull request affects only one plugin, the PR title starts with the name of the plugin in brackets (e.g. [cloud_firestore])
[x] My PR includes unit or integration tests for all changed/updated/fixed behaviors (See [Contributor Guide]).
[ ] All existing and new tests are passing.
[x] I updated/added relevant documentation (doc comments with ///).
[ ] The analyzer (flutter analyze) does not report any problems on my PR.
[ ] I read and followed the [Flutter Style Guide].
[ ] I updated pubspec.yaml with an appropriate new version according to the [pub versioning philosophy].
[ ] I updated CHANGELOG.md to add a description of the change.
[x] I signed the [CLA].
[x] I am willing to follow-up on review comments in a timely manner.

Breaking Change
Does your PR require plugin users to manually update their apps to accommodate your change?

[ ] Yes, this is a breaking change (please indicate a breaking change in CHANGELOG.md and increment major revision).
[x] No, this is not a breaking change.

/cc @bparrishMines @collinjackson not sure who I should reference for this simple ticket. Can you have a look and tell me where the tests should go?

Glad this is finally getting attention! i've literally had to wrap DocumentReference in a wrapper DocumentReferenceKey class I've created to use DocumentReferences as keys in all my query result maps.

https://github.com/FirebaseExtended/flutterfire/pull/2110
https://github.com/FirebaseExtended/flutterfire/issues/2081


HAWQ-1755. add comment for enforce virtual segment number.

add comment for enforce virtual segment number.
which is the ultimate factor to determine virtual segment number.

https://issues.apache.org/jira/browse/HAWQ-1755

LGTM +1

LGTM +1


[WIP] Add Seed for policies, policy sets, policy contents and conditions

Also adds guid for MiqPolicyContent to allow seeding
Depends on #7413

@miq-bot add_label providers/containers, wip, control

@moolitayer why still a WIP? What does it take to make this final? Who should be reviewing this?

@moolitayer why still a WIP? What does it take to make this final? Who should be reviewing this?

Still WIP since it depends on #7413 so we should focus on #7413. @jrafanie and @gtanzillo started reviewing #7413 but they are unavailable this week so #7413 definitely needs more reviewers, maybe @blomquisg has someone in mind

@moolitayer #7413 was marked as refactoring which would be low priority in general. Make sure that who's reviewing the PR are aware that it's blocking a feature (therefore can't be low priority).
Also consider that if #7413 is not getting in you'll have probably to bake up something ugly here to unblock this PR.

I could not push to this branch for some reason, had to move this to #7966


QOL and Opportunity

What should the ingestion process be for 1/4 mile of ADA accessible subway stations and within 1/4 mile of subway or Select Bus station? I don't know of any data products that download from sharepoint, it's not really what sharepoint is there to do in my understanding.
I can work off .csv's on my local machine to test my code for the processing of these variables and then add the ingestion process later so no rush.
Also I hope the epic comments are the right place for this question, I'm putting it here as the question spans multiple indicators


Question on processing the expert data

Hi, I have a question on the code here: https://github.com/zhaohengyin/EfficientImitate/blob/a78246548064427d798548ad9f40127d2cf0dd1d/algo/state_ei/replay_buffer.py#L69
Why do we need this padding? Wouldn't it mess up the order when we select the subset from the expert data?https://github.com/zhaohengyin/EfficientImitate/blob/a78246548064427d798548ad9f40127d2cf0dd1d/algo/state_ei/replay_buffer.py#L243 By the way, I am running cheetah_state.sh.
Could you explain it?  Thanks a lot.

We followed some conventions used in other open MuZero repositories which pad the action history at the beginning. This makes loss computation in trainer slightly cleaner. We apologize for any confusion. Thanks!


conductor block verification; to gossip or not to gossip?

Problem
Conductor needs to be able to validate that the data it receives was actually validly proposed and/or committed by the sequencer. To do this, it needs to be able to track the validator set of the sequencer chain.
Currently, the conductor requires an RPC endpoint of a sequencer node, which is how it obtains this data. However this requires all conductor/rollup nodes to also run a sequencer node, or trust a remote node (not ideal).
This also ties into whether we want to keep the gossipnet at all - right now it is redundant since conductor must be run alongisde a sequencer node.
Solutions

Conductor must have an RPC endpoint of a sequencer node from which it can obtain validator info. This means all rollup nodes must then also run a sequencer node or use a trusted node. If we go with this option we can remove the gossipnet. This is arguably the simplest.
Remove the need for conductor to have an RPC endpoint of a sequencer node. Instead, we can implement a "validator set sync protocol" using the p2p layer. The conductor will come bundled with the genesis state of the sequencer chain. Conductor/relayer nodes will implement a p2p request-response protocol used by conductor nodes to sync the validator set from genesis in a trust-minimized way (basically a light client protocol, but just following the sequencer chain's validator set).
Remove the need for conductor to have an RPC endpoint of a sequencer node. Instead, we regularly post the set of validator set changes to DA. As above, conductor nodes will come bundled with the sequencer genesis state, and can sync to the current validator set using this data. Note: we need to post the set of validator set changes since genesis regularly, since DA does not guarantee storage. This means we will be posting more and more data every time the validator set changes.

Tradeoffs
Option 1 is the simplest to implement engineering-wise, we basically already have it. However, it puts burden on the end-user of a rollup on Astria to run or otherwise obtain a sequencer node. This might be less painful if cometbft light clients exist, but it seems there are none used in production currently?
Option 2 requires us to keep the p2p layer and also add more protocols to it. Sync protocols are non-trivial to implement (cometbft's fast finality makes it easier though). Also keeping the p2p layer will add a lot of engineering work/debugging time down the line - we will need to implement connecting gating, peer scoring, debugging sync, making sure our infra works with another p2p network, etc.
Option 3 is nice in that it allows us to not require rollup users to run sequencer nodes. However, it puts extra burden on validators (relayers) to post data to DA, incurring financial costs. Would need to design incentivization for this. We would need to keep the p2p layer for receiving newly proposed blocks, so would still have the p2p complexity. Also it might delay block verification by Celestia block time, since we need to know the current validator set to verify a block received from gossip, so this is probably not ideal.
Recommendations
Option 1 is easiest by far. Unless we feel strongly about keeping and maintaining another p2p layer (which is somewhat fine, should consider if there would ever be other use cases for it down the line) or not having rollup users run sequencer nodes, we should probably go with that.
### Tasks
- [ ] https://github.com/astriaorg/astria/issues/332
- [ ] https://github.com/astriaorg/astria/issues/333
- [ ] https://github.com/astriaorg/astria/issues/334

I think we use option 1 for now. Rollup nodes will always at a minimum need to be light clients of the sequencing chain, for now we say they must run a full node.
We can at a later date design how we would want to make it a light node.

related https://github.com/astriaorg/astria/issues/332 and https://github.com/astriaorg/astria/issues/333

Option 2: as long as the conductor is only interested in finalised blocks, being connected to the cometbft block gossip overlay isn't better than rpc. cometbft gossip allows a node to learn about a block at all stages in cometbft consensus (pre-vote, pre-commit, commit), whereas rpc only gives access to finalised blocks. on the p2p side, the relevant protocol to implement is the peer discovery protocol which cometbft named PEX. (composer may also be interested in implementing the mempool gossip protocol).
Option 1: cometbft rpc provides endpoints /p2p/filter/addr/{port} and /p2p/filter/id/{id} which can be used to retrieve the addresses to more cometbft nodes. (the cometbft node on) the trusted sequencer, would then only need to serve as bootstrap node into the p2p network. the conductor can then decide which peer(s) to request blocks from out of the peers returned over rpc. this implies, without putting conductor directly on the cometbft p2p layer with PEX in option 2, the relationship between conductor and sequencer can be decentralised.

closed by #384


Increase the generate function

Increase the generate function，you can create an OCI-compliant imageLayout based on the address you enter.Now just create the imageLayout, after the completion of the code can also create other types (I do not know if these are not necessary).
Signed-off-by: zhouhao<EMAIL_ADDRESS>

This is my initial idea, I will continue to improve the PR, such as documentation, other types of creation, etc.

@stevvooe @coolljt0725 @xiekeyang @vbatts PTAL

ping @xiekeyang @coolljt0725 @stevvooe @vbatts @jonboulle PTAL ,thanks.


fix(#1718): microsite header background color be fullwidth

Fixing #1718

Code example in Angular:
<goa-microsite-header
      type="alpha"
      level="alpha"
      version="UAT"
      maxcontentwidth="1400px"
    ></goa-microsite-header>

issue is tested on chrome, firefox, edge, for react and angular for desktop and mobile site

moved to ready for review

Move to ready for review

:tada: This PR is included in version 1.17.0-alpha.28 :tada:
The release is available on:

npm package (@alpha dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 4.17.0-alpha.19 :tada:
The release is available on:

npm package (@alpha dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 3.0.0-alpha.4 :tada:
The release is available on:

npm package (@alpha dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Added proper documentation and contributing guidelines

Solves #102
Added:
PULL REQUEST TEMPLATE
CONTRIBUTING GUIDELINES
CODE OF CONDUCT
ISSUE TEMPLATE

@ajayns @harshil1712


Is it possible to set a default prop to a component?

For example, if I wanted every Text component I render to have the allowFontScaling prop set to false by default.  Could I override this somehow in the configuration files?

Hi @nyoung697 can you please update here, how you do it, is it using mapping.json file or from the custom component.


FF design files restored, AND2 removed once and for all, SS Display Design now available and working!

This is a merge of a few commits from yesterday (accidentally removed FF files and they have since been put back) and I removed the AND2 designs finally. I also took my Seven Segment Display from 220, converted it to Verilog, and it ran through and passed equivalence checking on both flows! Woohoo!

Just committed the changes that should satisfy your requests. Take a look when you can and let me know if you want any more changes. Thanks for a great week! See you Monday!

Just added the change to vivado.py in scripts/bfasst/synth before you merge it.

ROM design is back to the old one that uses BRAMs now.


Add Custom Metrics via Kube-state-metrics CustomResourceStateMetrics

Describe the problem/challenge you have
The controller it self has a small number of Metrics available. This should be extended for proper Monitoring/Alerting.
I mostly use the APP resource and there a only some total counter, which does not represent the proper state of the app.
One solution would be to add them to the controller library, but that would need some coding and testing.
There is a easy solution to add metrics on CustomResources via the kube-state-metrics  CustomResourceStateMetrics  project.
The kube-state-metrics is a K8S addons that is widely installed and already used for a lot of standard components like Deployments or Satefullsets.
Describe the solution you'd like
So the easies way would be to provide a predefined CustomResourceStateMetrics file for the controller.
bsp for app.kappctrl.k14s.io:
kind: CustomResourceStateMetrics
spec:
  resources:
  - groupVersionKind:
      group: kappctrl.k14s.io
      kind: App
      version: v1alpha1
    labelsFromPath:
      name:
        - metadata
        - name
      namespace:
        - metadata
        - namespace
    metricNamePrefix: kappctrl_app
    metrics:
      - name: spec_paused
        help: Whether the App is paused and any of its resources will not be processed by the controllers.
        each:
          gauge:
            nilIsZero: true
            path:
              - spec
              - paused
          type: Gauge
      - name: status
        help: The app current status.
        each:
          type: Gauge
          gauge:
            nilIsZero: true
            path: [ status, conditions ]
            labelsFromPath:
              type: [ "type" ]
            valueFrom: [ "status" ]

This will result in two different Metrics per APP.
kappctrl_app_spec_paused{customresource_group="kappctrl.k14s.io",customresource_kind="App",customresource_version="v1alpha1",name="<metadata.name>",namespace="<metadata.namespace>"} 0

0 unpaused 1 paused
kappctrl_app_status{customresource_group="kappctrl.k14s.io",customresource_kind="App",customresource_version="v1alpha1",name="<metadata.name>",namespace="<metadata.namespace>",type="ReconcileSucceeded"} 1

Will add all the valid types from api definition
Or a 0 if no status.condition.type is set
kappctrl_app_status{customresource_group="kappctrl.k14s.io",customresource_kind="App",customresource_version="v1alpha1",name="<metadata.name>",namespace="<metadata.namespace>"} 0

The spec file can be extended to all possible metrics some one need and all used  resources f.e. package, packageRepositoy can be added.
For Adding it to any cluster use the kube-state-metrics documentation

Dragging some context here from our thread. We cannot reliably say that folks will have kube-state-metrics on their clusters. This is not something we can have out of the box with our releases.
However, we can point folks towards it in our docs and also tell users how they can update existing configuration to accommodate Apps as well!
Also marking this as a good first issue in case someone wants to take a swing at it.

I am new to open source, can I try to solve this issue?


feat(frontend): Add BTC to manage tokens

Motivation
Add BTC to ManageTokens modal.
Changes

New component for toggle of BTC tokens. It's a dummy component which renders a disabled toggle.
Btc token util to identify bitcoin tokens.
Add enabledBitcoinTokens in the list of tokens in ManageToken and manage the scenario in the toggle for bitcoin tokens.

Tests
Tested locally.

UI:
Chain fusion network:

Btc testnet network:

Btc regtest network:

LGTM!
P.S. may you please remove the TODO comment right above the list?

Good catch! I removed it but with rebasing it sneaked in again.


First version readme

I have created a first version of the readme

the installation tab should have the information about how to run it with docker. the thing you described would be more suitable for development -> backend and also we would need a development -> frontend chapter with a description.
also i would add a couple of pictures.
also generally i would make the descriptions more detailed.


Switch no-empty eslint rule from warning to error (in .eslintrc)

The two errors that needed to be fixed were in frontend_tests/casper_lib/common.js and static/js/util.js. Their empty block statements were replaced with a block statement with the comment ("// continue regardless of error").

Automated message from Dropbox CLA bot
@lonerz, it looks like you've already signed the Dropbox CLA. Thanks!

Merged, thanks @lonerz!


Update mockito-core to 3.5.10

Updates org.mockito:mockito-core from 3.3.3 to 3.5.10.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.mockito", artifactId = "mockito-core" } ]

labels: test-library-update, semver-minor

Superseded by #88.


Tap on push notification that was received when app was on foreground reloads the application

App was crashing when I got push notification when app is on the background. Resolved that. But when the app is on foreground the app reloads when I tap on the notification that I received when app is on the foreground.
I want to navigate to certain page on tap of that notification but reloading the app prevents from doing that. Notifications.events().registerNotificationOpened() is being called on tap and after that my app gets reload.

up

@KhimGurung what is your react native version ?

up
RN 0.63.5

still encountering this issue.

I am also seeing this issue 😭.
Android 11
React Native 0.69.10

Hey guys, I was facing this same issue and I could find the solution here
https://github.com/RocketChat/Rocket.Chat.ReactNative/pull/4585/commits/153fe2a9fe46a46e0c8dbda1afc6f8b5ff1d60e6

@arienemaiara this package worked after update target sdk to 33 on android above 9


MVP CLI Proposal implementation: proof/verify functionality

Closes #158

@tyshko-rostyslav can we rebase this pr to master?

@tyshko-rostyslav can we rebase this pr to master?

I guess merge is better


Schema from database not working

So I have tried to play around with different ways to hold dynamic forms. I have come up with a solution to hold the schemas in the database as there are a lot of different fields for each form type.
I am currently using this syntax where the newSchema is a helper function returning a schema.
{{#autoForm schema=newSchema id="form"}}
The problem is that when I return a schema held in another db document, it does not work properly. Returning a new SimpleSchema obj from the helper, everything works.
Way of retrieving the schema from db which does not work
"newSchema": function(){
    var item = Collection.findOne();
    return item.fields;
  }

Collection.attachSchema(new SimpleSchema({
fields: {
    type: SimpleSchema,
    optional: true
  },
 [...]
}));
Collection.insert({
    fields: new SimpleSchema({
      amount: {
        type: Number,
        label: "Count"
        }
    })
  });

When debugging from the browser console seems to give me a structure of a schema so seems as if that is working.
Error in the browser console
Exception in template helper: TypeError: ss.schema is not a function
at Object.autoFormGetSchemaForField [as getSchemaForField] (http://localhost:3000/packages/aldeed_autoform.js?b3aa1a45a8c57d1da1124520538d2cb9fa458509:2631:13)
at Object.autoFormGetTemplateName [as getTemplateName] (http://localhost:3000/packages/aldeed_autoform.js?b3aa1a45a8c57d1da1124520538d2cb9fa458509:1962:32)
at Object.Template.afFormGroup.helpers.getTemplateName (http://localhost:3000/packages/aldeed_autoform.js?b3aa1a45a8c57d1da1124520538d2cb9fa458509:7187:21)
at http://localhost:3000/packages/blaze.js?9391df93ba5076c2cfc61ee68724eb79b65f00d9:2986:16
at http://localhost:3000/packages/blaze.js?9391df93ba5076c2cfc61ee68724eb79b65f00d9:1650:16
at http://localhost:3000/packages/blaze.js?9391df93ba5076c2cfc61ee68724eb79b65f00d9:3038:66
at Function.Template._withTemplateInstanceFunc (http://localhost:3000/packages/blaze.js?9391df93ba5076c2cfc61ee68724eb79b65f00d9:3671:12)
at http://localhost:3000/packages/blaze.js?9391df93ba5076c2cfc61ee68724eb79b65f00d9:3037:27
at Object.Spacebars.call (http://localhost:3000/packages/spacebars.js?1aedcc2aa3ae9ff5d860d73516110cedd77c033e:167:18)
at http://localhost:3000/packages/aldeed_autoform.js?b3aa1a45a8c57d1da1124520538d2cb9fa458509:7156:27
Edit: I found out that the value from database is just an Object whereas the other one is a SimpleSchema. The fields exist in both of these, but the Object type is not suitable as a schema.

Is it not easier to just hold the structure in the db and make a schema out of it when you need it?
var myDynamicSchema = new SimpleSchema(MyStructures.findOne({_id: myId}))


Update non_field_errors object to follow spec

Went ahead and worked on fixing #113 based on the previous discussion.

This looks good.  Going to try it out before merging.
/cc @holandes22

@dustinfarris updated for ember-data 1.13.7

This is working, but ED doesn't seem to do anything with the /data errors.  Going to merge this and open an issue there.

Opened https://github.com/emberjs/data/issues/3602

@dustinfarris awesome, thanks. Subscribed over to that issue for any follow up.


I can't install dext, what version of Deno do I need?

I tried to install dext according to the instructions in the README, but I got an error.
Command
deno install --allow-read --allow-write --allow-env --allow-net --allow-run --unstable -f -n dext<EMAIL_ADDRESS>
Error
Check<EMAIL_ADDRESS>error: TS2339 [ERROR]: Property 'emit' does not exist on type 'typeof Deno'.
        const result = await Deno.emit(id, {
                                  ~~~~
    at https://raw.githubusercontent.com/denofn/denopack/8bae39bef47e532a1e8d0f6700b72a2192f7bca4/plugin/typescriptTransform/mod.ts:19:35

TS2339 [ERROR]: Property 'emit' does not exist on type 'typeof Deno'.
  const { diagnostics, files: emitFiles } = await Deno.emit(importee, {
                                                       ~~~~
    at https://raw.githubusercontent.com/denofn/denopack/8bae39bef47e532a1e8d0f6700b72a2192f7bca4/plugin/typescriptCompile/mod.ts:45:56

Found 2 errors.

My environment is as below.
> deno --version

deno 1.6.3 (release, x86_64-pc-windows-msvc)
v8 8.8.294
typescript 4.1.3

Is it due to the fact that the Deno version is too low?

I solved the problem myself.
v1.8.0 or later with Deno.emit support and GitHub Acitons
I installed v1.8.0 or later, which supports Deno.emit, and v1.8.2, which is supported by GitHub Acitons' setup-deno, and it worked.

Deno 1.8 Release Notes
Setup Deno/Specific stable

> deno --version

deno 1.8.2 (release, x86_64-pc-windows-msvc)
v8 9.0.257.3
typescript 4.2.2

> deno install --allow-read --allow-write --allow-env --allow-net --allow-run --unstable -f -n dext<EMAIL_ADDRESS>Check<EMAIL_ADDRESS>✅ Successfully installed dext

By the way, I upgraded the deno version to the latest 1.12.2 and ran the same command, but I still could not install it with the following error.
> deno install --allow-read --allow-write --allow-env --allow-net --allow-run --unstable -f -n dext

<EMAIL_ADDRESS>Check<EMAIL_ADDRESS>error: TS5056 [ERROR]: Cannot write file 'https://cdn.dreg.dev/package/<EMAIL_ADDRESS>because it would be overwritten by multiple input files.

I was using an older version of Deno, v1.6.3, because it was necessary for Aleph.js requirements, but I felt it was necessary to include the Deno version in the README to avoid confusion for users.

According to my research, the suitable Deno version for Dext.js seems to be between v1.7.x and v1.9.x.
I've experimented with GitHub Acitons.
https://github.com/tubone24/dext-deno-runtime-ditect/actions/runs/1074204697

I believe the

I solved the problem myself.
v1.8.0 or later with Deno.emit support and GitHub Acitons
I installed v1.8.0 or later, which supports Deno.emit, and v1.8.2, which is supported by GitHub Acitons' setup-deno, and it worked.
* [Deno 1.8 Release Notes](https://deno.com/blog/v1.8)

* [Setup Deno/Specific stable](https://github.com/denoland/setup-deno#specific-stable)

> deno --version

deno 1.8.2 (release, x86_64-pc-windows-msvc)
v8 9.0.257.3
typescript 4.2.2

> deno install --allow-read --allow-write --allow-env --allow-net --allow-run --unstable -f -n dext<EMAIL_ADDRESS>Check<EMAIL_ADDRESS>✅ Successfully installed dext

By the way, I upgraded the deno version to the latest 1.12.2 and ran the same command, but I still could not install it with the following error.
> deno install --allow-read --allow-write --allow-env --allow-net --allow-run --unstable -f -n dext

<EMAIL_ADDRESS>Check<EMAIL_ADDRESS>error: TS5056 [ERROR]: Cannot write file 'https://cdn.dreg.dev/package/<EMAIL_ADDRESS>because it would be overwritten by multiple input files.

I was using an older version of Deno, v1.6.3, because it was necessary for Aleph.js requirements, but I felt it was necessary to include the Deno version in the README to avoid confusion for users.

I believe this is a --no-check problem as noted in #76.

@baetheus
Thanks for replying.
You're right, I was able to install the dext.ts without any problems on all Deno versions by adding --no-check.
https://github.com/tubone24/dext-deno-runtime-ditect/actions/runs/1129478519


Crash when enabling Draw Bone Axes with Draw Bones enabled

Steps to Reproduce:

Open a model with or without a skeleton file (the skeleton file can be populated with joints or empty)
Enable Draw Bones from the Render Settings
Enable Draw Bone Axes from the Render Settings

System Information:

Operating System: Windows 10 22H2 19045.2364
CPU: AMD Ryzen 7 5800H
GPU: NVIDIA GeForce RTX 3050 Ti
OpenGL Ver.: 4.6
Graphics Backend: Any

Thanks for reporting this. Drawing the bone axes is currently broken due to some renderer rewrites. This will be fixed in the next release.


ESP32S3 RMT rmt_tx_done_event_data_t num_symbols off by 1 (IDFGH-9026)

Answers checklist.

[X] I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
[X] I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
[X] I have searched the issue tracker for a similar issue and not found a similar issue.

IDF version.
v5.0
Operating System used.
Linux
How did you build your project?
Command line with idf.py
If you are using Windows, please specify command line type.
None
Development Kit.
Custom Board
Power Supply used.
USB
What is the expected behavior?
The num_symbols value of the rmt_tx_done_event_data_t struct is always off by +1 if red inside a RMT TX transmission done callback.
E.g. transmitting 32 symbols results in the num_symbols value 33
What is the actual behavior?
num_symbols value is off by +1
Steps to reproduce.
1.) Upload any RMT TX example to the board.
2.) Read the num_symbols value inside the TX callback
Debug Logs.
No response
More Information.
No response

Sorry for confusing you, but this result is as expected. The driver will append an "EOF symbol" to the end of each TX transaction, as this is required by the RMT hardware to mark the end of a transaction.
FYI, we have a test to check that num_symbols in the tx callback: https://github.com/espressif/esp-idf/blob/master/components/driver/test_apps/rmt/main/test_rmt_tx.c#L211
We should mention that thing in our programming guide. Thanks for reporting.


[BUG] wide front/back are broken

Apparently there are no tests.
In there implementation we use operator[]
https://github.com/jfalcou/eve/blob/b389dc5e868691473200f91761045c7968acf281/include/eve/arch/cpu/base.hpp#L122
That does not exist anymore

Fixed in: https://github.com/jfalcou/eve/pull/554


Android stuffs

https://gist.github.com/patrickhammond/4ddbe49a67e5eb1b9c03#gistcomment-2376496
See the last few comments.

$ brew cask install android-sdk
==> Caveats
You can control android sdk packages via the sdkmanager command.
You may want to add to your profile:

  'export ANDROID_SDK_ROOT="/usr/local/share/android-sdk"'

android-sdk requires Java 8. You can install it with

  brew cask install homebrew/cask-versions/java8

…

Though, I think I currently prefer to use SDKMan to manage java bits on my Mac/Linux:
$ sdk list java
==== BROADCAST =================================================================
* 18/06/18: Grails 3.3.6 released on SDKMAN! #grailsfw
* 15/06/18: Spark 2.3.1 released on SDKMAN! #spark
* 13/06/18: Kotlin 1.2.50 released on SDKMAN! #kotlin
================================================================================

================================================================================
Available Java Versions
================================================================================
     9.0.7-zulu
     9.0.4-openjdk
   * 8.0.172-zulu
 > * 8.0.171-oracle
     7.0.181-zulu
     10.0.1-zulu
     10.0.1-oracle
     10.0.0-openjdk


Update chip-tool pairing documentation to match current behavior.

Problem
Docs out of date.
Change overview
Update the docs.
Testing
Tested that the command lines involved work.

@carol-apple @LuDuda @Damian-Nordic @jepenven-silabs Please take a look?


Feature: Hope that the settings can be persisted

Currently, the settings are not preserved, and they must be reset the next time opened, which is a bit annoying. I think it will be more intuitive if the settings can be persisted.

Settings are now persisted in the URL hash (see #151 ).  This is a bit different than persisting in storage, but allows for sharing of view settings as part of URL, and also allows settings to play nicely with the browser history.
I'm pretty happy with how this "feels", so I'm going to close this out.


Using USB serial adapter connected to CI-V at 4800

I have been trying to get this to work with a serial adapter at 4800 using the CI-V port on the radio.
I tried using the USB port of the radio at 115200 and that works fine, Tried other speeds and they work as long as echo back is off.

This has to be user error.  My CI-V interface can talk to the radio but getting data back not so much.  Back to the perf board.

I tested my interface on 2 other programs and it works.  The question now is, does CI-V work differently on the USB port of the radio vs a USB to ttl adapter?

Hello.
Thanks for your message. Unfortunately, I don't have the answer to your question 😔
Armel F4HWN.

Thanks.  :) It works great with rigctl on the same pi.
-Michael
On May 31, 2023 19:17, Armel FAUVEAU @.***> wrote:
Hello.
Thanks for your message. Unfortunately, I don't have the answer to your question 😔
Armel F4HWN.
—
Reply to this email directly, view it on GitHubhttps://u20598202.ct.sendgrid.net/ls/click?upn=FzZB99mv9WTxfqZsnRK9w3-2FdlNvI-2BFfcxj5tSsUcQZ0U4LSKbLVEt5Z-2B76N2qgNWs6k-2BDmxzD0ZajiB3Jkad5kQaQ6mKnDpbEn8eq3XZvD4-3D85Ht_U31jt5HgHBh7k3Grc5s4lzw-2FeT9bBvhJ4RbJsjVFeDAddZ5wLryyTLt-2BxVESx5La7OGPOMDMVlgio1NA8P8n63aWj5bRTp0FPn3boAVPWHb-2BkySf0jDvNiTb-2Brc7tSubhHV9T5f3Q8vrc2X3Hhl77bdZ-2FHFiboK526WPlYTrKzUseZ5NVOJiHQigSIZ2W5Hu4Sd-2BWhVJqq-2FrFv8AitlGzglxevZDl-2B2JwZGeEUZuDW9Dj5mIxBtFlYwUGfvO9-2BOMiqYWGludbG-2BTzR62T30AtQ-3D-3D, or unsubscribehttps://u20598202.ct.sendgrid.net/ls/click?upn=FzZB99mv9WTxfqZsnRK9w6mPZ3zGz0InsYfSz9zkN3MZKFGYdF6D91V9eUyz0TkqQ61DsOVyniMYHPhCv1UwbbzcVBi2Br0xH4ShzBaFIBuyAeAjb3QpKGvYdx21dSJQdP3BgYowaBFRD-2F4unTCr7Q-3D-3DyQwH_U31jt5HgHBh7k3Grc5s4lzw-2FeT9bBvhJ4RbJsjVFeDAddZ5wLryyTLt-2BxVESx5La7OGPOMDMVlgio1NA8P8n63aWj5bRTp0FPn3boAVPWHb-2BkySf0jDvNiTb-2Brc7tSubpsjJ8pIDH1faJIbzfemnU-2FCXXY1W-2BQvYSkj232e5q03H-2FVSXxmCdJw5IlcoROyRaw0bbvhuZuD7ZM2vzlA01EIsIZ6ICjiEMi5-2FhLjlDwREoD0DvdiGPKLTmniMpSqSkzBJoaIL-2B48CWHHZUnGxlLg-3D-3D.
You are receiving this because you modified the open/close state.Message ID: @.***>


Add third party watchers

Added SSL, Azure Storage and Azure Service Bus watchers to the readme.

Very nice! Thanks for such contribution, I'll also add the info at the main site getwarden.net :).

More than welcome, happy to be using this, makes it really easy to have stable monitoring! In case you have comments or suggestions or you hear feedback for any of them please let me know (make an issue on the respective repo's).
I plan on improving them (adding extra helper methods, cleaning up the code for the service bus) but for our own infrastructure I at least wanted to push everything in it now!

Great to hear, I'll check the code and let you know if there are any remarks on my side.


Replay audio

Currently when you press the render button, the audio is rendered and played out. That works fine.
But if you want to listen again, you can't.  The render button does nothing. You have to edit the code before the render button will re-render the example again.
It would be good to either allow the render button to re-render and play the audio, or, better yet, just replay the audio if the code hasn't changed.

As a long term solution, I am thinking of changing the right pane (viewer area) to a scrollable workspace. You will be creating a new inspector (waveform, spectrogram or audio graph) whenever you render after the code changes. In short, each waveform inspector will have an individual playback button.
But for the short term, I can add a replay button at the top of the code editor.
I have to try it to see if this is the right UI pattern, and feel free to throw ideas if you have any.

Closing with 3cef6e2f0642f29a2adca616e7391ab68abd45c0.


Generating sheets with checkbox

I see that it is possible to read a value of a sheet which contains a checkbox. However, I would like to generate
a shhet that contains a checkbox. Could you please advice me how to do that?

Never mind, I see that it is shaky ground, I'll do it differently

To be clear, actual form checkboxes are available in our Pro offering


Add Siri support for calls

Connected with #647, #357
Calls from lock screen is only available with CallKit.
The only problem with this extension connected with users who has more than 1 direct chat with person they want to call. All data is retrieved from MXFileStore directly this is why we don't know anything about room members count. We must filter direct chats with 1 or more than 2 persons.
If A and B has a direct chat and than B left, it's still a direct chat.
Giom:

just to be sure that direct chat is clear for you: Are you aware that a direct chat with more than 2 members is direct for only one of them?
For example A,B and C are in Room R1
this room is marked as direct with B in the account data of A
This means the room R1 must not be used to call C
but in the same time, I'm not sure this is convenient to plan to call B with this room

To sum up some direct chats have more than 2 members, and this is not cool for you

To sum up, it isn't a huge problem. Most of users won't see any consequences since they have one direct chat with particular person. Those who has several will need to select the right room from the list.

Signed-off-by: Denis Morozov<EMAIL_ADDRESS>

At which point it will be appropriate to request authorization to use Siri services?

At which point it will be appropriate to request authorization to use Siri services? We may don't do this in code explicitly, when the user will start initiating a call using our app Siri will ask him if it's okay to provide us access.

@morozkin: with the code of this PR, is NSSiriUsageDescription automatically displayed?
If yes, we can keep it as is for the moment. We will tweak it after.

Commits after deadline ⬇

@manuroe No, it will be displayed if we request authorization in code.
This is how default authorization looks like:

@morozkin, I am afraid we need to check permission in each Siri intents callback. We do such systematic permission checks with methods defined at https://github.com/matrix-org/matrix-ios-kit/blob/8eb1fde79bff02037c7071465dab780cda0bb8dc/MatrixKit/Utils/MXKTools.h#L228.


Infinite loop in the chaining of files

Go here and look at some of the stacks:
https://microsoft.github.io/pyrx
It looks like we are stuck in a loop going through chained files
RangeError: Maximum call stack size exceeded    at fileToParse pyright-internal/src/analyzer/program.ts:987:23    at _parseFile pyright-internal/src/analyzer/program.ts:1017:13    at _bindFile pyright-internal/src/analyzer/program.ts:1024:17    at getScopeIfAvailable pyright-internal/src/analyzer/program.ts:1045:16    at _bindFile pyright-internal/src/analyzer/program.ts:1024:17    at getScopeIfAvailable pyright-internal/src/analyzer/program.ts:1045:16    at _bindFile pyright-internal/src/analyzer/program.ts:1024:17    at getScopeIfAvailable pyright-internal/src/analyzer/program.ts:1045:16    at _bindFile pyright-internal/src/analyzer/program.ts:1024:17    at getScopeIfAvailable pyright-internal/src/analyzer/program.ts:1045:16    at _bindFile pyright-internal/src/analyzer/program.ts:1024:17    at getScopeIfAvailable pyright-internal/src/analyzer/program.ts:1045:16    at _bindFile pyright-internal/src/analyzer/program.ts:1024:17    at getScopeIfAvailable pyright-internal/src/analyzer/program.ts:1045:16    at _bindFile pyright-internal/src/analyzer/program.ts:1024:17    at getScopeIfAvailable pyright-internal/src/analyzer/program.ts:1045:16    at _bindFile pyright-internal/src/analyzer/program.ts:1024:17    at getScopeIfAvailable pyright-internal/src/analyzer/program.ts:1045:16    at _bindFile pyright-internal/src/analyzer/program.ts:1024:17    at getScopeIfAvailable pyright-internal/src/analyzer/program.ts:1045:16    at _bindFile pyright-internal/src/analyzer/program.ts:1024:17    at getScopeIfAvailable pyright-internal/src/analyzer/program.ts:1045:16    at _bindFile pyright-internal/src/analyzer/program.ts:1024:17    at getScopeIfAvailable pyright-internal/src/analyzer/program.ts:1045:16    at _bindFile pyright-internal/src/analyzer/program.ts:1024:17    at getScopeIfAvailable pyright-internal/src/analyzer/program.ts:1045:16    at _bindFile pyright-internal/src/analyzer/program.ts:1024:17    at getScopeIfAvailable pyright-internal/src/analyzer/program.ts:1045:16    at _bindFile pyright-internal/src/analyzer/program.ts:1024:17    at getScopeIfAvailable pyright-internal/src/analyzer/program.ts:1045:16    at _bindFile pyright-internal/src/analyzer/program.ts:1024:17    at getScopeIfAvailable pyright-internal/src/analyzer/program.ts:1045:16

Maybe we need to check recursion in this situation. It's not entirely clear it's chained files, but that is where we've made changes recently.

I think this problem might be explained by a bug that I fixed last week: https://github.com/microsoft/pyright/commit/ae873e49dd0e613097dac26d6d0a0a2beb5309e1. If I'm correct, then this problem should disappear from the telemetry with this week's prerelease build.

I don't see this same stack in the prerelease from the week before but maybe we just didn't have anybody hitting it.

The bug that I fixed was introduced via pylance on Jan 4: https://github.com/microsoft/pyright/commit/b78a9e4bd305f0378c230cf2139a462acd38d03b.


[script] avoid bash extension

This PR removes dependency on [[, also fixed the broken travis test of raspbian jessie.

@jwhui current master travis test is broken, this PR can fix it.


When creating a parent, we should make sure child and parent are in the same space.

I think we currently allow the link to cross spaces, but I doubt that it makes any sense.
@aslakknutsen @pranavgore09 @DhritiShikhar @baijum what do you think?

Since https://github.com/fabric8-services/fabric8-wit/commit/4bf70c8fca7628511173c8e71cf7c35996dd35ec#diff-10cf0004539aea02ccd7fc7acf7ae7a3R230 this is being checked.


Improve emulated value checking

L680 return process.env[ServiceClient.EnvironmentVariables.EMULATED] ? true : false;
Should check the type. and not return true if EMULATED is simply set. Example, it could be set to "false"

Fixed in dev.


Make editing events type safe and add row reference

Currently, the contents of (create), (createConfirm), (edit), (editConfirm), (delete), and (deleteConfirm) are just documented, but their type in code is any.
That has to be changed.
Secondly, it does not really make sense to just add row.getData() and source to the event data but not row itself (it is obviously available). That makes it unnecessarily complicated to find out which row index the edited or deleted data had. So users are forced to look that index up, introducing unnecessary costs.

Actually this is not an enhancement, because there is a type confusion bug in the smart table.
The edit and delete events are documented to return an object of the following form
{
   data: any;
   source: DataSource;
}

But the following code breaks that contract
https://github.com/dj-fiorex/angular2-smart-table/blob/02f95bc93f402fea3f3c981479725bf50e7659e5/projects/angular2-smart-table/src/lib/components/tbody/tbody.component.html#L24-L25
as well as
https://github.com/dj-fiorex/angular2-smart-table/blob/02f95bc93f402fea3f3c981479725bf50e7659e5/projects/angular2-smart-table/src/lib/components/tbody/tbody.component.html#L65-L66
Where actually $event should be emitted and not row.
This might be a breaking change for those who accessed the row index. But since both the event and the Row object share the data attribute, the most common use case (accessing the data) is (fortunately) not affected.


not able to run prism command from node_modules/.bin

Describe the bug
First time I have installed it through Package.json . Tried running prism --help or any prism commands I am seeing below error.
Error: No valid exports main found for
internal/modules/cjs/loader.js:621
throw e;
^
To Reproduce
node version 13.3.0
installed @spotlight/prism-cli
run any prism command
Additional context
Not able to run any prism commands. Can't even run prism --help
Screenshots
If applicable, add screenshots to help explain your problem.
Environment :
"@stoplight/prism-cli": "^4.0.1",
"typescript": "^4.0.2"
Mac Mojave
node : v13.3.0

@ram-potla
I cannot reproduce the issue

In any case, can you elaborate on what's your use case? The CLI is not meant to be installed as a dependency or if you need to, run it using npx instead of running it by calling it directly.
Feel free to reopen when you have more details.

Thank you for your response.
I have updated node version from 13.3.0 to 14.10.0. It's all fine. For some reason couldn't run with v13.3.0


Support for styled-components v5

Hi Primer team! 👋
I'd love to use Primer for a project and as styled-components v5 is being released in a week or two, I'd like to start off with v5 directly. It has no breaking changes, so it's safe to support it.
Happy new year to everyone! 🎉

Wow, that was fast. Thanks @emplums!


Understand block comments in assembly (.s) files

Examples like:
https://8bitworkshop.com/v3.10.0/?platform=nes&file=chr_generic.s
Have lines like this:
;;{w:8,h:8,bpp:1,count:256,brev:1,np:2,pofs:8,remap:[0,1,2,4,5,6,7,8,9,10,11,12]};;
...
;/* use block comment to map a subset of data to sprite bitmaps */
;/*{w:16,h:16,bpp:1,count:15,brev:1,np:2,pofs:8,remap:[5,0,1,2,4,6,7,8,9,10,11,12]}*/

I just removed them from samples / tests. Because they don't appear to affect the binary output.
We should understand what these are, and if we need them.

These seem to be used to the pixel editor in the 8 bit workshop ide. They appear in assets for multiple machine types. If you modify the values in the comment it causes the image to be rendered differently.
https://github.com/sehugg/8bitworkshop/blob/d733a2cd273cf6e0d33c2f780e1e17e1da0c17e9/src/ide/pixeleditor.ts#L29

So sounds like these numbers don't affect the binary output, thanks!


synth_xilinx -> synth in formal verification

There are opinions that yosys is better at comparing non-vendor specific synthesis results when doing formal verification. Let's run this and check the results.

This seems to be getting more new failures than new passes, let's not change that until we have a better reason to.

@tgorochowik, I forgot, you also need:
hierarchy -auto-top
synth

Please try again with these 2 commands instead of "synth_xilinx"

Reopening with the additional command added

@alaindargelas as you can see in the summary, there are fewer differences, but the total is still worse than synth_xilinx


[sk] Added templates for transformer blocks

Summary
Added templates for transformer blocks:

Default template: empty template, allows user to define whatever execution logic they like
Transformer action template: transformer block that uses the transformer-actions library
Template generation from cleaning suggestion: given a cleaning suggestion produced by the data_cleaner library, build_template_from_suggestion generates the corresponding template that can be written to file. This can be used once the ability to convert cleaning suggestions to blocks is finished.

Alongside these templates, a couple of refactoring changes were made to the transformer_actions library

Previous collections of constants were converted to enumerations (with string mixins to ensure backwards compatibility) to provide namespaced access to constants. This makes accessing the possible values for parameters like ActionType and Axis easier for users.
The _build_action_variables instance method from cleaning_rules.BaseRule was refactored into a standalone method in transformer_actions.utils so that it can be used by templates for generating the action variable information for a transformer action payload.
A new build_transformer_action method was created in transformer_actions.utils to automatically build a payload from parameters and the input data frame. This method abstracts out action variable information so users don't have to manually generate that information.

Tests
Previous unit tests were ran to confirm that none of the data_cleaner library's functionality was broken in this latest update. New unit tests were written to test that template generation for cleaning suggestions is correct.
cc:
@wangxiaoyou1993

Hold off on reviewing this for now, I'm going to make a few updates with regards to how some of the template generation features are handled.

Nevermind on that update actually, I'll just make a new PR with the updated code.


Fixed Sfdc Api being unable to deserialize default date format

Sfdc responds with the error message Salesforce.Common.ForceException: Cannot deserialize instance of date from VALUE_STRING value 2015-07-23T09:38:33.6366008+02:00 at [line:1, column:268] when posting a sObject containing a DateTime.
This PR overrides Newtonsoft.JSONs default serialization DateTime format.
There might be a timezone issue left...
I'm not sure about commit f3241f7. I guess the original author forgot to add the line at this point. Might also be intended.

Thanks for the PR. I'll have to postpone acceptance for a week.

When accepting PRs do you normally release a new version as nuget package?

Not right away. I don't really have a schedule.
On Thu, Aug 6, 2015 at 2:13 AM, Christian Peterek<EMAIL_ADDRESS>wrote:

When accepting PRs do you normally release a new version as nuget package?
—
Reply to this email directly or view it on GitHub
https://github.com/developerforce/Force.com-Toolkit-for-NET/pull/128#issuecomment-128301685
.

--
Thanks,
Dave

Is there a workaround for this?

You could either build the project yourself from my fork (https://github.com/Krizzzn/Force.com-Toolkit-for-NET), which is bad, because it'll receive no updates.
Alternatively you could look into the JsonConvert.DefaultSettings property of Newtonsoft's Json.NET. Maybe you can set the default date serialization project wide. But this might have an impact on your project if it also uses the Json.NET for different things.

There was a reason we didn't have the contract resolver for that particular HttpPostAsync https://github.com/developerforce/Force.com-Toolkit-for-NET/commit/f3241f7447325a5821a2cdf06043d290bf54e870 but for the life of me I can't seem to remember. I will try to remember. =)
https://github.com/Krizzzn/Force.com-Toolkit-for-NET/commit/2937db27a3ac757977fe14eff654f9c49526c123 looks like a nice fix.

@Krizzzn Can you provide an example that generates your original error:
Sfdc responds with the error message Salesforce.Common.ForceException: Cannot deserialize instance of date from VALUE_STRING value 2015-07-23T09:38:33.6366008+02:00 at [line:1, column:268] when posting a sObject containing a DateTime.

I'd like to accept the first pull and create a unit test for protecting against a regression. Thanks!

Providing you with an concrete example that works against your sfdc environment will be hard, because I don't know how it is set up.
This makes my environment to respond with the error:
var response = Client.CreateAsync("Quote_Account__c", quote).Result;
return response;

My Model (which in this case is a custom object) has a date Property like this:
[Display(Name = "Quote date")]
public DateTimeOffset? Quote_date__c { get; set; }

When this field is updated, the salesforce API will respond with the mentioned error.
Maybe this gist works for you: https://gist.github.com/Krizzzn/d89f86e18f38a5b17467

That helped and I have a repro. Working on the fix now. Thank you!

Merged and updated. Thank you sir!

Great to hear. Thanks you!


Export extract* helpers for inputs

Would it be possible to export the extract helpers so that the inputs types (filters and orderby) can be more easily used with custom resolve functions?
Having these helpers exported would make using the generated inputs with custom GraphQL types/resolvers much easier, and avoids having to re-implement the mapping of GraphQL inputs to sql.
Another option that might limit the public API surface would be to add a method to the GraphLQLInputObject extensions like toSQL(value: unknown)
that way you can do something like:
const schema = new GraphQLSchema({
    query: new GraphQLObjectType({
        name: 'Query',
        fields: {
            customUsers: {
                type: new GraphQLList(new GraphQLNonNull(entities.types.UsersItem)),
                args: {
                    where: {
                        type: entities.inputs.UsersFilters
                    }
                },
                resolve: async (source, args, context, info) => {
                    const result = await db.select(schema.Users).where(
                      entities.inputs.UsersFilters.toSQL(args.where)
                    )

                    return result
                }
            }
        }
    }),
})

My real goal here is to use the generated input types in the Pothos plugin.  The pothos plugin will be great for building schemas that aren't so closely tied to the DB schema, but still take advantage of the relational query builder.  Being able to quickly add inputs from the generated schema would make this a lot easier.
In Pothos this would probably look something like this:
builder.drizzleObject('user', {
  name: 'User',
  fields: (t) => ({
    id: t.exposeID('id'),
    name: t.exposeString('name')
  })
 });

 builder.queryType({
   fields: (t) => ({
     users: t.drizzleField({
       type: 'user',
       args: {
         where: t.arg({ type: builder.drizzleFilter(entities.inputs.UsersFilters) })
       },
       resolve: (query, root, args) => db.users.findMany({ ...query, where: args.where })
   })
 })

I have a mostly functional implementation of most of the drizzle plugin now, but haven't added anything related to inputs yet.  If I could just implement the builder.drizzleFilter and builder.drizzleOrderBy  to wrap the generated inputs, and automatically convert them to sql before passing them to the resolvers, this would make for a very smooth developer experience

Exporting helper functions I can do next patch no problem, however .toSQL() on entities cannot be achieved as easily, since those entities come from GraphQL class instances and, as you can see already in code, require much more than just input field and GQL type.

Awesome! Just exporting the methods is great.
I think I oversimplified my example before, I intended to add the toSQL method the extensions, which is the built-in way of adding implementation specific data to graphql types. (entities.inputs.UsersFilters.extensions.toSQL(args.where)
As far as I can tell you only need the table definition/name to extract the orderBy and filters, which should already be in scope when the inputs are created.
I am not at all attached to having this though, was just a weird idea I had as an alternative to exporting the extract methods.  If those are exported, it's trivial to attach this behavior in Pothos

I am also wondering if it would be worth exporting generateTableOrderCached and generateTableFultersCached as well.   I don't know how expensive generating the full schema definitions can get, but I imagine, especially for large schemas generating the inputs on demand might be a significant improvement when only a few inputs are actually used

Looking over the rest of the API, I think the data mappers are also important to make the create/update inputs usable with custom resolvers


Improve .net core 6 WinForms support

Hi, related to some Slack threads with @glennawatson I would ask if it's possible to improve .net core 6 WinForms support.
I incurred in two issues:
1- in Dynamic Data the constant SUPPORTS_BINDINGLIST is not defined for net6.0-windows, hence the Bind method doesn't work (cc @RolandPheasant )
2- SelectedItems doesn't raise INotifyPropertyChanged, so .Bind is not able to react to the event
For 2) I'm now using as a "temporary replacement"
Observable.FromEventPattern(ev => lstItems.SelectedIndexChanged += ev, ev => lstItems.SelectedIndexChanged -= ev)
.Select(_ => lstItems.SelectedValue)
.BindTo(ViewModel, vm => vm.SelectedItem);

I have also built a demo app and I was wondering if it's something you could be interested in, to extend the examples in the ReactiveUI.Samples](https://github.com/reactiveui/ReactiveUI.Samples/tree/main/winforms) section.
It's my first attempt using RxUI, so any feedback is really appreciated.
The repo is here.

I did a release on the weekend. If you Bind(myBindingList) to an already created BindingList it should work now.

Don't use a ReadOnlyObservableCollection<T> instead use the BindingList direct is the trick with the Bind() method and WinForms net6

Definitely appreciate putting more content in the winforms samples section. Your sample looks good from what I can see.

Tks for the support, I made DynamicData working now. I'm glad to hear that you think I went for the right way. Tomorrow I will submit a PR to the samples repo with the same content.


fix Fix correctness problem during upgrading

What problem does this PR solve?

Issue Number: close #xxx

Related PR: #xxx
Problem Summary:
Check List (For Committer)

Test

[ ] Regression test
[ ] Unit Test
[x] Manual test (add detailed scripts or steps below)
I tested with upgraded BE and old-version FE and get the correct results.
[ ] No need to test or manual test. Explain why:

[ ] This is a refactor/code format and no logic has been changed.
[ ] Previous test can cover this change.
[ ] No colde files have been changed.
[ ] Other reason

Behavior changed:

[x] No.
[ ] Yes.

Does this need documentation?

[x] No.
[ ] Yes.

Release note

None

Check List (For Reviewer who merge this PR)

[x] Confirm the release note
[x] Confirm test cases
[x] Confirm document
[x] Add branch pick label

run buildall


add function to retrieve className from task and test. fixes #829

instead of task.getClass().getCanonicalName(), task.getClass().getName is used for anonymous implementations of task.

Coverage increased (+0.03%) when pulling 23fcb65253496b6830a846199a6bb82efeeaef0f on jangalinski:829_log_tasks into 4fec8a95cc4de3a8f2f87ea4e3437616f19a0d41 on dropwizard:master.

Coverage increased (+0.03%) when pulling 23fcb65253496b6830a846199a6bb82efeeaef0f on jangalinski:829_log_tasks into 4fec8a95cc4de3a8f2f87ea4e3437616f19a0d41 on dropwizard:master.

Coverage increased (+0.03%) when pulling 23fcb65253496b6830a846199a6bb82efeeaef0f on jangalinski:829_log_tasks into 4fec8a95cc4de3a8f2f87ea4e3437616f19a0d41 on dropwizard:master.

Coverage increased (+0.03%) when pulling 23fcb65253496b6830a846199a6bb82efeeaef0f on jangalinski:829_log_tasks into 4fec8a95cc4de3a8f2f87ea4e3437616f19a0d41 on dropwizard:master.

I wanted to keep the change testable, so i went for an extra function.  But firstnonnull is a good idea, no need to test guava here.   Will refactor and commut again.

Question: why not just use getClass().getName()? No null-checks, no functions, just the class name, and done.
I mean, its only logging and when inner classes are represented with i.d.Bar$Foo instead i.d.Bar.Foo, who cares?

Thanks for your PR!


InAppPushes: image size downloader refactored, file not found exception handler added

Fix for bug 184.

These changes have been merged into our active development branch, v4.5.4dev, and will be included in our next release.


Qestion: banana gorilla jungle problem with DI

Hi there,
I've noticied the potential problem in the REAMDE sample:
interface UserService {
  createUser: () => Effect.Effect<UserService, UserAlreadyExistsError, CreatedUser>;
}

code
The question is:

is it a typo or is it inteded to have the Effect depnding on the UserService as a result of the createUser?

I expect something like that:
interface IUserCreator {
  createUser: () => Effect.Effect<never, UserAlreadyExistsError, CreatedUser>
}

I guess it is expected that calling userService.createUser returns an effect without a dependency on the { createUser }, that later could be run without provisioning of any dependencies.
The more realistic case looks like that:
interface IUserCreator {
  createUser: () => Effect.Effect<DBConnection, UserAlreadyExistsError, CreatedUser>
}

The UserService.createUser returns an Effect depends on the DBConnection but not on the UserService

Hello @DScheglov,
Nice catch, it's indeed a mistake, the createUser is just there to simulate a dummy business use-case and the UserService should indeed be named UserRepository so that the use-case depends on the repository but the type parameter R from the createUser of the repository should be never, or as you mentioned could contain something representing the DB connection (even if the latter could be hidden from the Effect signature and be indeed part of the service lifecycle).
Consequently this would be something like:
// use case
const registerUser: Effect<UserRepository, UserRegistrationError, DomainUser> = {}

interface UserRepository {
  createUser: () => Effect<never, UserAlreadyExistsError, CreatedUser>,
  // or
  createUser: () => Effect<DBConnection, UserAlreadyExistsError, CreatedUser>
}

I'll update the example to get rid of the mistake and change the naming to avoid introducing confusion
Thanks for you feedback!

@DScheglov just updated the introduction on the DI part. Thanks for the heads up!
FYI I didn't end up mentioning any other dependency for the repository, just stayed on the most simple case where resources are managed within the service itself, so not visible from the interface.

@antoine-coulon ,
Thank you for your job. Effect is really cool and Intro to the Effect is something must to have.
I'm going to deep dive in DI with Effect, so it could be I will create a new issues (perhaps in the Effect repo) :)
Currently it seems the "client" must be aware of the dependencies of the "service" it depends on even if it depends on abstraction -- it is not desired in the DI. But let's keep it for another issue

Thanks :)
Of course feel free to create new issues if it's related to the introduction in itself, but at some point it might eventually make more sense to discuss about core concepts on the Effect Discord. It's also worth to note that some of your questions are already answered there as the community and especially the maintainers are very active.

Currently it seems the "client" must be aware of the dependencies of the "service" it depends on even if it depends on abstraction -- it is not desired in the DI. But let's keep it for another issue

Not sure to understand your point there, DI is used to decouple the usage of dependencies from their actual creation process, in that case the usage of dependencies is made explicit as we want it to be, without telling anything about when/how the dependency is itself constructed hence keeping the abstraction intact.


Support querying vector source features

It would be useful to support querying vector source features.
Functions from MapLibre Native:

Android: querySourceFeatures
iOS: featuresInSourceLayersWithIdentifiers:predicate: (I didn't test it, but judging by the documentation, it looks like the equivalent of Android's querySourceFeatures

Also cluster inspection methods (see TODO in #79)


Saving Files in File System directly in Blazor Web Assembly

I think the component FileUpload1 in case of Blazor web Assembly pivot should be removed due the following description.
In component Pages/FileUpload1.razor It proposes an approach to save files in files system. Although it works for Blazor Server since it runs on Server and we have access to file system, we can not use the approach in web Assembly. Also, according to code, the example uses IWebHostEnvironment to inject environment related data but in case of blazor web assembly, the host type is web host only in prerendering and after the host environment type is IWebAssemblyHostEnvironment which has not ContentRootPath field. So I think the only option we have in Blazor Web Assembly for file upload is to use APIs (Hosted server or external service).
Thanks again.

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

ID: 5ea474d5-234a-f393-8609-892a2deb5d2e
Version Independent ID: c11d981c-05af-c19d-a333-feedd5978639
Content: ASP.NET Core Blazor file uploads
Content Source: aspnetcore/blazor/file-uploads.md
Product: aspnet-core
Technology: aspnetcore-blazor
GitHub Login: @guardrex
Microsoft Alias: riande

Oh sorry, I think I am reading something else, Thanks and I close it

btw @abdollahkahne ... We probably will do some work along these lines. True, WASM doesn't access the client file system. Therefore, it's really more like 'process file bytes' when it comes to a Blazor WebAssembly app than a formal 'file upload' ... the word 'upload' is overloaded here and not a good description of what's going on.

Hosted server or external service).

Yes, that part is right on. That latter section on using a hosted WebAssembly app with a controller is far more likely useful for many scenarios ... it's truly a 'file upload.' ... and it could be a service, yes ... not a controller-type set up.
I don't think we need a formal issue on this. I'm going to add a note to my 2022 tracking issue to come back and work on this in the topic. Thanks for commenting.


Update sdmmc support

Update sdio-host version and improve eMMC support

@ostenning There's a few changes to the sdmmc support here, it would be helpful if you could try this out!

Hi @richardeoin , I've given this branch a fairly quick test with the embedded-sdmmc crate, reading / writing data to the FAT32 formatted SDCard. I've had no problems as of yet.

Thanks @ostenning 👍  I was looking for a sanity check really, so that test with embedded-sdmmc-rs is great

@richardeoin Do you plan to update f4xx-hal also?

@burrbull No I don't plan to update f4xx-hal. The F4 reference manuals I found don't mention eMMC at all (although it might still be possible..) and I don't have any f4 + eMMC hardware to test on

bors r+


As a user, I would like to be able to minimise the app to a menubar icon

Menu bar mode/move app to menu bar popup

Annoyingly, in Ventura, this can be done very easily using the new MenuBarExtra View within the main App struct:
https://sarunw.com/posts/swiftui-menu-bar-app/


Handle Hydra evaluation errors gracefully

Currently there are two problems that occur if a package fails to evaluate (on purpose):
a) "broken" or "disabled" package is not propagated to reverse dependencies. If a package A depends on package B and B is marked as broken/disabled,
package A will still be evaluate-able and will result in an evaluation error
b) evaluation errors spams the hydra error tab page

Proposal to fix b)

provide high-level throw function that prefixes the error message with something that will indicate the error is supposed to happen
document the function
make sure Python and meta.broken uses it
handle such errors in pkgs/top-level/release-lib.nix by regexing them out from the output

Previous discussions:

http://lists.science.uu.nl/pipermail/nix-dev/2015-February/016381.html
https://github.com/NixOS/nixpkgs/commit/b653e3f6614fbe2664b1fd09d3baf5222b4de7f2

It's still an issue right ?

Looks like it

It's not the same but similar to https://github.com/madjar/nox/issues/40. It would be nice to have a function that filters out all the invalid builds recursively from a set.

@domenkozar iirc this discussion moved to other issues, would it bother you closing this instance?


set rolling logs every hour, but log file doesn't produce in time

hi, I set my config xml file below:
<seelog>
<outputs formatid="main">
<filter levels="info,debug,critical,error">
 <rollingfile type="date" filename="logs/proxy.log" datepattern="02.01.2006.15" maxrolls="180" />
</filter>
</outputs>
<formats>
<format id="main" format="%Date/%Time %File:%Line [%LEV] %Msg%n"/>
</formats>
</seelog>
but it doesnt produce any log file as i think.
did I make something wrong?
besides, i wrte a test program to test my log setting, this time  i set the datepattern to "02.01.2006.15.04", it work as my expected!

I think maybe the IO is too busy..

    <filter levels="warn">
        <file path="./logs/business/warn.log"/>
    </filter>

    <filter levels="error,critical">
        <file path="./logs/critical/error.log"/>
    </filter>
</outputs>
<formats>
    <format id="common" format="%Date(01/02/06 15:04:05.000000) [%Level] [%FuncShort/%Line] %Msg%n" />
</formats>

I also met same question, can you solve it?