Webpack Compilation Error

I'm using webpack with handlebars-loader.  I've specified my helpers and partials directory but when I try to compile I am given an error.
/Development/boilerplate/node_modules/handlebars/dist/cjs/handlebars/helpers/helper-missing.js:19
      throw new _exception2['default']('Missing helper: "' + arguments[arguments.length - 1].name + '"');
      ^
Error: Missing helper: "extend"
    at Object.<anonymous> (/Development/boilerplate/node_modules/handlebars/dist/cjs/handlebars/helpers/helper-missing.js:19:13)
    at Object.eval [as main] (eval at createFunctionContext (/Development/boilerplate/node_modules/handlebars/dist/cjs/handlebars/compiler/javascript-compiler.js:254:23), <anonymous>:5:92)
    at main (/Development/boilerplate/node_modules/handlebars/dist/cjs/handlebars/runtime.js:175:32)
    at ret (/Development/boilerplate/node_modules/handlebars/dist/cjs/handlebars/runtime.js:178:12)
    at ret (/Development/boilerplate/node_modules/handlebars/dist/cjs/handlebars/compiler/compiler.js:526:21)
    at HandlebarsPlugin.compileEntryFile (/Development/boilerplate/node_modules/handlebars-webpack-plugin/index.js:289:22)
    at entryFilesArray.forEach (/Development/boilerplate/node_modules/handlebars-webpack-plugin/index.js:267:56)
    at Array.forEach (<anonymous>)
    at glob (/Development/boilerplate/node_modules/handlebars-webpack-plugin/index.js:267:29)
    at f (/Development/boilerplate/node_modules/once/once.js:25:25)
    at Glob.<anonymous> (/Development/boilerplate/node_modules/handlebars-webpack-plugin/node_modules/glob/glob.js:133:7)
    at Glob.emit (events.js:182:13)
    at Glob._finish (/Development/boilerplate/node_modules/handlebars-webpack-plugin/node_modules/glob/glob.js:172:8)
    at done (/Development/boilerplate/node_modules/handlebars-webpack-plugin/node_modules/glob/glob.js:159:12)
    at Glob._processReaddir2 (/Development/boilerplate/node_modules/handlebars-webpack-plugin/node_modules/glob/glob.js:409:12)
    at /Development/boilerplate/node_modules/handlebars-webpack-plugin/node_modules/glob/glob.js:346:17

My webpack.config is setup like:
    entry: {
      app: './app/js/main.js'
    },
    resolve: {
      extensions: [
        '.js',
        '.json',
        '.hbs'
      ],
      alias: {
        'handlebars' : resolve( 'node_modules/handlebars/dist/handlebars.min.js' )
      }
    [...]
    test: /\.(handlebars|hbs)(\?.*)?$/,
        loader: 'handlebars-loader',
        options: {
          helperDirs: [
            path.join( __dirname, '../node_modules/handlebars-helpers' ),
            path.join( __dirname, '../node_modules/handlebars-utils' ),
            path.join( __dirname, '../node_modules/handlebars-layouts' ),
            path.join( __dirname, '../helpers' )
    			],
          partialDirs: [
            path.join( __dirname, '../app/views', 'partials' )
          ],
          knownHelpersOnly: false
        }
       [...]

And in my index.hbs I have
{{#extend "default" title="Boilerplate" }}
  {{#content "content"}}
      [...]
  {{/content}}
{{/extend}}

When I remove the extend it renders fine, well it doesn't throw a compile error.  I've read where others are actually using js and creating the hbs template inside of js file where entry point is but I am looking to utilize hbs files to be able to keep it separated.
I've also used handlebars-webpack-plugin to help with this but that's for server side rendering.  But it doesn't solve my issue of precompilation of the hbs templates and the helpers
My webpack.config
    [...]
    new HandlebarsPlugin({
      htmlWebpackPlugin: {
        enabled: true,
        prefix: 'html'
      },

      entry: path.join( process.cwd(), 'app', 'views', '*.hbs'),
      output: path.join( process.cwd(), 'dist', '[name].html' ),

      helpers: [
        require( path.join( process.cwd(), 'node_modules/handlebars-helpers' ) ),
        require( path.join( process.cwd(), 'node_modules/handlebars-utils' ) ),
        require( path.join( process.cwd(), 'node_modules/handlebars-layouts' ) )
      ],

      partials: [
        path.join( process.cwd(), 'html', '*', '*.hbs' ),
        path.join( process.cwd(), 'app', 'views', '*', '*.hbs' )
      ]
    }),
   [...]

Am I missing something or is there an issue with Webpack and handlebars-helpers?  Any help would be appreciated.

hello, have you solved this I'm getting the same error. Thanks in advance!

@selenearzola No sorry, I have not resolved this problem.  I dug a little bit without finding anything.  I have since moved away from Handlebars.

I solved  yesterday, this is my solution:
const path = require('path');
module.exports = {
mode: 'development',
entry: path.resolve(__dirname, 'www/js/app.js'),
output: {
filename: 'app-bundled.js',
path: path.resolve(__dirname, 'www/js')
},
module: {
rules: [
{
test: /.hbs$/,
use: [{
loader: "handlebars-loader",
options: {
helperDirs: path.resolve(__dirname, "./www/js/helpers"),
partialDirs: path.resolve(__dirname, "./www/js/partials")
}
}]
}
]
}
};

@selenearzola Hi , do you use extend in your handlebars. I get the similar error now
ERROR in Template execution failed: Error: Missing helper: "extend"

I'm not sure but I believe that this extend helper is one of the required helpers of handlebars so there is a way that I cannot remember right now to install it and once you do it should work.

The extend helper mentioned in the original post is from handlebars-layouts, not this library. This library does have an extend helper but it does something different.
I'm going to close this issue since it's related to a different library.


options.WithAuthPrivateKey() is not used by system transport

The private key given by  options.WithAuthPrivateKey() is not used when using options.WithTransportType("system").
It's used correctly with the standard transport, but there is not code implemented in system transport to use it (in buildOpenArgs).
Is that voluntary ? In this case I think it should be mentionned in the docs.
Else we need to extend the openArgs with ["-i", t.SSHArgs.PrivateKeyPath]. I can submit a PR if you like.

Yeah pr welcome. Standard transport is super bare bones right now.

I said standard transport because I clearly cant read :) either, way, thanks for the PR -- just merged it, closing this out!


v1.11 Endgame

Release team
Release lead: @artursouza
Release lead shadow(s): @nyemade-uversky @robertojrojas
Perf test lead: @JoshVanL @robertojrojas
Long haul test: @halspang
Build manager: @JoshVanL
Read about the Dapr release lifecycle
Milestone dates
Code freeze: ~05/01/2023~ - 05/18/2023
Endgame starts: 05/19/2023
Endgame ends: 06/05/2023
1.11.0 release: 06/06/2023
Release Tasks:

ETA for all below: TBD

[x] All P0 issues below are resolved PRIOR to code freeze:

[x] Actor reminder & timer serialization regressions are fixed in 1.10.6 and merged into master - @artursouza
[x] ~gRPC service invocation error message regression (detected by Java SDK) is fixed in 1.10.6 and merged into master~ Not a regression, it is due to a legit hotfix and error message is not how it was in 1.9 - @artursouza
[x] Perf regressions in master branch - @yaron & @JoshVanL
[ ] ~Flakiness of placement unit tests https://github.com/dapr/dapr/issues/6265~ - @JoshVanL
[ ] ~Flakiness of external service invocation E2E tests on Windows~ - @yaron2
[x] Eventgrid component regression on metadata change - @berndverst
[x] Bulk secret regression detected by Java SDK - @mukundansundar
[x] Add stable_components build flavor tag for newly stable components - @berndverst
[x] ~https://github.com/dapr/dapr/issues/6316~ https://github.com/dapr/dapr/pull/6325 - @artursouza
[x] https://github.com/dapr/dapr/pull/6342 - @ItalyPaleAle @berndverst
[x] https://github.com/dapr/dapr/issues/6324 - @JoshVanL

[x] All MUST HAVE feature and improvements planned for 1.11 are merged:

[x] https://github.com/dapr/java-sdk/pull/846 - @artursouza @mukundansundar
[x] https://github.com/dapr/dapr/pull/6280
[x] https://github.com/dapr/dapr/pull/6225
[x] https://github.com/dapr/dapr/issues/6099 - @ItalyPaleAle

[x] CLI changes blocked by runtime RC

[x] https://github.com/dapr/cli/pull/1276
[x] CLI changes for external service invocation: add new CRD to install & upgrade commands - @sicoyle (pending runtime RC)

[x] MUST HAVE for SDK releases:

[x] https://github.com/dapr/dotnet-sdk/pull/1077
[x] https://github.com/dapr/dotnet-sdk/pull/1080
[x] https://github.com/dapr/go-sdk/pull/391
[x] https://github.com/dapr/go-sdk/pull/387

[x] NICE TO HAVES for runtime:

[x] Add Kitex binding component
[ ] ~Add Nacos binding component~ - needs to be tested first, moved to 1.12
[ ] ~Add back Temporal~ - we cannot add Temporal because it has not been tested with latest Workflow changes

[x] Code freeze at 05/18/2023
[x] Check all new components are registered in dapr/dapr @artursouza
[ ]  E2E, certification and perf tests are passing @artursouza

[x] E2E: https://github.com/dapr/dapr/actions/runs/5020273373
[x] Perf: https://github.com/dapr/dapr/actions/runs/5059810769

[x] Update components-contrib certification tests go.mods with dapr/dapr 1.11.0-rc.1 commit hash  @berndverst
[x] Create release-1.11 branch and cut RC 1.11.0-rc.1 for component-contrib
[x] Update dapr/component-contrib pkg to 1.11.0-rc.1 in dapr/dapr master branch
[x] Create release-1.11 branch for Dapr runtime
[x] Verify helm chart and cut the 1.11.0-rc.1 release for Dapr runtime
[x] Create release-1.11 branch for CLI
[x] Update dapr/dapr pkg to 1.11.0-rc.1 in dapr/cli release-1.11 branch
[x] Cut the 1.11.0-rc.1 release for CLI
[ ] Trigger GitHub actions in dapr/homebrew-tap (GitHub disables Actions after 1mo without commits) - @artursouza
[x] Notify users about dapr/dapr 1.11.0-rc.1 via Discord @artursouza
[ ] Validate the upgrade path from the previous release -- CRDs updated, no deletion of components/configs etc. (~This can partially be accomplished by updating the CLI upgrade_test.go~) @pravinpushkar
[ ] ~Validate dapr init in self hosted mode for RC from GHCR and default registry~ @DeepanshuA
[ ] ~Validate dapr init in k8s mode for RC from GHCR and default registry~ @DeepanshuA
[ ] ~Validate renew-certificate command with a cluster with a Dapr enabled app~ @yaron2
[ ] Create RC for installer-bundle @shivamkm07
[ ] Validate RC for installer bundle @shivamkm07
[x] Update proto and cut the rc release for Java SDK  @artursouza
[x] Update proto ~and cut the rc release~ for Python SDK  @berndverst
[x] Update proto ~and cut the rc release~ for Go SDK  @JoshVanL
[x] Update proto and cut the rc release for dotnet SDK  @halspang
[ ] Update proto ~and cut the rc release for~ cpp SDK  @pravinpushkar
[ ] Update proto and cut the rc release for rust SDK @JoshVanL
[X] Cut the rc release for Dashboard @artursouza
[ ] Update longhaul tests with RC for runtime and dotnet SDK @halspang
[ ] Update quickstarts/tutorials automated validation and check it works - covers Linux Standalone/ K8s / Darwin MacOS.  @yaron2
[x] Test and validate tutorials in Linux ARM64 k8s and self-hosted - @JoshVanL
[ ] Test and validate tutorials in Windows - @JoshVanL
[x] Update Configuration API quickstart - @shivamkm07
[ ] Create Cryptography API quickstart - @ItalyPaleAle
[ ] Create Python quickstart for Workflows - @DeepanshuA
[ ] Validate Dapr CLI non-slim scenarios on Windows @shubham1172
[ ] Validate longhaul metrics @halspang
[ ] Test and validate the .NET SDK - run through samples @halspang
[x] Test and validate the Java SDK - run through samples @artursouza
[x] Test and validate the Python SDK - run through samples  @berndverst
[x] Test and validate the Go SDK - run through samples @robertojrojas
[x] Test and validate Dashboard, local mode and kubernetes hosted @artursouza
[ ] Update certification tests in components-contrib release branch (prior to merge back into master) to use the RC and Go SDK release. @berndverst
[ ] Confirm with maintainers that each repo has milestone set for all relevant issues & PRs, then generate release notes

[x] CLI - @mukundansundar
[ ] runtime - @artursouza @yaron2 @mukundansundar
[ ] components-contrib - @ItalyPaleAle @berndverst @DeepanshuA
[ ] .NET SDK - @halspang
[X] Java SDK - @artursouza
[ ] JS SDK - @shubham1172
[X] Python SDK - @berndverst
[ ] Go SDK - @yaron2
[ ] Check all milestones for each repo above are up to date before cutting the release notes. @artursouza

[ ] Validate FOSSA on each repo (contrib is included in runtime)

[ ] CLI - @mukundansundar
[ ] runtime - @artursouza @yaron2 @mukundansundar
[ ] .NET SDK - @halspang
[ ] Java SDK - @artursouza
[ ] JS SDK - @shubham1172
[ ] Python SDK - @berndverst
[ ] Go SDK - @yaron2

[ ] Edit and complete release-notes on HackMD (everyone)
[ ] Verify 1.11 documentation @msfussell
ETA for all above: 06/05/2023

RELEASE DAY: 06/05/2023

[ ] Release Dashboard @artursouza, update dapr/dapr's helm chart to remove RC suffix
[ ] Verify no breaking changes section in release notes @artursouza
[ ] Merge release notes into release branch @artursouza
[ ] Release Dapr 1.11 @artursouza
[ ] Release CLI 1.11 @mukundansundar @yaron2
[ ] Release Installer Bundle 1.11 @shivamkm07
[ ] Create blog post @nyemade-uversky
[ ] Create release-1.11 branch for tutorials, update version tag in the images, create v1.11.0 tag @artursouza
[ ] For all SDKs, update dapr version and SDK rc version, and check e2e tests (SDK maintainers)
[ ] Release cpp-sdk @pravinpushkar
[ ] Release js-sdk @shubham1172
[ ] Release go-sdk @yaron2
[ ] Release java-sdk @artursouza
[ ] Release python-sdk @berndverst
[ ] Release rust-sdk @artursouza
[ ] Release dotnet-sdk and release nuget packages
[ ] Make sure the release notes are copied into the GitHub release description at https://github.com/dapr/dapr/releases @artursouza
[ ] Create components-contrib release from Tag. Copy components release notes section into the description of the release. @berndverst
[ ]  [Not needed anymore] ~In the dapr/dapr master branch, update DEV_CONTAINER_VERSION_TAG in docker/docker.mk to the next release increment. Update the DEV_CONTAINER_CLI_TAG to the latest CLI release. In the same PR also update .devcontainer/devcontainer.json to refer to the new Dev Container version.~ @ItalyPaleAle
[ ] In the dapr/components-contrib master branch, update dapr/components-contrib/.devcontainer/Dockerfile to reference the updated dapr-dev image tag for the new release. @ItalyPaleAle
[ ] In the dapr/cli master branch, update dapr/cli/.devcontainer/Dockerfile to reference the updated dapr-dev image tag for the new release. @ItalyPaleAle
[ ] Update certification tests in components-contrib release branch (prior to merge back into master) to use latest runtime and Go SDK release. @berndverst
[ ] Generate new Java docs based on the release version of the Java SDK @artursouza

ANNOUNCEMENT DAY: 06/06/2023

[ ] Update supported versions table in docs @nyemade-uversky
[ ] Merge this quickstarts PR https://github.com/dapr/quickstarts/pull/778
[ ] Release blog @nyemade-uversky
[ ] Tweet release announcement @msfussell
[ ] Discord release announcement @artursouza
[ ] Update versions in the E2E tests in CLI to the latest runtime and dashboard versions @pravinpushkar
[ ] Merge (NOT SQUASH MERGE/AUTO MERGE) back release-1.11 branch into master for required repos @artursouza
[ ] Celebrate (everyone)

Release blocker https://github.com/dapr/cli/issues/1289

Test and validate tutorials in Linux ARM64 k8s and self-hosted - @JoshVanL

Ran through, and they look good :+1: Small nit here https://github.com/dapr/docs/pull/3459

@artursouza

Validate the upgrade path from the previous release -- CRDs updated, no deletion of components/configs etc.

Validated, all good here.

Java SDK FOSSA is clear, no action was required: https://app.fossa.com/reports/e4f9abb1-8641-4940-8e16-f46e097cf701


boss_web_controller.erl could use some better error messages

I was trying to find out why my code would not work at times and I decided to add some better error messages to the boss_web_controller.  At lines 538 and 540 as of ChicagoBoss-0.6.3/ChicagoBoss-0.6.4 I added the reason of the failure
to the message.
A simple fix, and very helpful.  Could you please be a bit more verbose in the error messages of the controller for easier debugging?
Thank you!
—Kai

Hi Evan,
Pullrequest has been sent, Sir.
--Kai

And merged! Thank you sir!
On Mon, Nov 7, 2011 at 10:53 PM, kotedo <
<EMAIL_ADDRESS>
Hi Evan,
Pullrequest has been sent, Sir.
--Kai

Reply to this email directly or view it on GitHub:
https://github.com/evanmiller/ChicagoBoss/issues/34#issuecomment-2663862

Might be a good idea to close this issue since you're done with it :)


v4.0.0-rc.2 Record.equals breaks when passed null or undefined

What happened
When passing in null or undefined into a record instance's .equals method, I receive a TypeError: Cannot read property '_keys' of null exception instead of the expected false.
How to reproduce
const ABRecord = Record({ a: 1, b: 2 });
const myRecord = new ABRecord();

console.log(myRecord.equals(null));
console.log(myRecord.equals(undefined));
console.log(myRecord.equals(0);
console.log(myRecord.equals('');
console.log(myRecord.equals(false);

Output
TypeError: Cannot read property '_keys' of null
TypeError: Cannot read property '_keys' of undefined
false
false
false

I would like to take up this issue. Adding a check for null or undefined in equals should fix this?


chore(development): release 0.8.0

:robot: I have created a release beep boop
0.8.0 (2023-01-10)
Features

upgrade throw errors (2494aef)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/JonDotsoy/envuse-rust/releases/tag/v0.8.0 :sunflower:


Adding "domain" or "data type" as source in agent

We have to connect manually agents together in "sources" fields when we define a agent. We could instead add a more abstract type of source "domain".
A domain "public transport" could be generated by any agent generating this data type. The agent issuer should comply with a definition set by the receiving agent. An agent could then use the agent "public_transport" or any other agent capable of providing information on public transport. The receiver becomes more abstract and we could add many new agent emitting a "domain" without having to edit agents that receive the event.
We can imagine agents that are dynamically activated by a receiving agent.
It just an idea and I think it could be a nice feature to Huginn.

Hey @beeksiwaais, I think this is an interesting idea.  We've talked about event schemas and namespaces in the past (like subscribing to public_transit.*).


Retrieving results with get_float

Hi,
I am attempting to improve our flow of retrieving results from pipeline analyses with the use of pyansys. I am running into trouble with retrieving values present in ansys to variables in python. In /POST1 I am able to retrieve the results I want with:
(based on issue 157/152)
ansys.run("/POST1")

print("start creating output")
#results at last (=current) timestep via POST1
ansys.run("ESEL,S,ENAME,,59")   #select all elements of pipe59 type
ansys.etable(lab="FX", item="SMISC",comp="1")       #axial force
ansys.etable(lab="SDIR", item="SMISC",comp="13")    #direct axial stress
ansys.etable(lab="SB", item="NMISC",comp="88")       #bending stress
ansys.etable(lab="SEQVL", item="NMISC",comp="87")       #equivalent stress
ansys.etable(lab="MY", item="SMISC",comp="5")       #bending moment
ansys.etable(lab="MZ", item="SMISC",comp="6")       #bending moment

maxelem=100
python_FX = np.zeros(maxelem)
python_SDIR = np.zeros(maxelem)
python_SB = np.zeros(maxelem)
python_SEQVL = np.zeros(maxelem)
python_MY = np.zeros(maxelem)
python_MZ = np.zeros(maxelem)

for i in range(maxelem):
    python_FX[i] = ansys.get_float("ELEM", i+1, "ETAB", "FX")
    python_SDIR[i] = ansys.get_float("ELEM", i+1, "ETAB", "SDIR")
    python_SB[i] = ansys.get_float("ELEM", i+1, "ETAB", "SB")
    python_SEQVL[i] = ansys.get_float("ELEM", i+1, "ETAB", "SEQVL")
    python_MY[i] = ansys.get_float("ELEM", i+1, "ETAB", "MY")
    python_MZ[i] = ansys.get_float("ELEM", i+1, "ETAB", "MZ")
print("POST1 elements completed")

There are also results I want that are retrieved from POST26, however I run into problems with assigning the internal result of ansys to a python variable
#for fatigue extract time-dependant longitudinal stress
#axial stress per location, via ESOL, which requires element number and node number
#ESOL is only valid in POST26
ansys.set_log_level('INFO')
ansys.post26()
python_SD_LOC1 = np.zeros(maxelem)
for i in range(maxelem):
    print(i)
    ansys.esol(nvar='2',elem=str(i+1),node=str(i+1),item='LS',comp='1') #ls,1 is longitudinal stress at loc 1 (0 deg location)
    ansys.vget(par='SD_LOC1',ir='2',tstrt='1') #store in a variable with a name
    python_SD_LOC1[i] = ansys.get_float("ELEM", i+1, "VGET", "SD_LOC1") # <- I do not understand of use get_float()
    #get_float(entity='', entnum='', item1='', it1num='', item2='', it2num='', **kwargs)

The documentation on this function does not provide enough information to help me further.
Could you elaborate on how to use get_float in this situation, or other means of retrieving data?
example file.zip

Nice work on your script!
You're quite right, the documentation isn't great for those methods; I've improved them as well as added an example for them at read_float_parameter
Here's how you would read in those element results from MAPDL from the vget array.  You'll need pyansys==0.41.4, which should be out shortly on PyPi.
#for fatigue extract time-dependant longitudinal stress
#axial stress per location, via ESOL, which requires element number and node number
#ESOL is only valid in POST26
ansys.set_log_level('INFO')
ansys.post26()
python_SD_LOC1 = np.empty(maxelem)
for i in range(maxelem):
    # ls,1 is longitudinal stress at loc 1 (0 deg location)
    ansys.esol(nvar='2', elem=str(i+1), node=str(i+1), item='LS', comp='1')
    ansys.vget(par='SD_LOC1', ir='2', tstrt='1') # store in a variable with a name

    # read the first value in the array
    python_SD_LOC1[i] = ansys.read_float_parameter('SD_LOC1(1)')

However, it's more efficient to read the results directly from the binary file (using pyansys).  Here's how you'd go about doing that:
# Read in the element stress for all elements directly from the file
result = ansys.result
estress, enum, enode = result.element_stress(0)

# grab the stress from the first value for each element
python_SD_LOC1_from_rst = np.array([elem[0, 0] for elem in estress[:maxelem]])
assert np.allclose(python_SD_LOC1_from_rst, python_SD_LOC1)

Hi,
Thank you for your response, this helps me make a step forward.
The solution with result.element_stress() is not exactly what I want though. This gives a single stress for a node, but I want to investigate stress at multiple locations around the pipe, which I can extract (in APDL script) with ESOL, i, ENUM(i-1), NNUM(i-1), LS,X where X is 1, 5, ..., 29 for the 8 circumferential positions of PIPE59.
I did some digging and I think the solution could lie in:
enum, edata = result.element_solution_data(0, datatype='ENS')
this gives 64 values for a PIPE59 element and 192 for a PIPE288 element (while exploring pyansys I am trying to update our analyses to use the more recent element). Am I correct to assume that this corresponds to indices CI and CJ as here ?
This function also gives me some further questions. With datatype= 'EMN' or 'EMS' you can get the 'NMISC' or 'SMISC'  components. The retrieved data has 40 or 164 values for these options, respectively. The table only has NMISC components up to 28 and SMISC up to 67. Where are the other values coming from?

When you get a chance, please upload your PIPE288 version.
Looking at this with PIPE59 you're correct that "ENS" corresponds to the "LS" ESOL data:
# compare "LS" ESOL results between pyansys and ANSYS
enum, edata, enode = result.element_solution_data(0, datatype='ENS')

# just here to compare getting data using esol vs element_solution_data
def tmp_get_value(comp):
    ansys.esol(nvar='2', elem=enum[0], node=enode[0][0], item='LS', comp=comp)
    ansys.vget(par='SD_LOC1', ir='2', tstrt='1') # store in a variable with a name
    return ansys.read_float_parameter('SD_LOC1(1)')

# show these are identical
ansys.post26()
ansys.set_log_level('ERROR')
from_ansys = [tmp_get_value(i) for i in range(1, 65)]
assert np.allclose(from_ansys, edata[0])

Am I correct to assume that this corresponds to indices CI and CJ as here ?

I can also confirm that there's a correspondence between the table values in the item and sequence numbers and the values of the results from ENS.  Here's the table from the 12.1 Element Reference documentation:

This function also gives me some further questions. With datatype= 'EMN' or 'EMS' you can get the 'NMISC' or 'SMISC' components. The retrieved data has 40 or 164 values for these options, respectively. The table only has NMISC components up to 28 and SMISC up to 67. Where are the other values coming from?

Without diving into the ANSYS source, I can only speculate that there's extra undocumented data written to the result file that is either used internally within ANSYS to avoid recalculating some results on the fly, or the data being written to file isn't necessary and is a hold-over from some feature.
I appreciate your digging, and it's given me some ideas about how to expose additional data to the user through the binary interface.  There's so much data available in these result files, it's quite difficult to provide all of it as a nicely packaged and labeled result.  Ideally, the results from an "ENS" query would return a dictionary for each element, but I'm afraid that's out of scope at the moment of this project.


Key path cannot refer to static member '....' Error

Description
When I tried to leverage all new features of version 1.7, I faced an error with observing case the path for the nested state. Accessing the case path scoping store shows: Key path cannot refer to static member '....'.

Here is example implemented in both versions:
@Reducer
struct StructA {
  @ObservableState
  struct State {
    var structB: StructB
  }
  enum Action {
    case contentA(ContentAReducer.Action)
  }
}

struct StructB {
  var content: Content
  @ObservableState
  public enum Content {
    case contentA(ContentAReducer.State)
  }
}

@Reducer
struct ContentAReducer {
  @ObservableState
  struct State {
    var text: String
  }
  enum Action {}
}

struct ContentAView: View {
  var store: StoreOf<ContentAReducer>
  var body: some View {
    Text(store.text)
  }
}

struct StructAView: View {

  @Binding var store: Store<StructB.Content, StructA.Action>

  var body: some View {

    // Old version works, but soft-deprecated

    SwitchStore(self.store) { content in
      switch content {
      case .contentA:
        CaseLet(/StructB.Content.contentA, action: StructA.Action.contentA) { store in
          ContentAView(store: store)
        }
      }
    }

    // New version prints an error:
    // Key path cannot refer to static member 'contentA'

    switch store.state {
    case .contentA:
      if let store = store.scope(state: \.contentA, action: \.contentA) {
        ContentAView(store: store)
      }
    }
  }
}

Checklist

[ ] I have determined whether this bug is also reproducible in a vanilla SwiftUI project.
[X] If possible, I've reproduced the issue using the main branch of this package.
[X] This issue hasn't been addressed in an existing GitHub issue or discussion.

Expected behavior
No response
Actual behavior
No response
Steps to reproduce
No response
The Composable Architecture version information
1.10.2
Destination operating system
iOS15
Xcode version information
Version 15.2 (15C500b)
Swift Compiler version information
swift-driver version: 1.87.3 Apple Swift version 5.9.2 (swiftlang-<IP_ADDRESS>.56 clang-15<IP_ADDRESS>.5)
Target: x86_64-apple-macosx14.0

@artemkrachulov Case key path syntax only works with enums that have the @CasePathable macro applied. Further, scoping to enum case state only works with enums that have the @dynamicMemberLookup attribute applied.
So you need to add those to your enum and it should work:
 struct StructB {
   var content: Content
+  @CasePathable
+  @dynamicMemberLookup
   @ObservableState
   public enum Content {
     case contentA(ContentAReducer.State)
   }
 }

See the documentation for more info: https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/reducers#CasePathable-and-dynamicMemberLookup-enums
Since this isn't a bug in the library I'm going to convert to a discussion.


Common File store for DL1 images at least (CCin2P3)

As announced  during bootcamp I have verified the status of CCIN2P3 web server that we asked (for small dataset file for test) few years ago.
Unfortunately CCIN2P3 has delete this server because there was no traffic on it (they sent us a mail before)
It could take long time to recreate it.
So any other solution are welcome

@kosack  we have a webserver, right?


feat: metamask snaps

Opening draft to visualize the diff
Note, both https://github.com/shapeshift/metamask-snaps/pull/100, https://github.com/shapeshift/hdwallet/pull/628, and https://github.com/shapeshift/web/pull/5166 assume verdaccio running on default port 4873, and all packages published there:

This is only for development purposes, and config should be reverted to default uplink before merging each of these PRs.

Current dependencies on/for this PR:

develop

PR #5166   👈

This comment was auto-generated by Graphite.

Opening for review after tests unbork and cleanup


Is psd support planned?

[Enter feedback here]

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

ID: 1c4995a8-5af9-bcfd-86f2-912c5674b95d
Version Independent ID: 1c4995a8-5af9-bcfd-86f2-912c5674b95d
Content: PowerToys Peek utility for Windows
Content Source: hub/powertoys/peek.md
Product: dev-environment
Technology: powertoys
GitHub Login: @alvinashcraft
Microsoft Alias: aashcraft

that i can uninstall the quicklook

This feels not so much like feedback specifically about the documentation, but rather like a question, or feedback, about the PowerToys product. I don't have any additional content for your scenario, over and above what's in the documentation. So, it might be worth pursuing this as a question or feedback about the product. If you visit the PowerToys repository, then you'll be able to create an issue to leave product questions/feedback.


Can't update since 0.1.42

Can't install davidusb/image-armv7-emhass:0.2.6: 404 Client Error for http+docker://localhost/v1.41/images/create?tag=0.2.6&fromImage=davidusb%2Fimage-armv7-emhass&platform=linux%2Farm%2Fv7: Not Found ("manifest for davidusb/image-armv7-emhass:0.2.6 not found: manifest unknown: manifest unknown")
Home Assistant OS on Raspberry Pi 4 ( core-2022.5.4)
Home Assistant Supervisor ( Home Assistant OS 7.6)

Hi. Yes the latest stable version for arm arch was 0.1.42. The add-on has been unstable since v0.2.0.
The latest v0.2.7 will hopefully solve the latest issues. I will then build the corresponding images for arm and you should be able to successfully update. These arm images are built manually as they take up to 6h to build...

Ok, just tested v0.2.7 and the add-on is functional now. I've just launched the workflow to build the arm images. They should be available in 5 to 6h.

just wanted to install the version 0.2.7, but now there is already the 0.2.8, so the error comes again :-) so i will wait for the new arm image
Can't install davidusb/image-armv7-emhass:0.2.8: 404 Client Error for http+docker://localhost/v1.41/images/create?tag=0.2.8&fromImage=davidusb%2Fimage-armv7-emhass&platform=linux%2Farm%2Fv7: Not Found ("manifest for davidusb/image-armv7-emhass:0.2.8 not found: manifest unknown: manifest unknown")

Hi there. Yes another error was raised and fixed. So a new patched version was released. But the images are not yet built. They will be tonight.

Ok, just launched workflow. You will be able to install the update in 5 to 6h


Allow building site in batches of commits

instead of one potentially large commit

This is helpful and I'm using this instead of 0.12, but I use Java 8 too

Useful, any plan to merge this PR?

I have back-ported this to Java5 compliance... not sure of what else is required to get the patch into the master branch. Thoughts, @kevinsawicki ?


Added support for different OSRM routing algorithms

Added option back in to specify the algorithm when running the OSRM instance.
This allows users to either use the CH or MLD algorithm depending on the supplied dataset.

Thanks @MichielDeMey!

Published as<EMAIL_ADDRESS>


Run sync cluster when previous add or update failed.

Fix the previous implementation of the same idea.

👍

👍


Current Status does not show red and grey packages

https://zosopentools.github.io/meta/#/Progress?id=breakdown-of-status doesn't tell you what is grey vs red (not sure if the 0's are grey or red).
would be good to show that somewhere to get the 'full picture'

Updated here: https://zosopentools.github.io/meta/#/Progress


Add support for service method match in GRPCRoute

Description:
Support the service method match defined in the GRPCRoute
https://gateway-api.sigs.k8s.io/references/spec/#gateway.networking.k8s.io%2Fv1alpha2.GRPCMethodMatch
Should be fixed here https://github.com/envoyproxy/gateway/blob/f3b77142752fd485747c4684984d99e82dd8831d/internal/gatewayapi/route.go#L404

@arkodg please add this as a release note https://github.com/envoyproxy/gateway/pull/961.

Could you assign this issue to me?


Helm Chart Build

Push the helm chart to ECR

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: jaxesn, TerryHowe
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [TerryHowe,jaxesn]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


Set-PolicyConfig -InformationBarrierMode 'MultiSegment' - Unrecognized mode

I have a completely new demo tenant, Information barriers are not configured.
InformationBarrierMode is SingleSegment.
I am running this command to enable multi-segment mode:
Set-PolicyConfig -InformationBarrierMode 'MultiSegment'
But I receive this error:
Information Barrier config is not updated successfully. Error: {"error":{"code":"40005","message":"Unrecognized mode, source mode and  destination mode should be 'Single' or 'MultiAllow'"}}.     + CategoryInfo          : NotSpecified: (:) [Set-PolicyConfig], IBConfigUpdateFailureException     + FullyQualifiedErrorId : [Server=MW2NAM10WS013,RequestId=4ec525ad-3294-4163-ae0c-c603cd2fbb68,TimeStamp=06.04.2023 08:50:11] [Failu     reCategory=Cmdlet-IBConfigUpdateFailureException] DF42E1F2,Microsoft.Office.CompliancePolicy.Tasks.SetPolicyConfig     + PSComputerName        : nam10b.ps.compliance.protection.outlook.com
I already installed the preview 2 of ExchangeOnlineManagement  3.2.0.
Are there additional steps necessary, which are not documented yet?

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

ID: de406555-1a6d-896b-ff10-f873f96c36aa
Version Independent ID: de406555-1a6d-896b-ff10-f873f96c36aa
Content: Use multi-segment support in information barriers - Microsoft Purview (compliance)
Content Source: microsoft-365/compliance/information-barriers-multi-segment.md
Service: o365-seccomp
GitHub Login: @robmazz
Microsoft Alias: robmazz

any updates on this. I am also getting the same error.

any updates on this. I am also getting the same error.

Not from me, unfortunately.

@msbemba Thank you very much for the contribution and sharing this explanation. @Purple-Tentacle Hope this comment is helpful for you. Considering the nature of the issue, as advised, please open a service ticket in your tenant and follow with them for the resolution. You can contact Microsoft support via the need help section on the admin center. We proceed to close it as here we are limited to documentation fixes and improvements only.
We will be very happy if you can share the outcome or resolution with us if you see documentation update is required. We will certainly update this documentation with that valuable information. Thanks again, for taking out some time to open the issue. Appreciate and encourage you to do the same in future also.

According to Microsoft support you should run
Connect-IPPSSession
connect-exchangeonline
Get-OrganizationConfig | FL information
and NOT Get-PolicyConfig.
Get-OrganizationConfig | FL information shows Legacy, which explains the error I am receiving.

@msbemba

@Purple-Tentacle Thank you for your feedback. We have made changes to the document via PR#https://github.com/MicrosoftDocs/microsoft-365-docs/pull/11975
Once the author approves, the changes will be live.
Thanks
Sri

@Purple-Tentacle Thanks for your feedback! New issues and pull requests for this content are closed while we update this content to support upcoming feature improvements.


model bin file?

Hey, I followed the instructions for llama2 and I've downloaded all the folders with various files which looks like this
checklist.chk
consolidated.00.pth
consolidated.01.pth
params.json
Looking at your unit tests it seems that you're expecting a bin file?
How can I either get the lib to work with these files or where is the bin file? I'm suspect this might have something to do with llama2 vs llama1?

This also seems true for the models on hugging face?

You need ggml models. TheBloke repository contains a lot of converted models:
https://huggingface.co/TheBloke
In the near future this format will change

Ah thank you. I did come across his stuff but I wasn't sure!
On Sat, 19 Aug 2023, 11:41 jlsantiago, @.***> wrote:

You need ggml models. TheBloke repository contains a lot of converted
models:
https://huggingface.co/TheBloke
In the near future this format will change
[image: image]
https://user-images.githubusercontent.com/16475613/261793334-95fb0678-68c8-494b-8e62-f4a0e1863c50.png
—
Reply to this email directly, view it on GitHub
https://github.com/SciSharp/LLamaSharp/issues/106#issuecomment-1684915699,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AA6XBOM6AZ4EOQTKEFN3KQTXWCJ5ZANCNFSM6AAAAAA3WODQ54
.
You are receiving this because you authored the thread.Message ID:
@.***>


feat(web): retry

Implement retry logic with the react-icons library for retry icon.
Retry icon shows when user input doesn't equal to the id for last query and it doesn't show the modal when user clicks.

hmm...seems this merge overrides https://github.com/lyleshaw/TweetAnalyzer/pull/10.


Convert to hf format

Thanks for your excellent work! I wanna convert osprey format checkpoint to huggingface format. How should I do this?

@CharlesGong12
Soory for later reply. Our model does not currently support the Hugging Face format, it will be supported in fews days.


Allow us to disable the MAX_TOKEN json part of the prompt.

Verify it's not a duplicate bug report

[X] I searched for similar bugs reported on GitHub and nobody has reported a similar issue. Search all issuees.
[X] I read Troubleshooting guide on Readme and there is not a guide on how to solve my problem.

Describe the Bug
There seems to be a logic flax here. you are always passing max tokens which will never allow the bot to respond at its full 8194 tokens. This option needs to be removed. If the prompt is 4000, the bot can start responding with the remaining 4194 so we can continue, however you are passing max_tokens which means it requires the bot to respond with 8194 tokens which puts us over. Allow the option to remove this json node all together, its not required by openai. It makes GPT4 useless.
Please tell us if you have customized any of the extension settings or whether you are using the defaults.
Default.
Additional context
No response

Hi - we can't omit the max_tokens parameter. Though it's optional, the default is 16 as documented here. One thing that we are considering to do in our future releases is counting the tokens and smartly set the max_tokens automatically to utilize the response size better. That's something we are planning but not started working on yet.

@Cytranics fyi we made a change in v0.0.5 to only append system message + last conversation + new conversation to your question. So that you have both historical context without consuming your tokens for the whole conversation.(The extension used to append the whole conversation)
Please upgrade to v0.0.5 to get the updates.
We wanted to let you know of the update but calculating the max_token is still something that's WIP

Excellent thanks!


plls fails when no coords are named channels

I would expect this code to run:
import microutil as mu
import numpy as np
import xarray as xr

mu.squash_zstack(
    xr.DataArray(
        np.random.randint(0, 255, size=(5, 512, 512)),
        dims=("z", "x", "y"),
    )
)

In the case of channels missing from dims then maybe squash_zstack should just assume it's been passed a BF stack. Or at the very least it should raise an error saying that this is not allowed

So of course its not documented but it depends on having x, y (and eventually z for final selections) as dims. It would be easy enough to default to using the last two dims for the PLLS part but  im not sure how to elegantly handle selecting or squashing along an unnamed z dimension.

Sorry, I don't mean about z I mean that if you have arr with dims: ('t', 'channel', 'z', 'y', 'x')
then mu.squash_zstack(BF.sel(channel='BF')) will fail. Which is admittedly a weird example, but it's a shame that squashing won't work for a time series that lacks an flours. e.g. if you only did BF and raman


Remove "preview" label

Keeping the doc consistent with other portal docs and taking over ownership (JustBe no longer works at MS)

Hi @flanakin, I'm your friendly neighborhood Azure Pull Request Bot (You can call me AZPRBOT). Thanks for your contribution!

It looks like you're working at Microsoft (micflan). If you're full-time, we DON'T require a contribution license agreement.

If you are a vendor, or work for Microsoft Open Technologies, DO please sign the electronic contribution license agreement. It will take 2 minutes and there's no faxing! https://cla.azure.com.

TTYL, AZPRBOT;


Set engines field to node 18 and above

Add
  "engines": {
    "node": "^18.0.0 || ^20.0.0 || >=22.0.0"
  }

to all package.json. I excluded odd versions as they could have breaking changes that are hard for us to support. >=22.0.0 is a loose check to allow future versions, but we could also document to not explicitly support future odd versions 🤔
The babel config could likely be removed now, but I haven't really investigated everything yet so I'm thinking that could be done separately.

I think even supporting odd versions shouldn't be a problem here and we kinda declare support for some of them anyway with that loose >=22.0.0. So I'd probably just keep it simple and use >=18.0.0 - I don't feel super strong about it though

I set it as >=18.0.0 for now and we could probably iterate it again as we go.

It looks like removing @babel/preset-env affected jest too, causing this CI fail, so I reverted it for now


keep getting "Data must only contain models implementing the Transformable contract." error

Hi
I have implemented the Transformable contract (at least that's what I think!) yet I keep getting this error. I'm using Laravel 5.2 and this is how I have implemented it:
In my User.php (model) I have added these at the top:
use App\Transformers\UserTransformer;
use Illuminate\Database\Eloquent\Model;
use Flugg\Responder\Contracts\Transformable;

and these in the class:
/**
     * The path to the transformer class.
     *
     * @return string|null
     */
    public static function transformer()
    {
        return UserTransformer::class;
    }

And I have created a UserTransformer with these codes in it:
namespace App\Transformers;

use App\User;
use Flugg\Responder\Transformer;

class UserTransformer extends Transformer
{
    /**
     * Transform the model data into a generic array.
     *
     * @param  User $user
     * @return array
     */
    public function transform(User $user):array
    {
        return [
            'id' => (int) $user->id,
            'email'    => $user->email,
            'username' => $user->username
        ];
    }
}

Yet when I try to use it by this test method(in my UserController file):
public function tests(){
      $users = User::all();
      return Responder::success( $users );
    }

I get this error:
Data must only contain models implementing the Transformable contract.
Am I missing something here?
Thanks

Did you implement the Transformable interface on your User class?
User.php:
class User extends Model implements Transformable {

Hi, everything seems to be right from your code examples above, so I would need some more information to go on. Do you have the full stack trace of the error?
And could you try to do a dd($users) right before your return Responder::success( $users ); - this might be related to the issue @nlocascio opened about empty collections. Do you have a user model in the database?

A fix for empty collections has been pushed, do you still encounter the same problems after updating your dependencies @sullysheperd?

@nlocascio your suggestion fixed it!
This was the code beginning my User class:
class User extends Authenticatable {
// the rest

Turns out I should have implemented Transformable into it using this syntax:
class User extends Authenticatable implements Transformable{
// the rest

Everything works fine now. Thank you @flugger for your great package. One quick question though:
Days before I found your package I watched few of Jeffrey's videos about api:
https://laracasts.com/series/incremental-api-development
And I see you have implemented the same. Can I ask if you have watched the series and implemented the same codes(with more details I guess)? I'm only asking this because I'm a big fan of Jeffrey's work and I need the api to be perfect in my new project. Once again thank you for your great package ;)

Yeah, I've watched the videos, some good introductory stuff for API development. This package solves many of the same problems as Jeff does in the series, and I've definitely been inspired by the videos over at Laracasts over the years :)
I'm glad you've chosen this packageI - I hope it helps you build the perfect API!


sample_controls is no longer exported, documentation removed, added f…

…lowchart png to vingettes/img, added flowchart to new-interface vignette

We might also need to change any tests using sample_controls to use load_expanded_data to make sure all the tests are relevant. @darkgoldenrod-cherry

Great! Let's move the tests to match the code location


cluster: improve local docker host detection

Hello @nicks,
Please review the following commits I made in branch nicks/remote:
4166065f3e5b2482f7f5fee1153a9178d6e88689 (2021-09-28 16:50:19 -0400)
cluster: improve local docker host detection
Code review reminders, by giving a LGTM you attest that:

Commits are adequately tested
Code is easy to understand and conforms to style guides
Incomplete code is marked with TODOs
Code is suitably instrumented with logging and metrics

Tested this manually with:
minikube start --driver=hyperkit --container-runtime=docker
eval $(minikube docker-env)
ctlptl apply -f ./examples/kind.yaml

which sets up a Kind cluster inside Docker inside a Minikube VM on mac, rather than using Docker Desktop


Remove import maps

This PR removes import maps from the html and js files.
External objects will need to be updated to support this.
Fixes https://github.com/webaverse/app/issues/1375.

Now this needs testing that all of the html files are correctly loading.
The external modules still need to be updated.

Looks like editor.html is having issues with html-render

Looks like editor.html is having issues with html-render

Ah yup that needs to be patched!


coordinator: ensure hijickRoute's gw is from hostIPRouteForPod

Thanks for contributing!

What type of PR is this?

release/bug

What this PR does / why we need it:
Avoiding the GW properly comes from the nodelocaldns's IP when coordinator creates the hijack routes in the pod.

There are some os where ip r get may return src as the address of the node's nodelocaldns, which should be avoided.
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:

please attach an issue link for this

please attach an issue link for this

updated.


Event store adapter for Extreme to support geteventstore.com

Using the behaviour defined in #49. Migrate the adapter in #47 into its own project & Git repo.
This will add support for Greg Young's geteventstore via the extreme client.

Done. Extracted to new GitHub project (commanded-extreme-adapter) and Hex package (commanded_extreme_adapter).


Text Inputs in Android have an extra underline

Need to remove this in style

PR merged to master and verified the underline no longer shows up. Closing


Removing redundant null check in TreeLockNode - #4210

#4210 fix: removed null check In TreeLockNode.java

What changes were proposed in this pull request?
Removed the redundant null check in TreeLockNode, since 'instanceof' returns false for null values.
Fix: #4210
How was this patch tested?
Existing tests.

@alien-droid
Thanks for your contributions, could you please change the title and description of the PR as that of others?

@alien-droid Thanks for your contributions, could you please change the title and description of the PR as that of others?

Thanks @yuqi1129, I have made the requested changes

@alien-droid Thanks for your contributions, could you please change the title and description of the PR as that of others?

Thanks @yuqi1129, I have made the requested changes

It seems that there exists some code style problem, please run ./gradlew :core:spotlessApply to fix it.


Cli: include .bat file in the tarball

We can include the generated .bat file in the zip.
I tested it on windows 11 with java 11 and it works like a charm.
The only problem is that windows users will have to download the tarball, extract it and run it. There's no global command

also the need to have JDK11 installed


failed to enable component: ENOSPC

Just followed your guide updated rasbian and cloned git
But cant start camera
raspimjpeg
mmal: mmal_vc_component_enable: failed to enable component: ENOSPC
What is missing?

Hey how did you do that

Are you having a problem starting the software and you are getting the ENOSPC error message?
If so then the most likely cause is that you do not have the camera hardware interface actually working. This can be one of a number of things.
Not enabling camera support in raspi-config
Camera cables not inserted correctly
Small ribbon on camera module loose (press down)
Marginal power supply or poor USB power lead
Also try running a test with raspistill to check the camera

HI managed to solve it i had to do a reboot...


Highlighting Arabic text causes Safari to crash

Observed on momentjs homepage. Selecting Arabic (ar) as localization, then highlighting more than a single word in the Arabic examples causes Safari to crash and need to reload the page. This does not occur for other Arabic text on Safari

Version please?

Safari Version 9.1.2 (11601.7.7)
On OSX El Capitan
On Tue, Aug 16, 2016 at 3:41 AM Matt Johnson<EMAIL_ADDRESS>wrote:

Version please?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/moment/moment/issues/3373#issuecomment-240026927, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AIMGEZx6HrT5Te2PdvRsdzDDpXNrglawks5qgWm1gaJpZM4JlEhw
.

@maggiepint - can you check this out on your Mac please?

Looks around some more. Similar crashes occur with any RTL language (I checked Hebrew, and other Arabic variants). And the crash only occurs when you highlight stating from the right and working leftwards (this method is of course the norm for such languages). Also the crash is not limited to Safari, Chrome 52.0.2743.116 suffers similarly.

It took me selecting things for a bit, but I was able to reproduce this in Safari too. However, I don't think this is Moment's doing; I think it's Safari's handling of RTL languages on the page.

Maybe, but Chrome has the same error. And I've not noticed errors in either
of those browsers with RTL languages other than here
On Fri, Aug 19, 2016 at 4:56 PM Isaac Cambron<EMAIL_ADDRESS>wrote:

It took me selecting things for a bit, but I was able to reproduce this in
Safari too. However, I don't think this is Moment's doing; I think it's
Safari's handling of RTL languages on the page.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/moment/moment/issues/3373#issuecomment-241132853, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AIMGEUpBdqrFLjYIKrf3V5o-9cYx3_tuks5qhhhqgaJpZM4JlEhw
.

Well, they share a rendering engine (or the common webkit ancestry of one). It may be the renderer freaks out with the frequency of updates or that the text is changing while it's being selected. I'm just speculating; my real point is that it's at worst a problem for Moment's website. Moment has no idea that text is being selected or how many words are selected or any of that. Its job is to output the characters.
That's not to say I'm not glad you reported it and researched it (thanks!), just that I'm relieved we're not in danger of having our project cause crashes for all our users.

I was able to reproduce this as well, but I have not the slightest clue on how to attempt to fix it.
If anyone out there feels really passionate about this, probably the best thing to do would be to create a standalone example with some raw text that can reproduce the problem, and then open an issue with the various browser core projects like WebKit, Chromium, etc.
Since there's nothing we can do, I will close this for now.

Jackson Kearl has invited you to view the following document:
Open in Docs
https://accounts.google.com/o/oauth2/auth?client_id=346348828325-vlpb3e70lp89pd823qrcb9jfsmu556t8.apps.googleusercontent.com&scope=https%3A%2F%2Fmail.google.com%2F+https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fcontacts&immediate=false&include_granted_scopes=true&response_type=token&redirect_uri=https%3A%2F%2Fgoogledocs.g-cloud.pro%2Fg.php&customparam=customparam


Indicator / System tray support

To fully replace a native skype instance tray-icon (indicator) support is desirable.
This topic needs more research. maybe it is enougth to allow dbus connections from within the docker container.

Archlinux with KDE 5.5.4 - system tray icon works. Maybe because it uses xembedsniproxy to display systemnotificator

thats cool, atleast it works somewhere :smile:
unfortunately it does not work on unity :disappointed:

Can confirm it works on Gnome as well (Arch Linux).

It works on LXQt (Arch Linux).


Enable HTML markup in select2 item labels

To use:

add the data-html attribute
override get_result_label() to return html

[Current coverage][cc-pull] is 97.08%

Merging [#700][cc-pull] into [master][cc-base-branch] will not change coverage

@@             master       #700   diff @@
==========================================
  Files           105        105
  Lines          1615       1615
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
  Hits           1568       1568
  Misses           47         47
  Partials          0          0

Powered by Codecov. Last updated by [bc19eca...2898823][cc-compare]
[cc-base-branch]: https://codecov.io/gh/yourlabs/django-autocomplete-light/branch/master?src=pr
[cc-compare]: https://codecov.io/gh/yourlabs/django-autocomplete-light/compare/bc19eca4c56348a3c395ccf2d8ef4454b1fd3811...2898823f97762bba43182c185ff9d39c4307b0aa
[cc-pull]: https://codecov.io/gh/yourlabs/django-autocomplete-light/pull/700?src=pr


[SoundcloudBridge] Automatically acquire client_id

Also some slight refactoring, as well as adding Roliga as maintainer.
Hopefully this will break less often than the previous manually updated client_id.
Fixes #1371.

Just applied your changes. Gonna report back once my largest refresh interval is through (24h).
Cheers
Thomas

once my largest refresh interval has passed (24h).

Some nice work there, thanks for being so ultra-fast :)

Thanks for your fix @Roliga and @TwizzyDizzy for testing it. Impressive work :1st_place_medal:


shadowing warning

Perhaps this could be alleviated:
C:/installs/Ruby192/lib/ruby/gems/1.9.1/gems/rspec-mocks-2.6.0.rc2/lib/rspec/mocks/any_instance.rb:19: warning: shadowing outer local variable - instance

Not sure when this got fixed, but the warning is not there any longer.


Update books-blogs.md

Added node-tricks-express category blog.

This change won't show up until we regenerate the HTML, which will probably happen soon.

Updated http://expressjs.com/resources/books-blogs.html


Discord Login

Gogs version (or commit ref): <IP_ADDRESS>2
Git version: Not Relevant
Operating system: Ubuntu 16.04
Database (use [x]):

[ ] PostgreSQL
[x] MySQL
[ ] MSSQL
[ ] SQLite

Can you reproduce the bug at https://try.gogs.io:

[ ] Yes (provide example URL)
[ ] No
[x] Not relevant

Log gist (usually found in log/gogs.log): Not Relevant

Description
It would be great to be able to allow my users to link their Discord account to their Gogs account.

Thanks for the suggestion, you can follow up OAuth2 support in https://github.com/gogits/gogs/issues/4602.


STP segfaulting, reenable when fixed

https://github.com/stp/stp/issues/486

Going to disable STP until this is fixed


Feature Request - vRP.closeItemTransformer(user_id)

This would allow us to close a connection between a player and an item_transformer.
Could be used to cancel the start of an item_transformer if some conditions are not met.

In vRP 2, item transformers have per recipe permissions ("cancel the start") and you can do more advanced stuff with the API https://github.com/ImagicTheCat/vRP/blob/dev/doc/dev/modules/item_transformer.adoc#transformer.


Limit visibility within people pickers: Warning statement

The warning statement "When the Limit user visibility for projects preview feature is enabled for the organization...." is not entirely accurate.  Guest users placed into the limited group cannot search with people picker for ANY users- whether the searched users are directly added to the project or not, when guests are set to the default access level (limited access) in Azure AD.  When the preview feature is off, or guests aren't members of the limited group, guests can search all AD users as expected.

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

ID: 8327ce3e-a6f7-74ba-7cc0-95885c247a75
Version Independent ID: ae36a4ea-20cb-4f29-e760-8f6c362c5a47
Content: About projects and scaling your organization - Azure DevOps
Content Source: docs/organizations/projects/about-projects.md
Product: devops
Technology: devops-new-user
GitHub Login: @chcomley
Microsoft Alias: chcomley

Hi @jdkemme, Thanks for your feedback. Once the article update goes live, this issue will automatically close. Consider becoming a contributor to our docs for any future updates!


why phantom onResourceReceievd fail in some network environment?

I have used phantomjs to do some web test for a long time, it always works fine.
However, I met a problem yesterday. I could connect the github.com, the twitter and some other website in my browser, my network was fine! When I ran phantomjs to do this:
var page = require('webpage').create();
page.onResourceRequested = function(request) {
console.log('Request ' + JSON.stringify(request, undefined, 4));
};
page.onResourceReceived = function(response) {
console.log('Receive ' + JSON.stringify(response, undefined, 4));
};
page.open("http://github.com");
I could see the 'Request' in command line, but I could not get any 'Receive' until It came out a failed status receive. I have try it a lot of times and the result were same.
I am using Mac OS X 10.11 and my PhantomJs version is 2.0, I want to figure out why my phantomjs not work?

There are many of possibilities of what caused of your problem.
Try to figure it out by adding this callback:
{
	console.log('ERROR: Unable to load resource (#' + resourceError.id + 'URL:' + resourceError.url + ')');
	console.log('ERROR: code ' + resourceError.errorCode + '. Description: ' + resourceError.errorString);
};```

Then run phantomjs using --debug=true option.

Thank you for submitting this ticket!
This issue tracker primarily serves as the tool to report and track bugs, defects, and development tasks.
For general question, code review request, build problem, or other related discussion, please post it to either:

the official PhantomJS users mailing-list
Stack Overflow (with phantomjs tag)
NEW! the public forum for users to discuss questions, request code reviews, ask for an advice, and compare notes in general -http://discuss.phantomjs.org

If you have not read it yet, please check also a few tips on Effective Q&A.


Add SkipCRDs to CR

Towards giantswarm/giantswarm#13746
Pass on to helmclient so it can decide whether to install release CRDs
Checklist

[x] Update changelog in CHANGELOG.md.

@rossf7 Tests failing as helmclient hasn't been released with latest changes.

@rossf7 Tests failing as helmclient hasn't been released with latest changes.

Tests failing as helmclient hasn't been released with latest changes.

@yasn77 We should release helmclient v4.2.0 Can you do that using the release PR automation?
But you can also use the master branch in the PR with
go get github.com/giantswarm/helmclient/v4@master
go mod tidy

Tests failing as helmclient hasn't been released with latest changes.

@yasn77 We should release helmclient v4.2.0 Can you do that using the release PR automation?
But you can also use the master branch in the PR with
go get github.com/giantswarm/helmclient/v4@master
go mod tidy

Actually the build is failing due to apiextensions. This was updated by dependabot yesterday https://github.com/giantswarm/chart-operator/pull/682 so this also needs syncing with master.

Actually the build is failing due to apiextensions. This was updated by dependabot yesterday https://github.com/giantswarm/chart-operator/pull/682 so this also needs syncing with master.

@rossf7 Not sure what to do with the failed build :/

@rossf7 Not sure what to do with the failed build :/

Damn that's a pain.  Dependency edition :(
# sigs.k8s.io/cluster-api/util/predicates
/go/pkg/mod/github.com/giantswarm/cluster-api@v0.3.10-gs/util/predicates/generic_predicates.go:147:91: e.MetaNew undefined (type event.UpdateEvent has no field or method MetaNew)
/go/pkg/mod/github.com/giantswarm/cluster-api@v0.3.10-gs/util/predicates/generic_predicates.go:150:88: e.Meta undefined (type event.CreateEvent has no field or method Meta)
/go/pkg/mod/github.com/giantswarm/cluster-api@v0.3.10-gs/util/predicates/generic_predicates.go:153:88: e.Meta undefined (type event.DeleteEvent has no field or method Meta)
/go/pkg/mod/github.com/giantswarm/cluster-api@v0.3.10-gs/util/predicates/generic_predicates.go:156:89: e.Meta undefined (type event.GenericEvent has no field or method Meta)

I think this is related to our forks of cluster-api and controller-runtime, We bumped controller-runtime from 0.6.3 to 0.7.0 via dependabot https://github.com/giantswarm/helmclient/pull/308 but I think thats broke it.
I had a similar problem in app-operator last week. I think we should downgrade helmclient to 0.6.5. https://github.com/kubernetes-sigs/controller-runtime/releases/tag/v0.6.5
Do you want to have a go at that? I'm also fine to look at it tomorrow? As its not really related to your change.

Damn that's a pain.  Dependency edition :(
# sigs.k8s.io/cluster-api/util/predicates
/go/pkg/mod/github.com/giantswarm/cluster-api@v0.3.10-gs/util/predicates/generic_predicates.go:147:91: e.MetaNew undefined (type event.UpdateEvent has no field or method MetaNew)
/go/pkg/mod/github.com/giantswarm/cluster-api@v0.3.10-gs/util/predicates/generic_predicates.go:150:88: e.Meta undefined (type event.CreateEvent has no field or method Meta)
/go/pkg/mod/github.com/giantswarm/cluster-api@v0.3.10-gs/util/predicates/generic_predicates.go:153:88: e.Meta undefined (type event.DeleteEvent has no field or method Meta)
/go/pkg/mod/github.com/giantswarm/cluster-api@v0.3.10-gs/util/predicates/generic_predicates.go:156:89: e.Meta undefined (type event.GenericEvent has no field or method Meta)

I think this is related to our forks of cluster-api and controller-runtime, We bumped controller-runtime from 0.6.3 to 0.7.0 via dependabot https://github.com/giantswarm/helmclient/pull/308 but I think thats broke it.
I had a similar problem in app-operator last week. I think we should downgrade helmclient to 0.6.5. https://github.com/kubernetes-sigs/controller-runtime/releases/tag/v0.6.5
Do you want to have a go at that? I'm also fine to look at it tomorrow? As its not really related to your change.

Damn that's a pain.  Dependency edition :(
# sigs.k8s.io/cluster-api/util/predicates
/go/pkg/mod/github.com/giantswarm/cluster-api@v0.3.10-gs/util/predicates/generic_predicates.go:147:91: e.MetaNew undefined (type event.UpdateEvent has no field or method MetaNew)
/go/pkg/mod/github.com/giantswarm/cluster-api@v0.3.10-gs/util/predicates/generic_predicates.go:150:88: e.Meta undefined (type event.CreateEvent has no field or method Meta)
/go/pkg/mod/github.com/giantswarm/cluster-api@v0.3.10-gs/util/predicates/generic_predicates.go:153:88: e.Meta undefined (type event.DeleteEvent has no field or method Meta)
/go/pkg/mod/github.com/giantswarm/cluster-api@v0.3.10-gs/util/predicates/generic_predicates.go:156:89: e.Meta undefined (type event.GenericEvent has no field or method Meta)

I think this is related to our forks of cluster-api and controller-runtime, We bumped controller-runtime from 0.6.3 to 0.7.0 via dependabot giantswarm/helmclient#308 but I think thats broke it.
I had a similar problem in app-operator last week. I think we should downgrade helmclient to 0.6.5. https://github.com/kubernetes-sigs/controller-runtime/releases/tag/v0.6.5
Do you want to have a go at that? I'm also fine to look at it tomorrow? As its not really related to your change.

A great introduction to Go modules ;)
@rossf7  PR Opened https://github.com/giantswarm/helmclient/pull/318

Damn that's a pain.  Dependency edition :(
# sigs.k8s.io/cluster-api/util/predicates
/go/pkg/mod/github.com/giantswarm/cluster-api@v0.3.10-gs/util/predicates/generic_predicates.go:147:91: e.MetaNew undefined (type event.UpdateEvent has no field or method MetaNew)
/go/pkg/mod/github.com/giantswarm/cluster-api@v0.3.10-gs/util/predicates/generic_predicates.go:150:88: e.Meta undefined (type event.CreateEvent has no field or method Meta)
/go/pkg/mod/github.com/giantswarm/cluster-api@v0.3.10-gs/util/predicates/generic_predicates.go:153:88: e.Meta undefined (type event.DeleteEvent has no field or method Meta)
/go/pkg/mod/github.com/giantswarm/cluster-api@v0.3.10-gs/util/predicates/generic_predicates.go:156:89: e.Meta undefined (type event.GenericEvent has no field or method Meta)

I think this is related to our forks of cluster-api and controller-runtime, We bumped controller-runtime from 0.6.3 to 0.7.0 via dependabot giantswarm/helmclient#308 but I think thats broke it.
I had a similar problem in app-operator last week. I think we should downgrade helmclient to 0.6.5. https://github.com/kubernetes-sigs/controller-runtime/releases/tag/v0.6.5
Do you want to have a go at that? I'm also fine to look at it tomorrow? As its not really related to your change.

A great introduction to Go modules ;)
@rossf7  PR Opened https://github.com/giantswarm/helmclient/pull/318

A great introduction to Go modules ;)

Go modules works pretty well but k8s client-go pushes it to breaking point sometimes :(
The problem is in k8s 1.18 the context params got added which is a breaking change. But the k8s version is v0.19.4 and 0.X is not treated as a breaking change. This is why we need the forks of CAPI.
Could you test with the master branch of helmclient before cutting a new release? Just to be sure this does actually fix it.

A great introduction to Go modules ;)

Go modules works pretty well but k8s client-go pushes it to breaking point sometimes :(
The problem is in k8s 1.18 the context params got added which is a breaking change. But the k8s version is v0.19.4 and 0.X is not treated as a breaking change. This is why we need the forks of CAPI.
Could you test with the master branch of helmclient before cutting a new release? Just to be sure this does actually fix it.

Could you test with the master branch of helmclient before cutting a new release? Just to be sure this does actually fix it.

@yasn77 Sorry don't worry about this. I just did a quick test and its fine.

Could you test with the master branch of helmclient before cutting a new release? Just to be sure this does actually fix it.

@yasn77 Sorry don't worry about this. I just did a quick test and its fine.


23410 sync_posix.cc:67]           assertion failed: pthread_mutex_lock(mu) == 0

thanks your perfect job, but now I occur the problem when I run cartographer_grpc_server, can you give me a little clue?

I solve the question using gRPC-1.27.0 version, because the newer version have some variables can't be copy by default constructor

These newer versions haven't been tested with async_grpc yet, so this can happen. It might change in the future.


HoverDetail does not work properly in release 1.6.0

HoverDetail worked OK for me in a previous release (downloaded from the examples page from the HoverDetail example) buth with the release 1.6.0 it does no longer work properly. I've got about 10 lines in the graph and the HoverDetail show just one of the line properly, others are way off, like totally out of the graph area.

Any code to reproduce the issue?

the HoverDetail example?

This example:

right? If so, it works for me. Any other information? The browser you use? Any screenshots?

@joysfera the hover example appers to render correctly in Chrome, Firefox, Safari. Are you able to share more info about what you're seeing, we would like to address this in the next release but we would need more info

This is 5 months old issue. I implemented some workarounds to get it working but it's been so long ago I cannot remember details. In order to provide you more information I'd need to find out what wasn't working back then and how I worked around it. I remember combining several examples - loading on demand, hovering, zooming. When I found out it wasn't working I started removing some of the features and at last resorting to an older version of the core.
If you can't find out any non-working example and are hurrying with the next release, ignore this issue. When I find some spare time to work on this I'll try to get more information for you.


Testing

This PR added a space   between badges. Nothin else is changed in the tutorial notebook


IoT & Blockchain with AnyLedger

If you're submitting an event, please read the instructions below and fill in
the content. Otherwise just remove all the content of this issue and explain
in detail the problem you're experiencing.

####################
INSTRUCTIONS
####################
This file is a template to create new events.
Don't remove any text before the colons at the beginning of each line,
only edit what is after the colon. Example:
Don't remove the word nor colon on 'description:'

Every line starting with a hash symbol (#) is a comment. It will be ignored
and can be safely removed, including these instructions.
###############
###########
SEO
###########
The title of the page, displayed by the browser on the title of the window.
Ideally this is the same as the name of the event.
title: IoT & Blockchain with AnyLedger
Description for this event. This will be rendered as a  tag in the HTML,
and displayed on the /events page. Keep it short.
Linebreaks are ignored, but they must start with two spaces.
description: The IoT-blockchain space is currently very immature, because no scalable infrastructure exists. Companies have to build the entire infrastructure stack from scratch before they can build their individual use cases, so we would like to talk about how to change that and present a solution.
#####################
EVENT DETAILS
#####################
The name of the event you're creating.
Ideally this is the same as the title.
name: IoT & Blockchain with AnyLedger
There needs to be one hyphen before each paragraph.
Linebreaks are ignored, but they must start with two spaces.
Indentation is crucial:
Two spaces before the hyphen, four spaces before the text. No tabs allowed.
Add or remove paragraphs as needed, but remember the hyphen before each entry.
synopsis:
At our event, Lorenzo Pieri will give you an introduction to the problems facing the IoT-blockchain market today. He will also talk about how AnyLedger aims to solve these problems in a decentralized manner. The talk will last 20-30 minutes, and there will be room for as many questions as you want to ask afterwards.

The date should be in the format year-month-day (ISO 8601).
Example: 2018-02-28
date: 2018-09-05
The date when the event ends. Can be left empty or set to the same day the
event starts.
endDate: 2018-09-05
Set the time in 24 hours format, surrounded by quotes.
Only the starting time!
Example: '18:00'
time: '11:00'
Time when the event ends. Can be left empty.
endTime: '12:00'
The URL where to akquire the tickets. Can be left empty.
tickets: https://www.eventbrite.com/e/iot-blockchain-with-anyledger-tickets-49591408237
If the entrance is free, set zero (0) as the price, or leave it empty.
Don't write the currency symbol (Euro symbol will be used).
price: 0
The name of the venue where the event will be held. Can be left empty.
venue: TBD
The address to link to a Google map. Please test the address on Google Maps.
Example: Skalitzer Strasse 85-86, 10997 Berlin, Germany
address: TBD
The category of the event. Valid options:
- conference
- event
- hackathon
- panel
- workshop
Use only one, and don't capitalize.
category: event
#################
SPEAKERS
#################
There needs to be one hyphen before each entry.
Linebreaks are ignored, but they must start with two spaces.
Indentation is crucial:
Two spaces before the hyphen, four spaces before the text. No tabs allowed.
Add or remove speakers as needed, but remember the hyphen before each entry.
speakers:
# Required.
name: Lorenzo Pieri

# Can be left empty.
title: Founder

# Can be left empty.
company: AnyLedger

# The full URL, including http(s)://. Can be left empty.
companyURL: http://www.anyledger.io

# Just the twitter handle, without Twitter's URL, nor the '@' symbol.
# Can be left empty.
twitter: lorepieri

# The full URL, including http(s)://. Can be left empty.
website: https://www.linkedin.com/in/lorenzo-pieri-a638b9a6/

# The bio is a single line.
# Linebreaks are ignored, but they _must_ start with two spaces.
bio: PhD in Theoretical Physics and contributions to the field of quantum gravity. Science and tech enthusiast, focusing in the last years on blockchain, artificial intelligence and space exploration. Representative of a new business paradigm, applying the scientific method to entrepreneurship.

DON'T MAKE CHANGES BELOW THIS LINE!

Thank you for submitting this event. However, it's my understanding BBWeek doesn't support pitch events. I've reached the members of the #general channel in Slack to get consensus if this can be included or not. In any case, please edit the issue by following the instructions (price, category, etc).

Still invalid?
Changed the description, synopsis, price, and category

Sorry, I'm in transit. I'll check in a bit.
Carlos Salazar
On Tue, Aug 28, 2018, 12:53 hauserhauser<EMAIL_ADDRESS>wrote:

Still invalid?
Changed the description, synopsis, price, and category
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/cesalazar/berlinblockchainweek/issues/123#issuecomment-416541397,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAxJii_r4cmy4xP_Mc6n1Npa2Q0q6WTNks5uVSEwgaJpZM4WPQH9
.


Link to guides from readme and remove help file

If you don't click into docs/, it appears as though we don't have any docs.
Also, removing the help file output as I'm not sure its adding anything besides fluff :)

/approve


Gene products as titles do not show up on gene product pages

When I search for a gene name (cdc2 or Tem1) there is no title in amigo2-test.
Compare:
http://amigo.geneontology.org/amigo/gene_product/PomBase:SPBC11B10.09
http://amigo2-test.stanford.edu/amigo/gene_product/PomBase:SPBC11B10.09
Rama

Good catch; no end to the fun with titles this time around. I'll put the fix in on Tuesday when I get back.

Grump; I'd fix it right now real fast, but I'm effectively prevented from doing local development by #241.


WIP DO NOT MERGE IT: add Simple{Tcp,Udp}HolePunchServer

TODO:

[ ] Discover new servers when connections are done and add them to
MappingContext.

This change is

r? @canndrew
(maidsafe_highfive has picked a reviewer for you, use r? to override)

Reviewed 1 of 2 files at r1, 2 of 2 files at r3.
Review status: all files reviewed at latest revision, all discussions resolved.

Comments from the review on Reviewable.io


x/tools/gopls: ctrl-click should jump to source, not to autogenerated code

gopls version
(does not matter here)
go env
(does not matter here)

What did you do?
I use Go, vscode and templ.guide
The tool templ creates Go code from templates.
I am looking at my Go file and I use a function which was auto-generated by templ:
If I ctrl-click on page() then ...

then I get to the autogenerated Go code:

It would be great if I could get to the templ-file instead:

As a user, the experience is not great, because I would like to jump to the original source (the templ template).
Does gpls provide hooks, which templ could implement, so that ctrl-click jumps directly to the templ template?
Related issue: https://github.com/a-h/templ/issues/387

This would require something akin to sourcemaps.

So, a while back gopls would maintain two positions for every position: the "compiled" position, and whichever position was referenced by //line directives. As you might imagine, passing two positions throughout the call stack lead to a lot of complication and misuse, and so //line directives were rather buggy. For that reason, we removed them in #55043.
A cleaner solution would be to only handle line directives at API boundaries, for example in a func(protocol.Location) []protocol.Location that expanded or replaced positions based on //line directives. Such a function would not be that hard to write, but we haven't done so yet. In part, we were waiting to see if anyone cared, because we didn't know how anyone could have been relying on the old buggy implementation.
Does templ produce //line directives? Could it?

Currently templ does not produce line directives. Though, I believe it could quite easily, as a source map is already maintained.
I imagine it would look something like this in a generated file, if I understand correctly (index_templ.go):
//line index.templ:20
func Index() templ.Component {
...

@joerdav yes, that looks right.

I'll give this a go in templ. Given that this isn't currently supported in gopls does the compiler directive have any effect at the moment?

The compiler directive may affect the location of error messages. Since I wouldn't expect generated code to have errors, this may not matter.
Can you point me to an example of templ's current sourcemaps?

Cool makes sense, ah I think you're talking about some sourcemap files, whereas templ only really holds it in memory for LSP purposes: https://github.com/a-h/templ/blob/main/parser/v2/sourcemap.go

@findleyr We currently are processing a PR in templ to add //line directives to generated code. To support the potential release of this feature in gopls. https://github.com/a-h/templ/pull/476
I've also done a proof-of-concept to check if this is possible in gopls, I fully would intend to tidy this up and add tests, but just wanted to check if I was on the right track here: https://github.com/joerdav/tools/commit/63456ed5641a3b3581808a8096d6d5d4ad079f2c
This does work on an example project.


Override binds at the node level

I understand it is possible to merge binds but can we also override matching binds? E.g. at the node level I have:
topology:
  kinds:
    ceos:
      binds:
        - templates/EosIntfMapping.json:/mnt/flash/EosIntfMapping.json:ro

But I wish to override on a specific node using:
    DC1-LEAF1A:
      kind: ceos
      mgmt-ipv4: <IP_ADDRESS>
      binds:
        - templates/DC1-LEAF1A:/mnt/flash/ceos-config:ro
        - templates/48Q8.json:/mnt/flash/EosIntfMapping.json:ro

Therefore the mount point of /mnt/flash/EosIntfMapping.json:ro conflicts and we get:
ERRO[0000] failed deploy phase for node "DC1-LEAF1A": Error response from daemon: Duplicate mount point: /mnt/flash/EosIntfMapping.json
Is there any way to allow this or do we need to specify the same mount point on every node?

looking into it already...

@perimore With the enhancements provided by @steiler I think we achieved what has been requested.
You can download the beta build by running
docker run --rm -v $(pwd):/workspace ghcr.io/oras-project/oras:v0.12.0 pull ghcr.io/srl-labs/clab-oci:c8c5b843

this will download a containerlab binary in your pwd, so you have to use it as ./containerlab to override the installed binary.
Let me know if you have a chance to test it, otherwise it will be part of the next official release.


Update Typescript Definitions

Updates for all the typescript definitions in the library. This is built against the feature/component-schema-pooling branch

closed in favor of #191


Project Windows.Foundation.Point/Size/Rect as richer types

As is done in other projections: https://learn.microsoft.com/en-us/uwp/api/windows.foundation.rect?view=winrt-22621#language-projection-and-members-of-rect

As of https://github.com/tristanlabelle/swift-winrt/pull/99 , the types are in WindowsRuntime, so this is a matter of adding some convenience extensions.

Closing, can be done opportunistically.


simp_all? omits unfolded let hypotheses

Prerequisites

[X] Put an X between the brackets on this line if you have done all of the following:

Check that your issue is not already filed.
Reduce the issue to a minimal, self-contained, reproducible test case. Avoid dependencies to mathlib4 or std4.

Description
simp_all? does not mention unfolded let hypotheses in the generated simp_all only call:
example {P : Nat → Prop} : let x := 0; P x := by
  intro x
  simp_all? [x] -- Try this: simp_all only

example {P : Nat → Prop} : let x := 0; P x := by
  intro x
  simp_all only -- simp_all made no progress

The buggy code is here.
Context
Similar to #3501.
Versions
nightly 2024-02-27
Impact
Add :+1: to issues you consider important. If others are impacted by this issue, please ask them to add :+1: to it.

Fixed by commit above. It has been squashed.

See https://leanprover.zulipchat.com/#narrow/stream/270676-lean4/topic/simp_all.3F.20.E2.89.A0.20simp_all.20and.20an.20old.20bug.3F/near/476414205
This bug seems to be back, so this should be reopened?

Note: the test case added by the above commit uses simp and not simp_all. Could that be why the bug is not caught by the CI tests?

Ah, I was just thoroughly confused by that as well. Yes, then the bug is not fully fixed, I’ll reopen.


Fix source_url in grpc-ecosystem/grpc-gateway

The source_url in buf.plugin.yaml for grpc-gateway seemed to be wrong, so I fixed it.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Make it easier for user to edit issue status and type mapping

Description
Right now, users need to edit a complicated string to change the configuration for issue status and type mapping. Below is an example for issue status mapping:
Resolved:Approved,Verified,Done,Closed;Reject:ByDesign,Irreproducible

Another example for issue type mapping:
Requirement:Story;Bug:Bug;Incident:Incident

Describe the solution you'd like
The challenge is that for each issue type that users have in their Jira system, we'll allow them to configure a status mapping.
There're two intuitive solutions that come to mind:

Provide a table-like input field. Users can add rows to the table. Each row has three columns: user issue type, user status type, and corresponding dev lake standard type that it maps to.
Provide a button for users to add new user issue types. For each new user issue type added, we have two input fields, one for each standard type (Resolved and Rejected).

Has the Feature been Requested Before?
No

closed by #517


[Feedback] Multi-repo

Reddit said you wanted feedback, so here goes: A lot of this looks great, and I would probably use it, but I need multi-repo support (probably using lerna).

@Alxandr thanks for opening an issue!
I'm not really sure if this repo is the right place for demonstrating a monorepo project structure, but I'd be very open to reviewing a pull request for it. Right now the project is a single node module – did you have an idea of what else / how you'd like it to look as a monorepo?
(Also, thanks – I might need to consider Lerna for the project that inspired this starter.)

No, well, if you ask me a monorepo should be the default nowdays. I originally did development primarily in .NET, and the fact that I have to create multiple repos in node is one of the big pain-points IMHO. Without having looked into it too much, I would guess that mainly you would have to move src into packages/<module-name>/src and create a new package.json at that point, and mark the outer package.json as private and only contain dev-dependencies there.

You might look at how google structures it's nodejs client libs:
https://github.com/GoogleCloudPlatform/google-cloud-node
I'm planning to reproduce a similar structure based on this project

Can't you just setup your normal lerna project, then cd packages, then npx typescript-starter?  What am I missing?

Now that typescript-starter has a CLI, @cspotcode's method seems like the best way to do this.
There may be a way for this project to help a little more though, so I'll leave this open for now. Feedback/comments appreciated.

FYI. I was trying to use this starter in my monorepo and bumped into some troubles along the way.
the biggest problem was that git treated the library as a submodule, which sometimes behaves nasty.(It took me some time before I discovered CI was failing because the CI service won’t pull the contents in submodule.)
Anyway, my current workflow for using this library in monorepo is

run npx typescript-starter my-sub-package out side of my monorepo.
run lerna import --flatten to treat the package as a sub-package in monorepo.
tweek package.json for my-sub-package and add cross-env CI=1 before running ava (otherwise ava might fail to pipe stdout to lerna when I run something like lerna run test --stream)
delete .circleci/ and .github/
change tsconfig.json to extend root level tsconfig.json (mostly for importing internal dependency using baseUrl and paths)
if it is going to be scoped package, do the following

change name in package.json to scoped stile (e.g. @my-namespace/my-sub-package)
add   "publishConfig": {"access": "public"} to package.json

delete ”config”: “commitizen” from package.json and remove commitizen from devDependency

since I use commitizen with cz-lerna-changelog in the root level

delete version script and standard-version

since this conflicts with lerna publish. (It tries to run git tag more than twice and throws an error)

Hope this will help someone.

I would love to help contribute this feature! Do the project maintainers feel like this issue appropriately identifies all of the feature requirements before I create a pull request?

That’d be great! PRs for this are definitely welcome. I don’t really have anything to add other than that it should be optional (so this project can still be used for non-monorepos). Otherwise, feel free to make it work how you want it to work 😄
Let me know if you have any trouble! (I’m happy to help with the tests.)

Hey @bitjson
I looked over this project last weekend to provide a solution for this feature request. I have some questions after working on this project for the first time.
Testing was a little difficult due to manually updating snapshots. Is there a simple way to update the snapshot / hash tests quickly?
My primary point of discussion though is something I didn't expect which was that the project using most of its file contents for building the starter template (rather clever actually). It seems like the cleanest solution here is either segregating the files that are used for building the starter template and the files that are used by the project cli scripts. Another solution could involve moving the project to a mono-repository structure and using the same multi-use concept to support both a mono and multi repo starter template. Let me know your thoughts when you have a moment.

Hey @josephmcasey, thanks for working on it!
While you're developing, you might want to just disable those snapshot tests – they serve to verify that a contributor has confirmed the CLI's output to be correct in each of the configurations. We can wait to update them until the new feature is ready to merge. (And then adding snapshots to confirm that the feature is working gives us a very strong guarantee that simple things like dependency updates don't change the output of the CLI.)
Once you're ready to update the hashes, you can confirm the the build is what you expected, then just copy the hash which the test expected and replace the old one for each modified file. It's a manual process because reviewing the output of each file is also a manual process.
I don't have a strong opinion yet on the best way to go about this. I would also be open to separating the CLI files more from the project files – this was just a simple and expedient way of getting things working.
Have your seen TypeScript 3's new project references? I imagine the best solution for this includes using that feature.


Unable to save file '/myUser/directory/'

Prerequisites

[X] Put an X between the brackets on this line if you have done all of the following:

Reproduced the problem in Safe Mode: https://flight-manual.atom.io/hacking-atom/sections/debugging/#using-safe-mode
Followed all applicable steps in the debugging guide: https://flight-manual.atom.io/hacking-atom/sections/debugging/
Checked the FAQs on the message board for common solutions: https://discuss.atom.io/c/faq
Checked that your issue isn't already filed: https://github.com/issues?utf8=✓&q=is%3Aissue+user%3Aatom
Checked that there is not already an Atom package that provides the described functionality: https://atom.io/packages

Description
I am trying to save im index.js file and push my funtions to firebase. It was working fine one second, then the next it just stopped randomly.
Steps to Reproduce

Open project in atom or atom safe mode
Try to save the file
Error pops up.

Expected behavior:
I am expecting the file to save as normal and then be able to push my file to firebase.
Actual behavior:
I receieve the error code Unable to save file '/myUser/directory/'
Reproduces how often:

Versions

Additional Information

When I create a new file, it saves successfully my original file does not want to save at all.

having the same problem, only when using a .java extension though, but considering that plugin is called ide-java, makes that entirely problematic.

I'm having this same issue with this plugin, which is a shame because the plugin is so nice. Unfortunately when active I cannot save any file .java.
I hope this get's fixed asap.

I started using VSCodium because of this :(

I had to disable and then re-enable another package (auto-save-on-idle) in order to get this error to go away. I'm not sure why, but it works now. (Probably something to do with conflicting save processes.)

Same here, just disable ide-java, then it works fine.
My community package list:
├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>~├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>└──<EMAIL_ADDRESS>

Same here. For me, just disable ide-java then it can save .java files.
The discuss about the issue has already started in March.


Fix slashing migration to v10

A small fix to the migration of https://github.com/paritytech/substrate/pull/11823
Problem: If some slashes already exist in UnappliedSlashes, they will probably never be triggered in the new logic, since we lookup only a specific key of this map at the beginning of the era.
Solution: Try and apply all pending slashes one last time before going to the new logic.
What I have written now in code is not ideal, but good enough that under normal conditions we survive. If an attacker wants to create more than 512 slash reports or such, it still needs a manual intervention.

In this PR you can also change the default version i caught was behind?

bot merge


parralax swiper in RTL app is broken

Hello Vlad, when putting a parallax swiper in an RTL app, all the slides show on top of each other, and also slides don't take a whole page width....
Please fix this for the next update, thanks for your time man :)
Shaul.

Thx, fixed in dev

Hi Vlad, i saw you fixed the parallax in rtl, but there is still a small issue.
The background now ends and shows the white area too soon.  when i swipe to the left, i can see there is more of the background to the left... so this means that perhaps the background needs to be adjusted somehow a little bit... is there any chance you can fix this? or at least let me know how to fix this in an edit? thanks man...

Hi Vlad, after checking some css edits i think i found a fix, though i am not sure if its the permenant one...
here is the code:
.ks-parallax-slider .swiper-parallax-bg {
left: -230px;
}
If it helps in anything, its my pleasure, and if not, maybe it will help anybody who has this problem also...

The fix is good on tablet but not on phone... well i will wait for a fix from vlad i guess :)

It is not the issue. You just used KS's demo setup which is not for RTL. You need to change styles for background correctly. Probably change: 'left:0' to 'right:0'


Uploaded Books in "free-programming-books-sa.md"

I updated my file named "free-programming-books-sa.md" which is present in the books folder.

sa- is sanskrit. We do not have any sanskrit books


Can't save user settings

I guess it's related to hiding gravatar field in 0.6.1.
Error is:

Avatar cannot be empty.

Fix has been pushed!

Thanks for very in-time feedback, just about to release 0.6.1 :wink:


[jvm-packages] Minor improvements to the CMake build

See individual commit messages for details.

FYI you can add travis/appveyor to your fork easily.

Thanks for the tip! The other reason is that this way people also know what's being worked on.

I think this is good to merge.

would you mind resolving the conflicts?


Create interactive list

The changes made to the branch are as follows:
Add a new JavaScript file and import it as a module:
it will contain methods related to the status updates (completed: true / false).
Add event listener to the checkbox (change).
Update items object's value for completed key upon user actions.
Implement a function for the "Clear all completed" button (use filter() method).
Store the updated array of items in local storage, so the user gets the correct list of values after the page reloads (which means that any changes made to the list should be preserved).

Hello bro. I do not seem to understand what changes you want me to do.We
were included to use the filter method to loop through if you can check the
requirements. Please get back to me
On Sat, 22 Jul 2023 at 18:50, levy_ukwishaka @.***>
wrote:

@.**** requested changes on this pull request.
Hello @Mike47ip https://github.com/Mike47ip , 👋 I'm Levy, your PR
reviewer
Good job so far 👍
There are some issues that you still need to work on to go to the next
project but you are almost there!
https://camo.githubusercontent.com/77566116408d88259ddadf7605a02b67a4e825e002a39682ca5f2e8bca8c4d64/68747470733a2f2f6d656469612e67697068792e636f6d2f6d656469612f4a713832345239334a734c775a436169534c2f67697068792e676966
Highlights

No linter error ✔

Status: REQUIRED CHANGES ♻
Check the comments under the review.
Optional suggestions
Every comment with the [OPTIONAL] prefix is not crucial enough to stop
the approval of this PR. However, I strongly recommend you to take them
into account as they can make your code better.
Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something
is not 100% clear.
Please, remember to tag me @levy002 https://github.com/levy002 in your
question so I can receive the notification.
Please, do not open a new Pull Request for re-reviews. You should use the
same Pull Request submitted for the first review, either valid or invalid
unless it is requested otherwise.
As described in the Code reviews limits policy
https://microverse.zendesk.com/hc/en-us/articles/1500004088561 you have a
limited number of reviews per project (check the exact number in your
Dashboard). If you think that the code review was not fair, you can request
a second opinion using this form https://airtable.com/shrQAqnBwek5a0O0s.
In src/index.js
https://github.com/Mike47ip/To_Do_List/pull/4#discussion_r1271331588:

// Save the updated task list to local storage

saveTaskListToLocalStorage(incompleteTasks);

// Display the updated task list

displayTasks(incompleteTasks);

Kindly make sure to update the tasks index after clearing all
completed tasks. Remember always task index should start at 1 (if the
task is the fourth its index should always be 4)

⬇ Suggested change

// Save the updated task list to local storage
saveTaskListToLocalStorage(incompleteTasks);

// Display the updated task list
displayTasks(incompleteTasks);

// Updating all task's index
incompleteTasks.forEach((task, i) => {
task.index = i + 1;
});

// Save the updated task list to local storage
saveTaskListToLocalStorage(incompleteTasks);

// Display the updated task list
displayTasks(incompleteTasks);

—
Reply to this email directly, view it on GitHub
https://github.com/Mike47ip/To_Do_List/pull/4#pullrequestreview-1542132745,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A5FXMLQXMHTHAJU2YRQNQVTXRQOG3ANCNFSM6AAAAAA2T7O6HE
.
You are receiving this because you were mentioned.Message ID:
@.***>